@taxbit/react-sdk 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/basic.css +3 -16
- package/dist/index.css +10 -10
- package/dist/inline.css +3 -16
- package/dist/minimal.css +5 -17
- package/dist/src/components/Form/Form.d.ts +2 -1
- package/dist/src/ui/ActionButton/ActionButton.d.ts +2 -2
- package/dist/src/ui/HideShowButton/HideShowButton.d.ts +1 -1
- package/dist/src/ui/ToggleButton/ToggleButton.d.ts +2 -2
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/mergeDeep.d.ts +1 -0
- package/dist/taxbit-react-sdk.js +1035 -953
- package/dist/taxbit-react-sdk.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/taxbit-react-sdk.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
1
|
+
import Xn, { useState as K, useEffect as X, createContext as gt, useContext as kt, useCallback as xa, useMemo as _, useRef as Gn } from "react";
|
|
2
|
+
const Wa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging" : ""}.taxbit.com/v1/${e}`, Ja = {
|
|
3
3
|
taxDocumentation: {
|
|
4
|
-
post: (e) =>
|
|
5
|
-
get: (e) =>
|
|
4
|
+
post: (e) => Wa("tax-documentation", e),
|
|
5
|
+
get: (e) => Wa("tax-documentation?unmask_tin=true", e)
|
|
6
6
|
},
|
|
7
7
|
taxDocumentationStatus: {
|
|
8
|
-
get: (e) =>
|
|
8
|
+
get: (e) => Wa("tax-documentation-status", e)
|
|
9
9
|
}
|
|
10
|
-
},
|
|
10
|
+
}, ht = (e) => e.replace(/([-_][a-z])/gi, (a) => a.toUpperCase().replace(/[-_]/g, "")), Ka = (e) => Array.isArray(e) ? e.map((a) => Ka(a)) : e !== Object(e) ? e : Object.fromEntries(
|
|
11
11
|
Object.entries(e).map(([a, n]) => [
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
ht(a),
|
|
13
|
+
Ka(n)
|
|
14
14
|
])
|
|
15
|
-
), ce = (...e) => e.filter(Boolean).join(" "),
|
|
15
|
+
), ce = (...e) => e.filter(Boolean).join(" "), vt = (e) => {
|
|
16
16
|
try {
|
|
17
17
|
const a = (/* @__PURE__ */ new Date()).getUTCFullYear(), n = e.substring(e.length - 4, e.length), r = a - Number(n);
|
|
18
18
|
if (r > 0 && r < 131)
|
|
@@ -22,16 +22,16 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
22
22
|
} catch {
|
|
23
23
|
return !1;
|
|
24
24
|
}
|
|
25
|
-
},
|
|
25
|
+
}, pt = (e) => /^\d{2}\/\d{2}\/\d{4}$/.test(e), ft = (e) => {
|
|
26
26
|
const a = new Date(e);
|
|
27
27
|
return !isNaN(a.getTime()) && e === a.toLocaleDateString("en-US", {
|
|
28
28
|
month: "2-digit",
|
|
29
29
|
day: "2-digit",
|
|
30
30
|
year: "numeric"
|
|
31
31
|
});
|
|
32
|
-
},
|
|
32
|
+
}, Ae = (e) => e.map((a) => ({
|
|
33
33
|
value: a
|
|
34
|
-
})),
|
|
34
|
+
})), At = [
|
|
35
35
|
"AB",
|
|
36
36
|
"BC",
|
|
37
37
|
"MB",
|
|
@@ -45,7 +45,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
45
45
|
"QC",
|
|
46
46
|
"SK",
|
|
47
47
|
"YT"
|
|
48
|
-
],
|
|
48
|
+
], bt = Ae(At), Ct = [
|
|
49
49
|
"AD",
|
|
50
50
|
"AE",
|
|
51
51
|
"AF",
|
|
@@ -295,7 +295,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
295
295
|
"ZA",
|
|
296
296
|
"ZM",
|
|
297
297
|
"ZW"
|
|
298
|
-
],
|
|
298
|
+
], $n = [
|
|
299
299
|
"AT",
|
|
300
300
|
"BE",
|
|
301
301
|
"BG",
|
|
@@ -323,7 +323,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
323
323
|
"SE",
|
|
324
324
|
"SI",
|
|
325
325
|
"SK"
|
|
326
|
-
],
|
|
326
|
+
], ca = Ae(Ct), It = Ae($n), re = (e) => e ? $n.includes(e) : !1, St = [
|
|
327
327
|
"01",
|
|
328
328
|
"02",
|
|
329
329
|
"03",
|
|
@@ -355,7 +355,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
355
355
|
"29",
|
|
356
356
|
"30",
|
|
357
357
|
"31"
|
|
358
|
-
],
|
|
358
|
+
], Dn = Ae(St), Nt = [
|
|
359
359
|
"A",
|
|
360
360
|
"B",
|
|
361
361
|
"C",
|
|
@@ -369,14 +369,14 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
369
369
|
"K",
|
|
370
370
|
"L",
|
|
371
371
|
"M"
|
|
372
|
-
],
|
|
372
|
+
], Tt = Ae(Nt), et = [
|
|
373
373
|
{ value: "individual" },
|
|
374
374
|
{ value: "corporation" },
|
|
375
375
|
{ value: "partnership" },
|
|
376
376
|
{ value: "trust" },
|
|
377
377
|
{ value: "other" },
|
|
378
378
|
{ value: "disregardedEntity" }
|
|
379
|
-
],
|
|
379
|
+
], Mt = et.map((e) => e.value), ti = [
|
|
380
380
|
{ value: "taxExemptOrganization" },
|
|
381
381
|
{ value: "privateFoundation" },
|
|
382
382
|
{ value: "internationalOrganization" },
|
|
@@ -384,17 +384,17 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
384
384
|
{ value: "foreignGovernmentControlledEntity" },
|
|
385
385
|
{ value: "foreignGovernmentIntegralPart" },
|
|
386
386
|
{ value: "estate" }
|
|
387
|
-
],
|
|
387
|
+
], yt = ti.map((e) => e.value), jt = [
|
|
388
388
|
{ value: "individual" },
|
|
389
389
|
{ value: "corporation" },
|
|
390
390
|
{ value: "partnership" },
|
|
391
391
|
{ value: "trust" },
|
|
392
392
|
{ value: "other" }
|
|
393
|
-
],
|
|
393
|
+
], ri = [
|
|
394
394
|
{ value: "simpleTrust" },
|
|
395
395
|
{ value: "complexTrust" },
|
|
396
396
|
{ value: "grantorTrust" }
|
|
397
|
-
],
|
|
397
|
+
], Ot = ri.map((e) => e.value), zt = [
|
|
398
398
|
"bg-bg",
|
|
399
399
|
"cs-cz",
|
|
400
400
|
"da-dk",
|
|
@@ -425,7 +425,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
425
425
|
"sk-sk",
|
|
426
426
|
"sl-si",
|
|
427
427
|
"sv-se"
|
|
428
|
-
],
|
|
428
|
+
], Et = Ae(zt), Bt = [
|
|
429
429
|
"01",
|
|
430
430
|
"02",
|
|
431
431
|
"03",
|
|
@@ -438,7 +438,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
438
438
|
"10",
|
|
439
439
|
"11",
|
|
440
440
|
"12"
|
|
441
|
-
],
|
|
441
|
+
], Pt = Ae(Bt), Rt = [
|
|
442
442
|
"A",
|
|
443
443
|
"B",
|
|
444
444
|
"C",
|
|
@@ -452,7 +452,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
452
452
|
"K",
|
|
453
453
|
"L",
|
|
454
454
|
"M"
|
|
455
|
-
],
|
|
455
|
+
], wt = Ae(Rt), at = [
|
|
456
456
|
{ value: "individual" },
|
|
457
457
|
{ value: "soleProprietor" },
|
|
458
458
|
{ value: "llc" },
|
|
@@ -463,13 +463,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
463
463
|
{ value: "trustEstate" },
|
|
464
464
|
{ value: "other" },
|
|
465
465
|
{ value: "disregardedEntity" }
|
|
466
|
-
],
|
|
466
|
+
], Ht = at.map((e) => e.value), oi = [
|
|
467
467
|
{ value: "cCorporation" },
|
|
468
468
|
{ value: "sCorporation" },
|
|
469
469
|
{ value: "partnership" }
|
|
470
|
-
],
|
|
470
|
+
], Lt = oi.map(
|
|
471
471
|
(e) => e.value
|
|
472
|
-
),
|
|
472
|
+
), Gt = [
|
|
473
473
|
{ value: "individual" },
|
|
474
474
|
{ value: "llc" },
|
|
475
475
|
{ value: "cCorporation" },
|
|
@@ -477,7 +477,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
477
477
|
{ value: "partnership" },
|
|
478
478
|
{ value: "trustEstate" },
|
|
479
479
|
{ value: "other" }
|
|
480
|
-
],
|
|
480
|
+
], Dt = [
|
|
481
481
|
"AL",
|
|
482
482
|
"AK",
|
|
483
483
|
"AS",
|
|
@@ -538,12 +538,12 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
538
538
|
"WV",
|
|
539
539
|
"WI",
|
|
540
540
|
"WY"
|
|
541
|
-
],
|
|
542
|
-
{ length:
|
|
543
|
-
(e, a) =>
|
|
544
|
-
),
|
|
541
|
+
], Ut = Ae(Dt), it = /* @__PURE__ */ new Date(), Ft = it.getFullYear() - 120, Un = it.getFullYear(), xt = Array.from(
|
|
542
|
+
{ length: Un - Ft },
|
|
543
|
+
(e, a) => Un - a
|
|
544
|
+
), Kt = xt.map((e) => ({
|
|
545
545
|
value: e
|
|
546
|
-
})), E = (e) => e === void 0 || e === "", F = (e) => !E(e),
|
|
546
|
+
})), E = (e) => e === void 0 || e === "", F = (e) => !E(e), ua = (e, a) => {
|
|
547
547
|
const n = (!a || a.includes("W-9")) && ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes"), r = (!a || a.includes("W-8BEN") || a.includes("W-8BEN-E")) && ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "no"), s = (!a || a.includes("W-8BEN")) && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual"), o = (!a || (a == null ? void 0 : a.includes("W-8BEN-E"))) && (!!(e != null && e.accountHolderForeignAccountType) && e.accountHolderForeignAccountType !== "individual" && e.accountHolderForeignAccountType !== "disregardedEntity" || !!(e != null && e.regardedOwnerForeignAccountType) && e.regardedOwnerForeignAccountType !== "individual"), d = (!a || a.includes("DAC7")) && (e == null ? void 0 : e.accountHolderIsEuResident) !== void 0, u = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", m = (e == null ? void 0 : e.accountHolderIsEuResident) === "yes" && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)), l = F(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry5);
|
|
548
548
|
return {
|
|
549
549
|
accountHolderIsDisregarded: u,
|
|
@@ -555,10 +555,10 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
555
555
|
isW8Ben: s,
|
|
556
556
|
isW8BenE: o
|
|
557
557
|
};
|
|
558
|
-
},
|
|
558
|
+
}, Vt = () => ({
|
|
559
559
|
accountHolderDateOfBirth: "dateOfBirth",
|
|
560
560
|
regardedOwnerDateOfBirth: "dateOfBirth"
|
|
561
|
-
}),
|
|
561
|
+
}), Fn = (e, a) => new Date(a ?? 2012, e, 0).getDate(), nt = (e, a) => {
|
|
562
562
|
switch (e) {
|
|
563
563
|
case "individual":
|
|
564
564
|
return "nameOfIndividual";
|
|
@@ -581,7 +581,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
581
581
|
default:
|
|
582
582
|
return "name";
|
|
583
583
|
}
|
|
584
|
-
},
|
|
584
|
+
}, tt = (e) => {
|
|
585
585
|
switch (e) {
|
|
586
586
|
case "individual":
|
|
587
587
|
return "nameOfIndividual";
|
|
@@ -594,10 +594,10 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
594
594
|
default:
|
|
595
595
|
return "name";
|
|
596
596
|
}
|
|
597
|
-
},
|
|
597
|
+
}, Wt = (e) => e.accountHolderUsAccountType !== void 0 ? nt(
|
|
598
598
|
e.accountHolderUsAccountType,
|
|
599
599
|
e.accountHolderUsSmllcElection
|
|
600
|
-
) : e.accountHolderForeignAccountType !== void 0 ?
|
|
600
|
+
) : e.accountHolderForeignAccountType !== void 0 ? tt(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfEntity" : "name", Jt = (e) => e.regardedOwnerUsPerson === "yes" ? nt(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? tt(e.regardedOwnerForeignAccountType) : "name", Zt = (e) => ({
|
|
601
601
|
accountHolderIsIndividual: "isIndividual",
|
|
602
602
|
accountHolderUsPerson: "usPerson",
|
|
603
603
|
accountHolderUsAccountType: "usAccountType",
|
|
@@ -637,7 +637,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
637
637
|
accountHolderVatIsNotRequired: "vatIsNotRequired",
|
|
638
638
|
accountHolderBusinessRegistrationCountry: "businessRegistrationCountry",
|
|
639
639
|
accountHolderBusinessRegistrationNumber: "businessRegistrationNumber",
|
|
640
|
-
accountHolderName:
|
|
640
|
+
accountHolderName: Wt(e),
|
|
641
641
|
accountHolderDateOfBirth: "dateOfBirth",
|
|
642
642
|
accountHolderDbaName: "dbaName",
|
|
643
643
|
accountHolderAddressStreet: "street",
|
|
@@ -667,7 +667,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
667
667
|
regardedOwnerForeignTrustClassification: "foreignTrustClassification",
|
|
668
668
|
regardedOwnerForeignOtherClassification: "foreignOtherClassification",
|
|
669
669
|
regardedOwnerCountryOfCitizenship: "countryOfCitizenship",
|
|
670
|
-
regardedOwnerName:
|
|
670
|
+
regardedOwnerName: Jt(e),
|
|
671
671
|
regardedOwnerDateOfBirth: "dateOfBirth",
|
|
672
672
|
regardedOwnerDbaName: "dbaName",
|
|
673
673
|
regardedOwnerAddressStreet: "street",
|
|
@@ -683,14 +683,21 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
683
683
|
regardedOwnerMailingAddressState: "state",
|
|
684
684
|
regardedOwnerMailingAddressZip: "zip",
|
|
685
685
|
regardedOwnerMailingAddressCountry: "country"
|
|
686
|
-
}),
|
|
686
|
+
}), ge = (e) => e.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), rt = (e, a) => {
|
|
687
|
+
if (!a)
|
|
688
|
+
return e || {};
|
|
689
|
+
const n = { ...e };
|
|
690
|
+
return Yt(a).forEach((r) => {
|
|
691
|
+
qt(a[r]) ? (n[r] || (n[r] = {}), n[r] = rt(n[r], a[r])) : n[r] = a[r];
|
|
692
|
+
}), n;
|
|
693
|
+
}, qt = (e) => !!e && typeof e == "object" && !Array.isArray(e), Yt = (e) => Object.keys(e), _t = (e) => e.replace(/[A-Z]/g, (a) => `_${a.toLowerCase()}`), ei = (e) => Array.isArray(e) ? e.map((a) => ei(a)) : typeof e == "function" || e !== Object(e) ? e : Object.fromEntries(
|
|
687
694
|
Object.entries(e).map(
|
|
688
695
|
([a, n]) => [
|
|
689
|
-
|
|
690
|
-
|
|
696
|
+
_t(a),
|
|
697
|
+
ei(n)
|
|
691
698
|
]
|
|
692
699
|
)
|
|
693
|
-
),
|
|
700
|
+
), Qt = "0.3.3", G = (e) => e === void 0 ? void 0 : e === "yes", Xt = (e) => {
|
|
694
701
|
const a = {
|
|
695
702
|
city: e.accountHolderAddressCity,
|
|
696
703
|
country: e.accountHolderAddressCountry,
|
|
@@ -700,7 +707,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
700
707
|
postalCode: e.accountHolderAddressZip
|
|
701
708
|
};
|
|
702
709
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
703
|
-
},
|
|
710
|
+
}, $t = (e) => {
|
|
704
711
|
const a = {
|
|
705
712
|
city: e.regardedOwnerAddressCity,
|
|
706
713
|
country: e.regardedOwnerAddressCountry,
|
|
@@ -710,7 +717,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
710
717
|
postalCode: e.regardedOwnerAddressZip
|
|
711
718
|
};
|
|
712
719
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
713
|
-
},
|
|
720
|
+
}, er = (e) => {
|
|
714
721
|
const a = {
|
|
715
722
|
city: e.accountHolderMailingAddressCity,
|
|
716
723
|
country: e.accountHolderMailingAddressCountry,
|
|
@@ -720,7 +727,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
720
727
|
postalCode: e.accountHolderMailingAddressZip
|
|
721
728
|
};
|
|
722
729
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
723
|
-
},
|
|
730
|
+
}, ar = (e) => {
|
|
724
731
|
const a = {
|
|
725
732
|
city: e.regardedOwnerMailingAddressCity,
|
|
726
733
|
country: e.regardedOwnerMailingAddressCountry,
|
|
@@ -730,7 +737,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
730
737
|
postalCode: e.regardedOwnerMailingAddressZip
|
|
731
738
|
};
|
|
732
739
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
733
|
-
},
|
|
740
|
+
}, ir = (e) => {
|
|
734
741
|
const n = [
|
|
735
742
|
{
|
|
736
743
|
country: e.accountHolderTaxResidenceCountry1,
|
|
@@ -771,13 +778,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
771
778
|
(r) => Object.entries(r).some(([, s]) => s !== void 0)
|
|
772
779
|
);
|
|
773
780
|
return n.length > 0 ? n : void 0;
|
|
774
|
-
},
|
|
781
|
+
}, nr = (e) => {
|
|
775
782
|
const a = {
|
|
776
|
-
address:
|
|
783
|
+
address: Xt(e),
|
|
777
784
|
countryOfCitizenship: e.accountHolderCountryOfCitizenship,
|
|
778
785
|
dateOfBirth: e.accountHolderDateOfBirth,
|
|
779
786
|
dbaName: e.accountHolderDbaName,
|
|
780
|
-
mailingAddress:
|
|
787
|
+
mailingAddress: er(e),
|
|
781
788
|
mailingAddressIsDifferent: G(
|
|
782
789
|
e.accountHolderMailingAddressIsDifferent
|
|
783
790
|
),
|
|
@@ -790,7 +797,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
790
797
|
ftinNotLegallyRequired: G(
|
|
791
798
|
e.accountHolderForeignTinIsNotRequired
|
|
792
799
|
),
|
|
793
|
-
taxResidences:
|
|
800
|
+
taxResidences: ir(e),
|
|
794
801
|
tin: e.accountHolderUsTin,
|
|
795
802
|
vatin: e.accountHolderVatIdentificationNumber,
|
|
796
803
|
vatinCountry: e.accountHolderVatCountry,
|
|
@@ -812,13 +819,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
812
819
|
foreignOtherClassification: e.accountHolderForeignOtherClassification
|
|
813
820
|
};
|
|
814
821
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
815
|
-
},
|
|
822
|
+
}, tr = (e) => {
|
|
816
823
|
const a = {
|
|
817
|
-
address:
|
|
824
|
+
address: $t(e),
|
|
818
825
|
countryOfCitizenship: e.regardedOwnerCountryOfCitizenship,
|
|
819
826
|
dateOfBirth: e.regardedOwnerDateOfBirth,
|
|
820
827
|
dbaName: e.regardedOwnerDbaName,
|
|
821
|
-
mailingAddress:
|
|
828
|
+
mailingAddress: ar(e),
|
|
822
829
|
mailingAddressIsDifferent: G(
|
|
823
830
|
e.regardedOwnerMailingAddressIsDifferent
|
|
824
831
|
),
|
|
@@ -840,9 +847,9 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
840
847
|
foreignOtherClassification: e.regardedOwnerForeignOtherClassification
|
|
841
848
|
};
|
|
842
849
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
843
|
-
},
|
|
844
|
-
accountHolder:
|
|
845
|
-
regardedOwner:
|
|
850
|
+
}, rr = (e) => ({
|
|
851
|
+
accountHolder: nr(e),
|
|
852
|
+
regardedOwner: tr(e),
|
|
846
853
|
hasCertified: G(e.iCertifyToAll),
|
|
847
854
|
isNotSubjectBackupWithholding: G(
|
|
848
855
|
e.iAmNotSubjectToBackupWithholding
|
|
@@ -852,32 +859,32 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
852
859
|
),
|
|
853
860
|
signature: e.signature,
|
|
854
861
|
documentType: "COMPREHENSIVE",
|
|
855
|
-
source: `Taxbit React SDK v${
|
|
862
|
+
source: `Taxbit React SDK v${Qt}`,
|
|
856
863
|
signatureDate: (/* @__PURE__ */ new Date()).toISOString()
|
|
857
|
-
}),
|
|
858
|
-
if (e && Tt.includes(
|
|
859
|
-
e
|
|
860
|
-
))
|
|
861
|
-
return e;
|
|
862
|
-
}, xn = (e) => {
|
|
864
|
+
}), xn = (e) => {
|
|
863
865
|
if (e && Mt.includes(
|
|
864
866
|
e
|
|
865
867
|
))
|
|
866
868
|
return e;
|
|
867
869
|
}, Kn = (e) => {
|
|
868
|
-
if (e &&
|
|
870
|
+
if (e && yt.includes(
|
|
869
871
|
e
|
|
870
872
|
))
|
|
871
873
|
return e;
|
|
872
874
|
}, Vn = (e) => {
|
|
873
|
-
if (e &&
|
|
875
|
+
if (e && Ot.includes(
|
|
876
|
+
e
|
|
877
|
+
))
|
|
874
878
|
return e;
|
|
875
879
|
}, Wn = (e) => {
|
|
876
|
-
if (e &&
|
|
880
|
+
if (e && Lt.includes(e))
|
|
881
|
+
return e;
|
|
882
|
+
}, Jn = (e) => {
|
|
883
|
+
if (e && Ht.includes(
|
|
877
884
|
e
|
|
878
885
|
))
|
|
879
886
|
return e;
|
|
880
|
-
},
|
|
887
|
+
}, wa = [
|
|
881
888
|
"000000000",
|
|
882
889
|
"111111111",
|
|
883
890
|
"222222222",
|
|
@@ -894,47 +901,47 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
894
901
|
"876543210",
|
|
895
902
|
"987654321",
|
|
896
903
|
"098765432"
|
|
897
|
-
],
|
|
904
|
+
], Ha = /^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/, Za = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/, qa = /^\d{5}$|^\d{5}-\d{4}$/, ot = (e) => /^(.)\1+$/.test(e), ai = (e) => F(e) && e.length >= 2 && e.length <= 22 && !ot(e), or = (e) => F(e) && e.length >= 8 && e.length <= 14 && !ot(e), La = (e) => (a) => {
|
|
898
905
|
const n = a[`accountHolderTaxResidenceForeignTin${e}`];
|
|
899
|
-
if (!
|
|
906
|
+
if (!ai(n) && F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
|
|
900
907
|
a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
|
|
901
908
|
))
|
|
902
909
|
return "invalid";
|
|
903
910
|
if (F(n) && a[`accountHolderTaxResidenceCountry${e}`] === a.accountHolderVatCountry && n === a.accountHolderVatIdentificationNumber)
|
|
904
911
|
return "mustNotMatchVatin";
|
|
905
|
-
},
|
|
912
|
+
}, Ya = {
|
|
906
913
|
accountHolderDateOfBirth: (e) => {
|
|
907
914
|
const a = e.accountHolderDateOfBirth;
|
|
908
915
|
if (F(a)) {
|
|
909
|
-
if (!vt(a))
|
|
910
|
-
return "mustBeInDateFormat";
|
|
911
916
|
if (!pt(a))
|
|
917
|
+
return "mustBeInDateFormat";
|
|
918
|
+
if (!ft(a))
|
|
912
919
|
return "invalidDate";
|
|
913
|
-
if (!
|
|
920
|
+
if (!vt(a))
|
|
914
921
|
return "mustBeValidBirthDate";
|
|
915
922
|
}
|
|
916
923
|
},
|
|
917
924
|
accountHolderAddressZip: (e) => {
|
|
918
925
|
const a = e.accountHolderAddressZip;
|
|
919
926
|
if (e.accountHolderAddressCountry === "US") {
|
|
920
|
-
if (!
|
|
927
|
+
if (!qa.test(a))
|
|
921
928
|
return "mustBeFiveOrNineDigits";
|
|
922
929
|
} else if (e.accountHolderAddressCountry === "CA") {
|
|
923
930
|
if (a.length !== 6)
|
|
924
931
|
return "mustBeSixCharacters";
|
|
925
|
-
if (!
|
|
932
|
+
if (!Za.test(a))
|
|
926
933
|
return "invalid";
|
|
927
934
|
}
|
|
928
935
|
},
|
|
929
936
|
accountHolderMailingAddressZip: (e) => {
|
|
930
937
|
const a = e.accountHolderMailingAddressZip;
|
|
931
938
|
if (e.accountHolderMailingAddressCountry === "US") {
|
|
932
|
-
if (!
|
|
939
|
+
if (!qa.test(a))
|
|
933
940
|
return "mustBeFiveOrNineDigits";
|
|
934
941
|
} else if (e.accountHolderMailingAddressCountry === "CA") {
|
|
935
942
|
if (a.length !== 6)
|
|
936
943
|
return "mustBeSixCharacters";
|
|
937
|
-
if (!
|
|
944
|
+
if (!Za.test(a))
|
|
938
945
|
return "invalid";
|
|
939
946
|
}
|
|
940
947
|
},
|
|
@@ -943,40 +950,40 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
943
950
|
if ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0) {
|
|
944
951
|
if (E(a))
|
|
945
952
|
return;
|
|
946
|
-
if (!
|
|
953
|
+
if (!Ha.test(a))
|
|
947
954
|
return "mustBeNineDigits";
|
|
948
|
-
if (
|
|
955
|
+
if (wa.includes(a))
|
|
949
956
|
return "invalid";
|
|
950
957
|
} else if ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && a !== void 0 && a !== "") {
|
|
951
|
-
if (!
|
|
958
|
+
if (!Ha.test(a))
|
|
952
959
|
return "mustBeNineDigits";
|
|
953
|
-
if (
|
|
960
|
+
if (wa.includes(a))
|
|
954
961
|
return "invalid";
|
|
955
962
|
}
|
|
956
963
|
},
|
|
957
964
|
accountHolderVatIdentificationNumber: (e) => {
|
|
958
965
|
const a = e.accountHolderVatIdentificationNumber;
|
|
959
|
-
if (e.accountHolderVatIsNotRequired !== "yes" && !
|
|
966
|
+
if (e.accountHolderVatIsNotRequired !== "yes" && !or(a))
|
|
960
967
|
return "invalid";
|
|
961
968
|
},
|
|
962
969
|
accountHolderBusinessRegistrationNumber: (e) => {
|
|
963
970
|
const a = e.accountHolderBusinessRegistrationNumber;
|
|
964
|
-
if (e.accountHolderIsIndividual === "no" && !
|
|
971
|
+
if (e.accountHolderIsIndividual === "no" && !ai(a))
|
|
965
972
|
return "invalid";
|
|
966
973
|
if (F(a) && e.accountHolderBusinessRegistrationCountry === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
|
|
967
974
|
return "mustNotMatchVatin";
|
|
968
975
|
},
|
|
969
976
|
accountHolderTaxResidenceForeignTin1: (e) => {
|
|
970
977
|
const a = e.accountHolderTaxResidenceForeignTin1;
|
|
971
|
-
if (!
|
|
978
|
+
if (!ai(a) && E(e.accountHolderTaxResidenceForeignTin1IsNotRequired))
|
|
972
979
|
return "invalid";
|
|
973
980
|
if (F(a) && e.accountHolderTaxResidenceCountry1 === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
|
|
974
981
|
return "mustNotMatchVatin";
|
|
975
982
|
},
|
|
976
|
-
accountHolderTaxResidenceForeignTin2:
|
|
977
|
-
accountHolderTaxResidenceForeignTin3:
|
|
978
|
-
accountHolderTaxResidenceForeignTin4:
|
|
979
|
-
accountHolderTaxResidenceForeignTin5:
|
|
983
|
+
accountHolderTaxResidenceForeignTin2: La("2"),
|
|
984
|
+
accountHolderTaxResidenceForeignTin3: La("3"),
|
|
985
|
+
accountHolderTaxResidenceForeignTin4: La("4"),
|
|
986
|
+
accountHolderTaxResidenceForeignTin5: La("5"),
|
|
980
987
|
regardedOwnerDbaName: (e) => {
|
|
981
988
|
const a = e.regardedOwnerDbaName;
|
|
982
989
|
if (e.regardedOwnerUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
|
|
@@ -996,26 +1003,26 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
996
1003
|
regardedOwnerMailingAddressZip: (e) => {
|
|
997
1004
|
const a = e.regardedOwnerMailingAddressZip;
|
|
998
1005
|
if (e.regardedOwnerMailingAddressCountry === "US") {
|
|
999
|
-
if (!
|
|
1006
|
+
if (!qa.test(a))
|
|
1000
1007
|
return "mustBeFiveOrNineDigits";
|
|
1001
1008
|
} else if (e.regardedOwnerMailingAddressCountry === "CA") {
|
|
1002
1009
|
if (a.length !== 6)
|
|
1003
1010
|
return "mustBeSixCharacters";
|
|
1004
|
-
if (!
|
|
1011
|
+
if (!Za.test(a))
|
|
1005
1012
|
return "invalid";
|
|
1006
1013
|
}
|
|
1007
1014
|
},
|
|
1008
1015
|
regardedOwnerUsTin: (e) => {
|
|
1009
1016
|
const a = e.regardedOwnerUsTin;
|
|
1010
1017
|
if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "yes") {
|
|
1011
|
-
if (F(a) && !
|
|
1018
|
+
if (F(a) && !Ha.test(a))
|
|
1012
1019
|
return "mustBeNineDigits";
|
|
1013
|
-
if (F(a) &&
|
|
1020
|
+
if (F(a) && wa.includes(a))
|
|
1014
1021
|
return "invalid";
|
|
1015
1022
|
} else if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "no" && a !== void 0 && a !== "") {
|
|
1016
|
-
if (!
|
|
1023
|
+
if (!Ha.test(a))
|
|
1017
1024
|
return "mustBeNineDigits";
|
|
1018
|
-
if (
|
|
1025
|
+
if (wa.includes(a))
|
|
1019
1026
|
return "invalid";
|
|
1020
1027
|
}
|
|
1021
1028
|
},
|
|
@@ -1038,24 +1045,24 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1038
1045
|
if (e.signature !== e.accountHolderName && (e.accountHolderUsAccountType === "individual" || e.accountHolderForeignAccountType === "individual"))
|
|
1039
1046
|
return "mustMatchName";
|
|
1040
1047
|
}
|
|
1041
|
-
},
|
|
1048
|
+
}, sr = (e, a, n) => Object.fromEntries(
|
|
1042
1049
|
Object.keys(e).map((r) => {
|
|
1043
1050
|
var o;
|
|
1044
1051
|
const s = e[r];
|
|
1045
1052
|
return [
|
|
1046
1053
|
r,
|
|
1047
|
-
n[r] && (a[r] && E(s) && "required" || ((o =
|
|
1054
|
+
n[r] && (a[r] && E(s) && "required" || ((o = Ya[r]) == null ? void 0 : o.call(Ya, e)) || void 0)
|
|
1048
1055
|
];
|
|
1049
1056
|
}).filter(([, r]) => r)
|
|
1050
|
-
),
|
|
1057
|
+
), lr = (e, a) => Object.fromEntries(
|
|
1051
1058
|
Object.keys(e).map((n) => {
|
|
1052
1059
|
var r;
|
|
1053
1060
|
return [
|
|
1054
1061
|
n,
|
|
1055
|
-
a[n] && ((r =
|
|
1062
|
+
a[n] && ((r = _a[n]) == null ? void 0 : r.call(_a, e))
|
|
1056
1063
|
];
|
|
1057
1064
|
}).filter(([, n]) => n)
|
|
1058
|
-
),
|
|
1065
|
+
), st = (e) => ({
|
|
1059
1066
|
accountHolderUsPerson: e.includes("W-9") && (e.includes("W-8BEN") || e.includes("W-8BEN-E")),
|
|
1060
1067
|
accountHolderIsEuResident: e.includes("DAC7"),
|
|
1061
1068
|
accountHolderIsIndividual: e.includes("DAC7") && !(e.includes("W-9") || e.includes("W-8BEN") || e.includes("W-8BEN-E")),
|
|
@@ -1161,7 +1168,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1161
1168
|
exemptPayeeCode: e.includes("W-9"),
|
|
1162
1169
|
exemptFatcaCode: e.includes("W-9"),
|
|
1163
1170
|
accountHolderTaxResidences: e.includes("DAC7")
|
|
1164
|
-
}),
|
|
1171
|
+
}), dr = (e = {}, a) => {
|
|
1165
1172
|
const {
|
|
1166
1173
|
accountHolderIsDisregarded: n,
|
|
1167
1174
|
isW9: r,
|
|
@@ -1170,7 +1177,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1170
1177
|
hasNoEUTaxId: d,
|
|
1171
1178
|
hasTaxResidence: u,
|
|
1172
1179
|
isDac7: m
|
|
1173
|
-
} =
|
|
1180
|
+
} = ua(e), l = m && e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes";
|
|
1174
1181
|
return {
|
|
1175
1182
|
...a,
|
|
1176
1183
|
// Account Holder Account Classification
|
|
@@ -1269,9 +1276,9 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1269
1276
|
iHaveLegalCapacityToSign: r,
|
|
1270
1277
|
accountHolderTaxResidences: l
|
|
1271
1278
|
};
|
|
1272
|
-
},
|
|
1279
|
+
}, Ga = (e) => e.accountHolderAddressCountry === "US", I = () => !0, Da = (e) => (a) => F(a[`accountHolderTaxResidenceForeignTin${e}`]) || a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`] === "yes", Ua = (e) => (a) => F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
|
|
1273
1280
|
a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
|
|
1274
|
-
),
|
|
1281
|
+
), _a = {
|
|
1275
1282
|
accountHolderUsPerson: I,
|
|
1276
1283
|
accountHolderIsEuResident: I,
|
|
1277
1284
|
accountHolderIsIndividual: I,
|
|
@@ -1291,12 +1298,12 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1291
1298
|
accountHolderDateOfBirth: (e) => (e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.accountHolderIsIndividual) === "yes",
|
|
1292
1299
|
accountHolderAddressCountry: I,
|
|
1293
1300
|
accountHolderAddressStreet: I,
|
|
1294
|
-
accountHolderAddressState:
|
|
1301
|
+
accountHolderAddressState: Ga,
|
|
1295
1302
|
accountHolderAddressCity: I,
|
|
1296
1303
|
accountHolderAddressZip: (e) => e.accountHolderAddressCountry === "US" || e.accountHolderAddressCountry === "CA",
|
|
1297
1304
|
accountHolderMailingAddressCountry: I,
|
|
1298
1305
|
accountHolderMailingAddressStreet: I,
|
|
1299
|
-
accountHolderMailingAddressState:
|
|
1306
|
+
accountHolderMailingAddressState: Ga,
|
|
1300
1307
|
accountHolderMailingAddressCity: I,
|
|
1301
1308
|
accountHolderMailingAddressZip: (e) => e.accountHolderMailingAddressCountry === "US" || e.accountHolderMailingAddressCountry === "CA",
|
|
1302
1309
|
accountHolderUsTin: (e) => (e == null ? void 0 : e.accountHolderUsPerson) === "yes",
|
|
@@ -1306,23 +1313,23 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1306
1313
|
accountHolderBusinessRegistrationNumber: (e) => e.accountHolderIsIndividual === "no",
|
|
1307
1314
|
accountHolderBusinessRegistrationCountry: (e) => e.accountHolderIsIndividual === "no",
|
|
1308
1315
|
accountHolderCityOfBirth: (e) => {
|
|
1309
|
-
const { hasNoEUTaxId: a } =
|
|
1316
|
+
const { hasNoEUTaxId: a } = ua(e);
|
|
1310
1317
|
return a;
|
|
1311
1318
|
},
|
|
1312
1319
|
accountHolderCountryOfBirth: (e) => {
|
|
1313
|
-
const { hasNoEUTaxId: a } =
|
|
1320
|
+
const { hasNoEUTaxId: a } = ua(e);
|
|
1314
1321
|
return a;
|
|
1315
1322
|
},
|
|
1316
1323
|
accountHolderTaxResidenceCountry1: I,
|
|
1317
1324
|
accountHolderTaxResidenceForeignTin1: (e) => E(e.accountHolderTaxResidenceForeignTin1IsNotRequired),
|
|
1318
|
-
accountHolderTaxResidenceCountry2:
|
|
1319
|
-
accountHolderTaxResidenceForeignTin2:
|
|
1320
|
-
accountHolderTaxResidenceCountry3:
|
|
1321
|
-
accountHolderTaxResidenceForeignTin3:
|
|
1322
|
-
accountHolderTaxResidenceCountry4:
|
|
1323
|
-
accountHolderTaxResidenceForeignTin4:
|
|
1324
|
-
accountHolderTaxResidenceCountry5:
|
|
1325
|
-
accountHolderTaxResidenceForeignTin5:
|
|
1325
|
+
accountHolderTaxResidenceCountry2: Da("2"),
|
|
1326
|
+
accountHolderTaxResidenceForeignTin2: Ua("2"),
|
|
1327
|
+
accountHolderTaxResidenceCountry3: Da("3"),
|
|
1328
|
+
accountHolderTaxResidenceForeignTin3: Ua("3"),
|
|
1329
|
+
accountHolderTaxResidenceCountry4: Da("4"),
|
|
1330
|
+
accountHolderTaxResidenceForeignTin4: Ua("4"),
|
|
1331
|
+
accountHolderTaxResidenceCountry5: Da("5"),
|
|
1332
|
+
accountHolderTaxResidenceForeignTin5: Ua("5"),
|
|
1326
1333
|
regardedOwnerUsPerson: I,
|
|
1327
1334
|
regardedOwnerUsAccountType: I,
|
|
1328
1335
|
regardedOwnerUsLlcClassification: I,
|
|
@@ -1339,20 +1346,20 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1339
1346
|
regardedOwnerDateOfBirth: I,
|
|
1340
1347
|
regardedOwnerAddressCountry: I,
|
|
1341
1348
|
regardedOwnerAddressStreet: I,
|
|
1342
|
-
regardedOwnerAddressState:
|
|
1349
|
+
regardedOwnerAddressState: Ga,
|
|
1343
1350
|
regardedOwnerAddressCity: I,
|
|
1344
1351
|
regardedOwnerAddressZip: (e) => e.regardedOwnerAddressCountry === "US" || e.regardedOwnerAddressCountry === "CA",
|
|
1345
1352
|
regardedOwnerMailingAddressCountry: I,
|
|
1346
1353
|
regardedOwnerMailingAddressStreet: I,
|
|
1347
|
-
regardedOwnerMailingAddressState:
|
|
1354
|
+
regardedOwnerMailingAddressState: Ga,
|
|
1348
1355
|
regardedOwnerMailingAddressCity: I,
|
|
1349
1356
|
regardedOwnerMailingAddressZip: (e) => e.regardedOwnerMailingAddressCountry === "US" || e.regardedOwnerMailingAddressCountry === "CA",
|
|
1350
1357
|
regardedOwnerUsTin: (e) => (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes",
|
|
1351
1358
|
regardedOwnerForeignTin: (e) => e.regardedOwnerForeignTinIsNotRequired !== "yes",
|
|
1352
1359
|
iConfirmTheInformationIsCorrectComplete: I,
|
|
1353
1360
|
signature: I
|
|
1354
|
-
},
|
|
1355
|
-
var s, o, d, u, m, l, v, g, A, p, S, N, T, R, P, ee, L, ae, se,
|
|
1361
|
+
}, Zn = (e, a) => {
|
|
1362
|
+
var s, o, d, u, m, l, v, g, A, p, S, N, T, R, P, ee, L, ae, se, Se, Ne, le, de, Te, ue, V, q, ie, z, W, ke, he, we, He, Le, Ge, Je, h, B, Y, ve, De, Oe, ma, Ze, ga, ka, ze, Ee, qe, Ye, Be, ha, va, Ue, pa, fa, _e, Qe, Me, Aa, Xe, $e, Fe, ba, Ca, Ia, Sa, Na, Ta, Ma, xe, ea, pe, Ke, Ve, aa, ya, ia, ja, na, ta, Oa, za, ra, Ea, Ba, Pa, Ra, t, c, k, b, y, j, M, C, U, w, H, J, fe, oa, ne, si, li, di, ui, ci, mi, gi, ki, hi, vi, pi, fi, Ai, bi, Ci, Ii, Si, Ni, Ti, Mi, yi, ji, Oi, zi, Ei, Bi, Pi, Ri, wi, Hi, Li, Gi, Di, Ui, Fi, xi, Ki, Vi, Wi, Ji, Zi, qi, Yi, _i, Qi, Xi, $i, en, an, nn, tn, rn, on, sn, ln, dn, un, cn, mn, gn, kn, hn, vn, pn, fn, An, bn, Cn, In, Sn, Nn, Tn, Mn, yn, jn, On, zn, En, Bn, Pn, Rn, wn, Hn, Ln;
|
|
1356
1363
|
if (e == null)
|
|
1357
1364
|
return {};
|
|
1358
1365
|
const n = {
|
|
@@ -1369,119 +1376,119 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1369
1376
|
accountHolderAddressStreet2: (R = (T = e.accountHolder) == null ? void 0 : T.address) == null ? void 0 : R.secondLine,
|
|
1370
1377
|
accountHolderAddressCity: (ee = (P = e.accountHolder) == null ? void 0 : P.address) == null ? void 0 : ee.city,
|
|
1371
1378
|
accountHolderAddressState: (ae = (L = e.accountHolder) == null ? void 0 : L.address) == null ? void 0 : ae.stateOrProvince,
|
|
1372
|
-
accountHolderAddressZip: (
|
|
1373
|
-
accountHolderAddressCountry: (le = (
|
|
1379
|
+
accountHolderAddressZip: (Se = (se = e.accountHolder) == null ? void 0 : se.address) == null ? void 0 : Se.postalCode,
|
|
1380
|
+
accountHolderAddressCountry: (le = (Ne = e.accountHolder) == null ? void 0 : Ne.address) == null ? void 0 : le.country,
|
|
1374
1381
|
accountHolderMailingAddressIsDifferent: (de = e.accountHolder) != null && de.mailingAddressIsDifferent ? "yes" : void 0,
|
|
1375
|
-
accountHolderMailingAddressStreet: (ue = (
|
|
1382
|
+
accountHolderMailingAddressStreet: (ue = (Te = e.accountHolder) == null ? void 0 : Te.mailingAddress) == null ? void 0 : ue.firstLine,
|
|
1376
1383
|
accountHolderMailingAddressStreet2: (q = (V = e.accountHolder) == null ? void 0 : V.mailingAddress) == null ? void 0 : q.secondLine,
|
|
1377
1384
|
accountHolderMailingAddressCity: (z = (ie = e.accountHolder) == null ? void 0 : ie.mailingAddress) == null ? void 0 : z.city,
|
|
1378
|
-
accountHolderMailingAddressState: (
|
|
1379
|
-
accountHolderMailingAddressZip: (
|
|
1380
|
-
accountHolderMailingAddressCountry: (
|
|
1381
|
-
accountHolderIsIndividual: ((
|
|
1385
|
+
accountHolderMailingAddressState: (ke = (W = e.accountHolder) == null ? void 0 : W.mailingAddress) == null ? void 0 : ke.stateOrProvince,
|
|
1386
|
+
accountHolderMailingAddressZip: (we = (he = e.accountHolder) == null ? void 0 : he.mailingAddress) == null ? void 0 : we.postalCode,
|
|
1387
|
+
accountHolderMailingAddressCountry: (Le = (He = e.accountHolder) == null ? void 0 : He.mailingAddress) == null ? void 0 : Le.country,
|
|
1388
|
+
accountHolderIsIndividual: ((Ge = e.accountHolder) == null ? void 0 : Ge.isIndividual) === !0 ? "yes" : ((Je = e.accountHolder) == null ? void 0 : Je.isIndividual) === !1 ? "no" : void 0,
|
|
1382
1389
|
accountHolderIsEuResident: ((h = e.accountHolder) == null ? void 0 : h.isEuResident) === !0 ? "yes" : ((B = e.accountHolder) == null ? void 0 : B.isEuResident) === !1 ? "no" : void 0,
|
|
1383
|
-
accountHolderUsPerson: ((Y = e.accountHolder) == null ? void 0 : Y.isUsPerson) === !0 ? "yes" : ((
|
|
1384
|
-
accountHolderUsAccountType:
|
|
1385
|
-
(
|
|
1390
|
+
accountHolderUsPerson: ((Y = e.accountHolder) == null ? void 0 : Y.isUsPerson) === !0 ? "yes" : ((ve = e.accountHolder) == null ? void 0 : ve.isUsPerson) === !1 ? "no" : void 0,
|
|
1391
|
+
accountHolderUsAccountType: Jn(
|
|
1392
|
+
(De = e.accountHolder) == null ? void 0 : De.usAccountType
|
|
1386
1393
|
),
|
|
1387
|
-
accountHolderUsSmllcElection: ((
|
|
1388
|
-
accountHolderUsLlcClassification:
|
|
1389
|
-
(
|
|
1394
|
+
accountHolderUsSmllcElection: ((Oe = e.accountHolder) == null ? void 0 : Oe.usSmllcElection) === !0 ? "yes" : ((ma = e.accountHolder) == null ? void 0 : ma.usSmllcElection) === !1 ? "no" : void 0,
|
|
1395
|
+
accountHolderUsLlcClassification: Wn(
|
|
1396
|
+
(Ze = e.accountHolder) == null ? void 0 : Ze.usLlcClassification
|
|
1390
1397
|
),
|
|
1391
|
-
accountHolderUsOtherClassification: (
|
|
1392
|
-
accountHolderUsTrustEstateEin: ((
|
|
1393
|
-
accountHolderForeignAccountType:
|
|
1394
|
-
(
|
|
1398
|
+
accountHolderUsOtherClassification: (ga = e.accountHolder) == null ? void 0 : ga.usOtherClassification,
|
|
1399
|
+
accountHolderUsTrustEstateEin: ((ka = e.accountHolder) == null ? void 0 : ka.usTrustEstateEin) === !0 ? "yes" : ((ze = e.accountHolder) == null ? void 0 : ze.usTrustEstateEin) === !1 ? "no" : void 0,
|
|
1400
|
+
accountHolderForeignAccountType: xn(
|
|
1401
|
+
(Ee = e.accountHolder) == null ? void 0 : Ee.foreignAccountType
|
|
1395
1402
|
),
|
|
1396
|
-
accountHolderForeignTrustClassification:
|
|
1397
|
-
(
|
|
1403
|
+
accountHolderForeignTrustClassification: Vn(
|
|
1404
|
+
(qe = e.accountHolder) == null ? void 0 : qe.foreignTrustClassification
|
|
1398
1405
|
),
|
|
1399
|
-
accountHolderForeignOtherClassification:
|
|
1400
|
-
(
|
|
1406
|
+
accountHolderForeignOtherClassification: Kn(
|
|
1407
|
+
(Ye = e.accountHolder) == null ? void 0 : Ye.foreignOtherClassification
|
|
1401
1408
|
),
|
|
1402
1409
|
accountHolderFinancialAccountName: E(
|
|
1403
|
-
(
|
|
1404
|
-
) ? (
|
|
1405
|
-
accountHolderFinancialAccountIdentifier: (
|
|
1406
|
-
accountHolderVatIdentificationNumber: (
|
|
1407
|
-
accountHolderVatCountry: (
|
|
1408
|
-
accountHolderVatIsNotRequired: (
|
|
1409
|
-
accountHolderBusinessRegistrationNumber: (
|
|
1410
|
-
accountHolderBusinessRegistrationCountry: (
|
|
1411
|
-
accountHolderShowTaxResidence2: !E((
|
|
1412
|
-
accountHolderShowTaxResidence3: !E((
|
|
1413
|
-
accountHolderShowTaxResidence4: !E((
|
|
1414
|
-
accountHolderShowTaxResidence5: !E((
|
|
1415
|
-
accountHolderTaxResidenceCountry1: (
|
|
1410
|
+
(Be = e.accountHolder) == null ? void 0 : Be.financialAccountName
|
|
1411
|
+
) ? (ha = e.accountHolder) == null ? void 0 : ha.name : (va = e.accountHolder) == null ? void 0 : va.financialAccountName,
|
|
1412
|
+
accountHolderFinancialAccountIdentifier: (Ue = e.accountHolder) == null ? void 0 : Ue.financialAccountIdentifier,
|
|
1413
|
+
accountHolderVatIdentificationNumber: (pa = e.accountHolder) != null && pa.vatinNotRequired || (fa = e.accountHolder) == null ? void 0 : fa.vatin,
|
|
1414
|
+
accountHolderVatCountry: (_e = e.accountHolder) != null && _e.vatinNotRequired || (Qe = e.accountHolder) == null ? void 0 : Qe.vatinCountry,
|
|
1415
|
+
accountHolderVatIsNotRequired: (Me = e.accountHolder) != null && Me.vatinNotRequired ? "yes" : void 0,
|
|
1416
|
+
accountHolderBusinessRegistrationNumber: (Aa = e.accountHolder) == null ? void 0 : Aa.businessRegistrationNumber,
|
|
1417
|
+
accountHolderBusinessRegistrationCountry: (Xe = e.accountHolder) == null ? void 0 : Xe.businessRegistrationCountry,
|
|
1418
|
+
accountHolderShowTaxResidence2: !E((ba = (Fe = ($e = e.accountHolder) == null ? void 0 : $e.taxResidences) == null ? void 0 : Fe[1]) == null ? void 0 : ba.country) || !E((Sa = (Ia = (Ca = e.accountHolder) == null ? void 0 : Ca.taxResidences) == null ? void 0 : Ia[1]) == null ? void 0 : Sa.tin) ? "yes" : void 0,
|
|
1419
|
+
accountHolderShowTaxResidence3: !E((Ma = (Ta = (Na = e.accountHolder) == null ? void 0 : Na.taxResidences) == null ? void 0 : Ta[2]) == null ? void 0 : Ma.country) || !E((pe = (ea = (xe = e.accountHolder) == null ? void 0 : xe.taxResidences) == null ? void 0 : ea[2]) == null ? void 0 : pe.tin) ? "yes" : void 0,
|
|
1420
|
+
accountHolderShowTaxResidence4: !E((aa = (Ve = (Ke = e.accountHolder) == null ? void 0 : Ke.taxResidences) == null ? void 0 : Ve[3]) == null ? void 0 : aa.country) || !E((ja = (ia = (ya = e.accountHolder) == null ? void 0 : ya.taxResidences) == null ? void 0 : ia[3]) == null ? void 0 : ja.tin) ? "yes" : void 0,
|
|
1421
|
+
accountHolderShowTaxResidence5: !E((Oa = (ta = (na = e.accountHolder) == null ? void 0 : na.taxResidences) == null ? void 0 : ta[4]) == null ? void 0 : Oa.country) || !E((Ea = (ra = (za = e.accountHolder) == null ? void 0 : za.taxResidences) == null ? void 0 : ra[4]) == null ? void 0 : Ea.tin) ? "yes" : void 0,
|
|
1422
|
+
accountHolderTaxResidenceCountry1: (Ra = (Pa = (Ba = e.accountHolder) == null ? void 0 : Ba.taxResidences) == null ? void 0 : Pa[0]) == null ? void 0 : Ra.country,
|
|
1416
1423
|
accountHolderTaxResidenceForeignTin1: (k = (c = (t = e.accountHolder) == null ? void 0 : t.taxResidences) == null ? void 0 : c[0]) != null && k.tinNotRequired || (j = (y = (b = e.accountHolder) == null ? void 0 : b.taxResidences) == null ? void 0 : y[0]) == null ? void 0 : j.tin,
|
|
1417
1424
|
accountHolderTaxResidenceForeignTin1IsNotRequired: (U = (C = (M = e.accountHolder) == null ? void 0 : M.taxResidences) == null ? void 0 : C[0]) != null && U.tinNotRequired ? "yes" : void 0,
|
|
1418
1425
|
accountHolderTaxResidenceCountry2: (J = (H = (w = e.accountHolder) == null ? void 0 : w.taxResidences) == null ? void 0 : H[1]) == null ? void 0 : J.country,
|
|
1419
|
-
accountHolderTaxResidenceForeignTin2: (ne = (
|
|
1420
|
-
accountHolderTaxResidenceForeignTin2IsNotRequired: (
|
|
1421
|
-
accountHolderTaxResidenceCountry3: (
|
|
1422
|
-
accountHolderTaxResidenceForeignTin3: (
|
|
1423
|
-
accountHolderTaxResidenceForeignTin3IsNotRequired: (
|
|
1424
|
-
accountHolderTaxResidenceCountry4: (
|
|
1425
|
-
accountHolderTaxResidenceForeignTin4: (
|
|
1426
|
-
accountHolderTaxResidenceForeignTin4IsNotRequired: (
|
|
1427
|
-
accountHolderTaxResidenceCountry5: (
|
|
1428
|
-
accountHolderTaxResidenceForeignTin5: (
|
|
1429
|
-
accountHolderTaxResidenceForeignTin5IsNotRequired: (
|
|
1426
|
+
accountHolderTaxResidenceForeignTin2: (ne = (oa = (fe = e.accountHolder) == null ? void 0 : fe.taxResidences) == null ? void 0 : oa[1]) != null && ne.tinNotRequired || (di = (li = (si = e.accountHolder) == null ? void 0 : si.taxResidences) == null ? void 0 : li[1]) == null ? void 0 : di.tin,
|
|
1427
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired: (mi = (ci = (ui = e.accountHolder) == null ? void 0 : ui.taxResidences) == null ? void 0 : ci[1]) != null && mi.tinNotRequired ? "yes" : void 0,
|
|
1428
|
+
accountHolderTaxResidenceCountry3: (hi = (ki = (gi = e.accountHolder) == null ? void 0 : gi.taxResidences) == null ? void 0 : ki[2]) == null ? void 0 : hi.country,
|
|
1429
|
+
accountHolderTaxResidenceForeignTin3: (fi = (pi = (vi = e.accountHolder) == null ? void 0 : vi.taxResidences) == null ? void 0 : pi[2]) != null && fi.tinNotRequired || (Ci = (bi = (Ai = e.accountHolder) == null ? void 0 : Ai.taxResidences) == null ? void 0 : bi[2]) == null ? void 0 : Ci.tin,
|
|
1430
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired: (Ni = (Si = (Ii = e.accountHolder) == null ? void 0 : Ii.taxResidences) == null ? void 0 : Si[2]) != null && Ni.tinNotRequired ? "yes" : void 0,
|
|
1431
|
+
accountHolderTaxResidenceCountry4: (yi = (Mi = (Ti = e.accountHolder) == null ? void 0 : Ti.taxResidences) == null ? void 0 : Mi[3]) == null ? void 0 : yi.country,
|
|
1432
|
+
accountHolderTaxResidenceForeignTin4: (zi = (Oi = (ji = e.accountHolder) == null ? void 0 : ji.taxResidences) == null ? void 0 : Oi[3]) != null && zi.tinNotRequired || (Pi = (Bi = (Ei = e.accountHolder) == null ? void 0 : Ei.taxResidences) == null ? void 0 : Bi[3]) == null ? void 0 : Pi.tin,
|
|
1433
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired: (Hi = (wi = (Ri = e.accountHolder) == null ? void 0 : Ri.taxResidences) == null ? void 0 : wi[3]) != null && Hi.tinNotRequired ? "yes" : void 0,
|
|
1434
|
+
accountHolderTaxResidenceCountry5: (Di = (Gi = (Li = e.accountHolder) == null ? void 0 : Li.taxResidences) == null ? void 0 : Gi[4]) == null ? void 0 : Di.country,
|
|
1435
|
+
accountHolderTaxResidenceForeignTin5: (xi = (Fi = (Ui = e.accountHolder) == null ? void 0 : Ui.taxResidences) == null ? void 0 : Fi[4]) != null && xi.tinNotRequired || (Wi = (Vi = (Ki = e.accountHolder) == null ? void 0 : Ki.taxResidences) == null ? void 0 : Vi[4]) == null ? void 0 : Wi.tin,
|
|
1436
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired: (qi = (Zi = (Ji = e.accountHolder) == null ? void 0 : Ji.taxResidences) == null ? void 0 : Zi[4]) != null && qi.tinNotRequired ? "yes" : void 0,
|
|
1430
1437
|
accountHolderTaxResidences: void 0,
|
|
1431
|
-
regardedOwnerName: (
|
|
1432
|
-
regardedOwnerDbaName: (
|
|
1433
|
-
regardedOwnerDateOfBirth: (
|
|
1434
|
-
regardedOwnerUsTin: (
|
|
1435
|
-
regardedOwnerForeignTin: (
|
|
1436
|
-
regardedOwnerForeignTinIsNotRequired: (
|
|
1437
|
-
regardedOwnerCountryOfCitizenship: (
|
|
1438
|
-
regardedOwnerAddressStreet: (
|
|
1439
|
-
regardedOwnerAddressStreet2: (
|
|
1440
|
-
regardedOwnerAddressCity: (
|
|
1441
|
-
regardedOwnerAddressState: (
|
|
1442
|
-
regardedOwnerAddressZip: (
|
|
1443
|
-
regardedOwnerAddressCountry: (
|
|
1444
|
-
regardedOwnerMailingAddressStreet: (
|
|
1445
|
-
regardedOwnerMailingAddressStreet2: (
|
|
1446
|
-
regardedOwnerMailingAddressCity: (
|
|
1447
|
-
regardedOwnerMailingAddressState: (
|
|
1448
|
-
regardedOwnerMailingAddressZip: (
|
|
1449
|
-
regardedOwnerMailingAddressCountry: (
|
|
1450
|
-
regardedOwnerUsPerson: ((
|
|
1451
|
-
regardedOwnerUsAccountType:
|
|
1452
|
-
(
|
|
1438
|
+
regardedOwnerName: (Yi = e.regardedOwner) == null ? void 0 : Yi.name,
|
|
1439
|
+
regardedOwnerDbaName: (_i = e.regardedOwner) == null ? void 0 : _i.dbaName,
|
|
1440
|
+
regardedOwnerDateOfBirth: (Qi = e.regardedOwner) == null ? void 0 : Qi.dateOfBirth,
|
|
1441
|
+
regardedOwnerUsTin: (Xi = e.regardedOwner) == null ? void 0 : Xi.tin,
|
|
1442
|
+
regardedOwnerForeignTin: ($i = e.regardedOwner) != null && $i.ftinNotLegallyRequired || (en = e.regardedOwner) == null ? void 0 : en.ftin,
|
|
1443
|
+
regardedOwnerForeignTinIsNotRequired: (an = e.regardedOwner) != null && an.ftinNotLegallyRequired ? "yes" : void 0,
|
|
1444
|
+
regardedOwnerCountryOfCitizenship: (nn = e.regardedOwner) == null ? void 0 : nn.countryOfCitizenship,
|
|
1445
|
+
regardedOwnerAddressStreet: (rn = (tn = e.regardedOwner) == null ? void 0 : tn.address) == null ? void 0 : rn.firstLine,
|
|
1446
|
+
regardedOwnerAddressStreet2: (sn = (on = e.regardedOwner) == null ? void 0 : on.address) == null ? void 0 : sn.secondLine,
|
|
1447
|
+
regardedOwnerAddressCity: (dn = (ln = e.regardedOwner) == null ? void 0 : ln.address) == null ? void 0 : dn.city,
|
|
1448
|
+
regardedOwnerAddressState: (cn = (un = e.regardedOwner) == null ? void 0 : un.address) == null ? void 0 : cn.stateOrProvince,
|
|
1449
|
+
regardedOwnerAddressZip: (gn = (mn = e.regardedOwner) == null ? void 0 : mn.address) == null ? void 0 : gn.postalCode,
|
|
1450
|
+
regardedOwnerAddressCountry: (hn = (kn = e.regardedOwner) == null ? void 0 : kn.address) == null ? void 0 : hn.country,
|
|
1451
|
+
regardedOwnerMailingAddressStreet: (pn = (vn = e.regardedOwner) == null ? void 0 : vn.mailingAddress) == null ? void 0 : pn.firstLine,
|
|
1452
|
+
regardedOwnerMailingAddressStreet2: (An = (fn = e.regardedOwner) == null ? void 0 : fn.mailingAddress) == null ? void 0 : An.secondLine,
|
|
1453
|
+
regardedOwnerMailingAddressCity: (Cn = (bn = e.regardedOwner) == null ? void 0 : bn.mailingAddress) == null ? void 0 : Cn.city,
|
|
1454
|
+
regardedOwnerMailingAddressState: (Sn = (In = e.regardedOwner) == null ? void 0 : In.mailingAddress) == null ? void 0 : Sn.stateOrProvince,
|
|
1455
|
+
regardedOwnerMailingAddressZip: (Tn = (Nn = e.regardedOwner) == null ? void 0 : Nn.mailingAddress) == null ? void 0 : Tn.postalCode,
|
|
1456
|
+
regardedOwnerMailingAddressCountry: (yn = (Mn = e.regardedOwner) == null ? void 0 : Mn.mailingAddress) == null ? void 0 : yn.country,
|
|
1457
|
+
regardedOwnerUsPerson: ((jn = e.regardedOwner) == null ? void 0 : jn.isUsPerson) === !0 ? "yes" : ((On = e.regardedOwner) == null ? void 0 : On.isUsPerson) === !1 ? "no" : void 0,
|
|
1458
|
+
regardedOwnerUsAccountType: Jn(
|
|
1459
|
+
(zn = e.regardedOwner) == null ? void 0 : zn.usAccountType
|
|
1453
1460
|
),
|
|
1454
|
-
regardedOwnerUsLlcClassification:
|
|
1455
|
-
(
|
|
1461
|
+
regardedOwnerUsLlcClassification: Wn(
|
|
1462
|
+
(En = e.regardedOwner) == null ? void 0 : En.usLlcClassification
|
|
1456
1463
|
),
|
|
1457
|
-
regardedOwnerUsOtherClassification: (
|
|
1458
|
-
regardedOwnerUsTrustEstateEin: ((
|
|
1459
|
-
regardedOwnerForeignAccountType:
|
|
1460
|
-
(
|
|
1464
|
+
regardedOwnerUsOtherClassification: (Bn = e.regardedOwner) == null ? void 0 : Bn.usOtherClassification,
|
|
1465
|
+
regardedOwnerUsTrustEstateEin: ((Pn = e.regardedOwner) == null ? void 0 : Pn.usTrustEstateEin) === !0 ? "yes" : ((Rn = e.regardedOwner) == null ? void 0 : Rn.usTrustEstateEin) === !1 ? "no" : void 0,
|
|
1466
|
+
regardedOwnerForeignAccountType: xn(
|
|
1467
|
+
(wn = e.regardedOwner) == null ? void 0 : wn.foreignAccountType
|
|
1461
1468
|
),
|
|
1462
|
-
regardedOwnerForeignTrustClassification:
|
|
1463
|
-
(
|
|
1469
|
+
regardedOwnerForeignTrustClassification: Vn(
|
|
1470
|
+
(Hn = e.regardedOwner) == null ? void 0 : Hn.foreignTrustClassification
|
|
1464
1471
|
),
|
|
1465
|
-
regardedOwnerForeignOtherClassification:
|
|
1466
|
-
(
|
|
1472
|
+
regardedOwnerForeignOtherClassification: Kn(
|
|
1473
|
+
(Ln = e.regardedOwner) == null ? void 0 : Ln.foreignOtherClassification
|
|
1467
1474
|
),
|
|
1468
1475
|
iConfirmTheInformationIsCorrectComplete: void 0,
|
|
1469
1476
|
isNotSubjectBackupWithholding: void 0
|
|
1470
|
-
}, r =
|
|
1477
|
+
}, r = st(a);
|
|
1471
1478
|
return Object.fromEntries(
|
|
1472
1479
|
Object.entries(n).filter(
|
|
1473
|
-
([
|
|
1480
|
+
([mt]) => r[mt]
|
|
1474
1481
|
)
|
|
1475
1482
|
);
|
|
1476
|
-
},
|
|
1483
|
+
}, Qa = ({ bearerToken: e }) => new Headers({
|
|
1477
1484
|
Authorization: `Bearer ${e}`
|
|
1478
|
-
}),
|
|
1485
|
+
}), ur = (e, a) => {
|
|
1479
1486
|
var S;
|
|
1480
|
-
const [n, r] = K(), [s, o] = K(), [d, u] = K(!1), m = a ? "STAGING" : "PRODUCTION", l =
|
|
1487
|
+
const [n, r] = K(), [s, o] = K(), [d, u] = K(!1), m = a ? "STAGING" : "PRODUCTION", l = Ja.taxDocumentation.get(m), v = Ja.taxDocumentation.post(m), g = Ja.taxDocumentationStatus.get(m), A = async (N) => {
|
|
1481
1488
|
const T = {
|
|
1482
1489
|
method: "POST",
|
|
1483
|
-
headers:
|
|
1484
|
-
body: JSON.stringify(
|
|
1490
|
+
headers: Qa({ bearerToken: e }),
|
|
1491
|
+
body: JSON.stringify(ei(N))
|
|
1485
1492
|
};
|
|
1486
1493
|
fetch(v, T).then((R) => {
|
|
1487
1494
|
R.status === 200 && u(!0);
|
|
@@ -1490,27 +1497,27 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1490
1497
|
X(() => {
|
|
1491
1498
|
const N = {
|
|
1492
1499
|
method: "GET",
|
|
1493
|
-
headers:
|
|
1500
|
+
headers: Qa({ bearerToken: e })
|
|
1494
1501
|
};
|
|
1495
1502
|
fetch(g, N).then((T) => {
|
|
1496
1503
|
if (T.ok)
|
|
1497
1504
|
return T.json();
|
|
1498
1505
|
throw T.status === 401 ? new Error("Unauthorized, please check your bearer token") : new Error("Something went wrong");
|
|
1499
1506
|
}).then((T) => {
|
|
1500
|
-
o(
|
|
1507
|
+
o(Ka(T));
|
|
1501
1508
|
});
|
|
1502
1509
|
}, [e, g, d]), X(() => {
|
|
1503
1510
|
if (s && s.submissionStatus !== "NOT_SUBMITTED") {
|
|
1504
1511
|
const N = {
|
|
1505
1512
|
method: "GET",
|
|
1506
|
-
headers:
|
|
1513
|
+
headers: Qa({ bearerToken: e })
|
|
1507
1514
|
};
|
|
1508
1515
|
fetch(l, N).then((T) => {
|
|
1509
1516
|
if (T.ok)
|
|
1510
1517
|
return T.json();
|
|
1511
1518
|
throw new Error("Something went wrong");
|
|
1512
1519
|
}).then((T) => {
|
|
1513
|
-
r(
|
|
1520
|
+
r(Ka(T));
|
|
1514
1521
|
});
|
|
1515
1522
|
}
|
|
1516
1523
|
}, [e, s, l]);
|
|
@@ -1523,7 +1530,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1523
1530
|
serverData: n
|
|
1524
1531
|
};
|
|
1525
1532
|
};
|
|
1526
|
-
var
|
|
1533
|
+
var ii = { exports: {} }, sa = {};
|
|
1527
1534
|
/**
|
|
1528
1535
|
* @license React
|
|
1529
1536
|
* react-jsx-runtime.production.min.js
|
|
@@ -1533,12 +1540,12 @@ var ai = { exports: {} }, oa = {};
|
|
|
1533
1540
|
* This source code is licensed under the MIT license found in the
|
|
1534
1541
|
* LICENSE file in the root directory of this source tree.
|
|
1535
1542
|
*/
|
|
1536
|
-
var
|
|
1537
|
-
function
|
|
1538
|
-
if (
|
|
1539
|
-
return
|
|
1540
|
-
|
|
1541
|
-
var e =
|
|
1543
|
+
var qn;
|
|
1544
|
+
function cr() {
|
|
1545
|
+
if (qn)
|
|
1546
|
+
return sa;
|
|
1547
|
+
qn = 1;
|
|
1548
|
+
var e = Xn, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1542
1549
|
function d(u, m, l) {
|
|
1543
1550
|
var v, g = {}, A = null, p = null;
|
|
1544
1551
|
l !== void 0 && (A = "" + l), m.key !== void 0 && (A = "" + m.key), m.ref !== void 0 && (p = m.ref);
|
|
@@ -1549,9 +1556,9 @@ function lr() {
|
|
|
1549
1556
|
g[v] === void 0 && (g[v] = m[v]);
|
|
1550
1557
|
return { $$typeof: a, type: u, key: A, ref: p, props: g, _owner: s.current };
|
|
1551
1558
|
}
|
|
1552
|
-
return
|
|
1559
|
+
return sa.Fragment = n, sa.jsx = d, sa.jsxs = d, sa;
|
|
1553
1560
|
}
|
|
1554
|
-
var
|
|
1561
|
+
var la = {};
|
|
1555
1562
|
/**
|
|
1556
1563
|
* @license React
|
|
1557
1564
|
* react-jsx-runtime.development.js
|
|
@@ -1561,10 +1568,10 @@ var sa = {};
|
|
|
1561
1568
|
* This source code is licensed under the MIT license found in the
|
|
1562
1569
|
* LICENSE file in the root directory of this source tree.
|
|
1563
1570
|
*/
|
|
1564
|
-
var
|
|
1565
|
-
function
|
|
1566
|
-
return
|
|
1567
|
-
var e =
|
|
1571
|
+
var Yn;
|
|
1572
|
+
function mr() {
|
|
1573
|
+
return Yn || (Yn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1574
|
+
var e = Xn, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), u = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), S = Symbol.iterator, N = "@@iterator";
|
|
1568
1575
|
function T(t) {
|
|
1569
1576
|
if (t === null || typeof t != "object")
|
|
1570
1577
|
return null;
|
|
@@ -1589,16 +1596,16 @@ function dr() {
|
|
|
1589
1596
|
j.unshift("Warning: " + c), Function.prototype.apply.call(console[t], console, j);
|
|
1590
1597
|
}
|
|
1591
1598
|
}
|
|
1592
|
-
var L = !1, ae = !1, se = !1,
|
|
1599
|
+
var L = !1, ae = !1, se = !1, Se = !1, Ne = !1, le;
|
|
1593
1600
|
le = Symbol.for("react.module.reference");
|
|
1594
1601
|
function de(t) {
|
|
1595
|
-
return !!(typeof t == "string" || typeof t == "function" || t === r || t === o ||
|
|
1602
|
+
return !!(typeof t == "string" || typeof t == "function" || t === r || t === o || Ne || t === s || t === l || t === v || Se || t === p || L || ae || se || typeof t == "object" && t !== null && (t.$$typeof === A || t.$$typeof === g || t.$$typeof === d || t.$$typeof === u || t.$$typeof === m || // This needs to include all possible module reference object
|
|
1596
1603
|
// types supported by any Flight configuration anywhere since
|
|
1597
1604
|
// we don't know which Flight build this will end up being used
|
|
1598
1605
|
// with.
|
|
1599
1606
|
t.$$typeof === le || t.getModuleId !== void 0));
|
|
1600
1607
|
}
|
|
1601
|
-
function
|
|
1608
|
+
function Te(t, c, k) {
|
|
1602
1609
|
var b = t.displayName;
|
|
1603
1610
|
if (b)
|
|
1604
1611
|
return b;
|
|
@@ -1638,7 +1645,7 @@ function dr() {
|
|
|
1638
1645
|
var k = t;
|
|
1639
1646
|
return ue(k._context) + ".Provider";
|
|
1640
1647
|
case m:
|
|
1641
|
-
return
|
|
1648
|
+
return Te(t, t.render, "ForwardRef");
|
|
1642
1649
|
case g:
|
|
1643
1650
|
var b = t.displayName || null;
|
|
1644
1651
|
return b !== null ? b : V(t.type) || "Memo";
|
|
@@ -1653,18 +1660,18 @@ function dr() {
|
|
|
1653
1660
|
}
|
|
1654
1661
|
return null;
|
|
1655
1662
|
}
|
|
1656
|
-
var q = Object.assign, ie = 0, z, W,
|
|
1657
|
-
function
|
|
1663
|
+
var q = Object.assign, ie = 0, z, W, ke, he, we, He, Le;
|
|
1664
|
+
function Ge() {
|
|
1658
1665
|
}
|
|
1659
|
-
|
|
1660
|
-
function
|
|
1666
|
+
Ge.__reactDisabledLog = !0;
|
|
1667
|
+
function Je() {
|
|
1661
1668
|
{
|
|
1662
1669
|
if (ie === 0) {
|
|
1663
|
-
z = console.log, W = console.info,
|
|
1670
|
+
z = console.log, W = console.info, ke = console.warn, he = console.error, we = console.group, He = console.groupCollapsed, Le = console.groupEnd;
|
|
1664
1671
|
var t = {
|
|
1665
1672
|
configurable: !0,
|
|
1666
1673
|
enumerable: !0,
|
|
1667
|
-
value:
|
|
1674
|
+
value: Ge,
|
|
1668
1675
|
writable: !0
|
|
1669
1676
|
};
|
|
1670
1677
|
Object.defineProperties(console, {
|
|
@@ -1696,19 +1703,19 @@ function dr() {
|
|
|
1696
1703
|
value: W
|
|
1697
1704
|
}),
|
|
1698
1705
|
warn: q({}, t, {
|
|
1699
|
-
value:
|
|
1706
|
+
value: ke
|
|
1700
1707
|
}),
|
|
1701
1708
|
error: q({}, t, {
|
|
1702
|
-
value:
|
|
1709
|
+
value: he
|
|
1703
1710
|
}),
|
|
1704
1711
|
group: q({}, t, {
|
|
1705
|
-
value:
|
|
1712
|
+
value: we
|
|
1706
1713
|
}),
|
|
1707
1714
|
groupCollapsed: q({}, t, {
|
|
1708
|
-
value:
|
|
1715
|
+
value: He
|
|
1709
1716
|
}),
|
|
1710
1717
|
groupEnd: q({}, t, {
|
|
1711
|
-
value:
|
|
1718
|
+
value: Le
|
|
1712
1719
|
})
|
|
1713
1720
|
});
|
|
1714
1721
|
}
|
|
@@ -1716,7 +1723,7 @@ function dr() {
|
|
|
1716
1723
|
}
|
|
1717
1724
|
}
|
|
1718
1725
|
var B = R.ReactCurrentDispatcher, Y;
|
|
1719
|
-
function
|
|
1726
|
+
function ve(t, c, k) {
|
|
1720
1727
|
{
|
|
1721
1728
|
if (Y === void 0)
|
|
1722
1729
|
try {
|
|
@@ -1729,25 +1736,25 @@ function dr() {
|
|
|
1729
1736
|
` + Y + t;
|
|
1730
1737
|
}
|
|
1731
1738
|
}
|
|
1732
|
-
var
|
|
1739
|
+
var De = !1, Oe;
|
|
1733
1740
|
{
|
|
1734
|
-
var
|
|
1735
|
-
|
|
1741
|
+
var ma = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1742
|
+
Oe = new ma();
|
|
1736
1743
|
}
|
|
1737
|
-
function
|
|
1738
|
-
if (!t ||
|
|
1744
|
+
function Ze(t, c) {
|
|
1745
|
+
if (!t || De)
|
|
1739
1746
|
return "";
|
|
1740
1747
|
{
|
|
1741
|
-
var k =
|
|
1748
|
+
var k = Oe.get(t);
|
|
1742
1749
|
if (k !== void 0)
|
|
1743
1750
|
return k;
|
|
1744
1751
|
}
|
|
1745
1752
|
var b;
|
|
1746
|
-
|
|
1753
|
+
De = !0;
|
|
1747
1754
|
var y = Error.prepareStackTrace;
|
|
1748
1755
|
Error.prepareStackTrace = void 0;
|
|
1749
1756
|
var j;
|
|
1750
|
-
j = B.current, B.current = null,
|
|
1757
|
+
j = B.current, B.current = null, Je();
|
|
1751
1758
|
try {
|
|
1752
1759
|
if (c) {
|
|
1753
1760
|
var M = function() {
|
|
@@ -1793,65 +1800,65 @@ function dr() {
|
|
|
1793
1800
|
if (w--, H--, H < 0 || C[w] !== U[H]) {
|
|
1794
1801
|
var J = `
|
|
1795
1802
|
` + C[w].replace(" at new ", " at ");
|
|
1796
|
-
return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
1803
|
+
return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && Oe.set(t, J), J;
|
|
1797
1804
|
}
|
|
1798
1805
|
while (w >= 1 && H >= 0);
|
|
1799
1806
|
break;
|
|
1800
1807
|
}
|
|
1801
1808
|
}
|
|
1802
1809
|
} finally {
|
|
1803
|
-
|
|
1810
|
+
De = !1, B.current = j, h(), Error.prepareStackTrace = y;
|
|
1804
1811
|
}
|
|
1805
|
-
var
|
|
1806
|
-
return typeof t == "function" &&
|
|
1812
|
+
var fe = t ? t.displayName || t.name : "", oa = fe ? ve(fe) : "";
|
|
1813
|
+
return typeof t == "function" && Oe.set(t, oa), oa;
|
|
1807
1814
|
}
|
|
1808
|
-
function
|
|
1809
|
-
return
|
|
1815
|
+
function ga(t, c, k) {
|
|
1816
|
+
return Ze(t, !1);
|
|
1810
1817
|
}
|
|
1811
|
-
function
|
|
1818
|
+
function ka(t) {
|
|
1812
1819
|
var c = t.prototype;
|
|
1813
1820
|
return !!(c && c.isReactComponent);
|
|
1814
1821
|
}
|
|
1815
|
-
function
|
|
1822
|
+
function ze(t, c, k) {
|
|
1816
1823
|
if (t == null)
|
|
1817
1824
|
return "";
|
|
1818
1825
|
if (typeof t == "function")
|
|
1819
|
-
return
|
|
1826
|
+
return Ze(t, ka(t));
|
|
1820
1827
|
if (typeof t == "string")
|
|
1821
|
-
return
|
|
1828
|
+
return ve(t);
|
|
1822
1829
|
switch (t) {
|
|
1823
1830
|
case l:
|
|
1824
|
-
return
|
|
1831
|
+
return ve("Suspense");
|
|
1825
1832
|
case v:
|
|
1826
|
-
return
|
|
1833
|
+
return ve("SuspenseList");
|
|
1827
1834
|
}
|
|
1828
1835
|
if (typeof t == "object")
|
|
1829
1836
|
switch (t.$$typeof) {
|
|
1830
1837
|
case m:
|
|
1831
|
-
return
|
|
1838
|
+
return ga(t.render);
|
|
1832
1839
|
case g:
|
|
1833
|
-
return
|
|
1840
|
+
return ze(t.type, c, k);
|
|
1834
1841
|
case A: {
|
|
1835
1842
|
var b = t, y = b._payload, j = b._init;
|
|
1836
1843
|
try {
|
|
1837
|
-
return
|
|
1844
|
+
return ze(j(y), c, k);
|
|
1838
1845
|
} catch {
|
|
1839
1846
|
}
|
|
1840
1847
|
}
|
|
1841
1848
|
}
|
|
1842
1849
|
return "";
|
|
1843
1850
|
}
|
|
1844
|
-
var
|
|
1845
|
-
function
|
|
1851
|
+
var Ee = Object.prototype.hasOwnProperty, qe = {}, Ye = R.ReactDebugCurrentFrame;
|
|
1852
|
+
function Be(t) {
|
|
1846
1853
|
if (t) {
|
|
1847
|
-
var c = t._owner, k =
|
|
1848
|
-
|
|
1854
|
+
var c = t._owner, k = ze(t.type, t._source, c ? c.type : null);
|
|
1855
|
+
Ye.setExtraStackFrame(k);
|
|
1849
1856
|
} else
|
|
1850
|
-
|
|
1857
|
+
Ye.setExtraStackFrame(null);
|
|
1851
1858
|
}
|
|
1852
|
-
function
|
|
1859
|
+
function ha(t, c, k, b, y) {
|
|
1853
1860
|
{
|
|
1854
|
-
var j = Function.call.bind(
|
|
1861
|
+
var j = Function.call.bind(Ee);
|
|
1855
1862
|
for (var M in t)
|
|
1856
1863
|
if (j(t, M)) {
|
|
1857
1864
|
var C = void 0;
|
|
@@ -1864,67 +1871,67 @@ function dr() {
|
|
|
1864
1871
|
} catch (w) {
|
|
1865
1872
|
C = w;
|
|
1866
1873
|
}
|
|
1867
|
-
C && !(C instanceof Error) && (
|
|
1874
|
+
C && !(C instanceof Error) && (Be(y), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", k, M, typeof C), Be(null)), C instanceof Error && !(C.message in qe) && (qe[C.message] = !0, Be(y), P("Failed %s type: %s", k, C.message), Be(null));
|
|
1868
1875
|
}
|
|
1869
1876
|
}
|
|
1870
1877
|
}
|
|
1871
|
-
var
|
|
1872
|
-
function
|
|
1873
|
-
return
|
|
1878
|
+
var va = Array.isArray;
|
|
1879
|
+
function Ue(t) {
|
|
1880
|
+
return va(t);
|
|
1874
1881
|
}
|
|
1875
|
-
function
|
|
1882
|
+
function pa(t) {
|
|
1876
1883
|
{
|
|
1877
1884
|
var c = typeof Symbol == "function" && Symbol.toStringTag, k = c && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1878
1885
|
return k;
|
|
1879
1886
|
}
|
|
1880
1887
|
}
|
|
1881
|
-
function
|
|
1888
|
+
function fa(t) {
|
|
1882
1889
|
try {
|
|
1883
|
-
return
|
|
1890
|
+
return _e(t), !1;
|
|
1884
1891
|
} catch {
|
|
1885
1892
|
return !0;
|
|
1886
1893
|
}
|
|
1887
1894
|
}
|
|
1888
|
-
function
|
|
1895
|
+
function _e(t) {
|
|
1889
1896
|
return "" + t;
|
|
1890
1897
|
}
|
|
1891
|
-
function
|
|
1892
|
-
if (
|
|
1893
|
-
return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
1898
|
+
function Qe(t) {
|
|
1899
|
+
if (fa(t))
|
|
1900
|
+
return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", pa(t)), _e(t);
|
|
1894
1901
|
}
|
|
1895
|
-
var
|
|
1902
|
+
var Me = R.ReactCurrentOwner, Aa = {
|
|
1896
1903
|
key: !0,
|
|
1897
1904
|
ref: !0,
|
|
1898
1905
|
__self: !0,
|
|
1899
1906
|
__source: !0
|
|
1900
|
-
},
|
|
1901
|
-
|
|
1902
|
-
function
|
|
1903
|
-
if (
|
|
1907
|
+
}, Xe, $e, Fe;
|
|
1908
|
+
Fe = {};
|
|
1909
|
+
function ba(t) {
|
|
1910
|
+
if (Ee.call(t, "ref")) {
|
|
1904
1911
|
var c = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1905
1912
|
if (c && c.isReactWarning)
|
|
1906
1913
|
return !1;
|
|
1907
1914
|
}
|
|
1908
1915
|
return t.ref !== void 0;
|
|
1909
1916
|
}
|
|
1910
|
-
function
|
|
1911
|
-
if (
|
|
1917
|
+
function Ca(t) {
|
|
1918
|
+
if (Ee.call(t, "key")) {
|
|
1912
1919
|
var c = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1913
1920
|
if (c && c.isReactWarning)
|
|
1914
1921
|
return !1;
|
|
1915
1922
|
}
|
|
1916
1923
|
return t.key !== void 0;
|
|
1917
1924
|
}
|
|
1918
|
-
function
|
|
1919
|
-
if (typeof t.ref == "string" &&
|
|
1920
|
-
var k = V(
|
|
1921
|
-
|
|
1925
|
+
function Ia(t, c) {
|
|
1926
|
+
if (typeof t.ref == "string" && Me.current && c && Me.current.stateNode !== c) {
|
|
1927
|
+
var k = V(Me.current.type);
|
|
1928
|
+
Fe[k] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Me.current.type), t.ref), Fe[k] = !0);
|
|
1922
1929
|
}
|
|
1923
1930
|
}
|
|
1924
|
-
function
|
|
1931
|
+
function Sa(t, c) {
|
|
1925
1932
|
{
|
|
1926
1933
|
var k = function() {
|
|
1927
|
-
|
|
1934
|
+
Xe || (Xe = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
1928
1935
|
};
|
|
1929
1936
|
k.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1930
1937
|
get: k,
|
|
@@ -1932,10 +1939,10 @@ function dr() {
|
|
|
1932
1939
|
});
|
|
1933
1940
|
}
|
|
1934
1941
|
}
|
|
1935
|
-
function
|
|
1942
|
+
function Na(t, c) {
|
|
1936
1943
|
{
|
|
1937
1944
|
var k = function() {
|
|
1938
|
-
|
|
1945
|
+
$e || ($e = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
1939
1946
|
};
|
|
1940
1947
|
k.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1941
1948
|
get: k,
|
|
@@ -1943,7 +1950,7 @@ function dr() {
|
|
|
1943
1950
|
});
|
|
1944
1951
|
}
|
|
1945
1952
|
}
|
|
1946
|
-
var
|
|
1953
|
+
var Ta = function(t, c, k, b, y, j, M) {
|
|
1947
1954
|
var C = {
|
|
1948
1955
|
// This tag allows us to uniquely identify this as a React Element
|
|
1949
1956
|
$$typeof: a,
|
|
@@ -1972,12 +1979,12 @@ function dr() {
|
|
|
1972
1979
|
value: y
|
|
1973
1980
|
}), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
|
|
1974
1981
|
};
|
|
1975
|
-
function
|
|
1982
|
+
function Ma(t, c, k, b, y) {
|
|
1976
1983
|
{
|
|
1977
1984
|
var j, M = {}, C = null, U = null;
|
|
1978
|
-
k !== void 0 && (
|
|
1985
|
+
k !== void 0 && (Qe(k), C = "" + k), Ca(c) && (Qe(c.key), C = "" + c.key), ba(c) && (U = c.ref, Ia(c, y));
|
|
1979
1986
|
for (j in c)
|
|
1980
|
-
|
|
1987
|
+
Ee.call(c, j) && !Aa.hasOwnProperty(j) && (M[j] = c[j]);
|
|
1981
1988
|
if (t && t.defaultProps) {
|
|
1982
1989
|
var w = t.defaultProps;
|
|
1983
1990
|
for (j in w)
|
|
@@ -1985,28 +1992,28 @@ function dr() {
|
|
|
1985
1992
|
}
|
|
1986
1993
|
if (C || U) {
|
|
1987
1994
|
var H = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1988
|
-
C &&
|
|
1995
|
+
C && Sa(M, H), U && Na(M, H);
|
|
1989
1996
|
}
|
|
1990
|
-
return
|
|
1997
|
+
return Ta(t, C, U, y, b, Me.current, M);
|
|
1991
1998
|
}
|
|
1992
1999
|
}
|
|
1993
|
-
var
|
|
1994
|
-
function
|
|
2000
|
+
var xe = R.ReactCurrentOwner, ea = R.ReactDebugCurrentFrame;
|
|
2001
|
+
function pe(t) {
|
|
1995
2002
|
if (t) {
|
|
1996
|
-
var c = t._owner, k =
|
|
1997
|
-
|
|
2003
|
+
var c = t._owner, k = ze(t.type, t._source, c ? c.type : null);
|
|
2004
|
+
ea.setExtraStackFrame(k);
|
|
1998
2005
|
} else
|
|
1999
|
-
|
|
2006
|
+
ea.setExtraStackFrame(null);
|
|
2000
2007
|
}
|
|
2001
|
-
var
|
|
2002
|
-
|
|
2003
|
-
function
|
|
2008
|
+
var Ke;
|
|
2009
|
+
Ke = !1;
|
|
2010
|
+
function Ve(t) {
|
|
2004
2011
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
2005
2012
|
}
|
|
2006
|
-
function
|
|
2013
|
+
function aa() {
|
|
2007
2014
|
{
|
|
2008
|
-
if (
|
|
2009
|
-
var t = V(
|
|
2015
|
+
if (xe.current) {
|
|
2016
|
+
var t = V(xe.current.type);
|
|
2010
2017
|
if (t)
|
|
2011
2018
|
return `
|
|
2012
2019
|
|
|
@@ -2015,7 +2022,7 @@ Check the render method of \`` + t + "`.";
|
|
|
2015
2022
|
return "";
|
|
2016
2023
|
}
|
|
2017
2024
|
}
|
|
2018
|
-
function
|
|
2025
|
+
function ya(t) {
|
|
2019
2026
|
{
|
|
2020
2027
|
if (t !== void 0) {
|
|
2021
2028
|
var c = t.fileName.replace(/^.*[\\\/]/, ""), k = t.lineNumber;
|
|
@@ -2026,10 +2033,10 @@ Check your code at ` + c + ":" + k + ".";
|
|
|
2026
2033
|
return "";
|
|
2027
2034
|
}
|
|
2028
2035
|
}
|
|
2029
|
-
var
|
|
2030
|
-
function
|
|
2036
|
+
var ia = {};
|
|
2037
|
+
function ja(t) {
|
|
2031
2038
|
{
|
|
2032
|
-
var c =
|
|
2039
|
+
var c = aa();
|
|
2033
2040
|
if (!c) {
|
|
2034
2041
|
var k = typeof t == "string" ? t : t.displayName || t.name;
|
|
2035
2042
|
k && (c = `
|
|
@@ -2039,39 +2046,39 @@ Check the top-level render call using <` + k + ">.");
|
|
|
2039
2046
|
return c;
|
|
2040
2047
|
}
|
|
2041
2048
|
}
|
|
2042
|
-
function
|
|
2049
|
+
function na(t, c) {
|
|
2043
2050
|
{
|
|
2044
2051
|
if (!t._store || t._store.validated || t.key != null)
|
|
2045
2052
|
return;
|
|
2046
2053
|
t._store.validated = !0;
|
|
2047
|
-
var k =
|
|
2048
|
-
if (
|
|
2054
|
+
var k = ja(c);
|
|
2055
|
+
if (ia[k])
|
|
2049
2056
|
return;
|
|
2050
|
-
|
|
2057
|
+
ia[k] = !0;
|
|
2051
2058
|
var b = "";
|
|
2052
|
-
t && t._owner && t._owner !==
|
|
2059
|
+
t && t._owner && t._owner !== xe.current && (b = " It was passed a child from " + V(t._owner.type) + "."), pe(t), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, b), pe(null);
|
|
2053
2060
|
}
|
|
2054
2061
|
}
|
|
2055
|
-
function
|
|
2062
|
+
function ta(t, c) {
|
|
2056
2063
|
{
|
|
2057
2064
|
if (typeof t != "object")
|
|
2058
2065
|
return;
|
|
2059
|
-
if (
|
|
2066
|
+
if (Ue(t))
|
|
2060
2067
|
for (var k = 0; k < t.length; k++) {
|
|
2061
2068
|
var b = t[k];
|
|
2062
|
-
|
|
2069
|
+
Ve(b) && na(b, c);
|
|
2063
2070
|
}
|
|
2064
|
-
else if (
|
|
2071
|
+
else if (Ve(t))
|
|
2065
2072
|
t._store && (t._store.validated = !0);
|
|
2066
2073
|
else if (t) {
|
|
2067
2074
|
var y = T(t);
|
|
2068
2075
|
if (typeof y == "function" && y !== t.entries)
|
|
2069
2076
|
for (var j = y.call(t), M; !(M = j.next()).done; )
|
|
2070
|
-
|
|
2077
|
+
Ve(M.value) && na(M.value, c);
|
|
2071
2078
|
}
|
|
2072
2079
|
}
|
|
2073
2080
|
}
|
|
2074
|
-
function
|
|
2081
|
+
function Oa(t) {
|
|
2075
2082
|
{
|
|
2076
2083
|
var c = t.type;
|
|
2077
2084
|
if (c == null || typeof c == "string")
|
|
@@ -2087,70 +2094,70 @@ Check the top-level render call using <` + k + ">.");
|
|
|
2087
2094
|
return;
|
|
2088
2095
|
if (k) {
|
|
2089
2096
|
var b = V(c);
|
|
2090
|
-
|
|
2091
|
-
} else if (c.PropTypes !== void 0 && !
|
|
2092
|
-
|
|
2097
|
+
ha(k, t.props, "prop", b, t);
|
|
2098
|
+
} else if (c.PropTypes !== void 0 && !Ke) {
|
|
2099
|
+
Ke = !0;
|
|
2093
2100
|
var y = V(c);
|
|
2094
2101
|
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
2095
2102
|
}
|
|
2096
2103
|
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2097
2104
|
}
|
|
2098
2105
|
}
|
|
2099
|
-
function
|
|
2106
|
+
function za(t) {
|
|
2100
2107
|
{
|
|
2101
2108
|
for (var c = Object.keys(t.props), k = 0; k < c.length; k++) {
|
|
2102
2109
|
var b = c[k];
|
|
2103
2110
|
if (b !== "children" && b !== "key") {
|
|
2104
|
-
|
|
2111
|
+
pe(t), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), pe(null);
|
|
2105
2112
|
break;
|
|
2106
2113
|
}
|
|
2107
2114
|
}
|
|
2108
|
-
t.ref !== null && (
|
|
2115
|
+
t.ref !== null && (pe(t), P("Invalid attribute `ref` supplied to `React.Fragment`."), pe(null));
|
|
2109
2116
|
}
|
|
2110
2117
|
}
|
|
2111
|
-
function
|
|
2118
|
+
function ra(t, c, k, b, y, j) {
|
|
2112
2119
|
{
|
|
2113
2120
|
var M = de(t);
|
|
2114
2121
|
if (!M) {
|
|
2115
2122
|
var C = "";
|
|
2116
2123
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2117
|
-
var U =
|
|
2118
|
-
U ? C += U : C +=
|
|
2124
|
+
var U = ya(y);
|
|
2125
|
+
U ? C += U : C += aa();
|
|
2119
2126
|
var w;
|
|
2120
|
-
t === null ? w = "null" :
|
|
2127
|
+
t === null ? w = "null" : Ue(t) ? w = "array" : t !== void 0 && t.$$typeof === a ? (w = "<" + (V(t.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : w = typeof t, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, C);
|
|
2121
2128
|
}
|
|
2122
|
-
var H =
|
|
2129
|
+
var H = Ma(t, c, k, y, j);
|
|
2123
2130
|
if (H == null)
|
|
2124
2131
|
return H;
|
|
2125
2132
|
if (M) {
|
|
2126
2133
|
var J = c.children;
|
|
2127
2134
|
if (J !== void 0)
|
|
2128
2135
|
if (b)
|
|
2129
|
-
if (
|
|
2130
|
-
for (var
|
|
2131
|
-
|
|
2136
|
+
if (Ue(J)) {
|
|
2137
|
+
for (var fe = 0; fe < J.length; fe++)
|
|
2138
|
+
ta(J[fe], t);
|
|
2132
2139
|
Object.freeze && Object.freeze(J);
|
|
2133
2140
|
} else
|
|
2134
2141
|
P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2135
2142
|
else
|
|
2136
|
-
|
|
2143
|
+
ta(J, t);
|
|
2137
2144
|
}
|
|
2138
|
-
return t === r ?
|
|
2145
|
+
return t === r ? za(H) : Oa(H), H;
|
|
2139
2146
|
}
|
|
2140
2147
|
}
|
|
2141
|
-
function za(t, c, k) {
|
|
2142
|
-
return ta(t, c, k, !0);
|
|
2143
|
-
}
|
|
2144
2148
|
function Ea(t, c, k) {
|
|
2145
|
-
return
|
|
2149
|
+
return ra(t, c, k, !0);
|
|
2146
2150
|
}
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2151
|
+
function Ba(t, c, k) {
|
|
2152
|
+
return ra(t, c, k, !1);
|
|
2153
|
+
}
|
|
2154
|
+
var Pa = Ba, Ra = Ea;
|
|
2155
|
+
la.Fragment = r, la.jsx = Pa, la.jsxs = Ra;
|
|
2156
|
+
}()), la;
|
|
2150
2157
|
}
|
|
2151
|
-
process.env.NODE_ENV === "production" ?
|
|
2152
|
-
var i =
|
|
2153
|
-
const
|
|
2158
|
+
process.env.NODE_ENV === "production" ? ii.exports = cr() : ii.exports = mr();
|
|
2159
|
+
var i = ii.exports;
|
|
2160
|
+
const gr = {
|
|
2154
2161
|
button: {
|
|
2155
2162
|
back: "Назад",
|
|
2156
2163
|
cancel: "Отказ",
|
|
@@ -2707,7 +2714,7 @@ const ur = {
|
|
|
2707
2714
|
"sl-si": "Словенски",
|
|
2708
2715
|
"sv-se": "Шведски"
|
|
2709
2716
|
}
|
|
2710
|
-
},
|
|
2717
|
+
}, kr = {
|
|
2711
2718
|
button: {
|
|
2712
2719
|
back: "Zpět",
|
|
2713
2720
|
cancel: "Zrušit",
|
|
@@ -3265,7 +3272,7 @@ const ur = {
|
|
|
3265
3272
|
"sl-si": "Slovinsky",
|
|
3266
3273
|
"sv-se": "Švédsky"
|
|
3267
3274
|
}
|
|
3268
|
-
},
|
|
3275
|
+
}, hr = {
|
|
3269
3276
|
button: {
|
|
3270
3277
|
back: "Tilbage",
|
|
3271
3278
|
cancel: "Annuller",
|
|
@@ -3822,7 +3829,7 @@ const ur = {
|
|
|
3822
3829
|
"sl-si": "Slovensk",
|
|
3823
3830
|
"sv-se": "Svensk"
|
|
3824
3831
|
}
|
|
3825
|
-
},
|
|
3832
|
+
}, vr = {
|
|
3826
3833
|
button: {
|
|
3827
3834
|
back: "Zurück",
|
|
3828
3835
|
cancel: "Abbrechen",
|
|
@@ -4379,7 +4386,7 @@ const ur = {
|
|
|
4379
4386
|
"sl-si": "Slowenisch",
|
|
4380
4387
|
"sv-se": "Schwedisch"
|
|
4381
4388
|
}
|
|
4382
|
-
},
|
|
4389
|
+
}, pr = {
|
|
4383
4390
|
button: {
|
|
4384
4391
|
back: "Zurück",
|
|
4385
4392
|
cancel: "Abbrechen",
|
|
@@ -4936,7 +4943,7 @@ const ur = {
|
|
|
4936
4943
|
"sl-si": "Slowenisch",
|
|
4937
4944
|
"sv-se": "Schwedisch"
|
|
4938
4945
|
}
|
|
4939
|
-
},
|
|
4946
|
+
}, fr = {
|
|
4940
4947
|
button: {
|
|
4941
4948
|
back: "Πίσω",
|
|
4942
4949
|
cancel: "Άκυρο",
|
|
@@ -5493,7 +5500,7 @@ const ur = {
|
|
|
5493
5500
|
"sl-si": "Σλοβενικά",
|
|
5494
5501
|
"sv-se": "Σουηδικά"
|
|
5495
5502
|
}
|
|
5496
|
-
},
|
|
5503
|
+
}, Ar = {
|
|
5497
5504
|
button: {
|
|
5498
5505
|
back: "Πίσω",
|
|
5499
5506
|
cancel: "Άκυρο",
|
|
@@ -6050,7 +6057,7 @@ const ur = {
|
|
|
6050
6057
|
"sl-si": "Σλοβενικά",
|
|
6051
6058
|
"sv-se": "Σουηδικά"
|
|
6052
6059
|
}
|
|
6053
|
-
},
|
|
6060
|
+
}, br = {
|
|
6054
6061
|
button: {
|
|
6055
6062
|
back: "Back",
|
|
6056
6063
|
cancel: "Cancel",
|
|
@@ -6607,7 +6614,7 @@ const ur = {
|
|
|
6607
6614
|
11: "November",
|
|
6608
6615
|
12: "December"
|
|
6609
6616
|
}
|
|
6610
|
-
},
|
|
6617
|
+
}, Cr = {
|
|
6611
6618
|
button: {
|
|
6612
6619
|
back: "Back",
|
|
6613
6620
|
cancel: "Cancel",
|
|
@@ -7164,7 +7171,7 @@ const ur = {
|
|
|
7164
7171
|
"sl-si": "Slovenian",
|
|
7165
7172
|
"sv-se": "Swedish"
|
|
7166
7173
|
}
|
|
7167
|
-
},
|
|
7174
|
+
}, Ir = {
|
|
7168
7175
|
button: {
|
|
7169
7176
|
back: "Atrás",
|
|
7170
7177
|
cancel: "Cancelar",
|
|
@@ -7721,7 +7728,7 @@ const ur = {
|
|
|
7721
7728
|
11: "Noviembre",
|
|
7722
7729
|
12: "Diciembre"
|
|
7723
7730
|
}
|
|
7724
|
-
},
|
|
7731
|
+
}, Sr = {
|
|
7725
7732
|
button: {
|
|
7726
7733
|
back: "Tagasi",
|
|
7727
7734
|
cancel: "Tühista",
|
|
@@ -8278,7 +8285,7 @@ const ur = {
|
|
|
8278
8285
|
"sl-si": "Sloveenia",
|
|
8279
8286
|
"sv-se": "Rootsi Keel"
|
|
8280
8287
|
}
|
|
8281
|
-
},
|
|
8288
|
+
}, Nr = {
|
|
8282
8289
|
button: {
|
|
8283
8290
|
back: "Takaisin",
|
|
8284
8291
|
cancel: "Peruuta",
|
|
@@ -8835,7 +8842,7 @@ const ur = {
|
|
|
8835
8842
|
"sl-si": "Slovenia",
|
|
8836
8843
|
"sv-se": "Ruotsi"
|
|
8837
8844
|
}
|
|
8838
|
-
},
|
|
8845
|
+
}, Tr = {
|
|
8839
8846
|
button: {
|
|
8840
8847
|
back: "Retour",
|
|
8841
8848
|
cancel: "Annuler",
|
|
@@ -9392,7 +9399,7 @@ const ur = {
|
|
|
9392
9399
|
11: "Novembre",
|
|
9393
9400
|
12: "Décembre"
|
|
9394
9401
|
}
|
|
9395
|
-
},
|
|
9402
|
+
}, Mr = {
|
|
9396
9403
|
button: {
|
|
9397
9404
|
back: "Retour",
|
|
9398
9405
|
cancel: "Annuler",
|
|
@@ -9949,7 +9956,7 @@ const ur = {
|
|
|
9949
9956
|
"sl-si": "Slovène",
|
|
9950
9957
|
"sv-se": "Suédois"
|
|
9951
9958
|
}
|
|
9952
|
-
},
|
|
9959
|
+
}, yr = {
|
|
9953
9960
|
button: {
|
|
9954
9961
|
back: "Siar",
|
|
9955
9962
|
cancel: "Cealaigh",
|
|
@@ -10506,7 +10513,7 @@ const ur = {
|
|
|
10506
10513
|
"sl-si": "Slóivéinis",
|
|
10507
10514
|
"sv-se": "Sualainnis"
|
|
10508
10515
|
}
|
|
10509
|
-
},
|
|
10516
|
+
}, jr = {
|
|
10510
10517
|
button: {
|
|
10511
10518
|
back: "Natrag",
|
|
10512
10519
|
cancel: "Odustani",
|
|
@@ -11063,7 +11070,7 @@ const ur = {
|
|
|
11063
11070
|
"sl-si": "Slovenski",
|
|
11064
11071
|
"sv-se": "Švedski"
|
|
11065
11072
|
}
|
|
11066
|
-
},
|
|
11073
|
+
}, Or = {
|
|
11067
11074
|
button: {
|
|
11068
11075
|
back: "Vissza",
|
|
11069
11076
|
cancel: "Mégse",
|
|
@@ -11620,7 +11627,7 @@ const ur = {
|
|
|
11620
11627
|
"sl-si": "Szlovén",
|
|
11621
11628
|
"sv-se": "Svéd"
|
|
11622
11629
|
}
|
|
11623
|
-
},
|
|
11630
|
+
}, zr = {
|
|
11624
11631
|
button: {
|
|
11625
11632
|
back: "Indietro",
|
|
11626
11633
|
cancel: "Annulla",
|
|
@@ -12177,7 +12184,7 @@ const ur = {
|
|
|
12177
12184
|
"sl-si": "Sloveno",
|
|
12178
12185
|
"sv-se": "Svedese"
|
|
12179
12186
|
}
|
|
12180
|
-
},
|
|
12187
|
+
}, Er = {
|
|
12181
12188
|
button: {
|
|
12182
12189
|
back: "Atgal",
|
|
12183
12190
|
cancel: "Atšaukti",
|
|
@@ -12734,7 +12741,7 @@ const ur = {
|
|
|
12734
12741
|
"sl-si": "Slovėnų",
|
|
12735
12742
|
"sv-se": "Švedų"
|
|
12736
12743
|
}
|
|
12737
|
-
},
|
|
12744
|
+
}, Br = {
|
|
12738
12745
|
button: {
|
|
12739
12746
|
back: "Aizmugure",
|
|
12740
12747
|
cancel: "Atcelt",
|
|
@@ -13291,7 +13298,7 @@ const ur = {
|
|
|
13291
13298
|
"sl-si": "Slovēņu",
|
|
13292
13299
|
"sv-se": "Zviedru"
|
|
13293
13300
|
}
|
|
13294
|
-
},
|
|
13301
|
+
}, Pr = {
|
|
13295
13302
|
button: {
|
|
13296
13303
|
back: "Lura",
|
|
13297
13304
|
cancel: "Ikkanċella",
|
|
@@ -13848,7 +13855,7 @@ const ur = {
|
|
|
13848
13855
|
"sl-si": "Sloven",
|
|
13849
13856
|
"sv-se": "Svediż"
|
|
13850
13857
|
}
|
|
13851
|
-
},
|
|
13858
|
+
}, Rr = {
|
|
13852
13859
|
button: {
|
|
13853
13860
|
back: "Terug",
|
|
13854
13861
|
cancel: "Annuleren",
|
|
@@ -14405,7 +14412,7 @@ const ur = {
|
|
|
14405
14412
|
"sl-si": "Sloveens",
|
|
14406
14413
|
"sv-se": "Zweeds"
|
|
14407
14414
|
}
|
|
14408
|
-
},
|
|
14415
|
+
}, wr = {
|
|
14409
14416
|
button: {
|
|
14410
14417
|
back: "Terug",
|
|
14411
14418
|
cancel: "Annuleren",
|
|
@@ -14962,7 +14969,7 @@ const ur = {
|
|
|
14962
14969
|
11: "November",
|
|
14963
14970
|
12: "December"
|
|
14964
14971
|
}
|
|
14965
|
-
},
|
|
14972
|
+
}, Hr = {
|
|
14966
14973
|
button: {
|
|
14967
14974
|
back: "Tilbake",
|
|
14968
14975
|
cancel: "Avbryt",
|
|
@@ -15519,7 +15526,7 @@ const ur = {
|
|
|
15519
15526
|
"sl-si": "Slovensk",
|
|
15520
15527
|
"sv-se": "Svensk"
|
|
15521
15528
|
}
|
|
15522
|
-
},
|
|
15529
|
+
}, Lr = {
|
|
15523
15530
|
button: {
|
|
15524
15531
|
back: "Wstecz",
|
|
15525
15532
|
cancel: "Anuluj",
|
|
@@ -16076,7 +16083,7 @@ const ur = {
|
|
|
16076
16083
|
"sl-si": "Słoweński",
|
|
16077
16084
|
"sv-se": "Szwedzki"
|
|
16078
16085
|
}
|
|
16079
|
-
},
|
|
16086
|
+
}, Gr = {
|
|
16080
16087
|
button: {
|
|
16081
16088
|
back: "Voltar",
|
|
16082
16089
|
cancel: "Cancelar",
|
|
@@ -16633,7 +16640,7 @@ const ur = {
|
|
|
16633
16640
|
11: "Novembro",
|
|
16634
16641
|
12: "Dezembro"
|
|
16635
16642
|
}
|
|
16636
|
-
},
|
|
16643
|
+
}, Dr = {
|
|
16637
16644
|
button: {
|
|
16638
16645
|
back: "Înapoi",
|
|
16639
16646
|
cancel: "Anulați",
|
|
@@ -17190,7 +17197,7 @@ const ur = {
|
|
|
17190
17197
|
"sl-si": "Slovenă",
|
|
17191
17198
|
"sv-se": "Suedez"
|
|
17192
17199
|
}
|
|
17193
|
-
},
|
|
17200
|
+
}, Ur = {
|
|
17194
17201
|
button: {
|
|
17195
17202
|
back: "Späť",
|
|
17196
17203
|
cancel: "Zrušiť",
|
|
@@ -17747,7 +17754,7 @@ const ur = {
|
|
|
17747
17754
|
"sl-si": "Slovensky",
|
|
17748
17755
|
"sv-se": "Švédsky"
|
|
17749
17756
|
}
|
|
17750
|
-
},
|
|
17757
|
+
}, Fr = {
|
|
17751
17758
|
button: {
|
|
17752
17759
|
back: "Nazaj",
|
|
17753
17760
|
cancel: "Prekliči",
|
|
@@ -18304,7 +18311,7 @@ const ur = {
|
|
|
18304
18311
|
"sl-si": "Slovenščina",
|
|
18305
18312
|
"sv-se": "Švedščina"
|
|
18306
18313
|
}
|
|
18307
|
-
},
|
|
18314
|
+
}, xr = {
|
|
18308
18315
|
button: {
|
|
18309
18316
|
back: "Tillbaka",
|
|
18310
18317
|
cancel: "Avbryt",
|
|
@@ -18861,125 +18868,125 @@ const ur = {
|
|
|
18861
18868
|
11: "November",
|
|
18862
18869
|
12: "December"
|
|
18863
18870
|
}
|
|
18864
|
-
},
|
|
18865
|
-
"bg-bg":
|
|
18866
|
-
"cs-cz":
|
|
18867
|
-
"da-dk":
|
|
18868
|
-
"de-at":
|
|
18869
|
-
"de-de":
|
|
18870
|
-
"el-gr":
|
|
18871
|
-
"el-cy":
|
|
18872
|
-
"en-gb":
|
|
18873
|
-
"en-us":
|
|
18874
|
-
"es-es":
|
|
18875
|
-
"et-ee":
|
|
18876
|
-
"fi-fi":
|
|
18877
|
-
"fr-fr":
|
|
18878
|
-
"fr-lu":
|
|
18879
|
-
"ga-ie":
|
|
18880
|
-
"hr-hr":
|
|
18881
|
-
"hu-hu":
|
|
18882
|
-
"it-it":
|
|
18883
|
-
"lt-lt":
|
|
18884
|
-
"lv-lv":
|
|
18885
|
-
"mt-mt":
|
|
18886
|
-
"nl-be":
|
|
18887
|
-
"nl-nl":
|
|
18888
|
-
"no-no":
|
|
18889
|
-
"pl-pl":
|
|
18890
|
-
"pt-pt":
|
|
18891
|
-
"ro-ro":
|
|
18892
|
-
"sk-sk":
|
|
18893
|
-
"sl-si":
|
|
18894
|
-
"sv-se":
|
|
18895
|
-
},
|
|
18871
|
+
}, Xa = {
|
|
18872
|
+
"bg-bg": gr,
|
|
18873
|
+
"cs-cz": kr,
|
|
18874
|
+
"da-dk": hr,
|
|
18875
|
+
"de-at": vr,
|
|
18876
|
+
"de-de": pr,
|
|
18877
|
+
"el-gr": Ar,
|
|
18878
|
+
"el-cy": fr,
|
|
18879
|
+
"en-gb": br,
|
|
18880
|
+
"en-us": Cr,
|
|
18881
|
+
"es-es": Ir,
|
|
18882
|
+
"et-ee": Sr,
|
|
18883
|
+
"fi-fi": Nr,
|
|
18884
|
+
"fr-fr": Tr,
|
|
18885
|
+
"fr-lu": Mr,
|
|
18886
|
+
"ga-ie": yr,
|
|
18887
|
+
"hr-hr": jr,
|
|
18888
|
+
"hu-hu": Or,
|
|
18889
|
+
"it-it": zr,
|
|
18890
|
+
"lt-lt": Er,
|
|
18891
|
+
"lv-lv": Br,
|
|
18892
|
+
"mt-mt": Pr,
|
|
18893
|
+
"nl-be": Rr,
|
|
18894
|
+
"nl-nl": wr,
|
|
18895
|
+
"no-no": Hr,
|
|
18896
|
+
"pl-pl": Lr,
|
|
18897
|
+
"pt-pt": Gr,
|
|
18898
|
+
"ro-ro": Dr,
|
|
18899
|
+
"sk-sk": Ur,
|
|
18900
|
+
"sl-si": Fr,
|
|
18901
|
+
"sv-se": xr
|
|
18902
|
+
}, _n = (e, a) => {
|
|
18896
18903
|
const n = Z(a).prompt[e];
|
|
18897
18904
|
return n || (console.log(
|
|
18898
18905
|
'Missing prompt for key: "' + e + '" in locale: "' + a + '"'
|
|
18899
18906
|
), e);
|
|
18900
|
-
},
|
|
18907
|
+
}, Kr = (e, a) => {
|
|
18901
18908
|
const n = Z(a).subPrompt[e];
|
|
18902
18909
|
return n || (console.log(
|
|
18903
18910
|
'Missing subPrompt for key: "' + e + '" in locale: "' + a + '"'
|
|
18904
18911
|
), e);
|
|
18905
|
-
},
|
|
18912
|
+
}, Vr = (e, a) => {
|
|
18906
18913
|
const n = Z(a).error[e];
|
|
18907
18914
|
return n || (console.log(
|
|
18908
18915
|
'Missing error for key: "' + e + '" in locale: "' + a + '"'
|
|
18909
18916
|
), e);
|
|
18910
|
-
},
|
|
18917
|
+
}, Wr = (e, a) => {
|
|
18911
18918
|
const n = Z(a).hint[e];
|
|
18912
18919
|
return n || (console.log(
|
|
18913
18920
|
'Missing hint for key: "' + e + '" in locale: "' + a + '"'
|
|
18914
18921
|
), e);
|
|
18915
|
-
},
|
|
18922
|
+
}, ni = (e, a) => {
|
|
18916
18923
|
const n = Z(a).text[e];
|
|
18917
18924
|
return n || (console.log(
|
|
18918
18925
|
'Missing text for key: "' + e + '" in locale: "' + a + '"'
|
|
18919
18926
|
), e);
|
|
18920
|
-
},
|
|
18927
|
+
}, Jr = (e, a) => {
|
|
18921
18928
|
const n = Z(a).title[e];
|
|
18922
18929
|
return n || (console.log(
|
|
18923
18930
|
'Missing title for key: "' + e + '" in locale: "' + a + '"'
|
|
18924
18931
|
), e);
|
|
18925
|
-
},
|
|
18932
|
+
}, Zr = (e, a) => {
|
|
18926
18933
|
const n = Z(a).subTitle[e];
|
|
18927
18934
|
return n || (console.log(
|
|
18928
18935
|
'Missing subTitle for key: "' + e + '" in locale: "' + a + '"'
|
|
18929
18936
|
), e);
|
|
18930
|
-
},
|
|
18937
|
+
}, qr = (e, a) => {
|
|
18931
18938
|
const n = Z(a).button[e];
|
|
18932
18939
|
return n || (console.log(
|
|
18933
18940
|
'Missing button for key: "' + e + '" in locale: "' + a + '"'
|
|
18934
18941
|
), e);
|
|
18935
|
-
},
|
|
18942
|
+
}, Qn = (e, a) => {
|
|
18936
18943
|
if (!e)
|
|
18937
18944
|
return "";
|
|
18938
18945
|
const n = Z(a).option[e];
|
|
18939
18946
|
return n || (console.log(
|
|
18940
18947
|
'Missing option for key: "' + e + '" in locale: "' + a + '"'
|
|
18941
18948
|
), e);
|
|
18942
|
-
},
|
|
18949
|
+
}, Yr = (e, a) => {
|
|
18943
18950
|
if (!e)
|
|
18944
18951
|
return "";
|
|
18945
18952
|
const n = Z(a).notification[e];
|
|
18946
18953
|
return n || (console.log(
|
|
18947
18954
|
'Missing notification for key: "' + e + '" in locale: "' + a + '"'
|
|
18948
18955
|
), e);
|
|
18949
|
-
},
|
|
18956
|
+
}, _r = (e, a) => {
|
|
18950
18957
|
const n = Z(a).country[e];
|
|
18951
18958
|
return n || (console.log(
|
|
18952
18959
|
'Missing country for key: "' + e + '" in locale: "' + a + '"'
|
|
18953
18960
|
), e);
|
|
18954
|
-
},
|
|
18961
|
+
}, Qr = (e, a) => {
|
|
18955
18962
|
const n = Z(a).usState[e];
|
|
18956
18963
|
return n || (console.log(
|
|
18957
18964
|
'Missing usState for key: "' + e + '" in locale: "' + a + '"'
|
|
18958
18965
|
), e);
|
|
18959
|
-
},
|
|
18966
|
+
}, Xr = (e, a) => {
|
|
18960
18967
|
const n = Z(a).caProvince[e];
|
|
18961
18968
|
return n || (console.log(
|
|
18962
18969
|
'Missing caProvince for key: "' + e + '" in locale: "' + a + '"'
|
|
18963
18970
|
), e);
|
|
18964
|
-
},
|
|
18971
|
+
}, $r = (e, a) => {
|
|
18965
18972
|
const n = Z(a).month[e];
|
|
18966
18973
|
return n || (console.log(
|
|
18967
18974
|
'Missing month for key: "' + e + '" in locale: "' + a + '"'
|
|
18968
18975
|
), e);
|
|
18969
|
-
},
|
|
18976
|
+
}, eo = (e, a) => {
|
|
18970
18977
|
const n = Z(a).locale[e];
|
|
18971
18978
|
return n || (console.log(
|
|
18972
18979
|
'Missing locale for key: "' + e + '" in locale: "' + a + '"'
|
|
18973
18980
|
), e);
|
|
18974
|
-
}, Z = (e = "en-us") =>
|
|
18975
|
-
const e =
|
|
18981
|
+
}, Z = (e = "en-us") => Xa[e] ? Xa[e] : (console.log(`Locale '${e}' not found. Using en-us`), Xa["en-us"]), lt = () => {
|
|
18982
|
+
const e = gt(void 0);
|
|
18976
18983
|
return [() => {
|
|
18977
|
-
const n =
|
|
18984
|
+
const n = kt(e);
|
|
18978
18985
|
if (n === void 0)
|
|
18979
18986
|
throw new Error("useCtx must be inside a Provider with a value");
|
|
18980
18987
|
return n;
|
|
18981
18988
|
}, e.Provider];
|
|
18982
|
-
}, [$,
|
|
18989
|
+
}, [$, ao] = lt(), io = ({
|
|
18983
18990
|
data: e,
|
|
18984
18991
|
language: a = "en-us",
|
|
18985
18992
|
onSubmit: n,
|
|
@@ -18987,10 +18994,10 @@ const ur = {
|
|
|
18987
18994
|
taxForms: s = ["DAC7"]
|
|
18988
18995
|
}) => {
|
|
18989
18996
|
const [o, d] = K(a), [u, m] = K(s), [l, v] = K(
|
|
18990
|
-
|
|
18997
|
+
Zn(e, u)
|
|
18991
18998
|
), [g, A] = K([r]), [p, S] = K(
|
|
18992
18999
|
void 0
|
|
18993
|
-
), { isW9: N, isW8: T, isW8Ben: R, isW8BenE: P, isDac7: ee } =
|
|
19000
|
+
), { isW9: N, isW8: T, isW8Ben: R, isW8BenE: P, isDac7: ee } = ua(
|
|
18994
19001
|
l,
|
|
18995
19002
|
u
|
|
18996
19003
|
), L = g[g.length - 1], ae = {
|
|
@@ -19003,17 +19010,17 @@ const ur = {
|
|
|
19003
19010
|
regardedOwnerForeignTrustClassification: void 0,
|
|
19004
19011
|
regardedOwnerForeignOtherClassification: void 0
|
|
19005
19012
|
}, se = (z) => {
|
|
19006
|
-
v(z), n(
|
|
19007
|
-
},
|
|
19013
|
+
v(z), n(rr(z));
|
|
19014
|
+
}, Se = xa(
|
|
19008
19015
|
(z) => {
|
|
19009
|
-
v(
|
|
19016
|
+
v(Zn(z, u)), S(void 0), A([r]);
|
|
19010
19017
|
},
|
|
19011
19018
|
[u, r]
|
|
19012
|
-
),
|
|
19013
|
-
const { accountHolderIsDisregarded: W, hasNoEUTaxId:
|
|
19014
|
-
return L === "AccountHolderClassification" ?
|
|
19019
|
+
), Ne = (z) => {
|
|
19020
|
+
const { accountHolderIsDisregarded: W, hasNoEUTaxId: ke } = ua(z), he = u.includes("DAC7");
|
|
19021
|
+
return L === "AccountHolderClassification" ? he ? "AccountHolderContact" : W ? "RegardedOwnerClassification" : "AccountHolderContact" : L === "AccountHolderContact" ? he && z.accountHolderIsEuResident === "no" ? "Summary" : "AccountHolderTax" : L === "AccountHolderTax" ? ke && z.accountHolderIsIndividual === "yes" ? "AccountHolderTaxClarification" : "Summary" : L === "RegardedOwnerClassification" ? "RegardedOwnerContact" : L === "RegardedOwnerContact" ? "RegardedOwnerTax" : "Summary";
|
|
19015
19022
|
}, le = (z) => {
|
|
19016
|
-
const W =
|
|
19023
|
+
const W = Ne(z);
|
|
19017
19024
|
W === "Summary" && S(void 0), ue(W);
|
|
19018
19025
|
}, de = (z) => {
|
|
19019
19026
|
const W = {
|
|
@@ -19021,7 +19028,7 @@ const ur = {
|
|
|
19021
19028
|
...z
|
|
19022
19029
|
};
|
|
19023
19030
|
v(W), p === void 0 ? le(W) : A(["Summary"]);
|
|
19024
|
-
},
|
|
19031
|
+
}, Te = (z) => {
|
|
19025
19032
|
l.accountHolderUsAccountType !== z.accountHolderUsAccountType || l.accountHolderForeignAccountType !== z.accountHolderForeignAccountType ? de({
|
|
19026
19033
|
...z,
|
|
19027
19034
|
...ae
|
|
@@ -19041,10 +19048,10 @@ const ur = {
|
|
|
19041
19048
|
isW8Ben: R,
|
|
19042
19049
|
isW8BenE: P,
|
|
19043
19050
|
isDac7: ee,
|
|
19044
|
-
onPersistAccountHolderData:
|
|
19051
|
+
onPersistAccountHolderData: Te,
|
|
19045
19052
|
onPersistCollectedData: de,
|
|
19046
19053
|
onSubmitTaxDocumentation: se,
|
|
19047
|
-
onResetTaxDocumentation:
|
|
19054
|
+
onResetTaxDocumentation: Se,
|
|
19048
19055
|
editTo: V,
|
|
19049
19056
|
onCancel: q,
|
|
19050
19057
|
goTo: ue,
|
|
@@ -19057,7 +19064,7 @@ const ur = {
|
|
|
19057
19064
|
supportedForms: u,
|
|
19058
19065
|
setSupportedForms: m
|
|
19059
19066
|
};
|
|
19060
|
-
},
|
|
19067
|
+
}, no = ({
|
|
19061
19068
|
data: e = {},
|
|
19062
19069
|
onSubmit: a,
|
|
19063
19070
|
language: n,
|
|
@@ -19065,9 +19072,9 @@ const ur = {
|
|
|
19065
19072
|
step: s,
|
|
19066
19073
|
children: o
|
|
19067
19074
|
}) => /* @__PURE__ */ i.jsx(
|
|
19068
|
-
|
|
19075
|
+
ao,
|
|
19069
19076
|
{
|
|
19070
|
-
value:
|
|
19077
|
+
value: io({
|
|
19071
19078
|
data: e,
|
|
19072
19079
|
onSubmit: a,
|
|
19073
19080
|
language: n,
|
|
@@ -19076,39 +19083,39 @@ const ur = {
|
|
|
19076
19083
|
}),
|
|
19077
19084
|
children: o
|
|
19078
19085
|
}
|
|
19079
|
-
), [O,
|
|
19086
|
+
), [O, to] = lt(), ro = (e, a) => Object.keys(e).reduce(
|
|
19080
19087
|
(n, r) => {
|
|
19081
19088
|
var s;
|
|
19082
19089
|
if (a.has(r)) {
|
|
19083
|
-
const o = (s =
|
|
19090
|
+
const o = (s = $a[r]) == null ? void 0 : s.call($a, e);
|
|
19084
19091
|
o && (n[r] = o);
|
|
19085
19092
|
}
|
|
19086
19093
|
return n;
|
|
19087
19094
|
},
|
|
19088
19095
|
{}
|
|
19089
|
-
),
|
|
19096
|
+
), $a = {
|
|
19090
19097
|
accountHolderVatIdentificationNumber: (e) => {
|
|
19091
19098
|
const a = e.accountHolderVatIdentificationNumber;
|
|
19092
19099
|
if (!E(a) && (a.length < 5 || a.length > 20))
|
|
19093
19100
|
return "vatUnexpectedFormat";
|
|
19094
19101
|
}
|
|
19095
|
-
},
|
|
19102
|
+
}, oo = (e, a) => {
|
|
19096
19103
|
const n = { ...e };
|
|
19097
19104
|
for (; a < 5; ) {
|
|
19098
19105
|
const r = a + 1;
|
|
19099
19106
|
n[`accountHolderShowTaxResidence${a}`] = e[`accountHolderShowTaxResidence${r}`], n[`accountHolderTaxResidenceCountry${a}`] = e[`accountHolderTaxResidenceCountry${r}`], n[`accountHolderTaxResidenceForeignTin${a}`] = e[`accountHolderTaxResidenceForeignTin${r}`], n[`accountHolderTaxResidenceForeignTin${a}IsNotRequired`] = e[`accountHolderTaxResidenceForeignTin${r}IsNotRequired`], a++;
|
|
19100
19107
|
}
|
|
19101
19108
|
return { ...n, accountHolderShowTaxResidence5: void 0 };
|
|
19102
|
-
},
|
|
19109
|
+
}, so = () => {
|
|
19103
19110
|
const {
|
|
19104
19111
|
language: e,
|
|
19105
19112
|
data: a,
|
|
19106
19113
|
supportedForms: n
|
|
19107
19114
|
} = $(), [r, s] = K(a), [o, d] = K(!1), [u, m] = K(/* @__PURE__ */ new Set()), l = _(
|
|
19108
|
-
() =>
|
|
19115
|
+
() => st(n),
|
|
19109
19116
|
[n]
|
|
19110
19117
|
), v = _(
|
|
19111
|
-
() =>
|
|
19118
|
+
() => dr(r, l),
|
|
19112
19119
|
[r, l]
|
|
19113
19120
|
), g = _(
|
|
19114
19121
|
() => Object.fromEntries(
|
|
@@ -19116,28 +19123,28 @@ const ur = {
|
|
|
19116
19123
|
),
|
|
19117
19124
|
[u]
|
|
19118
19125
|
), A = _(
|
|
19119
|
-
() =>
|
|
19126
|
+
() => lr(r, g),
|
|
19120
19127
|
[r, g]
|
|
19121
19128
|
), p = _(
|
|
19122
|
-
() =>
|
|
19129
|
+
() => sr(r, A, g),
|
|
19123
19130
|
[r, A, g]
|
|
19124
19131
|
), S = _(
|
|
19125
|
-
() =>
|
|
19132
|
+
() => ro(r, u),
|
|
19126
19133
|
[r, u]
|
|
19127
19134
|
);
|
|
19128
19135
|
X(() => {
|
|
19129
19136
|
s(a);
|
|
19130
19137
|
}, [a]);
|
|
19131
|
-
const N =
|
|
19138
|
+
const N = xa(
|
|
19132
19139
|
(h, B) => {
|
|
19133
19140
|
if (/accountHolderShowTaxResidence[234]/.test(h) && B === void 0) {
|
|
19134
19141
|
const Y = parseInt(h.slice(-1));
|
|
19135
|
-
B !== r[h] && s(
|
|
19142
|
+
B !== r[h] && s(oo(r, Y));
|
|
19136
19143
|
} else if (B !== r[h]) {
|
|
19137
19144
|
const Y = {
|
|
19138
19145
|
[h]: B
|
|
19139
19146
|
};
|
|
19140
|
-
s((
|
|
19147
|
+
s((ve) => ({ ...ve, ...Y }));
|
|
19141
19148
|
}
|
|
19142
19149
|
},
|
|
19143
19150
|
[r]
|
|
@@ -19146,7 +19153,7 @@ const ur = {
|
|
|
19146
19153
|
}, R = () => {
|
|
19147
19154
|
d(!1);
|
|
19148
19155
|
}, P = Object.keys(p).length === 0, ee = (h) => {
|
|
19149
|
-
const B =
|
|
19156
|
+
const B = Zt(r);
|
|
19150
19157
|
return B[h] ? B[h] : h;
|
|
19151
19158
|
}, L = (h) => {
|
|
19152
19159
|
const B = {
|
|
@@ -19161,16 +19168,16 @@ const ur = {
|
|
|
19161
19168
|
};
|
|
19162
19169
|
return B[h] ? B[h] : h;
|
|
19163
19170
|
}, ae = (h) => {
|
|
19164
|
-
const B =
|
|
19171
|
+
const B = Vt();
|
|
19165
19172
|
return B[h] ? B[h] : h;
|
|
19166
|
-
}, se = (h) =>
|
|
19173
|
+
}, se = (h) => Wr(ae(h), e), Se = (h) => ni(h, e), Ne = (h) => Jr(h, e), le = (h) => Zr(h, e), de = (h) => Vr(h, e), Te = (h) => eo(h, e), ue = (h) => qr(h, e), V = (h) => _n(ee(h), e), q = (h) => Yr(h, e), ie = (h) => _n(ee(h), e) + (A[h] ? "*" : ""), z = (h) => Kr(L(h), e), W = xa(
|
|
19167
19174
|
(h) => {
|
|
19168
19175
|
if (h)
|
|
19169
|
-
return
|
|
19176
|
+
return Qn(h, e) ? Qn(h, e) : h;
|
|
19170
19177
|
},
|
|
19171
19178
|
[e]
|
|
19172
|
-
),
|
|
19173
|
-
(h) => h ?
|
|
19179
|
+
), ke = xa(
|
|
19180
|
+
(h) => h ? _r(h, e) : "",
|
|
19174
19181
|
[e]
|
|
19175
19182
|
);
|
|
19176
19183
|
return {
|
|
@@ -19187,23 +19194,23 @@ const ur = {
|
|
|
19187
19194
|
exposeErrors: T,
|
|
19188
19195
|
hideErrors: R,
|
|
19189
19196
|
getLocalButton: ue,
|
|
19190
|
-
getLocalCaProvince: (h) => h ?
|
|
19191
|
-
getLocalCountry:
|
|
19197
|
+
getLocalCaProvince: (h) => h ? Xr(h, e) : "",
|
|
19198
|
+
getLocalCountry: ke,
|
|
19192
19199
|
getLocalError: de,
|
|
19193
19200
|
getLocalHint: se,
|
|
19194
19201
|
getHintKey: ae,
|
|
19195
|
-
getLocalLocale:
|
|
19202
|
+
getLocalLocale: Te,
|
|
19196
19203
|
getLocalNotification: q,
|
|
19197
19204
|
getLocalOption: W,
|
|
19198
19205
|
getLocalPrompt: V,
|
|
19199
19206
|
getPromptKey: ee,
|
|
19200
19207
|
getLocalSubPrompt: z,
|
|
19201
19208
|
getSubPromptKey: L,
|
|
19202
|
-
getLocalText:
|
|
19203
|
-
getLocalTitle:
|
|
19209
|
+
getLocalText: Se,
|
|
19210
|
+
getLocalTitle: Ne,
|
|
19204
19211
|
getLocalSubTitle: le,
|
|
19205
|
-
getLocalUsState: (h) => h ?
|
|
19206
|
-
getLocalMonth: (h) => h ?
|
|
19212
|
+
getLocalUsState: (h) => h ? Qr(h, e) : "",
|
|
19213
|
+
getLocalMonth: (h) => h ? $r(h, e) : "",
|
|
19207
19214
|
getRequiredLocalPrompt: ie,
|
|
19208
19215
|
notifiedFields: S,
|
|
19209
19216
|
// (must be visible)
|
|
@@ -19220,7 +19227,7 @@ const ur = {
|
|
|
19220
19227
|
u.has(h) || m((B) => /* @__PURE__ */ new Set([...B, h]));
|
|
19221
19228
|
}
|
|
19222
19229
|
};
|
|
19223
|
-
},
|
|
19230
|
+
}, be = ({ children: e }) => /* @__PURE__ */ i.jsx(to, { value: so(), children: e }), Fa = ({ address: e, className: a }) => {
|
|
19224
19231
|
const { getLocalCountry: n, getLocalUsState: r, getLocalCaProvince: s } = O(), o = e.country === "US" ? r(e.state) : e.country === "CA" ? s(e.state) : e.state;
|
|
19225
19232
|
return /* @__PURE__ */ i.jsxs("div", { className: ce(a, "address"), children: [
|
|
19226
19233
|
/* @__PURE__ */ i.jsx("div", { children: e.street }),
|
|
@@ -19232,16 +19239,16 @@ const ur = {
|
|
|
19232
19239
|
] }),
|
|
19233
19240
|
e.country && /* @__PURE__ */ i.jsx("div", { children: n(e.country) })
|
|
19234
19241
|
] });
|
|
19235
|
-
},
|
|
19242
|
+
}, Re = ({
|
|
19236
19243
|
name: e,
|
|
19237
19244
|
hint: a
|
|
19238
19245
|
}) => {
|
|
19239
19246
|
const { invalidFields: n, showErrors: r, getLocalError: s, getLocalHint: o } = O(), d = n[e] ? s(n[e]) : "";
|
|
19240
19247
|
return d && r ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d }) : a ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-hint", children: o(e) }) : null;
|
|
19241
|
-
},
|
|
19248
|
+
}, Ce = ({ children: e, title: a, actions: n, className: r }) => /* @__PURE__ */ i.jsxs(
|
|
19242
19249
|
"form",
|
|
19243
19250
|
{
|
|
19244
|
-
className: ce("taxbit-page",
|
|
19251
|
+
className: ce("taxbit-page", r),
|
|
19245
19252
|
onSubmit: () => !1,
|
|
19246
19253
|
children: [
|
|
19247
19254
|
(a || n) && /* @__PURE__ */ i.jsxs("header", { className: "taxbit-page-header", children: [
|
|
@@ -19251,13 +19258,13 @@ const ur = {
|
|
|
19251
19258
|
e
|
|
19252
19259
|
]
|
|
19253
19260
|
}
|
|
19254
|
-
),
|
|
19261
|
+
), je = ({
|
|
19255
19262
|
children: e,
|
|
19256
19263
|
className: a
|
|
19257
|
-
}) => /* @__PURE__ */ i.jsx("div", { className: ce(a, "taxbit-input-status"), children: e }),
|
|
19264
|
+
}) => /* @__PURE__ */ i.jsx("div", { className: ce(a, "taxbit-input-status"), children: e }), lo = ({ name: e }) => {
|
|
19258
19265
|
const { notifiedFields: a, getLocalNotification: n } = O(), r = a[e] ? n(a[e]) : "";
|
|
19259
19266
|
return r ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-notification", children: r }) : null;
|
|
19260
|
-
},
|
|
19267
|
+
}, We = ({
|
|
19261
19268
|
label: e,
|
|
19262
19269
|
subLabel: a,
|
|
19263
19270
|
value: n,
|
|
@@ -19272,7 +19279,7 @@ const ur = {
|
|
|
19272
19279
|
{
|
|
19273
19280
|
className: ce(
|
|
19274
19281
|
"taxbit-row",
|
|
19275
|
-
o && `taxbit-question-${
|
|
19282
|
+
o && `taxbit-question-${ge(o)}`,
|
|
19276
19283
|
o && m && u[o] && "taxbit-error",
|
|
19277
19284
|
d
|
|
19278
19285
|
),
|
|
@@ -19288,6 +19295,7 @@ const ur = {
|
|
|
19288
19295
|
{
|
|
19289
19296
|
onClick: s,
|
|
19290
19297
|
className: ce(
|
|
19298
|
+
"taxbit-button",
|
|
19291
19299
|
"taxbit-row-edit-button",
|
|
19292
19300
|
"taxbit-row-action-button"
|
|
19293
19301
|
),
|
|
@@ -19310,11 +19318,11 @@ const ur = {
|
|
|
19310
19318
|
a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-section-sub-title", children: a })
|
|
19311
19319
|
] }),
|
|
19312
19320
|
r
|
|
19313
|
-
] }) : r,
|
|
19321
|
+
] }) : r, Pe = [{ value: "yes" }, { value: "no" }], uo = () => {
|
|
19314
19322
|
const { language: e, setLanguage: a } = $(), { getLocalLocale: n } = O(), r = (o) => {
|
|
19315
19323
|
const d = o.target.value;
|
|
19316
19324
|
a(d);
|
|
19317
|
-
}, s =
|
|
19325
|
+
}, s = Et.map((o) => ({
|
|
19318
19326
|
...o,
|
|
19319
19327
|
label: n(o.value)
|
|
19320
19328
|
})).sort((o, d) => o.label.localeCompare(d.label));
|
|
@@ -19327,7 +19335,7 @@ const ur = {
|
|
|
19327
19335
|
children: s.map((o) => /* @__PURE__ */ i.jsx("option", { value: o.value, children: o.label }, o.value))
|
|
19328
19336
|
}
|
|
19329
19337
|
);
|
|
19330
|
-
},
|
|
19338
|
+
}, Ie = ({
|
|
19331
19339
|
onBack: e,
|
|
19332
19340
|
onCancel: a,
|
|
19333
19341
|
onNext: n,
|
|
@@ -19337,22 +19345,38 @@ const ur = {
|
|
|
19337
19345
|
const { isErrorFree: o, exposeErrors: d, getLocalButton: u } = O(), m = o ? n : d, l = o ? r : d;
|
|
19338
19346
|
return /* @__PURE__ */ i.jsxs("footer", { className: "taxbit-step-actions", children: [
|
|
19339
19347
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-secondary-actions", children: [
|
|
19340
|
-
a && /* @__PURE__ */ i.jsx("button", { onClick: a, type: "button", children: u("cancel") }),
|
|
19341
|
-
e && /* @__PURE__ */ i.jsx("button", { onClick: e, type: "button", children: u("back") }),
|
|
19342
|
-
s && /* @__PURE__ */ i.jsx("button", { onClick: s, type: "button", children: u("reset") })
|
|
19348
|
+
a && /* @__PURE__ */ i.jsx("button", { onClick: a, type: "button", className: "taxbit-button", children: u("cancel") }),
|
|
19349
|
+
e && /* @__PURE__ */ i.jsx("button", { onClick: e, type: "button", className: "taxbit-button", children: u("back") }),
|
|
19350
|
+
s && /* @__PURE__ */ i.jsx("button", { onClick: s, type: "button", className: "taxbit-button", children: u("reset") })
|
|
19343
19351
|
] }),
|
|
19344
19352
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-primary-actions", children: [
|
|
19345
|
-
n && /* @__PURE__ */ i.jsx(
|
|
19346
|
-
|
|
19353
|
+
n && /* @__PURE__ */ i.jsx(
|
|
19354
|
+
"button",
|
|
19355
|
+
{
|
|
19356
|
+
onClick: m,
|
|
19357
|
+
type: "button",
|
|
19358
|
+
className: "taxbit-button",
|
|
19359
|
+
children: u("next")
|
|
19360
|
+
}
|
|
19361
|
+
),
|
|
19362
|
+
r && /* @__PURE__ */ i.jsx(
|
|
19363
|
+
"button",
|
|
19364
|
+
{
|
|
19365
|
+
onClick: l,
|
|
19366
|
+
type: "button",
|
|
19367
|
+
className: "taxbit-button",
|
|
19368
|
+
children: u("submit")
|
|
19369
|
+
}
|
|
19370
|
+
)
|
|
19347
19371
|
] })
|
|
19348
19372
|
] });
|
|
19349
|
-
},
|
|
19373
|
+
}, co = ({ label: e, subLabel: a, name: n, onClick: r }) => {
|
|
19350
19374
|
const { fields: s, setValue: o, getLocalPrompt: d, getLocalSubPrompt: u } = O(), m = (g) => {
|
|
19351
19375
|
r && r(g), o(n, g);
|
|
19352
19376
|
}, l = s[n], v = (g) => {
|
|
19353
19377
|
m(g.target.checked ? "yes" : void 0);
|
|
19354
19378
|
};
|
|
19355
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19379
|
+
return /* @__PURE__ */ i.jsxs(je, { children: [
|
|
19356
19380
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-checkBox-label", children: [
|
|
19357
19381
|
/* @__PURE__ */ i.jsx(
|
|
19358
19382
|
"input",
|
|
@@ -19370,19 +19394,19 @@ const ur = {
|
|
|
19370
19394
|
a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-sub-label", children: u(n) })
|
|
19371
19395
|
] })
|
|
19372
19396
|
] }),
|
|
19373
|
-
/* @__PURE__ */ i.jsx(
|
|
19397
|
+
/* @__PURE__ */ i.jsx(Re, { name: n })
|
|
19374
19398
|
] });
|
|
19375
|
-
},
|
|
19376
|
-
const { fields: a, setValue: n, getLocalMonth: r } = O(), s = a[e] || "", o = s.split("/")[0] || "", d = s.split("/")[1] || "", u = s.split("/")[2] || "", m = o !== "" ?
|
|
19399
|
+
}, mo = (e) => {
|
|
19400
|
+
const { fields: a, setValue: n, getLocalMonth: r } = O(), s = a[e] || "", o = s.split("/")[0] || "", d = s.split("/")[1] || "", u = s.split("/")[2] || "", m = o !== "" ? Fn(
|
|
19377
19401
|
parseInt(o),
|
|
19378
19402
|
u !== "" ? parseInt(u) : void 0
|
|
19379
|
-
) :
|
|
19403
|
+
) : Dn.length, l = Pt.map((S) => ({
|
|
19380
19404
|
...S,
|
|
19381
19405
|
label: r(S.value)
|
|
19382
19406
|
})), v = (S, N, T) => {
|
|
19383
19407
|
if (!N)
|
|
19384
19408
|
return !0;
|
|
19385
|
-
const R =
|
|
19409
|
+
const R = Fn(
|
|
19386
19410
|
parseInt(N),
|
|
19387
19411
|
F(T) ? parseInt(T) : void 0
|
|
19388
19412
|
);
|
|
@@ -19410,11 +19434,11 @@ const ur = {
|
|
|
19410
19434
|
`${o || ""}/${v(d, o, N) ? d : ""}/${N}`
|
|
19411
19435
|
);
|
|
19412
19436
|
},
|
|
19413
|
-
dayOptions:
|
|
19414
|
-
birthYearOptions:
|
|
19437
|
+
dayOptions: Dn.slice(0, m),
|
|
19438
|
+
birthYearOptions: Kt,
|
|
19415
19439
|
monthOptions: l
|
|
19416
19440
|
};
|
|
19417
|
-
},
|
|
19441
|
+
}, go = ({
|
|
19418
19442
|
name: e,
|
|
19419
19443
|
className: a,
|
|
19420
19444
|
hint: n
|
|
@@ -19429,8 +19453,8 @@ const ur = {
|
|
|
19429
19453
|
dayOptions: v,
|
|
19430
19454
|
monthOptions: g,
|
|
19431
19455
|
birthYearOptions: A
|
|
19432
|
-
} =
|
|
19433
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19456
|
+
} = mo(e);
|
|
19457
|
+
return /* @__PURE__ */ i.jsxs(je, { className: a, children: [
|
|
19434
19458
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-row-value", children: [
|
|
19435
19459
|
/* @__PURE__ */ i.jsxs(
|
|
19436
19460
|
"select",
|
|
@@ -19481,15 +19505,15 @@ const ur = {
|
|
|
19481
19505
|
}
|
|
19482
19506
|
)
|
|
19483
19507
|
] }),
|
|
19484
|
-
/* @__PURE__ */ i.jsx(
|
|
19508
|
+
/* @__PURE__ */ i.jsx(Re, { name: e, hint: n })
|
|
19485
19509
|
] });
|
|
19486
|
-
},
|
|
19510
|
+
}, ko = ({ name: e, options: a }) => {
|
|
19487
19511
|
const { fields: n, setValue: r, hideErrors: s, getLocalOption: o } = O(), d = (l) => {
|
|
19488
19512
|
r(e, l), s();
|
|
19489
19513
|
}, u = n[e], m = (l) => {
|
|
19490
19514
|
d(l.target.value);
|
|
19491
19515
|
};
|
|
19492
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19516
|
+
return /* @__PURE__ */ i.jsxs(je, { children: [
|
|
19493
19517
|
/* @__PURE__ */ i.jsx("div", { className: "taxbit-radio-buttons", children: a.map((l) => /* @__PURE__ */ i.jsxs(
|
|
19494
19518
|
"div",
|
|
19495
19519
|
{
|
|
@@ -19515,9 +19539,9 @@ const ur = {
|
|
|
19515
19539
|
},
|
|
19516
19540
|
l.value
|
|
19517
19541
|
)) }),
|
|
19518
|
-
/* @__PURE__ */ i.jsx(
|
|
19542
|
+
/* @__PURE__ */ i.jsx(Re, { name: e })
|
|
19519
19543
|
] });
|
|
19520
|
-
},
|
|
19544
|
+
}, ho = ({
|
|
19521
19545
|
name: e,
|
|
19522
19546
|
options: a,
|
|
19523
19547
|
addBlank: n = !0,
|
|
@@ -19528,7 +19552,7 @@ const ur = {
|
|
|
19528
19552
|
const { fields: d, setValue: u, getLocalOption: m } = O(), l = d[e], v = (g) => {
|
|
19529
19553
|
s && s(), u(e, g.target.value);
|
|
19530
19554
|
};
|
|
19531
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19555
|
+
return /* @__PURE__ */ i.jsxs(je, { className: r, children: [
|
|
19532
19556
|
/* @__PURE__ */ i.jsxs(
|
|
19533
19557
|
"select",
|
|
19534
19558
|
{
|
|
@@ -19543,9 +19567,9 @@ const ur = {
|
|
|
19543
19567
|
]
|
|
19544
19568
|
}
|
|
19545
19569
|
),
|
|
19546
|
-
/* @__PURE__ */ i.jsx(
|
|
19570
|
+
/* @__PURE__ */ i.jsx(Re, { name: e })
|
|
19547
19571
|
] });
|
|
19548
|
-
},
|
|
19572
|
+
}, vo = ({
|
|
19549
19573
|
name: e,
|
|
19550
19574
|
className: a,
|
|
19551
19575
|
onChange: n,
|
|
@@ -19558,7 +19582,7 @@ const ur = {
|
|
|
19558
19582
|
const A = n ? n(g.target.value) : g.target.value;
|
|
19559
19583
|
d && (u[d] === u[e] || !u[d]) && m(d, A), m(e, A);
|
|
19560
19584
|
};
|
|
19561
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19585
|
+
return /* @__PURE__ */ i.jsxs(je, { className: a, children: [
|
|
19562
19586
|
/* @__PURE__ */ i.jsx(
|
|
19563
19587
|
"input",
|
|
19564
19588
|
{
|
|
@@ -19570,14 +19594,14 @@ const ur = {
|
|
|
19570
19594
|
disabled: o
|
|
19571
19595
|
}
|
|
19572
19596
|
),
|
|
19573
|
-
/* @__PURE__ */ i.jsx(
|
|
19597
|
+
/* @__PURE__ */ i.jsx(Re, { name: e, hint: r }),
|
|
19574
19598
|
s ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: s }) : null
|
|
19575
19599
|
] });
|
|
19576
|
-
},
|
|
19600
|
+
}, po = ({ name: e }) => {
|
|
19577
19601
|
const { fields: a, setValue: n, getLocalPrompt: r } = O(), s = a[e], o = () => {
|
|
19578
19602
|
n(e, s === void 0 ? "yes" : void 0);
|
|
19579
19603
|
};
|
|
19580
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19604
|
+
return /* @__PURE__ */ i.jsxs(je, { children: [
|
|
19581
19605
|
/* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx(
|
|
19582
19606
|
"button",
|
|
19583
19607
|
{
|
|
@@ -19585,13 +19609,13 @@ const ur = {
|
|
|
19585
19609
|
id: e,
|
|
19586
19610
|
name: e,
|
|
19587
19611
|
onClick: o,
|
|
19588
|
-
className: "taxbit-row-action-button",
|
|
19612
|
+
className: "taxbit-button taxbit-row-action-button",
|
|
19589
19613
|
children: r(e)
|
|
19590
19614
|
}
|
|
19591
19615
|
) }),
|
|
19592
|
-
/* @__PURE__ */ i.jsx(
|
|
19616
|
+
/* @__PURE__ */ i.jsx(Re, { name: e })
|
|
19593
19617
|
] });
|
|
19594
|
-
},
|
|
19618
|
+
}, fo = ({ onClick: e }) => {
|
|
19595
19619
|
const { getLocalButton: a } = O(), [n, r] = K(!0), s = "hideShowButton", o = () => {
|
|
19596
19620
|
r((d) => !d), e();
|
|
19597
19621
|
};
|
|
@@ -19603,6 +19627,7 @@ const ur = {
|
|
|
19603
19627
|
name: s,
|
|
19604
19628
|
onClick: o,
|
|
19605
19629
|
className: ce(
|
|
19630
|
+
"taxbit-button",
|
|
19606
19631
|
"taxbit-row-action-button",
|
|
19607
19632
|
`taxbit-${n ? "show" : "hide"}-button`
|
|
19608
19633
|
),
|
|
@@ -19615,7 +19640,7 @@ const ur = {
|
|
|
19615
19640
|
)
|
|
19616
19641
|
}
|
|
19617
19642
|
) });
|
|
19618
|
-
},
|
|
19643
|
+
}, Ao = ({
|
|
19619
19644
|
value: e = "",
|
|
19620
19645
|
mask: a = "•",
|
|
19621
19646
|
onChange: n,
|
|
@@ -19625,10 +19650,10 @@ const ur = {
|
|
|
19625
19650
|
}) => {
|
|
19626
19651
|
const [d, u] = K(e), [m, l] = K(
|
|
19627
19652
|
Array(e.length + 1).join(a)
|
|
19628
|
-
), v =
|
|
19653
|
+
), v = Gn(), [g, A] = K([
|
|
19629
19654
|
0,
|
|
19630
19655
|
0
|
|
19631
|
-
]), p =
|
|
19656
|
+
]), p = Gn(null);
|
|
19632
19657
|
X(() => {
|
|
19633
19658
|
e !== d && (u(e), l(Array(e.length + 1).join(a)));
|
|
19634
19659
|
}, [e, a, d]);
|
|
@@ -19664,7 +19689,7 @@ const ur = {
|
|
|
19664
19689
|
disabled: r
|
|
19665
19690
|
}
|
|
19666
19691
|
);
|
|
19667
|
-
},
|
|
19692
|
+
}, bo = ({
|
|
19668
19693
|
name: e,
|
|
19669
19694
|
className: a,
|
|
19670
19695
|
onChange: n,
|
|
@@ -19677,9 +19702,9 @@ const ur = {
|
|
|
19677
19702
|
u(e, p);
|
|
19678
19703
|
};
|
|
19679
19704
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
19680
|
-
/* @__PURE__ */ i.jsxs(
|
|
19705
|
+
/* @__PURE__ */ i.jsxs(je, { className: a, children: [
|
|
19681
19706
|
/* @__PURE__ */ i.jsx(
|
|
19682
|
-
|
|
19707
|
+
Ao,
|
|
19683
19708
|
{
|
|
19684
19709
|
value: v,
|
|
19685
19710
|
onChange: g,
|
|
@@ -19689,10 +19714,10 @@ const ur = {
|
|
|
19689
19714
|
disabled: o
|
|
19690
19715
|
}
|
|
19691
19716
|
),
|
|
19692
|
-
/* @__PURE__ */ i.jsx(
|
|
19717
|
+
/* @__PURE__ */ i.jsx(Re, { name: e, hint: r }),
|
|
19693
19718
|
s ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: s }) : null
|
|
19694
19719
|
] }),
|
|
19695
|
-
/* @__PURE__ */ i.jsx(
|
|
19720
|
+
/* @__PURE__ */ i.jsx(fo, { onClick: () => l((A) => !A) })
|
|
19696
19721
|
] });
|
|
19697
19722
|
}, f = ({
|
|
19698
19723
|
label: e,
|
|
@@ -19712,7 +19737,7 @@ const ur = {
|
|
|
19712
19737
|
return X(() => {
|
|
19713
19738
|
g ? u(n) : m(n);
|
|
19714
19739
|
}, [g, n, u, m]), g ? /* @__PURE__ */ i.jsxs(
|
|
19715
|
-
|
|
19740
|
+
We,
|
|
19716
19741
|
{
|
|
19717
19742
|
name: n,
|
|
19718
19743
|
label: e ? l(n) : void 0,
|
|
@@ -19720,7 +19745,7 @@ const ur = {
|
|
|
19720
19745
|
onEdit: s,
|
|
19721
19746
|
children: [
|
|
19722
19747
|
r,
|
|
19723
|
-
o ? /* @__PURE__ */ i.jsx(
|
|
19748
|
+
o ? /* @__PURE__ */ i.jsx(lo, { name: n }) : null
|
|
19724
19749
|
]
|
|
19725
19750
|
}
|
|
19726
19751
|
) : null;
|
|
@@ -19730,21 +19755,21 @@ const ur = {
|
|
|
19730
19755
|
subLabel: n,
|
|
19731
19756
|
onClick: r
|
|
19732
19757
|
}) => /* @__PURE__ */ i.jsx(f, { name: e, children: /* @__PURE__ */ i.jsx(
|
|
19733
|
-
|
|
19758
|
+
co,
|
|
19734
19759
|
{
|
|
19735
19760
|
label: a,
|
|
19736
19761
|
subLabel: n,
|
|
19737
19762
|
name: e,
|
|
19738
19763
|
onClick: r
|
|
19739
19764
|
}
|
|
19740
|
-
) }),
|
|
19765
|
+
) }), dt = ({
|
|
19741
19766
|
label: e,
|
|
19742
19767
|
subLabel: a,
|
|
19743
19768
|
name: n
|
|
19744
19769
|
}) => {
|
|
19745
19770
|
const { showErrors: r, invalidFields: s, getLocalError: o } = O(), d = s[n] ? o(s[n]) : "";
|
|
19746
|
-
return /* @__PURE__ */ i.jsx(f, { name: n, label: e, subLabel: a, children: r && d && /* @__PURE__ */ i.jsx(
|
|
19747
|
-
},
|
|
19771
|
+
return /* @__PURE__ */ i.jsx(f, { name: n, label: e, subLabel: a, children: r && d && /* @__PURE__ */ i.jsx(je, { children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d }) }) });
|
|
19772
|
+
}, ye = ({
|
|
19748
19773
|
name: e,
|
|
19749
19774
|
label: a,
|
|
19750
19775
|
hint: n,
|
|
@@ -19752,7 +19777,7 @@ const ur = {
|
|
|
19752
19777
|
onChange: s,
|
|
19753
19778
|
disabled: o
|
|
19754
19779
|
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19755
|
-
|
|
19780
|
+
bo,
|
|
19756
19781
|
{
|
|
19757
19782
|
name: e,
|
|
19758
19783
|
onChange: s,
|
|
@@ -19764,7 +19789,7 @@ const ur = {
|
|
|
19764
19789
|
label: a,
|
|
19765
19790
|
subLabel: n,
|
|
19766
19791
|
options: r
|
|
19767
|
-
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(
|
|
19792
|
+
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(ko, { name: e, options: r }) }), me = ({
|
|
19768
19793
|
name: e,
|
|
19769
19794
|
label: a,
|
|
19770
19795
|
options: n,
|
|
@@ -19773,7 +19798,7 @@ const ur = {
|
|
|
19773
19798
|
onChange: o,
|
|
19774
19799
|
disabled: d
|
|
19775
19800
|
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19776
|
-
|
|
19801
|
+
ho,
|
|
19777
19802
|
{
|
|
19778
19803
|
name: e,
|
|
19779
19804
|
options: n,
|
|
@@ -19790,7 +19815,7 @@ const ur = {
|
|
|
19790
19815
|
disabled: o,
|
|
19791
19816
|
syncName: d
|
|
19792
19817
|
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19793
|
-
|
|
19818
|
+
vo,
|
|
19794
19819
|
{
|
|
19795
19820
|
name: e,
|
|
19796
19821
|
onChange: s,
|
|
@@ -19798,20 +19823,21 @@ const ur = {
|
|
|
19798
19823
|
disabled: o,
|
|
19799
19824
|
syncName: d
|
|
19800
19825
|
}
|
|
19801
|
-
) }),
|
|
19826
|
+
) }), Co = () => {
|
|
19802
19827
|
const { fields: e, getLocalTitle: a } = O(), { onPersistAccountHolderData: n, onCancel: r } = $();
|
|
19803
19828
|
return /* @__PURE__ */ i.jsxs(
|
|
19804
|
-
|
|
19829
|
+
Ce,
|
|
19805
19830
|
{
|
|
19806
19831
|
title: a("accountHolderClassification"),
|
|
19807
|
-
|
|
19832
|
+
className: `taxbit-form-${ge("accountHolderClassification")}`,
|
|
19833
|
+
actions: /* @__PURE__ */ i.jsx(uo, {}),
|
|
19808
19834
|
children: [
|
|
19809
19835
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
19810
19836
|
/* @__PURE__ */ i.jsx(
|
|
19811
19837
|
x,
|
|
19812
19838
|
{
|
|
19813
19839
|
name: "accountHolderUsPerson",
|
|
19814
|
-
options:
|
|
19840
|
+
options: Pe,
|
|
19815
19841
|
label: !0
|
|
19816
19842
|
}
|
|
19817
19843
|
),
|
|
@@ -19819,7 +19845,7 @@ const ur = {
|
|
|
19819
19845
|
x,
|
|
19820
19846
|
{
|
|
19821
19847
|
name: "accountHolderIsEuResident",
|
|
19822
|
-
options:
|
|
19848
|
+
options: Pe,
|
|
19823
19849
|
label: !0,
|
|
19824
19850
|
subLabel: !0
|
|
19825
19851
|
}
|
|
@@ -19828,7 +19854,7 @@ const ur = {
|
|
|
19828
19854
|
x,
|
|
19829
19855
|
{
|
|
19830
19856
|
name: "accountHolderIsIndividual",
|
|
19831
|
-
options:
|
|
19857
|
+
options: Pe,
|
|
19832
19858
|
label: !0,
|
|
19833
19859
|
subLabel: !0
|
|
19834
19860
|
}
|
|
@@ -19837,7 +19863,7 @@ const ur = {
|
|
|
19837
19863
|
x,
|
|
19838
19864
|
{
|
|
19839
19865
|
name: "accountHolderUsAccountType",
|
|
19840
|
-
options:
|
|
19866
|
+
options: at,
|
|
19841
19867
|
label: !0
|
|
19842
19868
|
}
|
|
19843
19869
|
),
|
|
@@ -19845,7 +19871,7 @@ const ur = {
|
|
|
19845
19871
|
x,
|
|
19846
19872
|
{
|
|
19847
19873
|
name: "accountHolderUsSmllcElection",
|
|
19848
|
-
options:
|
|
19874
|
+
options: Pe,
|
|
19849
19875
|
label: !0,
|
|
19850
19876
|
subLabel: !0
|
|
19851
19877
|
}
|
|
@@ -19854,7 +19880,7 @@ const ur = {
|
|
|
19854
19880
|
x,
|
|
19855
19881
|
{
|
|
19856
19882
|
name: "accountHolderUsLlcClassification",
|
|
19857
|
-
options:
|
|
19883
|
+
options: oi,
|
|
19858
19884
|
label: !0
|
|
19859
19885
|
}
|
|
19860
19886
|
),
|
|
@@ -19863,7 +19889,7 @@ const ur = {
|
|
|
19863
19889
|
x,
|
|
19864
19890
|
{
|
|
19865
19891
|
name: "accountHolderUsTrustEstateEin",
|
|
19866
|
-
options:
|
|
19892
|
+
options: Pe,
|
|
19867
19893
|
label: !0
|
|
19868
19894
|
}
|
|
19869
19895
|
),
|
|
@@ -19871,7 +19897,7 @@ const ur = {
|
|
|
19871
19897
|
x,
|
|
19872
19898
|
{
|
|
19873
19899
|
name: "accountHolderForeignAccountType",
|
|
19874
|
-
options:
|
|
19900
|
+
options: et,
|
|
19875
19901
|
label: !0
|
|
19876
19902
|
}
|
|
19877
19903
|
),
|
|
@@ -19879,7 +19905,7 @@ const ur = {
|
|
|
19879
19905
|
x,
|
|
19880
19906
|
{
|
|
19881
19907
|
name: "accountHolderForeignOtherClassification",
|
|
19882
|
-
options:
|
|
19908
|
+
options: ti,
|
|
19883
19909
|
label: !0
|
|
19884
19910
|
}
|
|
19885
19911
|
),
|
|
@@ -19887,13 +19913,13 @@ const ur = {
|
|
|
19887
19913
|
x,
|
|
19888
19914
|
{
|
|
19889
19915
|
name: "accountHolderForeignTrustClassification",
|
|
19890
|
-
options:
|
|
19916
|
+
options: ri,
|
|
19891
19917
|
label: !0
|
|
19892
19918
|
}
|
|
19893
19919
|
)
|
|
19894
19920
|
] }),
|
|
19895
19921
|
/* @__PURE__ */ i.jsx(
|
|
19896
|
-
|
|
19922
|
+
Ie,
|
|
19897
19923
|
{
|
|
19898
19924
|
onCancel: r,
|
|
19899
19925
|
onNext: () => n(e)
|
|
@@ -19902,7 +19928,7 @@ const ur = {
|
|
|
19902
19928
|
]
|
|
19903
19929
|
}
|
|
19904
19930
|
);
|
|
19905
|
-
},
|
|
19931
|
+
}, Io = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Co, {}) }), Va = ({
|
|
19906
19932
|
prompt: e,
|
|
19907
19933
|
prefix: a,
|
|
19908
19934
|
showIf: n = !0
|
|
@@ -19915,19 +19941,19 @@ const ur = {
|
|
|
19915
19941
|
getLocalUsState: u,
|
|
19916
19942
|
hideField: m
|
|
19917
19943
|
} = O(), l = r[`${a}Country`], v = _(
|
|
19918
|
-
() =>
|
|
19944
|
+
() => ca.map((p) => ({
|
|
19919
19945
|
...p,
|
|
19920
19946
|
label: o(p.value)
|
|
19921
19947
|
})).sort((p, S) => p.label.localeCompare(S.label)),
|
|
19922
19948
|
[o]
|
|
19923
19949
|
), g = _(
|
|
19924
|
-
() =>
|
|
19950
|
+
() => Ut.map((p) => ({
|
|
19925
19951
|
...p,
|
|
19926
19952
|
label: u(p.value)
|
|
19927
19953
|
})).sort((p, S) => p.label.localeCompare(S.label)),
|
|
19928
19954
|
[u]
|
|
19929
19955
|
), A = _(
|
|
19930
|
-
() =>
|
|
19956
|
+
() => bt.map((p) => ({
|
|
19931
19957
|
...p,
|
|
19932
19958
|
label: d(p.value)
|
|
19933
19959
|
})).sort((p, S) => p.label.localeCompare(S.label)),
|
|
@@ -19959,66 +19985,73 @@ const ur = {
|
|
|
19959
19985
|
),
|
|
19960
19986
|
/* @__PURE__ */ i.jsx(Q, { name: `${a}Zip`, label: !0 })
|
|
19961
19987
|
] }) : null;
|
|
19962
|
-
},
|
|
19988
|
+
}, So = ({
|
|
19963
19989
|
name: e,
|
|
19964
19990
|
label: a,
|
|
19965
19991
|
subLabel: n
|
|
19966
|
-
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(
|
|
19992
|
+
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(go, { name: e }) }), No = () => {
|
|
19967
19993
|
const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: s } = $(), { fields: o, getLocalCountry: d, getLocalTitle: u } = O(), m = _(
|
|
19968
|
-
() =>
|
|
19994
|
+
() => ca.map((l) => ({
|
|
19969
19995
|
...l,
|
|
19970
19996
|
label: d(l.value)
|
|
19971
19997
|
})).sort((l, v) => l.label.localeCompare(v.label)),
|
|
19972
19998
|
[d]
|
|
19973
19999
|
);
|
|
19974
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19975
|
-
|
|
19976
|
-
|
|
19977
|
-
|
|
19978
|
-
|
|
19979
|
-
|
|
19980
|
-
|
|
19981
|
-
|
|
19982
|
-
|
|
19983
|
-
|
|
19984
|
-
|
|
19985
|
-
|
|
19986
|
-
|
|
19987
|
-
|
|
19988
|
-
|
|
19989
|
-
|
|
19990
|
-
|
|
19991
|
-
|
|
19992
|
-
|
|
19993
|
-
|
|
19994
|
-
|
|
19995
|
-
|
|
19996
|
-
|
|
19997
|
-
|
|
19998
|
-
|
|
19999
|
-
|
|
20000
|
-
|
|
20001
|
-
|
|
20002
|
-
|
|
20003
|
-
|
|
20004
|
-
|
|
20005
|
-
|
|
20006
|
-
|
|
20007
|
-
|
|
20008
|
-
|
|
20009
|
-
|
|
20010
|
-
|
|
20011
|
-
|
|
20012
|
-
|
|
20013
|
-
|
|
20014
|
-
|
|
20015
|
-
|
|
20016
|
-
|
|
20017
|
-
|
|
20018
|
-
|
|
20019
|
-
|
|
20020
|
-
|
|
20021
|
-
|
|
20000
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20001
|
+
Ce,
|
|
20002
|
+
{
|
|
20003
|
+
title: u("accountHolderContactInformation"),
|
|
20004
|
+
className: `taxbit-form-${ge("accountHolderContactInformation")}`,
|
|
20005
|
+
children: [
|
|
20006
|
+
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20007
|
+
/* @__PURE__ */ i.jsx(
|
|
20008
|
+
me,
|
|
20009
|
+
{
|
|
20010
|
+
label: !0,
|
|
20011
|
+
name: "accountHolderCountryOfCitizenship",
|
|
20012
|
+
options: m
|
|
20013
|
+
}
|
|
20014
|
+
),
|
|
20015
|
+
/* @__PURE__ */ i.jsx(
|
|
20016
|
+
Q,
|
|
20017
|
+
{
|
|
20018
|
+
label: !0,
|
|
20019
|
+
name: "accountHolderName",
|
|
20020
|
+
syncName: "accountHolderFinancialAccountName"
|
|
20021
|
+
}
|
|
20022
|
+
),
|
|
20023
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "accountHolderDbaName" }),
|
|
20024
|
+
/* @__PURE__ */ i.jsx(So, { name: "accountHolderDateOfBirth", label: !0 }),
|
|
20025
|
+
/* @__PURE__ */ i.jsx(
|
|
20026
|
+
Va,
|
|
20027
|
+
{
|
|
20028
|
+
prompt: u("primaryAddress"),
|
|
20029
|
+
prefix: "accountHolderAddress",
|
|
20030
|
+
showIf: o.accountHolderIsEuResident === "yes" || s || r
|
|
20031
|
+
}
|
|
20032
|
+
),
|
|
20033
|
+
/* @__PURE__ */ i.jsx(D, { name: "accountHolderMailingAddressIsDifferent", label: !0 }),
|
|
20034
|
+
/* @__PURE__ */ i.jsx(
|
|
20035
|
+
Va,
|
|
20036
|
+
{
|
|
20037
|
+
prompt: u("mailingAddress"),
|
|
20038
|
+
prefix: "accountHolderMailingAddress",
|
|
20039
|
+
showIf: o.accountHolderMailingAddressIsDifferent === "yes"
|
|
20040
|
+
}
|
|
20041
|
+
)
|
|
20042
|
+
] }),
|
|
20043
|
+
/* @__PURE__ */ i.jsx(
|
|
20044
|
+
Ie,
|
|
20045
|
+
{
|
|
20046
|
+
onCancel: n,
|
|
20047
|
+
onBack: a,
|
|
20048
|
+
onNext: () => e(o)
|
|
20049
|
+
}
|
|
20050
|
+
)
|
|
20051
|
+
]
|
|
20052
|
+
}
|
|
20053
|
+
);
|
|
20054
|
+
}, To = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(No, {}) }), da = ({
|
|
20022
20055
|
index: e,
|
|
20023
20056
|
showIf: a = !0,
|
|
20024
20057
|
onShow: n,
|
|
@@ -20061,7 +20094,7 @@ const ur = {
|
|
|
20061
20094
|
}
|
|
20062
20095
|
),
|
|
20063
20096
|
/* @__PURE__ */ i.jsx(
|
|
20064
|
-
|
|
20097
|
+
ye,
|
|
20065
20098
|
{
|
|
20066
20099
|
name: v,
|
|
20067
20100
|
label: !0,
|
|
@@ -20076,11 +20109,11 @@ const ur = {
|
|
|
20076
20109
|
onClick: m(v)
|
|
20077
20110
|
}
|
|
20078
20111
|
),
|
|
20079
|
-
r ? /* @__PURE__ */ i.jsx(
|
|
20112
|
+
r ? /* @__PURE__ */ i.jsx(We, { children: /* @__PURE__ */ i.jsx(po, { name: A }) }) : null
|
|
20080
20113
|
]
|
|
20081
20114
|
}
|
|
20082
20115
|
)) : null;
|
|
20083
|
-
},
|
|
20116
|
+
}, Mo = () => {
|
|
20084
20117
|
const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), {
|
|
20085
20118
|
fields: r,
|
|
20086
20119
|
getLocalTitle: s,
|
|
@@ -20089,170 +20122,177 @@ const ur = {
|
|
|
20089
20122
|
clearIfNotRequired: u,
|
|
20090
20123
|
setValue: m
|
|
20091
20124
|
} = O(), l = _(
|
|
20092
|
-
() =>
|
|
20125
|
+
() => It.map((g) => ({
|
|
20093
20126
|
...g,
|
|
20094
20127
|
label: d(g.value)
|
|
20095
20128
|
})).sort((g, A) => g.label.localeCompare(A.label)),
|
|
20096
20129
|
[d]
|
|
20097
20130
|
), v = _(
|
|
20098
|
-
() =>
|
|
20131
|
+
() => ca.map((g) => ({
|
|
20099
20132
|
...g,
|
|
20100
20133
|
label: d(g.value)
|
|
20101
20134
|
})).sort((g, A) => g.label.localeCompare(A.label)),
|
|
20102
20135
|
[d]
|
|
20103
20136
|
);
|
|
20104
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20105
|
-
|
|
20106
|
-
|
|
20107
|
-
|
|
20108
|
-
|
|
20109
|
-
|
|
20110
|
-
|
|
20111
|
-
|
|
20112
|
-
|
|
20113
|
-
|
|
20114
|
-
|
|
20115
|
-
|
|
20116
|
-
|
|
20117
|
-
|
|
20118
|
-
|
|
20119
|
-
|
|
20120
|
-
|
|
20121
|
-
|
|
20122
|
-
|
|
20123
|
-
|
|
20124
|
-
|
|
20125
|
-
|
|
20126
|
-
|
|
20127
|
-
|
|
20128
|
-
|
|
20129
|
-
|
|
20130
|
-
|
|
20131
|
-
|
|
20132
|
-
|
|
20133
|
-
|
|
20134
|
-
|
|
20135
|
-
|
|
20136
|
-
|
|
20137
|
-
|
|
20138
|
-
options: l,
|
|
20139
|
-
disabled: r.accountHolderVatIsNotRequired === "yes",
|
|
20140
|
-
label: !0
|
|
20141
|
-
}
|
|
20142
|
-
),
|
|
20143
|
-
/* @__PURE__ */ i.jsx(
|
|
20144
|
-
Me,
|
|
20145
|
-
{
|
|
20146
|
-
name: "accountHolderVatIdentificationNumber",
|
|
20147
|
-
disabled: r.accountHolderVatIsNotRequired === "yes",
|
|
20148
|
-
label: !0,
|
|
20149
|
-
subLabel: !0
|
|
20150
|
-
}
|
|
20151
|
-
),
|
|
20152
|
-
/* @__PURE__ */ i.jsx(
|
|
20153
|
-
D,
|
|
20154
|
-
{
|
|
20155
|
-
label: !0,
|
|
20156
|
-
name: "accountHolderVatIsNotRequired",
|
|
20157
|
-
onClick: u(
|
|
20158
|
-
"accountHolderVatIdentificationNumber",
|
|
20159
|
-
"accountHolderVatCountry"
|
|
20160
|
-
)
|
|
20161
|
-
}
|
|
20162
|
-
)
|
|
20163
|
-
] }),
|
|
20164
|
-
/* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsIndividual === "no", children: [
|
|
20165
|
-
/* @__PURE__ */ i.jsx(
|
|
20166
|
-
me,
|
|
20167
|
-
{
|
|
20168
|
-
name: "accountHolderBusinessRegistrationCountry",
|
|
20169
|
-
className: "taxbit-country",
|
|
20170
|
-
options: v,
|
|
20171
|
-
label: !0
|
|
20172
|
-
}
|
|
20173
|
-
),
|
|
20174
|
-
/* @__PURE__ */ i.jsx(
|
|
20175
|
-
Me,
|
|
20176
|
-
{
|
|
20177
|
-
name: "accountHolderBusinessRegistrationNumber",
|
|
20178
|
-
label: !0
|
|
20179
|
-
}
|
|
20180
|
-
)
|
|
20181
|
-
] }),
|
|
20182
|
-
/* @__PURE__ */ i.jsxs(
|
|
20183
|
-
oe,
|
|
20184
|
-
{
|
|
20185
|
-
title: s("taxResidences"),
|
|
20186
|
-
subTitle: o("taxResidences"),
|
|
20187
|
-
showIf: r.accountHolderIsIndividual !== void 0,
|
|
20188
|
-
children: [
|
|
20189
|
-
/* @__PURE__ */ i.jsx(lt, { name: "accountHolderTaxResidences" }),
|
|
20137
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20138
|
+
Ce,
|
|
20139
|
+
{
|
|
20140
|
+
title: s("accountHolderTaxInformation"),
|
|
20141
|
+
className: `taxbit-form-${ge("accountHolderTaxInformation")}`,
|
|
20142
|
+
children: [
|
|
20143
|
+
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20144
|
+
/* @__PURE__ */ i.jsx(ye, { name: "accountHolderUsTin", label: !0 }),
|
|
20145
|
+
/* @__PURE__ */ i.jsx(
|
|
20146
|
+
ye,
|
|
20147
|
+
{
|
|
20148
|
+
name: "accountHolderForeignTin",
|
|
20149
|
+
disabled: r.accountHolderForeignTinIsNotRequired === "yes",
|
|
20150
|
+
label: !0
|
|
20151
|
+
}
|
|
20152
|
+
),
|
|
20153
|
+
/* @__PURE__ */ i.jsx(
|
|
20154
|
+
D,
|
|
20155
|
+
{
|
|
20156
|
+
name: "accountHolderForeignTinIsNotRequired",
|
|
20157
|
+
onClick: u("accountHolderForeignTin"),
|
|
20158
|
+
label: !0
|
|
20159
|
+
}
|
|
20160
|
+
),
|
|
20161
|
+
/* @__PURE__ */ i.jsx(
|
|
20162
|
+
ye,
|
|
20163
|
+
{
|
|
20164
|
+
name: "accountHolderFinancialAccountIdentifier",
|
|
20165
|
+
label: !0,
|
|
20166
|
+
subLabel: !0
|
|
20167
|
+
}
|
|
20168
|
+
),
|
|
20169
|
+
/* @__PURE__ */ i.jsx(Q, { name: "accountHolderFinancialAccountName", label: !0, subLabel: !0 }),
|
|
20170
|
+
/* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsEuResident === "yes", children: [
|
|
20190
20171
|
/* @__PURE__ */ i.jsx(
|
|
20191
|
-
|
|
20172
|
+
me,
|
|
20192
20173
|
{
|
|
20193
|
-
|
|
20194
|
-
|
|
20195
|
-
|
|
20196
|
-
|
|
20197
|
-
|
|
20198
|
-
r.accountHolderAddressCountry
|
|
20199
|
-
);
|
|
20200
|
-
},
|
|
20201
|
-
countryOptions: v,
|
|
20202
|
-
more: !0
|
|
20174
|
+
name: "accountHolderVatCountry",
|
|
20175
|
+
className: "taxbit-country",
|
|
20176
|
+
options: l,
|
|
20177
|
+
disabled: r.accountHolderVatIsNotRequired === "yes",
|
|
20178
|
+
label: !0
|
|
20203
20179
|
}
|
|
20204
20180
|
),
|
|
20205
20181
|
/* @__PURE__ */ i.jsx(
|
|
20206
|
-
|
|
20182
|
+
ye,
|
|
20207
20183
|
{
|
|
20208
|
-
|
|
20209
|
-
|
|
20210
|
-
|
|
20211
|
-
|
|
20184
|
+
name: "accountHolderVatIdentificationNumber",
|
|
20185
|
+
disabled: r.accountHolderVatIsNotRequired === "yes",
|
|
20186
|
+
label: !0,
|
|
20187
|
+
subLabel: !0
|
|
20212
20188
|
}
|
|
20213
20189
|
),
|
|
20214
20190
|
/* @__PURE__ */ i.jsx(
|
|
20215
|
-
|
|
20191
|
+
D,
|
|
20216
20192
|
{
|
|
20217
|
-
|
|
20218
|
-
|
|
20219
|
-
|
|
20220
|
-
|
|
20193
|
+
label: !0,
|
|
20194
|
+
name: "accountHolderVatIsNotRequired",
|
|
20195
|
+
onClick: u(
|
|
20196
|
+
"accountHolderVatIdentificationNumber",
|
|
20197
|
+
"accountHolderVatCountry"
|
|
20198
|
+
)
|
|
20221
20199
|
}
|
|
20222
|
-
)
|
|
20200
|
+
)
|
|
20201
|
+
] }),
|
|
20202
|
+
/* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsIndividual === "no", children: [
|
|
20223
20203
|
/* @__PURE__ */ i.jsx(
|
|
20224
|
-
|
|
20204
|
+
me,
|
|
20225
20205
|
{
|
|
20226
|
-
|
|
20227
|
-
|
|
20228
|
-
|
|
20229
|
-
|
|
20206
|
+
name: "accountHolderBusinessRegistrationCountry",
|
|
20207
|
+
className: "taxbit-country",
|
|
20208
|
+
options: v,
|
|
20209
|
+
label: !0
|
|
20230
20210
|
}
|
|
20231
20211
|
),
|
|
20232
20212
|
/* @__PURE__ */ i.jsx(
|
|
20233
|
-
|
|
20213
|
+
ye,
|
|
20234
20214
|
{
|
|
20235
|
-
|
|
20236
|
-
|
|
20237
|
-
countryOptions: v
|
|
20215
|
+
name: "accountHolderBusinessRegistrationNumber",
|
|
20216
|
+
label: !0
|
|
20238
20217
|
}
|
|
20239
20218
|
)
|
|
20240
|
-
]
|
|
20241
|
-
|
|
20242
|
-
|
|
20243
|
-
|
|
20244
|
-
|
|
20245
|
-
|
|
20246
|
-
|
|
20247
|
-
|
|
20248
|
-
|
|
20249
|
-
|
|
20250
|
-
|
|
20251
|
-
|
|
20252
|
-
|
|
20253
|
-
|
|
20219
|
+
] }),
|
|
20220
|
+
/* @__PURE__ */ i.jsxs(
|
|
20221
|
+
oe,
|
|
20222
|
+
{
|
|
20223
|
+
title: s("taxResidences"),
|
|
20224
|
+
subTitle: o("taxResidences"),
|
|
20225
|
+
showIf: r.accountHolderIsIndividual !== void 0,
|
|
20226
|
+
children: [
|
|
20227
|
+
/* @__PURE__ */ i.jsx(dt, { name: "accountHolderTaxResidences" }),
|
|
20228
|
+
/* @__PURE__ */ i.jsx(
|
|
20229
|
+
da,
|
|
20230
|
+
{
|
|
20231
|
+
index: 1,
|
|
20232
|
+
showIf: r.accountHolderIsIndividual !== void 0,
|
|
20233
|
+
onShow: () => {
|
|
20234
|
+
r.accountHolderTaxResidenceCountry1 === void 0 && m(
|
|
20235
|
+
"accountHolderTaxResidenceCountry1",
|
|
20236
|
+
r.accountHolderAddressCountry
|
|
20237
|
+
);
|
|
20238
|
+
},
|
|
20239
|
+
countryOptions: v,
|
|
20240
|
+
more: !0
|
|
20241
|
+
}
|
|
20242
|
+
),
|
|
20243
|
+
/* @__PURE__ */ i.jsx(
|
|
20244
|
+
da,
|
|
20245
|
+
{
|
|
20246
|
+
index: 2,
|
|
20247
|
+
showIf: r.accountHolderShowTaxResidence2 === "yes",
|
|
20248
|
+
countryOptions: v,
|
|
20249
|
+
more: !0
|
|
20250
|
+
}
|
|
20251
|
+
),
|
|
20252
|
+
/* @__PURE__ */ i.jsx(
|
|
20253
|
+
da,
|
|
20254
|
+
{
|
|
20255
|
+
index: 3,
|
|
20256
|
+
showIf: r.accountHolderShowTaxResidence3 === "yes",
|
|
20257
|
+
countryOptions: v,
|
|
20258
|
+
more: !0
|
|
20259
|
+
}
|
|
20260
|
+
),
|
|
20261
|
+
/* @__PURE__ */ i.jsx(
|
|
20262
|
+
da,
|
|
20263
|
+
{
|
|
20264
|
+
index: 4,
|
|
20265
|
+
showIf: r.accountHolderShowTaxResidence4 === "yes",
|
|
20266
|
+
countryOptions: v,
|
|
20267
|
+
more: !0
|
|
20268
|
+
}
|
|
20269
|
+
),
|
|
20270
|
+
/* @__PURE__ */ i.jsx(
|
|
20271
|
+
da,
|
|
20272
|
+
{
|
|
20273
|
+
index: 5,
|
|
20274
|
+
showIf: r.accountHolderShowTaxResidence5 === "yes",
|
|
20275
|
+
countryOptions: v
|
|
20276
|
+
}
|
|
20277
|
+
)
|
|
20278
|
+
]
|
|
20279
|
+
}
|
|
20280
|
+
)
|
|
20281
|
+
] }),
|
|
20282
|
+
/* @__PURE__ */ i.jsx(
|
|
20283
|
+
Ie,
|
|
20284
|
+
{
|
|
20285
|
+
onCancel: n,
|
|
20286
|
+
onBack: a,
|
|
20287
|
+
onNext: () => e(r)
|
|
20288
|
+
}
|
|
20289
|
+
)
|
|
20290
|
+
]
|
|
20291
|
+
}
|
|
20292
|
+
);
|
|
20293
|
+
}, yo = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Mo, {}) }), jo = () => {
|
|
20254
20294
|
const { getLocalCountry: e, getLocalTitle: a, getLocalSubPrompt: n } = O(), r = _(
|
|
20255
|
-
() =>
|
|
20295
|
+
() => ca.map((s) => ({
|
|
20256
20296
|
...s,
|
|
20257
20297
|
label: e(s.value)
|
|
20258
20298
|
})).sort((s, o) => s.label.localeCompare(o.label)),
|
|
@@ -20276,159 +20316,194 @@ const ur = {
|
|
|
20276
20316
|
]
|
|
20277
20317
|
}
|
|
20278
20318
|
);
|
|
20279
|
-
},
|
|
20319
|
+
}, Oo = () => {
|
|
20280
20320
|
const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalTitle: s } = O();
|
|
20281
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20282
|
-
|
|
20283
|
-
|
|
20284
|
-
|
|
20285
|
-
{
|
|
20286
|
-
|
|
20287
|
-
|
|
20288
|
-
|
|
20289
|
-
|
|
20290
|
-
|
|
20291
|
-
|
|
20292
|
-
|
|
20321
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20322
|
+
Ce,
|
|
20323
|
+
{
|
|
20324
|
+
title: s("accountHolderTaxInformation"),
|
|
20325
|
+
className: `taxbit-form-${ge("accountHolderTaxInformation")}`,
|
|
20326
|
+
children: [
|
|
20327
|
+
/* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(jo, {}) }),
|
|
20328
|
+
/* @__PURE__ */ i.jsx(
|
|
20329
|
+
Ie,
|
|
20330
|
+
{
|
|
20331
|
+
onCancel: n,
|
|
20332
|
+
onBack: a,
|
|
20333
|
+
onNext: () => e(r)
|
|
20334
|
+
}
|
|
20335
|
+
)
|
|
20336
|
+
]
|
|
20337
|
+
}
|
|
20338
|
+
);
|
|
20339
|
+
}, zo = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Oo, {}) }), Eo = () => {
|
|
20293
20340
|
const { onPersistCollectedData: e, goBack: a } = $(), { fields: n } = O();
|
|
20294
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20295
|
-
|
|
20296
|
-
|
|
20297
|
-
|
|
20298
|
-
|
|
20299
|
-
|
|
20300
|
-
|
|
20301
|
-
|
|
20302
|
-
|
|
20341
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20342
|
+
Ce,
|
|
20343
|
+
{
|
|
20344
|
+
title: "exemptions",
|
|
20345
|
+
className: `taxbit-form-${ge("exemptions")}`,
|
|
20346
|
+
children: [
|
|
20347
|
+
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20348
|
+
/* @__PURE__ */ i.jsx(me, { name: "exemptFatcaCode", options: Tt, label: !0 }),
|
|
20349
|
+
/* @__PURE__ */ i.jsx(me, { name: "exemptPayeeCode", options: wt, label: !0 })
|
|
20350
|
+
] }),
|
|
20351
|
+
/* @__PURE__ */ i.jsx(Ie, { onBack: a, onNext: () => e(n) })
|
|
20352
|
+
]
|
|
20353
|
+
}
|
|
20354
|
+
);
|
|
20355
|
+
}, Bo = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Eo, {}) }), Po = () => {
|
|
20356
|
+
const { fields: e, getLocalTitle: a, getLocalOption: n } = O(), { onPersistCollectedData: r, goBack: s } = $(), o = Pe.map((d) => ({
|
|
20303
20357
|
...d,
|
|
20304
20358
|
label: n(`usPerson_${d.value}`)
|
|
20305
20359
|
}));
|
|
20306
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20307
|
-
|
|
20308
|
-
|
|
20309
|
-
|
|
20310
|
-
|
|
20311
|
-
|
|
20312
|
-
|
|
20313
|
-
|
|
20314
|
-
|
|
20315
|
-
|
|
20316
|
-
|
|
20317
|
-
|
|
20318
|
-
|
|
20319
|
-
|
|
20320
|
-
|
|
20321
|
-
|
|
20322
|
-
|
|
20323
|
-
|
|
20324
|
-
|
|
20325
|
-
|
|
20326
|
-
|
|
20327
|
-
|
|
20328
|
-
|
|
20329
|
-
|
|
20330
|
-
|
|
20331
|
-
|
|
20332
|
-
|
|
20333
|
-
|
|
20334
|
-
|
|
20335
|
-
|
|
20336
|
-
|
|
20337
|
-
|
|
20338
|
-
|
|
20339
|
-
|
|
20340
|
-
|
|
20341
|
-
|
|
20342
|
-
|
|
20343
|
-
|
|
20344
|
-
|
|
20345
|
-
|
|
20346
|
-
|
|
20347
|
-
|
|
20348
|
-
|
|
20349
|
-
|
|
20350
|
-
|
|
20351
|
-
|
|
20352
|
-
|
|
20353
|
-
|
|
20354
|
-
|
|
20355
|
-
|
|
20356
|
-
|
|
20357
|
-
|
|
20358
|
-
|
|
20359
|
-
|
|
20360
|
-
|
|
20361
|
-
|
|
20362
|
-
|
|
20363
|
-
|
|
20364
|
-
|
|
20365
|
-
|
|
20366
|
-
|
|
20367
|
-
|
|
20368
|
-
}
|
|
20360
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20361
|
+
Ce,
|
|
20362
|
+
{
|
|
20363
|
+
title: a("regardedOwnerClassification"),
|
|
20364
|
+
className: `taxbit-form-${ge("regardedOwnerClassification")}`,
|
|
20365
|
+
children: [
|
|
20366
|
+
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20367
|
+
/* @__PURE__ */ i.jsx(
|
|
20368
|
+
x,
|
|
20369
|
+
{
|
|
20370
|
+
name: "regardedOwnerUsPerson",
|
|
20371
|
+
options: o,
|
|
20372
|
+
label: !0
|
|
20373
|
+
}
|
|
20374
|
+
),
|
|
20375
|
+
/* @__PURE__ */ i.jsx(
|
|
20376
|
+
x,
|
|
20377
|
+
{
|
|
20378
|
+
name: "regardedOwnerUsAccountType",
|
|
20379
|
+
options: Gt,
|
|
20380
|
+
label: !0
|
|
20381
|
+
}
|
|
20382
|
+
),
|
|
20383
|
+
/* @__PURE__ */ i.jsx(
|
|
20384
|
+
x,
|
|
20385
|
+
{
|
|
20386
|
+
name: "regardedOwnerForeignAccountType",
|
|
20387
|
+
options: jt,
|
|
20388
|
+
label: !0
|
|
20389
|
+
}
|
|
20390
|
+
),
|
|
20391
|
+
/* @__PURE__ */ i.jsx(
|
|
20392
|
+
x,
|
|
20393
|
+
{
|
|
20394
|
+
name: "regardedOwnerUsLlcClassification",
|
|
20395
|
+
options: oi,
|
|
20396
|
+
label: !0
|
|
20397
|
+
}
|
|
20398
|
+
),
|
|
20399
|
+
/* @__PURE__ */ i.jsx(Q, { name: "regardedOwnerUsOtherClassification", label: !0 }),
|
|
20400
|
+
/* @__PURE__ */ i.jsx(
|
|
20401
|
+
x,
|
|
20402
|
+
{
|
|
20403
|
+
name: "regardedOwnerUsTrustEstateEin",
|
|
20404
|
+
options: Pe,
|
|
20405
|
+
label: !0
|
|
20406
|
+
}
|
|
20407
|
+
),
|
|
20408
|
+
/* @__PURE__ */ i.jsx(
|
|
20409
|
+
x,
|
|
20410
|
+
{
|
|
20411
|
+
name: "regardedOwnerForeignOtherClassification",
|
|
20412
|
+
options: ti,
|
|
20413
|
+
label: !0
|
|
20414
|
+
}
|
|
20415
|
+
),
|
|
20416
|
+
/* @__PURE__ */ i.jsx(
|
|
20417
|
+
x,
|
|
20418
|
+
{
|
|
20419
|
+
name: "regardedOwnerForeignTrustClassification",
|
|
20420
|
+
options: ri,
|
|
20421
|
+
label: !0
|
|
20422
|
+
}
|
|
20423
|
+
)
|
|
20424
|
+
] }),
|
|
20425
|
+
/* @__PURE__ */ i.jsx(Ie, { onBack: s, onNext: () => r(e) })
|
|
20426
|
+
]
|
|
20427
|
+
}
|
|
20428
|
+
);
|
|
20429
|
+
}, Ro = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Po, {}) }), wo = () => {
|
|
20369
20430
|
const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalCountry: s, getLocalTitle: o } = O(), d = _(
|
|
20370
|
-
() =>
|
|
20431
|
+
() => ca.map((u) => ({
|
|
20371
20432
|
...u,
|
|
20372
20433
|
label: s(u.value)
|
|
20373
20434
|
})).sort((u, m) => u.label.localeCompare(m.label)),
|
|
20374
20435
|
[s]
|
|
20375
20436
|
);
|
|
20376
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20377
|
-
|
|
20378
|
-
|
|
20379
|
-
|
|
20380
|
-
|
|
20381
|
-
|
|
20382
|
-
|
|
20383
|
-
|
|
20384
|
-
|
|
20385
|
-
|
|
20386
|
-
|
|
20387
|
-
|
|
20388
|
-
|
|
20389
|
-
|
|
20390
|
-
|
|
20391
|
-
|
|
20392
|
-
|
|
20393
|
-
|
|
20394
|
-
|
|
20395
|
-
|
|
20396
|
-
|
|
20397
|
-
|
|
20398
|
-
|
|
20399
|
-
|
|
20400
|
-
|
|
20401
|
-
|
|
20402
|
-
|
|
20403
|
-
|
|
20404
|
-
|
|
20405
|
-
|
|
20406
|
-
|
|
20407
|
-
|
|
20408
|
-
|
|
20409
|
-
|
|
20410
|
-
|
|
20411
|
-
|
|
20412
|
-
|
|
20413
|
-
|
|
20414
|
-
|
|
20437
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20438
|
+
Ce,
|
|
20439
|
+
{
|
|
20440
|
+
title: o("regardedOwnerContactInformation"),
|
|
20441
|
+
className: `taxbit-form-${ge("regardedOwnerContactInformation")}`,
|
|
20442
|
+
children: [
|
|
20443
|
+
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20444
|
+
/* @__PURE__ */ i.jsx(
|
|
20445
|
+
me,
|
|
20446
|
+
{
|
|
20447
|
+
label: !0,
|
|
20448
|
+
name: "regardedOwnerCountryOfCitizenship",
|
|
20449
|
+
options: d
|
|
20450
|
+
}
|
|
20451
|
+
),
|
|
20452
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerName" }),
|
|
20453
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerDbaName" }),
|
|
20454
|
+
/* @__PURE__ */ i.jsx(
|
|
20455
|
+
Va,
|
|
20456
|
+
{
|
|
20457
|
+
prompt: "Permanent Address",
|
|
20458
|
+
prefix: "regardedOwnerAddress"
|
|
20459
|
+
}
|
|
20460
|
+
),
|
|
20461
|
+
/* @__PURE__ */ i.jsx(D, { name: "regardedOwnerMailingAddressIsDifferent", label: !0 }),
|
|
20462
|
+
/* @__PURE__ */ i.jsx(
|
|
20463
|
+
Va,
|
|
20464
|
+
{
|
|
20465
|
+
prompt: "Mailing Address",
|
|
20466
|
+
prefix: "regardedOwnerMailingAddress",
|
|
20467
|
+
showIf: r.regardedOwnerMailingAddressIsDifferent === "yes"
|
|
20468
|
+
}
|
|
20469
|
+
)
|
|
20470
|
+
] }),
|
|
20471
|
+
/* @__PURE__ */ i.jsx(
|
|
20472
|
+
Ie,
|
|
20473
|
+
{
|
|
20474
|
+
onCancel: n,
|
|
20475
|
+
onBack: a,
|
|
20476
|
+
onNext: () => e(r)
|
|
20477
|
+
}
|
|
20478
|
+
)
|
|
20479
|
+
]
|
|
20480
|
+
}
|
|
20481
|
+
);
|
|
20482
|
+
}, Ho = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(wo, {}) }), Lo = () => {
|
|
20415
20483
|
const { onPersistCollectedData: e, goBack: a } = $(), { fields: n, getLocalTitle: r, clearIfNotRequired: s } = O();
|
|
20416
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20417
|
-
|
|
20418
|
-
|
|
20419
|
-
|
|
20420
|
-
|
|
20421
|
-
|
|
20422
|
-
{
|
|
20423
|
-
name: "
|
|
20424
|
-
label: !0,
|
|
20425
|
-
|
|
20426
|
-
|
|
20427
|
-
|
|
20428
|
-
|
|
20429
|
-
|
|
20430
|
-
|
|
20431
|
-
}
|
|
20484
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20485
|
+
Ce,
|
|
20486
|
+
{
|
|
20487
|
+
title: r("regardedOwnerTaxInformation"),
|
|
20488
|
+
className: `taxbit-form-${ge("regardedOwnerTaxInformation")}`,
|
|
20489
|
+
children: [
|
|
20490
|
+
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20491
|
+
/* @__PURE__ */ i.jsx(ye, { name: "regardedOwnerUsTin", label: !0 }),
|
|
20492
|
+
/* @__PURE__ */ i.jsx(ye, { name: "regardedOwnerForeignTin", label: !0 }),
|
|
20493
|
+
/* @__PURE__ */ i.jsx(
|
|
20494
|
+
D,
|
|
20495
|
+
{
|
|
20496
|
+
name: "regardedOwnerForeignTinIsNotRequired",
|
|
20497
|
+
label: !0,
|
|
20498
|
+
onClick: s("regardedOwnerForeignTin")
|
|
20499
|
+
}
|
|
20500
|
+
)
|
|
20501
|
+
] }),
|
|
20502
|
+
/* @__PURE__ */ i.jsx(Ie, { onBack: a, onNext: () => e(n) })
|
|
20503
|
+
]
|
|
20504
|
+
}
|
|
20505
|
+
);
|
|
20506
|
+
}, Go = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(Lo, {}) }), te = ({ text: e }) => {
|
|
20432
20507
|
const n = ((r) => {
|
|
20433
20508
|
if (!r)
|
|
20434
20509
|
return "";
|
|
@@ -20436,7 +20511,7 @@ const ur = {
|
|
|
20436
20511
|
return "*".repeat(s) + r.substring(s);
|
|
20437
20512
|
})(e);
|
|
20438
20513
|
return /* @__PURE__ */ i.jsx("span", { children: n });
|
|
20439
|
-
},
|
|
20514
|
+
}, Do = () => {
|
|
20440
20515
|
const { data: e, editTo: a, isW9: n, isW8: r } = $(), {
|
|
20441
20516
|
getLocalTitle: s,
|
|
20442
20517
|
getLocalOption: o,
|
|
@@ -20604,13 +20679,13 @@ const ur = {
|
|
|
20604
20679
|
}
|
|
20605
20680
|
),
|
|
20606
20681
|
e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes" ? /* @__PURE__ */ i.jsx(
|
|
20607
|
-
|
|
20682
|
+
We,
|
|
20608
20683
|
{
|
|
20609
20684
|
label: s("address") + "*",
|
|
20610
20685
|
onEdit: () => a("AccountHolderContact"),
|
|
20611
20686
|
name: "accountHolderAddressCountry",
|
|
20612
20687
|
children: /* @__PURE__ */ i.jsx(
|
|
20613
|
-
|
|
20688
|
+
Fa,
|
|
20614
20689
|
{
|
|
20615
20690
|
address: {
|
|
20616
20691
|
street: e == null ? void 0 : e.accountHolderAddressStreet,
|
|
@@ -20625,12 +20700,12 @@ const ur = {
|
|
|
20625
20700
|
}
|
|
20626
20701
|
) : null,
|
|
20627
20702
|
(e == null ? void 0 : e.accountHolderMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ i.jsx(
|
|
20628
|
-
|
|
20703
|
+
We,
|
|
20629
20704
|
{
|
|
20630
20705
|
label: s("mailingAddress"),
|
|
20631
20706
|
onEdit: () => a("AccountHolderContact"),
|
|
20632
20707
|
children: /* @__PURE__ */ i.jsx(
|
|
20633
|
-
|
|
20708
|
+
Fa,
|
|
20634
20709
|
{
|
|
20635
20710
|
address: {
|
|
20636
20711
|
street: e == null ? void 0 : e.accountHolderMailingAddressStreet,
|
|
@@ -20738,7 +20813,7 @@ const ur = {
|
|
|
20738
20813
|
title: s("taxResidences"),
|
|
20739
20814
|
showIf: e.accountHolderIsEuResident === "yes" && e.accountHolderIsIndividual !== void 0,
|
|
20740
20815
|
children: [
|
|
20741
|
-
/* @__PURE__ */ i.jsx(
|
|
20816
|
+
/* @__PURE__ */ i.jsx(dt, { name: "accountHolderTaxResidences" }),
|
|
20742
20817
|
/* @__PURE__ */ i.jsx(
|
|
20743
20818
|
f,
|
|
20744
20819
|
{
|
|
@@ -20890,12 +20965,12 @@ const ur = {
|
|
|
20890
20965
|
}
|
|
20891
20966
|
),
|
|
20892
20967
|
!!m.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0 && /* @__PURE__ */ i.jsx(
|
|
20893
|
-
|
|
20968
|
+
We,
|
|
20894
20969
|
{
|
|
20895
20970
|
label: s("address"),
|
|
20896
20971
|
onEdit: () => a("RegardedOwnerContact"),
|
|
20897
20972
|
children: /* @__PURE__ */ i.jsx(
|
|
20898
|
-
|
|
20973
|
+
Fa,
|
|
20899
20974
|
{
|
|
20900
20975
|
address: {
|
|
20901
20976
|
street: e == null ? void 0 : e.regardedOwnerAddressStreet,
|
|
@@ -20910,12 +20985,12 @@ const ur = {
|
|
|
20910
20985
|
}
|
|
20911
20986
|
),
|
|
20912
20987
|
(n || r) && (e == null ? void 0 : e.regardedOwnerMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ i.jsx(
|
|
20913
|
-
|
|
20988
|
+
We,
|
|
20914
20989
|
{
|
|
20915
20990
|
label: s("mailingAddress"),
|
|
20916
20991
|
onEdit: () => a("RegardedOwnerContact"),
|
|
20917
20992
|
children: /* @__PURE__ */ i.jsx(
|
|
20918
|
-
|
|
20993
|
+
Fa,
|
|
20919
20994
|
{
|
|
20920
20995
|
address: {
|
|
20921
20996
|
street: e == null ? void 0 : e.regardedOwnerMailingAddressStreet,
|
|
@@ -20987,58 +21062,65 @@ const ur = {
|
|
|
20987
21062
|
}
|
|
20988
21063
|
)
|
|
20989
21064
|
] });
|
|
20990
|
-
},
|
|
21065
|
+
}, ut = () => {
|
|
20991
21066
|
const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } = $(), { getLocalTitle: s, fields: o } = O();
|
|
20992
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20993
|
-
|
|
20994
|
-
|
|
20995
|
-
|
|
20996
|
-
|
|
20997
|
-
|
|
20998
|
-
/* @__PURE__ */ i.
|
|
20999
|
-
|
|
21000
|
-
|
|
21001
|
-
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
|
|
21008
|
-
|
|
21009
|
-
|
|
21010
|
-
|
|
21011
|
-
|
|
21012
|
-
|
|
21013
|
-
|
|
21014
|
-
|
|
21015
|
-
|
|
21016
|
-
|
|
21017
|
-
|
|
21018
|
-
|
|
21019
|
-
|
|
21020
|
-
|
|
21021
|
-
|
|
21022
|
-
|
|
21067
|
+
return /* @__PURE__ */ i.jsxs(
|
|
21068
|
+
Ce,
|
|
21069
|
+
{
|
|
21070
|
+
title: s("summary"),
|
|
21071
|
+
className: `taxbit-form-${ge("summary")}`,
|
|
21072
|
+
children: [
|
|
21073
|
+
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
21074
|
+
/* @__PURE__ */ i.jsx(Do, {}),
|
|
21075
|
+
/* @__PURE__ */ i.jsxs(oe, { title: "Certify", showIf: r || n, children: [
|
|
21076
|
+
/* @__PURE__ */ i.jsx(D, { name: "iCertifyToAll", label: !0 }),
|
|
21077
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
|
|
21078
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAmNotSubjectToBackupWithholding", label: !0 }),
|
|
21079
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAmACitizenOfTheUs", label: !0 }),
|
|
21080
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAmExemptFromFatcaReporting", label: !0 }),
|
|
21081
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheEntityIsTheBeneficialOwner", label: !0 }),
|
|
21082
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheEntityIsNotAUsPerson", label: !0 }),
|
|
21083
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmIncomeIsNonUs", label: !0, subLabel: !0 }),
|
|
21084
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheBeneficialOwnerIsExempt", label: !0 }),
|
|
21085
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheInformationIsCorrectComplete", label: !0 }),
|
|
21086
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAuthorizeWithholdingAgent", label: !0 })
|
|
21087
|
+
] }),
|
|
21088
|
+
/* @__PURE__ */ i.jsxs(oe, { title: "Acknowledge and Sign", showIf: r || n, children: [
|
|
21089
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAcknowlegeESignIsOk", label: !0 }),
|
|
21090
|
+
/* @__PURE__ */ i.jsx(D, { name: "iHaveLegalCapacityToSign", label: !0 }),
|
|
21091
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "signature" })
|
|
21092
|
+
] })
|
|
21093
|
+
] }),
|
|
21094
|
+
/* @__PURE__ */ i.jsx(
|
|
21095
|
+
Ie,
|
|
21096
|
+
{
|
|
21097
|
+
onBack: e,
|
|
21098
|
+
onSubmit: () => a(o)
|
|
21099
|
+
}
|
|
21100
|
+
)
|
|
21101
|
+
]
|
|
21102
|
+
}
|
|
21103
|
+
);
|
|
21104
|
+
}, Uo = () => /* @__PURE__ */ i.jsx(be, { children: /* @__PURE__ */ i.jsx(ut, {}) }), Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21023
21105
|
__proto__: null,
|
|
21024
|
-
AccountHolderClassification:
|
|
21025
|
-
AccountHolderContact:
|
|
21026
|
-
AccountHolderTax:
|
|
21027
|
-
AccountHolderTaxClarification:
|
|
21028
|
-
Contents:
|
|
21029
|
-
Exemptions:
|
|
21030
|
-
RegardedOwnerClassification:
|
|
21031
|
-
RegardedOwnerContact:
|
|
21032
|
-
RegardedOwnerTax:
|
|
21033
|
-
Summary:
|
|
21034
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
21106
|
+
AccountHolderClassification: Io,
|
|
21107
|
+
AccountHolderContact: To,
|
|
21108
|
+
AccountHolderTax: yo,
|
|
21109
|
+
AccountHolderTaxClarification: zo,
|
|
21110
|
+
Contents: ut,
|
|
21111
|
+
Exemptions: Bo,
|
|
21112
|
+
RegardedOwnerClassification: Ro,
|
|
21113
|
+
RegardedOwnerContact: Ho,
|
|
21114
|
+
RegardedOwnerTax: Go,
|
|
21115
|
+
Summary: Uo
|
|
21116
|
+
}, Symbol.toStringTag, { value: "Module" })), ct = ({
|
|
21035
21117
|
data: e,
|
|
21036
21118
|
onSubmit: a,
|
|
21037
21119
|
language: n,
|
|
21038
21120
|
taxForms: r,
|
|
21039
21121
|
complete: s
|
|
21040
21122
|
}) => /* @__PURE__ */ i.jsx(
|
|
21041
|
-
|
|
21123
|
+
no,
|
|
21042
21124
|
{
|
|
21043
21125
|
data: e,
|
|
21044
21126
|
onSubmit: a,
|
|
@@ -21046,7 +21128,7 @@ const ur = {
|
|
|
21046
21128
|
taxForms: r,
|
|
21047
21129
|
step: s ? "Summary" : void 0,
|
|
21048
21130
|
children: /* @__PURE__ */ i.jsx(
|
|
21049
|
-
|
|
21131
|
+
Ko,
|
|
21050
21132
|
{
|
|
21051
21133
|
language: n,
|
|
21052
21134
|
taxForms: r,
|
|
@@ -21054,12 +21136,12 @@ const ur = {
|
|
|
21054
21136
|
}
|
|
21055
21137
|
)
|
|
21056
21138
|
}
|
|
21057
|
-
),
|
|
21139
|
+
), xo = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Ko = ({
|
|
21058
21140
|
language: e = "en-us",
|
|
21059
|
-
taxForms: a =
|
|
21141
|
+
taxForms: a = xo,
|
|
21060
21142
|
data: n
|
|
21061
21143
|
}) => {
|
|
21062
|
-
const { stepName: r, setLanguage: s, setSupportedForms: o, onResetTaxDocumentation: d } = $(), u =
|
|
21144
|
+
const { stepName: r, setLanguage: s, setSupportedForms: o, onResetTaxDocumentation: d } = $(), u = Fo[r];
|
|
21063
21145
|
return X(() => {
|
|
21064
21146
|
s(e);
|
|
21065
21147
|
}, [e, s]), X(() => {
|
|
@@ -21067,13 +21149,13 @@ const ur = {
|
|
|
21067
21149
|
}, [a, o]), X(() => {
|
|
21068
21150
|
n && d(n);
|
|
21069
21151
|
}, [n, d]), /* @__PURE__ */ i.jsx(u, {});
|
|
21070
|
-
},
|
|
21152
|
+
}, Jo = ({
|
|
21071
21153
|
data: e,
|
|
21072
21154
|
onSubmit: a,
|
|
21073
21155
|
language: n,
|
|
21074
21156
|
complete: r
|
|
21075
21157
|
}) => /* @__PURE__ */ i.jsx(
|
|
21076
|
-
|
|
21158
|
+
ct,
|
|
21077
21159
|
{
|
|
21078
21160
|
data: e,
|
|
21079
21161
|
language: n,
|
|
@@ -21081,7 +21163,7 @@ const ur = {
|
|
|
21081
21163
|
complete: r,
|
|
21082
21164
|
taxForms: ["DAC7"]
|
|
21083
21165
|
}
|
|
21084
|
-
),
|
|
21166
|
+
), Vo = ({
|
|
21085
21167
|
staging: e,
|
|
21086
21168
|
data: a,
|
|
21087
21169
|
bearerToken: n,
|
|
@@ -21091,23 +21173,23 @@ const ur = {
|
|
|
21091
21173
|
onSuccess: d
|
|
21092
21174
|
}) => {
|
|
21093
21175
|
var N;
|
|
21094
|
-
const { status: u, formStatus: m, postData: l, formSubmitted: v, serverData: g } =
|
|
21176
|
+
const { status: u, formStatus: m, postData: l, formSubmitted: v, serverData: g } = ur(
|
|
21095
21177
|
n,
|
|
21096
21178
|
e
|
|
21097
21179
|
), [A, p] = K(
|
|
21098
21180
|
a
|
|
21099
21181
|
);
|
|
21100
21182
|
if (X(() => {
|
|
21101
|
-
g && p(
|
|
21183
|
+
g && p(rt(g, a));
|
|
21102
21184
|
}, [a, g]), !m || m !== "NOT_SUBMITTED" && !g)
|
|
21103
|
-
return /* @__PURE__ */ i.jsx("div", { children:
|
|
21185
|
+
return /* @__PURE__ */ i.jsx("div", { children: ni("retrievingInterviewStatus", r) });
|
|
21104
21186
|
if (v)
|
|
21105
|
-
return /* @__PURE__ */ i.jsx("div", { children:
|
|
21187
|
+
return /* @__PURE__ */ i.jsx("div", { children: ni("interviewIsComplete", r) });
|
|
21106
21188
|
const S = async (T) => {
|
|
21107
21189
|
o && o(T), await l(T), d && d(T);
|
|
21108
21190
|
};
|
|
21109
21191
|
return /* @__PURE__ */ i.jsx(
|
|
21110
|
-
|
|
21192
|
+
ct,
|
|
21111
21193
|
{
|
|
21112
21194
|
data: A,
|
|
21113
21195
|
language: r,
|
|
@@ -21116,7 +21198,7 @@ const ur = {
|
|
|
21116
21198
|
complete: ((N = u == null ? void 0 : u.DAC7Interview) == null ? void 0 : N.dataCollectionStatus) === "COMPLETE"
|
|
21117
21199
|
}
|
|
21118
21200
|
);
|
|
21119
|
-
},
|
|
21201
|
+
}, Zo = ({
|
|
21120
21202
|
data: e,
|
|
21121
21203
|
staging: a,
|
|
21122
21204
|
bearerToken: n,
|
|
@@ -21124,7 +21206,7 @@ const ur = {
|
|
|
21124
21206
|
onSubmit: s,
|
|
21125
21207
|
onSuccess: o
|
|
21126
21208
|
}) => /* @__PURE__ */ i.jsx(
|
|
21127
|
-
|
|
21209
|
+
Vo,
|
|
21128
21210
|
{
|
|
21129
21211
|
bearerToken: n,
|
|
21130
21212
|
data: e,
|
|
@@ -21136,9 +21218,9 @@ const ur = {
|
|
|
21136
21218
|
}
|
|
21137
21219
|
);
|
|
21138
21220
|
export {
|
|
21139
|
-
|
|
21140
|
-
|
|
21141
|
-
|
|
21142
|
-
|
|
21143
|
-
|
|
21221
|
+
Zo as TaxBitDAC7Form,
|
|
21222
|
+
Jo as TaxBitDAC7FormUI,
|
|
21223
|
+
Vo as TaxBitForm,
|
|
21224
|
+
ct as TaxBitFormUI,
|
|
21225
|
+
ur as useTaxBit
|
|
21144
21226
|
};
|