@taxbit/react-sdk 0.4.0 → 0.4.1
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 +4 -4
- package/dist/src/test/utils/helpers.d.ts +13 -0
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/mergeClientTaxDocumentationData.d.ts +2 -0
- package/dist/src/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +1 -1
- package/dist/src/widgets/TaxBitForm/__tests__/TaxBitDAC7Form.loaded.test.d.ts +0 -0
- package/dist/src/widgets/TaxBitForm/__tests__/TaxBitForm.loaded.test.d.ts +0 -0
- package/dist/src/widgets/TaxBitForm/__tests__/TaxBitForm.loading.test.d.ts +0 -0
- package/dist/src/widgets/TaxBitForm/useTaxBitForm.d.ts +10 -0
- package/dist/src/wizard/TaxBitFormUI/__tests__/TaxBitDAC7FormUI.test.d.ts +0 -0
- package/dist/taxbit-react-sdk.js +902 -861
- package/dist/taxbit-react-sdk.umd.cjs +9 -9
- package/package.json +1 -1
- package/dist/src/utils/mergeDeep.d.ts +0 -1
package/dist/taxbit-react-sdk.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import at, { useState as K, useEffect as
|
|
2
|
-
const
|
|
1
|
+
import at, { useState as K, useEffect as Y, createContext as At, useContext as bt, useMemo as ee, useCallback as it, Fragment as nt, useRef as Un } from "react";
|
|
2
|
+
const Ua = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging" : ""}.taxbit.com/v1/${e}`, Da = {
|
|
3
3
|
taxDocumentation: {
|
|
4
|
-
post: (e) =>
|
|
5
|
-
get: (e) =>
|
|
4
|
+
post: (e) => Ua("tax-documentation", e),
|
|
5
|
+
get: (e) => Ua("tax-documentation?unmask_tin=true", e)
|
|
6
6
|
},
|
|
7
7
|
taxDocumentationStatus: {
|
|
8
|
-
get: (e) =>
|
|
8
|
+
get: (e) => Ua("tax-documentation-status", e)
|
|
9
9
|
}
|
|
10
|
-
},
|
|
10
|
+
}, Ct = (e) => e.replace(/([-_][a-z])/gi, (a) => a.toUpperCase().replace(/[-_]/g, "")), La = (e) => Array.isArray(e) ? e.map((a) => La(a)) : e !== Object(e) ? e : Object.fromEntries(
|
|
11
11
|
Object.entries(e).map(([a, n]) => [
|
|
12
|
-
|
|
12
|
+
Ct(a),
|
|
13
13
|
La(n)
|
|
14
14
|
])
|
|
15
|
-
), se = (...e) => e.filter(Boolean).join(" "),
|
|
15
|
+
), se = (...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)
|
|
@@ -22,7 +22,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
22
22
|
} catch {
|
|
23
23
|
return !1;
|
|
24
24
|
}
|
|
25
|
-
},
|
|
25
|
+
}, St = (e) => /^\d{2}\/\d{2}\/\d{4}$/.test(e), Nt = (e) => {
|
|
26
26
|
const a = new Date(e);
|
|
27
27
|
return !isNaN(a.getTime()) && e === a.toLocaleDateString("en-US", {
|
|
28
28
|
month: "2-digit",
|
|
@@ -31,7 +31,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
31
31
|
});
|
|
32
32
|
}, ge = (e) => e.map((a) => ({
|
|
33
33
|
value: a
|
|
34
|
-
})),
|
|
34
|
+
})), Tt = [
|
|
35
35
|
"AB",
|
|
36
36
|
"BC",
|
|
37
37
|
"MB",
|
|
@@ -45,7 +45,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
45
45
|
"QC",
|
|
46
46
|
"SK",
|
|
47
47
|
"YT"
|
|
48
|
-
],
|
|
48
|
+
], Mt = ge(Tt), yt = [
|
|
49
49
|
"AD",
|
|
50
50
|
"AE",
|
|
51
51
|
"AF",
|
|
@@ -323,7 +323,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
323
323
|
"SE",
|
|
324
324
|
"SI",
|
|
325
325
|
"SK"
|
|
326
|
-
], ra = ge(
|
|
326
|
+
], ra = ge(yt), jt = ge(tt), re = (e) => e ? tt.includes(e) : !1, Ot = [
|
|
327
327
|
"01",
|
|
328
328
|
"02",
|
|
329
329
|
"03",
|
|
@@ -355,7 +355,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
355
355
|
"29",
|
|
356
356
|
"30",
|
|
357
357
|
"31"
|
|
358
|
-
],
|
|
358
|
+
], Dn = ge(Ot), zt = [
|
|
359
359
|
"A",
|
|
360
360
|
"B",
|
|
361
361
|
"C",
|
|
@@ -369,14 +369,14 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
369
369
|
"K",
|
|
370
370
|
"L",
|
|
371
371
|
"M"
|
|
372
|
-
],
|
|
372
|
+
], Et = ge(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
|
-
],
|
|
379
|
+
], Bt = rt.map((e) => e.value), _a = [
|
|
380
380
|
{ value: "taxExemptOrganization" },
|
|
381
381
|
{ value: "privateFoundation" },
|
|
382
382
|
{ value: "internationalOrganization" },
|
|
@@ -384,7 +384,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
384
384
|
{ value: "foreignGovernmentControlledEntity" },
|
|
385
385
|
{ value: "foreignGovernmentIntegralPart" },
|
|
386
386
|
{ value: "estate" }
|
|
387
|
-
], Rt = _a.map((e) => e.value),
|
|
387
|
+
], Rt = _a.map((e) => e.value), Pt = [
|
|
388
388
|
{ value: "individual" },
|
|
389
389
|
{ value: "corporation" },
|
|
390
390
|
{ value: "partnership" },
|
|
@@ -394,7 +394,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
394
394
|
{ value: "simpleTrust" },
|
|
395
395
|
{ value: "complexTrust" },
|
|
396
396
|
{ value: "grantorTrust" }
|
|
397
|
-
],
|
|
397
|
+
], wt = Qa.map((e) => e.value), Ht = [
|
|
398
398
|
"bg-bg",
|
|
399
399
|
"cs-cz",
|
|
400
400
|
"da-dk",
|
|
@@ -425,7 +425,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
425
425
|
"sk-sk",
|
|
426
426
|
"sl-si",
|
|
427
427
|
"sv-se"
|
|
428
|
-
],
|
|
428
|
+
], Lt = ge(Ht), Gt = [
|
|
429
429
|
"01",
|
|
430
430
|
"02",
|
|
431
431
|
"03",
|
|
@@ -438,7 +438,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
438
438
|
"10",
|
|
439
439
|
"11",
|
|
440
440
|
"12"
|
|
441
|
-
], xt = ge(
|
|
441
|
+
], xt = ge(Gt), Ut = [
|
|
442
442
|
"A",
|
|
443
443
|
"B",
|
|
444
444
|
"C",
|
|
@@ -452,7 +452,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
452
452
|
"K",
|
|
453
453
|
"L",
|
|
454
454
|
"M"
|
|
455
|
-
],
|
|
455
|
+
], Dt = ge(Ut), ot = [
|
|
456
456
|
{ value: "individual" },
|
|
457
457
|
{ value: "soleProprietor" },
|
|
458
458
|
{ value: "llc" },
|
|
@@ -463,13 +463,13 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
463
463
|
{ value: "trustEstate" },
|
|
464
464
|
{ value: "other" },
|
|
465
465
|
{ value: "disregardedEntity" }
|
|
466
|
-
],
|
|
466
|
+
], Ft = ot.map((e) => e.value), Xa = [
|
|
467
467
|
{ value: "cCorporation" },
|
|
468
468
|
{ value: "sCorporation" },
|
|
469
469
|
{ value: "partnership" }
|
|
470
|
-
],
|
|
470
|
+
], Kt = Xa.map(
|
|
471
471
|
(e) => e.value
|
|
472
|
-
),
|
|
472
|
+
), Vt = [
|
|
473
473
|
{ value: "individual" },
|
|
474
474
|
{ value: "llc" },
|
|
475
475
|
{ value: "cCorporation" },
|
|
@@ -477,7 +477,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
477
477
|
{ value: "partnership" },
|
|
478
478
|
{ value: "trustEstate" },
|
|
479
479
|
{ value: "other" }
|
|
480
|
-
],
|
|
480
|
+
], Wt = [
|
|
481
481
|
"AL",
|
|
482
482
|
"AK",
|
|
483
483
|
"AS",
|
|
@@ -538,13 +538,13 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
538
538
|
"WV",
|
|
539
539
|
"WI",
|
|
540
540
|
"WY"
|
|
541
|
-
],
|
|
542
|
-
{ length: Fn -
|
|
541
|
+
], Jt = ge(Wt), st = /* @__PURE__ */ new Date(), Zt = st.getFullYear() - 120, Fn = st.getFullYear(), qt = Array.from(
|
|
542
|
+
{ length: Fn - Zt },
|
|
543
543
|
(e, a) => Fn - a
|
|
544
|
-
),
|
|
544
|
+
), Yt = qt.map((e) => ({
|
|
545
545
|
value: e
|
|
546
|
-
})), P = (e) => e === void 0 || e === "", V = (e) => !P(e),
|
|
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")), l = !a && (e == null ? void 0 : e.accountHolderIsEuResident) !== void 0 || !!(a != null && a.includes("DAC7")), d = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", m = (e == null ? void 0 : e.accountHolderIsEuResident) === "yes" && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)) && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)) && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)) && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)) && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)), h = V(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || V(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || V(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || V(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || V(e == null ? void 0 : e.accountHolderTaxResidenceCountry5),
|
|
546
|
+
})), P = (e) => e === void 0 || e === "", V = (e) => !P(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")), l = !a && (e == null ? void 0 : e.accountHolderIsEuResident) !== void 0 || !!(a != null && a.includes("DAC7")), d = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", m = (e == null ? void 0 : e.accountHolderIsEuResident) === "yes" && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)) && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)) && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)) && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)) && (P(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)), h = V(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || V(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || V(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || V(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || V(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
549
|
accountHolderIsDisregarded: d,
|
|
550
550
|
hasNoEUTaxId: m,
|
|
@@ -554,9 +554,9 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
554
554
|
isW8: r,
|
|
555
555
|
isW8Ben: o,
|
|
556
556
|
isW8BenE: s,
|
|
557
|
-
isIndividual:
|
|
557
|
+
isIndividual: g
|
|
558
558
|
};
|
|
559
|
-
},
|
|
559
|
+
}, _t = () => ({
|
|
560
560
|
accountHolderDateOfBirth: "dateOfBirth",
|
|
561
561
|
regardedOwnerDateOfBirth: "dateOfBirth"
|
|
562
562
|
}), Kn = (e, a) => new Date(a ?? 2012, e, 0).getDate(), lt = (e, a) => {
|
|
@@ -595,10 +595,10 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
595
595
|
default:
|
|
596
596
|
return "name";
|
|
597
597
|
}
|
|
598
|
-
},
|
|
598
|
+
}, Qt = (e) => e.accountHolderUsAccountType !== void 0 ? lt(
|
|
599
599
|
e.accountHolderUsAccountType,
|
|
600
600
|
e.accountHolderUsSmllcElection
|
|
601
|
-
) : e.accountHolderForeignAccountType !== void 0 ? dt(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfEntity" : "name",
|
|
601
|
+
) : e.accountHolderForeignAccountType !== void 0 ? dt(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfEntity" : "name", Xt = (e) => e.regardedOwnerUsPerson === "yes" ? lt(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? dt(e.regardedOwnerForeignAccountType) : "name", $t = (e) => ({
|
|
602
602
|
accountHolderIsIndividual: "isIndividual",
|
|
603
603
|
accountHolderUsPerson: "usPerson",
|
|
604
604
|
accountHolderUsAccountType: "usAccountType",
|
|
@@ -638,7 +638,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
638
638
|
accountHolderVatIsNotRequired: "vatIsNotRequired",
|
|
639
639
|
accountHolderBusinessRegistrationCountry: "businessRegistrationCountry",
|
|
640
640
|
accountHolderBusinessRegistrationNumber: "businessRegistrationNumber",
|
|
641
|
-
accountHolderName:
|
|
641
|
+
accountHolderName: Qt(e),
|
|
642
642
|
accountHolderDateOfBirth: "dateOfBirth",
|
|
643
643
|
accountHolderDbaName: "dbaName",
|
|
644
644
|
accountHolderAddress: "address",
|
|
@@ -670,7 +670,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
670
670
|
regardedOwnerForeignTrustClassification: "foreignTrustClassification",
|
|
671
671
|
regardedOwnerForeignOtherClassification: "foreignOtherClassification",
|
|
672
672
|
regardedOwnerCountryOfCitizenship: "countryOfCitizenship",
|
|
673
|
-
regardedOwnerName:
|
|
673
|
+
regardedOwnerName: Xt(e),
|
|
674
674
|
regardedOwnerDateOfBirth: "dateOfBirth",
|
|
675
675
|
regardedOwnerDbaName: "dbaName",
|
|
676
676
|
regardedOwnerAddress: "address",
|
|
@@ -688,21 +688,43 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
688
688
|
regardedOwnerMailingAddressState: "state",
|
|
689
689
|
regardedOwnerMailingAddressZip: "zip",
|
|
690
690
|
regardedOwnerMailingAddressCountry: "country"
|
|
691
|
-
}), oa = (e) => e.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(),
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
}
|
|
698
|
-
|
|
691
|
+
}), oa = (e) => e.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), er = (e, a) => {
|
|
692
|
+
var r, o, s, l, d, m, h, g, c, p, f, C, N, T, y, R, v, L, J, I;
|
|
693
|
+
const n = { ...e, ...a };
|
|
694
|
+
return (e != null && e.accountHolder || a != null && a.accountHolder) && (n.accountHolder = {
|
|
695
|
+
...e == null ? void 0 : e.accountHolder,
|
|
696
|
+
...a == null ? void 0 : a.accountHolder
|
|
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
|
+
...(s = e == null ? void 0 : e.accountHolder) == null ? void 0 : s.address,
|
|
699
|
+
...(l = a == null ? void 0 : a.accountHolder) == null ? void 0 : l.address
|
|
700
|
+
}), ((d = e == null ? void 0 : e.accountHolder) != null && d.mailingAddress || (m = a == null ? void 0 : a.accountHolder) != null && m.mailingAddress) && (n.accountHolder.mailingAddress = {
|
|
701
|
+
...(h = e == null ? void 0 : e.accountHolder) == null ? void 0 : h.mailingAddress,
|
|
702
|
+
...(g = a == null ? void 0 : a.accountHolder) == null ? void 0 : g.mailingAddress
|
|
703
|
+
}), (c = e == null ? void 0 : e.accountHolder) != null && c.taxResidences && (n.accountHolder.taxResidences = JSON.parse(
|
|
704
|
+
JSON.stringify((p = e == null ? void 0 : e.accountHolder) == null ? void 0 : p.taxResidences)
|
|
705
|
+
)), (f = a == null ? void 0 : a.accountHolder) != null && f.taxResidences && (n.accountHolder.taxResidences = JSON.parse(
|
|
706
|
+
JSON.stringify((C = a == null ? void 0 : a.accountHolder) == null ? void 0 : C.taxResidences)
|
|
707
|
+
))), (e != null && e.regardedOwner || a != null && a.regardedOwner) && (n.regardedOwner = {
|
|
708
|
+
...e == null ? void 0 : e.regardedOwner,
|
|
709
|
+
...a == null ? void 0 : a.regardedOwner
|
|
710
|
+
}, n.regardedOwner = {
|
|
711
|
+
...e == null ? void 0 : e.regardedOwner,
|
|
712
|
+
...a == null ? void 0 : a.regardedOwner
|
|
713
|
+
}, ((N = e == null ? void 0 : e.regardedOwner) != null && N.address || (T = a == null ? void 0 : a.regardedOwner) != null && T.address) && (n.regardedOwner.address = {
|
|
714
|
+
...(y = e == null ? void 0 : e.regardedOwner) == null ? void 0 : y.address,
|
|
715
|
+
...(R = a == null ? void 0 : a.regardedOwner) == null ? void 0 : R.address
|
|
716
|
+
}), ((v = e == null ? void 0 : e.regardedOwner) != null && v.mailingAddress || (L = a == null ? void 0 : a.regardedOwner) != null && L.mailingAddress) && (n.regardedOwner.mailingAddress = {
|
|
717
|
+
...(J = e == null ? void 0 : e.regardedOwner) == null ? void 0 : J.mailingAddress,
|
|
718
|
+
...(I = a == null ? void 0 : a.regardedOwner) == null ? void 0 : I.mailingAddress
|
|
719
|
+
})), n;
|
|
720
|
+
}, ar = (e) => e.replace(/[A-Z]/g, (a) => `_${a.toLowerCase()}`), Za = (e) => Array.isArray(e) ? e.map((a) => Za(a)) : typeof e == "function" || e !== Object(e) ? e : Object.fromEntries(
|
|
699
721
|
Object.entries(e).map(
|
|
700
722
|
([a, n]) => [
|
|
701
|
-
|
|
723
|
+
ar(a),
|
|
702
724
|
Za(n)
|
|
703
725
|
]
|
|
704
726
|
)
|
|
705
|
-
),
|
|
727
|
+
), ir = "0.4.1", G = (e) => e === void 0 ? void 0 : e === "yes", nr = (e) => {
|
|
706
728
|
const a = {
|
|
707
729
|
city: e.accountHolderAddressCity,
|
|
708
730
|
country: e.accountHolderAddressCountry,
|
|
@@ -712,7 +734,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
712
734
|
postalCode: e.accountHolderAddressZip
|
|
713
735
|
};
|
|
714
736
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
715
|
-
},
|
|
737
|
+
}, tr = (e) => {
|
|
716
738
|
const a = {
|
|
717
739
|
city: e.regardedOwnerAddressCity,
|
|
718
740
|
country: e.regardedOwnerAddressCountry,
|
|
@@ -722,7 +744,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
722
744
|
postalCode: e.regardedOwnerAddressZip
|
|
723
745
|
};
|
|
724
746
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
725
|
-
},
|
|
747
|
+
}, rr = (e) => {
|
|
726
748
|
const a = {
|
|
727
749
|
city: e.accountHolderMailingAddressCity,
|
|
728
750
|
country: e.accountHolderMailingAddressCountry,
|
|
@@ -732,7 +754,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
732
754
|
postalCode: e.accountHolderMailingAddressZip
|
|
733
755
|
};
|
|
734
756
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
735
|
-
},
|
|
757
|
+
}, or = (e) => {
|
|
736
758
|
const a = {
|
|
737
759
|
city: e.regardedOwnerMailingAddressCity,
|
|
738
760
|
country: e.regardedOwnerMailingAddressCountry,
|
|
@@ -742,40 +764,40 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
742
764
|
postalCode: e.regardedOwnerMailingAddressZip
|
|
743
765
|
};
|
|
744
766
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
745
|
-
},
|
|
767
|
+
}, sr = (e) => {
|
|
746
768
|
const n = [
|
|
747
769
|
{
|
|
748
770
|
country: e.accountHolderTaxResidenceCountry1,
|
|
749
771
|
tin: e.accountHolderTaxResidenceForeignTin1,
|
|
750
|
-
tinNotRequired:
|
|
772
|
+
tinNotRequired: G(
|
|
751
773
|
e.accountHolderTaxResidenceForeignTin1IsNotRequired
|
|
752
774
|
)
|
|
753
775
|
},
|
|
754
776
|
{
|
|
755
777
|
country: e.accountHolderTaxResidenceCountry2,
|
|
756
778
|
tin: e.accountHolderTaxResidenceForeignTin2,
|
|
757
|
-
tinNotRequired:
|
|
779
|
+
tinNotRequired: G(
|
|
758
780
|
e.accountHolderTaxResidenceForeignTin2IsNotRequired
|
|
759
781
|
)
|
|
760
782
|
},
|
|
761
783
|
{
|
|
762
784
|
country: e.accountHolderTaxResidenceCountry3,
|
|
763
785
|
tin: e.accountHolderTaxResidenceForeignTin3,
|
|
764
|
-
tinNotRequired:
|
|
786
|
+
tinNotRequired: G(
|
|
765
787
|
e.accountHolderTaxResidenceForeignTin3IsNotRequired
|
|
766
788
|
)
|
|
767
789
|
},
|
|
768
790
|
{
|
|
769
791
|
country: e.accountHolderTaxResidenceCountry4,
|
|
770
792
|
tin: e.accountHolderTaxResidenceForeignTin4,
|
|
771
|
-
tinNotRequired:
|
|
793
|
+
tinNotRequired: G(
|
|
772
794
|
e.accountHolderTaxResidenceForeignTin4IsNotRequired
|
|
773
795
|
)
|
|
774
796
|
},
|
|
775
797
|
{
|
|
776
798
|
country: e.accountHolderTaxResidenceCountry5,
|
|
777
799
|
tin: e.accountHolderTaxResidenceForeignTin5,
|
|
778
|
-
tinNotRequired:
|
|
800
|
+
tinNotRequired: G(
|
|
779
801
|
e.accountHolderTaxResidenceForeignTin5IsNotRequired
|
|
780
802
|
)
|
|
781
803
|
}
|
|
@@ -783,14 +805,14 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
783
805
|
(r) => Object.entries(r).some(([, o]) => o !== void 0)
|
|
784
806
|
);
|
|
785
807
|
return n.length > 0 ? n : void 0;
|
|
786
|
-
},
|
|
808
|
+
}, lr = (e) => {
|
|
787
809
|
const a = {
|
|
788
|
-
address:
|
|
810
|
+
address: nr(e),
|
|
789
811
|
countryOfCitizenship: e.accountHolderCountryOfCitizenship,
|
|
790
812
|
dateOfBirth: e.accountHolderDateOfBirth,
|
|
791
813
|
dbaName: e.accountHolderDbaName,
|
|
792
|
-
mailingAddress:
|
|
793
|
-
mailingAddressIsDifferent:
|
|
814
|
+
mailingAddress: rr(e),
|
|
815
|
+
mailingAddressIsDifferent: G(
|
|
794
816
|
e.accountHolderMailingAddressIsDifferent
|
|
795
817
|
),
|
|
796
818
|
name: e.accountHolderName,
|
|
@@ -799,75 +821,75 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
799
821
|
financialAccountIdentifier: e.accountHolderFinancialAccountIdentifier,
|
|
800
822
|
financialAccountName: e.accountHolderFinancialAccountName,
|
|
801
823
|
ftin: e.accountHolderForeignTin,
|
|
802
|
-
ftinNotLegallyRequired:
|
|
824
|
+
ftinNotLegallyRequired: G(
|
|
803
825
|
e.accountHolderForeignTinIsNotRequired
|
|
804
826
|
),
|
|
805
|
-
taxResidences:
|
|
827
|
+
taxResidences: sr(e),
|
|
806
828
|
tin: e.accountHolderUsTin,
|
|
807
829
|
vatin: e.accountHolderVatIdentificationNumber,
|
|
808
830
|
vatinCountry: e.accountHolderVatCountry,
|
|
809
831
|
businessRegistrationCountry: e.accountHolderBusinessRegistrationCountry,
|
|
810
832
|
businessRegistrationNumber: e.accountHolderBusinessRegistrationNumber,
|
|
811
|
-
vatinNotRequired:
|
|
833
|
+
vatinNotRequired: G(e.accountHolderVatIsNotRequired),
|
|
812
834
|
exemptFatcaCode: e.exemptFatcaCode,
|
|
813
835
|
exemptPayeeCode: e.exemptPayeeCode,
|
|
814
|
-
isIndividual:
|
|
815
|
-
isEuResident:
|
|
816
|
-
isUsPerson:
|
|
836
|
+
isIndividual: G(e.accountHolderIsIndividual),
|
|
837
|
+
isEuResident: G(e.accountHolderIsEuResident),
|
|
838
|
+
isUsPerson: G(e.accountHolderUsPerson),
|
|
817
839
|
usAccountType: e.accountHolderUsAccountType,
|
|
818
|
-
usSmllcElection:
|
|
840
|
+
usSmllcElection: G(e.accountHolderUsSmllcElection),
|
|
819
841
|
usLlcClassification: e.accountHolderUsLlcClassification,
|
|
820
842
|
usOtherClassification: e.accountHolderUsOtherClassification,
|
|
821
|
-
usTrustEstateEin:
|
|
843
|
+
usTrustEstateEin: G(e.accountHolderUsTrustEstateEin),
|
|
822
844
|
foreignAccountType: e.accountHolderForeignAccountType,
|
|
823
845
|
foreignTrustClassification: e.accountHolderForeignTrustClassification,
|
|
824
846
|
foreignOtherClassification: e.accountHolderForeignOtherClassification
|
|
825
847
|
};
|
|
826
848
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
827
|
-
},
|
|
849
|
+
}, dr = (e) => {
|
|
828
850
|
const a = {
|
|
829
|
-
address:
|
|
851
|
+
address: tr(e),
|
|
830
852
|
countryOfCitizenship: e.regardedOwnerCountryOfCitizenship,
|
|
831
853
|
dateOfBirth: e.regardedOwnerDateOfBirth,
|
|
832
854
|
dbaName: e.regardedOwnerDbaName,
|
|
833
|
-
mailingAddress:
|
|
834
|
-
mailingAddressIsDifferent:
|
|
855
|
+
mailingAddress: or(e),
|
|
856
|
+
mailingAddressIsDifferent: G(
|
|
835
857
|
e.regardedOwnerMailingAddressIsDifferent
|
|
836
858
|
),
|
|
837
859
|
name: e.regardedOwnerName,
|
|
838
860
|
ftin: e.regardedOwnerForeignTin,
|
|
839
|
-
ftinNotLegallyRequired:
|
|
861
|
+
ftinNotLegallyRequired: G(
|
|
840
862
|
e.regardedOwnerForeignTinIsNotRequired
|
|
841
863
|
),
|
|
842
864
|
tin: e.regardedOwnerUsTin,
|
|
843
865
|
exemptFatcaCode: e.exemptFatcaCode,
|
|
844
866
|
exemptPayeeCode: e.exemptPayeeCode,
|
|
845
|
-
isUsPerson:
|
|
867
|
+
isUsPerson: G(e.regardedOwnerUsPerson),
|
|
846
868
|
usAccountType: e.regardedOwnerUsAccountType,
|
|
847
869
|
usLlcClassification: e.regardedOwnerUsLlcClassification,
|
|
848
870
|
usOtherClassification: e.regardedOwnerUsOtherClassification,
|
|
849
|
-
usTrustEstateEin:
|
|
871
|
+
usTrustEstateEin: G(e.regardedOwnerUsTrustEstateEin),
|
|
850
872
|
foreignAccountType: e.regardedOwnerForeignAccountType,
|
|
851
873
|
foreignTrustClassification: e.regardedOwnerForeignTrustClassification,
|
|
852
874
|
foreignOtherClassification: e.regardedOwnerForeignOtherClassification
|
|
853
875
|
};
|
|
854
876
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
855
|
-
},
|
|
856
|
-
accountHolder:
|
|
857
|
-
regardedOwner:
|
|
858
|
-
hasCertified:
|
|
859
|
-
isNotSubjectBackupWithholding:
|
|
877
|
+
}, ur = (e) => ({
|
|
878
|
+
accountHolder: lr(e),
|
|
879
|
+
regardedOwner: dr(e),
|
|
880
|
+
hasCertified: G(e.iCertifyToAll),
|
|
881
|
+
isNotSubjectBackupWithholding: G(
|
|
860
882
|
e.iAmNotSubjectToBackupWithholding
|
|
861
883
|
),
|
|
862
|
-
isConfirmedCorrectComplete:
|
|
884
|
+
isConfirmedCorrectComplete: G(
|
|
863
885
|
e.iConfirmTheInformationIsCorrectComplete
|
|
864
886
|
),
|
|
865
887
|
signature: e.signature,
|
|
866
888
|
documentType: "COMPREHENSIVE",
|
|
867
|
-
source: `Taxbit React SDK v${
|
|
889
|
+
source: `Taxbit React SDK v${ir}`,
|
|
868
890
|
signatureDate: (/* @__PURE__ */ new Date()).toISOString()
|
|
869
891
|
}), Vn = (e) => {
|
|
870
|
-
if (e &&
|
|
892
|
+
if (e && Bt.includes(
|
|
871
893
|
e
|
|
872
894
|
))
|
|
873
895
|
return e;
|
|
@@ -877,20 +899,20 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
877
899
|
))
|
|
878
900
|
return e;
|
|
879
901
|
}, Jn = (e) => {
|
|
880
|
-
if (e &&
|
|
902
|
+
if (e && wt.includes(
|
|
881
903
|
e
|
|
882
904
|
))
|
|
883
905
|
return e;
|
|
884
906
|
}, Zn = (e) => {
|
|
885
|
-
if (e &&
|
|
907
|
+
if (e && Kt.includes(e))
|
|
886
908
|
return e;
|
|
887
909
|
}, qn = (e) => {
|
|
888
|
-
if (e &&
|
|
910
|
+
if (e && Ft.includes(
|
|
889
911
|
e
|
|
890
912
|
))
|
|
891
913
|
return e;
|
|
892
|
-
},
|
|
893
|
-
const { hasNoEUTaxId: a } =
|
|
914
|
+
}, ut = (e) => {
|
|
915
|
+
const { hasNoEUTaxId: a } = xa(e), n = (o) => V(e[`accountHolderTaxResidenceForeignTin${o}`]) || e[`accountHolderTaxResidenceForeignTin${o}IsNotRequired`] === "yes", r = (o) => V(e[`accountHolderTaxResidenceCountry${o}`]) && P(e[`accountHolderTaxResidenceForeignTin${o}IsNotRequired`]);
|
|
894
916
|
return {
|
|
895
917
|
accountHolderUsPerson: !0,
|
|
896
918
|
accountHolderIsEuResident: !0,
|
|
@@ -970,7 +992,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
970
992
|
iConfirmTheInformationIsCorrectComplete: !0,
|
|
971
993
|
signature: !0
|
|
972
994
|
};
|
|
973
|
-
},
|
|
995
|
+
}, Ra = [
|
|
974
996
|
"000000000",
|
|
975
997
|
"111111111",
|
|
976
998
|
"222222222",
|
|
@@ -987,7 +1009,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
987
1009
|
"876543210",
|
|
988
1010
|
"987654321",
|
|
989
1011
|
"098765432"
|
|
990
|
-
],
|
|
1012
|
+
], Pa = /^\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), qa = (e) => V(e) && e.length >= 2 && e.length <= 22 && !ct(e), cr = (e) => V(e) && e.length >= 8 && e.length <= 14 && !ct(e), wa = (e) => (a) => {
|
|
991
1013
|
const n = a[`accountHolderTaxResidenceForeignTin${e}`];
|
|
992
1014
|
if (!qa(n) && V(a[`accountHolderTaxResidenceCountry${e}`]) && P(
|
|
993
1015
|
a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
|
|
@@ -999,11 +1021,11 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
999
1021
|
accountHolderDateOfBirth: (e) => {
|
|
1000
1022
|
const a = e.accountHolderDateOfBirth;
|
|
1001
1023
|
if (V(a)) {
|
|
1002
|
-
if (!
|
|
1024
|
+
if (!St(a))
|
|
1003
1025
|
return ["mustBeInDateFormat"];
|
|
1004
|
-
if (!
|
|
1026
|
+
if (!Nt(a))
|
|
1005
1027
|
return ["invalidDate"];
|
|
1006
|
-
if (!
|
|
1028
|
+
if (!It(a))
|
|
1007
1029
|
return ["mustBeValidBirthDate"];
|
|
1008
1030
|
}
|
|
1009
1031
|
},
|
|
@@ -1036,20 +1058,20 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1036
1058
|
if ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0) {
|
|
1037
1059
|
if (P(a))
|
|
1038
1060
|
return;
|
|
1039
|
-
if (!
|
|
1061
|
+
if (!Pa.test(a))
|
|
1040
1062
|
return ["mustBeNineDigits"];
|
|
1041
|
-
if (
|
|
1063
|
+
if (Ra.includes(a))
|
|
1042
1064
|
return ["invalid"];
|
|
1043
1065
|
} else if ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && a !== void 0 && a !== "") {
|
|
1044
|
-
if (!
|
|
1066
|
+
if (!Pa.test(a))
|
|
1045
1067
|
return ["mustBeNineDigits"];
|
|
1046
|
-
if (
|
|
1068
|
+
if (Ra.includes(a))
|
|
1047
1069
|
return ["invalid"];
|
|
1048
1070
|
}
|
|
1049
1071
|
},
|
|
1050
1072
|
accountHolderVatIdentificationNumber: (e) => {
|
|
1051
1073
|
const a = e.accountHolderVatIdentificationNumber;
|
|
1052
|
-
if (e.accountHolderVatIsNotRequired !== "yes" && !
|
|
1074
|
+
if (e.accountHolderVatIsNotRequired !== "yes" && !cr(a))
|
|
1053
1075
|
return ["invalid"];
|
|
1054
1076
|
},
|
|
1055
1077
|
accountHolderBusinessRegistrationNumber: (e) => {
|
|
@@ -1101,14 +1123,14 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1101
1123
|
regardedOwnerUsTin: (e) => {
|
|
1102
1124
|
const a = e.regardedOwnerUsTin;
|
|
1103
1125
|
if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "yes") {
|
|
1104
|
-
if (V(a) && !
|
|
1126
|
+
if (V(a) && !Pa.test(a))
|
|
1105
1127
|
return ["mustBeNineDigits"];
|
|
1106
|
-
if (V(a) &&
|
|
1128
|
+
if (V(a) && Ra.includes(a))
|
|
1107
1129
|
return ["invalid"];
|
|
1108
1130
|
} else if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "no" && a !== void 0 && a !== "") {
|
|
1109
|
-
if (!
|
|
1131
|
+
if (!Pa.test(a))
|
|
1110
1132
|
return ["mustBeNineDigits"];
|
|
1111
|
-
if (
|
|
1133
|
+
if (Ra.includes(a))
|
|
1112
1134
|
return ["invalid"];
|
|
1113
1135
|
}
|
|
1114
1136
|
},
|
|
@@ -1126,8 +1148,8 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1126
1148
|
if (e.signature !== e.accountHolderName && (e.accountHolderUsAccountType === "individual" || e.accountHolderForeignAccountType === "individual"))
|
|
1127
1149
|
return ["mustMatchName"];
|
|
1128
1150
|
}
|
|
1129
|
-
},
|
|
1130
|
-
const a =
|
|
1151
|
+
}, mr = (e) => {
|
|
1152
|
+
const a = ut(e);
|
|
1131
1153
|
return Object.fromEntries(
|
|
1132
1154
|
Object.keys(e).map((n) => {
|
|
1133
1155
|
var o;
|
|
@@ -1138,7 +1160,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1138
1160
|
];
|
|
1139
1161
|
}).filter(([, n]) => n)
|
|
1140
1162
|
);
|
|
1141
|
-
},
|
|
1163
|
+
}, mt = (e) => ({
|
|
1142
1164
|
accountHolderUsPerson: e.includes("W-9") && (e.includes("W-8BEN") || e.includes("W-8BEN-E")),
|
|
1143
1165
|
accountHolderIsEuResident: e.includes("DAC7"),
|
|
1144
1166
|
accountHolderIsIndividual: e.includes("DAC7") && !(e.includes("W-9") || e.includes("W-8BEN") || e.includes("W-8BEN-E")),
|
|
@@ -1248,8 +1270,8 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1248
1270
|
accountHolderMailingAddress: e.includes("W-8BEN") || e.includes("W-8BEN-E") || e.includes("W-9"),
|
|
1249
1271
|
regardedOwnerAddress: e.includes("W-8BEN") || e.includes("W-8BEN-E") || e.includes("W-9"),
|
|
1250
1272
|
regardedOwnerMailingAddress: e.includes("W-8BEN") || e.includes("W-8BEN-E") || e.includes("W-9")
|
|
1251
|
-
}),
|
|
1252
|
-
const n =
|
|
1273
|
+
}), gr = (e = {}, a) => {
|
|
1274
|
+
const n = mt(a), {
|
|
1253
1275
|
accountHolderIsDisregarded: r,
|
|
1254
1276
|
isW9: o,
|
|
1255
1277
|
isW8BenE: s,
|
|
@@ -1257,8 +1279,8 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1257
1279
|
hasNoEUTaxId: d,
|
|
1258
1280
|
hasTaxResidence: m,
|
|
1259
1281
|
isDac7: h,
|
|
1260
|
-
isIndividual:
|
|
1261
|
-
} =
|
|
1282
|
+
isIndividual: g
|
|
1283
|
+
} = xa(e, a), c = h && e.accountHolderIsEuResident === "yes";
|
|
1262
1284
|
return {
|
|
1263
1285
|
...n,
|
|
1264
1286
|
// Account Holder Account Classification
|
|
@@ -1280,8 +1302,8 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1280
1302
|
accountHolderAddressStreet: e.accountHolderIsEuResident === "yes" || e.accountHolderUsPerson !== void 0 || e.accountHolderUsAccountType !== void 0,
|
|
1281
1303
|
accountHolderAddressZip: e.accountHolderIsEuResident === "yes" || e.accountHolderUsPerson !== void 0 || e.accountHolderUsAccountType !== void 0,
|
|
1282
1304
|
accountHolderCountryOfCitizenship: e.accountHolderUsPerson === "no",
|
|
1283
|
-
accountHolderCityOfBirth:
|
|
1284
|
-
accountHolderCountryOfBirth:
|
|
1305
|
+
accountHolderCityOfBirth: g && d && m,
|
|
1306
|
+
accountHolderCountryOfBirth: g && d && m,
|
|
1285
1307
|
accountHolderDateOfBirth: e.accountHolderIsIndividual === "yes" && e.accountHolderIsEuResident === "yes" || e.accountHolderForeignAccountType === "individual",
|
|
1286
1308
|
accountHolderMailingAddressIsDifferent: e.accountHolderUsPerson === "no",
|
|
1287
1309
|
accountHolderMailingAddressCity: e.accountHolderMailingAddressIsDifferent === "yes",
|
|
@@ -1296,8 +1318,8 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1296
1318
|
accountHolderVatIdentificationNumber: c,
|
|
1297
1319
|
accountHolderVatIsNotRequired: c,
|
|
1298
1320
|
accountHolderVatCountry: c,
|
|
1299
|
-
accountHolderBusinessRegistrationNumber: !
|
|
1300
|
-
accountHolderBusinessRegistrationCountry: !
|
|
1321
|
+
accountHolderBusinessRegistrationNumber: !g && e.accountHolderIsEuResident === "yes",
|
|
1322
|
+
accountHolderBusinessRegistrationCountry: !g && e.accountHolderIsEuResident === "yes",
|
|
1301
1323
|
accountHolderTaxResidenceCountry1: c,
|
|
1302
1324
|
accountHolderTaxResidenceForeignTin1: c,
|
|
1303
1325
|
accountHolderShowTaxResidence2: c,
|
|
@@ -1362,7 +1384,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1362
1384
|
regardedOwnerMailingAddress: e.regardedOwnerMailingAddressIsDifferent === "yes"
|
|
1363
1385
|
};
|
|
1364
1386
|
}, Yn = (e, a) => {
|
|
1365
|
-
var o, s, l, d, m, h,
|
|
1387
|
+
var o, s, l, d, m, h, g, c, p, f, C, N, T, y, R, v, L, J, I, j, x, te, Be, Re, Ae, Z, X, ie, be, ue, Ce, Ie, Se, z, U, Ne, la, da, Pe, we, Te, He, Me, ua, Fe, ca, ma, ye, je, Ke, Ve, Oe, ga, ka, Le, ha, pa, We, Je, pe, va, Ze, qe, Ge, fa, Aa, ba, Ca, Ia, Sa, Na, xe, Ye, ce, Ue, De, _e, Ta, Qe, Ma, Xe, $e, ya, ja, ea, Oa, za, Ea, Ba, t, u, k, b, O, B, M, S, F, w, H, q, me, aa, ne, ei, ai, ii, ni, ti, ri, oi, si, li, di, ui, ci, mi, gi, ki, hi, pi, vi, fi, Ai, bi, Ci, Ii, Si, Ni, Ti, Mi, yi, ji, Oi, zi, Ei, Bi, Ri, Pi, 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, pn, vn, fn, An, bn, Cn, In, Sn, Nn, Tn, Mn, yn, jn, On, zn, En, Bn, Rn, Pn, wn, Hn, Ln, Gn, xn;
|
|
1366
1388
|
if (e == null)
|
|
1367
1389
|
return {};
|
|
1368
1390
|
const n = {
|
|
@@ -1372,24 +1394,24 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1372
1394
|
accountHolderCityOfBirth: (d = e.accountHolder) == null ? void 0 : d.cityOfBirth,
|
|
1373
1395
|
accountHolderCountryOfBirth: (m = e.accountHolder) == null ? void 0 : m.countryOfBirth,
|
|
1374
1396
|
accountHolderUsTin: (h = e.accountHolder) == null ? void 0 : h.tin,
|
|
1375
|
-
accountHolderForeignTin: (
|
|
1376
|
-
accountHolderForeignTinIsNotRequired: (
|
|
1377
|
-
accountHolderCountryOfCitizenship: (
|
|
1378
|
-
accountHolderAddress: (
|
|
1379
|
-
accountHolderAddressStreet: (
|
|
1380
|
-
accountHolderAddressStreet2: (
|
|
1381
|
-
accountHolderAddressCity: (
|
|
1382
|
-
accountHolderAddressState: (
|
|
1383
|
-
accountHolderAddressZip: (te = (
|
|
1384
|
-
accountHolderAddressCountry: (
|
|
1397
|
+
accountHolderForeignTin: (g = e.accountHolder) != null && g.ftinNotLegallyRequired || (c = e.accountHolder) == null ? void 0 : c.ftin,
|
|
1398
|
+
accountHolderForeignTinIsNotRequired: (p = e.accountHolder) != null && p.ftinNotLegallyRequired ? "yes" : void 0,
|
|
1399
|
+
accountHolderCountryOfCitizenship: (f = e.accountHolder) == null ? void 0 : f.countryOfCitizenship,
|
|
1400
|
+
accountHolderAddress: (N = (C = e.accountHolder) == null ? void 0 : C.address) == null ? void 0 : N.country,
|
|
1401
|
+
accountHolderAddressStreet: (y = (T = e.accountHolder) == null ? void 0 : T.address) == null ? void 0 : y.firstLine,
|
|
1402
|
+
accountHolderAddressStreet2: (v = (R = e.accountHolder) == null ? void 0 : R.address) == null ? void 0 : v.secondLine,
|
|
1403
|
+
accountHolderAddressCity: (J = (L = e.accountHolder) == null ? void 0 : L.address) == null ? void 0 : J.city,
|
|
1404
|
+
accountHolderAddressState: (j = (I = e.accountHolder) == null ? void 0 : I.address) == null ? void 0 : j.stateOrProvince,
|
|
1405
|
+
accountHolderAddressZip: (te = (x = e.accountHolder) == null ? void 0 : x.address) == null ? void 0 : te.postalCode,
|
|
1406
|
+
accountHolderAddressCountry: (Re = (Be = e.accountHolder) == null ? void 0 : Be.address) == null ? void 0 : Re.country,
|
|
1385
1407
|
accountHolderMailingAddressIsDifferent: (Ae = e.accountHolder) != null && Ae.mailingAddressIsDifferent ? "yes" : void 0,
|
|
1386
|
-
accountHolderMailingAddress: (
|
|
1408
|
+
accountHolderMailingAddress: (X = (Z = e.accountHolder) == null ? void 0 : Z.mailingAddress) == null ? void 0 : X.country,
|
|
1387
1409
|
accountHolderMailingAddressStreet: (be = (ie = e.accountHolder) == null ? void 0 : ie.mailingAddress) == null ? void 0 : be.firstLine,
|
|
1388
1410
|
accountHolderMailingAddressStreet2: (Ce = (ue = e.accountHolder) == null ? void 0 : ue.mailingAddress) == null ? void 0 : Ce.secondLine,
|
|
1389
1411
|
accountHolderMailingAddressCity: (Se = (Ie = e.accountHolder) == null ? void 0 : Ie.mailingAddress) == null ? void 0 : Se.city,
|
|
1390
|
-
accountHolderMailingAddressState: (
|
|
1412
|
+
accountHolderMailingAddressState: (U = (z = e.accountHolder) == null ? void 0 : z.mailingAddress) == null ? void 0 : U.stateOrProvince,
|
|
1391
1413
|
accountHolderMailingAddressZip: (la = (Ne = e.accountHolder) == null ? void 0 : Ne.mailingAddress) == null ? void 0 : la.postalCode,
|
|
1392
|
-
accountHolderMailingAddressCountry: (
|
|
1414
|
+
accountHolderMailingAddressCountry: (Pe = (da = e.accountHolder) == null ? void 0 : da.mailingAddress) == null ? void 0 : Pe.country,
|
|
1393
1415
|
accountHolderIsIndividual: ((we = e.accountHolder) == null ? void 0 : we.isIndividual) === !0 ? "yes" : ((Te = e.accountHolder) == null ? void 0 : Te.isIndividual) === !1 ? "no" : void 0,
|
|
1394
1416
|
accountHolderIsEuResident: ((He = e.accountHolder) == null ? void 0 : He.isEuResident) === !0 ? "yes" : ((Me = e.accountHolder) == null ? void 0 : Me.isEuResident) === !1 ? "no" : void 0,
|
|
1395
1417
|
accountHolderUsPerson: ((ua = e.accountHolder) == null ? void 0 : ua.isUsPerson) === !0 ? "yes" : ((Fe = e.accountHolder) == null ? void 0 : Fe.isUsPerson) === !1 ? "no" : void 0,
|
|
@@ -1413,31 +1435,31 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1413
1435
|
),
|
|
1414
1436
|
accountHolderFinancialAccountName: P(
|
|
1415
1437
|
(ha = e.accountHolder) == null ? void 0 : ha.financialAccountName
|
|
1416
|
-
) ? (
|
|
1438
|
+
) ? (pa = e.accountHolder) == null ? void 0 : pa.name : (We = e.accountHolder) == null ? void 0 : We.financialAccountName,
|
|
1417
1439
|
accountHolderFinancialAccountIdentifier: (Je = e.accountHolder) == null ? void 0 : Je.financialAccountIdentifier,
|
|
1418
|
-
accountHolderVatIdentificationNumber: (
|
|
1440
|
+
accountHolderVatIdentificationNumber: (pe = e.accountHolder) != null && pe.vatinNotRequired || (va = e.accountHolder) == null ? void 0 : va.vatin,
|
|
1419
1441
|
accountHolderVatCountry: (Ze = e.accountHolder) != null && Ze.vatinNotRequired || (qe = e.accountHolder) == null ? void 0 : qe.vatinCountry,
|
|
1420
1442
|
accountHolderVatIsNotRequired: (Ge = e.accountHolder) != null && Ge.vatinNotRequired ? "yes" : void 0,
|
|
1421
1443
|
accountHolderBusinessRegistrationNumber: (fa = e.accountHolder) == null ? void 0 : fa.businessRegistrationNumber,
|
|
1422
1444
|
accountHolderBusinessRegistrationCountry: (Aa = e.accountHolder) == null ? void 0 : Aa.businessRegistrationCountry,
|
|
1423
|
-
accountHolderShowTaxResidence2: !P((Ia = (Ca = (ba = e.accountHolder) == null ? void 0 : ba.taxResidences) == null ? void 0 : Ca[1]) == null ? void 0 : Ia.country) || !P((
|
|
1424
|
-
accountHolderShowTaxResidence3: !P((
|
|
1445
|
+
accountHolderShowTaxResidence2: !P((Ia = (Ca = (ba = e.accountHolder) == null ? void 0 : ba.taxResidences) == null ? void 0 : Ca[1]) == null ? void 0 : Ia.country) || !P((xe = (Na = (Sa = e.accountHolder) == null ? void 0 : Sa.taxResidences) == null ? void 0 : Na[1]) == null ? void 0 : xe.tin) ? "yes" : void 0,
|
|
1446
|
+
accountHolderShowTaxResidence3: !P((Ue = (ce = (Ye = e.accountHolder) == null ? void 0 : Ye.taxResidences) == null ? void 0 : ce[2]) == null ? void 0 : Ue.country) || !P((Ta = (_e = (De = e.accountHolder) == null ? void 0 : De.taxResidences) == null ? void 0 : _e[2]) == null ? void 0 : Ta.tin) ? "yes" : void 0,
|
|
1425
1447
|
accountHolderShowTaxResidence4: !P((Xe = (Ma = (Qe = e.accountHolder) == null ? void 0 : Qe.taxResidences) == null ? void 0 : Ma[3]) == null ? void 0 : Xe.country) || !P((ja = (ya = ($e = e.accountHolder) == null ? void 0 : $e.taxResidences) == null ? void 0 : ya[3]) == null ? void 0 : ja.tin) ? "yes" : void 0,
|
|
1426
1448
|
accountHolderShowTaxResidence5: !P((za = (Oa = (ea = e.accountHolder) == null ? void 0 : ea.taxResidences) == null ? void 0 : Oa[4]) == null ? void 0 : za.country) || !P((t = (Ba = (Ea = e.accountHolder) == null ? void 0 : Ea.taxResidences) == null ? void 0 : Ba[4]) == null ? void 0 : t.tin) ? "yes" : void 0,
|
|
1427
|
-
accountHolderTaxResidenceCountry1: (b = (
|
|
1428
|
-
accountHolderTaxResidenceForeignTin1: (M = (B = (
|
|
1429
|
-
accountHolderTaxResidenceForeignTin1IsNotRequired: (me = (
|
|
1449
|
+
accountHolderTaxResidenceCountry1: (b = (k = (u = e.accountHolder) == null ? void 0 : u.taxResidences) == null ? void 0 : k[0]) == null ? void 0 : b.country,
|
|
1450
|
+
accountHolderTaxResidenceForeignTin1: (M = (B = (O = e.accountHolder) == null ? void 0 : O.taxResidences) == null ? void 0 : B[0]) != null && M.tinNotRequired || (w = (F = (S = e.accountHolder) == null ? void 0 : S.taxResidences) == null ? void 0 : F[0]) == null ? void 0 : w.tin,
|
|
1451
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired: (me = (q = (H = e.accountHolder) == null ? void 0 : H.taxResidences) == null ? void 0 : q[0]) != null && me.tinNotRequired ? "yes" : void 0,
|
|
1430
1452
|
accountHolderTaxResidenceCountry2: (ei = (ne = (aa = e.accountHolder) == null ? void 0 : aa.taxResidences) == null ? void 0 : ne[1]) == null ? void 0 : ei.country,
|
|
1431
1453
|
accountHolderTaxResidenceForeignTin2: (ni = (ii = (ai = e.accountHolder) == null ? void 0 : ai.taxResidences) == null ? void 0 : ii[1]) != null && ni.tinNotRequired || (oi = (ri = (ti = e.accountHolder) == null ? void 0 : ti.taxResidences) == null ? void 0 : ri[1]) == null ? void 0 : oi.tin,
|
|
1432
1454
|
accountHolderTaxResidenceForeignTin2IsNotRequired: (di = (li = (si = e.accountHolder) == null ? void 0 : si.taxResidences) == null ? void 0 : li[1]) != null && di.tinNotRequired ? "yes" : void 0,
|
|
1433
1455
|
accountHolderTaxResidenceCountry3: (mi = (ci = (ui = e.accountHolder) == null ? void 0 : ui.taxResidences) == null ? void 0 : ci[2]) == null ? void 0 : mi.country,
|
|
1434
|
-
accountHolderTaxResidenceForeignTin3: (hi = (ki = (gi = e.accountHolder) == null ? void 0 : gi.taxResidences) == null ? void 0 : ki[2]) != null && hi.tinNotRequired || (fi = (
|
|
1456
|
+
accountHolderTaxResidenceForeignTin3: (hi = (ki = (gi = e.accountHolder) == null ? void 0 : gi.taxResidences) == null ? void 0 : ki[2]) != null && hi.tinNotRequired || (fi = (vi = (pi = e.accountHolder) == null ? void 0 : pi.taxResidences) == null ? void 0 : vi[2]) == null ? void 0 : fi.tin,
|
|
1435
1457
|
accountHolderTaxResidenceForeignTin3IsNotRequired: (Ci = (bi = (Ai = e.accountHolder) == null ? void 0 : Ai.taxResidences) == null ? void 0 : bi[2]) != null && Ci.tinNotRequired ? "yes" : void 0,
|
|
1436
1458
|
accountHolderTaxResidenceCountry4: (Ni = (Si = (Ii = e.accountHolder) == null ? void 0 : Ii.taxResidences) == null ? void 0 : Si[3]) == null ? void 0 : Ni.country,
|
|
1437
1459
|
accountHolderTaxResidenceForeignTin4: (yi = (Mi = (Ti = e.accountHolder) == null ? void 0 : Ti.taxResidences) == null ? void 0 : Mi[3]) != null && yi.tinNotRequired || (zi = (Oi = (ji = e.accountHolder) == null ? void 0 : ji.taxResidences) == null ? void 0 : Oi[3]) == null ? void 0 : zi.tin,
|
|
1438
|
-
accountHolderTaxResidenceForeignTin4IsNotRequired: (
|
|
1439
|
-
accountHolderTaxResidenceCountry5: (Hi = (wi = (
|
|
1440
|
-
accountHolderTaxResidenceForeignTin5: (
|
|
1460
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired: (Ri = (Bi = (Ei = e.accountHolder) == null ? void 0 : Ei.taxResidences) == null ? void 0 : Bi[3]) != null && Ri.tinNotRequired ? "yes" : void 0,
|
|
1461
|
+
accountHolderTaxResidenceCountry5: (Hi = (wi = (Pi = e.accountHolder) == null ? void 0 : Pi.taxResidences) == null ? void 0 : wi[4]) == null ? void 0 : Hi.country,
|
|
1462
|
+
accountHolderTaxResidenceForeignTin5: (xi = (Gi = (Li = e.accountHolder) == null ? void 0 : Li.taxResidences) == null ? void 0 : Gi[4]) != null && xi.tinNotRequired || (Fi = (Di = (Ui = e.accountHolder) == null ? void 0 : Ui.taxResidences) == null ? void 0 : Di[4]) == null ? void 0 : Fi.tin,
|
|
1441
1463
|
accountHolderTaxResidenceForeignTin5IsNotRequired: (Wi = (Vi = (Ki = e.accountHolder) == null ? void 0 : Ki.taxResidences) == null ? void 0 : Vi[4]) != null && Wi.tinNotRequired ? "yes" : void 0,
|
|
1442
1464
|
accountHolderTaxResidences: void 0,
|
|
1443
1465
|
regardedOwnerName: (Ji = e.regardedOwner) == null ? void 0 : Ji.name,
|
|
@@ -1455,7 +1477,7 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1455
1477
|
regardedOwnerAddressZip: (mn = (cn = e.regardedOwner) == null ? void 0 : cn.address) == null ? void 0 : mn.postalCode,
|
|
1456
1478
|
regardedOwnerAddressCountry: (kn = (gn = e.regardedOwner) == null ? void 0 : gn.address) == null ? void 0 : kn.country,
|
|
1457
1479
|
regardedOwnerMailingAddressIsDifferent: (hn = e.regardedOwner) != null && hn.mailingAddressIsDifferent ? "yes" : void 0,
|
|
1458
|
-
regardedOwnerMailingAddress: (
|
|
1480
|
+
regardedOwnerMailingAddress: (vn = (pn = e.regardedOwner) == null ? void 0 : pn.mailingAddress) == null ? void 0 : vn.country,
|
|
1459
1481
|
regardedOwnerMailingAddressStreet: (An = (fn = e.regardedOwner) == null ? void 0 : fn.mailingAddress) == null ? void 0 : An.firstLine,
|
|
1460
1482
|
regardedOwnerMailingAddressStreet2: (Cn = (bn = e.regardedOwner) == null ? void 0 : bn.mailingAddress) == null ? void 0 : Cn.secondLine,
|
|
1461
1483
|
regardedOwnerMailingAddressCity: (Sn = (In = e.regardedOwner) == null ? void 0 : In.mailingAddress) == null ? void 0 : Sn.city,
|
|
@@ -1467,9 +1489,9 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1467
1489
|
(Bn = e.regardedOwner) == null ? void 0 : Bn.usAccountType
|
|
1468
1490
|
),
|
|
1469
1491
|
regardedOwnerUsLlcClassification: Zn(
|
|
1470
|
-
(
|
|
1492
|
+
(Rn = e.regardedOwner) == null ? void 0 : Rn.usLlcClassification
|
|
1471
1493
|
),
|
|
1472
|
-
regardedOwnerUsOtherClassification: (
|
|
1494
|
+
regardedOwnerUsOtherClassification: (Pn = e.regardedOwner) == null ? void 0 : Pn.usOtherClassification,
|
|
1473
1495
|
regardedOwnerUsTrustEstateEin: ((wn = e.regardedOwner) == null ? void 0 : wn.usTrustEstateEin) === !0 ? "yes" : ((Hn = e.regardedOwner) == null ? void 0 : Hn.usTrustEstateEin) === !1 ? "no" : void 0,
|
|
1474
1496
|
regardedOwnerForeignAccountType: Vn(
|
|
1475
1497
|
(Ln = e.regardedOwner) == null ? void 0 : Ln.foreignAccountType
|
|
@@ -1478,61 +1500,61 @@ const xa = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1478
1500
|
(Gn = e.regardedOwner) == null ? void 0 : Gn.foreignTrustClassification
|
|
1479
1501
|
),
|
|
1480
1502
|
regardedOwnerForeignOtherClassification: Wn(
|
|
1481
|
-
(
|
|
1503
|
+
(xn = e.regardedOwner) == null ? void 0 : xn.foreignOtherClassification
|
|
1482
1504
|
),
|
|
1483
1505
|
iConfirmTheInformationIsCorrectComplete: void 0,
|
|
1484
1506
|
isNotSubjectBackupWithholding: void 0
|
|
1485
|
-
}, r =
|
|
1507
|
+
}, r = mt(a);
|
|
1486
1508
|
return Object.fromEntries(
|
|
1487
1509
|
Object.entries(n).filter(
|
|
1488
|
-
([
|
|
1510
|
+
([ft]) => r[ft]
|
|
1489
1511
|
)
|
|
1490
1512
|
);
|
|
1491
1513
|
}, Wa = ({ bearerToken: e }) => new Headers({
|
|
1492
1514
|
Authorization: `Bearer ${e}`
|
|
1493
|
-
}),
|
|
1515
|
+
}), kr = (e, a) => {
|
|
1494
1516
|
var C;
|
|
1495
|
-
const [n, r] = K(), [o, s] = K(), [l, d] = K(!1), m = a ? "STAGING" : "PRODUCTION", h =
|
|
1496
|
-
const
|
|
1517
|
+
const [n, r] = K(), [o, s] = K(), [l, d] = K(!1), m = a ? "STAGING" : "PRODUCTION", h = Da.taxDocumentation.get(m), g = Da.taxDocumentation.post(m), c = Da.taxDocumentationStatus.get(m), p = async (N) => {
|
|
1518
|
+
const T = {
|
|
1497
1519
|
method: "POST",
|
|
1498
1520
|
headers: Wa({ bearerToken: e }),
|
|
1499
|
-
body: JSON.stringify(Za(
|
|
1521
|
+
body: JSON.stringify(Za(N))
|
|
1500
1522
|
};
|
|
1501
|
-
fetch(
|
|
1502
|
-
|
|
1523
|
+
fetch(g, T).then((y) => {
|
|
1524
|
+
y.status === 200 && d(!0);
|
|
1503
1525
|
});
|
|
1504
1526
|
};
|
|
1505
|
-
|
|
1506
|
-
const
|
|
1527
|
+
Y(() => {
|
|
1528
|
+
const N = {
|
|
1507
1529
|
method: "GET",
|
|
1508
1530
|
headers: Wa({ bearerToken: e })
|
|
1509
1531
|
};
|
|
1510
|
-
fetch(c,
|
|
1511
|
-
if (
|
|
1512
|
-
return
|
|
1513
|
-
throw
|
|
1514
|
-
}).then((
|
|
1515
|
-
s(La(
|
|
1532
|
+
fetch(c, N).then((T) => {
|
|
1533
|
+
if (T.ok)
|
|
1534
|
+
return T.json();
|
|
1535
|
+
throw T.status === 401 ? new Error("Unauthorized, please check your bearer token") : new Error("Something went wrong");
|
|
1536
|
+
}).then((T) => {
|
|
1537
|
+
s(La(T));
|
|
1516
1538
|
});
|
|
1517
|
-
}, [e, c]),
|
|
1539
|
+
}, [e, c]), Y(() => {
|
|
1518
1540
|
if (o && o.submissionStatus !== "NOT_SUBMITTED") {
|
|
1519
|
-
const
|
|
1541
|
+
const N = {
|
|
1520
1542
|
method: "GET",
|
|
1521
1543
|
headers: Wa({ bearerToken: e })
|
|
1522
1544
|
};
|
|
1523
|
-
fetch(h,
|
|
1524
|
-
if (
|
|
1525
|
-
return
|
|
1545
|
+
fetch(h, N).then((T) => {
|
|
1546
|
+
if (T.ok)
|
|
1547
|
+
return T.json();
|
|
1526
1548
|
throw new Error("Something went wrong");
|
|
1527
|
-
}).then((
|
|
1528
|
-
r(La(
|
|
1549
|
+
}).then((T) => {
|
|
1550
|
+
r(La(T));
|
|
1529
1551
|
});
|
|
1530
1552
|
}
|
|
1531
1553
|
}, [e, o, h]);
|
|
1532
|
-
const
|
|
1554
|
+
const f = (o == null ? void 0 : o.submissionStatus) === "NOT_SUBMITTED" ? o.submissionStatus : (C = o == null ? void 0 : o.DAC7Interview) == null ? void 0 : C.dataCollectionStatus;
|
|
1533
1555
|
return {
|
|
1534
|
-
postData:
|
|
1535
|
-
formStatus:
|
|
1556
|
+
postData: p,
|
|
1557
|
+
formStatus: f,
|
|
1536
1558
|
status: o,
|
|
1537
1559
|
formSubmitted: l,
|
|
1538
1560
|
serverData: n
|
|
@@ -1549,20 +1571,20 @@ var Ya = { exports: {} }, ia = {};
|
|
|
1549
1571
|
* LICENSE file in the root directory of this source tree.
|
|
1550
1572
|
*/
|
|
1551
1573
|
var _n;
|
|
1552
|
-
function
|
|
1574
|
+
function hr() {
|
|
1553
1575
|
if (_n)
|
|
1554
1576
|
return ia;
|
|
1555
1577
|
_n = 1;
|
|
1556
1578
|
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 };
|
|
1557
1579
|
function l(d, m, h) {
|
|
1558
|
-
var
|
|
1559
|
-
h !== void 0 && (
|
|
1560
|
-
for (
|
|
1561
|
-
r.call(m,
|
|
1580
|
+
var g, c = {}, p = null, f = null;
|
|
1581
|
+
h !== void 0 && (p = "" + h), m.key !== void 0 && (p = "" + m.key), m.ref !== void 0 && (f = m.ref);
|
|
1582
|
+
for (g in m)
|
|
1583
|
+
r.call(m, g) && !s.hasOwnProperty(g) && (c[g] = m[g]);
|
|
1562
1584
|
if (d && d.defaultProps)
|
|
1563
|
-
for (
|
|
1564
|
-
c[
|
|
1565
|
-
return { $$typeof: a, type: d, key:
|
|
1585
|
+
for (g in m = d.defaultProps, m)
|
|
1586
|
+
c[g] === void 0 && (c[g] = m[g]);
|
|
1587
|
+
return { $$typeof: a, type: d, key: p, ref: f, props: c, _owner: o.current };
|
|
1566
1588
|
}
|
|
1567
1589
|
return ia.Fragment = n, ia.jsx = l, ia.jsxs = l, ia;
|
|
1568
1590
|
}
|
|
@@ -1577,53 +1599,53 @@ var na = {};
|
|
|
1577
1599
|
* LICENSE file in the root directory of this source tree.
|
|
1578
1600
|
*/
|
|
1579
1601
|
var Qn;
|
|
1580
|
-
function
|
|
1602
|
+
function pr() {
|
|
1581
1603
|
return Qn || (Qn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1582
|
-
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"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"),
|
|
1583
|
-
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"), l = Symbol.for("react.provider"), d = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), c = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), C = Symbol.iterator, N = "@@iterator";
|
|
1605
|
+
function T(t) {
|
|
1584
1606
|
if (t === null || typeof t != "object")
|
|
1585
1607
|
return null;
|
|
1586
|
-
var u = C && t[C] || t[
|
|
1608
|
+
var u = C && t[C] || t[N];
|
|
1587
1609
|
return typeof u == "function" ? u : null;
|
|
1588
1610
|
}
|
|
1589
|
-
var
|
|
1611
|
+
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1590
1612
|
function R(t) {
|
|
1591
1613
|
{
|
|
1592
|
-
for (var u = arguments.length,
|
|
1593
|
-
|
|
1594
|
-
|
|
1614
|
+
for (var u = arguments.length, k = new Array(u > 1 ? u - 1 : 0), b = 1; b < u; b++)
|
|
1615
|
+
k[b - 1] = arguments[b];
|
|
1616
|
+
v("error", t, k);
|
|
1595
1617
|
}
|
|
1596
1618
|
}
|
|
1597
|
-
function
|
|
1619
|
+
function v(t, u, k) {
|
|
1598
1620
|
{
|
|
1599
|
-
var b =
|
|
1600
|
-
|
|
1601
|
-
var B =
|
|
1621
|
+
var b = y.ReactDebugCurrentFrame, O = b.getStackAddendum();
|
|
1622
|
+
O !== "" && (u += "%s", k = k.concat([O]));
|
|
1623
|
+
var B = k.map(function(M) {
|
|
1602
1624
|
return String(M);
|
|
1603
1625
|
});
|
|
1604
1626
|
B.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, B);
|
|
1605
1627
|
}
|
|
1606
1628
|
}
|
|
1607
|
-
var
|
|
1629
|
+
var L = !1, J = !1, I = !1, j = !1, x = !1, te;
|
|
1608
1630
|
te = Symbol.for("react.module.reference");
|
|
1609
1631
|
function Be(t) {
|
|
1610
|
-
return !!(typeof t == "string" || typeof t == "function" || t === r || t === s ||
|
|
1632
|
+
return !!(typeof t == "string" || typeof t == "function" || t === r || t === s || x || t === o || t === h || t === g || j || t === f || L || J || I || typeof t == "object" && t !== null && (t.$$typeof === p || t.$$typeof === c || t.$$typeof === l || t.$$typeof === d || t.$$typeof === m || // This needs to include all possible module reference object
|
|
1611
1633
|
// types supported by any Flight configuration anywhere since
|
|
1612
1634
|
// we don't know which Flight build this will end up being used
|
|
1613
1635
|
// with.
|
|
1614
1636
|
t.$$typeof === te || t.getModuleId !== void 0));
|
|
1615
1637
|
}
|
|
1616
|
-
function
|
|
1638
|
+
function Re(t, u, k) {
|
|
1617
1639
|
var b = t.displayName;
|
|
1618
1640
|
if (b)
|
|
1619
1641
|
return b;
|
|
1620
|
-
var
|
|
1621
|
-
return
|
|
1642
|
+
var O = u.displayName || u.name || "";
|
|
1643
|
+
return O !== "" ? k + "(" + O + ")" : k;
|
|
1622
1644
|
}
|
|
1623
1645
|
function Ae(t) {
|
|
1624
1646
|
return t.displayName || "Context";
|
|
1625
1647
|
}
|
|
1626
|
-
function
|
|
1648
|
+
function Z(t) {
|
|
1627
1649
|
if (t == null)
|
|
1628
1650
|
return null;
|
|
1629
1651
|
if (typeof t.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
@@ -1641,7 +1663,7 @@ function fr() {
|
|
|
1641
1663
|
return "StrictMode";
|
|
1642
1664
|
case h:
|
|
1643
1665
|
return "Suspense";
|
|
1644
|
-
case
|
|
1666
|
+
case g:
|
|
1645
1667
|
return "SuspenseList";
|
|
1646
1668
|
}
|
|
1647
1669
|
if (typeof t == "object")
|
|
@@ -1650,17 +1672,17 @@ function fr() {
|
|
|
1650
1672
|
var u = t;
|
|
1651
1673
|
return Ae(u) + ".Consumer";
|
|
1652
1674
|
case l:
|
|
1653
|
-
var
|
|
1654
|
-
return Ae(
|
|
1675
|
+
var k = t;
|
|
1676
|
+
return Ae(k._context) + ".Provider";
|
|
1655
1677
|
case m:
|
|
1656
|
-
return
|
|
1678
|
+
return Re(t, t.render, "ForwardRef");
|
|
1657
1679
|
case c:
|
|
1658
1680
|
var b = t.displayName || null;
|
|
1659
|
-
return b !== null ? b :
|
|
1660
|
-
case
|
|
1661
|
-
var
|
|
1681
|
+
return b !== null ? b : Z(t.type) || "Memo";
|
|
1682
|
+
case p: {
|
|
1683
|
+
var O = t, B = O._payload, M = O._init;
|
|
1662
1684
|
try {
|
|
1663
|
-
return
|
|
1685
|
+
return Z(M(B));
|
|
1664
1686
|
} catch {
|
|
1665
1687
|
return null;
|
|
1666
1688
|
}
|
|
@@ -1668,14 +1690,14 @@ function fr() {
|
|
|
1668
1690
|
}
|
|
1669
1691
|
return null;
|
|
1670
1692
|
}
|
|
1671
|
-
var
|
|
1693
|
+
var X = Object.assign, ie = 0, be, ue, Ce, Ie, Se, z, U;
|
|
1672
1694
|
function Ne() {
|
|
1673
1695
|
}
|
|
1674
1696
|
Ne.__reactDisabledLog = !0;
|
|
1675
1697
|
function la() {
|
|
1676
1698
|
{
|
|
1677
1699
|
if (ie === 0) {
|
|
1678
|
-
be = console.log, ue = console.info, Ce = console.warn, Ie = console.error, Se = console.group, z = console.groupCollapsed,
|
|
1700
|
+
be = console.log, ue = console.info, Ce = console.warn, Ie = console.error, Se = console.group, z = console.groupCollapsed, U = console.groupEnd;
|
|
1679
1701
|
var t = {
|
|
1680
1702
|
configurable: !0,
|
|
1681
1703
|
enumerable: !0,
|
|
@@ -1704,40 +1726,40 @@ function fr() {
|
|
|
1704
1726
|
writable: !0
|
|
1705
1727
|
};
|
|
1706
1728
|
Object.defineProperties(console, {
|
|
1707
|
-
log:
|
|
1729
|
+
log: X({}, t, {
|
|
1708
1730
|
value: be
|
|
1709
1731
|
}),
|
|
1710
|
-
info:
|
|
1732
|
+
info: X({}, t, {
|
|
1711
1733
|
value: ue
|
|
1712
1734
|
}),
|
|
1713
|
-
warn:
|
|
1735
|
+
warn: X({}, t, {
|
|
1714
1736
|
value: Ce
|
|
1715
1737
|
}),
|
|
1716
|
-
error:
|
|
1738
|
+
error: X({}, t, {
|
|
1717
1739
|
value: Ie
|
|
1718
1740
|
}),
|
|
1719
|
-
group:
|
|
1741
|
+
group: X({}, t, {
|
|
1720
1742
|
value: Se
|
|
1721
1743
|
}),
|
|
1722
|
-
groupCollapsed:
|
|
1744
|
+
groupCollapsed: X({}, t, {
|
|
1723
1745
|
value: z
|
|
1724
1746
|
}),
|
|
1725
|
-
groupEnd:
|
|
1726
|
-
value:
|
|
1747
|
+
groupEnd: X({}, t, {
|
|
1748
|
+
value: U
|
|
1727
1749
|
})
|
|
1728
1750
|
});
|
|
1729
1751
|
}
|
|
1730
1752
|
ie < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1731
1753
|
}
|
|
1732
1754
|
}
|
|
1733
|
-
var
|
|
1734
|
-
function Te(t, u,
|
|
1755
|
+
var Pe = y.ReactCurrentDispatcher, we;
|
|
1756
|
+
function Te(t, u, k) {
|
|
1735
1757
|
{
|
|
1736
1758
|
if (we === void 0)
|
|
1737
1759
|
try {
|
|
1738
1760
|
throw Error();
|
|
1739
|
-
} catch (
|
|
1740
|
-
var b =
|
|
1761
|
+
} catch (O) {
|
|
1762
|
+
var b = O.stack.trim().match(/\n( *(at )?)/);
|
|
1741
1763
|
we = b && b[1] || "";
|
|
1742
1764
|
}
|
|
1743
1765
|
return `
|
|
@@ -1753,16 +1775,16 @@ function fr() {
|
|
|
1753
1775
|
if (!t || He)
|
|
1754
1776
|
return "";
|
|
1755
1777
|
{
|
|
1756
|
-
var
|
|
1757
|
-
if (
|
|
1758
|
-
return
|
|
1778
|
+
var k = Me.get(t);
|
|
1779
|
+
if (k !== void 0)
|
|
1780
|
+
return k;
|
|
1759
1781
|
}
|
|
1760
1782
|
var b;
|
|
1761
1783
|
He = !0;
|
|
1762
|
-
var
|
|
1784
|
+
var O = Error.prepareStackTrace;
|
|
1763
1785
|
Error.prepareStackTrace = void 0;
|
|
1764
1786
|
var B;
|
|
1765
|
-
B =
|
|
1787
|
+
B = Pe.current, Pe.current = null, la();
|
|
1766
1788
|
try {
|
|
1767
1789
|
if (u) {
|
|
1768
1790
|
var M = function() {
|
|
@@ -1797,37 +1819,37 @@ function fr() {
|
|
|
1797
1819
|
}
|
|
1798
1820
|
} catch (ne) {
|
|
1799
1821
|
if (ne && b && typeof ne.stack == "string") {
|
|
1800
|
-
for (var
|
|
1822
|
+
for (var S = ne.stack.split(`
|
|
1801
1823
|
`), F = b.stack.split(`
|
|
1802
|
-
`), w =
|
|
1824
|
+
`), w = S.length - 1, H = F.length - 1; w >= 1 && H >= 0 && S[w] !== F[H]; )
|
|
1803
1825
|
H--;
|
|
1804
1826
|
for (; w >= 1 && H >= 0; w--, H--)
|
|
1805
|
-
if (
|
|
1827
|
+
if (S[w] !== F[H]) {
|
|
1806
1828
|
if (w !== 1 || H !== 1)
|
|
1807
1829
|
do
|
|
1808
|
-
if (w--, H--, H < 0 ||
|
|
1809
|
-
var
|
|
1810
|
-
` +
|
|
1811
|
-
return t.displayName &&
|
|
1830
|
+
if (w--, H--, H < 0 || S[w] !== F[H]) {
|
|
1831
|
+
var q = `
|
|
1832
|
+
` + S[w].replace(" at new ", " at ");
|
|
1833
|
+
return t.displayName && q.includes("<anonymous>") && (q = q.replace("<anonymous>", t.displayName)), typeof t == "function" && Me.set(t, q), q;
|
|
1812
1834
|
}
|
|
1813
1835
|
while (w >= 1 && H >= 0);
|
|
1814
1836
|
break;
|
|
1815
1837
|
}
|
|
1816
1838
|
}
|
|
1817
1839
|
} finally {
|
|
1818
|
-
He = !1,
|
|
1840
|
+
He = !1, Pe.current = B, da(), Error.prepareStackTrace = O;
|
|
1819
1841
|
}
|
|
1820
1842
|
var me = t ? t.displayName || t.name : "", aa = me ? Te(me) : "";
|
|
1821
1843
|
return typeof t == "function" && Me.set(t, aa), aa;
|
|
1822
1844
|
}
|
|
1823
|
-
function ca(t, u,
|
|
1845
|
+
function ca(t, u, k) {
|
|
1824
1846
|
return Fe(t, !1);
|
|
1825
1847
|
}
|
|
1826
1848
|
function ma(t) {
|
|
1827
1849
|
var u = t.prototype;
|
|
1828
1850
|
return !!(u && u.isReactComponent);
|
|
1829
1851
|
}
|
|
1830
|
-
function ye(t, u,
|
|
1852
|
+
function ye(t, u, k) {
|
|
1831
1853
|
if (t == null)
|
|
1832
1854
|
return "";
|
|
1833
1855
|
if (typeof t == "function")
|
|
@@ -1837,7 +1859,7 @@ function fr() {
|
|
|
1837
1859
|
switch (t) {
|
|
1838
1860
|
case h:
|
|
1839
1861
|
return Te("Suspense");
|
|
1840
|
-
case
|
|
1862
|
+
case g:
|
|
1841
1863
|
return Te("SuspenseList");
|
|
1842
1864
|
}
|
|
1843
1865
|
if (typeof t == "object")
|
|
@@ -1845,41 +1867,41 @@ function fr() {
|
|
|
1845
1867
|
case m:
|
|
1846
1868
|
return ca(t.render);
|
|
1847
1869
|
case c:
|
|
1848
|
-
return ye(t.type, u,
|
|
1849
|
-
case
|
|
1850
|
-
var b = t,
|
|
1870
|
+
return ye(t.type, u, k);
|
|
1871
|
+
case p: {
|
|
1872
|
+
var b = t, O = b._payload, B = b._init;
|
|
1851
1873
|
try {
|
|
1852
|
-
return ye(B(
|
|
1874
|
+
return ye(B(O), u, k);
|
|
1853
1875
|
} catch {
|
|
1854
1876
|
}
|
|
1855
1877
|
}
|
|
1856
1878
|
}
|
|
1857
1879
|
return "";
|
|
1858
1880
|
}
|
|
1859
|
-
var je = Object.prototype.hasOwnProperty, Ke = {}, Ve =
|
|
1881
|
+
var je = Object.prototype.hasOwnProperty, Ke = {}, Ve = y.ReactDebugCurrentFrame;
|
|
1860
1882
|
function Oe(t) {
|
|
1861
1883
|
if (t) {
|
|
1862
|
-
var u = t._owner,
|
|
1863
|
-
Ve.setExtraStackFrame(
|
|
1884
|
+
var u = t._owner, k = ye(t.type, t._source, u ? u.type : null);
|
|
1885
|
+
Ve.setExtraStackFrame(k);
|
|
1864
1886
|
} else
|
|
1865
1887
|
Ve.setExtraStackFrame(null);
|
|
1866
1888
|
}
|
|
1867
|
-
function ga(t, u,
|
|
1889
|
+
function ga(t, u, k, b, O) {
|
|
1868
1890
|
{
|
|
1869
1891
|
var B = Function.call.bind(je);
|
|
1870
1892
|
for (var M in t)
|
|
1871
1893
|
if (B(t, M)) {
|
|
1872
|
-
var
|
|
1894
|
+
var S = void 0;
|
|
1873
1895
|
try {
|
|
1874
1896
|
if (typeof t[M] != "function") {
|
|
1875
|
-
var F = Error((b || "React class") + ": " +
|
|
1897
|
+
var F = Error((b || "React class") + ": " + k + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1876
1898
|
throw F.name = "Invariant Violation", F;
|
|
1877
1899
|
}
|
|
1878
|
-
|
|
1900
|
+
S = t[M](u, M, b, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1879
1901
|
} catch (w) {
|
|
1880
|
-
|
|
1902
|
+
S = w;
|
|
1881
1903
|
}
|
|
1882
|
-
|
|
1904
|
+
S && !(S instanceof Error) && (Oe(O), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", k, M, typeof S), Oe(null)), S instanceof Error && !(S.message in Ke) && (Ke[S.message] = !0, Oe(O), R("Failed %s type: %s", k, S.message), Oe(null));
|
|
1883
1905
|
}
|
|
1884
1906
|
}
|
|
1885
1907
|
}
|
|
@@ -1889,11 +1911,11 @@ function fr() {
|
|
|
1889
1911
|
}
|
|
1890
1912
|
function ha(t) {
|
|
1891
1913
|
{
|
|
1892
|
-
var u = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1893
|
-
return
|
|
1914
|
+
var u = typeof Symbol == "function" && Symbol.toStringTag, k = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1915
|
+
return k;
|
|
1894
1916
|
}
|
|
1895
1917
|
}
|
|
1896
|
-
function
|
|
1918
|
+
function pa(t) {
|
|
1897
1919
|
try {
|
|
1898
1920
|
return We(t), !1;
|
|
1899
1921
|
} catch {
|
|
@@ -1904,10 +1926,10 @@ function fr() {
|
|
|
1904
1926
|
return "" + t;
|
|
1905
1927
|
}
|
|
1906
1928
|
function Je(t) {
|
|
1907
|
-
if (
|
|
1929
|
+
if (pa(t))
|
|
1908
1930
|
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ha(t)), We(t);
|
|
1909
1931
|
}
|
|
1910
|
-
var
|
|
1932
|
+
var pe = y.ReactCurrentOwner, va = {
|
|
1911
1933
|
key: !0,
|
|
1912
1934
|
ref: !0,
|
|
1913
1935
|
__self: !0,
|
|
@@ -1931,97 +1953,97 @@ function fr() {
|
|
|
1931
1953
|
return t.key !== void 0;
|
|
1932
1954
|
}
|
|
1933
1955
|
function ba(t, u) {
|
|
1934
|
-
if (typeof t.ref == "string" &&
|
|
1935
|
-
var
|
|
1936
|
-
Ge[
|
|
1956
|
+
if (typeof t.ref == "string" && pe.current && u && pe.current.stateNode !== u) {
|
|
1957
|
+
var k = Z(pe.current.type);
|
|
1958
|
+
Ge[k] || (R('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', Z(pe.current.type), t.ref), Ge[k] = !0);
|
|
1937
1959
|
}
|
|
1938
1960
|
}
|
|
1939
1961
|
function Ca(t, u) {
|
|
1940
1962
|
{
|
|
1941
|
-
var
|
|
1963
|
+
var k = function() {
|
|
1942
1964
|
Ze || (Ze = !0, R("%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));
|
|
1943
1965
|
};
|
|
1944
|
-
|
|
1945
|
-
get:
|
|
1966
|
+
k.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1967
|
+
get: k,
|
|
1946
1968
|
configurable: !0
|
|
1947
1969
|
});
|
|
1948
1970
|
}
|
|
1949
1971
|
}
|
|
1950
1972
|
function Ia(t, u) {
|
|
1951
1973
|
{
|
|
1952
|
-
var
|
|
1974
|
+
var k = function() {
|
|
1953
1975
|
qe || (qe = !0, R("%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));
|
|
1954
1976
|
};
|
|
1955
|
-
|
|
1956
|
-
get:
|
|
1977
|
+
k.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1978
|
+
get: k,
|
|
1957
1979
|
configurable: !0
|
|
1958
1980
|
});
|
|
1959
1981
|
}
|
|
1960
1982
|
}
|
|
1961
|
-
var Sa = function(t, u,
|
|
1962
|
-
var
|
|
1983
|
+
var Sa = function(t, u, k, b, O, B, M) {
|
|
1984
|
+
var S = {
|
|
1963
1985
|
// This tag allows us to uniquely identify this as a React Element
|
|
1964
1986
|
$$typeof: a,
|
|
1965
1987
|
// Built-in properties that belong on the element
|
|
1966
1988
|
type: t,
|
|
1967
1989
|
key: u,
|
|
1968
|
-
ref:
|
|
1990
|
+
ref: k,
|
|
1969
1991
|
props: M,
|
|
1970
1992
|
// Record the component responsible for creating this element.
|
|
1971
1993
|
_owner: B
|
|
1972
1994
|
};
|
|
1973
|
-
return
|
|
1995
|
+
return S._store = {}, Object.defineProperty(S._store, "validated", {
|
|
1974
1996
|
configurable: !1,
|
|
1975
1997
|
enumerable: !1,
|
|
1976
1998
|
writable: !0,
|
|
1977
1999
|
value: !1
|
|
1978
|
-
}), Object.defineProperty(
|
|
2000
|
+
}), Object.defineProperty(S, "_self", {
|
|
1979
2001
|
configurable: !1,
|
|
1980
2002
|
enumerable: !1,
|
|
1981
2003
|
writable: !1,
|
|
1982
2004
|
value: b
|
|
1983
|
-
}), Object.defineProperty(
|
|
2005
|
+
}), Object.defineProperty(S, "_source", {
|
|
1984
2006
|
configurable: !1,
|
|
1985
2007
|
enumerable: !1,
|
|
1986
2008
|
writable: !1,
|
|
1987
|
-
value:
|
|
1988
|
-
}), Object.freeze && (Object.freeze(
|
|
2009
|
+
value: O
|
|
2010
|
+
}), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
|
|
1989
2011
|
};
|
|
1990
|
-
function Na(t, u,
|
|
2012
|
+
function Na(t, u, k, b, O) {
|
|
1991
2013
|
{
|
|
1992
|
-
var B, M = {},
|
|
1993
|
-
|
|
2014
|
+
var B, M = {}, S = null, F = null;
|
|
2015
|
+
k !== void 0 && (Je(k), S = "" + k), Aa(u) && (Je(u.key), S = "" + u.key), fa(u) && (F = u.ref, ba(u, O));
|
|
1994
2016
|
for (B in u)
|
|
1995
|
-
je.call(u, B) && !
|
|
2017
|
+
je.call(u, B) && !va.hasOwnProperty(B) && (M[B] = u[B]);
|
|
1996
2018
|
if (t && t.defaultProps) {
|
|
1997
2019
|
var w = t.defaultProps;
|
|
1998
2020
|
for (B in w)
|
|
1999
2021
|
M[B] === void 0 && (M[B] = w[B]);
|
|
2000
2022
|
}
|
|
2001
|
-
if (
|
|
2023
|
+
if (S || F) {
|
|
2002
2024
|
var H = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
2003
|
-
|
|
2025
|
+
S && Ca(M, H), F && Ia(M, H);
|
|
2004
2026
|
}
|
|
2005
|
-
return Sa(t,
|
|
2027
|
+
return Sa(t, S, F, O, b, pe.current, M);
|
|
2006
2028
|
}
|
|
2007
2029
|
}
|
|
2008
|
-
var
|
|
2030
|
+
var xe = y.ReactCurrentOwner, Ye = y.ReactDebugCurrentFrame;
|
|
2009
2031
|
function ce(t) {
|
|
2010
2032
|
if (t) {
|
|
2011
|
-
var u = t._owner,
|
|
2012
|
-
Ye.setExtraStackFrame(
|
|
2033
|
+
var u = t._owner, k = ye(t.type, t._source, u ? u.type : null);
|
|
2034
|
+
Ye.setExtraStackFrame(k);
|
|
2013
2035
|
} else
|
|
2014
2036
|
Ye.setExtraStackFrame(null);
|
|
2015
2037
|
}
|
|
2016
|
-
var
|
|
2017
|
-
|
|
2018
|
-
function
|
|
2038
|
+
var Ue;
|
|
2039
|
+
Ue = !1;
|
|
2040
|
+
function De(t) {
|
|
2019
2041
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
2020
2042
|
}
|
|
2021
2043
|
function _e() {
|
|
2022
2044
|
{
|
|
2023
|
-
if (
|
|
2024
|
-
var t =
|
|
2045
|
+
if (xe.current) {
|
|
2046
|
+
var t = Z(xe.current.type);
|
|
2025
2047
|
if (t)
|
|
2026
2048
|
return `
|
|
2027
2049
|
|
|
@@ -2033,10 +2055,10 @@ Check the render method of \`` + t + "`.";
|
|
|
2033
2055
|
function Ta(t) {
|
|
2034
2056
|
{
|
|
2035
2057
|
if (t !== void 0) {
|
|
2036
|
-
var u = t.fileName.replace(/^.*[\\\/]/, ""),
|
|
2058
|
+
var u = t.fileName.replace(/^.*[\\\/]/, ""), k = t.lineNumber;
|
|
2037
2059
|
return `
|
|
2038
2060
|
|
|
2039
|
-
Check your code at ` + u + ":" +
|
|
2061
|
+
Check your code at ` + u + ":" + k + ".";
|
|
2040
2062
|
}
|
|
2041
2063
|
return "";
|
|
2042
2064
|
}
|
|
@@ -2046,10 +2068,10 @@ Check your code at ` + u + ":" + g + ".";
|
|
|
2046
2068
|
{
|
|
2047
2069
|
var u = _e();
|
|
2048
2070
|
if (!u) {
|
|
2049
|
-
var
|
|
2050
|
-
|
|
2071
|
+
var k = typeof t == "string" ? t : t.displayName || t.name;
|
|
2072
|
+
k && (u = `
|
|
2051
2073
|
|
|
2052
|
-
Check the top-level render call using <` +
|
|
2074
|
+
Check the top-level render call using <` + k + ">.");
|
|
2053
2075
|
}
|
|
2054
2076
|
return u;
|
|
2055
2077
|
}
|
|
@@ -2059,12 +2081,12 @@ Check the top-level render call using <` + g + ">.");
|
|
|
2059
2081
|
if (!t._store || t._store.validated || t.key != null)
|
|
2060
2082
|
return;
|
|
2061
2083
|
t._store.validated = !0;
|
|
2062
|
-
var
|
|
2063
|
-
if (Qe[
|
|
2084
|
+
var k = Ma(u);
|
|
2085
|
+
if (Qe[k])
|
|
2064
2086
|
return;
|
|
2065
|
-
Qe[
|
|
2087
|
+
Qe[k] = !0;
|
|
2066
2088
|
var b = "";
|
|
2067
|
-
t && t._owner && t._owner !==
|
|
2089
|
+
t && t._owner && t._owner !== xe.current && (b = " It was passed a child from " + Z(t._owner.type) + "."), ce(t), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, b), ce(null);
|
|
2068
2090
|
}
|
|
2069
2091
|
}
|
|
2070
2092
|
function $e(t, u) {
|
|
@@ -2072,17 +2094,17 @@ Check the top-level render call using <` + g + ">.");
|
|
|
2072
2094
|
if (typeof t != "object")
|
|
2073
2095
|
return;
|
|
2074
2096
|
if (Le(t))
|
|
2075
|
-
for (var
|
|
2076
|
-
var b = t[
|
|
2077
|
-
|
|
2097
|
+
for (var k = 0; k < t.length; k++) {
|
|
2098
|
+
var b = t[k];
|
|
2099
|
+
De(b) && Xe(b, u);
|
|
2078
2100
|
}
|
|
2079
|
-
else if (
|
|
2101
|
+
else if (De(t))
|
|
2080
2102
|
t._store && (t._store.validated = !0);
|
|
2081
2103
|
else if (t) {
|
|
2082
|
-
var
|
|
2083
|
-
if (typeof
|
|
2084
|
-
for (var B =
|
|
2085
|
-
|
|
2104
|
+
var O = T(t);
|
|
2105
|
+
if (typeof O == "function" && O !== t.entries)
|
|
2106
|
+
for (var B = O.call(t), M; !(M = B.next()).done; )
|
|
2107
|
+
De(M.value) && Xe(M.value, u);
|
|
2086
2108
|
}
|
|
2087
2109
|
}
|
|
2088
2110
|
}
|
|
@@ -2091,30 +2113,30 @@ Check the top-level render call using <` + g + ">.");
|
|
|
2091
2113
|
var u = t.type;
|
|
2092
2114
|
if (u == null || typeof u == "string")
|
|
2093
2115
|
return;
|
|
2094
|
-
var
|
|
2116
|
+
var k;
|
|
2095
2117
|
if (typeof u == "function")
|
|
2096
|
-
|
|
2118
|
+
k = u.propTypes;
|
|
2097
2119
|
else if (typeof u == "object" && (u.$$typeof === m || // Note: Memo only checks outer props here.
|
|
2098
2120
|
// Inner props are checked in the reconciler.
|
|
2099
2121
|
u.$$typeof === c))
|
|
2100
|
-
|
|
2122
|
+
k = u.propTypes;
|
|
2101
2123
|
else
|
|
2102
2124
|
return;
|
|
2103
|
-
if (
|
|
2104
|
-
var b =
|
|
2105
|
-
ga(
|
|
2106
|
-
} else if (u.PropTypes !== void 0 && !
|
|
2107
|
-
|
|
2108
|
-
var
|
|
2109
|
-
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
2125
|
+
if (k) {
|
|
2126
|
+
var b = Z(u);
|
|
2127
|
+
ga(k, t.props, "prop", b, t);
|
|
2128
|
+
} else if (u.PropTypes !== void 0 && !Ue) {
|
|
2129
|
+
Ue = !0;
|
|
2130
|
+
var O = Z(u);
|
|
2131
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
|
|
2110
2132
|
}
|
|
2111
2133
|
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2112
2134
|
}
|
|
2113
2135
|
}
|
|
2114
2136
|
function ja(t) {
|
|
2115
2137
|
{
|
|
2116
|
-
for (var u = Object.keys(t.props),
|
|
2117
|
-
var b = u[
|
|
2138
|
+
for (var u = Object.keys(t.props), k = 0; k < u.length; k++) {
|
|
2139
|
+
var b = u[k];
|
|
2118
2140
|
if (b !== "children" && b !== "key") {
|
|
2119
2141
|
ce(t), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), ce(null);
|
|
2120
2142
|
break;
|
|
@@ -2123,49 +2145,49 @@ Check the top-level render call using <` + g + ">.");
|
|
|
2123
2145
|
t.ref !== null && (ce(t), R("Invalid attribute `ref` supplied to `React.Fragment`."), ce(null));
|
|
2124
2146
|
}
|
|
2125
2147
|
}
|
|
2126
|
-
function ea(t, u,
|
|
2148
|
+
function ea(t, u, k, b, O, B) {
|
|
2127
2149
|
{
|
|
2128
2150
|
var M = Be(t);
|
|
2129
2151
|
if (!M) {
|
|
2130
|
-
var
|
|
2131
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
2132
|
-
var F = Ta(
|
|
2133
|
-
F ?
|
|
2152
|
+
var S = "";
|
|
2153
|
+
(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 F = Ta(O);
|
|
2155
|
+
F ? S += F : S += _e();
|
|
2134
2156
|
var w;
|
|
2135
|
-
t === null ? w = "null" : Le(t) ? w = "array" : t !== void 0 && t.$$typeof === a ? (w = "<" + (
|
|
2157
|
+
t === null ? w = "null" : Le(t) ? w = "array" : t !== void 0 && t.$$typeof === a ? (w = "<" + (Z(t.type) || "Unknown") + " />", S = " Did you accidentally export a JSX literal instead of a component?") : w = typeof t, R("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);
|
|
2136
2158
|
}
|
|
2137
|
-
var H = Na(t, u,
|
|
2159
|
+
var H = Na(t, u, k, O, B);
|
|
2138
2160
|
if (H == null)
|
|
2139
2161
|
return H;
|
|
2140
2162
|
if (M) {
|
|
2141
|
-
var
|
|
2142
|
-
if (
|
|
2163
|
+
var q = u.children;
|
|
2164
|
+
if (q !== void 0)
|
|
2143
2165
|
if (b)
|
|
2144
|
-
if (Le(
|
|
2145
|
-
for (var me = 0; me <
|
|
2146
|
-
$e(
|
|
2147
|
-
Object.freeze && Object.freeze(
|
|
2166
|
+
if (Le(q)) {
|
|
2167
|
+
for (var me = 0; me < q.length; me++)
|
|
2168
|
+
$e(q[me], t);
|
|
2169
|
+
Object.freeze && Object.freeze(q);
|
|
2148
2170
|
} else
|
|
2149
2171
|
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2150
2172
|
else
|
|
2151
|
-
$e(
|
|
2173
|
+
$e(q, t);
|
|
2152
2174
|
}
|
|
2153
2175
|
return t === r ? ja(H) : ya(H), H;
|
|
2154
2176
|
}
|
|
2155
2177
|
}
|
|
2156
|
-
function Oa(t, u,
|
|
2157
|
-
return ea(t, u,
|
|
2178
|
+
function Oa(t, u, k) {
|
|
2179
|
+
return ea(t, u, k, !0);
|
|
2158
2180
|
}
|
|
2159
|
-
function za(t, u,
|
|
2160
|
-
return ea(t, u,
|
|
2181
|
+
function za(t, u, k) {
|
|
2182
|
+
return ea(t, u, k, !1);
|
|
2161
2183
|
}
|
|
2162
2184
|
var Ea = za, Ba = Oa;
|
|
2163
2185
|
na.Fragment = r, na.jsx = Ea, na.jsxs = Ba;
|
|
2164
2186
|
}()), na;
|
|
2165
2187
|
}
|
|
2166
|
-
process.env.NODE_ENV === "production" ? Ya.exports =
|
|
2188
|
+
process.env.NODE_ENV === "production" ? Ya.exports = hr() : Ya.exports = pr();
|
|
2167
2189
|
var i = Ya.exports;
|
|
2168
|
-
const
|
|
2190
|
+
const vr = {
|
|
2169
2191
|
button: {
|
|
2170
2192
|
back: "Назад",
|
|
2171
2193
|
cancel: "Отказ",
|
|
@@ -2722,7 +2744,7 @@ const Ar = {
|
|
|
2722
2744
|
"sl-si": "Словенски",
|
|
2723
2745
|
"sv-se": "Шведски"
|
|
2724
2746
|
}
|
|
2725
|
-
},
|
|
2747
|
+
}, fr = {
|
|
2726
2748
|
button: {
|
|
2727
2749
|
back: "Zpět",
|
|
2728
2750
|
cancel: "Zrušit",
|
|
@@ -3280,7 +3302,7 @@ const Ar = {
|
|
|
3280
3302
|
"sl-si": "Slovinsky",
|
|
3281
3303
|
"sv-se": "Švédsky"
|
|
3282
3304
|
}
|
|
3283
|
-
},
|
|
3305
|
+
}, Ar = {
|
|
3284
3306
|
button: {
|
|
3285
3307
|
back: "Tilbage",
|
|
3286
3308
|
cancel: "Annuller",
|
|
@@ -3837,7 +3859,7 @@ const Ar = {
|
|
|
3837
3859
|
"sl-si": "Slovensk",
|
|
3838
3860
|
"sv-se": "Svensk"
|
|
3839
3861
|
}
|
|
3840
|
-
},
|
|
3862
|
+
}, br = {
|
|
3841
3863
|
button: {
|
|
3842
3864
|
back: "Zurück",
|
|
3843
3865
|
cancel: "Abbrechen",
|
|
@@ -4394,7 +4416,7 @@ const Ar = {
|
|
|
4394
4416
|
"sl-si": "Slowenisch",
|
|
4395
4417
|
"sv-se": "Schwedisch"
|
|
4396
4418
|
}
|
|
4397
|
-
},
|
|
4419
|
+
}, Cr = {
|
|
4398
4420
|
button: {
|
|
4399
4421
|
back: "Zurück",
|
|
4400
4422
|
cancel: "Abbrechen",
|
|
@@ -4951,7 +4973,7 @@ const Ar = {
|
|
|
4951
4973
|
"sl-si": "Slowenisch",
|
|
4952
4974
|
"sv-se": "Schwedisch"
|
|
4953
4975
|
}
|
|
4954
|
-
},
|
|
4976
|
+
}, Ir = {
|
|
4955
4977
|
button: {
|
|
4956
4978
|
back: "Πίσω",
|
|
4957
4979
|
cancel: "Άκυρο",
|
|
@@ -5508,7 +5530,7 @@ const Ar = {
|
|
|
5508
5530
|
"sl-si": "Σλοβενικά",
|
|
5509
5531
|
"sv-se": "Σουηδικά"
|
|
5510
5532
|
}
|
|
5511
|
-
},
|
|
5533
|
+
}, Sr = {
|
|
5512
5534
|
button: {
|
|
5513
5535
|
back: "Πίσω",
|
|
5514
5536
|
cancel: "Άκυρο",
|
|
@@ -6065,7 +6087,7 @@ const Ar = {
|
|
|
6065
6087
|
"sl-si": "Σλοβενικά",
|
|
6066
6088
|
"sv-se": "Σουηδικά"
|
|
6067
6089
|
}
|
|
6068
|
-
},
|
|
6090
|
+
}, Nr = {
|
|
6069
6091
|
button: {
|
|
6070
6092
|
back: "Back",
|
|
6071
6093
|
cancel: "Cancel",
|
|
@@ -6622,7 +6644,7 @@ const Ar = {
|
|
|
6622
6644
|
11: "November",
|
|
6623
6645
|
12: "December"
|
|
6624
6646
|
}
|
|
6625
|
-
},
|
|
6647
|
+
}, Tr = {
|
|
6626
6648
|
button: {
|
|
6627
6649
|
back: "Back",
|
|
6628
6650
|
cancel: "Cancel",
|
|
@@ -7179,7 +7201,7 @@ const Ar = {
|
|
|
7179
7201
|
"sl-si": "Slovenian",
|
|
7180
7202
|
"sv-se": "Swedish"
|
|
7181
7203
|
}
|
|
7182
|
-
},
|
|
7204
|
+
}, Mr = {
|
|
7183
7205
|
button: {
|
|
7184
7206
|
back: "Atrás",
|
|
7185
7207
|
cancel: "Cancelar",
|
|
@@ -7736,7 +7758,7 @@ const Ar = {
|
|
|
7736
7758
|
11: "Noviembre",
|
|
7737
7759
|
12: "Diciembre"
|
|
7738
7760
|
}
|
|
7739
|
-
},
|
|
7761
|
+
}, yr = {
|
|
7740
7762
|
button: {
|
|
7741
7763
|
back: "Tagasi",
|
|
7742
7764
|
cancel: "Tühista",
|
|
@@ -8293,7 +8315,7 @@ const Ar = {
|
|
|
8293
8315
|
"sl-si": "Sloveenia",
|
|
8294
8316
|
"sv-se": "Rootsi Keel"
|
|
8295
8317
|
}
|
|
8296
|
-
},
|
|
8318
|
+
}, jr = {
|
|
8297
8319
|
button: {
|
|
8298
8320
|
back: "Takaisin",
|
|
8299
8321
|
cancel: "Peruuta",
|
|
@@ -8386,7 +8408,7 @@ const Ar = {
|
|
|
8386
8408
|
smllcElection: "Valinta 8832 tai 2553",
|
|
8387
8409
|
iConfirmIncomeIsNonUs: "(a) tulot, jotka eivät tosiasiallisesti liity kaupan tai liiketoiminnan harjoittamiseen Yhdysvalloissa; (b) tulot, jotka liittyvät tosiasiallisesti kaupan tai liiketoiminnan harjoittamiseen Yhdysvalloissa, mutta jotka eivät ole verotuksen alaisia sovellettavan tuloverosopimuksen mukaisesti; c) yhtiömiehen osuus henkilöyhtiöön tosiasiallisesti liittyvistä verotettavista tuloista; tai (d) yhtiömiehen määrä, joka on realisoitunut 1446(f) pykälän mukaisen ennakonpidätyksen alaisen henkilöyhtiöosuuden siirrosta;",
|
|
8388
8410
|
isEuResident: "Ilmoita, asutko jossain Euroopan unionin jäsenvaltiossa.",
|
|
8389
|
-
isIndividual:
|
|
8411
|
+
isIndividual: 'Valitse "Kyllä", jos tili on yksityishenkilölle. Valitse "Ei", jos edustat yritystä, organisaatiota tai muuta yksikköä.',
|
|
8390
8412
|
financialAccountIdentifier: "Rahoitustilin tunnus (eli pankkitilin numero), jota käytetään tälle tilille suoritettavissa maksuissa.",
|
|
8391
8413
|
financialAccountName: "Tälle tilille suoritettavissa maksuissa käytettävään rahoitustiliin liittyvä nimi.",
|
|
8392
8414
|
vatIdentificationNumber: "Yksilöllinen tunniste arvonlisäverovelvollisille yrityksille tai yksityishenkilöille.",
|
|
@@ -8850,7 +8872,7 @@ const Ar = {
|
|
|
8850
8872
|
"sl-si": "Slovenia",
|
|
8851
8873
|
"sv-se": "Ruotsi"
|
|
8852
8874
|
}
|
|
8853
|
-
},
|
|
8875
|
+
}, Or = {
|
|
8854
8876
|
button: {
|
|
8855
8877
|
back: "Retour",
|
|
8856
8878
|
cancel: "Annuler",
|
|
@@ -9407,7 +9429,7 @@ const Ar = {
|
|
|
9407
9429
|
11: "Novembre",
|
|
9408
9430
|
12: "Décembre"
|
|
9409
9431
|
}
|
|
9410
|
-
},
|
|
9432
|
+
}, zr = {
|
|
9411
9433
|
button: {
|
|
9412
9434
|
back: "Retour",
|
|
9413
9435
|
cancel: "Annuler",
|
|
@@ -9964,7 +9986,7 @@ const Ar = {
|
|
|
9964
9986
|
"sl-si": "Slovène",
|
|
9965
9987
|
"sv-se": "Suédois"
|
|
9966
9988
|
}
|
|
9967
|
-
},
|
|
9989
|
+
}, Er = {
|
|
9968
9990
|
button: {
|
|
9969
9991
|
back: "Siar",
|
|
9970
9992
|
cancel: "Cealaigh",
|
|
@@ -10057,7 +10079,7 @@ const Ar = {
|
|
|
10057
10079
|
smllcElection: "Toghchán 8832 nó 2553",
|
|
10058
10080
|
iConfirmIncomeIsNonUs: "(a) ioncam nach bhfuil baint éifeachtach aige le trádáil nó gnó a sheoladh sna Stáit Aontaithe; (b) ioncam a bhaineann go héifeachtach le trádáil nó gnó a sheoladh sna Stáit Aontaithe ach nach bhfuil faoi réir cánach faoi chonradh cánach ioncaim is infheidhme; (c) sciar an chomhpháirtí d'ioncam inchánach comhpháirtíochta atá nasctha go héifeachtach; nó (d) méid an chomhpháirtí arna réadú ó leas comhpháirtíochta a aistriú faoi réir siarchoimeád faoi alt 1446(f);",
|
|
10059
10081
|
isEuResident: "Cuir in iúl an bhfuil cónaí ort i mBallstát ar bith den Aontas Eorpach.",
|
|
10060
|
-
isIndividual: 'Roghnaigh "
|
|
10082
|
+
isIndividual: 'Roghnaigh "Tá" má tá an cuntas do dhuine aonair. Roghnaigh "Níl" má tá tú ag ionadaíocht ar ghnó, eagraíocht, nó aonán eile.',
|
|
10061
10083
|
financialAccountIdentifier: "Aitheantóir Cuntais Airgeadais (i.e., uimhir chuntais bainc) a úsáidtear le haghaidh íocaíochtaí a dhéantar isteach sa chuntas seo.",
|
|
10062
10084
|
financialAccountName: "An t-ainm a bhaineann leis an gCuntas Airgeadais a úsáidtear le haghaidh íocaíochtaí a rinneadh isteach sa chuntas seo.",
|
|
10063
10085
|
vatIdentificationNumber: "Aitheantóir uathúil do ghnóthais nó do dhaoine aonair atá cláraithe le haghaidh CBL.",
|
|
@@ -10521,7 +10543,7 @@ const Ar = {
|
|
|
10521
10543
|
"sl-si": "Slóivéinis",
|
|
10522
10544
|
"sv-se": "Sualainnis"
|
|
10523
10545
|
}
|
|
10524
|
-
},
|
|
10546
|
+
}, Br = {
|
|
10525
10547
|
button: {
|
|
10526
10548
|
back: "Natrag",
|
|
10527
10549
|
cancel: "Odustani",
|
|
@@ -11078,7 +11100,7 @@ const Ar = {
|
|
|
11078
11100
|
"sl-si": "Slovenski",
|
|
11079
11101
|
"sv-se": "Švedski"
|
|
11080
11102
|
}
|
|
11081
|
-
},
|
|
11103
|
+
}, Rr = {
|
|
11082
11104
|
button: {
|
|
11083
11105
|
back: "Vissza",
|
|
11084
11106
|
cancel: "Mégse",
|
|
@@ -11171,7 +11193,7 @@ const Ar = {
|
|
|
11171
11193
|
smllcElection: "8832-es vagy 2553-as választás",
|
|
11172
11194
|
iConfirmIncomeIsNonUs: "(a) az Egyesült Államokban folytatott kereskedelmi vagy üzleti tevékenységgel ténylegesen nem összefüggő jövedelem; (b) az Egyesült Államokban folytatott kereskedelmi vagy üzleti tevékenységgel ténylegesen összefüggő, de az alkalmazandó jövedelemadó-egyezmény alapján nem adóköteles jövedelem; (c) a partner részesedése a ténylegesen összefüggő adóköteles jövedelemből; vagy (d) a partner által az 1446(f) szakasz alapján adóvisszatartásra kötelezett partneri részesedés átruházásából realizált összeg.",
|
|
11173
11195
|
isEuResident: "Jelölje be, ha az Európai Unió bármelyik tagállamában rendelkezik lakóhellyel.",
|
|
11174
|
-
isIndividual: "
|
|
11196
|
+
isIndividual: "Válassza az „Igen” lehetőséget, ha a számla egyén számára van. Válassza a „Nem” lehetőséget, ha vállalkozást, szervezetet vagy más entitást képvisel.",
|
|
11175
11197
|
financialAccountIdentifier: "Pénzügyi számlaazonosító (azaz bankszámlaszám), amelyet az erre a számlára történő kifizetésekhez használnak.",
|
|
11176
11198
|
financialAccountName: "A számlára történő kifizetésekhez használt pénzügyi számlához kapcsolódó név.",
|
|
11177
11199
|
vatIdentificationNumber: "HÉA-regisztrált vállalkozások vagy magánszemélyek egyedi azonosítója.",
|
|
@@ -11635,7 +11657,7 @@ const Ar = {
|
|
|
11635
11657
|
"sl-si": "Szlovén",
|
|
11636
11658
|
"sv-se": "Svéd"
|
|
11637
11659
|
}
|
|
11638
|
-
},
|
|
11660
|
+
}, Pr = {
|
|
11639
11661
|
button: {
|
|
11640
11662
|
back: "Indietro",
|
|
11641
11663
|
cancel: "Annulla",
|
|
@@ -12192,7 +12214,7 @@ const Ar = {
|
|
|
12192
12214
|
"sl-si": "Sloveno",
|
|
12193
12215
|
"sv-se": "Svedese"
|
|
12194
12216
|
}
|
|
12195
|
-
},
|
|
12217
|
+
}, wr = {
|
|
12196
12218
|
button: {
|
|
12197
12219
|
back: "Atgal",
|
|
12198
12220
|
cancel: "Atšaukti",
|
|
@@ -12749,7 +12771,7 @@ const Ar = {
|
|
|
12749
12771
|
"sl-si": "Slovėnų",
|
|
12750
12772
|
"sv-se": "Švedų"
|
|
12751
12773
|
}
|
|
12752
|
-
},
|
|
12774
|
+
}, Hr = {
|
|
12753
12775
|
button: {
|
|
12754
12776
|
back: "Aizmugure",
|
|
12755
12777
|
cancel: "Atcelt",
|
|
@@ -13306,7 +13328,7 @@ const Ar = {
|
|
|
13306
13328
|
"sl-si": "Slovēņu",
|
|
13307
13329
|
"sv-se": "Zviedru"
|
|
13308
13330
|
}
|
|
13309
|
-
},
|
|
13331
|
+
}, Lr = {
|
|
13310
13332
|
button: {
|
|
13311
13333
|
back: "Lura",
|
|
13312
13334
|
cancel: "Ikkanċella",
|
|
@@ -13863,7 +13885,7 @@ const Ar = {
|
|
|
13863
13885
|
"sl-si": "Sloven",
|
|
13864
13886
|
"sv-se": "Svediż"
|
|
13865
13887
|
}
|
|
13866
|
-
},
|
|
13888
|
+
}, Gr = {
|
|
13867
13889
|
button: {
|
|
13868
13890
|
back: "Terug",
|
|
13869
13891
|
cancel: "Annuleren",
|
|
@@ -14420,7 +14442,7 @@ const Ar = {
|
|
|
14420
14442
|
"sl-si": "Sloveens",
|
|
14421
14443
|
"sv-se": "Zweeds"
|
|
14422
14444
|
}
|
|
14423
|
-
},
|
|
14445
|
+
}, xr = {
|
|
14424
14446
|
button: {
|
|
14425
14447
|
back: "Terug",
|
|
14426
14448
|
cancel: "Annuleren",
|
|
@@ -14977,7 +14999,7 @@ const Ar = {
|
|
|
14977
14999
|
11: "November",
|
|
14978
15000
|
12: "December"
|
|
14979
15001
|
}
|
|
14980
|
-
},
|
|
15002
|
+
}, Ur = {
|
|
14981
15003
|
button: {
|
|
14982
15004
|
back: "Tilbake",
|
|
14983
15005
|
cancel: "Avbryt",
|
|
@@ -15534,7 +15556,7 @@ const Ar = {
|
|
|
15534
15556
|
"sl-si": "Slovensk",
|
|
15535
15557
|
"sv-se": "Svensk"
|
|
15536
15558
|
}
|
|
15537
|
-
},
|
|
15559
|
+
}, Dr = {
|
|
15538
15560
|
button: {
|
|
15539
15561
|
back: "Wstecz",
|
|
15540
15562
|
cancel: "Anuluj",
|
|
@@ -16091,7 +16113,7 @@ const Ar = {
|
|
|
16091
16113
|
"sl-si": "Słoweński",
|
|
16092
16114
|
"sv-se": "Szwedzki"
|
|
16093
16115
|
}
|
|
16094
|
-
},
|
|
16116
|
+
}, Fr = {
|
|
16095
16117
|
button: {
|
|
16096
16118
|
back: "Voltar",
|
|
16097
16119
|
cancel: "Cancelar",
|
|
@@ -16648,7 +16670,7 @@ const Ar = {
|
|
|
16648
16670
|
11: "Novembro",
|
|
16649
16671
|
12: "Dezembro"
|
|
16650
16672
|
}
|
|
16651
|
-
},
|
|
16673
|
+
}, Kr = {
|
|
16652
16674
|
button: {
|
|
16653
16675
|
back: "Înapoi",
|
|
16654
16676
|
cancel: "Anulați",
|
|
@@ -17205,7 +17227,7 @@ const Ar = {
|
|
|
17205
17227
|
"sl-si": "Slovenă",
|
|
17206
17228
|
"sv-se": "Suedez"
|
|
17207
17229
|
}
|
|
17208
|
-
},
|
|
17230
|
+
}, Vr = {
|
|
17209
17231
|
button: {
|
|
17210
17232
|
back: "Späť",
|
|
17211
17233
|
cancel: "Zrušiť",
|
|
@@ -17762,7 +17784,7 @@ const Ar = {
|
|
|
17762
17784
|
"sl-si": "Slovensky",
|
|
17763
17785
|
"sv-se": "Švédsky"
|
|
17764
17786
|
}
|
|
17765
|
-
},
|
|
17787
|
+
}, Wr = {
|
|
17766
17788
|
button: {
|
|
17767
17789
|
back: "Nazaj",
|
|
17768
17790
|
cancel: "Prekliči",
|
|
@@ -18319,7 +18341,7 @@ const Ar = {
|
|
|
18319
18341
|
"sl-si": "Slovenščina",
|
|
18320
18342
|
"sv-se": "Švedščina"
|
|
18321
18343
|
}
|
|
18322
|
-
},
|
|
18344
|
+
}, Jr = {
|
|
18323
18345
|
button: {
|
|
18324
18346
|
back: "Tillbaka",
|
|
18325
18347
|
cancel: "Avbryt",
|
|
@@ -18877,118 +18899,142 @@ const Ar = {
|
|
|
18877
18899
|
12: "December"
|
|
18878
18900
|
}
|
|
18879
18901
|
}, Ja = {
|
|
18880
|
-
"bg-bg":
|
|
18881
|
-
"cs-cz":
|
|
18882
|
-
"da-dk":
|
|
18883
|
-
"de-at":
|
|
18884
|
-
"de-de":
|
|
18885
|
-
"el-gr":
|
|
18886
|
-
"el-cy":
|
|
18887
|
-
"en-gb":
|
|
18888
|
-
"en-us":
|
|
18889
|
-
"es-es":
|
|
18890
|
-
"et-ee":
|
|
18891
|
-
"fi-fi":
|
|
18892
|
-
"fr-fr":
|
|
18893
|
-
"fr-lu":
|
|
18894
|
-
"ga-ie":
|
|
18895
|
-
"hr-hr":
|
|
18896
|
-
"hu-hu":
|
|
18897
|
-
"it-it":
|
|
18898
|
-
"lt-lt":
|
|
18899
|
-
"lv-lv":
|
|
18900
|
-
"mt-mt":
|
|
18901
|
-
"nl-be":
|
|
18902
|
-
"nl-nl":
|
|
18903
|
-
"no-no":
|
|
18904
|
-
"pl-pl":
|
|
18905
|
-
"pt-pt":
|
|
18906
|
-
"ro-ro":
|
|
18907
|
-
"sk-sk":
|
|
18908
|
-
"sl-si":
|
|
18909
|
-
"sv-se":
|
|
18910
|
-
},
|
|
18911
|
-
const n =
|
|
18902
|
+
"bg-bg": vr,
|
|
18903
|
+
"cs-cz": fr,
|
|
18904
|
+
"da-dk": Ar,
|
|
18905
|
+
"de-at": br,
|
|
18906
|
+
"de-de": Cr,
|
|
18907
|
+
"el-gr": Sr,
|
|
18908
|
+
"el-cy": Ir,
|
|
18909
|
+
"en-gb": Nr,
|
|
18910
|
+
"en-us": Tr,
|
|
18911
|
+
"es-es": Mr,
|
|
18912
|
+
"et-ee": yr,
|
|
18913
|
+
"fi-fi": jr,
|
|
18914
|
+
"fr-fr": Or,
|
|
18915
|
+
"fr-lu": zr,
|
|
18916
|
+
"ga-ie": Er,
|
|
18917
|
+
"hr-hr": Br,
|
|
18918
|
+
"hu-hu": Rr,
|
|
18919
|
+
"it-it": Pr,
|
|
18920
|
+
"lt-lt": wr,
|
|
18921
|
+
"lv-lv": Hr,
|
|
18922
|
+
"mt-mt": Lr,
|
|
18923
|
+
"nl-be": Gr,
|
|
18924
|
+
"nl-nl": xr,
|
|
18925
|
+
"no-no": Ur,
|
|
18926
|
+
"pl-pl": Dr,
|
|
18927
|
+
"pt-pt": Fr,
|
|
18928
|
+
"ro-ro": Kr,
|
|
18929
|
+
"sk-sk": Vr,
|
|
18930
|
+
"sl-si": Wr,
|
|
18931
|
+
"sv-se": Jr
|
|
18932
|
+
}, Zr = (e, a) => {
|
|
18933
|
+
const n = Q(a).prompt[e];
|
|
18912
18934
|
return n || (console.log(
|
|
18913
18935
|
'Missing prompt for key: "' + e + '" in locale: "' + a + '"'
|
|
18914
18936
|
), e);
|
|
18915
|
-
},
|
|
18916
|
-
const n =
|
|
18937
|
+
}, qr = (e, a) => {
|
|
18938
|
+
const n = Q(a).subPrompt[e];
|
|
18917
18939
|
return n || (console.log(
|
|
18918
18940
|
'Missing subPrompt for key: "' + e + '" in locale: "' + a + '"'
|
|
18919
18941
|
), e);
|
|
18920
|
-
},
|
|
18921
|
-
const n =
|
|
18942
|
+
}, Yr = (e, a) => {
|
|
18943
|
+
const n = Q(a).error[e];
|
|
18922
18944
|
return n || (console.log(
|
|
18923
18945
|
'Missing error for key: "' + e + '" in locale: "' + a + '"'
|
|
18924
18946
|
), e);
|
|
18925
|
-
},
|
|
18926
|
-
const n =
|
|
18947
|
+
}, _r = (e, a) => {
|
|
18948
|
+
const n = Q(a).hint[e];
|
|
18927
18949
|
return n || (console.log(
|
|
18928
18950
|
'Missing hint for key: "' + e + '" in locale: "' + a + '"'
|
|
18929
18951
|
), e);
|
|
18930
|
-
},
|
|
18931
|
-
const n =
|
|
18952
|
+
}, gt = (e, a) => {
|
|
18953
|
+
const n = Q(a).text[e];
|
|
18932
18954
|
return n || (console.log(
|
|
18933
18955
|
'Missing text for key: "' + e + '" in locale: "' + a + '"'
|
|
18934
18956
|
), e);
|
|
18935
|
-
},
|
|
18936
|
-
const n =
|
|
18957
|
+
}, kt = (e, a) => {
|
|
18958
|
+
const n = Q(a).title[e];
|
|
18937
18959
|
return n || (console.log(
|
|
18938
18960
|
'Missing title for key: "' + e + '" in locale: "' + a + '"'
|
|
18939
18961
|
), e);
|
|
18940
|
-
},
|
|
18941
|
-
const n =
|
|
18962
|
+
}, Qr = (e, a) => {
|
|
18963
|
+
const n = Q(a).subTitle[e];
|
|
18942
18964
|
return n || (console.log(
|
|
18943
18965
|
'Missing subTitle for key: "' + e + '" in locale: "' + a + '"'
|
|
18944
18966
|
), e);
|
|
18945
|
-
},
|
|
18946
|
-
const n =
|
|
18967
|
+
}, Xr = (e, a) => {
|
|
18968
|
+
const n = Q(a).button[e];
|
|
18947
18969
|
return n || (console.log(
|
|
18948
18970
|
'Missing button for key: "' + e + '" in locale: "' + a + '"'
|
|
18949
18971
|
), e);
|
|
18950
18972
|
}, Xn = (e, a) => {
|
|
18951
18973
|
if (!e)
|
|
18952
18974
|
return "";
|
|
18953
|
-
const n =
|
|
18975
|
+
const n = Q(a).option[e];
|
|
18954
18976
|
return n || (console.log(
|
|
18955
18977
|
'Missing option for key: "' + e + '" in locale: "' + a + '"'
|
|
18956
18978
|
), e);
|
|
18957
|
-
},
|
|
18958
|
-
const n =
|
|
18979
|
+
}, $r = (e, a) => {
|
|
18980
|
+
const n = Q(a).country[e];
|
|
18959
18981
|
return n || (console.log(
|
|
18960
18982
|
'Missing country for key: "' + e + '" in locale: "' + a + '"'
|
|
18961
18983
|
), e);
|
|
18962
|
-
},
|
|
18963
|
-
const n =
|
|
18984
|
+
}, eo = (e, a) => {
|
|
18985
|
+
const n = Q(a).usState[e];
|
|
18964
18986
|
return n || (console.log(
|
|
18965
18987
|
'Missing usState for key: "' + e + '" in locale: "' + a + '"'
|
|
18966
18988
|
), e);
|
|
18967
|
-
},
|
|
18968
|
-
const n =
|
|
18989
|
+
}, ao = (e, a) => {
|
|
18990
|
+
const n = Q(a).caProvince[e];
|
|
18969
18991
|
return n || (console.log(
|
|
18970
18992
|
'Missing caProvince for key: "' + e + '" in locale: "' + a + '"'
|
|
18971
18993
|
), e);
|
|
18972
|
-
},
|
|
18973
|
-
const n =
|
|
18994
|
+
}, io = (e, a) => {
|
|
18995
|
+
const n = Q(a).month[e];
|
|
18974
18996
|
return n || (console.log(
|
|
18975
18997
|
'Missing month for key: "' + e + '" in locale: "' + a + '"'
|
|
18976
18998
|
), e);
|
|
18977
|
-
},
|
|
18978
|
-
const n =
|
|
18999
|
+
}, no = (e, a) => {
|
|
19000
|
+
const n = Q(a).locale[e];
|
|
18979
19001
|
return n || (console.log(
|
|
18980
19002
|
'Missing locale for key: "' + e + '" in locale: "' + a + '"'
|
|
18981
19003
|
), e);
|
|
18982
|
-
},
|
|
18983
|
-
|
|
19004
|
+
}, Q = (e = "en-us") => Ja[e] ? Ja[e] : (console.log(`Locale '${e}' not found. Using en-us`), Ja["en-us"]), to = ({
|
|
19005
|
+
bearerToken: e,
|
|
19006
|
+
data: a,
|
|
19007
|
+
onSubmit: n,
|
|
19008
|
+
onSuccess: r,
|
|
19009
|
+
staging: o
|
|
19010
|
+
}) => {
|
|
19011
|
+
var p;
|
|
19012
|
+
const { status: s, formStatus: l, postData: d, serverData: m } = kr(
|
|
19013
|
+
e,
|
|
19014
|
+
o
|
|
19015
|
+
), [h, g] = K(
|
|
19016
|
+
a
|
|
19017
|
+
);
|
|
19018
|
+
return Y(() => {
|
|
19019
|
+
m && g(er(m, a));
|
|
19020
|
+
}, [a, m]), {
|
|
19021
|
+
handleOnSubmit: async (f) => {
|
|
19022
|
+
n && n(f), await d(f), r && r(f);
|
|
19023
|
+
},
|
|
19024
|
+
formData: h,
|
|
19025
|
+
isComplete: ((p = s == null ? void 0 : s.DAC7Interview) == null ? void 0 : p.dataCollectionStatus) === "COMPLETE",
|
|
19026
|
+
isLoading: !l || l !== "NOT_SUBMITTED" && !m
|
|
19027
|
+
};
|
|
19028
|
+
}, ht = () => {
|
|
19029
|
+
const e = At(void 0);
|
|
18984
19030
|
return [() => {
|
|
18985
|
-
const n =
|
|
19031
|
+
const n = bt(e);
|
|
18986
19032
|
if (n === void 0)
|
|
18987
19033
|
throw new Error("useCtx must be inside a Provider with a value");
|
|
18988
19034
|
return n;
|
|
18989
19035
|
}, e.Provider];
|
|
18990
|
-
}, [
|
|
18991
|
-
const { hasNoEUTaxId: a, accountHolderIsDisregarded: n } =
|
|
19036
|
+
}, [ae, ro] = ht(), $n = (e) => {
|
|
19037
|
+
const { hasNoEUTaxId: a, accountHolderIsDisregarded: n } = xa(e), r = [
|
|
18992
19038
|
"AccountHolderClassification",
|
|
18993
19039
|
"AccountHolderContact"
|
|
18994
19040
|
];
|
|
@@ -18997,7 +19043,7 @@ const Ar = {
|
|
|
18997
19043
|
"RegardedOwnerContact",
|
|
18998
19044
|
"RegardedOwnerTax"
|
|
18999
19045
|
), r.push("Summary"), r.push("Confirmation"), r;
|
|
19000
|
-
},
|
|
19046
|
+
}, oo = ({
|
|
19001
19047
|
data: e,
|
|
19002
19048
|
language: a = "en-us",
|
|
19003
19049
|
onSubmit: n,
|
|
@@ -19005,15 +19051,15 @@ const Ar = {
|
|
|
19005
19051
|
step: o = "AccountHolderClassification",
|
|
19006
19052
|
taxForms: s = ["DAC7"]
|
|
19007
19053
|
}) => {
|
|
19008
|
-
const [l, d] = K(a), [m, h] = K(s), [
|
|
19054
|
+
const [l, d] = K(a), [m, h] = K(s), [g, c] = K(), [p, f] = K(
|
|
19009
19055
|
Yn(e, m)
|
|
19010
|
-
), [C,
|
|
19056
|
+
), [C, N] = K([o]), [T, y] = K(
|
|
19011
19057
|
void 0
|
|
19012
|
-
), { isW9: R, isW8:
|
|
19013
|
-
|
|
19058
|
+
), { isW9: R, isW8: v, isW8Ben: L, isW8BenE: J, isDac7: I } = xa(
|
|
19059
|
+
p,
|
|
19014
19060
|
m
|
|
19015
|
-
),
|
|
19016
|
-
const
|
|
19061
|
+
), j = C[C.length - 1], x = ee(() => $n(p), [p]), te = (z) => {
|
|
19062
|
+
const U = {
|
|
19017
19063
|
AccountHolderContact: "accountHolderContactInformation",
|
|
19018
19064
|
AccountHolderTax: "accountHolderTaxInformation",
|
|
19019
19065
|
AccountHolderTaxClarification: "accountHolderTaxClarification",
|
|
@@ -19025,23 +19071,23 @@ const Ar = {
|
|
|
19025
19071
|
RegardedOwnerTax: "regardedOwnerTaxInformation",
|
|
19026
19072
|
Summary: "summary"
|
|
19027
19073
|
};
|
|
19028
|
-
return
|
|
19074
|
+
return U[z] ? U[z] : z;
|
|
19029
19075
|
};
|
|
19030
|
-
|
|
19031
|
-
const z =
|
|
19076
|
+
Y(() => {
|
|
19077
|
+
const z = x.indexOf(j);
|
|
19032
19078
|
c({
|
|
19033
19079
|
stepNumber: z + 1,
|
|
19034
|
-
totalSteps:
|
|
19080
|
+
totalSteps: x.length,
|
|
19035
19081
|
percentComplete: Math.round(
|
|
19036
|
-
z / (
|
|
19082
|
+
z / (x.length - 1) * 100
|
|
19037
19083
|
),
|
|
19038
|
-
stepTitle:
|
|
19039
|
-
stepId: te(
|
|
19084
|
+
stepTitle: kt(te(j), l),
|
|
19085
|
+
stepId: te(j),
|
|
19040
19086
|
language: l
|
|
19041
19087
|
});
|
|
19042
|
-
}, [l,
|
|
19043
|
-
|
|
19044
|
-
}, [r,
|
|
19088
|
+
}, [l, j, x]), Y(() => {
|
|
19089
|
+
g && r && r(g);
|
|
19090
|
+
}, [r, g]);
|
|
19045
19091
|
const Be = {
|
|
19046
19092
|
regardedOwnerUsPerson: void 0,
|
|
19047
19093
|
regardedOwnerUsAccountType: void 0,
|
|
@@ -19051,65 +19097,65 @@ const Ar = {
|
|
|
19051
19097
|
regardedOwnerForeignAccountType: void 0,
|
|
19052
19098
|
regardedOwnerForeignTrustClassification: void 0,
|
|
19053
19099
|
regardedOwnerForeignOtherClassification: void 0
|
|
19054
|
-
},
|
|
19055
|
-
const
|
|
19056
|
-
|
|
19100
|
+
}, Re = (z) => {
|
|
19101
|
+
const U = Z(z);
|
|
19102
|
+
f(z), n(ur(z)), ue(U);
|
|
19057
19103
|
}, Ae = it(
|
|
19058
19104
|
(z) => {
|
|
19059
|
-
|
|
19105
|
+
f(Yn(z, m)), y(void 0), N([o]);
|
|
19060
19106
|
},
|
|
19061
19107
|
[m, o]
|
|
19062
|
-
),
|
|
19063
|
-
const
|
|
19064
|
-
return
|
|
19065
|
-
},
|
|
19066
|
-
const
|
|
19067
|
-
|
|
19108
|
+
), Z = (z) => {
|
|
19109
|
+
const U = $n(z), Ne = U.indexOf(j);
|
|
19110
|
+
return U[Ne + 1] || "Summary";
|
|
19111
|
+
}, X = (z) => {
|
|
19112
|
+
const U = Z(z);
|
|
19113
|
+
U === "Summary" && y(void 0), ue(U);
|
|
19068
19114
|
}, ie = (z) => {
|
|
19069
|
-
const
|
|
19070
|
-
...
|
|
19115
|
+
const U = {
|
|
19116
|
+
...p,
|
|
19071
19117
|
...z
|
|
19072
19118
|
};
|
|
19073
|
-
|
|
19119
|
+
f(U), T === void 0 ? X(U) : N(["Summary"]);
|
|
19074
19120
|
}, be = (z) => {
|
|
19075
|
-
|
|
19121
|
+
p.accountHolderUsAccountType !== z.accountHolderUsAccountType || p.accountHolderForeignAccountType !== z.accountHolderForeignAccountType ? ie({
|
|
19076
19122
|
...z,
|
|
19077
19123
|
...Be
|
|
19078
19124
|
}) : ie(z);
|
|
19079
19125
|
}, ue = (z) => {
|
|
19080
|
-
|
|
19126
|
+
N([...C, z]);
|
|
19081
19127
|
}, Ce = (z) => {
|
|
19082
|
-
|
|
19083
|
-
}, Ie =
|
|
19084
|
-
|
|
19128
|
+
N([z]), y(p);
|
|
19129
|
+
}, Ie = T !== void 0 ? () => {
|
|
19130
|
+
f(T), y(void 0), N(["Summary"]);
|
|
19085
19131
|
} : void 0, Se = C.length > 1 ? () => {
|
|
19086
|
-
|
|
19132
|
+
N(C.slice(0, C.length - 1));
|
|
19087
19133
|
} : void 0;
|
|
19088
19134
|
return {
|
|
19089
19135
|
isW9: R,
|
|
19090
|
-
isW8:
|
|
19091
|
-
isW8Ben:
|
|
19092
|
-
isW8BenE:
|
|
19093
|
-
isDac7:
|
|
19136
|
+
isW8: v,
|
|
19137
|
+
isW8Ben: L,
|
|
19138
|
+
isW8BenE: J,
|
|
19139
|
+
isDac7: I,
|
|
19094
19140
|
onPersistAccountHolderData: be,
|
|
19095
19141
|
onPersistCollectedData: ie,
|
|
19096
|
-
onSubmitTaxDocumentation:
|
|
19142
|
+
onSubmitTaxDocumentation: Re,
|
|
19097
19143
|
onResetTaxDocumentation: Ae,
|
|
19098
19144
|
editTo: Ce,
|
|
19099
19145
|
onCancel: Ie,
|
|
19100
19146
|
getTitleKey: te,
|
|
19101
19147
|
goTo: ue,
|
|
19102
19148
|
goBack: Se,
|
|
19103
|
-
goToNext:
|
|
19104
|
-
progress:
|
|
19105
|
-
stepName:
|
|
19106
|
-
data:
|
|
19149
|
+
goToNext: X,
|
|
19150
|
+
progress: g,
|
|
19151
|
+
stepName: j,
|
|
19152
|
+
data: p,
|
|
19107
19153
|
setLanguage: d,
|
|
19108
19154
|
language: l,
|
|
19109
19155
|
supportedForms: m,
|
|
19110
19156
|
setSupportedForms: h
|
|
19111
19157
|
};
|
|
19112
|
-
},
|
|
19158
|
+
}, so = ({
|
|
19113
19159
|
data: e = {},
|
|
19114
19160
|
onSubmit: a,
|
|
19115
19161
|
onProgress: n,
|
|
@@ -19118,9 +19164,9 @@ const Ar = {
|
|
|
19118
19164
|
step: s,
|
|
19119
19165
|
children: l
|
|
19120
19166
|
}) => /* @__PURE__ */ i.jsx(
|
|
19121
|
-
|
|
19167
|
+
ro,
|
|
19122
19168
|
{
|
|
19123
|
-
value:
|
|
19169
|
+
value: oo({
|
|
19124
19170
|
data: e,
|
|
19125
19171
|
onSubmit: a,
|
|
19126
19172
|
language: r,
|
|
@@ -19130,12 +19176,12 @@ const Ar = {
|
|
|
19130
19176
|
}),
|
|
19131
19177
|
children: l
|
|
19132
19178
|
}
|
|
19133
|
-
), [E,
|
|
19134
|
-
const n = (
|
|
19135
|
-
const
|
|
19136
|
-
return
|
|
19137
|
-
}, r = (
|
|
19138
|
-
const
|
|
19179
|
+
), [E, lo] = ht(), uo = (e, a) => {
|
|
19180
|
+
const n = (v) => {
|
|
19181
|
+
const L = $t(e);
|
|
19182
|
+
return L[v] ? L[v] : v;
|
|
19183
|
+
}, r = (v) => {
|
|
19184
|
+
const L = {
|
|
19139
19185
|
accountHolderUsSmllcElection: "smllcElection",
|
|
19140
19186
|
iConfirmIncomeIsNonUs: "iConfirmIncomeIsNonUs",
|
|
19141
19187
|
accountHolderIsEuResident: "isEuResident",
|
|
@@ -19145,125 +19191,125 @@ const Ar = {
|
|
|
19145
19191
|
accountHolderVatIdentificationNumber: "vatIdentificationNumber",
|
|
19146
19192
|
accountHolderCityOfBirth: "placeOfBirth"
|
|
19147
19193
|
};
|
|
19148
|
-
return
|
|
19149
|
-
}, o = (
|
|
19150
|
-
const
|
|
19151
|
-
return
|
|
19194
|
+
return L[v] ? L[v] : v;
|
|
19195
|
+
}, o = (v) => {
|
|
19196
|
+
const L = _t();
|
|
19197
|
+
return L[v] ? L[v] : v;
|
|
19152
19198
|
};
|
|
19153
19199
|
return {
|
|
19154
|
-
getLocalHint: (
|
|
19155
|
-
getLocalText: (
|
|
19156
|
-
getLocalTitle: (
|
|
19157
|
-
getLocalSubTitle: (
|
|
19158
|
-
getLocalError: (
|
|
19159
|
-
getLocalLocale: (
|
|
19160
|
-
getLocalButton: (
|
|
19161
|
-
getLocalPrompt: (
|
|
19162
|
-
getLocalSubPrompt: (
|
|
19163
|
-
getLocalOption: (
|
|
19164
|
-
if (
|
|
19165
|
-
return Xn(
|
|
19200
|
+
getLocalHint: (v) => _r(o(v), a),
|
|
19201
|
+
getLocalText: (v) => gt(v, a),
|
|
19202
|
+
getLocalTitle: (v) => kt(v, a),
|
|
19203
|
+
getLocalSubTitle: (v) => Qr(v, a),
|
|
19204
|
+
getLocalError: (v) => Yr(v, a),
|
|
19205
|
+
getLocalLocale: (v) => no(v, a),
|
|
19206
|
+
getLocalButton: (v) => Xr(v, a),
|
|
19207
|
+
getLocalPrompt: (v) => Zr(n(v), a),
|
|
19208
|
+
getLocalSubPrompt: (v) => qr(r(v), a),
|
|
19209
|
+
getLocalOption: (v) => {
|
|
19210
|
+
if (v)
|
|
19211
|
+
return Xn(v, a) ? Xn(v, a) : v;
|
|
19166
19212
|
},
|
|
19167
|
-
getLocalCountry: (
|
|
19168
|
-
getLocalUsState: (
|
|
19169
|
-
getLocalCaProvince: (
|
|
19170
|
-
getLocalMonth: (
|
|
19213
|
+
getLocalCountry: (v) => v ? $r(v, a) : "",
|
|
19214
|
+
getLocalUsState: (v) => v ? eo(v, a) : "",
|
|
19215
|
+
getLocalCaProvince: (v) => v ? ao(v, a) : "",
|
|
19216
|
+
getLocalMonth: (v) => v ? io(v, a) : "",
|
|
19171
19217
|
getHintKey: o,
|
|
19172
19218
|
getPromptKey: n,
|
|
19173
19219
|
getSubPromptKey: r
|
|
19174
19220
|
};
|
|
19175
|
-
},
|
|
19221
|
+
}, co = (e, a) => {
|
|
19176
19222
|
const n = { ...e };
|
|
19177
19223
|
for (; a < 5; ) {
|
|
19178
19224
|
const r = a + 1;
|
|
19179
19225
|
n[`accountHolderShowTaxResidence${a}`] = e[`accountHolderShowTaxResidence${r}`], n[`accountHolderTaxResidenceCountry${a}`] = e[`accountHolderTaxResidenceCountry${r}`], n[`accountHolderTaxResidenceForeignTin${a}`] = e[`accountHolderTaxResidenceForeignTin${r}`], n[`accountHolderTaxResidenceForeignTin${a}IsNotRequired`] = e[`accountHolderTaxResidenceForeignTin${r}IsNotRequired`], a++;
|
|
19180
19226
|
}
|
|
19181
19227
|
return { ...n, accountHolderShowTaxResidence5: void 0 };
|
|
19182
|
-
},
|
|
19228
|
+
}, mo = () => {
|
|
19183
19229
|
const {
|
|
19184
19230
|
language: e,
|
|
19185
19231
|
data: a,
|
|
19186
19232
|
supportedForms: n
|
|
19187
|
-
} =
|
|
19188
|
-
() =>
|
|
19233
|
+
} = ae(), [r, o] = K(a), [s, l] = K(!1), [d, m] = K(/* @__PURE__ */ new Set()), h = ee(
|
|
19234
|
+
() => gr(r, n),
|
|
19189
19235
|
[r, n]
|
|
19190
|
-
),
|
|
19236
|
+
), g = ee(
|
|
19191
19237
|
() => Object.fromEntries(
|
|
19192
|
-
[...d].map((
|
|
19238
|
+
[...d].map((I) => [I, !0])
|
|
19193
19239
|
),
|
|
19194
19240
|
[d]
|
|
19195
|
-
), c =
|
|
19196
|
-
const
|
|
19241
|
+
), c = ee(() => {
|
|
19242
|
+
const I = ut(r);
|
|
19197
19243
|
return Object.fromEntries(
|
|
19198
|
-
Object.keys(
|
|
19199
|
-
|
|
19200
|
-
|
|
19244
|
+
Object.keys(g).map((j) => [
|
|
19245
|
+
j,
|
|
19246
|
+
I[j]
|
|
19201
19247
|
])
|
|
19202
19248
|
);
|
|
19203
|
-
}, [r,
|
|
19204
|
-
const
|
|
19249
|
+
}, [r, g]), p = ee(() => {
|
|
19250
|
+
const I = mr(r);
|
|
19205
19251
|
return Object.fromEntries(
|
|
19206
|
-
Object.keys(
|
|
19252
|
+
Object.keys(g).map((j) => [j, I[j]]).filter(([, j]) => j)
|
|
19207
19253
|
);
|
|
19208
|
-
}, [r,
|
|
19209
|
-
|
|
19254
|
+
}, [r, g]);
|
|
19255
|
+
Y(() => {
|
|
19210
19256
|
o(a);
|
|
19211
19257
|
}, [a]);
|
|
19212
|
-
const
|
|
19213
|
-
(
|
|
19214
|
-
if (/accountHolderShowTaxResidence[234]/.test(
|
|
19215
|
-
const
|
|
19216
|
-
|
|
19217
|
-
} else if (/AddressCountry/.test(
|
|
19218
|
-
if (
|
|
19219
|
-
const
|
|
19258
|
+
const f = it(
|
|
19259
|
+
(I, j) => {
|
|
19260
|
+
if (/accountHolderShowTaxResidence[234]/.test(I) && j === void 0) {
|
|
19261
|
+
const x = parseInt(I.slice(-1));
|
|
19262
|
+
j !== r[I] && o(co(r, x));
|
|
19263
|
+
} else if (/AddressCountry/.test(I)) {
|
|
19264
|
+
if (j !== r[I]) {
|
|
19265
|
+
const x = I.split("Address")[0] + "Address";
|
|
19220
19266
|
o((te) => ({
|
|
19221
19267
|
...te,
|
|
19222
|
-
[
|
|
19223
|
-
[
|
|
19268
|
+
[I]: j,
|
|
19269
|
+
[x]: j
|
|
19224
19270
|
}));
|
|
19225
19271
|
}
|
|
19226
19272
|
} else
|
|
19227
|
-
|
|
19228
|
-
...
|
|
19229
|
-
[
|
|
19273
|
+
j !== r[I] && o((x) => ({
|
|
19274
|
+
...x,
|
|
19275
|
+
[I]: j
|
|
19230
19276
|
}));
|
|
19231
19277
|
},
|
|
19232
19278
|
[r]
|
|
19233
19279
|
), C = () => {
|
|
19234
19280
|
l(!0);
|
|
19235
|
-
},
|
|
19281
|
+
}, N = () => {
|
|
19236
19282
|
l(!1);
|
|
19237
|
-
},
|
|
19283
|
+
}, T = Object.keys(p).length === 0, y = uo(r, e);
|
|
19238
19284
|
return {
|
|
19239
|
-
clearIfNotRequired: (...
|
|
19240
|
-
|
|
19241
|
-
|
|
19285
|
+
clearIfNotRequired: (...I) => (j) => {
|
|
19286
|
+
j === "yes" && I.forEach((x) => {
|
|
19287
|
+
f(x, "");
|
|
19242
19288
|
});
|
|
19243
19289
|
},
|
|
19244
19290
|
fields: r,
|
|
19245
19291
|
setFields: o,
|
|
19246
|
-
setValue:
|
|
19247
|
-
isErrorFree:
|
|
19292
|
+
setValue: f,
|
|
19293
|
+
isErrorFree: T,
|
|
19248
19294
|
showErrors: s,
|
|
19249
19295
|
exposeErrors: C,
|
|
19250
|
-
hideErrors:
|
|
19251
|
-
getRequiredLocalPrompt: (
|
|
19252
|
-
invalidFields:
|
|
19296
|
+
hideErrors: N,
|
|
19297
|
+
getRequiredLocalPrompt: (I) => y.getLocalPrompt(I) + (c[I] ? "*" : ""),
|
|
19298
|
+
invalidFields: p,
|
|
19253
19299
|
// (must be visible)
|
|
19254
19300
|
requiredFields: c,
|
|
19255
19301
|
// (must be visible)
|
|
19256
19302
|
visibleFields: h,
|
|
19257
19303
|
// (must be supported)
|
|
19258
|
-
hideField: (
|
|
19259
|
-
d.has(
|
|
19304
|
+
hideField: (I) => {
|
|
19305
|
+
d.has(I) && m((j) => new Set([...j].filter((x) => x !== I))), f(I, void 0);
|
|
19260
19306
|
},
|
|
19261
|
-
showField: (
|
|
19262
|
-
d.has(
|
|
19307
|
+
showField: (I) => {
|
|
19308
|
+
d.has(I) || m((j) => /* @__PURE__ */ new Set([...j, I]));
|
|
19263
19309
|
},
|
|
19264
|
-
...
|
|
19310
|
+
...y
|
|
19265
19311
|
};
|
|
19266
|
-
}, de = ({ children: e }) => /* @__PURE__ */ i.jsx(
|
|
19312
|
+
}, de = ({ children: e }) => /* @__PURE__ */ i.jsx(lo, { value: mo(), children: e }), go = ({ address: e, className: a }) => {
|
|
19267
19313
|
const { getLocalCountry: n, getLocalUsState: r, getLocalCaProvince: o } = E(), s = e.country === "US" ? r(e.state) : e.country === "CA" ? o(e.state) : e.state;
|
|
19268
19314
|
return /* @__PURE__ */ i.jsxs("div", { className: se(a, "address"), children: [
|
|
19269
19315
|
/* @__PURE__ */ i.jsx("div", { children: e.street }),
|
|
@@ -19354,11 +19400,11 @@ const Ar = {
|
|
|
19354
19400
|
a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-section-sub-title", children: a })
|
|
19355
19401
|
] }),
|
|
19356
19402
|
r
|
|
19357
|
-
] }) : r, ze = [{ value: "yes" }, { value: "no" }],
|
|
19358
|
-
const { language: e, setLanguage: a } =
|
|
19403
|
+
] }) : r, ze = [{ value: "yes" }, { value: "no" }], ko = () => {
|
|
19404
|
+
const { language: e, setLanguage: a } = ae(), { getLocalLocale: n } = E(), r = (s) => {
|
|
19359
19405
|
const l = s.target.value;
|
|
19360
19406
|
a(l);
|
|
19361
|
-
}, o =
|
|
19407
|
+
}, o = Lt.map((s) => ({
|
|
19362
19408
|
...s,
|
|
19363
19409
|
label: n(s.value)
|
|
19364
19410
|
})).sort((s, l) => s.label.localeCompare(l.label));
|
|
@@ -19371,7 +19417,7 @@ const Ar = {
|
|
|
19371
19417
|
children: o.map((s) => /* @__PURE__ */ i.jsx("option", { value: s.value, children: s.label }, s.value))
|
|
19372
19418
|
}
|
|
19373
19419
|
);
|
|
19374
|
-
},
|
|
19420
|
+
}, ho = [
|
|
19375
19421
|
"AccountHolderClassification",
|
|
19376
19422
|
"AccountHolderContact",
|
|
19377
19423
|
"AccountHolderTax",
|
|
@@ -19382,7 +19428,7 @@ const Ar = {
|
|
|
19382
19428
|
"RegardedOwnerContact",
|
|
19383
19429
|
"RegardedOwnerTax",
|
|
19384
19430
|
"Summary"
|
|
19385
|
-
], po = (e) =>
|
|
19431
|
+
], po = (e) => ho.includes(e), sa = (e) => {
|
|
19386
19432
|
if (po(e))
|
|
19387
19433
|
return e;
|
|
19388
19434
|
throw new Error(`Invalid input step: ${e}`);
|
|
@@ -19421,10 +19467,10 @@ const Ar = {
|
|
|
19421
19467
|
)
|
|
19422
19468
|
] })
|
|
19423
19469
|
] });
|
|
19424
|
-
},
|
|
19470
|
+
}, vo = ({ label: e, subLabel: a, name: n, onClick: r }) => {
|
|
19425
19471
|
const { fields: o, setValue: s, getLocalPrompt: l, getLocalSubPrompt: d } = E(), m = (c) => {
|
|
19426
19472
|
r && r(c), s(n, c);
|
|
19427
|
-
}, h = o[n],
|
|
19473
|
+
}, h = o[n], g = (c) => {
|
|
19428
19474
|
m(c.target.checked ? "yes" : void 0);
|
|
19429
19475
|
};
|
|
19430
19476
|
return /* @__PURE__ */ i.jsxs(fe, { children: [
|
|
@@ -19437,7 +19483,7 @@ const Ar = {
|
|
|
19437
19483
|
name: n,
|
|
19438
19484
|
"aria-label": n,
|
|
19439
19485
|
checked: h === "yes",
|
|
19440
|
-
onChange:
|
|
19486
|
+
onChange: g,
|
|
19441
19487
|
className: "taxbit-check-box"
|
|
19442
19488
|
}
|
|
19443
19489
|
),
|
|
@@ -19448,49 +19494,49 @@ const Ar = {
|
|
|
19448
19494
|
] }),
|
|
19449
19495
|
/* @__PURE__ */ i.jsx(Ee, { name: n })
|
|
19450
19496
|
] });
|
|
19451
|
-
},
|
|
19497
|
+
}, fo = (e) => {
|
|
19452
19498
|
const { fields: a, setValue: n, getLocalMonth: r } = E(), o = a[e] || "", s = o.split("/")[0] || "", l = o.split("/")[1] || "", d = o.split("/")[2] || "", m = s !== "" ? Kn(
|
|
19453
19499
|
parseInt(s),
|
|
19454
19500
|
d !== "" ? parseInt(d) : void 0
|
|
19455
|
-
) :
|
|
19501
|
+
) : Dn.length, h = xt.map((C) => ({
|
|
19456
19502
|
...C,
|
|
19457
19503
|
label: r(C.value)
|
|
19458
|
-
})),
|
|
19459
|
-
if (!
|
|
19504
|
+
})), g = (C, N, T) => {
|
|
19505
|
+
if (!N)
|
|
19460
19506
|
return !0;
|
|
19461
|
-
const
|
|
19462
|
-
parseInt(
|
|
19463
|
-
V(
|
|
19507
|
+
const y = Kn(
|
|
19508
|
+
parseInt(N),
|
|
19509
|
+
V(T) ? parseInt(T) : void 0
|
|
19464
19510
|
);
|
|
19465
|
-
return V(C) &&
|
|
19511
|
+
return V(C) && y >= parseInt(C);
|
|
19466
19512
|
};
|
|
19467
19513
|
return {
|
|
19468
19514
|
mm: s,
|
|
19469
19515
|
dd: l,
|
|
19470
19516
|
yyyy: d,
|
|
19471
19517
|
handleDayChange: (C) => {
|
|
19472
|
-
const
|
|
19473
|
-
n(e, `${s || ""}/${
|
|
19518
|
+
const N = C.target.value;
|
|
19519
|
+
n(e, `${s || ""}/${N}/${d || ""}`);
|
|
19474
19520
|
},
|
|
19475
19521
|
handleMonthChange: (C) => {
|
|
19476
|
-
const
|
|
19522
|
+
const N = C.target.value;
|
|
19477
19523
|
n(
|
|
19478
19524
|
e,
|
|
19479
|
-
`${
|
|
19525
|
+
`${N}/${g(l, N, d) ? l : ""}/${d || ""}`
|
|
19480
19526
|
);
|
|
19481
19527
|
},
|
|
19482
19528
|
handleYearChange: (C) => {
|
|
19483
|
-
const
|
|
19529
|
+
const N = C.target.value;
|
|
19484
19530
|
n(
|
|
19485
19531
|
e,
|
|
19486
|
-
`${s || ""}/${
|
|
19532
|
+
`${s || ""}/${g(l, s, N) ? l : ""}/${N}`
|
|
19487
19533
|
);
|
|
19488
19534
|
},
|
|
19489
|
-
dayOptions:
|
|
19490
|
-
birthYearOptions:
|
|
19535
|
+
dayOptions: Dn.slice(0, m),
|
|
19536
|
+
birthYearOptions: Yt,
|
|
19491
19537
|
monthOptions: h
|
|
19492
19538
|
};
|
|
19493
|
-
},
|
|
19539
|
+
}, Ao = ({
|
|
19494
19540
|
name: e,
|
|
19495
19541
|
className: a,
|
|
19496
19542
|
hint: n
|
|
@@ -19502,10 +19548,10 @@ const Ar = {
|
|
|
19502
19548
|
handleDayChange: d,
|
|
19503
19549
|
handleMonthChange: m,
|
|
19504
19550
|
handleYearChange: h,
|
|
19505
|
-
dayOptions:
|
|
19551
|
+
dayOptions: g,
|
|
19506
19552
|
monthOptions: c,
|
|
19507
|
-
birthYearOptions:
|
|
19508
|
-
} =
|
|
19553
|
+
birthYearOptions: p
|
|
19554
|
+
} = fo(e);
|
|
19509
19555
|
return /* @__PURE__ */ i.jsxs(fe, { className: a, children: [
|
|
19510
19556
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-row-value", children: [
|
|
19511
19557
|
/* @__PURE__ */ i.jsxs(
|
|
@@ -19522,7 +19568,7 @@ const Ar = {
|
|
|
19522
19568
|
),
|
|
19523
19569
|
children: [
|
|
19524
19570
|
/* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("month") }),
|
|
19525
|
-
c.map((
|
|
19571
|
+
c.map((f) => /* @__PURE__ */ i.jsx("option", { value: f.value, children: f.label ? f.label : f.value }, f.value))
|
|
19526
19572
|
]
|
|
19527
19573
|
}
|
|
19528
19574
|
),
|
|
@@ -19540,7 +19586,7 @@ const Ar = {
|
|
|
19540
19586
|
),
|
|
19541
19587
|
children: [
|
|
19542
19588
|
/* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("day") }),
|
|
19543
|
-
|
|
19589
|
+
g.map((f) => /* @__PURE__ */ i.jsx("option", { value: f.value, children: parseInt(f.value) }, f.value))
|
|
19544
19590
|
]
|
|
19545
19591
|
}
|
|
19546
19592
|
),
|
|
@@ -19558,14 +19604,14 @@ const Ar = {
|
|
|
19558
19604
|
),
|
|
19559
19605
|
children: [
|
|
19560
19606
|
/* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("year") }),
|
|
19561
|
-
|
|
19607
|
+
p.map((f) => /* @__PURE__ */ i.jsx("option", { value: f.value, children: f.value }, f.value))
|
|
19562
19608
|
]
|
|
19563
19609
|
}
|
|
19564
19610
|
)
|
|
19565
19611
|
] }),
|
|
19566
19612
|
/* @__PURE__ */ i.jsx(Ee, { name: e, hint: n })
|
|
19567
19613
|
] });
|
|
19568
|
-
},
|
|
19614
|
+
}, bo = ({ name: e, options: a }) => {
|
|
19569
19615
|
const { fields: n, setValue: r, hideErrors: o, getLocalOption: s } = E(), l = (h) => {
|
|
19570
19616
|
r(e, h), o();
|
|
19571
19617
|
}, d = n[e], m = (h) => {
|
|
@@ -19599,7 +19645,7 @@ const Ar = {
|
|
|
19599
19645
|
)) }),
|
|
19600
19646
|
/* @__PURE__ */ i.jsx(Ee, { name: e })
|
|
19601
19647
|
] });
|
|
19602
|
-
},
|
|
19648
|
+
}, Co = ({
|
|
19603
19649
|
name: e,
|
|
19604
19650
|
options: a,
|
|
19605
19651
|
addBlank: n = !0,
|
|
@@ -19607,7 +19653,7 @@ const Ar = {
|
|
|
19607
19653
|
onChange: o,
|
|
19608
19654
|
disabled: s
|
|
19609
19655
|
}) => {
|
|
19610
|
-
const { fields: l, setValue: d, getLocalOption: m } = E(), h = l[e],
|
|
19656
|
+
const { fields: l, setValue: d, getLocalOption: m } = E(), h = l[e], g = (c) => {
|
|
19611
19657
|
o && o(), d(e, c.target.value);
|
|
19612
19658
|
};
|
|
19613
19659
|
return /* @__PURE__ */ i.jsxs(fe, { className: r, children: [
|
|
@@ -19616,7 +19662,7 @@ const Ar = {
|
|
|
19616
19662
|
{
|
|
19617
19663
|
name: e,
|
|
19618
19664
|
"aria-label": e,
|
|
19619
|
-
onChange:
|
|
19665
|
+
onChange: g,
|
|
19620
19666
|
value: h || "",
|
|
19621
19667
|
className: "taxbit-select",
|
|
19622
19668
|
disabled: s,
|
|
@@ -19628,7 +19674,7 @@ const Ar = {
|
|
|
19628
19674
|
),
|
|
19629
19675
|
/* @__PURE__ */ i.jsx(Ee, { name: e })
|
|
19630
19676
|
] });
|
|
19631
|
-
},
|
|
19677
|
+
}, Io = ({
|
|
19632
19678
|
name: e,
|
|
19633
19679
|
className: a,
|
|
19634
19680
|
onChange: n,
|
|
@@ -19637,9 +19683,9 @@ const Ar = {
|
|
|
19637
19683
|
disabled: s,
|
|
19638
19684
|
syncName: l
|
|
19639
19685
|
}) => {
|
|
19640
|
-
const { fields: d, setValue: m } = E(), h = d[e] || "",
|
|
19641
|
-
const
|
|
19642
|
-
l && (d[l] === d[e] || !d[l]) && m(l,
|
|
19686
|
+
const { fields: d, setValue: m } = E(), h = d[e] || "", g = (c) => {
|
|
19687
|
+
const p = n ? n(c.target.value) : c.target.value;
|
|
19688
|
+
l && (d[l] === d[e] || !d[l]) && m(l, p), m(e, p);
|
|
19643
19689
|
};
|
|
19644
19690
|
return /* @__PURE__ */ i.jsxs(fe, { className: a, children: [
|
|
19645
19691
|
/* @__PURE__ */ i.jsx(
|
|
@@ -19649,7 +19695,7 @@ const Ar = {
|
|
|
19649
19695
|
name: e,
|
|
19650
19696
|
"aria-label": e,
|
|
19651
19697
|
value: h,
|
|
19652
|
-
onChange:
|
|
19698
|
+
onChange: g,
|
|
19653
19699
|
className: "taxbit-input",
|
|
19654
19700
|
disabled: s
|
|
19655
19701
|
}
|
|
@@ -19657,7 +19703,7 @@ const Ar = {
|
|
|
19657
19703
|
/* @__PURE__ */ i.jsx(Ee, { name: e, hint: r }),
|
|
19658
19704
|
o ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: o }) : null
|
|
19659
19705
|
] });
|
|
19660
|
-
},
|
|
19706
|
+
}, So = ({ name: e }) => {
|
|
19661
19707
|
const { fields: a, setValue: n, getLocalPrompt: r } = E(), o = a[e], s = () => {
|
|
19662
19708
|
n(e, o === void 0 ? "yes" : void 0);
|
|
19663
19709
|
};
|
|
@@ -19675,7 +19721,7 @@ const Ar = {
|
|
|
19675
19721
|
) }),
|
|
19676
19722
|
/* @__PURE__ */ i.jsx(Ee, { name: e })
|
|
19677
19723
|
] });
|
|
19678
|
-
},
|
|
19724
|
+
}, No = ({ onClick: e }) => {
|
|
19679
19725
|
const { getLocalButton: a } = E(), [n, r] = K(!0), o = "hideShowButton", s = () => {
|
|
19680
19726
|
r((l) => !l), e();
|
|
19681
19727
|
};
|
|
@@ -19700,7 +19746,7 @@ const Ar = {
|
|
|
19700
19746
|
)
|
|
19701
19747
|
}
|
|
19702
19748
|
) });
|
|
19703
|
-
},
|
|
19749
|
+
}, To = ({
|
|
19704
19750
|
value: e = "",
|
|
19705
19751
|
mask: a = "•",
|
|
19706
19752
|
name: n,
|
|
@@ -19709,37 +19755,37 @@ const Ar = {
|
|
|
19709
19755
|
show: s = !1,
|
|
19710
19756
|
...l
|
|
19711
19757
|
}) => {
|
|
19712
|
-
const [d, m] = K(e), [h,
|
|
19758
|
+
const [d, m] = K(e), [h, g] = K(
|
|
19713
19759
|
Array(e.length + 1).join(a)
|
|
19714
|
-
), c =
|
|
19760
|
+
), c = Un(), [p, f] = K([
|
|
19715
19761
|
0,
|
|
19716
19762
|
0
|
|
19717
|
-
]), C =
|
|
19718
|
-
|
|
19719
|
-
e !== d && (m(e),
|
|
19763
|
+
]), C = Un(null);
|
|
19764
|
+
Y(() => {
|
|
19765
|
+
e !== d && (m(e), g(Array(e.length + 1).join(a)));
|
|
19720
19766
|
}, [e, a, d]);
|
|
19721
|
-
const
|
|
19722
|
-
const
|
|
19723
|
-
|
|
19724
|
-
const R =
|
|
19767
|
+
const N = (T) => {
|
|
19768
|
+
const y = T.target.selectionEnd === null ? T.target.value.length : T.target.selectionEnd;
|
|
19769
|
+
f([y, y]);
|
|
19770
|
+
const R = T.target.value, v = R.replace(
|
|
19725
19771
|
new RegExp(
|
|
19726
|
-
`${
|
|
19772
|
+
`${y ? `(^\\${a}{1,${y}})|` : ""}(\\${a}+)`,
|
|
19727
19773
|
"g"
|
|
19728
19774
|
),
|
|
19729
|
-
(
|
|
19730
|
-
),
|
|
19731
|
-
|
|
19775
|
+
(J, I, j) => !j && y ? d.substring(0, J.length) : d.substring(d.length - J.length)
|
|
19776
|
+
), L = R.split("").map((J, I) => I === y - 1 ? J : a).join("");
|
|
19777
|
+
g(L), m(v), r && r(v);
|
|
19732
19778
|
};
|
|
19733
|
-
return
|
|
19734
|
-
C.current &&
|
|
19779
|
+
return Y(() => (clearTimeout(c.current), c.current = setTimeout(() => {
|
|
19780
|
+
C.current && f([
|
|
19735
19781
|
C.current.selectionStart,
|
|
19736
19782
|
C.current.selectionEnd
|
|
19737
|
-
]),
|
|
19783
|
+
]), g(Array(h.length + 1).join(a));
|
|
19738
19784
|
}, 1e3), () => {
|
|
19739
19785
|
clearTimeout(c.current);
|
|
19740
|
-
}), [a, h]),
|
|
19741
|
-
C.current && (C.current.selectionStart =
|
|
19742
|
-
}, [
|
|
19786
|
+
}), [a, h]), Y(() => {
|
|
19787
|
+
C.current && (C.current.selectionStart = p[0], C.current.selectionEnd = p[1]);
|
|
19788
|
+
}, [p]), /* @__PURE__ */ i.jsx(
|
|
19743
19789
|
"input",
|
|
19744
19790
|
{
|
|
19745
19791
|
...l,
|
|
@@ -19748,11 +19794,11 @@ const Ar = {
|
|
|
19748
19794
|
name: n,
|
|
19749
19795
|
"aria-label": n,
|
|
19750
19796
|
value: s ? d : h,
|
|
19751
|
-
onChange:
|
|
19797
|
+
onChange: N,
|
|
19752
19798
|
disabled: o
|
|
19753
19799
|
}
|
|
19754
19800
|
);
|
|
19755
|
-
},
|
|
19801
|
+
}, Mo = ({
|
|
19756
19802
|
name: e,
|
|
19757
19803
|
className: a,
|
|
19758
19804
|
onChange: n,
|
|
@@ -19760,16 +19806,16 @@ const Ar = {
|
|
|
19760
19806
|
children: o,
|
|
19761
19807
|
disabled: s
|
|
19762
19808
|
}) => {
|
|
19763
|
-
const { fields: l, setValue: d } = E(), [m, h] = K(!0),
|
|
19764
|
-
const
|
|
19765
|
-
d(e,
|
|
19809
|
+
const { fields: l, setValue: d } = E(), [m, h] = K(!0), g = l[e] || "", c = (p) => {
|
|
19810
|
+
const f = n ? n(p) : p;
|
|
19811
|
+
d(e, f);
|
|
19766
19812
|
};
|
|
19767
19813
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
19768
19814
|
/* @__PURE__ */ i.jsxs(fe, { className: a, children: [
|
|
19769
19815
|
/* @__PURE__ */ i.jsx(
|
|
19770
|
-
|
|
19816
|
+
To,
|
|
19771
19817
|
{
|
|
19772
|
-
value:
|
|
19818
|
+
value: g,
|
|
19773
19819
|
onChange: c,
|
|
19774
19820
|
className: "taxbit-input",
|
|
19775
19821
|
name: e,
|
|
@@ -19781,7 +19827,7 @@ const Ar = {
|
|
|
19781
19827
|
/* @__PURE__ */ i.jsx(Ee, { name: e, hint: r }),
|
|
19782
19828
|
o ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: o }) : null
|
|
19783
19829
|
] }),
|
|
19784
|
-
/* @__PURE__ */ i.jsx(
|
|
19830
|
+
/* @__PURE__ */ i.jsx(No, { onClick: () => h((p) => !p) })
|
|
19785
19831
|
] });
|
|
19786
19832
|
}, et = [
|
|
19787
19833
|
"City",
|
|
@@ -19798,14 +19844,14 @@ const Ar = {
|
|
|
19798
19844
|
hideField: s,
|
|
19799
19845
|
fields: l
|
|
19800
19846
|
} = E(), d = !!n[`${a}Country`];
|
|
19801
|
-
return
|
|
19847
|
+
return Y(() => {
|
|
19802
19848
|
d ? (o(a), et.forEach((m) => {
|
|
19803
19849
|
o(`${a}${m}`);
|
|
19804
19850
|
})) : (s(a), et.forEach((m) => {
|
|
19805
19851
|
s(`${a}${m}`);
|
|
19806
19852
|
}));
|
|
19807
19853
|
}, [d, o, s, a]), d ? /* @__PURE__ */ i.jsx($a, { label: r(a), onEdit: e, name: a, children: /* @__PURE__ */ i.jsx(
|
|
19808
|
-
|
|
19854
|
+
go,
|
|
19809
19855
|
{
|
|
19810
19856
|
address: {
|
|
19811
19857
|
city: l[`${a}City`],
|
|
@@ -19817,7 +19863,7 @@ const Ar = {
|
|
|
19817
19863
|
}
|
|
19818
19864
|
}
|
|
19819
19865
|
) }) : null;
|
|
19820
|
-
},
|
|
19866
|
+
}, A = ({
|
|
19821
19867
|
label: e,
|
|
19822
19868
|
subLabel: a,
|
|
19823
19869
|
name: n,
|
|
@@ -19830,10 +19876,10 @@ const Ar = {
|
|
|
19830
19876
|
hideField: d,
|
|
19831
19877
|
getRequiredLocalPrompt: m,
|
|
19832
19878
|
getLocalSubPrompt: h
|
|
19833
|
-
} = E(),
|
|
19834
|
-
return
|
|
19835
|
-
|
|
19836
|
-
}, [
|
|
19879
|
+
} = E(), g = !!s[n];
|
|
19880
|
+
return Y(() => {
|
|
19881
|
+
g ? l(n) : d(n);
|
|
19882
|
+
}, [g, n, l, d]), g ? /* @__PURE__ */ i.jsx(
|
|
19837
19883
|
$a,
|
|
19838
19884
|
{
|
|
19839
19885
|
name: n,
|
|
@@ -19843,13 +19889,13 @@ const Ar = {
|
|
|
19843
19889
|
children: r
|
|
19844
19890
|
}
|
|
19845
19891
|
) : null;
|
|
19846
|
-
},
|
|
19892
|
+
}, D = ({
|
|
19847
19893
|
name: e,
|
|
19848
19894
|
label: a,
|
|
19849
19895
|
subLabel: n,
|
|
19850
19896
|
onClick: r
|
|
19851
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19852
|
-
|
|
19897
|
+
}) => /* @__PURE__ */ i.jsx(A, { name: e, children: /* @__PURE__ */ i.jsx(
|
|
19898
|
+
vo,
|
|
19853
19899
|
{
|
|
19854
19900
|
label: a,
|
|
19855
19901
|
subLabel: n,
|
|
@@ -19862,19 +19908,19 @@ const Ar = {
|
|
|
19862
19908
|
name: n
|
|
19863
19909
|
}) => {
|
|
19864
19910
|
const { showErrors: r, invalidFields: o, getLocalError: s } = E(), l = o[n] ? o[n].map((d) => s(d)) : void 0;
|
|
19865
|
-
return /* @__PURE__ */ i.jsx(
|
|
19911
|
+
return /* @__PURE__ */ i.jsx(A, { name: n, label: e, subLabel: a, children: r && l && /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: l.map((d) => /* @__PURE__ */ i.jsxs(nt, { children: [
|
|
19866
19912
|
d,
|
|
19867
19913
|
/* @__PURE__ */ i.jsx("br", {})
|
|
19868
19914
|
] }, d)) }) }) });
|
|
19869
|
-
},
|
|
19915
|
+
}, ve = ({
|
|
19870
19916
|
name: e,
|
|
19871
19917
|
label: a,
|
|
19872
19918
|
hint: n,
|
|
19873
19919
|
subLabel: r,
|
|
19874
19920
|
onChange: o,
|
|
19875
19921
|
disabled: s
|
|
19876
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19877
|
-
|
|
19922
|
+
}) => /* @__PURE__ */ i.jsx(A, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19923
|
+
Mo,
|
|
19878
19924
|
{
|
|
19879
19925
|
name: e,
|
|
19880
19926
|
onChange: o,
|
|
@@ -19886,7 +19932,7 @@ const Ar = {
|
|
|
19886
19932
|
label: a,
|
|
19887
19933
|
subLabel: n,
|
|
19888
19934
|
options: r
|
|
19889
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19935
|
+
}) => /* @__PURE__ */ i.jsx(A, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(bo, { name: e, options: r }) }), le = ({
|
|
19890
19936
|
name: e,
|
|
19891
19937
|
label: a,
|
|
19892
19938
|
options: n,
|
|
@@ -19894,8 +19940,8 @@ const Ar = {
|
|
|
19894
19940
|
addBlank: o,
|
|
19895
19941
|
onChange: s,
|
|
19896
19942
|
disabled: l
|
|
19897
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19898
|
-
|
|
19943
|
+
}) => /* @__PURE__ */ i.jsx(A, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19944
|
+
Co,
|
|
19899
19945
|
{
|
|
19900
19946
|
name: e,
|
|
19901
19947
|
options: n,
|
|
@@ -19903,7 +19949,7 @@ const Ar = {
|
|
|
19903
19949
|
onChange: s,
|
|
19904
19950
|
disabled: l
|
|
19905
19951
|
}
|
|
19906
|
-
) }),
|
|
19952
|
+
) }), _ = ({
|
|
19907
19953
|
name: e,
|
|
19908
19954
|
label: a,
|
|
19909
19955
|
hint: n,
|
|
@@ -19911,8 +19957,8 @@ const Ar = {
|
|
|
19911
19957
|
onChange: o,
|
|
19912
19958
|
disabled: s,
|
|
19913
19959
|
syncName: l
|
|
19914
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
19915
|
-
|
|
19960
|
+
}) => /* @__PURE__ */ i.jsx(A, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19961
|
+
Io,
|
|
19916
19962
|
{
|
|
19917
19963
|
name: e,
|
|
19918
19964
|
onChange: o,
|
|
@@ -19920,8 +19966,8 @@ const Ar = {
|
|
|
19920
19966
|
disabled: s,
|
|
19921
19967
|
syncName: l
|
|
19922
19968
|
}
|
|
19923
|
-
) }),
|
|
19924
|
-
const { fields: e, getLocalTitle: a } = E(), { getTitleKey: n, onPersistAccountHolderData: r, onCancel: o } =
|
|
19969
|
+
) }), yo = () => {
|
|
19970
|
+
const { fields: e, getLocalTitle: a } = E(), { getTitleKey: n, onPersistAccountHolderData: r, onCancel: o } = ae();
|
|
19925
19971
|
return /* @__PURE__ */ i.jsxs(
|
|
19926
19972
|
ke,
|
|
19927
19973
|
{
|
|
@@ -19929,7 +19975,7 @@ const Ar = {
|
|
|
19929
19975
|
n(sa("AccountHolderClassification"))
|
|
19930
19976
|
),
|
|
19931
19977
|
className: "taxbit-form-account-holder-classification",
|
|
19932
|
-
actions: /* @__PURE__ */ i.jsx(
|
|
19978
|
+
actions: /* @__PURE__ */ i.jsx(ko, {}),
|
|
19933
19979
|
children: [
|
|
19934
19980
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
19935
19981
|
/* @__PURE__ */ i.jsx(
|
|
@@ -19983,7 +20029,7 @@ const Ar = {
|
|
|
19983
20029
|
label: !0
|
|
19984
20030
|
}
|
|
19985
20031
|
),
|
|
19986
|
-
/* @__PURE__ */ i.jsx(
|
|
20032
|
+
/* @__PURE__ */ i.jsx(_, { name: "accountHolderUsOtherClassification", label: !0 }),
|
|
19987
20033
|
/* @__PURE__ */ i.jsx(
|
|
19988
20034
|
W,
|
|
19989
20035
|
{
|
|
@@ -20027,7 +20073,7 @@ const Ar = {
|
|
|
20027
20073
|
]
|
|
20028
20074
|
}
|
|
20029
20075
|
);
|
|
20030
|
-
},
|
|
20076
|
+
}, jo = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(yo, {}) }), Ga = ({
|
|
20031
20077
|
prompt: e,
|
|
20032
20078
|
prefix: a,
|
|
20033
20079
|
showIf: n = !0
|
|
@@ -20038,23 +20084,23 @@ const Ar = {
|
|
|
20038
20084
|
getLocalCountry: s,
|
|
20039
20085
|
getLocalCaProvince: l,
|
|
20040
20086
|
getLocalUsState: d
|
|
20041
|
-
} = E(), m = r[`${a}Country`], h =
|
|
20042
|
-
() => ra.map((
|
|
20043
|
-
...
|
|
20044
|
-
label: s(
|
|
20045
|
-
})).sort((
|
|
20087
|
+
} = E(), m = r[`${a}Country`], h = ee(
|
|
20088
|
+
() => ra.map((p) => ({
|
|
20089
|
+
...p,
|
|
20090
|
+
label: s(p.value)
|
|
20091
|
+
})).sort((p, f) => p.label.localeCompare(f.label)),
|
|
20046
20092
|
[s]
|
|
20047
|
-
),
|
|
20048
|
-
() =>
|
|
20049
|
-
...
|
|
20050
|
-
label: d(
|
|
20051
|
-
})).sort((
|
|
20093
|
+
), g = ee(
|
|
20094
|
+
() => Jt.map((p) => ({
|
|
20095
|
+
...p,
|
|
20096
|
+
label: d(p.value)
|
|
20097
|
+
})).sort((p, f) => p.label.localeCompare(f.label)),
|
|
20052
20098
|
[d]
|
|
20053
|
-
), c =
|
|
20054
|
-
() =>
|
|
20055
|
-
...
|
|
20056
|
-
label: l(
|
|
20057
|
-
})).sort((
|
|
20099
|
+
), c = ee(
|
|
20100
|
+
() => Mt.map((p) => ({
|
|
20101
|
+
...p,
|
|
20102
|
+
label: l(p.value)
|
|
20103
|
+
})).sort((p, f) => p.label.localeCompare(f.label)),
|
|
20058
20104
|
[l]
|
|
20059
20105
|
);
|
|
20060
20106
|
return /* @__PURE__ */ i.jsxs(oe, { title: e, showIf: n, children: [
|
|
@@ -20067,30 +20113,30 @@ const Ar = {
|
|
|
20067
20113
|
label: !0
|
|
20068
20114
|
}
|
|
20069
20115
|
),
|
|
20070
|
-
/* @__PURE__ */ i.jsx(
|
|
20071
|
-
/* @__PURE__ */ i.jsx(
|
|
20072
|
-
/* @__PURE__ */ i.jsx(
|
|
20073
|
-
m !== "CA" && m !== "US" ? /* @__PURE__ */ i.jsx(
|
|
20116
|
+
/* @__PURE__ */ i.jsx(_, { name: `${a}Street`, label: !0 }),
|
|
20117
|
+
/* @__PURE__ */ i.jsx(_, { name: `${a}Street2`, label: !0 }),
|
|
20118
|
+
/* @__PURE__ */ i.jsx(_, { name: `${a}City`, label: !0 }),
|
|
20119
|
+
m !== "CA" && m !== "US" ? /* @__PURE__ */ i.jsx(_, { label: !0, name: `${a}State` }) : /* @__PURE__ */ i.jsx(
|
|
20074
20120
|
le,
|
|
20075
20121
|
{
|
|
20076
20122
|
name: `${a}State`,
|
|
20077
20123
|
className: "taxbit-state",
|
|
20078
|
-
options: m === "CA" ? c :
|
|
20124
|
+
options: m === "CA" ? c : g,
|
|
20079
20125
|
label: !0
|
|
20080
20126
|
}
|
|
20081
20127
|
),
|
|
20082
|
-
/* @__PURE__ */ i.jsx(
|
|
20128
|
+
/* @__PURE__ */ i.jsx(_, { name: `${a}Zip`, label: !0 })
|
|
20083
20129
|
] });
|
|
20084
|
-
},
|
|
20130
|
+
}, Oo = ({
|
|
20085
20131
|
name: e,
|
|
20086
20132
|
label: a,
|
|
20087
20133
|
subLabel: n
|
|
20088
|
-
}) => /* @__PURE__ */ i.jsx(
|
|
20089
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: o, getTitleKey: s } =
|
|
20090
|
-
() => ra.map((
|
|
20091
|
-
...
|
|
20092
|
-
label: d(
|
|
20093
|
-
})).sort((
|
|
20134
|
+
}) => /* @__PURE__ */ i.jsx(A, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(Ao, { name: e }) }), zo = () => {
|
|
20135
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: o, getTitleKey: s } = ae(), { fields: l, getLocalCountry: d, getLocalTitle: m } = E(), h = ee(
|
|
20136
|
+
() => ra.map((g) => ({
|
|
20137
|
+
...g,
|
|
20138
|
+
label: d(g.value)
|
|
20139
|
+
})).sort((g, c) => g.label.localeCompare(c.label)),
|
|
20094
20140
|
[d]
|
|
20095
20141
|
);
|
|
20096
20142
|
return /* @__PURE__ */ i.jsxs(
|
|
@@ -20111,15 +20157,15 @@ const Ar = {
|
|
|
20111
20157
|
}
|
|
20112
20158
|
),
|
|
20113
20159
|
/* @__PURE__ */ i.jsx(
|
|
20114
|
-
|
|
20160
|
+
_,
|
|
20115
20161
|
{
|
|
20116
20162
|
label: !0,
|
|
20117
20163
|
name: "accountHolderName",
|
|
20118
20164
|
syncName: "accountHolderFinancialAccountName"
|
|
20119
20165
|
}
|
|
20120
20166
|
),
|
|
20121
|
-
/* @__PURE__ */ i.jsx(
|
|
20122
|
-
/* @__PURE__ */ i.jsx(
|
|
20167
|
+
/* @__PURE__ */ i.jsx(_, { label: !0, name: "accountHolderDbaName" }),
|
|
20168
|
+
/* @__PURE__ */ i.jsx(Oo, { name: "accountHolderDateOfBirth", label: !0 }),
|
|
20123
20169
|
/* @__PURE__ */ i.jsx(
|
|
20124
20170
|
Ga,
|
|
20125
20171
|
{
|
|
@@ -20128,7 +20174,7 @@ const Ar = {
|
|
|
20128
20174
|
showIf: l.accountHolderIsEuResident === "yes" || o || r
|
|
20129
20175
|
}
|
|
20130
20176
|
),
|
|
20131
|
-
/* @__PURE__ */ i.jsx(
|
|
20177
|
+
/* @__PURE__ */ i.jsx(D, { name: "accountHolderMailingAddressIsDifferent", label: !0 }),
|
|
20132
20178
|
/* @__PURE__ */ i.jsx(
|
|
20133
20179
|
Ga,
|
|
20134
20180
|
{
|
|
@@ -20149,81 +20195,81 @@ const Ar = {
|
|
|
20149
20195
|
]
|
|
20150
20196
|
}
|
|
20151
20197
|
);
|
|
20152
|
-
},
|
|
20198
|
+
}, Eo = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(zo, {}) }), ta = ({
|
|
20153
20199
|
index: e,
|
|
20154
20200
|
showIf: a = !0,
|
|
20155
20201
|
onShow: n,
|
|
20156
20202
|
more: r,
|
|
20157
20203
|
countryOptions: o
|
|
20158
20204
|
}) => {
|
|
20159
|
-
const { fields: s, getLocalTitle: l, hideField: d, clearIfNotRequired: m } = E(), h = `accountHolderTaxResidenceCountry${e}`,
|
|
20205
|
+
const { fields: s, getLocalTitle: l, hideField: d, clearIfNotRequired: m } = E(), h = `accountHolderTaxResidenceCountry${e}`, g = `accountHolderTaxResidenceForeignTin${e}`, c = `accountHolderTaxResidenceForeignTin${e}IsNotRequired`, p = `accountHolderShowTaxResidence${e + 1}`, f = `taxResidence${e}`, N = [
|
|
20160
20206
|
s.accountHolderTaxResidenceCountry1,
|
|
20161
20207
|
s.accountHolderTaxResidenceCountry2,
|
|
20162
20208
|
s.accountHolderTaxResidenceCountry3,
|
|
20163
20209
|
s.accountHolderTaxResidenceCountry4,
|
|
20164
20210
|
s.accountHolderTaxResidenceCountry5
|
|
20165
20211
|
].filter(
|
|
20166
|
-
(
|
|
20167
|
-
),
|
|
20168
|
-
(
|
|
20212
|
+
(y) => y !== s[`accountHolderTaxResidenceCountry${e}`]
|
|
20213
|
+
), T = o.filter(
|
|
20214
|
+
(y) => !N.includes(y.value)
|
|
20169
20215
|
);
|
|
20170
|
-
return
|
|
20171
|
-
a ? n && n() : (d(h), d(
|
|
20216
|
+
return Y(() => {
|
|
20217
|
+
a ? n && n() : (d(h), d(g), d(c), d(p));
|
|
20172
20218
|
}, [
|
|
20173
20219
|
h,
|
|
20174
20220
|
d,
|
|
20175
20221
|
c,
|
|
20176
20222
|
n,
|
|
20177
20223
|
a,
|
|
20178
|
-
|
|
20179
|
-
|
|
20180
|
-
]), a ? /* @__PURE__ */ i.jsxs(oe, { title: l(
|
|
20224
|
+
g,
|
|
20225
|
+
p
|
|
20226
|
+
]), a ? /* @__PURE__ */ i.jsxs(oe, { title: l(f), showIf: a, children: [
|
|
20181
20227
|
/* @__PURE__ */ i.jsx(
|
|
20182
20228
|
le,
|
|
20183
20229
|
{
|
|
20184
20230
|
name: h,
|
|
20185
20231
|
className: "taxbit-country",
|
|
20186
|
-
options:
|
|
20232
|
+
options: T,
|
|
20187
20233
|
label: !0
|
|
20188
20234
|
}
|
|
20189
20235
|
),
|
|
20190
20236
|
/* @__PURE__ */ i.jsx(
|
|
20191
|
-
|
|
20237
|
+
ve,
|
|
20192
20238
|
{
|
|
20193
|
-
name:
|
|
20239
|
+
name: g,
|
|
20194
20240
|
label: !0,
|
|
20195
20241
|
disabled: s[c] === "yes"
|
|
20196
20242
|
}
|
|
20197
20243
|
),
|
|
20198
20244
|
/* @__PURE__ */ i.jsx(
|
|
20199
|
-
|
|
20245
|
+
D,
|
|
20200
20246
|
{
|
|
20201
20247
|
label: !0,
|
|
20202
20248
|
name: c,
|
|
20203
|
-
onClick: m(
|
|
20249
|
+
onClick: m(g)
|
|
20204
20250
|
}
|
|
20205
20251
|
),
|
|
20206
|
-
r ? /* @__PURE__ */ i.jsx($a, { children: /* @__PURE__ */ i.jsx(
|
|
20252
|
+
r ? /* @__PURE__ */ i.jsx($a, { children: /* @__PURE__ */ i.jsx(So, { name: p }) }) : null
|
|
20207
20253
|
] }) : null;
|
|
20208
|
-
},
|
|
20209
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n, getTitleKey: r } =
|
|
20254
|
+
}, Bo = () => {
|
|
20255
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n, getTitleKey: r } = ae(), {
|
|
20210
20256
|
fields: o,
|
|
20211
20257
|
getLocalTitle: s,
|
|
20212
20258
|
getLocalSubTitle: l,
|
|
20213
20259
|
getLocalCountry: d,
|
|
20214
20260
|
clearIfNotRequired: m,
|
|
20215
20261
|
setValue: h
|
|
20216
|
-
} = E(),
|
|
20217
|
-
() =>
|
|
20218
|
-
...
|
|
20219
|
-
label: d(
|
|
20220
|
-
})).sort((
|
|
20262
|
+
} = E(), g = ee(
|
|
20263
|
+
() => jt.map((p) => ({
|
|
20264
|
+
...p,
|
|
20265
|
+
label: d(p.value)
|
|
20266
|
+
})).sort((p, f) => p.label.localeCompare(f.label)),
|
|
20221
20267
|
[d]
|
|
20222
|
-
), c =
|
|
20223
|
-
() => ra.map((
|
|
20224
|
-
...
|
|
20225
|
-
label: d(
|
|
20226
|
-
})).sort((
|
|
20268
|
+
), c = ee(
|
|
20269
|
+
() => ra.map((p) => ({
|
|
20270
|
+
...p,
|
|
20271
|
+
label: d(p.value)
|
|
20272
|
+
})).sort((p, f) => p.label.localeCompare(f.label)),
|
|
20227
20273
|
[d]
|
|
20228
20274
|
);
|
|
20229
20275
|
return /* @__PURE__ */ i.jsxs(
|
|
@@ -20233,9 +20279,9 @@ const Ar = {
|
|
|
20233
20279
|
className: "taxbit-form-account-holder-tax-information",
|
|
20234
20280
|
children: [
|
|
20235
20281
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20236
|
-
/* @__PURE__ */ i.jsx(
|
|
20282
|
+
/* @__PURE__ */ i.jsx(ve, { name: "accountHolderUsTin", label: !0 }),
|
|
20237
20283
|
/* @__PURE__ */ i.jsx(
|
|
20238
|
-
|
|
20284
|
+
ve,
|
|
20239
20285
|
{
|
|
20240
20286
|
name: "accountHolderForeignTin",
|
|
20241
20287
|
disabled: o.accountHolderForeignTinIsNotRequired === "yes",
|
|
@@ -20243,7 +20289,7 @@ const Ar = {
|
|
|
20243
20289
|
}
|
|
20244
20290
|
),
|
|
20245
20291
|
/* @__PURE__ */ i.jsx(
|
|
20246
|
-
|
|
20292
|
+
D,
|
|
20247
20293
|
{
|
|
20248
20294
|
name: "accountHolderForeignTinIsNotRequired",
|
|
20249
20295
|
onClick: m("accountHolderForeignTin"),
|
|
@@ -20251,27 +20297,27 @@ const Ar = {
|
|
|
20251
20297
|
}
|
|
20252
20298
|
),
|
|
20253
20299
|
/* @__PURE__ */ i.jsx(
|
|
20254
|
-
|
|
20300
|
+
ve,
|
|
20255
20301
|
{
|
|
20256
20302
|
name: "accountHolderFinancialAccountIdentifier",
|
|
20257
20303
|
label: !0,
|
|
20258
20304
|
subLabel: !0
|
|
20259
20305
|
}
|
|
20260
20306
|
),
|
|
20261
|
-
/* @__PURE__ */ i.jsx(
|
|
20307
|
+
/* @__PURE__ */ i.jsx(_, { name: "accountHolderFinancialAccountName", label: !0, subLabel: !0 }),
|
|
20262
20308
|
/* @__PURE__ */ i.jsxs(oe, { showIf: o.accountHolderIsEuResident === "yes", children: [
|
|
20263
20309
|
/* @__PURE__ */ i.jsx(
|
|
20264
20310
|
le,
|
|
20265
20311
|
{
|
|
20266
20312
|
name: "accountHolderVatCountry",
|
|
20267
20313
|
className: "taxbit-country",
|
|
20268
|
-
options:
|
|
20314
|
+
options: g,
|
|
20269
20315
|
disabled: o.accountHolderVatIsNotRequired === "yes",
|
|
20270
20316
|
label: !0
|
|
20271
20317
|
}
|
|
20272
20318
|
),
|
|
20273
20319
|
/* @__PURE__ */ i.jsx(
|
|
20274
|
-
|
|
20320
|
+
ve,
|
|
20275
20321
|
{
|
|
20276
20322
|
name: "accountHolderVatIdentificationNumber",
|
|
20277
20323
|
disabled: o.accountHolderVatIsNotRequired === "yes",
|
|
@@ -20280,7 +20326,7 @@ const Ar = {
|
|
|
20280
20326
|
}
|
|
20281
20327
|
),
|
|
20282
20328
|
/* @__PURE__ */ i.jsx(
|
|
20283
|
-
|
|
20329
|
+
D,
|
|
20284
20330
|
{
|
|
20285
20331
|
label: !0,
|
|
20286
20332
|
name: "accountHolderVatIsNotRequired",
|
|
@@ -20302,7 +20348,7 @@ const Ar = {
|
|
|
20302
20348
|
}
|
|
20303
20349
|
),
|
|
20304
20350
|
/* @__PURE__ */ i.jsx(
|
|
20305
|
-
|
|
20351
|
+
ve,
|
|
20306
20352
|
{
|
|
20307
20353
|
name: "accountHolderBusinessRegistrationNumber",
|
|
20308
20354
|
label: !0
|
|
@@ -20382,8 +20428,8 @@ const Ar = {
|
|
|
20382
20428
|
]
|
|
20383
20429
|
}
|
|
20384
20430
|
);
|
|
20385
|
-
}, Ro = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(
|
|
20386
|
-
const { getLocalCountry: e, getLocalTitle: a, getLocalSubPrompt: n } = E(), r =
|
|
20431
|
+
}, Ro = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Bo, {}) }), Po = () => {
|
|
20432
|
+
const { getLocalCountry: e, getLocalTitle: a, getLocalSubPrompt: n } = E(), r = ee(
|
|
20387
20433
|
() => ra.map((o) => ({
|
|
20388
20434
|
...o,
|
|
20389
20435
|
label: e(o.value)
|
|
@@ -20396,7 +20442,7 @@ const Ar = {
|
|
|
20396
20442
|
title: a("placeOfBirth"),
|
|
20397
20443
|
subTitle: n("accountHolderCityOfBirth"),
|
|
20398
20444
|
children: [
|
|
20399
|
-
/* @__PURE__ */ i.jsx(
|
|
20445
|
+
/* @__PURE__ */ i.jsx(_, { label: !0, name: "accountHolderCityOfBirth" }),
|
|
20400
20446
|
/* @__PURE__ */ i.jsx(
|
|
20401
20447
|
le,
|
|
20402
20448
|
{
|
|
@@ -20408,8 +20454,8 @@ const Ar = {
|
|
|
20408
20454
|
]
|
|
20409
20455
|
}
|
|
20410
20456
|
);
|
|
20411
|
-
},
|
|
20412
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n, getTitleKey: r } =
|
|
20457
|
+
}, wo = () => {
|
|
20458
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n, getTitleKey: r } = ae(), { fields: o, getLocalTitle: s } = E();
|
|
20413
20459
|
return /* @__PURE__ */ i.jsxs(
|
|
20414
20460
|
ke,
|
|
20415
20461
|
{
|
|
@@ -20418,7 +20464,7 @@ const Ar = {
|
|
|
20418
20464
|
),
|
|
20419
20465
|
className: "taxbit-form-account-holder-tax-clarification",
|
|
20420
20466
|
children: [
|
|
20421
|
-
/* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(
|
|
20467
|
+
/* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(Po, {}) }),
|
|
20422
20468
|
/* @__PURE__ */ i.jsx(
|
|
20423
20469
|
he,
|
|
20424
20470
|
{
|
|
@@ -20430,11 +20476,11 @@ const Ar = {
|
|
|
20430
20476
|
]
|
|
20431
20477
|
}
|
|
20432
20478
|
);
|
|
20433
|
-
},
|
|
20479
|
+
}, Ho = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(wo, {}) }), Lo = () => {
|
|
20434
20480
|
const { getLocalText: e } = E();
|
|
20435
20481
|
return /* @__PURE__ */ i.jsx("div", { children: e("interviewIsComplete") });
|
|
20436
|
-
},
|
|
20437
|
-
const { onPersistCollectedData: e, goBack: a, getTitleKey: n } =
|
|
20482
|
+
}, Go = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Lo, {}) }), xo = () => {
|
|
20483
|
+
const { onPersistCollectedData: e, goBack: a, getTitleKey: n } = ae(), { fields: r, getLocalTitle: o } = E();
|
|
20438
20484
|
return /* @__PURE__ */ i.jsxs(
|
|
20439
20485
|
ke,
|
|
20440
20486
|
{
|
|
@@ -20442,15 +20488,15 @@ const Ar = {
|
|
|
20442
20488
|
className: "taxbit-form-account-holder-exemptions",
|
|
20443
20489
|
children: [
|
|
20444
20490
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20445
|
-
/* @__PURE__ */ i.jsx(le, { name: "exemptFatcaCode", options:
|
|
20446
|
-
/* @__PURE__ */ i.jsx(le, { name: "exemptPayeeCode", options:
|
|
20491
|
+
/* @__PURE__ */ i.jsx(le, { name: "exemptFatcaCode", options: Et, label: !0 }),
|
|
20492
|
+
/* @__PURE__ */ i.jsx(le, { name: "exemptPayeeCode", options: Dt, label: !0 })
|
|
20447
20493
|
] }),
|
|
20448
20494
|
/* @__PURE__ */ i.jsx(he, { onBack: a, onNext: () => e(r) })
|
|
20449
20495
|
]
|
|
20450
20496
|
}
|
|
20451
20497
|
);
|
|
20452
|
-
}, Uo = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(xo, {}) }),
|
|
20453
|
-
const { fields: e, getLocalTitle: a, getLocalOption: n } = E(), { onPersistCollectedData: r, goBack: o } =
|
|
20498
|
+
}, Uo = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(xo, {}) }), Do = () => {
|
|
20499
|
+
const { fields: e, getLocalTitle: a, getLocalOption: n } = E(), { onPersistCollectedData: r, goBack: o } = ae(), s = ze.map((l) => ({
|
|
20454
20500
|
...l,
|
|
20455
20501
|
label: n(`usPerson_${l.value}`)
|
|
20456
20502
|
}));
|
|
@@ -20473,7 +20519,7 @@ const Ar = {
|
|
|
20473
20519
|
W,
|
|
20474
20520
|
{
|
|
20475
20521
|
name: "regardedOwnerUsAccountType",
|
|
20476
|
-
options:
|
|
20522
|
+
options: Vt,
|
|
20477
20523
|
label: !0
|
|
20478
20524
|
}
|
|
20479
20525
|
),
|
|
@@ -20481,7 +20527,7 @@ const Ar = {
|
|
|
20481
20527
|
W,
|
|
20482
20528
|
{
|
|
20483
20529
|
name: "regardedOwnerForeignAccountType",
|
|
20484
|
-
options:
|
|
20530
|
+
options: Pt,
|
|
20485
20531
|
label: !0
|
|
20486
20532
|
}
|
|
20487
20533
|
),
|
|
@@ -20493,7 +20539,7 @@ const Ar = {
|
|
|
20493
20539
|
label: !0
|
|
20494
20540
|
}
|
|
20495
20541
|
),
|
|
20496
|
-
/* @__PURE__ */ i.jsx(
|
|
20542
|
+
/* @__PURE__ */ i.jsx(_, { name: "regardedOwnerUsOtherClassification", label: !0 }),
|
|
20497
20543
|
/* @__PURE__ */ i.jsx(
|
|
20498
20544
|
W,
|
|
20499
20545
|
{
|
|
@@ -20523,8 +20569,8 @@ const Ar = {
|
|
|
20523
20569
|
]
|
|
20524
20570
|
}
|
|
20525
20571
|
);
|
|
20526
|
-
},
|
|
20527
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n } =
|
|
20572
|
+
}, Fo = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Do, {}) }), Ko = () => {
|
|
20573
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n } = ae(), { fields: r, getLocalCountry: o, getLocalTitle: s } = E(), l = ee(
|
|
20528
20574
|
() => ra.map((d) => ({
|
|
20529
20575
|
...d,
|
|
20530
20576
|
label: o(d.value)
|
|
@@ -20546,8 +20592,8 @@ const Ar = {
|
|
|
20546
20592
|
options: l
|
|
20547
20593
|
}
|
|
20548
20594
|
),
|
|
20549
|
-
/* @__PURE__ */ i.jsx(
|
|
20550
|
-
/* @__PURE__ */ i.jsx(
|
|
20595
|
+
/* @__PURE__ */ i.jsx(_, { label: !0, name: "regardedOwnerName" }),
|
|
20596
|
+
/* @__PURE__ */ i.jsx(_, { label: !0, name: "regardedOwnerDbaName" }),
|
|
20551
20597
|
/* @__PURE__ */ i.jsx(
|
|
20552
20598
|
Ga,
|
|
20553
20599
|
{
|
|
@@ -20555,7 +20601,7 @@ const Ar = {
|
|
|
20555
20601
|
prefix: "regardedOwnerAddress"
|
|
20556
20602
|
}
|
|
20557
20603
|
),
|
|
20558
|
-
/* @__PURE__ */ i.jsx(
|
|
20604
|
+
/* @__PURE__ */ i.jsx(D, { name: "regardedOwnerMailingAddressIsDifferent", label: !0 }),
|
|
20559
20605
|
/* @__PURE__ */ i.jsx(
|
|
20560
20606
|
Ga,
|
|
20561
20607
|
{
|
|
@@ -20576,8 +20622,8 @@ const Ar = {
|
|
|
20576
20622
|
]
|
|
20577
20623
|
}
|
|
20578
20624
|
);
|
|
20579
|
-
},
|
|
20580
|
-
const { onPersistCollectedData: e, goBack: a } =
|
|
20625
|
+
}, Vo = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Ko, {}) }), Wo = () => {
|
|
20626
|
+
const { onPersistCollectedData: e, goBack: a } = ae(), { fields: n, getLocalTitle: r, clearIfNotRequired: o } = E();
|
|
20581
20627
|
return /* @__PURE__ */ i.jsxs(
|
|
20582
20628
|
ke,
|
|
20583
20629
|
{
|
|
@@ -20585,10 +20631,10 @@ const Ar = {
|
|
|
20585
20631
|
className: `taxbit-form-${oa("regardedOwnerTaxInformation")}`,
|
|
20586
20632
|
children: [
|
|
20587
20633
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20588
|
-
/* @__PURE__ */ i.jsx(
|
|
20589
|
-
/* @__PURE__ */ i.jsx(
|
|
20634
|
+
/* @__PURE__ */ i.jsx(ve, { name: "regardedOwnerUsTin", label: !0 }),
|
|
20635
|
+
/* @__PURE__ */ i.jsx(ve, { name: "regardedOwnerForeignTin", label: !0 }),
|
|
20590
20636
|
/* @__PURE__ */ i.jsx(
|
|
20591
|
-
|
|
20637
|
+
D,
|
|
20592
20638
|
{
|
|
20593
20639
|
name: "regardedOwnerForeignTinIsNotRequired",
|
|
20594
20640
|
label: !0,
|
|
@@ -20600,7 +20646,7 @@ const Ar = {
|
|
|
20600
20646
|
]
|
|
20601
20647
|
}
|
|
20602
20648
|
);
|
|
20603
|
-
},
|
|
20649
|
+
}, Jo = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(Wo, {}) }), $ = ({ text: e }) => {
|
|
20604
20650
|
const n = ((r) => {
|
|
20605
20651
|
if (!r)
|
|
20606
20652
|
return "";
|
|
@@ -20608,8 +20654,8 @@ const Ar = {
|
|
|
20608
20654
|
return "*".repeat(o) + r.substring(o);
|
|
20609
20655
|
})(e);
|
|
20610
20656
|
return /* @__PURE__ */ i.jsx("span", { children: n });
|
|
20611
|
-
},
|
|
20612
|
-
const { data: e, editTo: a } =
|
|
20657
|
+
}, Zo = () => {
|
|
20658
|
+
const { data: e, editTo: a } = ae(), {
|
|
20613
20659
|
getLocalTitle: n,
|
|
20614
20660
|
getLocalOption: r,
|
|
20615
20661
|
getLocalCountry: o,
|
|
@@ -20619,7 +20665,7 @@ const Ar = {
|
|
|
20619
20665
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
20620
20666
|
/* @__PURE__ */ i.jsxs(oe, { title: n("accountHolder"), children: [
|
|
20621
20667
|
/* @__PURE__ */ i.jsx(
|
|
20622
|
-
|
|
20668
|
+
A,
|
|
20623
20669
|
{
|
|
20624
20670
|
label: !0,
|
|
20625
20671
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20628,7 +20674,7 @@ const Ar = {
|
|
|
20628
20674
|
}
|
|
20629
20675
|
),
|
|
20630
20676
|
/* @__PURE__ */ i.jsx(
|
|
20631
|
-
|
|
20677
|
+
A,
|
|
20632
20678
|
{
|
|
20633
20679
|
label: !0,
|
|
20634
20680
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20637,7 +20683,7 @@ const Ar = {
|
|
|
20637
20683
|
}
|
|
20638
20684
|
),
|
|
20639
20685
|
/* @__PURE__ */ i.jsx(
|
|
20640
|
-
|
|
20686
|
+
A,
|
|
20641
20687
|
{
|
|
20642
20688
|
label: !0,
|
|
20643
20689
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20646,7 +20692,7 @@ const Ar = {
|
|
|
20646
20692
|
}
|
|
20647
20693
|
),
|
|
20648
20694
|
/* @__PURE__ */ i.jsx(
|
|
20649
|
-
|
|
20695
|
+
A,
|
|
20650
20696
|
{
|
|
20651
20697
|
label: !0,
|
|
20652
20698
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20655,7 +20701,7 @@ const Ar = {
|
|
|
20655
20701
|
}
|
|
20656
20702
|
),
|
|
20657
20703
|
/* @__PURE__ */ i.jsx(
|
|
20658
|
-
|
|
20704
|
+
A,
|
|
20659
20705
|
{
|
|
20660
20706
|
label: !0,
|
|
20661
20707
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20664,7 +20710,7 @@ const Ar = {
|
|
|
20664
20710
|
}
|
|
20665
20711
|
),
|
|
20666
20712
|
/* @__PURE__ */ i.jsx(
|
|
20667
|
-
|
|
20713
|
+
A,
|
|
20668
20714
|
{
|
|
20669
20715
|
label: !0,
|
|
20670
20716
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20673,7 +20719,7 @@ const Ar = {
|
|
|
20673
20719
|
}
|
|
20674
20720
|
),
|
|
20675
20721
|
/* @__PURE__ */ i.jsx(
|
|
20676
|
-
|
|
20722
|
+
A,
|
|
20677
20723
|
{
|
|
20678
20724
|
label: !0,
|
|
20679
20725
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20682,7 +20728,7 @@ const Ar = {
|
|
|
20682
20728
|
}
|
|
20683
20729
|
),
|
|
20684
20730
|
/* @__PURE__ */ i.jsx(
|
|
20685
|
-
|
|
20731
|
+
A,
|
|
20686
20732
|
{
|
|
20687
20733
|
label: !0,
|
|
20688
20734
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20691,7 +20737,7 @@ const Ar = {
|
|
|
20691
20737
|
}
|
|
20692
20738
|
),
|
|
20693
20739
|
/* @__PURE__ */ i.jsx(
|
|
20694
|
-
|
|
20740
|
+
A,
|
|
20695
20741
|
{
|
|
20696
20742
|
label: !0,
|
|
20697
20743
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20700,7 +20746,7 @@ const Ar = {
|
|
|
20700
20746
|
}
|
|
20701
20747
|
),
|
|
20702
20748
|
/* @__PURE__ */ i.jsx(
|
|
20703
|
-
|
|
20749
|
+
A,
|
|
20704
20750
|
{
|
|
20705
20751
|
label: !0,
|
|
20706
20752
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20709,7 +20755,7 @@ const Ar = {
|
|
|
20709
20755
|
}
|
|
20710
20756
|
),
|
|
20711
20757
|
/* @__PURE__ */ i.jsx(
|
|
20712
|
-
|
|
20758
|
+
A,
|
|
20713
20759
|
{
|
|
20714
20760
|
label: !0,
|
|
20715
20761
|
onEdit: () => a("AccountHolderClassification"),
|
|
@@ -20718,7 +20764,7 @@ const Ar = {
|
|
|
20718
20764
|
}
|
|
20719
20765
|
),
|
|
20720
20766
|
/* @__PURE__ */ i.jsx(
|
|
20721
|
-
|
|
20767
|
+
A,
|
|
20722
20768
|
{
|
|
20723
20769
|
label: !0,
|
|
20724
20770
|
name: "accountHolderName",
|
|
@@ -20727,7 +20773,7 @@ const Ar = {
|
|
|
20727
20773
|
}
|
|
20728
20774
|
),
|
|
20729
20775
|
/* @__PURE__ */ i.jsx(
|
|
20730
|
-
|
|
20776
|
+
A,
|
|
20731
20777
|
{
|
|
20732
20778
|
label: !0,
|
|
20733
20779
|
name: "accountHolderCountryOfCitizenship",
|
|
@@ -20736,7 +20782,7 @@ const Ar = {
|
|
|
20736
20782
|
}
|
|
20737
20783
|
),
|
|
20738
20784
|
/* @__PURE__ */ i.jsx(
|
|
20739
|
-
|
|
20785
|
+
A,
|
|
20740
20786
|
{
|
|
20741
20787
|
label: !0,
|
|
20742
20788
|
name: "accountHolderDateOfBirth",
|
|
@@ -20745,7 +20791,7 @@ const Ar = {
|
|
|
20745
20791
|
}
|
|
20746
20792
|
),
|
|
20747
20793
|
/* @__PURE__ */ i.jsx(
|
|
20748
|
-
|
|
20794
|
+
A,
|
|
20749
20795
|
{
|
|
20750
20796
|
label: !0,
|
|
20751
20797
|
name: "accountHolderCityOfBirth",
|
|
@@ -20754,7 +20800,7 @@ const Ar = {
|
|
|
20754
20800
|
}
|
|
20755
20801
|
),
|
|
20756
20802
|
/* @__PURE__ */ i.jsx(
|
|
20757
|
-
|
|
20803
|
+
A,
|
|
20758
20804
|
{
|
|
20759
20805
|
label: !0,
|
|
20760
20806
|
name: "accountHolderCountryOfBirth",
|
|
@@ -20763,7 +20809,7 @@ const Ar = {
|
|
|
20763
20809
|
}
|
|
20764
20810
|
),
|
|
20765
20811
|
/* @__PURE__ */ i.jsx(
|
|
20766
|
-
|
|
20812
|
+
A,
|
|
20767
20813
|
{
|
|
20768
20814
|
label: !0,
|
|
20769
20815
|
name: "accountHolderDbaName",
|
|
@@ -20786,25 +20832,25 @@ const Ar = {
|
|
|
20786
20832
|
}
|
|
20787
20833
|
),
|
|
20788
20834
|
/* @__PURE__ */ i.jsx(
|
|
20789
|
-
|
|
20835
|
+
A,
|
|
20790
20836
|
{
|
|
20791
20837
|
label: !0,
|
|
20792
20838
|
name: "accountHolderUsTin",
|
|
20793
20839
|
onEdit: () => a("AccountHolderTax"),
|
|
20794
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20840
|
+
children: /* @__PURE__ */ i.jsx($, { text: e == null ? void 0 : e.accountHolderUsTin })
|
|
20795
20841
|
}
|
|
20796
20842
|
),
|
|
20797
20843
|
/* @__PURE__ */ i.jsx(
|
|
20798
|
-
|
|
20844
|
+
A,
|
|
20799
20845
|
{
|
|
20800
20846
|
label: !0,
|
|
20801
20847
|
name: "accountHolderForeignTin",
|
|
20802
20848
|
onEdit: () => a("AccountHolderTax"),
|
|
20803
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20849
|
+
children: /* @__PURE__ */ i.jsx($, { text: e == null ? void 0 : e.accountHolderForeignTin })
|
|
20804
20850
|
}
|
|
20805
20851
|
),
|
|
20806
20852
|
/* @__PURE__ */ i.jsx(
|
|
20807
|
-
|
|
20853
|
+
A,
|
|
20808
20854
|
{
|
|
20809
20855
|
label: !0,
|
|
20810
20856
|
name: "accountHolderForeignTinIsNotRequired",
|
|
@@ -20813,16 +20859,16 @@ const Ar = {
|
|
|
20813
20859
|
}
|
|
20814
20860
|
),
|
|
20815
20861
|
/* @__PURE__ */ i.jsx(
|
|
20816
|
-
|
|
20862
|
+
A,
|
|
20817
20863
|
{
|
|
20818
20864
|
label: !0,
|
|
20819
20865
|
name: "accountHolderFinancialAccountIdentifier",
|
|
20820
20866
|
onEdit: () => a("AccountHolderTax"),
|
|
20821
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20867
|
+
children: /* @__PURE__ */ i.jsx($, { text: e == null ? void 0 : e.accountHolderFinancialAccountIdentifier })
|
|
20822
20868
|
}
|
|
20823
20869
|
),
|
|
20824
20870
|
/* @__PURE__ */ i.jsx(
|
|
20825
|
-
|
|
20871
|
+
A,
|
|
20826
20872
|
{
|
|
20827
20873
|
label: !0,
|
|
20828
20874
|
name: "accountHolderFinancialAccountName",
|
|
@@ -20831,7 +20877,7 @@ const Ar = {
|
|
|
20831
20877
|
}
|
|
20832
20878
|
),
|
|
20833
20879
|
/* @__PURE__ */ i.jsx(
|
|
20834
|
-
|
|
20880
|
+
A,
|
|
20835
20881
|
{
|
|
20836
20882
|
name: "accountHolderVatCountry",
|
|
20837
20883
|
onEdit: () => a("AccountHolderTax"),
|
|
@@ -20840,16 +20886,16 @@ const Ar = {
|
|
|
20840
20886
|
}
|
|
20841
20887
|
),
|
|
20842
20888
|
/* @__PURE__ */ i.jsx(
|
|
20843
|
-
|
|
20889
|
+
A,
|
|
20844
20890
|
{
|
|
20845
20891
|
name: "accountHolderVatIdentificationNumber",
|
|
20846
20892
|
onEdit: () => a("AccountHolderTax"),
|
|
20847
20893
|
label: !0,
|
|
20848
|
-
children: (e == null ? void 0 : e.accountHolderVatIsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20894
|
+
children: (e == null ? void 0 : e.accountHolderVatIsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx($, { text: e == null ? void 0 : e.accountHolderVatIdentificationNumber })
|
|
20849
20895
|
}
|
|
20850
20896
|
),
|
|
20851
20897
|
/* @__PURE__ */ i.jsx(
|
|
20852
|
-
|
|
20898
|
+
A,
|
|
20853
20899
|
{
|
|
20854
20900
|
name: "accountHolderBusinessRegistrationCountry",
|
|
20855
20901
|
onEdit: () => a("AccountHolderTax"),
|
|
@@ -20858,12 +20904,12 @@ const Ar = {
|
|
|
20858
20904
|
}
|
|
20859
20905
|
),
|
|
20860
20906
|
/* @__PURE__ */ i.jsx(
|
|
20861
|
-
|
|
20907
|
+
A,
|
|
20862
20908
|
{
|
|
20863
20909
|
name: "accountHolderBusinessRegistrationNumber",
|
|
20864
20910
|
onEdit: () => a("AccountHolderTax"),
|
|
20865
20911
|
label: !0,
|
|
20866
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20912
|
+
children: /* @__PURE__ */ i.jsx($, { text: e == null ? void 0 : e.accountHolderBusinessRegistrationNumber })
|
|
20867
20913
|
}
|
|
20868
20914
|
),
|
|
20869
20915
|
/* @__PURE__ */ i.jsxs(
|
|
@@ -20874,7 +20920,7 @@ const Ar = {
|
|
|
20874
20920
|
children: [
|
|
20875
20921
|
/* @__PURE__ */ i.jsx(pt, { name: "accountHolderTaxResidences" }),
|
|
20876
20922
|
/* @__PURE__ */ i.jsx(
|
|
20877
|
-
|
|
20923
|
+
A,
|
|
20878
20924
|
{
|
|
20879
20925
|
label: !0,
|
|
20880
20926
|
name: "accountHolderTaxResidenceCountry1",
|
|
@@ -20882,14 +20928,14 @@ const Ar = {
|
|
|
20882
20928
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)
|
|
20883
20929
|
}
|
|
20884
20930
|
),
|
|
20885
|
-
/* @__PURE__ */ i.jsx(
|
|
20886
|
-
|
|
20931
|
+
/* @__PURE__ */ i.jsx(A, { label: !0, name: "accountHolderTaxResidenceForeignTin1", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20932
|
+
$,
|
|
20887
20933
|
{
|
|
20888
20934
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1
|
|
20889
20935
|
}
|
|
20890
20936
|
) }),
|
|
20891
20937
|
/* @__PURE__ */ i.jsx(
|
|
20892
|
-
|
|
20938
|
+
A,
|
|
20893
20939
|
{
|
|
20894
20940
|
label: !0,
|
|
20895
20941
|
name: "accountHolderTaxResidenceCountry2",
|
|
@@ -20897,14 +20943,14 @@ const Ar = {
|
|
|
20897
20943
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)
|
|
20898
20944
|
}
|
|
20899
20945
|
),
|
|
20900
|
-
/* @__PURE__ */ i.jsx(
|
|
20901
|
-
|
|
20946
|
+
/* @__PURE__ */ i.jsx(A, { label: !0, name: "accountHolderTaxResidenceForeignTin2", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20947
|
+
$,
|
|
20902
20948
|
{
|
|
20903
20949
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2
|
|
20904
20950
|
}
|
|
20905
20951
|
) }),
|
|
20906
20952
|
/* @__PURE__ */ i.jsx(
|
|
20907
|
-
|
|
20953
|
+
A,
|
|
20908
20954
|
{
|
|
20909
20955
|
label: !0,
|
|
20910
20956
|
name: "accountHolderTaxResidenceCountry3",
|
|
@@ -20912,14 +20958,14 @@ const Ar = {
|
|
|
20912
20958
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)
|
|
20913
20959
|
}
|
|
20914
20960
|
),
|
|
20915
|
-
/* @__PURE__ */ i.jsx(
|
|
20916
|
-
|
|
20961
|
+
/* @__PURE__ */ i.jsx(A, { label: !0, name: "accountHolderTaxResidenceForeignTin3", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20962
|
+
$,
|
|
20917
20963
|
{
|
|
20918
20964
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3
|
|
20919
20965
|
}
|
|
20920
20966
|
) }),
|
|
20921
20967
|
/* @__PURE__ */ i.jsx(
|
|
20922
|
-
|
|
20968
|
+
A,
|
|
20923
20969
|
{
|
|
20924
20970
|
label: !0,
|
|
20925
20971
|
name: "accountHolderTaxResidenceCountry4",
|
|
@@ -20927,14 +20973,14 @@ const Ar = {
|
|
|
20927
20973
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)
|
|
20928
20974
|
}
|
|
20929
20975
|
),
|
|
20930
|
-
/* @__PURE__ */ i.jsx(
|
|
20931
|
-
|
|
20976
|
+
/* @__PURE__ */ i.jsx(A, { label: !0, name: "accountHolderTaxResidenceForeignTin4", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20977
|
+
$,
|
|
20932
20978
|
{
|
|
20933
20979
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4
|
|
20934
20980
|
}
|
|
20935
20981
|
) }),
|
|
20936
20982
|
/* @__PURE__ */ i.jsx(
|
|
20937
|
-
|
|
20983
|
+
A,
|
|
20938
20984
|
{
|
|
20939
20985
|
label: !0,
|
|
20940
20986
|
name: "accountHolderTaxResidenceCountry5",
|
|
@@ -20942,8 +20988,8 @@ const Ar = {
|
|
|
20942
20988
|
children: o(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)
|
|
20943
20989
|
}
|
|
20944
20990
|
),
|
|
20945
|
-
/* @__PURE__ */ i.jsx(
|
|
20946
|
-
|
|
20991
|
+
/* @__PURE__ */ i.jsx(A, { label: !0, name: "accountHolderTaxResidenceForeignTin5", children: (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5IsNotRequired) == "yes" ? s("notRequired") : /* @__PURE__ */ i.jsx(
|
|
20992
|
+
$,
|
|
20947
20993
|
{
|
|
20948
20994
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5
|
|
20949
20995
|
}
|
|
@@ -20959,7 +21005,7 @@ const Ar = {
|
|
|
20959
21005
|
showIf: !!l.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0,
|
|
20960
21006
|
children: [
|
|
20961
21007
|
/* @__PURE__ */ i.jsx(
|
|
20962
|
-
|
|
21008
|
+
A,
|
|
20963
21009
|
{
|
|
20964
21010
|
label: !0,
|
|
20965
21011
|
name: "regardedOwnerName",
|
|
@@ -20968,7 +21014,7 @@ const Ar = {
|
|
|
20968
21014
|
}
|
|
20969
21015
|
),
|
|
20970
21016
|
/* @__PURE__ */ i.jsx(
|
|
20971
|
-
|
|
21017
|
+
A,
|
|
20972
21018
|
{
|
|
20973
21019
|
label: !0,
|
|
20974
21020
|
name: "regardedOwnerCountryOfCitizenship",
|
|
@@ -20977,7 +21023,7 @@ const Ar = {
|
|
|
20977
21023
|
}
|
|
20978
21024
|
),
|
|
20979
21025
|
/* @__PURE__ */ i.jsx(
|
|
20980
|
-
|
|
21026
|
+
A,
|
|
20981
21027
|
{
|
|
20982
21028
|
label: !0,
|
|
20983
21029
|
name: "regardedOwnerDbaName",
|
|
@@ -20986,7 +21032,7 @@ const Ar = {
|
|
|
20986
21032
|
}
|
|
20987
21033
|
),
|
|
20988
21034
|
/* @__PURE__ */ i.jsx(
|
|
20989
|
-
|
|
21035
|
+
A,
|
|
20990
21036
|
{
|
|
20991
21037
|
label: !0,
|
|
20992
21038
|
onEdit: () => a("RegardedOwnerClassification"),
|
|
@@ -20995,7 +21041,7 @@ const Ar = {
|
|
|
20995
21041
|
}
|
|
20996
21042
|
),
|
|
20997
21043
|
/* @__PURE__ */ i.jsx(
|
|
20998
|
-
|
|
21044
|
+
A,
|
|
20999
21045
|
{
|
|
21000
21046
|
label: !0,
|
|
21001
21047
|
onEdit: () => a("RegardedOwnerClassification"),
|
|
@@ -21018,25 +21064,25 @@ const Ar = {
|
|
|
21018
21064
|
}
|
|
21019
21065
|
),
|
|
21020
21066
|
/* @__PURE__ */ i.jsx(
|
|
21021
|
-
|
|
21067
|
+
A,
|
|
21022
21068
|
{
|
|
21023
21069
|
label: !0,
|
|
21024
21070
|
name: "regardedOwnerUsTin",
|
|
21025
21071
|
onEdit: () => a("RegardedOwnerTax"),
|
|
21026
|
-
children: /* @__PURE__ */ i.jsx(
|
|
21072
|
+
children: /* @__PURE__ */ i.jsx($, { text: e == null ? void 0 : e.regardedOwnerUsTin })
|
|
21027
21073
|
}
|
|
21028
21074
|
),
|
|
21029
21075
|
/* @__PURE__ */ i.jsx(
|
|
21030
|
-
|
|
21076
|
+
A,
|
|
21031
21077
|
{
|
|
21032
21078
|
label: !0,
|
|
21033
21079
|
name: "regardedOwnerForeignTin",
|
|
21034
21080
|
onEdit: () => a("RegardedOwnerTax"),
|
|
21035
|
-
children: /* @__PURE__ */ i.jsx(
|
|
21081
|
+
children: /* @__PURE__ */ i.jsx($, { text: e == null ? void 0 : e.regardedOwnerForeignTin })
|
|
21036
21082
|
}
|
|
21037
21083
|
),
|
|
21038
21084
|
/* @__PURE__ */ i.jsx(
|
|
21039
|
-
|
|
21085
|
+
A,
|
|
21040
21086
|
{
|
|
21041
21087
|
label: !0,
|
|
21042
21088
|
name: "regardedOwnerForeignTinIsNotRequired",
|
|
@@ -21045,16 +21091,16 @@ const Ar = {
|
|
|
21045
21091
|
}
|
|
21046
21092
|
),
|
|
21047
21093
|
/* @__PURE__ */ i.jsx(
|
|
21048
|
-
|
|
21094
|
+
A,
|
|
21049
21095
|
{
|
|
21050
21096
|
label: !0,
|
|
21051
21097
|
name: "regardedOwnerUsTin",
|
|
21052
21098
|
onEdit: () => a("RegardedOwnerTax"),
|
|
21053
|
-
children: /* @__PURE__ */ i.jsx(
|
|
21099
|
+
children: /* @__PURE__ */ i.jsx($, { text: e == null ? void 0 : e.regardedOwnerUsTin })
|
|
21054
21100
|
}
|
|
21055
21101
|
),
|
|
21056
21102
|
/* @__PURE__ */ i.jsx(
|
|
21057
|
-
|
|
21103
|
+
A,
|
|
21058
21104
|
{
|
|
21059
21105
|
label: !0,
|
|
21060
21106
|
name: "exemptFatcaCode",
|
|
@@ -21063,7 +21109,7 @@ const Ar = {
|
|
|
21063
21109
|
}
|
|
21064
21110
|
),
|
|
21065
21111
|
/* @__PURE__ */ i.jsx(
|
|
21066
|
-
|
|
21112
|
+
A,
|
|
21067
21113
|
{
|
|
21068
21114
|
label: !0,
|
|
21069
21115
|
name: "exemptPayeeCode",
|
|
@@ -21075,8 +21121,8 @@ const Ar = {
|
|
|
21075
21121
|
}
|
|
21076
21122
|
)
|
|
21077
21123
|
] });
|
|
21078
|
-
},
|
|
21079
|
-
const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } =
|
|
21124
|
+
}, qo = () => {
|
|
21125
|
+
const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } = ae(), { getLocalTitle: o, fields: s } = E();
|
|
21080
21126
|
return /* @__PURE__ */ i.jsxs(
|
|
21081
21127
|
ke,
|
|
21082
21128
|
{
|
|
@@ -21084,24 +21130,24 @@ const Ar = {
|
|
|
21084
21130
|
className: `taxbit-form-${oa("summary")}`,
|
|
21085
21131
|
children: [
|
|
21086
21132
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
21087
|
-
/* @__PURE__ */ i.jsx(
|
|
21133
|
+
/* @__PURE__ */ i.jsx(Zo, {}),
|
|
21088
21134
|
/* @__PURE__ */ i.jsxs(oe, { title: "Certify", showIf: r || n, children: [
|
|
21089
|
-
/* @__PURE__ */ i.jsx(
|
|
21090
|
-
/* @__PURE__ */ i.jsx(
|
|
21091
|
-
/* @__PURE__ */ i.jsx(
|
|
21092
|
-
/* @__PURE__ */ i.jsx(
|
|
21093
|
-
/* @__PURE__ */ i.jsx(
|
|
21094
|
-
/* @__PURE__ */ i.jsx(
|
|
21095
|
-
/* @__PURE__ */ i.jsx(
|
|
21096
|
-
/* @__PURE__ */ i.jsx(
|
|
21097
|
-
/* @__PURE__ */ i.jsx(
|
|
21098
|
-
/* @__PURE__ */ i.jsx(
|
|
21099
|
-
/* @__PURE__ */ i.jsx(
|
|
21135
|
+
/* @__PURE__ */ i.jsx(D, { name: "iCertifyToAll", label: !0 }),
|
|
21136
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
|
|
21137
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAmNotSubjectToBackupWithholding", label: !0 }),
|
|
21138
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAmACitizenOfTheUs", label: !0 }),
|
|
21139
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAmExemptFromFatcaReporting", label: !0 }),
|
|
21140
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheEntityIsTheBeneficialOwner", label: !0 }),
|
|
21141
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheEntityIsNotAUsPerson", label: !0 }),
|
|
21142
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmIncomeIsNonUs", label: !0, subLabel: !0 }),
|
|
21143
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheBeneficialOwnerIsExempt", label: !0 }),
|
|
21144
|
+
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheInformationIsCorrectComplete", label: !0 }),
|
|
21145
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAuthorizeWithholdingAgent", label: !0 })
|
|
21100
21146
|
] }),
|
|
21101
21147
|
/* @__PURE__ */ i.jsxs(oe, { title: "Acknowledge and Sign", showIf: r || n, children: [
|
|
21102
|
-
/* @__PURE__ */ i.jsx(
|
|
21103
|
-
/* @__PURE__ */ i.jsx(
|
|
21104
|
-
/* @__PURE__ */ i.jsx(
|
|
21148
|
+
/* @__PURE__ */ i.jsx(D, { name: "iAcknowlegeESignIsOk", label: !0 }),
|
|
21149
|
+
/* @__PURE__ */ i.jsx(D, { name: "iHaveLegalCapacityToSign", label: !0 }),
|
|
21150
|
+
/* @__PURE__ */ i.jsx(_, { label: !0, name: "signature" })
|
|
21105
21151
|
] })
|
|
21106
21152
|
] }),
|
|
21107
21153
|
/* @__PURE__ */ i.jsx(
|
|
@@ -21114,19 +21160,19 @@ const Ar = {
|
|
|
21114
21160
|
]
|
|
21115
21161
|
}
|
|
21116
21162
|
);
|
|
21117
|
-
},
|
|
21163
|
+
}, Yo = () => /* @__PURE__ */ i.jsx(de, { children: /* @__PURE__ */ i.jsx(qo, {}) }), _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21118
21164
|
__proto__: null,
|
|
21119
|
-
AccountHolderClassification:
|
|
21120
|
-
AccountHolderContact:
|
|
21165
|
+
AccountHolderClassification: jo,
|
|
21166
|
+
AccountHolderContact: Eo,
|
|
21121
21167
|
AccountHolderTax: Ro,
|
|
21122
|
-
AccountHolderTaxClarification:
|
|
21123
|
-
Confirmation:
|
|
21168
|
+
AccountHolderTaxClarification: Ho,
|
|
21169
|
+
Confirmation: Go,
|
|
21124
21170
|
Exemptions: Uo,
|
|
21125
|
-
RegardedOwnerClassification:
|
|
21126
|
-
RegardedOwnerContact:
|
|
21127
|
-
RegardedOwnerTax:
|
|
21128
|
-
Summary:
|
|
21129
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
21171
|
+
RegardedOwnerClassification: Fo,
|
|
21172
|
+
RegardedOwnerContact: Vo,
|
|
21173
|
+
RegardedOwnerTax: Jo,
|
|
21174
|
+
Summary: Yo
|
|
21175
|
+
}, Symbol.toStringTag, { value: "Module" })), vt = ({
|
|
21130
21176
|
data: e,
|
|
21131
21177
|
onSubmit: a,
|
|
21132
21178
|
language: n,
|
|
@@ -21134,7 +21180,7 @@ const Ar = {
|
|
|
21134
21180
|
complete: o,
|
|
21135
21181
|
onProgress: s
|
|
21136
21182
|
}) => /* @__PURE__ */ i.jsx(
|
|
21137
|
-
|
|
21183
|
+
so,
|
|
21138
21184
|
{
|
|
21139
21185
|
data: e,
|
|
21140
21186
|
onSubmit: a,
|
|
@@ -21143,7 +21189,7 @@ const Ar = {
|
|
|
21143
21189
|
taxForms: r,
|
|
21144
21190
|
step: o ? "Summary" : void 0,
|
|
21145
21191
|
children: /* @__PURE__ */ i.jsx(
|
|
21146
|
-
|
|
21192
|
+
Xo,
|
|
21147
21193
|
{
|
|
21148
21194
|
language: n,
|
|
21149
21195
|
taxForms: r,
|
|
@@ -21151,27 +21197,27 @@ const Ar = {
|
|
|
21151
21197
|
}
|
|
21152
21198
|
)
|
|
21153
21199
|
}
|
|
21154
|
-
),
|
|
21200
|
+
), Qo = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Xo = ({
|
|
21155
21201
|
language: e = "en-us",
|
|
21156
|
-
taxForms: a =
|
|
21202
|
+
taxForms: a = Qo,
|
|
21157
21203
|
data: n
|
|
21158
21204
|
}) => {
|
|
21159
|
-
const { stepName: r, setLanguage: o, setSupportedForms: s, onResetTaxDocumentation: l } =
|
|
21160
|
-
return
|
|
21205
|
+
const { stepName: r, setLanguage: o, setSupportedForms: s, onResetTaxDocumentation: l } = ae(), d = _o[r];
|
|
21206
|
+
return Y(() => {
|
|
21161
21207
|
o(e);
|
|
21162
|
-
}, [e, o]),
|
|
21208
|
+
}, [e, o]), Y(() => {
|
|
21163
21209
|
s(a);
|
|
21164
|
-
}, [a, s]),
|
|
21210
|
+
}, [a, s]), Y(() => {
|
|
21165
21211
|
n && l(n);
|
|
21166
21212
|
}, [n, l]), /* @__PURE__ */ i.jsx(d, {});
|
|
21167
|
-
},
|
|
21213
|
+
}, as = ({
|
|
21168
21214
|
data: e,
|
|
21169
21215
|
onSubmit: a,
|
|
21170
21216
|
onProgress: n,
|
|
21171
21217
|
language: r,
|
|
21172
21218
|
complete: o
|
|
21173
21219
|
}) => /* @__PURE__ */ i.jsx(
|
|
21174
|
-
|
|
21220
|
+
vt,
|
|
21175
21221
|
{
|
|
21176
21222
|
data: e,
|
|
21177
21223
|
language: r,
|
|
@@ -21180,7 +21226,7 @@ const Ar = {
|
|
|
21180
21226
|
taxForms: ["DAC7"],
|
|
21181
21227
|
onProgress: n
|
|
21182
21228
|
}
|
|
21183
|
-
),
|
|
21229
|
+
), $o = ({
|
|
21184
21230
|
staging: e,
|
|
21185
21231
|
data: a,
|
|
21186
21232
|
bearerToken: n,
|
|
@@ -21190,40 +21236,34 @@ const Ar = {
|
|
|
21190
21236
|
onSubmit: l,
|
|
21191
21237
|
onSuccess: d
|
|
21192
21238
|
}) => {
|
|
21193
|
-
|
|
21194
|
-
|
|
21195
|
-
|
|
21196
|
-
|
|
21197
|
-
|
|
21198
|
-
|
|
21199
|
-
);
|
|
21200
|
-
|
|
21201
|
-
|
|
21202
|
-
}, [a, c]), !h || h !== "NOT_SUBMITTED" && !c)
|
|
21203
|
-
return /* @__PURE__ */ i.jsx("div", { children: kt("retrievingInterviewStatus", r) });
|
|
21204
|
-
const C = async (N) => {
|
|
21205
|
-
l && l(N), await k(N), d && d(N);
|
|
21206
|
-
};
|
|
21207
|
-
return /* @__PURE__ */ i.jsx(
|
|
21208
|
-
ft,
|
|
21239
|
+
const { isComplete: m, isLoading: h, formData: g, handleOnSubmit: c } = to({
|
|
21240
|
+
bearerToken: n,
|
|
21241
|
+
data: a,
|
|
21242
|
+
onSubmit: l,
|
|
21243
|
+
onSuccess: d,
|
|
21244
|
+
staging: e
|
|
21245
|
+
});
|
|
21246
|
+
return h ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-loading", children: gt("retrievingInterviewStatus", r) }) : /* @__PURE__ */ i.jsx(
|
|
21247
|
+
vt,
|
|
21209
21248
|
{
|
|
21210
|
-
data:
|
|
21249
|
+
data: g,
|
|
21211
21250
|
language: r,
|
|
21212
|
-
onSubmit:
|
|
21251
|
+
onSubmit: c,
|
|
21213
21252
|
onProgress: s,
|
|
21214
21253
|
taxForms: o,
|
|
21215
|
-
complete:
|
|
21254
|
+
complete: m
|
|
21216
21255
|
}
|
|
21217
21256
|
);
|
|
21218
|
-
},
|
|
21257
|
+
}, is = ({
|
|
21219
21258
|
data: e,
|
|
21220
21259
|
staging: a,
|
|
21221
21260
|
bearerToken: n,
|
|
21222
21261
|
language: r,
|
|
21223
21262
|
onSubmit: o,
|
|
21224
|
-
|
|
21263
|
+
onProgress: s,
|
|
21264
|
+
onSuccess: l
|
|
21225
21265
|
}) => /* @__PURE__ */ i.jsx(
|
|
21226
|
-
|
|
21266
|
+
$o,
|
|
21227
21267
|
{
|
|
21228
21268
|
bearerToken: n,
|
|
21229
21269
|
data: e,
|
|
@@ -21231,13 +21271,14 @@ const Ar = {
|
|
|
21231
21271
|
taxForms: ["DAC7"],
|
|
21232
21272
|
staging: a,
|
|
21233
21273
|
onSubmit: o,
|
|
21234
|
-
|
|
21274
|
+
onProgress: s,
|
|
21275
|
+
onSuccess: l
|
|
21235
21276
|
}
|
|
21236
21277
|
);
|
|
21237
21278
|
export {
|
|
21238
|
-
|
|
21239
|
-
|
|
21240
|
-
|
|
21241
|
-
|
|
21242
|
-
|
|
21279
|
+
is as TaxBitDAC7Form,
|
|
21280
|
+
as as TaxBitDAC7FormUI,
|
|
21281
|
+
$o as TaxBitForm,
|
|
21282
|
+
vt as TaxBitFormUI,
|
|
21283
|
+
kr as useTaxBit
|
|
21243
21284
|
};
|