@taxbit/react-sdk 0.4.1 → 0.4.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/README.md +18 -13
- package/dist/src/contexts/FormUI/useFormUI.d.ts +1 -0
- package/dist/src/contexts/FormUI/useFormUIContext.d.ts +2 -0
- package/dist/src/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +3 -2
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +6 -4
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +4 -2
- package/dist/src/entry/index.d.ts +1 -0
- package/dist/src/hooks/useTaxBit/useTaxBit.d.ts +0 -1
- package/dist/src/i18n/types/LocalizationKey.d.ts +1 -1
- package/dist/src/types/Progress.d.ts +8 -5
- package/dist/src/types/StepId.d.ts +1 -0
- package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +1 -0
- package/dist/src/types/client/ExternalValidations.d.ts +7 -0
- package/dist/src/types/client/index.d.ts +1 -0
- package/dist/src/types/server/TaxDocumentationStatus.d.ts +2 -1
- package/dist/src/validations/getInvalidFields.d.ts +2 -1
- package/dist/src/validations/invalidFieldRules.d.ts +2 -1
- package/dist/src/widgets/TaxBitForm/__tests__/TaxBitForm.complete.test.d.ts +0 -0
- package/dist/src/widgets/TaxBitForm/useTaxBitForm.d.ts +4 -3
- package/dist/src/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +3 -2
- package/dist/taxbit-react-sdk.js +1208 -1144
- package/dist/taxbit-react-sdk.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/taxbit-react-sdk.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import at, { useState as
|
|
1
|
+
import at, { useState as W, useEffect as _, createContext as At, useContext as bt, useRef as Za, useMemo as ee, useCallback as it, Fragment as nt } from "react";
|
|
2
2
|
const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging" : ""}.taxbit.com/v1/${e}`, Da = {
|
|
3
3
|
taxDocumentation: {
|
|
4
4
|
post: (e) => Ua("tax-documentation", e),
|
|
@@ -12,7 +12,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
12
12
|
Ct(a),
|
|
13
13
|
La(n)
|
|
14
14
|
])
|
|
15
|
-
),
|
|
15
|
+
), le = (...e) => e.filter(Boolean).join(" "), It = (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)
|
|
@@ -29,7 +29,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
29
29
|
day: "2-digit",
|
|
30
30
|
year: "numeric"
|
|
31
31
|
});
|
|
32
|
-
},
|
|
32
|
+
}, ve = (e) => e.map((a) => ({
|
|
33
33
|
value: a
|
|
34
34
|
})), Tt = [
|
|
35
35
|
"AB",
|
|
@@ -45,7 +45,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
45
45
|
"QC",
|
|
46
46
|
"SK",
|
|
47
47
|
"YT"
|
|
48
|
-
], Mt =
|
|
48
|
+
], Mt = ve(Tt), yt = [
|
|
49
49
|
"AD",
|
|
50
50
|
"AE",
|
|
51
51
|
"AF",
|
|
@@ -323,7 +323,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
323
323
|
"SE",
|
|
324
324
|
"SI",
|
|
325
325
|
"SK"
|
|
326
|
-
],
|
|
326
|
+
], sa = ve(yt), jt = ve(tt), oe = (e) => e ? tt.includes(e) : !1, Ot = [
|
|
327
327
|
"01",
|
|
328
328
|
"02",
|
|
329
329
|
"03",
|
|
@@ -355,7 +355,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
355
355
|
"29",
|
|
356
356
|
"30",
|
|
357
357
|
"31"
|
|
358
|
-
], Dn =
|
|
358
|
+
], Dn = ve(Ot), zt = [
|
|
359
359
|
"A",
|
|
360
360
|
"B",
|
|
361
361
|
"C",
|
|
@@ -369,14 +369,14 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
369
369
|
"K",
|
|
370
370
|
"L",
|
|
371
371
|
"M"
|
|
372
|
-
], Et =
|
|
372
|
+
], Et = ve(zt), rt = [
|
|
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
|
-
], Bt = rt.map((e) => e.value),
|
|
379
|
+
], Bt = rt.map((e) => e.value), Qa = [
|
|
380
380
|
{ value: "taxExemptOrganization" },
|
|
381
381
|
{ value: "privateFoundation" },
|
|
382
382
|
{ value: "internationalOrganization" },
|
|
@@ -384,17 +384,17 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
384
384
|
{ value: "foreignGovernmentControlledEntity" },
|
|
385
385
|
{ value: "foreignGovernmentIntegralPart" },
|
|
386
386
|
{ value: "estate" }
|
|
387
|
-
],
|
|
387
|
+
], Pt = Qa.map((e) => e.value), Rt = [
|
|
388
388
|
{ value: "individual" },
|
|
389
389
|
{ value: "corporation" },
|
|
390
390
|
{ value: "partnership" },
|
|
391
391
|
{ value: "trust" },
|
|
392
392
|
{ value: "other" }
|
|
393
|
-
],
|
|
393
|
+
], Xa = [
|
|
394
394
|
{ value: "simpleTrust" },
|
|
395
395
|
{ value: "complexTrust" },
|
|
396
396
|
{ value: "grantorTrust" }
|
|
397
|
-
], wt =
|
|
397
|
+
], wt = Xa.map((e) => e.value), Ht = [
|
|
398
398
|
"bg-bg",
|
|
399
399
|
"cs-cz",
|
|
400
400
|
"da-dk",
|
|
@@ -425,7 +425,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
425
425
|
"sk-sk",
|
|
426
426
|
"sl-si",
|
|
427
427
|
"sv-se"
|
|
428
|
-
], Lt =
|
|
428
|
+
], Lt = ve(Ht), Gt = [
|
|
429
429
|
"01",
|
|
430
430
|
"02",
|
|
431
431
|
"03",
|
|
@@ -438,7 +438,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
438
438
|
"10",
|
|
439
439
|
"11",
|
|
440
440
|
"12"
|
|
441
|
-
], xt =
|
|
441
|
+
], xt = ve(Gt), Ut = [
|
|
442
442
|
"A",
|
|
443
443
|
"B",
|
|
444
444
|
"C",
|
|
@@ -452,7 +452,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
452
452
|
"K",
|
|
453
453
|
"L",
|
|
454
454
|
"M"
|
|
455
|
-
], Dt =
|
|
455
|
+
], Dt = ve(Ut), ot = [
|
|
456
456
|
{ value: "individual" },
|
|
457
457
|
{ value: "soleProprietor" },
|
|
458
458
|
{ value: "llc" },
|
|
@@ -463,11 +463,11 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
463
463
|
{ value: "trustEstate" },
|
|
464
464
|
{ value: "other" },
|
|
465
465
|
{ value: "disregardedEntity" }
|
|
466
|
-
], Ft = ot.map((e) => e.value),
|
|
466
|
+
], Ft = ot.map((e) => e.value), $a = [
|
|
467
467
|
{ value: "cCorporation" },
|
|
468
468
|
{ value: "sCorporation" },
|
|
469
469
|
{ value: "partnership" }
|
|
470
|
-
], Kt =
|
|
470
|
+
], Kt = $a.map(
|
|
471
471
|
(e) => e.value
|
|
472
472
|
), Vt = [
|
|
473
473
|
{ value: "individual" },
|
|
@@ -538,18 +538,18 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
538
538
|
"WV",
|
|
539
539
|
"WI",
|
|
540
540
|
"WY"
|
|
541
|
-
], Jt =
|
|
541
|
+
], Jt = ve(Wt), st = /* @__PURE__ */ new Date(), Zt = st.getFullYear() - 120, Fn = st.getFullYear(), qt = Array.from(
|
|
542
542
|
{ length: Fn - Zt },
|
|
543
543
|
(e, a) => Fn - a
|
|
544
544
|
), Yt = qt.map((e) => ({
|
|
545
545
|
value: e
|
|
546
|
-
})),
|
|
547
|
-
const n = !a && ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes") || !!(a != null && a.includes("W-9")), r = !a && ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "no") || !!(a != null && a.includes("W-8BEN")) || !!(a != null && a.includes("W-8BEN-E")), o = !a && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual") || !!(a != null && a.includes("W-8BEN")), s = !a && (!!(e != null && e.accountHolderForeignAccountType) && e.accountHolderForeignAccountType !== "individual" && e.accountHolderForeignAccountType !== "disregardedEntity" || !!(e != null && e.regardedOwnerForeignAccountType) && e.regardedOwnerForeignAccountType !== "individual") || !!(a != null && a.includes("W-8BEN-E")),
|
|
546
|
+
})), R = (e) => e === void 0 || e === "", D = (e) => !R(e), xa = (e, a) => {
|
|
547
|
+
const n = !a && ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes") || !!(a != null && a.includes("W-9")), r = !a && ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "no") || !!(a != null && a.includes("W-8BEN")) || !!(a != null && a.includes("W-8BEN-E")), o = !a && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual") || !!(a != null && a.includes("W-8BEN")), s = !a && (!!(e != null && e.accountHolderForeignAccountType) && e.accountHolderForeignAccountType !== "individual" && e.accountHolderForeignAccountType !== "disregardedEntity" || !!(e != null && e.regardedOwnerForeignAccountType) && e.regardedOwnerForeignAccountType !== "individual") || !!(a != null && a.includes("W-8BEN-E")), d = !a && (e == null ? void 0 : e.accountHolderIsEuResident) !== void 0 || !!(a != null && a.includes("DAC7")), l = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", m = (e == null ? void 0 : e.accountHolderIsEuResident) === "yes" && (R(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || !oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)) && (R(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || !oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)) && (R(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || !oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)) && (R(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || !oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)) && (R(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5) && oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry5) || !oe(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)), k = D(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || D(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || D(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || D(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || D(e == null ? void 0 : e.accountHolderTaxResidenceCountry5), g = (e == null ? void 0 : e.accountHolderIsIndividual) === "yes" || (e == null ? void 0 : e.accountHolderUsAccountType) === "individual" || (e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.accountHolderUsAccountType) === "disregardedEntity" && ((e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerUsAccountType) === "individual") || (e == null ? void 0 : e.accountHolderForeignAccountType) === "disregardedEntity" && ((e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerUsAccountType) === "individual");
|
|
548
548
|
return {
|
|
549
|
-
accountHolderIsDisregarded:
|
|
549
|
+
accountHolderIsDisregarded: l,
|
|
550
550
|
hasNoEUTaxId: m,
|
|
551
|
-
hasTaxResidence:
|
|
552
|
-
isDac7:
|
|
551
|
+
hasTaxResidence: k,
|
|
552
|
+
isDac7: d,
|
|
553
553
|
isW9: n,
|
|
554
554
|
isW8: r,
|
|
555
555
|
isW8Ben: o,
|
|
@@ -688,43 +688,43 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
688
688
|
regardedOwnerMailingAddressState: "state",
|
|
689
689
|
regardedOwnerMailingAddressZip: "zip",
|
|
690
690
|
regardedOwnerMailingAddressCountry: "country"
|
|
691
|
-
}),
|
|
692
|
-
var r, o, s,
|
|
691
|
+
}), la = (e) => e.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), er = (e, a) => {
|
|
692
|
+
var r, o, s, d, l, m, k, g, c, v, A, f, y, B, I, z, p, G, J, X;
|
|
693
693
|
const n = { ...e, ...a };
|
|
694
694
|
return (e != null && e.accountHolder || a != null && a.accountHolder) && (n.accountHolder = {
|
|
695
695
|
...e == null ? void 0 : e.accountHolder,
|
|
696
696
|
...a == null ? void 0 : a.accountHolder
|
|
697
697
|
}, ((r = e == null ? void 0 : e.accountHolder) != null && r.address || (o = a == null ? void 0 : a.accountHolder) != null && o.address) && (n.accountHolder.address = {
|
|
698
698
|
...(s = e == null ? void 0 : e.accountHolder) == null ? void 0 : s.address,
|
|
699
|
-
...(
|
|
700
|
-
}), ((
|
|
701
|
-
...(
|
|
699
|
+
...(d = a == null ? void 0 : a.accountHolder) == null ? void 0 : d.address
|
|
700
|
+
}), ((l = e == null ? void 0 : e.accountHolder) != null && l.mailingAddress || (m = a == null ? void 0 : a.accountHolder) != null && m.mailingAddress) && (n.accountHolder.mailingAddress = {
|
|
701
|
+
...(k = e == null ? void 0 : e.accountHolder) == null ? void 0 : k.mailingAddress,
|
|
702
702
|
...(g = a == null ? void 0 : a.accountHolder) == null ? void 0 : g.mailingAddress
|
|
703
703
|
}), (c = e == null ? void 0 : e.accountHolder) != null && c.taxResidences && (n.accountHolder.taxResidences = JSON.parse(
|
|
704
|
-
JSON.stringify((
|
|
705
|
-
)), (
|
|
706
|
-
JSON.stringify((
|
|
704
|
+
JSON.stringify((v = e == null ? void 0 : e.accountHolder) == null ? void 0 : v.taxResidences)
|
|
705
|
+
)), (A = a == null ? void 0 : a.accountHolder) != null && A.taxResidences && (n.accountHolder.taxResidences = JSON.parse(
|
|
706
|
+
JSON.stringify((f = a == null ? void 0 : a.accountHolder) == null ? void 0 : f.taxResidences)
|
|
707
707
|
))), (e != null && e.regardedOwner || a != null && a.regardedOwner) && (n.regardedOwner = {
|
|
708
708
|
...e == null ? void 0 : e.regardedOwner,
|
|
709
709
|
...a == null ? void 0 : a.regardedOwner
|
|
710
710
|
}, n.regardedOwner = {
|
|
711
711
|
...e == null ? void 0 : e.regardedOwner,
|
|
712
712
|
...a == null ? void 0 : a.regardedOwner
|
|
713
|
-
}, ((
|
|
714
|
-
...(
|
|
715
|
-
...(
|
|
716
|
-
}), ((
|
|
713
|
+
}, ((y = e == null ? void 0 : e.regardedOwner) != null && y.address || (B = a == null ? void 0 : a.regardedOwner) != null && B.address) && (n.regardedOwner.address = {
|
|
714
|
+
...(I = e == null ? void 0 : e.regardedOwner) == null ? void 0 : I.address,
|
|
715
|
+
...(z = a == null ? void 0 : a.regardedOwner) == null ? void 0 : z.address
|
|
716
|
+
}), ((p = e == null ? void 0 : e.regardedOwner) != null && p.mailingAddress || (G = a == null ? void 0 : a.regardedOwner) != null && G.mailingAddress) && (n.regardedOwner.mailingAddress = {
|
|
717
717
|
...(J = e == null ? void 0 : e.regardedOwner) == null ? void 0 : J.mailingAddress,
|
|
718
|
-
...(
|
|
718
|
+
...(X = a == null ? void 0 : a.regardedOwner) == null ? void 0 : X.mailingAddress
|
|
719
719
|
})), n;
|
|
720
|
-
}, ar = (e) => e.replace(/[A-Z]/g, (a) => `_${a.toLowerCase()}`),
|
|
720
|
+
}, ar = (e) => e.replace(/[A-Z]/g, (a) => `_${a.toLowerCase()}`), qa = (e) => Array.isArray(e) ? e.map((a) => qa(a)) : typeof e == "function" || e !== Object(e) ? e : Object.fromEntries(
|
|
721
721
|
Object.entries(e).map(
|
|
722
722
|
([a, n]) => [
|
|
723
723
|
ar(a),
|
|
724
|
-
|
|
724
|
+
qa(n)
|
|
725
725
|
]
|
|
726
726
|
)
|
|
727
|
-
), ir = "0.4.
|
|
727
|
+
), ir = "0.4.3", x = (e) => e === void 0 ? void 0 : e === "yes", nr = (e) => {
|
|
728
728
|
const a = {
|
|
729
729
|
city: e.accountHolderAddressCity,
|
|
730
730
|
country: e.accountHolderAddressCountry,
|
|
@@ -769,35 +769,35 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
769
769
|
{
|
|
770
770
|
country: e.accountHolderTaxResidenceCountry1,
|
|
771
771
|
tin: e.accountHolderTaxResidenceForeignTin1,
|
|
772
|
-
tinNotRequired:
|
|
772
|
+
tinNotRequired: x(
|
|
773
773
|
e.accountHolderTaxResidenceForeignTin1IsNotRequired
|
|
774
774
|
)
|
|
775
775
|
},
|
|
776
776
|
{
|
|
777
777
|
country: e.accountHolderTaxResidenceCountry2,
|
|
778
778
|
tin: e.accountHolderTaxResidenceForeignTin2,
|
|
779
|
-
tinNotRequired:
|
|
779
|
+
tinNotRequired: x(
|
|
780
780
|
e.accountHolderTaxResidenceForeignTin2IsNotRequired
|
|
781
781
|
)
|
|
782
782
|
},
|
|
783
783
|
{
|
|
784
784
|
country: e.accountHolderTaxResidenceCountry3,
|
|
785
785
|
tin: e.accountHolderTaxResidenceForeignTin3,
|
|
786
|
-
tinNotRequired:
|
|
786
|
+
tinNotRequired: x(
|
|
787
787
|
e.accountHolderTaxResidenceForeignTin3IsNotRequired
|
|
788
788
|
)
|
|
789
789
|
},
|
|
790
790
|
{
|
|
791
791
|
country: e.accountHolderTaxResidenceCountry4,
|
|
792
792
|
tin: e.accountHolderTaxResidenceForeignTin4,
|
|
793
|
-
tinNotRequired:
|
|
793
|
+
tinNotRequired: x(
|
|
794
794
|
e.accountHolderTaxResidenceForeignTin4IsNotRequired
|
|
795
795
|
)
|
|
796
796
|
},
|
|
797
797
|
{
|
|
798
798
|
country: e.accountHolderTaxResidenceCountry5,
|
|
799
799
|
tin: e.accountHolderTaxResidenceForeignTin5,
|
|
800
|
-
tinNotRequired:
|
|
800
|
+
tinNotRequired: x(
|
|
801
801
|
e.accountHolderTaxResidenceForeignTin5IsNotRequired
|
|
802
802
|
)
|
|
803
803
|
}
|
|
@@ -812,16 +812,18 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
812
812
|
dateOfBirth: e.accountHolderDateOfBirth,
|
|
813
813
|
dbaName: e.accountHolderDbaName,
|
|
814
814
|
mailingAddress: rr(e),
|
|
815
|
-
mailingAddressIsDifferent:
|
|
815
|
+
mailingAddressIsDifferent: x(
|
|
816
816
|
e.accountHolderMailingAddressIsDifferent
|
|
817
817
|
),
|
|
818
818
|
name: e.accountHolderName,
|
|
819
819
|
cityOfBirth: e.accountHolderCityOfBirth,
|
|
820
820
|
countryOfBirth: e.accountHolderCountryOfBirth,
|
|
821
821
|
financialAccountIdentifier: e.accountHolderFinancialAccountIdentifier,
|
|
822
|
-
financialAccountName:
|
|
822
|
+
financialAccountName: D(
|
|
823
|
+
e.accountHolderFinancialAccountIdentifier
|
|
824
|
+
) ? e.accountHolderFinancialAccountName : void 0,
|
|
823
825
|
ftin: e.accountHolderForeignTin,
|
|
824
|
-
ftinNotLegallyRequired:
|
|
826
|
+
ftinNotLegallyRequired: x(
|
|
825
827
|
e.accountHolderForeignTinIsNotRequired
|
|
826
828
|
),
|
|
827
829
|
taxResidences: sr(e),
|
|
@@ -830,17 +832,17 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
830
832
|
vatinCountry: e.accountHolderVatCountry,
|
|
831
833
|
businessRegistrationCountry: e.accountHolderBusinessRegistrationCountry,
|
|
832
834
|
businessRegistrationNumber: e.accountHolderBusinessRegistrationNumber,
|
|
833
|
-
vatinNotRequired:
|
|
835
|
+
vatinNotRequired: x(e.accountHolderVatIsNotRequired),
|
|
834
836
|
exemptFatcaCode: e.exemptFatcaCode,
|
|
835
837
|
exemptPayeeCode: e.exemptPayeeCode,
|
|
836
|
-
isIndividual:
|
|
837
|
-
isEuResident:
|
|
838
|
-
isUsPerson:
|
|
838
|
+
isIndividual: x(e.accountHolderIsIndividual),
|
|
839
|
+
isEuResident: x(e.accountHolderIsEuResident),
|
|
840
|
+
isUsPerson: x(e.accountHolderUsPerson),
|
|
839
841
|
usAccountType: e.accountHolderUsAccountType,
|
|
840
|
-
usSmllcElection:
|
|
842
|
+
usSmllcElection: x(e.accountHolderUsSmllcElection),
|
|
841
843
|
usLlcClassification: e.accountHolderUsLlcClassification,
|
|
842
844
|
usOtherClassification: e.accountHolderUsOtherClassification,
|
|
843
|
-
usTrustEstateEin:
|
|
845
|
+
usTrustEstateEin: x(e.accountHolderUsTrustEstateEin),
|
|
844
846
|
foreignAccountType: e.accountHolderForeignAccountType,
|
|
845
847
|
foreignTrustClassification: e.accountHolderForeignTrustClassification,
|
|
846
848
|
foreignOtherClassification: e.accountHolderForeignOtherClassification
|
|
@@ -853,22 +855,22 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
853
855
|
dateOfBirth: e.regardedOwnerDateOfBirth,
|
|
854
856
|
dbaName: e.regardedOwnerDbaName,
|
|
855
857
|
mailingAddress: or(e),
|
|
856
|
-
mailingAddressIsDifferent:
|
|
858
|
+
mailingAddressIsDifferent: x(
|
|
857
859
|
e.regardedOwnerMailingAddressIsDifferent
|
|
858
860
|
),
|
|
859
861
|
name: e.regardedOwnerName,
|
|
860
862
|
ftin: e.regardedOwnerForeignTin,
|
|
861
|
-
ftinNotLegallyRequired:
|
|
863
|
+
ftinNotLegallyRequired: x(
|
|
862
864
|
e.regardedOwnerForeignTinIsNotRequired
|
|
863
865
|
),
|
|
864
866
|
tin: e.regardedOwnerUsTin,
|
|
865
867
|
exemptFatcaCode: e.exemptFatcaCode,
|
|
866
868
|
exemptPayeeCode: e.exemptPayeeCode,
|
|
867
|
-
isUsPerson:
|
|
869
|
+
isUsPerson: x(e.regardedOwnerUsPerson),
|
|
868
870
|
usAccountType: e.regardedOwnerUsAccountType,
|
|
869
871
|
usLlcClassification: e.regardedOwnerUsLlcClassification,
|
|
870
872
|
usOtherClassification: e.regardedOwnerUsOtherClassification,
|
|
871
|
-
usTrustEstateEin:
|
|
873
|
+
usTrustEstateEin: x(e.regardedOwnerUsTrustEstateEin),
|
|
872
874
|
foreignAccountType: e.regardedOwnerForeignAccountType,
|
|
873
875
|
foreignTrustClassification: e.regardedOwnerForeignTrustClassification,
|
|
874
876
|
foreignOtherClassification: e.regardedOwnerForeignOtherClassification
|
|
@@ -877,11 +879,11 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
877
879
|
}, ur = (e) => ({
|
|
878
880
|
accountHolder: lr(e),
|
|
879
881
|
regardedOwner: dr(e),
|
|
880
|
-
hasCertified:
|
|
881
|
-
isNotSubjectBackupWithholding:
|
|
882
|
+
hasCertified: x(e.iCertifyToAll),
|
|
883
|
+
isNotSubjectBackupWithholding: x(
|
|
882
884
|
e.iAmNotSubjectToBackupWithholding
|
|
883
885
|
),
|
|
884
|
-
isConfirmedCorrectComplete:
|
|
886
|
+
isConfirmedCorrectComplete: x(
|
|
885
887
|
e.iConfirmTheInformationIsCorrectComplete
|
|
886
888
|
),
|
|
887
889
|
signature: e.signature,
|
|
@@ -894,7 +896,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
894
896
|
))
|
|
895
897
|
return e;
|
|
896
898
|
}, Wn = (e) => {
|
|
897
|
-
if (e &&
|
|
899
|
+
if (e && Pt.includes(
|
|
898
900
|
e
|
|
899
901
|
))
|
|
900
902
|
return e;
|
|
@@ -912,7 +914,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
912
914
|
))
|
|
913
915
|
return e;
|
|
914
916
|
}, ut = (e) => {
|
|
915
|
-
const { hasNoEUTaxId: a } = xa(e), n = (o) =>
|
|
917
|
+
const { hasNoEUTaxId: a } = xa(e), n = (o) => D(e[`accountHolderTaxResidenceForeignTin${o}`]) || e[`accountHolderTaxResidenceForeignTin${o}IsNotRequired`] === "yes", r = (o) => D(e[`accountHolderTaxResidenceCountry${o}`]) && R(e[`accountHolderTaxResidenceForeignTin${o}IsNotRequired`]);
|
|
916
918
|
return {
|
|
917
919
|
accountHolderUsPerson: !0,
|
|
918
920
|
accountHolderIsEuResident: !0,
|
|
@@ -931,6 +933,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
931
933
|
e.accountHolderUsAccountType
|
|
932
934
|
),
|
|
933
935
|
accountHolderDateOfBirth: (e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.accountHolderIsIndividual) === "yes",
|
|
936
|
+
accountHolderFinancialAccountName: !!(e != null && e.accountHolderFinancialAccountIdentifier),
|
|
934
937
|
accountHolderAddress: !0,
|
|
935
938
|
accountHolderAddressCountry: !0,
|
|
936
939
|
accountHolderAddressStreet: !0,
|
|
@@ -952,7 +955,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
952
955
|
accountHolderCityOfBirth: a,
|
|
953
956
|
accountHolderCountryOfBirth: a,
|
|
954
957
|
accountHolderTaxResidenceCountry1: !0,
|
|
955
|
-
accountHolderTaxResidenceForeignTin1:
|
|
958
|
+
accountHolderTaxResidenceForeignTin1: R(
|
|
956
959
|
e.accountHolderTaxResidenceForeignTin1IsNotRequired
|
|
957
960
|
),
|
|
958
961
|
accountHolderTaxResidenceCountry2: n("2"),
|
|
@@ -992,7 +995,7 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
992
995
|
iConfirmTheInformationIsCorrectComplete: !0,
|
|
993
996
|
signature: !0
|
|
994
997
|
};
|
|
995
|
-
},
|
|
998
|
+
}, Pa = [
|
|
996
999
|
"000000000",
|
|
997
1000
|
"111111111",
|
|
998
1001
|
"222222222",
|
|
@@ -1009,18 +1012,18 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1009
1012
|
"876543210",
|
|
1010
1013
|
"987654321",
|
|
1011
1014
|
"098765432"
|
|
1012
|
-
],
|
|
1015
|
+
], Ra = /^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/, Fa = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/, Ka = /^\d{5}$|^\d{5}-\d{4}$/, ct = (e) => /^(.)\1+$/.test(e), Ya = (e) => D(e) && e.length >= 2 && e.length <= 22 && !ct(e), cr = (e) => D(e) && e.length >= 8 && e.length <= 14 && !ct(e), wa = (e) => (a) => {
|
|
1013
1016
|
const n = a[`accountHolderTaxResidenceForeignTin${e}`];
|
|
1014
|
-
if (!
|
|
1017
|
+
if (!Ya(n) && D(a[`accountHolderTaxResidenceCountry${e}`]) && R(
|
|
1015
1018
|
a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
|
|
1016
1019
|
))
|
|
1017
1020
|
return ["invalid"];
|
|
1018
|
-
if (
|
|
1021
|
+
if (D(n) && a[`accountHolderTaxResidenceCountry${e}`] === a.accountHolderVatCountry && n === a.accountHolderVatIdentificationNumber)
|
|
1019
1022
|
return ["mustNotMatchVatin"];
|
|
1020
1023
|
}, Va = {
|
|
1021
1024
|
accountHolderDateOfBirth: (e) => {
|
|
1022
1025
|
const a = e.accountHolderDateOfBirth;
|
|
1023
|
-
if (
|
|
1026
|
+
if (D(a)) {
|
|
1024
1027
|
if (!St(a))
|
|
1025
1028
|
return ["mustBeInDateFormat"];
|
|
1026
1029
|
if (!Nt(a))
|
|
@@ -1056,36 +1059,40 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1056
1059
|
accountHolderUsTin: (e) => {
|
|
1057
1060
|
const a = e.accountHolderUsTin;
|
|
1058
1061
|
if ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0) {
|
|
1059
|
-
if (
|
|
1062
|
+
if (R(a))
|
|
1060
1063
|
return;
|
|
1061
|
-
if (!
|
|
1064
|
+
if (!Ra.test(a))
|
|
1062
1065
|
return ["mustBeNineDigits"];
|
|
1063
|
-
if (
|
|
1066
|
+
if (Pa.includes(a))
|
|
1064
1067
|
return ["invalid"];
|
|
1065
1068
|
} else if ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && a !== void 0 && a !== "") {
|
|
1066
|
-
if (!
|
|
1069
|
+
if (!Ra.test(a))
|
|
1067
1070
|
return ["mustBeNineDigits"];
|
|
1068
|
-
if (
|
|
1071
|
+
if (Pa.includes(a))
|
|
1069
1072
|
return ["invalid"];
|
|
1070
1073
|
}
|
|
1071
1074
|
},
|
|
1072
|
-
accountHolderVatIdentificationNumber: (e) => {
|
|
1073
|
-
const
|
|
1074
|
-
if (
|
|
1075
|
+
accountHolderVatIdentificationNumber: (e, a) => {
|
|
1076
|
+
const n = e.accountHolderVatIdentificationNumber;
|
|
1077
|
+
if (a && a.find(
|
|
1078
|
+
(o) => o.type === "vat" && o.identifier === n
|
|
1079
|
+
))
|
|
1080
|
+
return ["invalidVat"];
|
|
1081
|
+
if (e.accountHolderVatIsNotRequired !== "yes" && !cr(n))
|
|
1075
1082
|
return ["invalid"];
|
|
1076
1083
|
},
|
|
1077
1084
|
accountHolderBusinessRegistrationNumber: (e) => {
|
|
1078
1085
|
const a = e.accountHolderBusinessRegistrationNumber;
|
|
1079
|
-
if (e.accountHolderIsIndividual === "no" && !
|
|
1086
|
+
if (e.accountHolderIsIndividual === "no" && !Ya(a))
|
|
1080
1087
|
return ["invalid"];
|
|
1081
|
-
if (
|
|
1088
|
+
if (D(a) && e.accountHolderBusinessRegistrationCountry === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
|
|
1082
1089
|
return ["mustNotMatchVatin"];
|
|
1083
1090
|
},
|
|
1084
1091
|
accountHolderTaxResidenceForeignTin1: (e) => {
|
|
1085
1092
|
const a = e.accountHolderTaxResidenceForeignTin1;
|
|
1086
|
-
if (!
|
|
1093
|
+
if (!Ya(a) && R(e.accountHolderTaxResidenceForeignTin1IsNotRequired))
|
|
1087
1094
|
return ["invalid"];
|
|
1088
|
-
if (
|
|
1095
|
+
if (D(a) && e.accountHolderTaxResidenceCountry1 === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
|
|
1089
1096
|
return ["mustNotMatchVatin"];
|
|
1090
1097
|
},
|
|
1091
1098
|
accountHolderTaxResidenceForeignTin2: wa("2"),
|
|
@@ -1096,13 +1103,13 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1096
1103
|
const a = e.regardedOwnerDbaName;
|
|
1097
1104
|
if (e.regardedOwnerUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
|
|
1098
1105
|
e.regardedOwnerUsAccountType
|
|
1099
|
-
) &&
|
|
1106
|
+
) && R(a))
|
|
1100
1107
|
return ["required"];
|
|
1101
1108
|
},
|
|
1102
1109
|
regardedOwnerAddressZip: (e) => {
|
|
1103
1110
|
const a = e.regardedOwnerAddressZip;
|
|
1104
1111
|
if (e.regardedOwnerAddressCountry === "US") {
|
|
1105
|
-
if (
|
|
1112
|
+
if (R(a))
|
|
1106
1113
|
return ["required"];
|
|
1107
1114
|
if (!/^\d{5}$|^\d{5}-\d{4}|^\d{9}$/.test(a))
|
|
1108
1115
|
return ["mustBeFiveOrNineDigits"];
|
|
@@ -1123,14 +1130,14 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1123
1130
|
regardedOwnerUsTin: (e) => {
|
|
1124
1131
|
const a = e.regardedOwnerUsTin;
|
|
1125
1132
|
if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "yes") {
|
|
1126
|
-
if (
|
|
1133
|
+
if (D(a) && !Ra.test(a))
|
|
1127
1134
|
return ["mustBeNineDigits"];
|
|
1128
|
-
if (
|
|
1135
|
+
if (D(a) && Pa.includes(a))
|
|
1129
1136
|
return ["invalid"];
|
|
1130
1137
|
} else if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "no" && a !== void 0 && a !== "") {
|
|
1131
|
-
if (!
|
|
1138
|
+
if (!Ra.test(a))
|
|
1132
1139
|
return ["mustBeNineDigits"];
|
|
1133
|
-
if (
|
|
1140
|
+
if (Pa.includes(a))
|
|
1134
1141
|
return ["invalid"];
|
|
1135
1142
|
}
|
|
1136
1143
|
},
|
|
@@ -1142,23 +1149,27 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1142
1149
|
e.accountHolderTaxResidenceCountry4,
|
|
1143
1150
|
e.accountHolderTaxResidenceCountry5
|
|
1144
1151
|
], o = e.accountHolderVatCountry, s = [];
|
|
1145
|
-
return e.accountHolderVatIsNotRequired !== "yes" && !r.includes(o) && s.push("residencesMustIncludeVatCountry"), r.includes(a) || s.push("residencesMustIncludeAddressCountry"), r.every((
|
|
1152
|
+
return e.accountHolderVatIsNotRequired !== "yes" && !r.includes(o) && s.push("residencesMustIncludeVatCountry"), r.includes(a) || s.push("residencesMustIncludeAddressCountry"), r.every((d) => !oe(d)) && n && s.push("residencesMustIncludeAnEUCountry"), s.length > 0 ? s : void 0;
|
|
1146
1153
|
},
|
|
1147
1154
|
signature: (e) => {
|
|
1148
1155
|
if (e.signature !== e.accountHolderName && (e.accountHolderUsAccountType === "individual" || e.accountHolderForeignAccountType === "individual"))
|
|
1149
1156
|
return ["mustMatchName"];
|
|
1150
1157
|
}
|
|
1151
|
-
}, mr = (e) => {
|
|
1152
|
-
const
|
|
1158
|
+
}, mr = (e, a) => {
|
|
1159
|
+
const n = ut(e);
|
|
1153
1160
|
return Object.fromEntries(
|
|
1154
|
-
Object.keys(e).map((
|
|
1155
|
-
var
|
|
1156
|
-
const
|
|
1161
|
+
Object.keys(e).map((r) => {
|
|
1162
|
+
var s;
|
|
1163
|
+
const o = e[r];
|
|
1157
1164
|
return [
|
|
1158
|
-
|
|
1159
|
-
|
|
1165
|
+
r,
|
|
1166
|
+
n[r] && R(o) && ["required"] || ((s = Va[r]) == null ? void 0 : s.call(
|
|
1167
|
+
Va,
|
|
1168
|
+
e,
|
|
1169
|
+
a
|
|
1170
|
+
)) || void 0
|
|
1160
1171
|
];
|
|
1161
|
-
}).filter(([,
|
|
1172
|
+
}).filter(([, r]) => r)
|
|
1162
1173
|
);
|
|
1163
1174
|
}, mt = (e) => ({
|
|
1164
1175
|
accountHolderUsPerson: e.includes("W-9") && (e.includes("W-8BEN") || e.includes("W-8BEN-E")),
|
|
@@ -1275,12 +1286,12 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1275
1286
|
accountHolderIsDisregarded: r,
|
|
1276
1287
|
isW9: o,
|
|
1277
1288
|
isW8BenE: s,
|
|
1278
|
-
isW8:
|
|
1279
|
-
hasNoEUTaxId:
|
|
1289
|
+
isW8: d,
|
|
1290
|
+
hasNoEUTaxId: l,
|
|
1280
1291
|
hasTaxResidence: m,
|
|
1281
|
-
isDac7:
|
|
1292
|
+
isDac7: k,
|
|
1282
1293
|
isIndividual: g
|
|
1283
|
-
} = xa(e, a), c =
|
|
1294
|
+
} = xa(e, a), c = k && e.accountHolderIsEuResident === "yes";
|
|
1284
1295
|
return {
|
|
1285
1296
|
...n,
|
|
1286
1297
|
// Account Holder Account Classification
|
|
@@ -1302,8 +1313,8 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1302
1313
|
accountHolderAddressStreet: e.accountHolderIsEuResident === "yes" || e.accountHolderUsPerson !== void 0 || e.accountHolderUsAccountType !== void 0,
|
|
1303
1314
|
accountHolderAddressZip: e.accountHolderIsEuResident === "yes" || e.accountHolderUsPerson !== void 0 || e.accountHolderUsAccountType !== void 0,
|
|
1304
1315
|
accountHolderCountryOfCitizenship: e.accountHolderUsPerson === "no",
|
|
1305
|
-
accountHolderCityOfBirth: g &&
|
|
1306
|
-
accountHolderCountryOfBirth: g &&
|
|
1316
|
+
accountHolderCityOfBirth: g && l && m,
|
|
1317
|
+
accountHolderCountryOfBirth: g && l && m,
|
|
1307
1318
|
accountHolderDateOfBirth: e.accountHolderIsIndividual === "yes" && e.accountHolderIsEuResident === "yes" || e.accountHolderForeignAccountType === "individual",
|
|
1308
1319
|
accountHolderMailingAddressIsDifferent: e.accountHolderUsPerson === "no",
|
|
1309
1320
|
accountHolderMailingAddressCity: e.accountHolderMailingAddressIsDifferent === "yes",
|
|
@@ -1370,12 +1381,12 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1370
1381
|
iAmNotSubjectToBackupWithholding: o,
|
|
1371
1382
|
iAmACitizenOfTheUs: o,
|
|
1372
1383
|
iAuthorizeWithholdingAgent: s,
|
|
1373
|
-
iConfirmIncomeIsNonUs:
|
|
1374
|
-
iConfirmTheEntityIsTheBeneficialOwner:
|
|
1375
|
-
iConfirmTheBeneficialOwnerIsExempt:
|
|
1384
|
+
iConfirmIncomeIsNonUs: d,
|
|
1385
|
+
iConfirmTheEntityIsTheBeneficialOwner: d,
|
|
1386
|
+
iConfirmTheBeneficialOwnerIsExempt: d,
|
|
1376
1387
|
iConfirmTheTaxIdIsCorrect: o,
|
|
1377
|
-
iConfirmTheEntityIsNotAUsPerson:
|
|
1378
|
-
iConfirmTheInformationIsCorrectComplete:
|
|
1388
|
+
iConfirmTheEntityIsNotAUsPerson: d,
|
|
1389
|
+
iConfirmTheInformationIsCorrectComplete: k,
|
|
1379
1390
|
iHaveLegalCapacityToSign: o,
|
|
1380
1391
|
accountHolderTaxResidences: c,
|
|
1381
1392
|
accountHolderAddress: e.accountHolderIsEuResident === "yes" || e.accountHolderUsPerson !== void 0 || e.accountHolderUsAccountType !== void 0,
|
|
@@ -1384,46 +1395,46 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1384
1395
|
regardedOwnerMailingAddress: e.regardedOwnerMailingAddressIsDifferent === "yes"
|
|
1385
1396
|
};
|
|
1386
1397
|
}, Yn = (e, a) => {
|
|
1387
|
-
var o, s,
|
|
1398
|
+
var o, s, d, l, m, k, g, c, v, A, f, y, B, I, z, p, G, J, X, ce, T, M, H, te, Se, q, ie, re, Ae, me, Ne, ge, Te, Me, ye, O, F, we, He, Le, je, Ge, Oe, ua, Ve, ca, ma, ze, Ee, We, Je, Be, ga, ka, xe, ha, va, Ze, qe, be, pa, Ye, _e, Ue, fa, Aa, ba, Ca, Ia, Sa, Na, De, Qe, ke, Fe, Ke, Xe, Ta, $e, Ma, ea, aa, ya, ja, ia, Oa, za, Ea, Ba, t, u, h, C, j, P, N, S, K, w, L, Z, he, na, ne, ai, ii, ni, ti, ri, oi, 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, xi, Ui, Di, Fi, 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, Gn, xn, Un;
|
|
1388
1399
|
if (e == null)
|
|
1389
1400
|
return {};
|
|
1390
1401
|
const n = {
|
|
1391
1402
|
accountHolderName: (o = e.accountHolder) == null ? void 0 : o.name,
|
|
1392
1403
|
accountHolderDbaName: (s = e.accountHolder) == null ? void 0 : s.dbaName,
|
|
1393
|
-
accountHolderDateOfBirth: (
|
|
1394
|
-
accountHolderCityOfBirth: (
|
|
1404
|
+
accountHolderDateOfBirth: (d = e.accountHolder) == null ? void 0 : d.dateOfBirth,
|
|
1405
|
+
accountHolderCityOfBirth: (l = e.accountHolder) == null ? void 0 : l.cityOfBirth,
|
|
1395
1406
|
accountHolderCountryOfBirth: (m = e.accountHolder) == null ? void 0 : m.countryOfBirth,
|
|
1396
|
-
accountHolderUsTin: (
|
|
1407
|
+
accountHolderUsTin: (k = e.accountHolder) == null ? void 0 : k.tin,
|
|
1397
1408
|
accountHolderForeignTin: (g = e.accountHolder) != null && g.ftinNotLegallyRequired || (c = e.accountHolder) == null ? void 0 : c.ftin,
|
|
1398
|
-
accountHolderForeignTinIsNotRequired: (
|
|
1399
|
-
accountHolderCountryOfCitizenship: (
|
|
1400
|
-
accountHolderAddress: (
|
|
1401
|
-
accountHolderAddressStreet: (
|
|
1402
|
-
accountHolderAddressStreet2: (
|
|
1403
|
-
accountHolderAddressCity: (J = (
|
|
1404
|
-
accountHolderAddressState: (
|
|
1405
|
-
accountHolderAddressZip: (
|
|
1406
|
-
accountHolderAddressCountry: (
|
|
1407
|
-
accountHolderMailingAddressIsDifferent: (
|
|
1408
|
-
accountHolderMailingAddress: (
|
|
1409
|
-
accountHolderMailingAddressStreet: (
|
|
1410
|
-
accountHolderMailingAddressStreet2: (
|
|
1411
|
-
accountHolderMailingAddressCity: (
|
|
1412
|
-
accountHolderMailingAddressState: (
|
|
1413
|
-
accountHolderMailingAddressZip: (
|
|
1414
|
-
accountHolderMailingAddressCountry: (
|
|
1415
|
-
accountHolderIsIndividual: ((
|
|
1416
|
-
accountHolderIsEuResident: ((
|
|
1417
|
-
accountHolderUsPerson: ((ua = e.accountHolder) == null ? void 0 : ua.isUsPerson) === !0 ? "yes" : ((
|
|
1409
|
+
accountHolderForeignTinIsNotRequired: (v = e.accountHolder) != null && v.ftinNotLegallyRequired ? "yes" : void 0,
|
|
1410
|
+
accountHolderCountryOfCitizenship: (A = e.accountHolder) == null ? void 0 : A.countryOfCitizenship,
|
|
1411
|
+
accountHolderAddress: (y = (f = e.accountHolder) == null ? void 0 : f.address) == null ? void 0 : y.country,
|
|
1412
|
+
accountHolderAddressStreet: (I = (B = e.accountHolder) == null ? void 0 : B.address) == null ? void 0 : I.firstLine,
|
|
1413
|
+
accountHolderAddressStreet2: (p = (z = e.accountHolder) == null ? void 0 : z.address) == null ? void 0 : p.secondLine,
|
|
1414
|
+
accountHolderAddressCity: (J = (G = e.accountHolder) == null ? void 0 : G.address) == null ? void 0 : J.city,
|
|
1415
|
+
accountHolderAddressState: (ce = (X = e.accountHolder) == null ? void 0 : X.address) == null ? void 0 : ce.stateOrProvince,
|
|
1416
|
+
accountHolderAddressZip: (M = (T = e.accountHolder) == null ? void 0 : T.address) == null ? void 0 : M.postalCode,
|
|
1417
|
+
accountHolderAddressCountry: (te = (H = e.accountHolder) == null ? void 0 : H.address) == null ? void 0 : te.country,
|
|
1418
|
+
accountHolderMailingAddressIsDifferent: (Se = e.accountHolder) != null && Se.mailingAddressIsDifferent ? "yes" : void 0,
|
|
1419
|
+
accountHolderMailingAddress: (ie = (q = e.accountHolder) == null ? void 0 : q.mailingAddress) == null ? void 0 : ie.country,
|
|
1420
|
+
accountHolderMailingAddressStreet: (Ae = (re = e.accountHolder) == null ? void 0 : re.mailingAddress) == null ? void 0 : Ae.firstLine,
|
|
1421
|
+
accountHolderMailingAddressStreet2: (Ne = (me = e.accountHolder) == null ? void 0 : me.mailingAddress) == null ? void 0 : Ne.secondLine,
|
|
1422
|
+
accountHolderMailingAddressCity: (Te = (ge = e.accountHolder) == null ? void 0 : ge.mailingAddress) == null ? void 0 : Te.city,
|
|
1423
|
+
accountHolderMailingAddressState: (ye = (Me = e.accountHolder) == null ? void 0 : Me.mailingAddress) == null ? void 0 : ye.stateOrProvince,
|
|
1424
|
+
accountHolderMailingAddressZip: (F = (O = e.accountHolder) == null ? void 0 : O.mailingAddress) == null ? void 0 : F.postalCode,
|
|
1425
|
+
accountHolderMailingAddressCountry: (He = (we = e.accountHolder) == null ? void 0 : we.mailingAddress) == null ? void 0 : He.country,
|
|
1426
|
+
accountHolderIsIndividual: ((Le = e.accountHolder) == null ? void 0 : Le.isIndividual) === !0 ? "yes" : ((je = e.accountHolder) == null ? void 0 : je.isIndividual) === !1 ? "no" : void 0,
|
|
1427
|
+
accountHolderIsEuResident: ((Ge = e.accountHolder) == null ? void 0 : Ge.isEuResident) === !0 ? "yes" : ((Oe = e.accountHolder) == null ? void 0 : Oe.isEuResident) === !1 ? "no" : void 0,
|
|
1428
|
+
accountHolderUsPerson: ((ua = e.accountHolder) == null ? void 0 : ua.isUsPerson) === !0 ? "yes" : ((Ve = e.accountHolder) == null ? void 0 : Ve.isUsPerson) === !1 ? "no" : void 0,
|
|
1418
1429
|
accountHolderUsAccountType: qn(
|
|
1419
1430
|
(ca = e.accountHolder) == null ? void 0 : ca.usAccountType
|
|
1420
1431
|
),
|
|
1421
|
-
accountHolderUsSmllcElection: ((ma = e.accountHolder) == null ? void 0 : ma.usSmllcElection) === !0 ? "yes" : ((
|
|
1432
|
+
accountHolderUsSmllcElection: ((ma = e.accountHolder) == null ? void 0 : ma.usSmllcElection) === !0 ? "yes" : ((ze = e.accountHolder) == null ? void 0 : ze.usSmllcElection) === !1 ? "no" : void 0,
|
|
1422
1433
|
accountHolderUsLlcClassification: Zn(
|
|
1423
|
-
(
|
|
1434
|
+
(Ee = e.accountHolder) == null ? void 0 : Ee.usLlcClassification
|
|
1424
1435
|
),
|
|
1425
|
-
accountHolderUsOtherClassification: (
|
|
1426
|
-
accountHolderUsTrustEstateEin: ((
|
|
1436
|
+
accountHolderUsOtherClassification: (We = e.accountHolder) == null ? void 0 : We.usOtherClassification,
|
|
1437
|
+
accountHolderUsTrustEstateEin: ((Je = e.accountHolder) == null ? void 0 : Je.usTrustEstateEin) === !0 ? "yes" : ((Be = e.accountHolder) == null ? void 0 : Be.usTrustEstateEin) === !1 ? "no" : void 0,
|
|
1427
1438
|
accountHolderForeignAccountType: Vn(
|
|
1428
1439
|
(ga = e.accountHolder) == null ? void 0 : ga.foreignAccountType
|
|
1429
1440
|
),
|
|
@@ -1431,76 +1442,76 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1431
1442
|
(ka = e.accountHolder) == null ? void 0 : ka.foreignTrustClassification
|
|
1432
1443
|
),
|
|
1433
1444
|
accountHolderForeignOtherClassification: Wn(
|
|
1434
|
-
(
|
|
1445
|
+
(xe = e.accountHolder) == null ? void 0 : xe.foreignOtherClassification
|
|
1435
1446
|
),
|
|
1436
|
-
accountHolderFinancialAccountName:
|
|
1447
|
+
accountHolderFinancialAccountName: R(
|
|
1437
1448
|
(ha = e.accountHolder) == null ? void 0 : ha.financialAccountName
|
|
1438
|
-
) ? (
|
|
1439
|
-
accountHolderFinancialAccountIdentifier: (
|
|
1440
|
-
accountHolderVatIdentificationNumber: (
|
|
1441
|
-
accountHolderVatCountry: (
|
|
1442
|
-
accountHolderVatIsNotRequired: (
|
|
1449
|
+
) ? (va = e.accountHolder) == null ? void 0 : va.name : (Ze = e.accountHolder) == null ? void 0 : Ze.financialAccountName,
|
|
1450
|
+
accountHolderFinancialAccountIdentifier: (qe = e.accountHolder) == null ? void 0 : qe.financialAccountIdentifier,
|
|
1451
|
+
accountHolderVatIdentificationNumber: (be = e.accountHolder) != null && be.vatinNotRequired || (pa = e.accountHolder) == null ? void 0 : pa.vatin,
|
|
1452
|
+
accountHolderVatCountry: (Ye = e.accountHolder) != null && Ye.vatinNotRequired || (_e = e.accountHolder) == null ? void 0 : _e.vatinCountry,
|
|
1453
|
+
accountHolderVatIsNotRequired: (Ue = e.accountHolder) != null && Ue.vatinNotRequired ? "yes" : void 0,
|
|
1443
1454
|
accountHolderBusinessRegistrationNumber: (fa = e.accountHolder) == null ? void 0 : fa.businessRegistrationNumber,
|
|
1444
1455
|
accountHolderBusinessRegistrationCountry: (Aa = e.accountHolder) == null ? void 0 : Aa.businessRegistrationCountry,
|
|
1445
|
-
accountHolderShowTaxResidence2: !
|
|
1446
|
-
accountHolderShowTaxResidence3: !
|
|
1447
|
-
accountHolderShowTaxResidence4: !
|
|
1448
|
-
accountHolderShowTaxResidence5: !
|
|
1449
|
-
accountHolderTaxResidenceCountry1: (
|
|
1450
|
-
accountHolderTaxResidenceForeignTin1: (
|
|
1451
|
-
accountHolderTaxResidenceForeignTin1IsNotRequired: (
|
|
1452
|
-
accountHolderTaxResidenceCountry2: (
|
|
1453
|
-
accountHolderTaxResidenceForeignTin2: (
|
|
1454
|
-
accountHolderTaxResidenceForeignTin2IsNotRequired: (
|
|
1455
|
-
accountHolderTaxResidenceCountry3: (
|
|
1456
|
-
accountHolderTaxResidenceForeignTin3: (
|
|
1457
|
-
accountHolderTaxResidenceForeignTin3IsNotRequired: (
|
|
1458
|
-
accountHolderTaxResidenceCountry4: (
|
|
1459
|
-
accountHolderTaxResidenceForeignTin4: (
|
|
1460
|
-
accountHolderTaxResidenceForeignTin4IsNotRequired: (Ri = (
|
|
1461
|
-
accountHolderTaxResidenceCountry5: (
|
|
1462
|
-
accountHolderTaxResidenceForeignTin5: (
|
|
1463
|
-
accountHolderTaxResidenceForeignTin5IsNotRequired: (
|
|
1456
|
+
accountHolderShowTaxResidence2: !R((Ia = (Ca = (ba = e.accountHolder) == null ? void 0 : ba.taxResidences) == null ? void 0 : Ca[1]) == null ? void 0 : Ia.country) || !R((De = (Na = (Sa = e.accountHolder) == null ? void 0 : Sa.taxResidences) == null ? void 0 : Na[1]) == null ? void 0 : De.tin) ? "yes" : void 0,
|
|
1457
|
+
accountHolderShowTaxResidence3: !R((Fe = (ke = (Qe = e.accountHolder) == null ? void 0 : Qe.taxResidences) == null ? void 0 : ke[2]) == null ? void 0 : Fe.country) || !R((Ta = (Xe = (Ke = e.accountHolder) == null ? void 0 : Ke.taxResidences) == null ? void 0 : Xe[2]) == null ? void 0 : Ta.tin) ? "yes" : void 0,
|
|
1458
|
+
accountHolderShowTaxResidence4: !R((ea = (Ma = ($e = e.accountHolder) == null ? void 0 : $e.taxResidences) == null ? void 0 : Ma[3]) == null ? void 0 : ea.country) || !R((ja = (ya = (aa = e.accountHolder) == null ? void 0 : aa.taxResidences) == null ? void 0 : ya[3]) == null ? void 0 : ja.tin) ? "yes" : void 0,
|
|
1459
|
+
accountHolderShowTaxResidence5: !R((za = (Oa = (ia = e.accountHolder) == null ? void 0 : ia.taxResidences) == null ? void 0 : Oa[4]) == null ? void 0 : za.country) || !R((t = (Ba = (Ea = e.accountHolder) == null ? void 0 : Ea.taxResidences) == null ? void 0 : Ba[4]) == null ? void 0 : t.tin) ? "yes" : void 0,
|
|
1460
|
+
accountHolderTaxResidenceCountry1: (C = (h = (u = e.accountHolder) == null ? void 0 : u.taxResidences) == null ? void 0 : h[0]) == null ? void 0 : C.country,
|
|
1461
|
+
accountHolderTaxResidenceForeignTin1: (N = (P = (j = e.accountHolder) == null ? void 0 : j.taxResidences) == null ? void 0 : P[0]) != null && N.tinNotRequired || (w = (K = (S = e.accountHolder) == null ? void 0 : S.taxResidences) == null ? void 0 : K[0]) == null ? void 0 : w.tin,
|
|
1462
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired: (he = (Z = (L = e.accountHolder) == null ? void 0 : L.taxResidences) == null ? void 0 : Z[0]) != null && he.tinNotRequired ? "yes" : void 0,
|
|
1463
|
+
accountHolderTaxResidenceCountry2: (ai = (ne = (na = e.accountHolder) == null ? void 0 : na.taxResidences) == null ? void 0 : ne[1]) == null ? void 0 : ai.country,
|
|
1464
|
+
accountHolderTaxResidenceForeignTin2: (ti = (ni = (ii = e.accountHolder) == null ? void 0 : ii.taxResidences) == null ? void 0 : ni[1]) != null && ti.tinNotRequired || (si = (oi = (ri = e.accountHolder) == null ? void 0 : ri.taxResidences) == null ? void 0 : oi[1]) == null ? void 0 : si.tin,
|
|
1465
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired: (ui = (di = (li = e.accountHolder) == null ? void 0 : li.taxResidences) == null ? void 0 : di[1]) != null && ui.tinNotRequired ? "yes" : void 0,
|
|
1466
|
+
accountHolderTaxResidenceCountry3: (gi = (mi = (ci = e.accountHolder) == null ? void 0 : ci.taxResidences) == null ? void 0 : mi[2]) == null ? void 0 : gi.country,
|
|
1467
|
+
accountHolderTaxResidenceForeignTin3: (vi = (hi = (ki = e.accountHolder) == null ? void 0 : ki.taxResidences) == null ? void 0 : hi[2]) != null && vi.tinNotRequired || (Ai = (fi = (pi = e.accountHolder) == null ? void 0 : pi.taxResidences) == null ? void 0 : fi[2]) == null ? void 0 : Ai.tin,
|
|
1468
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired: (Ii = (Ci = (bi = e.accountHolder) == null ? void 0 : bi.taxResidences) == null ? void 0 : Ci[2]) != null && Ii.tinNotRequired ? "yes" : void 0,
|
|
1469
|
+
accountHolderTaxResidenceCountry4: (Ti = (Ni = (Si = e.accountHolder) == null ? void 0 : Si.taxResidences) == null ? void 0 : Ni[3]) == null ? void 0 : Ti.country,
|
|
1470
|
+
accountHolderTaxResidenceForeignTin4: (ji = (yi = (Mi = e.accountHolder) == null ? void 0 : Mi.taxResidences) == null ? void 0 : yi[3]) != null && ji.tinNotRequired || (Ei = (zi = (Oi = e.accountHolder) == null ? void 0 : Oi.taxResidences) == null ? void 0 : zi[3]) == null ? void 0 : Ei.tin,
|
|
1471
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired: (Ri = (Pi = (Bi = e.accountHolder) == null ? void 0 : Bi.taxResidences) == null ? void 0 : Pi[3]) != null && Ri.tinNotRequired ? "yes" : void 0,
|
|
1472
|
+
accountHolderTaxResidenceCountry5: (Li = (Hi = (wi = e.accountHolder) == null ? void 0 : wi.taxResidences) == null ? void 0 : Hi[4]) == null ? void 0 : Li.country,
|
|
1473
|
+
accountHolderTaxResidenceForeignTin5: (Ui = (xi = (Gi = e.accountHolder) == null ? void 0 : Gi.taxResidences) == null ? void 0 : xi[4]) != null && Ui.tinNotRequired || (Ki = (Fi = (Di = e.accountHolder) == null ? void 0 : Di.taxResidences) == null ? void 0 : Fi[4]) == null ? void 0 : Ki.tin,
|
|
1474
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired: (Ji = (Wi = (Vi = e.accountHolder) == null ? void 0 : Vi.taxResidences) == null ? void 0 : Wi[4]) != null && Ji.tinNotRequired ? "yes" : void 0,
|
|
1464
1475
|
accountHolderTaxResidences: void 0,
|
|
1465
|
-
regardedOwnerName: (
|
|
1466
|
-
regardedOwnerDbaName: (
|
|
1467
|
-
regardedOwnerDateOfBirth: (
|
|
1468
|
-
regardedOwnerUsTin: (
|
|
1469
|
-
regardedOwnerForeignTin: (
|
|
1470
|
-
regardedOwnerForeignTinIsNotRequired: (
|
|
1471
|
-
regardedOwnerCountryOfCitizenship: (
|
|
1472
|
-
regardedOwnerAddress: (
|
|
1473
|
-
regardedOwnerAddressStreet: (
|
|
1474
|
-
regardedOwnerAddressStreet2: (
|
|
1475
|
-
regardedOwnerAddressCity: (
|
|
1476
|
-
regardedOwnerAddressState: (
|
|
1477
|
-
regardedOwnerAddressZip: (
|
|
1478
|
-
regardedOwnerAddressCountry: (
|
|
1479
|
-
regardedOwnerMailingAddressIsDifferent: (
|
|
1480
|
-
regardedOwnerMailingAddress: (
|
|
1481
|
-
regardedOwnerMailingAddressStreet: (
|
|
1482
|
-
regardedOwnerMailingAddressStreet2: (
|
|
1483
|
-
regardedOwnerMailingAddressCity: (
|
|
1484
|
-
regardedOwnerMailingAddressState: (
|
|
1485
|
-
regardedOwnerMailingAddressZip: (
|
|
1486
|
-
regardedOwnerMailingAddressCountry: (
|
|
1487
|
-
regardedOwnerUsPerson: ((
|
|
1476
|
+
regardedOwnerName: (Zi = e.regardedOwner) == null ? void 0 : Zi.name,
|
|
1477
|
+
regardedOwnerDbaName: (qi = e.regardedOwner) == null ? void 0 : qi.dbaName,
|
|
1478
|
+
regardedOwnerDateOfBirth: (Yi = e.regardedOwner) == null ? void 0 : Yi.dateOfBirth,
|
|
1479
|
+
regardedOwnerUsTin: (_i = e.regardedOwner) == null ? void 0 : _i.tin,
|
|
1480
|
+
regardedOwnerForeignTin: (Qi = e.regardedOwner) != null && Qi.ftinNotLegallyRequired || (Xi = e.regardedOwner) == null ? void 0 : Xi.ftin,
|
|
1481
|
+
regardedOwnerForeignTinIsNotRequired: ($i = e.regardedOwner) != null && $i.ftinNotLegallyRequired ? "yes" : void 0,
|
|
1482
|
+
regardedOwnerCountryOfCitizenship: (en = e.regardedOwner) == null ? void 0 : en.countryOfCitizenship,
|
|
1483
|
+
regardedOwnerAddress: (nn = (an = e.regardedOwner) == null ? void 0 : an.address) == null ? void 0 : nn.country,
|
|
1484
|
+
regardedOwnerAddressStreet: (rn = (tn = e.regardedOwner) == null ? void 0 : tn.address) == null ? void 0 : rn.firstLine,
|
|
1485
|
+
regardedOwnerAddressStreet2: (sn = (on = e.regardedOwner) == null ? void 0 : on.address) == null ? void 0 : sn.secondLine,
|
|
1486
|
+
regardedOwnerAddressCity: (dn = (ln = e.regardedOwner) == null ? void 0 : ln.address) == null ? void 0 : dn.city,
|
|
1487
|
+
regardedOwnerAddressState: (cn = (un = e.regardedOwner) == null ? void 0 : un.address) == null ? void 0 : cn.stateOrProvince,
|
|
1488
|
+
regardedOwnerAddressZip: (gn = (mn = e.regardedOwner) == null ? void 0 : mn.address) == null ? void 0 : gn.postalCode,
|
|
1489
|
+
regardedOwnerAddressCountry: (hn = (kn = e.regardedOwner) == null ? void 0 : kn.address) == null ? void 0 : hn.country,
|
|
1490
|
+
regardedOwnerMailingAddressIsDifferent: (vn = e.regardedOwner) != null && vn.mailingAddressIsDifferent ? "yes" : void 0,
|
|
1491
|
+
regardedOwnerMailingAddress: (fn = (pn = e.regardedOwner) == null ? void 0 : pn.mailingAddress) == null ? void 0 : fn.country,
|
|
1492
|
+
regardedOwnerMailingAddressStreet: (bn = (An = e.regardedOwner) == null ? void 0 : An.mailingAddress) == null ? void 0 : bn.firstLine,
|
|
1493
|
+
regardedOwnerMailingAddressStreet2: (In = (Cn = e.regardedOwner) == null ? void 0 : Cn.mailingAddress) == null ? void 0 : In.secondLine,
|
|
1494
|
+
regardedOwnerMailingAddressCity: (Nn = (Sn = e.regardedOwner) == null ? void 0 : Sn.mailingAddress) == null ? void 0 : Nn.city,
|
|
1495
|
+
regardedOwnerMailingAddressState: (Mn = (Tn = e.regardedOwner) == null ? void 0 : Tn.mailingAddress) == null ? void 0 : Mn.stateOrProvince,
|
|
1496
|
+
regardedOwnerMailingAddressZip: (jn = (yn = e.regardedOwner) == null ? void 0 : yn.mailingAddress) == null ? void 0 : jn.postalCode,
|
|
1497
|
+
regardedOwnerMailingAddressCountry: (zn = (On = e.regardedOwner) == null ? void 0 : On.mailingAddress) == null ? void 0 : zn.country,
|
|
1498
|
+
regardedOwnerUsPerson: ((En = e.regardedOwner) == null ? void 0 : En.isUsPerson) === !0 ? "yes" : ((Bn = e.regardedOwner) == null ? void 0 : Bn.isUsPerson) === !1 ? "no" : void 0,
|
|
1488
1499
|
regardedOwnerUsAccountType: qn(
|
|
1489
|
-
(
|
|
1500
|
+
(Pn = e.regardedOwner) == null ? void 0 : Pn.usAccountType
|
|
1490
1501
|
),
|
|
1491
1502
|
regardedOwnerUsLlcClassification: Zn(
|
|
1492
1503
|
(Rn = e.regardedOwner) == null ? void 0 : Rn.usLlcClassification
|
|
1493
1504
|
),
|
|
1494
|
-
regardedOwnerUsOtherClassification: (
|
|
1495
|
-
regardedOwnerUsTrustEstateEin: ((
|
|
1505
|
+
regardedOwnerUsOtherClassification: (wn = e.regardedOwner) == null ? void 0 : wn.usOtherClassification,
|
|
1506
|
+
regardedOwnerUsTrustEstateEin: ((Hn = e.regardedOwner) == null ? void 0 : Hn.usTrustEstateEin) === !0 ? "yes" : ((Ln = e.regardedOwner) == null ? void 0 : Ln.usTrustEstateEin) === !1 ? "no" : void 0,
|
|
1496
1507
|
regardedOwnerForeignAccountType: Vn(
|
|
1497
|
-
(
|
|
1508
|
+
(Gn = e.regardedOwner) == null ? void 0 : Gn.foreignAccountType
|
|
1498
1509
|
),
|
|
1499
1510
|
regardedOwnerForeignTrustClassification: Jn(
|
|
1500
|
-
(
|
|
1511
|
+
(xn = e.regardedOwner) == null ? void 0 : xn.foreignTrustClassification
|
|
1501
1512
|
),
|
|
1502
1513
|
regardedOwnerForeignOtherClassification: Wn(
|
|
1503
|
-
(
|
|
1514
|
+
(Un = e.regardedOwner) == null ? void 0 : Un.foreignOtherClassification
|
|
1504
1515
|
),
|
|
1505
1516
|
iConfirmTheInformationIsCorrectComplete: void 0,
|
|
1506
1517
|
isNotSubjectBackupWithholding: void 0
|
|
@@ -1513,54 +1524,50 @@ const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1513
1524
|
}, Wa = ({ bearerToken: e }) => new Headers({
|
|
1514
1525
|
Authorization: `Bearer ${e}`
|
|
1515
1526
|
}), kr = (e, a) => {
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
const T = {
|
|
1527
|
+
const [n, r] = W(), [o, s] = W(), [d, l] = W(!1), m = a ? "STAGING" : "PRODUCTION", k = Da.taxDocumentation.get(m), g = Da.taxDocumentation.post(m), c = Da.taxDocumentationStatus.get(m), v = async (A) => {
|
|
1528
|
+
const f = {
|
|
1519
1529
|
method: "POST",
|
|
1520
1530
|
headers: Wa({ bearerToken: e }),
|
|
1521
|
-
body: JSON.stringify(
|
|
1531
|
+
body: JSON.stringify(qa(A))
|
|
1522
1532
|
};
|
|
1523
|
-
fetch(g,
|
|
1524
|
-
y.status === 200 &&
|
|
1533
|
+
fetch(g, f).then((y) => {
|
|
1534
|
+
y.status === 200 && l(!0);
|
|
1525
1535
|
});
|
|
1526
1536
|
};
|
|
1527
|
-
|
|
1528
|
-
const
|
|
1537
|
+
return _(() => {
|
|
1538
|
+
const A = {
|
|
1529
1539
|
method: "GET",
|
|
1530
1540
|
headers: Wa({ bearerToken: e })
|
|
1531
1541
|
};
|
|
1532
|
-
fetch(c,
|
|
1533
|
-
if (
|
|
1534
|
-
return
|
|
1535
|
-
throw
|
|
1536
|
-
}).then((
|
|
1537
|
-
s(La(
|
|
1542
|
+
fetch(c, A).then((f) => {
|
|
1543
|
+
if (f.ok)
|
|
1544
|
+
return f.json();
|
|
1545
|
+
throw f.status === 401 ? new Error("Unauthorized, please check your bearer token") : new Error("Something went wrong");
|
|
1546
|
+
}).then((f) => {
|
|
1547
|
+
s(La(f));
|
|
1538
1548
|
});
|
|
1539
|
-
}, [e, c]),
|
|
1549
|
+
}, [e, c]), _(() => {
|
|
1540
1550
|
if (o && o.submissionStatus !== "NOT_SUBMITTED") {
|
|
1541
|
-
const
|
|
1551
|
+
const A = {
|
|
1542
1552
|
method: "GET",
|
|
1543
1553
|
headers: Wa({ bearerToken: e })
|
|
1544
1554
|
};
|
|
1545
|
-
fetch(
|
|
1546
|
-
if (
|
|
1547
|
-
return
|
|
1555
|
+
fetch(k, A).then((f) => {
|
|
1556
|
+
if (f.ok)
|
|
1557
|
+
return f.json();
|
|
1548
1558
|
throw new Error("Something went wrong");
|
|
1549
|
-
}).then((
|
|
1550
|
-
r(La(
|
|
1559
|
+
}).then((f) => {
|
|
1560
|
+
r(La(f));
|
|
1551
1561
|
});
|
|
1552
1562
|
}
|
|
1553
|
-
}, [e, o,
|
|
1554
|
-
|
|
1555
|
-
return {
|
|
1556
|
-
postData: p,
|
|
1557
|
-
formStatus: f,
|
|
1563
|
+
}, [e, o, k]), {
|
|
1564
|
+
postData: v,
|
|
1558
1565
|
status: o,
|
|
1559
|
-
formSubmitted:
|
|
1566
|
+
formSubmitted: d,
|
|
1560
1567
|
serverData: n
|
|
1561
1568
|
};
|
|
1562
1569
|
};
|
|
1563
|
-
var
|
|
1570
|
+
var _a = { exports: {} }, ta = {};
|
|
1564
1571
|
/**
|
|
1565
1572
|
* @license React
|
|
1566
1573
|
* react-jsx-runtime.production.min.js
|
|
@@ -1573,22 +1580,22 @@ var Ya = { exports: {} }, ia = {};
|
|
|
1573
1580
|
var _n;
|
|
1574
1581
|
function hr() {
|
|
1575
1582
|
if (_n)
|
|
1576
|
-
return
|
|
1583
|
+
return ta;
|
|
1577
1584
|
_n = 1;
|
|
1578
1585
|
var e = at, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1579
|
-
function l
|
|
1580
|
-
var g, c = {},
|
|
1581
|
-
|
|
1586
|
+
function d(l, m, k) {
|
|
1587
|
+
var g, c = {}, v = null, A = null;
|
|
1588
|
+
k !== void 0 && (v = "" + k), m.key !== void 0 && (v = "" + m.key), m.ref !== void 0 && (A = m.ref);
|
|
1582
1589
|
for (g in m)
|
|
1583
1590
|
r.call(m, g) && !s.hasOwnProperty(g) && (c[g] = m[g]);
|
|
1584
|
-
if (
|
|
1585
|
-
for (g in m =
|
|
1591
|
+
if (l && l.defaultProps)
|
|
1592
|
+
for (g in m = l.defaultProps, m)
|
|
1586
1593
|
c[g] === void 0 && (c[g] = m[g]);
|
|
1587
|
-
return { $$typeof: a, type:
|
|
1594
|
+
return { $$typeof: a, type: l, key: v, ref: A, props: c, _owner: o.current };
|
|
1588
1595
|
}
|
|
1589
|
-
return
|
|
1596
|
+
return ta.Fragment = n, ta.jsx = d, ta.jsxs = d, ta;
|
|
1590
1597
|
}
|
|
1591
|
-
var
|
|
1598
|
+
var ra = {};
|
|
1592
1599
|
/**
|
|
1593
1600
|
* @license React
|
|
1594
1601
|
* react-jsx-runtime.development.js
|
|
@@ -1599,56 +1606,56 @@ var na = {};
|
|
|
1599
1606
|
* LICENSE file in the root directory of this source tree.
|
|
1600
1607
|
*/
|
|
1601
1608
|
var Qn;
|
|
1602
|
-
function
|
|
1609
|
+
function vr() {
|
|
1603
1610
|
return Qn || (Qn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1604
|
-
var e = at, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"),
|
|
1605
|
-
function
|
|
1611
|
+
var e = at, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), l = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), A = Symbol.for("react.offscreen"), f = Symbol.iterator, y = "@@iterator";
|
|
1612
|
+
function B(t) {
|
|
1606
1613
|
if (t === null || typeof t != "object")
|
|
1607
1614
|
return null;
|
|
1608
|
-
var u =
|
|
1615
|
+
var u = f && t[f] || t[y];
|
|
1609
1616
|
return typeof u == "function" ? u : null;
|
|
1610
1617
|
}
|
|
1611
|
-
var
|
|
1612
|
-
function
|
|
1618
|
+
var I = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1619
|
+
function z(t) {
|
|
1613
1620
|
{
|
|
1614
|
-
for (var u = arguments.length,
|
|
1615
|
-
|
|
1616
|
-
|
|
1621
|
+
for (var u = arguments.length, h = new Array(u > 1 ? u - 1 : 0), C = 1; C < u; C++)
|
|
1622
|
+
h[C - 1] = arguments[C];
|
|
1623
|
+
p("error", t, h);
|
|
1617
1624
|
}
|
|
1618
1625
|
}
|
|
1619
|
-
function
|
|
1626
|
+
function p(t, u, h) {
|
|
1620
1627
|
{
|
|
1621
|
-
var
|
|
1622
|
-
|
|
1623
|
-
var
|
|
1624
|
-
return String(
|
|
1628
|
+
var C = I.ReactDebugCurrentFrame, j = C.getStackAddendum();
|
|
1629
|
+
j !== "" && (u += "%s", h = h.concat([j]));
|
|
1630
|
+
var P = h.map(function(N) {
|
|
1631
|
+
return String(N);
|
|
1625
1632
|
});
|
|
1626
|
-
|
|
1633
|
+
P.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, P);
|
|
1627
1634
|
}
|
|
1628
1635
|
}
|
|
1629
|
-
var
|
|
1630
|
-
|
|
1631
|
-
function
|
|
1632
|
-
return !!(typeof t == "string" || typeof t == "function" || t === r || t === s ||
|
|
1636
|
+
var G = !1, J = !1, X = !1, ce = !1, T = !1, M;
|
|
1637
|
+
M = Symbol.for("react.module.reference");
|
|
1638
|
+
function H(t) {
|
|
1639
|
+
return !!(typeof t == "string" || typeof t == "function" || t === r || t === s || T || t === o || t === k || t === g || ce || t === A || G || J || X || typeof t == "object" && t !== null && (t.$$typeof === v || t.$$typeof === c || t.$$typeof === d || t.$$typeof === l || t.$$typeof === m || // This needs to include all possible module reference object
|
|
1633
1640
|
// types supported by any Flight configuration anywhere since
|
|
1634
1641
|
// we don't know which Flight build this will end up being used
|
|
1635
1642
|
// with.
|
|
1636
|
-
t.$$typeof ===
|
|
1643
|
+
t.$$typeof === M || t.getModuleId !== void 0));
|
|
1637
1644
|
}
|
|
1638
|
-
function
|
|
1639
|
-
var
|
|
1640
|
-
if (
|
|
1641
|
-
return
|
|
1642
|
-
var
|
|
1643
|
-
return
|
|
1645
|
+
function te(t, u, h) {
|
|
1646
|
+
var C = t.displayName;
|
|
1647
|
+
if (C)
|
|
1648
|
+
return C;
|
|
1649
|
+
var j = u.displayName || u.name || "";
|
|
1650
|
+
return j !== "" ? h + "(" + j + ")" : h;
|
|
1644
1651
|
}
|
|
1645
|
-
function
|
|
1652
|
+
function Se(t) {
|
|
1646
1653
|
return t.displayName || "Context";
|
|
1647
1654
|
}
|
|
1648
|
-
function
|
|
1655
|
+
function q(t) {
|
|
1649
1656
|
if (t == null)
|
|
1650
1657
|
return null;
|
|
1651
|
-
if (typeof t.tag == "number" &&
|
|
1658
|
+
if (typeof t.tag == "number" && z("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
1652
1659
|
return t.displayName || t.name || null;
|
|
1653
1660
|
if (typeof t == "string")
|
|
1654
1661
|
return t;
|
|
@@ -1661,28 +1668,28 @@ function pr() {
|
|
|
1661
1668
|
return "Profiler";
|
|
1662
1669
|
case o:
|
|
1663
1670
|
return "StrictMode";
|
|
1664
|
-
case
|
|
1671
|
+
case k:
|
|
1665
1672
|
return "Suspense";
|
|
1666
1673
|
case g:
|
|
1667
1674
|
return "SuspenseList";
|
|
1668
1675
|
}
|
|
1669
1676
|
if (typeof t == "object")
|
|
1670
1677
|
switch (t.$$typeof) {
|
|
1671
|
-
case d:
|
|
1672
|
-
var u = t;
|
|
1673
|
-
return Ae(u) + ".Consumer";
|
|
1674
1678
|
case l:
|
|
1675
|
-
var
|
|
1676
|
-
return
|
|
1679
|
+
var u = t;
|
|
1680
|
+
return Se(u) + ".Consumer";
|
|
1681
|
+
case d:
|
|
1682
|
+
var h = t;
|
|
1683
|
+
return Se(h._context) + ".Provider";
|
|
1677
1684
|
case m:
|
|
1678
|
-
return
|
|
1685
|
+
return te(t, t.render, "ForwardRef");
|
|
1679
1686
|
case c:
|
|
1680
|
-
var
|
|
1681
|
-
return
|
|
1682
|
-
case
|
|
1683
|
-
var
|
|
1687
|
+
var C = t.displayName || null;
|
|
1688
|
+
return C !== null ? C : q(t.type) || "Memo";
|
|
1689
|
+
case v: {
|
|
1690
|
+
var j = t, P = j._payload, N = j._init;
|
|
1684
1691
|
try {
|
|
1685
|
-
return
|
|
1692
|
+
return q(N(P));
|
|
1686
1693
|
} catch {
|
|
1687
1694
|
return null;
|
|
1688
1695
|
}
|
|
@@ -1690,18 +1697,18 @@ function pr() {
|
|
|
1690
1697
|
}
|
|
1691
1698
|
return null;
|
|
1692
1699
|
}
|
|
1693
|
-
var
|
|
1694
|
-
function
|
|
1700
|
+
var ie = Object.assign, re = 0, Ae, me, Ne, ge, Te, Me, ye;
|
|
1701
|
+
function O() {
|
|
1695
1702
|
}
|
|
1696
|
-
|
|
1697
|
-
function
|
|
1703
|
+
O.__reactDisabledLog = !0;
|
|
1704
|
+
function F() {
|
|
1698
1705
|
{
|
|
1699
|
-
if (
|
|
1700
|
-
|
|
1706
|
+
if (re === 0) {
|
|
1707
|
+
Ae = console.log, me = console.info, Ne = console.warn, ge = console.error, Te = console.group, Me = console.groupCollapsed, ye = console.groupEnd;
|
|
1701
1708
|
var t = {
|
|
1702
1709
|
configurable: !0,
|
|
1703
1710
|
enumerable: !0,
|
|
1704
|
-
value:
|
|
1711
|
+
value: O,
|
|
1705
1712
|
writable: !0
|
|
1706
1713
|
};
|
|
1707
1714
|
Object.defineProperties(console, {
|
|
@@ -1714,230 +1721,230 @@ function pr() {
|
|
|
1714
1721
|
groupEnd: t
|
|
1715
1722
|
});
|
|
1716
1723
|
}
|
|
1717
|
-
|
|
1724
|
+
re++;
|
|
1718
1725
|
}
|
|
1719
1726
|
}
|
|
1720
|
-
function
|
|
1727
|
+
function we() {
|
|
1721
1728
|
{
|
|
1722
|
-
if (
|
|
1729
|
+
if (re--, re === 0) {
|
|
1723
1730
|
var t = {
|
|
1724
1731
|
configurable: !0,
|
|
1725
1732
|
enumerable: !0,
|
|
1726
1733
|
writable: !0
|
|
1727
1734
|
};
|
|
1728
1735
|
Object.defineProperties(console, {
|
|
1729
|
-
log:
|
|
1730
|
-
value:
|
|
1736
|
+
log: ie({}, t, {
|
|
1737
|
+
value: Ae
|
|
1731
1738
|
}),
|
|
1732
|
-
info:
|
|
1733
|
-
value:
|
|
1739
|
+
info: ie({}, t, {
|
|
1740
|
+
value: me
|
|
1734
1741
|
}),
|
|
1735
|
-
warn:
|
|
1736
|
-
value:
|
|
1742
|
+
warn: ie({}, t, {
|
|
1743
|
+
value: Ne
|
|
1737
1744
|
}),
|
|
1738
|
-
error:
|
|
1739
|
-
value:
|
|
1745
|
+
error: ie({}, t, {
|
|
1746
|
+
value: ge
|
|
1740
1747
|
}),
|
|
1741
|
-
group:
|
|
1742
|
-
value:
|
|
1748
|
+
group: ie({}, t, {
|
|
1749
|
+
value: Te
|
|
1743
1750
|
}),
|
|
1744
|
-
groupCollapsed:
|
|
1745
|
-
value:
|
|
1751
|
+
groupCollapsed: ie({}, t, {
|
|
1752
|
+
value: Me
|
|
1746
1753
|
}),
|
|
1747
|
-
groupEnd:
|
|
1748
|
-
value:
|
|
1754
|
+
groupEnd: ie({}, t, {
|
|
1755
|
+
value: ye
|
|
1749
1756
|
})
|
|
1750
1757
|
});
|
|
1751
1758
|
}
|
|
1752
|
-
|
|
1759
|
+
re < 0 && z("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1753
1760
|
}
|
|
1754
1761
|
}
|
|
1755
|
-
var
|
|
1756
|
-
function
|
|
1762
|
+
var He = I.ReactCurrentDispatcher, Le;
|
|
1763
|
+
function je(t, u, h) {
|
|
1757
1764
|
{
|
|
1758
|
-
if (
|
|
1765
|
+
if (Le === void 0)
|
|
1759
1766
|
try {
|
|
1760
1767
|
throw Error();
|
|
1761
|
-
} catch (
|
|
1762
|
-
var
|
|
1763
|
-
|
|
1768
|
+
} catch (j) {
|
|
1769
|
+
var C = j.stack.trim().match(/\n( *(at )?)/);
|
|
1770
|
+
Le = C && C[1] || "";
|
|
1764
1771
|
}
|
|
1765
1772
|
return `
|
|
1766
|
-
` +
|
|
1773
|
+
` + Le + t;
|
|
1767
1774
|
}
|
|
1768
1775
|
}
|
|
1769
|
-
var
|
|
1776
|
+
var Ge = !1, Oe;
|
|
1770
1777
|
{
|
|
1771
1778
|
var ua = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1772
|
-
|
|
1779
|
+
Oe = new ua();
|
|
1773
1780
|
}
|
|
1774
|
-
function
|
|
1775
|
-
if (!t ||
|
|
1781
|
+
function Ve(t, u) {
|
|
1782
|
+
if (!t || Ge)
|
|
1776
1783
|
return "";
|
|
1777
1784
|
{
|
|
1778
|
-
var
|
|
1779
|
-
if (
|
|
1780
|
-
return
|
|
1785
|
+
var h = Oe.get(t);
|
|
1786
|
+
if (h !== void 0)
|
|
1787
|
+
return h;
|
|
1781
1788
|
}
|
|
1782
|
-
var
|
|
1783
|
-
|
|
1784
|
-
var
|
|
1789
|
+
var C;
|
|
1790
|
+
Ge = !0;
|
|
1791
|
+
var j = Error.prepareStackTrace;
|
|
1785
1792
|
Error.prepareStackTrace = void 0;
|
|
1786
|
-
var
|
|
1787
|
-
|
|
1793
|
+
var P;
|
|
1794
|
+
P = He.current, He.current = null, F();
|
|
1788
1795
|
try {
|
|
1789
1796
|
if (u) {
|
|
1790
|
-
var
|
|
1797
|
+
var N = function() {
|
|
1791
1798
|
throw Error();
|
|
1792
1799
|
};
|
|
1793
|
-
if (Object.defineProperty(
|
|
1800
|
+
if (Object.defineProperty(N.prototype, "props", {
|
|
1794
1801
|
set: function() {
|
|
1795
1802
|
throw Error();
|
|
1796
1803
|
}
|
|
1797
1804
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1798
1805
|
try {
|
|
1799
|
-
Reflect.construct(
|
|
1806
|
+
Reflect.construct(N, []);
|
|
1800
1807
|
} catch (ne) {
|
|
1801
|
-
|
|
1808
|
+
C = ne;
|
|
1802
1809
|
}
|
|
1803
|
-
Reflect.construct(t, [],
|
|
1810
|
+
Reflect.construct(t, [], N);
|
|
1804
1811
|
} else {
|
|
1805
1812
|
try {
|
|
1806
|
-
|
|
1813
|
+
N.call();
|
|
1807
1814
|
} catch (ne) {
|
|
1808
|
-
|
|
1815
|
+
C = ne;
|
|
1809
1816
|
}
|
|
1810
|
-
t.call(
|
|
1817
|
+
t.call(N.prototype);
|
|
1811
1818
|
}
|
|
1812
1819
|
} else {
|
|
1813
1820
|
try {
|
|
1814
1821
|
throw Error();
|
|
1815
1822
|
} catch (ne) {
|
|
1816
|
-
|
|
1823
|
+
C = ne;
|
|
1817
1824
|
}
|
|
1818
1825
|
t();
|
|
1819
1826
|
}
|
|
1820
1827
|
} catch (ne) {
|
|
1821
|
-
if (ne &&
|
|
1828
|
+
if (ne && C && typeof ne.stack == "string") {
|
|
1822
1829
|
for (var S = ne.stack.split(`
|
|
1823
|
-
`),
|
|
1824
|
-
`), w = S.length - 1,
|
|
1825
|
-
|
|
1826
|
-
for (; w >= 1 &&
|
|
1827
|
-
if (S[w] !==
|
|
1828
|
-
if (w !== 1 ||
|
|
1830
|
+
`), K = C.stack.split(`
|
|
1831
|
+
`), w = S.length - 1, L = K.length - 1; w >= 1 && L >= 0 && S[w] !== K[L]; )
|
|
1832
|
+
L--;
|
|
1833
|
+
for (; w >= 1 && L >= 0; w--, L--)
|
|
1834
|
+
if (S[w] !== K[L]) {
|
|
1835
|
+
if (w !== 1 || L !== 1)
|
|
1829
1836
|
do
|
|
1830
|
-
if (w--,
|
|
1831
|
-
var
|
|
1837
|
+
if (w--, L--, L < 0 || S[w] !== K[L]) {
|
|
1838
|
+
var Z = `
|
|
1832
1839
|
` + S[w].replace(" at new ", " at ");
|
|
1833
|
-
return t.displayName &&
|
|
1840
|
+
return t.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", t.displayName)), typeof t == "function" && Oe.set(t, Z), Z;
|
|
1834
1841
|
}
|
|
1835
|
-
while (w >= 1 &&
|
|
1842
|
+
while (w >= 1 && L >= 0);
|
|
1836
1843
|
break;
|
|
1837
1844
|
}
|
|
1838
1845
|
}
|
|
1839
1846
|
} finally {
|
|
1840
|
-
|
|
1847
|
+
Ge = !1, He.current = P, we(), Error.prepareStackTrace = j;
|
|
1841
1848
|
}
|
|
1842
|
-
var
|
|
1843
|
-
return typeof t == "function" &&
|
|
1849
|
+
var he = t ? t.displayName || t.name : "", na = he ? je(he) : "";
|
|
1850
|
+
return typeof t == "function" && Oe.set(t, na), na;
|
|
1844
1851
|
}
|
|
1845
|
-
function ca(t, u,
|
|
1846
|
-
return
|
|
1852
|
+
function ca(t, u, h) {
|
|
1853
|
+
return Ve(t, !1);
|
|
1847
1854
|
}
|
|
1848
1855
|
function ma(t) {
|
|
1849
1856
|
var u = t.prototype;
|
|
1850
1857
|
return !!(u && u.isReactComponent);
|
|
1851
1858
|
}
|
|
1852
|
-
function
|
|
1859
|
+
function ze(t, u, h) {
|
|
1853
1860
|
if (t == null)
|
|
1854
1861
|
return "";
|
|
1855
1862
|
if (typeof t == "function")
|
|
1856
|
-
return
|
|
1863
|
+
return Ve(t, ma(t));
|
|
1857
1864
|
if (typeof t == "string")
|
|
1858
|
-
return
|
|
1865
|
+
return je(t);
|
|
1859
1866
|
switch (t) {
|
|
1860
|
-
case
|
|
1861
|
-
return
|
|
1867
|
+
case k:
|
|
1868
|
+
return je("Suspense");
|
|
1862
1869
|
case g:
|
|
1863
|
-
return
|
|
1870
|
+
return je("SuspenseList");
|
|
1864
1871
|
}
|
|
1865
1872
|
if (typeof t == "object")
|
|
1866
1873
|
switch (t.$$typeof) {
|
|
1867
1874
|
case m:
|
|
1868
1875
|
return ca(t.render);
|
|
1869
1876
|
case c:
|
|
1870
|
-
return
|
|
1871
|
-
case
|
|
1872
|
-
var
|
|
1877
|
+
return ze(t.type, u, h);
|
|
1878
|
+
case v: {
|
|
1879
|
+
var C = t, j = C._payload, P = C._init;
|
|
1873
1880
|
try {
|
|
1874
|
-
return
|
|
1881
|
+
return ze(P(j), u, h);
|
|
1875
1882
|
} catch {
|
|
1876
1883
|
}
|
|
1877
1884
|
}
|
|
1878
1885
|
}
|
|
1879
1886
|
return "";
|
|
1880
1887
|
}
|
|
1881
|
-
var
|
|
1882
|
-
function
|
|
1888
|
+
var Ee = Object.prototype.hasOwnProperty, We = {}, Je = I.ReactDebugCurrentFrame;
|
|
1889
|
+
function Be(t) {
|
|
1883
1890
|
if (t) {
|
|
1884
|
-
var u = t._owner,
|
|
1885
|
-
|
|
1891
|
+
var u = t._owner, h = ze(t.type, t._source, u ? u.type : null);
|
|
1892
|
+
Je.setExtraStackFrame(h);
|
|
1886
1893
|
} else
|
|
1887
|
-
|
|
1894
|
+
Je.setExtraStackFrame(null);
|
|
1888
1895
|
}
|
|
1889
|
-
function ga(t, u,
|
|
1896
|
+
function ga(t, u, h, C, j) {
|
|
1890
1897
|
{
|
|
1891
|
-
var
|
|
1892
|
-
for (var
|
|
1893
|
-
if (
|
|
1898
|
+
var P = Function.call.bind(Ee);
|
|
1899
|
+
for (var N in t)
|
|
1900
|
+
if (P(t, N)) {
|
|
1894
1901
|
var S = void 0;
|
|
1895
1902
|
try {
|
|
1896
|
-
if (typeof t[
|
|
1897
|
-
var
|
|
1898
|
-
throw
|
|
1903
|
+
if (typeof t[N] != "function") {
|
|
1904
|
+
var K = Error((C || "React class") + ": " + h + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1905
|
+
throw K.name = "Invariant Violation", K;
|
|
1899
1906
|
}
|
|
1900
|
-
S = t[
|
|
1907
|
+
S = t[N](u, N, C, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1901
1908
|
} catch (w) {
|
|
1902
1909
|
S = w;
|
|
1903
1910
|
}
|
|
1904
|
-
S && !(S instanceof Error) && (
|
|
1911
|
+
S && !(S instanceof Error) && (Be(j), z("%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).", C || "React class", h, N, typeof S), Be(null)), S instanceof Error && !(S.message in We) && (We[S.message] = !0, Be(j), z("Failed %s type: %s", h, S.message), Be(null));
|
|
1905
1912
|
}
|
|
1906
1913
|
}
|
|
1907
1914
|
}
|
|
1908
1915
|
var ka = Array.isArray;
|
|
1909
|
-
function
|
|
1916
|
+
function xe(t) {
|
|
1910
1917
|
return ka(t);
|
|
1911
1918
|
}
|
|
1912
1919
|
function ha(t) {
|
|
1913
1920
|
{
|
|
1914
|
-
var u = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1915
|
-
return
|
|
1921
|
+
var u = typeof Symbol == "function" && Symbol.toStringTag, h = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1922
|
+
return h;
|
|
1916
1923
|
}
|
|
1917
1924
|
}
|
|
1918
|
-
function
|
|
1925
|
+
function va(t) {
|
|
1919
1926
|
try {
|
|
1920
|
-
return
|
|
1927
|
+
return Ze(t), !1;
|
|
1921
1928
|
} catch {
|
|
1922
1929
|
return !0;
|
|
1923
1930
|
}
|
|
1924
1931
|
}
|
|
1925
|
-
function
|
|
1932
|
+
function Ze(t) {
|
|
1926
1933
|
return "" + t;
|
|
1927
1934
|
}
|
|
1928
|
-
function
|
|
1929
|
-
if (
|
|
1930
|
-
return
|
|
1935
|
+
function qe(t) {
|
|
1936
|
+
if (va(t))
|
|
1937
|
+
return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ha(t)), Ze(t);
|
|
1931
1938
|
}
|
|
1932
|
-
var
|
|
1939
|
+
var be = I.ReactCurrentOwner, pa = {
|
|
1933
1940
|
key: !0,
|
|
1934
1941
|
ref: !0,
|
|
1935
1942
|
__self: !0,
|
|
1936
1943
|
__source: !0
|
|
1937
|
-
},
|
|
1938
|
-
|
|
1944
|
+
}, Ye, _e, Ue;
|
|
1945
|
+
Ue = {};
|
|
1939
1946
|
function fa(t) {
|
|
1940
|
-
if (
|
|
1947
|
+
if (Ee.call(t, "ref")) {
|
|
1941
1948
|
var u = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1942
1949
|
if (u && u.isReactWarning)
|
|
1943
1950
|
return !1;
|
|
@@ -1945,7 +1952,7 @@ function pr() {
|
|
|
1945
1952
|
return t.ref !== void 0;
|
|
1946
1953
|
}
|
|
1947
1954
|
function Aa(t) {
|
|
1948
|
-
if (
|
|
1955
|
+
if (Ee.call(t, "key")) {
|
|
1949
1956
|
var u = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1950
1957
|
if (u && u.isReactWarning)
|
|
1951
1958
|
return !1;
|
|
@@ -1953,44 +1960,44 @@ function pr() {
|
|
|
1953
1960
|
return t.key !== void 0;
|
|
1954
1961
|
}
|
|
1955
1962
|
function ba(t, u) {
|
|
1956
|
-
if (typeof t.ref == "string" &&
|
|
1957
|
-
var
|
|
1958
|
-
|
|
1963
|
+
if (typeof t.ref == "string" && be.current && u && be.current.stateNode !== u) {
|
|
1964
|
+
var h = q(be.current.type);
|
|
1965
|
+
Ue[h] || (z('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', q(be.current.type), t.ref), Ue[h] = !0);
|
|
1959
1966
|
}
|
|
1960
1967
|
}
|
|
1961
1968
|
function Ca(t, u) {
|
|
1962
1969
|
{
|
|
1963
|
-
var
|
|
1964
|
-
|
|
1970
|
+
var h = function() {
|
|
1971
|
+
Ye || (Ye = !0, z("%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)", u));
|
|
1965
1972
|
};
|
|
1966
|
-
|
|
1967
|
-
get:
|
|
1973
|
+
h.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1974
|
+
get: h,
|
|
1968
1975
|
configurable: !0
|
|
1969
1976
|
});
|
|
1970
1977
|
}
|
|
1971
1978
|
}
|
|
1972
1979
|
function Ia(t, u) {
|
|
1973
1980
|
{
|
|
1974
|
-
var
|
|
1975
|
-
|
|
1981
|
+
var h = function() {
|
|
1982
|
+
_e || (_e = !0, z("%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)", u));
|
|
1976
1983
|
};
|
|
1977
|
-
|
|
1978
|
-
get:
|
|
1984
|
+
h.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1985
|
+
get: h,
|
|
1979
1986
|
configurable: !0
|
|
1980
1987
|
});
|
|
1981
1988
|
}
|
|
1982
1989
|
}
|
|
1983
|
-
var Sa = function(t, u,
|
|
1990
|
+
var Sa = function(t, u, h, C, j, P, N) {
|
|
1984
1991
|
var S = {
|
|
1985
1992
|
// This tag allows us to uniquely identify this as a React Element
|
|
1986
1993
|
$$typeof: a,
|
|
1987
1994
|
// Built-in properties that belong on the element
|
|
1988
1995
|
type: t,
|
|
1989
1996
|
key: u,
|
|
1990
|
-
ref:
|
|
1991
|
-
props:
|
|
1997
|
+
ref: h,
|
|
1998
|
+
props: N,
|
|
1992
1999
|
// Record the component responsible for creating this element.
|
|
1993
|
-
_owner:
|
|
2000
|
+
_owner: P
|
|
1994
2001
|
};
|
|
1995
2002
|
return S._store = {}, Object.defineProperty(S._store, "validated", {
|
|
1996
2003
|
configurable: !1,
|
|
@@ -2001,49 +2008,49 @@ function pr() {
|
|
|
2001
2008
|
configurable: !1,
|
|
2002
2009
|
enumerable: !1,
|
|
2003
2010
|
writable: !1,
|
|
2004
|
-
value:
|
|
2011
|
+
value: C
|
|
2005
2012
|
}), Object.defineProperty(S, "_source", {
|
|
2006
2013
|
configurable: !1,
|
|
2007
2014
|
enumerable: !1,
|
|
2008
2015
|
writable: !1,
|
|
2009
|
-
value:
|
|
2016
|
+
value: j
|
|
2010
2017
|
}), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
|
|
2011
2018
|
};
|
|
2012
|
-
function Na(t, u,
|
|
2019
|
+
function Na(t, u, h, C, j) {
|
|
2013
2020
|
{
|
|
2014
|
-
var
|
|
2015
|
-
|
|
2016
|
-
for (
|
|
2017
|
-
|
|
2021
|
+
var P, N = {}, S = null, K = null;
|
|
2022
|
+
h !== void 0 && (qe(h), S = "" + h), Aa(u) && (qe(u.key), S = "" + u.key), fa(u) && (K = u.ref, ba(u, j));
|
|
2023
|
+
for (P in u)
|
|
2024
|
+
Ee.call(u, P) && !pa.hasOwnProperty(P) && (N[P] = u[P]);
|
|
2018
2025
|
if (t && t.defaultProps) {
|
|
2019
2026
|
var w = t.defaultProps;
|
|
2020
|
-
for (
|
|
2021
|
-
|
|
2027
|
+
for (P in w)
|
|
2028
|
+
N[P] === void 0 && (N[P] = w[P]);
|
|
2022
2029
|
}
|
|
2023
|
-
if (S ||
|
|
2024
|
-
var
|
|
2025
|
-
S && Ca(
|
|
2030
|
+
if (S || K) {
|
|
2031
|
+
var L = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
2032
|
+
S && Ca(N, L), K && Ia(N, L);
|
|
2026
2033
|
}
|
|
2027
|
-
return Sa(t, S,
|
|
2034
|
+
return Sa(t, S, K, j, C, be.current, N);
|
|
2028
2035
|
}
|
|
2029
2036
|
}
|
|
2030
|
-
var
|
|
2031
|
-
function
|
|
2037
|
+
var De = I.ReactCurrentOwner, Qe = I.ReactDebugCurrentFrame;
|
|
2038
|
+
function ke(t) {
|
|
2032
2039
|
if (t) {
|
|
2033
|
-
var u = t._owner,
|
|
2034
|
-
|
|
2040
|
+
var u = t._owner, h = ze(t.type, t._source, u ? u.type : null);
|
|
2041
|
+
Qe.setExtraStackFrame(h);
|
|
2035
2042
|
} else
|
|
2036
|
-
|
|
2043
|
+
Qe.setExtraStackFrame(null);
|
|
2037
2044
|
}
|
|
2038
|
-
var
|
|
2039
|
-
|
|
2040
|
-
function
|
|
2045
|
+
var Fe;
|
|
2046
|
+
Fe = !1;
|
|
2047
|
+
function Ke(t) {
|
|
2041
2048
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
2042
2049
|
}
|
|
2043
|
-
function
|
|
2050
|
+
function Xe() {
|
|
2044
2051
|
{
|
|
2045
|
-
if (
|
|
2046
|
-
var t =
|
|
2052
|
+
if (De.current) {
|
|
2053
|
+
var t = q(De.current.type);
|
|
2047
2054
|
if (t)
|
|
2048
2055
|
return `
|
|
2049
2056
|
|
|
@@ -2055,56 +2062,56 @@ Check the render method of \`` + t + "`.";
|
|
|
2055
2062
|
function Ta(t) {
|
|
2056
2063
|
{
|
|
2057
2064
|
if (t !== void 0) {
|
|
2058
|
-
var u = t.fileName.replace(/^.*[\\\/]/, ""),
|
|
2065
|
+
var u = t.fileName.replace(/^.*[\\\/]/, ""), h = t.lineNumber;
|
|
2059
2066
|
return `
|
|
2060
2067
|
|
|
2061
|
-
Check your code at ` + u + ":" +
|
|
2068
|
+
Check your code at ` + u + ":" + h + ".";
|
|
2062
2069
|
}
|
|
2063
2070
|
return "";
|
|
2064
2071
|
}
|
|
2065
2072
|
}
|
|
2066
|
-
var
|
|
2073
|
+
var $e = {};
|
|
2067
2074
|
function Ma(t) {
|
|
2068
2075
|
{
|
|
2069
|
-
var u =
|
|
2076
|
+
var u = Xe();
|
|
2070
2077
|
if (!u) {
|
|
2071
|
-
var
|
|
2072
|
-
|
|
2078
|
+
var h = typeof t == "string" ? t : t.displayName || t.name;
|
|
2079
|
+
h && (u = `
|
|
2073
2080
|
|
|
2074
|
-
Check the top-level render call using <` +
|
|
2081
|
+
Check the top-level render call using <` + h + ">.");
|
|
2075
2082
|
}
|
|
2076
2083
|
return u;
|
|
2077
2084
|
}
|
|
2078
2085
|
}
|
|
2079
|
-
function
|
|
2086
|
+
function ea(t, u) {
|
|
2080
2087
|
{
|
|
2081
2088
|
if (!t._store || t._store.validated || t.key != null)
|
|
2082
2089
|
return;
|
|
2083
2090
|
t._store.validated = !0;
|
|
2084
|
-
var
|
|
2085
|
-
if (
|
|
2091
|
+
var h = Ma(u);
|
|
2092
|
+
if ($e[h])
|
|
2086
2093
|
return;
|
|
2087
|
-
|
|
2088
|
-
var
|
|
2089
|
-
t && t._owner && t._owner !==
|
|
2094
|
+
$e[h] = !0;
|
|
2095
|
+
var C = "";
|
|
2096
|
+
t && t._owner && t._owner !== De.current && (C = " It was passed a child from " + q(t._owner.type) + "."), ke(t), z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, C), ke(null);
|
|
2090
2097
|
}
|
|
2091
2098
|
}
|
|
2092
|
-
function
|
|
2099
|
+
function aa(t, u) {
|
|
2093
2100
|
{
|
|
2094
2101
|
if (typeof t != "object")
|
|
2095
2102
|
return;
|
|
2096
|
-
if (
|
|
2097
|
-
for (var
|
|
2098
|
-
var
|
|
2099
|
-
|
|
2103
|
+
if (xe(t))
|
|
2104
|
+
for (var h = 0; h < t.length; h++) {
|
|
2105
|
+
var C = t[h];
|
|
2106
|
+
Ke(C) && ea(C, u);
|
|
2100
2107
|
}
|
|
2101
|
-
else if (
|
|
2108
|
+
else if (Ke(t))
|
|
2102
2109
|
t._store && (t._store.validated = !0);
|
|
2103
2110
|
else if (t) {
|
|
2104
|
-
var
|
|
2105
|
-
if (typeof
|
|
2106
|
-
for (var
|
|
2107
|
-
|
|
2111
|
+
var j = B(t);
|
|
2112
|
+
if (typeof j == "function" && j !== t.entries)
|
|
2113
|
+
for (var P = j.call(t), N; !(N = P.next()).done; )
|
|
2114
|
+
Ke(N.value) && ea(N.value, u);
|
|
2108
2115
|
}
|
|
2109
2116
|
}
|
|
2110
2117
|
}
|
|
@@ -2113,81 +2120,81 @@ Check the top-level render call using <` + k + ">.");
|
|
|
2113
2120
|
var u = t.type;
|
|
2114
2121
|
if (u == null || typeof u == "string")
|
|
2115
2122
|
return;
|
|
2116
|
-
var
|
|
2123
|
+
var h;
|
|
2117
2124
|
if (typeof u == "function")
|
|
2118
|
-
|
|
2125
|
+
h = u.propTypes;
|
|
2119
2126
|
else if (typeof u == "object" && (u.$$typeof === m || // Note: Memo only checks outer props here.
|
|
2120
2127
|
// Inner props are checked in the reconciler.
|
|
2121
2128
|
u.$$typeof === c))
|
|
2122
|
-
|
|
2129
|
+
h = u.propTypes;
|
|
2123
2130
|
else
|
|
2124
2131
|
return;
|
|
2125
|
-
if (
|
|
2126
|
-
var
|
|
2127
|
-
ga(
|
|
2128
|
-
} else if (u.PropTypes !== void 0 && !
|
|
2129
|
-
|
|
2130
|
-
var
|
|
2131
|
-
|
|
2132
|
+
if (h) {
|
|
2133
|
+
var C = q(u);
|
|
2134
|
+
ga(h, t.props, "prop", C, t);
|
|
2135
|
+
} else if (u.PropTypes !== void 0 && !Fe) {
|
|
2136
|
+
Fe = !0;
|
|
2137
|
+
var j = q(u);
|
|
2138
|
+
z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
|
|
2132
2139
|
}
|
|
2133
|
-
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved &&
|
|
2140
|
+
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2134
2141
|
}
|
|
2135
2142
|
}
|
|
2136
2143
|
function ja(t) {
|
|
2137
2144
|
{
|
|
2138
|
-
for (var u = Object.keys(t.props),
|
|
2139
|
-
var
|
|
2140
|
-
if (
|
|
2141
|
-
|
|
2145
|
+
for (var u = Object.keys(t.props), h = 0; h < u.length; h++) {
|
|
2146
|
+
var C = u[h];
|
|
2147
|
+
if (C !== "children" && C !== "key") {
|
|
2148
|
+
ke(t), z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), ke(null);
|
|
2142
2149
|
break;
|
|
2143
2150
|
}
|
|
2144
2151
|
}
|
|
2145
|
-
t.ref !== null && (
|
|
2152
|
+
t.ref !== null && (ke(t), z("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
|
|
2146
2153
|
}
|
|
2147
2154
|
}
|
|
2148
|
-
function
|
|
2155
|
+
function ia(t, u, h, C, j, P) {
|
|
2149
2156
|
{
|
|
2150
|
-
var
|
|
2151
|
-
if (!
|
|
2157
|
+
var N = H(t);
|
|
2158
|
+
if (!N) {
|
|
2152
2159
|
var S = "";
|
|
2153
2160
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (S += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2154
|
-
var
|
|
2155
|
-
|
|
2161
|
+
var K = Ta(j);
|
|
2162
|
+
K ? S += K : S += Xe();
|
|
2156
2163
|
var w;
|
|
2157
|
-
t === null ? w = "null" :
|
|
2164
|
+
t === null ? w = "null" : xe(t) ? w = "array" : t !== void 0 && t.$$typeof === a ? (w = "<" + (q(t.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : w = typeof t, z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, S);
|
|
2158
2165
|
}
|
|
2159
|
-
var
|
|
2160
|
-
if (
|
|
2161
|
-
return
|
|
2162
|
-
if (
|
|
2163
|
-
var
|
|
2164
|
-
if (
|
|
2165
|
-
if (
|
|
2166
|
-
if (
|
|
2167
|
-
for (var
|
|
2168
|
-
|
|
2169
|
-
Object.freeze && Object.freeze(
|
|
2166
|
+
var L = Na(t, u, h, j, P);
|
|
2167
|
+
if (L == null)
|
|
2168
|
+
return L;
|
|
2169
|
+
if (N) {
|
|
2170
|
+
var Z = u.children;
|
|
2171
|
+
if (Z !== void 0)
|
|
2172
|
+
if (C)
|
|
2173
|
+
if (xe(Z)) {
|
|
2174
|
+
for (var he = 0; he < Z.length; he++)
|
|
2175
|
+
aa(Z[he], t);
|
|
2176
|
+
Object.freeze && Object.freeze(Z);
|
|
2170
2177
|
} else
|
|
2171
|
-
|
|
2178
|
+
z("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2172
2179
|
else
|
|
2173
|
-
|
|
2180
|
+
aa(Z, t);
|
|
2174
2181
|
}
|
|
2175
|
-
return t === r ? ja(
|
|
2182
|
+
return t === r ? ja(L) : ya(L), L;
|
|
2176
2183
|
}
|
|
2177
2184
|
}
|
|
2178
|
-
function Oa(t, u,
|
|
2179
|
-
return
|
|
2185
|
+
function Oa(t, u, h) {
|
|
2186
|
+
return ia(t, u, h, !0);
|
|
2180
2187
|
}
|
|
2181
|
-
function za(t, u,
|
|
2182
|
-
return
|
|
2188
|
+
function za(t, u, h) {
|
|
2189
|
+
return ia(t, u, h, !1);
|
|
2183
2190
|
}
|
|
2184
2191
|
var Ea = za, Ba = Oa;
|
|
2185
|
-
|
|
2186
|
-
}()),
|
|
2192
|
+
ra.Fragment = r, ra.jsx = Ea, ra.jsxs = Ba;
|
|
2193
|
+
}()), ra;
|
|
2187
2194
|
}
|
|
2188
|
-
process.env.NODE_ENV === "production" ?
|
|
2189
|
-
var i =
|
|
2190
|
-
const
|
|
2195
|
+
process.env.NODE_ENV === "production" ? _a.exports = hr() : _a.exports = vr();
|
|
2196
|
+
var i = _a.exports;
|
|
2197
|
+
const pr = {
|
|
2191
2198
|
button: {
|
|
2192
2199
|
back: "Назад",
|
|
2193
2200
|
cancel: "Отказ",
|
|
@@ -2326,6 +2333,7 @@ const vr = {
|
|
|
2326
2333
|
error: {
|
|
2327
2334
|
invalid: "Невалиден",
|
|
2328
2335
|
invalidDate: "Невалидна дата",
|
|
2336
|
+
invalidVat: "Невалиден номер по ДДС",
|
|
2329
2337
|
mustBeFiveOrNineDigits: "Трябва да бъде пет или девет цифри",
|
|
2330
2338
|
mustBeInDateFormat: "Трябва да бъде в този формат: ДД/ММ/ГГГГ",
|
|
2331
2339
|
mustBeNineDigits: "Трябва да бъде девет цифри",
|
|
@@ -2884,6 +2892,7 @@ const vr = {
|
|
|
2884
2892
|
error: {
|
|
2885
2893
|
invalid: "Neplatné",
|
|
2886
2894
|
invalidDate: "Neplatné datum",
|
|
2895
|
+
invalidVat: "Neplatné DIČ",
|
|
2887
2896
|
mustBeFiveOrNineDigits: "Musí být pět nebo devět číslic",
|
|
2888
2897
|
mustBeInDateFormat: "Musí být v tomto formátu: MM/DD/RRRR",
|
|
2889
2898
|
mustBeNineDigits: "Musí být devět číslic",
|
|
@@ -3441,6 +3450,7 @@ const vr = {
|
|
|
3441
3450
|
error: {
|
|
3442
3451
|
invalid: "Ugyldig",
|
|
3443
3452
|
invalidDate: "Ugyldig dato",
|
|
3453
|
+
invalidVat: "Ugyldigt momsregistreringsnummer",
|
|
3444
3454
|
mustBeFiveOrNineDigits: "Skal være fem eller ni tal",
|
|
3445
3455
|
mustBeInDateFormat: "Skal skrives som: MM/DD/ÅÅÅÅ",
|
|
3446
3456
|
mustBeNineDigits: "Skal være ni tal",
|
|
@@ -3998,6 +4008,7 @@ const vr = {
|
|
|
3998
4008
|
error: {
|
|
3999
4009
|
invalid: "Ungültig",
|
|
4000
4010
|
invalidDate: "Ungültiges Datum",
|
|
4011
|
+
invalidVat: "Ungültige Umsatzsteuer-Identifikationsnummer",
|
|
4001
4012
|
mustBeFiveOrNineDigits: "Muss fünf- oder neunstellig sein",
|
|
4002
4013
|
mustBeInDateFormat: "Muss in diesem Format vorliegen: MM/TT/JJJJ",
|
|
4003
4014
|
mustBeNineDigits: "Muss neunstellig sein",
|
|
@@ -4555,6 +4566,7 @@ const vr = {
|
|
|
4555
4566
|
error: {
|
|
4556
4567
|
invalid: "Ungültig",
|
|
4557
4568
|
invalidDate: "Ungültiges Datum",
|
|
4569
|
+
invalidVat: "Ungültige Umsatzsteuer-Identifikationsnummer",
|
|
4558
4570
|
mustBeFiveOrNineDigits: "Muss fünf oder neun Ziffern aufweisen",
|
|
4559
4571
|
mustBeInDateFormat: "Muss in diesem Format erfolgen: MM/TT/JJJJ",
|
|
4560
4572
|
mustBeNineDigits: "Muss neun Ziffern aufweisen",
|
|
@@ -5112,6 +5124,8 @@ const vr = {
|
|
|
5112
5124
|
error: {
|
|
5113
5125
|
invalid: "Μη έγκυρο",
|
|
5114
5126
|
invalidDate: "Μη έγκυρη ημερομηνία",
|
|
5127
|
+
// translate "Invalid VAT identification number"
|
|
5128
|
+
invalidVat: "Μη έγκυρος αριθμός ΦΠΑ",
|
|
5115
5129
|
mustBeFiveOrNineDigits: "Πρέπει να αποτελείται από πέντε ή εννέα ψηφία",
|
|
5116
5130
|
mustBeInDateFormat: "Πρέπει να έχει αυτή τη μορφή: ΜΜ/ΗΗ/ΕΕΕΕ",
|
|
5117
5131
|
mustBeNineDigits: "Πρέπει να αποτελείται από εννέα ψηφία",
|
|
@@ -5669,6 +5683,8 @@ const vr = {
|
|
|
5669
5683
|
error: {
|
|
5670
5684
|
invalid: "Μη έγκυρο",
|
|
5671
5685
|
invalidDate: "Μη έγκυρη ημερομηνία",
|
|
5686
|
+
// translate "Invalid VAT identification number"
|
|
5687
|
+
invalidVat: "Μη έγκυρος αριθμός ΦΠΑ",
|
|
5672
5688
|
mustBeFiveOrNineDigits: "Πρέπει να περιέχει πέντε ή εννέα ψηφία",
|
|
5673
5689
|
mustBeInDateFormat: "Πρέπει να έχει την εξής μορφή: ΗΗ/ΜΜ/ΕΕΕΕ",
|
|
5674
5690
|
mustBeNineDigits: "Πρέπει να περιέχει εννέα ψηφία",
|
|
@@ -6226,6 +6242,7 @@ const vr = {
|
|
|
6226
6242
|
error: {
|
|
6227
6243
|
invalid: "Invalid",
|
|
6228
6244
|
invalidDate: "Invalid Date",
|
|
6245
|
+
invalidVat: "Invalid VAT identification number",
|
|
6229
6246
|
mustBeFiveOrNineDigits: "Must be five or nine digits",
|
|
6230
6247
|
mustBeInDateFormat: "Must be in this format: DD/MM/YYYY",
|
|
6231
6248
|
mustBeNineDigits: "Must be nine digits",
|
|
@@ -6783,6 +6800,7 @@ const vr = {
|
|
|
6783
6800
|
error: {
|
|
6784
6801
|
invalid: "Invalid",
|
|
6785
6802
|
invalidDate: "Invalid Date",
|
|
6803
|
+
invalidVat: "Invalid VAT Identification Number",
|
|
6786
6804
|
mustBeFiveOrNineDigits: "Must be five or nine digits",
|
|
6787
6805
|
mustBeInDateFormat: "Must select a month, day, and year",
|
|
6788
6806
|
mustBeNineDigits: "Must be nine digits",
|
|
@@ -7340,6 +7358,7 @@ const vr = {
|
|
|
7340
7358
|
error: {
|
|
7341
7359
|
invalid: "No válido",
|
|
7342
7360
|
invalidDate: "Fecha no válida",
|
|
7361
|
+
invalidVat: "Número de IVA no válido",
|
|
7343
7362
|
mustBeFiveOrNineDigits: "Debe tener de cinco a nueve dígitos.",
|
|
7344
7363
|
mustBeInDateFormat: "Debe tener este formato: DD/MM/AAAA",
|
|
7345
7364
|
mustBeNineDigits: "Debe tener nueve dígitos",
|
|
@@ -7897,6 +7916,7 @@ const vr = {
|
|
|
7897
7916
|
error: {
|
|
7898
7917
|
invalid: "Kehtetu",
|
|
7899
7918
|
invalidDate: "Kehtetu kuupäev",
|
|
7919
|
+
invalidVat: "Kehtetu KMKR",
|
|
7900
7920
|
mustBeFiveOrNineDigits: "Peab olema viis või üheksa numbrit",
|
|
7901
7921
|
mustBeInDateFormat: "Peab olema vormingus: KK.PP.AAAA",
|
|
7902
7922
|
mustBeNineDigits: "Peab olema üheksa numbrit",
|
|
@@ -8454,6 +8474,7 @@ const vr = {
|
|
|
8454
8474
|
error: {
|
|
8455
8475
|
invalid: "Virheellinen",
|
|
8456
8476
|
invalidDate: "Virheellinen päivämäärä",
|
|
8477
|
+
invalidVat: "Virheellinen ALV-tunniste",
|
|
8457
8478
|
mustBeFiveOrNineDigits: "Täytyy olla viisi tai yhdeksän numeroa",
|
|
8458
8479
|
mustBeInDateFormat: "Täytyy olla tässä muodossa: KK/PP/VVVV",
|
|
8459
8480
|
mustBeNineDigits: "Täytyy olla yhdeksän numeroa",
|
|
@@ -9011,6 +9032,7 @@ const vr = {
|
|
|
9011
9032
|
error: {
|
|
9012
9033
|
invalid: "Invalide",
|
|
9013
9034
|
invalidDate: "Date non valide",
|
|
9035
|
+
invalidVat: "Numéro de TVA non valide",
|
|
9014
9036
|
mustBeFiveOrNineDigits: "Doit compter cinq ou neuf chiffres",
|
|
9015
9037
|
mustBeInDateFormat: "Doit être au format : JJ/MM/AAAA",
|
|
9016
9038
|
mustBeNineDigits: "Doit compter neuf chiffres",
|
|
@@ -9568,6 +9590,7 @@ const vr = {
|
|
|
9568
9590
|
error: {
|
|
9569
9591
|
invalid: "Invalide",
|
|
9570
9592
|
invalidDate: "Date invalide",
|
|
9593
|
+
invalidVat: "Numéro de TVA invalide",
|
|
9571
9594
|
mustBeFiveOrNineDigits: "Doit contenir cinq ou neuf chiffres",
|
|
9572
9595
|
mustBeInDateFormat: "Doit être au format : MM/JJ/AAAA",
|
|
9573
9596
|
mustBeNineDigits: "Doit contenir neuf chiffres",
|
|
@@ -10125,6 +10148,7 @@ const vr = {
|
|
|
10125
10148
|
error: {
|
|
10126
10149
|
invalid: "Neamhbhailí",
|
|
10127
10150
|
invalidDate: "Dáta Neamhbhailí",
|
|
10151
|
+
invalidVat: "Uimhir Aitheantais CBL Neamhbhailí",
|
|
10128
10152
|
mustBeFiveOrNineDigits: "Ní mór cúig nó naoi ndigit a bheith ann",
|
|
10129
10153
|
mustBeInDateFormat: "Caithfidh sé a bheith san fhormáid seo: MM/LL/BBBB",
|
|
10130
10154
|
mustBeNineDigits: "Ní mór naoi ndigit a bheith ann",
|
|
@@ -10682,6 +10706,7 @@ const vr = {
|
|
|
10682
10706
|
error: {
|
|
10683
10707
|
invalid: "Neispravno",
|
|
10684
10708
|
invalidDate: "Datum nije valjan",
|
|
10709
|
+
invalidVat: "Neispravan PDV ID broj",
|
|
10685
10710
|
mustBeFiveOrNineDigits: "Mora imati pet ili devet znamenki",
|
|
10686
10711
|
mustBeInDateFormat: "Mora biti u ovom obliku: MM/DD/GGGG",
|
|
10687
10712
|
mustBeNineDigits: "Mora imati devet znamenki",
|
|
@@ -11100,7 +11125,7 @@ const vr = {
|
|
|
11100
11125
|
"sl-si": "Slovenski",
|
|
11101
11126
|
"sv-se": "Švedski"
|
|
11102
11127
|
}
|
|
11103
|
-
},
|
|
11128
|
+
}, Pr = {
|
|
11104
11129
|
button: {
|
|
11105
11130
|
back: "Vissza",
|
|
11106
11131
|
cancel: "Mégse",
|
|
@@ -11239,6 +11264,7 @@ const vr = {
|
|
|
11239
11264
|
error: {
|
|
11240
11265
|
invalid: "Érvénytelen",
|
|
11241
11266
|
invalidDate: "Érvénytelen dátum",
|
|
11267
|
+
invalidVat: "Érvénytelen HÉA-azonosító szám",
|
|
11242
11268
|
mustBeFiveOrNineDigits: "Öt vagy kilenc számjegyből kell állnia",
|
|
11243
11269
|
mustBeInDateFormat: "A következő formátumban kell lennie: HH/NN/ÉÉÉÉ",
|
|
11244
11270
|
mustBeNineDigits: "Kilenc számjegyből kell állnia",
|
|
@@ -11657,7 +11683,7 @@ const vr = {
|
|
|
11657
11683
|
"sl-si": "Szlovén",
|
|
11658
11684
|
"sv-se": "Svéd"
|
|
11659
11685
|
}
|
|
11660
|
-
},
|
|
11686
|
+
}, Rr = {
|
|
11661
11687
|
button: {
|
|
11662
11688
|
back: "Indietro",
|
|
11663
11689
|
cancel: "Annulla",
|
|
@@ -11796,6 +11822,7 @@ const vr = {
|
|
|
11796
11822
|
error: {
|
|
11797
11823
|
invalid: "Non valido",
|
|
11798
11824
|
invalidDate: "Data non valida",
|
|
11825
|
+
invalidVat: "Numero di partita IVA non valido",
|
|
11799
11826
|
mustBeFiveOrNineDigits: "Deve essere composto da cinque o nove cifre",
|
|
11800
11827
|
mustBeInDateFormat: "Deve essere nel seguente formato: MM/GG/AAAA",
|
|
11801
11828
|
mustBeNineDigits: "Deve essere composto da nove cifre",
|
|
@@ -12353,6 +12380,7 @@ const vr = {
|
|
|
12353
12380
|
error: {
|
|
12354
12381
|
invalid: "Neteisinga",
|
|
12355
12382
|
invalidDate: "Neteisinga data",
|
|
12383
|
+
invalidVat: "Neteisingas PVM mokėtojo numeris",
|
|
12356
12384
|
mustBeFiveOrNineDigits: "Turi būti penki arba devyni skaitmenys",
|
|
12357
12385
|
mustBeInDateFormat: "Turi būti šio formato: MM/DD/MMMM",
|
|
12358
12386
|
mustBeNineDigits: "Turi būti devyni skaitmenys",
|
|
@@ -12910,6 +12938,7 @@ const vr = {
|
|
|
12910
12938
|
error: {
|
|
12911
12939
|
invalid: "Nederīgs",
|
|
12912
12940
|
invalidDate: "Nederīgs datums",
|
|
12941
|
+
invalidVat: "Nederīgs PVN numurs",
|
|
12913
12942
|
mustBeFiveOrNineDigits: "Jābūt pieciem vai deviņiem cipariem",
|
|
12914
12943
|
mustBeInDateFormat: "Jābūt šajā formātā: MM/DD/YYYY",
|
|
12915
12944
|
mustBeNineDigits: "Jābūt deviņiem cipariem",
|
|
@@ -13467,6 +13496,7 @@ const vr = {
|
|
|
13467
13496
|
error: {
|
|
13468
13497
|
invalid: "Invalidu/a",
|
|
13469
13498
|
invalidDate: "Data Invalida",
|
|
13499
|
+
invalidVat: "Numru ta’ Identifikazzjoni tal-VAT Invalidu",
|
|
13470
13500
|
mustBeFiveOrNineDigits: "Trid tkun ħames jew disa’ ċifri",
|
|
13471
13501
|
mustBeInDateFormat: "Trid tkun f’dan il-format: XX/JJ/SSSS",
|
|
13472
13502
|
mustBeNineDigits: "Trid tkun f’disa’ ċifri",
|
|
@@ -14024,6 +14054,7 @@ const vr = {
|
|
|
14024
14054
|
error: {
|
|
14025
14055
|
invalid: "Ongeldig",
|
|
14026
14056
|
invalidDate: "Ongeldige datum",
|
|
14057
|
+
invalidVat: "Ongeldig btw-identificatienummer",
|
|
14027
14058
|
mustBeFiveOrNineDigits: "Moet uit vijf of negen cijfers bestaan",
|
|
14028
14059
|
mustBeInDateFormat: "Moet de volgende notatie hebben: MM/DD/JJJJ",
|
|
14029
14060
|
mustBeNineDigits: "Moet uit negen cijfers bestaan",
|
|
@@ -14581,6 +14612,7 @@ const vr = {
|
|
|
14581
14612
|
error: {
|
|
14582
14613
|
invalid: "Ongeldig",
|
|
14583
14614
|
invalidDate: "Ongeldige datum",
|
|
14615
|
+
invalidVat: "Ongeldig btw-identificatienummer",
|
|
14584
14616
|
mustBeFiveOrNineDigits: "Moet uit vijf of negen cijfers bestaan",
|
|
14585
14617
|
mustBeInDateFormat: "Moet de volgende notatie hebben: MM/DD/JJJJ",
|
|
14586
14618
|
mustBeNineDigits: "Moet uit negen cijfers bestaan",
|
|
@@ -15135,6 +15167,7 @@ const vr = {
|
|
|
15135
15167
|
error: {
|
|
15136
15168
|
invalid: "Ugyldig",
|
|
15137
15169
|
invalidDate: "Ugyldig dato",
|
|
15170
|
+
invalidVat: "Ugyldig MVA-nummer",
|
|
15138
15171
|
mustBeFiveOrNineDigits: "Må være fem eller ni sifre",
|
|
15139
15172
|
mustBeInDateFormat: "Må velge måned, dag og år",
|
|
15140
15173
|
mustBeNineDigits: "Må være ni sifre",
|
|
@@ -15695,6 +15728,7 @@ const vr = {
|
|
|
15695
15728
|
error: {
|
|
15696
15729
|
invalid: "Nieprawidłowe",
|
|
15697
15730
|
invalidDate: "Nieprawidłowa data",
|
|
15731
|
+
invalidVat: "Nieprawidłowy numer identyfikacji podatkowej VAT",
|
|
15698
15732
|
mustBeFiveOrNineDigits: "Musi mieć pięć lub dziewięć cyfr",
|
|
15699
15733
|
mustBeInDateFormat: "Musi być w tym formacie MM/DD/RRRR",
|
|
15700
15734
|
mustBeNineDigits: "Musi mieć dziewięć cyfr",
|
|
@@ -16252,6 +16286,7 @@ const vr = {
|
|
|
16252
16286
|
error: {
|
|
16253
16287
|
invalid: "Inválido",
|
|
16254
16288
|
invalidDate: "Data inválida",
|
|
16289
|
+
invalidVat: "Número de identificação fiscal inválido",
|
|
16255
16290
|
mustBeFiveOrNineDigits: "Deve ter cinco ou nove dígitos",
|
|
16256
16291
|
mustBeInDateFormat: "Deve ter o seguinte formato: MM/DD/AAAA",
|
|
16257
16292
|
mustBeNineDigits: "Deve ter nove dígitos",
|
|
@@ -16809,6 +16844,7 @@ const vr = {
|
|
|
16809
16844
|
error: {
|
|
16810
16845
|
invalid: "Nevalid",
|
|
16811
16846
|
invalidDate: "Dată nevalidă",
|
|
16847
|
+
invalidVat: "Număr de identificare TVA nevalid",
|
|
16812
16848
|
mustBeFiveOrNineDigits: "Trebuie să aibă cinci sau nouă cifre",
|
|
16813
16849
|
mustBeInDateFormat: "Trebuie să fie în acest format: LL/ZZ/AAAA",
|
|
16814
16850
|
mustBeNineDigits: "Trebuie să aibă nouă cifre",
|
|
@@ -17366,6 +17402,7 @@ const vr = {
|
|
|
17366
17402
|
error: {
|
|
17367
17403
|
invalid: "Neplatné",
|
|
17368
17404
|
invalidDate: "Neplatný dátum",
|
|
17405
|
+
invalidVat: "Neplatné IČ DPH",
|
|
17369
17406
|
mustBeFiveOrNineDigits: "Musí mať päť alebo deväť číslic",
|
|
17370
17407
|
mustBeInDateFormat: "Musí byť v tomto formáte: DD/MM/RRRR",
|
|
17371
17408
|
mustBeNineDigits: "Musí mať deväť číslic",
|
|
@@ -17923,6 +17960,7 @@ const vr = {
|
|
|
17923
17960
|
error: {
|
|
17924
17961
|
invalid: "Neveljavno",
|
|
17925
17962
|
invalidDate: "Neveljaven datum",
|
|
17963
|
+
invalidVat: "Neveljavna identifikacijska številka za DDV",
|
|
17926
17964
|
mustBeFiveOrNineDigits: "Vsebovati mora pet ali devet števk",
|
|
17927
17965
|
mustBeInDateFormat: "Biti mora v tej obliki: MM/DD/LLLL",
|
|
17928
17966
|
mustBeNineDigits: "Vsebovati mora devet števk",
|
|
@@ -18480,6 +18518,7 @@ const vr = {
|
|
|
18480
18518
|
error: {
|
|
18481
18519
|
invalid: "Ogiltig",
|
|
18482
18520
|
invalidDate: "Ogiltigt datum",
|
|
18521
|
+
invalidVat: "Ogiltigt momsregistreringsnummer",
|
|
18483
18522
|
mustBeFiveOrNineDigits: "Måste vara fem eller nio siffror",
|
|
18484
18523
|
mustBeInDateFormat: "Måste vara i detta format: MM/DD/ÅÅÅÅ",
|
|
18485
18524
|
mustBeNineDigits: "Måste vara nio siffror",
|
|
@@ -18899,7 +18938,7 @@ const vr = {
|
|
|
18899
18938
|
12: "December"
|
|
18900
18939
|
}
|
|
18901
18940
|
}, Ja = {
|
|
18902
|
-
"bg-bg":
|
|
18941
|
+
"bg-bg": pr,
|
|
18903
18942
|
"cs-cz": fr,
|
|
18904
18943
|
"da-dk": Ar,
|
|
18905
18944
|
"de-at": br,
|
|
@@ -18915,8 +18954,8 @@ const vr = {
|
|
|
18915
18954
|
"fr-lu": zr,
|
|
18916
18955
|
"ga-ie": Er,
|
|
18917
18956
|
"hr-hr": Br,
|
|
18918
|
-
"hu-hu":
|
|
18919
|
-
"it-it":
|
|
18957
|
+
"hu-hu": Pr,
|
|
18958
|
+
"it-it": Rr,
|
|
18920
18959
|
"lt-lt": wr,
|
|
18921
18960
|
"lv-lv": Hr,
|
|
18922
18961
|
"mt-mt": Lr,
|
|
@@ -19008,22 +19047,22 @@ const vr = {
|
|
|
19008
19047
|
onSuccess: r,
|
|
19009
19048
|
staging: o
|
|
19010
19049
|
}) => {
|
|
19011
|
-
var
|
|
19012
|
-
const { status: s,
|
|
19013
|
-
|
|
19014
|
-
|
|
19015
|
-
|
|
19016
|
-
|
|
19017
|
-
|
|
19018
|
-
|
|
19019
|
-
|
|
19020
|
-
},
|
|
19021
|
-
|
|
19022
|
-
|
|
19023
|
-
|
|
19024
|
-
formData:
|
|
19025
|
-
isComplete: ((
|
|
19026
|
-
isLoading: !
|
|
19050
|
+
var v, A, f, y, B;
|
|
19051
|
+
const { status: s, postData: d, serverData: l } = kr(e, o), m = er(l, a), k = ((v = s == null ? void 0 : s.DAC7Interview) == null ? void 0 : v.vatStatus) === "INVALID" && ((A = l == null ? void 0 : l.accountHolder) == null ? void 0 : A.vatin) !== void 0 ? [
|
|
19052
|
+
{
|
|
19053
|
+
type: "vat",
|
|
19054
|
+
status: "invalid",
|
|
19055
|
+
identifier: (f = l == null ? void 0 : l.accountHolder) == null ? void 0 : f.vatin
|
|
19056
|
+
}
|
|
19057
|
+
] : [], g = async (I) => {
|
|
19058
|
+
n && n(I), await d(I), r && r(I);
|
|
19059
|
+
}, c = (s == null ? void 0 : s.submissionStatus) === "NOT_SUBMITTED" ? s.submissionStatus : (y = s == null ? void 0 : s.DAC7Interview) == null ? void 0 : y.dataCollectionStatus;
|
|
19060
|
+
return {
|
|
19061
|
+
handleOnSubmit: g,
|
|
19062
|
+
externalValidations: k,
|
|
19063
|
+
formData: m,
|
|
19064
|
+
isComplete: ((B = s == null ? void 0 : s.DAC7Interview) == null ? void 0 : B.dataCollectionStatus) === "COMPLETE",
|
|
19065
|
+
isLoading: !c || c !== "NOT_SUBMITTED" && !l
|
|
19027
19066
|
};
|
|
19028
19067
|
}, ht = () => {
|
|
19029
19068
|
const e = At(void 0);
|
|
@@ -19046,49 +19085,49 @@ const vr = {
|
|
|
19046
19085
|
}, oo = ({
|
|
19047
19086
|
data: e,
|
|
19048
19087
|
language: a = "en-us",
|
|
19049
|
-
|
|
19050
|
-
|
|
19051
|
-
|
|
19052
|
-
|
|
19088
|
+
externalValidations: n,
|
|
19089
|
+
onSubmit: r,
|
|
19090
|
+
onProgress: o,
|
|
19091
|
+
step: s = "AccountHolderClassification",
|
|
19092
|
+
taxForms: d = ["DAC7"]
|
|
19053
19093
|
}) => {
|
|
19054
|
-
const
|
|
19055
|
-
Yn(e,
|
|
19056
|
-
), [
|
|
19094
|
+
const l = Za(e), [m, k] = W(a), [g, c] = W(d), [v, A] = W(), [f, y] = W(
|
|
19095
|
+
Yn(e, g)
|
|
19096
|
+
), [B, I] = W([s]), [z, p] = W(
|
|
19057
19097
|
void 0
|
|
19058
|
-
), { isW9:
|
|
19059
|
-
|
|
19060
|
-
|
|
19061
|
-
),
|
|
19062
|
-
|
|
19063
|
-
|
|
19064
|
-
|
|
19065
|
-
|
|
19066
|
-
|
|
19067
|
-
|
|
19068
|
-
|
|
19069
|
-
|
|
19070
|
-
|
|
19071
|
-
|
|
19072
|
-
|
|
19073
|
-
|
|
19074
|
-
|
|
19075
|
-
|
|
19076
|
-
|
|
19077
|
-
|
|
19078
|
-
|
|
19079
|
-
stepNumber: z + 1,
|
|
19080
|
-
totalSteps: x.length,
|
|
19098
|
+
), { isW9: G, isW8: J, isW8Ben: X, isW8BenE: ce, isDac7: T } = xa(
|
|
19099
|
+
f,
|
|
19100
|
+
g
|
|
19101
|
+
), M = B[B.length - 1], H = ee(() => $n(f), [f]), te = (O) => ({
|
|
19102
|
+
AccountHolderContact: "accountHolderContactInformation",
|
|
19103
|
+
AccountHolderTax: "accountHolderTaxInformation",
|
|
19104
|
+
AccountHolderTaxClarification: "accountHolderTaxClarification",
|
|
19105
|
+
AccountHolderClassification: "accountHolderClassification",
|
|
19106
|
+
Confirmation: "confirmation",
|
|
19107
|
+
Exemptions: "exemptions",
|
|
19108
|
+
RegardedOwnerClassification: "regardedOwnerClassification",
|
|
19109
|
+
RegardedOwnerContact: "regardedOwnerContactInformation",
|
|
19110
|
+
RegardedOwnerTax: "regardedOwnerTaxInformation",
|
|
19111
|
+
Summary: "summary"
|
|
19112
|
+
})[O];
|
|
19113
|
+
_(() => {
|
|
19114
|
+
const O = H.indexOf(M);
|
|
19115
|
+
A({
|
|
19116
|
+
stepNumber: O + 1,
|
|
19117
|
+
stepIndex: O,
|
|
19118
|
+
totalSteps: H.length,
|
|
19081
19119
|
percentComplete: Math.round(
|
|
19082
|
-
|
|
19120
|
+
O / (H.length - 1) * 100
|
|
19083
19121
|
),
|
|
19084
|
-
stepTitle: kt(te(
|
|
19085
|
-
stepId: te(
|
|
19086
|
-
|
|
19122
|
+
stepTitle: kt(te(M), m),
|
|
19123
|
+
stepId: te(M),
|
|
19124
|
+
steps: H.map((F) => te(F)),
|
|
19125
|
+
language: m
|
|
19087
19126
|
});
|
|
19088
|
-
}, [
|
|
19089
|
-
|
|
19090
|
-
}, [
|
|
19091
|
-
const
|
|
19127
|
+
}, [m, M, H]), _(() => {
|
|
19128
|
+
v && o && o(v);
|
|
19129
|
+
}, [o, v]);
|
|
19130
|
+
const Se = {
|
|
19092
19131
|
regardedOwnerUsPerson: void 0,
|
|
19093
19132
|
regardedOwnerUsAccountType: void 0,
|
|
19094
19133
|
regardedOwnerUsLlcClassification: void 0,
|
|
@@ -19097,91 +19136,94 @@ const vr = {
|
|
|
19097
19136
|
regardedOwnerForeignAccountType: void 0,
|
|
19098
19137
|
regardedOwnerForeignTrustClassification: void 0,
|
|
19099
19138
|
regardedOwnerForeignOtherClassification: void 0
|
|
19100
|
-
},
|
|
19101
|
-
const
|
|
19102
|
-
|
|
19103
|
-
},
|
|
19104
|
-
(
|
|
19105
|
-
|
|
19139
|
+
}, q = (O) => {
|
|
19140
|
+
const F = re(O);
|
|
19141
|
+
y(O), r(ur(O)), ge(F);
|
|
19142
|
+
}, ie = it(
|
|
19143
|
+
(O) => {
|
|
19144
|
+
JSON.stringify(O) !== JSON.stringify(l.current) && (y(Yn(O, g)), p(void 0), I([s]));
|
|
19106
19145
|
},
|
|
19107
|
-
[
|
|
19108
|
-
),
|
|
19109
|
-
const
|
|
19110
|
-
return
|
|
19111
|
-
},
|
|
19112
|
-
const
|
|
19113
|
-
|
|
19114
|
-
},
|
|
19115
|
-
const
|
|
19116
|
-
...
|
|
19117
|
-
...
|
|
19146
|
+
[g, s]
|
|
19147
|
+
), re = (O) => {
|
|
19148
|
+
const F = $n(O), we = F.indexOf(M);
|
|
19149
|
+
return F[we + 1] || "Summary";
|
|
19150
|
+
}, Ae = (O) => {
|
|
19151
|
+
const F = re(O);
|
|
19152
|
+
F === "Summary" && p(void 0), ge(F);
|
|
19153
|
+
}, me = (O) => {
|
|
19154
|
+
const F = {
|
|
19155
|
+
...f,
|
|
19156
|
+
...O
|
|
19118
19157
|
};
|
|
19119
|
-
|
|
19120
|
-
},
|
|
19121
|
-
|
|
19122
|
-
...
|
|
19123
|
-
...
|
|
19124
|
-
}) :
|
|
19125
|
-
},
|
|
19126
|
-
|
|
19127
|
-
},
|
|
19128
|
-
|
|
19129
|
-
},
|
|
19130
|
-
|
|
19131
|
-
} : void 0,
|
|
19132
|
-
|
|
19158
|
+
y(F), z === void 0 ? Ae(F) : I(["Summary"]);
|
|
19159
|
+
}, Ne = (O) => {
|
|
19160
|
+
f.accountHolderUsAccountType !== O.accountHolderUsAccountType || f.accountHolderForeignAccountType !== O.accountHolderForeignAccountType ? me({
|
|
19161
|
+
...O,
|
|
19162
|
+
...Se
|
|
19163
|
+
}) : me(O);
|
|
19164
|
+
}, ge = (O) => {
|
|
19165
|
+
I([...B, O]);
|
|
19166
|
+
}, Te = (O) => {
|
|
19167
|
+
I([O]), p(f);
|
|
19168
|
+
}, Me = z !== void 0 ? () => {
|
|
19169
|
+
y(z), p(void 0), I(["Summary"]);
|
|
19170
|
+
} : void 0, ye = B.length > 1 ? () => {
|
|
19171
|
+
I(B.slice(0, B.length - 1));
|
|
19133
19172
|
} : void 0;
|
|
19134
19173
|
return {
|
|
19135
|
-
isW9:
|
|
19136
|
-
isW8:
|
|
19137
|
-
isW8Ben:
|
|
19138
|
-
isW8BenE:
|
|
19139
|
-
isDac7:
|
|
19140
|
-
onPersistAccountHolderData:
|
|
19141
|
-
onPersistCollectedData:
|
|
19142
|
-
onSubmitTaxDocumentation:
|
|
19143
|
-
onResetTaxDocumentation:
|
|
19144
|
-
editTo:
|
|
19145
|
-
onCancel:
|
|
19146
|
-
|
|
19147
|
-
goTo:
|
|
19148
|
-
goBack:
|
|
19149
|
-
goToNext:
|
|
19150
|
-
progress:
|
|
19151
|
-
stepName:
|
|
19152
|
-
data:
|
|
19153
|
-
setLanguage:
|
|
19154
|
-
language:
|
|
19155
|
-
supportedForms:
|
|
19156
|
-
setSupportedForms:
|
|
19174
|
+
isW9: G,
|
|
19175
|
+
isW8: J,
|
|
19176
|
+
isW8Ben: X,
|
|
19177
|
+
isW8BenE: ce,
|
|
19178
|
+
isDac7: T,
|
|
19179
|
+
onPersistAccountHolderData: Ne,
|
|
19180
|
+
onPersistCollectedData: me,
|
|
19181
|
+
onSubmitTaxDocumentation: q,
|
|
19182
|
+
onResetTaxDocumentation: ie,
|
|
19183
|
+
editTo: Te,
|
|
19184
|
+
onCancel: Me,
|
|
19185
|
+
getStepId: te,
|
|
19186
|
+
goTo: ge,
|
|
19187
|
+
goBack: ye,
|
|
19188
|
+
goToNext: Ae,
|
|
19189
|
+
progress: v,
|
|
19190
|
+
stepName: M,
|
|
19191
|
+
data: f,
|
|
19192
|
+
setLanguage: k,
|
|
19193
|
+
language: m,
|
|
19194
|
+
supportedForms: g,
|
|
19195
|
+
setSupportedForms: c,
|
|
19196
|
+
externalValidations: n
|
|
19157
19197
|
};
|
|
19158
19198
|
}, so = ({
|
|
19159
19199
|
data: e = {},
|
|
19160
|
-
|
|
19161
|
-
|
|
19162
|
-
|
|
19163
|
-
|
|
19164
|
-
|
|
19200
|
+
externalValidations: a,
|
|
19201
|
+
onSubmit: n,
|
|
19202
|
+
onProgress: r,
|
|
19203
|
+
language: o,
|
|
19204
|
+
taxForms: s,
|
|
19205
|
+
step: d,
|
|
19165
19206
|
children: l
|
|
19166
19207
|
}) => /* @__PURE__ */ i.jsx(
|
|
19167
19208
|
ro,
|
|
19168
19209
|
{
|
|
19169
19210
|
value: oo({
|
|
19170
19211
|
data: e,
|
|
19171
|
-
onSubmit:
|
|
19172
|
-
language:
|
|
19173
|
-
taxForms:
|
|
19174
|
-
|
|
19175
|
-
|
|
19212
|
+
onSubmit: n,
|
|
19213
|
+
language: o,
|
|
19214
|
+
taxForms: s,
|
|
19215
|
+
externalValidations: a,
|
|
19216
|
+
step: d,
|
|
19217
|
+
onProgress: r
|
|
19176
19218
|
}),
|
|
19177
19219
|
children: l
|
|
19178
19220
|
}
|
|
19179
19221
|
), [E, lo] = ht(), uo = (e, a) => {
|
|
19180
|
-
const n = (
|
|
19181
|
-
const
|
|
19182
|
-
return
|
|
19183
|
-
}, r = (
|
|
19184
|
-
const
|
|
19222
|
+
const n = (p) => {
|
|
19223
|
+
const G = $t(e);
|
|
19224
|
+
return G[p] ? G[p] : p;
|
|
19225
|
+
}, r = (p) => {
|
|
19226
|
+
const G = {
|
|
19185
19227
|
accountHolderUsSmllcElection: "smllcElection",
|
|
19186
19228
|
iConfirmIncomeIsNonUs: "iConfirmIncomeIsNonUs",
|
|
19187
19229
|
accountHolderIsEuResident: "isEuResident",
|
|
@@ -19191,29 +19233,29 @@ const vr = {
|
|
|
19191
19233
|
accountHolderVatIdentificationNumber: "vatIdentificationNumber",
|
|
19192
19234
|
accountHolderCityOfBirth: "placeOfBirth"
|
|
19193
19235
|
};
|
|
19194
|
-
return
|
|
19195
|
-
}, o = (
|
|
19196
|
-
const
|
|
19197
|
-
return
|
|
19236
|
+
return G[p] ? G[p] : p;
|
|
19237
|
+
}, o = (p) => {
|
|
19238
|
+
const G = _t();
|
|
19239
|
+
return G[p] ? G[p] : p;
|
|
19198
19240
|
};
|
|
19199
19241
|
return {
|
|
19200
|
-
getLocalHint: (
|
|
19201
|
-
getLocalText: (
|
|
19202
|
-
getLocalTitle: (
|
|
19203
|
-
getLocalSubTitle: (
|
|
19204
|
-
getLocalError: (
|
|
19205
|
-
getLocalLocale: (
|
|
19206
|
-
getLocalButton: (
|
|
19207
|
-
getLocalPrompt: (
|
|
19208
|
-
getLocalSubPrompt: (
|
|
19209
|
-
getLocalOption: (
|
|
19210
|
-
if (
|
|
19211
|
-
return Xn(
|
|
19242
|
+
getLocalHint: (p) => _r(o(p), a),
|
|
19243
|
+
getLocalText: (p) => gt(p, a),
|
|
19244
|
+
getLocalTitle: (p) => kt(p, a),
|
|
19245
|
+
getLocalSubTitle: (p) => Qr(p, a),
|
|
19246
|
+
getLocalError: (p) => Yr(p, a),
|
|
19247
|
+
getLocalLocale: (p) => no(p, a),
|
|
19248
|
+
getLocalButton: (p) => Xr(p, a),
|
|
19249
|
+
getLocalPrompt: (p) => Zr(n(p), a),
|
|
19250
|
+
getLocalSubPrompt: (p) => qr(r(p), a),
|
|
19251
|
+
getLocalOption: (p) => {
|
|
19252
|
+
if (p)
|
|
19253
|
+
return Xn(p, a) ? Xn(p, a) : p;
|
|
19212
19254
|
},
|
|
19213
|
-
getLocalCountry: (
|
|
19214
|
-
getLocalUsState: (
|
|
19215
|
-
getLocalCaProvince: (
|
|
19216
|
-
getLocalMonth: (
|
|
19255
|
+
getLocalCountry: (p) => p ? $r(p, a) : "",
|
|
19256
|
+
getLocalUsState: (p) => p ? eo(p, a) : "",
|
|
19257
|
+
getLocalCaProvince: (p) => p ? ao(p, a) : "",
|
|
19258
|
+
getLocalMonth: (p) => p ? io(p, a) : "",
|
|
19217
19259
|
getHintKey: o,
|
|
19218
19260
|
getPromptKey: n,
|
|
19219
19261
|
getSubPromptKey: r
|
|
@@ -19229,89 +19271,98 @@ const vr = {
|
|
|
19229
19271
|
const {
|
|
19230
19272
|
language: e,
|
|
19231
19273
|
data: a,
|
|
19232
|
-
supportedForms: n
|
|
19233
|
-
|
|
19234
|
-
|
|
19235
|
-
|
|
19236
|
-
|
|
19274
|
+
supportedForms: n,
|
|
19275
|
+
externalValidations: r
|
|
19276
|
+
} = ae(), [o, s] = W(a), [d, l] = W(!1), [m, k] = W(/* @__PURE__ */ new Set()), g = ee(
|
|
19277
|
+
() => gr(o, n),
|
|
19278
|
+
[o, n]
|
|
19279
|
+
), c = ee(
|
|
19237
19280
|
() => Object.fromEntries(
|
|
19238
|
-
[...
|
|
19281
|
+
[...m].map((T) => [T, !0])
|
|
19239
19282
|
),
|
|
19240
|
-
[
|
|
19241
|
-
),
|
|
19242
|
-
const
|
|
19283
|
+
[m]
|
|
19284
|
+
), v = ee(() => {
|
|
19285
|
+
const T = ut(o);
|
|
19243
19286
|
return Object.fromEntries(
|
|
19244
|
-
Object.keys(
|
|
19245
|
-
|
|
19246
|
-
|
|
19287
|
+
Object.keys(c).map((M) => [
|
|
19288
|
+
M,
|
|
19289
|
+
T[M]
|
|
19247
19290
|
])
|
|
19248
19291
|
);
|
|
19249
|
-
}, [
|
|
19250
|
-
const
|
|
19292
|
+
}, [o, c]), A = ee(() => {
|
|
19293
|
+
const T = mr(o, r);
|
|
19251
19294
|
return Object.fromEntries(
|
|
19252
|
-
Object.keys(
|
|
19295
|
+
Object.keys(c).map((M) => [M, T[M]]).filter(([, M]) => M)
|
|
19253
19296
|
);
|
|
19254
|
-
}, [
|
|
19255
|
-
|
|
19256
|
-
|
|
19297
|
+
}, [o, c, r]);
|
|
19298
|
+
_(() => {
|
|
19299
|
+
s(a);
|
|
19257
19300
|
}, [a]);
|
|
19258
19301
|
const f = it(
|
|
19259
|
-
(
|
|
19260
|
-
if (/accountHolderShowTaxResidence[234]/.test(
|
|
19261
|
-
const
|
|
19262
|
-
|
|
19263
|
-
} else if (/AddressCountry/.test(
|
|
19264
|
-
if (
|
|
19265
|
-
const
|
|
19266
|
-
|
|
19302
|
+
(T, M) => {
|
|
19303
|
+
if (/accountHolderShowTaxResidence[234]/.test(T) && M === void 0) {
|
|
19304
|
+
const H = parseInt(T.slice(-1));
|
|
19305
|
+
M !== o[T] && s(co(o, H));
|
|
19306
|
+
} else if (/AddressCountry/.test(T)) {
|
|
19307
|
+
if (M !== o[T]) {
|
|
19308
|
+
const H = T.split("Address")[0] + "Address";
|
|
19309
|
+
s((te) => ({
|
|
19267
19310
|
...te,
|
|
19268
|
-
[
|
|
19269
|
-
[
|
|
19311
|
+
[T]: M,
|
|
19312
|
+
[H]: M
|
|
19270
19313
|
}));
|
|
19271
19314
|
}
|
|
19272
19315
|
} else
|
|
19273
|
-
|
|
19274
|
-
...
|
|
19275
|
-
[
|
|
19316
|
+
M !== o[T] && s((H) => ({
|
|
19317
|
+
...H,
|
|
19318
|
+
[T]: M
|
|
19276
19319
|
}));
|
|
19277
19320
|
},
|
|
19278
|
-
[
|
|
19279
|
-
),
|
|
19321
|
+
[o]
|
|
19322
|
+
), y = (T) => {
|
|
19323
|
+
if (r && r.length > 0) {
|
|
19324
|
+
const M = r.find(
|
|
19325
|
+
(H) => H.type === "vat" && H.identifier === o.accountHolderVatIdentificationNumber
|
|
19326
|
+
);
|
|
19327
|
+
return T === "accountHolderVatIdentificationNumber" && !!M;
|
|
19328
|
+
}
|
|
19329
|
+
}, B = () => {
|
|
19280
19330
|
l(!0);
|
|
19281
|
-
},
|
|
19331
|
+
}, I = () => {
|
|
19282
19332
|
l(!1);
|
|
19283
|
-
},
|
|
19333
|
+
}, z = Object.keys(A).length === 0, p = uo(o, e);
|
|
19284
19334
|
return {
|
|
19285
|
-
clearIfNotRequired: (...
|
|
19286
|
-
|
|
19287
|
-
f(
|
|
19335
|
+
clearIfNotRequired: (...T) => (M) => {
|
|
19336
|
+
M === "yes" && T.forEach((H) => {
|
|
19337
|
+
f(H, "");
|
|
19288
19338
|
});
|
|
19289
19339
|
},
|
|
19290
|
-
fields:
|
|
19291
|
-
setFields:
|
|
19340
|
+
fields: o,
|
|
19341
|
+
setFields: s,
|
|
19292
19342
|
setValue: f,
|
|
19293
|
-
isErrorFree:
|
|
19294
|
-
showErrors:
|
|
19295
|
-
|
|
19296
|
-
|
|
19297
|
-
|
|
19298
|
-
|
|
19343
|
+
isErrorFree: z,
|
|
19344
|
+
showErrors: d,
|
|
19345
|
+
showErrorsForField: y,
|
|
19346
|
+
exposeErrors: B,
|
|
19347
|
+
hideErrors: I,
|
|
19348
|
+
getRequiredLocalPrompt: (T) => p.getLocalPrompt(T) + (v[T] ? "*" : ""),
|
|
19349
|
+
invalidFields: A,
|
|
19299
19350
|
// (must be visible)
|
|
19300
|
-
requiredFields:
|
|
19351
|
+
requiredFields: v,
|
|
19301
19352
|
// (must be visible)
|
|
19302
|
-
visibleFields:
|
|
19353
|
+
visibleFields: g,
|
|
19303
19354
|
// (must be supported)
|
|
19304
|
-
hideField: (
|
|
19305
|
-
|
|
19355
|
+
hideField: (T) => {
|
|
19356
|
+
m.has(T) && k((M) => new Set([...M].filter((H) => H !== T))), f(T, void 0);
|
|
19306
19357
|
},
|
|
19307
|
-
showField: (
|
|
19308
|
-
|
|
19358
|
+
showField: (T) => {
|
|
19359
|
+
m.has(T) || k((M) => /* @__PURE__ */ new Set([...M, T]));
|
|
19309
19360
|
},
|
|
19310
|
-
...
|
|
19361
|
+
...p
|
|
19311
19362
|
};
|
|
19312
|
-
},
|
|
19363
|
+
}, ue = ({ children: e }) => /* @__PURE__ */ i.jsx(lo, { value: mo(), children: e }), go = ({ address: e, className: a }) => {
|
|
19313
19364
|
const { getLocalCountry: n, getLocalUsState: r, getLocalCaProvince: o } = E(), s = e.country === "US" ? r(e.state) : e.country === "CA" ? o(e.state) : e.state;
|
|
19314
|
-
return /* @__PURE__ */ i.jsxs("div", { className:
|
|
19365
|
+
return /* @__PURE__ */ i.jsxs("div", { className: le(a, "address"), children: [
|
|
19315
19366
|
/* @__PURE__ */ i.jsx("div", { children: e.street }),
|
|
19316
19367
|
e.street2 && /* @__PURE__ */ i.jsx("div", { children: e.street2 }),
|
|
19317
19368
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
|
@@ -19321,19 +19372,25 @@ const vr = {
|
|
|
19321
19372
|
] }),
|
|
19322
19373
|
e.country && /* @__PURE__ */ i.jsx("div", { children: n(e.country) })
|
|
19323
19374
|
] });
|
|
19324
|
-
},
|
|
19375
|
+
}, Re = ({
|
|
19325
19376
|
name: e,
|
|
19326
19377
|
hint: a
|
|
19327
19378
|
}) => {
|
|
19328
|
-
const {
|
|
19329
|
-
|
|
19330
|
-
|
|
19379
|
+
const {
|
|
19380
|
+
invalidFields: n,
|
|
19381
|
+
showErrors: r,
|
|
19382
|
+
showErrorsForField: o,
|
|
19383
|
+
getLocalError: s,
|
|
19384
|
+
getLocalHint: d
|
|
19385
|
+
} = E(), l = n[e] ? n[e].map((m) => s(m)) : void 0;
|
|
19386
|
+
return l && (r || o(e)) ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: l.map((m) => /* @__PURE__ */ i.jsxs(nt, { children: [
|
|
19387
|
+
m,
|
|
19331
19388
|
/* @__PURE__ */ i.jsx("br", {})
|
|
19332
|
-
] },
|
|
19333
|
-
},
|
|
19389
|
+
] }, m)) }) : a ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-hint", children: d(e) }) : null;
|
|
19390
|
+
}, pe = ({ children: e, title: a, actions: n, className: r }) => /* @__PURE__ */ i.jsxs(
|
|
19334
19391
|
"form",
|
|
19335
19392
|
{
|
|
19336
|
-
className:
|
|
19393
|
+
className: le("taxbit-page", r),
|
|
19337
19394
|
onSubmit: () => !1,
|
|
19338
19395
|
children: [
|
|
19339
19396
|
/* @__PURE__ */ i.jsxs("header", { className: "taxbit-page-header", children: [
|
|
@@ -19343,27 +19400,27 @@ const vr = {
|
|
|
19343
19400
|
e
|
|
19344
19401
|
]
|
|
19345
19402
|
}
|
|
19346
|
-
),
|
|
19403
|
+
), Ie = ({
|
|
19347
19404
|
children: e,
|
|
19348
19405
|
className: a
|
|
19349
|
-
}) => /* @__PURE__ */ i.jsx("div", { className:
|
|
19406
|
+
}) => /* @__PURE__ */ i.jsx("div", { className: le(a, "taxbit-input-status"), children: e }), ei = ({
|
|
19350
19407
|
label: e,
|
|
19351
19408
|
subLabel: a,
|
|
19352
19409
|
value: n,
|
|
19353
19410
|
children: r,
|
|
19354
19411
|
onEdit: o,
|
|
19355
19412
|
name: s,
|
|
19356
|
-
className:
|
|
19413
|
+
className: d
|
|
19357
19414
|
}) => {
|
|
19358
|
-
const { invalidFields:
|
|
19415
|
+
const { invalidFields: l, showErrors: m, showErrorsForField: k, getLocalButton: g } = E();
|
|
19359
19416
|
return /* @__PURE__ */ i.jsxs(
|
|
19360
19417
|
"div",
|
|
19361
19418
|
{
|
|
19362
|
-
className:
|
|
19419
|
+
className: le(
|
|
19363
19420
|
"taxbit-row",
|
|
19364
|
-
s && `taxbit-question-${
|
|
19365
|
-
s && m &&
|
|
19366
|
-
|
|
19421
|
+
s && `taxbit-question-${la(s)}`,
|
|
19422
|
+
s && (m || k(s)) && l[s] && "taxbit-error",
|
|
19423
|
+
d
|
|
19367
19424
|
),
|
|
19368
19425
|
children: [
|
|
19369
19426
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-label", children: [
|
|
@@ -19376,20 +19433,20 @@ const vr = {
|
|
|
19376
19433
|
"button",
|
|
19377
19434
|
{
|
|
19378
19435
|
onClick: o,
|
|
19379
|
-
className:
|
|
19436
|
+
className: le(
|
|
19380
19437
|
"taxbit-button",
|
|
19381
19438
|
"taxbit-row-edit-button",
|
|
19382
19439
|
"taxbit-row-action-button"
|
|
19383
19440
|
),
|
|
19384
19441
|
type: "button",
|
|
19385
|
-
children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-edit-button-content", children:
|
|
19442
|
+
children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-edit-button-content", children: g("edit") })
|
|
19386
19443
|
}
|
|
19387
19444
|
) })
|
|
19388
19445
|
] })
|
|
19389
19446
|
]
|
|
19390
19447
|
}
|
|
19391
19448
|
);
|
|
19392
|
-
},
|
|
19449
|
+
}, se = ({
|
|
19393
19450
|
title: e,
|
|
19394
19451
|
subTitle: a,
|
|
19395
19452
|
showIf: n = !0,
|
|
@@ -19400,14 +19457,14 @@ const vr = {
|
|
|
19400
19457
|
a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-section-sub-title", children: a })
|
|
19401
19458
|
] }),
|
|
19402
19459
|
r
|
|
19403
|
-
] }) : r,
|
|
19460
|
+
] }) : r, Pe = [{ value: "yes" }, { value: "no" }], ko = () => {
|
|
19404
19461
|
const { language: e, setLanguage: a } = ae(), { getLocalLocale: n } = E(), r = (s) => {
|
|
19405
|
-
const
|
|
19406
|
-
a(
|
|
19462
|
+
const d = s.target.value;
|
|
19463
|
+
a(d);
|
|
19407
19464
|
}, o = Lt.map((s) => ({
|
|
19408
19465
|
...s,
|
|
19409
19466
|
label: n(s.value)
|
|
19410
|
-
})).sort((s,
|
|
19467
|
+
})).sort((s, d) => s.label.localeCompare(d.label));
|
|
19411
19468
|
return /* @__PURE__ */ i.jsx(
|
|
19412
19469
|
"select",
|
|
19413
19470
|
{
|
|
@@ -19428,23 +19485,23 @@ const vr = {
|
|
|
19428
19485
|
"RegardedOwnerContact",
|
|
19429
19486
|
"RegardedOwnerTax",
|
|
19430
19487
|
"Summary"
|
|
19431
|
-
],
|
|
19432
|
-
if (
|
|
19488
|
+
], vo = (e) => ho.includes(e), da = (e) => {
|
|
19489
|
+
if (vo(e))
|
|
19433
19490
|
return e;
|
|
19434
19491
|
throw new Error(`Invalid input step: ${e}`);
|
|
19435
|
-
},
|
|
19492
|
+
}, fe = ({
|
|
19436
19493
|
onBack: e,
|
|
19437
19494
|
onCancel: a,
|
|
19438
19495
|
onNext: n,
|
|
19439
19496
|
onSubmit: r,
|
|
19440
19497
|
onReset: o
|
|
19441
19498
|
}) => {
|
|
19442
|
-
const { isErrorFree: s, exposeErrors:
|
|
19499
|
+
const { isErrorFree: s, exposeErrors: d, getLocalButton: l } = E(), m = s ? n : d, k = s ? r : d;
|
|
19443
19500
|
return /* @__PURE__ */ i.jsxs("footer", { className: "taxbit-step-actions", children: [
|
|
19444
19501
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-secondary-actions", children: [
|
|
19445
|
-
a && /* @__PURE__ */ i.jsx("button", { onClick: a, type: "button", className: "taxbit-button", children:
|
|
19446
|
-
e && /* @__PURE__ */ i.jsx("button", { onClick: e, type: "button", className: "taxbit-button", children:
|
|
19447
|
-
o && /* @__PURE__ */ i.jsx("button", { onClick: o, type: "button", className: "taxbit-button", children:
|
|
19502
|
+
a && /* @__PURE__ */ i.jsx("button", { onClick: a, type: "button", className: "taxbit-button", children: l("cancel") }),
|
|
19503
|
+
e && /* @__PURE__ */ i.jsx("button", { onClick: e, type: "button", className: "taxbit-button", children: l("back") }),
|
|
19504
|
+
o && /* @__PURE__ */ i.jsx("button", { onClick: o, type: "button", className: "taxbit-button", children: l("reset") })
|
|
19448
19505
|
] }),
|
|
19449
19506
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-primary-actions", children: [
|
|
19450
19507
|
n && /* @__PURE__ */ i.jsx(
|
|
@@ -19453,27 +19510,27 @@ const vr = {
|
|
|
19453
19510
|
onClick: m,
|
|
19454
19511
|
type: "button",
|
|
19455
19512
|
className: "taxbit-button",
|
|
19456
|
-
children:
|
|
19513
|
+
children: l("next")
|
|
19457
19514
|
}
|
|
19458
19515
|
),
|
|
19459
19516
|
r && /* @__PURE__ */ i.jsx(
|
|
19460
19517
|
"button",
|
|
19461
19518
|
{
|
|
19462
|
-
onClick:
|
|
19519
|
+
onClick: k,
|
|
19463
19520
|
type: "button",
|
|
19464
19521
|
className: "taxbit-button",
|
|
19465
|
-
children:
|
|
19522
|
+
children: l("submit")
|
|
19466
19523
|
}
|
|
19467
19524
|
)
|
|
19468
19525
|
] })
|
|
19469
19526
|
] });
|
|
19470
|
-
},
|
|
19471
|
-
const { fields: o, setValue: s, getLocalPrompt:
|
|
19527
|
+
}, po = ({ label: e, subLabel: a, name: n, onClick: r }) => {
|
|
19528
|
+
const { fields: o, setValue: s, getLocalPrompt: d, getLocalSubPrompt: l } = E(), m = (c) => {
|
|
19472
19529
|
r && r(c), s(n, c);
|
|
19473
|
-
},
|
|
19530
|
+
}, k = o[n], g = (c) => {
|
|
19474
19531
|
m(c.target.checked ? "yes" : void 0);
|
|
19475
19532
|
};
|
|
19476
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19533
|
+
return /* @__PURE__ */ i.jsxs(Ie, { children: [
|
|
19477
19534
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-checkBox-label", children: [
|
|
19478
19535
|
/* @__PURE__ */ i.jsx(
|
|
19479
19536
|
"input",
|
|
@@ -19482,59 +19539,59 @@ const vr = {
|
|
|
19482
19539
|
id: n,
|
|
19483
19540
|
name: n,
|
|
19484
19541
|
"aria-label": n,
|
|
19485
|
-
checked:
|
|
19542
|
+
checked: k === "yes",
|
|
19486
19543
|
onChange: g,
|
|
19487
19544
|
className: "taxbit-check-box"
|
|
19488
19545
|
}
|
|
19489
19546
|
),
|
|
19490
19547
|
/* @__PURE__ */ i.jsxs("label", { htmlFor: n, children: [
|
|
19491
|
-
e &&
|
|
19492
|
-
a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-sub-label", children:
|
|
19548
|
+
e && d(n),
|
|
19549
|
+
a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-sub-label", children: l(n) })
|
|
19493
19550
|
] })
|
|
19494
19551
|
] }),
|
|
19495
|
-
/* @__PURE__ */ i.jsx(
|
|
19552
|
+
/* @__PURE__ */ i.jsx(Re, { name: n })
|
|
19496
19553
|
] });
|
|
19497
19554
|
}, fo = (e) => {
|
|
19498
|
-
const { fields: a, setValue: n, getLocalMonth: r } = E(), o = a[e] || "", s = o.split("/")[0] || "",
|
|
19555
|
+
const { fields: a, setValue: n, getLocalMonth: r } = E(), o = a[e] || "", s = o.split("/")[0] || "", d = o.split("/")[1] || "", l = o.split("/")[2] || "", m = s !== "" ? Kn(
|
|
19499
19556
|
parseInt(s),
|
|
19500
|
-
|
|
19501
|
-
) : Dn.length,
|
|
19502
|
-
...
|
|
19503
|
-
label: r(
|
|
19504
|
-
})), g = (
|
|
19505
|
-
if (!
|
|
19557
|
+
l !== "" ? parseInt(l) : void 0
|
|
19558
|
+
) : Dn.length, k = xt.map((f) => ({
|
|
19559
|
+
...f,
|
|
19560
|
+
label: r(f.value)
|
|
19561
|
+
})), g = (f, y, B) => {
|
|
19562
|
+
if (!y)
|
|
19506
19563
|
return !0;
|
|
19507
|
-
const
|
|
19508
|
-
parseInt(
|
|
19509
|
-
|
|
19564
|
+
const I = Kn(
|
|
19565
|
+
parseInt(y),
|
|
19566
|
+
D(B) ? parseInt(B) : void 0
|
|
19510
19567
|
);
|
|
19511
|
-
return
|
|
19568
|
+
return D(f) && I >= parseInt(f);
|
|
19512
19569
|
};
|
|
19513
19570
|
return {
|
|
19514
19571
|
mm: s,
|
|
19515
|
-
dd:
|
|
19516
|
-
yyyy:
|
|
19517
|
-
handleDayChange: (
|
|
19518
|
-
const
|
|
19519
|
-
n(e, `${s || ""}/${
|
|
19572
|
+
dd: d,
|
|
19573
|
+
yyyy: l,
|
|
19574
|
+
handleDayChange: (f) => {
|
|
19575
|
+
const y = f.target.value;
|
|
19576
|
+
n(e, `${s || ""}/${y}/${l || ""}`);
|
|
19520
19577
|
},
|
|
19521
|
-
handleMonthChange: (
|
|
19522
|
-
const
|
|
19578
|
+
handleMonthChange: (f) => {
|
|
19579
|
+
const y = f.target.value;
|
|
19523
19580
|
n(
|
|
19524
19581
|
e,
|
|
19525
|
-
`${
|
|
19582
|
+
`${y}/${g(d, y, l) ? d : ""}/${l || ""}`
|
|
19526
19583
|
);
|
|
19527
19584
|
},
|
|
19528
|
-
handleYearChange: (
|
|
19529
|
-
const
|
|
19585
|
+
handleYearChange: (f) => {
|
|
19586
|
+
const y = f.target.value;
|
|
19530
19587
|
n(
|
|
19531
19588
|
e,
|
|
19532
|
-
`${s || ""}/${g(
|
|
19589
|
+
`${s || ""}/${g(d, s, y) ? d : ""}/${y}`
|
|
19533
19590
|
);
|
|
19534
19591
|
},
|
|
19535
19592
|
dayOptions: Dn.slice(0, m),
|
|
19536
19593
|
birthYearOptions: Yt,
|
|
19537
|
-
monthOptions:
|
|
19594
|
+
monthOptions: k
|
|
19538
19595
|
};
|
|
19539
19596
|
}, Ao = ({
|
|
19540
19597
|
name: e,
|
|
@@ -19544,15 +19601,15 @@ const vr = {
|
|
|
19544
19601
|
const { getLocalPrompt: r } = E(), {
|
|
19545
19602
|
dd: o,
|
|
19546
19603
|
mm: s,
|
|
19547
|
-
yyyy:
|
|
19548
|
-
handleDayChange:
|
|
19604
|
+
yyyy: d,
|
|
19605
|
+
handleDayChange: l,
|
|
19549
19606
|
handleMonthChange: m,
|
|
19550
|
-
handleYearChange:
|
|
19607
|
+
handleYearChange: k,
|
|
19551
19608
|
dayOptions: g,
|
|
19552
19609
|
monthOptions: c,
|
|
19553
|
-
birthYearOptions:
|
|
19610
|
+
birthYearOptions: v
|
|
19554
19611
|
} = fo(e);
|
|
19555
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19612
|
+
return /* @__PURE__ */ i.jsxs(Ie, { className: a, children: [
|
|
19556
19613
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-row-value", children: [
|
|
19557
19614
|
/* @__PURE__ */ i.jsxs(
|
|
19558
19615
|
"select",
|
|
@@ -19561,69 +19618,69 @@ const vr = {
|
|
|
19561
19618
|
value: s,
|
|
19562
19619
|
name: `${e}Month`,
|
|
19563
19620
|
"aria-label": `${e}Month`,
|
|
19564
|
-
className:
|
|
19621
|
+
className: le(
|
|
19565
19622
|
"taxbit-select",
|
|
19566
19623
|
"taxbit-select-month",
|
|
19567
|
-
|
|
19624
|
+
R(s) ? "taxbit-placeholder" : ""
|
|
19568
19625
|
),
|
|
19569
19626
|
children: [
|
|
19570
19627
|
/* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("month") }),
|
|
19571
|
-
c.map((
|
|
19628
|
+
c.map((A) => /* @__PURE__ */ i.jsx("option", { value: A.value, children: A.label ? A.label : A.value }, A.value))
|
|
19572
19629
|
]
|
|
19573
19630
|
}
|
|
19574
19631
|
),
|
|
19575
19632
|
/* @__PURE__ */ i.jsxs(
|
|
19576
19633
|
"select",
|
|
19577
19634
|
{
|
|
19578
|
-
onChange:
|
|
19635
|
+
onChange: l,
|
|
19579
19636
|
value: o,
|
|
19580
19637
|
name: `${e}Day`,
|
|
19581
19638
|
"aria-label": `${e}Day`,
|
|
19582
|
-
className:
|
|
19639
|
+
className: le(
|
|
19583
19640
|
"taxbit-select",
|
|
19584
19641
|
"taxbit-select-day",
|
|
19585
|
-
|
|
19642
|
+
R(o) ? "taxbit-placeholder" : ""
|
|
19586
19643
|
),
|
|
19587
19644
|
children: [
|
|
19588
19645
|
/* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("day") }),
|
|
19589
|
-
g.map((
|
|
19646
|
+
g.map((A) => /* @__PURE__ */ i.jsx("option", { value: A.value, children: parseInt(A.value) }, A.value))
|
|
19590
19647
|
]
|
|
19591
19648
|
}
|
|
19592
19649
|
),
|
|
19593
19650
|
/* @__PURE__ */ i.jsxs(
|
|
19594
19651
|
"select",
|
|
19595
19652
|
{
|
|
19596
|
-
onChange:
|
|
19597
|
-
value:
|
|
19653
|
+
onChange: k,
|
|
19654
|
+
value: d,
|
|
19598
19655
|
name: `${e}Year`,
|
|
19599
19656
|
"aria-label": `${e}Year`,
|
|
19600
|
-
className:
|
|
19657
|
+
className: le(
|
|
19601
19658
|
"taxbit-select",
|
|
19602
19659
|
"taxbit-select-year",
|
|
19603
|
-
|
|
19660
|
+
R(d) ? "taxbit-placeholder" : ""
|
|
19604
19661
|
),
|
|
19605
19662
|
children: [
|
|
19606
19663
|
/* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("year") }),
|
|
19607
|
-
|
|
19664
|
+
v.map((A) => /* @__PURE__ */ i.jsx("option", { value: A.value, children: A.value }, A.value))
|
|
19608
19665
|
]
|
|
19609
19666
|
}
|
|
19610
19667
|
)
|
|
19611
19668
|
] }),
|
|
19612
|
-
/* @__PURE__ */ i.jsx(
|
|
19669
|
+
/* @__PURE__ */ i.jsx(Re, { name: e, hint: n })
|
|
19613
19670
|
] });
|
|
19614
19671
|
}, bo = ({ name: e, options: a }) => {
|
|
19615
|
-
const { fields: n, setValue: r, hideErrors: o, getLocalOption: s } = E(),
|
|
19616
|
-
r(e,
|
|
19617
|
-
},
|
|
19618
|
-
|
|
19672
|
+
const { fields: n, setValue: r, hideErrors: o, getLocalOption: s } = E(), d = (k) => {
|
|
19673
|
+
r(e, k), o();
|
|
19674
|
+
}, l = n[e], m = (k) => {
|
|
19675
|
+
d(k.target.value);
|
|
19619
19676
|
};
|
|
19620
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19621
|
-
/* @__PURE__ */ i.jsx("div", { className: "taxbit-radio-buttons", children: a.map((
|
|
19677
|
+
return /* @__PURE__ */ i.jsxs(Ie, { children: [
|
|
19678
|
+
/* @__PURE__ */ i.jsx("div", { className: "taxbit-radio-buttons", children: a.map((k) => /* @__PURE__ */ i.jsxs(
|
|
19622
19679
|
"div",
|
|
19623
19680
|
{
|
|
19624
|
-
className:
|
|
19681
|
+
className: le(
|
|
19625
19682
|
"taxbit-radio-button",
|
|
19626
|
-
|
|
19683
|
+
k.value === l ? "selected" : !1
|
|
19627
19684
|
),
|
|
19628
19685
|
children: [
|
|
19629
19686
|
/* @__PURE__ */ i.jsx(
|
|
@@ -19631,19 +19688,19 @@ const vr = {
|
|
|
19631
19688
|
{
|
|
19632
19689
|
type: "radio",
|
|
19633
19690
|
name: e,
|
|
19634
|
-
"aria-label": `${e}-${
|
|
19635
|
-
id: `${e}-${
|
|
19636
|
-
value:
|
|
19637
|
-
checked:
|
|
19691
|
+
"aria-label": `${e}-${k.value}`,
|
|
19692
|
+
id: `${e}-${k.value}`,
|
|
19693
|
+
value: k.value,
|
|
19694
|
+
checked: k.value === l,
|
|
19638
19695
|
onChange: m
|
|
19639
19696
|
}
|
|
19640
19697
|
),
|
|
19641
|
-
/* @__PURE__ */ i.jsx("label", { htmlFor: `${e}-${
|
|
19698
|
+
/* @__PURE__ */ i.jsx("label", { htmlFor: `${e}-${k.value}`, children: k.label || s(k.value) })
|
|
19642
19699
|
]
|
|
19643
19700
|
},
|
|
19644
|
-
|
|
19701
|
+
k.value
|
|
19645
19702
|
)) }),
|
|
19646
|
-
/* @__PURE__ */ i.jsx(
|
|
19703
|
+
/* @__PURE__ */ i.jsx(Re, { name: e })
|
|
19647
19704
|
] });
|
|
19648
19705
|
}, Co = ({
|
|
19649
19706
|
name: e,
|
|
@@ -19653,17 +19710,17 @@ const vr = {
|
|
|
19653
19710
|
onChange: o,
|
|
19654
19711
|
disabled: s
|
|
19655
19712
|
}) => {
|
|
19656
|
-
const { fields:
|
|
19657
|
-
o && o(),
|
|
19713
|
+
const { fields: d, setValue: l, getLocalOption: m } = E(), k = d[e], g = (c) => {
|
|
19714
|
+
o && o(), l(e, c.target.value);
|
|
19658
19715
|
};
|
|
19659
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19716
|
+
return /* @__PURE__ */ i.jsxs(Ie, { className: r, children: [
|
|
19660
19717
|
/* @__PURE__ */ i.jsxs(
|
|
19661
19718
|
"select",
|
|
19662
19719
|
{
|
|
19663
19720
|
name: e,
|
|
19664
19721
|
"aria-label": e,
|
|
19665
19722
|
onChange: g,
|
|
19666
|
-
value:
|
|
19723
|
+
value: k || "",
|
|
19667
19724
|
className: "taxbit-select",
|
|
19668
19725
|
disabled: s,
|
|
19669
19726
|
children: [
|
|
@@ -19672,7 +19729,7 @@ const vr = {
|
|
|
19672
19729
|
]
|
|
19673
19730
|
}
|
|
19674
19731
|
),
|
|
19675
|
-
/* @__PURE__ */ i.jsx(
|
|
19732
|
+
/* @__PURE__ */ i.jsx(Re, { name: e })
|
|
19676
19733
|
] });
|
|
19677
19734
|
}, Io = ({
|
|
19678
19735
|
name: e,
|
|
@@ -19681,33 +19738,33 @@ const vr = {
|
|
|
19681
19738
|
hint: r,
|
|
19682
19739
|
children: o,
|
|
19683
19740
|
disabled: s,
|
|
19684
|
-
syncName:
|
|
19741
|
+
syncName: d
|
|
19685
19742
|
}) => {
|
|
19686
|
-
const { fields:
|
|
19687
|
-
const
|
|
19688
|
-
|
|
19743
|
+
const { fields: l, setValue: m } = E(), k = l[e] || "", g = (c) => {
|
|
19744
|
+
const v = n ? n(c.target.value) : c.target.value;
|
|
19745
|
+
d && (l[d] === l[e] || !l[d]) && m(d, v), m(e, v);
|
|
19689
19746
|
};
|
|
19690
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19747
|
+
return /* @__PURE__ */ i.jsxs(Ie, { className: a, children: [
|
|
19691
19748
|
/* @__PURE__ */ i.jsx(
|
|
19692
19749
|
"input",
|
|
19693
19750
|
{
|
|
19694
19751
|
type: "text",
|
|
19695
19752
|
name: e,
|
|
19696
19753
|
"aria-label": e,
|
|
19697
|
-
value:
|
|
19754
|
+
value: k,
|
|
19698
19755
|
onChange: g,
|
|
19699
19756
|
className: "taxbit-input",
|
|
19700
19757
|
disabled: s
|
|
19701
19758
|
}
|
|
19702
19759
|
),
|
|
19703
|
-
/* @__PURE__ */ i.jsx(
|
|
19760
|
+
/* @__PURE__ */ i.jsx(Re, { name: e, hint: r }),
|
|
19704
19761
|
o ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: o }) : null
|
|
19705
19762
|
] });
|
|
19706
19763
|
}, So = ({ name: e }) => {
|
|
19707
19764
|
const { fields: a, setValue: n, getLocalPrompt: r } = E(), o = a[e], s = () => {
|
|
19708
19765
|
n(e, o === void 0 ? "yes" : void 0);
|
|
19709
19766
|
};
|
|
19710
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19767
|
+
return /* @__PURE__ */ i.jsxs(Ie, { children: [
|
|
19711
19768
|
/* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx(
|
|
19712
19769
|
"button",
|
|
19713
19770
|
{
|
|
@@ -19719,11 +19776,11 @@ const vr = {
|
|
|
19719
19776
|
children: r(e)
|
|
19720
19777
|
}
|
|
19721
19778
|
) }),
|
|
19722
|
-
/* @__PURE__ */ i.jsx(
|
|
19779
|
+
/* @__PURE__ */ i.jsx(Re, { name: e })
|
|
19723
19780
|
] });
|
|
19724
19781
|
}, No = ({ onClick: e }) => {
|
|
19725
|
-
const { getLocalButton: a } = E(), [n, r] =
|
|
19726
|
-
r((
|
|
19782
|
+
const { getLocalButton: a } = E(), [n, r] = W(!0), o = "hideShowButton", s = () => {
|
|
19783
|
+
r((d) => !d), e();
|
|
19727
19784
|
};
|
|
19728
19785
|
return /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-actions", children: /* @__PURE__ */ i.jsx(
|
|
19729
19786
|
"button",
|
|
@@ -19732,7 +19789,7 @@ const vr = {
|
|
|
19732
19789
|
id: o,
|
|
19733
19790
|
name: o,
|
|
19734
19791
|
onClick: s,
|
|
19735
|
-
className:
|
|
19792
|
+
className: le(
|
|
19736
19793
|
"taxbit-button",
|
|
19737
19794
|
"taxbit-row-action-button",
|
|
19738
19795
|
`taxbit-${n ? "show" : "hide"}-button`
|
|
@@ -19753,48 +19810,48 @@ const vr = {
|
|
|
19753
19810
|
onChange: r,
|
|
19754
19811
|
disabled: o,
|
|
19755
19812
|
show: s = !1,
|
|
19756
|
-
...
|
|
19813
|
+
...d
|
|
19757
19814
|
}) => {
|
|
19758
|
-
const [
|
|
19815
|
+
const [l, m] = W(e), [k, g] = W(
|
|
19759
19816
|
Array(e.length + 1).join(a)
|
|
19760
|
-
), c =
|
|
19817
|
+
), c = Za(), [v, A] = W([
|
|
19761
19818
|
0,
|
|
19762
19819
|
0
|
|
19763
|
-
]),
|
|
19764
|
-
|
|
19765
|
-
e !==
|
|
19766
|
-
}, [e, a,
|
|
19767
|
-
const
|
|
19768
|
-
const
|
|
19769
|
-
|
|
19770
|
-
const
|
|
19820
|
+
]), f = Za(null);
|
|
19821
|
+
_(() => {
|
|
19822
|
+
e !== l && (m(e), g(Array(e.length + 1).join(a)));
|
|
19823
|
+
}, [e, a, l]);
|
|
19824
|
+
const y = (B) => {
|
|
19825
|
+
const I = B.target.selectionEnd === null ? B.target.value.length : B.target.selectionEnd;
|
|
19826
|
+
A([I, I]);
|
|
19827
|
+
const z = B.target.value, p = z.replace(
|
|
19771
19828
|
new RegExp(
|
|
19772
|
-
`${
|
|
19829
|
+
`${I ? `(^\\${a}{1,${I}})|` : ""}(\\${a}+)`,
|
|
19773
19830
|
"g"
|
|
19774
19831
|
),
|
|
19775
|
-
(J,
|
|
19776
|
-
),
|
|
19777
|
-
g(
|
|
19832
|
+
(J, X, ce) => !ce && I ? l.substring(0, J.length) : l.substring(l.length - J.length)
|
|
19833
|
+
), G = z.split("").map((J, X) => X === I - 1 ? J : a).join("");
|
|
19834
|
+
g(G), m(p), r && r(p);
|
|
19778
19835
|
};
|
|
19779
|
-
return
|
|
19780
|
-
|
|
19781
|
-
|
|
19782
|
-
|
|
19783
|
-
]), g(Array(
|
|
19836
|
+
return _(() => (clearTimeout(c.current), c.current = setTimeout(() => {
|
|
19837
|
+
f.current && A([
|
|
19838
|
+
f.current.selectionStart,
|
|
19839
|
+
f.current.selectionEnd
|
|
19840
|
+
]), g(Array(k.length + 1).join(a));
|
|
19784
19841
|
}, 1e3), () => {
|
|
19785
19842
|
clearTimeout(c.current);
|
|
19786
|
-
}), [a,
|
|
19787
|
-
|
|
19788
|
-
}, [
|
|
19843
|
+
}), [a, k]), _(() => {
|
|
19844
|
+
f.current && (f.current.selectionStart = v[0], f.current.selectionEnd = v[1]);
|
|
19845
|
+
}, [v]), /* @__PURE__ */ i.jsx(
|
|
19789
19846
|
"input",
|
|
19790
19847
|
{
|
|
19791
|
-
...
|
|
19792
|
-
ref:
|
|
19848
|
+
...d,
|
|
19849
|
+
ref: f,
|
|
19793
19850
|
type: "text",
|
|
19794
19851
|
name: n,
|
|
19795
19852
|
"aria-label": n,
|
|
19796
|
-
value: s ?
|
|
19797
|
-
onChange:
|
|
19853
|
+
value: s ? l : k,
|
|
19854
|
+
onChange: y,
|
|
19798
19855
|
disabled: o
|
|
19799
19856
|
}
|
|
19800
19857
|
);
|
|
@@ -19806,12 +19863,12 @@ const vr = {
|
|
|
19806
19863
|
children: o,
|
|
19807
19864
|
disabled: s
|
|
19808
19865
|
}) => {
|
|
19809
|
-
const { fields:
|
|
19810
|
-
const
|
|
19811
|
-
|
|
19866
|
+
const { fields: d, setValue: l } = E(), [m, k] = W(!0), g = d[e] || "", c = (v) => {
|
|
19867
|
+
const A = n ? n(v) : v;
|
|
19868
|
+
l(e, A);
|
|
19812
19869
|
};
|
|
19813
19870
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
19814
|
-
/* @__PURE__ */ i.jsxs(
|
|
19871
|
+
/* @__PURE__ */ i.jsxs(Ie, { className: a, children: [
|
|
19815
19872
|
/* @__PURE__ */ i.jsx(
|
|
19816
19873
|
To,
|
|
19817
19874
|
{
|
|
@@ -19824,10 +19881,10 @@ const vr = {
|
|
|
19824
19881
|
disabled: s
|
|
19825
19882
|
}
|
|
19826
19883
|
),
|
|
19827
|
-
/* @__PURE__ */ i.jsx(
|
|
19884
|
+
/* @__PURE__ */ i.jsx(Re, { name: e, hint: r }),
|
|
19828
19885
|
o ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: o }) : null
|
|
19829
19886
|
] }),
|
|
19830
|
-
/* @__PURE__ */ i.jsx(No, { onClick: () =>
|
|
19887
|
+
/* @__PURE__ */ i.jsx(No, { onClick: () => k((v) => !v) })
|
|
19831
19888
|
] });
|
|
19832
19889
|
}, et = [
|
|
19833
19890
|
"City",
|
|
@@ -19842,28 +19899,28 @@ const vr = {
|
|
|
19842
19899
|
getRequiredLocalPrompt: r,
|
|
19843
19900
|
showField: o,
|
|
19844
19901
|
hideField: s,
|
|
19845
|
-
fields:
|
|
19846
|
-
} = E(),
|
|
19847
|
-
return
|
|
19848
|
-
|
|
19902
|
+
fields: d
|
|
19903
|
+
} = E(), l = !!n[`${a}Country`];
|
|
19904
|
+
return _(() => {
|
|
19905
|
+
l ? (o(a), et.forEach((m) => {
|
|
19849
19906
|
o(`${a}${m}`);
|
|
19850
19907
|
})) : (s(a), et.forEach((m) => {
|
|
19851
19908
|
s(`${a}${m}`);
|
|
19852
19909
|
}));
|
|
19853
|
-
}, [
|
|
19910
|
+
}, [l, o, s, a]), l ? /* @__PURE__ */ i.jsx(ei, { label: r(a), onEdit: e, name: a, children: /* @__PURE__ */ i.jsx(
|
|
19854
19911
|
go,
|
|
19855
19912
|
{
|
|
19856
19913
|
address: {
|
|
19857
|
-
city:
|
|
19858
|
-
state:
|
|
19859
|
-
zip:
|
|
19860
|
-
country:
|
|
19861
|
-
street:
|
|
19862
|
-
street2:
|
|
19914
|
+
city: d[`${a}City`],
|
|
19915
|
+
state: d[`${a}State`],
|
|
19916
|
+
zip: d[`${a}Zip`],
|
|
19917
|
+
country: d[`${a}Country`],
|
|
19918
|
+
street: d[`${a}Street`],
|
|
19919
|
+
street2: d[`${a}Street2`]
|
|
19863
19920
|
}
|
|
19864
19921
|
}
|
|
19865
19922
|
) }) : null;
|
|
19866
|
-
},
|
|
19923
|
+
}, b = ({
|
|
19867
19924
|
label: e,
|
|
19868
19925
|
subLabel: a,
|
|
19869
19926
|
name: n,
|
|
@@ -19872,54 +19929,54 @@ const vr = {
|
|
|
19872
19929
|
}) => {
|
|
19873
19930
|
const {
|
|
19874
19931
|
visibleFields: s,
|
|
19875
|
-
showField:
|
|
19876
|
-
hideField:
|
|
19932
|
+
showField: d,
|
|
19933
|
+
hideField: l,
|
|
19877
19934
|
getRequiredLocalPrompt: m,
|
|
19878
|
-
getLocalSubPrompt:
|
|
19935
|
+
getLocalSubPrompt: k
|
|
19879
19936
|
} = E(), g = !!s[n];
|
|
19880
|
-
return
|
|
19881
|
-
g ?
|
|
19882
|
-
}, [g, n,
|
|
19883
|
-
|
|
19937
|
+
return _(() => {
|
|
19938
|
+
g ? d(n) : l(n);
|
|
19939
|
+
}, [g, n, d, l]), g ? /* @__PURE__ */ i.jsx(
|
|
19940
|
+
ei,
|
|
19884
19941
|
{
|
|
19885
19942
|
name: n,
|
|
19886
19943
|
label: e ? m(n) : void 0,
|
|
19887
|
-
subLabel: a ?
|
|
19944
|
+
subLabel: a ? k(n) : void 0,
|
|
19888
19945
|
onEdit: o,
|
|
19889
19946
|
children: r
|
|
19890
19947
|
}
|
|
19891
19948
|
) : null;
|
|
19892
|
-
},
|
|
19949
|
+
}, U = ({
|
|
19893
19950
|
name: e,
|
|
19894
19951
|
label: a,
|
|
19895
19952
|
subLabel: n,
|
|
19896
19953
|
onClick: r
|
|
19897
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19898
|
-
|
|
19954
|
+
}) => /* @__PURE__ */ i.jsx(b, { name: e, children: /* @__PURE__ */ i.jsx(
|
|
19955
|
+
po,
|
|
19899
19956
|
{
|
|
19900
19957
|
label: a,
|
|
19901
19958
|
subLabel: n,
|
|
19902
19959
|
name: e,
|
|
19903
19960
|
onClick: r
|
|
19904
19961
|
}
|
|
19905
|
-
) }),
|
|
19962
|
+
) }), vt = ({
|
|
19906
19963
|
label: e,
|
|
19907
19964
|
subLabel: a,
|
|
19908
19965
|
name: n
|
|
19909
19966
|
}) => {
|
|
19910
|
-
const { showErrors: r, invalidFields: o, getLocalError: s } = E(),
|
|
19911
|
-
return /* @__PURE__ */ i.jsx(
|
|
19912
|
-
|
|
19967
|
+
const { showErrors: r, invalidFields: o, getLocalError: s } = E(), d = o[n] ? o[n].map((l) => s(l)) : void 0;
|
|
19968
|
+
return /* @__PURE__ */ i.jsx(b, { name: n, label: e, subLabel: a, children: r && d && /* @__PURE__ */ i.jsx(Ie, { children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d.map((l) => /* @__PURE__ */ i.jsxs(nt, { children: [
|
|
19969
|
+
l,
|
|
19913
19970
|
/* @__PURE__ */ i.jsx("br", {})
|
|
19914
|
-
] },
|
|
19915
|
-
},
|
|
19971
|
+
] }, l)) }) }) });
|
|
19972
|
+
}, Ce = ({
|
|
19916
19973
|
name: e,
|
|
19917
19974
|
label: a,
|
|
19918
19975
|
hint: n,
|
|
19919
19976
|
subLabel: r,
|
|
19920
19977
|
onChange: o,
|
|
19921
19978
|
disabled: s
|
|
19922
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19979
|
+
}) => /* @__PURE__ */ i.jsx(b, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19923
19980
|
Mo,
|
|
19924
19981
|
{
|
|
19925
19982
|
name: e,
|
|
@@ -19927,85 +19984,85 @@ const vr = {
|
|
|
19927
19984
|
hint: n,
|
|
19928
19985
|
disabled: s
|
|
19929
19986
|
}
|
|
19930
|
-
) }),
|
|
19987
|
+
) }), V = ({
|
|
19931
19988
|
name: e,
|
|
19932
19989
|
label: a,
|
|
19933
19990
|
subLabel: n,
|
|
19934
19991
|
options: r
|
|
19935
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19992
|
+
}) => /* @__PURE__ */ i.jsx(b, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(bo, { name: e, options: r }) }), de = ({
|
|
19936
19993
|
name: e,
|
|
19937
19994
|
label: a,
|
|
19938
19995
|
options: n,
|
|
19939
19996
|
subLabel: r,
|
|
19940
19997
|
addBlank: o,
|
|
19941
19998
|
onChange: s,
|
|
19942
|
-
disabled:
|
|
19943
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19999
|
+
disabled: d
|
|
20000
|
+
}) => /* @__PURE__ */ i.jsx(b, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19944
20001
|
Co,
|
|
19945
20002
|
{
|
|
19946
20003
|
name: e,
|
|
19947
20004
|
options: n,
|
|
19948
20005
|
addBlank: o,
|
|
19949
20006
|
onChange: s,
|
|
19950
|
-
disabled:
|
|
20007
|
+
disabled: d
|
|
19951
20008
|
}
|
|
19952
|
-
) }),
|
|
20009
|
+
) }), Y = ({
|
|
19953
20010
|
name: e,
|
|
19954
20011
|
label: a,
|
|
19955
20012
|
hint: n,
|
|
19956
20013
|
subLabel: r,
|
|
19957
20014
|
onChange: o,
|
|
19958
20015
|
disabled: s,
|
|
19959
|
-
syncName:
|
|
19960
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
20016
|
+
syncName: d
|
|
20017
|
+
}) => /* @__PURE__ */ i.jsx(b, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19961
20018
|
Io,
|
|
19962
20019
|
{
|
|
19963
20020
|
name: e,
|
|
19964
20021
|
onChange: o,
|
|
19965
20022
|
hint: n,
|
|
19966
20023
|
disabled: s,
|
|
19967
|
-
syncName:
|
|
20024
|
+
syncName: d
|
|
19968
20025
|
}
|
|
19969
20026
|
) }), yo = () => {
|
|
19970
|
-
const { fields: e, getLocalTitle: a } = E(), {
|
|
20027
|
+
const { fields: e, getLocalTitle: a } = E(), { getStepId: n, onPersistAccountHolderData: r, onCancel: o } = ae();
|
|
19971
20028
|
return /* @__PURE__ */ i.jsxs(
|
|
19972
|
-
|
|
20029
|
+
pe,
|
|
19973
20030
|
{
|
|
19974
20031
|
title: a(
|
|
19975
|
-
n(
|
|
20032
|
+
n(da("AccountHolderClassification"))
|
|
19976
20033
|
),
|
|
19977
20034
|
className: "taxbit-form-account-holder-classification",
|
|
19978
20035
|
actions: /* @__PURE__ */ i.jsx(ko, {}),
|
|
19979
20036
|
children: [
|
|
19980
20037
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
19981
20038
|
/* @__PURE__ */ i.jsx(
|
|
19982
|
-
|
|
20039
|
+
V,
|
|
19983
20040
|
{
|
|
19984
20041
|
name: "accountHolderUsPerson",
|
|
19985
|
-
options:
|
|
20042
|
+
options: Pe,
|
|
19986
20043
|
label: !0
|
|
19987
20044
|
}
|
|
19988
20045
|
),
|
|
19989
20046
|
/* @__PURE__ */ i.jsx(
|
|
19990
|
-
|
|
20047
|
+
V,
|
|
19991
20048
|
{
|
|
19992
20049
|
name: "accountHolderIsEuResident",
|
|
19993
|
-
options:
|
|
20050
|
+
options: Pe,
|
|
19994
20051
|
label: !0,
|
|
19995
20052
|
subLabel: !0
|
|
19996
20053
|
}
|
|
19997
20054
|
),
|
|
19998
20055
|
/* @__PURE__ */ i.jsx(
|
|
19999
|
-
|
|
20056
|
+
V,
|
|
20000
20057
|
{
|
|
20001
20058
|
name: "accountHolderIsIndividual",
|
|
20002
|
-
options:
|
|
20059
|
+
options: Pe,
|
|
20003
20060
|
label: !0,
|
|
20004
20061
|
subLabel: !0
|
|
20005
20062
|
}
|
|
20006
20063
|
),
|
|
20007
20064
|
/* @__PURE__ */ i.jsx(
|
|
20008
|
-
|
|
20065
|
+
V,
|
|
20009
20066
|
{
|
|
20010
20067
|
name: "accountHolderUsAccountType",
|
|
20011
20068
|
options: ot,
|
|
@@ -20013,33 +20070,33 @@ const vr = {
|
|
|
20013
20070
|
}
|
|
20014
20071
|
),
|
|
20015
20072
|
/* @__PURE__ */ i.jsx(
|
|
20016
|
-
|
|
20073
|
+
V,
|
|
20017
20074
|
{
|
|
20018
20075
|
name: "accountHolderUsSmllcElection",
|
|
20019
|
-
options:
|
|
20076
|
+
options: Pe,
|
|
20020
20077
|
label: !0,
|
|
20021
20078
|
subLabel: !0
|
|
20022
20079
|
}
|
|
20023
20080
|
),
|
|
20024
20081
|
/* @__PURE__ */ i.jsx(
|
|
20025
|
-
|
|
20082
|
+
V,
|
|
20026
20083
|
{
|
|
20027
20084
|
name: "accountHolderUsLlcClassification",
|
|
20028
|
-
options:
|
|
20085
|
+
options: $a,
|
|
20029
20086
|
label: !0
|
|
20030
20087
|
}
|
|
20031
20088
|
),
|
|
20032
|
-
/* @__PURE__ */ i.jsx(
|
|
20089
|
+
/* @__PURE__ */ i.jsx(Y, { name: "accountHolderUsOtherClassification", label: !0 }),
|
|
20033
20090
|
/* @__PURE__ */ i.jsx(
|
|
20034
|
-
|
|
20091
|
+
V,
|
|
20035
20092
|
{
|
|
20036
20093
|
name: "accountHolderUsTrustEstateEin",
|
|
20037
|
-
options:
|
|
20094
|
+
options: Pe,
|
|
20038
20095
|
label: !0
|
|
20039
20096
|
}
|
|
20040
20097
|
),
|
|
20041
20098
|
/* @__PURE__ */ i.jsx(
|
|
20042
|
-
|
|
20099
|
+
V,
|
|
20043
20100
|
{
|
|
20044
20101
|
name: "accountHolderForeignAccountType",
|
|
20045
20102
|
options: rt,
|
|
@@ -20047,24 +20104,24 @@ const vr = {
|
|
|
20047
20104
|
}
|
|
20048
20105
|
),
|
|
20049
20106
|
/* @__PURE__ */ i.jsx(
|
|
20050
|
-
|
|
20107
|
+
V,
|
|
20051
20108
|
{
|
|
20052
20109
|
name: "accountHolderForeignOtherClassification",
|
|
20053
|
-
options:
|
|
20110
|
+
options: Qa,
|
|
20054
20111
|
label: !0
|
|
20055
20112
|
}
|
|
20056
20113
|
),
|
|
20057
20114
|
/* @__PURE__ */ i.jsx(
|
|
20058
|
-
|
|
20115
|
+
V,
|
|
20059
20116
|
{
|
|
20060
20117
|
name: "accountHolderForeignTrustClassification",
|
|
20061
|
-
options:
|
|
20118
|
+
options: Xa,
|
|
20062
20119
|
label: !0
|
|
20063
20120
|
}
|
|
20064
20121
|
)
|
|
20065
20122
|
] }),
|
|
20066
20123
|
/* @__PURE__ */ i.jsx(
|
|
20067
|
-
|
|
20124
|
+
fe,
|
|
20068
20125
|
{
|
|
20069
20126
|
onCancel: o,
|
|
20070
20127
|
onNext: () => r(e)
|
|
@@ -20073,7 +20130,7 @@ const vr = {
|
|
|
20073
20130
|
]
|
|
20074
20131
|
}
|
|
20075
20132
|
);
|
|
20076
|
-
}, jo = () => /* @__PURE__ */ i.jsx(
|
|
20133
|
+
}, jo = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(yo, {}) }), Ga = ({
|
|
20077
20134
|
prompt: e,
|
|
20078
20135
|
prefix: a,
|
|
20079
20136
|
showIf: n = !0
|
|
@@ -20082,42 +20139,42 @@ const vr = {
|
|
|
20082
20139
|
fields: r,
|
|
20083
20140
|
hideErrors: o,
|
|
20084
20141
|
getLocalCountry: s,
|
|
20085
|
-
getLocalCaProvince:
|
|
20086
|
-
getLocalUsState:
|
|
20087
|
-
} = E(), m = r[`${a}Country`],
|
|
20088
|
-
() =>
|
|
20089
|
-
...
|
|
20090
|
-
label: s(
|
|
20091
|
-
})).sort((
|
|
20142
|
+
getLocalCaProvince: d,
|
|
20143
|
+
getLocalUsState: l
|
|
20144
|
+
} = E(), m = r[`${a}Country`], k = ee(
|
|
20145
|
+
() => sa.map((v) => ({
|
|
20146
|
+
...v,
|
|
20147
|
+
label: s(v.value)
|
|
20148
|
+
})).sort((v, A) => v.label.localeCompare(A.label)),
|
|
20092
20149
|
[s]
|
|
20093
20150
|
), g = ee(
|
|
20094
|
-
() => Jt.map((
|
|
20095
|
-
...
|
|
20096
|
-
label:
|
|
20097
|
-
})).sort((
|
|
20098
|
-
[d]
|
|
20099
|
-
), c = ee(
|
|
20100
|
-
() => Mt.map((p) => ({
|
|
20101
|
-
...p,
|
|
20102
|
-
label: l(p.value)
|
|
20103
|
-
})).sort((p, f) => p.label.localeCompare(f.label)),
|
|
20151
|
+
() => Jt.map((v) => ({
|
|
20152
|
+
...v,
|
|
20153
|
+
label: l(v.value)
|
|
20154
|
+
})).sort((v, A) => v.label.localeCompare(A.label)),
|
|
20104
20155
|
[l]
|
|
20156
|
+
), c = ee(
|
|
20157
|
+
() => Mt.map((v) => ({
|
|
20158
|
+
...v,
|
|
20159
|
+
label: d(v.value)
|
|
20160
|
+
})).sort((v, A) => v.label.localeCompare(A.label)),
|
|
20161
|
+
[d]
|
|
20105
20162
|
);
|
|
20106
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20163
|
+
return /* @__PURE__ */ i.jsxs(se, { title: e, showIf: n, children: [
|
|
20107
20164
|
/* @__PURE__ */ i.jsx(
|
|
20108
|
-
|
|
20165
|
+
de,
|
|
20109
20166
|
{
|
|
20110
20167
|
name: `${a}Country`,
|
|
20111
|
-
options:
|
|
20168
|
+
options: k,
|
|
20112
20169
|
onChange: o,
|
|
20113
20170
|
label: !0
|
|
20114
20171
|
}
|
|
20115
20172
|
),
|
|
20116
|
-
/* @__PURE__ */ i.jsx(
|
|
20117
|
-
/* @__PURE__ */ i.jsx(
|
|
20118
|
-
/* @__PURE__ */ i.jsx(
|
|
20119
|
-
m !== "CA" && m !== "US" ? /* @__PURE__ */ i.jsx(
|
|
20120
|
-
|
|
20173
|
+
/* @__PURE__ */ i.jsx(Y, { name: `${a}Street`, label: !0 }),
|
|
20174
|
+
/* @__PURE__ */ i.jsx(Y, { name: `${a}Street2`, label: !0 }),
|
|
20175
|
+
/* @__PURE__ */ i.jsx(Y, { name: `${a}City`, label: !0 }),
|
|
20176
|
+
m !== "CA" && m !== "US" ? /* @__PURE__ */ i.jsx(Y, { label: !0, name: `${a}State` }) : /* @__PURE__ */ i.jsx(
|
|
20177
|
+
de,
|
|
20121
20178
|
{
|
|
20122
20179
|
name: `${a}State`,
|
|
20123
20180
|
className: "taxbit-state",
|
|
@@ -20125,116 +20182,114 @@ const vr = {
|
|
|
20125
20182
|
label: !0
|
|
20126
20183
|
}
|
|
20127
20184
|
),
|
|
20128
|
-
/* @__PURE__ */ i.jsx(
|
|
20185
|
+
/* @__PURE__ */ i.jsx(Y, { name: `${a}Zip`, label: !0 })
|
|
20129
20186
|
] });
|
|
20130
20187
|
}, Oo = ({
|
|
20131
20188
|
name: e,
|
|
20132
20189
|
label: a,
|
|
20133
20190
|
subLabel: n
|
|
20134
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
20135
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: o,
|
|
20136
|
-
() =>
|
|
20191
|
+
}) => /* @__PURE__ */ i.jsx(b, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(Ao, { name: e }) }), zo = () => {
|
|
20192
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: o, getStepId: s } = ae(), { fields: d, getLocalCountry: l, getLocalTitle: m } = E(), k = ee(
|
|
20193
|
+
() => sa.map((g) => ({
|
|
20137
20194
|
...g,
|
|
20138
|
-
label:
|
|
20195
|
+
label: l(g.value)
|
|
20139
20196
|
})).sort((g, c) => g.label.localeCompare(c.label)),
|
|
20140
|
-
[
|
|
20197
|
+
[l]
|
|
20141
20198
|
);
|
|
20142
20199
|
return /* @__PURE__ */ i.jsxs(
|
|
20143
|
-
|
|
20200
|
+
pe,
|
|
20144
20201
|
{
|
|
20145
|
-
title: m(
|
|
20146
|
-
s(sa("AccountHolderContact"))
|
|
20147
|
-
),
|
|
20202
|
+
title: m(s(da("AccountHolderContact"))),
|
|
20148
20203
|
className: "taxbit-form-account-holder-contact-information",
|
|
20149
20204
|
children: [
|
|
20150
20205
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20151
20206
|
/* @__PURE__ */ i.jsx(
|
|
20152
|
-
|
|
20207
|
+
de,
|
|
20153
20208
|
{
|
|
20154
20209
|
label: !0,
|
|
20155
20210
|
name: "accountHolderCountryOfCitizenship",
|
|
20156
|
-
options:
|
|
20211
|
+
options: k
|
|
20157
20212
|
}
|
|
20158
20213
|
),
|
|
20159
20214
|
/* @__PURE__ */ i.jsx(
|
|
20160
|
-
|
|
20215
|
+
Y,
|
|
20161
20216
|
{
|
|
20162
20217
|
label: !0,
|
|
20163
20218
|
name: "accountHolderName",
|
|
20164
20219
|
syncName: "accountHolderFinancialAccountName"
|
|
20165
20220
|
}
|
|
20166
20221
|
),
|
|
20167
|
-
/* @__PURE__ */ i.jsx(
|
|
20222
|
+
/* @__PURE__ */ i.jsx(Y, { label: !0, name: "accountHolderDbaName" }),
|
|
20168
20223
|
/* @__PURE__ */ i.jsx(Oo, { name: "accountHolderDateOfBirth", label: !0 }),
|
|
20169
20224
|
/* @__PURE__ */ i.jsx(
|
|
20170
20225
|
Ga,
|
|
20171
20226
|
{
|
|
20172
20227
|
prompt: m("primaryAddress"),
|
|
20173
20228
|
prefix: "accountHolderAddress",
|
|
20174
|
-
showIf:
|
|
20229
|
+
showIf: d.accountHolderIsEuResident === "yes" || o || r
|
|
20175
20230
|
}
|
|
20176
20231
|
),
|
|
20177
|
-
/* @__PURE__ */ i.jsx(
|
|
20232
|
+
/* @__PURE__ */ i.jsx(U, { name: "accountHolderMailingAddressIsDifferent", label: !0 }),
|
|
20178
20233
|
/* @__PURE__ */ i.jsx(
|
|
20179
20234
|
Ga,
|
|
20180
20235
|
{
|
|
20181
20236
|
prompt: m("mailingAddress"),
|
|
20182
20237
|
prefix: "accountHolderMailingAddress",
|
|
20183
|
-
showIf:
|
|
20238
|
+
showIf: d.accountHolderMailingAddressIsDifferent === "yes"
|
|
20184
20239
|
}
|
|
20185
20240
|
)
|
|
20186
20241
|
] }),
|
|
20187
20242
|
/* @__PURE__ */ i.jsx(
|
|
20188
|
-
|
|
20243
|
+
fe,
|
|
20189
20244
|
{
|
|
20190
20245
|
onCancel: n,
|
|
20191
20246
|
onBack: a,
|
|
20192
|
-
onNext: () => e(
|
|
20247
|
+
onNext: () => e(d)
|
|
20193
20248
|
}
|
|
20194
20249
|
)
|
|
20195
20250
|
]
|
|
20196
20251
|
}
|
|
20197
20252
|
);
|
|
20198
|
-
}, Eo = () => /* @__PURE__ */ i.jsx(
|
|
20253
|
+
}, Eo = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(zo, {}) }), oa = ({
|
|
20199
20254
|
index: e,
|
|
20200
20255
|
showIf: a = !0,
|
|
20201
20256
|
onShow: n,
|
|
20202
20257
|
more: r,
|
|
20203
20258
|
countryOptions: o
|
|
20204
20259
|
}) => {
|
|
20205
|
-
const { fields: s, getLocalTitle:
|
|
20260
|
+
const { fields: s, getLocalTitle: d, hideField: l, clearIfNotRequired: m } = E(), k = `accountHolderTaxResidenceCountry${e}`, g = `accountHolderTaxResidenceForeignTin${e}`, c = `accountHolderTaxResidenceForeignTin${e}IsNotRequired`, v = `accountHolderShowTaxResidence${e + 1}`, A = `taxResidence${e}`, y = [
|
|
20206
20261
|
s.accountHolderTaxResidenceCountry1,
|
|
20207
20262
|
s.accountHolderTaxResidenceCountry2,
|
|
20208
20263
|
s.accountHolderTaxResidenceCountry3,
|
|
20209
20264
|
s.accountHolderTaxResidenceCountry4,
|
|
20210
20265
|
s.accountHolderTaxResidenceCountry5
|
|
20211
20266
|
].filter(
|
|
20212
|
-
(
|
|
20213
|
-
),
|
|
20214
|
-
(
|
|
20267
|
+
(I) => I !== s[`accountHolderTaxResidenceCountry${e}`]
|
|
20268
|
+
), B = o.filter(
|
|
20269
|
+
(I) => !y.includes(I.value)
|
|
20215
20270
|
);
|
|
20216
|
-
return
|
|
20217
|
-
a ? n && n() : (
|
|
20271
|
+
return _(() => {
|
|
20272
|
+
a ? n && n() : (l(k), l(g), l(c), l(v));
|
|
20218
20273
|
}, [
|
|
20219
|
-
|
|
20220
|
-
|
|
20274
|
+
k,
|
|
20275
|
+
l,
|
|
20221
20276
|
c,
|
|
20222
20277
|
n,
|
|
20223
20278
|
a,
|
|
20224
20279
|
g,
|
|
20225
|
-
|
|
20226
|
-
]), a ? /* @__PURE__ */ i.jsxs(
|
|
20280
|
+
v
|
|
20281
|
+
]), a ? /* @__PURE__ */ i.jsxs(se, { title: d(A), showIf: a, children: [
|
|
20227
20282
|
/* @__PURE__ */ i.jsx(
|
|
20228
|
-
|
|
20283
|
+
de,
|
|
20229
20284
|
{
|
|
20230
|
-
name:
|
|
20285
|
+
name: k,
|
|
20231
20286
|
className: "taxbit-country",
|
|
20232
|
-
options:
|
|
20287
|
+
options: B,
|
|
20233
20288
|
label: !0
|
|
20234
20289
|
}
|
|
20235
20290
|
),
|
|
20236
20291
|
/* @__PURE__ */ i.jsx(
|
|
20237
|
-
|
|
20292
|
+
Ce,
|
|
20238
20293
|
{
|
|
20239
20294
|
name: g,
|
|
20240
20295
|
label: !0,
|
|
@@ -20242,46 +20297,46 @@ const vr = {
|
|
|
20242
20297
|
}
|
|
20243
20298
|
),
|
|
20244
20299
|
/* @__PURE__ */ i.jsx(
|
|
20245
|
-
|
|
20300
|
+
U,
|
|
20246
20301
|
{
|
|
20247
20302
|
label: !0,
|
|
20248
20303
|
name: c,
|
|
20249
20304
|
onClick: m(g)
|
|
20250
20305
|
}
|
|
20251
20306
|
),
|
|
20252
|
-
r ? /* @__PURE__ */ i.jsx(
|
|
20307
|
+
r ? /* @__PURE__ */ i.jsx(ei, { children: /* @__PURE__ */ i.jsx(So, { name: v }) }) : null
|
|
20253
20308
|
] }) : null;
|
|
20254
20309
|
}, Bo = () => {
|
|
20255
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n,
|
|
20310
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n, getStepId: r } = ae(), {
|
|
20256
20311
|
fields: o,
|
|
20257
20312
|
getLocalTitle: s,
|
|
20258
|
-
getLocalSubTitle:
|
|
20259
|
-
getLocalCountry:
|
|
20313
|
+
getLocalSubTitle: d,
|
|
20314
|
+
getLocalCountry: l,
|
|
20260
20315
|
clearIfNotRequired: m,
|
|
20261
|
-
setValue:
|
|
20316
|
+
setValue: k
|
|
20262
20317
|
} = E(), g = ee(
|
|
20263
|
-
() => jt.map((
|
|
20264
|
-
...
|
|
20265
|
-
label:
|
|
20266
|
-
})).sort((
|
|
20267
|
-
[
|
|
20318
|
+
() => jt.map((v) => ({
|
|
20319
|
+
...v,
|
|
20320
|
+
label: l(v.value)
|
|
20321
|
+
})).sort((v, A) => v.label.localeCompare(A.label)),
|
|
20322
|
+
[l]
|
|
20268
20323
|
), c = ee(
|
|
20269
|
-
() =>
|
|
20270
|
-
...
|
|
20271
|
-
label:
|
|
20272
|
-
})).sort((
|
|
20273
|
-
[
|
|
20324
|
+
() => sa.map((v) => ({
|
|
20325
|
+
...v,
|
|
20326
|
+
label: l(v.value)
|
|
20327
|
+
})).sort((v, A) => v.label.localeCompare(A.label)),
|
|
20328
|
+
[l]
|
|
20274
20329
|
);
|
|
20275
20330
|
return /* @__PURE__ */ i.jsxs(
|
|
20276
|
-
|
|
20331
|
+
pe,
|
|
20277
20332
|
{
|
|
20278
|
-
title: s(r(
|
|
20333
|
+
title: s(r(da("AccountHolderTax"))),
|
|
20279
20334
|
className: "taxbit-form-account-holder-tax-information",
|
|
20280
20335
|
children: [
|
|
20281
20336
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20282
|
-
/* @__PURE__ */ i.jsx(
|
|
20337
|
+
/* @__PURE__ */ i.jsx(Ce, { name: "accountHolderUsTin", label: !0 }),
|
|
20283
20338
|
/* @__PURE__ */ i.jsx(
|
|
20284
|
-
|
|
20339
|
+
Ce,
|
|
20285
20340
|
{
|
|
20286
20341
|
name: "accountHolderForeignTin",
|
|
20287
20342
|
disabled: o.accountHolderForeignTinIsNotRequired === "yes",
|
|
@@ -20289,7 +20344,7 @@ const vr = {
|
|
|
20289
20344
|
}
|
|
20290
20345
|
),
|
|
20291
20346
|
/* @__PURE__ */ i.jsx(
|
|
20292
|
-
|
|
20347
|
+
U,
|
|
20293
20348
|
{
|
|
20294
20349
|
name: "accountHolderForeignTinIsNotRequired",
|
|
20295
20350
|
onClick: m("accountHolderForeignTin"),
|
|
@@ -20297,17 +20352,17 @@ const vr = {
|
|
|
20297
20352
|
}
|
|
20298
20353
|
),
|
|
20299
20354
|
/* @__PURE__ */ i.jsx(
|
|
20300
|
-
|
|
20355
|
+
Ce,
|
|
20301
20356
|
{
|
|
20302
20357
|
name: "accountHolderFinancialAccountIdentifier",
|
|
20303
20358
|
label: !0,
|
|
20304
20359
|
subLabel: !0
|
|
20305
20360
|
}
|
|
20306
20361
|
),
|
|
20307
|
-
/* @__PURE__ */ i.jsx(
|
|
20308
|
-
/* @__PURE__ */ i.jsxs(
|
|
20362
|
+
/* @__PURE__ */ i.jsx(Y, { name: "accountHolderFinancialAccountName", label: !0, subLabel: !0 }),
|
|
20363
|
+
/* @__PURE__ */ i.jsxs(se, { showIf: o.accountHolderIsEuResident === "yes", children: [
|
|
20309
20364
|
/* @__PURE__ */ i.jsx(
|
|
20310
|
-
|
|
20365
|
+
de,
|
|
20311
20366
|
{
|
|
20312
20367
|
name: "accountHolderVatCountry",
|
|
20313
20368
|
className: "taxbit-country",
|
|
@@ -20317,7 +20372,7 @@ const vr = {
|
|
|
20317
20372
|
}
|
|
20318
20373
|
),
|
|
20319
20374
|
/* @__PURE__ */ i.jsx(
|
|
20320
|
-
|
|
20375
|
+
Ce,
|
|
20321
20376
|
{
|
|
20322
20377
|
name: "accountHolderVatIdentificationNumber",
|
|
20323
20378
|
disabled: o.accountHolderVatIsNotRequired === "yes",
|
|
@@ -20326,7 +20381,7 @@ const vr = {
|
|
|
20326
20381
|
}
|
|
20327
20382
|
),
|
|
20328
20383
|
/* @__PURE__ */ i.jsx(
|
|
20329
|
-
|
|
20384
|
+
U,
|
|
20330
20385
|
{
|
|
20331
20386
|
label: !0,
|
|
20332
20387
|
name: "accountHolderVatIsNotRequired",
|
|
@@ -20337,9 +20392,9 @@ const vr = {
|
|
|
20337
20392
|
}
|
|
20338
20393
|
)
|
|
20339
20394
|
] }),
|
|
20340
|
-
/* @__PURE__ */ i.jsxs(
|
|
20395
|
+
/* @__PURE__ */ i.jsxs(se, { showIf: o.accountHolderIsIndividual === "no", children: [
|
|
20341
20396
|
/* @__PURE__ */ i.jsx(
|
|
20342
|
-
|
|
20397
|
+
de,
|
|
20343
20398
|
{
|
|
20344
20399
|
name: "accountHolderBusinessRegistrationCountry",
|
|
20345
20400
|
className: "taxbit-country",
|
|
@@ -20348,7 +20403,7 @@ const vr = {
|
|
|
20348
20403
|
}
|
|
20349
20404
|
),
|
|
20350
20405
|
/* @__PURE__ */ i.jsx(
|
|
20351
|
-
|
|
20406
|
+
Ce,
|
|
20352
20407
|
{
|
|
20353
20408
|
name: "accountHolderBusinessRegistrationNumber",
|
|
20354
20409
|
label: !0
|
|
@@ -20356,20 +20411,20 @@ const vr = {
|
|
|
20356
20411
|
)
|
|
20357
20412
|
] }),
|
|
20358
20413
|
/* @__PURE__ */ i.jsxs(
|
|
20359
|
-
|
|
20414
|
+
se,
|
|
20360
20415
|
{
|
|
20361
20416
|
title: s("taxResidences"),
|
|
20362
|
-
subTitle:
|
|
20417
|
+
subTitle: d("taxResidences"),
|
|
20363
20418
|
showIf: o.accountHolderIsIndividual !== void 0,
|
|
20364
20419
|
children: [
|
|
20365
|
-
/* @__PURE__ */ i.jsx(
|
|
20420
|
+
/* @__PURE__ */ i.jsx(vt, { name: "accountHolderTaxResidences" }),
|
|
20366
20421
|
/* @__PURE__ */ i.jsx(
|
|
20367
|
-
|
|
20422
|
+
oa,
|
|
20368
20423
|
{
|
|
20369
20424
|
index: 1,
|
|
20370
20425
|
showIf: o.accountHolderIsIndividual !== void 0,
|
|
20371
20426
|
onShow: () => {
|
|
20372
|
-
o.accountHolderTaxResidenceCountry1 === void 0 &&
|
|
20427
|
+
o.accountHolderTaxResidenceCountry1 === void 0 && k(
|
|
20373
20428
|
"accountHolderTaxResidenceCountry1",
|
|
20374
20429
|
o.accountHolderAddressCountry
|
|
20375
20430
|
);
|
|
@@ -20379,7 +20434,7 @@ const vr = {
|
|
|
20379
20434
|
}
|
|
20380
20435
|
),
|
|
20381
20436
|
/* @__PURE__ */ i.jsx(
|
|
20382
|
-
|
|
20437
|
+
oa,
|
|
20383
20438
|
{
|
|
20384
20439
|
index: 2,
|
|
20385
20440
|
showIf: o.accountHolderShowTaxResidence2 === "yes",
|
|
@@ -20388,7 +20443,7 @@ const vr = {
|
|
|
20388
20443
|
}
|
|
20389
20444
|
),
|
|
20390
20445
|
/* @__PURE__ */ i.jsx(
|
|
20391
|
-
|
|
20446
|
+
oa,
|
|
20392
20447
|
{
|
|
20393
20448
|
index: 3,
|
|
20394
20449
|
showIf: o.accountHolderShowTaxResidence3 === "yes",
|
|
@@ -20397,7 +20452,7 @@ const vr = {
|
|
|
20397
20452
|
}
|
|
20398
20453
|
),
|
|
20399
20454
|
/* @__PURE__ */ i.jsx(
|
|
20400
|
-
|
|
20455
|
+
oa,
|
|
20401
20456
|
{
|
|
20402
20457
|
index: 4,
|
|
20403
20458
|
showIf: o.accountHolderShowTaxResidence4 === "yes",
|
|
@@ -20406,7 +20461,7 @@ const vr = {
|
|
|
20406
20461
|
}
|
|
20407
20462
|
),
|
|
20408
20463
|
/* @__PURE__ */ i.jsx(
|
|
20409
|
-
|
|
20464
|
+
oa,
|
|
20410
20465
|
{
|
|
20411
20466
|
index: 5,
|
|
20412
20467
|
showIf: o.accountHolderShowTaxResidence5 === "yes",
|
|
@@ -20418,7 +20473,7 @@ const vr = {
|
|
|
20418
20473
|
)
|
|
20419
20474
|
] }),
|
|
20420
20475
|
/* @__PURE__ */ i.jsx(
|
|
20421
|
-
|
|
20476
|
+
fe,
|
|
20422
20477
|
{
|
|
20423
20478
|
onCancel: n,
|
|
20424
20479
|
onBack: a,
|
|
@@ -20428,23 +20483,23 @@ const vr = {
|
|
|
20428
20483
|
]
|
|
20429
20484
|
}
|
|
20430
20485
|
);
|
|
20431
|
-
},
|
|
20486
|
+
}, Po = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(Bo, {}) }), Ro = () => {
|
|
20432
20487
|
const { getLocalCountry: e, getLocalTitle: a, getLocalSubPrompt: n } = E(), r = ee(
|
|
20433
|
-
() =>
|
|
20488
|
+
() => sa.map((o) => ({
|
|
20434
20489
|
...o,
|
|
20435
20490
|
label: e(o.value)
|
|
20436
20491
|
})).sort((o, s) => o.label.localeCompare(s.label)),
|
|
20437
20492
|
[e]
|
|
20438
20493
|
);
|
|
20439
20494
|
return /* @__PURE__ */ i.jsxs(
|
|
20440
|
-
|
|
20495
|
+
se,
|
|
20441
20496
|
{
|
|
20442
20497
|
title: a("placeOfBirth"),
|
|
20443
20498
|
subTitle: n("accountHolderCityOfBirth"),
|
|
20444
20499
|
children: [
|
|
20445
|
-
/* @__PURE__ */ i.jsx(
|
|
20500
|
+
/* @__PURE__ */ i.jsx(Y, { label: !0, name: "accountHolderCityOfBirth" }),
|
|
20446
20501
|
/* @__PURE__ */ i.jsx(
|
|
20447
|
-
|
|
20502
|
+
de,
|
|
20448
20503
|
{
|
|
20449
20504
|
label: !0,
|
|
20450
20505
|
name: "accountHolderCountryOfBirth",
|
|
@@ -20455,18 +20510,18 @@ const vr = {
|
|
|
20455
20510
|
}
|
|
20456
20511
|
);
|
|
20457
20512
|
}, wo = () => {
|
|
20458
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n,
|
|
20513
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n, getStepId: r } = ae(), { fields: o, getLocalTitle: s } = E();
|
|
20459
20514
|
return /* @__PURE__ */ i.jsxs(
|
|
20460
|
-
|
|
20515
|
+
pe,
|
|
20461
20516
|
{
|
|
20462
20517
|
title: s(
|
|
20463
|
-
r(
|
|
20518
|
+
r(da("AccountHolderTaxClarification"))
|
|
20464
20519
|
),
|
|
20465
20520
|
className: "taxbit-form-account-holder-tax-clarification",
|
|
20466
20521
|
children: [
|
|
20467
|
-
/* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(
|
|
20522
|
+
/* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(Ro, {}) }),
|
|
20468
20523
|
/* @__PURE__ */ i.jsx(
|
|
20469
|
-
|
|
20524
|
+
fe,
|
|
20470
20525
|
{
|
|
20471
20526
|
onCancel: n,
|
|
20472
20527
|
onBack: a,
|
|
@@ -20476,39 +20531,39 @@ const vr = {
|
|
|
20476
20531
|
]
|
|
20477
20532
|
}
|
|
20478
20533
|
);
|
|
20479
|
-
}, Ho = () => /* @__PURE__ */ i.jsx(
|
|
20534
|
+
}, Ho = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(wo, {}) }), Lo = () => {
|
|
20480
20535
|
const { getLocalText: e } = E();
|
|
20481
20536
|
return /* @__PURE__ */ i.jsx("div", { children: e("interviewIsComplete") });
|
|
20482
|
-
}, Go = () => /* @__PURE__ */ i.jsx(
|
|
20483
|
-
const { onPersistCollectedData: e, goBack: a,
|
|
20537
|
+
}, Go = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(Lo, {}) }), xo = () => {
|
|
20538
|
+
const { onPersistCollectedData: e, goBack: a, getStepId: n } = ae(), { fields: r, getLocalTitle: o } = E();
|
|
20484
20539
|
return /* @__PURE__ */ i.jsxs(
|
|
20485
|
-
|
|
20540
|
+
pe,
|
|
20486
20541
|
{
|
|
20487
|
-
title: o(n(
|
|
20542
|
+
title: o(n(da("Exemptions"))),
|
|
20488
20543
|
className: "taxbit-form-account-holder-exemptions",
|
|
20489
20544
|
children: [
|
|
20490
20545
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20491
|
-
/* @__PURE__ */ i.jsx(
|
|
20492
|
-
/* @__PURE__ */ i.jsx(
|
|
20546
|
+
/* @__PURE__ */ i.jsx(de, { name: "exemptFatcaCode", options: Et, label: !0 }),
|
|
20547
|
+
/* @__PURE__ */ i.jsx(de, { name: "exemptPayeeCode", options: Dt, label: !0 })
|
|
20493
20548
|
] }),
|
|
20494
|
-
/* @__PURE__ */ i.jsx(
|
|
20549
|
+
/* @__PURE__ */ i.jsx(fe, { onBack: a, onNext: () => e(r) })
|
|
20495
20550
|
]
|
|
20496
20551
|
}
|
|
20497
20552
|
);
|
|
20498
|
-
}, Uo = () => /* @__PURE__ */ i.jsx(
|
|
20499
|
-
const { fields: e, getLocalTitle: a, getLocalOption: n } = E(), { onPersistCollectedData: r, goBack: o } = ae(), s =
|
|
20500
|
-
...
|
|
20501
|
-
label: n(`usPerson_${
|
|
20553
|
+
}, Uo = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(xo, {}) }), Do = () => {
|
|
20554
|
+
const { fields: e, getLocalTitle: a, getLocalOption: n } = E(), { onPersistCollectedData: r, goBack: o } = ae(), s = Pe.map((d) => ({
|
|
20555
|
+
...d,
|
|
20556
|
+
label: n(`usPerson_${d.value}`)
|
|
20502
20557
|
}));
|
|
20503
20558
|
return /* @__PURE__ */ i.jsxs(
|
|
20504
|
-
|
|
20559
|
+
pe,
|
|
20505
20560
|
{
|
|
20506
20561
|
title: a("regardedOwnerClassification"),
|
|
20507
|
-
className: `taxbit-form-${
|
|
20562
|
+
className: `taxbit-form-${la("regardedOwnerClassification")}`,
|
|
20508
20563
|
children: [
|
|
20509
20564
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20510
20565
|
/* @__PURE__ */ i.jsx(
|
|
20511
|
-
|
|
20566
|
+
V,
|
|
20512
20567
|
{
|
|
20513
20568
|
name: "regardedOwnerUsPerson",
|
|
20514
20569
|
options: s,
|
|
@@ -20516,7 +20571,7 @@ const vr = {
|
|
|
20516
20571
|
}
|
|
20517
20572
|
),
|
|
20518
20573
|
/* @__PURE__ */ i.jsx(
|
|
20519
|
-
|
|
20574
|
+
V,
|
|
20520
20575
|
{
|
|
20521
20576
|
name: "regardedOwnerUsAccountType",
|
|
20522
20577
|
options: Vt,
|
|
@@ -20524,76 +20579,76 @@ const vr = {
|
|
|
20524
20579
|
}
|
|
20525
20580
|
),
|
|
20526
20581
|
/* @__PURE__ */ i.jsx(
|
|
20527
|
-
|
|
20582
|
+
V,
|
|
20528
20583
|
{
|
|
20529
20584
|
name: "regardedOwnerForeignAccountType",
|
|
20530
|
-
options:
|
|
20585
|
+
options: Rt,
|
|
20531
20586
|
label: !0
|
|
20532
20587
|
}
|
|
20533
20588
|
),
|
|
20534
20589
|
/* @__PURE__ */ i.jsx(
|
|
20535
|
-
|
|
20590
|
+
V,
|
|
20536
20591
|
{
|
|
20537
20592
|
name: "regardedOwnerUsLlcClassification",
|
|
20538
|
-
options:
|
|
20593
|
+
options: $a,
|
|
20539
20594
|
label: !0
|
|
20540
20595
|
}
|
|
20541
20596
|
),
|
|
20542
|
-
/* @__PURE__ */ i.jsx(
|
|
20597
|
+
/* @__PURE__ */ i.jsx(Y, { name: "regardedOwnerUsOtherClassification", label: !0 }),
|
|
20543
20598
|
/* @__PURE__ */ i.jsx(
|
|
20544
|
-
|
|
20599
|
+
V,
|
|
20545
20600
|
{
|
|
20546
20601
|
name: "regardedOwnerUsTrustEstateEin",
|
|
20547
|
-
options:
|
|
20602
|
+
options: Pe,
|
|
20548
20603
|
label: !0
|
|
20549
20604
|
}
|
|
20550
20605
|
),
|
|
20551
20606
|
/* @__PURE__ */ i.jsx(
|
|
20552
|
-
|
|
20607
|
+
V,
|
|
20553
20608
|
{
|
|
20554
20609
|
name: "regardedOwnerForeignOtherClassification",
|
|
20555
|
-
options:
|
|
20610
|
+
options: Qa,
|
|
20556
20611
|
label: !0
|
|
20557
20612
|
}
|
|
20558
20613
|
),
|
|
20559
20614
|
/* @__PURE__ */ i.jsx(
|
|
20560
|
-
|
|
20615
|
+
V,
|
|
20561
20616
|
{
|
|
20562
20617
|
name: "regardedOwnerForeignTrustClassification",
|
|
20563
|
-
options:
|
|
20618
|
+
options: Xa,
|
|
20564
20619
|
label: !0
|
|
20565
20620
|
}
|
|
20566
20621
|
)
|
|
20567
20622
|
] }),
|
|
20568
|
-
/* @__PURE__ */ i.jsx(
|
|
20623
|
+
/* @__PURE__ */ i.jsx(fe, { onBack: o, onNext: () => r(e) })
|
|
20569
20624
|
]
|
|
20570
20625
|
}
|
|
20571
20626
|
);
|
|
20572
|
-
}, Fo = () => /* @__PURE__ */ i.jsx(
|
|
20573
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n } = ae(), { fields: r, getLocalCountry: o, getLocalTitle: s } = E(),
|
|
20574
|
-
() =>
|
|
20575
|
-
...
|
|
20576
|
-
label: o(
|
|
20577
|
-
})).sort((
|
|
20627
|
+
}, Fo = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(Do, {}) }), Ko = () => {
|
|
20628
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n } = ae(), { fields: r, getLocalCountry: o, getLocalTitle: s } = E(), d = ee(
|
|
20629
|
+
() => sa.map((l) => ({
|
|
20630
|
+
...l,
|
|
20631
|
+
label: o(l.value)
|
|
20632
|
+
})).sort((l, m) => l.label.localeCompare(m.label)),
|
|
20578
20633
|
[o]
|
|
20579
20634
|
);
|
|
20580
20635
|
return /* @__PURE__ */ i.jsxs(
|
|
20581
|
-
|
|
20636
|
+
pe,
|
|
20582
20637
|
{
|
|
20583
20638
|
title: s("regardedOwnerContactInformation"),
|
|
20584
|
-
className: `taxbit-form-${
|
|
20639
|
+
className: `taxbit-form-${la("regardedOwnerContactInformation")}`,
|
|
20585
20640
|
children: [
|
|
20586
20641
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20587
20642
|
/* @__PURE__ */ i.jsx(
|
|
20588
|
-
|
|
20643
|
+
de,
|
|
20589
20644
|
{
|
|
20590
20645
|
label: !0,
|
|
20591
20646
|
name: "regardedOwnerCountryOfCitizenship",
|
|
20592
|
-
options:
|
|
20647
|
+
options: d
|
|
20593
20648
|
}
|
|
20594
20649
|
),
|
|
20595
|
-
/* @__PURE__ */ i.jsx(
|
|
20596
|
-
/* @__PURE__ */ i.jsx(
|
|
20650
|
+
/* @__PURE__ */ i.jsx(Y, { label: !0, name: "regardedOwnerName" }),
|
|
20651
|
+
/* @__PURE__ */ i.jsx(Y, { label: !0, name: "regardedOwnerDbaName" }),
|
|
20597
20652
|
/* @__PURE__ */ i.jsx(
|
|
20598
20653
|
Ga,
|
|
20599
20654
|
{
|
|
@@ -20601,7 +20656,7 @@ const vr = {
|
|
|
20601
20656
|
prefix: "regardedOwnerAddress"
|
|
20602
20657
|
}
|
|
20603
20658
|
),
|
|
20604
|
-
/* @__PURE__ */ i.jsx(
|
|
20659
|
+
/* @__PURE__ */ i.jsx(U, { name: "regardedOwnerMailingAddressIsDifferent", label: !0 }),
|
|
20605
20660
|
/* @__PURE__ */ i.jsx(
|
|
20606
20661
|
Ga,
|
|
20607
20662
|
{
|
|
@@ -20612,7 +20667,7 @@ const vr = {
|
|
|
20612
20667
|
)
|
|
20613
20668
|
] }),
|
|
20614
20669
|
/* @__PURE__ */ i.jsx(
|
|
20615
|
-
|
|
20670
|
+
fe,
|
|
20616
20671
|
{
|
|
20617
20672
|
onCancel: n,
|
|
20618
20673
|
onBack: a,
|
|
@@ -20622,19 +20677,19 @@ const vr = {
|
|
|
20622
20677
|
]
|
|
20623
20678
|
}
|
|
20624
20679
|
);
|
|
20625
|
-
}, Vo = () => /* @__PURE__ */ i.jsx(
|
|
20680
|
+
}, Vo = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(Ko, {}) }), Wo = () => {
|
|
20626
20681
|
const { onPersistCollectedData: e, goBack: a } = ae(), { fields: n, getLocalTitle: r, clearIfNotRequired: o } = E();
|
|
20627
20682
|
return /* @__PURE__ */ i.jsxs(
|
|
20628
|
-
|
|
20683
|
+
pe,
|
|
20629
20684
|
{
|
|
20630
20685
|
title: r("regardedOwnerTaxInformation"),
|
|
20631
|
-
className: `taxbit-form-${
|
|
20686
|
+
className: `taxbit-form-${la("regardedOwnerTaxInformation")}`,
|
|
20632
20687
|
children: [
|
|
20633
20688
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20634
|
-
/* @__PURE__ */ i.jsx(
|
|
20635
|
-
/* @__PURE__ */ i.jsx(
|
|
20689
|
+
/* @__PURE__ */ i.jsx(Ce, { name: "regardedOwnerUsTin", label: !0 }),
|
|
20690
|
+
/* @__PURE__ */ i.jsx(Ce, { name: "regardedOwnerForeignTin", label: !0 }),
|
|
20636
20691
|
/* @__PURE__ */ i.jsx(
|
|
20637
|
-
|
|
20692
|
+
U,
|
|
20638
20693
|
{
|
|
20639
20694
|
name: "regardedOwnerForeignTinIsNotRequired",
|
|
20640
20695
|
label: !0,
|
|
@@ -20642,11 +20697,11 @@ const vr = {
|
|
|
20642
20697
|
}
|
|
20643
20698
|
)
|
|
20644
20699
|
] }),
|
|
20645
|
-
/* @__PURE__ */ i.jsx(
|
|
20700
|
+
/* @__PURE__ */ i.jsx(fe, { onBack: a, onNext: () => e(n) })
|
|
20646
20701
|
]
|
|
20647
20702
|
}
|
|
20648
20703
|
);
|
|
20649
|
-
}, Jo = () => /* @__PURE__ */ i.jsx(
|
|
20704
|
+
}, Jo = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(Wo, {}) }), $ = ({ text: e }) => {
|
|
20650
20705
|
const n = ((r) => {
|
|
20651
20706
|
if (!r)
|
|
20652
20707
|
return "";
|
|
@@ -20660,12 +20715,12 @@ const vr = {
|
|
|
20660
20715
|
getLocalOption: r,
|
|
20661
20716
|
getLocalCountry: o,
|
|
20662
20717
|
getLocalText: s,
|
|
20663
|
-
visibleFields:
|
|
20718
|
+
visibleFields: d
|
|
20664
20719
|
} = E();
|
|
20665
20720
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
20666
|
-
/* @__PURE__ */ i.jsxs(
|
|
20721
|
+
/* @__PURE__ */ i.jsxs(se, { title: n("accountHolder"), children: [
|
|
20667
20722
|
/* @__PURE__ */ i.jsx(
|
|
20668
|
-
|
|
20723
|
+
b,
|
|
20669
20724
|
{
|
|
20670
20725
|
label: !0,
|
|
20671
20726
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20674,7 +20729,7 @@ const vr = {
|
|
|
20674
20729
|
}
|
|
20675
20730
|
),
|
|
20676
20731
|
/* @__PURE__ */ i.jsx(
|
|
20677
|
-
|
|
20732
|
+
b,
|
|
20678
20733
|
{
|
|
20679
20734
|
label: !0,
|
|
20680
20735
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20683,7 +20738,7 @@ const vr = {
|
|
|
20683
20738
|
}
|
|
20684
20739
|
),
|
|
20685
20740
|
/* @__PURE__ */ i.jsx(
|
|
20686
|
-
|
|
20741
|
+
b,
|
|
20687
20742
|
{
|
|
20688
20743
|
label: !0,
|
|
20689
20744
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20692,7 +20747,7 @@ const vr = {
|
|
|
20692
20747
|
}
|
|
20693
20748
|
),
|
|
20694
20749
|
/* @__PURE__ */ i.jsx(
|
|
20695
|
-
|
|
20750
|
+
b,
|
|
20696
20751
|
{
|
|
20697
20752
|
label: !0,
|
|
20698
20753
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20701,7 +20756,7 @@ const vr = {
|
|
|
20701
20756
|
}
|
|
20702
20757
|
),
|
|
20703
20758
|
/* @__PURE__ */ i.jsx(
|
|
20704
|
-
|
|
20759
|
+
b,
|
|
20705
20760
|
{
|
|
20706
20761
|
label: !0,
|
|
20707
20762
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20710,7 +20765,7 @@ const vr = {
|
|
|
20710
20765
|
}
|
|
20711
20766
|
),
|
|
20712
20767
|
/* @__PURE__ */ i.jsx(
|
|
20713
|
-
|
|
20768
|
+
b,
|
|
20714
20769
|
{
|
|
20715
20770
|
label: !0,
|
|
20716
20771
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20719,7 +20774,7 @@ const vr = {
|
|
|
20719
20774
|
}
|
|
20720
20775
|
),
|
|
20721
20776
|
/* @__PURE__ */ i.jsx(
|
|
20722
|
-
|
|
20777
|
+
b,
|
|
20723
20778
|
{
|
|
20724
20779
|
label: !0,
|
|
20725
20780
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20728,7 +20783,7 @@ const vr = {
|
|
|
20728
20783
|
}
|
|
20729
20784
|
),
|
|
20730
20785
|
/* @__PURE__ */ i.jsx(
|
|
20731
|
-
|
|
20786
|
+
b,
|
|
20732
20787
|
{
|
|
20733
20788
|
label: !0,
|
|
20734
20789
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20737,7 +20792,7 @@ const vr = {
|
|
|
20737
20792
|
}
|
|
20738
20793
|
),
|
|
20739
20794
|
/* @__PURE__ */ i.jsx(
|
|
20740
|
-
|
|
20795
|
+
b,
|
|
20741
20796
|
{
|
|
20742
20797
|
label: !0,
|
|
20743
20798
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20746,7 +20801,7 @@ const vr = {
|
|
|
20746
20801
|
}
|
|
20747
20802
|
),
|
|
20748
20803
|
/* @__PURE__ */ i.jsx(
|
|
20749
|
-
|
|
20804
|
+
b,
|
|
20750
20805
|
{
|
|
20751
20806
|
label: !0,
|
|
20752
20807
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20755,7 +20810,7 @@ const vr = {
|
|
|
20755
20810
|
}
|
|
20756
20811
|
),
|
|
20757
20812
|
/* @__PURE__ */ i.jsx(
|
|
20758
|
-
|
|
20813
|
+
b,
|
|
20759
20814
|
{
|
|
20760
20815
|
label: !0,
|
|
20761
20816
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20764,7 +20819,7 @@ const vr = {
|
|
|
20764
20819
|
}
|
|
20765
20820
|
),
|
|
20766
20821
|
/* @__PURE__ */ i.jsx(
|
|
20767
|
-
|
|
20822
|
+
b,
|
|
20768
20823
|
{
|
|
20769
20824
|
label: !0,
|
|
20770
20825
|
name: "accountHolderName",
|
|
@@ -20773,7 +20828,7 @@ const vr = {
|
|
|
20773
20828
|
}
|
|
20774
20829
|
),
|
|
20775
20830
|
/* @__PURE__ */ i.jsx(
|
|
20776
|
-
|
|
20831
|
+
b,
|
|
20777
20832
|
{
|
|
20778
20833
|
label: !0,
|
|
20779
20834
|
name: "accountHolderCountryOfCitizenship",
|
|
@@ -20782,7 +20837,7 @@ const vr = {
|
|
|
20782
20837
|
}
|
|
20783
20838
|
),
|
|
20784
20839
|
/* @__PURE__ */ i.jsx(
|
|
20785
|
-
|
|
20840
|
+
b,
|
|
20786
20841
|
{
|
|
20787
20842
|
label: !0,
|
|
20788
20843
|
name: "accountHolderDateOfBirth",
|
|
@@ -20791,7 +20846,7 @@ const vr = {
|
|
|
20791
20846
|
}
|
|
20792
20847
|
),
|
|
20793
20848
|
/* @__PURE__ */ i.jsx(
|
|
20794
|
-
|
|
20849
|
+
b,
|
|
20795
20850
|
{
|
|
20796
20851
|
label: !0,
|
|
20797
20852
|
name: "accountHolderCityOfBirth",
|
|
@@ -20800,7 +20855,7 @@ const vr = {
|
|
|
20800
20855
|
}
|
|
20801
20856
|
),
|
|
20802
20857
|
/* @__PURE__ */ i.jsx(
|
|
20803
|
-
|
|
20858
|
+
b,
|
|
20804
20859
|
{
|
|
20805
20860
|
label: !0,
|
|
20806
20861
|
name: "accountHolderCountryOfBirth",
|
|
@@ -20809,7 +20864,7 @@ const vr = {
|
|
|
20809
20864
|
}
|
|
20810
20865
|
),
|
|
20811
20866
|
/* @__PURE__ */ i.jsx(
|
|
20812
|
-
|
|
20867
|
+
b,
|
|
20813
20868
|
{
|
|
20814
20869
|
label: !0,
|
|
20815
20870
|
name: "accountHolderDbaName",
|
|
@@ -20832,7 +20887,7 @@ const vr = {
|
|
|
20832
20887
|
}
|
|
20833
20888
|
),
|
|
20834
20889
|
/* @__PURE__ */ i.jsx(
|
|
20835
|
-
|
|
20890
|
+
b,
|
|
20836
20891
|
{
|
|
20837
20892
|
label: !0,
|
|
20838
20893
|
name: "accountHolderUsTin",
|
|
@@ -20841,7 +20896,7 @@ const vr = {
|
|
|
20841
20896
|
}
|
|
20842
20897
|
),
|
|
20843
20898
|
/* @__PURE__ */ i.jsx(
|
|
20844
|
-
|
|
20899
|
+
b,
|
|
20845
20900
|
{
|
|
20846
20901
|
label: !0,
|
|
20847
20902
|
name: "accountHolderForeignTin",
|
|
@@ -20850,7 +20905,7 @@ const vr = {
|
|
|
20850
20905
|
}
|
|
20851
20906
|
),
|
|
20852
20907
|
/* @__PURE__ */ i.jsx(
|
|
20853
|
-
|
|
20908
|
+
b,
|
|
20854
20909
|
{
|
|
20855
20910
|
label: !0,
|
|
20856
20911
|
name: "accountHolderForeignTinIsNotRequired",
|
|
@@ -20859,7 +20914,7 @@ const vr = {
|
|
|
20859
20914
|
}
|
|
20860
20915
|
),
|
|
20861
20916
|
/* @__PURE__ */ i.jsx(
|
|
20862
|
-
|
|
20917
|
+
b,
|
|
20863
20918
|
{
|
|
20864
20919
|
label: !0,
|
|
20865
20920
|
name: "accountHolderFinancialAccountIdentifier",
|
|
@@ -20868,7 +20923,7 @@ const vr = {
|
|
|
20868
20923
|
}
|
|
20869
20924
|
),
|
|
20870
20925
|
/* @__PURE__ */ i.jsx(
|
|
20871
|
-
|
|
20926
|
+
b,
|
|
20872
20927
|
{
|
|
20873
20928
|
label: !0,
|
|
20874
20929
|
name: "accountHolderFinancialAccountName",
|
|
@@ -20877,7 +20932,7 @@ const vr = {
|
|
|
20877
20932
|
}
|
|
20878
20933
|
),
|
|
20879
20934
|
/* @__PURE__ */ i.jsx(
|
|
20880
|
-
|
|
20935
|
+
b,
|
|
20881
20936
|
{
|
|
20882
20937
|
name: "accountHolderVatCountry",
|
|
20883
20938
|
onEdit: () => a("AccountHolderTax"),
|
|
@@ -20886,7 +20941,7 @@ const vr = {
|
|
|
20886
20941
|
}
|
|
20887
20942
|
),
|
|
20888
20943
|
/* @__PURE__ */ i.jsx(
|
|
20889
|
-
|
|
20944
|
+
b,
|
|
20890
20945
|
{
|
|
20891
20946
|
name: "accountHolderVatIdentificationNumber",
|
|
20892
20947
|
onEdit: () => a("AccountHolderTax"),
|
|
@@ -20895,7 +20950,7 @@ const vr = {
|
|
|
20895
20950
|
}
|
|
20896
20951
|
),
|
|
20897
20952
|
/* @__PURE__ */ i.jsx(
|
|
20898
|
-
|
|
20953
|
+
b,
|
|
20899
20954
|
{
|
|
20900
20955
|
name: "accountHolderBusinessRegistrationCountry",
|
|
20901
20956
|
onEdit: () => a("AccountHolderTax"),
|
|
@@ -20904,7 +20959,7 @@ const vr = {
|
|
|
20904
20959
|
}
|
|
20905
20960
|
),
|
|
20906
20961
|
/* @__PURE__ */ i.jsx(
|
|
20907
|
-
|
|
20962
|
+
b,
|
|
20908
20963
|
{
|
|
20909
20964
|
name: "accountHolderBusinessRegistrationNumber",
|
|
20910
20965
|
onEdit: () => a("AccountHolderTax"),
|
|
@@ -20913,14 +20968,14 @@ const vr = {
|
|
|
20913
20968
|
}
|
|
20914
20969
|
),
|
|
20915
20970
|
/* @__PURE__ */ i.jsxs(
|
|
20916
|
-
|
|
20971
|
+
se,
|
|
20917
20972
|
{
|
|
20918
20973
|
title: n("taxResidences"),
|
|
20919
20974
|
showIf: e.accountHolderIsEuResident === "yes" && e.accountHolderIsIndividual !== void 0,
|
|
20920
20975
|
children: [
|
|
20921
|
-
/* @__PURE__ */ i.jsx(
|
|
20976
|
+
/* @__PURE__ */ i.jsx(vt, { name: "accountHolderTaxResidences" }),
|
|
20922
20977
|
/* @__PURE__ */ i.jsx(
|
|
20923
|
-
|
|
20978
|
+
b,
|
|
20924
20979
|
{
|
|
20925
20980
|
label: !0,
|
|
20926
20981
|
name: "accountHolderTaxResidenceCountry1",
|
|
@@ -20928,14 +20983,14 @@ const vr = {
|
|
|
20928
20983
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)
|
|
20929
20984
|
}
|
|
20930
20985
|
),
|
|
20931
|
-
/* @__PURE__ */ i.jsx(
|
|
20986
|
+
/* @__PURE__ */ i.jsx(b, { label: !0, name: "accountHolderTaxResidenceForeignTin1", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20932
20987
|
$,
|
|
20933
20988
|
{
|
|
20934
20989
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1
|
|
20935
20990
|
}
|
|
20936
20991
|
) }),
|
|
20937
20992
|
/* @__PURE__ */ i.jsx(
|
|
20938
|
-
|
|
20993
|
+
b,
|
|
20939
20994
|
{
|
|
20940
20995
|
label: !0,
|
|
20941
20996
|
name: "accountHolderTaxResidenceCountry2",
|
|
@@ -20943,14 +20998,14 @@ const vr = {
|
|
|
20943
20998
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)
|
|
20944
20999
|
}
|
|
20945
21000
|
),
|
|
20946
|
-
/* @__PURE__ */ i.jsx(
|
|
21001
|
+
/* @__PURE__ */ i.jsx(b, { label: !0, name: "accountHolderTaxResidenceForeignTin2", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20947
21002
|
$,
|
|
20948
21003
|
{
|
|
20949
21004
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2
|
|
20950
21005
|
}
|
|
20951
21006
|
) }),
|
|
20952
21007
|
/* @__PURE__ */ i.jsx(
|
|
20953
|
-
|
|
21008
|
+
b,
|
|
20954
21009
|
{
|
|
20955
21010
|
label: !0,
|
|
20956
21011
|
name: "accountHolderTaxResidenceCountry3",
|
|
@@ -20958,14 +21013,14 @@ const vr = {
|
|
|
20958
21013
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)
|
|
20959
21014
|
}
|
|
20960
21015
|
),
|
|
20961
|
-
/* @__PURE__ */ i.jsx(
|
|
21016
|
+
/* @__PURE__ */ i.jsx(b, { label: !0, name: "accountHolderTaxResidenceForeignTin3", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20962
21017
|
$,
|
|
20963
21018
|
{
|
|
20964
21019
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3
|
|
20965
21020
|
}
|
|
20966
21021
|
) }),
|
|
20967
21022
|
/* @__PURE__ */ i.jsx(
|
|
20968
|
-
|
|
21023
|
+
b,
|
|
20969
21024
|
{
|
|
20970
21025
|
label: !0,
|
|
20971
21026
|
name: "accountHolderTaxResidenceCountry4",
|
|
@@ -20973,14 +21028,14 @@ const vr = {
|
|
|
20973
21028
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)
|
|
20974
21029
|
}
|
|
20975
21030
|
),
|
|
20976
|
-
/* @__PURE__ */ i.jsx(
|
|
21031
|
+
/* @__PURE__ */ i.jsx(b, { label: !0, name: "accountHolderTaxResidenceForeignTin4", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20977
21032
|
$,
|
|
20978
21033
|
{
|
|
20979
21034
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4
|
|
20980
21035
|
}
|
|
20981
21036
|
) }),
|
|
20982
21037
|
/* @__PURE__ */ i.jsx(
|
|
20983
|
-
|
|
21038
|
+
b,
|
|
20984
21039
|
{
|
|
20985
21040
|
label: !0,
|
|
20986
21041
|
name: "accountHolderTaxResidenceCountry5",
|
|
@@ -20988,7 +21043,7 @@ const vr = {
|
|
|
20988
21043
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)
|
|
20989
21044
|
}
|
|
20990
21045
|
),
|
|
20991
|
-
/* @__PURE__ */ i.jsx(
|
|
21046
|
+
/* @__PURE__ */ i.jsx(b, { label: !0, name: "accountHolderTaxResidenceForeignTin5", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20992
21047
|
$,
|
|
20993
21048
|
{
|
|
20994
21049
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5
|
|
@@ -20999,13 +21054,13 @@ const vr = {
|
|
|
20999
21054
|
)
|
|
21000
21055
|
] }),
|
|
21001
21056
|
/* @__PURE__ */ i.jsxs(
|
|
21002
|
-
|
|
21057
|
+
se,
|
|
21003
21058
|
{
|
|
21004
21059
|
title: n("regardedOwner"),
|
|
21005
|
-
showIf: !!
|
|
21060
|
+
showIf: !!d.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0,
|
|
21006
21061
|
children: [
|
|
21007
21062
|
/* @__PURE__ */ i.jsx(
|
|
21008
|
-
|
|
21063
|
+
b,
|
|
21009
21064
|
{
|
|
21010
21065
|
label: !0,
|
|
21011
21066
|
name: "regardedOwnerName",
|
|
@@ -21014,7 +21069,7 @@ const vr = {
|
|
|
21014
21069
|
}
|
|
21015
21070
|
),
|
|
21016
21071
|
/* @__PURE__ */ i.jsx(
|
|
21017
|
-
|
|
21072
|
+
b,
|
|
21018
21073
|
{
|
|
21019
21074
|
label: !0,
|
|
21020
21075
|
name: "regardedOwnerCountryOfCitizenship",
|
|
@@ -21023,7 +21078,7 @@ const vr = {
|
|
|
21023
21078
|
}
|
|
21024
21079
|
),
|
|
21025
21080
|
/* @__PURE__ */ i.jsx(
|
|
21026
|
-
|
|
21081
|
+
b,
|
|
21027
21082
|
{
|
|
21028
21083
|
label: !0,
|
|
21029
21084
|
name: "regardedOwnerDbaName",
|
|
@@ -21032,7 +21087,7 @@ const vr = {
|
|
|
21032
21087
|
}
|
|
21033
21088
|
),
|
|
21034
21089
|
/* @__PURE__ */ i.jsx(
|
|
21035
|
-
|
|
21090
|
+
b,
|
|
21036
21091
|
{
|
|
21037
21092
|
label: !0,
|
|
21038
21093
|
onEdit: () => a("RegardedOwnerClassification"),
|
|
@@ -21041,7 +21096,7 @@ const vr = {
|
|
|
21041
21096
|
}
|
|
21042
21097
|
),
|
|
21043
21098
|
/* @__PURE__ */ i.jsx(
|
|
21044
|
-
|
|
21099
|
+
b,
|
|
21045
21100
|
{
|
|
21046
21101
|
label: !0,
|
|
21047
21102
|
onEdit: () => a("RegardedOwnerClassification"),
|
|
@@ -21064,7 +21119,7 @@ const vr = {
|
|
|
21064
21119
|
}
|
|
21065
21120
|
),
|
|
21066
21121
|
/* @__PURE__ */ i.jsx(
|
|
21067
|
-
|
|
21122
|
+
b,
|
|
21068
21123
|
{
|
|
21069
21124
|
label: !0,
|
|
21070
21125
|
name: "regardedOwnerUsTin",
|
|
@@ -21073,7 +21128,7 @@ const vr = {
|
|
|
21073
21128
|
}
|
|
21074
21129
|
),
|
|
21075
21130
|
/* @__PURE__ */ i.jsx(
|
|
21076
|
-
|
|
21131
|
+
b,
|
|
21077
21132
|
{
|
|
21078
21133
|
label: !0,
|
|
21079
21134
|
name: "regardedOwnerForeignTin",
|
|
@@ -21082,7 +21137,7 @@ const vr = {
|
|
|
21082
21137
|
}
|
|
21083
21138
|
),
|
|
21084
21139
|
/* @__PURE__ */ i.jsx(
|
|
21085
|
-
|
|
21140
|
+
b,
|
|
21086
21141
|
{
|
|
21087
21142
|
label: !0,
|
|
21088
21143
|
name: "regardedOwnerForeignTinIsNotRequired",
|
|
@@ -21091,7 +21146,7 @@ const vr = {
|
|
|
21091
21146
|
}
|
|
21092
21147
|
),
|
|
21093
21148
|
/* @__PURE__ */ i.jsx(
|
|
21094
|
-
|
|
21149
|
+
b,
|
|
21095
21150
|
{
|
|
21096
21151
|
label: !0,
|
|
21097
21152
|
name: "regardedOwnerUsTin",
|
|
@@ -21100,7 +21155,7 @@ const vr = {
|
|
|
21100
21155
|
}
|
|
21101
21156
|
),
|
|
21102
21157
|
/* @__PURE__ */ i.jsx(
|
|
21103
|
-
|
|
21158
|
+
b,
|
|
21104
21159
|
{
|
|
21105
21160
|
label: !0,
|
|
21106
21161
|
name: "exemptFatcaCode",
|
|
@@ -21109,7 +21164,7 @@ const vr = {
|
|
|
21109
21164
|
}
|
|
21110
21165
|
),
|
|
21111
21166
|
/* @__PURE__ */ i.jsx(
|
|
21112
|
-
|
|
21167
|
+
b,
|
|
21113
21168
|
{
|
|
21114
21169
|
label: !0,
|
|
21115
21170
|
name: "exemptPayeeCode",
|
|
@@ -21124,34 +21179,34 @@ const vr = {
|
|
|
21124
21179
|
}, qo = () => {
|
|
21125
21180
|
const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } = ae(), { getLocalTitle: o, fields: s } = E();
|
|
21126
21181
|
return /* @__PURE__ */ i.jsxs(
|
|
21127
|
-
|
|
21182
|
+
pe,
|
|
21128
21183
|
{
|
|
21129
21184
|
title: o("summary"),
|
|
21130
|
-
className: `taxbit-form-${
|
|
21185
|
+
className: `taxbit-form-${la("summary")}`,
|
|
21131
21186
|
children: [
|
|
21132
21187
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
21133
21188
|
/* @__PURE__ */ i.jsx(Zo, {}),
|
|
21134
|
-
/* @__PURE__ */ i.jsxs(
|
|
21135
|
-
/* @__PURE__ */ i.jsx(
|
|
21136
|
-
/* @__PURE__ */ i.jsx(
|
|
21137
|
-
/* @__PURE__ */ i.jsx(
|
|
21138
|
-
/* @__PURE__ */ i.jsx(
|
|
21139
|
-
/* @__PURE__ */ i.jsx(
|
|
21140
|
-
/* @__PURE__ */ i.jsx(
|
|
21141
|
-
/* @__PURE__ */ i.jsx(
|
|
21142
|
-
/* @__PURE__ */ i.jsx(
|
|
21143
|
-
/* @__PURE__ */ i.jsx(
|
|
21144
|
-
/* @__PURE__ */ i.jsx(
|
|
21145
|
-
/* @__PURE__ */ i.jsx(
|
|
21189
|
+
/* @__PURE__ */ i.jsxs(se, { title: "Certify", showIf: r || n, children: [
|
|
21190
|
+
/* @__PURE__ */ i.jsx(U, { name: "iCertifyToAll", label: !0 }),
|
|
21191
|
+
/* @__PURE__ */ i.jsx(U, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
|
|
21192
|
+
/* @__PURE__ */ i.jsx(U, { name: "iAmNotSubjectToBackupWithholding", label: !0 }),
|
|
21193
|
+
/* @__PURE__ */ i.jsx(U, { name: "iAmACitizenOfTheUs", label: !0 }),
|
|
21194
|
+
/* @__PURE__ */ i.jsx(U, { name: "iAmExemptFromFatcaReporting", label: !0 }),
|
|
21195
|
+
/* @__PURE__ */ i.jsx(U, { name: "iConfirmTheEntityIsTheBeneficialOwner", label: !0 }),
|
|
21196
|
+
/* @__PURE__ */ i.jsx(U, { name: "iConfirmTheEntityIsNotAUsPerson", label: !0 }),
|
|
21197
|
+
/* @__PURE__ */ i.jsx(U, { name: "iConfirmIncomeIsNonUs", label: !0, subLabel: !0 }),
|
|
21198
|
+
/* @__PURE__ */ i.jsx(U, { name: "iConfirmTheBeneficialOwnerIsExempt", label: !0 }),
|
|
21199
|
+
/* @__PURE__ */ i.jsx(U, { name: "iConfirmTheInformationIsCorrectComplete", label: !0 }),
|
|
21200
|
+
/* @__PURE__ */ i.jsx(U, { name: "iAuthorizeWithholdingAgent", label: !0 })
|
|
21146
21201
|
] }),
|
|
21147
|
-
/* @__PURE__ */ i.jsxs(
|
|
21148
|
-
/* @__PURE__ */ i.jsx(
|
|
21149
|
-
/* @__PURE__ */ i.jsx(
|
|
21150
|
-
/* @__PURE__ */ i.jsx(
|
|
21202
|
+
/* @__PURE__ */ i.jsxs(se, { title: "Acknowledge and Sign", showIf: r || n, children: [
|
|
21203
|
+
/* @__PURE__ */ i.jsx(U, { name: "iAcknowlegeESignIsOk", label: !0 }),
|
|
21204
|
+
/* @__PURE__ */ i.jsx(U, { name: "iHaveLegalCapacityToSign", label: !0 }),
|
|
21205
|
+
/* @__PURE__ */ i.jsx(Y, { label: !0, name: "signature" })
|
|
21151
21206
|
] })
|
|
21152
21207
|
] }),
|
|
21153
21208
|
/* @__PURE__ */ i.jsx(
|
|
21154
|
-
|
|
21209
|
+
fe,
|
|
21155
21210
|
{
|
|
21156
21211
|
onBack: e,
|
|
21157
21212
|
onSubmit: () => a(s)
|
|
@@ -21160,11 +21215,11 @@ const vr = {
|
|
|
21160
21215
|
]
|
|
21161
21216
|
}
|
|
21162
21217
|
);
|
|
21163
|
-
}, Yo = () => /* @__PURE__ */ i.jsx(
|
|
21218
|
+
}, Yo = () => /* @__PURE__ */ i.jsx(ue, { children: /* @__PURE__ */ i.jsx(qo, {}) }), _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21164
21219
|
__proto__: null,
|
|
21165
21220
|
AccountHolderClassification: jo,
|
|
21166
21221
|
AccountHolderContact: Eo,
|
|
21167
|
-
AccountHolderTax:
|
|
21222
|
+
AccountHolderTax: Po,
|
|
21168
21223
|
AccountHolderTaxClarification: Ho,
|
|
21169
21224
|
Confirmation: Go,
|
|
21170
21225
|
Exemptions: Uo,
|
|
@@ -21172,13 +21227,14 @@ const vr = {
|
|
|
21172
21227
|
RegardedOwnerContact: Vo,
|
|
21173
21228
|
RegardedOwnerTax: Jo,
|
|
21174
21229
|
Summary: Yo
|
|
21175
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
21230
|
+
}, Symbol.toStringTag, { value: "Module" })), pt = ({
|
|
21176
21231
|
data: e,
|
|
21177
21232
|
onSubmit: a,
|
|
21178
21233
|
language: n,
|
|
21179
21234
|
taxForms: r,
|
|
21180
21235
|
complete: o,
|
|
21181
|
-
onProgress: s
|
|
21236
|
+
onProgress: s,
|
|
21237
|
+
externalValidations: d
|
|
21182
21238
|
}) => /* @__PURE__ */ i.jsx(
|
|
21183
21239
|
so,
|
|
21184
21240
|
{
|
|
@@ -21188,6 +21244,7 @@ const vr = {
|
|
|
21188
21244
|
language: n,
|
|
21189
21245
|
taxForms: r,
|
|
21190
21246
|
step: o ? "Summary" : void 0,
|
|
21247
|
+
externalValidations: d,
|
|
21191
21248
|
children: /* @__PURE__ */ i.jsx(
|
|
21192
21249
|
Xo,
|
|
21193
21250
|
{
|
|
@@ -21202,14 +21259,14 @@ const vr = {
|
|
|
21202
21259
|
taxForms: a = Qo,
|
|
21203
21260
|
data: n
|
|
21204
21261
|
}) => {
|
|
21205
|
-
const { stepName: r, setLanguage: o, setSupportedForms: s, onResetTaxDocumentation:
|
|
21206
|
-
return
|
|
21262
|
+
const { stepName: r, setLanguage: o, setSupportedForms: s, onResetTaxDocumentation: d } = ae(), l = _o[r];
|
|
21263
|
+
return _(() => {
|
|
21207
21264
|
o(e);
|
|
21208
|
-
}, [e, o]),
|
|
21265
|
+
}, [e, o]), _(() => {
|
|
21209
21266
|
s(a);
|
|
21210
|
-
}, [a, s]),
|
|
21211
|
-
n &&
|
|
21212
|
-
}, [n,
|
|
21267
|
+
}, [a, s]), _(() => {
|
|
21268
|
+
n && d(n);
|
|
21269
|
+
}, [n, d]), /* @__PURE__ */ i.jsx(l, {});
|
|
21213
21270
|
}, as = ({
|
|
21214
21271
|
data: e,
|
|
21215
21272
|
onSubmit: a,
|
|
@@ -21217,7 +21274,7 @@ const vr = {
|
|
|
21217
21274
|
language: r,
|
|
21218
21275
|
complete: o
|
|
21219
21276
|
}) => /* @__PURE__ */ i.jsx(
|
|
21220
|
-
|
|
21277
|
+
pt,
|
|
21221
21278
|
{
|
|
21222
21279
|
data: e,
|
|
21223
21280
|
language: r,
|
|
@@ -21233,25 +21290,32 @@ const vr = {
|
|
|
21233
21290
|
language: r,
|
|
21234
21291
|
taxForms: o,
|
|
21235
21292
|
onProgress: s,
|
|
21236
|
-
onSubmit:
|
|
21237
|
-
onSuccess:
|
|
21293
|
+
onSubmit: d,
|
|
21294
|
+
onSuccess: l
|
|
21238
21295
|
}) => {
|
|
21239
|
-
const {
|
|
21296
|
+
const {
|
|
21297
|
+
isComplete: m,
|
|
21298
|
+
isLoading: k,
|
|
21299
|
+
formData: g,
|
|
21300
|
+
handleOnSubmit: c,
|
|
21301
|
+
externalValidations: v
|
|
21302
|
+
} = to({
|
|
21240
21303
|
bearerToken: n,
|
|
21241
21304
|
data: a,
|
|
21242
|
-
onSubmit:
|
|
21243
|
-
onSuccess:
|
|
21305
|
+
onSubmit: d,
|
|
21306
|
+
onSuccess: l,
|
|
21244
21307
|
staging: e
|
|
21245
21308
|
});
|
|
21246
|
-
return
|
|
21247
|
-
|
|
21309
|
+
return k ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-loading", children: gt("retrievingInterviewStatus", r) }) : /* @__PURE__ */ i.jsx(
|
|
21310
|
+
pt,
|
|
21248
21311
|
{
|
|
21249
21312
|
data: g,
|
|
21250
21313
|
language: r,
|
|
21251
21314
|
onSubmit: c,
|
|
21252
21315
|
onProgress: s,
|
|
21253
21316
|
taxForms: o,
|
|
21254
|
-
complete: m
|
|
21317
|
+
complete: m,
|
|
21318
|
+
externalValidations: v
|
|
21255
21319
|
}
|
|
21256
21320
|
);
|
|
21257
21321
|
}, is = ({
|
|
@@ -21261,7 +21325,7 @@ const vr = {
|
|
|
21261
21325
|
language: r,
|
|
21262
21326
|
onSubmit: o,
|
|
21263
21327
|
onProgress: s,
|
|
21264
|
-
onSuccess:
|
|
21328
|
+
onSuccess: d
|
|
21265
21329
|
}) => /* @__PURE__ */ i.jsx(
|
|
21266
21330
|
$o,
|
|
21267
21331
|
{
|
|
@@ -21272,13 +21336,13 @@ const vr = {
|
|
|
21272
21336
|
staging: a,
|
|
21273
21337
|
onSubmit: o,
|
|
21274
21338
|
onProgress: s,
|
|
21275
|
-
onSuccess:
|
|
21339
|
+
onSuccess: d
|
|
21276
21340
|
}
|
|
21277
21341
|
);
|
|
21278
21342
|
export {
|
|
21279
21343
|
is as TaxBitDAC7Form,
|
|
21280
21344
|
as as TaxBitDAC7FormUI,
|
|
21281
21345
|
$o as TaxBitForm,
|
|
21282
|
-
|
|
21346
|
+
pt as TaxBitFormUI,
|
|
21283
21347
|
kr as useTaxBit
|
|
21284
21348
|
};
|