@adyen/kyc-components 4.24.1 → 4.24.3
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/dist/{AcceptTermsOfServiceWorkflow-CyMefc3t.js → AcceptTermsOfServiceWorkflow-CujjlZ6j.js} +4 -4
- package/dist/{Accordion-Dgdxfe-d.js → Accordion-D_DOaWj2.js} +1 -1
- package/dist/{AccountSetupRejected-D63dyojj.js → AccountSetupRejected-Cbq4hQaI.js} +2 -2
- package/dist/{AdaptiveWorkflow-DC4QviLh.js → AdaptiveWorkflow-DNyXJorC.js} +2 -2
- package/dist/{AdaptiveWorkflowComponent-CsNPizq0.js → AdaptiveWorkflowComponent-BFa1nNei.js} +3 -3
- package/dist/{AddressFields-BeeqIqdc.js → AddressFields-By9cx_D1.js} +5 -5
- package/dist/{Alert-Cc7p0N5h.js → Alert-aOxK37M0.js} +3 -3
- package/dist/{Avatar-oTPu6Ejy.js → Avatar-k5lNd5KG.js} +1 -1
- package/dist/{BusinessFinancingDropin-DYJS13vd.js → BusinessFinancingDropin-CEsTuC9z.js} +16 -16
- package/dist/{BusinessFinancingPage-DbTrQ1kt.js → BusinessFinancingPage-iQTAHhH4.js} +2 -2
- package/dist/{BusinessRegistrationNumberField-DKka8aVU.js → BusinessRegistrationNumberField-By_rLI-i.js} +3 -3
- package/dist/{BusinessRegistrationNumberFieldGroup-Df6_sDA0.js → BusinessRegistrationNumberFieldGroup-C1ZXIEUS.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-C0xUipfe.js → BusinessTypeSelectionPage-DJE07ov_.js} +4 -4
- package/dist/{Button-DPJ1k02w.js → Button-PBnEZF18.js} +1 -1
- package/dist/{ComponentGroup-Cw_2w0Rf.js → ComponentGroup-Bio9jdOX.js} +3 -3
- package/dist/{Confirm-DoN9R9Z3.js → Confirm-aZAJ9IIU.js} +2 -2
- package/dist/{ConstitutionalDocument-Bbo7P_gi.js → ConstitutionalDocument-CNgdkJdy.js} +7 -7
- package/dist/{ContactDetails-CUjFd94x.js → ContactDetails-CRLrr3U2.js} +5 -5
- package/dist/{ContextGuidance-BQPwRscq.js → ContextGuidance-CrQVfeGl.js} +1 -1
- package/dist/{CountryField-DT6-Jr_b.js → CountryField-Tnnm6nrT.js} +2 -2
- package/dist/{Currency-C-sSDMn7.js → Currency-Dh9dMO1u.js} +3 -3
- package/dist/{CustomerSupport-C2DrnwDs.js → CustomerSupport-IsVyADfM.js} +5 -5
- package/dist/{DataConflictsModal-CCaMgguu.js → DataConflictsModal-Dt1zX8NE.js} +4 -4
- package/dist/{DebugModal-QeIdCXu5.js → DebugModal-ClRBdvOc.js} +7 -7
- package/dist/{DecisionMakerDetails-Dhi6hsrv.js → DecisionMakerDetails-XMNIheCU.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DLgKrPA3.js → DecisionMakerDetailsPage-CTdh6U_Q.js} +2 -2
- package/dist/{DecisionMakers-B6Qd9fuT.js → DecisionMakers-Bat5ty7H.js} +9 -9
- package/dist/{Dropzone-BhMYy4nr.js → Dropzone-eJJsWrfU.js} +4 -4
- package/dist/{EmbeddedStatus-CYd2p4sP.js → EmbeddedStatus-DVFyksA8.js} +3 -3
- package/dist/{EndStateLayout-zZPm8S5M.js → EndStateLayout-Bf55E0fC.js} +2 -2
- package/dist/{EntityAssociation-C2_Xuvf5.js → EntityAssociation-CHgiZJjH.js} +5 -5
- package/dist/{ErrorPanel-D4JNFkvi.js → ErrorPanel-CsoIs-F1.js} +2 -2
- package/dist/{Field-DwDJQVSS.js → Field-Cikj1a5F.js} +1 -1
- package/dist/{GlobalEntryModal-iZSUeMQf.js → GlobalEntryModal-CujlQHiT.js} +17 -17
- package/dist/{GlobalEntryPage-w4KJOeYb.js → GlobalEntryPage-B2_58fzL.js} +4 -4
- package/dist/{Header-DVLlJ6we.js → Header-DvifUz7-.js} +1 -1
- package/dist/{Icon-4XR6gZzk.js → Icon-DFQgr7dy.js} +1 -1
- package/dist/{IdentityNumber-3V6ZqvHB.js → IdentityNumber-Bt6ZrhXe.js} +2 -2
- package/dist/{IdentityNumberFieldGroup-CAjlgTWn.js → IdentityNumberFieldGroup-BLBfvmgh.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Bx89cmUF.js → IdentityScreeningWorkflow-CHEZ4zdv.js} +9 -9
- package/dist/{IndividualDropin-BgOmBeoT.js → IndividualDropin-CACTazlG.js} +36 -35
- package/dist/{IndustryCodeFieldGroup-BDtoeaUz.js → IndustryCodeFieldGroup-bJqEKeii.js} +3 -3
- package/dist/{Introduction-D8hMB7Wb.js → Introduction-BRqto8UG.js} +2 -2
- package/dist/{InvitedDecisionMakerComponent-DZZe5Ruk.js → InvitedDecisionMakerComponent-DO5Qk0zd.js} +6 -6
- package/dist/{JpAddressFields-BIh4120-.js → JpAddressFields-B0GFgCy3.js} +3 -3
- package/dist/{LegalCompanyNameField-Cosyjk52.js → LegalCompanyNameField-CJJVQcQs.js} +1 -1
- package/dist/{LegalName-CtqIpsfy.js → LegalName-BUKybQYZ.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-Mpm8AjdQ.js → LegalRepresentativeDetailsPage-Bw11rpBJ.js} +2 -2
- package/dist/{Link-CvYhseSD.js → Link-C3dYYTm_.js} +1 -1
- package/dist/{ListItem-CYTpdOMa.js → ListItem-CHGVbHhB.js} +2 -2
- package/dist/{MaybeModal-C4ySaA8A.js → MaybeModal-7H_ZLVQ9.js} +2 -2
- package/dist/{Modal-CHES6970.js → Modal-D0xvSE_j.js} +1 -1
- package/dist/{Name-CdCsijr5.js → Name-DK5JWLOQ.js} +1 -1
- package/dist/{NewSummary-D55f70wB.js → NewSummary-pUzLqcXI.js} +3 -3
- package/dist/{NodeRenderer-smgxe7Ni.js → NodeRenderer-BVKwxBMI.js} +16 -16
- package/dist/{PatriotActDisclosure-DA6nqTmC.js → PatriotActDisclosure-BNpd6PyX.js} +6 -6
- package/dist/{PayoutDetailsDropin-CPK9u_TO.js → PayoutDetailsDropin-C0qU3Uzc.js} +23 -22
- package/dist/{PayoutDetailsPage-LH-4BMk7.js → PayoutDetailsPage-CevgEt1z.js} +3 -3
- package/dist/{Review-9sjGKoQu.js → Review-5Ym8RlS2.js} +3 -3
- package/dist/{RootBusinessDetailsPage-DRN6p6wB.js → RootBusinessDetailsPage-Dm6Wy0h-.js} +2 -2
- package/dist/{RootBusinessLinesPage-uxn9f5K8.js → RootBusinessLinesPage-DZj94e0G.js} +15 -15
- package/dist/{RootIndividualDetailsPage-BDoKkhcN.js → RootIndividualDetailsPage-CuQVex8z.js} +2 -2
- package/dist/{SignPCIComponent-BNlTxxJz.js → SignPCIComponent-D18-Rz63.js} +5 -5
- package/dist/{SingpassSelection-B6_DsZtn.js → SingpassSelection-BkfhTELs.js} +3 -3
- package/dist/{SoleProprietorshipPage-Dx-pfSwo.js → SoleProprietorshipPage-DDQfeRSO.js} +2 -2
- package/dist/{SourceOfFundsPage-ChO-R9o4.js → SourceOfFundsPage-Cwm9u6aw.js} +17 -17
- package/dist/{SourceOfFundsWorkflow-DuU_n82x.js → SourceOfFundsWorkflow-BFdQf6vp.js} +4 -4
- package/dist/{StateField-BpMwetvd.js → StateField-bJHDCFj_.js} +2 -2
- package/dist/{Step-CctAUYbs.js → Step-CRhTm-mx.js} +3 -3
- package/dist/{Summary-DM31WxLr.js → Summary-DeqRzJJU.js} +4 -4
- package/dist/{Task-C12uuPWD.js → Task-CYL4229j.js} +6 -6
- package/dist/{TaskGroup-z3ONGLnB.js → TaskGroup-VWJYRAPq.js} +3 -3
- package/dist/{TaskListItem-Dx3hKOqG.js → TaskListItem-Dt-FFquh.js} +7 -7
- package/dist/{TaskStepperContextProvider-DdcsqXT7.js → TaskStepperContextProvider-I7talGDO.js} +1 -1
- package/dist/{TaskVerificationStatus-DEXk_ndE.js → TaskVerificationStatus-Bd5Eftf2.js} +1 -1
- package/dist/{TaxInformationField-Cc-NDAVo.js → TaxInformationField-Dr_Lax19.js} +3 -3
- package/dist/{TaxInformationFieldGroup-DI2LzuNr.js → TaxInformationFieldGroup-BpFbypoM.js} +4 -4
- package/dist/{TaxReportingDropin-LNgisxBc.js → TaxReportingDropin-D9PzeSKb.js} +8 -8
- package/dist/{TaxReportingWorkflow-9_9ECX6A.js → TaxReportingWorkflow-DStAFbz4.js} +4 -4
- package/dist/{TermsOfServiceManagement-BGrBal0j.js → TermsOfServiceManagement-DyCCwBac.js} +6 -6
- package/dist/{TileGroup-D1-M64Ul.js → TileGroup-DZrAPLgF.js} +1 -1
- package/dist/{ToastContextProvider-DjYKMflX.js → ToastContextProvider-CRCcSc7O.js} +2 -2
- package/dist/{TrustDetailsPage-cx6yEd6Q.js → TrustDetailsPage-VyHjTUKT.js} +18 -18
- package/dist/{TrustMemberCompanyPage-DZh9Wn9-.js → TrustMemberCompanyPage-uXvOFwx2.js} +2 -2
- package/dist/{TrustMemberIndividualPage--tTWII4G.js → TrustMemberIndividualPage-w71AGGrO.js} +2 -2
- package/dist/{TrustMemberRoleAndTypePage-DEzesajA.js → TrustMemberRoleAndTypePage-DiS-H2ax.js} +10 -10
- package/dist/{TrustMembersOverview-BpJGWVT5.js → TrustMembersOverview-B8zs1cpk.js} +7 -7
- package/dist/{UboTaskItem-DP5LOGom.js → UboTaskItem-D1iGtn9g.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-DelW_XAz.js → UnincorporatedPartnershipIndividualPage-CmAEzOvb.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BdnBsGK9.js → UnincorporatedPartnershipMemberCompanyPage-Doz2y7Re.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DpdTiLc-.js → UnincorporatedPartnershipMemberRoleAndTypePage-vXJttKWb.js} +5 -5
- package/dist/{UnincorporatedPartnershipMembersOverview-BBeans9j.js → UnincorporatedPartnershipMembersOverview-DT9yMH0C.js} +5 -5
- package/dist/{VerificationErrorAlert-CixajVtq.js → VerificationErrorAlert-B-102yda.js} +1 -1
- package/dist/{Workflow-BJbKhY38.js → Workflow-Cjvi3gRk.js} +5 -5
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +11 -11
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +10 -10
- package/dist/adyen-verification-status.js +4 -4
- package/dist/{businessRegistrationNumberPatterns-A08SLm03.js → businessRegistrationNumberPatterns-D9Pw88RS.js} +1 -1
- package/dist/{constants-C8yo0_RA.js → constants-CLLKc2L5.js} +2 -2
- package/dist/{validate-D-l4YRka.js → documentUtils-CxjFpoJB.js} +9 -180
- package/dist/{dropinUtils-DTBezwYT.js → dropinUtils-BbooB3xI.js} +5 -5
- package/dist/{error-BvgoQFEI.js → error-Dvp6R51r.js} +1 -1
- package/dist/{getDefaultRegistrationNumberType-CIu4WMln.js → getDefaultRegistrationNumberType-CqssX8ay.js} +3 -3
- package/dist/{mapLegalEntityToIndividualSchema-Crz7aXZB.js → mapLegalEntityToIndividualSchema-h5rDMtHV.js} +16 -12
- package/dist/{maskHelpers-C0wnCoJl.js → maskHelpers-C44Fv5qZ.js} +2 -2
- package/dist/{processValidationErrors-CjsNfiRK.js → processValidationErrors-BlVYuJS1.js} +1 -1
- package/dist/{resolveEnvironment-CAymXEQ9.js → resolveEnvironment-DsYWbEfp.js} +11 -11
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/{types-BA3bcGAv.js → types-D6p5FQF-.js} +1 -1
- package/dist/{useBusinessDetailsData-sWGe796Y.js → useBusinessDetailsData--k5zPChY.js} +34 -34
- package/dist/{useDataset-CdLBLq98.js → useDataset-BMitsLFp.js} +1 -1
- package/dist/{useHideTaskStepper-Dk7ZQ3U8.js → useHideTaskStepper-C_w6iUY-.js} +1 -1
- package/dist/{useNavigate-n4tia10x.js → useNavigate-CGgy5L7H.js} +32 -32
- package/dist/{utils-Ck_mZapQ.js → utils-ethjn5kr.js} +3 -3
- package/dist/{validate-BCNnfwPW.js → validate-CrKIJS7Q.js} +1 -1
- package/dist/{validate-DKwCZSlM.js → validate-DBlnMeid.js} +4 -4
- package/dist/validate-bVdYu4zu.js +180 -0
- package/dist/{validateExtractionResult-D3d0xx90.js → validateExtractionResult-B-WqNXTl.js} +2 -2
- package/dist/{validationError-DV6t8Ubb.js → validationError-Oxim8w4y.js} +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "01c394ee-ce06-4f48-aa27-0eb995f649d2", e._sentryDebugIdIdentifier = "sentry-dbid-01c394ee-ce06-4f48-aa27-0eb995f649d2");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
5
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { t as Icon } from "./Icon-4XR6gZzk.js";
|
|
8
|
-
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
|
-
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
10
|
-
import { n as IconButton } from "./Button-DPJ1k02w.js";
|
|
11
6
|
import { n as httpGet, r as httpPost, t as httpDelete } from "./http-DsJtugN1.js";
|
|
12
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
13
|
-
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
14
|
-
import { useEffect } from "preact/hooks";
|
|
15
|
-
import cx from "classnames";
|
|
16
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
17
8
|
import "@tanstack/preact-query";
|
|
18
9
|
//#region src/api/documents/useCreateDocument.ts
|
|
19
10
|
var createDocument = async (context, document, ownerId) => {
|
|
@@ -127,10 +118,12 @@ var fetchDocuments = async (documentDetails, entityId) => {
|
|
|
127
118
|
documentStore[entityId] = [];
|
|
128
119
|
entityDocuments.forEach((document) => {
|
|
129
120
|
const id = document.owner?.id;
|
|
130
|
-
if (id)
|
|
131
|
-
|
|
121
|
+
if (id) {
|
|
122
|
+
if (!documentStore[id]) documentStore[id] = [];
|
|
123
|
+
documentStore[id].push(document);
|
|
124
|
+
} else logger.error("Document has no `owner.id`", document);
|
|
132
125
|
});
|
|
133
|
-
return documentStore[entityId];
|
|
126
|
+
return documentStore[entityId] ?? [];
|
|
134
127
|
};
|
|
135
128
|
var fetchDocument = async (documentDetail) => {
|
|
136
129
|
if (!documentDetail.id || !documentDetail.modificationDate) throw new Error("Document detail is missing required fields");
|
|
@@ -189,7 +182,8 @@ var getDocuments = (entityId, documentType) => {
|
|
|
189
182
|
if (!entityId) return [];
|
|
190
183
|
return documentStore[entityId]?.filter((document) => document.type === documentType) ?? [];
|
|
191
184
|
};
|
|
192
|
-
var
|
|
185
|
+
var isIdDocumentType = (documentType) => idTypes.includes(documentType);
|
|
186
|
+
var getIdDocument = (entityId) => documentStore[entityId]?.find((document) => isIdDocumentType(document.type));
|
|
193
187
|
var createDocumentRequest = async ({ entityId, entityType, documentType, page1, page2, description, existingDocument }) => {
|
|
194
188
|
const pagesToUpload = [page1, page2].filter((page) => page !== void 0 && isNewlyUploadedFile(page));
|
|
195
189
|
const [page1ToUpload, page2ToUpload] = pagesToUpload;
|
|
@@ -262,169 +256,4 @@ var mergeProofOfOwnershipAttachments = (existing, incoming) => {
|
|
|
262
256
|
return [...incoming, ...filteredExisting].slice(0, 2);
|
|
263
257
|
};
|
|
264
258
|
//#endregion
|
|
265
|
-
|
|
266
|
-
function bytesToSize(bytes) {
|
|
267
|
-
const sizes = [
|
|
268
|
-
"Bytes",
|
|
269
|
-
"KB",
|
|
270
|
-
"MB",
|
|
271
|
-
"GB",
|
|
272
|
-
"TB"
|
|
273
|
-
];
|
|
274
|
-
if (bytes === 0) return "n/a";
|
|
275
|
-
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
276
|
-
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
277
|
-
return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
|
|
278
|
-
}
|
|
279
|
-
var DropzoneFile_module_default = {
|
|
280
|
-
"dropzone-file": "_dropzone-file_1hbeu_1",
|
|
281
|
-
dropzoneFile: "_dropzone-file_1hbeu_1",
|
|
282
|
-
"dropzone-file-error": "_dropzone-file-error_1hbeu_13",
|
|
283
|
-
dropzoneFileError: "_dropzone-file-error_1hbeu_13",
|
|
284
|
-
"dropzone-file-icon": "_dropzone-file-icon_1hbeu_16",
|
|
285
|
-
dropzoneFileIcon: "_dropzone-file-icon_1hbeu_16",
|
|
286
|
-
"dropzone-file-labels": "_dropzone-file-labels_1hbeu_30",
|
|
287
|
-
dropzoneFileLabels: "_dropzone-file-labels_1hbeu_30",
|
|
288
|
-
"dropzone-file-name": "_dropzone-file-name_1hbeu_36",
|
|
289
|
-
dropzoneFileName: "_dropzone-file-name_1hbeu_36",
|
|
290
|
-
"dropzone-file-size": "_dropzone-file-size_1hbeu_43",
|
|
291
|
-
dropzoneFileSize: "_dropzone-file-size_1hbeu_43",
|
|
292
|
-
"dropzone-file-error-message": "_dropzone-file-error-message_1hbeu_47",
|
|
293
|
-
dropzoneFileErrorMessage: "_dropzone-file-error-message_1hbeu_47"
|
|
294
|
-
};
|
|
295
|
-
//#endregion
|
|
296
|
-
//#region src/components/ui/molecules/Dropzone/DropzoneFile.tsx
|
|
297
|
-
function DropzoneFile(props) {
|
|
298
|
-
const { file, errorMessage, onDelete, loading } = props;
|
|
299
|
-
const { t } = useTranslation("common");
|
|
300
|
-
const userEvents = useAnalyticsContext();
|
|
301
|
-
let documentIcon;
|
|
302
|
-
const formatSize = (bytes) => {
|
|
303
|
-
const sizes = [
|
|
304
|
-
"Bytes",
|
|
305
|
-
"KB",
|
|
306
|
-
"MB",
|
|
307
|
-
"GB",
|
|
308
|
-
"TB"
|
|
309
|
-
];
|
|
310
|
-
if (!bytes || bytes === 0) return "n/a";
|
|
311
|
-
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
312
|
-
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
313
|
-
return `${(bytes / 1024 ** i).toFixed(1)} ${sizes[i]}`;
|
|
314
|
-
};
|
|
315
|
-
switch (file.type?.split("/")[0]) {
|
|
316
|
-
case "image":
|
|
317
|
-
documentIcon = "image";
|
|
318
|
-
break;
|
|
319
|
-
default: documentIcon = "document";
|
|
320
|
-
}
|
|
321
|
-
useEffect(() => {
|
|
322
|
-
if (!errorMessage) return;
|
|
323
|
-
userEvents.addFieldEvent("Encountered error", {
|
|
324
|
-
actionType: "change",
|
|
325
|
-
field: "dropzone file",
|
|
326
|
-
returnType: "validation",
|
|
327
|
-
returnValue: errorMessage
|
|
328
|
-
});
|
|
329
|
-
}, [errorMessage, userEvents]);
|
|
330
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
331
|
-
className: cx(DropzoneFile_module_default.dropzoneFile, { [DropzoneFile_module_default.dropzoneFileError]: errorMessage }),
|
|
332
|
-
children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
|
|
333
|
-
className: DropzoneFile_module_default.dropzoneFileLabels,
|
|
334
|
-
children: [
|
|
335
|
-
errorMessage ? /* @__PURE__ */ jsx(Icon, {
|
|
336
|
-
testId: "document-invalid",
|
|
337
|
-
name: "warning",
|
|
338
|
-
className: DropzoneFile_module_default.dropzoneFileIcon
|
|
339
|
-
}) : /* @__PURE__ */ jsx(Icon, {
|
|
340
|
-
testId: "document-valid",
|
|
341
|
-
name: documentIcon,
|
|
342
|
-
className: DropzoneFile_module_default.dropzoneFileIcon
|
|
343
|
-
}),
|
|
344
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
345
|
-
variant: "body-stronger",
|
|
346
|
-
className: DropzoneFile_module_default.dropzoneFileName,
|
|
347
|
-
children: file.name
|
|
348
|
-
}),
|
|
349
|
-
/* @__PURE__ */ jsx(Typography, {
|
|
350
|
-
className: DropzoneFile_module_default.dropzoneFileSize,
|
|
351
|
-
children: isNewlyUploadedFile(file) && formatSize(file.size)
|
|
352
|
-
})
|
|
353
|
-
]
|
|
354
|
-
}), errorMessage && /* @__PURE__ */ jsx("div", {
|
|
355
|
-
className: DropzoneFile_module_default.dropzoneFileErrorMessage,
|
|
356
|
-
children: t(($) => $[errorMessage])
|
|
357
|
-
})] }), loading ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Loader, { size: "medium" }) }) : errorMessage ? /* @__PURE__ */ jsx(IconButton, {
|
|
358
|
-
ariaLabel: t(($) => $["close"]),
|
|
359
|
-
icon: "cross",
|
|
360
|
-
variant: "tertiary",
|
|
361
|
-
onClick: onDelete
|
|
362
|
-
}) : /* @__PURE__ */ jsx(IconButton, {
|
|
363
|
-
ariaLabel: t(($) => $["deleteDocument"]),
|
|
364
|
-
icon: "bin",
|
|
365
|
-
variant: "tertiary",
|
|
366
|
-
onClick: onDelete
|
|
367
|
-
})]
|
|
368
|
-
});
|
|
369
|
-
}
|
|
370
|
-
//#endregion
|
|
371
|
-
//#region src/utils/hasDuplicates.ts
|
|
372
|
-
var hasDuplicates = (arr) => arr.some((item, currIndex) => arr.indexOf(item) !== currIndex);
|
|
373
|
-
//#endregion
|
|
374
|
-
//#region src/components/ui/molecules/Dropzone/validate.ts
|
|
375
|
-
var defaultFileValidationOptions = {
|
|
376
|
-
allowedFileTypes: [
|
|
377
|
-
"JPG",
|
|
378
|
-
"JPEG",
|
|
379
|
-
"PNG",
|
|
380
|
-
"PDF"
|
|
381
|
-
],
|
|
382
|
-
maxNumberOfFiles: 1,
|
|
383
|
-
maxSize: 4194304,
|
|
384
|
-
isOptional: false
|
|
385
|
-
};
|
|
386
|
-
var filterOnlyNewlyUploadedFiles = (files) => files.filter(isNewlyUploadedFile);
|
|
387
|
-
var fileValidationRules = ({ allowedFileTypes, maxNumberOfFiles, maxSize, isOptional }) => [
|
|
388
|
-
{
|
|
389
|
-
validate: (files) => {
|
|
390
|
-
if (isOptional && (!files || files.length === 0)) return true;
|
|
391
|
-
return Boolean(files && files.length > 0);
|
|
392
|
-
},
|
|
393
|
-
errorMessage: "fieldIsRequired",
|
|
394
|
-
modes: ["blur", "input"]
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
validate: (files) => {
|
|
398
|
-
if (!files) return true;
|
|
399
|
-
return files.length <= maxNumberOfFiles;
|
|
400
|
-
},
|
|
401
|
-
errorMessage: "tooManyFiles",
|
|
402
|
-
modes: ["blur", "input"]
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
validate: (files) => {
|
|
406
|
-
if (!files) return true;
|
|
407
|
-
return !hasDuplicates(files.map((file) => file.name));
|
|
408
|
-
},
|
|
409
|
-
errorMessage: "duplicatedFiles",
|
|
410
|
-
modes: ["blur", "input"]
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
validate: (files) => {
|
|
414
|
-
if (!files) return true;
|
|
415
|
-
return filterOnlyNewlyUploadedFiles(files).every((file) => allowedFileTypes.some((filetype) => file.name.toLowerCase().endsWith(filetype.toLowerCase())));
|
|
416
|
-
},
|
|
417
|
-
errorMessage: "unsupportedFiletype",
|
|
418
|
-
modes: ["blur", "input"]
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
validate: (files) => {
|
|
422
|
-
if (!files) return true;
|
|
423
|
-
return filterOnlyNewlyUploadedFiles(files).every((file) => !file.size || file.size < maxSize);
|
|
424
|
-
},
|
|
425
|
-
errorMessage: "maximumFileSizeExceeded",
|
|
426
|
-
modes: ["blur", "input"]
|
|
427
|
-
}
|
|
428
|
-
];
|
|
429
|
-
//#endregion
|
|
430
|
-
export { createDocumentRequest as a, getDocuments as c, mergeAttachments as d, mergeProofOfOwnershipAttachments as f, bytesToSize as i, getFileExtention as l, fileValidationRules as n, documentApiUtils as o, getLocalizedIdDocumentTypeOptions as p, DropzoneFile as r, getDocument as s, defaultFileValidationOptions as t, getIdDocument as u };
|
|
259
|
+
export { getFileExtention as a, mergeAttachments as c, isNewlyUploadedFile as d, getDocuments as i, mergeProofOfOwnershipAttachments as l, documentApiUtils as n, getIdDocument as o, getDocument as r, isIdDocumentType as s, createDocumentRequest as t, getLocalizedIdDocumentTypeOptions as u };
|
|
@@ -4,14 +4,14 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-PBnEZF18.js";
|
|
8
8
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
9
9
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
10
|
-
import { t as Confirm } from "./Confirm-
|
|
10
|
+
import { t as Confirm } from "./Confirm-aZAJ9IIU.js";
|
|
11
11
|
import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
|
|
12
|
-
import { r as FormRouterContext } from "./ErrorPanel-
|
|
13
|
-
import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-
|
|
14
|
-
import { t as MaybeModal } from "./MaybeModal-
|
|
12
|
+
import { r as FormRouterContext } from "./ErrorPanel-CsoIs-F1.js";
|
|
13
|
+
import { i as trackNavigation, n as summaryStep, t as Summary } from "./Summary-DeqRzJJU.js";
|
|
14
|
+
import { t as MaybeModal } from "./MaybeModal-7H_ZLVQ9.js";
|
|
15
15
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
16
16
|
import { t as FormFlow_module_default } from "./FormFlow.module-DqMxjYHl.js";
|
|
17
17
|
import { useCallback, useContext, useMemo, useRef, useState } from "preact/hooks";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "386c4c46-3ee6-4cad-a3ef-0f6dac914c19", e._sentryDebugIdIdentifier = "sentry-dbid-386c4c46-3ee6-4cad-a3ef-0f6dac914c19");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
6
|
-
import { u as isValueObscured } from "./maskHelpers-
|
|
6
|
+
import { u as isValueObscured } from "./maskHelpers-C44Fv5qZ.js";
|
|
7
7
|
import { i as getProp, n as deleteProp } from "./utils-DdHbAadK.js";
|
|
8
8
|
//#region src/utils/omitObscuredFieldsIfUnchanged.ts
|
|
9
9
|
var omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
@@ -4,10 +4,10 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
|
-
import { t as Field } from "./Field-
|
|
7
|
+
import { t as Field } from "./Field-Cikj1a5F.js";
|
|
8
8
|
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
|
|
9
|
-
import { i as makeMask, o as numericInputs, s as spacer } from "./maskHelpers-
|
|
10
|
-
import { n as businessRegistrationNumberMasks, r as stateFormatGuidanceText, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-
|
|
9
|
+
import { i as makeMask, o as numericInputs, s as spacer } from "./maskHelpers-C44Fv5qZ.js";
|
|
10
|
+
import { n as businessRegistrationNumberMasks, r as stateFormatGuidanceText, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-D9Pw88RS.js";
|
|
11
11
|
import { t as RadioGroup } from "./RadioGroup-Bf3DlQnZ.js";
|
|
12
12
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "79ec5fc6-19df-48ca-a966-51fe268b2ec0", e._sentryDebugIdIdentifier = "sentry-dbid-79ec5fc6-19df-48ca-a966-51fe268b2ec0");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-PBnEZF18.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
10
|
import { c as individualBaseMapping, y as reverseMapping } from "./processCapabilities-CWE5UFt8.js";
|
|
11
11
|
import { o as getNomineeFromAssociation } from "./entityAssociationUtil-CY0grcyH.js";
|
|
12
12
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
13
13
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
14
|
-
import { t as Field } from "./Field-
|
|
15
|
-
import { t as TileGroup } from "./TileGroup-
|
|
14
|
+
import { t as Field } from "./Field-Cikj1a5F.js";
|
|
15
|
+
import { t as TileGroup } from "./TileGroup-DZrAPLgF.js";
|
|
16
16
|
import { t as mapApiScriptLocalizationToSchemaFields } from "./mapScriptLocalization-BCfkZo1y.js";
|
|
17
17
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
18
|
+
import { s as isIdDocumentType } from "./documentUtils-CxjFpoJB.js";
|
|
18
19
|
import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js";
|
|
19
20
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
20
21
|
import { signal } from "@preact/signals";
|
|
@@ -189,13 +190,16 @@ var mapLegalEntityToIndividualSchema = (legalEntity, isChangingType, isRoleField
|
|
|
189
190
|
isNomineeShareholder: individual.uboQuestionnaire?.isNomineeShareholder ?? null
|
|
190
191
|
}
|
|
191
192
|
};
|
|
192
|
-
if (legalEntity?.documentDetails?.length)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
193
|
+
if (legalEntity?.documentDetails?.length) {
|
|
194
|
+
const idDocument = mapDocumentDetailToIdDocument(legalEntity.documentDetails);
|
|
195
|
+
if (idDocument) individual = {
|
|
196
|
+
...individual,
|
|
197
|
+
idVerificationMethod: {
|
|
198
|
+
idVerificationMethod: "existingDocument",
|
|
199
|
+
idDocument
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
}
|
|
199
203
|
if (legalEntity.individual?.identificationData?.type && individual.additionalPersonalDetails) {
|
|
200
204
|
const apiIdentityTypeToIdentityTypeMap = reverseMapping(getOnfidoIdentityTypeToApiIdentityTypeMap(individual.additionalPersonalDetails));
|
|
201
205
|
individual.additionalPersonalDetails.typeOfIdentity = apiIdentityTypeToIdentityTypeMap[legalEntity.individual.identificationData.type];
|
|
@@ -241,7 +245,7 @@ var mapLegalEntityToIndividualSchema = (legalEntity, isChangingType, isRoleField
|
|
|
241
245
|
return individual;
|
|
242
246
|
};
|
|
243
247
|
var mapDocumentDetailToIdDocument = (documents) => {
|
|
244
|
-
const activeDocument = documents.find((document) => document.active);
|
|
248
|
+
const activeDocument = documents.find((document) => document.active && isIdDocumentType(document.type));
|
|
245
249
|
return activeDocument ? {
|
|
246
250
|
idDocumentType: activeDocument.type,
|
|
247
251
|
modificationDate: activeDocument.modificationDate ?? ""
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7f187b89-cdea-4042-8a95-eaa36db4aff1", e._sentryDebugIdIdentifier = "sentry-dbid-7f187b89-cdea-4042-8a95-eaa36db4aff1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
-
import { t as Icon } from "./Icon-
|
|
6
|
+
import { t as Icon } from "./Icon-DFQgr7dy.js";
|
|
7
7
|
import { t as cloneObject } from "./genUtils-nphCwt1A.js";
|
|
8
8
|
import { y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
|
|
9
9
|
import { t as KEYBOARD_KEYS } from "./keys-Ce8YnRP2.js";
|
|
10
|
-
import { t as Field } from "./Field-
|
|
10
|
+
import { t as Field } from "./Field-Cikj1a5F.js";
|
|
11
11
|
import { n as useForwardedRef, r as InputBase, t as InputText } from "./InputText-CFDEmEtp.js";
|
|
12
12
|
import { forwardRef } from "preact/compat";
|
|
13
13
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useLayoutEffect, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { S as remediationPayoutApiKeyMapping, d as remediationIndividualApiKeyMapping, v as remediationBusinessDetailsApiKeyMapping } from "./processCapabilities-CWE5UFt8.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
|
-
import { i as getFieldNameFromPath } from "./ErrorPanel-
|
|
7
|
+
import { i as getFieldNameFromPath } from "./ErrorPanel-CsoIs-F1.js";
|
|
8
8
|
import { t as assignToProp } from "./utils-DdHbAadK.js";
|
|
9
9
|
//#region src/types/errors/maintenance-mode-error.ts
|
|
10
10
|
var isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "538e06a6-9eb4-4739-9409-d46fb53df070", e._sentryDebugIdIdentifier = "sentry-dbid-538e06a6-9eb4-4739-9409-d46fb53df070");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as setDefaults, i as setI18n, n as addResourceBundles, r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
8
|
-
import { t as Button } from "./Button-
|
|
8
|
+
import { t as Button } from "./Button-PBnEZF18.js";
|
|
9
9
|
import { a as setSdkTokenHandler, i as refreshSession, n as httpGet, o as ApiProvider, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
10
10
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
@@ -16,17 +16,17 @@ import { c as valuesOf, s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
|
16
16
|
import { t as AnalyticsContext } from "./AnalyticsContext-CpimDlw4.js";
|
|
17
17
|
import { t as StateContext } from "./StateContext-B2_Pqd_y.js";
|
|
18
18
|
import { y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
|
|
19
|
-
import { t as ToastContextProvider } from "./ToastContextProvider-
|
|
19
|
+
import { t as ToastContextProvider } from "./ToastContextProvider-CRCcSc7O.js";
|
|
20
20
|
import { t as listToRecord } from "./listToRecord-DumSkYDz.js";
|
|
21
21
|
import { n as ToggleContext, t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
22
22
|
import { t as ExperimentNames } from "./types-CZAHRt31.js";
|
|
23
23
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-sGNwd-kR.js";
|
|
24
|
-
import { t as Header } from "./Header-
|
|
24
|
+
import { t as Header } from "./Header-DvifUz7-.js";
|
|
25
25
|
import { t as useAllowedCountries } from "./useAllowedCountries-qyvo-c6A.js";
|
|
26
|
-
import { t as useDataset } from "./useDataset-
|
|
26
|
+
import { t as useDataset } from "./useDataset-BMitsLFp.js";
|
|
27
27
|
import { t as datasetIdentifier } from "./datasetUtil-BdHPWsxZ.js";
|
|
28
|
-
import { n as Skeleton } from "./Accordion-
|
|
29
|
-
import { n as AlertIcon } from "./Alert-
|
|
28
|
+
import { n as Skeleton } from "./Accordion-D_DOaWj2.js";
|
|
29
|
+
import { n as AlertIcon } from "./Alert-aOxK37M0.js";
|
|
30
30
|
import { n as createGlobalStore, t as StoreContext } from "./globalStore-WASei98w.js";
|
|
31
31
|
import i18n from "i18next";
|
|
32
32
|
import { Suspense, lazy } from "preact/compat";
|
|
@@ -312,7 +312,7 @@ var getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType) =
|
|
|
312
312
|
//#endregion
|
|
313
313
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
314
314
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
315
|
-
const sdkVersion = "4.24.
|
|
315
|
+
const sdkVersion = "4.24.3";
|
|
316
316
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
317
317
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
318
318
|
const { accountHolder } = useAccountHolder();
|
|
@@ -408,7 +408,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
408
408
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
409
409
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
410
410
|
const sessionData = {
|
|
411
|
-
sdkVersion: "4.24.
|
|
411
|
+
sdkVersion: "4.24.3",
|
|
412
412
|
componentName,
|
|
413
413
|
userAgent: navigator.userAgent,
|
|
414
414
|
legalEntityId: rootLegalEntityId,
|
|
@@ -865,7 +865,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
865
865
|
};
|
|
866
866
|
//#endregion
|
|
867
867
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
868
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
868
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-ClRBdvOc.js")).DebugModal);
|
|
869
869
|
/**
|
|
870
870
|
* Adds a listener on the page to open the debug modal when the
|
|
871
871
|
* debug modal key combination is pressed to open it
|
|
@@ -966,7 +966,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
966
966
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
967
967
|
id: "sdk-version",
|
|
968
968
|
hidden: true,
|
|
969
|
-
children: "4.24.
|
|
969
|
+
children: "4.24.3"
|
|
970
970
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
971
971
|
componentName,
|
|
972
972
|
locale,
|
|
@@ -14,6 +14,7 @@ export type DocumentApiUtils = {
|
|
|
14
14
|
export declare const documentApiUtils: (context: ComponentApiRequestContext) => DocumentApiUtils;
|
|
15
15
|
export declare const getDocument: (entityId: string | undefined, documentType: DocumentType) => ExistingDocumentWithModificationDate | undefined;
|
|
16
16
|
export declare const getDocuments: (entityId: string | undefined, documentType: DocumentType) => ExistingDocumentWithModificationDate[];
|
|
17
|
+
export declare const isIdDocumentType: (documentType: DocumentType) => boolean;
|
|
17
18
|
export declare const getIdDocument: (entityId: string) => ExistingDocumentWithModificationDate | undefined;
|
|
18
19
|
export interface CreateDocumentRequestProps {
|
|
19
20
|
entityId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4bfad2b8-b2c5-4b3e-ace3-8952488a7de5", e._sentryDebugIdIdentifier = "sentry-dbid-4bfad2b8-b2c5-4b3e-ace3-8952488a7de5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
6
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8f098593-9b61-4f1d-94aa-0afb7dbd1a62", e._sentryDebugIdIdentifier = "sentry-dbid-8f098593-9b61-4f1d-94aa-0afb7dbd1a62");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-PBnEZF18.js";
|
|
10
10
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
11
11
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
12
12
|
import { t as useAccountHolder } from "./useAccountHolder-BpIX1iBG.js";
|
|
@@ -15,13 +15,13 @@ import { a as objectsDeepEqual, n as doArraysMatch, o as entriesOf, s as keysOf
|
|
|
15
15
|
import { S as isUndefinedOrNull, b as isISIN, y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
|
|
16
16
|
import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
17
17
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
18
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
18
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-Bd5Eftf2.js";
|
|
19
19
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
20
|
-
import { t as Header } from "./Header-
|
|
20
|
+
import { t as Header } from "./Header-DvifUz7-.js";
|
|
21
21
|
import { t as useAllowedCountries } from "./useAllowedCountries-qyvo-c6A.js";
|
|
22
22
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
23
23
|
import { n as datasetUtilities } from "./datasetUtil-BdHPWsxZ.js";
|
|
24
|
-
import { t as Alert } from "./Alert-
|
|
24
|
+
import { t as Alert } from "./Alert-aOxK37M0.js";
|
|
25
25
|
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-CWE5UFt8.js";
|
|
26
26
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
27
27
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
|
|
@@ -35,69 +35,69 @@ import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
|
35
35
|
import { t as LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
36
36
|
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-B97dCa-s.js";
|
|
37
37
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
38
|
-
import { n as ModalContent, t as Modal } from "./Modal-
|
|
39
|
-
import { t as Confirm } from "./Confirm-
|
|
38
|
+
import { n as ModalContent, t as Modal } from "./Modal-D0xvSE_j.js";
|
|
39
|
+
import { t as Confirm } from "./Confirm-aZAJ9IIU.js";
|
|
40
40
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
|
|
41
41
|
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B7LRg8m0.js";
|
|
42
|
-
import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-
|
|
42
|
+
import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-BbooB3xI.js";
|
|
43
43
|
import { i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-B0RwhsVw.js";
|
|
44
44
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
45
45
|
import { t as StructuredList } from "./StructuredList-nPasiuLi.js";
|
|
46
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
47
|
-
import { n as summaryStep, r as Summary_module_default } from "./Summary-
|
|
46
|
+
import { t as ErrorPanel } from "./ErrorPanel-CsoIs-F1.js";
|
|
47
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-DeqRzJJU.js";
|
|
48
48
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVDcdZsP.js";
|
|
49
49
|
import { t as useMultiForm } from "./useMultiForm-BxASst0O.js";
|
|
50
|
-
import { t as Field } from "./Field-
|
|
51
|
-
import { t as TileGroup } from "./TileGroup-
|
|
52
|
-
import { a as useLegalCompanyNameField, i as CountryOfGoverningLawField, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as localizedLegalCompanyNameFieldConfig, r as COUNTRY_OF_GOVERNING_LAW_FIELD, s as useCompanyTypeExamples, t as CountryOfGoverningLawFieldValidation } from "./validate-
|
|
50
|
+
import { t as Field } from "./Field-Cikj1a5F.js";
|
|
51
|
+
import { t as TileGroup } from "./TileGroup-DZrAPLgF.js";
|
|
52
|
+
import { a as useLegalCompanyNameField, i as CountryOfGoverningLawField, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as localizedLegalCompanyNameFieldConfig, r as COUNTRY_OF_GOVERNING_LAW_FIELD, s as useCompanyTypeExamples, t as CountryOfGoverningLawFieldValidation } from "./validate-DBlnMeid.js";
|
|
53
53
|
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
54
|
-
import { a as exemptFromRegistrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldMetadata, l as getCompanyRegistrationNumberOptions, n as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as getDefaultRegistrationNumberType, u as getValidCompanyTypesForRegistrationNumberType } from "./getDefaultRegistrationNumberType-
|
|
55
|
-
import { A as taxIdNumberOptions, C as isRegistrationNumberAbsentStateV4Scenario, D as getTaxIdNumberOptions, E as mapLocalizationToJapaneseLegalNames, S as isRegistrationExemptionAllowed, T as mapJapaneseLegalNamesToLocalization, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as taxInformationDefaultFieldConfig, d as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, f as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, g as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, h as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, k as getValidCompanyTypesForTaxIdNumberType, l as taxInformationDefaultFieldMetadata, m as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, p as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, s as getTaxInformationPlaceholderText, u as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, v as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, w as isUsingCompanySearch, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-
|
|
54
|
+
import { a as exemptFromRegistrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldMetadata, l as getCompanyRegistrationNumberOptions, n as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as getDefaultRegistrationNumberType, u as getValidCompanyTypesForRegistrationNumberType } from "./getDefaultRegistrationNumberType-CqssX8ay.js";
|
|
55
|
+
import { A as taxIdNumberOptions, C as isRegistrationNumberAbsentStateV4Scenario, D as getTaxIdNumberOptions, E as mapLocalizationToJapaneseLegalNames, S as isRegistrationExemptionAllowed, T as mapJapaneseLegalNamesToLocalization, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as taxInformationDefaultFieldConfig, d as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, f as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, g as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, h as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, k as getValidCompanyTypesForTaxIdNumberType, l as taxInformationDefaultFieldMetadata, m as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, p as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, s as getTaxInformationPlaceholderText, u as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, v as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, w as isUsingCompanySearch, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-ethjn5kr.js";
|
|
56
56
|
import { t as isEmpty$1 } from "./isEmpty-Uewyl-r6.js";
|
|
57
57
|
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
58
58
|
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
59
|
-
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-
|
|
59
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-Tnnm6nrT.js";
|
|
60
60
|
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-BWumuCvl.js";
|
|
61
61
|
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
|
|
62
|
-
import { n as StateField, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-
|
|
63
|
-
import { t as ListItem } from "./ListItem-
|
|
64
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
62
|
+
import { n as StateField, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-bJHDCFj_.js";
|
|
63
|
+
import { t as ListItem } from "./ListItem-CHGVbHhB.js";
|
|
64
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-CJJVQcQs.js";
|
|
65
65
|
import { t as InputText } from "./InputText-CFDEmEtp.js";
|
|
66
66
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
67
|
-
import { n as TaxInformationField, r as isJapanLocalizationEnabled, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-
|
|
68
|
-
import { c as MaskedInput, i as makeMask, n as alphanumericInputs, o as numericInputs, t as alphaInputs } from "./maskHelpers-
|
|
67
|
+
import { n as TaxInformationField, r as isJapanLocalizationEnabled, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-Dr_Lax19.js";
|
|
68
|
+
import { c as MaskedInput, i as makeMask, n as alphanumericInputs, o as numericInputs, t as alphaInputs } from "./maskHelpers-C44Fv5qZ.js";
|
|
69
69
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
70
70
|
import { t as RadioGroup } from "./RadioGroup-Bf3DlQnZ.js";
|
|
71
|
-
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-
|
|
71
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-By_rLI-i.js";
|
|
72
72
|
import { n as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-C68JdH6I.js";
|
|
73
73
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
74
74
|
import { t as useScenarios } from "./useScenarios-BfYE0clW.js";
|
|
75
|
-
import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-
|
|
75
|
+
import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-By9cx_D1.js";
|
|
76
76
|
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-2QXrkhqJ.js";
|
|
77
77
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
78
78
|
import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js";
|
|
79
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
80
|
-
import { a as
|
|
81
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
82
|
-
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-
|
|
79
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-BlVYuJS1.js";
|
|
80
|
+
import { a as getFileExtention, i as getDocuments, l as mergeProofOfOwnershipAttachments, n as documentApiUtils, r as getDocument, t as createDocumentRequest } from "./documentUtils-CxjFpoJB.js";
|
|
81
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-BNpd6PyX.js";
|
|
82
|
+
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-Oxim8w4y.js";
|
|
83
83
|
import { i as formatAddressForCleanse, n as formatDateObj, o as useAddressCleanseImperatively, t as InputDate } from "./InputDate-ANdv1rKt.js";
|
|
84
84
|
import { t as addressValidators } from "./validate-96E_RrNB.js";
|
|
85
85
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
86
|
-
import { t as Link } from "./Link-
|
|
86
|
+
import { t as Link } from "./Link-C3dYYTm_.js";
|
|
87
87
|
import { t as formatValidationError } from "./formatValidationError-q_w9DTrl.js";
|
|
88
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
88
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-Dt1zX8NE.js";
|
|
89
89
|
import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js";
|
|
90
|
-
import { t as currencyByCountry } from "./types-
|
|
90
|
+
import { t as currencyByCountry } from "./types-D6p5FQF-.js";
|
|
91
91
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
92
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
92
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-pUzLqcXI.js";
|
|
93
93
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
94
|
-
import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-
|
|
94
|
+
import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-Dh9dMO1u.js";
|
|
95
95
|
import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
|
|
96
96
|
import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
|
|
97
97
|
import { n as formatCurrency } from "./formatCurrency-BetgkQKi.js";
|
|
98
98
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-DCKYTzxd.js";
|
|
99
|
-
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-
|
|
100
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
99
|
+
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-CNgdkJdy.js";
|
|
100
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-CLLKc2L5.js";
|
|
101
101
|
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-CJcGZvj1.js";
|
|
102
102
|
import { lazy } from "preact/compat";
|
|
103
103
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ffea9fa9-6576-4614-a25b-1212831d3280", e._sentryDebugIdIdentifier = "sentry-dbid-ffea9fa9-6576-4614-a25b-1212831d3280");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e52d00ec-8eb3-47fd-af67-981d1961a904", e._sentryDebugIdIdentifier = "sentry-dbid-e52d00ec-8eb3-47fd-af67-981d1961a904");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
6
6
|
import { useRef } from "preact/hooks";
|