@voplus/morpho-csp 1.2.56 → 1.2.57
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/data/incorporation-clda/interfaces.d.ts +8 -0
- package/es/data/incorporation-form/metas.d.ts +8 -0
- package/es/data/incorporation-form/metas.js +17 -0
- package/es/data/incorporation-form/metas.js.map +1 -0
- package/es/modules/corporate/clda/components/CLDAItem/index.js +10 -2
- package/es/modules/corporate/clda/components/CLDAItem/index.js.map +1 -1
- package/es/modules/corporate/clda/components/CLDAItem/index.less +2 -2
- package/es/modules/corporate/clda/components/CLDAProperties/index.js +1 -1
- package/es/modules/corporate/clda/components/CLDAProperties/index.js.map +1 -1
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.js +23 -56
- package/es/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -28,4 +28,12 @@ export interface IIncorporationCLDA extends IDocument {
|
|
|
28
28
|
/** id of envelope of the signingMode = 'Digital' */
|
|
29
29
|
envelopeId?: string;
|
|
30
30
|
emailContent?: string;
|
|
31
|
+
contact: {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
};
|
|
35
|
+
owner: {
|
|
36
|
+
id: string;
|
|
37
|
+
name: string;
|
|
38
|
+
};
|
|
31
39
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IDocument } from "@voplus/morpho-document-core";
|
|
2
|
+
import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
|
|
3
|
+
/** Meta information for Meeting document. */
|
|
4
|
+
export declare class IncorporationFromTypeMeta extends DefaultDocumentTypeMeta {
|
|
5
|
+
static TypeName: string;
|
|
6
|
+
getRoute(document: IDocument): string;
|
|
7
|
+
get name(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DefaultDocumentTypeMeta } from "@voplus/morpho-document";
|
|
2
|
+
/** Meta information for Meeting document. */
|
|
3
|
+
export class IncorporationFromTypeMeta extends DefaultDocumentTypeMeta {
|
|
4
|
+
getRoute(document) {
|
|
5
|
+
return `/incorporation-form/${document.id}`;
|
|
6
|
+
}
|
|
7
|
+
get name() {
|
|
8
|
+
return IncorporationFromTypeMeta.TypeName;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(IncorporationFromTypeMeta, "TypeName", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
configurable: true,
|
|
14
|
+
writable: true,
|
|
15
|
+
value: "IncorporationFrom"
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=metas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metas.js","sourceRoot":"","sources":["../../../src/data/incorporation-form/metas.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAKlE,6CAA6C;AAC7C,MAAM,OAAO,yBAA0B,SAAQ,uBAAuB;IAG9D,QAAQ,CAAC,QAAmB;QAClC,OAAO,uBAAuB,QAAQ,CAAC,EAAE,EAAE,CAAC;IAC7C,CAAC;IAED,IAAW,IAAI;QACd,OAAO,yBAAyB,CAAC,QAAQ,CAAC;IAC3C,CAAC;;AARD;;;;WAAyB,mBAAmB;GAAC"}
|
|
@@ -5,7 +5,10 @@ import { Tooltip } from "@voplus/antd";
|
|
|
5
5
|
import { faClock } from "@fortawesome/pro-light-svg-icons";
|
|
6
6
|
import { observe } from "@voplus/morpho-ui";
|
|
7
7
|
import { useCLDA } from "../../../../../data/CLDA";
|
|
8
|
+
import { Open } from "@voplus/morpho-document/es/controls/ToolBar/buttons";
|
|
8
9
|
import DataIconBar from "@voplus/morpho-document/es/controls/DataIconBar";
|
|
10
|
+
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
11
|
+
import CLDAMenu from "../../controls/CLDAMenu";
|
|
9
12
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
10
13
|
import CLDAStatusButton from "../../controls/CLDAStatusButton";
|
|
11
14
|
import moment from "moment";
|
|
@@ -15,7 +18,7 @@ const CLDAItem = (props) => {
|
|
|
15
18
|
const { id } = props;
|
|
16
19
|
const [hover, setHover] = useState(false);
|
|
17
20
|
const clda = useCLDA(id, { reload: false });
|
|
18
|
-
return observe(() => (React.createElement(DocumentHeader, { id: clda.id, quickDataBarAlign: "left", flagVisible: false, preVisible: false, onMouse: (over) => setHover(over), className: styles["
|
|
21
|
+
return observe(() => (React.createElement(DocumentHeader, { id: clda.id, quickDataBarAlign: "left", flagVisible: false, preVisible: false, onMouse: (over) => setHover(over), className: styles["clda-item"], quickDataBar: React.createElement(React.Fragment, null,
|
|
19
22
|
clda.effectiveDate && (React.createElement(Tooltip, { title: "Effective Date" },
|
|
20
23
|
React.createElement("span", { className: "margin-right-15" },
|
|
21
24
|
React.createElement("span", { className: "margin-right-5" },
|
|
@@ -24,7 +27,12 @@ const CLDAItem = (props) => {
|
|
|
24
27
|
React.createElement(DataIconBar, null,
|
|
25
28
|
React.createElement(DateQuickIcon, { id: id }),
|
|
26
29
|
React.createElement(DocumentDataIcon, { id: id }))), tools: React.createElement(React.Fragment, null,
|
|
27
|
-
React.createElement(CLDAStatusButton, { className: classnames("clda-status-label", { hide: hover }), editable: false, status: clda.assistantStatus, onChange: () => { } })
|
|
30
|
+
React.createElement(CLDAStatusButton, { className: classnames("clda-status-label", { hide: hover }), editable: false, status: clda.assistantStatus, onChange: () => { } }),
|
|
31
|
+
React.createElement("div", { className: classnames("hover-operate-icon", {
|
|
32
|
+
show: hover,
|
|
33
|
+
}) },
|
|
34
|
+
React.createElement(ToolBar, { moreProps: { id: props.id, menus: { default: React.createElement(CLDAMenu, { id: props.id }) } } },
|
|
35
|
+
React.createElement(Open, { url: `/clda/incorporation/${id}` })))) })));
|
|
28
36
|
};
|
|
29
37
|
export default CLDAItem;
|
|
30
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,eAAe,IAAI,MAAM,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,qDAAqD,CAAC;AAC3E,OAAO,WAAW,MAAM,iDAAiD,CAAC;AAC1E,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAC3E,OAAO,QAAQ,MAAM,yBAAyB,CAAC;AAC/C,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO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,IAChB,SAAS,EAAE,UAAU,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAC3D,QAAQ,EAAE,KAAK,EACf,MAAM,EAAE,IAAI,CAAC,eAAe,EAC5B,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC,GACjB;YACF,6BACC,SAAS,EAAE,UAAU,CAAC,oBAAoB,EAAE;oBAC3C,IAAI,EAAE,KAAK;iBACX,CAAC;gBAEF,oBAAC,OAAO,IAAC,SAAS,EAAE,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,oBAAC,QAAQ,IAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAI,EAAE,EAAE;oBACnF,oBAAC,IAAI,IAAC,GAAG,EAAE,uBAAuB,EAAE,EAAE,GAAI,CACjC,CACL,CACU,GAEjB,CACF,CAAC,CAAC;AACJ,CAAC,CAAC;AACF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "~@voplus/antd/es/style/themes/default.less";
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
.clda-item {
|
|
4
4
|
position: relative;
|
|
5
5
|
align-items: center;
|
|
6
6
|
cursor: pointer;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
border-bottom: 1px solid @border-color-base;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
:
|
|
17
|
+
:global {
|
|
18
18
|
.clda-status-label {
|
|
19
19
|
opacity: 1;
|
|
20
20
|
transition: opacity 0.3s;
|
|
@@ -7,7 +7,7 @@ import MetionList from "@voplus/morpho-org/es/controls/MetionList";
|
|
|
7
7
|
import CLDAStatusButton from "../../controls/CLDAStatusButton";
|
|
8
8
|
const CLDAProperties = (props) => {
|
|
9
9
|
const { id } = props;
|
|
10
|
-
const CLDA = useCLDA(id, { reload:
|
|
10
|
+
const CLDA = useCLDA(id, { reload: true });
|
|
11
11
|
const CLDAStore = useCLDAStore();
|
|
12
12
|
return observe(() => (React.createElement(Scrollbars, { autoHide: true },
|
|
13
13
|
React.createElement(Form, { labelAlign: "left", labelCol: { span: 5 }, className: "CLDA-details" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D,MAAM,cAAc,GAAG,CAAC,KAAqB,EAAE,EAAE;IAChD,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/corporate/clda/components/CLDAProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,IAAI,EAAY,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,gBAAgB,MAAM,iCAAiC,CAAC;AAE/D,MAAM,cAAc,GAAG,CAAC,KAAqB,EAAE,EAAE;IAChD,MAAM,EAAE,EAAE,EAAE,GAAG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|
+
import React from "react";
|
|
2
|
+
import { useIncorporationCLDA, } from "../../../../../data/incorporation-clda";
|
|
3
|
+
import { Form } from "@voplus/antd";
|
|
4
|
+
import { Scrollbars } from "react-custom-scrollbars";
|
|
5
|
+
import { observe } from "@voplus/morpho-ui";
|
|
6
|
+
import MetionList from "@voplus/morpho-org/es/controls/MetionList";
|
|
4
7
|
import CLDAIncorporationMenu from "../../controls/CLDAIncorporationMenu";
|
|
5
8
|
import CLDAStatusButton from "../../../../corporate/clda/controls/CLDAStatusButton";
|
|
6
9
|
import DescriptionEditor from "@voplus/morpho-document/es/controls/DescriptionEditor";
|
|
7
10
|
import DocumentHeader from "@voplus/morpho-document/es/components/DocumentHeader";
|
|
8
|
-
import DocumentReference from "@voplus/morpho-document/es/controls/DocumentReference";
|
|
9
|
-
import { Scrollbars } from "react-custom-scrollbars";
|
|
10
|
-
import ShareholderSelector from "../../../../legal-entity/share-transactions-register/components/ShareholderSelector";
|
|
11
|
-
import TagView from "@voplus/morpho-document/es/components/TagView";
|
|
12
11
|
import ToolBar from "@voplus/morpho-document/es/controls/ToolBar/ToolBar2";
|
|
13
|
-
import { observe } from "@voplus/morpho-ui";
|
|
14
|
-
import { useLayout } from "@voplus/morpho-data";
|
|
15
12
|
const IncorporationCLDAProperties = (props) => {
|
|
16
13
|
const { id } = props;
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
React.createElement(Form, {
|
|
29
|
-
React.createElement(
|
|
30
|
-
|
|
31
|
-
React.createElement(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
style: { padding: "0" } }, (_a = incorporation.corporate) === null || _a === void 0 ? void 0 : _a.contact.name)),
|
|
35
|
-
React.createElement(Form.Item, { label: "Main Contact" }, contactEditable ? (React.createElement(ShareholderSelector, { open: true, defaultValue: incorporation.corporate.mainContact, onChange: () => setContactEditable(false) })) : (React.createElement("div", { onClick: () => setContactEditable(true) },
|
|
36
|
-
React.createElement(Button, { type: "link", onClick: (e) => {
|
|
37
|
-
e.stopPropagation();
|
|
38
|
-
layout.history.push(`/units/${incorporation.corporate.mainContact.id}`);
|
|
39
|
-
}, style: { padding: "0" } }, (_b = incorporation.corporate) === null || _b === void 0 ? void 0 : _b.mainContact.name)))),
|
|
40
|
-
React.createElement(Form.Item, { label: "Mode" },
|
|
41
|
-
React.createElement(Select, { placeholder: "Please select mode", bordered: false, value: incorporation.signingMode, onChange: (value) => store.edit(id, { data: { SigningMode: value }, error: "message" }) },
|
|
42
|
-
React.createElement(Select.Option, { value: "Digital" }, "E-Sign"),
|
|
43
|
-
React.createElement(Select.Option, { value: "Physical" }, "Physical"))),
|
|
44
|
-
React.createElement(Form.Item, { label: "Status" },
|
|
45
|
-
React.createElement(CLDAStatusButton, { status: incorporation.assistantStatus || "Notified", editable: !incorporation.readonly, onChange: (AssistantStatus) => onEdit(AssistantStatus) })),
|
|
46
|
-
incorporation.incorporationFormId && (React.createElement(Form.Item, { label: "Incorporation Form", wrapperCol: { span: 14 } },
|
|
47
|
-
React.createElement(DocumentReference, { id: incorporation.incorporationFormId }))),
|
|
48
|
-
incorporation.kycFormId && (React.createElement(Form.Item, { label: "KYC Form", wrapperCol: { span: 14 } },
|
|
49
|
-
React.createElement(DocumentReference, { id: incorporation.kycFormId }))),
|
|
50
|
-
incorporation.quotationId && (React.createElement(Form.Item, { label: "Quotation", wrapperCol: { span: 14 } },
|
|
51
|
-
React.createElement(DocumentReference, { id: incorporation.quotationId }))),
|
|
52
|
-
React.createElement(Form.Item, { label: "Tags", wrapperCol: { span: 14 } },
|
|
53
|
-
React.createElement(TagView, { id: id, tags: incorporation.tags, editable: !incorporation.readonly }))))));
|
|
54
|
-
});
|
|
55
|
-
/** clda edit AssistantStatus */
|
|
56
|
-
async function onEdit(AssistantStatus) {
|
|
57
|
-
await store.edit(id, {
|
|
58
|
-
data: { AssistantStatus },
|
|
59
|
-
error: (error) => {
|
|
60
|
-
message.error(error.message);
|
|
61
|
-
},
|
|
62
|
-
});
|
|
63
|
-
}
|
|
14
|
+
const incorporation = useIncorporationCLDA(id, { reload: true, includes: "tags" });
|
|
15
|
+
return observe(() => (React.createElement("div", { className: "properties-list" },
|
|
16
|
+
React.createElement(DocumentHeader, { id: id, preVisible: false, quickVisible: false, tagsVisible: false, quickDataBarAlign: "left", clickNameEffect: "edit", autoSaveName: true, descriptionVisible: false, quickDataBarVisible: false, tools: React.createElement(ToolBar, { id: id, moreProps: {
|
|
17
|
+
menus: { default: React.createElement(CLDAIncorporationMenu, { id: id, closeAside: true }) },
|
|
18
|
+
} }) }),
|
|
19
|
+
React.createElement(Scrollbars, { autoHide: true },
|
|
20
|
+
React.createElement(Form, { labelAlign: "left", labelCol: { span: 10 }, scrollToFirstError: true },
|
|
21
|
+
React.createElement(Form.Item, { label: "" },
|
|
22
|
+
React.createElement(DescriptionEditor, { id: id, description: incorporation.description, readonly: incorporation.readonly })),
|
|
23
|
+
React.createElement(Form.Item, { label: "Type" },
|
|
24
|
+
React.createElement("span", null, incorporation.type)),
|
|
25
|
+
React.createElement(Form.Item, { label: "Contact" },
|
|
26
|
+
React.createElement(MetionList, { multiple: false, contacts: incorporation.contact ? [incorporation.contact] : [] })),
|
|
27
|
+
React.createElement(Form.Item, { label: "Status" },
|
|
28
|
+
React.createElement(CLDAStatusButton, { editable: false, status: incorporation.assistantStatus, onChange: () => { } })),
|
|
29
|
+
React.createElement(Form.Item, { label: "Owner" },
|
|
30
|
+
React.createElement(MetionList, { multiple: false, contacts: incorporation.owner ? [incorporation.owner] : [] })))))));
|
|
64
31
|
};
|
|
65
32
|
export default IncorporationCLDAProperties;
|
|
66
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/self-registration/incorporation-clda/components/IncorporationCLDAProperties/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACN,oBAAoB,GAEpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,qBAAqB,MAAM,sCAAsC,CAAC;AACzE,OAAO,gBAAgB,MAAM,sDAAsD,CAAC;AACpF,OAAO,iBAAiB,MAAM,uDAAuD,CAAC;AACtF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,OAAO,MAAM,sDAAsD,CAAC;AAE3E,MAAM,2BAA2B,GAAG,CAAC,KAAqB,EAAE,EAAE;IAC7D,MAAM,EAAE,EAAE,EAAE,GAAG,KAAK,CAAC;IACrB,MAAM,aAAa,GAAG,oBAAoB,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;IAEnF,OAAO,OAAO,CAAC,GAAG,EAAE,CAAC,CACpB,6BAAK,SAAS,EAAC,iBAAiB;QAC/B,oBAAC,cAAc,IACd,EAAE,EAAE,EAAE,EACN,UAAU,EAAE,KAAK,EACjB,YAAY,EAAE,KAAK,EACnB,WAAW,EAAE,KAAK,EAClB,iBAAiB,EAAC,MAAM,EACxB,eAAe,EAAC,MAAM,EACtB,YAAY,QACZ,kBAAkB,EAAE,KAAK,EACzB,mBAAmB,EAAE,KAAK,EAC1B,KAAK,EACJ,oBAAC,OAAO,IACP,EAAE,EAAE,EAAE,EACN,SAAS,EAAE;oBACV,KAA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