@adyen/kyc-components 2.30.1 → 2.31.0
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/es/adyen-kyc-components.es.js +1329 -1096
- package/dist/style.css +1933 -72
- package/dist/types/components/BankDocument/component/BankDocumentComponent.d.ts +6 -0
- package/dist/types/components/BankDocument/component/BankDocumentRequirements.d.ts +10 -0
- package/dist/types/components/BankDocument/component/validate.d.ts +3 -0
- package/dist/types/components/BankDocument/index.d.ts +2 -0
- package/dist/types/components/BankDocument/types.d.ts +47 -0
- package/dist/types/components/Dropins/PayoutDetailsDropin/components/PayoutDetailsDropinComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingRedirect/OnboardingRedirectComponent.d.ts +3 -2
- package/dist/types/components/EmbeddedDropins/OnboardingRedirect/types.d.ts +4 -0
- package/dist/types/components/PayoutDetails/component/PayoutDetailsComponent.d.ts +6 -5
- package/dist/types/components/PayoutDetails/types.d.ts +3 -2
- package/dist/types/components/ProofOfResidency/types.d.ts +1 -1
- package/dist/types/components/internal/Address/utils.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +2 -2
- package/dist/types/components/internal/List/ListItem.d.ts +1 -1
- package/dist/types/components/internal/List/types.d.ts +2 -2
- package/dist/types/components/internal/PhoneInput/types.d.ts +2 -4
- package/dist/types/components/internal/PhoneInput/validate.d.ts +2 -4
- package/dist/types/core/Context/SettingsContext/{SettingsContextProvider.d.ts → SettingsProvider.d.ts} +1 -1
- package/dist/types/core/Context/SettingsContext/types.d.ts +26 -5
- package/dist/types/core/Context/SettingsContext/useSetting.d.ts +2 -0
- package/dist/types/core/Services/componentApi/index.d.ts +0 -1
- package/dist/types/core/Services/utils.d.ts +2 -2
- package/dist/types/core/errorMapping.d.ts +10 -0
- package/dist/types/core/hooks/useAssociatedLegalArrangement.d.ts +11 -0
- package/dist/types/core/models/api/data-set.d.ts +1 -1
- package/dist/types/core/models/api/onboarding-redirect.d.ts +1 -1
- package/dist/types/core/models/api/remediating-action.d.ts +2 -1
- package/dist/types/core/models/api/verification-error.d.ts +2 -2
- package/dist/types/core/models/errors/validation-error.d.ts +2 -2
- package/dist/types/core/process-field-configurations.d.ts +1 -1
- package/dist/types/language/config.d.ts +20 -11
- package/dist/types/utils/entity-status-util.d.ts +1 -1
- package/dist/types/utils/mapping/mapping.d.ts +2 -2
- package/dist/types/utils/perCountry.d.ts +3 -0
- package/package.json +17 -18
- package/dist/types/components/PayoutBankStatement/component/BankDocumentRequirements.d.ts +0 -9
- package/dist/types/components/PayoutBankStatement/component/PayoutBankStatementComponent.d.ts +0 -6
- package/dist/types/components/PayoutBankStatement/component/validate.d.ts +0 -3
- package/dist/types/components/PayoutBankStatement/types.d.ts +0 -33
- package/dist/types/core/Services/componentApi/get-bankVerification-providers.d.ts +0 -3
- /package/dist/es/{AD-670c62c0.mjs → AD-rNM7cqE8.mjs} +0 -0
- /package/dist/es/{AE-24bbc749.mjs → AE-DoU2c3CQ.mjs} +0 -0
- /package/dist/es/{AI-2f8eb3e4.mjs → AI-BQBZ2VVt.mjs} +0 -0
- /package/dist/es/{AL-dee818f3.mjs → AL-s4ei1ra4.mjs} +0 -0
- /package/dist/es/{AR-ddb2f621.mjs → AR-DDR8RTlN.mjs} +0 -0
- /package/dist/es/{AS-d857591e.mjs → AS-CvpjtIPo.mjs} +0 -0
- /package/dist/es/{AT-0d286d50.mjs → AT-Du3jf0QK.mjs} +0 -0
- /package/dist/es/{AU-e3d4ecff.mjs → AU-CaRlRNzq.mjs} +0 -0
- /package/dist/es/{AX-acf0cb07.mjs → AX-DL2IpBlq.mjs} +0 -0
- /package/dist/es/{AZ-febcbba9.mjs → AZ-DgnKHqSW.mjs} +0 -0
- /package/dist/es/{BA-36553325.mjs → BA-DbzAHDbo.mjs} +0 -0
- /package/dist/es/{BE-01b309e9.mjs → BE-B8RVrEa-.mjs} +0 -0
- /package/dist/es/{BG-b141efc4.mjs → BG-BAU_RbNU.mjs} +0 -0
- /package/dist/es/{BH-4252606c.mjs → BH-zzl3Aicz.mjs} +0 -0
- /package/dist/es/{BM-9d017537.mjs → BM-Bx0QpJE_.mjs} +0 -0
- /package/dist/es/{BR-afb9b585.mjs → BR-CcE5GVb_.mjs} +0 -0
- /package/dist/es/{BS-71942f8a.mjs → BS-C5xv5epf.mjs} +0 -0
- /package/dist/es/{BV-7c089d21.mjs → BV-BO7Uhvet.mjs} +0 -0
- /package/dist/es/{BY-b3362481.mjs → BY-Dn7i3b4O.mjs} +0 -0
- /package/dist/es/{CA-75a34c71.mjs → CA-BzjyYlZe.mjs} +0 -0
- /package/dist/es/{CH-b8cf24c1.mjs → CH-BvlOBUqB.mjs} +0 -0
- /package/dist/es/{CN-ebbef145.mjs → CN-y0BC6iBw.mjs} +0 -0
- /package/dist/es/{CR-8bf65073.mjs → CR-tTzdtq6M.mjs} +0 -0
- /package/dist/es/{CY-3e2ed850.mjs → CY-Bjyj7q7k.mjs} +0 -0
- /package/dist/es/{CZ-7ac97b54.mjs → CZ-DdsXQiz6.mjs} +0 -0
- /package/dist/es/{DE-2322162a.mjs → DE-k6sF_Z8P.mjs} +0 -0
- /package/dist/es/{DK-7cebcff6.mjs → DK-CUWikATU.mjs} +0 -0
- /package/dist/es/{DO-bfe9604e.mjs → DO-DpDyoh4y.mjs} +0 -0
- /package/dist/es/{EC-3ab33540.mjs → EC--TPKDJme.mjs} +0 -0
- /package/dist/es/{EE-cbb695a1.mjs → EE-o0O1NAuh.mjs} +0 -0
- /package/dist/es/{ES-094cb641.mjs → ES-8DboqUrj.mjs} +0 -0
- /package/dist/es/{FI-a1653669.mjs → FI-CwVBRBBQ.mjs} +0 -0
- /package/dist/es/{FJ-3b91f5c9.mjs → FJ-DkKmOAd6.mjs} +0 -0
- /package/dist/es/{FO-f647fb1e.mjs → FO-BCZCVxXR.mjs} +0 -0
- /package/dist/es/{FR-ea366f1a.mjs → FR-NtJ3QSfd.mjs} +0 -0
- /package/dist/es/{GB-a45c6caa.mjs → GB-BhRiUVO6.mjs} +0 -0
- /package/dist/es/{GE-ac5fdc42.mjs → GE--9n2R8_p.mjs} +0 -0
- /package/dist/es/{GF-6273f16b.mjs → GF-BeND08-O.mjs} +0 -0
- /package/dist/es/{GG-bad391fd.mjs → GG-DcYzHlYO.mjs} +0 -0
- /package/dist/es/{GI-757caa3a.mjs → GI-BWXRySSY.mjs} +0 -0
- /package/dist/es/{GL-226ffa9f.mjs → GL-Cu7M9Xnx.mjs} +0 -0
- /package/dist/es/{GP-473e593a.mjs → GP-Dm3WhONm.mjs} +0 -0
- /package/dist/es/{GR-3bcff231.mjs → GR-C0snveYS.mjs} +0 -0
- /package/dist/es/{GT-db5da0a4.mjs → GT-BykjfmEK.mjs} +0 -0
- /package/dist/es/{GU-ca4f557c.mjs → GU-oom5Ehbd.mjs} +0 -0
- /package/dist/es/{HK-40526878.mjs → HK-Dr5b-SwK.mjs} +0 -0
- /package/dist/es/{HR-29a95014.mjs → HR-DKAQpsSV.mjs} +0 -0
- /package/dist/es/{HU-80af7974.mjs → HU-DJWWX_5P.mjs} +0 -0
- /package/dist/es/{ID-506578fe.mjs → ID-BWJvoyJo.mjs} +0 -0
- /package/dist/es/{IE-32cbd0f3.mjs → IE-BPh0CHaO.mjs} +0 -0
- /package/dist/es/{IL-373dafad.mjs → IL-B8E0HdBj.mjs} +0 -0
- /package/dist/es/{IM-891b32c5.mjs → IM-ClrsAYLm.mjs} +0 -0
- /package/dist/es/{IN-bec55b74.mjs → IN-CVsYzQzI.mjs} +0 -0
- /package/dist/es/{IS-3a5d33d3.mjs → IS-BkDwjQHz.mjs} +0 -0
- /package/dist/es/{IT-4ff08cfe.mjs → IT-B3cLskCx.mjs} +0 -0
- /package/dist/es/{JE-307987ba.mjs → JE-C8HBNrJn.mjs} +0 -0
- /package/dist/es/{JM-3ce8fbab.mjs → JM-CH_LXMnd.mjs} +0 -0
- /package/dist/es/{JO-42a19672.mjs → JO-CD_uH_Uk.mjs} +0 -0
- /package/dist/es/{JP-0077f7b5.mjs → JP-DtK_xb_Y.mjs} +0 -0
- /package/dist/es/{KR-95fa1426.mjs → KR-DBPY5awJ.mjs} +0 -0
- /package/dist/es/{KW-a98f9b4c.mjs → KW-CiSCIyPm.mjs} +0 -0
- /package/dist/es/{KY-1aaca646.mjs → KY-FU9AuEMz.mjs} +0 -0
- /package/dist/es/{KZ-7daadd7e.mjs → KZ-CMFj-_rM.mjs} +0 -0
- /package/dist/es/{LB-1c59787b.mjs → LB-BRGM3Yl3.mjs} +0 -0
- /package/dist/es/{LI-77d06f2d.mjs → LI-DlCX-3GD.mjs} +0 -0
- /package/dist/es/{LT-f3ad2e3e.mjs → LT-XRkygwh8.mjs} +0 -0
- /package/dist/es/{LU-e8eedd03.mjs → LU-CV14IXAu.mjs} +0 -0
- /package/dist/es/{LV-6971017f.mjs → LV-ByV8yuF8.mjs} +0 -0
- /package/dist/es/{MC-ee5965bb.mjs → MC-CwHePfdt.mjs} +0 -0
- /package/dist/es/{MD-8041437f.mjs → MD-_IIMR66Q.mjs} +0 -0
- /package/dist/es/{ME-d9f4c3da.mjs → ME-Cfx8llkg.mjs} +0 -0
- /package/dist/es/{MK-8c45a314.mjs → MK-CEzz7Z_a.mjs} +0 -0
- /package/dist/es/{MP-093ac455.mjs → MP-C5acK0KC.mjs} +0 -0
- /package/dist/es/{MQ-f9c253cc.mjs → MQ-BEZo6wPU.mjs} +0 -0
- /package/dist/es/{MR-2f01df5c.mjs → MR-BoFyF5R-.mjs} +0 -0
- /package/dist/es/{MT-32167278.mjs → MT-C_-lQGuI.mjs} +0 -0
- /package/dist/es/{MU-e04facaa.mjs → MU-_tM1ai_B.mjs} +0 -0
- /package/dist/es/{MX-1d1a9644.mjs → MX-eayygS1f.mjs} +0 -0
- /package/dist/es/{MY-392e074a.mjs → MY-CsKpuB-w.mjs} +0 -0
- /package/dist/es/{NC-3b4b0260.mjs → NC-Bel2A-Fk.mjs} +0 -0
- /package/dist/es/{NL-b9bcb702.mjs → NL-C3LxWTQ7.mjs} +0 -0
- /package/dist/es/{NO-6809e6fd.mjs → NO-CjZgx8a-.mjs} +0 -0
- /package/dist/es/{NZ-ccf0ea48.mjs → NZ-DiGhP2MG.mjs} +0 -0
- /package/dist/es/{PE-0c1072d7.mjs → PE-DvMRqGF_.mjs} +0 -0
- /package/dist/es/{PF-fb6bd5d0.mjs → PF-f7fSMI_4.mjs} +0 -0
- /package/dist/es/{PH-8ef2049d.mjs → PH-CjFT8xMY.mjs} +0 -0
- /package/dist/es/{PK-a445458d.mjs → PK-wMg8N3zK.mjs} +0 -0
- /package/dist/es/{PL-620a9ca4.mjs → PL-WpWUBPgN.mjs} +0 -0
- /package/dist/es/{PM-d4c0464a.mjs → PM-D4sBI2Px.mjs} +0 -0
- /package/dist/es/{PR-ad22b592.mjs → PR-BJ09dEXF.mjs} +0 -0
- /package/dist/es/{PS-cabe03e5.mjs → PS-CWFZXVi8.mjs} +0 -0
- /package/dist/es/{PT-33451f8d.mjs → PT-BarBZmwW.mjs} +0 -0
- /package/dist/es/{QA-3d255e2d.mjs → QA-CtUmYTKA.mjs} +0 -0
- /package/dist/es/{RE-8b1c7cc1.mjs → RE-DfaVzCe-.mjs} +0 -0
- /package/dist/es/{RO-2bfa665c.mjs → RO-DmWLrUu-.mjs} +0 -0
- /package/dist/es/{RS-3347a703.mjs → RS-DilO913f.mjs} +0 -0
- /package/dist/es/{RU-e3e01124.mjs → RU-B83Fu7c3.mjs} +0 -0
- /package/dist/es/{SA-91a0ead5.mjs → SA-BpimyQxp.mjs} +0 -0
- /package/dist/es/{SE-cb13f129.mjs → SE-BXNcwTPQ.mjs} +0 -0
- /package/dist/es/{SG-6086848e.mjs → SG-Uyk6Nl41.mjs} +0 -0
- /package/dist/es/{SI-2865f1da.mjs → SI-B5ALffDQ.mjs} +0 -0
- /package/dist/es/{SJ-598eb05e.mjs → SJ-BrJofAMz.mjs} +0 -0
- /package/dist/es/{SK-95af17ba.mjs → SK-DOE_fS4w.mjs} +0 -0
- /package/dist/es/{SM-4dd69f38.mjs → SM-BBQZf4DZ.mjs} +0 -0
- /package/dist/es/{TF-ea5a687e.mjs → TF-BDwH1us-.mjs} +0 -0
- /package/dist/es/{TH-567ec66c.mjs → TH-BxFJXEcZ.mjs} +0 -0
- /package/dist/es/{TL-9c45dea1.mjs → TL-BzbQs-FD.mjs} +0 -0
- /package/dist/es/{TN-40f39700.mjs → TN-Dc91A3rb.mjs} +0 -0
- /package/dist/es/{TR-17aaedbd.mjs → TR-BBxkpnZQ.mjs} +0 -0
- /package/dist/es/{TT-80575a0d.mjs → TT-D-FKOmmE.mjs} +0 -0
- /package/dist/es/{TW-8104c581.mjs → TW-r3G_Qs5B.mjs} +0 -0
- /package/dist/es/{UA-9a09a2fe.mjs → UA-vpfj8SEN.mjs} +0 -0
- /package/dist/es/{US-48190122.mjs → US-CFOdL8kt.mjs} +0 -0
- /package/dist/es/{UY-ede97218.mjs → UY-CUwq2MHm.mjs} +0 -0
- /package/dist/es/{VA-193042b9.mjs → VA-DlPtJwY9.mjs} +0 -0
- /package/dist/es/{VG-71c752e9.mjs → VG-yM0HOg57.mjs} +0 -0
- /package/dist/es/{VI-caa740af.mjs → VI-I7ADXxNd.mjs} +0 -0
- /package/dist/es/{VN-5a6450ab.mjs → VN-0gy1H7YD.mjs} +0 -0
- /package/dist/es/{WF-6ee9803f.mjs → WF-BlzFGDgv.mjs} +0 -0
- /package/dist/es/{YT-e12497c8.mjs → YT-17mSpzMD.mjs} +0 -0
- /package/dist/es/{ZA-77011c5b.mjs → ZA-BcxFTdWL.mjs} +0 -0
- /package/dist/es/{ad-e09b987a.mjs → ad-DT4vRaBJ.mjs} +0 -0
- /package/dist/es/{ae-8ca1be27.mjs → ae-BOcuAHGY.mjs} +0 -0
- /package/dist/es/{af-342e1bf5.mjs → af-CoKzErRW.mjs} +0 -0
- /package/dist/es/{ag-997e3f88.mjs → ag-g4DXUCrU.mjs} +0 -0
- /package/dist/es/{ai-402dc201.mjs → ai-CI-B0R9i.mjs} +0 -0
- /package/dist/es/{al-38b31dad.mjs → al-COFkJ5Ca.mjs} +0 -0
- /package/dist/es/{am-bc1403ea.mjs → am-Dra-uz-8.mjs} +0 -0
- /package/dist/es/{an-70336f96.mjs → an-BGvLoFME.mjs} +0 -0
- /package/dist/es/{ao-eedf3279.mjs → ao-DxG-ywGM.mjs} +0 -0
- /package/dist/es/{aq-2220e7e0.mjs → aq-D6KJELrz.mjs} +0 -0
- /package/dist/es/{ar-87abe42d.mjs → ar-D1__sXLf.mjs} +0 -0
- /package/dist/es/{arrow-left-3d6cd330.mjs → arrow-left-CCxYxfCP.mjs} +0 -0
- /package/dist/es/{arrow-right-994e40f8.mjs → arrow-right-DF4Qe-8E.mjs} +0 -0
- /package/dist/es/{as-6e35c5ec.mjs → as-CO1cnzQr.mjs} +0 -0
- /package/dist/es/{at-4310d424.mjs → at-DJ-_JUEF.mjs} +0 -0
- /package/dist/es/{au-50f94ba8.mjs → au-DQ7hwYxQ.mjs} +0 -0
- /package/dist/es/{aw-97918c9f.mjs → aw-DsF55GZp.mjs} +0 -0
- /package/dist/es/{ax-567f3585.mjs → ax-B7xGO2vL.mjs} +0 -0
- /package/dist/es/{az-85dbb96d.mjs → az-Bn_p9CvJ.mjs} +0 -0
- /package/dist/es/{ba-8afe4a33.mjs → ba-BoJK_mQe.mjs} +0 -0
- /package/dist/es/{bb-c4d79528.mjs → bb-Pm_QT_Dl.mjs} +0 -0
- /package/dist/es/{bd-0f87f359.mjs → bd-D7_YREZy.mjs} +0 -0
- /package/dist/es/{be-63be2126.mjs → be-CZxtblLB.mjs} +0 -0
- /package/dist/es/{bf-621f8737.mjs → bf-Dpx2xJ7g.mjs} +0 -0
- /package/dist/es/{bg-30061757.mjs → bg-GwVUUSOM.mjs} +0 -0
- /package/dist/es/{bh-a858ad79.mjs → bh-JbZUrPJw.mjs} +0 -0
- /package/dist/es/{bi-c08e68ba.mjs → bi-BltG81ar.mjs} +0 -0
- /package/dist/es/{bin-191739de.mjs → bin-CGwewvcn.mjs} +0 -0
- /package/dist/es/{bj-8e17226d.mjs → bj-zQUv2SQa.mjs} +0 -0
- /package/dist/es/{bl-b7b32ae6.mjs → bl-BUtmusIM.mjs} +0 -0
- /package/dist/es/{bm-b728ab56.mjs → bm-D_illE8L.mjs} +0 -0
- /package/dist/es/{bn-c706c05b.mjs → bn-1XDJa4lE.mjs} +0 -0
- /package/dist/es/{bo-1fad8399.mjs → bo-DlmVbV9z.mjs} +0 -0
- /package/dist/es/{br-11b9980d.mjs → br-DLB6QJZk.mjs} +0 -0
- /package/dist/es/{bs-090f5bd7.mjs → bs-8dBnGYPj.mjs} +0 -0
- /package/dist/es/{bt-c56334d3.mjs → bt-D9SHS-Ak.mjs} +0 -0
- /package/dist/es/{bv-570dcd11.mjs → bv-ahmv_jU3.mjs} +0 -0
- /package/dist/es/{bw-5de93ae1.mjs → bw-DzLl7TuC.mjs} +0 -0
- /package/dist/es/{by-e2457131.mjs → by-BztFrg5-.mjs} +0 -0
- /package/dist/es/{bz-30bbd0de.mjs → bz-DkyxrcWx.mjs} +0 -0
- /package/dist/es/{ca-39c0e436.mjs → ca-Bika55Ha.mjs} +0 -0
- /package/dist/es/{cc-ddc2a1db.mjs → cc-CFZz_AYg.mjs} +0 -0
- /package/dist/es/{cd-eab01270.mjs → cd-CgybrxtQ.mjs} +0 -0
- /package/dist/es/{cf-50f7241b.mjs → cf-D23Pv9G5.mjs} +0 -0
- /package/dist/es/{cg-e87aa981.mjs → cg-CfZbcFMO.mjs} +0 -0
- /package/dist/es/{ch-9637f347.mjs → ch-mKEGRNZY.mjs} +0 -0
- /package/dist/es/{check-b5a70376.mjs → check-CeSLN4_9.mjs} +0 -0
- /package/dist/es/{checkmark-fd78da6f.mjs → checkmark-DEh9MPYR.mjs} +0 -0
- /package/dist/es/{checkmark-small-bf41309f.mjs → checkmark-small-D_9HLctx.mjs} +0 -0
- /package/dist/es/{chevron-down-df0a3ac6.mjs → chevron-down-BzENwYSf.mjs} +0 -0
- /package/dist/es/{chevron-right-23ff6e47.mjs → chevron-right-DczMHcvL.mjs} +0 -0
- /package/dist/es/{chevron-up-abfe0e90.mjs → chevron-up-BLtnROd5.mjs} +0 -0
- /package/dist/es/{ci-41814a2b.mjs → ci-BJ-L2p8Z.mjs} +0 -0
- /package/dist/es/{ck-60b0d769.mjs → ck-j69yRZOc.mjs} +0 -0
- /package/dist/es/{cl-931fd7da.mjs → cl-C6BytT6S.mjs} +0 -0
- /package/dist/es/{cm-55c02792.mjs → cm-CUzrX5VK.mjs} +0 -0
- /package/dist/es/{cn-1526dac5.mjs → cn-De5mx48S.mjs} +0 -0
- /package/dist/es/{co-c7ada338.mjs → co-D1tfX-Rj.mjs} +0 -0
- /package/dist/es/{company-4f71e406.mjs → company-D5_F_6SW.mjs} +0 -0
- /package/dist/es/{contract-5bc99018.mjs → contract-C6wDy9zU.mjs} +0 -0
- /package/dist/es/{controlling-person-88da578f.mjs → controlling-person-C4KoSyi2.mjs} +0 -0
- /package/dist/es/{cr-bac1e451.mjs → cr-zUnaQPg8.mjs} +0 -0
- /package/dist/es/{cross-c2431982.mjs → cross-BadGfrgB.mjs} +0 -0
- /package/dist/es/{cu-af98b602.mjs → cu-DaGswOf0.mjs} +0 -0
- /package/dist/es/{cv-575fe55b.mjs → cv-C4-jr8vq.mjs} +0 -0
- /package/dist/es/{cw-6f1c60ce.mjs → cw-D-6419Qt.mjs} +0 -0
- /package/dist/es/{cx-7687e3a9.mjs → cx-DfNBgtwc.mjs} +0 -0
- /package/dist/es/{cy-eeff5dbd.mjs → cy-BRABzapK.mjs} +0 -0
- /package/dist/es/{cz-24eff96c.mjs → cz-DzosVcuo.mjs} +0 -0
- /package/dist/es/{de-8e2b6f6c.mjs → de-DRcIm1Ma.mjs} +0 -0
- /package/dist/es/{decision-maker-a2182544.mjs → decision-maker-Cef3-OzY.mjs} +0 -0
- /package/dist/es/{dj-e0f41411.mjs → dj-Da7LmapC.mjs} +0 -0
- /package/dist/es/{dk-a5073c43.mjs → dk-pty9O1pD.mjs} +0 -0
- /package/dist/es/{dm-9a3ee195.mjs → dm-GPioKBpx.mjs} +0 -0
- /package/dist/es/{do-5aa635df.mjs → do-k8Aqzhu5.mjs} +0 -0
- /package/dist/es/{document-88abec41.mjs → document-Cg4kZHpA.mjs} +0 -0
- /package/dist/es/{download-54b1a163.mjs → download-DGC5_Bxe.mjs} +0 -0
- /package/dist/es/{dz-7452e74d.mjs → dz-0w5shCtT.mjs} +0 -0
- /package/dist/es/{ec-c68c940e.mjs → ec-hp0Ygj0Y.mjs} +0 -0
- /package/dist/es/{edit-e3629680.mjs → edit--fDhojib.mjs} +0 -0
- /package/dist/es/{ee-1dbd9a40.mjs → ee-Dpf_R8jm.mjs} +0 -0
- /package/dist/es/{eg-40f9b2b5.mjs → eg-BgVS1lzb.mjs} +0 -0
- /package/dist/es/{eh-51f4bae2.mjs → eh-CEZasM8H.mjs} +0 -0
- /package/dist/es/{er-61cda111.mjs → er-RK3foPBe.mjs} +0 -0
- /package/dist/es/{es-78250575.mjs → es-CNey9Ibr.mjs} +0 -0
- /package/dist/es/{et-63dc8d1e.mjs → et-cNmj57xA.mjs} +0 -0
- /package/dist/es/{fi-e2d1f3df.mjs → fi-Ds4M7qRF.mjs} +0 -0
- /package/dist/es/{field-error-620e1903.mjs → field-error-WElEN1mN.mjs} +0 -0
- /package/dist/es/{fj-02f497c5.mjs → fj-D1q87nq5.mjs} +0 -0
- /package/dist/es/{fk-56af40af.mjs → fk-Y2rCs5DH.mjs} +0 -0
- /package/dist/es/{fm-0292f2ce.mjs → fm-BZKPOICq.mjs} +0 -0
- /package/dist/es/{fo-5063373c.mjs → fo-sSr8Xnvb.mjs} +0 -0
- /package/dist/es/{fr-fb20da2b.mjs → fr-BWzaj6Yw.mjs} +0 -0
- /package/dist/es/{fx-ca4da212.mjs → fx-DR2GRTdn.mjs} +0 -0
- /package/dist/es/{ga-31f5afca.mjs → ga-9LhduROZ.mjs} +0 -0
- /package/dist/es/{gb-4ae48840.mjs → gb-DA-V5Xdu.mjs} +0 -0
- /package/dist/es/{gd-25e40717.mjs → gd-JWdzcsNM.mjs} +0 -0
- /package/dist/es/{ge-939c150e.mjs → ge-Zw0skRye.mjs} +0 -0
- /package/dist/es/{gf-b8736c20.mjs → gf-Bq_uV48f.mjs} +0 -0
- /package/dist/es/{gg-4c532713.mjs → gg-CNzs8gF-.mjs} +0 -0
- /package/dist/es/{gh-7b187c5f.mjs → gh-2VT5yAxo.mjs} +0 -0
- /package/dist/es/{gi-e59b72be.mjs → gi-jPgXNb1L.mjs} +0 -0
- /package/dist/es/{gl-31e9b8e5.mjs → gl-c6mjlUME.mjs} +0 -0
- /package/dist/es/{gm-975999b2.mjs → gm-BgeXyCUQ.mjs} +0 -0
- /package/dist/es/{gn-3701984d.mjs → gn-CyyMcNZ3.mjs} +0 -0
- /package/dist/es/{gp-40fbae20.mjs → gp-D2PIp9tB.mjs} +0 -0
- /package/dist/es/{gq-86021eca.mjs → gq-BT6Gd3M4.mjs} +0 -0
- /package/dist/es/{gr-3b0c7597.mjs → gr-B5MQUSuL.mjs} +0 -0
- /package/dist/es/{gs-00bc8674.mjs → gs-6VXnGQzD.mjs} +0 -0
- /package/dist/es/{gt-05eb5f87.mjs → gt-4DSSuHgq.mjs} +0 -0
- /package/dist/es/{gu-497f9b0b.mjs → gu-Dxf1inL8.mjs} +0 -0
- /package/dist/es/{gw-b54f1365.mjs → gw-R5Dl09OL.mjs} +0 -0
- /package/dist/es/{gy-e917fca1.mjs → gy-CHx6kck0.mjs} +0 -0
- /package/dist/es/{hk-ddd60484.mjs → hk-DLy2j4QA.mjs} +0 -0
- /package/dist/es/{hm-03a2df0b.mjs → hm-CoK7Z2cg.mjs} +0 -0
- /package/dist/es/{hn-1748eed1.mjs → hn-DxQ71v08.mjs} +0 -0
- /package/dist/es/{hr-6b1bd9c8.mjs → hr-B6Zc8qZS.mjs} +0 -0
- /package/dist/es/{ht-13a1ab82.mjs → ht-DCMkLse8.mjs} +0 -0
- /package/dist/es/{hu-81872148.mjs → hu-JEoUAdpx.mjs} +0 -0
- /package/dist/es/{id-2c9c4235.mjs → id-D1C_2HvG.mjs} +0 -0
- /package/dist/es/{ie-ef96fd76.mjs → ie-d3bapQx-.mjs} +0 -0
- /package/dist/es/{il-20c3ccd4.mjs → il-CxVm0b2J.mjs} +0 -0
- /package/dist/es/{im-eb7a7143.mjs → im-BN_uhDka.mjs} +0 -0
- /package/dist/es/{in-67c16223.mjs → in-BGdmDROr.mjs} +0 -0
- /package/dist/es/{info-circle-3d2e7ba8.mjs → info-circle-DkHN1ugA.mjs} +0 -0
- /package/dist/es/{io-9adeb690.mjs → io-DYCJpAKf.mjs} +0 -0
- /package/dist/es/{iq-61ffc408.mjs → iq-BlsI9EWN.mjs} +0 -0
- /package/dist/es/{ir-bc3341c2.mjs → ir-DdOj6IVV.mjs} +0 -0
- /package/dist/es/{is-7c19d0ff.mjs → is-DN52KJKG.mjs} +0 -0
- /package/dist/es/{it-fa0dd04c.mjs → it-D6Y8tXt3.mjs} +0 -0
- /package/dist/es/{je-a29e157d.mjs → je-DR82slj4.mjs} +0 -0
- /package/dist/es/{jm-53f8ddb8.mjs → jm-LqaENrl9.mjs} +0 -0
- /package/dist/es/{jo-89d49ef8.mjs → jo-yLc64Rmj.mjs} +0 -0
- /package/dist/es/{jp-f97d7972.mjs → jp-Bb5uIw0H.mjs} +0 -0
- /package/dist/es/{ke-545eb9cb.mjs → ke-BK1BjkeR.mjs} +0 -0
- /package/dist/es/{kg-066a524e.mjs → kg-wlEuBvxO.mjs} +0 -0
- /package/dist/es/{kh-39620e7b.mjs → kh-DsvqlHLy.mjs} +0 -0
- /package/dist/es/{ki-900be23e.mjs → ki-Byta-OFo.mjs} +0 -0
- /package/dist/es/{km-b4e8c8ba.mjs → km-RNbmgGL_.mjs} +0 -0
- /package/dist/es/{kn-8ec9ee75.mjs → kn-CsHNi3Qt.mjs} +0 -0
- /package/dist/es/{kp-1cdc64be.mjs → kp-DskyYlvx.mjs} +0 -0
- /package/dist/es/{kr-53eac37f.mjs → kr-DlF6eJVr.mjs} +0 -0
- /package/dist/es/{kw-c4347b38.mjs → kw-BiQAd6j1.mjs} +0 -0
- /package/dist/es/{ky-a104dc86.mjs → ky-BvPeTNcl.mjs} +0 -0
- /package/dist/es/{kz-d64ba71d.mjs → kz-BQCcz0Va.mjs} +0 -0
- /package/dist/es/{la-04577eb2.mjs → la-COyntyzl.mjs} +0 -0
- /package/dist/es/{lb-c2470dd0.mjs → lb-CzTzggHc.mjs} +0 -0
- /package/dist/es/{lc-58fb8706.mjs → lc-CRL2hV6d.mjs} +0 -0
- /package/dist/es/{li-c887f5b7.mjs → li-BN-LWzEm.mjs} +0 -0
- /package/dist/es/{light-bulb-d403fe24.mjs → light-bulb-DEUhbRWP.mjs} +0 -0
- /package/dist/es/{lk-d10f8746.mjs → lk-Dh6uTZcH.mjs} +0 -0
- /package/dist/es/{location-e7c2a8f5.mjs → location-B1Til-7Q.mjs} +0 -0
- /package/dist/es/{lr-8422af8e.mjs → lr-CoVvhAhL.mjs} +0 -0
- /package/dist/es/{ls-bdcefbbc.mjs → ls-BFhv4OAc.mjs} +0 -0
- /package/dist/es/{lt-07e70fec.mjs → lt-C9w-Id1S.mjs} +0 -0
- /package/dist/es/{lu-b7c93ece.mjs → lu-Ccpxa0yN.mjs} +0 -0
- /package/dist/es/{lv-97900494.mjs → lv-Di5Y7vBC.mjs} +0 -0
- /package/dist/es/{ly-86ceab07.mjs → ly-BKgB-CvV.mjs} +0 -0
- /package/dist/es/{ma-21b21bdf.mjs → ma-gJj5XCI-.mjs} +0 -0
- /package/dist/es/{mc-f23b73f0.mjs → mc-BPN5JfTO.mjs} +0 -0
- /package/dist/es/{md-82ed1b49.mjs → md-aCqyKOgl.mjs} +0 -0
- /package/dist/es/{me-c45ff596.mjs → me-C6-JkhFA.mjs} +0 -0
- /package/dist/es/{mf-11563bd1.mjs → mf-jpyKjgsU.mjs} +0 -0
- /package/dist/es/{mg-f5f0546b.mjs → mg-TS1IwqtI.mjs} +0 -0
- /package/dist/es/{mh-06a860ed.mjs → mh-yHLgOFiA.mjs} +0 -0
- /package/dist/es/{mk-91356e13.mjs → mk-CaRVDngZ.mjs} +0 -0
- /package/dist/es/{ml-c3f2014e.mjs → ml-CUUHxg1j.mjs} +0 -0
- /package/dist/es/{mm-d138bd76.mjs → mm-CYK7VHSP.mjs} +0 -0
- /package/dist/es/{mn-9c4664d8.mjs → mn-D2S-h2WN.mjs} +0 -0
- /package/dist/es/{mo-54bd2fbe.mjs → mo-D1RG60zF.mjs} +0 -0
- /package/dist/es/{more-horiz-0ca4ec23.mjs → more-horiz-BieZKfy3.mjs} +0 -0
- /package/dist/es/{mp-796516e8.mjs → mp-DzztXSh1.mjs} +0 -0
- /package/dist/es/{mq-3511a92a.mjs → mq-Gsmz5_5j.mjs} +0 -0
- /package/dist/es/{mr-a4b18b6d.mjs → mr-C_s5K8p5.mjs} +0 -0
- /package/dist/es/{ms-91e4dcef.mjs → ms-Cgov7p4h.mjs} +0 -0
- /package/dist/es/{mt-9b58b6a6.mjs → mt-B9vsNjSx.mjs} +0 -0
- /package/dist/es/{mu-2307760c.mjs → mu-DeH79Hcd.mjs} +0 -0
- /package/dist/es/{mv-32c9699b.mjs → mv-CS9OGWK4.mjs} +0 -0
- /package/dist/es/{mw-2b9505ac.mjs → mw-BvDfO_4m.mjs} +0 -0
- /package/dist/es/{mx-98a49b74.mjs → mx-ByC0ZmOn.mjs} +0 -0
- /package/dist/es/{my-217f9384.mjs → my-BtbjhaSG.mjs} +0 -0
- /package/dist/es/{mz-92e1e39c.mjs → mz-BuZty0IX.mjs} +0 -0
- /package/dist/es/{na-3c30775f.mjs → na-BMRoTc_5.mjs} +0 -0
- /package/dist/es/{nc-c80aff50.mjs → nc-TfmJ1_PR.mjs} +0 -0
- /package/dist/es/{ne-b38208ab.mjs → ne-e6jU7Ta4.mjs} +0 -0
- /package/dist/es/{new-document-cfa14b7f.mjs → new-document-BEAJnXCG.mjs} +0 -0
- /package/dist/es/{nf-780a37dd.mjs → nf-DEApE1l7.mjs} +0 -0
- /package/dist/es/{ng-f5ea4118.mjs → ng-C481SfES.mjs} +0 -0
- /package/dist/es/{ni-60b41460.mjs → ni-DoG4DYn_.mjs} +0 -0
- /package/dist/es/{nl-975a8624.mjs → nl-Cmbofdv4.mjs} +0 -0
- /package/dist/es/{no-952bf512.mjs → no-CVO81I1l.mjs} +0 -0
- /package/dist/es/{np-5135aa90.mjs → np-zRmg82Re.mjs} +0 -0
- /package/dist/es/{nr-cecf1f05.mjs → nr-B5qQQRjH.mjs} +0 -0
- /package/dist/es/{nu-c1ad2dc9.mjs → nu-BI4Y-0EG.mjs} +0 -0
- /package/dist/es/{nz-70a6e29f.mjs → nz-DF7xbKn7.mjs} +0 -0
- /package/dist/es/{om-e5c99d1e.mjs → om-BjOei_ke.mjs} +0 -0
- /package/dist/es/{owners-a58a9f25.mjs → owners-D1pksb86.mjs} +0 -0
- /package/dist/es/{pa-0e401aff.mjs → pa-ZEXTGOfm.mjs} +0 -0
- /package/dist/es/{payout-575951ec.mjs → payout-BFiI--HY.mjs} +0 -0
- /package/dist/es/{pci-f4b6e5f5.mjs → pci-DMQLRoAn.mjs} +0 -0
- /package/dist/es/{pe-823d3b3f.mjs → pe-HNEmB15y.mjs} +0 -0
- /package/dist/es/{pf-5c60fe59.mjs → pf-DwCESo2k.mjs} +0 -0
- /package/dist/es/{pg-71e8aaec.mjs → pg-BhOdaLDy.mjs} +0 -0
- /package/dist/es/{ph-52f55ac4.mjs → ph-8ii4-Tq6.mjs} +0 -0
- /package/dist/es/{pk-372b07db.mjs → pk-BafoDKz5.mjs} +0 -0
- /package/dist/es/{pl-2c472f58.mjs → pl-D9b2Q58T.mjs} +0 -0
- /package/dist/es/{plus-25579839.mjs → plus-DAnbeoyS.mjs} +0 -0
- /package/dist/es/{pm-2195603b.mjs → pm-C-WvmgM4.mjs} +0 -0
- /package/dist/es/{pn-ec73a623.mjs → pn-DjnHidFS.mjs} +0 -0
- /package/dist/es/{pr-8f159ad6.mjs → pr-Dd50hA9F.mjs} +0 -0
- /package/dist/es/{ps-34dd64b7.mjs → ps-CUGb27Pq.mjs} +0 -0
- /package/dist/es/{pt-b210cd4c.mjs → pt-Qpxk-ulQ.mjs} +0 -0
- /package/dist/es/{pw-a474545d.mjs → pw-DV4RtHVX.mjs} +0 -0
- /package/dist/es/{py-e271f15f.mjs → py-eg-mtZFC.mjs} +0 -0
- /package/dist/es/{qa-a7ad70ed.mjs → qa-CHyJi5tF.mjs} +0 -0
- /package/dist/es/{re-a1440f32.mjs → re-FpArmeeM.mjs} +0 -0
- /package/dist/es/{remove-6a123f82.mjs → remove-CEmd9YX7.mjs} +0 -0
- /package/dist/es/{review-14953b30.mjs → review-CeQeKHXH.mjs} +0 -0
- /package/dist/es/{ro-8a071708.mjs → ro-ANrnebzK.mjs} +0 -0
- /package/dist/es/{rs-f3ea0f97.mjs → rs-BGbyX7Qb.mjs} +0 -0
- /package/dist/es/{ru-edd59839.mjs → ru-DtLSIa8v.mjs} +0 -0
- /package/dist/es/{rw-df210dff.mjs → rw-B1kILqpv.mjs} +0 -0
- /package/dist/es/{sa-18c28dc4.mjs → sa-CEcWBFfj.mjs} +0 -0
- /package/dist/es/{sb-35c0ab8d.mjs → sb-p9ah_4x5.mjs} +0 -0
- /package/dist/es/{sc-82eb7101.mjs → sc-2YHg9FTT.mjs} +0 -0
- /package/dist/es/{sd-dc5fb244.mjs → sd-BKzyWEE3.mjs} +0 -0
- /package/dist/es/{se-0413b6f1.mjs → se-Dq5LtCEp.mjs} +0 -0
- /package/dist/es/{search-3edfe795.mjs → search-hf3HRVbu.mjs} +0 -0
- /package/dist/es/{sg-8ff78597.mjs → sg-C752_QVl.mjs} +0 -0
- /package/dist/es/{sh-7b636341.mjs → sh-NFjaiAXX.mjs} +0 -0
- /package/dist/es/{si-2c09bba0.mjs → si-DKzVjXeV.mjs} +0 -0
- /package/dist/es/{signatory-c8417fb2.mjs → signatory-BVoLPYPu.mjs} +0 -0
- /package/dist/es/{sj-8aff2627.mjs → sj-DF7Bf8Q9.mjs} +0 -0
- /package/dist/es/{sk-8da1fee7.mjs → sk-CPmqq18S.mjs} +0 -0
- /package/dist/es/{sl-92cb9116.mjs → sl-Dx7oHjXI.mjs} +0 -0
- /package/dist/es/{sm-6fd64a6a.mjs → sm-B8bEOCx7.mjs} +0 -0
- /package/dist/es/{sn-57e8c34b.mjs → sn-tcqzwUh4.mjs} +0 -0
- /package/dist/es/{so-f2f0ac03.mjs → so-BrD8jwW8.mjs} +0 -0
- /package/dist/es/{sr-7869b748.mjs → sr-Dyy1x6sW.mjs} +0 -0
- /package/dist/es/{ss-8e9c79ca.mjs → ss-CpfhWUQL.mjs} +0 -0
- /package/dist/es/{st-6b3e911c.mjs → st-DZJqDu2d.mjs} +0 -0
- /package/dist/es/{store-9fc075e6.mjs → store-D2z639xh.mjs} +0 -0
- /package/dist/es/{sv-922ba5ea.mjs → sv-DtkfLQdf.mjs} +0 -0
- /package/dist/es/{sx-c078bfd1.mjs → sx-C1dyGLW-.mjs} +0 -0
- /package/dist/es/{sy-995ec1ee.mjs → sy-DhvBoSDL.mjs} +0 -0
- /package/dist/es/{sz-da33c6e8.mjs → sz-Co03zPL0.mjs} +0 -0
- /package/dist/es/{tc-1a465526.mjs → tc-DFY42rbc.mjs} +0 -0
- /package/dist/es/{td-a7ff3830.mjs → td-DdnMoB4B.mjs} +0 -0
- /package/dist/es/{tf-c71eed4a.mjs → tf-DtUoHxUD.mjs} +0 -0
- /package/dist/es/{tg-613f7f5a.mjs → tg-B-szBZlQ.mjs} +0 -0
- /package/dist/es/{th-f517ca34.mjs → th-hl0xD9En.mjs} +0 -0
- /package/dist/es/{tj-b99ac64f.mjs → tj-CaluHgV4.mjs} +0 -0
- /package/dist/es/{tk-c0dfeac1.mjs → tk-7WTKQA6M.mjs} +0 -0
- /package/dist/es/{tl-35cc3595.mjs → tl-DWxFj_mI.mjs} +0 -0
- /package/dist/es/{tm-0deecc32.mjs → tm-CXa44ZsQ.mjs} +0 -0
- /package/dist/es/{tn-190a49a0.mjs → tn-YGA63yhm.mjs} +0 -0
- /package/dist/es/{to-790cac18.mjs → to-D1SPhDAS.mjs} +0 -0
- /package/dist/es/{tr-1db5a437.mjs → tr-BkORBw5s.mjs} +0 -0
- /package/dist/es/{trust-0e40337d.mjs → trust-CpcaQaV7.mjs} +0 -0
- /package/dist/es/{tt-85ae901c.mjs → tt-CPiasxy9.mjs} +0 -0
- /package/dist/es/{tv-9f2b4198.mjs → tv-1UKqGnYq.mjs} +0 -0
- /package/dist/es/{tw-74aa27b3.mjs → tw-V_-9EdZA.mjs} +0 -0
- /package/dist/es/{tz-2a5cf5e6.mjs → tz-vyNQ8siG.mjs} +0 -0
- /package/dist/es/{ua-9fedceaa.mjs → ua-B36hNKIn.mjs} +0 -0
- /package/dist/es/{ug-1a8fee80.mjs → ug-DzrOv_zJ.mjs} +0 -0
- /package/dist/es/{um-d774b142.mjs → um-Xf4WHDSX.mjs} +0 -0
- /package/dist/es/{us-20ac3d88.mjs → us-VkSkiw44.mjs} +0 -0
- /package/dist/es/{uy-c22e1eb1.mjs → uy-BBVhuI0m.mjs} +0 -0
- /package/dist/es/{uz-f8be4086.mjs → uz-D4g4y6tl.mjs} +0 -0
- /package/dist/es/{va-d1f00296.mjs → va-CuiFpTCr.mjs} +0 -0
- /package/dist/es/{vc-0a06f1c2.mjs → vc-BGrc4dhk.mjs} +0 -0
- /package/dist/es/{ve-3bc33c40.mjs → ve-76O2C7rm.mjs} +0 -0
- /package/dist/es/{vg-3ad787bf.mjs → vg-DMKx8jrg.mjs} +0 -0
- /package/dist/es/{vi-5a78bf74.mjs → vi-D8PahWnh.mjs} +0 -0
- /package/dist/es/{vn-50e78ae2.mjs → vn-BnPQgCR1.mjs} +0 -0
- /package/dist/es/{vu-72d9304c.mjs → vu-B3LLAmr5.mjs} +0 -0
- /package/dist/es/{warning-bb000c6b.mjs → warning-99uFf1WU.mjs} +0 -0
- /package/dist/es/{wf-8cdbeff9.mjs → wf-qXr-xalT.mjs} +0 -0
- /package/dist/es/{wrong-652db543.mjs → wrong-1wvh7nZe.mjs} +0 -0
- /package/dist/es/{ws-745fc88c.mjs → ws-pGsAcjqz.mjs} +0 -0
- /package/dist/es/{ye-f4eaca91.mjs → ye-CII0qyBt.mjs} +0 -0
- /package/dist/es/{yt-93635c9a.mjs → yt-BoehcMko.mjs} +0 -0
- /package/dist/es/{za-42d70d0b.mjs → za-CaK3IAZP.mjs} +0 -0
- /package/dist/es/{zm-571a963f.mjs → zm-C8-RQ03K.mjs} +0 -0
- /package/dist/es/{zw-6cf765c3.mjs → zw-JWvy-vVa.mjs} +0 -0
- /package/dist/es/{zz-067ccc58.mjs → zz-CCLSDExB.mjs} +0 -0
|
@@ -387,19 +387,27 @@ const failedToUpdateDetails = "Failed to update details";
|
|
|
387
387
|
const successfullyVerifiedIdNumber = "Successfully verified %{idNumber}";
|
|
388
388
|
const failedFetchingDecisionMaker = "Failed to get decision maker details";
|
|
389
389
|
const fileUpload = "File upload";
|
|
390
|
-
const
|
|
391
|
-
const
|
|
390
|
+
const documentRequirements = "Document requirements";
|
|
391
|
+
const bankAccountNameIndividual = "Bank account must be in your name (<strong>%{individualLegalName}</strong>)";
|
|
392
|
+
const bankAccountNameOrganization = "Bank account must be in your company's name (<strong>%{companyLegalName}</strong>)";
|
|
393
|
+
const bankAccountNameWithSoleProprietor = "Bank account must be in your name (<strong>%{individualLegalName}</strong>) or sole proprietorship's name (<strong>%{soleProprietorshipName}</strong>)";
|
|
394
|
+
const bankAccountNameWithTrust = "The bank account must be in your trust's name (<strong>%{trusteeName} as trustee for %{trustLegalName} trading as %{trustTradingName}</strong>)";
|
|
395
|
+
const bankAccountNameWithTrust_US = "The bank account must be in your trust's name (<strong>%{trusteeName} as trustee for %{trustLegalName} doing business as %{trustTradingName}</strong>)";
|
|
396
|
+
const bankDocument = "Bank document";
|
|
397
|
+
const bankDocumentHeader = "Upload a bank document";
|
|
398
|
+
const bankDocumentHeaderOptional = "Upload a bank document (optional)";
|
|
399
|
+
const bankDocumentDescription = "We need an official document to verify your bank account details.";
|
|
400
|
+
const bankDocumentFileDescription = "Add a description for this bank account (optional)";
|
|
401
|
+
const accountNumberOrIbanVisible = "Includes your account number or IBAN";
|
|
402
|
+
const accountNumberVisible = "Includes your account number";
|
|
403
|
+
const routingNumberVisible = "Includes your routing number";
|
|
404
|
+
const showsCountryOfBankAccount = "Includes the country/region of the bank account";
|
|
405
|
+
const hasBankStampOrBankSignature = "Includes a bank stamp or signature";
|
|
406
|
+
const hasToBeOfficialDocumentFromBank = "Includes the bank logo, bank name, or bank-specific font";
|
|
407
|
+
const issuedInTheLastXMonths = "Issued in the last %{number} months";
|
|
392
408
|
const bankAccountVerification = "Bank account verification";
|
|
393
409
|
const bankStatementDocument = "Bank statement";
|
|
394
|
-
const bankStatementDocumentTypeLabel = "Upload a document to confirm your bank account information. We need to see this document so we can set up your payouts.";
|
|
395
410
|
const requirements = "Requirements:";
|
|
396
|
-
const accountHolderNameMatchesWithBusinessOrTradingName = "Account holder name on the document has to match the legal business or trading name of your company";
|
|
397
|
-
const accountNumberOrIbanVisible = "Visible account number or IBAN";
|
|
398
|
-
const accountNumberVisible = "The account number needs to be visible";
|
|
399
|
-
const routingNumberVisible = "The routing number should be visible";
|
|
400
|
-
const showsCountryOfBankAccount = "Shows the country where the bank account is located (for banks in the EU, the country is included in the IBAN)";
|
|
401
|
-
const hasToBeOfficialDocumentFromBank = "Must be an official bank document that shows the bank logo, the bank name, or a bank-specific font";
|
|
402
|
-
const hasBankStampOrBankSignature = "Must have a bank stamp or bank signature";
|
|
403
411
|
const ifDocumentMoreThan12months = "If your document is older than 12 months, then it should contain a statement with the company’s assets and liabilities. You will need to have it signed and dated by someone with decision-making or signing power within the company. Make sure the date, title, and legal entity name are included.";
|
|
404
412
|
const whyDoINeedToFillInThisInformation = "Why do I need to fill in this information?";
|
|
405
413
|
const reasonForFillingCompanyRegistrationDetails = "We have to make sure the businesses using our services will not be misusing the funds or causing harm. To do that, we’ll check all of this information against official records. This is a part of the financial regulations that we have to follow as a payments provider.";
|
|
@@ -415,11 +423,10 @@ const signatoryGuideDescription = "A <strong>signatory</strong> has been given a
|
|
|
415
423
|
const directorGuideDescription = "A <strong>director</strong> is someone appointed to manage a company's business and affairs. Who your directors are can be found on the companies register.";
|
|
416
424
|
const someoneAppointedToManageACompanysBusinessAndAffairs = "Someone appointed to manage a company's business and affairs.";
|
|
417
425
|
const whatIfDocumentIsMoreThan12MonthsOld = "What if my document is more than 12 months old?";
|
|
418
|
-
const
|
|
419
|
-
const depositTicket = "Deposit ticket / deposit form";
|
|
426
|
+
const depositSlip = "Deposit slip";
|
|
420
427
|
const screenshotOfOnlineBankingEnviroment = "Screenshot of online banking environment";
|
|
421
428
|
const officialEmailOrALetterFromYourBank = "Official email or a letter from your bank";
|
|
422
|
-
const
|
|
429
|
+
const check = "Check";
|
|
423
430
|
const releveDidentiteBancaire = "Relevé d'Identité Bancaire (RIB)";
|
|
424
431
|
const successFullyRemovedDecisionMaker = "Successfully removed a decision maker";
|
|
425
432
|
const failedToRemoveDecisionMaker = "Failed to remove a decision maker";
|
|
@@ -1098,6 +1105,8 @@ const errorMessage_1_7021 = "The bank document didn't show an official bank logo
|
|
|
1098
1105
|
const errorMessage_1_7022 = "The bank document didn't show an official bank stamp.";
|
|
1099
1106
|
const errorMessage_2_8064 = "UBO through ownership was missing.";
|
|
1100
1107
|
const errorMessage_2_8067 = "Signatory was missing.";
|
|
1108
|
+
const errorMessage_2_8141 = "Registration document was missing.";
|
|
1109
|
+
const errorMessage_2_8162 = "proofOfOrganizationTaxInfo was missing.";
|
|
1101
1110
|
const errorMessage_2_8189 = "UBO through control was missing.";
|
|
1102
1111
|
const errorMessage_2_8193 = "Director was missing.";
|
|
1103
1112
|
const errorMessage_3_10 = "Review of data is required";
|
|
@@ -1601,19 +1610,27 @@ const defaultTrans = {
|
|
|
1601
1610
|
successfullyVerifiedIdNumber,
|
|
1602
1611
|
failedFetchingDecisionMaker,
|
|
1603
1612
|
fileUpload,
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1613
|
+
documentRequirements,
|
|
1614
|
+
bankAccountNameIndividual,
|
|
1615
|
+
bankAccountNameOrganization,
|
|
1616
|
+
bankAccountNameWithSoleProprietor,
|
|
1617
|
+
bankAccountNameWithTrust,
|
|
1618
|
+
bankAccountNameWithTrust_US,
|
|
1619
|
+
bankDocument,
|
|
1620
|
+
bankDocumentHeader,
|
|
1621
|
+
bankDocumentHeaderOptional,
|
|
1622
|
+
bankDocumentDescription,
|
|
1623
|
+
bankDocumentFileDescription,
|
|
1611
1624
|
accountNumberOrIbanVisible,
|
|
1612
1625
|
accountNumberVisible,
|
|
1613
1626
|
routingNumberVisible,
|
|
1614
1627
|
showsCountryOfBankAccount,
|
|
1615
|
-
hasToBeOfficialDocumentFromBank,
|
|
1616
1628
|
hasBankStampOrBankSignature,
|
|
1629
|
+
hasToBeOfficialDocumentFromBank,
|
|
1630
|
+
issuedInTheLastXMonths,
|
|
1631
|
+
bankAccountVerification,
|
|
1632
|
+
bankStatementDocument,
|
|
1633
|
+
requirements,
|
|
1617
1634
|
ifDocumentMoreThan12months,
|
|
1618
1635
|
whyDoINeedToFillInThisInformation,
|
|
1619
1636
|
reasonForFillingCompanyRegistrationDetails,
|
|
@@ -1629,11 +1646,10 @@ const defaultTrans = {
|
|
|
1629
1646
|
directorGuideDescription,
|
|
1630
1647
|
someoneAppointedToManageACompanysBusinessAndAffairs,
|
|
1631
1648
|
whatIfDocumentIsMoreThan12MonthsOld,
|
|
1632
|
-
|
|
1633
|
-
depositTicket,
|
|
1649
|
+
depositSlip,
|
|
1634
1650
|
screenshotOfOnlineBankingEnviroment,
|
|
1635
1651
|
officialEmailOrALetterFromYourBank,
|
|
1636
|
-
|
|
1652
|
+
check,
|
|
1637
1653
|
releveDidentiteBancaire,
|
|
1638
1654
|
successFullyRemovedDecisionMaker,
|
|
1639
1655
|
failedToRemoveDecisionMaker,
|
|
@@ -2320,6 +2336,8 @@ const defaultTrans = {
|
|
|
2320
2336
|
errorMessage_1_7022,
|
|
2321
2337
|
errorMessage_2_8064,
|
|
2322
2338
|
errorMessage_2_8067,
|
|
2339
|
+
errorMessage_2_8141,
|
|
2340
|
+
errorMessage_2_8162,
|
|
2323
2341
|
errorMessage_2_8189,
|
|
2324
2342
|
errorMessage_2_8193,
|
|
2325
2343
|
errorMessage_3_10,
|
|
@@ -2622,9 +2640,7 @@ const defaultI18n = {
|
|
|
2622
2640
|
};
|
|
2623
2641
|
const I18nContext = createContext(defaultI18n);
|
|
2624
2642
|
const useI18nContext = () => useContext(I18nContext);
|
|
2625
|
-
const SettingsContext = createContext(
|
|
2626
|
-
isSettingEnabled: () => false
|
|
2627
|
-
});
|
|
2643
|
+
const SettingsContext = createContext(void 0);
|
|
2628
2644
|
function useSettingsContext() {
|
|
2629
2645
|
const context = useContext(SettingsContext);
|
|
2630
2646
|
if (context === void 0) {
|
|
@@ -2672,6 +2688,7 @@ function useExperimentsContext() {
|
|
|
2672
2688
|
return context;
|
|
2673
2689
|
}
|
|
2674
2690
|
var SettingNames = /* @__PURE__ */ ((SettingNames2) => {
|
|
2691
|
+
SettingNames2["AcceptedCountries"] = "acceptedCountries";
|
|
2675
2692
|
SettingNames2["AllowBankAccountFormatSelection"] = "allowBankAccountFormatSelection";
|
|
2676
2693
|
SettingNames2["AllowIntraRegionCrossBorderPayout"] = "allowIntraRegionCrossBorderPayout";
|
|
2677
2694
|
SettingNames2["AllowLegalEntityTypeChange"] = "changeLegalEntityType";
|
|
@@ -2696,7 +2713,6 @@ const useEnableNewEntryFlow = () => {
|
|
|
2696
2713
|
} = useExperimentsContext();
|
|
2697
2714
|
return isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && isExperimentEnabled("EnableNewEntryFlow");
|
|
2698
2715
|
};
|
|
2699
|
-
const Summary$1 = "";
|
|
2700
2716
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
2701
2717
|
a[c] = obj[c];
|
|
2702
2718
|
return a;
|
|
@@ -2881,9 +2897,6 @@ const exactLength = (input, length) => {
|
|
|
2881
2897
|
return input.length === length;
|
|
2882
2898
|
};
|
|
2883
2899
|
const trimValWithOneSpace = (val) => val.trimStart().replace(/\s+/g, " ");
|
|
2884
|
-
const _button_component = "";
|
|
2885
|
-
const _link_component = "";
|
|
2886
|
-
const Icon$1 = "";
|
|
2887
2900
|
let suppressed = false;
|
|
2888
2901
|
const consoleMethodsPrefixable = Object.freeze(["debug", "info", "log", "warn", "error", "trace"]);
|
|
2889
2902
|
const stringSubstitutionRegex = /%([soOc]|(\.\d)?[dif])/;
|
|
@@ -2905,43 +2918,43 @@ const createLogger = (namespace) => {
|
|
|
2905
2918
|
return methods;
|
|
2906
2919
|
};
|
|
2907
2920
|
const icons = {
|
|
2908
|
-
"arrow-left": lazy(() => import("./arrow-left-
|
|
2909
|
-
"arrow-right": lazy(() => import("./arrow-right-
|
|
2910
|
-
bin: lazy(() => import("./bin-
|
|
2911
|
-
check: lazy(() => import("./check-
|
|
2912
|
-
checkmark: lazy(() => import("./checkmark-
|
|
2913
|
-
"checkmark-small": lazy(() => import("./checkmark-small-
|
|
2914
|
-
"chevron-down": lazy(() => import("./chevron-down-
|
|
2915
|
-
"chevron-right": lazy(() => import("./chevron-right-
|
|
2916
|
-
"chevron-up": lazy(() => import("./chevron-up-
|
|
2917
|
-
company: lazy(() => import("./company-
|
|
2918
|
-
contract: lazy(() => import("./contract-
|
|
2919
|
-
"controlling-person": lazy(() => import("./controlling-person-
|
|
2920
|
-
cross: lazy(() => import("./cross-
|
|
2921
|
-
"decision-maker": lazy(() => import("./decision-maker-
|
|
2922
|
-
document: lazy(() => import("./document-
|
|
2923
|
-
download: lazy(() => import("./download-
|
|
2924
|
-
edit: lazy(() => import("./edit
|
|
2925
|
-
"field-error": lazy(() => import("./field-error-
|
|
2926
|
-
"info-circle": lazy(() => import("./info-circle-
|
|
2927
|
-
"light-bulb": lazy(() => import("./light-bulb-
|
|
2928
|
-
location: lazy(() => import("./location-
|
|
2929
|
-
"more-horiz": lazy(() => import("./more-horiz-
|
|
2930
|
-
"new-document": lazy(() => import("./new-document-
|
|
2931
|
-
owners: lazy(() => import("./owners-
|
|
2932
|
-
payout: lazy(() => import("./payout-
|
|
2933
|
-
pci: lazy(() => import("./pci-
|
|
2934
|
-
plus: lazy(() => import("./plus-
|
|
2935
|
-
remove: lazy(() => import("./remove-
|
|
2936
|
-
review: lazy(() => import("./review-
|
|
2937
|
-
search: lazy(() => import("./search-
|
|
2938
|
-
signatory: lazy(() => import("./signatory-
|
|
2939
|
-
store: lazy(() => import("./store-
|
|
2940
|
-
trust: lazy(() => import("./trust-
|
|
2941
|
-
warning: lazy(() => import("./warning-
|
|
2942
|
-
wrong: lazy(() => import("./wrong-
|
|
2943
|
-
};
|
|
2944
|
-
const logger$
|
|
2921
|
+
"arrow-left": lazy(() => import("./arrow-left-CCxYxfCP.mjs")),
|
|
2922
|
+
"arrow-right": lazy(() => import("./arrow-right-DF4Qe-8E.mjs")),
|
|
2923
|
+
bin: lazy(() => import("./bin-CGwewvcn.mjs")),
|
|
2924
|
+
check: lazy(() => import("./check-CeSLN4_9.mjs")),
|
|
2925
|
+
checkmark: lazy(() => import("./checkmark-DEh9MPYR.mjs")),
|
|
2926
|
+
"checkmark-small": lazy(() => import("./checkmark-small-D_9HLctx.mjs")),
|
|
2927
|
+
"chevron-down": lazy(() => import("./chevron-down-BzENwYSf.mjs")),
|
|
2928
|
+
"chevron-right": lazy(() => import("./chevron-right-DczMHcvL.mjs")),
|
|
2929
|
+
"chevron-up": lazy(() => import("./chevron-up-BLtnROd5.mjs")),
|
|
2930
|
+
company: lazy(() => import("./company-D5_F_6SW.mjs")),
|
|
2931
|
+
contract: lazy(() => import("./contract-C6wDy9zU.mjs")),
|
|
2932
|
+
"controlling-person": lazy(() => import("./controlling-person-C4KoSyi2.mjs")),
|
|
2933
|
+
cross: lazy(() => import("./cross-BadGfrgB.mjs")),
|
|
2934
|
+
"decision-maker": lazy(() => import("./decision-maker-Cef3-OzY.mjs")),
|
|
2935
|
+
document: lazy(() => import("./document-Cg4kZHpA.mjs")),
|
|
2936
|
+
download: lazy(() => import("./download-DGC5_Bxe.mjs")),
|
|
2937
|
+
edit: lazy(() => import("./edit--fDhojib.mjs")),
|
|
2938
|
+
"field-error": lazy(() => import("./field-error-WElEN1mN.mjs")),
|
|
2939
|
+
"info-circle": lazy(() => import("./info-circle-DkHN1ugA.mjs")),
|
|
2940
|
+
"light-bulb": lazy(() => import("./light-bulb-DEUhbRWP.mjs")),
|
|
2941
|
+
location: lazy(() => import("./location-B1Til-7Q.mjs")),
|
|
2942
|
+
"more-horiz": lazy(() => import("./more-horiz-BieZKfy3.mjs")),
|
|
2943
|
+
"new-document": lazy(() => import("./new-document-BEAJnXCG.mjs")),
|
|
2944
|
+
owners: lazy(() => import("./owners-D1pksb86.mjs")),
|
|
2945
|
+
payout: lazy(() => import("./payout-BFiI--HY.mjs")),
|
|
2946
|
+
pci: lazy(() => import("./pci-DMQLRoAn.mjs")),
|
|
2947
|
+
plus: lazy(() => import("./plus-DAnbeoyS.mjs")),
|
|
2948
|
+
remove: lazy(() => import("./remove-CEmd9YX7.mjs")),
|
|
2949
|
+
review: lazy(() => import("./review-CeQeKHXH.mjs")),
|
|
2950
|
+
search: lazy(() => import("./search-hf3HRVbu.mjs")),
|
|
2951
|
+
signatory: lazy(() => import("./signatory-BVoLPYPu.mjs")),
|
|
2952
|
+
store: lazy(() => import("./store-D2z639xh.mjs")),
|
|
2953
|
+
trust: lazy(() => import("./trust-CpcaQaV7.mjs")),
|
|
2954
|
+
warning: lazy(() => import("./warning-99uFf1WU.mjs")),
|
|
2955
|
+
wrong: lazy(() => import("./wrong-1wvh7nZe.mjs"))
|
|
2956
|
+
};
|
|
2957
|
+
const logger$v = createLogger("Icon");
|
|
2945
2958
|
const Icon = ({
|
|
2946
2959
|
className,
|
|
2947
2960
|
name,
|
|
@@ -2949,7 +2962,7 @@ const Icon = ({
|
|
|
2949
2962
|
}) => {
|
|
2950
2963
|
const LazyLoadedIcon = icons[name];
|
|
2951
2964
|
if (!LazyLoadedIcon) {
|
|
2952
|
-
logger$
|
|
2965
|
+
logger$v.error(`No such icon: "${name}"`);
|
|
2953
2966
|
return null;
|
|
2954
2967
|
}
|
|
2955
2968
|
return jsx("span", {
|
|
@@ -2963,7 +2976,6 @@ const Icon = ({
|
|
|
2963
2976
|
})
|
|
2964
2977
|
});
|
|
2965
2978
|
};
|
|
2966
|
-
const Spinner$1 = "";
|
|
2967
2979
|
const Spinner = ({
|
|
2968
2980
|
inline = false,
|
|
2969
2981
|
size = "large"
|
|
@@ -3060,8 +3072,6 @@ const Button = ({
|
|
|
3060
3072
|
children: buttonText
|
|
3061
3073
|
});
|
|
3062
3074
|
};
|
|
3063
|
-
const ErrorPanel$1 = "";
|
|
3064
|
-
const _alert = "";
|
|
3065
3075
|
var AlertTypes = /* @__PURE__ */ ((AlertTypes2) => {
|
|
3066
3076
|
AlertTypes2[AlertTypes2["BASIC"] = 0] = "BASIC";
|
|
3067
3077
|
AlertTypes2[AlertTypes2["INFO"] = 1] = "INFO";
|
|
@@ -3156,7 +3166,7 @@ function useFormRouterContext() {
|
|
|
3156
3166
|
}
|
|
3157
3167
|
return context;
|
|
3158
3168
|
}
|
|
3159
|
-
const logger$
|
|
3169
|
+
const logger$u = createLogger("Link");
|
|
3160
3170
|
const getIconClass = (icon, external) => {
|
|
3161
3171
|
if (external) {
|
|
3162
3172
|
return "adl-link__icon adyen-kyc-icon-external-link";
|
|
@@ -3168,7 +3178,7 @@ const getIconClass = (icon, external) => {
|
|
|
3168
3178
|
};
|
|
3169
3179
|
const isValidLink = (href) => {
|
|
3170
3180
|
if (href === "#") {
|
|
3171
|
-
logger$
|
|
3181
|
+
logger$u.error('Links must include a valid href. If your href is "#", consider using a Button instead');
|
|
3172
3182
|
return false;
|
|
3173
3183
|
}
|
|
3174
3184
|
return true;
|
|
@@ -3269,7 +3279,6 @@ function ServerValidationErrors({
|
|
|
3269
3279
|
})
|
|
3270
3280
|
});
|
|
3271
3281
|
}
|
|
3272
|
-
const CompanyComponent$1 = "";
|
|
3273
3282
|
function StateContextWatcher({
|
|
3274
3283
|
onChange
|
|
3275
3284
|
}) {
|
|
@@ -3447,15 +3456,28 @@ function useResetGlobalData(caller) {
|
|
|
3447
3456
|
}
|
|
3448
3457
|
}), [dispatch, caller]);
|
|
3449
3458
|
}
|
|
3450
|
-
const
|
|
3459
|
+
const useSetting = (settingName) => {
|
|
3460
|
+
const context = useContext(SettingsContext);
|
|
3461
|
+
if (context === void 0) {
|
|
3462
|
+
throw new Error("useSetting must be used within a SettingsProvider");
|
|
3463
|
+
}
|
|
3464
|
+
const {
|
|
3465
|
+
getSetting
|
|
3466
|
+
} = context;
|
|
3467
|
+
return getSetting(settingName);
|
|
3468
|
+
};
|
|
3469
|
+
const logger$t = createLogger("useAllowedCountries");
|
|
3451
3470
|
const useAllowedCountries = () => {
|
|
3471
|
+
const acceptedCountries = useSetting("acceptedCountries");
|
|
3452
3472
|
const {
|
|
3453
3473
|
getAllowedCountries: getAllowedCountries2
|
|
3454
3474
|
} = useConfigurationApi();
|
|
3455
|
-
const [allowedCountries, setAllowedCountries] = useState();
|
|
3475
|
+
const [allowedCountries, setAllowedCountries] = useState(acceptedCountries);
|
|
3456
3476
|
useEffect(() => {
|
|
3457
|
-
|
|
3458
|
-
|
|
3477
|
+
if (acceptedCountries !== void 0)
|
|
3478
|
+
return;
|
|
3479
|
+
getAllowedCountries2().then((response) => setAllowedCountries(response.countries)).catch(logger$t.error);
|
|
3480
|
+
}, [acceptedCountries]);
|
|
3459
3481
|
return allowedCountries;
|
|
3460
3482
|
};
|
|
3461
3483
|
const processField = ({
|
|
@@ -3793,7 +3815,7 @@ class ValidationResult {
|
|
|
3793
3815
|
return this.validationResults.filter((result) => result.hasError);
|
|
3794
3816
|
}
|
|
3795
3817
|
}
|
|
3796
|
-
const logger$
|
|
3818
|
+
const logger$s = createLogger("useAsyncValidator");
|
|
3797
3819
|
const useAsyncValidator = (asyncRules) => {
|
|
3798
3820
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
3799
3821
|
const clearAsyncValidationResults = useCallback(() => setAsyncValidationResults({}), []);
|
|
@@ -3816,7 +3838,7 @@ const useAsyncValidator = (asyncRules) => {
|
|
|
3816
3838
|
hasError: !isValid
|
|
3817
3839
|
}])
|
|
3818
3840
|
});
|
|
3819
|
-
}).catch(logger$
|
|
3841
|
+
}).catch(logger$s.error);
|
|
3820
3842
|
}, [asyncRules, clearAsyncValidationResults]);
|
|
3821
3843
|
return {
|
|
3822
3844
|
asyncValidationResults,
|
|
@@ -4074,7 +4096,6 @@ function datasetUtilities(locale) {
|
|
|
4074
4096
|
getDatasetKey: (identifier) => createDatasetKey(identifier, locale)
|
|
4075
4097
|
};
|
|
4076
4098
|
}
|
|
4077
|
-
const Field$1 = "";
|
|
4078
4099
|
const useStateFromProp = ({
|
|
4079
4100
|
initialValue,
|
|
4080
4101
|
passedValue,
|
|
@@ -4216,7 +4237,6 @@ const Field = ({
|
|
|
4216
4237
|
})
|
|
4217
4238
|
});
|
|
4218
4239
|
};
|
|
4219
|
-
const Select$1 = "";
|
|
4220
4240
|
const getScrollParent = (node) => {
|
|
4221
4241
|
if (!node)
|
|
4222
4242
|
return null;
|
|
@@ -4233,7 +4253,6 @@ function uuidv4() {
|
|
|
4233
4253
|
return v.toString(16);
|
|
4234
4254
|
});
|
|
4235
4255
|
}
|
|
4236
|
-
const _loader = "";
|
|
4237
4256
|
const Loader = ({
|
|
4238
4257
|
inline = false,
|
|
4239
4258
|
size = "large",
|
|
@@ -4246,7 +4265,6 @@ const Loader = ({
|
|
|
4246
4265
|
})
|
|
4247
4266
|
})
|
|
4248
4267
|
});
|
|
4249
|
-
const _tag_component = "";
|
|
4250
4268
|
const Tag = ({
|
|
4251
4269
|
className,
|
|
4252
4270
|
isBasic = false,
|
|
@@ -4842,7 +4860,6 @@ const SelectButtonContentMulti = ({
|
|
|
4842
4860
|
className: "adyen-kyc-dropdown-button__text adyen-kyc-dropdown-button__text--placeholder",
|
|
4843
4861
|
children: placeholder
|
|
4844
4862
|
});
|
|
4845
|
-
const Checkbox$1 = "";
|
|
4846
4863
|
function Checkbox({
|
|
4847
4864
|
classNameModifiers = [],
|
|
4848
4865
|
label,
|
|
@@ -5231,7 +5248,6 @@ const Select = ({
|
|
|
5231
5248
|
})]
|
|
5232
5249
|
});
|
|
5233
5250
|
};
|
|
5234
|
-
const Flag$1 = "";
|
|
5235
5251
|
const isIntersectionObserverSupported = typeof IntersectionObserver === "function";
|
|
5236
5252
|
function useIsElementVisible(ref, fallback = true) {
|
|
5237
5253
|
const [isOnScreen, setIsOnScreen] = useState(isIntersectionObserverSupported ? false : fallback);
|
|
@@ -5253,264 +5269,264 @@ function useIsElementVisible(ref, fallback = true) {
|
|
|
5253
5269
|
}, [ref]);
|
|
5254
5270
|
return isOnScreen;
|
|
5255
5271
|
}
|
|
5256
|
-
const logger$
|
|
5272
|
+
const logger$r = createLogger("Flag");
|
|
5257
5273
|
const flagImports = /* @__PURE__ */ Object.assign({
|
|
5258
|
-
"../../../../assets/flags/ad.svg": () => import("./ad-
|
|
5259
|
-
"../../../../assets/flags/ae.svg": () => import("./ae-
|
|
5260
|
-
"../../../../assets/flags/af.svg": () => import("./af-
|
|
5261
|
-
"../../../../assets/flags/ag.svg": () => import("./ag-
|
|
5262
|
-
"../../../../assets/flags/ai.svg": () => import("./ai-
|
|
5263
|
-
"../../../../assets/flags/al.svg": () => import("./al-
|
|
5264
|
-
"../../../../assets/flags/am.svg": () => import("./am-
|
|
5265
|
-
"../../../../assets/flags/an.svg": () => import("./an-
|
|
5266
|
-
"../../../../assets/flags/ao.svg": () => import("./ao-
|
|
5267
|
-
"../../../../assets/flags/aq.svg": () => import("./aq-
|
|
5268
|
-
"../../../../assets/flags/ar.svg": () => import("./ar-
|
|
5269
|
-
"../../../../assets/flags/as.svg": () => import("./as-
|
|
5270
|
-
"../../../../assets/flags/at.svg": () => import("./at-
|
|
5271
|
-
"../../../../assets/flags/au.svg": () => import("./au-
|
|
5272
|
-
"../../../../assets/flags/aw.svg": () => import("./aw-
|
|
5273
|
-
"../../../../assets/flags/ax.svg": () => import("./ax-
|
|
5274
|
-
"../../../../assets/flags/az.svg": () => import("./az-
|
|
5275
|
-
"../../../../assets/flags/ba.svg": () => import("./ba-
|
|
5276
|
-
"../../../../assets/flags/bb.svg": () => import("./bb-
|
|
5277
|
-
"../../../../assets/flags/bd.svg": () => import("./bd-
|
|
5278
|
-
"../../../../assets/flags/be.svg": () => import("./be-
|
|
5279
|
-
"../../../../assets/flags/bf.svg": () => import("./bf-
|
|
5280
|
-
"../../../../assets/flags/bg.svg": () => import("./bg-
|
|
5281
|
-
"../../../../assets/flags/bh.svg": () => import("./bh-
|
|
5282
|
-
"../../../../assets/flags/bi.svg": () => import("./bi-
|
|
5283
|
-
"../../../../assets/flags/bj.svg": () => import("./bj-
|
|
5284
|
-
"../../../../assets/flags/bl.svg": () => import("./bl-
|
|
5285
|
-
"../../../../assets/flags/bm.svg": () => import("./bm-
|
|
5286
|
-
"../../../../assets/flags/bn.svg": () => import("./bn-
|
|
5287
|
-
"../../../../assets/flags/bo.svg": () => import("./bo-
|
|
5288
|
-
"../../../../assets/flags/br.svg": () => import("./br-
|
|
5289
|
-
"../../../../assets/flags/bs.svg": () => import("./bs-
|
|
5290
|
-
"../../../../assets/flags/bt.svg": () => import("./bt-
|
|
5291
|
-
"../../../../assets/flags/bv.svg": () => import("./bv-
|
|
5292
|
-
"../../../../assets/flags/bw.svg": () => import("./bw-
|
|
5293
|
-
"../../../../assets/flags/by.svg": () => import("./by-
|
|
5294
|
-
"../../../../assets/flags/bz.svg": () => import("./bz-
|
|
5295
|
-
"../../../../assets/flags/ca.svg": () => import("./ca-
|
|
5296
|
-
"../../../../assets/flags/cc.svg": () => import("./cc-
|
|
5297
|
-
"../../../../assets/flags/cd.svg": () => import("./cd-
|
|
5298
|
-
"../../../../assets/flags/cf.svg": () => import("./cf-
|
|
5299
|
-
"../../../../assets/flags/cg.svg": () => import("./cg-
|
|
5300
|
-
"../../../../assets/flags/ch.svg": () => import("./ch-
|
|
5301
|
-
"../../../../assets/flags/ci.svg": () => import("./ci-
|
|
5302
|
-
"../../../../assets/flags/ck.svg": () => import("./ck-
|
|
5303
|
-
"../../../../assets/flags/cl.svg": () => import("./cl-
|
|
5304
|
-
"../../../../assets/flags/cm.svg": () => import("./cm-
|
|
5305
|
-
"../../../../assets/flags/cn.svg": () => import("./cn-
|
|
5306
|
-
"../../../../assets/flags/co.svg": () => import("./co-
|
|
5307
|
-
"../../../../assets/flags/cr.svg": () => import("./cr-
|
|
5308
|
-
"../../../../assets/flags/cu.svg": () => import("./cu-
|
|
5309
|
-
"../../../../assets/flags/cv.svg": () => import("./cv-
|
|
5310
|
-
"../../../../assets/flags/cw.svg": () => import("./cw-
|
|
5311
|
-
"../../../../assets/flags/cx.svg": () => import("./cx-
|
|
5312
|
-
"../../../../assets/flags/cy.svg": () => import("./cy-
|
|
5313
|
-
"../../../../assets/flags/cz.svg": () => import("./cz-
|
|
5314
|
-
"../../../../assets/flags/de.svg": () => import("./de-
|
|
5315
|
-
"../../../../assets/flags/dj.svg": () => import("./dj-
|
|
5316
|
-
"../../../../assets/flags/dk.svg": () => import("./dk-
|
|
5317
|
-
"../../../../assets/flags/dm.svg": () => import("./dm-
|
|
5318
|
-
"../../../../assets/flags/do.svg": () => import("./do-
|
|
5319
|
-
"../../../../assets/flags/dz.svg": () => import("./dz-
|
|
5320
|
-
"../../../../assets/flags/ec.svg": () => import("./ec-
|
|
5321
|
-
"../../../../assets/flags/ee.svg": () => import("./ee-
|
|
5322
|
-
"../../../../assets/flags/eg.svg": () => import("./eg-
|
|
5323
|
-
"../../../../assets/flags/eh.svg": () => import("./eh-
|
|
5324
|
-
"../../../../assets/flags/er.svg": () => import("./er-
|
|
5325
|
-
"../../../../assets/flags/es.svg": () => import("./es-
|
|
5326
|
-
"../../../../assets/flags/et.svg": () => import("./et-
|
|
5327
|
-
"../../../../assets/flags/fi.svg": () => import("./fi-
|
|
5328
|
-
"../../../../assets/flags/fj.svg": () => import("./fj-
|
|
5329
|
-
"../../../../assets/flags/fk.svg": () => import("./fk-
|
|
5330
|
-
"../../../../assets/flags/fm.svg": () => import("./fm-
|
|
5331
|
-
"../../../../assets/flags/fo.svg": () => import("./fo-
|
|
5332
|
-
"../../../../assets/flags/fr.svg": () => import("./fr-
|
|
5333
|
-
"../../../../assets/flags/fx.svg": () => import("./fx-
|
|
5334
|
-
"../../../../assets/flags/ga.svg": () => import("./ga-
|
|
5335
|
-
"../../../../assets/flags/gb.svg": () => import("./gb-
|
|
5336
|
-
"../../../../assets/flags/gd.svg": () => import("./gd-
|
|
5337
|
-
"../../../../assets/flags/ge.svg": () => import("./ge-
|
|
5338
|
-
"../../../../assets/flags/gf.svg": () => import("./gf-
|
|
5339
|
-
"../../../../assets/flags/gg.svg": () => import("./gg-
|
|
5340
|
-
"../../../../assets/flags/gh.svg": () => import("./gh-
|
|
5341
|
-
"../../../../assets/flags/gi.svg": () => import("./gi-
|
|
5342
|
-
"../../../../assets/flags/gl.svg": () => import("./gl-
|
|
5343
|
-
"../../../../assets/flags/gm.svg": () => import("./gm-
|
|
5344
|
-
"../../../../assets/flags/gn.svg": () => import("./gn-
|
|
5345
|
-
"../../../../assets/flags/gp.svg": () => import("./gp-
|
|
5346
|
-
"../../../../assets/flags/gq.svg": () => import("./gq-
|
|
5347
|
-
"../../../../assets/flags/gr.svg": () => import("./gr-
|
|
5348
|
-
"../../../../assets/flags/gs.svg": () => import("./gs-
|
|
5349
|
-
"../../../../assets/flags/gt.svg": () => import("./gt-
|
|
5350
|
-
"../../../../assets/flags/gu.svg": () => import("./gu-
|
|
5351
|
-
"../../../../assets/flags/gw.svg": () => import("./gw-
|
|
5352
|
-
"../../../../assets/flags/gy.svg": () => import("./gy-
|
|
5353
|
-
"../../../../assets/flags/hk.svg": () => import("./hk-
|
|
5354
|
-
"../../../../assets/flags/hm.svg": () => import("./hm-
|
|
5355
|
-
"../../../../assets/flags/hn.svg": () => import("./hn-
|
|
5356
|
-
"../../../../assets/flags/hr.svg": () => import("./hr-
|
|
5357
|
-
"../../../../assets/flags/ht.svg": () => import("./ht-
|
|
5358
|
-
"../../../../assets/flags/hu.svg": () => import("./hu-
|
|
5359
|
-
"../../../../assets/flags/id.svg": () => import("./id-
|
|
5360
|
-
"../../../../assets/flags/ie.svg": () => import("./ie-
|
|
5361
|
-
"../../../../assets/flags/il.svg": () => import("./il-
|
|
5362
|
-
"../../../../assets/flags/im.svg": () => import("./im-
|
|
5363
|
-
"../../../../assets/flags/in.svg": () => import("./in-
|
|
5364
|
-
"../../../../assets/flags/io.svg": () => import("./io-
|
|
5365
|
-
"../../../../assets/flags/iq.svg": () => import("./iq-
|
|
5366
|
-
"../../../../assets/flags/ir.svg": () => import("./ir-
|
|
5367
|
-
"../../../../assets/flags/is.svg": () => import("./is-
|
|
5368
|
-
"../../../../assets/flags/it.svg": () => import("./it-
|
|
5369
|
-
"../../../../assets/flags/je.svg": () => import("./je-
|
|
5370
|
-
"../../../../assets/flags/jm.svg": () => import("./jm-
|
|
5371
|
-
"../../../../assets/flags/jo.svg": () => import("./jo-
|
|
5372
|
-
"../../../../assets/flags/jp.svg": () => import("./jp-
|
|
5373
|
-
"../../../../assets/flags/ke.svg": () => import("./ke-
|
|
5374
|
-
"../../../../assets/flags/kg.svg": () => import("./kg-
|
|
5375
|
-
"../../../../assets/flags/kh.svg": () => import("./kh-
|
|
5376
|
-
"../../../../assets/flags/ki.svg": () => import("./ki-
|
|
5377
|
-
"../../../../assets/flags/km.svg": () => import("./km-
|
|
5378
|
-
"../../../../assets/flags/kn.svg": () => import("./kn-
|
|
5379
|
-
"../../../../assets/flags/kp.svg": () => import("./kp-
|
|
5380
|
-
"../../../../assets/flags/kr.svg": () => import("./kr-
|
|
5381
|
-
"../../../../assets/flags/kw.svg": () => import("./kw-
|
|
5382
|
-
"../../../../assets/flags/ky.svg": () => import("./ky-
|
|
5383
|
-
"../../../../assets/flags/kz.svg": () => import("./kz-
|
|
5384
|
-
"../../../../assets/flags/la.svg": () => import("./la-
|
|
5385
|
-
"../../../../assets/flags/lb.svg": () => import("./lb-
|
|
5386
|
-
"../../../../assets/flags/lc.svg": () => import("./lc-
|
|
5387
|
-
"../../../../assets/flags/li.svg": () => import("./li-
|
|
5388
|
-
"../../../../assets/flags/lk.svg": () => import("./lk-
|
|
5389
|
-
"../../../../assets/flags/lr.svg": () => import("./lr-
|
|
5390
|
-
"../../../../assets/flags/ls.svg": () => import("./ls-
|
|
5391
|
-
"../../../../assets/flags/lt.svg": () => import("./lt-
|
|
5392
|
-
"../../../../assets/flags/lu.svg": () => import("./lu-
|
|
5393
|
-
"../../../../assets/flags/lv.svg": () => import("./lv-
|
|
5394
|
-
"../../../../assets/flags/ly.svg": () => import("./ly-
|
|
5395
|
-
"../../../../assets/flags/ma.svg": () => import("./ma-
|
|
5396
|
-
"../../../../assets/flags/mc.svg": () => import("./mc-
|
|
5397
|
-
"../../../../assets/flags/md.svg": () => import("./md-
|
|
5398
|
-
"../../../../assets/flags/me.svg": () => import("./me-
|
|
5399
|
-
"../../../../assets/flags/mf.svg": () => import("./mf-
|
|
5400
|
-
"../../../../assets/flags/mg.svg": () => import("./mg-
|
|
5401
|
-
"../../../../assets/flags/mh.svg": () => import("./mh-
|
|
5402
|
-
"../../../../assets/flags/mk.svg": () => import("./mk-
|
|
5403
|
-
"../../../../assets/flags/ml.svg": () => import("./ml-
|
|
5404
|
-
"../../../../assets/flags/mm.svg": () => import("./mm-
|
|
5405
|
-
"../../../../assets/flags/mn.svg": () => import("./mn-
|
|
5406
|
-
"../../../../assets/flags/mo.svg": () => import("./mo-
|
|
5407
|
-
"../../../../assets/flags/mp.svg": () => import("./mp-
|
|
5408
|
-
"../../../../assets/flags/mq.svg": () => import("./mq-
|
|
5409
|
-
"../../../../assets/flags/mr.svg": () => import("./mr-
|
|
5410
|
-
"../../../../assets/flags/ms.svg": () => import("./ms-
|
|
5411
|
-
"../../../../assets/flags/mt.svg": () => import("./mt-
|
|
5412
|
-
"../../../../assets/flags/mu.svg": () => import("./mu-
|
|
5413
|
-
"../../../../assets/flags/mv.svg": () => import("./mv-
|
|
5414
|
-
"../../../../assets/flags/mw.svg": () => import("./mw-
|
|
5415
|
-
"../../../../assets/flags/mx.svg": () => import("./mx-
|
|
5416
|
-
"../../../../assets/flags/my.svg": () => import("./my-
|
|
5417
|
-
"../../../../assets/flags/mz.svg": () => import("./mz-
|
|
5418
|
-
"../../../../assets/flags/na.svg": () => import("./na-
|
|
5419
|
-
"../../../../assets/flags/nc.svg": () => import("./nc-
|
|
5420
|
-
"../../../../assets/flags/ne.svg": () => import("./ne-
|
|
5421
|
-
"../../../../assets/flags/nf.svg": () => import("./nf-
|
|
5422
|
-
"../../../../assets/flags/ng.svg": () => import("./ng-
|
|
5423
|
-
"../../../../assets/flags/ni.svg": () => import("./ni-
|
|
5424
|
-
"../../../../assets/flags/nl.svg": () => import("./nl-
|
|
5425
|
-
"../../../../assets/flags/no.svg": () => import("./no-
|
|
5426
|
-
"../../../../assets/flags/np.svg": () => import("./np-
|
|
5427
|
-
"../../../../assets/flags/nr.svg": () => import("./nr-
|
|
5428
|
-
"../../../../assets/flags/nu.svg": () => import("./nu-
|
|
5429
|
-
"../../../../assets/flags/nz.svg": () => import("./nz-
|
|
5430
|
-
"../../../../assets/flags/om.svg": () => import("./om-
|
|
5431
|
-
"../../../../assets/flags/pa.svg": () => import("./pa-
|
|
5432
|
-
"../../../../assets/flags/pe.svg": () => import("./pe-
|
|
5433
|
-
"../../../../assets/flags/pf.svg": () => import("./pf-
|
|
5434
|
-
"../../../../assets/flags/pg.svg": () => import("./pg-
|
|
5435
|
-
"../../../../assets/flags/ph.svg": () => import("./ph-
|
|
5436
|
-
"../../../../assets/flags/pk.svg": () => import("./pk-
|
|
5437
|
-
"../../../../assets/flags/pl.svg": () => import("./pl-
|
|
5438
|
-
"../../../../assets/flags/pm.svg": () => import("./pm-
|
|
5439
|
-
"../../../../assets/flags/pn.svg": () => import("./pn-
|
|
5440
|
-
"../../../../assets/flags/pr.svg": () => import("./pr-
|
|
5441
|
-
"../../../../assets/flags/ps.svg": () => import("./ps-
|
|
5442
|
-
"../../../../assets/flags/pt.svg": () => import("./pt-
|
|
5443
|
-
"../../../../assets/flags/pw.svg": () => import("./pw-
|
|
5444
|
-
"../../../../assets/flags/py.svg": () => import("./py-
|
|
5445
|
-
"../../../../assets/flags/qa.svg": () => import("./qa-
|
|
5446
|
-
"../../../../assets/flags/re.svg": () => import("./re-
|
|
5447
|
-
"../../../../assets/flags/ro.svg": () => import("./ro-
|
|
5448
|
-
"../../../../assets/flags/rs.svg": () => import("./rs-
|
|
5449
|
-
"../../../../assets/flags/ru.svg": () => import("./ru-
|
|
5450
|
-
"../../../../assets/flags/rw.svg": () => import("./rw-
|
|
5451
|
-
"../../../../assets/flags/sa.svg": () => import("./sa-
|
|
5452
|
-
"../../../../assets/flags/sb.svg": () => import("./sb-
|
|
5453
|
-
"../../../../assets/flags/sc.svg": () => import("./sc-
|
|
5454
|
-
"../../../../assets/flags/sd.svg": () => import("./sd-
|
|
5455
|
-
"../../../../assets/flags/se.svg": () => import("./se-
|
|
5456
|
-
"../../../../assets/flags/sg.svg": () => import("./sg-
|
|
5457
|
-
"../../../../assets/flags/sh.svg": () => import("./sh-
|
|
5458
|
-
"../../../../assets/flags/si.svg": () => import("./si-
|
|
5459
|
-
"../../../../assets/flags/sj.svg": () => import("./sj-
|
|
5460
|
-
"../../../../assets/flags/sk.svg": () => import("./sk-
|
|
5461
|
-
"../../../../assets/flags/sl.svg": () => import("./sl-
|
|
5462
|
-
"../../../../assets/flags/sm.svg": () => import("./sm-
|
|
5463
|
-
"../../../../assets/flags/sn.svg": () => import("./sn-
|
|
5464
|
-
"../../../../assets/flags/so.svg": () => import("./so-
|
|
5465
|
-
"../../../../assets/flags/sr.svg": () => import("./sr-
|
|
5466
|
-
"../../../../assets/flags/ss.svg": () => import("./ss-
|
|
5467
|
-
"../../../../assets/flags/st.svg": () => import("./st-
|
|
5468
|
-
"../../../../assets/flags/sv.svg": () => import("./sv-
|
|
5469
|
-
"../../../../assets/flags/sx.svg": () => import("./sx-
|
|
5470
|
-
"../../../../assets/flags/sy.svg": () => import("./sy-
|
|
5471
|
-
"../../../../assets/flags/sz.svg": () => import("./sz-
|
|
5472
|
-
"../../../../assets/flags/tc.svg": () => import("./tc-
|
|
5473
|
-
"../../../../assets/flags/td.svg": () => import("./td-
|
|
5474
|
-
"../../../../assets/flags/tf.svg": () => import("./tf-
|
|
5475
|
-
"../../../../assets/flags/tg.svg": () => import("./tg-
|
|
5476
|
-
"../../../../assets/flags/th.svg": () => import("./th-
|
|
5477
|
-
"../../../../assets/flags/tj.svg": () => import("./tj-
|
|
5478
|
-
"../../../../assets/flags/tk.svg": () => import("./tk-
|
|
5479
|
-
"../../../../assets/flags/tl.svg": () => import("./tl-
|
|
5480
|
-
"../../../../assets/flags/tm.svg": () => import("./tm-
|
|
5481
|
-
"../../../../assets/flags/tn.svg": () => import("./tn-
|
|
5482
|
-
"../../../../assets/flags/to.svg": () => import("./to-
|
|
5483
|
-
"../../../../assets/flags/tr.svg": () => import("./tr-
|
|
5484
|
-
"../../../../assets/flags/tt.svg": () => import("./tt-
|
|
5485
|
-
"../../../../assets/flags/tv.svg": () => import("./tv-
|
|
5486
|
-
"../../../../assets/flags/tw.svg": () => import("./tw-
|
|
5487
|
-
"../../../../assets/flags/tz.svg": () => import("./tz-
|
|
5488
|
-
"../../../../assets/flags/ua.svg": () => import("./ua-
|
|
5489
|
-
"../../../../assets/flags/ug.svg": () => import("./ug-
|
|
5490
|
-
"../../../../assets/flags/um.svg": () => import("./um-
|
|
5491
|
-
"../../../../assets/flags/us.svg": () => import("./us-
|
|
5492
|
-
"../../../../assets/flags/uy.svg": () => import("./uy-
|
|
5493
|
-
"../../../../assets/flags/uz.svg": () => import("./uz-
|
|
5494
|
-
"../../../../assets/flags/va.svg": () => import("./va-
|
|
5495
|
-
"../../../../assets/flags/vc.svg": () => import("./vc-
|
|
5496
|
-
"../../../../assets/flags/ve.svg": () => import("./ve-
|
|
5497
|
-
"../../../../assets/flags/vg.svg": () => import("./vg-
|
|
5498
|
-
"../../../../assets/flags/vi.svg": () => import("./vi-
|
|
5499
|
-
"../../../../assets/flags/vn.svg": () => import("./vn-
|
|
5500
|
-
"../../../../assets/flags/vu.svg": () => import("./vu-
|
|
5501
|
-
"../../../../assets/flags/wf.svg": () => import("./wf-
|
|
5502
|
-
"../../../../assets/flags/ws.svg": () => import("./ws-
|
|
5503
|
-
"../../../../assets/flags/ye.svg": () => import("./ye-
|
|
5504
|
-
"../../../../assets/flags/yt.svg": () => import("./yt-
|
|
5505
|
-
"../../../../assets/flags/za.svg": () => import("./za-
|
|
5506
|
-
"../../../../assets/flags/zm.svg": () => import("./zm-
|
|
5507
|
-
"../../../../assets/flags/zw.svg": () => import("./zw-
|
|
5508
|
-
"../../../../assets/flags/zz.svg": () => import("./zz-
|
|
5274
|
+
"../../../../assets/flags/ad.svg": () => import("./ad-DT4vRaBJ.mjs"),
|
|
5275
|
+
"../../../../assets/flags/ae.svg": () => import("./ae-BOcuAHGY.mjs"),
|
|
5276
|
+
"../../../../assets/flags/af.svg": () => import("./af-CoKzErRW.mjs"),
|
|
5277
|
+
"../../../../assets/flags/ag.svg": () => import("./ag-g4DXUCrU.mjs"),
|
|
5278
|
+
"../../../../assets/flags/ai.svg": () => import("./ai-CI-B0R9i.mjs"),
|
|
5279
|
+
"../../../../assets/flags/al.svg": () => import("./al-COFkJ5Ca.mjs"),
|
|
5280
|
+
"../../../../assets/flags/am.svg": () => import("./am-Dra-uz-8.mjs"),
|
|
5281
|
+
"../../../../assets/flags/an.svg": () => import("./an-BGvLoFME.mjs"),
|
|
5282
|
+
"../../../../assets/flags/ao.svg": () => import("./ao-DxG-ywGM.mjs"),
|
|
5283
|
+
"../../../../assets/flags/aq.svg": () => import("./aq-D6KJELrz.mjs"),
|
|
5284
|
+
"../../../../assets/flags/ar.svg": () => import("./ar-D1__sXLf.mjs"),
|
|
5285
|
+
"../../../../assets/flags/as.svg": () => import("./as-CO1cnzQr.mjs"),
|
|
5286
|
+
"../../../../assets/flags/at.svg": () => import("./at-DJ-_JUEF.mjs"),
|
|
5287
|
+
"../../../../assets/flags/au.svg": () => import("./au-DQ7hwYxQ.mjs"),
|
|
5288
|
+
"../../../../assets/flags/aw.svg": () => import("./aw-DsF55GZp.mjs"),
|
|
5289
|
+
"../../../../assets/flags/ax.svg": () => import("./ax-B7xGO2vL.mjs"),
|
|
5290
|
+
"../../../../assets/flags/az.svg": () => import("./az-Bn_p9CvJ.mjs"),
|
|
5291
|
+
"../../../../assets/flags/ba.svg": () => import("./ba-BoJK_mQe.mjs"),
|
|
5292
|
+
"../../../../assets/flags/bb.svg": () => import("./bb-Pm_QT_Dl.mjs"),
|
|
5293
|
+
"../../../../assets/flags/bd.svg": () => import("./bd-D7_YREZy.mjs"),
|
|
5294
|
+
"../../../../assets/flags/be.svg": () => import("./be-CZxtblLB.mjs"),
|
|
5295
|
+
"../../../../assets/flags/bf.svg": () => import("./bf-Dpx2xJ7g.mjs"),
|
|
5296
|
+
"../../../../assets/flags/bg.svg": () => import("./bg-GwVUUSOM.mjs"),
|
|
5297
|
+
"../../../../assets/flags/bh.svg": () => import("./bh-JbZUrPJw.mjs"),
|
|
5298
|
+
"../../../../assets/flags/bi.svg": () => import("./bi-BltG81ar.mjs"),
|
|
5299
|
+
"../../../../assets/flags/bj.svg": () => import("./bj-zQUv2SQa.mjs"),
|
|
5300
|
+
"../../../../assets/flags/bl.svg": () => import("./bl-BUtmusIM.mjs"),
|
|
5301
|
+
"../../../../assets/flags/bm.svg": () => import("./bm-D_illE8L.mjs"),
|
|
5302
|
+
"../../../../assets/flags/bn.svg": () => import("./bn-1XDJa4lE.mjs"),
|
|
5303
|
+
"../../../../assets/flags/bo.svg": () => import("./bo-DlmVbV9z.mjs"),
|
|
5304
|
+
"../../../../assets/flags/br.svg": () => import("./br-DLB6QJZk.mjs"),
|
|
5305
|
+
"../../../../assets/flags/bs.svg": () => import("./bs-8dBnGYPj.mjs"),
|
|
5306
|
+
"../../../../assets/flags/bt.svg": () => import("./bt-D9SHS-Ak.mjs"),
|
|
5307
|
+
"../../../../assets/flags/bv.svg": () => import("./bv-ahmv_jU3.mjs"),
|
|
5308
|
+
"../../../../assets/flags/bw.svg": () => import("./bw-DzLl7TuC.mjs"),
|
|
5309
|
+
"../../../../assets/flags/by.svg": () => import("./by-BztFrg5-.mjs"),
|
|
5310
|
+
"../../../../assets/flags/bz.svg": () => import("./bz-DkyxrcWx.mjs"),
|
|
5311
|
+
"../../../../assets/flags/ca.svg": () => import("./ca-Bika55Ha.mjs"),
|
|
5312
|
+
"../../../../assets/flags/cc.svg": () => import("./cc-CFZz_AYg.mjs"),
|
|
5313
|
+
"../../../../assets/flags/cd.svg": () => import("./cd-CgybrxtQ.mjs"),
|
|
5314
|
+
"../../../../assets/flags/cf.svg": () => import("./cf-D23Pv9G5.mjs"),
|
|
5315
|
+
"../../../../assets/flags/cg.svg": () => import("./cg-CfZbcFMO.mjs"),
|
|
5316
|
+
"../../../../assets/flags/ch.svg": () => import("./ch-mKEGRNZY.mjs"),
|
|
5317
|
+
"../../../../assets/flags/ci.svg": () => import("./ci-BJ-L2p8Z.mjs"),
|
|
5318
|
+
"../../../../assets/flags/ck.svg": () => import("./ck-j69yRZOc.mjs"),
|
|
5319
|
+
"../../../../assets/flags/cl.svg": () => import("./cl-C6BytT6S.mjs"),
|
|
5320
|
+
"../../../../assets/flags/cm.svg": () => import("./cm-CUzrX5VK.mjs"),
|
|
5321
|
+
"../../../../assets/flags/cn.svg": () => import("./cn-De5mx48S.mjs"),
|
|
5322
|
+
"../../../../assets/flags/co.svg": () => import("./co-D1tfX-Rj.mjs"),
|
|
5323
|
+
"../../../../assets/flags/cr.svg": () => import("./cr-zUnaQPg8.mjs"),
|
|
5324
|
+
"../../../../assets/flags/cu.svg": () => import("./cu-DaGswOf0.mjs"),
|
|
5325
|
+
"../../../../assets/flags/cv.svg": () => import("./cv-C4-jr8vq.mjs"),
|
|
5326
|
+
"../../../../assets/flags/cw.svg": () => import("./cw-D-6419Qt.mjs"),
|
|
5327
|
+
"../../../../assets/flags/cx.svg": () => import("./cx-DfNBgtwc.mjs"),
|
|
5328
|
+
"../../../../assets/flags/cy.svg": () => import("./cy-BRABzapK.mjs"),
|
|
5329
|
+
"../../../../assets/flags/cz.svg": () => import("./cz-DzosVcuo.mjs"),
|
|
5330
|
+
"../../../../assets/flags/de.svg": () => import("./de-DRcIm1Ma.mjs"),
|
|
5331
|
+
"../../../../assets/flags/dj.svg": () => import("./dj-Da7LmapC.mjs"),
|
|
5332
|
+
"../../../../assets/flags/dk.svg": () => import("./dk-pty9O1pD.mjs"),
|
|
5333
|
+
"../../../../assets/flags/dm.svg": () => import("./dm-GPioKBpx.mjs"),
|
|
5334
|
+
"../../../../assets/flags/do.svg": () => import("./do-k8Aqzhu5.mjs"),
|
|
5335
|
+
"../../../../assets/flags/dz.svg": () => import("./dz-0w5shCtT.mjs"),
|
|
5336
|
+
"../../../../assets/flags/ec.svg": () => import("./ec-hp0Ygj0Y.mjs"),
|
|
5337
|
+
"../../../../assets/flags/ee.svg": () => import("./ee-Dpf_R8jm.mjs"),
|
|
5338
|
+
"../../../../assets/flags/eg.svg": () => import("./eg-BgVS1lzb.mjs"),
|
|
5339
|
+
"../../../../assets/flags/eh.svg": () => import("./eh-CEZasM8H.mjs"),
|
|
5340
|
+
"../../../../assets/flags/er.svg": () => import("./er-RK3foPBe.mjs"),
|
|
5341
|
+
"../../../../assets/flags/es.svg": () => import("./es-CNey9Ibr.mjs"),
|
|
5342
|
+
"../../../../assets/flags/et.svg": () => import("./et-cNmj57xA.mjs"),
|
|
5343
|
+
"../../../../assets/flags/fi.svg": () => import("./fi-Ds4M7qRF.mjs"),
|
|
5344
|
+
"../../../../assets/flags/fj.svg": () => import("./fj-D1q87nq5.mjs"),
|
|
5345
|
+
"../../../../assets/flags/fk.svg": () => import("./fk-Y2rCs5DH.mjs"),
|
|
5346
|
+
"../../../../assets/flags/fm.svg": () => import("./fm-BZKPOICq.mjs"),
|
|
5347
|
+
"../../../../assets/flags/fo.svg": () => import("./fo-sSr8Xnvb.mjs"),
|
|
5348
|
+
"../../../../assets/flags/fr.svg": () => import("./fr-BWzaj6Yw.mjs"),
|
|
5349
|
+
"../../../../assets/flags/fx.svg": () => import("./fx-DR2GRTdn.mjs"),
|
|
5350
|
+
"../../../../assets/flags/ga.svg": () => import("./ga-9LhduROZ.mjs"),
|
|
5351
|
+
"../../../../assets/flags/gb.svg": () => import("./gb-DA-V5Xdu.mjs"),
|
|
5352
|
+
"../../../../assets/flags/gd.svg": () => import("./gd-JWdzcsNM.mjs"),
|
|
5353
|
+
"../../../../assets/flags/ge.svg": () => import("./ge-Zw0skRye.mjs"),
|
|
5354
|
+
"../../../../assets/flags/gf.svg": () => import("./gf-Bq_uV48f.mjs"),
|
|
5355
|
+
"../../../../assets/flags/gg.svg": () => import("./gg-CNzs8gF-.mjs"),
|
|
5356
|
+
"../../../../assets/flags/gh.svg": () => import("./gh-2VT5yAxo.mjs"),
|
|
5357
|
+
"../../../../assets/flags/gi.svg": () => import("./gi-jPgXNb1L.mjs"),
|
|
5358
|
+
"../../../../assets/flags/gl.svg": () => import("./gl-c6mjlUME.mjs"),
|
|
5359
|
+
"../../../../assets/flags/gm.svg": () => import("./gm-BgeXyCUQ.mjs"),
|
|
5360
|
+
"../../../../assets/flags/gn.svg": () => import("./gn-CyyMcNZ3.mjs"),
|
|
5361
|
+
"../../../../assets/flags/gp.svg": () => import("./gp-D2PIp9tB.mjs"),
|
|
5362
|
+
"../../../../assets/flags/gq.svg": () => import("./gq-BT6Gd3M4.mjs"),
|
|
5363
|
+
"../../../../assets/flags/gr.svg": () => import("./gr-B5MQUSuL.mjs"),
|
|
5364
|
+
"../../../../assets/flags/gs.svg": () => import("./gs-6VXnGQzD.mjs"),
|
|
5365
|
+
"../../../../assets/flags/gt.svg": () => import("./gt-4DSSuHgq.mjs"),
|
|
5366
|
+
"../../../../assets/flags/gu.svg": () => import("./gu-Dxf1inL8.mjs"),
|
|
5367
|
+
"../../../../assets/flags/gw.svg": () => import("./gw-R5Dl09OL.mjs"),
|
|
5368
|
+
"../../../../assets/flags/gy.svg": () => import("./gy-CHx6kck0.mjs"),
|
|
5369
|
+
"../../../../assets/flags/hk.svg": () => import("./hk-DLy2j4QA.mjs"),
|
|
5370
|
+
"../../../../assets/flags/hm.svg": () => import("./hm-CoK7Z2cg.mjs"),
|
|
5371
|
+
"../../../../assets/flags/hn.svg": () => import("./hn-DxQ71v08.mjs"),
|
|
5372
|
+
"../../../../assets/flags/hr.svg": () => import("./hr-B6Zc8qZS.mjs"),
|
|
5373
|
+
"../../../../assets/flags/ht.svg": () => import("./ht-DCMkLse8.mjs"),
|
|
5374
|
+
"../../../../assets/flags/hu.svg": () => import("./hu-JEoUAdpx.mjs"),
|
|
5375
|
+
"../../../../assets/flags/id.svg": () => import("./id-D1C_2HvG.mjs"),
|
|
5376
|
+
"../../../../assets/flags/ie.svg": () => import("./ie-d3bapQx-.mjs"),
|
|
5377
|
+
"../../../../assets/flags/il.svg": () => import("./il-CxVm0b2J.mjs"),
|
|
5378
|
+
"../../../../assets/flags/im.svg": () => import("./im-BN_uhDka.mjs"),
|
|
5379
|
+
"../../../../assets/flags/in.svg": () => import("./in-BGdmDROr.mjs"),
|
|
5380
|
+
"../../../../assets/flags/io.svg": () => import("./io-DYCJpAKf.mjs"),
|
|
5381
|
+
"../../../../assets/flags/iq.svg": () => import("./iq-BlsI9EWN.mjs"),
|
|
5382
|
+
"../../../../assets/flags/ir.svg": () => import("./ir-DdOj6IVV.mjs"),
|
|
5383
|
+
"../../../../assets/flags/is.svg": () => import("./is-DN52KJKG.mjs"),
|
|
5384
|
+
"../../../../assets/flags/it.svg": () => import("./it-D6Y8tXt3.mjs"),
|
|
5385
|
+
"../../../../assets/flags/je.svg": () => import("./je-DR82slj4.mjs"),
|
|
5386
|
+
"../../../../assets/flags/jm.svg": () => import("./jm-LqaENrl9.mjs"),
|
|
5387
|
+
"../../../../assets/flags/jo.svg": () => import("./jo-yLc64Rmj.mjs"),
|
|
5388
|
+
"../../../../assets/flags/jp.svg": () => import("./jp-Bb5uIw0H.mjs"),
|
|
5389
|
+
"../../../../assets/flags/ke.svg": () => import("./ke-BK1BjkeR.mjs"),
|
|
5390
|
+
"../../../../assets/flags/kg.svg": () => import("./kg-wlEuBvxO.mjs"),
|
|
5391
|
+
"../../../../assets/flags/kh.svg": () => import("./kh-DsvqlHLy.mjs"),
|
|
5392
|
+
"../../../../assets/flags/ki.svg": () => import("./ki-Byta-OFo.mjs"),
|
|
5393
|
+
"../../../../assets/flags/km.svg": () => import("./km-RNbmgGL_.mjs"),
|
|
5394
|
+
"../../../../assets/flags/kn.svg": () => import("./kn-CsHNi3Qt.mjs"),
|
|
5395
|
+
"../../../../assets/flags/kp.svg": () => import("./kp-DskyYlvx.mjs"),
|
|
5396
|
+
"../../../../assets/flags/kr.svg": () => import("./kr-DlF6eJVr.mjs"),
|
|
5397
|
+
"../../../../assets/flags/kw.svg": () => import("./kw-BiQAd6j1.mjs"),
|
|
5398
|
+
"../../../../assets/flags/ky.svg": () => import("./ky-BvPeTNcl.mjs"),
|
|
5399
|
+
"../../../../assets/flags/kz.svg": () => import("./kz-BQCcz0Va.mjs"),
|
|
5400
|
+
"../../../../assets/flags/la.svg": () => import("./la-COyntyzl.mjs"),
|
|
5401
|
+
"../../../../assets/flags/lb.svg": () => import("./lb-CzTzggHc.mjs"),
|
|
5402
|
+
"../../../../assets/flags/lc.svg": () => import("./lc-CRL2hV6d.mjs"),
|
|
5403
|
+
"../../../../assets/flags/li.svg": () => import("./li-BN-LWzEm.mjs"),
|
|
5404
|
+
"../../../../assets/flags/lk.svg": () => import("./lk-Dh6uTZcH.mjs"),
|
|
5405
|
+
"../../../../assets/flags/lr.svg": () => import("./lr-CoVvhAhL.mjs"),
|
|
5406
|
+
"../../../../assets/flags/ls.svg": () => import("./ls-BFhv4OAc.mjs"),
|
|
5407
|
+
"../../../../assets/flags/lt.svg": () => import("./lt-C9w-Id1S.mjs"),
|
|
5408
|
+
"../../../../assets/flags/lu.svg": () => import("./lu-Ccpxa0yN.mjs"),
|
|
5409
|
+
"../../../../assets/flags/lv.svg": () => import("./lv-Di5Y7vBC.mjs"),
|
|
5410
|
+
"../../../../assets/flags/ly.svg": () => import("./ly-BKgB-CvV.mjs"),
|
|
5411
|
+
"../../../../assets/flags/ma.svg": () => import("./ma-gJj5XCI-.mjs"),
|
|
5412
|
+
"../../../../assets/flags/mc.svg": () => import("./mc-BPN5JfTO.mjs"),
|
|
5413
|
+
"../../../../assets/flags/md.svg": () => import("./md-aCqyKOgl.mjs"),
|
|
5414
|
+
"../../../../assets/flags/me.svg": () => import("./me-C6-JkhFA.mjs"),
|
|
5415
|
+
"../../../../assets/flags/mf.svg": () => import("./mf-jpyKjgsU.mjs"),
|
|
5416
|
+
"../../../../assets/flags/mg.svg": () => import("./mg-TS1IwqtI.mjs"),
|
|
5417
|
+
"../../../../assets/flags/mh.svg": () => import("./mh-yHLgOFiA.mjs"),
|
|
5418
|
+
"../../../../assets/flags/mk.svg": () => import("./mk-CaRVDngZ.mjs"),
|
|
5419
|
+
"../../../../assets/flags/ml.svg": () => import("./ml-CUUHxg1j.mjs"),
|
|
5420
|
+
"../../../../assets/flags/mm.svg": () => import("./mm-CYK7VHSP.mjs"),
|
|
5421
|
+
"../../../../assets/flags/mn.svg": () => import("./mn-D2S-h2WN.mjs"),
|
|
5422
|
+
"../../../../assets/flags/mo.svg": () => import("./mo-D1RG60zF.mjs"),
|
|
5423
|
+
"../../../../assets/flags/mp.svg": () => import("./mp-DzztXSh1.mjs"),
|
|
5424
|
+
"../../../../assets/flags/mq.svg": () => import("./mq-Gsmz5_5j.mjs"),
|
|
5425
|
+
"../../../../assets/flags/mr.svg": () => import("./mr-C_s5K8p5.mjs"),
|
|
5426
|
+
"../../../../assets/flags/ms.svg": () => import("./ms-Cgov7p4h.mjs"),
|
|
5427
|
+
"../../../../assets/flags/mt.svg": () => import("./mt-B9vsNjSx.mjs"),
|
|
5428
|
+
"../../../../assets/flags/mu.svg": () => import("./mu-DeH79Hcd.mjs"),
|
|
5429
|
+
"../../../../assets/flags/mv.svg": () => import("./mv-CS9OGWK4.mjs"),
|
|
5430
|
+
"../../../../assets/flags/mw.svg": () => import("./mw-BvDfO_4m.mjs"),
|
|
5431
|
+
"../../../../assets/flags/mx.svg": () => import("./mx-ByC0ZmOn.mjs"),
|
|
5432
|
+
"../../../../assets/flags/my.svg": () => import("./my-BtbjhaSG.mjs"),
|
|
5433
|
+
"../../../../assets/flags/mz.svg": () => import("./mz-BuZty0IX.mjs"),
|
|
5434
|
+
"../../../../assets/flags/na.svg": () => import("./na-BMRoTc_5.mjs"),
|
|
5435
|
+
"../../../../assets/flags/nc.svg": () => import("./nc-TfmJ1_PR.mjs"),
|
|
5436
|
+
"../../../../assets/flags/ne.svg": () => import("./ne-e6jU7Ta4.mjs"),
|
|
5437
|
+
"../../../../assets/flags/nf.svg": () => import("./nf-DEApE1l7.mjs"),
|
|
5438
|
+
"../../../../assets/flags/ng.svg": () => import("./ng-C481SfES.mjs"),
|
|
5439
|
+
"../../../../assets/flags/ni.svg": () => import("./ni-DoG4DYn_.mjs"),
|
|
5440
|
+
"../../../../assets/flags/nl.svg": () => import("./nl-Cmbofdv4.mjs"),
|
|
5441
|
+
"../../../../assets/flags/no.svg": () => import("./no-CVO81I1l.mjs"),
|
|
5442
|
+
"../../../../assets/flags/np.svg": () => import("./np-zRmg82Re.mjs"),
|
|
5443
|
+
"../../../../assets/flags/nr.svg": () => import("./nr-B5qQQRjH.mjs"),
|
|
5444
|
+
"../../../../assets/flags/nu.svg": () => import("./nu-BI4Y-0EG.mjs"),
|
|
5445
|
+
"../../../../assets/flags/nz.svg": () => import("./nz-DF7xbKn7.mjs"),
|
|
5446
|
+
"../../../../assets/flags/om.svg": () => import("./om-BjOei_ke.mjs"),
|
|
5447
|
+
"../../../../assets/flags/pa.svg": () => import("./pa-ZEXTGOfm.mjs"),
|
|
5448
|
+
"../../../../assets/flags/pe.svg": () => import("./pe-HNEmB15y.mjs"),
|
|
5449
|
+
"../../../../assets/flags/pf.svg": () => import("./pf-DwCESo2k.mjs"),
|
|
5450
|
+
"../../../../assets/flags/pg.svg": () => import("./pg-BhOdaLDy.mjs"),
|
|
5451
|
+
"../../../../assets/flags/ph.svg": () => import("./ph-8ii4-Tq6.mjs"),
|
|
5452
|
+
"../../../../assets/flags/pk.svg": () => import("./pk-BafoDKz5.mjs"),
|
|
5453
|
+
"../../../../assets/flags/pl.svg": () => import("./pl-D9b2Q58T.mjs"),
|
|
5454
|
+
"../../../../assets/flags/pm.svg": () => import("./pm-C-WvmgM4.mjs"),
|
|
5455
|
+
"../../../../assets/flags/pn.svg": () => import("./pn-DjnHidFS.mjs"),
|
|
5456
|
+
"../../../../assets/flags/pr.svg": () => import("./pr-Dd50hA9F.mjs"),
|
|
5457
|
+
"../../../../assets/flags/ps.svg": () => import("./ps-CUGb27Pq.mjs"),
|
|
5458
|
+
"../../../../assets/flags/pt.svg": () => import("./pt-Qpxk-ulQ.mjs"),
|
|
5459
|
+
"../../../../assets/flags/pw.svg": () => import("./pw-DV4RtHVX.mjs"),
|
|
5460
|
+
"../../../../assets/flags/py.svg": () => import("./py-eg-mtZFC.mjs"),
|
|
5461
|
+
"../../../../assets/flags/qa.svg": () => import("./qa-CHyJi5tF.mjs"),
|
|
5462
|
+
"../../../../assets/flags/re.svg": () => import("./re-FpArmeeM.mjs"),
|
|
5463
|
+
"../../../../assets/flags/ro.svg": () => import("./ro-ANrnebzK.mjs"),
|
|
5464
|
+
"../../../../assets/flags/rs.svg": () => import("./rs-BGbyX7Qb.mjs"),
|
|
5465
|
+
"../../../../assets/flags/ru.svg": () => import("./ru-DtLSIa8v.mjs"),
|
|
5466
|
+
"../../../../assets/flags/rw.svg": () => import("./rw-B1kILqpv.mjs"),
|
|
5467
|
+
"../../../../assets/flags/sa.svg": () => import("./sa-CEcWBFfj.mjs"),
|
|
5468
|
+
"../../../../assets/flags/sb.svg": () => import("./sb-p9ah_4x5.mjs"),
|
|
5469
|
+
"../../../../assets/flags/sc.svg": () => import("./sc-2YHg9FTT.mjs"),
|
|
5470
|
+
"../../../../assets/flags/sd.svg": () => import("./sd-BKzyWEE3.mjs"),
|
|
5471
|
+
"../../../../assets/flags/se.svg": () => import("./se-Dq5LtCEp.mjs"),
|
|
5472
|
+
"../../../../assets/flags/sg.svg": () => import("./sg-C752_QVl.mjs"),
|
|
5473
|
+
"../../../../assets/flags/sh.svg": () => import("./sh-NFjaiAXX.mjs"),
|
|
5474
|
+
"../../../../assets/flags/si.svg": () => import("./si-DKzVjXeV.mjs"),
|
|
5475
|
+
"../../../../assets/flags/sj.svg": () => import("./sj-DF7Bf8Q9.mjs"),
|
|
5476
|
+
"../../../../assets/flags/sk.svg": () => import("./sk-CPmqq18S.mjs"),
|
|
5477
|
+
"../../../../assets/flags/sl.svg": () => import("./sl-Dx7oHjXI.mjs"),
|
|
5478
|
+
"../../../../assets/flags/sm.svg": () => import("./sm-B8bEOCx7.mjs"),
|
|
5479
|
+
"../../../../assets/flags/sn.svg": () => import("./sn-tcqzwUh4.mjs"),
|
|
5480
|
+
"../../../../assets/flags/so.svg": () => import("./so-BrD8jwW8.mjs"),
|
|
5481
|
+
"../../../../assets/flags/sr.svg": () => import("./sr-Dyy1x6sW.mjs"),
|
|
5482
|
+
"../../../../assets/flags/ss.svg": () => import("./ss-CpfhWUQL.mjs"),
|
|
5483
|
+
"../../../../assets/flags/st.svg": () => import("./st-DZJqDu2d.mjs"),
|
|
5484
|
+
"../../../../assets/flags/sv.svg": () => import("./sv-DtkfLQdf.mjs"),
|
|
5485
|
+
"../../../../assets/flags/sx.svg": () => import("./sx-C1dyGLW-.mjs"),
|
|
5486
|
+
"../../../../assets/flags/sy.svg": () => import("./sy-DhvBoSDL.mjs"),
|
|
5487
|
+
"../../../../assets/flags/sz.svg": () => import("./sz-Co03zPL0.mjs"),
|
|
5488
|
+
"../../../../assets/flags/tc.svg": () => import("./tc-DFY42rbc.mjs"),
|
|
5489
|
+
"../../../../assets/flags/td.svg": () => import("./td-DdnMoB4B.mjs"),
|
|
5490
|
+
"../../../../assets/flags/tf.svg": () => import("./tf-DtUoHxUD.mjs"),
|
|
5491
|
+
"../../../../assets/flags/tg.svg": () => import("./tg-B-szBZlQ.mjs"),
|
|
5492
|
+
"../../../../assets/flags/th.svg": () => import("./th-hl0xD9En.mjs"),
|
|
5493
|
+
"../../../../assets/flags/tj.svg": () => import("./tj-CaluHgV4.mjs"),
|
|
5494
|
+
"../../../../assets/flags/tk.svg": () => import("./tk-7WTKQA6M.mjs"),
|
|
5495
|
+
"../../../../assets/flags/tl.svg": () => import("./tl-DWxFj_mI.mjs"),
|
|
5496
|
+
"../../../../assets/flags/tm.svg": () => import("./tm-CXa44ZsQ.mjs"),
|
|
5497
|
+
"../../../../assets/flags/tn.svg": () => import("./tn-YGA63yhm.mjs"),
|
|
5498
|
+
"../../../../assets/flags/to.svg": () => import("./to-D1SPhDAS.mjs"),
|
|
5499
|
+
"../../../../assets/flags/tr.svg": () => import("./tr-BkORBw5s.mjs"),
|
|
5500
|
+
"../../../../assets/flags/tt.svg": () => import("./tt-CPiasxy9.mjs"),
|
|
5501
|
+
"../../../../assets/flags/tv.svg": () => import("./tv-1UKqGnYq.mjs"),
|
|
5502
|
+
"../../../../assets/flags/tw.svg": () => import("./tw-V_-9EdZA.mjs"),
|
|
5503
|
+
"../../../../assets/flags/tz.svg": () => import("./tz-vyNQ8siG.mjs"),
|
|
5504
|
+
"../../../../assets/flags/ua.svg": () => import("./ua-B36hNKIn.mjs"),
|
|
5505
|
+
"../../../../assets/flags/ug.svg": () => import("./ug-DzrOv_zJ.mjs"),
|
|
5506
|
+
"../../../../assets/flags/um.svg": () => import("./um-Xf4WHDSX.mjs"),
|
|
5507
|
+
"../../../../assets/flags/us.svg": () => import("./us-VkSkiw44.mjs"),
|
|
5508
|
+
"../../../../assets/flags/uy.svg": () => import("./uy-BBVhuI0m.mjs"),
|
|
5509
|
+
"../../../../assets/flags/uz.svg": () => import("./uz-D4g4y6tl.mjs"),
|
|
5510
|
+
"../../../../assets/flags/va.svg": () => import("./va-CuiFpTCr.mjs"),
|
|
5511
|
+
"../../../../assets/flags/vc.svg": () => import("./vc-BGrc4dhk.mjs"),
|
|
5512
|
+
"../../../../assets/flags/ve.svg": () => import("./ve-76O2C7rm.mjs"),
|
|
5513
|
+
"../../../../assets/flags/vg.svg": () => import("./vg-DMKx8jrg.mjs"),
|
|
5514
|
+
"../../../../assets/flags/vi.svg": () => import("./vi-D8PahWnh.mjs"),
|
|
5515
|
+
"../../../../assets/flags/vn.svg": () => import("./vn-BnPQgCR1.mjs"),
|
|
5516
|
+
"../../../../assets/flags/vu.svg": () => import("./vu-B3LLAmr5.mjs"),
|
|
5517
|
+
"../../../../assets/flags/wf.svg": () => import("./wf-qXr-xalT.mjs"),
|
|
5518
|
+
"../../../../assets/flags/ws.svg": () => import("./ws-pGsAcjqz.mjs"),
|
|
5519
|
+
"../../../../assets/flags/ye.svg": () => import("./ye-CII0qyBt.mjs"),
|
|
5520
|
+
"../../../../assets/flags/yt.svg": () => import("./yt-BoehcMko.mjs"),
|
|
5521
|
+
"../../../../assets/flags/za.svg": () => import("./za-CaK3IAZP.mjs"),
|
|
5522
|
+
"../../../../assets/flags/zm.svg": () => import("./zm-C8-RQ03K.mjs"),
|
|
5523
|
+
"../../../../assets/flags/zw.svg": () => import("./zw-JWvy-vVa.mjs"),
|
|
5524
|
+
"../../../../assets/flags/zz.svg": () => import("./zz-CCLSDExB.mjs")
|
|
5509
5525
|
});
|
|
5510
5526
|
const getLazyLoadedSvgComponent = (country2) => {
|
|
5511
5527
|
const importForCountry = flagImports[`../../../../assets/flags/${country2.toLowerCase()}.svg`];
|
|
5512
5528
|
if (!importForCountry) {
|
|
5513
|
-
logger$
|
|
5529
|
+
logger$r.error(`No flag available for ${country2}`);
|
|
5514
5530
|
return void 0;
|
|
5515
5531
|
}
|
|
5516
5532
|
return lazy(importForCountry);
|
|
@@ -5575,7 +5591,6 @@ function CountryField({
|
|
|
5575
5591
|
})
|
|
5576
5592
|
});
|
|
5577
5593
|
}
|
|
5578
|
-
const FormHeader$1 = "";
|
|
5579
5594
|
function FormHeader({
|
|
5580
5595
|
heading,
|
|
5581
5596
|
description: description2,
|
|
@@ -5615,7 +5630,6 @@ const useForwardedRef = (forwardedRef) => {
|
|
|
5615
5630
|
const backupRef = useRef();
|
|
5616
5631
|
return forwardedRef ?? backupRef;
|
|
5617
5632
|
};
|
|
5618
|
-
const FormFields = "";
|
|
5619
5633
|
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
5620
5634
|
const InputBase = forwardRef((props, ref) => {
|
|
5621
5635
|
const {
|
|
@@ -5739,7 +5753,6 @@ function LegalCompanyNameField({
|
|
|
5739
5753
|
})
|
|
5740
5754
|
});
|
|
5741
5755
|
}
|
|
5742
|
-
const Disclaimer$1 = "";
|
|
5743
5756
|
const Disclaimer = ({
|
|
5744
5757
|
title,
|
|
5745
5758
|
children
|
|
@@ -5855,7 +5868,6 @@ const CompanyNameAndCountryComponent = memo(CompanyNameAndCountry, (prevProps, n
|
|
|
5855
5868
|
var _a, _b;
|
|
5856
5869
|
return objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && ((_a = prevProps.data) == null ? void 0 : _a.country) === ((_b = nextProps.data) == null ? void 0 : _b.country) && prevProps.shouldValidate === nextProps.shouldValidate;
|
|
5857
5870
|
});
|
|
5858
|
-
const CompanyRegistrationDetailsComponent$1 = "";
|
|
5859
5871
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
5860
5872
|
ExperimentNames2["EnableCompanySearchFlow"] = "EnableCompanySearchFlow";
|
|
5861
5873
|
ExperimentNames2["EnableNewEntryFlow"] = "EnableNewEntryFlow";
|
|
@@ -6154,7 +6166,6 @@ const resolveFieldMetadata = (countryEntry, params, defaultMetadata) => {
|
|
|
6154
6166
|
}
|
|
6155
6167
|
return defaultMetadata;
|
|
6156
6168
|
};
|
|
6157
|
-
const MaskedInputText$1 = "";
|
|
6158
6169
|
const cachedStripPatterns = /* @__PURE__ */ new Map();
|
|
6159
6170
|
const makeStripPattern = (mask) => {
|
|
6160
6171
|
const inputPatterns = mask.tokens.filter((token) => token.type === "input" && !!token.allow).map((token) => token.allow);
|
|
@@ -6312,7 +6323,7 @@ const deriveInputState = (isValid, isFocused, hasBlurred, isDisabled, errorMessa
|
|
|
6312
6323
|
};
|
|
6313
6324
|
};
|
|
6314
6325
|
const MISMATCH_ANIMATION_NAME = "mismatchShake";
|
|
6315
|
-
const logger$
|
|
6326
|
+
const logger$q = createLogger("MaskedInputText");
|
|
6316
6327
|
const MaskedInputText = ({
|
|
6317
6328
|
value,
|
|
6318
6329
|
onInput,
|
|
@@ -6354,7 +6365,7 @@ const MaskedInputText = ({
|
|
|
6354
6365
|
};
|
|
6355
6366
|
useEffect(() => {
|
|
6356
6367
|
if (!mask) {
|
|
6357
|
-
logger$
|
|
6368
|
+
logger$q.warn("`mask` is undefined. No masking of input will take place.");
|
|
6358
6369
|
}
|
|
6359
6370
|
}, [mask]);
|
|
6360
6371
|
const getMaskResult = useCallback((pureValue) => {
|
|
@@ -6381,7 +6392,7 @@ const MaskedInputText = ({
|
|
|
6381
6392
|
return;
|
|
6382
6393
|
}
|
|
6383
6394
|
const fallback = displayValueToPure(maskResult.partialDisplayValue);
|
|
6384
|
-
logger$
|
|
6395
|
+
logger$q.warn(`Value received "${value}" does not match mask`, maskResult, `
|
|
6385
6396
|
Falling back to partially valid value "${fallback}"`);
|
|
6386
6397
|
onInput(fallback);
|
|
6387
6398
|
}
|
|
@@ -7863,7 +7874,6 @@ class UserEvents {
|
|
|
7863
7874
|
}
|
|
7864
7875
|
}
|
|
7865
7876
|
const userEvents = new UserEvents();
|
|
7866
|
-
const _accordion_component = "";
|
|
7867
7877
|
const AccordionContext = createContext(null);
|
|
7868
7878
|
function Accordion({
|
|
7869
7879
|
children,
|
|
@@ -7896,13 +7906,11 @@ var Placement = /* @__PURE__ */ ((Placement2) => {
|
|
|
7896
7906
|
Placement2[Placement2["Right"] = 1] = "Right";
|
|
7897
7907
|
return Placement2;
|
|
7898
7908
|
})(Placement || {});
|
|
7899
|
-
const _accordionItem_component = "";
|
|
7900
7909
|
let idCounter = Date.now();
|
|
7901
7910
|
const getUniqueId = (prefix = "id") => {
|
|
7902
7911
|
idCounter += 1;
|
|
7903
7912
|
return `${prefix}-${idCounter}`;
|
|
7904
7913
|
};
|
|
7905
|
-
const CollapsibleContainer$1 = "";
|
|
7906
7914
|
function CollapsibleContainer({
|
|
7907
7915
|
children,
|
|
7908
7916
|
collapsed = false,
|
|
@@ -8096,8 +8104,6 @@ function InputDate(props) {
|
|
|
8096
8104
|
maxLength: 10
|
|
8097
8105
|
});
|
|
8098
8106
|
}
|
|
8099
|
-
const RadioGroup$1 = "";
|
|
8100
|
-
const _inputRadio = "";
|
|
8101
8107
|
const InputRadio = ({
|
|
8102
8108
|
className,
|
|
8103
8109
|
...props
|
|
@@ -9661,7 +9667,6 @@ function CompanyRegistrationDetailsComponent(props) {
|
|
|
9661
9667
|
})]
|
|
9662
9668
|
});
|
|
9663
9669
|
}
|
|
9664
|
-
const CompanyTypeComponent$1 = "";
|
|
9665
9670
|
const companyBase = {
|
|
9666
9671
|
accountHolder: {
|
|
9667
9672
|
rule: "accountHolderIfCustomer"
|
|
@@ -10470,7 +10475,7 @@ const accountHolderValidationRules = {
|
|
|
10470
10475
|
}
|
|
10471
10476
|
};
|
|
10472
10477
|
const accountHolderFields = ["accountHolder"];
|
|
10473
|
-
const logger$
|
|
10478
|
+
const logger$p = createLogger("AccountHolder");
|
|
10474
10479
|
function getAvailableAccountHolderOptions(legalEntityType, isChangeOfLegalEntityTypeAllowed, isTrustFlowEnabled, isSoleProprietorshipAllowed, isChangeToMyNameAllowed) {
|
|
10475
10480
|
switch (legalEntityType) {
|
|
10476
10481
|
case LegalEntityType.ORGANIZATION: {
|
|
@@ -10480,7 +10485,7 @@ function getAvailableAccountHolderOptions(legalEntityType, isChangeOfLegalEntity
|
|
|
10480
10485
|
return [...isChangeToMyNameAllowed ? ["myName"] : [], ...isChangeOfLegalEntityTypeAllowed ? ["theCompanyIWorkFor"] : [], ...isTrustFlowEnabled ? ["aTrust"] : [], ...isSoleProprietorshipAllowed ? ["mySoleProprietorName"] : []];
|
|
10481
10486
|
}
|
|
10482
10487
|
default:
|
|
10483
|
-
logger$
|
|
10488
|
+
logger$p.error(`No available account holder options for legal entity type '${legalEntityType}'`);
|
|
10484
10489
|
return [];
|
|
10485
10490
|
}
|
|
10486
10491
|
}
|
|
@@ -10572,7 +10577,6 @@ function AccountHolder(props) {
|
|
|
10572
10577
|
}) : null]
|
|
10573
10578
|
});
|
|
10574
10579
|
}
|
|
10575
|
-
const RadioCard$1 = "";
|
|
10576
10580
|
const RadioCard = ({
|
|
10577
10581
|
optionId,
|
|
10578
10582
|
optionName,
|
|
@@ -10643,7 +10647,6 @@ const RadioCard = ({
|
|
|
10643
10647
|
})]
|
|
10644
10648
|
}, optionId);
|
|
10645
10649
|
};
|
|
10646
|
-
const RadioGroupCard$1 = "";
|
|
10647
10650
|
function RadioCardSelect({
|
|
10648
10651
|
options,
|
|
10649
10652
|
name,
|
|
@@ -10827,7 +10830,6 @@ const getDocumentGuidancePrefix = (documentType2, isIcon = false, isFront = true
|
|
|
10827
10830
|
return "generic-document";
|
|
10828
10831
|
}
|
|
10829
10832
|
};
|
|
10830
|
-
const _documentGuidance_component = "";
|
|
10831
10833
|
function DocumentGuidance({
|
|
10832
10834
|
type,
|
|
10833
10835
|
className
|
|
@@ -10914,7 +10916,6 @@ function DocumentGuidance({
|
|
|
10914
10916
|
})
|
|
10915
10917
|
});
|
|
10916
10918
|
}
|
|
10917
|
-
const Dropzone$1 = "";
|
|
10918
10919
|
function bytesToSize(bytes) {
|
|
10919
10920
|
const sizes = ["Bytes", "KB", "MB", "GB", "TB"];
|
|
10920
10921
|
if (bytes === 0)
|
|
@@ -10924,7 +10925,6 @@ function bytesToSize(bytes) {
|
|
|
10924
10925
|
return `${bytes} ${sizes[i]}`;
|
|
10925
10926
|
return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
|
|
10926
10927
|
}
|
|
10927
|
-
const DropzoneFile$1 = "";
|
|
10928
10928
|
const isExistingFile = (file) => "existing" in file && file.existing;
|
|
10929
10929
|
const isNewlyUploadedFile = (file) => !isExistingFile(file);
|
|
10930
10930
|
function DropzoneFile(props) {
|
|
@@ -11228,7 +11228,7 @@ function Dropzone(props) {
|
|
|
11228
11228
|
})]
|
|
11229
11229
|
});
|
|
11230
11230
|
}
|
|
11231
|
-
const logger$
|
|
11231
|
+
const logger$o = createLogger("TextArea");
|
|
11232
11232
|
function TextArea(props) {
|
|
11233
11233
|
const {
|
|
11234
11234
|
classNameModifiers,
|
|
@@ -11249,7 +11249,7 @@ function TextArea(props) {
|
|
|
11249
11249
|
} = useI18nContext();
|
|
11250
11250
|
const [value, setValue] = useState("");
|
|
11251
11251
|
if (Object.prototype.hasOwnProperty.call(props, "onChange")) {
|
|
11252
|
-
logger$
|
|
11252
|
+
logger$o.error("Error: Form fields that rely on InputBase may not have an onChange property");
|
|
11253
11253
|
}
|
|
11254
11254
|
const handleInput = (e) => {
|
|
11255
11255
|
var _a;
|
|
@@ -11411,7 +11411,6 @@ function DocumentUploadComponent({
|
|
|
11411
11411
|
}), formUtils.isRequiredField("description") && jsx(Field, {
|
|
11412
11412
|
name: "description",
|
|
11413
11413
|
label: formUtils.getLabel("descriptionOptional"),
|
|
11414
|
-
helper: i18n.get("descriptionHelper"),
|
|
11415
11414
|
errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
|
|
11416
11415
|
isValid: valid.description,
|
|
11417
11416
|
children: (childProps) => jsx(TextArea, {
|
|
@@ -11428,7 +11427,6 @@ function DocumentUploadComponent({
|
|
|
11428
11427
|
});
|
|
11429
11428
|
}
|
|
11430
11429
|
const DocumentUpload = memo(DocumentUploadComponent, (prevProps, nextProps) => prevProps.shouldValidate === nextProps.shouldValidate && objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && objectsDeepEqual(prevProps.documentTypeSelect, nextProps.documentTypeSelect) && prevProps.documentField === nextProps.documentField && prevProps.name === nextProps.name);
|
|
11431
|
-
const _list_component = "";
|
|
11432
11430
|
function List({
|
|
11433
11431
|
className,
|
|
11434
11432
|
nested,
|
|
@@ -11445,15 +11443,16 @@ function List({
|
|
|
11445
11443
|
function ListItem({
|
|
11446
11444
|
className,
|
|
11447
11445
|
children,
|
|
11448
|
-
noMarkers
|
|
11446
|
+
noMarkers,
|
|
11447
|
+
...props
|
|
11449
11448
|
}) {
|
|
11450
11449
|
const classNames = cx(["adl-list__item", noMarkers && "adl-list__item--no-markers", className]);
|
|
11451
11450
|
return jsx("li", {
|
|
11451
|
+
...props,
|
|
11452
11452
|
className: classNames,
|
|
11453
11453
|
children
|
|
11454
11454
|
});
|
|
11455
11455
|
}
|
|
11456
|
-
const Address$1 = "";
|
|
11457
11456
|
const ADDRESS_SCHEMA = ["address", "otherAddressInformation", "postalCode", "city", "stateOrProvince", "country"];
|
|
11458
11457
|
const [ADDRESS, OTHER_ADDRESS_INFORMATION, POSTAL_CODE, CITY, STATE, COUNTRY] = ADDRESS_SCHEMA;
|
|
11459
11458
|
const COUNTRIES_WITH_STATES_DATASET = [CountryCodes.Australia, CountryCodes.Brazil, CountryCodes.Canada, CountryCodes.NewZealand, CountryCodes.UnitedStates];
|
|
@@ -11663,7 +11662,7 @@ function FieldContainer(props) {
|
|
|
11663
11662
|
}
|
|
11664
11663
|
return renderField(fieldName);
|
|
11665
11664
|
}
|
|
11666
|
-
const logger$
|
|
11665
|
+
const logger$n = createLogger("SearchAddress");
|
|
11667
11666
|
const SearchAddress = ({
|
|
11668
11667
|
data,
|
|
11669
11668
|
legalEntityId,
|
|
@@ -11706,7 +11705,7 @@ const SearchAddress = ({
|
|
|
11706
11705
|
const response = await handleFindAddress(selectedAddressId);
|
|
11707
11706
|
autocompleteAddressForm(response);
|
|
11708
11707
|
} catch (e) {
|
|
11709
|
-
logger$
|
|
11708
|
+
logger$n.error(e);
|
|
11710
11709
|
}
|
|
11711
11710
|
};
|
|
11712
11711
|
const onDrilldown = async (selectedAddress) => {
|
|
@@ -11718,7 +11717,7 @@ const SearchAddress = ({
|
|
|
11718
11717
|
}, legalEntityId);
|
|
11719
11718
|
setItems((response == null ? void 0 : response.results) || []);
|
|
11720
11719
|
} catch (e) {
|
|
11721
|
-
logger$
|
|
11720
|
+
logger$n.error(e);
|
|
11722
11721
|
}
|
|
11723
11722
|
};
|
|
11724
11723
|
const onChange = (e) => {
|
|
@@ -11773,7 +11772,7 @@ const SearchAddress = ({
|
|
|
11773
11772
|
setItems([]);
|
|
11774
11773
|
}
|
|
11775
11774
|
} catch (e) {
|
|
11776
|
-
logger$
|
|
11775
|
+
logger$n.error(e);
|
|
11777
11776
|
}
|
|
11778
11777
|
setLoading(false);
|
|
11779
11778
|
}
|
|
@@ -12750,8 +12749,6 @@ function CompanyComponent(props) {
|
|
|
12750
12749
|
})]
|
|
12751
12750
|
});
|
|
12752
12751
|
}
|
|
12753
|
-
const Individual = "";
|
|
12754
|
-
const IdDocumentUploadComponent$1 = "";
|
|
12755
12752
|
const idDocumentTypeOptions = [{
|
|
12756
12753
|
id: DocumentType.DRIVERS_LICENSE,
|
|
12757
12754
|
name: "driversLicense",
|
|
@@ -13939,10 +13936,10 @@ const mapPayoutDocumentsToApiDocuments = async (data, entityId) => {
|
|
|
13939
13936
|
return document2;
|
|
13940
13937
|
};
|
|
13941
13938
|
const mapApiDocumentToPayoutDocuments = (entityId) => {
|
|
13942
|
-
const
|
|
13939
|
+
const bankStatement = getDocument$1(entityId, DocumentType.BANK_STATEMENT) || null;
|
|
13943
13940
|
return {
|
|
13944
|
-
bankStatementDocument:
|
|
13945
|
-
description:
|
|
13941
|
+
bankStatementDocument: bankStatement ? [mapExistingFile(getPageName(bankStatement))] : null,
|
|
13942
|
+
description: bankStatement.description
|
|
13946
13943
|
};
|
|
13947
13944
|
};
|
|
13948
13945
|
const idDocumentUploadFields = ["idDocumentType", "idFrontPage", "idBackPage", "idDocument"];
|
|
@@ -14138,7 +14135,6 @@ function IdDocumentManualUploadComponent(props) {
|
|
|
14138
14135
|
});
|
|
14139
14136
|
}
|
|
14140
14137
|
const IdDocumentManualUpload = memo(IdDocumentManualUploadComponent, (prevProps, nextProps) => objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.name === nextProps.name);
|
|
14141
|
-
const IdVerificationComponent$1 = "";
|
|
14142
14138
|
const useIdVerificationToken = ({
|
|
14143
14139
|
userDetails,
|
|
14144
14140
|
legalEntityId,
|
|
@@ -14718,7 +14714,7 @@ const initOnfido = async ({
|
|
|
14718
14714
|
language: getOnfidoLocaleConfig(i18n)
|
|
14719
14715
|
});
|
|
14720
14716
|
};
|
|
14721
|
-
const logger$
|
|
14717
|
+
const logger$m = createLogger("IdVerificationComponent");
|
|
14722
14718
|
function IdVerificationComponent({
|
|
14723
14719
|
userDetails,
|
|
14724
14720
|
legalEntityId,
|
|
@@ -14751,7 +14747,7 @@ function IdVerificationComponent({
|
|
|
14751
14747
|
onIdVerificationError,
|
|
14752
14748
|
onIdVerificationComplete
|
|
14753
14749
|
});
|
|
14754
|
-
})().catch(logger$
|
|
14750
|
+
})().catch(logger$m.error);
|
|
14755
14751
|
return () => {
|
|
14756
14752
|
if (onfidoSdk.current)
|
|
14757
14753
|
onfidoSdk.current.tearDown();
|
|
@@ -14803,7 +14799,7 @@ function IdDocumentAlreadyUpload(props) {
|
|
|
14803
14799
|
})]
|
|
14804
14800
|
});
|
|
14805
14801
|
}
|
|
14806
|
-
const logger$
|
|
14802
|
+
const logger$l = createLogger("IdDocumentInstantVerificationComponent");
|
|
14807
14803
|
const idVerificationSchema = ["instantIdVerificationData", "idDocumentType"];
|
|
14808
14804
|
const documentTypeValidationRules = {
|
|
14809
14805
|
instantIdVerificationData: {
|
|
@@ -14885,7 +14881,7 @@ function IdDocumentInstantVerificationComponent(props) {
|
|
|
14885
14881
|
userDetails: props.userDetails,
|
|
14886
14882
|
legalEntityId: props.legalEntityId,
|
|
14887
14883
|
onIdVerificationComplete: handleIdVerificationComplete,
|
|
14888
|
-
onIdVerificationError: logger$
|
|
14884
|
+
onIdVerificationError: logger$l.error
|
|
14889
14885
|
}), jsxs("div", {
|
|
14890
14886
|
className: "adyen-kyc-document-upload__manual-upload",
|
|
14891
14887
|
children: [i18n.get("canNotCompleteInstantVerification"), " ", jsx("button", {
|
|
@@ -14913,7 +14909,6 @@ function IdDocumentUploadComponent(props) {
|
|
|
14913
14909
|
...props
|
|
14914
14910
|
});
|
|
14915
14911
|
}
|
|
14916
|
-
const IdVerificationMethod = "";
|
|
14917
14912
|
const layoutBreakpointClassnames = {
|
|
14918
14913
|
xsOnly: "adyen-layout-xs-only",
|
|
14919
14914
|
md: "adyen-layout-md",
|
|
@@ -15460,7 +15455,6 @@ const ContactDetailsComp = memo(ContactDetailsComponent, (prevProps, nextProps)
|
|
|
15460
15455
|
ContactDetailsComponent.defaultProps = {
|
|
15461
15456
|
data: {}
|
|
15462
15457
|
};
|
|
15463
|
-
const IdentityNumber = "";
|
|
15464
15458
|
const defaultFieldMetadata$5 = {
|
|
15465
15459
|
label: "idNumber"
|
|
15466
15460
|
};
|
|
@@ -17356,7 +17350,7 @@ var ProofOfResidenceDocumentTypes = /* @__PURE__ */ ((ProofOfResidenceDocumentTy
|
|
|
17356
17350
|
})(ProofOfResidenceDocumentTypes || {});
|
|
17357
17351
|
const proofOfResidenceDocumentOptions = [{
|
|
17358
17352
|
id: "bankStatement",
|
|
17359
|
-
name: "
|
|
17353
|
+
name: "bankStatementDocument"
|
|
17360
17354
|
}, {
|
|
17361
17355
|
id: "utilityBill",
|
|
17362
17356
|
name: "utilityBill"
|
|
@@ -17640,8 +17634,535 @@ function IndividualComponent(props) {
|
|
|
17640
17634
|
children: renderActiveForm(props.activeForm)
|
|
17641
17635
|
});
|
|
17642
17636
|
}
|
|
17643
|
-
const
|
|
17644
|
-
|
|
17637
|
+
const getLegalEntityNameBasedOnType = (legalEntityResponse) => {
|
|
17638
|
+
var _a, _b, _c, _d, _e;
|
|
17639
|
+
if (legalEntityResponse.type === LegalEntityType.INDIVIDUAL) {
|
|
17640
|
+
return `${((_b = (_a = legalEntityResponse.individual) == null ? void 0 : _a.name) == null ? void 0 : _b.firstName) ?? ""} ${((_d = (_c = legalEntityResponse.individual) == null ? void 0 : _c.name) == null ? void 0 : _d.lastName) ?? ""}`;
|
|
17641
|
+
}
|
|
17642
|
+
return ((_e = legalEntityResponse.organization) == null ? void 0 : _e.legalName) ?? "";
|
|
17643
|
+
};
|
|
17644
|
+
const getPayoutAccountHolderName = (legalEntity, i18n) => {
|
|
17645
|
+
const ownAssociations = getOwnEntityAssociations(legalEntity);
|
|
17646
|
+
const trustAssociation = ownAssociations.find(({
|
|
17647
|
+
type
|
|
17648
|
+
}) => type === LegalEntityType.TRUST);
|
|
17649
|
+
if (trustAssociation == null ? void 0 : trustAssociation.name) {
|
|
17650
|
+
const trustName = trustAssociation.name;
|
|
17651
|
+
const trusteeName = getLegalEntityNameBasedOnType(legalEntity);
|
|
17652
|
+
return i18n.get("trusteeAsTrusteeForTrust", {
|
|
17653
|
+
values: {
|
|
17654
|
+
trustName,
|
|
17655
|
+
trusteeName
|
|
17656
|
+
}
|
|
17657
|
+
});
|
|
17658
|
+
}
|
|
17659
|
+
const solePropAssociation = ownAssociations.find(({
|
|
17660
|
+
type
|
|
17661
|
+
}) => type === LegalEntityType.SOLE_PROPRIETORSHIP);
|
|
17662
|
+
if (solePropAssociation == null ? void 0 : solePropAssociation.name) {
|
|
17663
|
+
return solePropAssociation.name;
|
|
17664
|
+
}
|
|
17665
|
+
return getLegalEntityNameBasedOnType(legalEntity);
|
|
17666
|
+
};
|
|
17667
|
+
function FilePicker({
|
|
17668
|
+
files,
|
|
17669
|
+
setFiles,
|
|
17670
|
+
isValid,
|
|
17671
|
+
errorMessage,
|
|
17672
|
+
multiple = false,
|
|
17673
|
+
label,
|
|
17674
|
+
iconPrefix = "generic-document",
|
|
17675
|
+
// file validation options
|
|
17676
|
+
allowedFileTypes,
|
|
17677
|
+
maxSize,
|
|
17678
|
+
isOptional,
|
|
17679
|
+
maxNumberOfFiles
|
|
17680
|
+
}) {
|
|
17681
|
+
const {
|
|
17682
|
+
i18n
|
|
17683
|
+
} = useI18nContext();
|
|
17684
|
+
const fileInput = useRef(null);
|
|
17685
|
+
const [dragged, setDragged] = useState(false);
|
|
17686
|
+
const hasRequiredError = errorMessage === "fieldIsRequired";
|
|
17687
|
+
const showDropzone = files.length < maxNumberOfFiles;
|
|
17688
|
+
const openFilePicker = () => {
|
|
17689
|
+
var _a;
|
|
17690
|
+
return (_a = fileInput.current) == null ? void 0 : _a.click();
|
|
17691
|
+
};
|
|
17692
|
+
const handleFileDelete = (fileToDelete) => setFiles(files.filter((file) => file !== fileToDelete));
|
|
17693
|
+
const handleDragEnter = (e) => {
|
|
17694
|
+
e.preventDefault();
|
|
17695
|
+
e.stopPropagation();
|
|
17696
|
+
};
|
|
17697
|
+
const handleDragLeave = (e) => {
|
|
17698
|
+
e.preventDefault();
|
|
17699
|
+
e.stopPropagation();
|
|
17700
|
+
setDragged(false);
|
|
17701
|
+
};
|
|
17702
|
+
const handleDragOver = (e) => {
|
|
17703
|
+
e.preventDefault();
|
|
17704
|
+
e.stopPropagation();
|
|
17705
|
+
setDragged(true);
|
|
17706
|
+
};
|
|
17707
|
+
const handleDrop = (e) => {
|
|
17708
|
+
e.preventDefault();
|
|
17709
|
+
e.stopPropagation();
|
|
17710
|
+
if (e.dataTransfer)
|
|
17711
|
+
addFiles(e.dataTransfer.files);
|
|
17712
|
+
setDragged(false);
|
|
17713
|
+
};
|
|
17714
|
+
const handleFilesChosen = (e) => {
|
|
17715
|
+
const fileInput2 = e.target;
|
|
17716
|
+
if (fileInput2.files)
|
|
17717
|
+
addFiles(fileInput2.files);
|
|
17718
|
+
};
|
|
17719
|
+
const addFiles = (newFiles) => {
|
|
17720
|
+
setFiles([...newFiles, ...files]);
|
|
17721
|
+
};
|
|
17722
|
+
const allowedFileTypesString = allowedFileTypes.join(", ");
|
|
17723
|
+
return jsxs("div", {
|
|
17724
|
+
children: [label && jsx("div", {
|
|
17725
|
+
className: cx("adyen-kyc-label__text", {
|
|
17726
|
+
"adyen-kyc-label__text--error": hasRequiredError
|
|
17727
|
+
}),
|
|
17728
|
+
children: label
|
|
17729
|
+
}), files.map((file) => jsx(DropzoneFile, {
|
|
17730
|
+
file,
|
|
17731
|
+
onDelete: () => handleFileDelete(file),
|
|
17732
|
+
errorMessage,
|
|
17733
|
+
iconPrefix
|
|
17734
|
+
}, file)), showDropzone && jsxs("div", {
|
|
17735
|
+
role: "region",
|
|
17736
|
+
className: cx("adyen-kyc-dropzone", {
|
|
17737
|
+
"adyen-kyc-dropzone--dragged": dragged,
|
|
17738
|
+
"adyen-kyc-dropzone--error": !dragged && hasRequiredError
|
|
17739
|
+
}),
|
|
17740
|
+
onDrop: handleDrop,
|
|
17741
|
+
onDragOver: handleDragOver,
|
|
17742
|
+
onDragEnter: handleDragEnter,
|
|
17743
|
+
onDragLeave: handleDragLeave,
|
|
17744
|
+
children: [jsx("div", {
|
|
17745
|
+
className: "adyen-kyc-dropzone__icon",
|
|
17746
|
+
children: jsx("svg", {
|
|
17747
|
+
height: "100%",
|
|
17748
|
+
width: "100%",
|
|
17749
|
+
children: jsx("use", {
|
|
17750
|
+
href: `#adl-${iconPrefix}-icon`
|
|
17751
|
+
})
|
|
17752
|
+
})
|
|
17753
|
+
}), jsxs("div", {
|
|
17754
|
+
className: "adyen-kyc-dropzone__labels",
|
|
17755
|
+
children: [jsxs("div", {
|
|
17756
|
+
className: "adyen-kyc-dropzone__drag-text",
|
|
17757
|
+
children: [jsxs("span", {
|
|
17758
|
+
children: [i18n.get("dragYourFilesHereOr"), " "]
|
|
17759
|
+
}), jsx("button", {
|
|
17760
|
+
className: "adyen-kyc-dropzone__button",
|
|
17761
|
+
type: "button",
|
|
17762
|
+
onClick: openFilePicker,
|
|
17763
|
+
children: i18n.get("browse")
|
|
17764
|
+
})]
|
|
17765
|
+
}), jsx("div", {
|
|
17766
|
+
className: "adyen-kyc-dropzone__supports-text",
|
|
17767
|
+
children: i18n.get("supports", {
|
|
17768
|
+
values: {
|
|
17769
|
+
fileTypes: allowedFileTypesString,
|
|
17770
|
+
maxSize: bytesToSize(maxSize),
|
|
17771
|
+
maxFiles: maxNumberOfFiles
|
|
17772
|
+
}
|
|
17773
|
+
})
|
|
17774
|
+
})]
|
|
17775
|
+
}), jsx("input", {
|
|
17776
|
+
className: "adyen-kyc-dropzone__input",
|
|
17777
|
+
ref: fileInput,
|
|
17778
|
+
multiple,
|
|
17779
|
+
accept: allowedFileTypesString,
|
|
17780
|
+
onChange: handleFilesChosen,
|
|
17781
|
+
type: "file",
|
|
17782
|
+
"aria-required": !isOptional,
|
|
17783
|
+
"aria-label": label,
|
|
17784
|
+
"aria-invalid": !isValid
|
|
17785
|
+
})]
|
|
17786
|
+
}), hasRequiredError && jsx("div", {
|
|
17787
|
+
className: "adyen-kyc-error-text",
|
|
17788
|
+
children: i18n.get("fieldIsRequired")
|
|
17789
|
+
})]
|
|
17790
|
+
});
|
|
17791
|
+
}
|
|
17792
|
+
var BankDocumentTypes = /* @__PURE__ */ ((BankDocumentTypes2) => {
|
|
17793
|
+
BankDocumentTypes2["BANK_STATEMENT"] = "bankStatement";
|
|
17794
|
+
BankDocumentTypes2["DEPOSIT_SLIP"] = "depositSlip";
|
|
17795
|
+
BankDocumentTypes2["SCREENSHOT_OF_BANK"] = "screenshotOfOnlineBankingEnviroment";
|
|
17796
|
+
BankDocumentTypes2["OFFICIAL_EMAIL"] = "officialEmailOrALetterFromYourBank";
|
|
17797
|
+
BankDocumentTypes2["CHECK"] = "check";
|
|
17798
|
+
BankDocumentTypes2["RELEVE_DIDENTITE"] = "releveDidentiteBancaire";
|
|
17799
|
+
return BankDocumentTypes2;
|
|
17800
|
+
})(BankDocumentTypes || {});
|
|
17801
|
+
const bankDocumentOptions = [{
|
|
17802
|
+
id: "bankStatement",
|
|
17803
|
+
name: "bankStatementDocument"
|
|
17804
|
+
}, {
|
|
17805
|
+
id: "depositSlip",
|
|
17806
|
+
name: "depositSlip"
|
|
17807
|
+
}, {
|
|
17808
|
+
id: "screenshotOfOnlineBankingEnviroment",
|
|
17809
|
+
name: "screenshotOfOnlineBankingEnviroment"
|
|
17810
|
+
}, {
|
|
17811
|
+
id: "officialEmailOrALetterFromYourBank",
|
|
17812
|
+
name: "officialEmailOrALetterFromYourBank"
|
|
17813
|
+
}, {
|
|
17814
|
+
id: "check",
|
|
17815
|
+
name: "check"
|
|
17816
|
+
}, {
|
|
17817
|
+
id: "releveDidentiteBancaire",
|
|
17818
|
+
name: "releveDidentiteBancaire"
|
|
17819
|
+
}];
|
|
17820
|
+
var BankDocumentRequirement = /* @__PURE__ */ ((BankDocumentRequirement2) => {
|
|
17821
|
+
BankDocumentRequirement2["ACCOUNT_NAME_INDIVIDUAL"] = "bankAccountNameIndividual";
|
|
17822
|
+
BankDocumentRequirement2["ACCOUNT_NAME_ORGANIZATION"] = "bankAccountNameOrganization";
|
|
17823
|
+
BankDocumentRequirement2["ACCOUNT_NAME_WITH_SOLE_PROP"] = "bankAccountNameWithSoleProprietor";
|
|
17824
|
+
BankDocumentRequirement2["ACCOUNT_NAME_WITH_TRUST"] = "bankAccountNameWithTrust";
|
|
17825
|
+
BankDocumentRequirement2["ACCOUNT_NUMBER_OR_IBAN"] = "accountNumberOrIbanVisible";
|
|
17826
|
+
BankDocumentRequirement2["ACCOUNT_NUMBER"] = "accountNumberVisible";
|
|
17827
|
+
BankDocumentRequirement2["ROUTING_NUMBER"] = "routingNumberVisible";
|
|
17828
|
+
BankDocumentRequirement2["DATE_ON_DOCUMENT"] = "issuedInTheLastXMonths";
|
|
17829
|
+
BankDocumentRequirement2["COUNTRY_OF_BANK"] = "showsCountryOfBankAccount";
|
|
17830
|
+
BankDocumentRequirement2["OFFICIAL_DOCUMENT"] = "hasToBeOfficialDocumentFromBank";
|
|
17831
|
+
BankDocumentRequirement2["STAMP_OR_SIGNATURE"] = "hasBankStampOrBankSignature";
|
|
17832
|
+
return BankDocumentRequirement2;
|
|
17833
|
+
})(BankDocumentRequirement || {});
|
|
17834
|
+
const accountNameRequirement = {
|
|
17835
|
+
[LegalEntityType.INDIVIDUAL]: {
|
|
17836
|
+
default: BankDocumentRequirement.ACCOUNT_NAME_INDIVIDUAL
|
|
17837
|
+
},
|
|
17838
|
+
[LegalEntityType.ORGANIZATION]: {
|
|
17839
|
+
default: BankDocumentRequirement.ACCOUNT_NAME_ORGANIZATION
|
|
17840
|
+
}
|
|
17841
|
+
};
|
|
17842
|
+
const accountNameRequirementWithLegalArrangement = {
|
|
17843
|
+
[LegalEntityType.INDIVIDUAL]: {
|
|
17844
|
+
[LegalEntityType.SOLE_PROPRIETORSHIP]: {
|
|
17845
|
+
default: BankDocumentRequirement.ACCOUNT_NAME_WITH_SOLE_PROP
|
|
17846
|
+
},
|
|
17847
|
+
[LegalEntityType.TRUST]: {
|
|
17848
|
+
[CountryCodes.UnitedStates]: "bankAccountNameWithTrust_US",
|
|
17849
|
+
default: BankDocumentRequirement.ACCOUNT_NAME_WITH_TRUST
|
|
17850
|
+
}
|
|
17851
|
+
},
|
|
17852
|
+
[LegalEntityType.ORGANIZATION]: {
|
|
17853
|
+
[LegalEntityType.TRUST]: {
|
|
17854
|
+
[CountryCodes.UnitedStates]: "bankAccountNameWithTrust_US",
|
|
17855
|
+
default: BankDocumentRequirement.ACCOUNT_NAME_WITH_TRUST
|
|
17856
|
+
}
|
|
17857
|
+
}
|
|
17858
|
+
};
|
|
17859
|
+
const applyNamedModifiers = (country2, documentModifiers) => {
|
|
17860
|
+
var _a, _b, _c, _d, _e;
|
|
17861
|
+
if (!documentModifiers.associatedEntityType || !documentModifiers.associatedEntityLegalName) {
|
|
17862
|
+
switch (documentModifiers.rootEntityType) {
|
|
17863
|
+
case LegalEntityType.INDIVIDUAL:
|
|
17864
|
+
return {
|
|
17865
|
+
key: accountNameRequirement[LegalEntityType.INDIVIDUAL].default,
|
|
17866
|
+
options: {
|
|
17867
|
+
values: {
|
|
17868
|
+
individualLegalName: documentModifiers.rootEntityLegalName
|
|
17869
|
+
}
|
|
17870
|
+
}
|
|
17871
|
+
};
|
|
17872
|
+
case LegalEntityType.ORGANIZATION:
|
|
17873
|
+
default:
|
|
17874
|
+
return {
|
|
17875
|
+
key: accountNameRequirement[LegalEntityType.ORGANIZATION].default,
|
|
17876
|
+
options: {
|
|
17877
|
+
values: {
|
|
17878
|
+
companyLegalName: documentModifiers.rootEntityLegalName
|
|
17879
|
+
}
|
|
17880
|
+
}
|
|
17881
|
+
};
|
|
17882
|
+
}
|
|
17883
|
+
}
|
|
17884
|
+
switch (documentModifiers.rootEntityType) {
|
|
17885
|
+
case LegalEntityType.INDIVIDUAL:
|
|
17886
|
+
switch (documentModifiers.associatedEntityType) {
|
|
17887
|
+
case LegalEntityType.TRUST:
|
|
17888
|
+
return {
|
|
17889
|
+
key: ((_a = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.TRUST]) == null ? void 0 : _a[country2]) ?? ((_b = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.TRUST]) == null ? void 0 : _b.default),
|
|
17890
|
+
options: {
|
|
17891
|
+
values: {
|
|
17892
|
+
trusteeName: documentModifiers.rootEntityLegalName,
|
|
17893
|
+
trustLegalName: documentModifiers.associatedEntityLegalName,
|
|
17894
|
+
trustTradingName: documentModifiers.associatedEntityTradingName ?? documentModifiers.associatedEntityLegalName
|
|
17895
|
+
}
|
|
17896
|
+
}
|
|
17897
|
+
};
|
|
17898
|
+
case LegalEntityType.SOLE_PROPRIETORSHIP:
|
|
17899
|
+
default:
|
|
17900
|
+
return {
|
|
17901
|
+
key: (_c = accountNameRequirementWithLegalArrangement[LegalEntityType.INDIVIDUAL][LegalEntityType.SOLE_PROPRIETORSHIP]) == null ? void 0 : _c.default,
|
|
17902
|
+
options: {
|
|
17903
|
+
values: {
|
|
17904
|
+
individualLegalName: documentModifiers.rootEntityLegalName,
|
|
17905
|
+
soleProprietorshipName: documentModifiers.associatedEntityLegalName
|
|
17906
|
+
}
|
|
17907
|
+
}
|
|
17908
|
+
};
|
|
17909
|
+
}
|
|
17910
|
+
case LegalEntityType.ORGANIZATION:
|
|
17911
|
+
default:
|
|
17912
|
+
switch (documentModifiers.associatedEntityType) {
|
|
17913
|
+
case LegalEntityType.TRUST:
|
|
17914
|
+
return {
|
|
17915
|
+
key: ((_d = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.TRUST]) == null ? void 0 : _d[country2]) ?? ((_e = accountNameRequirementWithLegalArrangement[LegalEntityType.ORGANIZATION][LegalEntityType.TRUST]) == null ? void 0 : _e.default),
|
|
17916
|
+
options: {
|
|
17917
|
+
values: {
|
|
17918
|
+
trusteeName: documentModifiers.rootEntityLegalName,
|
|
17919
|
+
trustLegalName: documentModifiers.associatedEntityLegalName,
|
|
17920
|
+
trustTradingName: documentModifiers.associatedEntityTradingName ?? documentModifiers.associatedEntityLegalName
|
|
17921
|
+
}
|
|
17922
|
+
}
|
|
17923
|
+
};
|
|
17924
|
+
default:
|
|
17925
|
+
return {
|
|
17926
|
+
key: accountNameRequirement[LegalEntityType.ORGANIZATION].default
|
|
17927
|
+
};
|
|
17928
|
+
}
|
|
17929
|
+
}
|
|
17930
|
+
};
|
|
17931
|
+
const getBankDocumentRequirements = (country2, documentType2, documentModifiers) => {
|
|
17932
|
+
const baseRequirements = [{
|
|
17933
|
+
key: BankDocumentRequirement.COUNTRY_OF_BANK
|
|
17934
|
+
}, {
|
|
17935
|
+
key: BankDocumentRequirement.OFFICIAL_DOCUMENT
|
|
17936
|
+
}];
|
|
17937
|
+
const accountNumberRequirement = country2 === "US" ? [{
|
|
17938
|
+
key: BankDocumentRequirement.ACCOUNT_NUMBER
|
|
17939
|
+
}, {
|
|
17940
|
+
key: BankDocumentRequirement.ROUTING_NUMBER
|
|
17941
|
+
}] : [{
|
|
17942
|
+
key: BankDocumentRequirement.ACCOUNT_NUMBER_OR_IBAN
|
|
17943
|
+
}];
|
|
17944
|
+
const requireLast12Months = documentType2 !== BankDocumentTypes.SCREENSHOT_OF_BANK;
|
|
17945
|
+
const requireStampOrSignature = documentType2 === BankDocumentTypes.DEPOSIT_SLIP || documentType2 === BankDocumentTypes.OFFICIAL_EMAIL;
|
|
17946
|
+
const requirements2 = [applyNamedModifiers(country2, documentModifiers), ...accountNumberRequirement, ...baseRequirements];
|
|
17947
|
+
if (requireLast12Months) {
|
|
17948
|
+
requirements2.push({
|
|
17949
|
+
key: BankDocumentRequirement.DATE_ON_DOCUMENT,
|
|
17950
|
+
options: {
|
|
17951
|
+
values: {
|
|
17952
|
+
number: 12
|
|
17953
|
+
}
|
|
17954
|
+
}
|
|
17955
|
+
});
|
|
17956
|
+
}
|
|
17957
|
+
if (requireStampOrSignature) {
|
|
17958
|
+
requirements2.push({
|
|
17959
|
+
key: BankDocumentRequirement.STAMP_OR_SIGNATURE
|
|
17960
|
+
});
|
|
17961
|
+
}
|
|
17962
|
+
return requirements2;
|
|
17963
|
+
};
|
|
17964
|
+
const BankDocumentRequirements = ({
|
|
17965
|
+
country: country2,
|
|
17966
|
+
documentType: documentType2,
|
|
17967
|
+
documentModifiers
|
|
17968
|
+
}) => {
|
|
17969
|
+
const {
|
|
17970
|
+
i18n
|
|
17971
|
+
} = useI18nContext();
|
|
17972
|
+
return jsxs("div", {
|
|
17973
|
+
className: "adyen-kyc-document-requirements",
|
|
17974
|
+
children: [jsx("strong", {
|
|
17975
|
+
className: "adyen-kyc-document-requirements__subtitle",
|
|
17976
|
+
children: i18n.get("documentRequirements")
|
|
17977
|
+
}), jsx(List, {
|
|
17978
|
+
children: getBankDocumentRequirements(country2, documentType2, documentModifiers).map(({
|
|
17979
|
+
key,
|
|
17980
|
+
options
|
|
17981
|
+
}) => jsx(ListItem, {
|
|
17982
|
+
"data-testid": key,
|
|
17983
|
+
dangerouslySetInnerHTML: {
|
|
17984
|
+
__html: i18n.get(key, options)
|
|
17985
|
+
}
|
|
17986
|
+
}, key))
|
|
17987
|
+
})]
|
|
17988
|
+
});
|
|
17989
|
+
};
|
|
17990
|
+
const bankDocumentValidationRules = {
|
|
17991
|
+
description: {
|
|
17992
|
+
modes: ["blur"],
|
|
17993
|
+
validate: (description2) => description2 ? bankStatementDescriptionPattern.test(description2) : true,
|
|
17994
|
+
errorMessage: "invalidFormatBankStatementDescription"
|
|
17995
|
+
}
|
|
17996
|
+
};
|
|
17997
|
+
const CHARACTERS_LIMIT$1 = 200;
|
|
17998
|
+
const bankDocumentFields = ["bankStatementDocument", "description"];
|
|
17999
|
+
function BankDocument(props) {
|
|
18000
|
+
var _a, _b;
|
|
18001
|
+
const {
|
|
18002
|
+
legalEntity,
|
|
18003
|
+
associatedLegalArrangement,
|
|
18004
|
+
country: country2,
|
|
18005
|
+
optionalFields
|
|
18006
|
+
} = props;
|
|
18007
|
+
const {
|
|
18008
|
+
i18n
|
|
18009
|
+
} = useI18nContext();
|
|
18010
|
+
const [documentType2, setDocumentType] = useState();
|
|
18011
|
+
const stateRef = useRef({
|
|
18012
|
+
setState: null
|
|
18013
|
+
});
|
|
18014
|
+
const isBankStatementOptional = (optionalFields == null ? void 0 : optionalFields.includes("bankStatementDocument")) ?? false;
|
|
18015
|
+
const formUtils = formUtilities(props, i18n);
|
|
18016
|
+
const bankStatementValidationOptions = useMemo(() => ({
|
|
18017
|
+
...defaultFileValidationOptions,
|
|
18018
|
+
isOptional: isBankStatementOptional
|
|
18019
|
+
}), [isBankStatementOptional]);
|
|
18020
|
+
const rules2 = useMemo(() => ({
|
|
18021
|
+
...props.validators || bankDocumentValidationRules,
|
|
18022
|
+
bankStatementDocument: fileValidationRules(bankStatementValidationOptions)
|
|
18023
|
+
}), [bankStatementValidationOptions, props.validators]);
|
|
18024
|
+
const {
|
|
18025
|
+
handleChangeFor,
|
|
18026
|
+
data,
|
|
18027
|
+
setData,
|
|
18028
|
+
valid,
|
|
18029
|
+
fieldProblems,
|
|
18030
|
+
errors,
|
|
18031
|
+
triggerValidation
|
|
18032
|
+
} = useForm({
|
|
18033
|
+
...props,
|
|
18034
|
+
schema: bankDocumentFields,
|
|
18035
|
+
defaultData: props.data,
|
|
18036
|
+
rules: rules2,
|
|
18037
|
+
fieldProblems: props == null ? void 0 : props.fieldValidationErrors,
|
|
18038
|
+
shouldValidate: props == null ? void 0 : props.shouldValidate
|
|
18039
|
+
});
|
|
18040
|
+
const alreadyUploadedDocuments = useMemo(() => {
|
|
18041
|
+
var _a2;
|
|
18042
|
+
return ((_a2 = props.data) == null ? void 0 : _a2.bankStatementDocument) ?? [];
|
|
18043
|
+
}, [(_a = props.data) == null ? void 0 : _a.bankStatementDocument]);
|
|
18044
|
+
const hasAlreadyUploadedDocuments = alreadyUploadedDocuments.length > 0;
|
|
18045
|
+
const usingExistingUploadedDocuments = data.bankStatementDocument && doArraysMatch(alreadyUploadedDocuments, data.bankStatementDocument);
|
|
18046
|
+
useEffect(() => {
|
|
18047
|
+
var _a2;
|
|
18048
|
+
if (hasAlreadyUploadedDocuments) {
|
|
18049
|
+
setData("bankStatementDocument", alreadyUploadedDocuments);
|
|
18050
|
+
if ((_a2 = props.data) == null ? void 0 : _a2.description)
|
|
18051
|
+
setData("description", props.data.description);
|
|
18052
|
+
triggerValidation();
|
|
18053
|
+
}
|
|
18054
|
+
}, [alreadyUploadedDocuments, hasAlreadyUploadedDocuments, (_b = props.data) == null ? void 0 : _b.description, setData, triggerValidation]);
|
|
18055
|
+
useEffect(() => {
|
|
18056
|
+
var _a2, _b2;
|
|
18057
|
+
(_b2 = (_a2 = stateRef.current) == null ? void 0 : _a2.setState) == null ? void 0 : _b2.call(_a2, {
|
|
18058
|
+
type: "addToState",
|
|
18059
|
+
value: {
|
|
18060
|
+
data,
|
|
18061
|
+
valid,
|
|
18062
|
+
errors,
|
|
18063
|
+
fieldProblems,
|
|
18064
|
+
caller: props.id,
|
|
18065
|
+
dataStoreId: props.id,
|
|
18066
|
+
schema: bankDocumentFields
|
|
18067
|
+
}
|
|
18068
|
+
});
|
|
18069
|
+
}, [data, valid, errors, fieldProblems]);
|
|
18070
|
+
const getBankDocumentOptions = () => {
|
|
18071
|
+
let options = bankDocumentOptions;
|
|
18072
|
+
if (country2 !== "FR") {
|
|
18073
|
+
options = options.filter((option) => option.id !== BankDocumentTypes.RELEVE_DIDENTITE);
|
|
18074
|
+
}
|
|
18075
|
+
return options.map(({
|
|
18076
|
+
id: id2,
|
|
18077
|
+
name
|
|
18078
|
+
}) => ({
|
|
18079
|
+
id: id2,
|
|
18080
|
+
name: i18n.get(name)
|
|
18081
|
+
}));
|
|
18082
|
+
};
|
|
18083
|
+
const documentsModifiers = useMemo(() => {
|
|
18084
|
+
var _a2, _b2;
|
|
18085
|
+
return {
|
|
18086
|
+
rootEntityType: legalEntity.type,
|
|
18087
|
+
rootEntityLegalName: getLegalEntityNameBasedOnType(legalEntity),
|
|
18088
|
+
associatedEntityType: associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type,
|
|
18089
|
+
associatedEntityLegalName: (_a2 = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type]) == null ? void 0 : _a2.name,
|
|
18090
|
+
associatedEntityTradingName: (_b2 = associatedLegalArrangement == null ? void 0 : associatedLegalArrangement[associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.type]) == null ? void 0 : _b2.doingBusinessAs
|
|
18091
|
+
};
|
|
18092
|
+
}, [legalEntity, associatedLegalArrangement]);
|
|
18093
|
+
return jsxs("form", {
|
|
18094
|
+
className: "adyen-kyc-bank-document",
|
|
18095
|
+
children: [jsx(StateContextSetter, {
|
|
18096
|
+
owner: props.id,
|
|
18097
|
+
stateRef
|
|
18098
|
+
}), jsx(FormHeader, {
|
|
18099
|
+
heading: props.heading,
|
|
18100
|
+
description: props.description
|
|
18101
|
+
}), jsx(ErrorPanel, {
|
|
18102
|
+
verificationErrors: props == null ? void 0 : props.formVerificationErrors,
|
|
18103
|
+
validationErrors: props == null ? void 0 : props.fieldValidationErrors,
|
|
18104
|
+
formUtils,
|
|
18105
|
+
id: "ariaErrorField"
|
|
18106
|
+
}), formUtils.isVisibleField("bankStatementDocument") && jsxs(Fragment, {
|
|
18107
|
+
children: [!usingExistingUploadedDocuments && jsx(Field, {
|
|
18108
|
+
name: "documentType",
|
|
18109
|
+
label: formUtils.getLabel("bankStatementDocument", "selectDocumentType"),
|
|
18110
|
+
className: "adyen-kyc-bank-document__document-type",
|
|
18111
|
+
children: (childProps) => jsx(Select, {
|
|
18112
|
+
...childProps,
|
|
18113
|
+
onChange: (e) => setDocumentType(e.target.value),
|
|
18114
|
+
name: "documentType",
|
|
18115
|
+
placeholder: i18n.get("selectDocument"),
|
|
18116
|
+
isInvalid: false,
|
|
18117
|
+
items: getBankDocumentOptions(),
|
|
18118
|
+
selected: documentType2
|
|
18119
|
+
})
|
|
18120
|
+
}), documentType2 ? jsxs(Fragment, {
|
|
18121
|
+
children: [country2 ? jsx(BankDocumentRequirements, {
|
|
18122
|
+
country: country2,
|
|
18123
|
+
documentType: documentType2,
|
|
18124
|
+
documentModifiers: documentsModifiers
|
|
18125
|
+
}) : void 0, jsx(DocumentGuidance, {
|
|
18126
|
+
type: DocumentType.BANK_STATEMENT,
|
|
18127
|
+
className: "adl-u-margin-y-24"
|
|
18128
|
+
})]
|
|
18129
|
+
}) : null, documentType2 || usingExistingUploadedDocuments ? jsx(Field, {
|
|
18130
|
+
className: "adyen-kyc-bank-document__document-upload adyen-kyc-upload-field",
|
|
18131
|
+
name: "bankStatementDocument",
|
|
18132
|
+
isValid: valid.bankStatementDocument,
|
|
18133
|
+
children: (childProps) => {
|
|
18134
|
+
var _a2;
|
|
18135
|
+
return jsx(FilePicker, {
|
|
18136
|
+
...childProps,
|
|
18137
|
+
files: data.bankStatementDocument ?? [],
|
|
18138
|
+
setFiles: handleChangeFor("bankStatementDocument"),
|
|
18139
|
+
isValid: valid.bankStatementDocument ?? isBankStatementOptional,
|
|
18140
|
+
errorMessage: (_a2 = errors.bankStatementDocument) == null ? void 0 : _a2.errorMessage,
|
|
18141
|
+
iconPrefix: getDocumentGuidancePrefix(DocumentType.BANK_STATEMENT, true),
|
|
18142
|
+
...bankStatementValidationOptions
|
|
18143
|
+
});
|
|
18144
|
+
}
|
|
18145
|
+
}) : null]
|
|
18146
|
+
}), documentType2 || usingExistingUploadedDocuments ? jsx(Field, {
|
|
18147
|
+
className: "adyen-kyc-bank-document__document-description",
|
|
18148
|
+
name: "description",
|
|
18149
|
+
label: formUtils.getLabel("bankDocumentFileDescription"),
|
|
18150
|
+
errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
|
|
18151
|
+
isValid: valid.description,
|
|
18152
|
+
children: (childProps) => jsx(TextArea, {
|
|
18153
|
+
...childProps,
|
|
18154
|
+
name: "description",
|
|
18155
|
+
value: data.description,
|
|
18156
|
+
classNameModifiers: ["description"],
|
|
18157
|
+
maxLength: CHARACTERS_LIMIT$1,
|
|
18158
|
+
onInput: handleChangeFor("description"),
|
|
18159
|
+
"aria-label": formUtils.getLabel("description"),
|
|
18160
|
+
"aria-invalid": !valid.description
|
|
18161
|
+
})
|
|
18162
|
+
}) : null]
|
|
18163
|
+
});
|
|
18164
|
+
}
|
|
18165
|
+
const BankDocumentComponent = memo(BankDocument, (prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.heading === nextProps.heading);
|
|
17645
18166
|
const AuthContext = createContext(void 0);
|
|
17646
18167
|
const useAuthContext = () => {
|
|
17647
18168
|
const authContext = useContext(AuthContext);
|
|
@@ -17650,7 +18171,6 @@ const useAuthContext = () => {
|
|
|
17650
18171
|
}
|
|
17651
18172
|
return authContext;
|
|
17652
18173
|
};
|
|
17653
|
-
const _actionBar_component = "";
|
|
17654
18174
|
const ActionBar = ({
|
|
17655
18175
|
onNext,
|
|
17656
18176
|
onBack,
|
|
@@ -17790,7 +18310,6 @@ const bankVerificationValidationRules = {
|
|
|
17790
18310
|
errorMessage: "fieldIsRequired"
|
|
17791
18311
|
}
|
|
17792
18312
|
};
|
|
17793
|
-
const BankVerificationWidget$1 = "";
|
|
17794
18313
|
class AdyenKycSdkError extends Error {
|
|
17795
18314
|
constructor(message, sourceError) {
|
|
17796
18315
|
super(message);
|
|
@@ -17810,7 +18329,7 @@ class AdyenKycSdkError extends Error {
|
|
|
17810
18329
|
}
|
|
17811
18330
|
let sdkToken;
|
|
17812
18331
|
let fetchSdkToken;
|
|
17813
|
-
const logger$
|
|
18332
|
+
const logger$k = createLogger("Session");
|
|
17814
18333
|
const setSdkToken = (token) => {
|
|
17815
18334
|
sdkToken = token;
|
|
17816
18335
|
};
|
|
@@ -17828,7 +18347,7 @@ const refreshSession = async () => {
|
|
|
17828
18347
|
} = await fetchSdkToken();
|
|
17829
18348
|
setSdkToken(token);
|
|
17830
18349
|
} catch (e) {
|
|
17831
|
-
logger$
|
|
18350
|
+
logger$k.error("Failed to fetch sdk token", e);
|
|
17832
18351
|
}
|
|
17833
18352
|
};
|
|
17834
18353
|
const addAnimationStartListener = (element, listener) => {
|
|
@@ -17837,7 +18356,7 @@ const addAnimationStartListener = (element, listener) => {
|
|
|
17837
18356
|
const removeAnimationStartListener = (element, listener) => {
|
|
17838
18357
|
element.removeEventListener("animationstart", listener, false);
|
|
17839
18358
|
};
|
|
17840
|
-
const logger$
|
|
18359
|
+
const logger$j = createLogger("Fetch");
|
|
17841
18360
|
const getRequestObject = (options, data) => {
|
|
17842
18361
|
const {
|
|
17843
18362
|
headers = [],
|
|
@@ -17884,10 +18403,10 @@ const logFetchError = (message, level) => {
|
|
|
17884
18403
|
case "info":
|
|
17885
18404
|
case "warn":
|
|
17886
18405
|
case "error":
|
|
17887
|
-
logger$
|
|
18406
|
+
logger$j[level](message);
|
|
17888
18407
|
break;
|
|
17889
18408
|
default:
|
|
17890
|
-
logger$
|
|
18409
|
+
logger$j.error(message);
|
|
17891
18410
|
}
|
|
17892
18411
|
};
|
|
17893
18412
|
const handleFetchResponse = async (response, responseType) => {
|
|
@@ -17978,7 +18497,7 @@ const RELEVANT_MESSAGE_TYPES = ["account_verification_report_id", "error"];
|
|
|
17978
18497
|
const TERMINAL_DATA_PROPS = ["accounts", "error", "reference"];
|
|
17979
18498
|
const MOUNT_TIMEOUT = 10 * 1e3;
|
|
17980
18499
|
const TINK_VENDOR = "Tink";
|
|
17981
|
-
const logger$
|
|
18500
|
+
const logger$i = createLogger("iframeWidget");
|
|
17982
18501
|
const isObjectData = (data) => typeof data === "object" && !Array.isArray(data) && data !== null;
|
|
17983
18502
|
const isTerminalMessageData = (data) => isObjectData(data) && Object.entries(data).some(([prop]) => TERMINAL_DATA_PROPS.includes(prop));
|
|
17984
18503
|
const parseMessageJson = (message) => {
|
|
@@ -17997,7 +18516,7 @@ const callbackErrorHandler = async (response) => {
|
|
|
17997
18516
|
try {
|
|
17998
18517
|
await response;
|
|
17999
18518
|
} catch (ex) {
|
|
18000
|
-
logger$
|
|
18519
|
+
logger$i.error(ex);
|
|
18001
18520
|
}
|
|
18002
18521
|
return {
|
|
18003
18522
|
error: "UNKNOWN_ERROR",
|
|
@@ -18106,7 +18625,7 @@ class IFrameWidget {
|
|
|
18106
18625
|
message = responseData.errorMessage;
|
|
18107
18626
|
}
|
|
18108
18627
|
} catch (ex) {
|
|
18109
|
-
logger$
|
|
18628
|
+
logger$i.error(ex);
|
|
18110
18629
|
}
|
|
18111
18630
|
throw new AdyenKycSdkError(reason, jsonData.error);
|
|
18112
18631
|
}
|
|
@@ -18294,7 +18813,7 @@ function BankVerificationWidget({
|
|
|
18294
18813
|
ref: widgetContainerRef
|
|
18295
18814
|
});
|
|
18296
18815
|
}
|
|
18297
|
-
const logger$
|
|
18816
|
+
const logger$h = createLogger("BankVerification");
|
|
18298
18817
|
const accountVerificationFields = ["verifiedAccountHolder", "verifiedBankCountry", "verifiedBankName", "verifiedCurrencyCode", "verifiedBankAccountNumber"];
|
|
18299
18818
|
const InstantVerificationErrorContext = createContext(null);
|
|
18300
18819
|
const useInstantVerificationErrorNotification = (notificationVisibilityDuration) => {
|
|
@@ -18328,7 +18847,7 @@ const usePreferredVendorForCountry = (country2, getBankVerificationVendors) => {
|
|
|
18328
18847
|
const vendor = vendors[0];
|
|
18329
18848
|
setPreferredVendor(vendor.name ? vendor : void 0);
|
|
18330
18849
|
};
|
|
18331
|
-
getPreferredVendor().catch(logger$
|
|
18850
|
+
getPreferredVendor().catch(logger$h.error);
|
|
18332
18851
|
}, [country2, getBankVerificationVendors]);
|
|
18333
18852
|
return preferredVendor;
|
|
18334
18853
|
};
|
|
@@ -18529,7 +19048,6 @@ function BankVerification(props) {
|
|
|
18529
19048
|
});
|
|
18530
19049
|
}
|
|
18531
19050
|
const BankVerification$1 = memo(BankVerification);
|
|
18532
|
-
const PayoutAccount$1 = "";
|
|
18533
19051
|
const countriesWithMultipleCurrencies = /* @__PURE__ */ new Set([CountryCodes.Bulgaria, CountryCodes.Canada, CountryCodes.Croatia, CountryCodes.CzechRepublic, CountryCodes.Hungary, CountryCodes.Romania, CountryCodes.Switzerland]);
|
|
18534
19052
|
const countriesWithLocalFormat = /* @__PURE__ */ new Set([CountryCodes.Denmark, CountryCodes.Norway, CountryCodes.Poland, CountryCodes.Sweden, CountryCodes.UnitedKingdom]);
|
|
18535
19053
|
const payoutCurrencySupport = {
|
|
@@ -19103,70 +19621,70 @@ function BranchCode(props) {
|
|
|
19103
19621
|
}
|
|
19104
19622
|
const currencyFields = ["currency"];
|
|
19105
19623
|
const bbanPatternsByCountry = {
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19109
|
-
|
|
19110
|
-
|
|
19111
|
-
|
|
19112
|
-
|
|
19113
|
-
|
|
19114
|
-
|
|
19115
|
-
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
|
|
19119
|
-
|
|
19120
|
-
|
|
19121
|
-
|
|
19122
|
-
|
|
19123
|
-
|
|
19124
|
-
|
|
19125
|
-
|
|
19126
|
-
|
|
19127
|
-
|
|
19128
|
-
|
|
19129
|
-
|
|
19130
|
-
|
|
19131
|
-
|
|
19132
|
-
|
|
19133
|
-
|
|
19134
|
-
|
|
19135
|
-
|
|
19136
|
-
|
|
19137
|
-
|
|
19138
|
-
|
|
19139
|
-
|
|
19140
|
-
|
|
19141
|
-
|
|
19142
|
-
|
|
19143
|
-
|
|
19144
|
-
|
|
19145
|
-
|
|
19146
|
-
|
|
19147
|
-
|
|
19148
|
-
|
|
19149
|
-
|
|
19150
|
-
|
|
19151
|
-
|
|
19152
|
-
|
|
19153
|
-
|
|
19154
|
-
|
|
19155
|
-
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
|
|
19160
|
-
|
|
19161
|
-
|
|
19162
|
-
|
|
19163
|
-
|
|
19164
|
-
|
|
19165
|
-
|
|
19166
|
-
|
|
19167
|
-
|
|
19168
|
-
|
|
19169
|
-
|
|
19624
|
+
[CountryCodes.Albania]: /\d{8}[\dA-Z]{16}/,
|
|
19625
|
+
[CountryCodes.Andorra]: /\d{8}[\dA-Z]{12}/,
|
|
19626
|
+
[CountryCodes.Austria]: /\d{16}/,
|
|
19627
|
+
[CountryCodes.Azerbaijan]: /[\dA-Z]{4}\d{20}/,
|
|
19628
|
+
[CountryCodes.Belgium]: /\d{12}/,
|
|
19629
|
+
[CountryCodes.Bahrain]: /[A-Z]{4}[\dA-Z]{14}/,
|
|
19630
|
+
[CountryCodes.BosniaAndHerzegovina]: /\d{16}/,
|
|
19631
|
+
[CountryCodes.Brazil]: /\d{23}[A-Z][\dA-Z]/,
|
|
19632
|
+
[CountryCodes.Bulgaria]: /[A-Z]{4}\d{6}[\dA-Z]{8}/,
|
|
19633
|
+
[CountryCodes.CostaRica]: /\d{17}/,
|
|
19634
|
+
[CountryCodes.Croatia]: /\d{17}/,
|
|
19635
|
+
[CountryCodes.Cyprus]: /\d{8}[\dA-Z]{16}/,
|
|
19636
|
+
[CountryCodes.CzechRepublic]: /\d{20}/,
|
|
19637
|
+
[CountryCodes.Denmark]: /\d{14}/,
|
|
19638
|
+
[CountryCodes.DominicanRepublic]: /[A-Z]{4}\d{20}/,
|
|
19639
|
+
[CountryCodes.Estonia]: /\d{16}/,
|
|
19640
|
+
[CountryCodes.FaroeIslands]: /\d{14}/,
|
|
19641
|
+
[CountryCodes.Finland]: /\d{14}/,
|
|
19642
|
+
[CountryCodes.France]: /\d{10}[\dA-Z]{11}\d{2}/,
|
|
19643
|
+
[CountryCodes.Georgia]: /[\dA-Z]{2}\d{16}/,
|
|
19644
|
+
[CountryCodes.Germany]: /\d{18}/,
|
|
19645
|
+
[CountryCodes.Gibraltar]: /[A-Z]{4}[\dA-Z]{15}/,
|
|
19646
|
+
[CountryCodes.Greece]: /\d{7}[\dA-Z]{16}/,
|
|
19647
|
+
[CountryCodes.Greenland]: /\d{14}/,
|
|
19648
|
+
[CountryCodes.Guatemala]: /[\dA-Z]{4}[\dA-Z]{20}/,
|
|
19649
|
+
[CountryCodes.Hungary]: /\d{24}/,
|
|
19650
|
+
[CountryCodes.Iceland]: /\d{22}/,
|
|
19651
|
+
[CountryCodes.Ireland]: /[\dA-Z]{4}\d{14}/,
|
|
19652
|
+
[CountryCodes.Israel]: /\d{19}/,
|
|
19653
|
+
[CountryCodes.Italy]: /[A-Z]\d{10}[\dA-Z]{12}/,
|
|
19654
|
+
[CountryCodes.Kazakhstan]: /\d{3}[\dA-Z]{13}/,
|
|
19655
|
+
[CountryCodes.Kuwait]: /[A-Z]{4}[\dA-Z]{22}/,
|
|
19656
|
+
[CountryCodes.Latvia]: /[A-Z]{4}[\dA-Z]{13}/,
|
|
19657
|
+
[CountryCodes.Lebanon]: /\d{4}[\dA-Z]{20}/,
|
|
19658
|
+
[CountryCodes.Liechtenstein]: /\d{5}[\dA-Z]{12}/,
|
|
19659
|
+
[CountryCodes.Lithuania]: /\d{16}/,
|
|
19660
|
+
[CountryCodes.Luxembourg]: /\d{3}[\dA-Z]{13}/,
|
|
19661
|
+
[CountryCodes.Macedonia]: /\d{3}[\dA-Z]{10}\d{2}/,
|
|
19662
|
+
[CountryCodes.Malta]: /[A-Z]{4}\d{5}[\dA-Z]{18}/,
|
|
19663
|
+
[CountryCodes.Mauritania]: /\d{23}/,
|
|
19664
|
+
[CountryCodes.Mauritius]: /[A-Z]{4}\d{19}[A-Z]{3}/,
|
|
19665
|
+
[CountryCodes.Monaco]: /\d{10}[\dA-Z]{11}\d{2}/,
|
|
19666
|
+
[CountryCodes.Moldova]: /[\dA-Z]{2}\d{18}/,
|
|
19667
|
+
[CountryCodes.Montenegro]: /\d{18}/,
|
|
19668
|
+
[CountryCodes.Netherlands]: /[A-Z]{4}\d{10}/,
|
|
19669
|
+
[CountryCodes.Norway]: /\d{11}/,
|
|
19670
|
+
[CountryCodes.Pakistan]: /[\dA-Z]{4}\d{16}/,
|
|
19671
|
+
[CountryCodes.PalestinianTerritory]: /[\dA-Z]{4}\d{21}/,
|
|
19672
|
+
[CountryCodes.Poland]: /\d{24}/,
|
|
19673
|
+
[CountryCodes.Portugal]: /\d{21}/,
|
|
19674
|
+
[CountryCodes.Romania]: /[A-Z]{4}[\dA-Z]{16}/,
|
|
19675
|
+
[CountryCodes.SanMarino]: /[A-Z]\d{10}[\dA-Z]{12}/,
|
|
19676
|
+
[CountryCodes.SaudiArabia]: /\d{2}[\dA-Z]{18}/,
|
|
19677
|
+
[CountryCodes.Serbia]: /\d{18}/,
|
|
19678
|
+
[CountryCodes.Slovakia]: /\d{20}/,
|
|
19679
|
+
[CountryCodes.Slovenia]: /\d{15}/,
|
|
19680
|
+
[CountryCodes.Spain]: /\d{20}/,
|
|
19681
|
+
[CountryCodes.Sweden]: /\d{20}/,
|
|
19682
|
+
[CountryCodes.Switzerland]: /\d{5}[\dA-Z]{12}/,
|
|
19683
|
+
[CountryCodes.Tunisia]: /\d{20}/,
|
|
19684
|
+
[CountryCodes.Turkey]: /\d{5}[\dA-Z]{17}/,
|
|
19685
|
+
[CountryCodes.UnitedArabEmirates]: /\d{3}\d{16}/,
|
|
19686
|
+
[CountryCodes.UnitedKingdom]: /[A-Z]{4}\d{14}/,
|
|
19687
|
+
[CountryCodes.VirginIslandsBritish]: /[\dA-Z]{4}\d{16}/
|
|
19170
19688
|
};
|
|
19171
19689
|
const customPrefixByCountry = {
|
|
19172
19690
|
[CountryCodes.Guernsey]: "GB",
|
|
@@ -19225,29 +19743,26 @@ const validateIbanOnBlurAndInput = (country2) => ({
|
|
|
19225
19743
|
return typeof result === "boolean" ? void 0 : result;
|
|
19226
19744
|
}
|
|
19227
19745
|
});
|
|
19228
|
-
const ibanMask = (country2, inputLength,
|
|
19746
|
+
const ibanMask = (country2, inputLength, allowLettersInBban) => {
|
|
19229
19747
|
const tokens = [];
|
|
19230
19748
|
tokens.push(...nonInputs(country2, {
|
|
19231
19749
|
includeInValue: true
|
|
19232
19750
|
}), ...numericInputs(2));
|
|
19233
19751
|
inputLength -= 2;
|
|
19234
|
-
|
|
19235
|
-
tokens.push(spacer, ...alphaInputs(4));
|
|
19236
|
-
inputLength -= 4;
|
|
19237
|
-
}
|
|
19752
|
+
const inputToken = allowLettersInBban ? alphanumericInputs : numericInputs;
|
|
19238
19753
|
const numGroups = Math.floor(inputLength / 4);
|
|
19239
19754
|
const remainder = inputLength % 4;
|
|
19240
19755
|
for (let i = 0; i < numGroups; i += 1) {
|
|
19241
|
-
tokens.push(spacer, ...
|
|
19756
|
+
tokens.push(spacer, ...inputToken(4));
|
|
19242
19757
|
}
|
|
19243
19758
|
if (remainder > 0) {
|
|
19244
|
-
tokens.push(spacer, ...
|
|
19759
|
+
tokens.push(spacer, ...inputToken(remainder));
|
|
19245
19760
|
}
|
|
19246
19761
|
return {
|
|
19247
19762
|
mask: {
|
|
19248
19763
|
tokens
|
|
19249
19764
|
},
|
|
19250
|
-
transformOnType:
|
|
19765
|
+
transformOnType: allowLettersInBban ? uppercase : void 0
|
|
19251
19766
|
};
|
|
19252
19767
|
};
|
|
19253
19768
|
const ibanGuidance = (type, numDigitsOrChars, example) => type === "digits" ? {
|
|
@@ -19263,11 +19778,11 @@ const ibanGuidance = (type, numDigitsOrChars, example) => type === "digits" ? {
|
|
|
19263
19778
|
example
|
|
19264
19779
|
}
|
|
19265
19780
|
};
|
|
19266
|
-
const ibanMetadata = (country2, inputLength, example,
|
|
19781
|
+
const ibanMetadata = (country2, inputLength, example, allowLettersInBban) => ({
|
|
19267
19782
|
label: "iban",
|
|
19268
19783
|
validators: validateIbanOnBlurAndInput(country2),
|
|
19269
|
-
mask: ibanMask(country2, inputLength,
|
|
19270
|
-
guidanceText: ibanGuidance(
|
|
19784
|
+
mask: ibanMask(country2, inputLength, allowLettersInBban),
|
|
19785
|
+
guidanceText: ibanGuidance(allowLettersInBban ? "characters" : "digits", inputLength, example)
|
|
19271
19786
|
});
|
|
19272
19787
|
const gbIbanMetadata = ibanMetadata(CountryCodes.UnitedKingdom, 20, "GB09 BARC 2003 9554 8297 59", true);
|
|
19273
19788
|
const defaultFieldMetadata$1 = {
|
|
@@ -19295,65 +19810,24 @@ const defaultFieldConfig$1 = {
|
|
|
19295
19810
|
[CountryCodes.Slovenia]: ibanMetadata(CountryCodes.Slovenia, 17, "SI56 1920 0123 4567 892"),
|
|
19296
19811
|
[CountryCodes.Spain]: ibanMetadata(CountryCodes.Spain, 22, "ES76 1465 5599 9226 7623 2635"),
|
|
19297
19812
|
[CountryCodes.Sweden]: ibanMetadata(CountryCodes.Sweden, 22, "SE72 8000 0810 3400 0978 3242"),
|
|
19298
|
-
|
|
19299
|
-
// These include 4-letter bank codes
|
|
19813
|
+
// These include letters in the BBAN (bank account number)
|
|
19300
19814
|
[CountryCodes.Bulgaria]: ibanMetadata(CountryCodes.Bulgaria, 20, "BG17 BNPA 9440 4432 7749 93", true),
|
|
19815
|
+
[CountryCodes.France]: ibanMetadata(CountryCodes.France, 25, "FR64 1009 6000 4035 3425 9742 Y90", true),
|
|
19301
19816
|
[CountryCodes.Gibraltar]: ibanMetadata(CountryCodes.Gibraltar, 21, "GI96 JYJT 9899 9587 8655 898", true),
|
|
19302
19817
|
[CountryCodes.Ireland]: ibanMetadata(CountryCodes.Ireland, 20, "IE64 IRCE 9205 0112 3456 78", true),
|
|
19818
|
+
[CountryCodes.Italy]: ibanMetadata(CountryCodes.Italy, 25, "IT06 L030 0203 2809 8485 8934 882", true),
|
|
19303
19819
|
[CountryCodes.Latvia]: ibanMetadata(CountryCodes.Latvia, 19, "LV80 BANK 0000 4351 9500 1", true),
|
|
19820
|
+
[CountryCodes.Liechtenstein]: ibanMetadata(CountryCodes.Liechtenstein, 19, "LI21 0881 0000 2324 013A A", true),
|
|
19304
19821
|
[CountryCodes.Malta]: ibanMetadata(CountryCodes.Malta, 29, "MT03 VIXW 2487 8926 8575 8586 8929 858", true),
|
|
19822
|
+
[CountryCodes.Monaco]: ibanMetadata(CountryCodes.Monaco, 25, "MC58 1122 2000 0101 2345 6789 030", true),
|
|
19305
19823
|
[CountryCodes.Netherlands]: ibanMetadata(CountryCodes.Netherlands, 16, "NL50 ABNA 4452 7591 49", true),
|
|
19306
19824
|
[CountryCodes.Romania]: ibanMetadata(CountryCodes.Romania, 22, "RO36 PORL 9596 9966 4965 4284", true),
|
|
19825
|
+
[CountryCodes.Switzerland]: ibanMetadata(CountryCodes.Switzerland, 19, "CH56 0483 5012 3456 7800 9", true),
|
|
19307
19826
|
[CountryCodes.UnitedKingdom]: gbIbanMetadata,
|
|
19308
19827
|
// IBANs for Guernsey, Jersey, and Isle of Man also use United Kingdom's format (starting with `GB`)
|
|
19309
19828
|
[CountryCodes.Guernsey]: gbIbanMetadata,
|
|
19310
19829
|
[CountryCodes.Jersey]: gbIbanMetadata,
|
|
19311
|
-
[CountryCodes.IsleOfMan]: gbIbanMetadata
|
|
19312
|
-
// These are a little bit different
|
|
19313
|
-
[CountryCodes.France]: {
|
|
19314
|
-
label: "iban",
|
|
19315
|
-
validators: validateIbanOnBlurAndInput(CountryCodes.France),
|
|
19316
|
-
mask: {
|
|
19317
|
-
mask: makeMask(...nonInputs("FR", {
|
|
19318
|
-
includeInValue: true
|
|
19319
|
-
}), ...numericInputs(2), spacer, ...numericInputs(4), spacer, ...numericInputs(4), spacer, ...numericInputs(2), ...alphanumericInputs(2), spacer, ...alphanumericInputs(4), spacer, ...alphanumericInputs(4), spacer, ...alphanumericInputs(1), ...numericInputs(2)),
|
|
19320
|
-
transformOnType: uppercase
|
|
19321
|
-
},
|
|
19322
|
-
guidanceText: ibanGuidance("characters", 25, "FR64 1009 6000 4035 3425 9742 Y90")
|
|
19323
|
-
},
|
|
19324
|
-
[CountryCodes.Italy]: {
|
|
19325
|
-
label: "iban",
|
|
19326
|
-
validators: validateIbanOnBlurAndInput(CountryCodes.Italy),
|
|
19327
|
-
mask: {
|
|
19328
|
-
mask: makeMask(...nonInputs("IT", {
|
|
19329
|
-
includeInValue: true
|
|
19330
|
-
}), ...numericInputs(2), spacer, ...alphaInputs(1), ...numericInputs(3), spacer, ...numericInputs(4), spacer, ...numericInputs(4), spacer, ...numericInputs(4), spacer, ...numericInputs(4), spacer, ...numericInputs(3)),
|
|
19331
|
-
transformOnType: uppercase
|
|
19332
|
-
},
|
|
19333
|
-
guidanceText: ibanGuidance("characters", 25, "IT06 L030 0203 2809 8485 8934 882")
|
|
19334
|
-
},
|
|
19335
|
-
[CountryCodes.Liechtenstein]: {
|
|
19336
|
-
label: "iban",
|
|
19337
|
-
validators: validateIbanOnBlurAndInput(CountryCodes.Liechtenstein),
|
|
19338
|
-
mask: {
|
|
19339
|
-
mask: makeMask(...nonInputs("LI", {
|
|
19340
|
-
includeInValue: true
|
|
19341
|
-
}), ...numericInputs(2), spacer, ...numericInputs(4), spacer, ...numericInputs(1), ...alphanumericInputs(3), spacer, ...alphanumericInputs(4), spacer, ...alphanumericInputs(3), ...alphanumericInputs(1), spacer, ...alphanumericInputs(1)),
|
|
19342
|
-
transformOnType: uppercase
|
|
19343
|
-
},
|
|
19344
|
-
guidanceText: ibanGuidance("characters", 19, "LI21 0881 0000 2324 013A A")
|
|
19345
|
-
},
|
|
19346
|
-
[CountryCodes.Monaco]: {
|
|
19347
|
-
label: "iban",
|
|
19348
|
-
validators: validateIbanOnBlurAndInput(CountryCodes.Monaco),
|
|
19349
|
-
mask: {
|
|
19350
|
-
mask: makeMask(...nonInputs("MC", {
|
|
19351
|
-
includeInValue: true
|
|
19352
|
-
}), ...numericInputs(2), spacer, ...numericInputs(4), spacer, ...numericInputs(4), spacer, ...numericInputs(2), ...alphanumericInputs(2), spacer, ...alphanumericInputs(4), spacer, ...alphanumericInputs(4), spacer, ...alphanumericInputs(1), ...numericInputs(2)),
|
|
19353
|
-
transformOnType: uppercase
|
|
19354
|
-
},
|
|
19355
|
-
guidanceText: ibanGuidance("characters", 25, "MC58 1122 2000 0101 2345 6789 030")
|
|
19356
|
-
}
|
|
19830
|
+
[CountryCodes.IsleOfMan]: gbIbanMetadata
|
|
19357
19831
|
};
|
|
19358
19832
|
const ibanFields = ["iban"];
|
|
19359
19833
|
function Iban(props) {
|
|
@@ -19608,432 +20082,6 @@ function PayoutAccountComponent(props) {
|
|
|
19608
20082
|
});
|
|
19609
20083
|
}
|
|
19610
20084
|
const PayoutAccount = memo(PayoutAccountComponent, (prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate);
|
|
19611
|
-
const PayoutBankStatement$1 = "";
|
|
19612
|
-
function FilePicker({
|
|
19613
|
-
files,
|
|
19614
|
-
setFiles,
|
|
19615
|
-
isValid,
|
|
19616
|
-
errorMessage,
|
|
19617
|
-
multiple = false,
|
|
19618
|
-
label,
|
|
19619
|
-
iconPrefix = "generic-document",
|
|
19620
|
-
// file validation options
|
|
19621
|
-
allowedFileTypes,
|
|
19622
|
-
maxSize,
|
|
19623
|
-
isOptional,
|
|
19624
|
-
maxNumberOfFiles
|
|
19625
|
-
}) {
|
|
19626
|
-
const {
|
|
19627
|
-
i18n
|
|
19628
|
-
} = useI18nContext();
|
|
19629
|
-
const fileInput = useRef(null);
|
|
19630
|
-
const [dragged, setDragged] = useState(false);
|
|
19631
|
-
const hasRequiredError = errorMessage === "fieldIsRequired";
|
|
19632
|
-
const showDropzone = files.length < maxNumberOfFiles;
|
|
19633
|
-
const openFilePicker = () => {
|
|
19634
|
-
var _a;
|
|
19635
|
-
return (_a = fileInput.current) == null ? void 0 : _a.click();
|
|
19636
|
-
};
|
|
19637
|
-
const handleFileDelete = (fileToDelete) => setFiles(files.filter((file) => file !== fileToDelete));
|
|
19638
|
-
const handleDragEnter = (e) => {
|
|
19639
|
-
e.preventDefault();
|
|
19640
|
-
e.stopPropagation();
|
|
19641
|
-
};
|
|
19642
|
-
const handleDragLeave = (e) => {
|
|
19643
|
-
e.preventDefault();
|
|
19644
|
-
e.stopPropagation();
|
|
19645
|
-
setDragged(false);
|
|
19646
|
-
};
|
|
19647
|
-
const handleDragOver = (e) => {
|
|
19648
|
-
e.preventDefault();
|
|
19649
|
-
e.stopPropagation();
|
|
19650
|
-
setDragged(true);
|
|
19651
|
-
};
|
|
19652
|
-
const handleDrop = (e) => {
|
|
19653
|
-
e.preventDefault();
|
|
19654
|
-
e.stopPropagation();
|
|
19655
|
-
if (e.dataTransfer)
|
|
19656
|
-
addFiles(e.dataTransfer.files);
|
|
19657
|
-
setDragged(false);
|
|
19658
|
-
};
|
|
19659
|
-
const handleFilesChosen = (e) => {
|
|
19660
|
-
const fileInput2 = e.target;
|
|
19661
|
-
if (fileInput2.files)
|
|
19662
|
-
addFiles(fileInput2.files);
|
|
19663
|
-
};
|
|
19664
|
-
const addFiles = (newFiles) => {
|
|
19665
|
-
setFiles([...newFiles, ...files]);
|
|
19666
|
-
};
|
|
19667
|
-
const allowedFileTypesString = allowedFileTypes.join(", ");
|
|
19668
|
-
return jsxs("div", {
|
|
19669
|
-
children: [label && jsx("div", {
|
|
19670
|
-
className: cx("adyen-kyc-label__text", {
|
|
19671
|
-
"adyen-kyc-label__text--error": hasRequiredError
|
|
19672
|
-
}),
|
|
19673
|
-
children: label
|
|
19674
|
-
}), files.map((file) => jsx(DropzoneFile, {
|
|
19675
|
-
file,
|
|
19676
|
-
onDelete: () => handleFileDelete(file),
|
|
19677
|
-
errorMessage,
|
|
19678
|
-
iconPrefix
|
|
19679
|
-
}, file)), showDropzone && jsxs("div", {
|
|
19680
|
-
role: "region",
|
|
19681
|
-
className: cx("adyen-kyc-dropzone", {
|
|
19682
|
-
"adyen-kyc-dropzone--dragged": dragged,
|
|
19683
|
-
"adyen-kyc-dropzone--error": !dragged && hasRequiredError
|
|
19684
|
-
}),
|
|
19685
|
-
onDrop: handleDrop,
|
|
19686
|
-
onDragOver: handleDragOver,
|
|
19687
|
-
onDragEnter: handleDragEnter,
|
|
19688
|
-
onDragLeave: handleDragLeave,
|
|
19689
|
-
children: [jsx("div", {
|
|
19690
|
-
className: "adyen-kyc-dropzone__icon",
|
|
19691
|
-
children: jsx("svg", {
|
|
19692
|
-
height: "100%",
|
|
19693
|
-
width: "100%",
|
|
19694
|
-
children: jsx("use", {
|
|
19695
|
-
href: `#adl-${iconPrefix}-icon`
|
|
19696
|
-
})
|
|
19697
|
-
})
|
|
19698
|
-
}), jsxs("div", {
|
|
19699
|
-
className: "adyen-kyc-dropzone__labels",
|
|
19700
|
-
children: [jsxs("div", {
|
|
19701
|
-
className: "adyen-kyc-dropzone__drag-text",
|
|
19702
|
-
children: [jsxs("span", {
|
|
19703
|
-
children: [i18n.get("dragYourFilesHereOr"), " "]
|
|
19704
|
-
}), jsx("button", {
|
|
19705
|
-
className: "adyen-kyc-dropzone__button",
|
|
19706
|
-
type: "button",
|
|
19707
|
-
onClick: openFilePicker,
|
|
19708
|
-
children: i18n.get("browse")
|
|
19709
|
-
})]
|
|
19710
|
-
}), jsx("div", {
|
|
19711
|
-
className: "adyen-kyc-dropzone__supports-text",
|
|
19712
|
-
children: i18n.get("supports", {
|
|
19713
|
-
values: {
|
|
19714
|
-
fileTypes: allowedFileTypesString,
|
|
19715
|
-
maxSize: bytesToSize(maxSize),
|
|
19716
|
-
maxFiles: maxNumberOfFiles
|
|
19717
|
-
}
|
|
19718
|
-
})
|
|
19719
|
-
})]
|
|
19720
|
-
}), jsx("input", {
|
|
19721
|
-
className: "adyen-kyc-dropzone__input",
|
|
19722
|
-
ref: fileInput,
|
|
19723
|
-
multiple,
|
|
19724
|
-
accept: allowedFileTypesString,
|
|
19725
|
-
onChange: handleFilesChosen,
|
|
19726
|
-
type: "file",
|
|
19727
|
-
"aria-required": !isOptional,
|
|
19728
|
-
"aria-label": label,
|
|
19729
|
-
"aria-invalid": !isValid
|
|
19730
|
-
})]
|
|
19731
|
-
}), hasRequiredError && jsx("div", {
|
|
19732
|
-
className: "adyen-kyc-error-text",
|
|
19733
|
-
children: i18n.get("fieldIsRequired")
|
|
19734
|
-
})]
|
|
19735
|
-
});
|
|
19736
|
-
}
|
|
19737
|
-
var BankDocumentTypes = /* @__PURE__ */ ((BankDocumentTypes2) => {
|
|
19738
|
-
BankDocumentTypes2["BANK_STATEMENT"] = "bankStatement";
|
|
19739
|
-
BankDocumentTypes2["DEPOSIT_TICKET"] = "depositTicket";
|
|
19740
|
-
BankDocumentTypes2["SCREENSHOT_OF_BANK"] = "screenshotOfOnlineBankingEnviroment";
|
|
19741
|
-
BankDocumentTypes2["OFFICIAL_EMAIL"] = "officialEmailOrALetterFromYourBank";
|
|
19742
|
-
BankDocumentTypes2["CHEQUES"] = "cheques";
|
|
19743
|
-
BankDocumentTypes2["RELEVE_DIDENTITE"] = "releveDidentiteBancaire";
|
|
19744
|
-
return BankDocumentTypes2;
|
|
19745
|
-
})(BankDocumentTypes || {});
|
|
19746
|
-
const bankDocumentOptions = [{
|
|
19747
|
-
id: "bankStatement",
|
|
19748
|
-
name: "bankStatement"
|
|
19749
|
-
}, {
|
|
19750
|
-
id: "depositTicket",
|
|
19751
|
-
name: "depositTicket"
|
|
19752
|
-
}, {
|
|
19753
|
-
id: "screenshotOfOnlineBankingEnviroment",
|
|
19754
|
-
name: "screenshotOfOnlineBankingEnviroment"
|
|
19755
|
-
}, {
|
|
19756
|
-
id: "officialEmailOrALetterFromYourBank",
|
|
19757
|
-
name: "officialEmailOrALetterFromYourBank"
|
|
19758
|
-
}, {
|
|
19759
|
-
id: "cheques",
|
|
19760
|
-
name: "cheques"
|
|
19761
|
-
}, {
|
|
19762
|
-
id: "releveDidentiteBancaire",
|
|
19763
|
-
name: "releveDidentiteBancaire"
|
|
19764
|
-
}];
|
|
19765
|
-
var BankDocumentRequirement = /* @__PURE__ */ ((BankDocumentRequirement2) => {
|
|
19766
|
-
BankDocumentRequirement2["ACCOUNT_HOLDER"] = "accountHolderNameMatchesWithBusinessOrTradingName";
|
|
19767
|
-
BankDocumentRequirement2["ACCOUNT_NUMBER_OR_IBAN"] = "accountNumberOrIbanVisible";
|
|
19768
|
-
BankDocumentRequirement2["ACCOUNT_NUMBER"] = "accountNumberVisible";
|
|
19769
|
-
BankDocumentRequirement2["ROUTING_NUMBER"] = "routingNumberVisible";
|
|
19770
|
-
BankDocumentRequirement2["DATE_ON_DOCUMENT"] = "dateOnDocumentNoOlderThanXMonths";
|
|
19771
|
-
BankDocumentRequirement2["COUNTRY_OF_BANK"] = "showsCountryOfBankAccount";
|
|
19772
|
-
BankDocumentRequirement2["OFFICIAL_DOCUMENT"] = "hasToBeOfficialDocumentFromBank";
|
|
19773
|
-
BankDocumentRequirement2["STAMP_OR_SIGNATURE"] = "hasBankStampOrBankSignature";
|
|
19774
|
-
return BankDocumentRequirement2;
|
|
19775
|
-
})(BankDocumentRequirement || {});
|
|
19776
|
-
const getBankDocumentRequirements = (country2, documentType2) => {
|
|
19777
|
-
const requireStampOrSignature = documentType2 === BankDocumentTypes.DEPOSIT_TICKET || documentType2 === BankDocumentTypes.OFFICIAL_EMAIL;
|
|
19778
|
-
switch (country2) {
|
|
19779
|
-
case CountryCodes.UnitedStates:
|
|
19780
|
-
return requireStampOrSignature ? [{
|
|
19781
|
-
key: BankDocumentRequirement.ACCOUNT_HOLDER
|
|
19782
|
-
}, {
|
|
19783
|
-
key: BankDocumentRequirement.ACCOUNT_NUMBER
|
|
19784
|
-
}, {
|
|
19785
|
-
key: BankDocumentRequirement.ROUTING_NUMBER
|
|
19786
|
-
}, {
|
|
19787
|
-
key: BankDocumentRequirement.DATE_ON_DOCUMENT,
|
|
19788
|
-
options: {
|
|
19789
|
-
values: {
|
|
19790
|
-
numberOfMonths: 12
|
|
19791
|
-
}
|
|
19792
|
-
}
|
|
19793
|
-
}, {
|
|
19794
|
-
key: BankDocumentRequirement.OFFICIAL_DOCUMENT
|
|
19795
|
-
}, {
|
|
19796
|
-
key: BankDocumentRequirement.STAMP_OR_SIGNATURE
|
|
19797
|
-
}] : [{
|
|
19798
|
-
key: BankDocumentRequirement.ACCOUNT_HOLDER
|
|
19799
|
-
}, {
|
|
19800
|
-
key: BankDocumentRequirement.ACCOUNT_NUMBER
|
|
19801
|
-
}, {
|
|
19802
|
-
key: BankDocumentRequirement.ROUTING_NUMBER
|
|
19803
|
-
}, {
|
|
19804
|
-
key: BankDocumentRequirement.DATE_ON_DOCUMENT,
|
|
19805
|
-
options: {
|
|
19806
|
-
values: {
|
|
19807
|
-
numberOfMonths: 12
|
|
19808
|
-
}
|
|
19809
|
-
}
|
|
19810
|
-
}, {
|
|
19811
|
-
key: BankDocumentRequirement.OFFICIAL_DOCUMENT
|
|
19812
|
-
}];
|
|
19813
|
-
default:
|
|
19814
|
-
return requireStampOrSignature ? [{
|
|
19815
|
-
key: BankDocumentRequirement.ACCOUNT_HOLDER
|
|
19816
|
-
}, {
|
|
19817
|
-
key: BankDocumentRequirement.ACCOUNT_NUMBER_OR_IBAN
|
|
19818
|
-
}, {
|
|
19819
|
-
key: BankDocumentRequirement.DATE_ON_DOCUMENT,
|
|
19820
|
-
options: {
|
|
19821
|
-
values: {
|
|
19822
|
-
numberOfMonths: 12
|
|
19823
|
-
}
|
|
19824
|
-
}
|
|
19825
|
-
}, {
|
|
19826
|
-
key: BankDocumentRequirement.COUNTRY_OF_BANK
|
|
19827
|
-
}, {
|
|
19828
|
-
key: BankDocumentRequirement.OFFICIAL_DOCUMENT
|
|
19829
|
-
}, {
|
|
19830
|
-
key: BankDocumentRequirement.STAMP_OR_SIGNATURE
|
|
19831
|
-
}] : [{
|
|
19832
|
-
key: BankDocumentRequirement.ACCOUNT_HOLDER
|
|
19833
|
-
}, {
|
|
19834
|
-
key: BankDocumentRequirement.ACCOUNT_NUMBER_OR_IBAN
|
|
19835
|
-
}, {
|
|
19836
|
-
key: BankDocumentRequirement.DATE_ON_DOCUMENT,
|
|
19837
|
-
options: {
|
|
19838
|
-
values: {
|
|
19839
|
-
numberOfMonths: 12
|
|
19840
|
-
}
|
|
19841
|
-
}
|
|
19842
|
-
}, {
|
|
19843
|
-
key: BankDocumentRequirement.COUNTRY_OF_BANK
|
|
19844
|
-
}, {
|
|
19845
|
-
key: BankDocumentRequirement.OFFICIAL_DOCUMENT
|
|
19846
|
-
}];
|
|
19847
|
-
}
|
|
19848
|
-
};
|
|
19849
|
-
const BankDocumentRequirements = ({
|
|
19850
|
-
country: country2,
|
|
19851
|
-
documentType: documentType2
|
|
19852
|
-
}) => {
|
|
19853
|
-
const {
|
|
19854
|
-
i18n
|
|
19855
|
-
} = useI18nContext();
|
|
19856
|
-
return jsxs(Fragment, {
|
|
19857
|
-
children: [jsxs("div", {
|
|
19858
|
-
className: "adyen-kyc-upload-field__subtitle",
|
|
19859
|
-
children: [" ", i18n.get("requirements")]
|
|
19860
|
-
}), jsx(List, {
|
|
19861
|
-
className: "adyen-kyc-upload-field__requirements",
|
|
19862
|
-
children: getBankDocumentRequirements(country2, documentType2).map(({
|
|
19863
|
-
key,
|
|
19864
|
-
options
|
|
19865
|
-
}) => jsx(ListItem, {
|
|
19866
|
-
children: i18n.get(key, options)
|
|
19867
|
-
}, key))
|
|
19868
|
-
})]
|
|
19869
|
-
});
|
|
19870
|
-
};
|
|
19871
|
-
const payoutBankStatementValidationRules = {
|
|
19872
|
-
description: {
|
|
19873
|
-
modes: ["blur"],
|
|
19874
|
-
validate: (description2) => description2 ? bankStatementDescriptionPattern.test(description2) : true,
|
|
19875
|
-
errorMessage: "invalidFormatBankStatementDescription"
|
|
19876
|
-
}
|
|
19877
|
-
};
|
|
19878
|
-
const CHARACTERS_LIMIT$1 = 200;
|
|
19879
|
-
const bankStatementFields = ["bankStatementDocument", "description"];
|
|
19880
|
-
function PayoutBankStatementComponent(props) {
|
|
19881
|
-
var _a, _b;
|
|
19882
|
-
const {
|
|
19883
|
-
country: country2,
|
|
19884
|
-
optionalFields
|
|
19885
|
-
} = props;
|
|
19886
|
-
const {
|
|
19887
|
-
i18n
|
|
19888
|
-
} = useI18nContext();
|
|
19889
|
-
const [documentType2, setDocumentType] = useState();
|
|
19890
|
-
const stateRef = useRef({
|
|
19891
|
-
setState: null
|
|
19892
|
-
});
|
|
19893
|
-
const isBankStatementOptional = (optionalFields == null ? void 0 : optionalFields.includes("bankStatementDocument")) ?? false;
|
|
19894
|
-
const formUtils = formUtilities(props, i18n);
|
|
19895
|
-
const bankStatementValidationOptions = useMemo(() => ({
|
|
19896
|
-
...defaultFileValidationOptions,
|
|
19897
|
-
isOptional: isBankStatementOptional
|
|
19898
|
-
}), [isBankStatementOptional]);
|
|
19899
|
-
const rules2 = useMemo(() => ({
|
|
19900
|
-
...props.validators || payoutBankStatementValidationRules,
|
|
19901
|
-
bankStatementDocument: fileValidationRules(bankStatementValidationOptions)
|
|
19902
|
-
}), [bankStatementValidationOptions, props.validators]);
|
|
19903
|
-
const {
|
|
19904
|
-
handleChangeFor,
|
|
19905
|
-
data,
|
|
19906
|
-
setData,
|
|
19907
|
-
valid,
|
|
19908
|
-
fieldProblems,
|
|
19909
|
-
errors,
|
|
19910
|
-
triggerValidation
|
|
19911
|
-
} = useForm({
|
|
19912
|
-
...props,
|
|
19913
|
-
schema: bankStatementFields,
|
|
19914
|
-
defaultData: props.data,
|
|
19915
|
-
rules: rules2,
|
|
19916
|
-
fieldProblems: props == null ? void 0 : props.fieldValidationErrors,
|
|
19917
|
-
shouldValidate: props == null ? void 0 : props.shouldValidate
|
|
19918
|
-
});
|
|
19919
|
-
const alreadyUploadedDocuments = useMemo(() => {
|
|
19920
|
-
var _a2;
|
|
19921
|
-
return ((_a2 = props.data) == null ? void 0 : _a2.bankStatementDocument) ?? [];
|
|
19922
|
-
}, [(_a = props.data) == null ? void 0 : _a.bankStatementDocument]);
|
|
19923
|
-
const hasAlreadyUploadedDocuments = alreadyUploadedDocuments.length > 0;
|
|
19924
|
-
const usingExistingUploadedDocuments = data.bankStatementDocument && doArraysMatch(alreadyUploadedDocuments, data.bankStatementDocument);
|
|
19925
|
-
useEffect(() => {
|
|
19926
|
-
var _a2;
|
|
19927
|
-
if (hasAlreadyUploadedDocuments) {
|
|
19928
|
-
setData("bankStatementDocument", alreadyUploadedDocuments);
|
|
19929
|
-
if ((_a2 = props.data) == null ? void 0 : _a2.description)
|
|
19930
|
-
setData("description", props.data.description);
|
|
19931
|
-
triggerValidation();
|
|
19932
|
-
}
|
|
19933
|
-
}, [alreadyUploadedDocuments, hasAlreadyUploadedDocuments, (_b = props.data) == null ? void 0 : _b.description, setData, triggerValidation]);
|
|
19934
|
-
useEffect(() => {
|
|
19935
|
-
var _a2, _b2;
|
|
19936
|
-
(_b2 = (_a2 = stateRef.current) == null ? void 0 : _a2.setState) == null ? void 0 : _b2.call(_a2, {
|
|
19937
|
-
type: "addToState",
|
|
19938
|
-
value: {
|
|
19939
|
-
data,
|
|
19940
|
-
valid,
|
|
19941
|
-
errors,
|
|
19942
|
-
fieldProblems,
|
|
19943
|
-
caller: props.id,
|
|
19944
|
-
dataStoreId: props.id,
|
|
19945
|
-
schema: bankStatementFields
|
|
19946
|
-
}
|
|
19947
|
-
});
|
|
19948
|
-
}, [data, valid, errors, fieldProblems]);
|
|
19949
|
-
const getBankDocumentOptions = () => {
|
|
19950
|
-
let options = bankDocumentOptions;
|
|
19951
|
-
if (country2 !== "FR") {
|
|
19952
|
-
options = options.filter((option) => option.id !== BankDocumentTypes.RELEVE_DIDENTITE);
|
|
19953
|
-
}
|
|
19954
|
-
return options.map(({
|
|
19955
|
-
id: id2,
|
|
19956
|
-
name
|
|
19957
|
-
}) => ({
|
|
19958
|
-
id: id2,
|
|
19959
|
-
name: i18n.get(name)
|
|
19960
|
-
}));
|
|
19961
|
-
};
|
|
19962
|
-
return jsxs("form", {
|
|
19963
|
-
className: "adyen-kyc-payout__bank-statement",
|
|
19964
|
-
children: [jsx(StateContextSetter, {
|
|
19965
|
-
owner: props.id,
|
|
19966
|
-
stateRef
|
|
19967
|
-
}), jsx(FormHeader, {
|
|
19968
|
-
heading: props.heading
|
|
19969
|
-
}), jsx(ErrorPanel, {
|
|
19970
|
-
verificationErrors: props == null ? void 0 : props.formVerificationErrors,
|
|
19971
|
-
validationErrors: props == null ? void 0 : props.fieldValidationErrors,
|
|
19972
|
-
formUtils,
|
|
19973
|
-
id: "ariaErrorField"
|
|
19974
|
-
}), formUtils.isVisibleField("bankStatementDocument") && jsxs(Fragment, {
|
|
19975
|
-
children: [jsx("div", {
|
|
19976
|
-
className: "adyen-kyc-document-upload__subtitle adl-u-margin-bottom-16",
|
|
19977
|
-
children: i18n.get("bankStatementDocumentTypeLabel")
|
|
19978
|
-
}), !usingExistingUploadedDocuments && jsx(Field, {
|
|
19979
|
-
name: "documentType",
|
|
19980
|
-
label: formUtils.getLabel("bankStatementDocument", "selectDocumentType"),
|
|
19981
|
-
className: "adyen-kyc-field--bankStatementDocumentType",
|
|
19982
|
-
children: (childProps) => jsx(Select, {
|
|
19983
|
-
...childProps,
|
|
19984
|
-
onChange: (e) => setDocumentType(e.target.value),
|
|
19985
|
-
name: "documentType",
|
|
19986
|
-
placeholder: i18n.get("selectDocument"),
|
|
19987
|
-
isInvalid: false,
|
|
19988
|
-
items: getBankDocumentOptions(),
|
|
19989
|
-
selected: documentType2
|
|
19990
|
-
})
|
|
19991
|
-
}), documentType2 ? jsxs(Fragment, {
|
|
19992
|
-
children: [country2 ? jsx(BankDocumentRequirements, {
|
|
19993
|
-
country: country2,
|
|
19994
|
-
documentType: documentType2
|
|
19995
|
-
}) : void 0, jsx(DocumentGuidance, {
|
|
19996
|
-
type: DocumentType.BANK_STATEMENT,
|
|
19997
|
-
className: "adl-u-margin-y-24"
|
|
19998
|
-
})]
|
|
19999
|
-
}) : null, documentType2 || usingExistingUploadedDocuments ? jsx(Field, {
|
|
20000
|
-
className: "adyen-kyc-field--bankStatementDocument adyen-kyc-upload-field",
|
|
20001
|
-
name: "bankStatementDocument",
|
|
20002
|
-
isValid: valid.bankStatementDocument,
|
|
20003
|
-
children: (childProps) => {
|
|
20004
|
-
var _a2;
|
|
20005
|
-
return jsx(FilePicker, {
|
|
20006
|
-
...childProps,
|
|
20007
|
-
files: data.bankStatementDocument ?? [],
|
|
20008
|
-
setFiles: handleChangeFor("bankStatementDocument"),
|
|
20009
|
-
isValid: valid.bankStatementDocument ?? isBankStatementOptional,
|
|
20010
|
-
errorMessage: (_a2 = errors.bankStatementDocument) == null ? void 0 : _a2.errorMessage,
|
|
20011
|
-
iconPrefix: getDocumentGuidancePrefix(DocumentType.BANK_STATEMENT, true),
|
|
20012
|
-
...bankStatementValidationOptions
|
|
20013
|
-
});
|
|
20014
|
-
}
|
|
20015
|
-
}) : null]
|
|
20016
|
-
}), documentType2 || usingExistingUploadedDocuments ? jsx(Field, {
|
|
20017
|
-
name: "description",
|
|
20018
|
-
label: formUtils.getLabel("descriptionOptional"),
|
|
20019
|
-
helper: i18n.get("descriptionHelper"),
|
|
20020
|
-
errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
|
|
20021
|
-
isValid: valid.description,
|
|
20022
|
-
children: (childProps) => jsx(TextArea, {
|
|
20023
|
-
...childProps,
|
|
20024
|
-
name: "description",
|
|
20025
|
-
value: data.description,
|
|
20026
|
-
classNameModifiers: ["description"],
|
|
20027
|
-
maxLength: CHARACTERS_LIMIT$1,
|
|
20028
|
-
onInput: handleChangeFor("description"),
|
|
20029
|
-
"aria-label": formUtils.getLabel("description"),
|
|
20030
|
-
"aria-invalid": !valid.description
|
|
20031
|
-
})
|
|
20032
|
-
}) : null]
|
|
20033
|
-
});
|
|
20034
|
-
}
|
|
20035
|
-
const PayoutBankStatement = memo(PayoutBankStatementComponent, (prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.country === nextProps.country && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.heading === nextProps.heading);
|
|
20036
|
-
const VerificationMethod = "";
|
|
20037
20085
|
const hasLoaded = (loadedValue) => loadedValue !== "loading";
|
|
20038
20086
|
const eeaCountries = [CountryCodes.Austria, CountryCodes.Belgium, CountryCodes.Bulgaria, CountryCodes.Croatia, CountryCodes.Cyprus, CountryCodes.CzechRepublic, CountryCodes.Denmark, CountryCodes.Estonia, CountryCodes.Finland, CountryCodes.France, CountryCodes.Germany, CountryCodes.Greece, CountryCodes.Hungary, CountryCodes.Ireland, CountryCodes.Italy, CountryCodes.Latvia, CountryCodes.Liechtenstein, CountryCodes.Lithuania, CountryCodes.Luxembourg, CountryCodes.Malta, CountryCodes.Netherlands, CountryCodes.Norway, CountryCodes.Poland, CountryCodes.Portugal, CountryCodes.Romania, CountryCodes.Slovakia, CountryCodes.Slovenia, CountryCodes.Spain, CountryCodes.Sweden];
|
|
20039
20087
|
const regions = {
|
|
@@ -20062,7 +20110,7 @@ const makePayoutVerificationMethodsMetadata = (svgPath, instantVerificationProvi
|
|
|
20062
20110
|
}
|
|
20063
20111
|
});
|
|
20064
20112
|
const payoutVerificationMethods = ["instantVerification", "manualVerification"];
|
|
20065
|
-
const logger$
|
|
20113
|
+
const logger$g = createLogger("useLocalStorage");
|
|
20066
20114
|
const useLocalStorage = (key, defaultValue, options) => {
|
|
20067
20115
|
const {
|
|
20068
20116
|
serializer,
|
|
@@ -20083,7 +20131,7 @@ const useLocalStorage = (key, defaultValue, options) => {
|
|
|
20083
20131
|
const res = rawValueRef.current ? parser(rawValueRef.current) : defaultValue;
|
|
20084
20132
|
return res;
|
|
20085
20133
|
} catch (err) {
|
|
20086
|
-
logger$
|
|
20134
|
+
logger$g.error(err);
|
|
20087
20135
|
return defaultValue;
|
|
20088
20136
|
}
|
|
20089
20137
|
});
|
|
@@ -20115,7 +20163,7 @@ const useLocalStorage = (key, defaultValue, options) => {
|
|
|
20115
20163
|
try {
|
|
20116
20164
|
updateLocalStorage();
|
|
20117
20165
|
} catch (err) {
|
|
20118
|
-
logger$
|
|
20166
|
+
logger$g.error(err);
|
|
20119
20167
|
}
|
|
20120
20168
|
}, [value]);
|
|
20121
20169
|
useEffect(() => {
|
|
@@ -20130,7 +20178,7 @@ const useLocalStorage = (key, defaultValue, options) => {
|
|
|
20130
20178
|
setValue(event.newValue ? parser(event.newValue) : void 0);
|
|
20131
20179
|
}
|
|
20132
20180
|
} catch (err) {
|
|
20133
|
-
logger$
|
|
20181
|
+
logger$g.error(err);
|
|
20134
20182
|
}
|
|
20135
20183
|
};
|
|
20136
20184
|
if (typeof window === "undefined")
|
|
@@ -20507,8 +20555,10 @@ const payoutSteps = {
|
|
|
20507
20555
|
}),
|
|
20508
20556
|
payoutAccountDocuments: {
|
|
20509
20557
|
formId: "payoutAccountDocuments",
|
|
20510
|
-
formName: "
|
|
20511
|
-
|
|
20558
|
+
formName: "bankDocument",
|
|
20559
|
+
formHeader: "bankDocumentHeader",
|
|
20560
|
+
formDescription: "bankDocumentDescription",
|
|
20561
|
+
fields: bankDocumentFields
|
|
20512
20562
|
},
|
|
20513
20563
|
payoutAccountVerification: {
|
|
20514
20564
|
formId: "payoutAccountVerification",
|
|
@@ -20539,6 +20589,7 @@ function PayoutDetailsComponent(props) {
|
|
|
20539
20589
|
activeForm,
|
|
20540
20590
|
taskType = TaskTypes.PAYOUT,
|
|
20541
20591
|
legalEntityResponse,
|
|
20592
|
+
associatedLegalArrangement,
|
|
20542
20593
|
handleGetBankVerificationVendors,
|
|
20543
20594
|
setHideDropinLayout,
|
|
20544
20595
|
setHideOnHomeButton,
|
|
@@ -20555,9 +20606,9 @@ function PayoutDetailsComponent(props) {
|
|
|
20555
20606
|
const verificationMethodFormProps = getFormProps(props, payoutSteps.payoutVerificationMethod.formId);
|
|
20556
20607
|
const accountVerificationFormProps = getFormProps(props, payoutSteps.payoutAccountVerification.formId);
|
|
20557
20608
|
const payoutAccountFormProps = getFormProps(props, payoutSteps.payoutAccountDetails(taskType, isExperimentEnabled("EnableNewEntryFlow")).formId);
|
|
20558
|
-
const
|
|
20609
|
+
const bankDocumentFormProps = getFormProps(props, payoutSteps.payoutAccountDocuments.formId);
|
|
20559
20610
|
const taskHeading = isExperimentEnabled("EnableNewEntryFlow") ? i18n.get("addAndVerifyYourBankDetails") : i18n.get(taskType === TaskTypes.PAYOUT ? "payoutAccount" : "payinAccount");
|
|
20560
|
-
const isBankStatementDocumentOptional = formUtilities(
|
|
20611
|
+
const isBankStatementDocumentOptional = formUtilities(bankDocumentFormProps ?? {}, i18n).isOptionalField("bankStatementDocument");
|
|
20561
20612
|
const globalData = useGlobalData();
|
|
20562
20613
|
const data = isEmpty(globalData) ? propData : globalData;
|
|
20563
20614
|
const resetData = useResetGlobalData();
|
|
@@ -20621,10 +20672,13 @@ function PayoutDetailsComponent(props) {
|
|
|
20621
20672
|
})
|
|
20622
20673
|
}), !verifyInstantly && jsx("div", {
|
|
20623
20674
|
className: (activeForm == null ? void 0 : activeForm.formId) !== payoutSteps.payoutAccountDocuments.formId ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper",
|
|
20624
|
-
children: jsx(
|
|
20625
|
-
...
|
|
20626
|
-
heading: i18n.get(isBankStatementDocumentOptional ? "
|
|
20675
|
+
children: jsx(BankDocumentComponent, {
|
|
20676
|
+
...bankDocumentFormProps,
|
|
20677
|
+
heading: i18n.get(isBankStatementDocumentOptional ? "bankDocumentHeaderOptional" : "bankDocumentHeader"),
|
|
20678
|
+
description: i18n.get("bankDocumentDescription"),
|
|
20627
20679
|
id: payoutSteps.payoutAccountDocuments.formId,
|
|
20680
|
+
legalEntity: legalEntityResponse,
|
|
20681
|
+
associatedLegalArrangement,
|
|
20628
20682
|
country: bankCountry2
|
|
20629
20683
|
})
|
|
20630
20684
|
})]
|
|
@@ -20835,7 +20889,6 @@ function SolePropComponent(props) {
|
|
|
20835
20889
|
children: renderActiveForm(props.activeForm || solePropForms.solePropNameAndCountry)
|
|
20836
20890
|
});
|
|
20837
20891
|
}
|
|
20838
|
-
const Trust = "";
|
|
20839
20892
|
var TrustTypes = /* @__PURE__ */ ((TrustTypes2) => {
|
|
20840
20893
|
TrustTypes2["BUSINESS_TRUST"] = "businessTrust";
|
|
20841
20894
|
TrustTypes2["CASH_MANAGEMENT_TRUST"] = "cashManagementTrust";
|
|
@@ -21157,7 +21210,6 @@ const getCountrySpecificTrustTypeOptions = (country2) => {
|
|
|
21157
21210
|
return countrySpecificTrustTypeOption;
|
|
21158
21211
|
});
|
|
21159
21212
|
};
|
|
21160
|
-
const ContextHelper$1 = "";
|
|
21161
21213
|
const ContextHelper = ({
|
|
21162
21214
|
content
|
|
21163
21215
|
}) => jsx("div", {
|
|
@@ -21422,6 +21474,13 @@ function TrustComponent(props) {
|
|
|
21422
21474
|
children: renderActiveForm(props.activeForm || trustForms.trustRegistrationDetails)
|
|
21423
21475
|
});
|
|
21424
21476
|
}
|
|
21477
|
+
var VerificationErrorType = /* @__PURE__ */ ((VerificationErrorType2) => {
|
|
21478
|
+
VerificationErrorType2["DATA_MISSING"] = "dataMissing";
|
|
21479
|
+
VerificationErrorType2["INVALID_INPUT"] = "invalidInput";
|
|
21480
|
+
VerificationErrorType2["PENDING_STATUS"] = "pendingStatus";
|
|
21481
|
+
VerificationErrorType2["DATA_REVIEW"] = "dataReview";
|
|
21482
|
+
return VerificationErrorType2;
|
|
21483
|
+
})(VerificationErrorType || {});
|
|
21425
21484
|
const invalidInputRemediationActionMappings = {
|
|
21426
21485
|
"1_100": [],
|
|
21427
21486
|
"1_101": [],
|
|
@@ -21576,18 +21635,158 @@ const DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING = {
|
|
|
21576
21635
|
"2_8193": "2_185"
|
|
21577
21636
|
// Director
|
|
21578
21637
|
};
|
|
21638
|
+
const OVERRIDE_REMEDIATION_CODE = {
|
|
21639
|
+
// 1_501: Upload a registration document
|
|
21640
|
+
"1_501": {
|
|
21641
|
+
code: "1_503",
|
|
21642
|
+
message: "Upload a tax document"
|
|
21643
|
+
},
|
|
21644
|
+
// 1_502: Upload a different registration document
|
|
21645
|
+
"1_502": {
|
|
21646
|
+
code: "1_504",
|
|
21647
|
+
message: "Upload a different tax document"
|
|
21648
|
+
}
|
|
21649
|
+
};
|
|
21650
|
+
const OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS = {
|
|
21651
|
+
"1_5012": [...[OVERRIDE_REMEDIATION_CODE["1_501"]], {
|
|
21652
|
+
code: "1_500",
|
|
21653
|
+
message: "Update organization details"
|
|
21654
|
+
}],
|
|
21655
|
+
"1_5013": [...[OVERRIDE_REMEDIATION_CODE["1_501"]], {
|
|
21656
|
+
code: "1_500",
|
|
21657
|
+
message: "Update organization details"
|
|
21658
|
+
}],
|
|
21659
|
+
"1_5015": [...[OVERRIDE_REMEDIATION_CODE["1_501"]], {
|
|
21660
|
+
code: "1_500",
|
|
21661
|
+
message: "Update organization details"
|
|
21662
|
+
}],
|
|
21663
|
+
"1_5017": [...[OVERRIDE_REMEDIATION_CODE["1_501"]], {
|
|
21664
|
+
code: "1_500",
|
|
21665
|
+
message: "Update organization details"
|
|
21666
|
+
}],
|
|
21667
|
+
"1_5020": [OVERRIDE_REMEDIATION_CODE["1_501"]],
|
|
21668
|
+
"1_5021": [OVERRIDE_REMEDIATION_CODE["1_502"]],
|
|
21669
|
+
"1_5022": [OVERRIDE_REMEDIATION_CODE["1_502"]],
|
|
21670
|
+
"1_5024": [...[OVERRIDE_REMEDIATION_CODE["1_502"]], {
|
|
21671
|
+
code: "1_500",
|
|
21672
|
+
message: "Update organization details"
|
|
21673
|
+
}],
|
|
21674
|
+
"1_5035": [...[OVERRIDE_REMEDIATION_CODE["1_502"]], {
|
|
21675
|
+
code: "1_500",
|
|
21676
|
+
message: "Update organization details"
|
|
21677
|
+
}]
|
|
21678
|
+
};
|
|
21679
|
+
const OVERRIDE_SUB_ERROR = {
|
|
21680
|
+
// 1_5012: The submitted company type didn't match the one on the registry
|
|
21681
|
+
"1_5012": {
|
|
21682
|
+
code: "1_5012",
|
|
21683
|
+
message: "The submitted company type didn't match the one on the registry",
|
|
21684
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21685
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5012"]
|
|
21686
|
+
},
|
|
21687
|
+
// 1_5013: The company was not found in the database
|
|
21688
|
+
"1_5013": {
|
|
21689
|
+
code: "1_5013",
|
|
21690
|
+
message: "The company was not found in the database",
|
|
21691
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21692
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5013"]
|
|
21693
|
+
},
|
|
21694
|
+
// 1_5015: The registration number didn't match the legal business name
|
|
21695
|
+
"1_5015": {
|
|
21696
|
+
code: "1_5017",
|
|
21697
|
+
message: "The tax ID number didn't match the legal business name",
|
|
21698
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21699
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5015"]
|
|
21700
|
+
},
|
|
21701
|
+
// 1_5017: The tax ID number didn't match the legal business name
|
|
21702
|
+
"1_5017": {
|
|
21703
|
+
code: "1_5017",
|
|
21704
|
+
message: "The tax ID number didn't match the legal business name",
|
|
21705
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21706
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5017"]
|
|
21707
|
+
},
|
|
21708
|
+
// 1_5020: Registration document is missing.
|
|
21709
|
+
"1_5020": {
|
|
21710
|
+
code: "1_5036",
|
|
21711
|
+
message: "Tax document is missing.",
|
|
21712
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21713
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5020"]
|
|
21714
|
+
},
|
|
21715
|
+
// 1_5021: The registration document was too low quality.
|
|
21716
|
+
"1_5021": {
|
|
21717
|
+
code: "1_5039",
|
|
21718
|
+
message: "The tax document was too low quality.",
|
|
21719
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21720
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5021"]
|
|
21721
|
+
},
|
|
21722
|
+
// 1_5022: The registration document was too old.
|
|
21723
|
+
"1_5022": {
|
|
21724
|
+
code: "1_5040",
|
|
21725
|
+
message: "The tax document was too old.",
|
|
21726
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21727
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5022"]
|
|
21728
|
+
},
|
|
21729
|
+
// 1_5024: The registration document did not show the company type
|
|
21730
|
+
"1_5024": {
|
|
21731
|
+
code: "1_5024",
|
|
21732
|
+
message: "The registration document did not show the company type",
|
|
21733
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21734
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5024"]
|
|
21735
|
+
},
|
|
21736
|
+
// 1_5035: The company registration document is not supported.
|
|
21737
|
+
"1_5035": {
|
|
21738
|
+
code: "1_5038",
|
|
21739
|
+
message: "The tax document wasn't a supported document type.",
|
|
21740
|
+
type: VerificationErrorType.INVALID_INPUT,
|
|
21741
|
+
remediatingActions: OVERRIDE_SUB_ERROR_REMEDIATING_ACTIONS["1_5035"]
|
|
21742
|
+
}
|
|
21743
|
+
};
|
|
21744
|
+
const OVERRIDE_DATA_MISSING_ERROR = {
|
|
21745
|
+
// "'Registration document' was missing."
|
|
21746
|
+
"2_8141": {
|
|
21747
|
+
code: "2_8162",
|
|
21748
|
+
message: "'proofOfOrganizationTaxInfo' was missing",
|
|
21749
|
+
type: VerificationErrorType.DATA_MISSING,
|
|
21750
|
+
remediatingActions: [OVERRIDE_REMEDIATION_CODE["1_501"]]
|
|
21751
|
+
}
|
|
21752
|
+
};
|
|
21753
|
+
const overrideError = (verificationError) => {
|
|
21754
|
+
var _a, _b, _c;
|
|
21755
|
+
switch (verificationError.type) {
|
|
21756
|
+
case VerificationErrorType.DATA_MISSING:
|
|
21757
|
+
switch (verificationError.code) {
|
|
21758
|
+
case "2_8141":
|
|
21759
|
+
return OVERRIDE_DATA_MISSING_ERROR["2_8141"];
|
|
21760
|
+
default:
|
|
21761
|
+
return verificationError;
|
|
21762
|
+
}
|
|
21763
|
+
case VerificationErrorType.INVALID_INPUT:
|
|
21764
|
+
switch (verificationError.code) {
|
|
21765
|
+
case "1_50":
|
|
21766
|
+
return {
|
|
21767
|
+
...verificationError,
|
|
21768
|
+
subErrors: (_a = verificationError.subErrors) == null ? void 0 : _a.map((subError) => OVERRIDE_SUB_ERROR[subError.code] ?? subError)
|
|
21769
|
+
};
|
|
21770
|
+
case "1_52":
|
|
21771
|
+
return {
|
|
21772
|
+
...verificationError,
|
|
21773
|
+
code: "1_53",
|
|
21774
|
+
message: "Tax document didn't meet requirements",
|
|
21775
|
+
remediatingActions: (_b = verificationError.remediatingActions) == null ? void 0 : _b.map((remediation) => OVERRIDE_REMEDIATION_CODE[remediation.code] ?? remediation),
|
|
21776
|
+
subErrors: (_c = verificationError.subErrors) == null ? void 0 : _c.map((subError) => OVERRIDE_SUB_ERROR[subError.code] ?? subError)
|
|
21777
|
+
};
|
|
21778
|
+
default:
|
|
21779
|
+
return verificationError;
|
|
21780
|
+
}
|
|
21781
|
+
default:
|
|
21782
|
+
return verificationError;
|
|
21783
|
+
}
|
|
21784
|
+
};
|
|
21579
21785
|
var EntityType = /* @__PURE__ */ ((EntityType2) => {
|
|
21580
21786
|
EntityType2["BANK_ACCOUNT"] = "BankAccount";
|
|
21581
21787
|
EntityType2["LEGAL_ENTITY"] = "LegalEntity";
|
|
21582
21788
|
return EntityType2;
|
|
21583
21789
|
})(EntityType || {});
|
|
21584
|
-
var VerificationErrorType = /* @__PURE__ */ ((VerificationErrorType2) => {
|
|
21585
|
-
VerificationErrorType2["DATA_MISSING"] = "dataMissing";
|
|
21586
|
-
VerificationErrorType2["INVALID_INPUT"] = "invalidInput";
|
|
21587
|
-
VerificationErrorType2["PENDING_STATUS"] = "pendingStatus";
|
|
21588
|
-
VerificationErrorType2["DATA_REVIEW"] = "dataReview";
|
|
21589
|
-
return VerificationErrorType2;
|
|
21590
|
-
})(VerificationErrorType || {});
|
|
21591
21790
|
const entityProblemInitialState = {
|
|
21592
21791
|
verificationErrors: {},
|
|
21593
21792
|
remediationActions: {},
|
|
@@ -21620,19 +21819,25 @@ function getCapabilityProblems(response, country2, isExperimentEnabled) {
|
|
|
21620
21819
|
});
|
|
21621
21820
|
return capabilityProblems;
|
|
21622
21821
|
}
|
|
21822
|
+
const overrideVerificationErrors = (verificationErrors, country2) => verificationErrors.map((verificationError) => {
|
|
21823
|
+
if (country2 === "US") {
|
|
21824
|
+
return overrideError(verificationError);
|
|
21825
|
+
}
|
|
21826
|
+
return verificationError;
|
|
21827
|
+
});
|
|
21623
21828
|
function setProblem(problem, entityProblems, country2, isExperimentEnabled) {
|
|
21624
21829
|
var _a;
|
|
21625
21830
|
if ((_a = problem.verificationErrors) == null ? void 0 : _a.length) {
|
|
21626
|
-
problem.verificationErrors.forEach((error) => {
|
|
21627
|
-
setVerificationError(error, entityProblems,
|
|
21831
|
+
overrideVerificationErrors(problem.verificationErrors, country2).forEach((error) => {
|
|
21832
|
+
setVerificationError(error, entityProblems, isExperimentEnabled);
|
|
21628
21833
|
});
|
|
21629
21834
|
}
|
|
21630
21835
|
}
|
|
21631
|
-
function setVerificationError(error, entityProblems,
|
|
21836
|
+
function setVerificationError(error, entityProblems, isExperimentEnabled) {
|
|
21632
21837
|
switch (error.type) {
|
|
21633
21838
|
case VerificationErrorType.INVALID_INPUT: {
|
|
21634
21839
|
if (!isUnRelatedErrorCode(error)) {
|
|
21635
|
-
setInvalidInputError(error, entityProblems,
|
|
21840
|
+
setInvalidInputError(error, entityProblems, isExperimentEnabled);
|
|
21636
21841
|
}
|
|
21637
21842
|
break;
|
|
21638
21843
|
}
|
|
@@ -21663,22 +21868,14 @@ const setReviewRequiredError = (verificationError, entityProblems) => {
|
|
|
21663
21868
|
};
|
|
21664
21869
|
setPriorityStatus(entityProblems, TaskStatus.SUBMIT);
|
|
21665
21870
|
};
|
|
21666
|
-
|
|
21667
|
-
if ((code2 === "1_501" || code2 === "1_502") && country2 === "US") {
|
|
21668
|
-
return [{
|
|
21669
|
-
key: DocumentType.PROOF_OF_ORGANIZATION_TAX_INFO
|
|
21670
|
-
}];
|
|
21671
|
-
}
|
|
21672
|
-
return invalidInputRemediationActionMappings[code2];
|
|
21673
|
-
};
|
|
21674
|
-
function setInvalidInputError(parentVerificationError, entityProblems, country2, isExperimentEnabled) {
|
|
21871
|
+
function setInvalidInputError(parentVerificationError, entityProblems, isExperimentEnabled) {
|
|
21675
21872
|
var _a, _b;
|
|
21676
21873
|
const processedSubErrors = (_a = parentVerificationError == null ? void 0 : parentVerificationError.subErrors) == null ? void 0 : _a.reduce((acc, {
|
|
21677
21874
|
code: code2,
|
|
21678
21875
|
remediatingActions
|
|
21679
21876
|
}) => {
|
|
21680
21877
|
const mappedRemActions = remediatingActions == null ? void 0 : remediatingActions.reduce((acc2, remediatingAction) => {
|
|
21681
|
-
const remMapping =
|
|
21878
|
+
const remMapping = invalidInputRemediationActionMappings[remediatingAction.code];
|
|
21682
21879
|
if (remMapping) {
|
|
21683
21880
|
const {
|
|
21684
21881
|
entityType: entityType2
|
|
@@ -22269,7 +22466,7 @@ const defaultPayoutAccountFormat = {
|
|
|
22269
22466
|
[CountryCodes.Sweden]: "local",
|
|
22270
22467
|
[CountryCodes.UnitedKingdom]: "local"
|
|
22271
22468
|
};
|
|
22272
|
-
const logger$
|
|
22469
|
+
const logger$f = createLogger("useScenarioConfiguration");
|
|
22273
22470
|
const useScenarioConfiguration = ({
|
|
22274
22471
|
getConfigurationData,
|
|
22275
22472
|
getPayoutAccountFormatData,
|
|
@@ -22292,12 +22489,12 @@ const useScenarioConfiguration = ({
|
|
|
22292
22489
|
const response = await getConfigurationData();
|
|
22293
22490
|
setConfigurationResponse(response);
|
|
22294
22491
|
} catch (err) {
|
|
22295
|
-
logger$
|
|
22492
|
+
logger$f.warn("WARNING: Configuration request failed - error:", err);
|
|
22296
22493
|
} finally {
|
|
22297
22494
|
setLoadingStatus("success");
|
|
22298
22495
|
}
|
|
22299
22496
|
};
|
|
22300
|
-
makeConfigCallAndSave().catch(logger$
|
|
22497
|
+
makeConfigCallAndSave().catch(logger$f.error);
|
|
22301
22498
|
}, [getConfigurationData, setLoadingStatus]);
|
|
22302
22499
|
useEffect(() => {
|
|
22303
22500
|
setLoadingStatus("loading");
|
|
@@ -22316,12 +22513,12 @@ const useScenarioConfiguration = ({
|
|
|
22316
22513
|
const defaultAccountFormat = defaultPayoutAccountFormat[country2] ?? allowedBankAccountFormats[0];
|
|
22317
22514
|
setAccountFormat(existingBankAccountFormat ?? defaultAccountFormat);
|
|
22318
22515
|
} catch (err) {
|
|
22319
|
-
logger$
|
|
22516
|
+
logger$f.warn("WARNING: Payout format request failed - error:", err);
|
|
22320
22517
|
} finally {
|
|
22321
22518
|
setLoadingStatus("success");
|
|
22322
22519
|
}
|
|
22323
22520
|
};
|
|
22324
|
-
makePayoutFormatCallAndSave().catch(logger$
|
|
22521
|
+
makePayoutFormatCallAndSave().catch(logger$f.error);
|
|
22325
22522
|
}, [country2, setAccountFormat, getPayoutAccountFormatData, setLoadingStatus, existingBankAccountFormat]);
|
|
22326
22523
|
const {
|
|
22327
22524
|
fieldConfigurations,
|
|
@@ -22688,7 +22885,7 @@ const isFieldRequired = (fieldConfigurations, customRules) => {
|
|
|
22688
22885
|
}
|
|
22689
22886
|
return fieldConfigurations && ((fieldConfigurations == null ? void 0 : fieldConfigurations.rule) === "REQUIRED" || (customRules == null ? void 0 : customRules[fieldConfigurations.rule]) && customRules[fieldConfigurations.rule]() === "REQUIRED");
|
|
22690
22887
|
};
|
|
22691
|
-
function getPropsFromConfigurations(scenarioConfiguration, forms2, remediationActions, dataMissingErrors, fieldsWithExistingData,
|
|
22888
|
+
function getPropsFromConfigurations(scenarioConfiguration, forms2, remediationActions, dataMissingErrors, fieldsWithExistingData, customRules = {}, customLabels = {}) {
|
|
22692
22889
|
var _a;
|
|
22693
22890
|
const requiredFields = {};
|
|
22694
22891
|
const optionalFields = {};
|
|
@@ -22711,7 +22908,7 @@ function getPropsFromConfigurations(scenarioConfiguration, forms2, remediationAc
|
|
|
22711
22908
|
const fieldConfigurations = scenarioConfiguration[field];
|
|
22712
22909
|
const isRequiredFromFieldConfig = isFieldRequired(fieldConfigurations, customRules);
|
|
22713
22910
|
const isFieldRequiredByRemediationAction = showRemediationField(field, remediationActions);
|
|
22714
|
-
const isFieldNeededToRemediateDataMissingError = isFieldRequiredToRemediateDataMissingError(formId, field, dataMissingErrors
|
|
22911
|
+
const isFieldNeededToRemediateDataMissingError = isFieldRequiredToRemediateDataMissingError(formId, field, dataMissingErrors);
|
|
22715
22912
|
const fieldHasExistingData = formFieldsWithExistingData.includes(field);
|
|
22716
22913
|
const isRequired = isFieldRequiredByRemediationAction || isRequiredFromFieldConfig || isFieldNeededToRemediateDataMissingError || fieldHasExistingData;
|
|
22717
22914
|
if (isRequired) {
|
|
@@ -22795,15 +22992,9 @@ const makeTLDSFieldName = (formId, fieldName) => {
|
|
|
22795
22992
|
}
|
|
22796
22993
|
return `${formId}.${fieldName}`;
|
|
22797
22994
|
};
|
|
22798
|
-
const
|
|
22799
|
-
if (code2 === "1_501" && country2 === "US") {
|
|
22800
|
-
return dataMissingRemediationsToFieldsMap["1_503"];
|
|
22801
|
-
}
|
|
22802
|
-
return dataMissingRemediationsToFieldsMap[code2];
|
|
22803
|
-
};
|
|
22804
|
-
const isFieldRequiredToRemediateDataMissingError = (formId, field, dataMissingErrors, country2) => {
|
|
22995
|
+
const isFieldRequiredToRemediateDataMissingError = (formId, field, dataMissingErrors) => {
|
|
22805
22996
|
const dataMissingRemediations = dataMissingErrors.flatMap((error) => error.remediatingActions).filter((remediatingAction) => remediatingAction.code in dataMissingRemediationsToFieldsMap);
|
|
22806
|
-
const missingFields = dataMissingRemediations.flatMap((remediatingAction) =>
|
|
22997
|
+
const missingFields = dataMissingRemediations.flatMap((remediatingAction) => dataMissingRemediationsToFieldsMap[remediatingAction.code]).map((missingField) => makeTLDSFieldName(formId, missingField));
|
|
22807
22998
|
const missingAndLinkedFields = addLinkedFields(missingFields);
|
|
22808
22999
|
return missingAndLinkedFields.includes(makeTLDSFieldName(formId, field));
|
|
22809
23000
|
};
|
|
@@ -22931,8 +23122,6 @@ const getFieldsWithExistingData = (legalEntity, isExperimentEnabled) => {
|
|
|
22931
23122
|
}
|
|
22932
23123
|
return nonDocumentFields;
|
|
22933
23124
|
};
|
|
22934
|
-
const _businessTypeSelection_component = "";
|
|
22935
|
-
const _heading_component = "";
|
|
22936
23125
|
const headingTypes = {
|
|
22937
23126
|
1: ({
|
|
22938
23127
|
children,
|
|
@@ -22982,7 +23171,6 @@ function Heading({
|
|
|
22982
23171
|
children
|
|
22983
23172
|
});
|
|
22984
23173
|
}
|
|
22985
|
-
const _toast = "";
|
|
22986
23174
|
var ToastType = /* @__PURE__ */ ((ToastType2) => {
|
|
22987
23175
|
ToastType2["LOADING"] = "loading";
|
|
22988
23176
|
ToastType2["SUCCESS"] = "success";
|
|
@@ -23529,8 +23717,7 @@ const getTargetLegalEntityType = (businessType, legalArrangement, trusteeType, c
|
|
|
23529
23717
|
}
|
|
23530
23718
|
return currentLegalEntityType;
|
|
23531
23719
|
};
|
|
23532
|
-
const
|
|
23533
|
-
const logger$d = createLogger("FormRouterContextProvider");
|
|
23720
|
+
const logger$e = createLogger("FormRouterContextProvider");
|
|
23534
23721
|
function FormRouterContextProvider({
|
|
23535
23722
|
children,
|
|
23536
23723
|
forms: forms2,
|
|
@@ -23550,7 +23737,7 @@ function FormRouterContextProvider({
|
|
|
23550
23737
|
if (formIndex > -1) {
|
|
23551
23738
|
setFormIndex(formIndex);
|
|
23552
23739
|
} else {
|
|
23553
|
-
logger$
|
|
23740
|
+
logger$e.error("No form was found to have that field so form navigation failed.");
|
|
23554
23741
|
}
|
|
23555
23742
|
}
|
|
23556
23743
|
}), [forms2, handleGetIdVerificationToken, setFormIndex]);
|
|
@@ -23559,7 +23746,6 @@ function FormRouterContextProvider({
|
|
|
23559
23746
|
children
|
|
23560
23747
|
});
|
|
23561
23748
|
}
|
|
23562
|
-
const DropinLayout$1 = "";
|
|
23563
23749
|
const DropinLayout = (props) => {
|
|
23564
23750
|
const {
|
|
23565
23751
|
content,
|
|
@@ -23579,8 +23765,6 @@ const DropinLayout = (props) => {
|
|
|
23579
23765
|
})]
|
|
23580
23766
|
});
|
|
23581
23767
|
};
|
|
23582
|
-
const FormNavigation$1 = "";
|
|
23583
|
-
const FormNavigationItem$1 = "";
|
|
23584
23768
|
const FormNavigationItem = ({
|
|
23585
23769
|
form,
|
|
23586
23770
|
isActive,
|
|
@@ -23893,7 +24077,7 @@ function CompanyDropinComponent({
|
|
|
23893
24077
|
requiredFields,
|
|
23894
24078
|
isSettingEnabled
|
|
23895
24079
|
}), [country2, data, taskType, requiredFields, isSettingEnabled]);
|
|
23896
|
-
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, companyForms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse) : [],
|
|
24080
|
+
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, companyForms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse) : [], fieldsFromCustomRules), [fieldConfigurations, fieldsFromCustomRules, problems == null ? void 0 : problems.remediationActions]);
|
|
23897
24081
|
const {
|
|
23898
24082
|
state: {
|
|
23899
24083
|
currentState
|
|
@@ -24152,9 +24336,7 @@ function CompanyDropinComponent({
|
|
|
24152
24336
|
})
|
|
24153
24337
|
});
|
|
24154
24338
|
}
|
|
24155
|
-
const
|
|
24156
|
-
const CompanyLookupComponent$1 = "";
|
|
24157
|
-
const logger$c = createLogger("useCompanySearch");
|
|
24339
|
+
const logger$d = createLogger("useCompanySearch");
|
|
24158
24340
|
const LOW_RISK_COMPANY_DATA_COMPLIANCE_WINDOW = 1577664e5;
|
|
24159
24341
|
function useCompanySearch({
|
|
24160
24342
|
defaultData,
|
|
@@ -24293,7 +24475,7 @@ function useCompanySearch({
|
|
|
24293
24475
|
state: companyData.state ?? stateOrProvince2
|
|
24294
24476
|
});
|
|
24295
24477
|
} catch (e) {
|
|
24296
|
-
logger$
|
|
24478
|
+
logger$d.error(e);
|
|
24297
24479
|
setError(e);
|
|
24298
24480
|
setStatus("error");
|
|
24299
24481
|
} finally {
|
|
@@ -24326,7 +24508,7 @@ function useCompanySearch({
|
|
|
24326
24508
|
indexSearch: handleCompanyIndexSearch,
|
|
24327
24509
|
deepSearch: handleCompanyDeepSearch,
|
|
24328
24510
|
resultsLimit: limit
|
|
24329
|
-
})) == null ? void 0 : _a.catch((e) => logger$
|
|
24511
|
+
})) == null ? void 0 : _a.catch((e) => logger$d.error(e));
|
|
24330
24512
|
}
|
|
24331
24513
|
}, [legalCompanyName2, country2, stateOrProvince2, taxIdentificationNumber2, verifiedCompany, searchCompanies, handleCompanyIndexSearch, handleCompanyDeepSearch, limit, canVerify]);
|
|
24332
24514
|
useEffect(() => {
|
|
@@ -24427,7 +24609,6 @@ const CompanyLookupResultsHeader = ({
|
|
|
24427
24609
|
})]
|
|
24428
24610
|
});
|
|
24429
24611
|
};
|
|
24430
|
-
const LookupResult$1 = "";
|
|
24431
24612
|
const LookupResultBody = ({
|
|
24432
24613
|
registrationNumber: registrationNumber2,
|
|
24433
24614
|
address: address2
|
|
@@ -25063,7 +25244,6 @@ function CompanyBasics({
|
|
|
25063
25244
|
});
|
|
25064
25245
|
}
|
|
25065
25246
|
const CompanyBasicsComponent = memo(CompanyBasics, (prevProps, nextProps) => objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.labels, nextProps.labels) && objectsDeepEqual(prevProps.placeholders, nextProps.placeholders) && objectsDeepEqual(prevProps.helperText, nextProps.helperText) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.heading === nextProps.heading && prevProps.description === nextProps.description && prevProps.readOnly === nextProps.readOnly && prevProps.requiredFields === nextProps.requiredFields && prevProps.obscuredFields === nextProps.obscuredFields && prevProps.optionalFields === nextProps.optionalFields && prevProps.readOnlyFields === nextProps.readOnlyFields && prevProps.shouldValidate === nextProps.shouldValidate && objectsDeepEqual(prevProps.kompanyVerifiedData, nextProps.kompanyVerifiedData));
|
|
25066
|
-
const CompanyOtherDetailsComponent$1 = "";
|
|
25067
25247
|
const BUSINESS_REGISTRATION_NUMBER_FIELD = ["registrationNumber", "exemptedFromRegistrationNumber"];
|
|
25068
25248
|
function BusinessRegistrationNumberField({
|
|
25069
25249
|
data,
|
|
@@ -25630,7 +25810,6 @@ function CompanyOtherDetails({
|
|
|
25630
25810
|
});
|
|
25631
25811
|
}
|
|
25632
25812
|
const CompanyOtherDetailsComponent = memo(CompanyOtherDetails, (prevProps, nextProps) => objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.labels, nextProps.labels) && objectsDeepEqual(prevProps.placeholders, nextProps.placeholders) && objectsDeepEqual(prevProps.helperText, nextProps.helperText) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.heading === nextProps.heading && prevProps.description === nextProps.description && prevProps.requiredFields === nextProps.requiredFields && prevProps.obscuredFields === nextProps.obscuredFields && prevProps.optionalFields === nextProps.optionalFields && prevProps.readOnlyFields === nextProps.readOnlyFields && prevProps.shouldValidate === nextProps.shouldValidate && prevProps.readOnly === nextProps.readOnly && prevProps.country === nextProps.country && prevProps.legalCompanyName === nextProps.legalCompanyName && prevProps.companyType === nextProps.companyType && prevProps.kompanyVerifiedData === nextProps.kompanyVerifiedData);
|
|
25633
|
-
const CompanyStructureComponent$1 = "";
|
|
25634
25813
|
const CompanyStructureValidation = {
|
|
25635
25814
|
entityType: {
|
|
25636
25815
|
modes: ["blur"],
|
|
@@ -25972,7 +26151,7 @@ const mapLegalEntityToCompanySearchSchema = (legalEntity) => {
|
|
|
25972
26151
|
}
|
|
25973
26152
|
}, {});
|
|
25974
26153
|
};
|
|
25975
|
-
const logger$
|
|
26154
|
+
const logger$c = createLogger("useFormTaskSubmit");
|
|
25976
26155
|
function useCompanySearchTaskSubmit({
|
|
25977
26156
|
task,
|
|
25978
26157
|
forms: forms2,
|
|
@@ -26018,7 +26197,7 @@ function useCompanySearchTaskSubmit({
|
|
|
26018
26197
|
});
|
|
26019
26198
|
}
|
|
26020
26199
|
} catch (e) {
|
|
26021
|
-
logger$
|
|
26200
|
+
logger$c.error(e);
|
|
26022
26201
|
}
|
|
26023
26202
|
}, [baseTrackingPayload, documentUtils]);
|
|
26024
26203
|
const submit2 = useCallback(async ({
|
|
@@ -26062,7 +26241,7 @@ function useCompanySearchTaskSubmit({
|
|
|
26062
26241
|
...trackingPayload
|
|
26063
26242
|
}
|
|
26064
26243
|
});
|
|
26065
|
-
logger$
|
|
26244
|
+
logger$c.log(submittedLegalEntity);
|
|
26066
26245
|
setAccountHolder(entityTypeToCorrespondingAccountHolderOption[legalEntityResponse.type]);
|
|
26067
26246
|
clearToasts();
|
|
26068
26247
|
onExternalSubmit == null ? void 0 : onExternalSubmit(data);
|
|
@@ -26087,7 +26266,7 @@ function useCompanySearchTaskSubmit({
|
|
|
26087
26266
|
type: ToastType.ERROR
|
|
26088
26267
|
});
|
|
26089
26268
|
}
|
|
26090
|
-
logger$
|
|
26269
|
+
logger$c.error(e);
|
|
26091
26270
|
userEvents.addEvent("Encountered error company details", {
|
|
26092
26271
|
segmentation: {
|
|
26093
26272
|
...baseTrackingPayload,
|
|
@@ -26340,7 +26519,7 @@ function CompanySearchDropinComponent({
|
|
|
26340
26519
|
taskType
|
|
26341
26520
|
}), [currentState.data, country2, taskType]);
|
|
26342
26521
|
const derivedProps = useMemo(() => {
|
|
26343
|
-
const props = getPropsFromConfigurations(fieldConfigurations, forms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse, isExperimentEnabled) : [],
|
|
26522
|
+
const props = getPropsFromConfigurations(fieldConfigurations, forms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse, isExperimentEnabled) : [], customRules);
|
|
26344
26523
|
if (props) {
|
|
26345
26524
|
return entriesOf(props).reduce((acc, [key, value]) => {
|
|
26346
26525
|
var _a2, _b2;
|
|
@@ -26516,6 +26695,24 @@ const useShouldShowIntroduction = ({
|
|
|
26516
26695
|
});
|
|
26517
26696
|
return canSeeIntroduction && !hasSeenIntroduction;
|
|
26518
26697
|
};
|
|
26698
|
+
const logger$b = createLogger("useAssociatedLegalArrangement");
|
|
26699
|
+
function useAssociatedLegalArrangement({
|
|
26700
|
+
rootLegalEntity,
|
|
26701
|
+
getLegalEntity: getLegalEntity2
|
|
26702
|
+
}) {
|
|
26703
|
+
const [associatedLegalArrangement, setAssociatedLegalArrangement] = useState();
|
|
26704
|
+
const getAssociatedEntity = useCallback(async (entityId) => getLegalEntity2 == null ? void 0 : getLegalEntity2(entityId), [getLegalEntity2]);
|
|
26705
|
+
useEffect(() => {
|
|
26706
|
+
var _a;
|
|
26707
|
+
const foundEntity = (_a = rootLegalEntity == null ? void 0 : rootLegalEntity.entityAssociations) == null ? void 0 : _a.find((entity) => entity.type === LegalEntityType.SOLE_PROPRIETORSHIP || entity.type === LegalEntityType.TRUST);
|
|
26708
|
+
if (foundEntity == null ? void 0 : foundEntity.legalEntityId) {
|
|
26709
|
+
getAssociatedEntity(foundEntity == null ? void 0 : foundEntity.legalEntityId).then((res) => setAssociatedLegalArrangement(res)).catch(logger$b.error);
|
|
26710
|
+
}
|
|
26711
|
+
}, [getAssociatedEntity, rootLegalEntity == null ? void 0 : rootLegalEntity.entityAssociations]);
|
|
26712
|
+
return {
|
|
26713
|
+
associatedLegalArrangement
|
|
26714
|
+
};
|
|
26715
|
+
}
|
|
26519
26716
|
const useShouldShowBusinessTypeSelection = (accountHolder2) => {
|
|
26520
26717
|
const {
|
|
26521
26718
|
isExperimentEnabled
|
|
@@ -26593,36 +26790,6 @@ const saveBlobAsFile = (fileData, filename) => {
|
|
|
26593
26790
|
window.URL.revokeObjectURL(blobUrl);
|
|
26594
26791
|
}
|
|
26595
26792
|
};
|
|
26596
|
-
const getLegalEntityNameBasedOnType = (legalEntityResponse) => {
|
|
26597
|
-
var _a, _b, _c, _d, _e;
|
|
26598
|
-
if (legalEntityResponse.type === LegalEntityType.INDIVIDUAL) {
|
|
26599
|
-
return `${((_b = (_a = legalEntityResponse.individual) == null ? void 0 : _a.name) == null ? void 0 : _b.firstName) ?? ""} ${((_d = (_c = legalEntityResponse.individual) == null ? void 0 : _c.name) == null ? void 0 : _d.lastName) ?? ""}`;
|
|
26600
|
-
}
|
|
26601
|
-
return ((_e = legalEntityResponse.organization) == null ? void 0 : _e.legalName) ?? "";
|
|
26602
|
-
};
|
|
26603
|
-
const getPayoutAccountHolderName = (legalEntity, i18n) => {
|
|
26604
|
-
const ownAssociations = getOwnEntityAssociations(legalEntity);
|
|
26605
|
-
const trustAssociation = ownAssociations.find(({
|
|
26606
|
-
type
|
|
26607
|
-
}) => type === LegalEntityType.TRUST);
|
|
26608
|
-
if (trustAssociation == null ? void 0 : trustAssociation.name) {
|
|
26609
|
-
const trustName = trustAssociation.name;
|
|
26610
|
-
const trusteeName = getLegalEntityNameBasedOnType(legalEntity);
|
|
26611
|
-
return i18n.get("trusteeAsTrusteeForTrust", {
|
|
26612
|
-
values: {
|
|
26613
|
-
trustName,
|
|
26614
|
-
trusteeName
|
|
26615
|
-
}
|
|
26616
|
-
});
|
|
26617
|
-
}
|
|
26618
|
-
const solePropAssociation = ownAssociations.find(({
|
|
26619
|
-
type
|
|
26620
|
-
}) => type === LegalEntityType.SOLE_PROPRIETORSHIP);
|
|
26621
|
-
if (solePropAssociation == null ? void 0 : solePropAssociation.name) {
|
|
26622
|
-
return solePropAssociation.name;
|
|
26623
|
-
}
|
|
26624
|
-
return getLegalEntityNameBasedOnType(legalEntity);
|
|
26625
|
-
};
|
|
26626
26793
|
const isNewEntity = Symbol("isNewEntity");
|
|
26627
26794
|
const splitAtFirstOccurrence = (str, separator) => {
|
|
26628
26795
|
const firstOccurrence = str.indexOf(separator);
|
|
@@ -26898,7 +27065,6 @@ function AccountSetupRejected() {
|
|
|
26898
27065
|
content
|
|
26899
27066
|
});
|
|
26900
27067
|
}
|
|
26901
|
-
const DecisionMakers = "";
|
|
26902
27068
|
function useDataMissingRemediations({
|
|
26903
27069
|
legalEntityId,
|
|
26904
27070
|
problems
|
|
@@ -26942,7 +27108,6 @@ const iconStatus = (current, min, max) => {
|
|
|
26942
27108
|
return isWithinConditionalRange ? "conditionalFinished" : "conditionalEmpty";
|
|
26943
27109
|
};
|
|
26944
27110
|
const getEntityStatusRuleDescription = (country2, currentTask, entityLabel) => currentTask === TaskTypes.TRUST_MEMBER_OVERVIEW ? TRUST_DEFAULT_DESCRIPTIONS_MAP[entityLabel] : getDecisionMakerDescriptionMap(country2)[entityLabel];
|
|
26945
|
-
const _cardGroup_component = "";
|
|
26946
27111
|
function CardGroup({
|
|
26947
27112
|
className,
|
|
26948
27113
|
children
|
|
@@ -26952,8 +27117,6 @@ function CardGroup({
|
|
|
26952
27117
|
children
|
|
26953
27118
|
});
|
|
26954
27119
|
}
|
|
26955
|
-
const _entityAssociation_component = "";
|
|
26956
|
-
const Status$1 = "";
|
|
26957
27120
|
const Status = ({
|
|
26958
27121
|
text,
|
|
26959
27122
|
className,
|
|
@@ -27096,7 +27259,6 @@ const VerificationErrorAlert = ({
|
|
|
27096
27259
|
title: i18n.get("verificationErrorMessage")
|
|
27097
27260
|
});
|
|
27098
27261
|
};
|
|
27099
|
-
const _card_component = "";
|
|
27100
27262
|
function Card({
|
|
27101
27263
|
className,
|
|
27102
27264
|
children,
|
|
@@ -27149,7 +27311,6 @@ function Card({
|
|
|
27149
27311
|
})]
|
|
27150
27312
|
});
|
|
27151
27313
|
}
|
|
27152
|
-
const ActionsMenu$1 = "";
|
|
27153
27314
|
function useClickAwayListener(ref, onClickAway) {
|
|
27154
27315
|
const handleClickAway = useCallback((event) => {
|
|
27155
27316
|
if (ref.current && !ref.current.contains(event.target)) {
|
|
@@ -27359,7 +27520,6 @@ const EntityAssociation = ({
|
|
|
27359
27520
|
}), infoContent]
|
|
27360
27521
|
});
|
|
27361
27522
|
};
|
|
27362
|
-
const EntityGuidanceStatus$1 = "";
|
|
27363
27523
|
const EntityStatusIcon = ({
|
|
27364
27524
|
status
|
|
27365
27525
|
}) => {
|
|
@@ -27626,7 +27786,6 @@ const DecisionMakersComponent = ({
|
|
|
27626
27786
|
})
|
|
27627
27787
|
});
|
|
27628
27788
|
};
|
|
27629
|
-
const Shimmer$1 = "";
|
|
27630
27789
|
function Shimmer() {
|
|
27631
27790
|
return jsxs("div", {
|
|
27632
27791
|
children: [jsx("div", {
|
|
@@ -27640,7 +27799,6 @@ function Shimmer() {
|
|
|
27640
27799
|
})]
|
|
27641
27800
|
});
|
|
27642
27801
|
}
|
|
27643
|
-
const _introduction_component = "";
|
|
27644
27802
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
27645
27803
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
27646
27804
|
IntroductionScreens2[IntroductionScreens2["COMPANY"] = TaskTypes.COMPANY] = "COMPANY";
|
|
@@ -27686,7 +27844,6 @@ const useIntroductionScreens = ({
|
|
|
27686
27844
|
}) : [], [legalEntityType, tasks]);
|
|
27687
27845
|
return canSeeIntroduction && (introductionScreens == null ? void 0 : introductionScreens.length) > 0 ? [IntroductionScreens.PROLOGUE, ...introductionScreens, IntroductionScreens.EPILOGUE] : void 0;
|
|
27688
27846
|
};
|
|
27689
|
-
const StepProgressIndicator$1 = "";
|
|
27690
27847
|
const StepProgressIndicator = ({
|
|
27691
27848
|
activeStepIndex,
|
|
27692
27849
|
stepsCount
|
|
@@ -27965,7 +28122,6 @@ function ReviewComponent({
|
|
|
27965
28122
|
footer
|
|
27966
28123
|
});
|
|
27967
28124
|
}
|
|
27968
|
-
const TaskList = "";
|
|
27969
28125
|
const businessTypeMapping = {
|
|
27970
28126
|
myName: {
|
|
27971
28127
|
[LegalEntityType.INDIVIDUAL]: "individual"
|
|
@@ -28012,7 +28168,6 @@ const hasPayoutAccount = (legalEntityResponse) => {
|
|
|
28012
28168
|
var _a;
|
|
28013
28169
|
return Boolean((_a = legalEntityResponse.transferInstruments) == null ? void 0 : _a.length);
|
|
28014
28170
|
};
|
|
28015
|
-
const TaskListItem$1 = "";
|
|
28016
28171
|
const TaskListItem = ({
|
|
28017
28172
|
title,
|
|
28018
28173
|
tagline,
|
|
@@ -28137,7 +28292,6 @@ const PayoutAccountTaskListItem = ({
|
|
|
28137
28292
|
handleIsRemoveDisabled: setIsRemoveDisabled
|
|
28138
28293
|
});
|
|
28139
28294
|
};
|
|
28140
|
-
const TaskListGroup$1 = "";
|
|
28141
28295
|
const TaskListGroup = ({
|
|
28142
28296
|
title,
|
|
28143
28297
|
children
|
|
@@ -28382,7 +28536,6 @@ function TaskListComponent({
|
|
|
28382
28536
|
})]
|
|
28383
28537
|
});
|
|
28384
28538
|
}
|
|
28385
|
-
const TrustMembersOverview$1 = "";
|
|
28386
28539
|
const CompanyTrustMemberTaskItem = ({
|
|
28387
28540
|
companyTrustMember,
|
|
28388
28541
|
taskStatus,
|
|
@@ -28814,7 +28967,7 @@ function IndividualDropinComponent({
|
|
|
28814
28967
|
taskType,
|
|
28815
28968
|
isEmbeddedDropin
|
|
28816
28969
|
}), [country2, data, taskType]);
|
|
28817
|
-
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, individualForms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse) : [],
|
|
28970
|
+
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, individualForms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse) : [], fieldsFromCustomRules), [fieldConfigurations, fieldsFromCustomRules, problems == null ? void 0 : problems.remediationActions]);
|
|
28818
28971
|
const {
|
|
28819
28972
|
state: {
|
|
28820
28973
|
currentState
|
|
@@ -29228,7 +29381,7 @@ const useBankConfigurationHandlers = ({
|
|
|
29228
29381
|
getBankVerificationVendorsHandler
|
|
29229
29382
|
};
|
|
29230
29383
|
};
|
|
29231
|
-
const accountFormatsImports = /* @__PURE__ */ Object.assign({ "./AD.json": () => import("./AD-
|
|
29384
|
+
const accountFormatsImports = /* @__PURE__ */ Object.assign({ "./AD.json": () => import("./AD-rNM7cqE8.mjs"), "./AE.json": () => import("./AE-DoU2c3CQ.mjs"), "./AI.json": () => import("./AI-BQBZ2VVt.mjs"), "./AL.json": () => import("./AL-s4ei1ra4.mjs"), "./AR.json": () => import("./AR-DDR8RTlN.mjs"), "./AS.json": () => import("./AS-CvpjtIPo.mjs"), "./AT.json": () => import("./AT-Du3jf0QK.mjs"), "./AU.json": () => import("./AU-CaRlRNzq.mjs"), "./AX.json": () => import("./AX-DL2IpBlq.mjs"), "./AZ.json": () => import("./AZ-DgnKHqSW.mjs"), "./BA.json": () => import("./BA-DbzAHDbo.mjs"), "./BE.json": () => import("./BE-B8RVrEa-.mjs"), "./BG.json": () => import("./BG-BAU_RbNU.mjs"), "./BH.json": () => import("./BH-zzl3Aicz.mjs"), "./BM.json": () => import("./BM-Bx0QpJE_.mjs"), "./BR.json": () => import("./BR-CcE5GVb_.mjs"), "./BS.json": () => import("./BS-C5xv5epf.mjs"), "./BV.json": () => import("./BV-BO7Uhvet.mjs"), "./BY.json": () => import("./BY-Dn7i3b4O.mjs"), "./CA.json": () => import("./CA-BzjyYlZe.mjs"), "./CH.json": () => import("./CH-BvlOBUqB.mjs"), "./CN.json": () => import("./CN-y0BC6iBw.mjs"), "./CR.json": () => import("./CR-tTzdtq6M.mjs"), "./CY.json": () => import("./CY-Bjyj7q7k.mjs"), "./CZ.json": () => import("./CZ-DdsXQiz6.mjs"), "./DE.json": () => import("./DE-k6sF_Z8P.mjs"), "./DK.json": () => import("./DK-CUWikATU.mjs"), "./DO.json": () => import("./DO-DpDyoh4y.mjs"), "./EC.json": () => import("./EC--TPKDJme.mjs"), "./EE.json": () => import("./EE-o0O1NAuh.mjs"), "./ES.json": () => import("./ES-8DboqUrj.mjs"), "./FI.json": () => import("./FI-CwVBRBBQ.mjs"), "./FJ.json": () => import("./FJ-DkKmOAd6.mjs"), "./FO.json": () => import("./FO-BCZCVxXR.mjs"), "./FR.json": () => import("./FR-NtJ3QSfd.mjs"), "./GB.json": () => import("./GB-BhRiUVO6.mjs"), "./GE.json": () => import("./GE--9n2R8_p.mjs"), "./GF.json": () => import("./GF-BeND08-O.mjs"), "./GG.json": () => import("./GG-DcYzHlYO.mjs"), "./GI.json": () => import("./GI-BWXRySSY.mjs"), "./GL.json": () => import("./GL-Cu7M9Xnx.mjs"), "./GP.json": () => import("./GP-Dm3WhONm.mjs"), "./GR.json": () => import("./GR-C0snveYS.mjs"), "./GT.json": () => import("./GT-BykjfmEK.mjs"), "./GU.json": () => import("./GU-oom5Ehbd.mjs"), "./HK.json": () => import("./HK-Dr5b-SwK.mjs"), "./HR.json": () => import("./HR-DKAQpsSV.mjs"), "./HU.json": () => import("./HU-DJWWX_5P.mjs"), "./ID.json": () => import("./ID-BWJvoyJo.mjs"), "./IE.json": () => import("./IE-BPh0CHaO.mjs"), "./IL.json": () => import("./IL-B8E0HdBj.mjs"), "./IM.json": () => import("./IM-ClrsAYLm.mjs"), "./IN.json": () => import("./IN-CVsYzQzI.mjs"), "./IS.json": () => import("./IS-BkDwjQHz.mjs"), "./IT.json": () => import("./IT-B3cLskCx.mjs"), "./JE.json": () => import("./JE-C8HBNrJn.mjs"), "./JM.json": () => import("./JM-CH_LXMnd.mjs"), "./JO.json": () => import("./JO-CD_uH_Uk.mjs"), "./JP.json": () => import("./JP-DtK_xb_Y.mjs"), "./KR.json": () => import("./KR-DBPY5awJ.mjs"), "./KW.json": () => import("./KW-CiSCIyPm.mjs"), "./KY.json": () => import("./KY-FU9AuEMz.mjs"), "./KZ.json": () => import("./KZ-CMFj-_rM.mjs"), "./LB.json": () => import("./LB-BRGM3Yl3.mjs"), "./LI.json": () => import("./LI-DlCX-3GD.mjs"), "./LT.json": () => import("./LT-XRkygwh8.mjs"), "./LU.json": () => import("./LU-CV14IXAu.mjs"), "./LV.json": () => import("./LV-ByV8yuF8.mjs"), "./MC.json": () => import("./MC-CwHePfdt.mjs"), "./MD.json": () => import("./MD-_IIMR66Q.mjs"), "./ME.json": () => import("./ME-Cfx8llkg.mjs"), "./MK.json": () => import("./MK-CEzz7Z_a.mjs"), "./MP.json": () => import("./MP-C5acK0KC.mjs"), "./MQ.json": () => import("./MQ-BEZo6wPU.mjs"), "./MR.json": () => import("./MR-BoFyF5R-.mjs"), "./MT.json": () => import("./MT-C_-lQGuI.mjs"), "./MU.json": () => import("./MU-_tM1ai_B.mjs"), "./MX.json": () => import("./MX-eayygS1f.mjs"), "./MY.json": () => import("./MY-CsKpuB-w.mjs"), "./NC.json": () => import("./NC-Bel2A-Fk.mjs"), "./NL.json": () => import("./NL-C3LxWTQ7.mjs"), "./NO.json": () => import("./NO-CjZgx8a-.mjs"), "./NZ.json": () => import("./NZ-DiGhP2MG.mjs"), "./PE.json": () => import("./PE-DvMRqGF_.mjs"), "./PF.json": () => import("./PF-f7fSMI_4.mjs"), "./PH.json": () => import("./PH-CjFT8xMY.mjs"), "./PK.json": () => import("./PK-wMg8N3zK.mjs"), "./PL.json": () => import("./PL-WpWUBPgN.mjs"), "./PM.json": () => import("./PM-D4sBI2Px.mjs"), "./PR.json": () => import("./PR-BJ09dEXF.mjs"), "./PS.json": () => import("./PS-CWFZXVi8.mjs"), "./PT.json": () => import("./PT-BarBZmwW.mjs"), "./QA.json": () => import("./QA-CtUmYTKA.mjs"), "./RE.json": () => import("./RE-DfaVzCe-.mjs"), "./RO.json": () => import("./RO-DmWLrUu-.mjs"), "./RS.json": () => import("./RS-DilO913f.mjs"), "./RU.json": () => import("./RU-B83Fu7c3.mjs"), "./SA.json": () => import("./SA-BpimyQxp.mjs"), "./SE.json": () => import("./SE-BXNcwTPQ.mjs"), "./SG.json": () => import("./SG-Uyk6Nl41.mjs"), "./SI.json": () => import("./SI-B5ALffDQ.mjs"), "./SJ.json": () => import("./SJ-BrJofAMz.mjs"), "./SK.json": () => import("./SK-DOE_fS4w.mjs"), "./SM.json": () => import("./SM-BBQZf4DZ.mjs"), "./TF.json": () => import("./TF-BDwH1us-.mjs"), "./TH.json": () => import("./TH-BxFJXEcZ.mjs"), "./TL.json": () => import("./TL-BzbQs-FD.mjs"), "./TN.json": () => import("./TN-Dc91A3rb.mjs"), "./TR.json": () => import("./TR-BBxkpnZQ.mjs"), "./TT.json": () => import("./TT-D-FKOmmE.mjs"), "./TW.json": () => import("./TW-r3G_Qs5B.mjs"), "./UA.json": () => import("./UA-vpfj8SEN.mjs"), "./US.json": () => import("./US-CFOdL8kt.mjs"), "./UY.json": () => import("./UY-CUwq2MHm.mjs"), "./VA.json": () => import("./VA-DlPtJwY9.mjs"), "./VG.json": () => import("./VG-yM0HOg57.mjs"), "./VI.json": () => import("./VI-I7ADXxNd.mjs"), "./VN.json": () => import("./VN-0gy1H7YD.mjs"), "./WF.json": () => import("./WF-BlzFGDgv.mjs"), "./YT.json": () => import("./YT-17mSpzMD.mjs"), "./ZA.json": () => import("./ZA-BcxFTdWL.mjs") });
|
|
29232
29385
|
const getAccountFormatsForCountry = async (country2) => {
|
|
29233
29386
|
const importForCountry = accountFormatsImports[`./${country2}.json`];
|
|
29234
29387
|
if (!importForCountry) {
|
|
@@ -29309,6 +29462,7 @@ function PayoutDetailsDropinComponent({
|
|
|
29309
29462
|
handleCreateTransferInstrument,
|
|
29310
29463
|
handleGetBankVerificationVendors,
|
|
29311
29464
|
legalEntityResponse,
|
|
29465
|
+
associatedLegalArrangement,
|
|
29312
29466
|
trackingConfig,
|
|
29313
29467
|
accountHolder: accountHolder2,
|
|
29314
29468
|
problems: propProblems,
|
|
@@ -29438,7 +29592,7 @@ function PayoutDetailsDropinComponent({
|
|
|
29438
29592
|
verificationVendorsCallback: handleGetBankVerificationVendors
|
|
29439
29593
|
}), isSettingEnabled(SettingNames.AllowIntraRegionCrossBorderPayout), isExperimentEnabled("EnableNewEntryFlow"));
|
|
29440
29594
|
}, [bankVerificationVendors]);
|
|
29441
|
-
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, payoutDetailsSteps, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], [],
|
|
29595
|
+
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, payoutDetailsSteps, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], [], fieldsFromCustomRules, fieldsFormCustomLabels), [fieldConfigurations, fieldsFromCustomRules, problems == null ? void 0 : problems.remediationActions]);
|
|
29442
29596
|
const {
|
|
29443
29597
|
state: {
|
|
29444
29598
|
currentState
|
|
@@ -29599,9 +29753,9 @@ function PayoutDetailsDropinComponent({
|
|
|
29599
29753
|
}
|
|
29600
29754
|
};
|
|
29601
29755
|
const isDocumentsRequired2 = (forms22) => forms22.some((form) => form.formId === payoutDetailsSteps.payoutAccountDocuments.formId);
|
|
29602
|
-
const formatFileSummaryData2 = (
|
|
29756
|
+
const formatFileSummaryData2 = (bankDocuments) => {
|
|
29603
29757
|
var _a2;
|
|
29604
|
-
const bankStatementDocument2 = (_a2 =
|
|
29758
|
+
const bankStatementDocument2 = (_a2 = bankDocuments == null ? void 0 : bankDocuments.bankStatementDocument) == null ? void 0 : _a2[0];
|
|
29605
29759
|
return {
|
|
29606
29760
|
...bankStatementDocument2 && {
|
|
29607
29761
|
fileName: bankStatementDocument2.name
|
|
@@ -29706,6 +29860,7 @@ function PayoutDetailsDropinComponent({
|
|
|
29706
29860
|
setSkipSubmit,
|
|
29707
29861
|
onChange,
|
|
29708
29862
|
legalEntityResponse,
|
|
29863
|
+
associatedLegalArrangement,
|
|
29709
29864
|
handleGetBankVerificationVendors: getBankVerificationVendorsHandler,
|
|
29710
29865
|
instantVerificationEnabled,
|
|
29711
29866
|
refreshLegalEntity,
|
|
@@ -29716,7 +29871,6 @@ function PayoutDetailsDropinComponent({
|
|
|
29716
29871
|
})
|
|
29717
29872
|
});
|
|
29718
29873
|
}
|
|
29719
|
-
const ContractViewer$1 = "";
|
|
29720
29874
|
function ContractViewer({
|
|
29721
29875
|
contract,
|
|
29722
29876
|
className,
|
|
@@ -31008,7 +31162,7 @@ function SolePropDropinComponent({
|
|
|
31008
31162
|
requiredFields,
|
|
31009
31163
|
isSettingEnabled
|
|
31010
31164
|
}), [country2, data, taskType, requiredFields, isSettingEnabled]);
|
|
31011
|
-
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, solePropForms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse) : [],
|
|
31165
|
+
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, solePropForms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse) : [], fieldsFromCustomRules), [fieldConfigurations, fieldsFromCustomRules, problems == null ? void 0 : problems.remediationActions]);
|
|
31012
31166
|
const {
|
|
31013
31167
|
state: {
|
|
31014
31168
|
currentState
|
|
@@ -31291,7 +31445,7 @@ function TrustDropinComponent({
|
|
|
31291
31445
|
requiredFields,
|
|
31292
31446
|
isSettingEnabled
|
|
31293
31447
|
}), [country2, data, taskType, requiredFields, isSettingEnabled]);
|
|
31294
|
-
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, trustForms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse) : [],
|
|
31448
|
+
const derivedProps = useMemo(() => getPropsFromConfigurations(fieldConfigurations, trustForms, (problems == null ? void 0 : problems.remediationActions) ? Object.values(problems == null ? void 0 : problems.remediationActions) : [], (problems == null ? void 0 : problems.missingData) ?? [], legalEntityResponse ? getFieldsWithExistingData(legalEntityResponse) : [], fieldsFromCustomRules), [fieldConfigurations, fieldsFromCustomRules, problems == null ? void 0 : problems.remediationActions]);
|
|
31295
31449
|
const {
|
|
31296
31450
|
state: {
|
|
31297
31451
|
currentState
|
|
@@ -31542,6 +31696,12 @@ function DropinComposerComponent({
|
|
|
31542
31696
|
const [taskHistory, setTaskHistory] = useState([initialTask]);
|
|
31543
31697
|
const [rootLegalEntity, setRootLegalEntity] = useState(legalEntityResponse);
|
|
31544
31698
|
const [associatedLegalEntity, setAssociatedLegalEntity] = useState(null);
|
|
31699
|
+
const {
|
|
31700
|
+
associatedLegalArrangement
|
|
31701
|
+
} = useAssociatedLegalArrangement({
|
|
31702
|
+
rootLegalEntity,
|
|
31703
|
+
getLegalEntity: args == null ? void 0 : args.handleGetLegalEntity
|
|
31704
|
+
});
|
|
31545
31705
|
const [associatedLegalEntityParent, setAssociatedLegalEntityParent] = useState(null);
|
|
31546
31706
|
const [legalEntityType, setLegalEntityType] = useState(null);
|
|
31547
31707
|
const [solePropietor, setSolePropietor] = useState(null);
|
|
@@ -32317,6 +32477,7 @@ function DropinComposerComponent({
|
|
|
32317
32477
|
transferInstrument,
|
|
32318
32478
|
setTransferInstrument,
|
|
32319
32479
|
legalEntityResponse: rootLegalEntity,
|
|
32480
|
+
associatedLegalArrangement,
|
|
32320
32481
|
refreshLegalEntity,
|
|
32321
32482
|
accountHolder: getPayoutAccountHolderName(rootLegalEntity, i18n),
|
|
32322
32483
|
capabilities: Object.keys((legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) ?? {}),
|
|
@@ -32955,6 +33116,12 @@ function CreateTransferInstrumentComponent({
|
|
|
32955
33116
|
} = useComponentApi(legalEntityId);
|
|
32956
33117
|
const [legalEntity, setLegalEntity] = useState();
|
|
32957
33118
|
const [transferInstrument, setTransferInstrument] = useState();
|
|
33119
|
+
const {
|
|
33120
|
+
associatedLegalArrangement
|
|
33121
|
+
} = useAssociatedLegalArrangement({
|
|
33122
|
+
rootLegalEntity: legalEntity,
|
|
33123
|
+
getLegalEntity: getLegalEntity2
|
|
33124
|
+
});
|
|
32958
33125
|
const fetchLegalEntity = useCallback(async () => {
|
|
32959
33126
|
const le = await getLegalEntity2(legalEntityId);
|
|
32960
33127
|
setLegalEntity(le);
|
|
@@ -32973,6 +33140,7 @@ function CreateTransferInstrumentComponent({
|
|
|
32973
33140
|
eventEmitter: eventEmitter ?? new EventEmitter(),
|
|
32974
33141
|
transferInstrument,
|
|
32975
33142
|
legalEntityResponse: legalEntity,
|
|
33143
|
+
associatedLegalArrangement,
|
|
32976
33144
|
handleGetBankVerificationVendors: (country2) => getBankVerificationVendor2(country2, openBankingPartnerConfigId),
|
|
32977
33145
|
handleGetDocument: getDocument2,
|
|
32978
33146
|
handleCreateDocument: createDocument2,
|
|
@@ -32988,7 +33156,6 @@ function CreateTransferInstrumentComponent({
|
|
|
32988
33156
|
taskType: TaskTypes.PAYOUT
|
|
32989
33157
|
}) : null;
|
|
32990
33158
|
}
|
|
32991
|
-
const OnboardingRedirectComponent$1 = "";
|
|
32992
33159
|
var OnboardingStatus = /* @__PURE__ */ ((OnboardingStatus2) => {
|
|
32993
33160
|
OnboardingStatus2["INCOMPLETE"] = "INCOMPLETE";
|
|
32994
33161
|
OnboardingStatus2["PROCESSING"] = "PROCESSING";
|
|
@@ -33021,10 +33188,16 @@ const contentMap = {
|
|
|
33021
33188
|
function getContentByStatus(status) {
|
|
33022
33189
|
return contentMap[status];
|
|
33023
33190
|
}
|
|
33191
|
+
var OnboardingUrlTarget = /* @__PURE__ */ ((OnboardingUrlTarget2) => {
|
|
33192
|
+
OnboardingUrlTarget2["BLANK"] = "_blank";
|
|
33193
|
+
OnboardingUrlTarget2["SELF"] = "_self";
|
|
33194
|
+
return OnboardingUrlTarget2;
|
|
33195
|
+
})(OnboardingUrlTarget || {});
|
|
33024
33196
|
const logger$5 = createLogger("OnboardingRedirectComponent");
|
|
33025
33197
|
function OnboardingRedirectComponent({
|
|
33026
33198
|
legalEntityId,
|
|
33027
33199
|
returnUrl,
|
|
33200
|
+
redirectTarget,
|
|
33028
33201
|
onStatusChange,
|
|
33029
33202
|
onError,
|
|
33030
33203
|
onRedirect,
|
|
@@ -33104,9 +33277,9 @@ function OnboardingRedirectComponent({
|
|
|
33104
33277
|
};
|
|
33105
33278
|
try {
|
|
33106
33279
|
const {
|
|
33107
|
-
|
|
33280
|
+
redirectUrl
|
|
33108
33281
|
} = await generateOnboardingLink2(config);
|
|
33109
|
-
|
|
33282
|
+
openUrl(redirectUrl, config);
|
|
33110
33283
|
} catch (error) {
|
|
33111
33284
|
handleError({
|
|
33112
33285
|
trKey: "onboardingRedirectLinkError",
|
|
@@ -33116,14 +33289,15 @@ function OnboardingRedirectComponent({
|
|
|
33116
33289
|
setLinkLoadingStatus("success");
|
|
33117
33290
|
}
|
|
33118
33291
|
};
|
|
33119
|
-
const
|
|
33120
|
-
const
|
|
33292
|
+
const openUrl = (url, config) => {
|
|
33293
|
+
const target = redirectTarget && Object.values(OnboardingUrlTarget).includes(redirectTarget) ? redirectTarget : OnboardingUrlTarget.BLANK;
|
|
33294
|
+
const newTab = window.open("", target);
|
|
33121
33295
|
if (newTab) {
|
|
33122
|
-
newTab.location.href =
|
|
33296
|
+
newTab.location.href = url;
|
|
33123
33297
|
if (typeof onRedirect === "function") {
|
|
33124
33298
|
onRedirect({
|
|
33125
33299
|
...config,
|
|
33126
|
-
onboardingLink:
|
|
33300
|
+
onboardingLink: url
|
|
33127
33301
|
});
|
|
33128
33302
|
}
|
|
33129
33303
|
} else {
|
|
@@ -33644,21 +33818,33 @@ const I18nProvider = ({
|
|
|
33644
33818
|
});
|
|
33645
33819
|
};
|
|
33646
33820
|
const settingsDefaults = {
|
|
33821
|
+
acceptedCountries: void 0,
|
|
33822
|
+
allowBankAccountFormatSelection: false,
|
|
33823
|
+
allowIntraRegionCrossBorderPayout: false,
|
|
33647
33824
|
changeLegalEntityType: true,
|
|
33648
33825
|
editPrefilledCountry: true,
|
|
33826
|
+
requirePciSignEcomMoto: false,
|
|
33827
|
+
requirePciSignEcommerce: false,
|
|
33828
|
+
requirePciSignPos: false,
|
|
33829
|
+
requirePciSignPosMoto: false,
|
|
33649
33830
|
hideOnboardingIntroductionIndividual: true,
|
|
33650
33831
|
hideOnboardingIntroductionOrganization: true,
|
|
33651
33832
|
hideOnboardingIntroductionTrust: true,
|
|
33652
33833
|
hideOnboardingIntroductionSoleProprietor: true,
|
|
33653
33834
|
viewOnboardingGuidance: false
|
|
33654
33835
|
};
|
|
33655
|
-
function
|
|
33836
|
+
function SettingsProvider({
|
|
33656
33837
|
children,
|
|
33657
33838
|
settings
|
|
33658
33839
|
}) {
|
|
33840
|
+
const mergedSettings = {
|
|
33841
|
+
...settingsDefaults,
|
|
33842
|
+
...settings
|
|
33843
|
+
};
|
|
33659
33844
|
const contextValue = useMemo(() => ({
|
|
33660
33845
|
// settings is being returned from the /onboardingLinks call, if a new setting is needed it should be added both in BE and in the SettingName type
|
|
33661
|
-
isSettingEnabled: (settingName) =>
|
|
33846
|
+
isSettingEnabled: (settingName) => mergedSettings[settingName],
|
|
33847
|
+
getSetting: (settingName) => mergedSettings[settingName]
|
|
33662
33848
|
}), [settings]);
|
|
33663
33849
|
return jsx(SettingsContext.Provider, {
|
|
33664
33850
|
value: contextValue,
|
|
@@ -33960,21 +34146,21 @@ class UIElement extends BaseElement {
|
|
|
33960
34146
|
this.render = () => {
|
|
33961
34147
|
var _a;
|
|
33962
34148
|
const Component = this.props.component;
|
|
33963
|
-
return jsx(
|
|
33964
|
-
|
|
33965
|
-
|
|
33966
|
-
|
|
33967
|
-
|
|
33968
|
-
|
|
33969
|
-
|
|
33970
|
-
children: jsx(
|
|
33971
|
-
|
|
33972
|
-
|
|
33973
|
-
|
|
33974
|
-
|
|
33975
|
-
|
|
33976
|
-
|
|
33977
|
-
|
|
34149
|
+
return jsx(SettingsProvider, {
|
|
34150
|
+
settings: this.props.settings,
|
|
34151
|
+
children: jsx(AuthProvider, {
|
|
34152
|
+
sdkToken: this.props.sdkToken,
|
|
34153
|
+
getSdkToken: this.props.getSdkToken,
|
|
34154
|
+
clientKey: this.props.clientKey,
|
|
34155
|
+
loadingContext: this.props.loadingContext,
|
|
34156
|
+
children: jsx(ConfigurationApiProvider, {
|
|
34157
|
+
rootLegalEntityId: getRootLegalEntityId(this.props.componentProps),
|
|
34158
|
+
children: jsx(CoreProvider, {
|
|
34159
|
+
contextCountry: this.props.contextCountry,
|
|
34160
|
+
enableNewEntryFlowExperiment: (_a = this.props.experiments) == null ? void 0 : _a.EnableNewEntryFlow,
|
|
34161
|
+
children: jsx(I18nProvider, {
|
|
34162
|
+
locale: this.props.locale,
|
|
34163
|
+
customTranslations: this.props.customTranslations,
|
|
33978
34164
|
children: jsx(ExperimentsContextProvider, {
|
|
33979
34165
|
experiments: this.props.experiments,
|
|
33980
34166
|
children: jsx("div", {
|
|
@@ -34042,6 +34228,28 @@ const trustPropSchema = {
|
|
|
34042
34228
|
}
|
|
34043
34229
|
}
|
|
34044
34230
|
};
|
|
34231
|
+
const soleProprietorPropSchema = {
|
|
34232
|
+
type: "object",
|
|
34233
|
+
propertiesSchema: {
|
|
34234
|
+
name: {
|
|
34235
|
+
type: "string",
|
|
34236
|
+
required: true
|
|
34237
|
+
},
|
|
34238
|
+
countryOfGoverningLaw: {
|
|
34239
|
+
type: "string",
|
|
34240
|
+
required: true
|
|
34241
|
+
},
|
|
34242
|
+
registeredAddress: {
|
|
34243
|
+
type: "object",
|
|
34244
|
+
propertiesSchema: {
|
|
34245
|
+
country: {
|
|
34246
|
+
type: "string",
|
|
34247
|
+
required: true
|
|
34248
|
+
}
|
|
34249
|
+
}
|
|
34250
|
+
}
|
|
34251
|
+
}
|
|
34252
|
+
};
|
|
34045
34253
|
const individualPropSchema = {
|
|
34046
34254
|
type: "object",
|
|
34047
34255
|
propertiesSchema: {
|
|
@@ -34459,6 +34667,28 @@ const payoutAccountSchema = {
|
|
|
34459
34667
|
individual: individualPropSchema,
|
|
34460
34668
|
organization: organizationPropSchema
|
|
34461
34669
|
}
|
|
34670
|
+
},
|
|
34671
|
+
associatedLegalArrangement: {
|
|
34672
|
+
type: "object",
|
|
34673
|
+
propertiesSchema: {
|
|
34674
|
+
id: {
|
|
34675
|
+
type: "string",
|
|
34676
|
+
required: true
|
|
34677
|
+
},
|
|
34678
|
+
type: {
|
|
34679
|
+
type: "string",
|
|
34680
|
+
exactValue: [LegalEntityType.SOLE_PROPRIETORSHIP, LegalEntityType.TRUST],
|
|
34681
|
+
required: true
|
|
34682
|
+
},
|
|
34683
|
+
documentDetails: {
|
|
34684
|
+
type: "array"
|
|
34685
|
+
},
|
|
34686
|
+
capabilities: {
|
|
34687
|
+
type: "object"
|
|
34688
|
+
},
|
|
34689
|
+
soleProprietorship: soleProprietorPropSchema,
|
|
34690
|
+
trust: trustPropSchema
|
|
34691
|
+
}
|
|
34462
34692
|
}
|
|
34463
34693
|
};
|
|
34464
34694
|
const taskListSchema = {
|
|
@@ -34604,6 +34834,9 @@ const onboardingRedirectComponentSchema = {
|
|
|
34604
34834
|
type: "string",
|
|
34605
34835
|
required: true
|
|
34606
34836
|
},
|
|
34837
|
+
redirectTarget: {
|
|
34838
|
+
type: "string"
|
|
34839
|
+
},
|
|
34607
34840
|
onStatusChange: {
|
|
34608
34841
|
type: "function"
|
|
34609
34842
|
},
|