@taxbit/react-sdk 0.3.0 → 0.3.2
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 +36 -7
- package/dist/basic.css +3 -16
- package/dist/index.css +10 -10
- package/dist/index.d.ts +1 -1
- package/dist/inline.css +3 -16
- package/dist/minimal.css +5 -17
- package/dist/src/contexts/FormUI/shiftResidence.d.ts +2 -0
- package/dist/{contexts → src/contexts}/FormUI/useFormUI.d.ts +0 -1
- package/dist/{contexts → src/contexts}/FormUI/useFormUIContext.d.ts +0 -2
- package/dist/{ui → src/ui}/ActionButton/ActionButton.d.ts +2 -2
- package/dist/{ui → src/ui}/HideShowButton/HideShowButton.d.ts +1 -1
- package/dist/{ui → src/ui}/ToggleButton/ToggleButton.d.ts +2 -2
- package/dist/{utils → src/utils}/getFieldsState.d.ts +1 -0
- package/dist/{validations → src/validations}/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/__tests__/TaxBitFormUI.test.d.ts +0 -0
- package/dist/src/wizard/TaxBitFormUI/steps.d.ts +9 -0
- package/dist/taxbit-react-sdk.js +1114 -1086
- package/dist/taxbit-react-sdk.umd.cjs +10 -10
- package/package.json +1 -1
- package/dist/validations/getSubmittableFields.d.ts +0 -3
- package/dist/wizard/TaxBitFormUI/steps.d.ts +0 -8
- /package/dist/{App.d.ts → src/App.d.ts} +0 -0
- /package/dist/{components → src/components}/Address/Address.d.ts +0 -0
- /package/dist/{components → src/components}/Address/index.d.ts +0 -0
- /package/dist/{components → src/components}/ErrorMessage/ErrorMessage.d.ts +0 -0
- /package/dist/{components → src/components}/ErrorMessage/index.d.ts +0 -0
- /package/dist/{components → src/components}/Form/Form.d.ts +0 -0
- /package/dist/{components → src/components}/Form/index.d.ts +0 -0
- /package/dist/{components → src/components}/InputStatus/InputStatus.d.ts +0 -0
- /package/dist/{components → src/components}/InputStatus/index.d.ts +0 -0
- /package/dist/{components → src/components}/Notification/Notification.d.ts +0 -0
- /package/dist/{components → src/components}/Notification/index.d.ts +0 -0
- /package/dist/{components → src/components}/Row/Row.d.ts +0 -0
- /package/dist/{components → src/components}/Row/index.d.ts +0 -0
- /package/dist/{components → src/components}/Section/Section.d.ts +0 -0
- /package/dist/{components → src/components}/Section/index.d.ts +0 -0
- /package/dist/{components → src/components}/index.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/FormUI/FormUIProvider.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/FormUI/index.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/TaxDocumentation/TaxBitFormProvider.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/TaxDocumentation/index.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/TaxDocumentation/useTaxDocumentation.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/TaxDocumentation/useTaxDocumentationContext.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/createCtx.d.ts +0 -0
- /package/dist/{contexts → src/contexts}/index.d.ts +0 -0
- /package/dist/{entry → src/entry}/index.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/index.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useTaxBit/__tests__/clientTaxDocumentation.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useTaxBit/__tests__/serverTaxDocumentation.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useTaxBit/index.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/useTaxBit/useTaxBit.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/i18n.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/index.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/bg-bg.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/cs-cz.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/da-dk.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/de-at.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/de-de.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/el-cy.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/el-gr.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/en-gb.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/en-us.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/es-es.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/et-ee.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/fi-fi.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/fr-fr.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/fr-lu.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/ga-ie.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/hr-hr.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/hu-hu.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/index.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/it-it.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/lt-lt.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/lv-lv.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/mt-mt.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/nl-be.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/nl-nl.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/no-no.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/pl-pl.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/pt-pt.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/ro-ro.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/sk-sk.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/sl-si.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/locales/sv-se.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/types/LocalizationKey.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/types/PropertyFile.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/types/index.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/utils/getText.d.ts +0 -0
- /package/dist/{i18n → src/i18n}/utils/index.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/caProvinceOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/countryOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/dayOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/fatcaCodeOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/foreignAccountHolderAccountTypeOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/foreignOtherClassificationOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/foreignRegardedOwnerAccountTypeOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/foreignTrustClassificationOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/index.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/localeOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/monthOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/payeeCodeOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/toOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/usAccountHolderAccountTypeOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/usLlcAccountTypeOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/usRegardedOwnerAccountTypeOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/usStateOptions.d.ts +0 -0
- /package/dist/{lookups → src/lookups}/yearOptions.d.ts +0 -0
- /package/dist/{main.d.ts → src/main.d.ts} +0 -0
- /package/dist/{services → src/services}/api.d.ts +0 -0
- /package/dist/{test → src/test}/Wrapper.d.ts +0 -0
- /package/dist/{test → src/test}/getWrapper.d.ts +0 -0
- /package/dist/{test → src/test}/index.d.ts +0 -0
- /package/dist/{types → src/types}/AccountType.d.ts +0 -0
- /package/dist/{types → src/types}/CaProvinceCode.d.ts +0 -0
- /package/dist/{types → src/types}/CamelCaseKeys.d.ts +0 -0
- /package/dist/{types → src/types}/CountryCode.d.ts +0 -0
- /package/dist/{types → src/types}/Locale.d.ts +0 -0
- /package/dist/{types → src/types}/MonthCode.d.ts +0 -0
- /package/dist/{types → src/types}/TaxDocumentation.d.ts +0 -0
- /package/dist/{types → src/types}/TaxForm.d.ts +0 -0
- /package/dist/{types → src/types}/UsStateCode.d.ts +0 -0
- /package/dist/{types → src/types}/Utilities.d.ts +0 -0
- /package/dist/{types → src/types}/Yes.d.ts +0 -0
- /package/dist/{types → src/types}/YesNo.d.ts +0 -0
- /package/dist/{types → src/types}/client/ClientTaxDocumentation.d.ts +0 -0
- /package/dist/{types → src/types}/client/ClientTaxDocumentationStatus.d.ts +0 -0
- /package/dist/{types → src/types}/client/index.d.ts +0 -0
- /package/dist/{types → src/types}/index.d.ts +0 -0
- /package/dist/{types → src/types}/server/ComprehensiveTaxDocumentation.d.ts +0 -0
- /package/dist/{types → src/types}/server/TaxDocumentationStatus.d.ts +0 -0
- /package/dist/{types → src/types}/server/enums.d.ts +0 -0
- /package/dist/{types → src/types}/server/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/ActionButton/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/Actions/Actions.d.ts +0 -0
- /package/dist/{ui → src/ui}/Actions/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/CheckBox/CheckBox.d.ts +0 -0
- /package/dist/{ui → src/ui}/CheckBox/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/DateOfBirthInput/DateOfBirthInput.d.ts +0 -0
- /package/dist/{ui → src/ui}/DateOfBirthInput/__tests__/useDateOfBirthInput.test.d.ts +0 -0
- /package/dist/{ui → src/ui}/DateOfBirthInput/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/DateOfBirthInput/useDateOfBirthInput.d.ts +0 -0
- /package/dist/{ui → src/ui}/HideShowButton/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/MaskedContent/MaskedContent.d.ts +0 -0
- /package/dist/{ui → src/ui}/MaskedContent/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/MaskedInput/MaskedInput.d.ts +0 -0
- /package/dist/{ui → src/ui}/MaskedInput/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/Password/Password.d.ts +0 -0
- /package/dist/{ui → src/ui}/Password/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/RadioButtons/RadioButtons.d.ts +0 -0
- /package/dist/{ui → src/ui}/RadioButtons/__tests__/RadioButtons.test.d.ts +0 -0
- /package/dist/{ui → src/ui}/RadioButtons/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/Select/Select.d.ts +0 -0
- /package/dist/{ui → src/ui}/Select/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/TextInput/TextInput.d.ts +0 -0
- /package/dist/{ui → src/ui}/TextInput/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/ToggleButton/index.d.ts +0 -0
- /package/dist/{ui → src/ui}/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/camelCaseKeys.d.ts +0 -0
- /package/dist/{utils → src/utils}/cx.d.ts +0 -0
- /package/dist/{utils → src/utils}/date.d.ts +0 -0
- /package/dist/{utils → src/utils}/getHintKeyMap.d.ts +0 -0
- /package/dist/{utils → src/utils}/getMonthlyDayCount.d.ts +0 -0
- /package/dist/{utils → src/utils}/getPromptKeyMap.d.ts +0 -0
- /package/dist/{utils → src/utils}/getVerboseDate.d.ts +0 -0
- /package/dist/{utils → src/utils}/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/isBlank.d.ts +0 -0
- /package/dist/{utils → src/utils}/kebabCase.d.ts +0 -0
- /package/dist/{utils → src/utils}/snakeCaseKeys.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformForClient/convertYesNoToBoolean.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformForClient/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformForClient/transformForClient.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformForClient/transformForClientAccoutHolder.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformForClient/transformForClientAddress.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformForClient/transformForClientRegardedOwner.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformForClient/transformForClientTaxResidenceFields.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformInbound/getForeignAccountType.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformInbound/getForeignOtherClassification.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformInbound/getForeignTrustClassification.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformInbound/getLLCClassification.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformInbound/getUsAccountType.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformInbound/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/transformInbound/transformInbound.d.ts +0 -0
- /package/dist/{validations → src/validations}/getInvalidFields.d.ts +0 -0
- /package/dist/{validations → src/validations}/getNotifiedFields.d.ts +0 -0
- /package/dist/{validations → src/validations}/getRequiredFields.d.ts +0 -0
- /package/dist/{validations → src/validations}/getSupportedFields.d.ts +0 -0
- /package/dist/{validations → src/validations}/getVisibleFields.d.ts +0 -0
- /package/dist/{validations → src/validations}/invalidFieldRules.d.ts +0 -0
- /package/dist/{validations → src/validations}/requiredFieldRules.d.ts +0 -0
- /package/dist/{widgets → src/widgets}/TaxBitForm/TaxBitDAC7Form.d.ts +0 -0
- /package/dist/{widgets → src/widgets}/TaxBitForm/TaxBitForm.d.ts +0 -0
- /package/dist/{widgets → src/widgets}/TaxBitForm/index.d.ts +0 -0
- /package/dist/{widgets → src/widgets}/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/AddressInput/AddressInput.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/AddressInput/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/LanguageSelector/LanguageSelector.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/LanguageSelector/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/PlaceOfBirthInput/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/ResidenceInput/ResidenceInput.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/ResidenceInput/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/CheckBoxRow/CheckBoxRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/CheckBoxRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/DateOfBirthRow/DateOfBirthRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/DateOfBirthRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/ErrorRow/ErrorRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/ErrorRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/MaskedInputRow/MaskedInputRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/MaskedInputRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/RadioButtonRow/RadioButtonRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/RadioButtonRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/SelectRow/SelectRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/SelectRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/TextInputRow/TextInputRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/TextInputRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/ToggleButtonRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/VisibleRow/VisibleRow.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/VisibleRow/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/RowInput/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderContact/AccountHolderContact.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTax/AccountHolderTax.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/Exemptions/Exemptions.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/Exemptions/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/Recap.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/Summary.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/TaxBitFormUI.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/TaxBitFormUI/index.d.ts +0 -0
- /package/dist/{wizard → src/wizard}/index.d.ts +0 -0
package/dist/taxbit-react-sdk.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Qn, { useState as
|
|
1
|
+
import Qn, { useState as K, useEffect as X, createContext as mt, useContext as gt, useCallback as Fa, useMemo as _, useRef as Ln } from "react";
|
|
2
2
|
const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging" : ""}.taxbit.com/v1/${e}`, Wa = {
|
|
3
3
|
taxDocumentation: {
|
|
4
4
|
post: (e) => Va("tax-documentation", e),
|
|
@@ -7,28 +7,31 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
7
7
|
taxDocumentationStatus: {
|
|
8
8
|
get: (e) => Va("tax-documentation-status", e)
|
|
9
9
|
}
|
|
10
|
-
},
|
|
10
|
+
}, kt = (e) => e.replace(/([-_][a-z])/gi, (a) => a.toUpperCase().replace(/[-_]/g, "")), xa = (e) => Array.isArray(e) ? e.map((a) => xa(a)) : e !== Object(e) ? e : Object.fromEntries(
|
|
11
11
|
Object.entries(e).map(([a, n]) => [
|
|
12
|
-
|
|
12
|
+
kt(a),
|
|
13
13
|
xa(n)
|
|
14
14
|
])
|
|
15
|
-
),
|
|
15
|
+
), ce = (...e) => e.filter(Boolean).join(" "), ht = (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)
|
|
19
|
+
return !0;
|
|
20
|
+
const s = (/* @__PURE__ */ new Date()).getUTCMonth() + 1 - Number(e.substring(0, 2)), o = (/* @__PURE__ */ new Date()).getUTCDate() - Number(e.substring(3, 5));
|
|
21
|
+
return r === 0 && s >= 0 && o >= 0;
|
|
19
22
|
} catch {
|
|
20
23
|
return !1;
|
|
21
24
|
}
|
|
22
|
-
},
|
|
25
|
+
}, vt = (e) => /^\d{2}\/\d{2}\/\d{4}$/.test(e), pt = (e) => {
|
|
23
26
|
const a = new Date(e);
|
|
24
27
|
return !isNaN(a.getTime()) && e === a.toLocaleDateString("en-US", {
|
|
25
28
|
month: "2-digit",
|
|
26
29
|
day: "2-digit",
|
|
27
30
|
year: "numeric"
|
|
28
31
|
});
|
|
29
|
-
},
|
|
32
|
+
}, fe = (e) => e.map((a) => ({
|
|
30
33
|
value: a
|
|
31
|
-
})),
|
|
34
|
+
})), ft = [
|
|
32
35
|
"AB",
|
|
33
36
|
"BC",
|
|
34
37
|
"MB",
|
|
@@ -42,7 +45,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
42
45
|
"QC",
|
|
43
46
|
"SK",
|
|
44
47
|
"YT"
|
|
45
|
-
],
|
|
48
|
+
], At = fe(ft), bt = [
|
|
46
49
|
"AD",
|
|
47
50
|
"AE",
|
|
48
51
|
"AF",
|
|
@@ -320,7 +323,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
320
323
|
"SE",
|
|
321
324
|
"SI",
|
|
322
325
|
"SK"
|
|
323
|
-
], ua =
|
|
326
|
+
], ua = fe(bt), Ct = fe(Xn), re = (e) => e ? Xn.includes(e) : !1, It = [
|
|
324
327
|
"01",
|
|
325
328
|
"02",
|
|
326
329
|
"03",
|
|
@@ -352,7 +355,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
352
355
|
"29",
|
|
353
356
|
"30",
|
|
354
357
|
"31"
|
|
355
|
-
], Gn =
|
|
358
|
+
], Gn = fe(It), St = [
|
|
356
359
|
"A",
|
|
357
360
|
"B",
|
|
358
361
|
"C",
|
|
@@ -366,14 +369,14 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
366
369
|
"K",
|
|
367
370
|
"L",
|
|
368
371
|
"M"
|
|
369
|
-
],
|
|
372
|
+
], Nt = fe(St), $n = [
|
|
370
373
|
{ value: "individual" },
|
|
371
374
|
{ value: "corporation" },
|
|
372
375
|
{ value: "partnership" },
|
|
373
376
|
{ value: "trust" },
|
|
374
377
|
{ value: "other" },
|
|
375
378
|
{ value: "disregardedEntity" }
|
|
376
|
-
],
|
|
379
|
+
], Tt = $n.map((e) => e.value), ni = [
|
|
377
380
|
{ value: "taxExemptOrganization" },
|
|
378
381
|
{ value: "privateFoundation" },
|
|
379
382
|
{ value: "internationalOrganization" },
|
|
@@ -381,7 +384,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
381
384
|
{ value: "foreignGovernmentControlledEntity" },
|
|
382
385
|
{ value: "foreignGovernmentIntegralPart" },
|
|
383
386
|
{ value: "estate" }
|
|
384
|
-
],
|
|
387
|
+
], Mt = ni.map((e) => e.value), yt = [
|
|
385
388
|
{ value: "individual" },
|
|
386
389
|
{ value: "corporation" },
|
|
387
390
|
{ value: "partnership" },
|
|
@@ -391,7 +394,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
391
394
|
{ value: "simpleTrust" },
|
|
392
395
|
{ value: "complexTrust" },
|
|
393
396
|
{ value: "grantorTrust" }
|
|
394
|
-
],
|
|
397
|
+
], jt = ti.map((e) => e.value), Ot = [
|
|
395
398
|
"bg-bg",
|
|
396
399
|
"cs-cz",
|
|
397
400
|
"da-dk",
|
|
@@ -422,7 +425,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
422
425
|
"sk-sk",
|
|
423
426
|
"sl-si",
|
|
424
427
|
"sv-se"
|
|
425
|
-
],
|
|
428
|
+
], zt = fe(Ot), Et = [
|
|
426
429
|
"01",
|
|
427
430
|
"02",
|
|
428
431
|
"03",
|
|
@@ -435,7 +438,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
435
438
|
"10",
|
|
436
439
|
"11",
|
|
437
440
|
"12"
|
|
438
|
-
],
|
|
441
|
+
], Bt = fe(Et), Pt = [
|
|
439
442
|
"A",
|
|
440
443
|
"B",
|
|
441
444
|
"C",
|
|
@@ -449,7 +452,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
449
452
|
"K",
|
|
450
453
|
"L",
|
|
451
454
|
"M"
|
|
452
|
-
],
|
|
455
|
+
], Rt = fe(Pt), et = [
|
|
453
456
|
{ value: "individual" },
|
|
454
457
|
{ value: "soleProprietor" },
|
|
455
458
|
{ value: "llc" },
|
|
@@ -460,13 +463,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
460
463
|
{ value: "trustEstate" },
|
|
461
464
|
{ value: "other" },
|
|
462
465
|
{ value: "disregardedEntity" }
|
|
463
|
-
],
|
|
466
|
+
], wt = et.map((e) => e.value), ri = [
|
|
464
467
|
{ value: "cCorporation" },
|
|
465
468
|
{ value: "sCorporation" },
|
|
466
469
|
{ value: "partnership" }
|
|
467
|
-
],
|
|
470
|
+
], Ht = ri.map(
|
|
468
471
|
(e) => e.value
|
|
469
|
-
),
|
|
472
|
+
), Lt = [
|
|
470
473
|
{ value: "individual" },
|
|
471
474
|
{ value: "llc" },
|
|
472
475
|
{ value: "cCorporation" },
|
|
@@ -474,7 +477,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
474
477
|
{ value: "partnership" },
|
|
475
478
|
{ value: "trustEstate" },
|
|
476
479
|
{ value: "other" }
|
|
477
|
-
],
|
|
480
|
+
], Gt = [
|
|
478
481
|
"AL",
|
|
479
482
|
"AK",
|
|
480
483
|
"AS",
|
|
@@ -535,23 +538,24 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
535
538
|
"WV",
|
|
536
539
|
"WI",
|
|
537
540
|
"WY"
|
|
538
|
-
],
|
|
539
|
-
{ length: Dn -
|
|
541
|
+
], Dt = fe(Gt), at = /* @__PURE__ */ new Date(), Ut = at.getFullYear() - 120, Dn = at.getFullYear(), Ft = Array.from(
|
|
542
|
+
{ length: Dn - Ut },
|
|
540
543
|
(e, a) => Dn - a
|
|
541
|
-
),
|
|
544
|
+
), xt = Ft.map((e) => ({
|
|
542
545
|
value: e
|
|
543
|
-
})), E = (e) => e === void 0 || e === "",
|
|
544
|
-
const n = (!a || a.includes("W-9")) && ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes"), r = (!a || a.includes("W-8BEN") || a.includes("W-8BEN-E")) && ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "no"), s = (!a || a.includes("W-8BEN")) && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual"), o = (!a || (a == null ? void 0 : a.includes("W-8BEN-E"))) && (!!(e != null && e.accountHolderForeignAccountType) && e.accountHolderForeignAccountType !== "individual" && e.accountHolderForeignAccountType !== "disregardedEntity" || !!(e != null && e.regardedOwnerForeignAccountType) && e.regardedOwnerForeignAccountType !== "individual"),
|
|
546
|
+
})), E = (e) => e === void 0 || e === "", F = (e) => !E(e), da = (e, a) => {
|
|
547
|
+
const n = (!a || a.includes("W-9")) && ((e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes"), r = (!a || a.includes("W-8BEN") || a.includes("W-8BEN-E")) && ((e == null ? void 0 : e.accountHolderUsPerson) === "no" && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "no"), s = (!a || a.includes("W-8BEN")) && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual"), o = (!a || (a == null ? void 0 : a.includes("W-8BEN-E"))) && (!!(e != null && e.accountHolderForeignAccountType) && e.accountHolderForeignAccountType !== "individual" && e.accountHolderForeignAccountType !== "disregardedEntity" || !!(e != null && e.regardedOwnerForeignAccountType) && e.regardedOwnerForeignAccountType !== "individual"), d = (!a || a.includes("DAC7")) && (e == null ? void 0 : e.accountHolderIsEuResident) !== void 0, u = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", m = (e == null ? void 0 : e.accountHolderIsEuResident) === "yes" && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)) && (E(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5) && re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5) || !re(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)), l = F(e == null ? void 0 : e.accountHolderTaxResidenceCountry1) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry2) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry3) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry4) || F(e == null ? void 0 : e.accountHolderTaxResidenceCountry5);
|
|
545
548
|
return {
|
|
546
549
|
accountHolderIsDisregarded: u,
|
|
547
|
-
hasNoEUTaxId:
|
|
548
|
-
|
|
550
|
+
hasNoEUTaxId: m,
|
|
551
|
+
hasTaxResidence: l,
|
|
552
|
+
isDac7: d,
|
|
549
553
|
isW9: n,
|
|
550
554
|
isW8: r,
|
|
551
555
|
isW8Ben: s,
|
|
552
556
|
isW8BenE: o
|
|
553
557
|
};
|
|
554
|
-
},
|
|
558
|
+
}, Kt = () => ({
|
|
555
559
|
accountHolderDateOfBirth: "dateOfBirth",
|
|
556
560
|
regardedOwnerDateOfBirth: "dateOfBirth"
|
|
557
561
|
}), Un = (e, a) => new Date(a ?? 2012, e, 0).getDate(), it = (e, a) => {
|
|
@@ -590,10 +594,10 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
590
594
|
default:
|
|
591
595
|
return "name";
|
|
592
596
|
}
|
|
593
|
-
},
|
|
597
|
+
}, Vt = (e) => e.accountHolderUsAccountType !== void 0 ? it(
|
|
594
598
|
e.accountHolderUsAccountType,
|
|
595
599
|
e.accountHolderUsSmllcElection
|
|
596
|
-
) : e.accountHolderForeignAccountType !== void 0 ? nt(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfEntity" : "name",
|
|
600
|
+
) : e.accountHolderForeignAccountType !== void 0 ? nt(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfEntity" : "name", Wt = (e) => e.regardedOwnerUsPerson === "yes" ? it(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? nt(e.regardedOwnerForeignAccountType) : "name", Jt = (e) => ({
|
|
597
601
|
accountHolderIsIndividual: "isIndividual",
|
|
598
602
|
accountHolderUsPerson: "usPerson",
|
|
599
603
|
accountHolderUsAccountType: "usAccountType",
|
|
@@ -633,7 +637,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
633
637
|
accountHolderVatIsNotRequired: "vatIsNotRequired",
|
|
634
638
|
accountHolderBusinessRegistrationCountry: "businessRegistrationCountry",
|
|
635
639
|
accountHolderBusinessRegistrationNumber: "businessRegistrationNumber",
|
|
636
|
-
accountHolderName:
|
|
640
|
+
accountHolderName: Vt(e),
|
|
637
641
|
accountHolderDateOfBirth: "dateOfBirth",
|
|
638
642
|
accountHolderDbaName: "dbaName",
|
|
639
643
|
accountHolderAddressStreet: "street",
|
|
@@ -663,7 +667,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
663
667
|
regardedOwnerForeignTrustClassification: "foreignTrustClassification",
|
|
664
668
|
regardedOwnerForeignOtherClassification: "foreignOtherClassification",
|
|
665
669
|
regardedOwnerCountryOfCitizenship: "countryOfCitizenship",
|
|
666
|
-
regardedOwnerName:
|
|
670
|
+
regardedOwnerName: Wt(e),
|
|
667
671
|
regardedOwnerDateOfBirth: "dateOfBirth",
|
|
668
672
|
regardedOwnerDbaName: "dbaName",
|
|
669
673
|
regardedOwnerAddressStreet: "street",
|
|
@@ -679,14 +683,14 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
679
683
|
regardedOwnerMailingAddressState: "state",
|
|
680
684
|
regardedOwnerMailingAddressZip: "zip",
|
|
681
685
|
regardedOwnerMailingAddressCountry: "country"
|
|
682
|
-
}), tt = (e) => e.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(),
|
|
686
|
+
}), tt = (e) => e.trim().replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), Zt = (e) => e.replace(/[A-Z]/g, (a) => `_${a.toLowerCase()}`), $a = (e) => Array.isArray(e) ? e.map((a) => $a(a)) : typeof e == "function" || e !== Object(e) ? e : Object.fromEntries(
|
|
683
687
|
Object.entries(e).map(
|
|
684
688
|
([a, n]) => [
|
|
685
|
-
|
|
689
|
+
Zt(a),
|
|
686
690
|
$a(n)
|
|
687
691
|
]
|
|
688
692
|
)
|
|
689
|
-
), G = (e) => e === void 0 ? void 0 : e === "yes",
|
|
693
|
+
), qt = "0.3.2", G = (e) => e === void 0 ? void 0 : e === "yes", Yt = (e) => {
|
|
690
694
|
const a = {
|
|
691
695
|
city: e.accountHolderAddressCity,
|
|
692
696
|
country: e.accountHolderAddressCountry,
|
|
@@ -696,7 +700,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
696
700
|
postalCode: e.accountHolderAddressZip
|
|
697
701
|
};
|
|
698
702
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
699
|
-
},
|
|
703
|
+
}, _t = (e) => {
|
|
700
704
|
const a = {
|
|
701
705
|
city: e.regardedOwnerAddressCity,
|
|
702
706
|
country: e.regardedOwnerAddressCountry,
|
|
@@ -706,7 +710,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
706
710
|
postalCode: e.regardedOwnerAddressZip
|
|
707
711
|
};
|
|
708
712
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
709
|
-
},
|
|
713
|
+
}, Qt = (e) => {
|
|
710
714
|
const a = {
|
|
711
715
|
city: e.accountHolderMailingAddressCity,
|
|
712
716
|
country: e.accountHolderMailingAddressCountry,
|
|
@@ -716,7 +720,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
716
720
|
postalCode: e.accountHolderMailingAddressZip
|
|
717
721
|
};
|
|
718
722
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
719
|
-
},
|
|
723
|
+
}, Xt = (e) => {
|
|
720
724
|
const a = {
|
|
721
725
|
city: e.regardedOwnerMailingAddressCity,
|
|
722
726
|
country: e.regardedOwnerMailingAddressCountry,
|
|
@@ -726,7 +730,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
726
730
|
postalCode: e.regardedOwnerMailingAddressZip
|
|
727
731
|
};
|
|
728
732
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
729
|
-
},
|
|
733
|
+
}, $t = (e) => {
|
|
730
734
|
const n = [
|
|
731
735
|
{
|
|
732
736
|
country: e.accountHolderTaxResidenceCountry1,
|
|
@@ -767,13 +771,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
767
771
|
(r) => Object.entries(r).some(([, s]) => s !== void 0)
|
|
768
772
|
);
|
|
769
773
|
return n.length > 0 ? n : void 0;
|
|
770
|
-
},
|
|
774
|
+
}, er = (e) => {
|
|
771
775
|
const a = {
|
|
772
|
-
address:
|
|
776
|
+
address: Yt(e),
|
|
773
777
|
countryOfCitizenship: e.accountHolderCountryOfCitizenship,
|
|
774
778
|
dateOfBirth: e.accountHolderDateOfBirth,
|
|
775
779
|
dbaName: e.accountHolderDbaName,
|
|
776
|
-
mailingAddress:
|
|
780
|
+
mailingAddress: Qt(e),
|
|
777
781
|
mailingAddressIsDifferent: G(
|
|
778
782
|
e.accountHolderMailingAddressIsDifferent
|
|
779
783
|
),
|
|
@@ -786,7 +790,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
786
790
|
ftinNotLegallyRequired: G(
|
|
787
791
|
e.accountHolderForeignTinIsNotRequired
|
|
788
792
|
),
|
|
789
|
-
taxResidences:
|
|
793
|
+
taxResidences: $t(e),
|
|
790
794
|
tin: e.accountHolderUsTin,
|
|
791
795
|
vatin: e.accountHolderVatIdentificationNumber,
|
|
792
796
|
vatinCountry: e.accountHolderVatCountry,
|
|
@@ -808,13 +812,13 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
808
812
|
foreignOtherClassification: e.accountHolderForeignOtherClassification
|
|
809
813
|
};
|
|
810
814
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
811
|
-
},
|
|
815
|
+
}, ar = (e) => {
|
|
812
816
|
const a = {
|
|
813
|
-
address:
|
|
817
|
+
address: _t(e),
|
|
814
818
|
countryOfCitizenship: e.regardedOwnerCountryOfCitizenship,
|
|
815
819
|
dateOfBirth: e.regardedOwnerDateOfBirth,
|
|
816
820
|
dbaName: e.regardedOwnerDbaName,
|
|
817
|
-
mailingAddress:
|
|
821
|
+
mailingAddress: Xt(e),
|
|
818
822
|
mailingAddressIsDifferent: G(
|
|
819
823
|
e.regardedOwnerMailingAddressIsDifferent
|
|
820
824
|
),
|
|
@@ -836,9 +840,9 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
836
840
|
foreignOtherClassification: e.regardedOwnerForeignOtherClassification
|
|
837
841
|
};
|
|
838
842
|
return Object.entries(a).some(([, n]) => n !== void 0) ? a : void 0;
|
|
839
|
-
},
|
|
840
|
-
accountHolder:
|
|
841
|
-
regardedOwner:
|
|
843
|
+
}, ir = (e) => ({
|
|
844
|
+
accountHolder: er(e),
|
|
845
|
+
regardedOwner: ar(e),
|
|
842
846
|
hasCertified: G(e.iCertifyToAll),
|
|
843
847
|
isNotSubjectBackupWithholding: G(
|
|
844
848
|
e.iAmNotSubjectToBackupWithholding
|
|
@@ -848,28 +852,28 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
848
852
|
),
|
|
849
853
|
signature: e.signature,
|
|
850
854
|
documentType: "COMPREHENSIVE",
|
|
851
|
-
source:
|
|
855
|
+
source: `Taxbit React SDK v${qt}`,
|
|
852
856
|
signatureDate: (/* @__PURE__ */ new Date()).toISOString()
|
|
853
857
|
}), Fn = (e) => {
|
|
854
|
-
if (e &&
|
|
858
|
+
if (e && Tt.includes(
|
|
855
859
|
e
|
|
856
860
|
))
|
|
857
861
|
return e;
|
|
858
862
|
}, xn = (e) => {
|
|
859
|
-
if (e &&
|
|
863
|
+
if (e && Mt.includes(
|
|
860
864
|
e
|
|
861
865
|
))
|
|
862
866
|
return e;
|
|
863
867
|
}, Kn = (e) => {
|
|
864
|
-
if (e &&
|
|
868
|
+
if (e && jt.includes(
|
|
865
869
|
e
|
|
866
870
|
))
|
|
867
871
|
return e;
|
|
868
872
|
}, Vn = (e) => {
|
|
869
|
-
if (e &&
|
|
873
|
+
if (e && Ht.includes(e))
|
|
870
874
|
return e;
|
|
871
875
|
}, Wn = (e) => {
|
|
872
|
-
if (e &&
|
|
876
|
+
if (e && wt.includes(
|
|
873
877
|
e
|
|
874
878
|
))
|
|
875
879
|
return e;
|
|
@@ -890,23 +894,23 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
890
894
|
"876543210",
|
|
891
895
|
"987654321",
|
|
892
896
|
"098765432"
|
|
893
|
-
], wa = /^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/, Ja = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/, Za = /^\d{5}$|^\d{5}-\d{4}$/, rt = (e) => /^(.)\1+$/.test(e), ei = (e) =>
|
|
897
|
+
], wa = /^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/, Ja = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/, Za = /^\d{5}$|^\d{5}-\d{4}$/, rt = (e) => /^(.)\1+$/.test(e), ei = (e) => F(e) && e.length >= 2 && e.length <= 22 && !rt(e), nr = (e) => F(e) && e.length >= 8 && e.length <= 14 && !rt(e), Ha = (e) => (a) => {
|
|
894
898
|
const n = a[`accountHolderTaxResidenceForeignTin${e}`];
|
|
895
|
-
if (!ei(n) &&
|
|
899
|
+
if (!ei(n) && F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
|
|
896
900
|
a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
|
|
897
901
|
))
|
|
898
902
|
return "invalid";
|
|
899
|
-
if (
|
|
903
|
+
if (F(n) && a[`accountHolderTaxResidenceCountry${e}`] === a.accountHolderVatCountry && n === a.accountHolderVatIdentificationNumber)
|
|
900
904
|
return "mustNotMatchVatin";
|
|
901
905
|
}, qa = {
|
|
902
906
|
accountHolderDateOfBirth: (e) => {
|
|
903
907
|
const a = e.accountHolderDateOfBirth;
|
|
904
|
-
if (
|
|
905
|
-
if (!ht(a))
|
|
906
|
-
return "mustBeInDateFormat";
|
|
908
|
+
if (F(a)) {
|
|
907
909
|
if (!vt(a))
|
|
910
|
+
return "mustBeInDateFormat";
|
|
911
|
+
if (!pt(a))
|
|
908
912
|
return "invalidDate";
|
|
909
|
-
if (!
|
|
913
|
+
if (!ht(a))
|
|
910
914
|
return "mustBeValidBirthDate";
|
|
911
915
|
}
|
|
912
916
|
},
|
|
@@ -952,21 +956,21 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
952
956
|
},
|
|
953
957
|
accountHolderVatIdentificationNumber: (e) => {
|
|
954
958
|
const a = e.accountHolderVatIdentificationNumber;
|
|
955
|
-
if (e.accountHolderVatIsNotRequired !== "yes" && !
|
|
959
|
+
if (e.accountHolderVatIsNotRequired !== "yes" && !nr(a))
|
|
956
960
|
return "invalid";
|
|
957
961
|
},
|
|
958
962
|
accountHolderBusinessRegistrationNumber: (e) => {
|
|
959
963
|
const a = e.accountHolderBusinessRegistrationNumber;
|
|
960
964
|
if (e.accountHolderIsIndividual === "no" && !ei(a))
|
|
961
965
|
return "invalid";
|
|
962
|
-
if (
|
|
966
|
+
if (F(a) && e.accountHolderBusinessRegistrationCountry === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
|
|
963
967
|
return "mustNotMatchVatin";
|
|
964
968
|
},
|
|
965
969
|
accountHolderTaxResidenceForeignTin1: (e) => {
|
|
966
970
|
const a = e.accountHolderTaxResidenceForeignTin1;
|
|
967
971
|
if (!ei(a) && E(e.accountHolderTaxResidenceForeignTin1IsNotRequired))
|
|
968
972
|
return "invalid";
|
|
969
|
-
if (
|
|
973
|
+
if (F(a) && e.accountHolderTaxResidenceCountry1 === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
|
|
970
974
|
return "mustNotMatchVatin";
|
|
971
975
|
},
|
|
972
976
|
accountHolderTaxResidenceForeignTin2: Ha("2"),
|
|
@@ -1004,9 +1008,9 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1004
1008
|
regardedOwnerUsTin: (e) => {
|
|
1005
1009
|
const a = e.regardedOwnerUsTin;
|
|
1006
1010
|
if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "yes") {
|
|
1007
|
-
if (
|
|
1011
|
+
if (F(a) && !wa.test(a))
|
|
1008
1012
|
return "mustBeNineDigits";
|
|
1009
|
-
if (
|
|
1013
|
+
if (F(a) && Ra.includes(a))
|
|
1010
1014
|
return "invalid";
|
|
1011
1015
|
} else if ((e == null ? void 0 : e.regardedOwnerUsPerson) === "no" && a !== void 0 && a !== "") {
|
|
1012
1016
|
if (!wa.test(a))
|
|
@@ -1034,7 +1038,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1034
1038
|
if (e.signature !== e.accountHolderName && (e.accountHolderUsAccountType === "individual" || e.accountHolderForeignAccountType === "individual"))
|
|
1035
1039
|
return "mustMatchName";
|
|
1036
1040
|
}
|
|
1037
|
-
},
|
|
1041
|
+
}, tr = (e, a, n) => Object.fromEntries(
|
|
1038
1042
|
Object.keys(e).map((r) => {
|
|
1039
1043
|
var o;
|
|
1040
1044
|
const s = e[r];
|
|
@@ -1043,7 +1047,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1043
1047
|
n[r] && (a[r] && E(s) && "required" || ((o = qa[r]) == null ? void 0 : o.call(qa, e)) || void 0)
|
|
1044
1048
|
];
|
|
1045
1049
|
}).filter(([, r]) => r)
|
|
1046
|
-
),
|
|
1050
|
+
), rr = (e, a) => Object.fromEntries(
|
|
1047
1051
|
Object.keys(e).map((n) => {
|
|
1048
1052
|
var r;
|
|
1049
1053
|
return [
|
|
@@ -1051,11 +1055,6 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1051
1055
|
a[n] && ((r = Ya[n]) == null ? void 0 : r.call(Ya, e))
|
|
1052
1056
|
];
|
|
1053
1057
|
}).filter(([, n]) => n)
|
|
1054
|
-
), tr = (e, a) => Object.fromEntries(
|
|
1055
|
-
Object.keys(e).map((n) => [
|
|
1056
|
-
n,
|
|
1057
|
-
a[n] && e[n]
|
|
1058
|
-
]).filter(([, n]) => n)
|
|
1059
1058
|
), ot = (e) => ({
|
|
1060
1059
|
accountHolderUsPerson: e.includes("W-9") && (e.includes("W-8BEN") || e.includes("W-8BEN-E")),
|
|
1061
1060
|
accountHolderIsEuResident: e.includes("DAC7"),
|
|
@@ -1162,15 +1161,16 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1162
1161
|
exemptPayeeCode: e.includes("W-9"),
|
|
1163
1162
|
exemptFatcaCode: e.includes("W-9"),
|
|
1164
1163
|
accountHolderTaxResidences: e.includes("DAC7")
|
|
1165
|
-
}),
|
|
1164
|
+
}), or = (e = {}, a) => {
|
|
1166
1165
|
const {
|
|
1167
1166
|
accountHolderIsDisregarded: n,
|
|
1168
1167
|
isW9: r,
|
|
1169
1168
|
isW8BenE: s,
|
|
1170
1169
|
isW8: o,
|
|
1171
|
-
hasNoEUTaxId:
|
|
1172
|
-
|
|
1173
|
-
|
|
1170
|
+
hasNoEUTaxId: d,
|
|
1171
|
+
hasTaxResidence: u,
|
|
1172
|
+
isDac7: m
|
|
1173
|
+
} = da(e), l = m && e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes";
|
|
1174
1174
|
return {
|
|
1175
1175
|
...a,
|
|
1176
1176
|
// Account Holder Account Classification
|
|
@@ -1192,8 +1192,8 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1192
1192
|
accountHolderAddressStreet: e.accountHolderIsEuResident === "yes" || e.accountHolderUsPerson !== void 0,
|
|
1193
1193
|
accountHolderAddressZip: e.accountHolderIsEuResident === "yes" || e.accountHolderUsPerson !== void 0,
|
|
1194
1194
|
accountHolderCountryOfCitizenship: e.accountHolderUsPerson === "no",
|
|
1195
|
-
accountHolderCityOfBirth: e.accountHolderIsIndividual === "yes" &&
|
|
1196
|
-
accountHolderCountryOfBirth: e.accountHolderIsIndividual === "yes" &&
|
|
1195
|
+
accountHolderCityOfBirth: e.accountHolderIsIndividual === "yes" && d && u,
|
|
1196
|
+
accountHolderCountryOfBirth: e.accountHolderIsIndividual === "yes" && d && u,
|
|
1197
1197
|
accountHolderDateOfBirth: e.accountHolderIsIndividual === "yes" && e.accountHolderIsEuResident === "yes" || e.accountHolderForeignAccountType === "individual",
|
|
1198
1198
|
accountHolderMailingAddressIsDifferent: e.accountHolderUsPerson === "no",
|
|
1199
1199
|
accountHolderMailingAddressCity: e.accountHolderMailingAddressIsDifferent === "yes",
|
|
@@ -1203,32 +1203,32 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1203
1203
|
accountHolderMailingAddressStreet: e.accountHolderMailingAddressIsDifferent === "yes",
|
|
1204
1204
|
accountHolderMailingAddressZip: e.accountHolderMailingAddressIsDifferent === "yes",
|
|
1205
1205
|
// Account Holder Tax Numbers
|
|
1206
|
-
accountHolderFinancialAccountIdentifier:
|
|
1207
|
-
accountHolderFinancialAccountName:
|
|
1208
|
-
accountHolderVatIdentificationNumber:
|
|
1209
|
-
accountHolderVatIsNotRequired:
|
|
1210
|
-
accountHolderVatCountry:
|
|
1206
|
+
accountHolderFinancialAccountIdentifier: l,
|
|
1207
|
+
accountHolderFinancialAccountName: l,
|
|
1208
|
+
accountHolderVatIdentificationNumber: l,
|
|
1209
|
+
accountHolderVatIsNotRequired: l,
|
|
1210
|
+
accountHolderVatCountry: l,
|
|
1211
1211
|
accountHolderBusinessRegistrationNumber: e.accountHolderIsIndividual === "no" && e.accountHolderIsEuResident === "yes",
|
|
1212
1212
|
accountHolderBusinessRegistrationCountry: e.accountHolderIsIndividual === "no" && e.accountHolderIsEuResident === "yes",
|
|
1213
|
-
accountHolderTaxResidenceCountry1:
|
|
1214
|
-
accountHolderTaxResidenceForeignTin1:
|
|
1215
|
-
accountHolderShowTaxResidence2:
|
|
1216
|
-
accountHolderTaxResidenceForeignTin1IsNotRequired:
|
|
1217
|
-
accountHolderTaxResidenceCountry2:
|
|
1218
|
-
accountHolderTaxResidenceForeignTin2:
|
|
1219
|
-
accountHolderShowTaxResidence3:
|
|
1220
|
-
accountHolderTaxResidenceForeignTin2IsNotRequired:
|
|
1221
|
-
accountHolderTaxResidenceCountry3:
|
|
1222
|
-
accountHolderTaxResidenceForeignTin3:
|
|
1223
|
-
accountHolderShowTaxResidence4:
|
|
1224
|
-
accountHolderTaxResidenceForeignTin3IsNotRequired:
|
|
1225
|
-
accountHolderTaxResidenceCountry4:
|
|
1226
|
-
accountHolderTaxResidenceForeignTin4:
|
|
1227
|
-
accountHolderShowTaxResidence5:
|
|
1228
|
-
accountHolderTaxResidenceForeignTin4IsNotRequired:
|
|
1229
|
-
accountHolderTaxResidenceCountry5:
|
|
1230
|
-
accountHolderTaxResidenceForeignTin5:
|
|
1231
|
-
accountHolderTaxResidenceForeignTin5IsNotRequired:
|
|
1213
|
+
accountHolderTaxResidenceCountry1: l,
|
|
1214
|
+
accountHolderTaxResidenceForeignTin1: l,
|
|
1215
|
+
accountHolderShowTaxResidence2: l,
|
|
1216
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired: l,
|
|
1217
|
+
accountHolderTaxResidenceCountry2: l && e.accountHolderShowTaxResidence2 === "yes",
|
|
1218
|
+
accountHolderTaxResidenceForeignTin2: l && e.accountHolderShowTaxResidence2 === "yes",
|
|
1219
|
+
accountHolderShowTaxResidence3: l && e.accountHolderShowTaxResidence2 === "yes",
|
|
1220
|
+
accountHolderTaxResidenceForeignTin2IsNotRequired: l && e.accountHolderShowTaxResidence2 === "yes",
|
|
1221
|
+
accountHolderTaxResidenceCountry3: l && e.accountHolderShowTaxResidence3 === "yes",
|
|
1222
|
+
accountHolderTaxResidenceForeignTin3: l && e.accountHolderShowTaxResidence3 === "yes",
|
|
1223
|
+
accountHolderShowTaxResidence4: l && e.accountHolderShowTaxResidence3 === "yes",
|
|
1224
|
+
accountHolderTaxResidenceForeignTin3IsNotRequired: l && e.accountHolderShowTaxResidence3 === "yes",
|
|
1225
|
+
accountHolderTaxResidenceCountry4: l && e.accountHolderShowTaxResidence4 === "yes",
|
|
1226
|
+
accountHolderTaxResidenceForeignTin4: l && e.accountHolderShowTaxResidence4 === "yes",
|
|
1227
|
+
accountHolderShowTaxResidence5: l && e.accountHolderShowTaxResidence4 === "yes",
|
|
1228
|
+
accountHolderTaxResidenceForeignTin4IsNotRequired: l && e.accountHolderShowTaxResidence4 === "yes",
|
|
1229
|
+
accountHolderTaxResidenceCountry5: l && e.accountHolderShowTaxResidence5 === "yes",
|
|
1230
|
+
accountHolderTaxResidenceForeignTin5: l && e.accountHolderShowTaxResidence5 === "yes",
|
|
1231
|
+
accountHolderTaxResidenceForeignTin5IsNotRequired: l && e.accountHolderShowTaxResidence5 === "yes",
|
|
1232
1232
|
// Regarded Owner Account Classification
|
|
1233
1233
|
regardedOwnerUsAccountType: n && e.regardedOwnerUsPerson === "yes",
|
|
1234
1234
|
regardedOwnerUsLlcClassification: n && e.regardedOwnerUsAccountType === "llc",
|
|
@@ -1265,39 +1265,39 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1265
1265
|
iConfirmTheBeneficialOwnerIsExempt: o,
|
|
1266
1266
|
iConfirmTheTaxIdIsCorrect: r,
|
|
1267
1267
|
iConfirmTheEntityIsNotAUsPerson: o,
|
|
1268
|
-
iConfirmTheInformationIsCorrectComplete:
|
|
1268
|
+
iConfirmTheInformationIsCorrectComplete: m,
|
|
1269
1269
|
iHaveLegalCapacityToSign: r,
|
|
1270
|
-
accountHolderTaxResidences:
|
|
1270
|
+
accountHolderTaxResidences: l
|
|
1271
1271
|
};
|
|
1272
|
-
}, La = (e) => e.accountHolderAddressCountry === "US",
|
|
1272
|
+
}, La = (e) => e.accountHolderAddressCountry === "US", I = () => !0, Ga = (e) => (a) => F(a[`accountHolderTaxResidenceForeignTin${e}`]) || a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`] === "yes", Da = (e) => (a) => F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
|
|
1273
1273
|
a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
|
|
1274
1274
|
), Ya = {
|
|
1275
|
-
accountHolderUsPerson:
|
|
1276
|
-
accountHolderIsEuResident:
|
|
1277
|
-
accountHolderIsIndividual:
|
|
1278
|
-
accountHolderUsAccountType:
|
|
1279
|
-
accountHolderUsSmllcElection:
|
|
1280
|
-
accountHolderUsLlcClassification:
|
|
1281
|
-
accountHolderUsOtherClassification:
|
|
1282
|
-
accountHolderUsTrustEstateEin:
|
|
1283
|
-
accountHolderForeignAccountType:
|
|
1284
|
-
accountHolderForeignTrustClassification:
|
|
1285
|
-
accountHolderForeignOtherClassification:
|
|
1286
|
-
accountHolderName:
|
|
1287
|
-
accountHolderCountryOfCitizenship:
|
|
1275
|
+
accountHolderUsPerson: I,
|
|
1276
|
+
accountHolderIsEuResident: I,
|
|
1277
|
+
accountHolderIsIndividual: I,
|
|
1278
|
+
accountHolderUsAccountType: I,
|
|
1279
|
+
accountHolderUsSmllcElection: I,
|
|
1280
|
+
accountHolderUsLlcClassification: I,
|
|
1281
|
+
accountHolderUsOtherClassification: I,
|
|
1282
|
+
accountHolderUsTrustEstateEin: I,
|
|
1283
|
+
accountHolderForeignAccountType: I,
|
|
1284
|
+
accountHolderForeignTrustClassification: I,
|
|
1285
|
+
accountHolderForeignOtherClassification: I,
|
|
1286
|
+
accountHolderName: I,
|
|
1287
|
+
accountHolderCountryOfCitizenship: I,
|
|
1288
1288
|
accountHolderDbaName: (e) => !!e.accountHolderUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
|
|
1289
1289
|
e.accountHolderUsAccountType
|
|
1290
1290
|
),
|
|
1291
1291
|
accountHolderDateOfBirth: (e) => (e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.accountHolderIsIndividual) === "yes",
|
|
1292
|
-
accountHolderAddressCountry:
|
|
1293
|
-
accountHolderAddressStreet:
|
|
1292
|
+
accountHolderAddressCountry: I,
|
|
1293
|
+
accountHolderAddressStreet: I,
|
|
1294
1294
|
accountHolderAddressState: La,
|
|
1295
|
-
accountHolderAddressCity:
|
|
1295
|
+
accountHolderAddressCity: I,
|
|
1296
1296
|
accountHolderAddressZip: (e) => e.accountHolderAddressCountry === "US" || e.accountHolderAddressCountry === "CA",
|
|
1297
|
-
accountHolderMailingAddressCountry:
|
|
1298
|
-
accountHolderMailingAddressStreet:
|
|
1297
|
+
accountHolderMailingAddressCountry: I,
|
|
1298
|
+
accountHolderMailingAddressStreet: I,
|
|
1299
1299
|
accountHolderMailingAddressState: La,
|
|
1300
|
-
accountHolderMailingAddressCity:
|
|
1300
|
+
accountHolderMailingAddressCity: I,
|
|
1301
1301
|
accountHolderMailingAddressZip: (e) => e.accountHolderMailingAddressCountry === "US" || e.accountHolderMailingAddressCountry === "CA",
|
|
1302
1302
|
accountHolderUsTin: (e) => (e == null ? void 0 : e.accountHolderUsPerson) === "yes",
|
|
1303
1303
|
accountHolderForeignTin: (e) => e.accountHolderForeignTinIsNotRequired !== "yes",
|
|
@@ -1313,7 +1313,7 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1313
1313
|
const { hasNoEUTaxId: a } = da(e);
|
|
1314
1314
|
return a;
|
|
1315
1315
|
},
|
|
1316
|
-
accountHolderTaxResidenceCountry1:
|
|
1316
|
+
accountHolderTaxResidenceCountry1: I,
|
|
1317
1317
|
accountHolderTaxResidenceForeignTin1: (e) => E(e.accountHolderTaxResidenceForeignTin1IsNotRequired),
|
|
1318
1318
|
accountHolderTaxResidenceCountry2: Ga("2"),
|
|
1319
1319
|
accountHolderTaxResidenceForeignTin2: Da("2"),
|
|
@@ -1323,75 +1323,75 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1323
1323
|
accountHolderTaxResidenceForeignTin4: Da("4"),
|
|
1324
1324
|
accountHolderTaxResidenceCountry5: Ga("5"),
|
|
1325
1325
|
accountHolderTaxResidenceForeignTin5: Da("5"),
|
|
1326
|
-
regardedOwnerUsPerson:
|
|
1327
|
-
regardedOwnerUsAccountType:
|
|
1328
|
-
regardedOwnerUsLlcClassification:
|
|
1329
|
-
regardedOwnerUsOtherClassification:
|
|
1330
|
-
regardedOwnerUsTrustEstateEin:
|
|
1331
|
-
regardedOwnerForeignAccountType:
|
|
1332
|
-
regardedOwnerForeignTrustClassification:
|
|
1333
|
-
regardedOwnerForeignOtherClassification:
|
|
1334
|
-
regardedOwnerName:
|
|
1335
|
-
regardedOwnerCountryOfCitizenship:
|
|
1326
|
+
regardedOwnerUsPerson: I,
|
|
1327
|
+
regardedOwnerUsAccountType: I,
|
|
1328
|
+
regardedOwnerUsLlcClassification: I,
|
|
1329
|
+
regardedOwnerUsOtherClassification: I,
|
|
1330
|
+
regardedOwnerUsTrustEstateEin: I,
|
|
1331
|
+
regardedOwnerForeignAccountType: I,
|
|
1332
|
+
regardedOwnerForeignTrustClassification: I,
|
|
1333
|
+
regardedOwnerForeignOtherClassification: I,
|
|
1334
|
+
regardedOwnerName: I,
|
|
1335
|
+
regardedOwnerCountryOfCitizenship: I,
|
|
1336
1336
|
regardedOwnerDbaName: (e) => !!e.regardedOwnerUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
|
|
1337
1337
|
e.regardedOwnerUsAccountType
|
|
1338
1338
|
),
|
|
1339
|
-
regardedOwnerDateOfBirth:
|
|
1340
|
-
regardedOwnerAddressCountry:
|
|
1341
|
-
regardedOwnerAddressStreet:
|
|
1339
|
+
regardedOwnerDateOfBirth: I,
|
|
1340
|
+
regardedOwnerAddressCountry: I,
|
|
1341
|
+
regardedOwnerAddressStreet: I,
|
|
1342
1342
|
regardedOwnerAddressState: La,
|
|
1343
|
-
regardedOwnerAddressCity:
|
|
1343
|
+
regardedOwnerAddressCity: I,
|
|
1344
1344
|
regardedOwnerAddressZip: (e) => e.regardedOwnerAddressCountry === "US" || e.regardedOwnerAddressCountry === "CA",
|
|
1345
|
-
regardedOwnerMailingAddressCountry:
|
|
1346
|
-
regardedOwnerMailingAddressStreet:
|
|
1345
|
+
regardedOwnerMailingAddressCountry: I,
|
|
1346
|
+
regardedOwnerMailingAddressStreet: I,
|
|
1347
1347
|
regardedOwnerMailingAddressState: La,
|
|
1348
|
-
regardedOwnerMailingAddressCity:
|
|
1348
|
+
regardedOwnerMailingAddressCity: I,
|
|
1349
1349
|
regardedOwnerMailingAddressZip: (e) => e.regardedOwnerMailingAddressCountry === "US" || e.regardedOwnerMailingAddressCountry === "CA",
|
|
1350
1350
|
regardedOwnerUsTin: (e) => (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes",
|
|
1351
1351
|
regardedOwnerForeignTin: (e) => e.regardedOwnerForeignTinIsNotRequired !== "yes",
|
|
1352
|
-
iConfirmTheInformationIsCorrectComplete:
|
|
1353
|
-
signature:
|
|
1352
|
+
iConfirmTheInformationIsCorrectComplete: I,
|
|
1353
|
+
signature: I
|
|
1354
1354
|
}, Jn = (e, a) => {
|
|
1355
|
-
var s, o,
|
|
1355
|
+
var s, o, d, u, m, l, v, g, A, p, S, N, T, R, P, ee, L, ae, se, Ie, Se, le, de, Ne, ue, V, q, ie, z, W, ge, ke, Re, we, He, Le, We, h, B, Y, he, Ge, je, ca, Je, ma, ga, Oe, ze, Ze, qe, Ee, ka, ha, De, va, pa, Ye, _e, Te, fa, Qe, Xe, Ue, Aa, ba, Ca, Ia, Sa, Na, Ta, Fe, $e, ve, xe, Ke, ea, Ma, aa, ya, ia, na, ja, Oa, ta, za, Ea, Ba, Pa, t, c, k, b, y, j, M, C, U, w, H, J, pe, ra, ne, oi, si, li, di, ui, ci, mi, gi, ki, hi, vi, pi, fi, Ai, bi, Ci, Ii, Si, Ni, Ti, Mi, yi, ji, Oi, zi, Ei, Bi, Pi, Ri, wi, Hi, Li, Gi, Di, Ui, Fi, xi, Ki, Vi, Wi, Ji, Zi, qi, Yi, _i, Qi, Xi, $i, en, an, nn, tn, rn, on, sn, ln, dn, un, cn, mn, gn, kn, hn, vn, pn, fn, An, bn, Cn, In, Sn, Nn, Tn, Mn, yn, jn, On, zn, En, Bn, Pn, Rn, wn, Hn;
|
|
1356
1356
|
if (e == null)
|
|
1357
1357
|
return {};
|
|
1358
1358
|
const n = {
|
|
1359
1359
|
accountHolderName: (s = e.accountHolder) == null ? void 0 : s.name,
|
|
1360
1360
|
accountHolderDbaName: (o = e.accountHolder) == null ? void 0 : o.dbaName,
|
|
1361
|
-
accountHolderDateOfBirth: (
|
|
1361
|
+
accountHolderDateOfBirth: (d = e.accountHolder) == null ? void 0 : d.dateOfBirth,
|
|
1362
1362
|
accountHolderCityOfBirth: (u = e.accountHolder) == null ? void 0 : u.cityOfBirth,
|
|
1363
|
-
accountHolderCountryOfBirth: (
|
|
1364
|
-
accountHolderUsTin: (
|
|
1365
|
-
accountHolderForeignTin: (v = e.accountHolder) != null && v.ftinNotLegallyRequired || (
|
|
1363
|
+
accountHolderCountryOfBirth: (m = e.accountHolder) == null ? void 0 : m.countryOfBirth,
|
|
1364
|
+
accountHolderUsTin: (l = e.accountHolder) == null ? void 0 : l.tin,
|
|
1365
|
+
accountHolderForeignTin: (v = e.accountHolder) != null && v.ftinNotLegallyRequired || (g = e.accountHolder) == null ? void 0 : g.ftin,
|
|
1366
1366
|
accountHolderForeignTinIsNotRequired: (A = e.accountHolder) != null && A.ftinNotLegallyRequired ? "yes" : void 0,
|
|
1367
1367
|
accountHolderCountryOfCitizenship: (p = e.accountHolder) == null ? void 0 : p.countryOfCitizenship,
|
|
1368
|
-
accountHolderAddressStreet: (
|
|
1369
|
-
accountHolderAddressStreet2: (
|
|
1370
|
-
accountHolderAddressCity: (
|
|
1371
|
-
accountHolderAddressState: (
|
|
1372
|
-
accountHolderAddressZip: (
|
|
1373
|
-
accountHolderAddressCountry: (le = (
|
|
1368
|
+
accountHolderAddressStreet: (N = (S = e.accountHolder) == null ? void 0 : S.address) == null ? void 0 : N.firstLine,
|
|
1369
|
+
accountHolderAddressStreet2: (R = (T = e.accountHolder) == null ? void 0 : T.address) == null ? void 0 : R.secondLine,
|
|
1370
|
+
accountHolderAddressCity: (ee = (P = e.accountHolder) == null ? void 0 : P.address) == null ? void 0 : ee.city,
|
|
1371
|
+
accountHolderAddressState: (ae = (L = e.accountHolder) == null ? void 0 : L.address) == null ? void 0 : ae.stateOrProvince,
|
|
1372
|
+
accountHolderAddressZip: (Ie = (se = e.accountHolder) == null ? void 0 : se.address) == null ? void 0 : Ie.postalCode,
|
|
1373
|
+
accountHolderAddressCountry: (le = (Se = e.accountHolder) == null ? void 0 : Se.address) == null ? void 0 : le.country,
|
|
1374
1374
|
accountHolderMailingAddressIsDifferent: (de = e.accountHolder) != null && de.mailingAddressIsDifferent ? "yes" : void 0,
|
|
1375
|
-
accountHolderMailingAddressStreet: (ue = (
|
|
1376
|
-
accountHolderMailingAddressStreet2: (
|
|
1377
|
-
accountHolderMailingAddressCity: (z = (
|
|
1378
|
-
accountHolderMailingAddressState: (
|
|
1379
|
-
accountHolderMailingAddressZip: (Re = (
|
|
1375
|
+
accountHolderMailingAddressStreet: (ue = (Ne = e.accountHolder) == null ? void 0 : Ne.mailingAddress) == null ? void 0 : ue.firstLine,
|
|
1376
|
+
accountHolderMailingAddressStreet2: (q = (V = e.accountHolder) == null ? void 0 : V.mailingAddress) == null ? void 0 : q.secondLine,
|
|
1377
|
+
accountHolderMailingAddressCity: (z = (ie = e.accountHolder) == null ? void 0 : ie.mailingAddress) == null ? void 0 : z.city,
|
|
1378
|
+
accountHolderMailingAddressState: (ge = (W = e.accountHolder) == null ? void 0 : W.mailingAddress) == null ? void 0 : ge.stateOrProvince,
|
|
1379
|
+
accountHolderMailingAddressZip: (Re = (ke = e.accountHolder) == null ? void 0 : ke.mailingAddress) == null ? void 0 : Re.postalCode,
|
|
1380
1380
|
accountHolderMailingAddressCountry: (He = (we = e.accountHolder) == null ? void 0 : we.mailingAddress) == null ? void 0 : He.country,
|
|
1381
|
-
accountHolderIsIndividual: ((Le = e.accountHolder) == null ? void 0 : Le.isIndividual) === !0 ? "yes" : ((
|
|
1382
|
-
accountHolderIsEuResident: ((
|
|
1383
|
-
accountHolderUsPerson: ((
|
|
1381
|
+
accountHolderIsIndividual: ((Le = e.accountHolder) == null ? void 0 : Le.isIndividual) === !0 ? "yes" : ((We = e.accountHolder) == null ? void 0 : We.isIndividual) === !1 ? "no" : void 0,
|
|
1382
|
+
accountHolderIsEuResident: ((h = e.accountHolder) == null ? void 0 : h.isEuResident) === !0 ? "yes" : ((B = e.accountHolder) == null ? void 0 : B.isEuResident) === !1 ? "no" : void 0,
|
|
1383
|
+
accountHolderUsPerson: ((Y = e.accountHolder) == null ? void 0 : Y.isUsPerson) === !0 ? "yes" : ((he = e.accountHolder) == null ? void 0 : he.isUsPerson) === !1 ? "no" : void 0,
|
|
1384
1384
|
accountHolderUsAccountType: Wn(
|
|
1385
|
-
(
|
|
1385
|
+
(Ge = e.accountHolder) == null ? void 0 : Ge.usAccountType
|
|
1386
1386
|
),
|
|
1387
|
-
accountHolderUsSmllcElection: ((
|
|
1387
|
+
accountHolderUsSmllcElection: ((je = e.accountHolder) == null ? void 0 : je.usSmllcElection) === !0 ? "yes" : ((ca = e.accountHolder) == null ? void 0 : ca.usSmllcElection) === !1 ? "no" : void 0,
|
|
1388
1388
|
accountHolderUsLlcClassification: Vn(
|
|
1389
1389
|
(Je = e.accountHolder) == null ? void 0 : Je.usLlcClassification
|
|
1390
1390
|
),
|
|
1391
1391
|
accountHolderUsOtherClassification: (ma = e.accountHolder) == null ? void 0 : ma.usOtherClassification,
|
|
1392
|
-
accountHolderUsTrustEstateEin: ((ga = e.accountHolder) == null ? void 0 : ga.usTrustEstateEin) === !0 ? "yes" : ((
|
|
1392
|
+
accountHolderUsTrustEstateEin: ((ga = e.accountHolder) == null ? void 0 : ga.usTrustEstateEin) === !0 ? "yes" : ((Oe = e.accountHolder) == null ? void 0 : Oe.usTrustEstateEin) === !1 ? "no" : void 0,
|
|
1393
1393
|
accountHolderForeignAccountType: Fn(
|
|
1394
|
-
(
|
|
1394
|
+
(ze = e.accountHolder) == null ? void 0 : ze.foreignAccountType
|
|
1395
1395
|
),
|
|
1396
1396
|
accountHolderForeignTrustClassification: Kn(
|
|
1397
1397
|
(Ze = e.accountHolder) == null ? void 0 : Ze.foreignTrustClassification
|
|
@@ -1400,23 +1400,23 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1400
1400
|
(qe = e.accountHolder) == null ? void 0 : qe.foreignOtherClassification
|
|
1401
1401
|
),
|
|
1402
1402
|
accountHolderFinancialAccountName: E(
|
|
1403
|
-
(
|
|
1403
|
+
(Ee = e.accountHolder) == null ? void 0 : Ee.financialAccountName
|
|
1404
1404
|
) ? (ka = e.accountHolder) == null ? void 0 : ka.name : (ha = e.accountHolder) == null ? void 0 : ha.financialAccountName,
|
|
1405
|
-
accountHolderFinancialAccountIdentifier: (
|
|
1405
|
+
accountHolderFinancialAccountIdentifier: (De = e.accountHolder) == null ? void 0 : De.financialAccountIdentifier,
|
|
1406
1406
|
accountHolderVatIdentificationNumber: (va = e.accountHolder) != null && va.vatinNotRequired || (pa = e.accountHolder) == null ? void 0 : pa.vatin,
|
|
1407
1407
|
accountHolderVatCountry: (Ye = e.accountHolder) != null && Ye.vatinNotRequired || (_e = e.accountHolder) == null ? void 0 : _e.vatinCountry,
|
|
1408
1408
|
accountHolderVatIsNotRequired: (Te = e.accountHolder) != null && Te.vatinNotRequired ? "yes" : void 0,
|
|
1409
1409
|
accountHolderBusinessRegistrationNumber: (fa = e.accountHolder) == null ? void 0 : fa.businessRegistrationNumber,
|
|
1410
1410
|
accountHolderBusinessRegistrationCountry: (Qe = e.accountHolder) == null ? void 0 : Qe.businessRegistrationCountry,
|
|
1411
|
-
accountHolderShowTaxResidence2: !E((Aa = (
|
|
1412
|
-
accountHolderShowTaxResidence3: !E((Ta = (Na = (Sa = e.accountHolder) == null ? void 0 : Sa.taxResidences) == null ? void 0 : Na[2]) == null ? void 0 : Ta.country) || !E((
|
|
1413
|
-
accountHolderShowTaxResidence4: !E((ea = (
|
|
1411
|
+
accountHolderShowTaxResidence2: !E((Aa = (Ue = (Xe = e.accountHolder) == null ? void 0 : Xe.taxResidences) == null ? void 0 : Ue[1]) == null ? void 0 : Aa.country) || !E((Ia = (Ca = (ba = e.accountHolder) == null ? void 0 : ba.taxResidences) == null ? void 0 : Ca[1]) == null ? void 0 : Ia.tin) ? "yes" : void 0,
|
|
1412
|
+
accountHolderShowTaxResidence3: !E((Ta = (Na = (Sa = e.accountHolder) == null ? void 0 : Sa.taxResidences) == null ? void 0 : Na[2]) == null ? void 0 : Ta.country) || !E((ve = ($e = (Fe = e.accountHolder) == null ? void 0 : Fe.taxResidences) == null ? void 0 : $e[2]) == null ? void 0 : ve.tin) ? "yes" : void 0,
|
|
1413
|
+
accountHolderShowTaxResidence4: !E((ea = (Ke = (xe = e.accountHolder) == null ? void 0 : xe.taxResidences) == null ? void 0 : Ke[3]) == null ? void 0 : ea.country) || !E((ya = (aa = (Ma = e.accountHolder) == null ? void 0 : Ma.taxResidences) == null ? void 0 : aa[3]) == null ? void 0 : ya.tin) ? "yes" : void 0,
|
|
1414
1414
|
accountHolderShowTaxResidence5: !E((ja = (na = (ia = e.accountHolder) == null ? void 0 : ia.taxResidences) == null ? void 0 : na[4]) == null ? void 0 : ja.country) || !E((za = (ta = (Oa = e.accountHolder) == null ? void 0 : Oa.taxResidences) == null ? void 0 : ta[4]) == null ? void 0 : za.tin) ? "yes" : void 0,
|
|
1415
1415
|
accountHolderTaxResidenceCountry1: (Pa = (Ba = (Ea = e.accountHolder) == null ? void 0 : Ea.taxResidences) == null ? void 0 : Ba[0]) == null ? void 0 : Pa.country,
|
|
1416
|
-
accountHolderTaxResidenceForeignTin1: (
|
|
1417
|
-
accountHolderTaxResidenceForeignTin1IsNotRequired: (U = (
|
|
1418
|
-
accountHolderTaxResidenceCountry2: (
|
|
1419
|
-
accountHolderTaxResidenceForeignTin2: (
|
|
1416
|
+
accountHolderTaxResidenceForeignTin1: (k = (c = (t = e.accountHolder) == null ? void 0 : t.taxResidences) == null ? void 0 : c[0]) != null && k.tinNotRequired || (j = (y = (b = e.accountHolder) == null ? void 0 : b.taxResidences) == null ? void 0 : y[0]) == null ? void 0 : j.tin,
|
|
1417
|
+
accountHolderTaxResidenceForeignTin1IsNotRequired: (U = (C = (M = e.accountHolder) == null ? void 0 : M.taxResidences) == null ? void 0 : C[0]) != null && U.tinNotRequired ? "yes" : void 0,
|
|
1418
|
+
accountHolderTaxResidenceCountry2: (J = (H = (w = e.accountHolder) == null ? void 0 : w.taxResidences) == null ? void 0 : H[1]) == null ? void 0 : J.country,
|
|
1419
|
+
accountHolderTaxResidenceForeignTin2: (ne = (ra = (pe = e.accountHolder) == null ? void 0 : pe.taxResidences) == null ? void 0 : ra[1]) != null && ne.tinNotRequired || (li = (si = (oi = e.accountHolder) == null ? void 0 : oi.taxResidences) == null ? void 0 : si[1]) == null ? void 0 : li.tin,
|
|
1420
1420
|
accountHolderTaxResidenceForeignTin2IsNotRequired: (ci = (ui = (di = e.accountHolder) == null ? void 0 : di.taxResidences) == null ? void 0 : ui[1]) != null && ci.tinNotRequired ? "yes" : void 0,
|
|
1421
1421
|
accountHolderTaxResidenceCountry3: (ki = (gi = (mi = e.accountHolder) == null ? void 0 : mi.taxResidences) == null ? void 0 : gi[2]) == null ? void 0 : ki.country,
|
|
1422
1422
|
accountHolderTaxResidenceForeignTin3: (pi = (vi = (hi = e.accountHolder) == null ? void 0 : hi.taxResidences) == null ? void 0 : vi[2]) != null && pi.tinNotRequired || (bi = (Ai = (fi = e.accountHolder) == null ? void 0 : fi.taxResidences) == null ? void 0 : Ai[2]) == null ? void 0 : bi.tin,
|
|
@@ -1470,56 +1470,56 @@ const Va = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging
|
|
|
1470
1470
|
}, r = ot(a);
|
|
1471
1471
|
return Object.fromEntries(
|
|
1472
1472
|
Object.entries(n).filter(
|
|
1473
|
-
([
|
|
1473
|
+
([ct]) => r[ct]
|
|
1474
1474
|
)
|
|
1475
1475
|
);
|
|
1476
1476
|
}, _a = ({ bearerToken: e }) => new Headers({
|
|
1477
1477
|
Authorization: `Bearer ${e}`
|
|
1478
|
-
}),
|
|
1479
|
-
var
|
|
1480
|
-
const [n, r] =
|
|
1481
|
-
const
|
|
1478
|
+
}), sr = (e, a) => {
|
|
1479
|
+
var S;
|
|
1480
|
+
const [n, r] = K(), [s, o] = K(), [d, u] = K(!1), m = a ? "STAGING" : "PRODUCTION", l = Wa.taxDocumentation.get(m), v = Wa.taxDocumentation.post(m), g = Wa.taxDocumentationStatus.get(m), A = async (N) => {
|
|
1481
|
+
const T = {
|
|
1482
1482
|
method: "POST",
|
|
1483
1483
|
headers: _a({ bearerToken: e }),
|
|
1484
|
-
body: JSON.stringify($a(
|
|
1484
|
+
body: JSON.stringify($a(N))
|
|
1485
1485
|
};
|
|
1486
|
-
fetch(v,
|
|
1487
|
-
|
|
1486
|
+
fetch(v, T).then((R) => {
|
|
1487
|
+
R.status === 200 && u(!0);
|
|
1488
1488
|
});
|
|
1489
1489
|
};
|
|
1490
1490
|
X(() => {
|
|
1491
|
-
const
|
|
1491
|
+
const N = {
|
|
1492
1492
|
method: "GET",
|
|
1493
1493
|
headers: _a({ bearerToken: e })
|
|
1494
1494
|
};
|
|
1495
|
-
fetch(
|
|
1496
|
-
if (
|
|
1497
|
-
return
|
|
1498
|
-
throw
|
|
1499
|
-
}).then((
|
|
1500
|
-
o(xa(
|
|
1495
|
+
fetch(g, N).then((T) => {
|
|
1496
|
+
if (T.ok)
|
|
1497
|
+
return T.json();
|
|
1498
|
+
throw T.status === 401 ? new Error("Unauthorized, please check your bearer token") : new Error("Something went wrong");
|
|
1499
|
+
}).then((T) => {
|
|
1500
|
+
o(xa(T));
|
|
1501
1501
|
});
|
|
1502
|
-
}, [e,
|
|
1502
|
+
}, [e, g, d]), X(() => {
|
|
1503
1503
|
if (s && s.submissionStatus !== "NOT_SUBMITTED") {
|
|
1504
|
-
const
|
|
1504
|
+
const N = {
|
|
1505
1505
|
method: "GET",
|
|
1506
1506
|
headers: _a({ bearerToken: e })
|
|
1507
1507
|
};
|
|
1508
|
-
fetch(
|
|
1509
|
-
if (
|
|
1510
|
-
return
|
|
1508
|
+
fetch(l, N).then((T) => {
|
|
1509
|
+
if (T.ok)
|
|
1510
|
+
return T.json();
|
|
1511
1511
|
throw new Error("Something went wrong");
|
|
1512
|
-
}).then((
|
|
1513
|
-
r(xa(
|
|
1512
|
+
}).then((T) => {
|
|
1513
|
+
r(xa(T));
|
|
1514
1514
|
});
|
|
1515
1515
|
}
|
|
1516
|
-
}, [e, s,
|
|
1517
|
-
const p = (s == null ? void 0 : s.submissionStatus) === "NOT_SUBMITTED" ? s.submissionStatus : (
|
|
1516
|
+
}, [e, s, l]);
|
|
1517
|
+
const p = (s == null ? void 0 : s.submissionStatus) === "NOT_SUBMITTED" ? s.submissionStatus : (S = s == null ? void 0 : s.DAC7Interview) == null ? void 0 : S.dataCollectionStatus;
|
|
1518
1518
|
return {
|
|
1519
1519
|
postData: A,
|
|
1520
1520
|
formStatus: p,
|
|
1521
1521
|
status: s,
|
|
1522
|
-
formSubmitted:
|
|
1522
|
+
formSubmitted: d,
|
|
1523
1523
|
serverData: n
|
|
1524
1524
|
};
|
|
1525
1525
|
};
|
|
@@ -1534,22 +1534,22 @@ var ai = { exports: {} }, oa = {};
|
|
|
1534
1534
|
* LICENSE file in the root directory of this source tree.
|
|
1535
1535
|
*/
|
|
1536
1536
|
var Zn;
|
|
1537
|
-
function
|
|
1537
|
+
function lr() {
|
|
1538
1538
|
if (Zn)
|
|
1539
1539
|
return oa;
|
|
1540
1540
|
Zn = 1;
|
|
1541
1541
|
var e = Qn, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1542
|
-
function
|
|
1543
|
-
var v,
|
|
1544
|
-
|
|
1545
|
-
for (v in
|
|
1546
|
-
r.call(
|
|
1542
|
+
function d(u, m, l) {
|
|
1543
|
+
var v, g = {}, A = null, p = null;
|
|
1544
|
+
l !== void 0 && (A = "" + l), m.key !== void 0 && (A = "" + m.key), m.ref !== void 0 && (p = m.ref);
|
|
1545
|
+
for (v in m)
|
|
1546
|
+
r.call(m, v) && !o.hasOwnProperty(v) && (g[v] = m[v]);
|
|
1547
1547
|
if (u && u.defaultProps)
|
|
1548
|
-
for (v in
|
|
1549
|
-
|
|
1550
|
-
return { $$typeof: a, type: u, key: A, ref: p, props:
|
|
1548
|
+
for (v in m = u.defaultProps, m)
|
|
1549
|
+
g[v] === void 0 && (g[v] = m[v]);
|
|
1550
|
+
return { $$typeof: a, type: u, key: A, ref: p, props: g, _owner: s.current };
|
|
1551
1551
|
}
|
|
1552
|
-
return oa.Fragment = n, oa.jsx =
|
|
1552
|
+
return oa.Fragment = n, oa.jsx = d, oa.jsxs = d, oa;
|
|
1553
1553
|
}
|
|
1554
1554
|
var sa = {};
|
|
1555
1555
|
/**
|
|
@@ -1562,56 +1562,56 @@ var sa = {};
|
|
|
1562
1562
|
* LICENSE file in the root directory of this source tree.
|
|
1563
1563
|
*/
|
|
1564
1564
|
var qn;
|
|
1565
|
-
function
|
|
1565
|
+
function dr() {
|
|
1566
1566
|
return qn || (qn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1567
|
-
var e = Qn, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"),
|
|
1568
|
-
function
|
|
1567
|
+
var e = Qn, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), u = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), S = Symbol.iterator, N = "@@iterator";
|
|
1568
|
+
function T(t) {
|
|
1569
1569
|
if (t === null || typeof t != "object")
|
|
1570
1570
|
return null;
|
|
1571
|
-
var c =
|
|
1571
|
+
var c = S && t[S] || t[N];
|
|
1572
1572
|
return typeof c == "function" ? c : null;
|
|
1573
1573
|
}
|
|
1574
|
-
var
|
|
1575
|
-
function
|
|
1574
|
+
var R = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1575
|
+
function P(t) {
|
|
1576
1576
|
{
|
|
1577
|
-
for (var c = arguments.length,
|
|
1578
|
-
|
|
1579
|
-
|
|
1577
|
+
for (var c = arguments.length, k = new Array(c > 1 ? c - 1 : 0), b = 1; b < c; b++)
|
|
1578
|
+
k[b - 1] = arguments[b];
|
|
1579
|
+
ee("error", t, k);
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
|
-
function
|
|
1582
|
+
function ee(t, c, k) {
|
|
1583
1583
|
{
|
|
1584
|
-
var b =
|
|
1585
|
-
y !== "" && (c += "%s",
|
|
1586
|
-
var j =
|
|
1587
|
-
return String(
|
|
1584
|
+
var b = R.ReactDebugCurrentFrame, y = b.getStackAddendum();
|
|
1585
|
+
y !== "" && (c += "%s", k = k.concat([y]));
|
|
1586
|
+
var j = k.map(function(M) {
|
|
1587
|
+
return String(M);
|
|
1588
1588
|
});
|
|
1589
1589
|
j.unshift("Warning: " + c), Function.prototype.apply.call(console[t], console, j);
|
|
1590
1590
|
}
|
|
1591
1591
|
}
|
|
1592
|
-
var L = !1,
|
|
1592
|
+
var L = !1, ae = !1, se = !1, Ie = !1, Se = !1, le;
|
|
1593
1593
|
le = Symbol.for("react.module.reference");
|
|
1594
1594
|
function de(t) {
|
|
1595
|
-
return !!(typeof t == "string" || typeof t == "function" || t === r || t === o ||
|
|
1595
|
+
return !!(typeof t == "string" || typeof t == "function" || t === r || t === o || Se || t === s || t === l || t === v || Ie || t === p || L || ae || se || typeof t == "object" && t !== null && (t.$$typeof === A || t.$$typeof === g || t.$$typeof === d || t.$$typeof === u || t.$$typeof === m || // This needs to include all possible module reference object
|
|
1596
1596
|
// types supported by any Flight configuration anywhere since
|
|
1597
1597
|
// we don't know which Flight build this will end up being used
|
|
1598
1598
|
// with.
|
|
1599
1599
|
t.$$typeof === le || t.getModuleId !== void 0));
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function Ne(t, c, k) {
|
|
1602
1602
|
var b = t.displayName;
|
|
1603
1603
|
if (b)
|
|
1604
1604
|
return b;
|
|
1605
1605
|
var y = c.displayName || c.name || "";
|
|
1606
|
-
return y !== "" ?
|
|
1606
|
+
return y !== "" ? k + "(" + y + ")" : k;
|
|
1607
1607
|
}
|
|
1608
1608
|
function ue(t) {
|
|
1609
1609
|
return t.displayName || "Context";
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function V(t) {
|
|
1612
1612
|
if (t == null)
|
|
1613
1613
|
return null;
|
|
1614
|
-
if (typeof t.tag == "number" &&
|
|
1614
|
+
if (typeof t.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
1615
1615
|
return t.displayName || t.name || null;
|
|
1616
1616
|
if (typeof t == "string")
|
|
1617
1617
|
return t;
|
|
@@ -1624,7 +1624,7 @@ function lr() {
|
|
|
1624
1624
|
return "Profiler";
|
|
1625
1625
|
case s:
|
|
1626
1626
|
return "StrictMode";
|
|
1627
|
-
case
|
|
1627
|
+
case l:
|
|
1628
1628
|
return "Suspense";
|
|
1629
1629
|
case v:
|
|
1630
1630
|
return "SuspenseList";
|
|
@@ -1634,18 +1634,18 @@ function lr() {
|
|
|
1634
1634
|
case u:
|
|
1635
1635
|
var c = t;
|
|
1636
1636
|
return ue(c) + ".Consumer";
|
|
1637
|
-
case l:
|
|
1638
|
-
var g = t;
|
|
1639
|
-
return ue(g._context) + ".Provider";
|
|
1640
1637
|
case d:
|
|
1641
|
-
|
|
1638
|
+
var k = t;
|
|
1639
|
+
return ue(k._context) + ".Provider";
|
|
1642
1640
|
case m:
|
|
1641
|
+
return Ne(t, t.render, "ForwardRef");
|
|
1642
|
+
case g:
|
|
1643
1643
|
var b = t.displayName || null;
|
|
1644
|
-
return b !== null ? b :
|
|
1644
|
+
return b !== null ? b : V(t.type) || "Memo";
|
|
1645
1645
|
case A: {
|
|
1646
|
-
var y = t, j = y._payload,
|
|
1646
|
+
var y = t, j = y._payload, M = y._init;
|
|
1647
1647
|
try {
|
|
1648
|
-
return
|
|
1648
|
+
return V(M(j));
|
|
1649
1649
|
} catch {
|
|
1650
1650
|
return null;
|
|
1651
1651
|
}
|
|
@@ -1653,14 +1653,14 @@ function lr() {
|
|
|
1653
1653
|
}
|
|
1654
1654
|
return null;
|
|
1655
1655
|
}
|
|
1656
|
-
var
|
|
1656
|
+
var q = Object.assign, ie = 0, z, W, ge, ke, Re, we, He;
|
|
1657
1657
|
function Le() {
|
|
1658
1658
|
}
|
|
1659
1659
|
Le.__reactDisabledLog = !0;
|
|
1660
|
-
function
|
|
1660
|
+
function We() {
|
|
1661
1661
|
{
|
|
1662
|
-
if (
|
|
1663
|
-
z = console.log,
|
|
1662
|
+
if (ie === 0) {
|
|
1663
|
+
z = console.log, W = console.info, ge = console.warn, ke = console.error, Re = console.group, we = console.groupCollapsed, He = console.groupEnd;
|
|
1664
1664
|
var t = {
|
|
1665
1665
|
configurable: !0,
|
|
1666
1666
|
enumerable: !0,
|
|
@@ -1677,205 +1677,205 @@ function lr() {
|
|
|
1677
1677
|
groupEnd: t
|
|
1678
1678
|
});
|
|
1679
1679
|
}
|
|
1680
|
-
|
|
1680
|
+
ie++;
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function h() {
|
|
1684
1684
|
{
|
|
1685
|
-
if (
|
|
1685
|
+
if (ie--, ie === 0) {
|
|
1686
1686
|
var t = {
|
|
1687
1687
|
configurable: !0,
|
|
1688
1688
|
enumerable: !0,
|
|
1689
1689
|
writable: !0
|
|
1690
1690
|
};
|
|
1691
1691
|
Object.defineProperties(console, {
|
|
1692
|
-
log:
|
|
1692
|
+
log: q({}, t, {
|
|
1693
1693
|
value: z
|
|
1694
1694
|
}),
|
|
1695
|
-
info:
|
|
1696
|
-
value:
|
|
1695
|
+
info: q({}, t, {
|
|
1696
|
+
value: W
|
|
1697
1697
|
}),
|
|
1698
|
-
warn:
|
|
1699
|
-
value:
|
|
1698
|
+
warn: q({}, t, {
|
|
1699
|
+
value: ge
|
|
1700
1700
|
}),
|
|
1701
|
-
error:
|
|
1702
|
-
value:
|
|
1701
|
+
error: q({}, t, {
|
|
1702
|
+
value: ke
|
|
1703
1703
|
}),
|
|
1704
|
-
group:
|
|
1704
|
+
group: q({}, t, {
|
|
1705
1705
|
value: Re
|
|
1706
1706
|
}),
|
|
1707
|
-
groupCollapsed:
|
|
1707
|
+
groupCollapsed: q({}, t, {
|
|
1708
1708
|
value: we
|
|
1709
1709
|
}),
|
|
1710
|
-
groupEnd:
|
|
1710
|
+
groupEnd: q({}, t, {
|
|
1711
1711
|
value: He
|
|
1712
1712
|
})
|
|
1713
1713
|
});
|
|
1714
1714
|
}
|
|
1715
|
-
|
|
1715
|
+
ie < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1716
1716
|
}
|
|
1717
1717
|
}
|
|
1718
|
-
var
|
|
1719
|
-
function
|
|
1718
|
+
var B = R.ReactCurrentDispatcher, Y;
|
|
1719
|
+
function he(t, c, k) {
|
|
1720
1720
|
{
|
|
1721
|
-
if (
|
|
1721
|
+
if (Y === void 0)
|
|
1722
1722
|
try {
|
|
1723
1723
|
throw Error();
|
|
1724
1724
|
} catch (y) {
|
|
1725
1725
|
var b = y.stack.trim().match(/\n( *(at )?)/);
|
|
1726
|
-
|
|
1726
|
+
Y = b && b[1] || "";
|
|
1727
1727
|
}
|
|
1728
1728
|
return `
|
|
1729
|
-
` +
|
|
1729
|
+
` + Y + t;
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
|
-
var
|
|
1732
|
+
var Ge = !1, je;
|
|
1733
1733
|
{
|
|
1734
1734
|
var ca = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1735
|
-
|
|
1735
|
+
je = new ca();
|
|
1736
1736
|
}
|
|
1737
1737
|
function Je(t, c) {
|
|
1738
|
-
if (!t ||
|
|
1738
|
+
if (!t || Ge)
|
|
1739
1739
|
return "";
|
|
1740
1740
|
{
|
|
1741
|
-
var
|
|
1742
|
-
if (
|
|
1743
|
-
return
|
|
1741
|
+
var k = je.get(t);
|
|
1742
|
+
if (k !== void 0)
|
|
1743
|
+
return k;
|
|
1744
1744
|
}
|
|
1745
1745
|
var b;
|
|
1746
|
-
|
|
1746
|
+
Ge = !0;
|
|
1747
1747
|
var y = Error.prepareStackTrace;
|
|
1748
1748
|
Error.prepareStackTrace = void 0;
|
|
1749
1749
|
var j;
|
|
1750
|
-
j =
|
|
1750
|
+
j = B.current, B.current = null, We();
|
|
1751
1751
|
try {
|
|
1752
1752
|
if (c) {
|
|
1753
|
-
var
|
|
1753
|
+
var M = function() {
|
|
1754
1754
|
throw Error();
|
|
1755
1755
|
};
|
|
1756
|
-
if (Object.defineProperty(
|
|
1756
|
+
if (Object.defineProperty(M.prototype, "props", {
|
|
1757
1757
|
set: function() {
|
|
1758
1758
|
throw Error();
|
|
1759
1759
|
}
|
|
1760
1760
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1761
1761
|
try {
|
|
1762
|
-
Reflect.construct(
|
|
1763
|
-
} catch (
|
|
1764
|
-
b =
|
|
1762
|
+
Reflect.construct(M, []);
|
|
1763
|
+
} catch (ne) {
|
|
1764
|
+
b = ne;
|
|
1765
1765
|
}
|
|
1766
|
-
Reflect.construct(t, [],
|
|
1766
|
+
Reflect.construct(t, [], M);
|
|
1767
1767
|
} else {
|
|
1768
1768
|
try {
|
|
1769
|
-
|
|
1770
|
-
} catch (
|
|
1771
|
-
b =
|
|
1769
|
+
M.call();
|
|
1770
|
+
} catch (ne) {
|
|
1771
|
+
b = ne;
|
|
1772
1772
|
}
|
|
1773
|
-
t.call(
|
|
1773
|
+
t.call(M.prototype);
|
|
1774
1774
|
}
|
|
1775
1775
|
} else {
|
|
1776
1776
|
try {
|
|
1777
1777
|
throw Error();
|
|
1778
|
-
} catch (
|
|
1779
|
-
b =
|
|
1778
|
+
} catch (ne) {
|
|
1779
|
+
b = ne;
|
|
1780
1780
|
}
|
|
1781
1781
|
t();
|
|
1782
1782
|
}
|
|
1783
|
-
} catch (
|
|
1784
|
-
if (
|
|
1785
|
-
for (var
|
|
1783
|
+
} catch (ne) {
|
|
1784
|
+
if (ne && b && typeof ne.stack == "string") {
|
|
1785
|
+
for (var C = ne.stack.split(`
|
|
1786
1786
|
`), U = b.stack.split(`
|
|
1787
|
-
`), w =
|
|
1787
|
+
`), w = C.length - 1, H = U.length - 1; w >= 1 && H >= 0 && C[w] !== U[H]; )
|
|
1788
1788
|
H--;
|
|
1789
1789
|
for (; w >= 1 && H >= 0; w--, H--)
|
|
1790
|
-
if (
|
|
1790
|
+
if (C[w] !== U[H]) {
|
|
1791
1791
|
if (w !== 1 || H !== 1)
|
|
1792
1792
|
do
|
|
1793
|
-
if (w--, H--, H < 0 ||
|
|
1794
|
-
var
|
|
1795
|
-
` +
|
|
1796
|
-
return t.displayName &&
|
|
1793
|
+
if (w--, H--, H < 0 || C[w] !== U[H]) {
|
|
1794
|
+
var J = `
|
|
1795
|
+
` + C[w].replace(" at new ", " at ");
|
|
1796
|
+
return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && je.set(t, J), J;
|
|
1797
1797
|
}
|
|
1798
1798
|
while (w >= 1 && H >= 0);
|
|
1799
1799
|
break;
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
1802
1802
|
} finally {
|
|
1803
|
-
|
|
1803
|
+
Ge = !1, B.current = j, h(), Error.prepareStackTrace = y;
|
|
1804
1804
|
}
|
|
1805
|
-
var
|
|
1806
|
-
return typeof t == "function" &&
|
|
1805
|
+
var pe = t ? t.displayName || t.name : "", ra = pe ? he(pe) : "";
|
|
1806
|
+
return typeof t == "function" && je.set(t, ra), ra;
|
|
1807
1807
|
}
|
|
1808
|
-
function ma(t, c,
|
|
1808
|
+
function ma(t, c, k) {
|
|
1809
1809
|
return Je(t, !1);
|
|
1810
1810
|
}
|
|
1811
1811
|
function ga(t) {
|
|
1812
1812
|
var c = t.prototype;
|
|
1813
1813
|
return !!(c && c.isReactComponent);
|
|
1814
1814
|
}
|
|
1815
|
-
function
|
|
1815
|
+
function Oe(t, c, k) {
|
|
1816
1816
|
if (t == null)
|
|
1817
1817
|
return "";
|
|
1818
1818
|
if (typeof t == "function")
|
|
1819
1819
|
return Je(t, ga(t));
|
|
1820
1820
|
if (typeof t == "string")
|
|
1821
|
-
return
|
|
1821
|
+
return he(t);
|
|
1822
1822
|
switch (t) {
|
|
1823
|
-
case
|
|
1824
|
-
return
|
|
1823
|
+
case l:
|
|
1824
|
+
return he("Suspense");
|
|
1825
1825
|
case v:
|
|
1826
|
-
return
|
|
1826
|
+
return he("SuspenseList");
|
|
1827
1827
|
}
|
|
1828
1828
|
if (typeof t == "object")
|
|
1829
1829
|
switch (t.$$typeof) {
|
|
1830
|
-
case d:
|
|
1831
|
-
return ma(t.render);
|
|
1832
1830
|
case m:
|
|
1833
|
-
return
|
|
1831
|
+
return ma(t.render);
|
|
1832
|
+
case g:
|
|
1833
|
+
return Oe(t.type, c, k);
|
|
1834
1834
|
case A: {
|
|
1835
1835
|
var b = t, y = b._payload, j = b._init;
|
|
1836
1836
|
try {
|
|
1837
|
-
return
|
|
1837
|
+
return Oe(j(y), c, k);
|
|
1838
1838
|
} catch {
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
1841
1841
|
}
|
|
1842
1842
|
return "";
|
|
1843
1843
|
}
|
|
1844
|
-
var
|
|
1845
|
-
function
|
|
1844
|
+
var ze = Object.prototype.hasOwnProperty, Ze = {}, qe = R.ReactDebugCurrentFrame;
|
|
1845
|
+
function Ee(t) {
|
|
1846
1846
|
if (t) {
|
|
1847
|
-
var c = t._owner,
|
|
1848
|
-
qe.setExtraStackFrame(
|
|
1847
|
+
var c = t._owner, k = Oe(t.type, t._source, c ? c.type : null);
|
|
1848
|
+
qe.setExtraStackFrame(k);
|
|
1849
1849
|
} else
|
|
1850
1850
|
qe.setExtraStackFrame(null);
|
|
1851
1851
|
}
|
|
1852
|
-
function ka(t, c,
|
|
1852
|
+
function ka(t, c, k, b, y) {
|
|
1853
1853
|
{
|
|
1854
|
-
var j = Function.call.bind(
|
|
1855
|
-
for (var
|
|
1856
|
-
if (j(t,
|
|
1857
|
-
var
|
|
1854
|
+
var j = Function.call.bind(ze);
|
|
1855
|
+
for (var M in t)
|
|
1856
|
+
if (j(t, M)) {
|
|
1857
|
+
var C = void 0;
|
|
1858
1858
|
try {
|
|
1859
|
-
if (typeof t[
|
|
1860
|
-
var U = Error((b || "React class") + ": " +
|
|
1859
|
+
if (typeof t[M] != "function") {
|
|
1860
|
+
var U = 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`.");
|
|
1861
1861
|
throw U.name = "Invariant Violation", U;
|
|
1862
1862
|
}
|
|
1863
|
-
|
|
1863
|
+
C = t[M](c, M, b, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1864
1864
|
} catch (w) {
|
|
1865
|
-
|
|
1865
|
+
C = w;
|
|
1866
1866
|
}
|
|
1867
|
-
|
|
1867
|
+
C && !(C instanceof Error) && (Ee(y), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", k, M, typeof C), Ee(null)), C instanceof Error && !(C.message in Ze) && (Ze[C.message] = !0, Ee(y), P("Failed %s type: %s", k, C.message), Ee(null));
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
1870
|
}
|
|
1871
1871
|
var ha = Array.isArray;
|
|
1872
|
-
function
|
|
1872
|
+
function De(t) {
|
|
1873
1873
|
return ha(t);
|
|
1874
1874
|
}
|
|
1875
1875
|
function va(t) {
|
|
1876
1876
|
{
|
|
1877
|
-
var c = typeof Symbol == "function" && Symbol.toStringTag,
|
|
1878
|
-
return
|
|
1877
|
+
var c = typeof Symbol == "function" && Symbol.toStringTag, k = c && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
1878
|
+
return k;
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
1881
1881
|
function pa(t) {
|
|
@@ -1890,17 +1890,17 @@ function lr() {
|
|
|
1890
1890
|
}
|
|
1891
1891
|
function _e(t) {
|
|
1892
1892
|
if (pa(t))
|
|
1893
|
-
return
|
|
1893
|
+
return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", va(t)), Ye(t);
|
|
1894
1894
|
}
|
|
1895
|
-
var Te =
|
|
1895
|
+
var Te = R.ReactCurrentOwner, fa = {
|
|
1896
1896
|
key: !0,
|
|
1897
1897
|
ref: !0,
|
|
1898
1898
|
__self: !0,
|
|
1899
1899
|
__source: !0
|
|
1900
|
-
}, Qe, Xe,
|
|
1901
|
-
|
|
1900
|
+
}, Qe, Xe, Ue;
|
|
1901
|
+
Ue = {};
|
|
1902
1902
|
function Aa(t) {
|
|
1903
|
-
if (
|
|
1903
|
+
if (ze.call(t, "ref")) {
|
|
1904
1904
|
var c = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1905
1905
|
if (c && c.isReactWarning)
|
|
1906
1906
|
return !1;
|
|
@@ -1908,7 +1908,7 @@ function lr() {
|
|
|
1908
1908
|
return t.ref !== void 0;
|
|
1909
1909
|
}
|
|
1910
1910
|
function ba(t) {
|
|
1911
|
-
if (
|
|
1911
|
+
if (ze.call(t, "key")) {
|
|
1912
1912
|
var c = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1913
1913
|
if (c && c.isReactWarning)
|
|
1914
1914
|
return !1;
|
|
@@ -1917,96 +1917,96 @@ function lr() {
|
|
|
1917
1917
|
}
|
|
1918
1918
|
function Ca(t, c) {
|
|
1919
1919
|
if (typeof t.ref == "string" && Te.current && c && Te.current.stateNode !== c) {
|
|
1920
|
-
var
|
|
1921
|
-
|
|
1920
|
+
var k = V(Te.current.type);
|
|
1921
|
+
Ue[k] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Te.current.type), t.ref), Ue[k] = !0);
|
|
1922
1922
|
}
|
|
1923
1923
|
}
|
|
1924
1924
|
function Ia(t, c) {
|
|
1925
1925
|
{
|
|
1926
|
-
var
|
|
1927
|
-
Qe || (Qe = !0,
|
|
1926
|
+
var k = function() {
|
|
1927
|
+
Qe || (Qe = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
1928
1928
|
};
|
|
1929
|
-
|
|
1930
|
-
get:
|
|
1929
|
+
k.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
1930
|
+
get: k,
|
|
1931
1931
|
configurable: !0
|
|
1932
1932
|
});
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
1935
1935
|
function Sa(t, c) {
|
|
1936
1936
|
{
|
|
1937
|
-
var
|
|
1938
|
-
Xe || (Xe = !0,
|
|
1937
|
+
var k = function() {
|
|
1938
|
+
Xe || (Xe = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
1939
1939
|
};
|
|
1940
|
-
|
|
1941
|
-
get:
|
|
1940
|
+
k.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
1941
|
+
get: k,
|
|
1942
1942
|
configurable: !0
|
|
1943
1943
|
});
|
|
1944
1944
|
}
|
|
1945
1945
|
}
|
|
1946
|
-
var Na = function(t, c,
|
|
1947
|
-
var
|
|
1946
|
+
var Na = function(t, c, k, b, y, j, M) {
|
|
1947
|
+
var C = {
|
|
1948
1948
|
// This tag allows us to uniquely identify this as a React Element
|
|
1949
1949
|
$$typeof: a,
|
|
1950
1950
|
// Built-in properties that belong on the element
|
|
1951
1951
|
type: t,
|
|
1952
1952
|
key: c,
|
|
1953
|
-
ref:
|
|
1954
|
-
props:
|
|
1953
|
+
ref: k,
|
|
1954
|
+
props: M,
|
|
1955
1955
|
// Record the component responsible for creating this element.
|
|
1956
1956
|
_owner: j
|
|
1957
1957
|
};
|
|
1958
|
-
return
|
|
1958
|
+
return C._store = {}, Object.defineProperty(C._store, "validated", {
|
|
1959
1959
|
configurable: !1,
|
|
1960
1960
|
enumerable: !1,
|
|
1961
1961
|
writable: !0,
|
|
1962
1962
|
value: !1
|
|
1963
|
-
}), Object.defineProperty(
|
|
1963
|
+
}), Object.defineProperty(C, "_self", {
|
|
1964
1964
|
configurable: !1,
|
|
1965
1965
|
enumerable: !1,
|
|
1966
1966
|
writable: !1,
|
|
1967
1967
|
value: b
|
|
1968
|
-
}), Object.defineProperty(
|
|
1968
|
+
}), Object.defineProperty(C, "_source", {
|
|
1969
1969
|
configurable: !1,
|
|
1970
1970
|
enumerable: !1,
|
|
1971
1971
|
writable: !1,
|
|
1972
1972
|
value: y
|
|
1973
|
-
}), Object.freeze && (Object.freeze(
|
|
1973
|
+
}), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
|
|
1974
1974
|
};
|
|
1975
|
-
function Ta(t, c,
|
|
1975
|
+
function Ta(t, c, k, b, y) {
|
|
1976
1976
|
{
|
|
1977
|
-
var j,
|
|
1978
|
-
|
|
1977
|
+
var j, M = {}, C = null, U = null;
|
|
1978
|
+
k !== void 0 && (_e(k), C = "" + k), ba(c) && (_e(c.key), C = "" + c.key), Aa(c) && (U = c.ref, Ca(c, y));
|
|
1979
1979
|
for (j in c)
|
|
1980
|
-
|
|
1980
|
+
ze.call(c, j) && !fa.hasOwnProperty(j) && (M[j] = c[j]);
|
|
1981
1981
|
if (t && t.defaultProps) {
|
|
1982
1982
|
var w = t.defaultProps;
|
|
1983
1983
|
for (j in w)
|
|
1984
|
-
|
|
1984
|
+
M[j] === void 0 && (M[j] = w[j]);
|
|
1985
1985
|
}
|
|
1986
|
-
if (
|
|
1986
|
+
if (C || U) {
|
|
1987
1987
|
var H = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1988
|
-
|
|
1988
|
+
C && Ia(M, H), U && Sa(M, H);
|
|
1989
1989
|
}
|
|
1990
|
-
return Na(t,
|
|
1990
|
+
return Na(t, C, U, y, b, Te.current, M);
|
|
1991
1991
|
}
|
|
1992
1992
|
}
|
|
1993
|
-
var
|
|
1994
|
-
function
|
|
1993
|
+
var Fe = R.ReactCurrentOwner, $e = R.ReactDebugCurrentFrame;
|
|
1994
|
+
function ve(t) {
|
|
1995
1995
|
if (t) {
|
|
1996
|
-
var c = t._owner,
|
|
1997
|
-
$e.setExtraStackFrame(
|
|
1996
|
+
var c = t._owner, k = Oe(t.type, t._source, c ? c.type : null);
|
|
1997
|
+
$e.setExtraStackFrame(k);
|
|
1998
1998
|
} else
|
|
1999
1999
|
$e.setExtraStackFrame(null);
|
|
2000
2000
|
}
|
|
2001
|
-
var
|
|
2002
|
-
|
|
2003
|
-
function
|
|
2001
|
+
var xe;
|
|
2002
|
+
xe = !1;
|
|
2003
|
+
function Ke(t) {
|
|
2004
2004
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
2005
2005
|
}
|
|
2006
2006
|
function ea() {
|
|
2007
2007
|
{
|
|
2008
|
-
if (
|
|
2009
|
-
var t =
|
|
2008
|
+
if (Fe.current) {
|
|
2009
|
+
var t = V(Fe.current.type);
|
|
2010
2010
|
if (t)
|
|
2011
2011
|
return `
|
|
2012
2012
|
|
|
@@ -2018,10 +2018,10 @@ Check the render method of \`` + t + "`.";
|
|
|
2018
2018
|
function Ma(t) {
|
|
2019
2019
|
{
|
|
2020
2020
|
if (t !== void 0) {
|
|
2021
|
-
var c = t.fileName.replace(/^.*[\\\/]/, ""),
|
|
2021
|
+
var c = t.fileName.replace(/^.*[\\\/]/, ""), k = t.lineNumber;
|
|
2022
2022
|
return `
|
|
2023
2023
|
|
|
2024
|
-
Check your code at ` + c + ":" +
|
|
2024
|
+
Check your code at ` + c + ":" + k + ".";
|
|
2025
2025
|
}
|
|
2026
2026
|
return "";
|
|
2027
2027
|
}
|
|
@@ -2031,10 +2031,10 @@ Check your code at ` + c + ":" + g + ".";
|
|
|
2031
2031
|
{
|
|
2032
2032
|
var c = ea();
|
|
2033
2033
|
if (!c) {
|
|
2034
|
-
var
|
|
2035
|
-
|
|
2034
|
+
var k = typeof t == "string" ? t : t.displayName || t.name;
|
|
2035
|
+
k && (c = `
|
|
2036
2036
|
|
|
2037
|
-
Check the top-level render call using <` +
|
|
2037
|
+
Check the top-level render call using <` + k + ">.");
|
|
2038
2038
|
}
|
|
2039
2039
|
return c;
|
|
2040
2040
|
}
|
|
@@ -2044,30 +2044,30 @@ Check the top-level render call using <` + g + ">.");
|
|
|
2044
2044
|
if (!t._store || t._store.validated || t.key != null)
|
|
2045
2045
|
return;
|
|
2046
2046
|
t._store.validated = !0;
|
|
2047
|
-
var
|
|
2048
|
-
if (aa[
|
|
2047
|
+
var k = ya(c);
|
|
2048
|
+
if (aa[k])
|
|
2049
2049
|
return;
|
|
2050
|
-
aa[
|
|
2050
|
+
aa[k] = !0;
|
|
2051
2051
|
var b = "";
|
|
2052
|
-
t && t._owner && t._owner !==
|
|
2052
|
+
t && t._owner && t._owner !== Fe.current && (b = " It was passed a child from " + V(t._owner.type) + "."), ve(t), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, b), ve(null);
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
2055
|
function na(t, c) {
|
|
2056
2056
|
{
|
|
2057
2057
|
if (typeof t != "object")
|
|
2058
2058
|
return;
|
|
2059
|
-
if (
|
|
2060
|
-
for (var
|
|
2061
|
-
var b = t[
|
|
2062
|
-
|
|
2059
|
+
if (De(t))
|
|
2060
|
+
for (var k = 0; k < t.length; k++) {
|
|
2061
|
+
var b = t[k];
|
|
2062
|
+
Ke(b) && ia(b, c);
|
|
2063
2063
|
}
|
|
2064
|
-
else if (
|
|
2064
|
+
else if (Ke(t))
|
|
2065
2065
|
t._store && (t._store.validated = !0);
|
|
2066
2066
|
else if (t) {
|
|
2067
|
-
var y =
|
|
2067
|
+
var y = T(t);
|
|
2068
2068
|
if (typeof y == "function" && y !== t.entries)
|
|
2069
|
-
for (var j = y.call(t),
|
|
2070
|
-
|
|
2069
|
+
for (var j = y.call(t), M; !(M = j.next()).done; )
|
|
2070
|
+
Ke(M.value) && ia(M.value, c);
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
2073
|
}
|
|
@@ -2076,81 +2076,81 @@ Check the top-level render call using <` + g + ">.");
|
|
|
2076
2076
|
var c = t.type;
|
|
2077
2077
|
if (c == null || typeof c == "string")
|
|
2078
2078
|
return;
|
|
2079
|
-
var
|
|
2079
|
+
var k;
|
|
2080
2080
|
if (typeof c == "function")
|
|
2081
|
-
|
|
2082
|
-
else if (typeof c == "object" && (c.$$typeof ===
|
|
2081
|
+
k = c.propTypes;
|
|
2082
|
+
else if (typeof c == "object" && (c.$$typeof === m || // Note: Memo only checks outer props here.
|
|
2083
2083
|
// Inner props are checked in the reconciler.
|
|
2084
|
-
c.$$typeof ===
|
|
2085
|
-
|
|
2084
|
+
c.$$typeof === g))
|
|
2085
|
+
k = c.propTypes;
|
|
2086
2086
|
else
|
|
2087
2087
|
return;
|
|
2088
|
-
if (
|
|
2089
|
-
var b =
|
|
2090
|
-
ka(
|
|
2091
|
-
} else if (c.PropTypes !== void 0 && !
|
|
2092
|
-
|
|
2093
|
-
var y =
|
|
2094
|
-
|
|
2088
|
+
if (k) {
|
|
2089
|
+
var b = V(c);
|
|
2090
|
+
ka(k, t.props, "prop", b, t);
|
|
2091
|
+
} else if (c.PropTypes !== void 0 && !xe) {
|
|
2092
|
+
xe = !0;
|
|
2093
|
+
var y = V(c);
|
|
2094
|
+
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
|
|
2095
2095
|
}
|
|
2096
|
-
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved &&
|
|
2096
|
+
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2097
2097
|
}
|
|
2098
2098
|
}
|
|
2099
2099
|
function Oa(t) {
|
|
2100
2100
|
{
|
|
2101
|
-
for (var c = Object.keys(t.props),
|
|
2102
|
-
var b = c[
|
|
2101
|
+
for (var c = Object.keys(t.props), k = 0; k < c.length; k++) {
|
|
2102
|
+
var b = c[k];
|
|
2103
2103
|
if (b !== "children" && b !== "key") {
|
|
2104
|
-
|
|
2104
|
+
ve(t), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), ve(null);
|
|
2105
2105
|
break;
|
|
2106
2106
|
}
|
|
2107
2107
|
}
|
|
2108
|
-
t.ref !== null && (
|
|
2108
|
+
t.ref !== null && (ve(t), P("Invalid attribute `ref` supplied to `React.Fragment`."), ve(null));
|
|
2109
2109
|
}
|
|
2110
2110
|
}
|
|
2111
|
-
function ta(t, c,
|
|
2111
|
+
function ta(t, c, k, b, y, j) {
|
|
2112
2112
|
{
|
|
2113
|
-
var
|
|
2114
|
-
if (!
|
|
2115
|
-
var
|
|
2116
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
2113
|
+
var M = de(t);
|
|
2114
|
+
if (!M) {
|
|
2115
|
+
var C = "";
|
|
2116
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (C += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2117
2117
|
var U = Ma(y);
|
|
2118
|
-
U ?
|
|
2118
|
+
U ? C += U : C += ea();
|
|
2119
2119
|
var w;
|
|
2120
|
-
t === null ? w = "null" :
|
|
2120
|
+
t === null ? w = "null" : De(t) ? w = "array" : t !== void 0 && t.$$typeof === a ? (w = "<" + (V(t.type) || "Unknown") + " />", C = " Did you accidentally export a JSX literal instead of a component?") : w = typeof t, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, C);
|
|
2121
2121
|
}
|
|
2122
|
-
var H = Ta(t, c,
|
|
2122
|
+
var H = Ta(t, c, k, y, j);
|
|
2123
2123
|
if (H == null)
|
|
2124
2124
|
return H;
|
|
2125
|
-
if (
|
|
2126
|
-
var
|
|
2127
|
-
if (
|
|
2125
|
+
if (M) {
|
|
2126
|
+
var J = c.children;
|
|
2127
|
+
if (J !== void 0)
|
|
2128
2128
|
if (b)
|
|
2129
|
-
if (
|
|
2130
|
-
for (var
|
|
2131
|
-
na(
|
|
2132
|
-
Object.freeze && Object.freeze(
|
|
2129
|
+
if (De(J)) {
|
|
2130
|
+
for (var pe = 0; pe < J.length; pe++)
|
|
2131
|
+
na(J[pe], t);
|
|
2132
|
+
Object.freeze && Object.freeze(J);
|
|
2133
2133
|
} else
|
|
2134
|
-
|
|
2134
|
+
P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
2135
2135
|
else
|
|
2136
|
-
na(
|
|
2136
|
+
na(J, t);
|
|
2137
2137
|
}
|
|
2138
2138
|
return t === r ? Oa(H) : ja(H), H;
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
|
-
function za(t, c,
|
|
2142
|
-
return ta(t, c,
|
|
2141
|
+
function za(t, c, k) {
|
|
2142
|
+
return ta(t, c, k, !0);
|
|
2143
2143
|
}
|
|
2144
|
-
function Ea(t, c,
|
|
2145
|
-
return ta(t, c,
|
|
2144
|
+
function Ea(t, c, k) {
|
|
2145
|
+
return ta(t, c, k, !1);
|
|
2146
2146
|
}
|
|
2147
2147
|
var Ba = Ea, Pa = za;
|
|
2148
2148
|
sa.Fragment = r, sa.jsx = Ba, sa.jsxs = Pa;
|
|
2149
2149
|
}()), sa;
|
|
2150
2150
|
}
|
|
2151
|
-
process.env.NODE_ENV === "production" ? ai.exports =
|
|
2151
|
+
process.env.NODE_ENV === "production" ? ai.exports = lr() : ai.exports = dr();
|
|
2152
2152
|
var i = ai.exports;
|
|
2153
|
-
const
|
|
2153
|
+
const ur = {
|
|
2154
2154
|
button: {
|
|
2155
2155
|
back: "Назад",
|
|
2156
2156
|
cancel: "Отказ",
|
|
@@ -2707,7 +2707,7 @@ const dr = {
|
|
|
2707
2707
|
"sl-si": "Словенски",
|
|
2708
2708
|
"sv-se": "Шведски"
|
|
2709
2709
|
}
|
|
2710
|
-
},
|
|
2710
|
+
}, cr = {
|
|
2711
2711
|
button: {
|
|
2712
2712
|
back: "Zpět",
|
|
2713
2713
|
cancel: "Zrušit",
|
|
@@ -3265,7 +3265,7 @@ const dr = {
|
|
|
3265
3265
|
"sl-si": "Slovinsky",
|
|
3266
3266
|
"sv-se": "Švédsky"
|
|
3267
3267
|
}
|
|
3268
|
-
},
|
|
3268
|
+
}, mr = {
|
|
3269
3269
|
button: {
|
|
3270
3270
|
back: "Tilbage",
|
|
3271
3271
|
cancel: "Annuller",
|
|
@@ -3822,7 +3822,7 @@ const dr = {
|
|
|
3822
3822
|
"sl-si": "Slovensk",
|
|
3823
3823
|
"sv-se": "Svensk"
|
|
3824
3824
|
}
|
|
3825
|
-
},
|
|
3825
|
+
}, gr = {
|
|
3826
3826
|
button: {
|
|
3827
3827
|
back: "Zurück",
|
|
3828
3828
|
cancel: "Abbrechen",
|
|
@@ -4379,7 +4379,7 @@ const dr = {
|
|
|
4379
4379
|
"sl-si": "Slowenisch",
|
|
4380
4380
|
"sv-se": "Schwedisch"
|
|
4381
4381
|
}
|
|
4382
|
-
},
|
|
4382
|
+
}, kr = {
|
|
4383
4383
|
button: {
|
|
4384
4384
|
back: "Zurück",
|
|
4385
4385
|
cancel: "Abbrechen",
|
|
@@ -4936,7 +4936,7 @@ const dr = {
|
|
|
4936
4936
|
"sl-si": "Slowenisch",
|
|
4937
4937
|
"sv-se": "Schwedisch"
|
|
4938
4938
|
}
|
|
4939
|
-
},
|
|
4939
|
+
}, hr = {
|
|
4940
4940
|
button: {
|
|
4941
4941
|
back: "Πίσω",
|
|
4942
4942
|
cancel: "Άκυρο",
|
|
@@ -5493,7 +5493,7 @@ const dr = {
|
|
|
5493
5493
|
"sl-si": "Σλοβενικά",
|
|
5494
5494
|
"sv-se": "Σουηδικά"
|
|
5495
5495
|
}
|
|
5496
|
-
},
|
|
5496
|
+
}, vr = {
|
|
5497
5497
|
button: {
|
|
5498
5498
|
back: "Πίσω",
|
|
5499
5499
|
cancel: "Άκυρο",
|
|
@@ -6050,7 +6050,7 @@ const dr = {
|
|
|
6050
6050
|
"sl-si": "Σλοβενικά",
|
|
6051
6051
|
"sv-se": "Σουηδικά"
|
|
6052
6052
|
}
|
|
6053
|
-
},
|
|
6053
|
+
}, pr = {
|
|
6054
6054
|
button: {
|
|
6055
6055
|
back: "Back",
|
|
6056
6056
|
cancel: "Cancel",
|
|
@@ -6607,7 +6607,7 @@ const dr = {
|
|
|
6607
6607
|
11: "November",
|
|
6608
6608
|
12: "December"
|
|
6609
6609
|
}
|
|
6610
|
-
},
|
|
6610
|
+
}, fr = {
|
|
6611
6611
|
button: {
|
|
6612
6612
|
back: "Back",
|
|
6613
6613
|
cancel: "Cancel",
|
|
@@ -7164,7 +7164,7 @@ const dr = {
|
|
|
7164
7164
|
"sl-si": "Slovenian",
|
|
7165
7165
|
"sv-se": "Swedish"
|
|
7166
7166
|
}
|
|
7167
|
-
},
|
|
7167
|
+
}, Ar = {
|
|
7168
7168
|
button: {
|
|
7169
7169
|
back: "Atrás",
|
|
7170
7170
|
cancel: "Cancelar",
|
|
@@ -7721,7 +7721,7 @@ const dr = {
|
|
|
7721
7721
|
11: "Noviembre",
|
|
7722
7722
|
12: "Diciembre"
|
|
7723
7723
|
}
|
|
7724
|
-
},
|
|
7724
|
+
}, br = {
|
|
7725
7725
|
button: {
|
|
7726
7726
|
back: "Tagasi",
|
|
7727
7727
|
cancel: "Tühista",
|
|
@@ -8278,7 +8278,7 @@ const dr = {
|
|
|
8278
8278
|
"sl-si": "Sloveenia",
|
|
8279
8279
|
"sv-se": "Rootsi Keel"
|
|
8280
8280
|
}
|
|
8281
|
-
},
|
|
8281
|
+
}, Cr = {
|
|
8282
8282
|
button: {
|
|
8283
8283
|
back: "Takaisin",
|
|
8284
8284
|
cancel: "Peruuta",
|
|
@@ -8835,7 +8835,7 @@ const dr = {
|
|
|
8835
8835
|
"sl-si": "Slovenia",
|
|
8836
8836
|
"sv-se": "Ruotsi"
|
|
8837
8837
|
}
|
|
8838
|
-
},
|
|
8838
|
+
}, Ir = {
|
|
8839
8839
|
button: {
|
|
8840
8840
|
back: "Retour",
|
|
8841
8841
|
cancel: "Annuler",
|
|
@@ -9392,7 +9392,7 @@ const dr = {
|
|
|
9392
9392
|
11: "Novembre",
|
|
9393
9393
|
12: "Décembre"
|
|
9394
9394
|
}
|
|
9395
|
-
},
|
|
9395
|
+
}, Sr = {
|
|
9396
9396
|
button: {
|
|
9397
9397
|
back: "Retour",
|
|
9398
9398
|
cancel: "Annuler",
|
|
@@ -9949,7 +9949,7 @@ const dr = {
|
|
|
9949
9949
|
"sl-si": "Slovène",
|
|
9950
9950
|
"sv-se": "Suédois"
|
|
9951
9951
|
}
|
|
9952
|
-
},
|
|
9952
|
+
}, Nr = {
|
|
9953
9953
|
button: {
|
|
9954
9954
|
back: "Siar",
|
|
9955
9955
|
cancel: "Cealaigh",
|
|
@@ -10506,7 +10506,7 @@ const dr = {
|
|
|
10506
10506
|
"sl-si": "Slóivéinis",
|
|
10507
10507
|
"sv-se": "Sualainnis"
|
|
10508
10508
|
}
|
|
10509
|
-
},
|
|
10509
|
+
}, Tr = {
|
|
10510
10510
|
button: {
|
|
10511
10511
|
back: "Natrag",
|
|
10512
10512
|
cancel: "Odustani",
|
|
@@ -11063,7 +11063,7 @@ const dr = {
|
|
|
11063
11063
|
"sl-si": "Slovenski",
|
|
11064
11064
|
"sv-se": "Švedski"
|
|
11065
11065
|
}
|
|
11066
|
-
},
|
|
11066
|
+
}, Mr = {
|
|
11067
11067
|
button: {
|
|
11068
11068
|
back: "Vissza",
|
|
11069
11069
|
cancel: "Mégse",
|
|
@@ -11620,7 +11620,7 @@ const dr = {
|
|
|
11620
11620
|
"sl-si": "Szlovén",
|
|
11621
11621
|
"sv-se": "Svéd"
|
|
11622
11622
|
}
|
|
11623
|
-
},
|
|
11623
|
+
}, yr = {
|
|
11624
11624
|
button: {
|
|
11625
11625
|
back: "Indietro",
|
|
11626
11626
|
cancel: "Annulla",
|
|
@@ -12177,7 +12177,7 @@ const dr = {
|
|
|
12177
12177
|
"sl-si": "Sloveno",
|
|
12178
12178
|
"sv-se": "Svedese"
|
|
12179
12179
|
}
|
|
12180
|
-
},
|
|
12180
|
+
}, jr = {
|
|
12181
12181
|
button: {
|
|
12182
12182
|
back: "Atgal",
|
|
12183
12183
|
cancel: "Atšaukti",
|
|
@@ -12734,7 +12734,7 @@ const dr = {
|
|
|
12734
12734
|
"sl-si": "Slovėnų",
|
|
12735
12735
|
"sv-se": "Švedų"
|
|
12736
12736
|
}
|
|
12737
|
-
},
|
|
12737
|
+
}, Or = {
|
|
12738
12738
|
button: {
|
|
12739
12739
|
back: "Aizmugure",
|
|
12740
12740
|
cancel: "Atcelt",
|
|
@@ -13291,7 +13291,7 @@ const dr = {
|
|
|
13291
13291
|
"sl-si": "Slovēņu",
|
|
13292
13292
|
"sv-se": "Zviedru"
|
|
13293
13293
|
}
|
|
13294
|
-
},
|
|
13294
|
+
}, zr = {
|
|
13295
13295
|
button: {
|
|
13296
13296
|
back: "Lura",
|
|
13297
13297
|
cancel: "Ikkanċella",
|
|
@@ -13848,7 +13848,7 @@ const dr = {
|
|
|
13848
13848
|
"sl-si": "Sloven",
|
|
13849
13849
|
"sv-se": "Svediż"
|
|
13850
13850
|
}
|
|
13851
|
-
},
|
|
13851
|
+
}, Er = {
|
|
13852
13852
|
button: {
|
|
13853
13853
|
back: "Terug",
|
|
13854
13854
|
cancel: "Annuleren",
|
|
@@ -14405,7 +14405,7 @@ const dr = {
|
|
|
14405
14405
|
"sl-si": "Sloveens",
|
|
14406
14406
|
"sv-se": "Zweeds"
|
|
14407
14407
|
}
|
|
14408
|
-
},
|
|
14408
|
+
}, Br = {
|
|
14409
14409
|
button: {
|
|
14410
14410
|
back: "Terug",
|
|
14411
14411
|
cancel: "Annuleren",
|
|
@@ -14962,7 +14962,7 @@ const dr = {
|
|
|
14962
14962
|
11: "November",
|
|
14963
14963
|
12: "December"
|
|
14964
14964
|
}
|
|
14965
|
-
},
|
|
14965
|
+
}, Pr = {
|
|
14966
14966
|
button: {
|
|
14967
14967
|
back: "Tilbake",
|
|
14968
14968
|
cancel: "Avbryt",
|
|
@@ -15519,7 +15519,7 @@ const dr = {
|
|
|
15519
15519
|
"sl-si": "Slovensk",
|
|
15520
15520
|
"sv-se": "Svensk"
|
|
15521
15521
|
}
|
|
15522
|
-
},
|
|
15522
|
+
}, Rr = {
|
|
15523
15523
|
button: {
|
|
15524
15524
|
back: "Wstecz",
|
|
15525
15525
|
cancel: "Anuluj",
|
|
@@ -16076,7 +16076,7 @@ const dr = {
|
|
|
16076
16076
|
"sl-si": "Słoweński",
|
|
16077
16077
|
"sv-se": "Szwedzki"
|
|
16078
16078
|
}
|
|
16079
|
-
},
|
|
16079
|
+
}, wr = {
|
|
16080
16080
|
button: {
|
|
16081
16081
|
back: "Voltar",
|
|
16082
16082
|
cancel: "Cancelar",
|
|
@@ -16633,7 +16633,7 @@ const dr = {
|
|
|
16633
16633
|
11: "Novembro",
|
|
16634
16634
|
12: "Dezembro"
|
|
16635
16635
|
}
|
|
16636
|
-
},
|
|
16636
|
+
}, Hr = {
|
|
16637
16637
|
button: {
|
|
16638
16638
|
back: "Înapoi",
|
|
16639
16639
|
cancel: "Anulați",
|
|
@@ -17190,7 +17190,7 @@ const dr = {
|
|
|
17190
17190
|
"sl-si": "Slovenă",
|
|
17191
17191
|
"sv-se": "Suedez"
|
|
17192
17192
|
}
|
|
17193
|
-
},
|
|
17193
|
+
}, Lr = {
|
|
17194
17194
|
button: {
|
|
17195
17195
|
back: "Späť",
|
|
17196
17196
|
cancel: "Zrušiť",
|
|
@@ -17747,7 +17747,7 @@ const dr = {
|
|
|
17747
17747
|
"sl-si": "Slovensky",
|
|
17748
17748
|
"sv-se": "Švédsky"
|
|
17749
17749
|
}
|
|
17750
|
-
},
|
|
17750
|
+
}, Gr = {
|
|
17751
17751
|
button: {
|
|
17752
17752
|
back: "Nazaj",
|
|
17753
17753
|
cancel: "Prekliči",
|
|
@@ -18304,7 +18304,7 @@ const dr = {
|
|
|
18304
18304
|
"sl-si": "Slovenščina",
|
|
18305
18305
|
"sv-se": "Švedščina"
|
|
18306
18306
|
}
|
|
18307
|
-
},
|
|
18307
|
+
}, Dr = {
|
|
18308
18308
|
button: {
|
|
18309
18309
|
back: "Tillbaka",
|
|
18310
18310
|
cancel: "Avbryt",
|
|
@@ -18862,138 +18862,138 @@ const dr = {
|
|
|
18862
18862
|
12: "December"
|
|
18863
18863
|
}
|
|
18864
18864
|
}, Qa = {
|
|
18865
|
-
"bg-bg":
|
|
18866
|
-
"cs-cz":
|
|
18867
|
-
"da-dk":
|
|
18868
|
-
"de-at":
|
|
18869
|
-
"de-de":
|
|
18870
|
-
"el-gr":
|
|
18871
|
-
"el-cy":
|
|
18872
|
-
"en-gb":
|
|
18873
|
-
"en-us":
|
|
18874
|
-
"es-es":
|
|
18875
|
-
"et-ee":
|
|
18876
|
-
"fi-fi":
|
|
18877
|
-
"fr-fr":
|
|
18878
|
-
"fr-lu":
|
|
18879
|
-
"ga-ie":
|
|
18880
|
-
"hr-hr":
|
|
18881
|
-
"hu-hu":
|
|
18882
|
-
"it-it":
|
|
18883
|
-
"lt-lt":
|
|
18884
|
-
"lv-lv":
|
|
18885
|
-
"mt-mt":
|
|
18886
|
-
"nl-be":
|
|
18887
|
-
"nl-nl":
|
|
18888
|
-
"no-no":
|
|
18889
|
-
"pl-pl":
|
|
18890
|
-
"pt-pt":
|
|
18891
|
-
"ro-ro":
|
|
18892
|
-
"sk-sk":
|
|
18893
|
-
"sl-si":
|
|
18894
|
-
"sv-se":
|
|
18865
|
+
"bg-bg": ur,
|
|
18866
|
+
"cs-cz": cr,
|
|
18867
|
+
"da-dk": mr,
|
|
18868
|
+
"de-at": gr,
|
|
18869
|
+
"de-de": kr,
|
|
18870
|
+
"el-gr": vr,
|
|
18871
|
+
"el-cy": hr,
|
|
18872
|
+
"en-gb": pr,
|
|
18873
|
+
"en-us": fr,
|
|
18874
|
+
"es-es": Ar,
|
|
18875
|
+
"et-ee": br,
|
|
18876
|
+
"fi-fi": Cr,
|
|
18877
|
+
"fr-fr": Ir,
|
|
18878
|
+
"fr-lu": Sr,
|
|
18879
|
+
"ga-ie": Nr,
|
|
18880
|
+
"hr-hr": Tr,
|
|
18881
|
+
"hu-hu": Mr,
|
|
18882
|
+
"it-it": yr,
|
|
18883
|
+
"lt-lt": jr,
|
|
18884
|
+
"lv-lv": Or,
|
|
18885
|
+
"mt-mt": zr,
|
|
18886
|
+
"nl-be": Er,
|
|
18887
|
+
"nl-nl": Br,
|
|
18888
|
+
"no-no": Pr,
|
|
18889
|
+
"pl-pl": Rr,
|
|
18890
|
+
"pt-pt": wr,
|
|
18891
|
+
"ro-ro": Hr,
|
|
18892
|
+
"sk-sk": Lr,
|
|
18893
|
+
"sl-si": Gr,
|
|
18894
|
+
"sv-se": Dr
|
|
18895
18895
|
}, Yn = (e, a) => {
|
|
18896
|
-
const n =
|
|
18896
|
+
const n = Z(a).prompt[e];
|
|
18897
18897
|
return n || (console.log(
|
|
18898
18898
|
'Missing prompt for key: "' + e + '" in locale: "' + a + '"'
|
|
18899
18899
|
), e);
|
|
18900
|
-
},
|
|
18901
|
-
const n =
|
|
18900
|
+
}, Ur = (e, a) => {
|
|
18901
|
+
const n = Z(a).subPrompt[e];
|
|
18902
18902
|
return n || (console.log(
|
|
18903
18903
|
'Missing subPrompt for key: "' + e + '" in locale: "' + a + '"'
|
|
18904
18904
|
), e);
|
|
18905
|
-
},
|
|
18906
|
-
const n =
|
|
18905
|
+
}, Fr = (e, a) => {
|
|
18906
|
+
const n = Z(a).error[e];
|
|
18907
18907
|
return n || (console.log(
|
|
18908
18908
|
'Missing error for key: "' + e + '" in locale: "' + a + '"'
|
|
18909
18909
|
), e);
|
|
18910
|
-
},
|
|
18911
|
-
const n =
|
|
18910
|
+
}, xr = (e, a) => {
|
|
18911
|
+
const n = Z(a).hint[e];
|
|
18912
18912
|
return n || (console.log(
|
|
18913
18913
|
'Missing hint for key: "' + e + '" in locale: "' + a + '"'
|
|
18914
18914
|
), e);
|
|
18915
18915
|
}, ii = (e, a) => {
|
|
18916
|
-
const n =
|
|
18916
|
+
const n = Z(a).text[e];
|
|
18917
18917
|
return n || (console.log(
|
|
18918
18918
|
'Missing text for key: "' + e + '" in locale: "' + a + '"'
|
|
18919
18919
|
), e);
|
|
18920
|
-
},
|
|
18921
|
-
const n =
|
|
18920
|
+
}, Kr = (e, a) => {
|
|
18921
|
+
const n = Z(a).title[e];
|
|
18922
18922
|
return n || (console.log(
|
|
18923
18923
|
'Missing title for key: "' + e + '" in locale: "' + a + '"'
|
|
18924
18924
|
), e);
|
|
18925
|
-
},
|
|
18926
|
-
const n =
|
|
18925
|
+
}, Vr = (e, a) => {
|
|
18926
|
+
const n = Z(a).subTitle[e];
|
|
18927
18927
|
return n || (console.log(
|
|
18928
18928
|
'Missing subTitle for key: "' + e + '" in locale: "' + a + '"'
|
|
18929
18929
|
), e);
|
|
18930
|
-
},
|
|
18931
|
-
const n =
|
|
18930
|
+
}, Wr = (e, a) => {
|
|
18931
|
+
const n = Z(a).button[e];
|
|
18932
18932
|
return n || (console.log(
|
|
18933
18933
|
'Missing button for key: "' + e + '" in locale: "' + a + '"'
|
|
18934
18934
|
), e);
|
|
18935
18935
|
}, _n = (e, a) => {
|
|
18936
18936
|
if (!e)
|
|
18937
18937
|
return "";
|
|
18938
|
-
const n =
|
|
18938
|
+
const n = Z(a).option[e];
|
|
18939
18939
|
return n || (console.log(
|
|
18940
18940
|
'Missing option for key: "' + e + '" in locale: "' + a + '"'
|
|
18941
18941
|
), e);
|
|
18942
|
-
},
|
|
18942
|
+
}, Jr = (e, a) => {
|
|
18943
18943
|
if (!e)
|
|
18944
18944
|
return "";
|
|
18945
|
-
const n =
|
|
18945
|
+
const n = Z(a).notification[e];
|
|
18946
18946
|
return n || (console.log(
|
|
18947
18947
|
'Missing notification for key: "' + e + '" in locale: "' + a + '"'
|
|
18948
18948
|
), e);
|
|
18949
|
-
},
|
|
18950
|
-
const n =
|
|
18949
|
+
}, Zr = (e, a) => {
|
|
18950
|
+
const n = Z(a).country[e];
|
|
18951
18951
|
return n || (console.log(
|
|
18952
18952
|
'Missing country for key: "' + e + '" in locale: "' + a + '"'
|
|
18953
18953
|
), e);
|
|
18954
|
-
},
|
|
18955
|
-
const n =
|
|
18954
|
+
}, qr = (e, a) => {
|
|
18955
|
+
const n = Z(a).usState[e];
|
|
18956
18956
|
return n || (console.log(
|
|
18957
18957
|
'Missing usState for key: "' + e + '" in locale: "' + a + '"'
|
|
18958
18958
|
), e);
|
|
18959
|
-
},
|
|
18960
|
-
const n =
|
|
18959
|
+
}, Yr = (e, a) => {
|
|
18960
|
+
const n = Z(a).caProvince[e];
|
|
18961
18961
|
return n || (console.log(
|
|
18962
18962
|
'Missing caProvince for key: "' + e + '" in locale: "' + a + '"'
|
|
18963
18963
|
), e);
|
|
18964
|
-
},
|
|
18965
|
-
const n =
|
|
18964
|
+
}, _r = (e, a) => {
|
|
18965
|
+
const n = Z(a).month[e];
|
|
18966
18966
|
return n || (console.log(
|
|
18967
18967
|
'Missing month for key: "' + e + '" in locale: "' + a + '"'
|
|
18968
18968
|
), e);
|
|
18969
|
-
},
|
|
18970
|
-
const n =
|
|
18969
|
+
}, Qr = (e, a) => {
|
|
18970
|
+
const n = Z(a).locale[e];
|
|
18971
18971
|
return n || (console.log(
|
|
18972
18972
|
'Missing locale for key: "' + e + '" in locale: "' + a + '"'
|
|
18973
18973
|
), e);
|
|
18974
|
-
},
|
|
18975
|
-
const e =
|
|
18974
|
+
}, Z = (e = "en-us") => Qa[e] ? Qa[e] : (console.log(`Locale '${e}' not found. Using en-us`), Qa["en-us"]), st = () => {
|
|
18975
|
+
const e = mt(void 0);
|
|
18976
18976
|
return [() => {
|
|
18977
|
-
const n =
|
|
18977
|
+
const n = gt(e);
|
|
18978
18978
|
if (n === void 0)
|
|
18979
18979
|
throw new Error("useCtx must be inside a Provider with a value");
|
|
18980
18980
|
return n;
|
|
18981
18981
|
}, e.Provider];
|
|
18982
|
-
}, [$,
|
|
18982
|
+
}, [$, Xr] = st(), $r = ({
|
|
18983
18983
|
data: e,
|
|
18984
18984
|
language: a = "en-us",
|
|
18985
18985
|
onSubmit: n,
|
|
18986
18986
|
step: r = "AccountHolderClassification",
|
|
18987
18987
|
taxForms: s = ["DAC7"]
|
|
18988
18988
|
}) => {
|
|
18989
|
-
const [o,
|
|
18989
|
+
const [o, d] = K(a), [u, m] = K(s), [l, v] = K(
|
|
18990
18990
|
Jn(e, u)
|
|
18991
|
-
), [
|
|
18991
|
+
), [g, A] = K([r]), [p, S] = K(
|
|
18992
18992
|
void 0
|
|
18993
|
-
), { isW9:
|
|
18994
|
-
|
|
18993
|
+
), { isW9: N, isW8: T, isW8Ben: R, isW8BenE: P, isDac7: ee } = da(
|
|
18994
|
+
l,
|
|
18995
18995
|
u
|
|
18996
|
-
), L =
|
|
18996
|
+
), L = g[g.length - 1], ae = {
|
|
18997
18997
|
regardedOwnerUsPerson: void 0,
|
|
18998
18998
|
regardedOwnerUsAccountType: void 0,
|
|
18999
18999
|
regardedOwnerUsLlcClassification: void 0,
|
|
@@ -19002,62 +19002,62 @@ const dr = {
|
|
|
19002
19002
|
regardedOwnerForeignAccountType: void 0,
|
|
19003
19003
|
regardedOwnerForeignTrustClassification: void 0,
|
|
19004
19004
|
regardedOwnerForeignOtherClassification: void 0
|
|
19005
|
-
},
|
|
19006
|
-
v(z), n(
|
|
19007
|
-
},
|
|
19005
|
+
}, se = (z) => {
|
|
19006
|
+
v(z), n(ir(z));
|
|
19007
|
+
}, Ie = Fa(
|
|
19008
19008
|
(z) => {
|
|
19009
|
-
v(Jn(z, u)),
|
|
19009
|
+
v(Jn(z, u)), S(void 0), A([r]);
|
|
19010
19010
|
},
|
|
19011
19011
|
[u, r]
|
|
19012
|
-
),
|
|
19013
|
-
const { accountHolderIsDisregarded:
|
|
19014
|
-
return L === "AccountHolderClassification" ?
|
|
19012
|
+
), Se = (z) => {
|
|
19013
|
+
const { accountHolderIsDisregarded: W, hasNoEUTaxId: ge } = da(z), ke = u.includes("DAC7");
|
|
19014
|
+
return L === "AccountHolderClassification" ? ke ? "AccountHolderContact" : W ? "RegardedOwnerClassification" : "AccountHolderContact" : L === "AccountHolderContact" ? ke && z.accountHolderIsEuResident === "no" ? "Summary" : "AccountHolderTax" : L === "AccountHolderTax" ? ge && z.accountHolderIsIndividual === "yes" ? "AccountHolderTaxClarification" : "Summary" : L === "RegardedOwnerClassification" ? "RegardedOwnerContact" : L === "RegardedOwnerContact" ? "RegardedOwnerTax" : "Summary";
|
|
19015
19015
|
}, le = (z) => {
|
|
19016
|
-
const
|
|
19017
|
-
|
|
19016
|
+
const W = Se(z);
|
|
19017
|
+
W === "Summary" && S(void 0), ue(W);
|
|
19018
19018
|
}, de = (z) => {
|
|
19019
|
-
const
|
|
19020
|
-
...
|
|
19019
|
+
const W = {
|
|
19020
|
+
...l,
|
|
19021
19021
|
...z
|
|
19022
19022
|
};
|
|
19023
|
-
v(
|
|
19024
|
-
},
|
|
19025
|
-
|
|
19023
|
+
v(W), p === void 0 ? le(W) : A(["Summary"]);
|
|
19024
|
+
}, Ne = (z) => {
|
|
19025
|
+
l.accountHolderUsAccountType !== z.accountHolderUsAccountType || l.accountHolderForeignAccountType !== z.accountHolderForeignAccountType ? de({
|
|
19026
19026
|
...z,
|
|
19027
|
-
...
|
|
19027
|
+
...ae
|
|
19028
19028
|
}) : de(z);
|
|
19029
19029
|
}, ue = (z) => {
|
|
19030
|
-
A([...
|
|
19031
|
-
},
|
|
19032
|
-
A([z]),
|
|
19033
|
-
},
|
|
19034
|
-
v(p),
|
|
19035
|
-
} : void 0,
|
|
19036
|
-
A(
|
|
19030
|
+
A([...g, z]);
|
|
19031
|
+
}, V = (z) => {
|
|
19032
|
+
A([z]), S(l);
|
|
19033
|
+
}, q = p !== void 0 ? () => {
|
|
19034
|
+
v(p), S(void 0), A(["Summary"]);
|
|
19035
|
+
} : void 0, ie = g.length > 1 ? () => {
|
|
19036
|
+
A(g.slice(0, g.length - 1));
|
|
19037
19037
|
} : void 0;
|
|
19038
19038
|
return {
|
|
19039
|
-
isW9:
|
|
19040
|
-
isW8:
|
|
19041
|
-
isW8Ben:
|
|
19042
|
-
isW8BenE:
|
|
19043
|
-
isDac7:
|
|
19044
|
-
onPersistAccountHolderData:
|
|
19039
|
+
isW9: N,
|
|
19040
|
+
isW8: T,
|
|
19041
|
+
isW8Ben: R,
|
|
19042
|
+
isW8BenE: P,
|
|
19043
|
+
isDac7: ee,
|
|
19044
|
+
onPersistAccountHolderData: Ne,
|
|
19045
19045
|
onPersistCollectedData: de,
|
|
19046
|
-
onSubmitTaxDocumentation:
|
|
19047
|
-
onResetTaxDocumentation:
|
|
19048
|
-
editTo:
|
|
19049
|
-
onCancel:
|
|
19046
|
+
onSubmitTaxDocumentation: se,
|
|
19047
|
+
onResetTaxDocumentation: Ie,
|
|
19048
|
+
editTo: V,
|
|
19049
|
+
onCancel: q,
|
|
19050
19050
|
goTo: ue,
|
|
19051
|
-
goBack:
|
|
19051
|
+
goBack: ie,
|
|
19052
19052
|
goToNext: le,
|
|
19053
19053
|
stepName: L,
|
|
19054
|
-
data:
|
|
19055
|
-
setLanguage:
|
|
19054
|
+
data: l,
|
|
19055
|
+
setLanguage: d,
|
|
19056
19056
|
language: o,
|
|
19057
19057
|
supportedForms: u,
|
|
19058
|
-
setSupportedForms:
|
|
19058
|
+
setSupportedForms: m
|
|
19059
19059
|
};
|
|
19060
|
-
},
|
|
19060
|
+
}, eo = ({
|
|
19061
19061
|
data: e = {},
|
|
19062
19062
|
onSubmit: a,
|
|
19063
19063
|
language: n,
|
|
@@ -19065,9 +19065,9 @@ const dr = {
|
|
|
19065
19065
|
step: s,
|
|
19066
19066
|
children: o
|
|
19067
19067
|
}) => /* @__PURE__ */ i.jsx(
|
|
19068
|
-
|
|
19068
|
+
Xr,
|
|
19069
19069
|
{
|
|
19070
|
-
value:
|
|
19070
|
+
value: $r({
|
|
19071
19071
|
data: e,
|
|
19072
19072
|
onSubmit: a,
|
|
19073
19073
|
language: n,
|
|
@@ -19076,7 +19076,7 @@ const dr = {
|
|
|
19076
19076
|
}),
|
|
19077
19077
|
children: o
|
|
19078
19078
|
}
|
|
19079
|
-
), [O,
|
|
19079
|
+
), [O, ao] = st(), io = (e, a) => Object.keys(e).reduce(
|
|
19080
19080
|
(n, r) => {
|
|
19081
19081
|
var s;
|
|
19082
19082
|
if (a.has(r)) {
|
|
@@ -19092,57 +19092,64 @@ const dr = {
|
|
|
19092
19092
|
if (!E(a) && (a.length < 5 || a.length > 20))
|
|
19093
19093
|
return "vatUnexpectedFormat";
|
|
19094
19094
|
}
|
|
19095
|
-
},
|
|
19095
|
+
}, no = (e, a) => {
|
|
19096
|
+
const n = { ...e };
|
|
19097
|
+
for (; a < 5; ) {
|
|
19098
|
+
const r = a + 1;
|
|
19099
|
+
n[`accountHolderShowTaxResidence${a}`] = e[`accountHolderShowTaxResidence${r}`], n[`accountHolderTaxResidenceCountry${a}`] = e[`accountHolderTaxResidenceCountry${r}`], n[`accountHolderTaxResidenceForeignTin${a}`] = e[`accountHolderTaxResidenceForeignTin${r}`], n[`accountHolderTaxResidenceForeignTin${a}IsNotRequired`] = e[`accountHolderTaxResidenceForeignTin${r}IsNotRequired`], a++;
|
|
19100
|
+
}
|
|
19101
|
+
return { ...n, accountHolderShowTaxResidence5: void 0 };
|
|
19102
|
+
}, to = () => {
|
|
19096
19103
|
const {
|
|
19097
19104
|
language: e,
|
|
19098
19105
|
data: a,
|
|
19099
19106
|
supportedForms: n
|
|
19100
|
-
} = $(), [r, s] =
|
|
19107
|
+
} = $(), [r, s] = K(a), [o, d] = K(!1), [u, m] = K(/* @__PURE__ */ new Set()), l = _(
|
|
19101
19108
|
() => ot(n),
|
|
19102
19109
|
[n]
|
|
19103
|
-
), v =
|
|
19104
|
-
() =>
|
|
19105
|
-
[r,
|
|
19106
|
-
),
|
|
19110
|
+
), v = _(
|
|
19111
|
+
() => or(r, l),
|
|
19112
|
+
[r, l]
|
|
19113
|
+
), g = _(
|
|
19107
19114
|
() => Object.fromEntries(
|
|
19108
19115
|
[...u].map((h) => [h, !0])
|
|
19109
19116
|
),
|
|
19110
19117
|
[u]
|
|
19111
|
-
), A =
|
|
19112
|
-
() =>
|
|
19113
|
-
[r,
|
|
19114
|
-
), p =
|
|
19115
|
-
() =>
|
|
19116
|
-
[r, A,
|
|
19117
|
-
),
|
|
19118
|
-
() =>
|
|
19119
|
-
[r, v]
|
|
19120
|
-
), M = J(
|
|
19121
|
-
() => ao(r, u),
|
|
19118
|
+
), A = _(
|
|
19119
|
+
() => rr(r, g),
|
|
19120
|
+
[r, g]
|
|
19121
|
+
), p = _(
|
|
19122
|
+
() => tr(r, A, g),
|
|
19123
|
+
[r, A, g]
|
|
19124
|
+
), S = _(
|
|
19125
|
+
() => io(r, u),
|
|
19122
19126
|
[r, u]
|
|
19123
19127
|
);
|
|
19124
19128
|
X(() => {
|
|
19125
19129
|
s(a);
|
|
19126
19130
|
}, [a]);
|
|
19127
|
-
const
|
|
19128
|
-
(h,
|
|
19129
|
-
if (
|
|
19130
|
-
const
|
|
19131
|
-
|
|
19131
|
+
const N = Fa(
|
|
19132
|
+
(h, B) => {
|
|
19133
|
+
if (/accountHolderShowTaxResidence[234]/.test(h) && B === void 0) {
|
|
19134
|
+
const Y = parseInt(h.slice(-1));
|
|
19135
|
+
B !== r[h] && s(no(r, Y));
|
|
19136
|
+
} else if (B !== r[h]) {
|
|
19137
|
+
const Y = {
|
|
19138
|
+
[h]: B
|
|
19132
19139
|
};
|
|
19133
|
-
s((
|
|
19140
|
+
s((he) => ({ ...he, ...Y }));
|
|
19134
19141
|
}
|
|
19135
19142
|
},
|
|
19136
19143
|
[r]
|
|
19137
|
-
),
|
|
19138
|
-
|
|
19139
|
-
},
|
|
19140
|
-
|
|
19141
|
-
},
|
|
19142
|
-
const
|
|
19143
|
-
return
|
|
19144
|
-
},
|
|
19145
|
-
const
|
|
19144
|
+
), T = () => {
|
|
19145
|
+
d(!0);
|
|
19146
|
+
}, R = () => {
|
|
19147
|
+
d(!1);
|
|
19148
|
+
}, P = Object.keys(p).length === 0, ee = (h) => {
|
|
19149
|
+
const B = Jt(r);
|
|
19150
|
+
return B[h] ? B[h] : h;
|
|
19151
|
+
}, L = (h) => {
|
|
19152
|
+
const B = {
|
|
19146
19153
|
accountHolderUsSmllcElection: "smllcElection",
|
|
19147
19154
|
iConfirmIncomeIsNonUs: "iConfirmIncomeIsNonUs",
|
|
19148
19155
|
accountHolderIsEuResident: "isEuResident",
|
|
@@ -19152,72 +19159,70 @@ const dr = {
|
|
|
19152
19159
|
accountHolderVatIdentificationNumber: "vatIdentificationNumber",
|
|
19153
19160
|
accountHolderCityOfBirth: "placeOfBirth"
|
|
19154
19161
|
};
|
|
19155
|
-
return
|
|
19156
|
-
},
|
|
19157
|
-
const
|
|
19158
|
-
return
|
|
19159
|
-
},
|
|
19162
|
+
return B[h] ? B[h] : h;
|
|
19163
|
+
}, ae = (h) => {
|
|
19164
|
+
const B = Kt();
|
|
19165
|
+
return B[h] ? B[h] : h;
|
|
19166
|
+
}, se = (h) => xr(ae(h), e), Ie = (h) => ii(h, e), Se = (h) => Kr(h, e), le = (h) => Vr(h, e), de = (h) => Fr(h, e), Ne = (h) => Qr(h, e), ue = (h) => Wr(h, e), V = (h) => Yn(ee(h), e), q = (h) => Jr(h, e), ie = (h) => Yn(ee(h), e) + (A[h] ? "*" : ""), z = (h) => Ur(L(h), e), W = Fa(
|
|
19160
19167
|
(h) => {
|
|
19161
19168
|
if (h)
|
|
19162
19169
|
return _n(h, e) ? _n(h, e) : h;
|
|
19163
19170
|
},
|
|
19164
19171
|
[e]
|
|
19165
|
-
),
|
|
19166
|
-
(h) => h ?
|
|
19172
|
+
), ge = Fa(
|
|
19173
|
+
(h) => h ? Zr(h, e) : "",
|
|
19167
19174
|
[e]
|
|
19168
19175
|
);
|
|
19169
19176
|
return {
|
|
19170
|
-
clearIfNotRequired: (...h) => (
|
|
19171
|
-
|
|
19172
|
-
|
|
19177
|
+
clearIfNotRequired: (...h) => (B) => {
|
|
19178
|
+
B === "yes" && h.forEach((Y) => {
|
|
19179
|
+
N(Y, "");
|
|
19173
19180
|
});
|
|
19174
19181
|
},
|
|
19175
19182
|
fields: r,
|
|
19176
19183
|
setFields: s,
|
|
19177
|
-
setValue:
|
|
19178
|
-
isErrorFree:
|
|
19184
|
+
setValue: N,
|
|
19185
|
+
isErrorFree: P,
|
|
19179
19186
|
showErrors: o,
|
|
19180
|
-
exposeErrors:
|
|
19181
|
-
hideErrors:
|
|
19182
|
-
getLocalButton:
|
|
19183
|
-
getLocalCaProvince: (h) => h ?
|
|
19184
|
-
getLocalCountry:
|
|
19185
|
-
getLocalError:
|
|
19186
|
-
getLocalHint:
|
|
19187
|
-
getHintKey:
|
|
19188
|
-
getLocalLocale:
|
|
19189
|
-
getLocalNotification:
|
|
19190
|
-
getLocalOption:
|
|
19191
|
-
getLocalPrompt:
|
|
19192
|
-
getPromptKey:
|
|
19193
|
-
getLocalSubPrompt:
|
|
19194
|
-
getSubPromptKey:
|
|
19187
|
+
exposeErrors: T,
|
|
19188
|
+
hideErrors: R,
|
|
19189
|
+
getLocalButton: ue,
|
|
19190
|
+
getLocalCaProvince: (h) => h ? Yr(h, e) : "",
|
|
19191
|
+
getLocalCountry: ge,
|
|
19192
|
+
getLocalError: de,
|
|
19193
|
+
getLocalHint: se,
|
|
19194
|
+
getHintKey: ae,
|
|
19195
|
+
getLocalLocale: Ne,
|
|
19196
|
+
getLocalNotification: q,
|
|
19197
|
+
getLocalOption: W,
|
|
19198
|
+
getLocalPrompt: V,
|
|
19199
|
+
getPromptKey: ee,
|
|
19200
|
+
getLocalSubPrompt: z,
|
|
19201
|
+
getSubPromptKey: L,
|
|
19195
19202
|
getLocalText: Ie,
|
|
19196
|
-
getLocalTitle:
|
|
19197
|
-
getLocalSubTitle:
|
|
19198
|
-
getLocalUsState: (h) => h ?
|
|
19199
|
-
getLocalMonth: (h) => h ?
|
|
19200
|
-
getRequiredLocalPrompt:
|
|
19201
|
-
notifiedFields:
|
|
19203
|
+
getLocalTitle: Se,
|
|
19204
|
+
getLocalSubTitle: le,
|
|
19205
|
+
getLocalUsState: (h) => h ? qr(h, e) : "",
|
|
19206
|
+
getLocalMonth: (h) => h ? _r(h, e) : "",
|
|
19207
|
+
getRequiredLocalPrompt: ie,
|
|
19208
|
+
notifiedFields: S,
|
|
19202
19209
|
// (must be visible)
|
|
19203
19210
|
invalidFields: p,
|
|
19204
19211
|
// (must be visible)
|
|
19205
19212
|
requiredFields: A,
|
|
19206
19213
|
// (must be visible)
|
|
19207
|
-
submittableFields: N,
|
|
19208
|
-
// (must be visible)
|
|
19209
19214
|
visibleFields: v,
|
|
19210
19215
|
// (must be supported)
|
|
19211
19216
|
hideField: (h) => {
|
|
19212
|
-
u.has(h) &&
|
|
19217
|
+
u.has(h) && m((B) => new Set([...B].filter((Y) => Y !== h))), N(h, void 0);
|
|
19213
19218
|
},
|
|
19214
19219
|
showField: (h) => {
|
|
19215
|
-
u.has(h) ||
|
|
19220
|
+
u.has(h) || m((B) => /* @__PURE__ */ new Set([...B, h]));
|
|
19216
19221
|
}
|
|
19217
19222
|
};
|
|
19218
|
-
},
|
|
19223
|
+
}, Ae = ({ children: e }) => /* @__PURE__ */ i.jsx(ao, { value: to(), children: e }), Ua = ({ address: e, className: a }) => {
|
|
19219
19224
|
const { getLocalCountry: n, getLocalUsState: r, getLocalCaProvince: s } = O(), o = e.country === "US" ? r(e.state) : e.country === "CA" ? s(e.state) : e.state;
|
|
19220
|
-
return /* @__PURE__ */ i.jsxs("div", { className:
|
|
19225
|
+
return /* @__PURE__ */ i.jsxs("div", { className: ce(a, "address"), children: [
|
|
19221
19226
|
/* @__PURE__ */ i.jsx("div", { children: e.street }),
|
|
19222
19227
|
e.street2 && /* @__PURE__ */ i.jsx("div", { children: e.street2 }),
|
|
19223
19228
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
|
@@ -19231,12 +19236,12 @@ const dr = {
|
|
|
19231
19236
|
name: e,
|
|
19232
19237
|
hint: a
|
|
19233
19238
|
}) => {
|
|
19234
|
-
const { invalidFields: n, showErrors: r, getLocalError: s, getLocalHint: o } = O(),
|
|
19235
|
-
return
|
|
19236
|
-
},
|
|
19239
|
+
const { invalidFields: n, showErrors: r, getLocalError: s, getLocalHint: o } = O(), d = n[e] ? s(n[e]) : "";
|
|
19240
|
+
return d && r ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d }) : a ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-hint", children: o(e) }) : null;
|
|
19241
|
+
}, be = ({ children: e, title: a, actions: n }) => /* @__PURE__ */ i.jsxs(
|
|
19237
19242
|
"form",
|
|
19238
19243
|
{
|
|
19239
|
-
className:
|
|
19244
|
+
className: ce("taxbit-page", `taxbit-form-${tt(a)}`),
|
|
19240
19245
|
onSubmit: () => !1,
|
|
19241
19246
|
children: [
|
|
19242
19247
|
(a || n) && /* @__PURE__ */ i.jsxs("header", { className: "taxbit-page-header", children: [
|
|
@@ -19246,30 +19251,30 @@ const dr = {
|
|
|
19246
19251
|
e
|
|
19247
19252
|
]
|
|
19248
19253
|
}
|
|
19249
|
-
),
|
|
19254
|
+
), ye = ({
|
|
19250
19255
|
children: e,
|
|
19251
19256
|
className: a
|
|
19252
|
-
}) => /* @__PURE__ */ i.jsx("div", { className:
|
|
19257
|
+
}) => /* @__PURE__ */ i.jsx("div", { className: ce(a, "taxbit-input-status"), children: e }), ro = ({ name: e }) => {
|
|
19253
19258
|
const { notifiedFields: a, getLocalNotification: n } = O(), r = a[e] ? n(a[e]) : "";
|
|
19254
19259
|
return r ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-notification", children: r }) : null;
|
|
19255
|
-
},
|
|
19260
|
+
}, Ve = ({
|
|
19256
19261
|
label: e,
|
|
19257
19262
|
subLabel: a,
|
|
19258
19263
|
value: n,
|
|
19259
19264
|
children: r,
|
|
19260
19265
|
onEdit: s,
|
|
19261
19266
|
name: o,
|
|
19262
|
-
className:
|
|
19267
|
+
className: d
|
|
19263
19268
|
}) => {
|
|
19264
|
-
const { invalidFields: u, showErrors:
|
|
19269
|
+
const { invalidFields: u, showErrors: m, getLocalButton: l } = O();
|
|
19265
19270
|
return /* @__PURE__ */ i.jsxs(
|
|
19266
19271
|
"div",
|
|
19267
19272
|
{
|
|
19268
|
-
className:
|
|
19273
|
+
className: ce(
|
|
19269
19274
|
"taxbit-row",
|
|
19270
19275
|
o && `taxbit-question-${tt(o)}`,
|
|
19271
|
-
o &&
|
|
19272
|
-
|
|
19276
|
+
o && m && u[o] && "taxbit-error",
|
|
19277
|
+
d
|
|
19273
19278
|
),
|
|
19274
19279
|
children: [
|
|
19275
19280
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-label", children: [
|
|
@@ -19282,12 +19287,13 @@ const dr = {
|
|
|
19282
19287
|
"button",
|
|
19283
19288
|
{
|
|
19284
19289
|
onClick: s,
|
|
19285
|
-
className:
|
|
19290
|
+
className: ce(
|
|
19291
|
+
"taxbit-button",
|
|
19286
19292
|
"taxbit-row-edit-button",
|
|
19287
19293
|
"taxbit-row-action-button"
|
|
19288
19294
|
),
|
|
19289
19295
|
type: "button",
|
|
19290
|
-
children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-edit-button-content", children:
|
|
19296
|
+
children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-edit-button-content", children: l("edit") })
|
|
19291
19297
|
}
|
|
19292
19298
|
) })
|
|
19293
19299
|
] })
|
|
@@ -19305,14 +19311,14 @@ const dr = {
|
|
|
19305
19311
|
a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-section-sub-title", children: a })
|
|
19306
19312
|
] }),
|
|
19307
19313
|
r
|
|
19308
|
-
] }) : r,
|
|
19314
|
+
] }) : r, Be = [{ value: "yes" }, { value: "no" }], oo = () => {
|
|
19309
19315
|
const { language: e, setLanguage: a } = $(), { getLocalLocale: n } = O(), r = (o) => {
|
|
19310
|
-
const
|
|
19311
|
-
a(
|
|
19312
|
-
}, s =
|
|
19316
|
+
const d = o.target.value;
|
|
19317
|
+
a(d);
|
|
19318
|
+
}, s = zt.map((o) => ({
|
|
19313
19319
|
...o,
|
|
19314
19320
|
label: n(o.value)
|
|
19315
|
-
})).sort((o,
|
|
19321
|
+
})).sort((o, d) => o.label.localeCompare(d.label));
|
|
19316
19322
|
return /* @__PURE__ */ i.jsx(
|
|
19317
19323
|
"select",
|
|
19318
19324
|
{
|
|
@@ -19322,32 +19328,48 @@ const dr = {
|
|
|
19322
19328
|
children: s.map((o) => /* @__PURE__ */ i.jsx("option", { value: o.value, children: o.label }, o.value))
|
|
19323
19329
|
}
|
|
19324
19330
|
);
|
|
19325
|
-
},
|
|
19331
|
+
}, Ce = ({
|
|
19326
19332
|
onBack: e,
|
|
19327
19333
|
onCancel: a,
|
|
19328
19334
|
onNext: n,
|
|
19329
19335
|
onSubmit: r,
|
|
19330
19336
|
onReset: s
|
|
19331
19337
|
}) => {
|
|
19332
|
-
const { isErrorFree: o, exposeErrors:
|
|
19338
|
+
const { isErrorFree: o, exposeErrors: d, getLocalButton: u } = O(), m = o ? n : d, l = o ? r : d;
|
|
19333
19339
|
return /* @__PURE__ */ i.jsxs("footer", { className: "taxbit-step-actions", children: [
|
|
19334
19340
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-secondary-actions", children: [
|
|
19335
|
-
a && /* @__PURE__ */ i.jsx("button", { onClick: a, type: "button", children: u("cancel") }),
|
|
19336
|
-
e && /* @__PURE__ */ i.jsx("button", { onClick: e, type: "button", children: u("back") }),
|
|
19337
|
-
s && /* @__PURE__ */ i.jsx("button", { onClick: s, type: "button", children: u("reset") })
|
|
19341
|
+
a && /* @__PURE__ */ i.jsx("button", { onClick: a, type: "button", className: "taxbit-button", children: u("cancel") }),
|
|
19342
|
+
e && /* @__PURE__ */ i.jsx("button", { onClick: e, type: "button", className: "taxbit-button", children: u("back") }),
|
|
19343
|
+
s && /* @__PURE__ */ i.jsx("button", { onClick: s, type: "button", className: "taxbit-button", children: u("reset") })
|
|
19338
19344
|
] }),
|
|
19339
19345
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-primary-actions", children: [
|
|
19340
|
-
n && /* @__PURE__ */ i.jsx(
|
|
19341
|
-
|
|
19346
|
+
n && /* @__PURE__ */ i.jsx(
|
|
19347
|
+
"button",
|
|
19348
|
+
{
|
|
19349
|
+
onClick: m,
|
|
19350
|
+
type: "button",
|
|
19351
|
+
className: "taxbit-button",
|
|
19352
|
+
children: u("next")
|
|
19353
|
+
}
|
|
19354
|
+
),
|
|
19355
|
+
r && /* @__PURE__ */ i.jsx(
|
|
19356
|
+
"button",
|
|
19357
|
+
{
|
|
19358
|
+
onClick: l,
|
|
19359
|
+
type: "button",
|
|
19360
|
+
className: "taxbit-button",
|
|
19361
|
+
children: u("submit")
|
|
19362
|
+
}
|
|
19363
|
+
)
|
|
19342
19364
|
] })
|
|
19343
19365
|
] });
|
|
19344
|
-
},
|
|
19345
|
-
const { fields: s, setValue: o, getLocalPrompt:
|
|
19346
|
-
r && r(
|
|
19347
|
-
},
|
|
19348
|
-
|
|
19366
|
+
}, so = ({ label: e, subLabel: a, name: n, onClick: r }) => {
|
|
19367
|
+
const { fields: s, setValue: o, getLocalPrompt: d, getLocalSubPrompt: u } = O(), m = (g) => {
|
|
19368
|
+
r && r(g), o(n, g);
|
|
19369
|
+
}, l = s[n], v = (g) => {
|
|
19370
|
+
m(g.target.checked ? "yes" : void 0);
|
|
19349
19371
|
};
|
|
19350
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19372
|
+
return /* @__PURE__ */ i.jsxs(ye, { children: [
|
|
19351
19373
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-checkBox-label", children: [
|
|
19352
19374
|
/* @__PURE__ */ i.jsx(
|
|
19353
19375
|
"input",
|
|
@@ -19355,61 +19377,61 @@ const dr = {
|
|
|
19355
19377
|
type: "checkbox",
|
|
19356
19378
|
id: n,
|
|
19357
19379
|
name: n,
|
|
19358
|
-
checked:
|
|
19380
|
+
checked: l === "yes",
|
|
19359
19381
|
onChange: v,
|
|
19360
19382
|
className: "taxbit-check-box"
|
|
19361
19383
|
}
|
|
19362
19384
|
),
|
|
19363
19385
|
/* @__PURE__ */ i.jsxs("label", { htmlFor: n, children: [
|
|
19364
|
-
e &&
|
|
19386
|
+
e && d(n),
|
|
19365
19387
|
a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-sub-label", children: u(n) })
|
|
19366
19388
|
] })
|
|
19367
19389
|
] }),
|
|
19368
19390
|
/* @__PURE__ */ i.jsx(Pe, { name: n })
|
|
19369
19391
|
] });
|
|
19370
|
-
},
|
|
19371
|
-
const { fields: a, setValue: n, getLocalMonth: r } = O(), s = a[e] || "", o = s.split("/")[0] || "",
|
|
19392
|
+
}, lo = (e) => {
|
|
19393
|
+
const { fields: a, setValue: n, getLocalMonth: r } = O(), s = a[e] || "", o = s.split("/")[0] || "", d = s.split("/")[1] || "", u = s.split("/")[2] || "", m = o !== "" ? Un(
|
|
19372
19394
|
parseInt(o),
|
|
19373
19395
|
u !== "" ? parseInt(u) : void 0
|
|
19374
|
-
) : Gn.length,
|
|
19375
|
-
...
|
|
19376
|
-
label: r(
|
|
19377
|
-
})), v = (
|
|
19378
|
-
if (!
|
|
19396
|
+
) : Gn.length, l = Bt.map((S) => ({
|
|
19397
|
+
...S,
|
|
19398
|
+
label: r(S.value)
|
|
19399
|
+
})), v = (S, N, T) => {
|
|
19400
|
+
if (!N)
|
|
19379
19401
|
return !0;
|
|
19380
|
-
const
|
|
19381
|
-
parseInt(
|
|
19382
|
-
|
|
19402
|
+
const R = Un(
|
|
19403
|
+
parseInt(N),
|
|
19404
|
+
F(T) ? parseInt(T) : void 0
|
|
19383
19405
|
);
|
|
19384
|
-
return
|
|
19406
|
+
return F(S) && R >= parseInt(S);
|
|
19385
19407
|
};
|
|
19386
19408
|
return {
|
|
19387
19409
|
mm: o,
|
|
19388
|
-
dd:
|
|
19410
|
+
dd: d,
|
|
19389
19411
|
yyyy: u,
|
|
19390
|
-
handleDayChange: (
|
|
19391
|
-
const
|
|
19392
|
-
n(e, `${o || ""}/${
|
|
19412
|
+
handleDayChange: (S) => {
|
|
19413
|
+
const N = S.target.value;
|
|
19414
|
+
n(e, `${o || ""}/${N}/${u || ""}`);
|
|
19393
19415
|
},
|
|
19394
|
-
handleMonthChange: (
|
|
19395
|
-
const
|
|
19416
|
+
handleMonthChange: (S) => {
|
|
19417
|
+
const N = S.target.value;
|
|
19396
19418
|
n(
|
|
19397
19419
|
e,
|
|
19398
|
-
`${
|
|
19420
|
+
`${N}/${v(d, N, u) ? d : ""}/${u || ""}`
|
|
19399
19421
|
);
|
|
19400
19422
|
},
|
|
19401
|
-
handleYearChange: (
|
|
19402
|
-
const
|
|
19423
|
+
handleYearChange: (S) => {
|
|
19424
|
+
const N = S.target.value;
|
|
19403
19425
|
n(
|
|
19404
19426
|
e,
|
|
19405
|
-
`${o || ""}/${v(
|
|
19427
|
+
`${o || ""}/${v(d, o, N) ? d : ""}/${N}`
|
|
19406
19428
|
);
|
|
19407
19429
|
},
|
|
19408
|
-
dayOptions: Gn.slice(0,
|
|
19409
|
-
birthYearOptions:
|
|
19410
|
-
monthOptions:
|
|
19430
|
+
dayOptions: Gn.slice(0, m),
|
|
19431
|
+
birthYearOptions: xt,
|
|
19432
|
+
monthOptions: l
|
|
19411
19433
|
};
|
|
19412
|
-
},
|
|
19434
|
+
}, uo = ({
|
|
19413
19435
|
name: e,
|
|
19414
19436
|
className: a,
|
|
19415
19437
|
hint: n
|
|
@@ -19417,29 +19439,29 @@ const dr = {
|
|
|
19417
19439
|
const { getLocalPrompt: r } = O(), {
|
|
19418
19440
|
dd: s,
|
|
19419
19441
|
mm: o,
|
|
19420
|
-
yyyy:
|
|
19442
|
+
yyyy: d,
|
|
19421
19443
|
handleDayChange: u,
|
|
19422
|
-
handleMonthChange:
|
|
19423
|
-
handleYearChange:
|
|
19444
|
+
handleMonthChange: m,
|
|
19445
|
+
handleYearChange: l,
|
|
19424
19446
|
dayOptions: v,
|
|
19425
|
-
monthOptions:
|
|
19447
|
+
monthOptions: g,
|
|
19426
19448
|
birthYearOptions: A
|
|
19427
|
-
} =
|
|
19428
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19449
|
+
} = lo(e);
|
|
19450
|
+
return /* @__PURE__ */ i.jsxs(ye, { className: a, children: [
|
|
19429
19451
|
/* @__PURE__ */ i.jsxs("div", { className: "taxbit-row-value", children: [
|
|
19430
19452
|
/* @__PURE__ */ i.jsxs(
|
|
19431
19453
|
"select",
|
|
19432
19454
|
{
|
|
19433
|
-
onChange:
|
|
19455
|
+
onChange: m,
|
|
19434
19456
|
value: o,
|
|
19435
|
-
className:
|
|
19457
|
+
className: ce(
|
|
19436
19458
|
"taxbit-select",
|
|
19437
19459
|
"taxbit-select-month",
|
|
19438
19460
|
E(o) ? "taxbit-placeholder" : ""
|
|
19439
19461
|
),
|
|
19440
19462
|
children: [
|
|
19441
19463
|
/* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("month") }),
|
|
19442
|
-
|
|
19464
|
+
g.map((p) => /* @__PURE__ */ i.jsx("option", { value: p.value, children: p.label ? p.label : p.value }, p.value))
|
|
19443
19465
|
]
|
|
19444
19466
|
}
|
|
19445
19467
|
),
|
|
@@ -19448,7 +19470,7 @@ const dr = {
|
|
|
19448
19470
|
{
|
|
19449
19471
|
onChange: u,
|
|
19450
19472
|
value: s,
|
|
19451
|
-
className:
|
|
19473
|
+
className: ce(
|
|
19452
19474
|
"taxbit-select",
|
|
19453
19475
|
"taxbit-select-day",
|
|
19454
19476
|
E(s) ? "taxbit-placeholder" : ""
|
|
@@ -19462,12 +19484,12 @@ const dr = {
|
|
|
19462
19484
|
/* @__PURE__ */ i.jsxs(
|
|
19463
19485
|
"select",
|
|
19464
19486
|
{
|
|
19465
|
-
onChange:
|
|
19466
|
-
value:
|
|
19467
|
-
className:
|
|
19487
|
+
onChange: l,
|
|
19488
|
+
value: d,
|
|
19489
|
+
className: ce(
|
|
19468
19490
|
"taxbit-select",
|
|
19469
19491
|
"taxbit-select-year",
|
|
19470
|
-
E(
|
|
19492
|
+
E(d) ? "taxbit-placeholder" : ""
|
|
19471
19493
|
),
|
|
19472
19494
|
children: [
|
|
19473
19495
|
/* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("year") }),
|
|
@@ -19478,19 +19500,19 @@ const dr = {
|
|
|
19478
19500
|
] }),
|
|
19479
19501
|
/* @__PURE__ */ i.jsx(Pe, { name: e, hint: n })
|
|
19480
19502
|
] });
|
|
19481
|
-
},
|
|
19482
|
-
const { fields: n, setValue: r, hideErrors: s, getLocalOption: o } = O(),
|
|
19483
|
-
r(e,
|
|
19484
|
-
}, u = n[e],
|
|
19485
|
-
l
|
|
19503
|
+
}, co = ({ name: e, options: a }) => {
|
|
19504
|
+
const { fields: n, setValue: r, hideErrors: s, getLocalOption: o } = O(), d = (l) => {
|
|
19505
|
+
r(e, l), s();
|
|
19506
|
+
}, u = n[e], m = (l) => {
|
|
19507
|
+
d(l.target.value);
|
|
19486
19508
|
};
|
|
19487
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19488
|
-
/* @__PURE__ */ i.jsx("div", { className: "taxbit-radio-buttons", children: a.map((
|
|
19509
|
+
return /* @__PURE__ */ i.jsxs(ye, { children: [
|
|
19510
|
+
/* @__PURE__ */ i.jsx("div", { className: "taxbit-radio-buttons", children: a.map((l) => /* @__PURE__ */ i.jsxs(
|
|
19489
19511
|
"div",
|
|
19490
19512
|
{
|
|
19491
|
-
className:
|
|
19513
|
+
className: ce(
|
|
19492
19514
|
"taxbit-radio-button",
|
|
19493
|
-
|
|
19515
|
+
l.value === u ? "selected" : !1
|
|
19494
19516
|
),
|
|
19495
19517
|
children: [
|
|
19496
19518
|
/* @__PURE__ */ i.jsx(
|
|
@@ -19498,20 +19520,21 @@ const dr = {
|
|
|
19498
19520
|
{
|
|
19499
19521
|
type: "radio",
|
|
19500
19522
|
name: e,
|
|
19501
|
-
|
|
19502
|
-
|
|
19503
|
-
|
|
19504
|
-
|
|
19523
|
+
"aria-label": `${e}-${l.value}`,
|
|
19524
|
+
id: `${e}-${l.value}`,
|
|
19525
|
+
value: l.value,
|
|
19526
|
+
checked: l.value === u,
|
|
19527
|
+
onChange: m
|
|
19505
19528
|
}
|
|
19506
19529
|
),
|
|
19507
|
-
/* @__PURE__ */ i.jsx("label", { htmlFor: `${e}-${
|
|
19530
|
+
/* @__PURE__ */ i.jsx("label", { htmlFor: `${e}-${l.value}`, children: l.label || o(l.value) })
|
|
19508
19531
|
]
|
|
19509
19532
|
},
|
|
19510
|
-
|
|
19533
|
+
l.value
|
|
19511
19534
|
)) }),
|
|
19512
19535
|
/* @__PURE__ */ i.jsx(Pe, { name: e })
|
|
19513
19536
|
] });
|
|
19514
|
-
},
|
|
19537
|
+
}, mo = ({
|
|
19515
19538
|
name: e,
|
|
19516
19539
|
options: a,
|
|
19517
19540
|
addBlank: n = !0,
|
|
@@ -19519,46 +19542,46 @@ const dr = {
|
|
|
19519
19542
|
onChange: s,
|
|
19520
19543
|
disabled: o
|
|
19521
19544
|
}) => {
|
|
19522
|
-
const { fields:
|
|
19523
|
-
s && s(), u(e,
|
|
19545
|
+
const { fields: d, setValue: u, getLocalOption: m } = O(), l = d[e], v = (g) => {
|
|
19546
|
+
s && s(), u(e, g.target.value);
|
|
19524
19547
|
};
|
|
19525
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19548
|
+
return /* @__PURE__ */ i.jsxs(ye, { className: r, children: [
|
|
19526
19549
|
/* @__PURE__ */ i.jsxs(
|
|
19527
19550
|
"select",
|
|
19528
19551
|
{
|
|
19529
19552
|
name: e,
|
|
19530
19553
|
onChange: v,
|
|
19531
|
-
value:
|
|
19554
|
+
value: l || "",
|
|
19532
19555
|
className: "taxbit-select",
|
|
19533
19556
|
disabled: o,
|
|
19534
19557
|
children: [
|
|
19535
19558
|
n && /* @__PURE__ */ i.jsx("option", { value: "" }),
|
|
19536
|
-
a.map((
|
|
19559
|
+
a.map((g) => /* @__PURE__ */ i.jsx("option", { value: g.value, children: "label" in g ? g.label : m(g.value) }, g.value))
|
|
19537
19560
|
]
|
|
19538
19561
|
}
|
|
19539
19562
|
),
|
|
19540
19563
|
/* @__PURE__ */ i.jsx(Pe, { name: e })
|
|
19541
19564
|
] });
|
|
19542
|
-
},
|
|
19565
|
+
}, go = ({
|
|
19543
19566
|
name: e,
|
|
19544
19567
|
className: a,
|
|
19545
19568
|
onChange: n,
|
|
19546
19569
|
hint: r,
|
|
19547
19570
|
children: s,
|
|
19548
19571
|
disabled: o,
|
|
19549
|
-
syncName:
|
|
19572
|
+
syncName: d
|
|
19550
19573
|
}) => {
|
|
19551
|
-
const { fields: u, setValue:
|
|
19552
|
-
const A = n ? n(
|
|
19553
|
-
|
|
19574
|
+
const { fields: u, setValue: m } = O(), l = u[e] || "", v = (g) => {
|
|
19575
|
+
const A = n ? n(g.target.value) : g.target.value;
|
|
19576
|
+
d && (u[d] === u[e] || !u[d]) && m(d, A), m(e, A);
|
|
19554
19577
|
};
|
|
19555
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19578
|
+
return /* @__PURE__ */ i.jsxs(ye, { className: a, children: [
|
|
19556
19579
|
/* @__PURE__ */ i.jsx(
|
|
19557
19580
|
"input",
|
|
19558
19581
|
{
|
|
19559
19582
|
type: "text",
|
|
19560
19583
|
name: e,
|
|
19561
|
-
value:
|
|
19584
|
+
value: l,
|
|
19562
19585
|
onChange: v,
|
|
19563
19586
|
className: "taxbit-input",
|
|
19564
19587
|
disabled: o
|
|
@@ -19567,11 +19590,11 @@ const dr = {
|
|
|
19567
19590
|
/* @__PURE__ */ i.jsx(Pe, { name: e, hint: r }),
|
|
19568
19591
|
s ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: s }) : null
|
|
19569
19592
|
] });
|
|
19570
|
-
},
|
|
19593
|
+
}, ko = ({ name: e }) => {
|
|
19571
19594
|
const { fields: a, setValue: n, getLocalPrompt: r } = O(), s = a[e], o = () => {
|
|
19572
19595
|
n(e, s === void 0 ? "yes" : void 0);
|
|
19573
19596
|
};
|
|
19574
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19597
|
+
return /* @__PURE__ */ i.jsxs(ye, { children: [
|
|
19575
19598
|
/* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx(
|
|
19576
19599
|
"button",
|
|
19577
19600
|
{
|
|
@@ -19579,15 +19602,15 @@ const dr = {
|
|
|
19579
19602
|
id: e,
|
|
19580
19603
|
name: e,
|
|
19581
19604
|
onClick: o,
|
|
19582
|
-
className: "taxbit-row-action-button",
|
|
19605
|
+
className: "taxbit-button taxbit-row-action-button",
|
|
19583
19606
|
children: r(e)
|
|
19584
19607
|
}
|
|
19585
19608
|
) }),
|
|
19586
19609
|
/* @__PURE__ */ i.jsx(Pe, { name: e })
|
|
19587
19610
|
] });
|
|
19588
|
-
},
|
|
19589
|
-
const { getLocalButton: a } = O(), [n, r] =
|
|
19590
|
-
r((
|
|
19611
|
+
}, ho = ({ onClick: e }) => {
|
|
19612
|
+
const { getLocalButton: a } = O(), [n, r] = K(!0), s = "hideShowButton", o = () => {
|
|
19613
|
+
r((d) => !d), e();
|
|
19591
19614
|
};
|
|
19592
19615
|
return /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-actions", children: /* @__PURE__ */ i.jsx(
|
|
19593
19616
|
"button",
|
|
@@ -19596,7 +19619,8 @@ const dr = {
|
|
|
19596
19619
|
id: s,
|
|
19597
19620
|
name: s,
|
|
19598
19621
|
onClick: o,
|
|
19599
|
-
className:
|
|
19622
|
+
className: ce(
|
|
19623
|
+
"taxbit-button",
|
|
19600
19624
|
"taxbit-row-action-button",
|
|
19601
19625
|
`taxbit-${n ? "show" : "hide"}-button`
|
|
19602
19626
|
),
|
|
@@ -19609,7 +19633,7 @@ const dr = {
|
|
|
19609
19633
|
)
|
|
19610
19634
|
}
|
|
19611
19635
|
) });
|
|
19612
|
-
},
|
|
19636
|
+
}, vo = ({
|
|
19613
19637
|
value: e = "",
|
|
19614
19638
|
mask: a = "•",
|
|
19615
19639
|
onChange: n,
|
|
@@ -19617,48 +19641,48 @@ const dr = {
|
|
|
19617
19641
|
show: s = !1,
|
|
19618
19642
|
...o
|
|
19619
19643
|
}) => {
|
|
19620
|
-
const [
|
|
19644
|
+
const [d, u] = K(e), [m, l] = K(
|
|
19621
19645
|
Array(e.length + 1).join(a)
|
|
19622
|
-
), v = Ln(), [
|
|
19646
|
+
), v = Ln(), [g, A] = K([
|
|
19623
19647
|
0,
|
|
19624
19648
|
0
|
|
19625
19649
|
]), p = Ln(null);
|
|
19626
19650
|
X(() => {
|
|
19627
|
-
e !==
|
|
19628
|
-
}, [e, a,
|
|
19629
|
-
const
|
|
19630
|
-
const
|
|
19631
|
-
A([
|
|
19632
|
-
const
|
|
19651
|
+
e !== d && (u(e), l(Array(e.length + 1).join(a)));
|
|
19652
|
+
}, [e, a, d]);
|
|
19653
|
+
const S = (N) => {
|
|
19654
|
+
const T = N.target.selectionEnd === null ? N.target.value.length : N.target.selectionEnd;
|
|
19655
|
+
A([T, T]);
|
|
19656
|
+
const R = N.target.value, P = R.replace(
|
|
19633
19657
|
new RegExp(
|
|
19634
|
-
`${
|
|
19658
|
+
`${T ? `(^\\${a}{1,${T}})|` : ""}(\\${a}+)`,
|
|
19635
19659
|
"g"
|
|
19636
19660
|
),
|
|
19637
|
-
(L,
|
|
19638
|
-
),
|
|
19639
|
-
|
|
19661
|
+
(L, ae, se) => !se && T ? d.substring(0, L.length) : d.substring(d.length - L.length)
|
|
19662
|
+
), ee = R.split("").map((L, ae) => ae === T - 1 ? L : a).join("");
|
|
19663
|
+
l(ee), u(P), n && n(P);
|
|
19640
19664
|
};
|
|
19641
19665
|
return X(() => (clearTimeout(v.current), v.current = setTimeout(() => {
|
|
19642
19666
|
p.current && A([
|
|
19643
19667
|
p.current.selectionStart,
|
|
19644
19668
|
p.current.selectionEnd
|
|
19645
|
-
]),
|
|
19669
|
+
]), l(Array(m.length + 1).join(a));
|
|
19646
19670
|
}, 1e3), () => {
|
|
19647
19671
|
clearTimeout(v.current);
|
|
19648
|
-
}), [a,
|
|
19649
|
-
p.current && (p.current.selectionStart =
|
|
19650
|
-
}, [
|
|
19672
|
+
}), [a, m]), X(() => {
|
|
19673
|
+
p.current && (p.current.selectionStart = g[0], p.current.selectionEnd = g[1]);
|
|
19674
|
+
}, [g]), /* @__PURE__ */ i.jsx(
|
|
19651
19675
|
"input",
|
|
19652
19676
|
{
|
|
19653
19677
|
...o,
|
|
19654
19678
|
ref: p,
|
|
19655
19679
|
type: "text",
|
|
19656
|
-
value: s ?
|
|
19657
|
-
onChange:
|
|
19680
|
+
value: s ? d : m,
|
|
19681
|
+
onChange: S,
|
|
19658
19682
|
disabled: r
|
|
19659
19683
|
}
|
|
19660
19684
|
);
|
|
19661
|
-
},
|
|
19685
|
+
}, po = ({
|
|
19662
19686
|
name: e,
|
|
19663
19687
|
className: a,
|
|
19664
19688
|
onChange: n,
|
|
@@ -19666,27 +19690,27 @@ const dr = {
|
|
|
19666
19690
|
children: s,
|
|
19667
19691
|
disabled: o
|
|
19668
19692
|
}) => {
|
|
19669
|
-
const { fields:
|
|
19693
|
+
const { fields: d, setValue: u } = O(), [m, l] = K(!0), v = d[e] || "", g = (A) => {
|
|
19670
19694
|
const p = n ? n(A) : A;
|
|
19671
19695
|
u(e, p);
|
|
19672
19696
|
};
|
|
19673
19697
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
19674
|
-
/* @__PURE__ */ i.jsxs(
|
|
19698
|
+
/* @__PURE__ */ i.jsxs(ye, { className: a, children: [
|
|
19675
19699
|
/* @__PURE__ */ i.jsx(
|
|
19676
|
-
|
|
19700
|
+
vo,
|
|
19677
19701
|
{
|
|
19678
19702
|
value: v,
|
|
19679
|
-
onChange:
|
|
19703
|
+
onChange: g,
|
|
19680
19704
|
className: "taxbit-input",
|
|
19681
19705
|
mask: "*",
|
|
19682
|
-
show: !
|
|
19706
|
+
show: !m,
|
|
19683
19707
|
disabled: o
|
|
19684
19708
|
}
|
|
19685
19709
|
),
|
|
19686
19710
|
/* @__PURE__ */ i.jsx(Pe, { name: e, hint: r }),
|
|
19687
19711
|
s ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: s }) : null
|
|
19688
19712
|
] }),
|
|
19689
|
-
/* @__PURE__ */ i.jsx(
|
|
19713
|
+
/* @__PURE__ */ i.jsx(ho, { onClick: () => l((A) => !A) })
|
|
19690
19714
|
] });
|
|
19691
19715
|
}, f = ({
|
|
19692
19716
|
label: e,
|
|
@@ -19697,24 +19721,24 @@ const dr = {
|
|
|
19697
19721
|
notification: o
|
|
19698
19722
|
}) => {
|
|
19699
19723
|
const {
|
|
19700
|
-
visibleFields:
|
|
19724
|
+
visibleFields: d,
|
|
19701
19725
|
showField: u,
|
|
19702
|
-
hideField:
|
|
19703
|
-
getRequiredLocalPrompt:
|
|
19726
|
+
hideField: m,
|
|
19727
|
+
getRequiredLocalPrompt: l,
|
|
19704
19728
|
getLocalSubPrompt: v
|
|
19705
|
-
} = O(),
|
|
19729
|
+
} = O(), g = !!d[n];
|
|
19706
19730
|
return X(() => {
|
|
19707
|
-
|
|
19708
|
-
}, [
|
|
19709
|
-
|
|
19731
|
+
g ? u(n) : m(n);
|
|
19732
|
+
}, [g, n, u, m]), g ? /* @__PURE__ */ i.jsxs(
|
|
19733
|
+
Ve,
|
|
19710
19734
|
{
|
|
19711
19735
|
name: n,
|
|
19712
|
-
label: e ?
|
|
19736
|
+
label: e ? l(n) : void 0,
|
|
19713
19737
|
subLabel: a ? v(n) : void 0,
|
|
19714
19738
|
onEdit: s,
|
|
19715
19739
|
children: [
|
|
19716
19740
|
r,
|
|
19717
|
-
o ? /* @__PURE__ */ i.jsx(
|
|
19741
|
+
o ? /* @__PURE__ */ i.jsx(ro, { name: n }) : null
|
|
19718
19742
|
]
|
|
19719
19743
|
}
|
|
19720
19744
|
) : null;
|
|
@@ -19724,7 +19748,7 @@ const dr = {
|
|
|
19724
19748
|
subLabel: n,
|
|
19725
19749
|
onClick: r
|
|
19726
19750
|
}) => /* @__PURE__ */ i.jsx(f, { name: e, children: /* @__PURE__ */ i.jsx(
|
|
19727
|
-
|
|
19751
|
+
so,
|
|
19728
19752
|
{
|
|
19729
19753
|
label: a,
|
|
19730
19754
|
subLabel: n,
|
|
@@ -19736,9 +19760,9 @@ const dr = {
|
|
|
19736
19760
|
subLabel: a,
|
|
19737
19761
|
name: n
|
|
19738
19762
|
}) => {
|
|
19739
|
-
const { showErrors: r, invalidFields: s, getLocalError: o } = O(),
|
|
19740
|
-
return /* @__PURE__ */ i.jsx(f, { name: n, label: e, subLabel: a, children: r &&
|
|
19741
|
-
},
|
|
19763
|
+
const { showErrors: r, invalidFields: s, getLocalError: o } = O(), d = s[n] ? o(s[n]) : "";
|
|
19764
|
+
return /* @__PURE__ */ i.jsx(f, { name: n, label: e, subLabel: a, children: r && d && /* @__PURE__ */ i.jsx(ye, { children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d }) }) });
|
|
19765
|
+
}, Me = ({
|
|
19742
19766
|
name: e,
|
|
19743
19767
|
label: a,
|
|
19744
19768
|
hint: n,
|
|
@@ -19746,89 +19770,89 @@ const dr = {
|
|
|
19746
19770
|
onChange: s,
|
|
19747
19771
|
disabled: o
|
|
19748
19772
|
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19749
|
-
|
|
19773
|
+
po,
|
|
19750
19774
|
{
|
|
19751
19775
|
name: e,
|
|
19752
19776
|
onChange: s,
|
|
19753
19777
|
hint: n,
|
|
19754
19778
|
disabled: o
|
|
19755
19779
|
}
|
|
19756
|
-
) }),
|
|
19780
|
+
) }), x = ({
|
|
19757
19781
|
name: e,
|
|
19758
19782
|
label: a,
|
|
19759
19783
|
subLabel: n,
|
|
19760
19784
|
options: r
|
|
19761
|
-
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(
|
|
19785
|
+
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(co, { name: e, options: r }) }), me = ({
|
|
19762
19786
|
name: e,
|
|
19763
19787
|
label: a,
|
|
19764
19788
|
options: n,
|
|
19765
19789
|
subLabel: r,
|
|
19766
19790
|
addBlank: s,
|
|
19767
19791
|
onChange: o,
|
|
19768
|
-
disabled:
|
|
19792
|
+
disabled: d
|
|
19769
19793
|
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19770
|
-
|
|
19794
|
+
mo,
|
|
19771
19795
|
{
|
|
19772
19796
|
name: e,
|
|
19773
19797
|
options: n,
|
|
19774
19798
|
addBlank: s,
|
|
19775
19799
|
onChange: o,
|
|
19776
|
-
disabled:
|
|
19800
|
+
disabled: d
|
|
19777
19801
|
}
|
|
19778
|
-
) }),
|
|
19802
|
+
) }), Q = ({
|
|
19779
19803
|
name: e,
|
|
19780
19804
|
label: a,
|
|
19781
19805
|
hint: n,
|
|
19782
19806
|
subLabel: r,
|
|
19783
19807
|
onChange: s,
|
|
19784
19808
|
disabled: o,
|
|
19785
|
-
syncName:
|
|
19809
|
+
syncName: d
|
|
19786
19810
|
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
|
|
19787
|
-
|
|
19811
|
+
go,
|
|
19788
19812
|
{
|
|
19789
19813
|
name: e,
|
|
19790
19814
|
onChange: s,
|
|
19791
19815
|
hint: n,
|
|
19792
19816
|
disabled: o,
|
|
19793
|
-
syncName:
|
|
19817
|
+
syncName: d
|
|
19794
19818
|
}
|
|
19795
|
-
) }),
|
|
19819
|
+
) }), fo = () => {
|
|
19796
19820
|
const { fields: e, getLocalTitle: a } = O(), { onPersistAccountHolderData: n, onCancel: r } = $();
|
|
19797
19821
|
return /* @__PURE__ */ i.jsxs(
|
|
19798
|
-
|
|
19822
|
+
be,
|
|
19799
19823
|
{
|
|
19800
19824
|
title: a("accountHolderClassification"),
|
|
19801
|
-
actions: /* @__PURE__ */ i.jsx(
|
|
19825
|
+
actions: /* @__PURE__ */ i.jsx(oo, {}),
|
|
19802
19826
|
children: [
|
|
19803
19827
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
19804
19828
|
/* @__PURE__ */ i.jsx(
|
|
19805
|
-
|
|
19829
|
+
x,
|
|
19806
19830
|
{
|
|
19807
19831
|
name: "accountHolderUsPerson",
|
|
19808
|
-
options:
|
|
19832
|
+
options: Be,
|
|
19809
19833
|
label: !0
|
|
19810
19834
|
}
|
|
19811
19835
|
),
|
|
19812
19836
|
/* @__PURE__ */ i.jsx(
|
|
19813
|
-
|
|
19837
|
+
x,
|
|
19814
19838
|
{
|
|
19815
19839
|
name: "accountHolderIsEuResident",
|
|
19816
|
-
options:
|
|
19840
|
+
options: Be,
|
|
19817
19841
|
label: !0,
|
|
19818
19842
|
subLabel: !0
|
|
19819
19843
|
}
|
|
19820
19844
|
),
|
|
19821
19845
|
/* @__PURE__ */ i.jsx(
|
|
19822
|
-
|
|
19846
|
+
x,
|
|
19823
19847
|
{
|
|
19824
19848
|
name: "accountHolderIsIndividual",
|
|
19825
|
-
options:
|
|
19849
|
+
options: Be,
|
|
19826
19850
|
label: !0,
|
|
19827
19851
|
subLabel: !0
|
|
19828
19852
|
}
|
|
19829
19853
|
),
|
|
19830
19854
|
/* @__PURE__ */ i.jsx(
|
|
19831
|
-
|
|
19855
|
+
x,
|
|
19832
19856
|
{
|
|
19833
19857
|
name: "accountHolderUsAccountType",
|
|
19834
19858
|
options: et,
|
|
@@ -19836,33 +19860,33 @@ const dr = {
|
|
|
19836
19860
|
}
|
|
19837
19861
|
),
|
|
19838
19862
|
/* @__PURE__ */ i.jsx(
|
|
19839
|
-
|
|
19863
|
+
x,
|
|
19840
19864
|
{
|
|
19841
19865
|
name: "accountHolderUsSmllcElection",
|
|
19842
|
-
options:
|
|
19866
|
+
options: Be,
|
|
19843
19867
|
label: !0,
|
|
19844
19868
|
subLabel: !0
|
|
19845
19869
|
}
|
|
19846
19870
|
),
|
|
19847
19871
|
/* @__PURE__ */ i.jsx(
|
|
19848
|
-
|
|
19872
|
+
x,
|
|
19849
19873
|
{
|
|
19850
19874
|
name: "accountHolderUsLlcClassification",
|
|
19851
19875
|
options: ri,
|
|
19852
19876
|
label: !0
|
|
19853
19877
|
}
|
|
19854
19878
|
),
|
|
19855
|
-
/* @__PURE__ */ i.jsx(
|
|
19879
|
+
/* @__PURE__ */ i.jsx(Q, { name: "accountHolderUsOtherClassification", label: !0 }),
|
|
19856
19880
|
/* @__PURE__ */ i.jsx(
|
|
19857
|
-
|
|
19881
|
+
x,
|
|
19858
19882
|
{
|
|
19859
19883
|
name: "accountHolderUsTrustEstateEin",
|
|
19860
|
-
options:
|
|
19884
|
+
options: Be,
|
|
19861
19885
|
label: !0
|
|
19862
19886
|
}
|
|
19863
19887
|
),
|
|
19864
19888
|
/* @__PURE__ */ i.jsx(
|
|
19865
|
-
|
|
19889
|
+
x,
|
|
19866
19890
|
{
|
|
19867
19891
|
name: "accountHolderForeignAccountType",
|
|
19868
19892
|
options: $n,
|
|
@@ -19870,7 +19894,7 @@ const dr = {
|
|
|
19870
19894
|
}
|
|
19871
19895
|
),
|
|
19872
19896
|
/* @__PURE__ */ i.jsx(
|
|
19873
|
-
|
|
19897
|
+
x,
|
|
19874
19898
|
{
|
|
19875
19899
|
name: "accountHolderForeignOtherClassification",
|
|
19876
19900
|
options: ni,
|
|
@@ -19878,7 +19902,7 @@ const dr = {
|
|
|
19878
19902
|
}
|
|
19879
19903
|
),
|
|
19880
19904
|
/* @__PURE__ */ i.jsx(
|
|
19881
|
-
|
|
19905
|
+
x,
|
|
19882
19906
|
{
|
|
19883
19907
|
name: "accountHolderForeignTrustClassification",
|
|
19884
19908
|
options: ti,
|
|
@@ -19887,7 +19911,7 @@ const dr = {
|
|
|
19887
19911
|
)
|
|
19888
19912
|
] }),
|
|
19889
19913
|
/* @__PURE__ */ i.jsx(
|
|
19890
|
-
|
|
19914
|
+
Ce,
|
|
19891
19915
|
{
|
|
19892
19916
|
onCancel: r,
|
|
19893
19917
|
onNext: () => n(e)
|
|
@@ -19896,7 +19920,7 @@ const dr = {
|
|
|
19896
19920
|
]
|
|
19897
19921
|
}
|
|
19898
19922
|
);
|
|
19899
|
-
},
|
|
19923
|
+
}, Ao = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(fo, {}) }), Ka = ({
|
|
19900
19924
|
prompt: e,
|
|
19901
19925
|
prefix: a,
|
|
19902
19926
|
showIf: n = !0
|
|
@@ -19905,33 +19929,33 @@ const dr = {
|
|
|
19905
19929
|
fields: r,
|
|
19906
19930
|
hideErrors: s,
|
|
19907
19931
|
getLocalCountry: o,
|
|
19908
|
-
getLocalCaProvince:
|
|
19932
|
+
getLocalCaProvince: d,
|
|
19909
19933
|
getLocalUsState: u,
|
|
19910
|
-
hideField:
|
|
19911
|
-
} = O(),
|
|
19934
|
+
hideField: m
|
|
19935
|
+
} = O(), l = r[`${a}Country`], v = _(
|
|
19912
19936
|
() => ua.map((p) => ({
|
|
19913
19937
|
...p,
|
|
19914
19938
|
label: o(p.value)
|
|
19915
|
-
})).sort((p,
|
|
19939
|
+
})).sort((p, S) => p.label.localeCompare(S.label)),
|
|
19916
19940
|
[o]
|
|
19917
|
-
),
|
|
19918
|
-
() =>
|
|
19941
|
+
), g = _(
|
|
19942
|
+
() => Dt.map((p) => ({
|
|
19919
19943
|
...p,
|
|
19920
19944
|
label: u(p.value)
|
|
19921
|
-
})).sort((p,
|
|
19945
|
+
})).sort((p, S) => p.label.localeCompare(S.label)),
|
|
19922
19946
|
[u]
|
|
19923
|
-
), A =
|
|
19924
|
-
() =>
|
|
19947
|
+
), A = _(
|
|
19948
|
+
() => At.map((p) => ({
|
|
19925
19949
|
...p,
|
|
19926
|
-
label:
|
|
19927
|
-
})).sort((p,
|
|
19928
|
-
[
|
|
19950
|
+
label: d(p.value)
|
|
19951
|
+
})).sort((p, S) => p.label.localeCompare(S.label)),
|
|
19952
|
+
[d]
|
|
19929
19953
|
);
|
|
19930
19954
|
return X(() => {
|
|
19931
|
-
n || (
|
|
19932
|
-
}, [
|
|
19955
|
+
n || (m(`${a}Street`), m(`${a}Street2`), m(`${a}City`), m(`${a}State`), m(`${a}Country`), m(`${a}Zip`));
|
|
19956
|
+
}, [m, a, n]), n ? /* @__PURE__ */ i.jsxs(oe, { title: e, children: [
|
|
19933
19957
|
/* @__PURE__ */ i.jsx(
|
|
19934
|
-
|
|
19958
|
+
me,
|
|
19935
19959
|
{
|
|
19936
19960
|
name: `${a}Country`,
|
|
19937
19961
|
options: v,
|
|
@@ -19939,52 +19963,52 @@ const dr = {
|
|
|
19939
19963
|
label: !0
|
|
19940
19964
|
}
|
|
19941
19965
|
),
|
|
19942
|
-
/* @__PURE__ */ i.jsx(
|
|
19943
|
-
/* @__PURE__ */ i.jsx(
|
|
19944
|
-
/* @__PURE__ */ i.jsx(
|
|
19945
|
-
|
|
19946
|
-
|
|
19966
|
+
/* @__PURE__ */ i.jsx(Q, { name: `${a}Street`, label: !0 }),
|
|
19967
|
+
/* @__PURE__ */ i.jsx(Q, { name: `${a}Street2`, label: !0 }),
|
|
19968
|
+
/* @__PURE__ */ i.jsx(Q, { name: `${a}City`, label: !0 }),
|
|
19969
|
+
l !== "CA" && l !== "US" ? /* @__PURE__ */ i.jsx(Q, { label: !0, name: `${a}State` }) : /* @__PURE__ */ i.jsx(
|
|
19970
|
+
me,
|
|
19947
19971
|
{
|
|
19948
19972
|
name: `${a}State`,
|
|
19949
19973
|
className: "taxbit-state",
|
|
19950
|
-
options:
|
|
19974
|
+
options: l === "CA" ? A : g,
|
|
19951
19975
|
label: !0
|
|
19952
19976
|
}
|
|
19953
19977
|
),
|
|
19954
|
-
/* @__PURE__ */ i.jsx(
|
|
19978
|
+
/* @__PURE__ */ i.jsx(Q, { name: `${a}Zip`, label: !0 })
|
|
19955
19979
|
] }) : null;
|
|
19956
|
-
},
|
|
19980
|
+
}, bo = ({
|
|
19957
19981
|
name: e,
|
|
19958
19982
|
label: a,
|
|
19959
19983
|
subLabel: n
|
|
19960
|
-
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(
|
|
19961
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: s } = $(), { fields: o, getLocalCountry:
|
|
19962
|
-
() => ua.map((
|
|
19963
|
-
...
|
|
19964
|
-
label: l
|
|
19965
|
-
})).sort((
|
|
19966
|
-
[
|
|
19984
|
+
}) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(uo, { name: e }) }), Co = () => {
|
|
19985
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: s } = $(), { fields: o, getLocalCountry: d, getLocalTitle: u } = O(), m = _(
|
|
19986
|
+
() => ua.map((l) => ({
|
|
19987
|
+
...l,
|
|
19988
|
+
label: d(l.value)
|
|
19989
|
+
})).sort((l, v) => l.label.localeCompare(v.label)),
|
|
19990
|
+
[d]
|
|
19967
19991
|
);
|
|
19968
|
-
return /* @__PURE__ */ i.jsxs(
|
|
19992
|
+
return /* @__PURE__ */ i.jsxs(be, { title: u("accountHolderContactInformation"), children: [
|
|
19969
19993
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
19970
19994
|
/* @__PURE__ */ i.jsx(
|
|
19971
|
-
|
|
19995
|
+
me,
|
|
19972
19996
|
{
|
|
19973
19997
|
label: !0,
|
|
19974
19998
|
name: "accountHolderCountryOfCitizenship",
|
|
19975
|
-
options:
|
|
19999
|
+
options: m
|
|
19976
20000
|
}
|
|
19977
20001
|
),
|
|
19978
20002
|
/* @__PURE__ */ i.jsx(
|
|
19979
|
-
|
|
20003
|
+
Q,
|
|
19980
20004
|
{
|
|
19981
20005
|
label: !0,
|
|
19982
20006
|
name: "accountHolderName",
|
|
19983
20007
|
syncName: "accountHolderFinancialAccountName"
|
|
19984
20008
|
}
|
|
19985
20009
|
),
|
|
19986
|
-
/* @__PURE__ */ i.jsx(
|
|
19987
|
-
/* @__PURE__ */ i.jsx(
|
|
20010
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "accountHolderDbaName" }),
|
|
20011
|
+
/* @__PURE__ */ i.jsx(bo, { name: "accountHolderDateOfBirth", label: !0 }),
|
|
19988
20012
|
/* @__PURE__ */ i.jsx(
|
|
19989
20013
|
Ka,
|
|
19990
20014
|
{
|
|
@@ -20004,7 +20028,7 @@ const dr = {
|
|
|
20004
20028
|
)
|
|
20005
20029
|
] }),
|
|
20006
20030
|
/* @__PURE__ */ i.jsx(
|
|
20007
|
-
|
|
20031
|
+
Ce,
|
|
20008
20032
|
{
|
|
20009
20033
|
onCancel: n,
|
|
20010
20034
|
onBack: a,
|
|
@@ -20012,94 +20036,94 @@ const dr = {
|
|
|
20012
20036
|
}
|
|
20013
20037
|
)
|
|
20014
20038
|
] });
|
|
20015
|
-
},
|
|
20039
|
+
}, Io = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Co, {}) }), la = ({
|
|
20016
20040
|
index: e,
|
|
20017
20041
|
showIf: a = !0,
|
|
20018
20042
|
onShow: n,
|
|
20019
20043
|
more: r,
|
|
20020
20044
|
countryOptions: s
|
|
20021
20045
|
}) => {
|
|
20022
|
-
const { fields: o, getLocalTitle:
|
|
20046
|
+
const { fields: o, getLocalTitle: d, hideField: u, clearIfNotRequired: m } = O(), l = `accountHolderTaxResidenceCountry${e}`, v = `accountHolderTaxResidenceForeignTin${e}`, g = `accountHolderTaxResidenceForeignTin${e}IsNotRequired`, A = `accountHolderShowTaxResidence${e + 1}`, p = `taxResidence${e}`, N = [
|
|
20023
20047
|
o.accountHolderTaxResidenceCountry1,
|
|
20024
20048
|
o.accountHolderTaxResidenceCountry2,
|
|
20025
20049
|
o.accountHolderTaxResidenceCountry3,
|
|
20026
20050
|
o.accountHolderTaxResidenceCountry4,
|
|
20027
20051
|
o.accountHolderTaxResidenceCountry5
|
|
20028
20052
|
].filter(
|
|
20029
|
-
(
|
|
20030
|
-
),
|
|
20031
|
-
(
|
|
20053
|
+
(R) => R !== o[`accountHolderTaxResidenceCountry${e}`]
|
|
20054
|
+
), T = s.filter(
|
|
20055
|
+
(R) => !N.includes(R.value)
|
|
20032
20056
|
);
|
|
20033
20057
|
return X(() => {
|
|
20034
|
-
a || (u(
|
|
20058
|
+
a || (u(l), u(v), u(g), u(A));
|
|
20035
20059
|
}, [
|
|
20036
|
-
|
|
20060
|
+
l,
|
|
20037
20061
|
u,
|
|
20038
|
-
|
|
20062
|
+
g,
|
|
20039
20063
|
a,
|
|
20040
20064
|
v,
|
|
20041
20065
|
A
|
|
20042
20066
|
]), a ? (n && n(), /* @__PURE__ */ i.jsxs(
|
|
20043
20067
|
oe,
|
|
20044
20068
|
{
|
|
20045
|
-
title:
|
|
20069
|
+
title: d(p),
|
|
20046
20070
|
showIf: o.accountHolderIsIndividual !== void 0,
|
|
20047
20071
|
children: [
|
|
20048
20072
|
/* @__PURE__ */ i.jsx(
|
|
20049
|
-
|
|
20073
|
+
me,
|
|
20050
20074
|
{
|
|
20051
|
-
name:
|
|
20075
|
+
name: l,
|
|
20052
20076
|
className: "taxbit-country",
|
|
20053
|
-
options:
|
|
20077
|
+
options: T,
|
|
20054
20078
|
label: !0
|
|
20055
20079
|
}
|
|
20056
20080
|
),
|
|
20057
20081
|
/* @__PURE__ */ i.jsx(
|
|
20058
|
-
|
|
20082
|
+
Me,
|
|
20059
20083
|
{
|
|
20060
20084
|
name: v,
|
|
20061
20085
|
label: !0,
|
|
20062
|
-
disabled: o[
|
|
20086
|
+
disabled: o[g] === "yes"
|
|
20063
20087
|
}
|
|
20064
20088
|
),
|
|
20065
20089
|
/* @__PURE__ */ i.jsx(
|
|
20066
20090
|
D,
|
|
20067
20091
|
{
|
|
20068
20092
|
label: !0,
|
|
20069
|
-
name:
|
|
20070
|
-
onClick:
|
|
20093
|
+
name: g,
|
|
20094
|
+
onClick: m(v)
|
|
20071
20095
|
}
|
|
20072
20096
|
),
|
|
20073
|
-
r ? /* @__PURE__ */ i.jsx(
|
|
20097
|
+
r ? /* @__PURE__ */ i.jsx(Ve, { children: /* @__PURE__ */ i.jsx(ko, { name: A }) }) : null
|
|
20074
20098
|
]
|
|
20075
20099
|
}
|
|
20076
20100
|
)) : null;
|
|
20077
|
-
},
|
|
20101
|
+
}, So = () => {
|
|
20078
20102
|
const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), {
|
|
20079
20103
|
fields: r,
|
|
20080
20104
|
getLocalTitle: s,
|
|
20081
20105
|
getLocalSubTitle: o,
|
|
20082
|
-
getLocalCountry:
|
|
20106
|
+
getLocalCountry: d,
|
|
20083
20107
|
clearIfNotRequired: u,
|
|
20084
|
-
setValue:
|
|
20085
|
-
} = O(),
|
|
20086
|
-
() =>
|
|
20087
|
-
...
|
|
20088
|
-
label:
|
|
20089
|
-
})).sort((
|
|
20090
|
-
[
|
|
20091
|
-
), v =
|
|
20092
|
-
() => ua.map((
|
|
20093
|
-
...
|
|
20094
|
-
label:
|
|
20095
|
-
})).sort((
|
|
20096
|
-
[
|
|
20108
|
+
setValue: m
|
|
20109
|
+
} = O(), l = _(
|
|
20110
|
+
() => Ct.map((g) => ({
|
|
20111
|
+
...g,
|
|
20112
|
+
label: d(g.value)
|
|
20113
|
+
})).sort((g, A) => g.label.localeCompare(A.label)),
|
|
20114
|
+
[d]
|
|
20115
|
+
), v = _(
|
|
20116
|
+
() => ua.map((g) => ({
|
|
20117
|
+
...g,
|
|
20118
|
+
label: d(g.value)
|
|
20119
|
+
})).sort((g, A) => g.label.localeCompare(A.label)),
|
|
20120
|
+
[d]
|
|
20097
20121
|
);
|
|
20098
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20122
|
+
return /* @__PURE__ */ i.jsxs(be, { title: s("accountHolderTaxInformation"), children: [
|
|
20099
20123
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20100
|
-
/* @__PURE__ */ i.jsx(
|
|
20124
|
+
/* @__PURE__ */ i.jsx(Me, { name: "accountHolderUsTin", label: !0 }),
|
|
20101
20125
|
/* @__PURE__ */ i.jsx(
|
|
20102
|
-
|
|
20126
|
+
Me,
|
|
20103
20127
|
{
|
|
20104
20128
|
name: "accountHolderForeignTin",
|
|
20105
20129
|
disabled: r.accountHolderForeignTinIsNotRequired === "yes",
|
|
@@ -20115,27 +20139,27 @@ const dr = {
|
|
|
20115
20139
|
}
|
|
20116
20140
|
),
|
|
20117
20141
|
/* @__PURE__ */ i.jsx(
|
|
20118
|
-
|
|
20142
|
+
Me,
|
|
20119
20143
|
{
|
|
20120
20144
|
name: "accountHolderFinancialAccountIdentifier",
|
|
20121
20145
|
label: !0,
|
|
20122
20146
|
subLabel: !0
|
|
20123
20147
|
}
|
|
20124
20148
|
),
|
|
20125
|
-
/* @__PURE__ */ i.jsx(
|
|
20149
|
+
/* @__PURE__ */ i.jsx(Q, { name: "accountHolderFinancialAccountName", label: !0, subLabel: !0 }),
|
|
20126
20150
|
/* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsEuResident === "yes", children: [
|
|
20127
20151
|
/* @__PURE__ */ i.jsx(
|
|
20128
|
-
|
|
20152
|
+
me,
|
|
20129
20153
|
{
|
|
20130
20154
|
name: "accountHolderVatCountry",
|
|
20131
20155
|
className: "taxbit-country",
|
|
20132
|
-
options:
|
|
20156
|
+
options: l,
|
|
20133
20157
|
disabled: r.accountHolderVatIsNotRequired === "yes",
|
|
20134
20158
|
label: !0
|
|
20135
20159
|
}
|
|
20136
20160
|
),
|
|
20137
20161
|
/* @__PURE__ */ i.jsx(
|
|
20138
|
-
|
|
20162
|
+
Me,
|
|
20139
20163
|
{
|
|
20140
20164
|
name: "accountHolderVatIdentificationNumber",
|
|
20141
20165
|
disabled: r.accountHolderVatIsNotRequired === "yes",
|
|
@@ -20157,7 +20181,7 @@ const dr = {
|
|
|
20157
20181
|
] }),
|
|
20158
20182
|
/* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsIndividual === "no", children: [
|
|
20159
20183
|
/* @__PURE__ */ i.jsx(
|
|
20160
|
-
|
|
20184
|
+
me,
|
|
20161
20185
|
{
|
|
20162
20186
|
name: "accountHolderBusinessRegistrationCountry",
|
|
20163
20187
|
className: "taxbit-country",
|
|
@@ -20166,7 +20190,7 @@ const dr = {
|
|
|
20166
20190
|
}
|
|
20167
20191
|
),
|
|
20168
20192
|
/* @__PURE__ */ i.jsx(
|
|
20169
|
-
|
|
20193
|
+
Me,
|
|
20170
20194
|
{
|
|
20171
20195
|
name: "accountHolderBusinessRegistrationNumber",
|
|
20172
20196
|
label: !0
|
|
@@ -20187,7 +20211,7 @@ const dr = {
|
|
|
20187
20211
|
index: 1,
|
|
20188
20212
|
showIf: r.accountHolderIsIndividual !== void 0,
|
|
20189
20213
|
onShow: () => {
|
|
20190
|
-
r.accountHolderTaxResidenceCountry1 === void 0 &&
|
|
20214
|
+
r.accountHolderTaxResidenceCountry1 === void 0 && m(
|
|
20191
20215
|
"accountHolderTaxResidenceCountry1",
|
|
20192
20216
|
r.accountHolderAddressCountry
|
|
20193
20217
|
);
|
|
@@ -20236,7 +20260,7 @@ const dr = {
|
|
|
20236
20260
|
)
|
|
20237
20261
|
] }),
|
|
20238
20262
|
/* @__PURE__ */ i.jsx(
|
|
20239
|
-
|
|
20263
|
+
Ce,
|
|
20240
20264
|
{
|
|
20241
20265
|
onCancel: n,
|
|
20242
20266
|
onBack: a,
|
|
@@ -20244,24 +20268,63 @@ const dr = {
|
|
|
20244
20268
|
}
|
|
20245
20269
|
)
|
|
20246
20270
|
] });
|
|
20247
|
-
},
|
|
20271
|
+
}, No = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(So, {}) }), To = () => {
|
|
20272
|
+
const { getLocalCountry: e, getLocalTitle: a, getLocalSubPrompt: n } = O(), r = _(
|
|
20273
|
+
() => ua.map((s) => ({
|
|
20274
|
+
...s,
|
|
20275
|
+
label: e(s.value)
|
|
20276
|
+
})).sort((s, o) => s.label.localeCompare(o.label)),
|
|
20277
|
+
[e]
|
|
20278
|
+
);
|
|
20279
|
+
return /* @__PURE__ */ i.jsxs(
|
|
20280
|
+
oe,
|
|
20281
|
+
{
|
|
20282
|
+
title: a("placeOfBirth"),
|
|
20283
|
+
subTitle: n("accountHolderCityOfBirth"),
|
|
20284
|
+
children: [
|
|
20285
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "accountHolderCityOfBirth" }),
|
|
20286
|
+
/* @__PURE__ */ i.jsx(
|
|
20287
|
+
me,
|
|
20288
|
+
{
|
|
20289
|
+
label: !0,
|
|
20290
|
+
name: "accountHolderCountryOfBirth",
|
|
20291
|
+
options: r
|
|
20292
|
+
}
|
|
20293
|
+
)
|
|
20294
|
+
]
|
|
20295
|
+
}
|
|
20296
|
+
);
|
|
20297
|
+
}, Mo = () => {
|
|
20298
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalTitle: s } = O();
|
|
20299
|
+
return /* @__PURE__ */ i.jsxs(be, { title: s("accountHolderTaxInformation"), children: [
|
|
20300
|
+
/* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(To, {}) }),
|
|
20301
|
+
/* @__PURE__ */ i.jsx(
|
|
20302
|
+
Ce,
|
|
20303
|
+
{
|
|
20304
|
+
onCancel: n,
|
|
20305
|
+
onBack: a,
|
|
20306
|
+
onNext: () => e(r)
|
|
20307
|
+
}
|
|
20308
|
+
)
|
|
20309
|
+
] });
|
|
20310
|
+
}, yo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Mo, {}) }), jo = () => {
|
|
20248
20311
|
const { onPersistCollectedData: e, goBack: a } = $(), { fields: n } = O();
|
|
20249
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20312
|
+
return /* @__PURE__ */ i.jsxs(be, { title: "exemptions", children: [
|
|
20250
20313
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20251
|
-
/* @__PURE__ */ i.jsx(
|
|
20252
|
-
/* @__PURE__ */ i.jsx(
|
|
20314
|
+
/* @__PURE__ */ i.jsx(me, { name: "exemptFatcaCode", options: Nt, label: !0 }),
|
|
20315
|
+
/* @__PURE__ */ i.jsx(me, { name: "exemptPayeeCode", options: Rt, label: !0 })
|
|
20253
20316
|
] }),
|
|
20254
|
-
/* @__PURE__ */ i.jsx(
|
|
20317
|
+
/* @__PURE__ */ i.jsx(Ce, { onBack: a, onNext: () => e(n) })
|
|
20255
20318
|
] });
|
|
20256
|
-
},
|
|
20257
|
-
const { fields: e, getLocalTitle: a, getLocalOption: n } = O(), { onPersistCollectedData: r, goBack: s } = $(), o =
|
|
20258
|
-
...
|
|
20259
|
-
label: n(`usPerson_${
|
|
20319
|
+
}, Oo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(jo, {}) }), zo = () => {
|
|
20320
|
+
const { fields: e, getLocalTitle: a, getLocalOption: n } = O(), { onPersistCollectedData: r, goBack: s } = $(), o = Be.map((d) => ({
|
|
20321
|
+
...d,
|
|
20322
|
+
label: n(`usPerson_${d.value}`)
|
|
20260
20323
|
}));
|
|
20261
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20324
|
+
return /* @__PURE__ */ i.jsxs(be, { title: a("regardedOwnerClassification"), children: [
|
|
20262
20325
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20263
20326
|
/* @__PURE__ */ i.jsx(
|
|
20264
|
-
|
|
20327
|
+
x,
|
|
20265
20328
|
{
|
|
20266
20329
|
name: "regardedOwnerUsPerson",
|
|
20267
20330
|
options: o,
|
|
@@ -20269,40 +20332,40 @@ const dr = {
|
|
|
20269
20332
|
}
|
|
20270
20333
|
),
|
|
20271
20334
|
/* @__PURE__ */ i.jsx(
|
|
20272
|
-
|
|
20335
|
+
x,
|
|
20273
20336
|
{
|
|
20274
20337
|
name: "regardedOwnerUsAccountType",
|
|
20275
|
-
options:
|
|
20338
|
+
options: Lt,
|
|
20276
20339
|
label: !0
|
|
20277
20340
|
}
|
|
20278
20341
|
),
|
|
20279
20342
|
/* @__PURE__ */ i.jsx(
|
|
20280
|
-
|
|
20343
|
+
x,
|
|
20281
20344
|
{
|
|
20282
20345
|
name: "regardedOwnerForeignAccountType",
|
|
20283
|
-
options:
|
|
20346
|
+
options: yt,
|
|
20284
20347
|
label: !0
|
|
20285
20348
|
}
|
|
20286
20349
|
),
|
|
20287
20350
|
/* @__PURE__ */ i.jsx(
|
|
20288
|
-
|
|
20351
|
+
x,
|
|
20289
20352
|
{
|
|
20290
20353
|
name: "regardedOwnerUsLlcClassification",
|
|
20291
20354
|
options: ri,
|
|
20292
20355
|
label: !0
|
|
20293
20356
|
}
|
|
20294
20357
|
),
|
|
20295
|
-
/* @__PURE__ */ i.jsx(
|
|
20358
|
+
/* @__PURE__ */ i.jsx(Q, { name: "regardedOwnerUsOtherClassification", label: !0 }),
|
|
20296
20359
|
/* @__PURE__ */ i.jsx(
|
|
20297
|
-
|
|
20360
|
+
x,
|
|
20298
20361
|
{
|
|
20299
20362
|
name: "regardedOwnerUsTrustEstateEin",
|
|
20300
|
-
options:
|
|
20363
|
+
options: Be,
|
|
20301
20364
|
label: !0
|
|
20302
20365
|
}
|
|
20303
20366
|
),
|
|
20304
20367
|
/* @__PURE__ */ i.jsx(
|
|
20305
|
-
|
|
20368
|
+
x,
|
|
20306
20369
|
{
|
|
20307
20370
|
name: "regardedOwnerForeignOtherClassification",
|
|
20308
20371
|
options: ni,
|
|
@@ -20310,7 +20373,7 @@ const dr = {
|
|
|
20310
20373
|
}
|
|
20311
20374
|
),
|
|
20312
20375
|
/* @__PURE__ */ i.jsx(
|
|
20313
|
-
|
|
20376
|
+
x,
|
|
20314
20377
|
{
|
|
20315
20378
|
name: "regardedOwnerForeignTrustClassification",
|
|
20316
20379
|
options: ti,
|
|
@@ -20318,28 +20381,28 @@ const dr = {
|
|
|
20318
20381
|
}
|
|
20319
20382
|
)
|
|
20320
20383
|
] }),
|
|
20321
|
-
/* @__PURE__ */ i.jsx(
|
|
20384
|
+
/* @__PURE__ */ i.jsx(Ce, { onBack: s, onNext: () => r(e) })
|
|
20322
20385
|
] });
|
|
20323
|
-
},
|
|
20324
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalCountry: s, getLocalTitle: o } = O(),
|
|
20386
|
+
}, Eo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(zo, {}) }), Bo = () => {
|
|
20387
|
+
const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalCountry: s, getLocalTitle: o } = O(), d = _(
|
|
20325
20388
|
() => ua.map((u) => ({
|
|
20326
20389
|
...u,
|
|
20327
20390
|
label: s(u.value)
|
|
20328
|
-
})).sort((u,
|
|
20391
|
+
})).sort((u, m) => u.label.localeCompare(m.label)),
|
|
20329
20392
|
[s]
|
|
20330
20393
|
);
|
|
20331
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20394
|
+
return /* @__PURE__ */ i.jsxs(be, { title: o("regardedOwnerContactInformation"), children: [
|
|
20332
20395
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20333
20396
|
/* @__PURE__ */ i.jsx(
|
|
20334
|
-
|
|
20397
|
+
me,
|
|
20335
20398
|
{
|
|
20336
20399
|
label: !0,
|
|
20337
20400
|
name: "regardedOwnerCountryOfCitizenship",
|
|
20338
|
-
options:
|
|
20401
|
+
options: d
|
|
20339
20402
|
}
|
|
20340
20403
|
),
|
|
20341
|
-
/* @__PURE__ */ i.jsx(
|
|
20342
|
-
/* @__PURE__ */ i.jsx(
|
|
20404
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerName" }),
|
|
20405
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerDbaName" }),
|
|
20343
20406
|
/* @__PURE__ */ i.jsx(
|
|
20344
20407
|
Ka,
|
|
20345
20408
|
{
|
|
@@ -20358,7 +20421,7 @@ const dr = {
|
|
|
20358
20421
|
)
|
|
20359
20422
|
] }),
|
|
20360
20423
|
/* @__PURE__ */ i.jsx(
|
|
20361
|
-
|
|
20424
|
+
Ce,
|
|
20362
20425
|
{
|
|
20363
20426
|
onCancel: n,
|
|
20364
20427
|
onBack: a,
|
|
@@ -20366,12 +20429,12 @@ const dr = {
|
|
|
20366
20429
|
}
|
|
20367
20430
|
)
|
|
20368
20431
|
] });
|
|
20369
|
-
},
|
|
20432
|
+
}, Po = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Bo, {}) }), Ro = () => {
|
|
20370
20433
|
const { onPersistCollectedData: e, goBack: a } = $(), { fields: n, getLocalTitle: r, clearIfNotRequired: s } = O();
|
|
20371
|
-
return /* @__PURE__ */ i.jsxs(
|
|
20434
|
+
return /* @__PURE__ */ i.jsxs(be, { title: r("regardedOwnerTaxInformation"), children: [
|
|
20372
20435
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20373
|
-
/* @__PURE__ */ i.jsx(
|
|
20374
|
-
/* @__PURE__ */ i.jsx(
|
|
20436
|
+
/* @__PURE__ */ i.jsx(Me, { name: "regardedOwnerUsTin", label: !0 }),
|
|
20437
|
+
/* @__PURE__ */ i.jsx(Me, { name: "regardedOwnerForeignTin", label: !0 }),
|
|
20375
20438
|
/* @__PURE__ */ i.jsx(
|
|
20376
20439
|
D,
|
|
20377
20440
|
{
|
|
@@ -20381,9 +20444,9 @@ const dr = {
|
|
|
20381
20444
|
}
|
|
20382
20445
|
)
|
|
20383
20446
|
] }),
|
|
20384
|
-
/* @__PURE__ */ i.jsx(
|
|
20447
|
+
/* @__PURE__ */ i.jsx(Ce, { onBack: a, onNext: () => e(n) })
|
|
20385
20448
|
] });
|
|
20386
|
-
},
|
|
20449
|
+
}, wo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Ro, {}) }), te = ({ text: e }) => {
|
|
20387
20450
|
const n = ((r) => {
|
|
20388
20451
|
if (!r)
|
|
20389
20452
|
return "";
|
|
@@ -20391,59 +20454,63 @@ const dr = {
|
|
|
20391
20454
|
return "*".repeat(s) + r.substring(s);
|
|
20392
20455
|
})(e);
|
|
20393
20456
|
return /* @__PURE__ */ i.jsx("span", { children: n });
|
|
20394
|
-
},
|
|
20457
|
+
}, Ho = () => {
|
|
20395
20458
|
const { data: e, editTo: a, isW9: n, isW8: r } = $(), {
|
|
20396
20459
|
getLocalTitle: s,
|
|
20397
20460
|
getLocalOption: o,
|
|
20398
|
-
getLocalCountry:
|
|
20461
|
+
getLocalCountry: d,
|
|
20399
20462
|
getLocalText: u,
|
|
20400
|
-
visibleFields:
|
|
20401
|
-
|
|
20402
|
-
|
|
20463
|
+
visibleFields: m,
|
|
20464
|
+
showField: l,
|
|
20465
|
+
hideField: v
|
|
20466
|
+
} = O(), g = !!m.accountHolderAddressCountry;
|
|
20467
|
+
return X(() => {
|
|
20468
|
+
g ? (l("accountHolderAddressCity"), l("accountHolderAddressState"), l("accountHolderAddressStreet"), l("accountHolderAddressStreet2"), l("accountHolderAddressCountry"), l("accountHolderAddressZip")) : (v("accountHolderAddressCity"), v("accountHolderAddressState"), v("accountHolderAddressStreet"), v("accountHolderAddressStreet2"), v("accountHolderAddressCountry"), v("accountHolderAddressZip"));
|
|
20469
|
+
}, [g, l, v]), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
20403
20470
|
/* @__PURE__ */ i.jsxs(oe, { title: s("accountHolder"), children: [
|
|
20404
20471
|
/* @__PURE__ */ i.jsx(
|
|
20405
20472
|
f,
|
|
20406
20473
|
{
|
|
20407
20474
|
label: !0,
|
|
20408
|
-
|
|
20409
|
-
|
|
20410
|
-
children: e == null ? void 0 : e.
|
|
20475
|
+
onEdit: () => a("AccountHolderClassification"),
|
|
20476
|
+
name: "accountHolderIsEuResident",
|
|
20477
|
+
children: o(e == null ? void 0 : e.accountHolderIsEuResident)
|
|
20411
20478
|
}
|
|
20412
20479
|
),
|
|
20413
20480
|
/* @__PURE__ */ i.jsx(
|
|
20414
20481
|
f,
|
|
20415
20482
|
{
|
|
20416
20483
|
label: !0,
|
|
20417
|
-
|
|
20418
|
-
|
|
20419
|
-
children:
|
|
20484
|
+
onEdit: () => a("AccountHolderClassification"),
|
|
20485
|
+
name: "accountHolderIsIndividual",
|
|
20486
|
+
children: o(e == null ? void 0 : e.accountHolderIsIndividual)
|
|
20420
20487
|
}
|
|
20421
20488
|
),
|
|
20422
20489
|
/* @__PURE__ */ i.jsx(
|
|
20423
20490
|
f,
|
|
20424
20491
|
{
|
|
20425
20492
|
label: !0,
|
|
20426
|
-
|
|
20427
|
-
|
|
20428
|
-
children: e == null ? void 0 : e.
|
|
20493
|
+
onEdit: () => a("AccountHolderClassification"),
|
|
20494
|
+
name: "accountHolderUsPerson",
|
|
20495
|
+
children: o(e == null ? void 0 : e.accountHolderUsPerson)
|
|
20429
20496
|
}
|
|
20430
20497
|
),
|
|
20431
20498
|
/* @__PURE__ */ i.jsx(
|
|
20432
20499
|
f,
|
|
20433
20500
|
{
|
|
20434
20501
|
label: !0,
|
|
20435
|
-
|
|
20436
|
-
|
|
20437
|
-
children: e == null ? void 0 : e.
|
|
20502
|
+
onEdit: () => a("AccountHolderClassification"),
|
|
20503
|
+
name: "accountHolderUsPerson",
|
|
20504
|
+
children: o(e == null ? void 0 : e.accountHolderUsPerson)
|
|
20438
20505
|
}
|
|
20439
20506
|
),
|
|
20440
20507
|
/* @__PURE__ */ i.jsx(
|
|
20441
20508
|
f,
|
|
20442
20509
|
{
|
|
20443
20510
|
label: !0,
|
|
20444
|
-
|
|
20445
|
-
|
|
20446
|
-
children:
|
|
20511
|
+
onEdit: () => a("AccountHolderClassification"),
|
|
20512
|
+
name: "accountHolderUsAccountType",
|
|
20513
|
+
children: o(e == null ? void 0 : e.accountHolderUsAccountType)
|
|
20447
20514
|
}
|
|
20448
20515
|
),
|
|
20449
20516
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20451,8 +20518,8 @@ const dr = {
|
|
|
20451
20518
|
{
|
|
20452
20519
|
label: !0,
|
|
20453
20520
|
onEdit: () => a("AccountHolderClassification"),
|
|
20454
|
-
name: "
|
|
20455
|
-
children: o(e == null ? void 0 : e.
|
|
20521
|
+
name: "accountHolderUsLlcClassification",
|
|
20522
|
+
children: o(e == null ? void 0 : e.accountHolderUsLlcClassification)
|
|
20456
20523
|
}
|
|
20457
20524
|
),
|
|
20458
20525
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20460,8 +20527,8 @@ const dr = {
|
|
|
20460
20527
|
{
|
|
20461
20528
|
label: !0,
|
|
20462
20529
|
onEdit: () => a("AccountHolderClassification"),
|
|
20463
|
-
name: "
|
|
20464
|
-
children:
|
|
20530
|
+
name: "accountHolderUsOtherClassification",
|
|
20531
|
+
children: e == null ? void 0 : e.accountHolderUsOtherClassification
|
|
20465
20532
|
}
|
|
20466
20533
|
),
|
|
20467
20534
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20469,8 +20536,8 @@ const dr = {
|
|
|
20469
20536
|
{
|
|
20470
20537
|
label: !0,
|
|
20471
20538
|
onEdit: () => a("AccountHolderClassification"),
|
|
20472
|
-
name: "
|
|
20473
|
-
children: o(e == null ? void 0 : e.
|
|
20539
|
+
name: "accountHolderUsTrustEstateEin",
|
|
20540
|
+
children: o(e == null ? void 0 : e.accountHolderUsTrustEstateEin)
|
|
20474
20541
|
}
|
|
20475
20542
|
),
|
|
20476
20543
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20478,8 +20545,8 @@ const dr = {
|
|
|
20478
20545
|
{
|
|
20479
20546
|
label: !0,
|
|
20480
20547
|
onEdit: () => a("AccountHolderClassification"),
|
|
20481
|
-
name: "
|
|
20482
|
-
children: o(e == null ? void 0 : e.
|
|
20548
|
+
name: "accountHolderForeignAccountType",
|
|
20549
|
+
children: o(e == null ? void 0 : e.accountHolderForeignAccountType)
|
|
20483
20550
|
}
|
|
20484
20551
|
),
|
|
20485
20552
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20487,8 +20554,8 @@ const dr = {
|
|
|
20487
20554
|
{
|
|
20488
20555
|
label: !0,
|
|
20489
20556
|
onEdit: () => a("AccountHolderClassification"),
|
|
20490
|
-
name: "
|
|
20491
|
-
children: o(e == null ? void 0 : e.
|
|
20557
|
+
name: "accountHolderForeignTrustClassification",
|
|
20558
|
+
children: o(e == null ? void 0 : e.accountHolderForeignTrustClassification)
|
|
20492
20559
|
}
|
|
20493
20560
|
),
|
|
20494
20561
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20496,53 +20563,53 @@ const dr = {
|
|
|
20496
20563
|
{
|
|
20497
20564
|
label: !0,
|
|
20498
20565
|
onEdit: () => a("AccountHolderClassification"),
|
|
20499
|
-
name: "
|
|
20500
|
-
children: o(e == null ? void 0 : e.
|
|
20566
|
+
name: "accountHolderForeignOtherClassification",
|
|
20567
|
+
children: o(e == null ? void 0 : e.accountHolderForeignOtherClassification)
|
|
20501
20568
|
}
|
|
20502
20569
|
),
|
|
20503
20570
|
/* @__PURE__ */ i.jsx(
|
|
20504
20571
|
f,
|
|
20505
20572
|
{
|
|
20506
20573
|
label: !0,
|
|
20507
|
-
|
|
20508
|
-
|
|
20509
|
-
children: e == null ? void 0 : e.
|
|
20574
|
+
name: "accountHolderName",
|
|
20575
|
+
onEdit: () => a("AccountHolderContact"),
|
|
20576
|
+
children: e == null ? void 0 : e.accountHolderName
|
|
20510
20577
|
}
|
|
20511
20578
|
),
|
|
20512
20579
|
/* @__PURE__ */ i.jsx(
|
|
20513
20580
|
f,
|
|
20514
20581
|
{
|
|
20515
20582
|
label: !0,
|
|
20516
|
-
|
|
20517
|
-
|
|
20518
|
-
children:
|
|
20583
|
+
name: "accountHolderCountryOfCitizenship",
|
|
20584
|
+
onEdit: () => a("AccountHolderContact"),
|
|
20585
|
+
children: d(e == null ? void 0 : e.accountHolderCountryOfCitizenship)
|
|
20519
20586
|
}
|
|
20520
20587
|
),
|
|
20521
20588
|
/* @__PURE__ */ i.jsx(
|
|
20522
20589
|
f,
|
|
20523
20590
|
{
|
|
20524
20591
|
label: !0,
|
|
20525
|
-
|
|
20526
|
-
|
|
20527
|
-
children:
|
|
20592
|
+
name: "accountHolderDateOfBirth",
|
|
20593
|
+
onEdit: () => a("AccountHolderContact"),
|
|
20594
|
+
children: e == null ? void 0 : e.accountHolderDateOfBirth
|
|
20528
20595
|
}
|
|
20529
20596
|
),
|
|
20530
20597
|
/* @__PURE__ */ i.jsx(
|
|
20531
20598
|
f,
|
|
20532
20599
|
{
|
|
20533
20600
|
label: !0,
|
|
20534
|
-
|
|
20535
|
-
|
|
20536
|
-
children:
|
|
20601
|
+
name: "accountHolderCityOfBirth",
|
|
20602
|
+
onEdit: () => a("AccountHolderTaxClarification"),
|
|
20603
|
+
children: e == null ? void 0 : e.accountHolderCityOfBirth
|
|
20537
20604
|
}
|
|
20538
20605
|
),
|
|
20539
20606
|
/* @__PURE__ */ i.jsx(
|
|
20540
20607
|
f,
|
|
20541
20608
|
{
|
|
20542
20609
|
label: !0,
|
|
20543
|
-
|
|
20544
|
-
|
|
20545
|
-
children:
|
|
20610
|
+
name: "accountHolderCountryOfBirth",
|
|
20611
|
+
onEdit: () => a("AccountHolderTaxClarification"),
|
|
20612
|
+
children: d(e == null ? void 0 : e.accountHolderCountryOfBirth)
|
|
20546
20613
|
}
|
|
20547
20614
|
),
|
|
20548
20615
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20555,9 +20622,9 @@ const dr = {
|
|
|
20555
20622
|
}
|
|
20556
20623
|
),
|
|
20557
20624
|
e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes" ? /* @__PURE__ */ i.jsx(
|
|
20558
|
-
|
|
20625
|
+
Ve,
|
|
20559
20626
|
{
|
|
20560
|
-
label: s("address"),
|
|
20627
|
+
label: s("address") + "*",
|
|
20561
20628
|
onEdit: () => a("AccountHolderContact"),
|
|
20562
20629
|
name: "accountHolderAddressCountry",
|
|
20563
20630
|
children: /* @__PURE__ */ i.jsx(
|
|
@@ -20576,7 +20643,7 @@ const dr = {
|
|
|
20576
20643
|
}
|
|
20577
20644
|
) : null,
|
|
20578
20645
|
(e == null ? void 0 : e.accountHolderMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ i.jsx(
|
|
20579
|
-
|
|
20646
|
+
Ve,
|
|
20580
20647
|
{
|
|
20581
20648
|
label: s("mailingAddress"),
|
|
20582
20649
|
onEdit: () => a("AccountHolderContact"),
|
|
@@ -20601,7 +20668,7 @@ const dr = {
|
|
|
20601
20668
|
label: !0,
|
|
20602
20669
|
name: "accountHolderUsTin",
|
|
20603
20670
|
onEdit: () => a("AccountHolderTax"),
|
|
20604
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20671
|
+
children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.accountHolderUsTin })
|
|
20605
20672
|
}
|
|
20606
20673
|
),
|
|
20607
20674
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20610,7 +20677,7 @@ const dr = {
|
|
|
20610
20677
|
label: !0,
|
|
20611
20678
|
name: "accountHolderForeignTin",
|
|
20612
20679
|
onEdit: () => a("AccountHolderTax"),
|
|
20613
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20680
|
+
children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.accountHolderForeignTin })
|
|
20614
20681
|
}
|
|
20615
20682
|
),
|
|
20616
20683
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20647,7 +20714,7 @@ const dr = {
|
|
|
20647
20714
|
onEdit: () => a("AccountHolderTax"),
|
|
20648
20715
|
label: !0,
|
|
20649
20716
|
children: [
|
|
20650
|
-
|
|
20717
|
+
d(e == null ? void 0 : e.accountHolderVatCountry),
|
|
20651
20718
|
" ",
|
|
20652
20719
|
(e == null ? void 0 : e.accountHolderVatIsNotRequired) == "yes" && u("notRequired")
|
|
20653
20720
|
]
|
|
@@ -20660,7 +20727,7 @@ const dr = {
|
|
|
20660
20727
|
onEdit: () => a("AccountHolderTax"),
|
|
20661
20728
|
label: !0,
|
|
20662
20729
|
children: [
|
|
20663
|
-
(e == null ? void 0 : e.accountHolderVatIdentificationNumber) && /* @__PURE__ */ i.jsx(
|
|
20730
|
+
(e == null ? void 0 : e.accountHolderVatIdentificationNumber) && /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.accountHolderVatIdentificationNumber }),
|
|
20664
20731
|
(e == null ? void 0 : e.accountHolderVatIsNotRequired) == "yes" && u("notRequired")
|
|
20665
20732
|
]
|
|
20666
20733
|
}
|
|
@@ -20671,7 +20738,7 @@ const dr = {
|
|
|
20671
20738
|
name: "accountHolderBusinessRegistrationCountry",
|
|
20672
20739
|
onEdit: () => a("AccountHolderTax"),
|
|
20673
20740
|
label: !0,
|
|
20674
|
-
children:
|
|
20741
|
+
children: d(e == null ? void 0 : e.accountHolderBusinessRegistrationCountry)
|
|
20675
20742
|
}
|
|
20676
20743
|
),
|
|
20677
20744
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20680,7 +20747,7 @@ const dr = {
|
|
|
20680
20747
|
name: "accountHolderBusinessRegistrationNumber",
|
|
20681
20748
|
onEdit: () => a("AccountHolderTax"),
|
|
20682
20749
|
label: !0,
|
|
20683
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20750
|
+
children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.accountHolderBusinessRegistrationNumber })
|
|
20684
20751
|
}
|
|
20685
20752
|
),
|
|
20686
20753
|
/* @__PURE__ */ i.jsxs(
|
|
@@ -20696,12 +20763,12 @@ const dr = {
|
|
|
20696
20763
|
label: !0,
|
|
20697
20764
|
name: "accountHolderTaxResidenceCountry1",
|
|
20698
20765
|
onEdit: () => a("AccountHolderTax"),
|
|
20699
|
-
children:
|
|
20766
|
+
children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)
|
|
20700
20767
|
}
|
|
20701
20768
|
),
|
|
20702
20769
|
/* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin1", children: [
|
|
20703
20770
|
(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && /* @__PURE__ */ i.jsx(
|
|
20704
|
-
|
|
20771
|
+
te,
|
|
20705
20772
|
{
|
|
20706
20773
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1
|
|
20707
20774
|
}
|
|
@@ -20715,12 +20782,12 @@ const dr = {
|
|
|
20715
20782
|
label: !0,
|
|
20716
20783
|
name: "accountHolderTaxResidenceCountry2",
|
|
20717
20784
|
onEdit: () => a("AccountHolderTax"),
|
|
20718
|
-
children:
|
|
20785
|
+
children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)
|
|
20719
20786
|
}
|
|
20720
20787
|
),
|
|
20721
20788
|
/* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin2", children: [
|
|
20722
20789
|
(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && /* @__PURE__ */ i.jsx(
|
|
20723
|
-
|
|
20790
|
+
te,
|
|
20724
20791
|
{
|
|
20725
20792
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2
|
|
20726
20793
|
}
|
|
@@ -20734,12 +20801,12 @@ const dr = {
|
|
|
20734
20801
|
label: !0,
|
|
20735
20802
|
name: "accountHolderTaxResidenceCountry3",
|
|
20736
20803
|
onEdit: () => a("AccountHolderTax"),
|
|
20737
|
-
children:
|
|
20804
|
+
children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)
|
|
20738
20805
|
}
|
|
20739
20806
|
),
|
|
20740
20807
|
/* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin3", children: [
|
|
20741
20808
|
(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && /* @__PURE__ */ i.jsx(
|
|
20742
|
-
|
|
20809
|
+
te,
|
|
20743
20810
|
{
|
|
20744
20811
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3
|
|
20745
20812
|
}
|
|
@@ -20753,12 +20820,12 @@ const dr = {
|
|
|
20753
20820
|
label: !0,
|
|
20754
20821
|
name: "accountHolderTaxResidenceCountry4",
|
|
20755
20822
|
onEdit: () => a("AccountHolderTax"),
|
|
20756
|
-
children:
|
|
20823
|
+
children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)
|
|
20757
20824
|
}
|
|
20758
20825
|
),
|
|
20759
20826
|
/* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin4", children: [
|
|
20760
20827
|
(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && /* @__PURE__ */ i.jsx(
|
|
20761
|
-
|
|
20828
|
+
te,
|
|
20762
20829
|
{
|
|
20763
20830
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4
|
|
20764
20831
|
}
|
|
@@ -20772,12 +20839,12 @@ const dr = {
|
|
|
20772
20839
|
label: !0,
|
|
20773
20840
|
name: "accountHolderTaxResidenceCountry5",
|
|
20774
20841
|
onEdit: () => a("AccountHolderTax"),
|
|
20775
|
-
children:
|
|
20842
|
+
children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)
|
|
20776
20843
|
}
|
|
20777
20844
|
),
|
|
20778
20845
|
/* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin5", children: [
|
|
20779
20846
|
(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5) && /* @__PURE__ */ i.jsx(
|
|
20780
|
-
|
|
20847
|
+
te,
|
|
20781
20848
|
{
|
|
20782
20849
|
text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5
|
|
20783
20850
|
}
|
|
@@ -20793,7 +20860,7 @@ const dr = {
|
|
|
20793
20860
|
oe,
|
|
20794
20861
|
{
|
|
20795
20862
|
title: s("regardedOwner"),
|
|
20796
|
-
showIf: !!
|
|
20863
|
+
showIf: !!m.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0,
|
|
20797
20864
|
children: [
|
|
20798
20865
|
/* @__PURE__ */ i.jsx(
|
|
20799
20866
|
f,
|
|
@@ -20810,7 +20877,7 @@ const dr = {
|
|
|
20810
20877
|
label: !0,
|
|
20811
20878
|
name: "regardedOwnerCountryOfCitizenship",
|
|
20812
20879
|
onEdit: () => a("RegardedOwnerContact"),
|
|
20813
|
-
children:
|
|
20880
|
+
children: d(e == null ? void 0 : e.regardedOwnerCountryOfCitizenship)
|
|
20814
20881
|
}
|
|
20815
20882
|
),
|
|
20816
20883
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20840,8 +20907,8 @@ const dr = {
|
|
|
20840
20907
|
children: o(e == null ? void 0 : e.regardedOwnerForeignAccountType)
|
|
20841
20908
|
}
|
|
20842
20909
|
),
|
|
20843
|
-
!!
|
|
20844
|
-
|
|
20910
|
+
!!m.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0 && /* @__PURE__ */ i.jsx(
|
|
20911
|
+
Ve,
|
|
20845
20912
|
{
|
|
20846
20913
|
label: s("address"),
|
|
20847
20914
|
onEdit: () => a("RegardedOwnerContact"),
|
|
@@ -20861,7 +20928,7 @@ const dr = {
|
|
|
20861
20928
|
}
|
|
20862
20929
|
),
|
|
20863
20930
|
(n || r) && (e == null ? void 0 : e.regardedOwnerMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ i.jsx(
|
|
20864
|
-
|
|
20931
|
+
Ve,
|
|
20865
20932
|
{
|
|
20866
20933
|
label: s("mailingAddress"),
|
|
20867
20934
|
onEdit: () => a("RegardedOwnerContact"),
|
|
@@ -20886,7 +20953,7 @@ const dr = {
|
|
|
20886
20953
|
label: !0,
|
|
20887
20954
|
name: "regardedOwnerUsTin",
|
|
20888
20955
|
onEdit: () => a("RegardedOwnerTax"),
|
|
20889
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20956
|
+
children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.regardedOwnerUsTin })
|
|
20890
20957
|
}
|
|
20891
20958
|
),
|
|
20892
20959
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20895,7 +20962,7 @@ const dr = {
|
|
|
20895
20962
|
label: !0,
|
|
20896
20963
|
name: "regardedOwnerForeignTin",
|
|
20897
20964
|
onEdit: () => a("RegardedOwnerTax"),
|
|
20898
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20965
|
+
children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.regardedOwnerForeignTin })
|
|
20899
20966
|
}
|
|
20900
20967
|
),
|
|
20901
20968
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20913,7 +20980,7 @@ const dr = {
|
|
|
20913
20980
|
label: !0,
|
|
20914
20981
|
name: "regardedOwnerUsTin",
|
|
20915
20982
|
onEdit: () => a("RegardedOwnerTax"),
|
|
20916
|
-
children: /* @__PURE__ */ i.jsx(
|
|
20983
|
+
children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.regardedOwnerUsTin })
|
|
20917
20984
|
}
|
|
20918
20985
|
),
|
|
20919
20986
|
/* @__PURE__ */ i.jsx(
|
|
@@ -20938,11 +21005,11 @@ const dr = {
|
|
|
20938
21005
|
}
|
|
20939
21006
|
)
|
|
20940
21007
|
] });
|
|
20941
|
-
},
|
|
20942
|
-
const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } = $(), { getLocalTitle: s,
|
|
20943
|
-
return /* @__PURE__ */ i.jsxs(
|
|
21008
|
+
}, dt = () => {
|
|
21009
|
+
const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } = $(), { getLocalTitle: s, fields: o } = O();
|
|
21010
|
+
return /* @__PURE__ */ i.jsxs(be, { title: s("summary"), children: [
|
|
20944
21011
|
/* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
|
|
20945
|
-
/* @__PURE__ */ i.jsx(
|
|
21012
|
+
/* @__PURE__ */ i.jsx(Ho, {}),
|
|
20946
21013
|
/* @__PURE__ */ i.jsxs(oe, { title: "Certify", showIf: r || n, children: [
|
|
20947
21014
|
/* @__PURE__ */ i.jsx(D, { name: "iCertifyToAll", label: !0 }),
|
|
20948
21015
|
/* @__PURE__ */ i.jsx(D, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
|
|
@@ -20959,64 +21026,37 @@ const dr = {
|
|
|
20959
21026
|
/* @__PURE__ */ i.jsxs(oe, { title: "Acknowledge and Sign", showIf: r || n, children: [
|
|
20960
21027
|
/* @__PURE__ */ i.jsx(D, { name: "iAcknowlegeESignIsOk", label: !0 }),
|
|
20961
21028
|
/* @__PURE__ */ i.jsx(D, { name: "iHaveLegalCapacityToSign", label: !0 }),
|
|
20962
|
-
/* @__PURE__ */ i.jsx(
|
|
21029
|
+
/* @__PURE__ */ i.jsx(Q, { label: !0, name: "signature" })
|
|
20963
21030
|
] })
|
|
20964
21031
|
] }),
|
|
20965
21032
|
/* @__PURE__ */ i.jsx(
|
|
20966
|
-
|
|
21033
|
+
Ce,
|
|
20967
21034
|
{
|
|
20968
21035
|
onBack: e,
|
|
20969
21036
|
onSubmit: () => a(o)
|
|
20970
21037
|
}
|
|
20971
21038
|
)
|
|
20972
21039
|
] });
|
|
20973
|
-
},
|
|
20974
|
-
|
|
20975
|
-
|
|
20976
|
-
|
|
20977
|
-
|
|
20978
|
-
|
|
20979
|
-
|
|
20980
|
-
|
|
20981
|
-
|
|
20982
|
-
|
|
20983
|
-
|
|
20984
|
-
|
|
20985
|
-
|
|
20986
|
-
children: [
|
|
20987
|
-
/* @__PURE__ */ i.jsx(Z, { label: !0, name: "accountHolderCityOfBirth" }),
|
|
20988
|
-
/* @__PURE__ */ i.jsx(
|
|
20989
|
-
ge,
|
|
20990
|
-
{
|
|
20991
|
-
label: !0,
|
|
20992
|
-
name: "accountHolderCountryOfBirth",
|
|
20993
|
-
options: r
|
|
20994
|
-
}
|
|
20995
|
-
)
|
|
20996
|
-
]
|
|
20997
|
-
}
|
|
20998
|
-
);
|
|
20999
|
-
}, wo = () => {
|
|
21000
|
-
const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalTitle: s } = O();
|
|
21001
|
-
return /* @__PURE__ */ i.jsxs(Ae, { title: s("accountHolderTaxInformation"), children: [
|
|
21002
|
-
/* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(Ro, {}) }),
|
|
21003
|
-
/* @__PURE__ */ i.jsx(
|
|
21004
|
-
be,
|
|
21005
|
-
{
|
|
21006
|
-
onCancel: n,
|
|
21007
|
-
onBack: a,
|
|
21008
|
-
onNext: () => e(r)
|
|
21009
|
-
}
|
|
21010
|
-
)
|
|
21011
|
-
] });
|
|
21012
|
-
}, Ho = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(wo, {}) }), dt = ({
|
|
21040
|
+
}, Lo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(dt, {}) }), Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21041
|
+
__proto__: null,
|
|
21042
|
+
AccountHolderClassification: Ao,
|
|
21043
|
+
AccountHolderContact: Io,
|
|
21044
|
+
AccountHolderTax: No,
|
|
21045
|
+
AccountHolderTaxClarification: yo,
|
|
21046
|
+
Contents: dt,
|
|
21047
|
+
Exemptions: Oo,
|
|
21048
|
+
RegardedOwnerClassification: Eo,
|
|
21049
|
+
RegardedOwnerContact: Po,
|
|
21050
|
+
RegardedOwnerTax: wo,
|
|
21051
|
+
Summary: Lo
|
|
21052
|
+
}, Symbol.toStringTag, { value: "Module" })), ut = ({
|
|
21013
21053
|
data: e,
|
|
21014
21054
|
onSubmit: a,
|
|
21015
21055
|
language: n,
|
|
21016
21056
|
taxForms: r,
|
|
21017
21057
|
complete: s
|
|
21018
21058
|
}) => /* @__PURE__ */ i.jsx(
|
|
21019
|
-
|
|
21059
|
+
eo,
|
|
21020
21060
|
{
|
|
21021
21061
|
data: e,
|
|
21022
21062
|
onSubmit: a,
|
|
@@ -21024,7 +21064,7 @@ const dr = {
|
|
|
21024
21064
|
taxForms: r,
|
|
21025
21065
|
step: s ? "Summary" : void 0,
|
|
21026
21066
|
children: /* @__PURE__ */ i.jsx(
|
|
21027
|
-
|
|
21067
|
+
Uo,
|
|
21028
21068
|
{
|
|
21029
21069
|
language: n,
|
|
21030
21070
|
taxForms: r,
|
|
@@ -21032,38 +21072,26 @@ const dr = {
|
|
|
21032
21072
|
}
|
|
21033
21073
|
)
|
|
21034
21074
|
}
|
|
21035
|
-
),
|
|
21075
|
+
), Do = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Uo = ({
|
|
21036
21076
|
language: e = "en-us",
|
|
21037
|
-
taxForms: a =
|
|
21077
|
+
taxForms: a = Do,
|
|
21038
21078
|
data: n
|
|
21039
21079
|
}) => {
|
|
21040
|
-
const { stepName: r, setLanguage: s, setSupportedForms: o, onResetTaxDocumentation:
|
|
21041
|
-
X(() => {
|
|
21080
|
+
const { stepName: r, setLanguage: s, setSupportedForms: o, onResetTaxDocumentation: d } = $(), u = Go[r];
|
|
21081
|
+
return X(() => {
|
|
21042
21082
|
s(e);
|
|
21043
21083
|
}, [e, s]), X(() => {
|
|
21044
21084
|
o(a);
|
|
21045
21085
|
}, [a, o]), X(() => {
|
|
21046
|
-
n &&
|
|
21047
|
-
}, [n,
|
|
21048
|
-
|
|
21049
|
-
AccountHolderClassification: po,
|
|
21050
|
-
AccountHolderContact: bo,
|
|
21051
|
-
AccountHolderTax: Io,
|
|
21052
|
-
AccountHolderTaxClarification: Ho,
|
|
21053
|
-
Exemptions: No,
|
|
21054
|
-
RegardedOwnerClassification: Mo,
|
|
21055
|
-
RegardedOwnerContact: jo,
|
|
21056
|
-
RegardedOwnerTax: zo,
|
|
21057
|
-
Summary: Po
|
|
21058
|
-
}[r];
|
|
21059
|
-
return /* @__PURE__ */ i.jsx(d, {});
|
|
21060
|
-
}, Fo = ({
|
|
21086
|
+
n && d(n);
|
|
21087
|
+
}, [n, d]), /* @__PURE__ */ i.jsx(u, {});
|
|
21088
|
+
}, Ko = ({
|
|
21061
21089
|
data: e,
|
|
21062
21090
|
onSubmit: a,
|
|
21063
21091
|
language: n,
|
|
21064
21092
|
complete: r
|
|
21065
21093
|
}) => /* @__PURE__ */ i.jsx(
|
|
21066
|
-
|
|
21094
|
+
ut,
|
|
21067
21095
|
{
|
|
21068
21096
|
data: e,
|
|
21069
21097
|
language: n,
|
|
@@ -21071,42 +21099,42 @@ const dr = {
|
|
|
21071
21099
|
complete: r,
|
|
21072
21100
|
taxForms: ["DAC7"]
|
|
21073
21101
|
}
|
|
21074
|
-
),
|
|
21102
|
+
), Fo = ({
|
|
21075
21103
|
staging: e,
|
|
21076
21104
|
data: a,
|
|
21077
21105
|
bearerToken: n,
|
|
21078
21106
|
language: r,
|
|
21079
21107
|
taxForms: s,
|
|
21080
21108
|
onSubmit: o,
|
|
21081
|
-
onSuccess:
|
|
21109
|
+
onSuccess: d
|
|
21082
21110
|
}) => {
|
|
21083
|
-
var
|
|
21084
|
-
const { status: u, formStatus:
|
|
21111
|
+
var N;
|
|
21112
|
+
const { status: u, formStatus: m, postData: l, formSubmitted: v, serverData: g } = sr(
|
|
21085
21113
|
n,
|
|
21086
21114
|
e
|
|
21087
|
-
), [A, p] =
|
|
21115
|
+
), [A, p] = K(
|
|
21088
21116
|
a
|
|
21089
21117
|
);
|
|
21090
21118
|
if (X(() => {
|
|
21091
|
-
|
|
21092
|
-
}, [a,
|
|
21119
|
+
g && p({ ...g, ...a });
|
|
21120
|
+
}, [a, g]), !m || m !== "NOT_SUBMITTED" && !g)
|
|
21093
21121
|
return /* @__PURE__ */ i.jsx("div", { children: ii("retrievingInterviewStatus", r) });
|
|
21094
21122
|
if (v)
|
|
21095
21123
|
return /* @__PURE__ */ i.jsx("div", { children: ii("interviewIsComplete", r) });
|
|
21096
|
-
const
|
|
21097
|
-
o && o(
|
|
21124
|
+
const S = async (T) => {
|
|
21125
|
+
o && o(T), await l(T), d && d(T);
|
|
21098
21126
|
};
|
|
21099
21127
|
return /* @__PURE__ */ i.jsx(
|
|
21100
|
-
|
|
21128
|
+
ut,
|
|
21101
21129
|
{
|
|
21102
21130
|
data: A,
|
|
21103
21131
|
language: r,
|
|
21104
|
-
onSubmit:
|
|
21132
|
+
onSubmit: S,
|
|
21105
21133
|
taxForms: s,
|
|
21106
|
-
complete: ((
|
|
21134
|
+
complete: ((N = u == null ? void 0 : u.DAC7Interview) == null ? void 0 : N.dataCollectionStatus) === "COMPLETE"
|
|
21107
21135
|
}
|
|
21108
21136
|
);
|
|
21109
|
-
},
|
|
21137
|
+
}, Vo = ({
|
|
21110
21138
|
data: e,
|
|
21111
21139
|
staging: a,
|
|
21112
21140
|
bearerToken: n,
|
|
@@ -21114,7 +21142,7 @@ const dr = {
|
|
|
21114
21142
|
onSubmit: s,
|
|
21115
21143
|
onSuccess: o
|
|
21116
21144
|
}) => /* @__PURE__ */ i.jsx(
|
|
21117
|
-
|
|
21145
|
+
Fo,
|
|
21118
21146
|
{
|
|
21119
21147
|
bearerToken: n,
|
|
21120
21148
|
data: e,
|
|
@@ -21126,9 +21154,9 @@ const dr = {
|
|
|
21126
21154
|
}
|
|
21127
21155
|
);
|
|
21128
21156
|
export {
|
|
21129
|
-
|
|
21130
|
-
|
|
21131
|
-
|
|
21132
|
-
|
|
21133
|
-
|
|
21157
|
+
Vo as TaxBitDAC7Form,
|
|
21158
|
+
Ko as TaxBitDAC7FormUI,
|
|
21159
|
+
Fo as TaxBitForm,
|
|
21160
|
+
ut as TaxBitFormUI,
|
|
21161
|
+
sr as useTaxBit
|
|
21134
21162
|
};
|