@voplus/morpho-csp 6.0.122 → 6.0.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/CorporateNavMenu/CorporateNavMenu.js +20 -23
- package/es/components/CorporateNavMenu/CorporateNavMenu.js.map +1 -1
- package/es/data/member/interfaces.d.ts +2 -1
- package/es/data/officer/interfaces.d.ts +2 -1
- package/es/modules/corporate/company/components/CompanyPageHead/index.js +2 -2
- package/es/modules/corporate/company/components/CompanyPageHead/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js +11 -11
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/TableCell.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js +7 -0
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.js.map +1 -1
- package/es/modules/corporate/company/controller-register/components/ControllerTableList/index.less +1 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.d.ts +4 -0
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js +27 -20
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/TableCellDetail.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js +10 -2
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/member-register/components/MemberTableListCard/index.less +20 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.d.ts +4 -0
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js +25 -20
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/TableCellDetail.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js +10 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.js.map +1 -1
- package/es/modules/corporate/company/officer-register/components/OfficerTableListCard/index.less +20 -0
- package/es/modules/corporate/company/pages/CompanyPage/index.js +3 -9
- package/es/modules/corporate/company/pages/CompanyPage/index.js.map +1 -1
- package/es/modules/corporate/company/pages/RegisteresPage/index.js +8 -8
- package/es/modules/corporate/company/pages/RegisteresPage/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.js +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.js.map +1 -1
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/Item/index.less +4 -66
- package/es/modules/corporate/company/share-transactions-register/components/ShareTransactionTableList/index.less +2 -4
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/Table.d.ts +6 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/Table.js +28 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/Table.js.map +1 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.d.ts +13 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js +83 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/TableCell.js.map +1 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.d.ts +7 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js +33 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.js.map +1 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearCard/index.less +62 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.d.ts +6 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js +45 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js.map +1 -0
- package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.less +19 -0
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.js +5 -2
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.js.map +1 -1
- package/es/modules/corporate/share-class/components/ShareClassCardList/index.less +17 -2
- package/es/modules/corporate/share-class/pages/ShareClassListPage/index.js +4 -4
- package/es/modules/corporate/share-class/pages/ShareClassListPage/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@import "~@voplus/morpho-theme/styles/index.less";
|
|
2
|
+
|
|
3
|
+
:global {
|
|
4
|
+
.filing-year-item-card {
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
padding: 12px;
|
|
7
|
+
margin: 2px 18px 20px;
|
|
8
|
+
.filing-year-head {
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
margin-bottom: 10px;
|
|
13
|
+
.filing-year-info {
|
|
14
|
+
flex: 1;
|
|
15
|
+
min-width: 250px;
|
|
16
|
+
font-size: 18px;
|
|
17
|
+
color: #217eb2;
|
|
18
|
+
line-height: 24px;
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
svg {
|
|
23
|
+
margin-right: 6px;
|
|
24
|
+
}
|
|
25
|
+
span {
|
|
26
|
+
display: inline-block;
|
|
27
|
+
margin-top: 2px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.officer-table-item-filing {
|
|
33
|
+
color: #5d5d5d;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.officer-table-item-by {
|
|
37
|
+
color: #5d5d5d;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
padding: 1px 0;
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
.ant-avatar {
|
|
44
|
+
width: 30px;
|
|
45
|
+
height: 30px;
|
|
46
|
+
border-radius: 2px;
|
|
47
|
+
margin-right: 6px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.officer-table-item-due {
|
|
52
|
+
.due-diffday {
|
|
53
|
+
color: #b22121;
|
|
54
|
+
font-weight: bold;
|
|
55
|
+
}
|
|
56
|
+
.exempted{
|
|
57
|
+
color: #21B227;
|
|
58
|
+
font-weight: bold;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { observe } from "@voplus/morpho-ui";
|
|
3
|
+
import { useRenderOnChange } from "@voplus/morpho-ui";
|
|
4
|
+
import { useAutoUpdateListData } from "../../../../../../data/filing-year/filing-year-events";
|
|
5
|
+
import { useFilingYearListEffect } from "../../../../../../data/filing-year";
|
|
6
|
+
import { ListDataContext, useCreateListDataState } from "@voplus/morpho-ui/es/data";
|
|
7
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
8
|
+
import { faScrollOld } from "@fortawesome/pro-solid-svg-icons";
|
|
9
|
+
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
10
|
+
import NewFilingYearDialog from "../NewFilingYearDialog";
|
|
11
|
+
import FilingYearQuickViewDialog from "../FilingYearQuickViewDialog";
|
|
12
|
+
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
13
|
+
import FilingYearCard from "../FilingYearCard";
|
|
14
|
+
import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
|
15
|
+
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
16
|
+
import "./index.less";
|
|
17
|
+
const FilingYearListCard = (props) => {
|
|
18
|
+
const { id } = props;
|
|
19
|
+
const [asideContext] = useState(AsideContent.createContext());
|
|
20
|
+
const [visible, setVisible] = useState(false);
|
|
21
|
+
const [quickView, setQuickView] = useState({
|
|
22
|
+
show: false,
|
|
23
|
+
id: "",
|
|
24
|
+
});
|
|
25
|
+
const list = useCreateListDataState({
|
|
26
|
+
filterDefaults: {
|
|
27
|
+
filters: [{ c: "ParentNodeId", o: "=", l: "And", v1: id }],
|
|
28
|
+
},
|
|
29
|
+
}, [id]);
|
|
30
|
+
useAutoUpdateListData(list, (d) => true);
|
|
31
|
+
useRenderOnChange(() => list.filters.options);
|
|
32
|
+
useFilingYearListEffect(list, (result, total) => list.union(result), list.filters.options);
|
|
33
|
+
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
|
34
|
+
React.createElement(ListDataContext.Provider, { value: list },
|
|
35
|
+
React.createElement("div", { className: "filing-year-list" },
|
|
36
|
+
React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faScrollOld }), title: "Filings", description: "Streamline your yearly filing for hassle-Free" }),
|
|
37
|
+
React.createElement(ListHeaderTool, { visible: true, sortable: false, searchOptions: { placeholder: "Search in transaction" }, onAdd: () => setVisible(true) }),
|
|
38
|
+
React.createElement(ListView, { className: "list-content", asideable: false, headerProps: {
|
|
39
|
+
visible: false,
|
|
40
|
+
}, renderItem: ({ item }) => React.createElement(FilingYearCard, { id: item.id }) }),
|
|
41
|
+
visible && (React.createElement(NewFilingYearDialog, { corporateId: id, onCancel: () => setVisible(false), onCreate: () => setVisible(false) })),
|
|
42
|
+
quickView.show && (React.createElement(FilingYearQuickViewDialog, { visible: true, id: quickView.id, onCancel: () => setQuickView({ show: false, id: "" }) })))))));
|
|
43
|
+
};
|
|
44
|
+
export default FilingYearListCard;
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,M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U,CAAC,KAAK,CAAC,GAChC,CACF;gBACA,SAAS,CAAC,IAAI,IAAI,CAClB,oBAAC,yBAAyB,IACzB,OAAO,QACP,EAAE,EAAE,SAAS,CAAC,EAAE,EAChB,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GACpD,CACF,CACI,CACoB,CACb,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/es/modules/corporate/filing-record/filing-year/components/FilingYearListCard/index.less
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
:global {
|
|
2
|
+
.filing-year-list {
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background: #f5f9fc;
|
|
7
|
+
.list-view-header-tool {
|
|
8
|
+
padding: 18px 20px 24px;
|
|
9
|
+
}
|
|
10
|
+
.search-header-tool {
|
|
11
|
+
.ant-input-outlined {
|
|
12
|
+
max-width: 320px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.list-content {
|
|
16
|
+
background: transparent;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -6,14 +6,17 @@ import { useViewContext } from "@voplus/morpho-document-core/es/data/context/Vie
|
|
|
6
6
|
import { RefreshContext, RefreshState } from "../ShareClassProperties/RefreshContext";
|
|
7
7
|
import ListView from "@voplus/morpho-ui/es/components/layout/ListView/ListView2";
|
|
8
8
|
import ListHeaderTool from "@voplus/morpho-ui/es/components/layout/ListView/headers/ListHeaderTool";
|
|
9
|
+
import { useAsideContentContext } from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
9
10
|
import ShareClassForm from "../NewShareClassForm/ShareClassForm";
|
|
10
11
|
import NewShareClassFormDialog from "../NewShareClassForm";
|
|
11
12
|
import ShareClassItemCard from "../ShareClassItemCard";
|
|
13
|
+
import classnames from "classnames";
|
|
12
14
|
import "./index.less";
|
|
13
15
|
const ShareClassCardList = (props) => {
|
|
14
16
|
const { corporateId } = props;
|
|
15
17
|
const [addAble, setAddAble] = useState(false);
|
|
16
18
|
const [context] = useState(() => new RefreshState());
|
|
19
|
+
const asideContext = useAsideContentContext();
|
|
17
20
|
const view = useViewContext();
|
|
18
21
|
const list = useCreateListDataState({
|
|
19
22
|
filterDefaults: {
|
|
@@ -32,10 +35,10 @@ const ShareClassCardList = (props) => {
|
|
|
32
35
|
return observe(() => {
|
|
33
36
|
return (React.createElement(ListDataContext.Provider, { value: list },
|
|
34
37
|
React.createElement(RefreshContext.Provider, { value: context },
|
|
35
|
-
React.createElement("div", { className: "share-class-card-list" },
|
|
38
|
+
React.createElement("div", { className: classnames("share-class-card-list", { aside: asideContext === null || asideContext === void 0 ? void 0 : asideContext.asideContent }) },
|
|
36
39
|
React.createElement(ListHeaderTool, { addAble: true, searchHeader: true, sortable: false, onAdd: () => ((view === null || view === void 0 ? void 0 : view.Type) === "PropertiesView" || (view === null || view === void 0 ? void 0 : view.Type) === "QuickView") &&
|
|
37
40
|
setAddAble(!addAble), searchOptions: { placeholder: "Search in share class" } }),
|
|
38
|
-
React.createElement(ListView, { className: "share-type-list-view", headerProps: { visible: false }, formViewTitle: "Add Share Class", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
|
|
41
|
+
React.createElement(ListView, { className: "share-type-list-view", asideable: false, headerProps: { visible: false }, formViewTitle: "Add Share Class", formView: (view === null || view === void 0 ? void 0 : view.Type) !== "PropertiesView" &&
|
|
39
42
|
(view === null || view === void 0 ? void 0 : view.Type) !== "QuickView" && React.createElement(ShareClassForm, { showView: true, corporateId: corporateId }), renderItem: ({ item, index }) => (React.createElement(ShareClassItemCard, { key: item.id, id: item.id })) })),
|
|
40
43
|
addAble && (React.createElement(NewShareClassFormDialog, { corporateId: corporateId, onCancel: () => setAddAble(false), onSave: () => setAddAble(false) })))));
|
|
41
44
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassCardList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACpG,OAAO,EACN,qBAAqB,EAErB,uBAAuB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,0DAA0D,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,QAAQ,MAAM,2DAA2D,CAAC;AACjF,OAAO,cAAc,MAAM,wEAAwE,CAAC;AACpG,OAAO,cAAc,MAAM,qCAAqC,CAAC;AACjE,OAAO,uBAAuB,MAAM,sBAAsB,CAAC;AAC3D,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,cAAc,CAAC;AAMtB,MAAM,kBAAkB,GAAG,CAAC,KAA8B,EAAE,EAAE;IAC7D,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,OAAO,CAAC,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,YAAY,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/components/ShareClassCardList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;A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AAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,WAAW,IAAI,oBAAC,cAAc,IAAC,QAAQ,QAAC,WAAW,EAAE,WAAW,GAAI,EAEpF,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAwC,EAAE,EAAE,CAAC,CACtE,oBAAC,kBAAkB,IAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAI,CACjD,GACA,CACG;gBACL,OAAO,IAAI,CACX,oBAAC,uBAAuB,IACvB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,EACjC,MAAM,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAC9B,CACF,CACwB,CACA,CAC3B,CAAC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -5,13 +5,28 @@
|
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
background: #f5f9fc;
|
|
7
7
|
padding: 0 0 20px;
|
|
8
|
-
|
|
8
|
+
&.aside {
|
|
9
|
+
> div > div > div > div > div > div {
|
|
10
|
+
.list-item-card {
|
|
11
|
+
/* 其中 22 为间隙的中和 */
|
|
12
|
+
width: calc((100% - 22px) / 2);
|
|
13
|
+
margin-right: 20px;
|
|
14
|
+
&:nth-child(3n) {
|
|
15
|
+
margin-right: 20px;
|
|
16
|
+
}
|
|
17
|
+
&:nth-child(2n) {
|
|
18
|
+
margin-right: 2px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
> div > div > div > div > div > div {
|
|
9
24
|
width: 100%;
|
|
10
25
|
display: flex;
|
|
11
26
|
flex-wrap: wrap;
|
|
12
27
|
|
|
13
28
|
.list-item-card {
|
|
14
|
-
/* 其中
|
|
29
|
+
/* 其中 42 为间隙的中和 */
|
|
15
30
|
width: calc((100% - 42px) / 3);
|
|
16
31
|
margin-right: 20px;
|
|
17
32
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { useState } from "react";
|
|
2
2
|
import { observe } from "@voplus/morpho-ui";
|
|
3
3
|
import ShareClassCardList from "../../components/ShareClassCardList";
|
|
4
4
|
import { faCoins } from "@fortawesome/pro-solid-svg-icons";
|
|
5
5
|
import { FontAwesomeIcon as FAIcon } from "@fortawesome/react-fontawesome";
|
|
6
|
-
import
|
|
6
|
+
import AsideContent from "@voplus/morpho-ui/es/components/layout/AsideContent";
|
|
7
7
|
import PageHeadDashboard from "@voplus/morpho-ui/es/components/layout/headers/PageHeadDashboard";
|
|
8
8
|
import "./index.less";
|
|
9
9
|
const ShareClassListPage = (props) => {
|
|
10
|
-
const
|
|
11
|
-
return observe(() => (React.createElement(
|
|
10
|
+
const [asideContext] = useState(AsideContent.createContext());
|
|
11
|
+
return observe(() => (React.createElement(AsideContent, { context: asideContext },
|
|
12
12
|
React.createElement("div", { className: "share-class-list-page" },
|
|
13
13
|
React.createElement(PageHeadDashboard, { avatarIcon: React.createElement(FAIcon, { icon: faCoins }), title: "Share Class", description: "Manage your share classes with ease" }),
|
|
14
14
|
React.createElement(ShareClassCardList, { corporateId: props.corporateId })))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/pages/ShareClassListPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/share-class/pages/ShareClassListPage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,YAAY,MAAM,qDAAqD,CAAC;AAC/E,OAAO,iBAAiB,MAAM,kEAAkE,CAAC;AACjG,OAAO,cAAc,CAAC;AAEtB,MAAM,kBAAkB,GAAG,CAAC,KAA8B,EAAE,EAAE;IAC7D,MAAM,CAAC,YAAY,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC,CAAC;IAE9D,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,oBAAC,YAAY,IAAC,OAAO,EAAE,YAAY;QAClC,6BAAK,SAAS,EAAC,uBAAuB;YACrC,oBAAC,iBAAiB,IACjB,UAAU,EAAE,oBAAC,MAAM,IAAC,IAAI,EAAE,OAAO,GAAI,EACrC,KAAK,EAAC,aAAa,EACnB,WAAW,EAAC,qCAAqC,GAChD;YACF,oBAAC,kBAAkB,IAAC,WAAW,EAAE,KAAK,CAAC,WAAW,GAAI,CACjD,CACQ,CACf,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|