@taxbit/react-sdk 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/README.md +36 -7
  2. package/dist/index.d.ts +1 -1
  3. package/dist/src/contexts/FormUI/shiftResidence.d.ts +2 -0
  4. package/dist/{contexts → src/contexts}/FormUI/useFormUI.d.ts +0 -1
  5. package/dist/{contexts → src/contexts}/FormUI/useFormUIContext.d.ts +0 -2
  6. package/dist/{utils → src/utils}/getFieldsState.d.ts +1 -0
  7. package/dist/{validations → src/validations}/index.d.ts +0 -1
  8. package/dist/src/wizard/TaxBitFormUI/__tests__/TaxBitFormUI.test.d.ts +0 -0
  9. package/dist/src/wizard/TaxBitFormUI/steps.d.ts +9 -0
  10. package/dist/taxbit-react-sdk.js +1092 -1082
  11. package/dist/taxbit-react-sdk.umd.cjs +10 -10
  12. package/package.json +1 -1
  13. package/dist/validations/getSubmittableFields.d.ts +0 -3
  14. package/dist/wizard/TaxBitFormUI/steps.d.ts +0 -8
  15. /package/dist/{App.d.ts → src/App.d.ts} +0 -0
  16. /package/dist/{components → src/components}/Address/Address.d.ts +0 -0
  17. /package/dist/{components → src/components}/Address/index.d.ts +0 -0
  18. /package/dist/{components → src/components}/ErrorMessage/ErrorMessage.d.ts +0 -0
  19. /package/dist/{components → src/components}/ErrorMessage/index.d.ts +0 -0
  20. /package/dist/{components → src/components}/Form/Form.d.ts +0 -0
  21. /package/dist/{components → src/components}/Form/index.d.ts +0 -0
  22. /package/dist/{components → src/components}/InputStatus/InputStatus.d.ts +0 -0
  23. /package/dist/{components → src/components}/InputStatus/index.d.ts +0 -0
  24. /package/dist/{components → src/components}/Notification/Notification.d.ts +0 -0
  25. /package/dist/{components → src/components}/Notification/index.d.ts +0 -0
  26. /package/dist/{components → src/components}/Row/Row.d.ts +0 -0
  27. /package/dist/{components → src/components}/Row/index.d.ts +0 -0
  28. /package/dist/{components → src/components}/Section/Section.d.ts +0 -0
  29. /package/dist/{components → src/components}/Section/index.d.ts +0 -0
  30. /package/dist/{components → src/components}/index.d.ts +0 -0
  31. /package/dist/{contexts → src/contexts}/FormUI/FormUIProvider.d.ts +0 -0
  32. /package/dist/{contexts → src/contexts}/FormUI/index.d.ts +0 -0
  33. /package/dist/{contexts → src/contexts}/TaxDocumentation/TaxBitFormProvider.d.ts +0 -0
  34. /package/dist/{contexts → src/contexts}/TaxDocumentation/index.d.ts +0 -0
  35. /package/dist/{contexts → src/contexts}/TaxDocumentation/useTaxDocumentation.d.ts +0 -0
  36. /package/dist/{contexts → src/contexts}/TaxDocumentation/useTaxDocumentationContext.d.ts +0 -0
  37. /package/dist/{contexts → src/contexts}/createCtx.d.ts +0 -0
  38. /package/dist/{contexts → src/contexts}/index.d.ts +0 -0
  39. /package/dist/{entry → src/entry}/index.d.ts +0 -0
  40. /package/dist/{hooks → src/hooks}/index.d.ts +0 -0
  41. /package/dist/{hooks → src/hooks}/useTaxBit/__tests__/clientTaxDocumentation.d.ts +0 -0
  42. /package/dist/{hooks → src/hooks}/useTaxBit/__tests__/serverTaxDocumentation.d.ts +0 -0
  43. /package/dist/{hooks → src/hooks}/useTaxBit/index.d.ts +0 -0
  44. /package/dist/{hooks → src/hooks}/useTaxBit/useTaxBit.d.ts +0 -0
  45. /package/dist/{i18n → src/i18n}/i18n.d.ts +0 -0
  46. /package/dist/{i18n → src/i18n}/index.d.ts +0 -0
  47. /package/dist/{i18n → src/i18n}/locales/bg-bg.d.ts +0 -0
  48. /package/dist/{i18n → src/i18n}/locales/cs-cz.d.ts +0 -0
  49. /package/dist/{i18n → src/i18n}/locales/da-dk.d.ts +0 -0
  50. /package/dist/{i18n → src/i18n}/locales/de-at.d.ts +0 -0
  51. /package/dist/{i18n → src/i18n}/locales/de-de.d.ts +0 -0
  52. /package/dist/{i18n → src/i18n}/locales/el-cy.d.ts +0 -0
  53. /package/dist/{i18n → src/i18n}/locales/el-gr.d.ts +0 -0
  54. /package/dist/{i18n → src/i18n}/locales/en-gb.d.ts +0 -0
  55. /package/dist/{i18n → src/i18n}/locales/en-us.d.ts +0 -0
  56. /package/dist/{i18n → src/i18n}/locales/es-es.d.ts +0 -0
  57. /package/dist/{i18n → src/i18n}/locales/et-ee.d.ts +0 -0
  58. /package/dist/{i18n → src/i18n}/locales/fi-fi.d.ts +0 -0
  59. /package/dist/{i18n → src/i18n}/locales/fr-fr.d.ts +0 -0
  60. /package/dist/{i18n → src/i18n}/locales/fr-lu.d.ts +0 -0
  61. /package/dist/{i18n → src/i18n}/locales/ga-ie.d.ts +0 -0
  62. /package/dist/{i18n → src/i18n}/locales/hr-hr.d.ts +0 -0
  63. /package/dist/{i18n → src/i18n}/locales/hu-hu.d.ts +0 -0
  64. /package/dist/{i18n → src/i18n}/locales/index.d.ts +0 -0
  65. /package/dist/{i18n → src/i18n}/locales/it-it.d.ts +0 -0
  66. /package/dist/{i18n → src/i18n}/locales/lt-lt.d.ts +0 -0
  67. /package/dist/{i18n → src/i18n}/locales/lv-lv.d.ts +0 -0
  68. /package/dist/{i18n → src/i18n}/locales/mt-mt.d.ts +0 -0
  69. /package/dist/{i18n → src/i18n}/locales/nl-be.d.ts +0 -0
  70. /package/dist/{i18n → src/i18n}/locales/nl-nl.d.ts +0 -0
  71. /package/dist/{i18n → src/i18n}/locales/no-no.d.ts +0 -0
  72. /package/dist/{i18n → src/i18n}/locales/pl-pl.d.ts +0 -0
  73. /package/dist/{i18n → src/i18n}/locales/pt-pt.d.ts +0 -0
  74. /package/dist/{i18n → src/i18n}/locales/ro-ro.d.ts +0 -0
  75. /package/dist/{i18n → src/i18n}/locales/sk-sk.d.ts +0 -0
  76. /package/dist/{i18n → src/i18n}/locales/sl-si.d.ts +0 -0
  77. /package/dist/{i18n → src/i18n}/locales/sv-se.d.ts +0 -0
  78. /package/dist/{i18n → src/i18n}/types/LocalizationKey.d.ts +0 -0
  79. /package/dist/{i18n → src/i18n}/types/PropertyFile.d.ts +0 -0
  80. /package/dist/{i18n → src/i18n}/types/index.d.ts +0 -0
  81. /package/dist/{i18n → src/i18n}/utils/getText.d.ts +0 -0
  82. /package/dist/{i18n → src/i18n}/utils/index.d.ts +0 -0
  83. /package/dist/{lookups → src/lookups}/caProvinceOptions.d.ts +0 -0
  84. /package/dist/{lookups → src/lookups}/countryOptions.d.ts +0 -0
  85. /package/dist/{lookups → src/lookups}/dayOptions.d.ts +0 -0
  86. /package/dist/{lookups → src/lookups}/fatcaCodeOptions.d.ts +0 -0
  87. /package/dist/{lookups → src/lookups}/foreignAccountHolderAccountTypeOptions.d.ts +0 -0
  88. /package/dist/{lookups → src/lookups}/foreignOtherClassificationOptions.d.ts +0 -0
  89. /package/dist/{lookups → src/lookups}/foreignRegardedOwnerAccountTypeOptions.d.ts +0 -0
  90. /package/dist/{lookups → src/lookups}/foreignTrustClassificationOptions.d.ts +0 -0
  91. /package/dist/{lookups → src/lookups}/index.d.ts +0 -0
  92. /package/dist/{lookups → src/lookups}/localeOptions.d.ts +0 -0
  93. /package/dist/{lookups → src/lookups}/monthOptions.d.ts +0 -0
  94. /package/dist/{lookups → src/lookups}/payeeCodeOptions.d.ts +0 -0
  95. /package/dist/{lookups → src/lookups}/toOptions.d.ts +0 -0
  96. /package/dist/{lookups → src/lookups}/usAccountHolderAccountTypeOptions.d.ts +0 -0
  97. /package/dist/{lookups → src/lookups}/usLlcAccountTypeOptions.d.ts +0 -0
  98. /package/dist/{lookups → src/lookups}/usRegardedOwnerAccountTypeOptions.d.ts +0 -0
  99. /package/dist/{lookups → src/lookups}/usStateOptions.d.ts +0 -0
  100. /package/dist/{lookups → src/lookups}/yearOptions.d.ts +0 -0
  101. /package/dist/{main.d.ts → src/main.d.ts} +0 -0
  102. /package/dist/{services → src/services}/api.d.ts +0 -0
  103. /package/dist/{test → src/test}/Wrapper.d.ts +0 -0
  104. /package/dist/{test → src/test}/getWrapper.d.ts +0 -0
  105. /package/dist/{test → src/test}/index.d.ts +0 -0
  106. /package/dist/{types → src/types}/AccountType.d.ts +0 -0
  107. /package/dist/{types → src/types}/CaProvinceCode.d.ts +0 -0
  108. /package/dist/{types → src/types}/CamelCaseKeys.d.ts +0 -0
  109. /package/dist/{types → src/types}/CountryCode.d.ts +0 -0
  110. /package/dist/{types → src/types}/Locale.d.ts +0 -0
  111. /package/dist/{types → src/types}/MonthCode.d.ts +0 -0
  112. /package/dist/{types → src/types}/TaxDocumentation.d.ts +0 -0
  113. /package/dist/{types → src/types}/TaxForm.d.ts +0 -0
  114. /package/dist/{types → src/types}/UsStateCode.d.ts +0 -0
  115. /package/dist/{types → src/types}/Utilities.d.ts +0 -0
  116. /package/dist/{types → src/types}/Yes.d.ts +0 -0
  117. /package/dist/{types → src/types}/YesNo.d.ts +0 -0
  118. /package/dist/{types → src/types}/client/ClientTaxDocumentation.d.ts +0 -0
  119. /package/dist/{types → src/types}/client/ClientTaxDocumentationStatus.d.ts +0 -0
  120. /package/dist/{types → src/types}/client/index.d.ts +0 -0
  121. /package/dist/{types → src/types}/index.d.ts +0 -0
  122. /package/dist/{types → src/types}/server/ComprehensiveTaxDocumentation.d.ts +0 -0
  123. /package/dist/{types → src/types}/server/TaxDocumentationStatus.d.ts +0 -0
  124. /package/dist/{types → src/types}/server/enums.d.ts +0 -0
  125. /package/dist/{types → src/types}/server/index.d.ts +0 -0
  126. /package/dist/{ui → src/ui}/ActionButton/ActionButton.d.ts +0 -0
  127. /package/dist/{ui → src/ui}/ActionButton/index.d.ts +0 -0
  128. /package/dist/{ui → src/ui}/Actions/Actions.d.ts +0 -0
  129. /package/dist/{ui → src/ui}/Actions/index.d.ts +0 -0
  130. /package/dist/{ui → src/ui}/CheckBox/CheckBox.d.ts +0 -0
  131. /package/dist/{ui → src/ui}/CheckBox/index.d.ts +0 -0
  132. /package/dist/{ui → src/ui}/DateOfBirthInput/DateOfBirthInput.d.ts +0 -0
  133. /package/dist/{ui → src/ui}/DateOfBirthInput/__tests__/useDateOfBirthInput.test.d.ts +0 -0
  134. /package/dist/{ui → src/ui}/DateOfBirthInput/index.d.ts +0 -0
  135. /package/dist/{ui → src/ui}/DateOfBirthInput/useDateOfBirthInput.d.ts +0 -0
  136. /package/dist/{ui → src/ui}/HideShowButton/HideShowButton.d.ts +0 -0
  137. /package/dist/{ui → src/ui}/HideShowButton/index.d.ts +0 -0
  138. /package/dist/{ui → src/ui}/MaskedContent/MaskedContent.d.ts +0 -0
  139. /package/dist/{ui → src/ui}/MaskedContent/index.d.ts +0 -0
  140. /package/dist/{ui → src/ui}/MaskedInput/MaskedInput.d.ts +0 -0
  141. /package/dist/{ui → src/ui}/MaskedInput/index.d.ts +0 -0
  142. /package/dist/{ui → src/ui}/Password/Password.d.ts +0 -0
  143. /package/dist/{ui → src/ui}/Password/index.d.ts +0 -0
  144. /package/dist/{ui → src/ui}/RadioButtons/RadioButtons.d.ts +0 -0
  145. /package/dist/{ui → src/ui}/RadioButtons/__tests__/RadioButtons.test.d.ts +0 -0
  146. /package/dist/{ui → src/ui}/RadioButtons/index.d.ts +0 -0
  147. /package/dist/{ui → src/ui}/Select/Select.d.ts +0 -0
  148. /package/dist/{ui → src/ui}/Select/index.d.ts +0 -0
  149. /package/dist/{ui → src/ui}/TextInput/TextInput.d.ts +0 -0
  150. /package/dist/{ui → src/ui}/TextInput/index.d.ts +0 -0
  151. /package/dist/{ui → src/ui}/ToggleButton/ToggleButton.d.ts +0 -0
  152. /package/dist/{ui → src/ui}/ToggleButton/index.d.ts +0 -0
  153. /package/dist/{ui → src/ui}/index.d.ts +0 -0
  154. /package/dist/{utils → src/utils}/camelCaseKeys.d.ts +0 -0
  155. /package/dist/{utils → src/utils}/cx.d.ts +0 -0
  156. /package/dist/{utils → src/utils}/date.d.ts +0 -0
  157. /package/dist/{utils → src/utils}/getHintKeyMap.d.ts +0 -0
  158. /package/dist/{utils → src/utils}/getMonthlyDayCount.d.ts +0 -0
  159. /package/dist/{utils → src/utils}/getPromptKeyMap.d.ts +0 -0
  160. /package/dist/{utils → src/utils}/getVerboseDate.d.ts +0 -0
  161. /package/dist/{utils → src/utils}/index.d.ts +0 -0
  162. /package/dist/{utils → src/utils}/isBlank.d.ts +0 -0
  163. /package/dist/{utils → src/utils}/kebabCase.d.ts +0 -0
  164. /package/dist/{utils → src/utils}/snakeCaseKeys.d.ts +0 -0
  165. /package/dist/{utils → src/utils}/transformForClient/convertYesNoToBoolean.d.ts +0 -0
  166. /package/dist/{utils → src/utils}/transformForClient/index.d.ts +0 -0
  167. /package/dist/{utils → src/utils}/transformForClient/transformForClient.d.ts +0 -0
  168. /package/dist/{utils → src/utils}/transformForClient/transformForClientAccoutHolder.d.ts +0 -0
  169. /package/dist/{utils → src/utils}/transformForClient/transformForClientAddress.d.ts +0 -0
  170. /package/dist/{utils → src/utils}/transformForClient/transformForClientRegardedOwner.d.ts +0 -0
  171. /package/dist/{utils → src/utils}/transformForClient/transformForClientTaxResidenceFields.d.ts +0 -0
  172. /package/dist/{utils → src/utils}/transformInbound/getForeignAccountType.d.ts +0 -0
  173. /package/dist/{utils → src/utils}/transformInbound/getForeignOtherClassification.d.ts +0 -0
  174. /package/dist/{utils → src/utils}/transformInbound/getForeignTrustClassification.d.ts +0 -0
  175. /package/dist/{utils → src/utils}/transformInbound/getLLCClassification.d.ts +0 -0
  176. /package/dist/{utils → src/utils}/transformInbound/getUsAccountType.d.ts +0 -0
  177. /package/dist/{utils → src/utils}/transformInbound/index.d.ts +0 -0
  178. /package/dist/{utils → src/utils}/transformInbound/transformInbound.d.ts +0 -0
  179. /package/dist/{validations → src/validations}/getInvalidFields.d.ts +0 -0
  180. /package/dist/{validations → src/validations}/getNotifiedFields.d.ts +0 -0
  181. /package/dist/{validations → src/validations}/getRequiredFields.d.ts +0 -0
  182. /package/dist/{validations → src/validations}/getSupportedFields.d.ts +0 -0
  183. /package/dist/{validations → src/validations}/getVisibleFields.d.ts +0 -0
  184. /package/dist/{validations → src/validations}/invalidFieldRules.d.ts +0 -0
  185. /package/dist/{validations → src/validations}/requiredFieldRules.d.ts +0 -0
  186. /package/dist/{widgets → src/widgets}/TaxBitForm/TaxBitDAC7Form.d.ts +0 -0
  187. /package/dist/{widgets → src/widgets}/TaxBitForm/TaxBitForm.d.ts +0 -0
  188. /package/dist/{widgets → src/widgets}/TaxBitForm/index.d.ts +0 -0
  189. /package/dist/{widgets → src/widgets}/index.d.ts +0 -0
  190. /package/dist/{wizard → src/wizard}/AddressInput/AddressInput.d.ts +0 -0
  191. /package/dist/{wizard → src/wizard}/AddressInput/index.d.ts +0 -0
  192. /package/dist/{wizard → src/wizard}/LanguageSelector/LanguageSelector.d.ts +0 -0
  193. /package/dist/{wizard → src/wizard}/LanguageSelector/index.d.ts +0 -0
  194. /package/dist/{wizard → src/wizard}/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -0
  195. /package/dist/{wizard → src/wizard}/PlaceOfBirthInput/index.d.ts +0 -0
  196. /package/dist/{wizard → src/wizard}/ResidenceInput/ResidenceInput.d.ts +0 -0
  197. /package/dist/{wizard → src/wizard}/ResidenceInput/index.d.ts +0 -0
  198. /package/dist/{wizard → src/wizard}/RowInput/CheckBoxRow/CheckBoxRow.d.ts +0 -0
  199. /package/dist/{wizard → src/wizard}/RowInput/CheckBoxRow/index.d.ts +0 -0
  200. /package/dist/{wizard → src/wizard}/RowInput/DateOfBirthRow/DateOfBirthRow.d.ts +0 -0
  201. /package/dist/{wizard → src/wizard}/RowInput/DateOfBirthRow/index.d.ts +0 -0
  202. /package/dist/{wizard → src/wizard}/RowInput/ErrorRow/ErrorRow.d.ts +0 -0
  203. /package/dist/{wizard → src/wizard}/RowInput/ErrorRow/index.d.ts +0 -0
  204. /package/dist/{wizard → src/wizard}/RowInput/MaskedInputRow/MaskedInputRow.d.ts +0 -0
  205. /package/dist/{wizard → src/wizard}/RowInput/MaskedInputRow/index.d.ts +0 -0
  206. /package/dist/{wizard → src/wizard}/RowInput/RadioButtonRow/RadioButtonRow.d.ts +0 -0
  207. /package/dist/{wizard → src/wizard}/RowInput/RadioButtonRow/index.d.ts +0 -0
  208. /package/dist/{wizard → src/wizard}/RowInput/SelectRow/SelectRow.d.ts +0 -0
  209. /package/dist/{wizard → src/wizard}/RowInput/SelectRow/index.d.ts +0 -0
  210. /package/dist/{wizard → src/wizard}/RowInput/TextInputRow/TextInputRow.d.ts +0 -0
  211. /package/dist/{wizard → src/wizard}/RowInput/TextInputRow/index.d.ts +0 -0
  212. /package/dist/{wizard → src/wizard}/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +0 -0
  213. /package/dist/{wizard → src/wizard}/RowInput/ToggleButtonRow/index.d.ts +0 -0
  214. /package/dist/{wizard → src/wizard}/RowInput/VisibleRow/VisibleRow.d.ts +0 -0
  215. /package/dist/{wizard → src/wizard}/RowInput/VisibleRow/index.d.ts +0 -0
  216. /package/dist/{wizard → src/wizard}/RowInput/index.d.ts +0 -0
  217. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
  218. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -0
  219. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderContact/AccountHolderContact.d.ts +0 -0
  220. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -0
  221. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTax/AccountHolderTax.d.ts +0 -0
  222. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -0
  223. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
  224. /package/dist/{wizard → src/wizard}/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -0
  225. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Exemptions/Exemptions.d.ts +0 -0
  226. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Exemptions/index.d.ts +0 -0
  227. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -0
  228. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -0
  229. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
  230. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -0
  231. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
  232. /package/dist/{wizard → src/wizard}/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -0
  233. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/Recap.d.ts +0 -0
  234. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/Summary.d.ts +0 -0
  235. /package/dist/{wizard → src/wizard}/TaxBitFormUI/Summary/index.d.ts +0 -0
  236. /package/dist/{wizard → src/wizard}/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +0 -0
  237. /package/dist/{wizard → src/wizard}/TaxBitFormUI/TaxBitFormUI.d.ts +0 -0
  238. /package/dist/{wizard → src/wizard}/TaxBitFormUI/index.d.ts +0 -0
  239. /package/dist/{wizard → src/wizard}/index.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import Qn, { useState as x, useEffect as X, createContext as ct, useContext as mt, useCallback as Fa, useMemo as J, useRef as Ln } from "react";
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
- }, gt = (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(
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
- gt(a),
12
+ kt(a),
13
13
  xa(n)
14
14
  ])
15
- ), me = (...e) => e.filter(Boolean).join(" "), kt = (e) => {
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
- return r > -1 && r < 131;
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
- }, ht = (e) => /^\d{2}\/\d{2}\/\d{4}$/.test(e), vt = (e) => {
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
- }, pe = (e) => e.map((a) => ({
32
+ }, fe = (e) => e.map((a) => ({
30
33
  value: a
31
- })), pt = [
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
- ], ft = pe(pt), At = [
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 = pe(At), bt = pe(Xn), re = (e) => e ? Xn.includes(e) : !1, Ct = [
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 = pe(Ct), It = [
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
- ], St = pe(It), $n = [
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
- ], Nt = $n.map((e) => e.value), ni = [
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
- ], Tt = ni.map((e) => e.value), Mt = [
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
- ], yt = ti.map((e) => e.value), jt = [
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
- ], Ot = pe(jt), zt = [
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
- ], Et = pe(zt), Bt = [
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
- ], Pt = pe(Bt), et = [
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
- ], Rt = et.map((e) => e.value), ri = [
466
+ ], wt = et.map((e) => e.value), ri = [
464
467
  { value: "cCorporation" },
465
468
  { value: "sCorporation" },
466
469
  { value: "partnership" }
467
- ], wt = ri.map(
470
+ ], Ht = ri.map(
468
471
  (e) => e.value
469
- ), Ht = [
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
- ], Lt = [
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
- ], Gt = pe(Lt), at = /* @__PURE__ */ new Date(), Dt = at.getFullYear() - 120, Dn = at.getFullYear(), Ut = Array.from(
539
- { length: Dn - Dt },
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
- ), Ft = Ut.map((e) => ({
544
+ ), xt = Ft.map((e) => ({
542
545
  value: e
543
- })), E = (e) => e === void 0 || e === "", Q = (e) => !E(e), da = (e, a) => {
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"), l = (!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", d = (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));
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: d,
548
- isDac7: l,
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
- }, xt = () => ({
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
- }, Kt = (e) => e.accountHolderUsAccountType !== void 0 ? it(
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", Vt = (e) => e.regardedOwnerUsPerson === "yes" ? it(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? nt(e.regardedOwnerForeignAccountType) : "name", Wt = (e) => ({
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: Kt(e),
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: Vt(e),
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(), Jt = (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(
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
- Jt(a),
689
+ Zt(a),
686
690
  $a(n)
687
691
  ]
688
692
  )
689
- ), G = (e) => e === void 0 ? void 0 : e === "yes", Zt = (e) => {
693
+ ), qt = "0.3.1", 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
- }, qt = (e) => {
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
- }, Yt = (e) => {
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
- }, _t = (e) => {
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
- }, Qt = (e) => {
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
- }, Xt = (e) => {
774
+ }, er = (e) => {
771
775
  const a = {
772
- address: Zt(e),
776
+ address: Yt(e),
773
777
  countryOfCitizenship: e.accountHolderCountryOfCitizenship,
774
778
  dateOfBirth: e.accountHolderDateOfBirth,
775
779
  dbaName: e.accountHolderDbaName,
776
- mailingAddress: Yt(e),
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: Qt(e),
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
- }, $t = (e) => {
815
+ }, ar = (e) => {
812
816
  const a = {
813
- address: qt(e),
817
+ address: _t(e),
814
818
  countryOfCitizenship: e.regardedOwnerCountryOfCitizenship,
815
819
  dateOfBirth: e.regardedOwnerDateOfBirth,
816
820
  dbaName: e.regardedOwnerDbaName,
817
- mailingAddress: _t(e),
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
- }, er = (e) => ({
840
- accountHolder: Xt(e),
841
- regardedOwner: $t(e),
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: "SDK",
855
+ source: `Taxbit React SDK v${qt}`,
852
856
  signatureDate: (/* @__PURE__ */ new Date()).toISOString()
853
857
  }), Fn = (e) => {
854
- if (e && Nt.includes(
858
+ if (e && Tt.includes(
855
859
  e
856
860
  ))
857
861
  return e;
858
862
  }, xn = (e) => {
859
- if (e && Tt.includes(
863
+ if (e && Mt.includes(
860
864
  e
861
865
  ))
862
866
  return e;
863
867
  }, Kn = (e) => {
864
- if (e && yt.includes(
868
+ if (e && jt.includes(
865
869
  e
866
870
  ))
867
871
  return e;
868
872
  }, Vn = (e) => {
869
- if (e && wt.includes(e))
873
+ if (e && Ht.includes(e))
870
874
  return e;
871
875
  }, Wn = (e) => {
872
- if (e && Rt.includes(
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) => Q(e) && e.length >= 2 && e.length <= 22 && !rt(e), ar = (e) => Q(e) && e.length >= 8 && e.length <= 12 && !rt(e), Ha = (e) => (a) => {
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) && Q(a[`accountHolderTaxResidenceCountry${e}`]) && E(
899
+ if (!ei(n) && F(a[`accountHolderTaxResidenceCountry${e}`]) && E(
896
900
  a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
897
901
  ))
898
902
  return "invalid";
899
- if (Q(n) && a[`accountHolderTaxResidenceCountry${e}`] === a.accountHolderVatCountry && n === a.accountHolderVatIdentificationNumber)
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 (Q(a)) {
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 (!kt(a))
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" && !ar(a))
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 (Q(a) && e.accountHolderBusinessRegistrationCountry === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
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 (Q(a) && e.accountHolderTaxResidenceCountry1 === e.accountHolderVatCountry && a === e.accountHolderVatIdentificationNumber)
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 (Q(a) && !wa.test(a))
1011
+ if (F(a) && !wa.test(a))
1008
1012
  return "mustBeNineDigits";
1009
- if (Q(a) && Ra.includes(a))
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
- }, ir = (e, a, n) => Object.fromEntries(
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
- ), nr = (e, a) => Object.fromEntries(
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
- }), rr = (e = {}, a) => {
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: l,
1172
- isDac7: u
1173
- } = da(e), d = u && e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes";
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" && l,
1196
- accountHolderCountryOfBirth: e.accountHolderIsIndividual === "yes" && l,
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: d,
1207
- accountHolderFinancialAccountName: d,
1208
- accountHolderVatIdentificationNumber: d,
1209
- accountHolderVatIsNotRequired: d,
1210
- accountHolderVatCountry: d,
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: d,
1214
- accountHolderTaxResidenceForeignTin1: d,
1215
- accountHolderShowTaxResidence2: d,
1216
- accountHolderTaxResidenceForeignTin1IsNotRequired: d,
1217
- accountHolderTaxResidenceCountry2: d && e.accountHolderShowTaxResidence2 === "yes",
1218
- accountHolderTaxResidenceForeignTin2: d && e.accountHolderShowTaxResidence2 === "yes",
1219
- accountHolderShowTaxResidence3: d && e.accountHolderShowTaxResidence2 === "yes",
1220
- accountHolderTaxResidenceForeignTin2IsNotRequired: d && e.accountHolderShowTaxResidence2 === "yes",
1221
- accountHolderTaxResidenceCountry3: d && e.accountHolderShowTaxResidence3 === "yes",
1222
- accountHolderTaxResidenceForeignTin3: d && e.accountHolderShowTaxResidence3 === "yes",
1223
- accountHolderShowTaxResidence4: d && e.accountHolderShowTaxResidence3 === "yes",
1224
- accountHolderTaxResidenceForeignTin3IsNotRequired: d && e.accountHolderShowTaxResidence3 === "yes",
1225
- accountHolderTaxResidenceCountry4: d && e.accountHolderShowTaxResidence4 === "yes",
1226
- accountHolderTaxResidenceForeignTin4: d && e.accountHolderShowTaxResidence4 === "yes",
1227
- accountHolderShowTaxResidence5: d && e.accountHolderShowTaxResidence4 === "yes",
1228
- accountHolderTaxResidenceForeignTin4IsNotRequired: d && e.accountHolderShowTaxResidence4 === "yes",
1229
- accountHolderTaxResidenceCountry5: d && e.accountHolderShowTaxResidence5 === "yes",
1230
- accountHolderTaxResidenceForeignTin5: d && e.accountHolderShowTaxResidence5 === "yes",
1231
- accountHolderTaxResidenceForeignTin5IsNotRequired: d && e.accountHolderShowTaxResidence5 === "yes",
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: u,
1268
+ iConfirmTheInformationIsCorrectComplete: m,
1269
1269
  iHaveLegalCapacityToSign: r,
1270
- accountHolderTaxResidences: d
1270
+ accountHolderTaxResidences: l
1271
1271
  };
1272
- }, La = (e) => e.accountHolderAddressCountry === "US", S = () => !0, Ga = (e) => (a) => Q(a[`accountHolderTaxResidenceForeignTin${e}`]) || a[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`] === "yes", Da = (e) => (a) => Q(a[`accountHolderTaxResidenceCountry${e}`]) && E(
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: S,
1276
- accountHolderIsEuResident: S,
1277
- accountHolderIsIndividual: S,
1278
- accountHolderUsAccountType: S,
1279
- accountHolderUsSmllcElection: S,
1280
- accountHolderUsLlcClassification: S,
1281
- accountHolderUsOtherClassification: S,
1282
- accountHolderUsTrustEstateEin: S,
1283
- accountHolderForeignAccountType: S,
1284
- accountHolderForeignTrustClassification: S,
1285
- accountHolderForeignOtherClassification: S,
1286
- accountHolderName: S,
1287
- accountHolderCountryOfCitizenship: S,
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: S,
1293
- accountHolderAddressStreet: S,
1292
+ accountHolderAddressCountry: I,
1293
+ accountHolderAddressStreet: I,
1294
1294
  accountHolderAddressState: La,
1295
- accountHolderAddressCity: S,
1295
+ accountHolderAddressCity: I,
1296
1296
  accountHolderAddressZip: (e) => e.accountHolderAddressCountry === "US" || e.accountHolderAddressCountry === "CA",
1297
- accountHolderMailingAddressCountry: S,
1298
- accountHolderMailingAddressStreet: S,
1297
+ accountHolderMailingAddressCountry: I,
1298
+ accountHolderMailingAddressStreet: I,
1299
1299
  accountHolderMailingAddressState: La,
1300
- accountHolderMailingAddressCity: S,
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: S,
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: S,
1327
- regardedOwnerUsAccountType: S,
1328
- regardedOwnerUsLlcClassification: S,
1329
- regardedOwnerUsOtherClassification: S,
1330
- regardedOwnerUsTrustEstateEin: S,
1331
- regardedOwnerForeignAccountType: S,
1332
- regardedOwnerForeignTrustClassification: S,
1333
- regardedOwnerForeignOtherClassification: S,
1334
- regardedOwnerName: S,
1335
- regardedOwnerCountryOfCitizenship: S,
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: S,
1340
- regardedOwnerAddressCountry: S,
1341
- regardedOwnerAddressStreet: S,
1339
+ regardedOwnerDateOfBirth: I,
1340
+ regardedOwnerAddressCountry: I,
1341
+ regardedOwnerAddressStreet: I,
1342
1342
  regardedOwnerAddressState: La,
1343
- regardedOwnerAddressCity: S,
1343
+ regardedOwnerAddressCity: I,
1344
1344
  regardedOwnerAddressZip: (e) => e.regardedOwnerAddressCountry === "US" || e.regardedOwnerAddressCountry === "CA",
1345
- regardedOwnerMailingAddressCountry: S,
1346
- regardedOwnerMailingAddressStreet: S,
1345
+ regardedOwnerMailingAddressCountry: I,
1346
+ regardedOwnerMailingAddressStreet: I,
1347
1347
  regardedOwnerMailingAddressState: La,
1348
- regardedOwnerMailingAddressCity: S,
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: S,
1353
- signature: S
1352
+ iConfirmTheInformationIsCorrectComplete: I,
1353
+ signature: I
1354
1354
  }, Jn = (e, a) => {
1355
- var s, o, l, u, d, k, v, m, A, p, N, M, C, P, B, se, L, ee, te, Ce, Ie, le, de, Se, ue, K, Y, ae, z, V, ke, ce, Re, we, He, Le, Ve, We, h, R, _, Ne, ye, ca, Je, ma, ga, je, Oe, Ze, qe, ze, ka, ha, Ge, va, pa, Ye, _e, Te, fa, Qe, Xe, De, Aa, ba, Ca, Ia, Sa, Na, Ta, Ue, $e, he, Fe, xe, ea, Ma, aa, ya, ia, na, ja, Oa, ta, za, Ea, Ba, Pa, t, c, g, b, y, j, T, I, U, w, H, W, ve, ra, ie, 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;
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: (l = e.accountHolder) == null ? void 0 : l.dateOfBirth,
1361
+ accountHolderDateOfBirth: (d = e.accountHolder) == null ? void 0 : d.dateOfBirth,
1362
1362
  accountHolderCityOfBirth: (u = e.accountHolder) == null ? void 0 : u.cityOfBirth,
1363
- accountHolderCountryOfBirth: (d = e.accountHolder) == null ? void 0 : d.countryOfBirth,
1364
- accountHolderUsTin: (k = e.accountHolder) == null ? void 0 : k.tin,
1365
- accountHolderForeignTin: (v = e.accountHolder) != null && v.ftinNotLegallyRequired || (m = e.accountHolder) == null ? void 0 : m.ftin,
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: (M = (N = e.accountHolder) == null ? void 0 : N.address) == null ? void 0 : M.firstLine,
1369
- accountHolderAddressStreet2: (P = (C = e.accountHolder) == null ? void 0 : C.address) == null ? void 0 : P.secondLine,
1370
- accountHolderAddressCity: (se = (B = e.accountHolder) == null ? void 0 : B.address) == null ? void 0 : se.city,
1371
- accountHolderAddressState: (ee = (L = e.accountHolder) == null ? void 0 : L.address) == null ? void 0 : ee.stateOrProvince,
1372
- accountHolderAddressZip: (Ce = (te = e.accountHolder) == null ? void 0 : te.address) == null ? void 0 : Ce.postalCode,
1373
- accountHolderAddressCountry: (le = (Ie = e.accountHolder) == null ? void 0 : Ie.address) == null ? void 0 : le.country,
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 = (Se = e.accountHolder) == null ? void 0 : Se.mailingAddress) == null ? void 0 : ue.firstLine,
1376
- accountHolderMailingAddressStreet2: (Y = (K = e.accountHolder) == null ? void 0 : K.mailingAddress) == null ? void 0 : Y.secondLine,
1377
- accountHolderMailingAddressCity: (z = (ae = e.accountHolder) == null ? void 0 : ae.mailingAddress) == null ? void 0 : z.city,
1378
- accountHolderMailingAddressState: (ke = (V = e.accountHolder) == null ? void 0 : V.mailingAddress) == null ? void 0 : ke.stateOrProvince,
1379
- accountHolderMailingAddressZip: (Re = (ce = e.accountHolder) == null ? void 0 : ce.mailingAddress) == null ? void 0 : Re.postalCode,
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" : ((Ve = e.accountHolder) == null ? void 0 : Ve.isIndividual) === !1 ? "no" : void 0,
1382
- accountHolderIsEuResident: ((We = e.accountHolder) == null ? void 0 : We.isEuResident) === !0 ? "yes" : ((h = e.accountHolder) == null ? void 0 : h.isEuResident) === !1 ? "no" : void 0,
1383
- accountHolderUsPerson: ((R = e.accountHolder) == null ? void 0 : R.isUsPerson) === !0 ? "yes" : ((_ = e.accountHolder) == null ? void 0 : _.isUsPerson) === !1 ? "no" : void 0,
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
- (Ne = e.accountHolder) == null ? void 0 : Ne.usAccountType
1385
+ (Ge = e.accountHolder) == null ? void 0 : Ge.usAccountType
1386
1386
  ),
1387
- accountHolderUsSmllcElection: ((ye = e.accountHolder) == null ? void 0 : ye.usSmllcElection) === !0 ? "yes" : ((ca = e.accountHolder) == null ? void 0 : ca.usSmllcElection) === !1 ? "no" : void 0,
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" : ((je = e.accountHolder) == null ? void 0 : je.usTrustEstateEin) === !1 ? "no" : void 0,
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
- (Oe = e.accountHolder) == null ? void 0 : Oe.foreignAccountType
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
- (ze = e.accountHolder) == null ? void 0 : ze.financialAccountName
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: (Ge = e.accountHolder) == null ? void 0 : Ge.financialAccountIdentifier,
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 = (De = (Xe = e.accountHolder) == null ? void 0 : Xe.taxResidences) == null ? void 0 : De[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((he = ($e = (Ue = e.accountHolder) == null ? void 0 : Ue.taxResidences) == null ? void 0 : $e[2]) == null ? void 0 : he.tin) ? "yes" : void 0,
1413
- accountHolderShowTaxResidence4: !E((ea = (xe = (Fe = e.accountHolder) == null ? void 0 : Fe.taxResidences) == null ? void 0 : xe[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,
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: (g = (c = (t = e.accountHolder) == null ? void 0 : t.taxResidences) == null ? void 0 : c[0]) != null && g.tinNotRequired || (j = (y = (b = e.accountHolder) == null ? void 0 : b.taxResidences) == null ? void 0 : y[0]) == null ? void 0 : j.tin,
1417
- accountHolderTaxResidenceForeignTin1IsNotRequired: (U = (I = (T = e.accountHolder) == null ? void 0 : T.taxResidences) == null ? void 0 : I[0]) != null && U.tinNotRequired ? "yes" : void 0,
1418
- accountHolderTaxResidenceCountry2: (W = (H = (w = e.accountHolder) == null ? void 0 : w.taxResidences) == null ? void 0 : H[1]) == null ? void 0 : W.country,
1419
- accountHolderTaxResidenceForeignTin2: (ie = (ra = (ve = e.accountHolder) == null ? void 0 : ve.taxResidences) == null ? void 0 : ra[1]) != null && ie.tinNotRequired || (li = (si = (oi = e.accountHolder) == null ? void 0 : oi.taxResidences) == null ? void 0 : si[1]) == null ? void 0 : li.tin,
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
- ([ut]) => r[ut]
1473
+ ([ct]) => r[ct]
1474
1474
  )
1475
1475
  );
1476
1476
  }, _a = ({ bearerToken: e }) => new Headers({
1477
1477
  Authorization: `Bearer ${e}`
1478
- }), or = (e, a) => {
1479
- var N;
1480
- const [n, r] = x(), [s, o] = x(), [l, u] = x(!1), d = a ? "STAGING" : "PRODUCTION", k = Wa.taxDocumentation.get(d), v = Wa.taxDocumentation.post(d), m = Wa.taxDocumentationStatus.get(d), A = async (M) => {
1481
- const C = {
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(M))
1484
+ body: JSON.stringify($a(N))
1485
1485
  };
1486
- fetch(v, C).then((P) => {
1487
- P.status === 200 && u(!0);
1486
+ fetch(v, T).then((R) => {
1487
+ R.status === 200 && u(!0);
1488
1488
  });
1489
1489
  };
1490
1490
  X(() => {
1491
- const M = {
1491
+ const N = {
1492
1492
  method: "GET",
1493
1493
  headers: _a({ bearerToken: e })
1494
1494
  };
1495
- fetch(m, M).then((C) => {
1496
- if (C.ok)
1497
- return C.json();
1498
- throw C.status === 401 ? new Error("Unauthorized, please check your bearer token") : new Error("Something went wrong");
1499
- }).then((C) => {
1500
- o(xa(C));
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, m, l]), X(() => {
1502
+ }, [e, g, d]), X(() => {
1503
1503
  if (s && s.submissionStatus !== "NOT_SUBMITTED") {
1504
- const M = {
1504
+ const N = {
1505
1505
  method: "GET",
1506
1506
  headers: _a({ bearerToken: e })
1507
1507
  };
1508
- fetch(k, M).then((C) => {
1509
- if (C.ok)
1510
- return C.json();
1508
+ fetch(l, N).then((T) => {
1509
+ if (T.ok)
1510
+ return T.json();
1511
1511
  throw new Error("Something went wrong");
1512
- }).then((C) => {
1513
- r(xa(C));
1512
+ }).then((T) => {
1513
+ r(xa(T));
1514
1514
  });
1515
1515
  }
1516
- }, [e, s, k]);
1517
- const p = (s == null ? void 0 : s.submissionStatus) === "NOT_SUBMITTED" ? s.submissionStatus : (N = s == null ? void 0 : s.DAC7Interview) == null ? void 0 : N.dataCollectionStatus;
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: l,
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 sr() {
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 l(u, d, k) {
1543
- var v, m = {}, A = null, p = null;
1544
- k !== void 0 && (A = "" + k), d.key !== void 0 && (A = "" + d.key), d.ref !== void 0 && (p = d.ref);
1545
- for (v in d)
1546
- r.call(d, v) && !o.hasOwnProperty(v) && (m[v] = d[v]);
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 d = u.defaultProps, d)
1549
- m[v] === void 0 && (m[v] = d[v]);
1550
- return { $$typeof: a, type: u, key: A, ref: p, props: m, _owner: s.current };
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 = l, oa.jsxs = l, oa;
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 lr() {
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"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), N = Symbol.iterator, M = "@@iterator";
1568
- function C(t) {
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 = N && t[N] || t[M];
1571
+ var c = S && t[S] || t[N];
1572
1572
  return typeof c == "function" ? c : null;
1573
1573
  }
1574
- var P = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1575
- function B(t) {
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, g = new Array(c > 1 ? c - 1 : 0), b = 1; b < c; b++)
1578
- g[b - 1] = arguments[b];
1579
- se("error", t, g);
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 se(t, c, g) {
1582
+ function ee(t, c, k) {
1583
1583
  {
1584
- var b = P.ReactDebugCurrentFrame, y = b.getStackAddendum();
1585
- y !== "" && (c += "%s", g = g.concat([y]));
1586
- var j = g.map(function(T) {
1587
- return String(T);
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, ee = !1, te = !1, Ce = !1, Ie = !1, le;
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 || Ie || t === s || t === k || t === v || Ce || t === p || L || ee || te || typeof t == "object" && t !== null && (t.$$typeof === A || t.$$typeof === m || t.$$typeof === l || t.$$typeof === u || t.$$typeof === d || // This needs to include all possible module reference object
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 Se(t, c, g) {
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 !== "" ? g + "(" + y + ")" : g;
1606
+ return y !== "" ? k + "(" + y + ")" : k;
1607
1607
  }
1608
1608
  function ue(t) {
1609
1609
  return t.displayName || "Context";
1610
1610
  }
1611
- function K(t) {
1611
+ function V(t) {
1612
1612
  if (t == null)
1613
1613
  return null;
1614
- if (typeof t.tag == "number" && B("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
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 k:
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
- return Se(t, t.render, "ForwardRef");
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 : K(t.type) || "Memo";
1644
+ return b !== null ? b : V(t.type) || "Memo";
1645
1645
  case A: {
1646
- var y = t, j = y._payload, T = y._init;
1646
+ var y = t, j = y._payload, M = y._init;
1647
1647
  try {
1648
- return K(T(j));
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 Y = Object.assign, ae = 0, z, V, ke, ce, Re, we, He;
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 Ve() {
1660
+ function We() {
1661
1661
  {
1662
- if (ae === 0) {
1663
- z = console.log, V = console.info, ke = console.warn, ce = console.error, Re = console.group, we = console.groupCollapsed, He = console.groupEnd;
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
- ae++;
1680
+ ie++;
1681
1681
  }
1682
1682
  }
1683
- function We() {
1683
+ function h() {
1684
1684
  {
1685
- if (ae--, ae === 0) {
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: Y({}, t, {
1692
+ log: q({}, t, {
1693
1693
  value: z
1694
1694
  }),
1695
- info: Y({}, t, {
1696
- value: V
1695
+ info: q({}, t, {
1696
+ value: W
1697
1697
  }),
1698
- warn: Y({}, t, {
1699
- value: ke
1698
+ warn: q({}, t, {
1699
+ value: ge
1700
1700
  }),
1701
- error: Y({}, t, {
1702
- value: ce
1701
+ error: q({}, t, {
1702
+ value: ke
1703
1703
  }),
1704
- group: Y({}, t, {
1704
+ group: q({}, t, {
1705
1705
  value: Re
1706
1706
  }),
1707
- groupCollapsed: Y({}, t, {
1707
+ groupCollapsed: q({}, t, {
1708
1708
  value: we
1709
1709
  }),
1710
- groupEnd: Y({}, t, {
1710
+ groupEnd: q({}, t, {
1711
1711
  value: He
1712
1712
  })
1713
1713
  });
1714
1714
  }
1715
- ae < 0 && B("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1715
+ ie < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1716
1716
  }
1717
1717
  }
1718
- var h = P.ReactCurrentDispatcher, R;
1719
- function _(t, c, g) {
1718
+ var B = R.ReactCurrentDispatcher, Y;
1719
+ function he(t, c, k) {
1720
1720
  {
1721
- if (R === void 0)
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
- R = b && b[1] || "";
1726
+ Y = b && b[1] || "";
1727
1727
  }
1728
1728
  return `
1729
- ` + R + t;
1729
+ ` + Y + t;
1730
1730
  }
1731
1731
  }
1732
- var Ne = !1, ye;
1732
+ var Ge = !1, je;
1733
1733
  {
1734
1734
  var ca = typeof WeakMap == "function" ? WeakMap : Map;
1735
- ye = new ca();
1735
+ je = new ca();
1736
1736
  }
1737
1737
  function Je(t, c) {
1738
- if (!t || Ne)
1738
+ if (!t || Ge)
1739
1739
  return "";
1740
1740
  {
1741
- var g = ye.get(t);
1742
- if (g !== void 0)
1743
- return g;
1741
+ var k = je.get(t);
1742
+ if (k !== void 0)
1743
+ return k;
1744
1744
  }
1745
1745
  var b;
1746
- Ne = !0;
1746
+ Ge = !0;
1747
1747
  var y = Error.prepareStackTrace;
1748
1748
  Error.prepareStackTrace = void 0;
1749
1749
  var j;
1750
- j = h.current, h.current = null, Ve();
1750
+ j = B.current, B.current = null, We();
1751
1751
  try {
1752
1752
  if (c) {
1753
- var T = function() {
1753
+ var M = function() {
1754
1754
  throw Error();
1755
1755
  };
1756
- if (Object.defineProperty(T.prototype, "props", {
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(T, []);
1763
- } catch (ie) {
1764
- b = ie;
1762
+ Reflect.construct(M, []);
1763
+ } catch (ne) {
1764
+ b = ne;
1765
1765
  }
1766
- Reflect.construct(t, [], T);
1766
+ Reflect.construct(t, [], M);
1767
1767
  } else {
1768
1768
  try {
1769
- T.call();
1770
- } catch (ie) {
1771
- b = ie;
1769
+ M.call();
1770
+ } catch (ne) {
1771
+ b = ne;
1772
1772
  }
1773
- t.call(T.prototype);
1773
+ t.call(M.prototype);
1774
1774
  }
1775
1775
  } else {
1776
1776
  try {
1777
1777
  throw Error();
1778
- } catch (ie) {
1779
- b = ie;
1778
+ } catch (ne) {
1779
+ b = ne;
1780
1780
  }
1781
1781
  t();
1782
1782
  }
1783
- } catch (ie) {
1784
- if (ie && b && typeof ie.stack == "string") {
1785
- for (var I = ie.stack.split(`
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 = I.length - 1, H = U.length - 1; w >= 1 && H >= 0 && I[w] !== U[H]; )
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 (I[w] !== U[H]) {
1790
+ if (C[w] !== U[H]) {
1791
1791
  if (w !== 1 || H !== 1)
1792
1792
  do
1793
- if (w--, H--, H < 0 || I[w] !== U[H]) {
1794
- var W = `
1795
- ` + I[w].replace(" at new ", " at ");
1796
- return t.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", t.displayName)), typeof t == "function" && ye.set(t, W), W;
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
- Ne = !1, h.current = j, We(), Error.prepareStackTrace = y;
1803
+ Ge = !1, B.current = j, h(), Error.prepareStackTrace = y;
1804
1804
  }
1805
- var ve = t ? t.displayName || t.name : "", ra = ve ? _(ve) : "";
1806
- return typeof t == "function" && ye.set(t, ra), ra;
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, g) {
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 je(t, c, g) {
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 _(t);
1821
+ return he(t);
1822
1822
  switch (t) {
1823
- case k:
1824
- return _("Suspense");
1823
+ case l:
1824
+ return he("Suspense");
1825
1825
  case v:
1826
- return _("SuspenseList");
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 je(t.type, c, g);
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 je(j(y), c, g);
1837
+ return Oe(j(y), c, k);
1838
1838
  } catch {
1839
1839
  }
1840
1840
  }
1841
1841
  }
1842
1842
  return "";
1843
1843
  }
1844
- var Oe = Object.prototype.hasOwnProperty, Ze = {}, qe = P.ReactDebugCurrentFrame;
1845
- function ze(t) {
1844
+ var ze = Object.prototype.hasOwnProperty, Ze = {}, qe = R.ReactDebugCurrentFrame;
1845
+ function Ee(t) {
1846
1846
  if (t) {
1847
- var c = t._owner, g = je(t.type, t._source, c ? c.type : null);
1848
- qe.setExtraStackFrame(g);
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, g, b, y) {
1852
+ function ka(t, c, k, b, y) {
1853
1853
  {
1854
- var j = Function.call.bind(Oe);
1855
- for (var T in t)
1856
- if (j(t, T)) {
1857
- var I = void 0;
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[T] != "function") {
1860
- var U = Error((b || "React class") + ": " + g + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
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
- I = t[T](c, T, b, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1863
+ C = t[M](c, M, b, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1864
1864
  } catch (w) {
1865
- I = w;
1865
+ C = w;
1866
1866
  }
1867
- I && !(I instanceof Error) && (ze(y), B("%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", g, T, typeof I), ze(null)), I instanceof Error && !(I.message in Ze) && (Ze[I.message] = !0, ze(y), B("Failed %s type: %s", g, I.message), ze(null));
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 Ge(t) {
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, g = c && t[Symbol.toStringTag] || t.constructor.name || "Object";
1878
- return g;
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 B("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);
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 = P.ReactCurrentOwner, fa = {
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, De;
1901
- De = {};
1900
+ }, Qe, Xe, Ue;
1901
+ Ue = {};
1902
1902
  function Aa(t) {
1903
- if (Oe.call(t, "ref")) {
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 (Oe.call(t, "key")) {
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 g = K(Te.current.type);
1921
- De[g] || (B('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', K(Te.current.type), t.ref), De[g] = !0);
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 g = function() {
1927
- Qe || (Qe = !0, B("%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));
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
- g.isReactWarning = !0, Object.defineProperty(t, "key", {
1930
- get: g,
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 g = function() {
1938
- Xe || (Xe = !0, B("%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));
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
- g.isReactWarning = !0, Object.defineProperty(t, "ref", {
1941
- get: g,
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, g, b, y, j, T) {
1947
- var I = {
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: g,
1954
- props: T,
1953
+ ref: k,
1954
+ props: M,
1955
1955
  // Record the component responsible for creating this element.
1956
1956
  _owner: j
1957
1957
  };
1958
- return I._store = {}, Object.defineProperty(I._store, "validated", {
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(I, "_self", {
1963
+ }), Object.defineProperty(C, "_self", {
1964
1964
  configurable: !1,
1965
1965
  enumerable: !1,
1966
1966
  writable: !1,
1967
1967
  value: b
1968
- }), Object.defineProperty(I, "_source", {
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(I.props), Object.freeze(I)), I;
1973
+ }), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
1974
1974
  };
1975
- function Ta(t, c, g, b, y) {
1975
+ function Ta(t, c, k, b, y) {
1976
1976
  {
1977
- var j, T = {}, I = null, U = null;
1978
- g !== void 0 && (_e(g), I = "" + g), ba(c) && (_e(c.key), I = "" + c.key), Aa(c) && (U = c.ref, Ca(c, y));
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
- Oe.call(c, j) && !fa.hasOwnProperty(j) && (T[j] = c[j]);
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
- T[j] === void 0 && (T[j] = w[j]);
1984
+ M[j] === void 0 && (M[j] = w[j]);
1985
1985
  }
1986
- if (I || U) {
1986
+ if (C || U) {
1987
1987
  var H = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
1988
- I && Ia(T, H), U && Sa(T, H);
1988
+ C && Ia(M, H), U && Sa(M, H);
1989
1989
  }
1990
- return Na(t, I, U, y, b, Te.current, T);
1990
+ return Na(t, C, U, y, b, Te.current, M);
1991
1991
  }
1992
1992
  }
1993
- var Ue = P.ReactCurrentOwner, $e = P.ReactDebugCurrentFrame;
1994
- function he(t) {
1993
+ var Fe = R.ReactCurrentOwner, $e = R.ReactDebugCurrentFrame;
1994
+ function ve(t) {
1995
1995
  if (t) {
1996
- var c = t._owner, g = je(t.type, t._source, c ? c.type : null);
1997
- $e.setExtraStackFrame(g);
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 Fe;
2002
- Fe = !1;
2003
- function xe(t) {
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 (Ue.current) {
2009
- var t = K(Ue.current.type);
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(/^.*[\\\/]/, ""), g = t.lineNumber;
2021
+ var c = t.fileName.replace(/^.*[\\\/]/, ""), k = t.lineNumber;
2022
2022
  return `
2023
2023
 
2024
- Check your code at ` + c + ":" + g + ".";
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 g = typeof t == "string" ? t : t.displayName || t.name;
2035
- g && (c = `
2034
+ var k = typeof t == "string" ? t : t.displayName || t.name;
2035
+ k && (c = `
2036
2036
 
2037
- Check the top-level render call using <` + g + ">.");
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 g = ya(c);
2048
- if (aa[g])
2047
+ var k = ya(c);
2048
+ if (aa[k])
2049
2049
  return;
2050
- aa[g] = !0;
2050
+ aa[k] = !0;
2051
2051
  var b = "";
2052
- t && t._owner && t._owner !== Ue.current && (b = " It was passed a child from " + K(t._owner.type) + "."), he(t), B('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, b), he(null);
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 (Ge(t))
2060
- for (var g = 0; g < t.length; g++) {
2061
- var b = t[g];
2062
- xe(b) && ia(b, c);
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 (xe(t))
2064
+ else if (Ke(t))
2065
2065
  t._store && (t._store.validated = !0);
2066
2066
  else if (t) {
2067
- var y = C(t);
2067
+ var y = T(t);
2068
2068
  if (typeof y == "function" && y !== t.entries)
2069
- for (var j = y.call(t), T; !(T = j.next()).done; )
2070
- xe(T.value) && ia(T.value, c);
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 g;
2079
+ var k;
2080
2080
  if (typeof c == "function")
2081
- g = c.propTypes;
2082
- else if (typeof c == "object" && (c.$$typeof === d || // Note: Memo only checks outer props here.
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 === m))
2085
- g = c.propTypes;
2084
+ c.$$typeof === g))
2085
+ k = c.propTypes;
2086
2086
  else
2087
2087
  return;
2088
- if (g) {
2089
- var b = K(c);
2090
- ka(g, t.props, "prop", b, t);
2091
- } else if (c.PropTypes !== void 0 && !Fe) {
2092
- Fe = !0;
2093
- var y = K(c);
2094
- B("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
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 && B("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
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), g = 0; g < c.length; g++) {
2102
- var b = c[g];
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
- he(t), B("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), he(null);
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 && (he(t), B("Invalid attribute `ref` supplied to `React.Fragment`."), he(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, g, b, y, j) {
2111
+ function ta(t, c, k, b, y, j) {
2112
2112
  {
2113
- var T = de(t);
2114
- if (!T) {
2115
- var I = "";
2116
- (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (I += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
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 ? I += U : I += ea();
2118
+ U ? C += U : C += ea();
2119
2119
  var w;
2120
- t === null ? w = "null" : Ge(t) ? w = "array" : t !== void 0 && t.$$typeof === a ? (w = "<" + (K(t.type) || "Unknown") + " />", I = " Did you accidentally export a JSX literal instead of a component?") : w = typeof t, B("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, I);
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, g, y, j);
2122
+ var H = Ta(t, c, k, y, j);
2123
2123
  if (H == null)
2124
2124
  return H;
2125
- if (T) {
2126
- var W = c.children;
2127
- if (W !== void 0)
2125
+ if (M) {
2126
+ var J = c.children;
2127
+ if (J !== void 0)
2128
2128
  if (b)
2129
- if (Ge(W)) {
2130
- for (var ve = 0; ve < W.length; ve++)
2131
- na(W[ve], t);
2132
- Object.freeze && Object.freeze(W);
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
- B("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
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(W, t);
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, g) {
2142
- return ta(t, c, g, !0);
2141
+ function za(t, c, k) {
2142
+ return ta(t, c, k, !0);
2143
2143
  }
2144
- function Ea(t, c, g) {
2145
- return ta(t, c, g, !1);
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 = sr() : ai.exports = lr();
2151
+ process.env.NODE_ENV === "production" ? ai.exports = lr() : ai.exports = dr();
2152
2152
  var i = ai.exports;
2153
- const dr = {
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
- }, ur = {
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
- }, cr = {
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
- }, mr = {
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
- }, gr = {
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
- }, kr = {
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
- }, hr = {
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
- }, vr = {
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
- }, pr = {
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
- }, fr = {
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
- }, Ar = {
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
- }, br = {
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
- }, Cr = {
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
- }, Ir = {
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
- }, Sr = {
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
- }, Nr = {
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
- }, Tr = {
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
- }, Mr = {
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
- }, yr = {
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
- }, jr = {
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
- }, Or = {
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
- }, zr = {
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
- }, Er = {
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
- }, Br = {
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
- }, Pr = {
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
- }, Rr = {
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
- }, wr = {
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
- }, Hr = {
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
- }, Lr = {
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
- }, Gr = {
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": dr,
18866
- "cs-cz": ur,
18867
- "da-dk": cr,
18868
- "de-at": mr,
18869
- "de-de": gr,
18870
- "el-gr": hr,
18871
- "el-cy": kr,
18872
- "en-gb": vr,
18873
- "en-us": pr,
18874
- "es-es": fr,
18875
- "et-ee": Ar,
18876
- "fi-fi": br,
18877
- "fr-fr": Cr,
18878
- "fr-lu": Ir,
18879
- "ga-ie": Sr,
18880
- "hr-hr": Nr,
18881
- "hu-hu": Tr,
18882
- "it-it": Mr,
18883
- "lt-lt": yr,
18884
- "lv-lv": jr,
18885
- "mt-mt": Or,
18886
- "nl-be": zr,
18887
- "nl-nl": Er,
18888
- "no-no": Br,
18889
- "pl-pl": Pr,
18890
- "pt-pt": Rr,
18891
- "ro-ro": wr,
18892
- "sk-sk": Hr,
18893
- "sl-si": Lr,
18894
- "sv-se": Gr
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 = q(a).prompt[e];
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
- }, Dr = (e, a) => {
18901
- const n = q(a).subPrompt[e];
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
- }, Ur = (e, a) => {
18906
- const n = q(a).error[e];
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
- }, Fr = (e, a) => {
18911
- const n = q(a).hint[e];
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 = q(a).text[e];
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
- }, xr = (e, a) => {
18921
- const n = q(a).title[e];
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
- }, Kr = (e, a) => {
18926
- const n = q(a).subTitle[e];
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
- }, Vr = (e, a) => {
18931
- const n = q(a).button[e];
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 = q(a).option[e];
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
- }, Wr = (e, a) => {
18942
+ }, Jr = (e, a) => {
18943
18943
  if (!e)
18944
18944
  return "";
18945
- const n = q(a).notification[e];
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
- }, Jr = (e, a) => {
18950
- const n = q(a).country[e];
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
- }, Zr = (e, a) => {
18955
- const n = q(a).usState[e];
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
- }, qr = (e, a) => {
18960
- const n = q(a).caProvince[e];
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
- }, Yr = (e, a) => {
18965
- const n = q(a).month[e];
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
- }, _r = (e, a) => {
18970
- const n = q(a).locale[e];
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
- }, q = (e = "en-us") => Qa[e] ? Qa[e] : (console.log(`Locale '${e}' not found. Using en-us`), Qa["en-us"]), st = () => {
18975
- const e = ct(void 0);
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 = mt(e);
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
- }, [$, Qr] = st(), Xr = ({
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, l] = x(a), [u, d] = x(s), [k, v] = x(
18989
+ const [o, d] = K(a), [u, m] = K(s), [l, v] = K(
18990
18990
  Jn(e, u)
18991
- ), [m, A] = x([r]), [p, N] = x(
18991
+ ), [g, A] = K([r]), [p, S] = K(
18992
18992
  void 0
18993
- ), { isW9: M, isW8: C, isW8Ben: P, isW8BenE: B, isDac7: se } = da(
18994
- k,
18993
+ ), { isW9: N, isW8: T, isW8Ben: R, isW8BenE: P, isDac7: ee } = da(
18994
+ l,
18995
18995
  u
18996
- ), L = m[m.length - 1], ee = {
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
- }, te = (z) => {
19006
- v(z), n(er(z));
19007
- }, Ce = Fa(
19005
+ }, se = (z) => {
19006
+ v(z), n(ir(z));
19007
+ }, Ie = Fa(
19008
19008
  (z) => {
19009
- v(Jn(z, u)), N(void 0), A([r]);
19009
+ v(Jn(z, u)), S(void 0), A([r]);
19010
19010
  },
19011
19011
  [u, r]
19012
- ), Ie = (z) => {
19013
- const { accountHolderIsDisregarded: V, hasNoEUTaxId: ke } = da(z), ce = u.includes("DAC7");
19014
- return L === "AccountHolderClassification" ? ce ? "AccountHolderContact" : V ? "RegardedOwnerClassification" : "AccountHolderContact" : L === "AccountHolderContact" ? ce && z.accountHolderIsEuResident === "no" ? "Summary" : "AccountHolderTax" : L === "AccountHolderTax" ? ke && z.accountHolderIsIndividual === "yes" ? "AccountHolderTaxClarification" : "Summary" : L === "RegardedOwnerClassification" ? "RegardedOwnerContact" : L === "RegardedOwnerContact" ? "RegardedOwnerTax" : "Summary";
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 V = Ie(z);
19017
- V === "Summary" && N(void 0), ue(V);
19016
+ const W = Se(z);
19017
+ W === "Summary" && S(void 0), ue(W);
19018
19018
  }, de = (z) => {
19019
- const V = {
19020
- ...k,
19019
+ const W = {
19020
+ ...l,
19021
19021
  ...z
19022
19022
  };
19023
- v(V), p === void 0 ? le(V) : A(["Summary"]);
19024
- }, Se = (z) => {
19025
- k.accountHolderUsAccountType !== z.accountHolderUsAccountType || k.accountHolderForeignAccountType !== z.accountHolderForeignAccountType ? de({
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
- ...ee
19027
+ ...ae
19028
19028
  }) : de(z);
19029
19029
  }, ue = (z) => {
19030
- A([...m, z]);
19031
- }, K = (z) => {
19032
- A([z]), N(k);
19033
- }, Y = p !== void 0 ? () => {
19034
- v(p), N(void 0), A(["Summary"]);
19035
- } : void 0, ae = m.length > 1 ? () => {
19036
- A(m.slice(0, m.length - 1));
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: M,
19040
- isW8: C,
19041
- isW8Ben: P,
19042
- isW8BenE: B,
19043
- isDac7: se,
19044
- onPersistAccountHolderData: Se,
19039
+ isW9: N,
19040
+ isW8: T,
19041
+ isW8Ben: R,
19042
+ isW8BenE: P,
19043
+ isDac7: ee,
19044
+ onPersistAccountHolderData: Ne,
19045
19045
  onPersistCollectedData: de,
19046
- onSubmitTaxDocumentation: te,
19047
- onResetTaxDocumentation: Ce,
19048
- editTo: K,
19049
- onCancel: Y,
19046
+ onSubmitTaxDocumentation: se,
19047
+ onResetTaxDocumentation: Ie,
19048
+ editTo: V,
19049
+ onCancel: q,
19050
19050
  goTo: ue,
19051
- goBack: ae,
19051
+ goBack: ie,
19052
19052
  goToNext: le,
19053
19053
  stepName: L,
19054
- data: k,
19055
- setLanguage: l,
19054
+ data: l,
19055
+ setLanguage: d,
19056
19056
  language: o,
19057
19057
  supportedForms: u,
19058
- setSupportedForms: d
19058
+ setSupportedForms: m
19059
19059
  };
19060
- }, $r = ({
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
- Qr,
19068
+ Xr,
19069
19069
  {
19070
- value: Xr({
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, eo] = st(), ao = (e, a) => Object.keys(e).reduce(
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
- }, io = () => {
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] = x(a), [o, l] = x(!1), [u, d] = x(/* @__PURE__ */ new Set()), k = J(
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 = J(
19104
- () => rr(r, k),
19105
- [r, k]
19106
- ), m = J(
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 = J(
19112
- () => nr(r, m),
19113
- [r, m]
19114
- ), p = J(
19115
- () => ir(r, A, m),
19116
- [r, A, m]
19117
- ), N = J(
19118
- () => tr(r, v),
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 C = Fa(
19128
- (h, R) => {
19129
- if (R !== r[h]) {
19130
- const _ = {
19131
- [h]: R
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((Ne) => ({ ...Ne, ..._ }));
19140
+ s((he) => ({ ...he, ...Y }));
19134
19141
  }
19135
19142
  },
19136
19143
  [r]
19137
- ), P = () => {
19138
- l(!0);
19139
- }, B = () => {
19140
- l(!1);
19141
- }, se = Object.keys(p).length === 0, L = (h) => {
19142
- const R = Wt(r);
19143
- return R[h] ? R[h] : h;
19144
- }, ee = (h) => {
19145
- const R = {
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 R[h] ? R[h] : h;
19156
- }, te = (h) => {
19157
- const R = xt();
19158
- return R[h] ? R[h] : h;
19159
- }, Ce = (h) => Fr(te(h), e), Ie = (h) => ii(h, e), le = (h) => xr(h, e), de = (h) => Kr(h, e), Se = (h) => Ur(h, e), ue = (h) => _r(h, e), K = (h) => Vr(h, e), Y = (h) => Yn(L(h), e), ae = (h) => Wr(h, e), z = (h) => Yn(L(h), e) + (A[h] ? "*" : ""), V = (h) => Dr(ee(h), e), ke = Fa(
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
- ), ce = Fa(
19166
- (h) => h ? Jr(h, e) : "",
19172
+ ), ge = Fa(
19173
+ (h) => h ? Zr(h, e) : "",
19167
19174
  [e]
19168
19175
  );
19169
19176
  return {
19170
- clearIfNotRequired: (...h) => (R) => {
19171
- R === "yes" && h.forEach((_) => {
19172
- C(_, "");
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: C,
19178
- isErrorFree: se,
19184
+ setValue: N,
19185
+ isErrorFree: P,
19179
19186
  showErrors: o,
19180
- exposeErrors: P,
19181
- hideErrors: B,
19182
- getLocalButton: K,
19183
- getLocalCaProvince: (h) => h ? qr(h, e) : "",
19184
- getLocalCountry: ce,
19185
- getLocalError: Se,
19186
- getLocalHint: Ce,
19187
- getHintKey: te,
19188
- getLocalLocale: ue,
19189
- getLocalNotification: ae,
19190
- getLocalOption: ke,
19191
- getLocalPrompt: Y,
19192
- getPromptKey: L,
19193
- getLocalSubPrompt: V,
19194
- getSubPromptKey: ee,
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: le,
19197
- getLocalSubTitle: de,
19198
- getLocalUsState: (h) => h ? Zr(h, e) : "",
19199
- getLocalMonth: (h) => h ? Yr(h, e) : "",
19200
- getRequiredLocalPrompt: z,
19201
- notifiedFields: M,
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) && d((R) => new Set([...R].filter((_) => _ !== h))), C(h, void 0);
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) || d((R) => /* @__PURE__ */ new Set([...R, h]));
19220
+ u.has(h) || m((B) => /* @__PURE__ */ new Set([...B, h]));
19216
19221
  }
19217
19222
  };
19218
- }, fe = ({ children: e }) => /* @__PURE__ */ i.jsx(eo, { value: io(), children: e }), Ua = ({ address: e, className: a }) => {
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: me(a, "address"), children: [
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(), l = n[e] ? s(n[e]) : "";
19235
- return l && r ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: l }) : a ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-hint", children: o(e) }) : null;
19236
- }, Ae = ({ children: e, title: a, actions: n }) => /* @__PURE__ */ i.jsxs(
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: me("taxbit-page", `taxbit-form-${tt(a)}`),
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
- ), Me = ({
19254
+ ), ye = ({
19250
19255
  children: e,
19251
19256
  className: a
19252
- }) => /* @__PURE__ */ i.jsx("div", { className: me(a, "taxbit-input-status"), children: e }), no = ({ name: e }) => {
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
- }, Ke = ({
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: l
19267
+ className: d
19263
19268
  }) => {
19264
- const { invalidFields: u, showErrors: d, getLocalButton: k } = O();
19269
+ const { invalidFields: u, showErrors: m, getLocalButton: l } = O();
19265
19270
  return /* @__PURE__ */ i.jsxs(
19266
19271
  "div",
19267
19272
  {
19268
- className: me(
19273
+ className: ce(
19269
19274
  "taxbit-row",
19270
19275
  o && `taxbit-question-${tt(o)}`,
19271
- o && d && u[o] && "taxbit-error",
19272
- l
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,12 @@ const dr = {
19282
19287
  "button",
19283
19288
  {
19284
19289
  onClick: s,
19285
- className: me(
19290
+ className: ce(
19286
19291
  "taxbit-row-edit-button",
19287
19292
  "taxbit-row-action-button"
19288
19293
  ),
19289
19294
  type: "button",
19290
- children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-edit-button-content", children: k("edit") })
19295
+ children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-edit-button-content", children: l("edit") })
19291
19296
  }
19292
19297
  ) })
19293
19298
  ] })
@@ -19305,14 +19310,14 @@ const dr = {
19305
19310
  a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-section-sub-title", children: a })
19306
19311
  ] }),
19307
19312
  r
19308
- ] }) : r, Ee = [{ value: "yes" }, { value: "no" }], to = () => {
19313
+ ] }) : r, Be = [{ value: "yes" }, { value: "no" }], oo = () => {
19309
19314
  const { language: e, setLanguage: a } = $(), { getLocalLocale: n } = O(), r = (o) => {
19310
- const l = o.target.value;
19311
- a(l);
19312
- }, s = Ot.map((o) => ({
19315
+ const d = o.target.value;
19316
+ a(d);
19317
+ }, s = zt.map((o) => ({
19313
19318
  ...o,
19314
19319
  label: n(o.value)
19315
- })).sort((o, l) => o.label.localeCompare(l.label));
19320
+ })).sort((o, d) => o.label.localeCompare(d.label));
19316
19321
  return /* @__PURE__ */ i.jsx(
19317
19322
  "select",
19318
19323
  {
@@ -19322,14 +19327,14 @@ const dr = {
19322
19327
  children: s.map((o) => /* @__PURE__ */ i.jsx("option", { value: o.value, children: o.label }, o.value))
19323
19328
  }
19324
19329
  );
19325
- }, be = ({
19330
+ }, Ce = ({
19326
19331
  onBack: e,
19327
19332
  onCancel: a,
19328
19333
  onNext: n,
19329
19334
  onSubmit: r,
19330
19335
  onReset: s
19331
19336
  }) => {
19332
- const { isErrorFree: o, exposeErrors: l, getLocalButton: u } = O(), d = o ? n : l, k = o ? r : l;
19337
+ const { isErrorFree: o, exposeErrors: d, getLocalButton: u } = O(), m = o ? n : d, l = o ? r : d;
19333
19338
  return /* @__PURE__ */ i.jsxs("footer", { className: "taxbit-step-actions", children: [
19334
19339
  /* @__PURE__ */ i.jsxs("div", { className: "taxbit-secondary-actions", children: [
19335
19340
  a && /* @__PURE__ */ i.jsx("button", { onClick: a, type: "button", children: u("cancel") }),
@@ -19337,17 +19342,17 @@ const dr = {
19337
19342
  s && /* @__PURE__ */ i.jsx("button", { onClick: s, type: "button", children: u("reset") })
19338
19343
  ] }),
19339
19344
  /* @__PURE__ */ i.jsxs("div", { className: "taxbit-primary-actions", children: [
19340
- n && /* @__PURE__ */ i.jsx("button", { onClick: d, type: "button", children: u("next") }),
19341
- r && /* @__PURE__ */ i.jsx("button", { onClick: k, type: "button", children: u("submit") })
19345
+ n && /* @__PURE__ */ i.jsx("button", { onClick: m, type: "button", children: u("next") }),
19346
+ r && /* @__PURE__ */ i.jsx("button", { onClick: l, type: "button", children: u("submit") })
19342
19347
  ] })
19343
19348
  ] });
19344
- }, ro = ({ label: e, subLabel: a, name: n, onClick: r }) => {
19345
- const { fields: s, setValue: o, getLocalPrompt: l, getLocalSubPrompt: u } = O(), d = (m) => {
19346
- r && r(m), o(n, m);
19347
- }, k = s[n], v = (m) => {
19348
- d(m.target.checked ? "yes" : void 0);
19349
+ }, so = ({ label: e, subLabel: a, name: n, onClick: r }) => {
19350
+ const { fields: s, setValue: o, getLocalPrompt: d, getLocalSubPrompt: u } = O(), m = (g) => {
19351
+ r && r(g), o(n, g);
19352
+ }, l = s[n], v = (g) => {
19353
+ m(g.target.checked ? "yes" : void 0);
19349
19354
  };
19350
- return /* @__PURE__ */ i.jsxs(Me, { children: [
19355
+ return /* @__PURE__ */ i.jsxs(ye, { children: [
19351
19356
  /* @__PURE__ */ i.jsxs("div", { className: "taxbit-checkBox-label", children: [
19352
19357
  /* @__PURE__ */ i.jsx(
19353
19358
  "input",
@@ -19355,61 +19360,61 @@ const dr = {
19355
19360
  type: "checkbox",
19356
19361
  id: n,
19357
19362
  name: n,
19358
- checked: k === "yes",
19363
+ checked: l === "yes",
19359
19364
  onChange: v,
19360
19365
  className: "taxbit-check-box"
19361
19366
  }
19362
19367
  ),
19363
19368
  /* @__PURE__ */ i.jsxs("label", { htmlFor: n, children: [
19364
- e && l(n),
19369
+ e && d(n),
19365
19370
  a && /* @__PURE__ */ i.jsx("div", { className: "taxbit-sub-label", children: u(n) })
19366
19371
  ] })
19367
19372
  ] }),
19368
19373
  /* @__PURE__ */ i.jsx(Pe, { name: n })
19369
19374
  ] });
19370
- }, oo = (e) => {
19371
- const { fields: a, setValue: n, getLocalMonth: r } = O(), s = a[e] || "", o = s.split("/")[0] || "", l = s.split("/")[1] || "", u = s.split("/")[2] || "", d = o !== "" ? Un(
19375
+ }, lo = (e) => {
19376
+ const { fields: a, setValue: n, getLocalMonth: r } = O(), s = a[e] || "", o = s.split("/")[0] || "", d = s.split("/")[1] || "", u = s.split("/")[2] || "", m = o !== "" ? Un(
19372
19377
  parseInt(o),
19373
19378
  u !== "" ? parseInt(u) : void 0
19374
- ) : Gn.length, k = Et.map((N) => ({
19375
- ...N,
19376
- label: r(N.value)
19377
- })), v = (N, M, C) => {
19378
- if (!M)
19379
+ ) : Gn.length, l = Bt.map((S) => ({
19380
+ ...S,
19381
+ label: r(S.value)
19382
+ })), v = (S, N, T) => {
19383
+ if (!N)
19379
19384
  return !0;
19380
- const P = Un(
19381
- parseInt(M),
19382
- Q(C) ? parseInt(C) : void 0
19385
+ const R = Un(
19386
+ parseInt(N),
19387
+ F(T) ? parseInt(T) : void 0
19383
19388
  );
19384
- return Q(N) && P >= parseInt(N);
19389
+ return F(S) && R >= parseInt(S);
19385
19390
  };
19386
19391
  return {
19387
19392
  mm: o,
19388
- dd: l,
19393
+ dd: d,
19389
19394
  yyyy: u,
19390
- handleDayChange: (N) => {
19391
- const M = N.target.value;
19392
- n(e, `${o || ""}/${M}/${u || ""}`);
19395
+ handleDayChange: (S) => {
19396
+ const N = S.target.value;
19397
+ n(e, `${o || ""}/${N}/${u || ""}`);
19393
19398
  },
19394
- handleMonthChange: (N) => {
19395
- const M = N.target.value;
19399
+ handleMonthChange: (S) => {
19400
+ const N = S.target.value;
19396
19401
  n(
19397
19402
  e,
19398
- `${M}/${v(l, M, u) ? l : ""}/${u || ""}`
19403
+ `${N}/${v(d, N, u) ? d : ""}/${u || ""}`
19399
19404
  );
19400
19405
  },
19401
- handleYearChange: (N) => {
19402
- const M = N.target.value;
19406
+ handleYearChange: (S) => {
19407
+ const N = S.target.value;
19403
19408
  n(
19404
19409
  e,
19405
- `${o || ""}/${v(l, o, M) ? l : ""}/${M}`
19410
+ `${o || ""}/${v(d, o, N) ? d : ""}/${N}`
19406
19411
  );
19407
19412
  },
19408
- dayOptions: Gn.slice(0, d),
19409
- birthYearOptions: Ft,
19410
- monthOptions: k
19413
+ dayOptions: Gn.slice(0, m),
19414
+ birthYearOptions: xt,
19415
+ monthOptions: l
19411
19416
  };
19412
- }, so = ({
19417
+ }, uo = ({
19413
19418
  name: e,
19414
19419
  className: a,
19415
19420
  hint: n
@@ -19417,29 +19422,29 @@ const dr = {
19417
19422
  const { getLocalPrompt: r } = O(), {
19418
19423
  dd: s,
19419
19424
  mm: o,
19420
- yyyy: l,
19425
+ yyyy: d,
19421
19426
  handleDayChange: u,
19422
- handleMonthChange: d,
19423
- handleYearChange: k,
19427
+ handleMonthChange: m,
19428
+ handleYearChange: l,
19424
19429
  dayOptions: v,
19425
- monthOptions: m,
19430
+ monthOptions: g,
19426
19431
  birthYearOptions: A
19427
- } = oo(e);
19428
- return /* @__PURE__ */ i.jsxs(Me, { className: a, children: [
19432
+ } = lo(e);
19433
+ return /* @__PURE__ */ i.jsxs(ye, { className: a, children: [
19429
19434
  /* @__PURE__ */ i.jsxs("div", { className: "taxbit-row-value", children: [
19430
19435
  /* @__PURE__ */ i.jsxs(
19431
19436
  "select",
19432
19437
  {
19433
- onChange: d,
19438
+ onChange: m,
19434
19439
  value: o,
19435
- className: me(
19440
+ className: ce(
19436
19441
  "taxbit-select",
19437
19442
  "taxbit-select-month",
19438
19443
  E(o) ? "taxbit-placeholder" : ""
19439
19444
  ),
19440
19445
  children: [
19441
19446
  /* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("month") }),
19442
- m.map((p) => /* @__PURE__ */ i.jsx("option", { value: p.value, children: p.label ? p.label : p.value }, p.value))
19447
+ g.map((p) => /* @__PURE__ */ i.jsx("option", { value: p.value, children: p.label ? p.label : p.value }, p.value))
19443
19448
  ]
19444
19449
  }
19445
19450
  ),
@@ -19448,7 +19453,7 @@ const dr = {
19448
19453
  {
19449
19454
  onChange: u,
19450
19455
  value: s,
19451
- className: me(
19456
+ className: ce(
19452
19457
  "taxbit-select",
19453
19458
  "taxbit-select-day",
19454
19459
  E(s) ? "taxbit-placeholder" : ""
@@ -19462,12 +19467,12 @@ const dr = {
19462
19467
  /* @__PURE__ */ i.jsxs(
19463
19468
  "select",
19464
19469
  {
19465
- onChange: k,
19466
- value: l,
19467
- className: me(
19470
+ onChange: l,
19471
+ value: d,
19472
+ className: ce(
19468
19473
  "taxbit-select",
19469
19474
  "taxbit-select-year",
19470
- E(l) ? "taxbit-placeholder" : ""
19475
+ E(d) ? "taxbit-placeholder" : ""
19471
19476
  ),
19472
19477
  children: [
19473
19478
  /* @__PURE__ */ i.jsx("option", { value: "", disabled: !0, hidden: !0, children: r("year") }),
@@ -19478,19 +19483,19 @@ const dr = {
19478
19483
  ] }),
19479
19484
  /* @__PURE__ */ i.jsx(Pe, { name: e, hint: n })
19480
19485
  ] });
19481
- }, lo = ({ name: e, options: a }) => {
19482
- const { fields: n, setValue: r, hideErrors: s, getLocalOption: o } = O(), l = (k) => {
19483
- r(e, k), s();
19484
- }, u = n[e], d = (k) => {
19485
- l(k.target.value);
19486
+ }, co = ({ name: e, options: a }) => {
19487
+ const { fields: n, setValue: r, hideErrors: s, getLocalOption: o } = O(), d = (l) => {
19488
+ r(e, l), s();
19489
+ }, u = n[e], m = (l) => {
19490
+ d(l.target.value);
19486
19491
  };
19487
- return /* @__PURE__ */ i.jsxs(Me, { children: [
19488
- /* @__PURE__ */ i.jsx("div", { className: "taxbit-radio-buttons", children: a.map((k) => /* @__PURE__ */ i.jsxs(
19492
+ return /* @__PURE__ */ i.jsxs(ye, { children: [
19493
+ /* @__PURE__ */ i.jsx("div", { className: "taxbit-radio-buttons", children: a.map((l) => /* @__PURE__ */ i.jsxs(
19489
19494
  "div",
19490
19495
  {
19491
- className: me(
19496
+ className: ce(
19492
19497
  "taxbit-radio-button",
19493
- k.value === u ? "selected" : !1
19498
+ l.value === u ? "selected" : !1
19494
19499
  ),
19495
19500
  children: [
19496
19501
  /* @__PURE__ */ i.jsx(
@@ -19498,20 +19503,21 @@ const dr = {
19498
19503
  {
19499
19504
  type: "radio",
19500
19505
  name: e,
19501
- id: `${e}-${k.value}`,
19502
- value: k.value,
19503
- checked: k.value === u,
19504
- onChange: d
19506
+ "aria-label": `${e}-${l.value}`,
19507
+ id: `${e}-${l.value}`,
19508
+ value: l.value,
19509
+ checked: l.value === u,
19510
+ onChange: m
19505
19511
  }
19506
19512
  ),
19507
- /* @__PURE__ */ i.jsx("label", { htmlFor: `${e}-${k.value}`, children: k.label || o(k.value) })
19513
+ /* @__PURE__ */ i.jsx("label", { htmlFor: `${e}-${l.value}`, children: l.label || o(l.value) })
19508
19514
  ]
19509
19515
  },
19510
- k.value
19516
+ l.value
19511
19517
  )) }),
19512
19518
  /* @__PURE__ */ i.jsx(Pe, { name: e })
19513
19519
  ] });
19514
- }, uo = ({
19520
+ }, mo = ({
19515
19521
  name: e,
19516
19522
  options: a,
19517
19523
  addBlank: n = !0,
@@ -19519,46 +19525,46 @@ const dr = {
19519
19525
  onChange: s,
19520
19526
  disabled: o
19521
19527
  }) => {
19522
- const { fields: l, setValue: u, getLocalOption: d } = O(), k = l[e], v = (m) => {
19523
- s && s(), u(e, m.target.value);
19528
+ const { fields: d, setValue: u, getLocalOption: m } = O(), l = d[e], v = (g) => {
19529
+ s && s(), u(e, g.target.value);
19524
19530
  };
19525
- return /* @__PURE__ */ i.jsxs(Me, { className: r, children: [
19531
+ return /* @__PURE__ */ i.jsxs(ye, { className: r, children: [
19526
19532
  /* @__PURE__ */ i.jsxs(
19527
19533
  "select",
19528
19534
  {
19529
19535
  name: e,
19530
19536
  onChange: v,
19531
- value: k,
19537
+ value: l || "",
19532
19538
  className: "taxbit-select",
19533
19539
  disabled: o,
19534
19540
  children: [
19535
19541
  n && /* @__PURE__ */ i.jsx("option", { value: "" }),
19536
- a.map((m) => /* @__PURE__ */ i.jsx("option", { value: m.value, children: "label" in m ? m.label : d(m.value) }, m.value))
19542
+ a.map((g) => /* @__PURE__ */ i.jsx("option", { value: g.value, children: "label" in g ? g.label : m(g.value) }, g.value))
19537
19543
  ]
19538
19544
  }
19539
19545
  ),
19540
19546
  /* @__PURE__ */ i.jsx(Pe, { name: e })
19541
19547
  ] });
19542
- }, co = ({
19548
+ }, go = ({
19543
19549
  name: e,
19544
19550
  className: a,
19545
19551
  onChange: n,
19546
19552
  hint: r,
19547
19553
  children: s,
19548
19554
  disabled: o,
19549
- syncName: l
19555
+ syncName: d
19550
19556
  }) => {
19551
- const { fields: u, setValue: d } = O(), k = u[e] || "", v = (m) => {
19552
- const A = n ? n(m.target.value) : m.target.value;
19553
- l && (u[l] === u[e] || !u[l]) && d(l, A), d(e, A);
19557
+ const { fields: u, setValue: m } = O(), l = u[e] || "", v = (g) => {
19558
+ const A = n ? n(g.target.value) : g.target.value;
19559
+ d && (u[d] === u[e] || !u[d]) && m(d, A), m(e, A);
19554
19560
  };
19555
- return /* @__PURE__ */ i.jsxs(Me, { className: a, children: [
19561
+ return /* @__PURE__ */ i.jsxs(ye, { className: a, children: [
19556
19562
  /* @__PURE__ */ i.jsx(
19557
19563
  "input",
19558
19564
  {
19559
19565
  type: "text",
19560
19566
  name: e,
19561
- value: k,
19567
+ value: l,
19562
19568
  onChange: v,
19563
19569
  className: "taxbit-input",
19564
19570
  disabled: o
@@ -19567,11 +19573,11 @@ const dr = {
19567
19573
  /* @__PURE__ */ i.jsx(Pe, { name: e, hint: r }),
19568
19574
  s ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: s }) : null
19569
19575
  ] });
19570
- }, mo = ({ name: e }) => {
19576
+ }, ko = ({ name: e }) => {
19571
19577
  const { fields: a, setValue: n, getLocalPrompt: r } = O(), s = a[e], o = () => {
19572
19578
  n(e, s === void 0 ? "yes" : void 0);
19573
19579
  };
19574
- return /* @__PURE__ */ i.jsxs(Me, { children: [
19580
+ return /* @__PURE__ */ i.jsxs(ye, { children: [
19575
19581
  /* @__PURE__ */ i.jsx("div", { children: /* @__PURE__ */ i.jsx(
19576
19582
  "button",
19577
19583
  {
@@ -19585,9 +19591,9 @@ const dr = {
19585
19591
  ) }),
19586
19592
  /* @__PURE__ */ i.jsx(Pe, { name: e })
19587
19593
  ] });
19588
- }, go = ({ onClick: e }) => {
19589
- const { getLocalButton: a } = O(), [n, r] = x(!0), s = "hideShowButton", o = () => {
19590
- r((l) => !l), e();
19594
+ }, ho = ({ onClick: e }) => {
19595
+ const { getLocalButton: a } = O(), [n, r] = K(!0), s = "hideShowButton", o = () => {
19596
+ r((d) => !d), e();
19591
19597
  };
19592
19598
  return /* @__PURE__ */ i.jsx("div", { className: "taxbit-row-actions", children: /* @__PURE__ */ i.jsx(
19593
19599
  "button",
@@ -19596,7 +19602,7 @@ const dr = {
19596
19602
  id: s,
19597
19603
  name: s,
19598
19604
  onClick: o,
19599
- className: me(
19605
+ className: ce(
19600
19606
  "taxbit-row-action-button",
19601
19607
  `taxbit-${n ? "show" : "hide"}-button`
19602
19608
  ),
@@ -19609,7 +19615,7 @@ const dr = {
19609
19615
  )
19610
19616
  }
19611
19617
  ) });
19612
- }, ko = ({
19618
+ }, vo = ({
19613
19619
  value: e = "",
19614
19620
  mask: a = "•",
19615
19621
  onChange: n,
@@ -19617,48 +19623,48 @@ const dr = {
19617
19623
  show: s = !1,
19618
19624
  ...o
19619
19625
  }) => {
19620
- const [l, u] = x(e), [d, k] = x(
19626
+ const [d, u] = K(e), [m, l] = K(
19621
19627
  Array(e.length + 1).join(a)
19622
- ), v = Ln(), [m, A] = x([
19628
+ ), v = Ln(), [g, A] = K([
19623
19629
  0,
19624
19630
  0
19625
19631
  ]), p = Ln(null);
19626
19632
  X(() => {
19627
- e !== l && (u(e), k(Array(e.length + 1).join(a)));
19628
- }, [e, a, l]);
19629
- const N = (M) => {
19630
- const C = M.target.selectionEnd === null ? M.target.value.length : M.target.selectionEnd;
19631
- A([C, C]);
19632
- const P = M.target.value, B = P.replace(
19633
+ e !== d && (u(e), l(Array(e.length + 1).join(a)));
19634
+ }, [e, a, d]);
19635
+ const S = (N) => {
19636
+ const T = N.target.selectionEnd === null ? N.target.value.length : N.target.selectionEnd;
19637
+ A([T, T]);
19638
+ const R = N.target.value, P = R.replace(
19633
19639
  new RegExp(
19634
- `${C ? `(^\\${a}{1,${C}})|` : ""}(\\${a}+)`,
19640
+ `${T ? `(^\\${a}{1,${T}})|` : ""}(\\${a}+)`,
19635
19641
  "g"
19636
19642
  ),
19637
- (L, ee, te) => !te && C ? l.substring(0, L.length) : l.substring(l.length - L.length)
19638
- ), se = P.split("").map((L, ee) => ee === C - 1 ? L : a).join("");
19639
- k(se), u(B), n && n(B);
19643
+ (L, ae, se) => !se && T ? d.substring(0, L.length) : d.substring(d.length - L.length)
19644
+ ), ee = R.split("").map((L, ae) => ae === T - 1 ? L : a).join("");
19645
+ l(ee), u(P), n && n(P);
19640
19646
  };
19641
19647
  return X(() => (clearTimeout(v.current), v.current = setTimeout(() => {
19642
19648
  p.current && A([
19643
19649
  p.current.selectionStart,
19644
19650
  p.current.selectionEnd
19645
- ]), k(Array(d.length + 1).join(a));
19651
+ ]), l(Array(m.length + 1).join(a));
19646
19652
  }, 1e3), () => {
19647
19653
  clearTimeout(v.current);
19648
- }), [a, d]), X(() => {
19649
- p.current && (p.current.selectionStart = m[0], p.current.selectionEnd = m[1]);
19650
- }, [m]), /* @__PURE__ */ i.jsx(
19654
+ }), [a, m]), X(() => {
19655
+ p.current && (p.current.selectionStart = g[0], p.current.selectionEnd = g[1]);
19656
+ }, [g]), /* @__PURE__ */ i.jsx(
19651
19657
  "input",
19652
19658
  {
19653
19659
  ...o,
19654
19660
  ref: p,
19655
19661
  type: "text",
19656
- value: s ? l : d,
19657
- onChange: N,
19662
+ value: s ? d : m,
19663
+ onChange: S,
19658
19664
  disabled: r
19659
19665
  }
19660
19666
  );
19661
- }, ho = ({
19667
+ }, po = ({
19662
19668
  name: e,
19663
19669
  className: a,
19664
19670
  onChange: n,
@@ -19666,27 +19672,27 @@ const dr = {
19666
19672
  children: s,
19667
19673
  disabled: o
19668
19674
  }) => {
19669
- const { fields: l, setValue: u } = O(), [d, k] = x(!0), v = l[e] || "", m = (A) => {
19675
+ const { fields: d, setValue: u } = O(), [m, l] = K(!0), v = d[e] || "", g = (A) => {
19670
19676
  const p = n ? n(A) : A;
19671
19677
  u(e, p);
19672
19678
  };
19673
19679
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
19674
- /* @__PURE__ */ i.jsxs(Me, { className: a, children: [
19680
+ /* @__PURE__ */ i.jsxs(ye, { className: a, children: [
19675
19681
  /* @__PURE__ */ i.jsx(
19676
- ko,
19682
+ vo,
19677
19683
  {
19678
19684
  value: v,
19679
- onChange: m,
19685
+ onChange: g,
19680
19686
  className: "taxbit-input",
19681
19687
  mask: "*",
19682
- show: !d,
19688
+ show: !m,
19683
19689
  disabled: o
19684
19690
  }
19685
19691
  ),
19686
19692
  /* @__PURE__ */ i.jsx(Pe, { name: e, hint: r }),
19687
19693
  s ? /* @__PURE__ */ i.jsx("div", { className: "taxbit-input-status-footer", children: s }) : null
19688
19694
  ] }),
19689
- /* @__PURE__ */ i.jsx(go, { onClick: () => k((A) => !A) })
19695
+ /* @__PURE__ */ i.jsx(ho, { onClick: () => l((A) => !A) })
19690
19696
  ] });
19691
19697
  }, f = ({
19692
19698
  label: e,
@@ -19697,24 +19703,24 @@ const dr = {
19697
19703
  notification: o
19698
19704
  }) => {
19699
19705
  const {
19700
- visibleFields: l,
19706
+ visibleFields: d,
19701
19707
  showField: u,
19702
- hideField: d,
19703
- getRequiredLocalPrompt: k,
19708
+ hideField: m,
19709
+ getRequiredLocalPrompt: l,
19704
19710
  getLocalSubPrompt: v
19705
- } = O(), m = !!l[n];
19711
+ } = O(), g = !!d[n];
19706
19712
  return X(() => {
19707
- m ? u(n) : d(n);
19708
- }, [m, n, u, d]), m ? /* @__PURE__ */ i.jsxs(
19709
- Ke,
19713
+ g ? u(n) : m(n);
19714
+ }, [g, n, u, m]), g ? /* @__PURE__ */ i.jsxs(
19715
+ Ve,
19710
19716
  {
19711
19717
  name: n,
19712
- label: e ? k(n) : void 0,
19718
+ label: e ? l(n) : void 0,
19713
19719
  subLabel: a ? v(n) : void 0,
19714
19720
  onEdit: s,
19715
19721
  children: [
19716
19722
  r,
19717
- o ? /* @__PURE__ */ i.jsx(no, { name: n }) : null
19723
+ o ? /* @__PURE__ */ i.jsx(ro, { name: n }) : null
19718
19724
  ]
19719
19725
  }
19720
19726
  ) : null;
@@ -19724,7 +19730,7 @@ const dr = {
19724
19730
  subLabel: n,
19725
19731
  onClick: r
19726
19732
  }) => /* @__PURE__ */ i.jsx(f, { name: e, children: /* @__PURE__ */ i.jsx(
19727
- ro,
19733
+ so,
19728
19734
  {
19729
19735
  label: a,
19730
19736
  subLabel: n,
@@ -19736,9 +19742,9 @@ const dr = {
19736
19742
  subLabel: a,
19737
19743
  name: n
19738
19744
  }) => {
19739
- const { showErrors: r, invalidFields: s, getLocalError: o } = O(), l = s[n] ? o(s[n]) : "";
19740
- return /* @__PURE__ */ i.jsx(f, { name: n, label: e, subLabel: a, children: r && l && /* @__PURE__ */ i.jsx(Me, { children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: l }) }) });
19741
- }, Be = ({
19745
+ const { showErrors: r, invalidFields: s, getLocalError: o } = O(), d = s[n] ? o(s[n]) : "";
19746
+ return /* @__PURE__ */ i.jsx(f, { name: n, label: e, subLabel: a, children: r && d && /* @__PURE__ */ i.jsx(ye, { children: /* @__PURE__ */ i.jsx("div", { className: "taxbit-error-message", children: d }) }) });
19747
+ }, Me = ({
19742
19748
  name: e,
19743
19749
  label: a,
19744
19750
  hint: n,
@@ -19746,89 +19752,89 @@ const dr = {
19746
19752
  onChange: s,
19747
19753
  disabled: o
19748
19754
  }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
19749
- ho,
19755
+ po,
19750
19756
  {
19751
19757
  name: e,
19752
19758
  onChange: s,
19753
19759
  hint: n,
19754
19760
  disabled: o
19755
19761
  }
19756
- ) }), F = ({
19762
+ ) }), x = ({
19757
19763
  name: e,
19758
19764
  label: a,
19759
19765
  subLabel: n,
19760
19766
  options: r
19761
- }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(lo, { name: e, options: r }) }), ge = ({
19767
+ }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(co, { name: e, options: r }) }), me = ({
19762
19768
  name: e,
19763
19769
  label: a,
19764
19770
  options: n,
19765
19771
  subLabel: r,
19766
19772
  addBlank: s,
19767
19773
  onChange: o,
19768
- disabled: l
19774
+ disabled: d
19769
19775
  }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
19770
- uo,
19776
+ mo,
19771
19777
  {
19772
19778
  name: e,
19773
19779
  options: n,
19774
19780
  addBlank: s,
19775
19781
  onChange: o,
19776
- disabled: l
19782
+ disabled: d
19777
19783
  }
19778
- ) }), Z = ({
19784
+ ) }), Q = ({
19779
19785
  name: e,
19780
19786
  label: a,
19781
19787
  hint: n,
19782
19788
  subLabel: r,
19783
19789
  onChange: s,
19784
19790
  disabled: o,
19785
- syncName: l
19791
+ syncName: d
19786
19792
  }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ i.jsx(
19787
- co,
19793
+ go,
19788
19794
  {
19789
19795
  name: e,
19790
19796
  onChange: s,
19791
19797
  hint: n,
19792
19798
  disabled: o,
19793
- syncName: l
19799
+ syncName: d
19794
19800
  }
19795
- ) }), vo = () => {
19801
+ ) }), fo = () => {
19796
19802
  const { fields: e, getLocalTitle: a } = O(), { onPersistAccountHolderData: n, onCancel: r } = $();
19797
19803
  return /* @__PURE__ */ i.jsxs(
19798
- Ae,
19804
+ be,
19799
19805
  {
19800
19806
  title: a("accountHolderClassification"),
19801
- actions: /* @__PURE__ */ i.jsx(to, {}),
19807
+ actions: /* @__PURE__ */ i.jsx(oo, {}),
19802
19808
  children: [
19803
19809
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
19804
19810
  /* @__PURE__ */ i.jsx(
19805
- F,
19811
+ x,
19806
19812
  {
19807
19813
  name: "accountHolderUsPerson",
19808
- options: Ee,
19814
+ options: Be,
19809
19815
  label: !0
19810
19816
  }
19811
19817
  ),
19812
19818
  /* @__PURE__ */ i.jsx(
19813
- F,
19819
+ x,
19814
19820
  {
19815
19821
  name: "accountHolderIsEuResident",
19816
- options: Ee,
19822
+ options: Be,
19817
19823
  label: !0,
19818
19824
  subLabel: !0
19819
19825
  }
19820
19826
  ),
19821
19827
  /* @__PURE__ */ i.jsx(
19822
- F,
19828
+ x,
19823
19829
  {
19824
19830
  name: "accountHolderIsIndividual",
19825
- options: Ee,
19831
+ options: Be,
19826
19832
  label: !0,
19827
19833
  subLabel: !0
19828
19834
  }
19829
19835
  ),
19830
19836
  /* @__PURE__ */ i.jsx(
19831
- F,
19837
+ x,
19832
19838
  {
19833
19839
  name: "accountHolderUsAccountType",
19834
19840
  options: et,
@@ -19836,33 +19842,33 @@ const dr = {
19836
19842
  }
19837
19843
  ),
19838
19844
  /* @__PURE__ */ i.jsx(
19839
- F,
19845
+ x,
19840
19846
  {
19841
19847
  name: "accountHolderUsSmllcElection",
19842
- options: Ee,
19848
+ options: Be,
19843
19849
  label: !0,
19844
19850
  subLabel: !0
19845
19851
  }
19846
19852
  ),
19847
19853
  /* @__PURE__ */ i.jsx(
19848
- F,
19854
+ x,
19849
19855
  {
19850
19856
  name: "accountHolderUsLlcClassification",
19851
19857
  options: ri,
19852
19858
  label: !0
19853
19859
  }
19854
19860
  ),
19855
- /* @__PURE__ */ i.jsx(Z, { name: "accountHolderUsOtherClassification", label: !0 }),
19861
+ /* @__PURE__ */ i.jsx(Q, { name: "accountHolderUsOtherClassification", label: !0 }),
19856
19862
  /* @__PURE__ */ i.jsx(
19857
- F,
19863
+ x,
19858
19864
  {
19859
19865
  name: "accountHolderUsTrustEstateEin",
19860
- options: Ee,
19866
+ options: Be,
19861
19867
  label: !0
19862
19868
  }
19863
19869
  ),
19864
19870
  /* @__PURE__ */ i.jsx(
19865
- F,
19871
+ x,
19866
19872
  {
19867
19873
  name: "accountHolderForeignAccountType",
19868
19874
  options: $n,
@@ -19870,7 +19876,7 @@ const dr = {
19870
19876
  }
19871
19877
  ),
19872
19878
  /* @__PURE__ */ i.jsx(
19873
- F,
19879
+ x,
19874
19880
  {
19875
19881
  name: "accountHolderForeignOtherClassification",
19876
19882
  options: ni,
@@ -19878,7 +19884,7 @@ const dr = {
19878
19884
  }
19879
19885
  ),
19880
19886
  /* @__PURE__ */ i.jsx(
19881
- F,
19887
+ x,
19882
19888
  {
19883
19889
  name: "accountHolderForeignTrustClassification",
19884
19890
  options: ti,
@@ -19887,7 +19893,7 @@ const dr = {
19887
19893
  )
19888
19894
  ] }),
19889
19895
  /* @__PURE__ */ i.jsx(
19890
- be,
19896
+ Ce,
19891
19897
  {
19892
19898
  onCancel: r,
19893
19899
  onNext: () => n(e)
@@ -19896,7 +19902,7 @@ const dr = {
19896
19902
  ]
19897
19903
  }
19898
19904
  );
19899
- }, po = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(vo, {}) }), Ka = ({
19905
+ }, Ao = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(fo, {}) }), Ka = ({
19900
19906
  prompt: e,
19901
19907
  prefix: a,
19902
19908
  showIf: n = !0
@@ -19905,33 +19911,33 @@ const dr = {
19905
19911
  fields: r,
19906
19912
  hideErrors: s,
19907
19913
  getLocalCountry: o,
19908
- getLocalCaProvince: l,
19914
+ getLocalCaProvince: d,
19909
19915
  getLocalUsState: u,
19910
- hideField: d
19911
- } = O(), k = r[`${a}Country`], v = J(
19916
+ hideField: m
19917
+ } = O(), l = r[`${a}Country`], v = _(
19912
19918
  () => ua.map((p) => ({
19913
19919
  ...p,
19914
19920
  label: o(p.value)
19915
- })).sort((p, N) => p.label.localeCompare(N.label)),
19921
+ })).sort((p, S) => p.label.localeCompare(S.label)),
19916
19922
  [o]
19917
- ), m = J(
19918
- () => Gt.map((p) => ({
19923
+ ), g = _(
19924
+ () => Dt.map((p) => ({
19919
19925
  ...p,
19920
19926
  label: u(p.value)
19921
- })).sort((p, N) => p.label.localeCompare(N.label)),
19927
+ })).sort((p, S) => p.label.localeCompare(S.label)),
19922
19928
  [u]
19923
- ), A = J(
19924
- () => ft.map((p) => ({
19929
+ ), A = _(
19930
+ () => At.map((p) => ({
19925
19931
  ...p,
19926
- label: l(p.value)
19927
- })).sort((p, N) => p.label.localeCompare(N.label)),
19928
- [l]
19932
+ label: d(p.value)
19933
+ })).sort((p, S) => p.label.localeCompare(S.label)),
19934
+ [d]
19929
19935
  );
19930
19936
  return X(() => {
19931
- n || (d(`${a}Street`), d(`${a}Street2`), d(`${a}City`), d(`${a}State`), d(`${a}Country`), d(`${a}Zip`));
19932
- }, [d, a, n]), n ? /* @__PURE__ */ i.jsxs(oe, { title: e, children: [
19937
+ n || (m(`${a}Street`), m(`${a}Street2`), m(`${a}City`), m(`${a}State`), m(`${a}Country`), m(`${a}Zip`));
19938
+ }, [m, a, n]), n ? /* @__PURE__ */ i.jsxs(oe, { title: e, children: [
19933
19939
  /* @__PURE__ */ i.jsx(
19934
- ge,
19940
+ me,
19935
19941
  {
19936
19942
  name: `${a}Country`,
19937
19943
  options: v,
@@ -19939,52 +19945,52 @@ const dr = {
19939
19945
  label: !0
19940
19946
  }
19941
19947
  ),
19942
- /* @__PURE__ */ i.jsx(Z, { name: `${a}Street`, label: !0 }),
19943
- /* @__PURE__ */ i.jsx(Z, { name: `${a}Street2`, label: !0 }),
19944
- /* @__PURE__ */ i.jsx(Z, { name: `${a}City`, label: !0 }),
19945
- k !== "CA" && k !== "US" ? /* @__PURE__ */ i.jsx(Z, { label: !0, name: `${a}State` }) : /* @__PURE__ */ i.jsx(
19946
- ge,
19948
+ /* @__PURE__ */ i.jsx(Q, { name: `${a}Street`, label: !0 }),
19949
+ /* @__PURE__ */ i.jsx(Q, { name: `${a}Street2`, label: !0 }),
19950
+ /* @__PURE__ */ i.jsx(Q, { name: `${a}City`, label: !0 }),
19951
+ l !== "CA" && l !== "US" ? /* @__PURE__ */ i.jsx(Q, { label: !0, name: `${a}State` }) : /* @__PURE__ */ i.jsx(
19952
+ me,
19947
19953
  {
19948
19954
  name: `${a}State`,
19949
19955
  className: "taxbit-state",
19950
- options: k === "CA" ? A : m,
19956
+ options: l === "CA" ? A : g,
19951
19957
  label: !0
19952
19958
  }
19953
19959
  ),
19954
- /* @__PURE__ */ i.jsx(Z, { name: `${a}Zip`, label: !0 })
19960
+ /* @__PURE__ */ i.jsx(Q, { name: `${a}Zip`, label: !0 })
19955
19961
  ] }) : null;
19956
- }, fo = ({
19962
+ }, bo = ({
19957
19963
  name: e,
19958
19964
  label: a,
19959
19965
  subLabel: n
19960
- }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(so, { name: e }) }), Ao = () => {
19961
- const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: s } = $(), { fields: o, getLocalCountry: l, getLocalTitle: u } = O(), d = J(
19962
- () => ua.map((k) => ({
19963
- ...k,
19964
- label: l(k.value)
19965
- })).sort((k, v) => k.label.localeCompare(v.label)),
19966
- [l]
19966
+ }) => /* @__PURE__ */ i.jsx(f, { name: e, label: a, subLabel: n, children: /* @__PURE__ */ i.jsx(uo, { name: e }) }), Co = () => {
19967
+ const { onPersistCollectedData: e, goBack: a, onCancel: n, isW9: r, isW8: s } = $(), { fields: o, getLocalCountry: d, getLocalTitle: u } = O(), m = _(
19968
+ () => ua.map((l) => ({
19969
+ ...l,
19970
+ label: d(l.value)
19971
+ })).sort((l, v) => l.label.localeCompare(v.label)),
19972
+ [d]
19967
19973
  );
19968
- return /* @__PURE__ */ i.jsxs(Ae, { title: u("accountHolderContactInformation"), children: [
19974
+ return /* @__PURE__ */ i.jsxs(be, { title: u("accountHolderContactInformation"), children: [
19969
19975
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
19970
19976
  /* @__PURE__ */ i.jsx(
19971
- ge,
19977
+ me,
19972
19978
  {
19973
19979
  label: !0,
19974
19980
  name: "accountHolderCountryOfCitizenship",
19975
- options: d
19981
+ options: m
19976
19982
  }
19977
19983
  ),
19978
19984
  /* @__PURE__ */ i.jsx(
19979
- Z,
19985
+ Q,
19980
19986
  {
19981
19987
  label: !0,
19982
19988
  name: "accountHolderName",
19983
19989
  syncName: "accountHolderFinancialAccountName"
19984
19990
  }
19985
19991
  ),
19986
- /* @__PURE__ */ i.jsx(Z, { label: !0, name: "accountHolderDbaName" }),
19987
- /* @__PURE__ */ i.jsx(fo, { name: "accountHolderDateOfBirth", label: !0 }),
19992
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "accountHolderDbaName" }),
19993
+ /* @__PURE__ */ i.jsx(bo, { name: "accountHolderDateOfBirth", label: !0 }),
19988
19994
  /* @__PURE__ */ i.jsx(
19989
19995
  Ka,
19990
19996
  {
@@ -20004,7 +20010,7 @@ const dr = {
20004
20010
  )
20005
20011
  ] }),
20006
20012
  /* @__PURE__ */ i.jsx(
20007
- be,
20013
+ Ce,
20008
20014
  {
20009
20015
  onCancel: n,
20010
20016
  onBack: a,
@@ -20012,94 +20018,94 @@ const dr = {
20012
20018
  }
20013
20019
  )
20014
20020
  ] });
20015
- }, bo = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(Ao, {}) }), la = ({
20021
+ }, Io = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Co, {}) }), la = ({
20016
20022
  index: e,
20017
20023
  showIf: a = !0,
20018
20024
  onShow: n,
20019
20025
  more: r,
20020
20026
  countryOptions: s
20021
20027
  }) => {
20022
- const { fields: o, getLocalTitle: l, hideField: u, clearIfNotRequired: d } = O(), k = `accountHolderTaxResidenceCountry${e}`, v = `accountHolderTaxResidenceForeignTin${e}`, m = `accountHolderTaxResidenceForeignTin${e}IsNotRequired`, A = `accountHolderShowTaxResidence${e + 1}`, p = `taxResidence${e}`, M = [
20028
+ 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
20029
  o.accountHolderTaxResidenceCountry1,
20024
20030
  o.accountHolderTaxResidenceCountry2,
20025
20031
  o.accountHolderTaxResidenceCountry3,
20026
20032
  o.accountHolderTaxResidenceCountry4,
20027
20033
  o.accountHolderTaxResidenceCountry5
20028
20034
  ].filter(
20029
- (P) => P !== o[`accountHolderTaxResidenceCountry${e}`]
20030
- ), C = s.filter(
20031
- (P) => !M.includes(P.value)
20035
+ (R) => R !== o[`accountHolderTaxResidenceCountry${e}`]
20036
+ ), T = s.filter(
20037
+ (R) => !N.includes(R.value)
20032
20038
  );
20033
20039
  return X(() => {
20034
- a || (u(k), u(v), u(m), u(A));
20040
+ a || (u(l), u(v), u(g), u(A));
20035
20041
  }, [
20036
- k,
20042
+ l,
20037
20043
  u,
20038
- m,
20044
+ g,
20039
20045
  a,
20040
20046
  v,
20041
20047
  A
20042
20048
  ]), a ? (n && n(), /* @__PURE__ */ i.jsxs(
20043
20049
  oe,
20044
20050
  {
20045
- title: l(p),
20051
+ title: d(p),
20046
20052
  showIf: o.accountHolderIsIndividual !== void 0,
20047
20053
  children: [
20048
20054
  /* @__PURE__ */ i.jsx(
20049
- ge,
20055
+ me,
20050
20056
  {
20051
- name: k,
20057
+ name: l,
20052
20058
  className: "taxbit-country",
20053
- options: C,
20059
+ options: T,
20054
20060
  label: !0
20055
20061
  }
20056
20062
  ),
20057
20063
  /* @__PURE__ */ i.jsx(
20058
- Be,
20064
+ Me,
20059
20065
  {
20060
20066
  name: v,
20061
20067
  label: !0,
20062
- disabled: o[m] === "yes"
20068
+ disabled: o[g] === "yes"
20063
20069
  }
20064
20070
  ),
20065
20071
  /* @__PURE__ */ i.jsx(
20066
20072
  D,
20067
20073
  {
20068
20074
  label: !0,
20069
- name: m,
20070
- onClick: d(v)
20075
+ name: g,
20076
+ onClick: m(v)
20071
20077
  }
20072
20078
  ),
20073
- r ? /* @__PURE__ */ i.jsx(Ke, { children: /* @__PURE__ */ i.jsx(mo, { name: A }) }) : null
20079
+ r ? /* @__PURE__ */ i.jsx(Ve, { children: /* @__PURE__ */ i.jsx(ko, { name: A }) }) : null
20074
20080
  ]
20075
20081
  }
20076
20082
  )) : null;
20077
- }, Co = () => {
20083
+ }, So = () => {
20078
20084
  const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), {
20079
20085
  fields: r,
20080
20086
  getLocalTitle: s,
20081
20087
  getLocalSubTitle: o,
20082
- getLocalCountry: l,
20088
+ getLocalCountry: d,
20083
20089
  clearIfNotRequired: u,
20084
- setValue: d
20085
- } = O(), k = J(
20086
- () => bt.map((m) => ({
20087
- ...m,
20088
- label: l(m.value)
20089
- })).sort((m, A) => m.label.localeCompare(A.label)),
20090
- [l]
20091
- ), v = J(
20092
- () => ua.map((m) => ({
20093
- ...m,
20094
- label: l(m.value)
20095
- })).sort((m, A) => m.label.localeCompare(A.label)),
20096
- [l]
20090
+ setValue: m
20091
+ } = O(), l = _(
20092
+ () => Ct.map((g) => ({
20093
+ ...g,
20094
+ label: d(g.value)
20095
+ })).sort((g, A) => g.label.localeCompare(A.label)),
20096
+ [d]
20097
+ ), v = _(
20098
+ () => ua.map((g) => ({
20099
+ ...g,
20100
+ label: d(g.value)
20101
+ })).sort((g, A) => g.label.localeCompare(A.label)),
20102
+ [d]
20097
20103
  );
20098
- return /* @__PURE__ */ i.jsxs(Ae, { title: s("accountHolderTaxInformation"), children: [
20104
+ return /* @__PURE__ */ i.jsxs(be, { title: s("accountHolderTaxInformation"), children: [
20099
20105
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20100
- /* @__PURE__ */ i.jsx(Be, { name: "accountHolderUsTin", label: !0 }),
20106
+ /* @__PURE__ */ i.jsx(Me, { name: "accountHolderUsTin", label: !0 }),
20101
20107
  /* @__PURE__ */ i.jsx(
20102
- Be,
20108
+ Me,
20103
20109
  {
20104
20110
  name: "accountHolderForeignTin",
20105
20111
  disabled: r.accountHolderForeignTinIsNotRequired === "yes",
@@ -20115,27 +20121,27 @@ const dr = {
20115
20121
  }
20116
20122
  ),
20117
20123
  /* @__PURE__ */ i.jsx(
20118
- Z,
20124
+ Me,
20119
20125
  {
20120
20126
  name: "accountHolderFinancialAccountIdentifier",
20121
20127
  label: !0,
20122
20128
  subLabel: !0
20123
20129
  }
20124
20130
  ),
20125
- /* @__PURE__ */ i.jsx(Z, { name: "accountHolderFinancialAccountName", label: !0, subLabel: !0 }),
20131
+ /* @__PURE__ */ i.jsx(Q, { name: "accountHolderFinancialAccountName", label: !0, subLabel: !0 }),
20126
20132
  /* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsEuResident === "yes", children: [
20127
20133
  /* @__PURE__ */ i.jsx(
20128
- ge,
20134
+ me,
20129
20135
  {
20130
20136
  name: "accountHolderVatCountry",
20131
20137
  className: "taxbit-country",
20132
- options: k,
20138
+ options: l,
20133
20139
  disabled: r.accountHolderVatIsNotRequired === "yes",
20134
20140
  label: !0
20135
20141
  }
20136
20142
  ),
20137
20143
  /* @__PURE__ */ i.jsx(
20138
- Be,
20144
+ Me,
20139
20145
  {
20140
20146
  name: "accountHolderVatIdentificationNumber",
20141
20147
  disabled: r.accountHolderVatIsNotRequired === "yes",
@@ -20157,7 +20163,7 @@ const dr = {
20157
20163
  ] }),
20158
20164
  /* @__PURE__ */ i.jsxs(oe, { showIf: r.accountHolderIsIndividual === "no", children: [
20159
20165
  /* @__PURE__ */ i.jsx(
20160
- ge,
20166
+ me,
20161
20167
  {
20162
20168
  name: "accountHolderBusinessRegistrationCountry",
20163
20169
  className: "taxbit-country",
@@ -20166,7 +20172,7 @@ const dr = {
20166
20172
  }
20167
20173
  ),
20168
20174
  /* @__PURE__ */ i.jsx(
20169
- Be,
20175
+ Me,
20170
20176
  {
20171
20177
  name: "accountHolderBusinessRegistrationNumber",
20172
20178
  label: !0
@@ -20187,7 +20193,7 @@ const dr = {
20187
20193
  index: 1,
20188
20194
  showIf: r.accountHolderIsIndividual !== void 0,
20189
20195
  onShow: () => {
20190
- r.accountHolderTaxResidenceCountry1 === void 0 && d(
20196
+ r.accountHolderTaxResidenceCountry1 === void 0 && m(
20191
20197
  "accountHolderTaxResidenceCountry1",
20192
20198
  r.accountHolderAddressCountry
20193
20199
  );
@@ -20236,7 +20242,7 @@ const dr = {
20236
20242
  )
20237
20243
  ] }),
20238
20244
  /* @__PURE__ */ i.jsx(
20239
- be,
20245
+ Ce,
20240
20246
  {
20241
20247
  onCancel: n,
20242
20248
  onBack: a,
@@ -20244,24 +20250,63 @@ const dr = {
20244
20250
  }
20245
20251
  )
20246
20252
  ] });
20247
- }, Io = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(Co, {}) }), So = () => {
20253
+ }, No = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(So, {}) }), To = () => {
20254
+ const { getLocalCountry: e, getLocalTitle: a, getLocalSubPrompt: n } = O(), r = _(
20255
+ () => ua.map((s) => ({
20256
+ ...s,
20257
+ label: e(s.value)
20258
+ })).sort((s, o) => s.label.localeCompare(o.label)),
20259
+ [e]
20260
+ );
20261
+ return /* @__PURE__ */ i.jsxs(
20262
+ oe,
20263
+ {
20264
+ title: a("placeOfBirth"),
20265
+ subTitle: n("accountHolderCityOfBirth"),
20266
+ children: [
20267
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "accountHolderCityOfBirth" }),
20268
+ /* @__PURE__ */ i.jsx(
20269
+ me,
20270
+ {
20271
+ label: !0,
20272
+ name: "accountHolderCountryOfBirth",
20273
+ options: r
20274
+ }
20275
+ )
20276
+ ]
20277
+ }
20278
+ );
20279
+ }, Mo = () => {
20280
+ const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalTitle: s } = O();
20281
+ return /* @__PURE__ */ i.jsxs(be, { title: s("accountHolderTaxInformation"), children: [
20282
+ /* @__PURE__ */ i.jsx("main", { className: "taxbit-page-main", children: /* @__PURE__ */ i.jsx(To, {}) }),
20283
+ /* @__PURE__ */ i.jsx(
20284
+ Ce,
20285
+ {
20286
+ onCancel: n,
20287
+ onBack: a,
20288
+ onNext: () => e(r)
20289
+ }
20290
+ )
20291
+ ] });
20292
+ }, yo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Mo, {}) }), jo = () => {
20248
20293
  const { onPersistCollectedData: e, goBack: a } = $(), { fields: n } = O();
20249
- return /* @__PURE__ */ i.jsxs(Ae, { title: "exemptions", children: [
20294
+ return /* @__PURE__ */ i.jsxs(be, { title: "exemptions", children: [
20250
20295
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20251
- /* @__PURE__ */ i.jsx(ge, { name: "exemptFatcaCode", options: St, label: !0 }),
20252
- /* @__PURE__ */ i.jsx(ge, { name: "exemptPayeeCode", options: Pt, label: !0 })
20296
+ /* @__PURE__ */ i.jsx(me, { name: "exemptFatcaCode", options: Nt, label: !0 }),
20297
+ /* @__PURE__ */ i.jsx(me, { name: "exemptPayeeCode", options: Rt, label: !0 })
20253
20298
  ] }),
20254
- /* @__PURE__ */ i.jsx(be, { onBack: a, onNext: () => e(n) })
20299
+ /* @__PURE__ */ i.jsx(Ce, { onBack: a, onNext: () => e(n) })
20255
20300
  ] });
20256
- }, No = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(So, {}) }), To = () => {
20257
- const { fields: e, getLocalTitle: a, getLocalOption: n } = O(), { onPersistCollectedData: r, goBack: s } = $(), o = Ee.map((l) => ({
20258
- ...l,
20259
- label: n(`usPerson_${l.value}`)
20301
+ }, Oo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(jo, {}) }), zo = () => {
20302
+ const { fields: e, getLocalTitle: a, getLocalOption: n } = O(), { onPersistCollectedData: r, goBack: s } = $(), o = Be.map((d) => ({
20303
+ ...d,
20304
+ label: n(`usPerson_${d.value}`)
20260
20305
  }));
20261
- return /* @__PURE__ */ i.jsxs(Ae, { title: a("regardedOwnerClassification"), children: [
20306
+ return /* @__PURE__ */ i.jsxs(be, { title: a("regardedOwnerClassification"), children: [
20262
20307
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20263
20308
  /* @__PURE__ */ i.jsx(
20264
- F,
20309
+ x,
20265
20310
  {
20266
20311
  name: "regardedOwnerUsPerson",
20267
20312
  options: o,
@@ -20269,40 +20314,40 @@ const dr = {
20269
20314
  }
20270
20315
  ),
20271
20316
  /* @__PURE__ */ i.jsx(
20272
- F,
20317
+ x,
20273
20318
  {
20274
20319
  name: "regardedOwnerUsAccountType",
20275
- options: Ht,
20320
+ options: Lt,
20276
20321
  label: !0
20277
20322
  }
20278
20323
  ),
20279
20324
  /* @__PURE__ */ i.jsx(
20280
- F,
20325
+ x,
20281
20326
  {
20282
20327
  name: "regardedOwnerForeignAccountType",
20283
- options: Mt,
20328
+ options: yt,
20284
20329
  label: !0
20285
20330
  }
20286
20331
  ),
20287
20332
  /* @__PURE__ */ i.jsx(
20288
- F,
20333
+ x,
20289
20334
  {
20290
20335
  name: "regardedOwnerUsLlcClassification",
20291
20336
  options: ri,
20292
20337
  label: !0
20293
20338
  }
20294
20339
  ),
20295
- /* @__PURE__ */ i.jsx(Z, { name: "regardedOwnerUsOtherClassification", label: !0 }),
20340
+ /* @__PURE__ */ i.jsx(Q, { name: "regardedOwnerUsOtherClassification", label: !0 }),
20296
20341
  /* @__PURE__ */ i.jsx(
20297
- F,
20342
+ x,
20298
20343
  {
20299
20344
  name: "regardedOwnerUsTrustEstateEin",
20300
- options: Ee,
20345
+ options: Be,
20301
20346
  label: !0
20302
20347
  }
20303
20348
  ),
20304
20349
  /* @__PURE__ */ i.jsx(
20305
- F,
20350
+ x,
20306
20351
  {
20307
20352
  name: "regardedOwnerForeignOtherClassification",
20308
20353
  options: ni,
@@ -20310,7 +20355,7 @@ const dr = {
20310
20355
  }
20311
20356
  ),
20312
20357
  /* @__PURE__ */ i.jsx(
20313
- F,
20358
+ x,
20314
20359
  {
20315
20360
  name: "regardedOwnerForeignTrustClassification",
20316
20361
  options: ti,
@@ -20318,28 +20363,28 @@ const dr = {
20318
20363
  }
20319
20364
  )
20320
20365
  ] }),
20321
- /* @__PURE__ */ i.jsx(be, { onBack: s, onNext: () => r(e) })
20366
+ /* @__PURE__ */ i.jsx(Ce, { onBack: s, onNext: () => r(e) })
20322
20367
  ] });
20323
- }, Mo = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(To, {}) }), yo = () => {
20324
- const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalCountry: s, getLocalTitle: o } = O(), l = J(
20368
+ }, Eo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(zo, {}) }), Bo = () => {
20369
+ const { onPersistCollectedData: e, goBack: a, onCancel: n } = $(), { fields: r, getLocalCountry: s, getLocalTitle: o } = O(), d = _(
20325
20370
  () => ua.map((u) => ({
20326
20371
  ...u,
20327
20372
  label: s(u.value)
20328
- })).sort((u, d) => u.label.localeCompare(d.label)),
20373
+ })).sort((u, m) => u.label.localeCompare(m.label)),
20329
20374
  [s]
20330
20375
  );
20331
- return /* @__PURE__ */ i.jsxs(Ae, { title: o("regardedOwnerContactInformation"), children: [
20376
+ return /* @__PURE__ */ i.jsxs(be, { title: o("regardedOwnerContactInformation"), children: [
20332
20377
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20333
20378
  /* @__PURE__ */ i.jsx(
20334
- ge,
20379
+ me,
20335
20380
  {
20336
20381
  label: !0,
20337
20382
  name: "regardedOwnerCountryOfCitizenship",
20338
- options: l
20383
+ options: d
20339
20384
  }
20340
20385
  ),
20341
- /* @__PURE__ */ i.jsx(Z, { label: !0, name: "regardedOwnerName" }),
20342
- /* @__PURE__ */ i.jsx(Z, { label: !0, name: "regardedOwnerDbaName" }),
20386
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerName" }),
20387
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "regardedOwnerDbaName" }),
20343
20388
  /* @__PURE__ */ i.jsx(
20344
20389
  Ka,
20345
20390
  {
@@ -20358,7 +20403,7 @@ const dr = {
20358
20403
  )
20359
20404
  ] }),
20360
20405
  /* @__PURE__ */ i.jsx(
20361
- be,
20406
+ Ce,
20362
20407
  {
20363
20408
  onCancel: n,
20364
20409
  onBack: a,
@@ -20366,12 +20411,12 @@ const dr = {
20366
20411
  }
20367
20412
  )
20368
20413
  ] });
20369
- }, jo = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(yo, {}) }), Oo = () => {
20414
+ }, Po = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Bo, {}) }), Ro = () => {
20370
20415
  const { onPersistCollectedData: e, goBack: a } = $(), { fields: n, getLocalTitle: r, clearIfNotRequired: s } = O();
20371
- return /* @__PURE__ */ i.jsxs(Ae, { title: r("regardedOwnerTaxInformation"), children: [
20416
+ return /* @__PURE__ */ i.jsxs(be, { title: r("regardedOwnerTaxInformation"), children: [
20372
20417
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20373
- /* @__PURE__ */ i.jsx(Be, { name: "regardedOwnerUsTin", label: !0 }),
20374
- /* @__PURE__ */ i.jsx(Be, { name: "regardedOwnerForeignTin", label: !0 }),
20418
+ /* @__PURE__ */ i.jsx(Me, { name: "regardedOwnerUsTin", label: !0 }),
20419
+ /* @__PURE__ */ i.jsx(Me, { name: "regardedOwnerForeignTin", label: !0 }),
20375
20420
  /* @__PURE__ */ i.jsx(
20376
20421
  D,
20377
20422
  {
@@ -20381,9 +20426,9 @@ const dr = {
20381
20426
  }
20382
20427
  )
20383
20428
  ] }),
20384
- /* @__PURE__ */ i.jsx(be, { onBack: a, onNext: () => e(n) })
20429
+ /* @__PURE__ */ i.jsx(Ce, { onBack: a, onNext: () => e(n) })
20385
20430
  ] });
20386
- }, zo = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(Oo, {}) }), ne = ({ text: e }) => {
20431
+ }, wo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(Ro, {}) }), te = ({ text: e }) => {
20387
20432
  const n = ((r) => {
20388
20433
  if (!r)
20389
20434
  return "";
@@ -20391,59 +20436,63 @@ const dr = {
20391
20436
  return "*".repeat(s) + r.substring(s);
20392
20437
  })(e);
20393
20438
  return /* @__PURE__ */ i.jsx("span", { children: n });
20394
- }, Eo = () => {
20439
+ }, Ho = () => {
20395
20440
  const { data: e, editTo: a, isW9: n, isW8: r } = $(), {
20396
20441
  getLocalTitle: s,
20397
20442
  getLocalOption: o,
20398
- getLocalCountry: l,
20443
+ getLocalCountry: d,
20399
20444
  getLocalText: u,
20400
- visibleFields: d
20401
- } = O();
20402
- return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
20445
+ visibleFields: m,
20446
+ showField: l,
20447
+ hideField: v
20448
+ } = O(), g = !!m.accountHolderAddressCountry;
20449
+ return X(() => {
20450
+ 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"));
20451
+ }, [g, l, v]), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
20403
20452
  /* @__PURE__ */ i.jsxs(oe, { title: s("accountHolder"), children: [
20404
20453
  /* @__PURE__ */ i.jsx(
20405
20454
  f,
20406
20455
  {
20407
20456
  label: !0,
20408
- name: "accountHolderName",
20409
- onEdit: () => a("AccountHolderContact"),
20410
- children: e == null ? void 0 : e.accountHolderName
20457
+ onEdit: () => a("AccountHolderClassification"),
20458
+ name: "accountHolderIsEuResident",
20459
+ children: o(e == null ? void 0 : e.accountHolderIsEuResident)
20411
20460
  }
20412
20461
  ),
20413
20462
  /* @__PURE__ */ i.jsx(
20414
20463
  f,
20415
20464
  {
20416
20465
  label: !0,
20417
- name: "accountHolderCountryOfCitizenship",
20418
- onEdit: () => a("AccountHolderContact"),
20419
- children: l(e == null ? void 0 : e.accountHolderCountryOfCitizenship)
20466
+ onEdit: () => a("AccountHolderClassification"),
20467
+ name: "accountHolderIsIndividual",
20468
+ children: o(e == null ? void 0 : e.accountHolderIsIndividual)
20420
20469
  }
20421
20470
  ),
20422
20471
  /* @__PURE__ */ i.jsx(
20423
20472
  f,
20424
20473
  {
20425
20474
  label: !0,
20426
- name: "accountHolderDateOfBirth",
20427
- onEdit: () => a("AccountHolderContact"),
20428
- children: e == null ? void 0 : e.accountHolderDateOfBirth
20475
+ onEdit: () => a("AccountHolderClassification"),
20476
+ name: "accountHolderUsPerson",
20477
+ children: o(e == null ? void 0 : e.accountHolderUsPerson)
20429
20478
  }
20430
20479
  ),
20431
20480
  /* @__PURE__ */ i.jsx(
20432
20481
  f,
20433
20482
  {
20434
20483
  label: !0,
20435
- name: "accountHolderCityOfBirth",
20436
- onEdit: () => a("AccountHolderTaxClarification"),
20437
- children: e == null ? void 0 : e.accountHolderCityOfBirth
20484
+ onEdit: () => a("AccountHolderClassification"),
20485
+ name: "accountHolderUsPerson",
20486
+ children: o(e == null ? void 0 : e.accountHolderUsPerson)
20438
20487
  }
20439
20488
  ),
20440
20489
  /* @__PURE__ */ i.jsx(
20441
20490
  f,
20442
20491
  {
20443
20492
  label: !0,
20444
- name: "accountHolderCountryOfBirth",
20445
- onEdit: () => a("AccountHolderTaxClarification"),
20446
- children: l(e == null ? void 0 : e.accountHolderCountryOfBirth)
20493
+ onEdit: () => a("AccountHolderClassification"),
20494
+ name: "accountHolderUsAccountType",
20495
+ children: o(e == null ? void 0 : e.accountHolderUsAccountType)
20447
20496
  }
20448
20497
  ),
20449
20498
  /* @__PURE__ */ i.jsx(
@@ -20451,8 +20500,8 @@ const dr = {
20451
20500
  {
20452
20501
  label: !0,
20453
20502
  onEdit: () => a("AccountHolderClassification"),
20454
- name: "accountHolderIsEuResident",
20455
- children: o(e == null ? void 0 : e.accountHolderIsEuResident)
20503
+ name: "accountHolderUsLlcClassification",
20504
+ children: o(e == null ? void 0 : e.accountHolderUsLlcClassification)
20456
20505
  }
20457
20506
  ),
20458
20507
  /* @__PURE__ */ i.jsx(
@@ -20460,8 +20509,8 @@ const dr = {
20460
20509
  {
20461
20510
  label: !0,
20462
20511
  onEdit: () => a("AccountHolderClassification"),
20463
- name: "accountHolderIsIndividual",
20464
- children: o(e == null ? void 0 : e.accountHolderIsIndividual)
20512
+ name: "accountHolderUsOtherClassification",
20513
+ children: e == null ? void 0 : e.accountHolderUsOtherClassification
20465
20514
  }
20466
20515
  ),
20467
20516
  /* @__PURE__ */ i.jsx(
@@ -20469,8 +20518,8 @@ const dr = {
20469
20518
  {
20470
20519
  label: !0,
20471
20520
  onEdit: () => a("AccountHolderClassification"),
20472
- name: "accountHolderUsPerson",
20473
- children: o(e == null ? void 0 : e.accountHolderUsPerson)
20521
+ name: "accountHolderUsTrustEstateEin",
20522
+ children: o(e == null ? void 0 : e.accountHolderUsTrustEstateEin)
20474
20523
  }
20475
20524
  ),
20476
20525
  /* @__PURE__ */ i.jsx(
@@ -20478,8 +20527,8 @@ const dr = {
20478
20527
  {
20479
20528
  label: !0,
20480
20529
  onEdit: () => a("AccountHolderClassification"),
20481
- name: "accountHolderUsPerson",
20482
- children: o(e == null ? void 0 : e.accountHolderUsPerson)
20530
+ name: "accountHolderForeignAccountType",
20531
+ children: o(e == null ? void 0 : e.accountHolderForeignAccountType)
20483
20532
  }
20484
20533
  ),
20485
20534
  /* @__PURE__ */ i.jsx(
@@ -20487,8 +20536,8 @@ const dr = {
20487
20536
  {
20488
20537
  label: !0,
20489
20538
  onEdit: () => a("AccountHolderClassification"),
20490
- name: "accountHolderUsAccountType",
20491
- children: o(e == null ? void 0 : e.accountHolderUsAccountType)
20539
+ name: "accountHolderForeignTrustClassification",
20540
+ children: o(e == null ? void 0 : e.accountHolderForeignTrustClassification)
20492
20541
  }
20493
20542
  ),
20494
20543
  /* @__PURE__ */ i.jsx(
@@ -20496,53 +20545,53 @@ const dr = {
20496
20545
  {
20497
20546
  label: !0,
20498
20547
  onEdit: () => a("AccountHolderClassification"),
20499
- name: "accountHolderUsLlcClassification",
20500
- children: o(e == null ? void 0 : e.accountHolderUsLlcClassification)
20548
+ name: "accountHolderForeignOtherClassification",
20549
+ children: o(e == null ? void 0 : e.accountHolderForeignOtherClassification)
20501
20550
  }
20502
20551
  ),
20503
20552
  /* @__PURE__ */ i.jsx(
20504
20553
  f,
20505
20554
  {
20506
20555
  label: !0,
20507
- onEdit: () => a("AccountHolderClassification"),
20508
- name: "accountHolderUsOtherClassification",
20509
- children: e == null ? void 0 : e.accountHolderUsOtherClassification
20556
+ name: "accountHolderName",
20557
+ onEdit: () => a("AccountHolderContact"),
20558
+ children: e == null ? void 0 : e.accountHolderName
20510
20559
  }
20511
20560
  ),
20512
20561
  /* @__PURE__ */ i.jsx(
20513
20562
  f,
20514
20563
  {
20515
20564
  label: !0,
20516
- onEdit: () => a("AccountHolderClassification"),
20517
- name: "accountHolderUsTrustEstateEin",
20518
- children: o(e == null ? void 0 : e.accountHolderUsTrustEstateEin)
20565
+ name: "accountHolderCountryOfCitizenship",
20566
+ onEdit: () => a("AccountHolderContact"),
20567
+ children: d(e == null ? void 0 : e.accountHolderCountryOfCitizenship)
20519
20568
  }
20520
20569
  ),
20521
20570
  /* @__PURE__ */ i.jsx(
20522
20571
  f,
20523
20572
  {
20524
20573
  label: !0,
20525
- onEdit: () => a("AccountHolderClassification"),
20526
- name: "accountHolderForeignAccountType",
20527
- children: o(e == null ? void 0 : e.accountHolderForeignAccountType)
20574
+ name: "accountHolderDateOfBirth",
20575
+ onEdit: () => a("AccountHolderContact"),
20576
+ children: e == null ? void 0 : e.accountHolderDateOfBirth
20528
20577
  }
20529
20578
  ),
20530
20579
  /* @__PURE__ */ i.jsx(
20531
20580
  f,
20532
20581
  {
20533
20582
  label: !0,
20534
- onEdit: () => a("AccountHolderClassification"),
20535
- name: "accountHolderForeignTrustClassification",
20536
- children: o(e == null ? void 0 : e.accountHolderForeignTrustClassification)
20583
+ name: "accountHolderCityOfBirth",
20584
+ onEdit: () => a("AccountHolderTaxClarification"),
20585
+ children: e == null ? void 0 : e.accountHolderCityOfBirth
20537
20586
  }
20538
20587
  ),
20539
20588
  /* @__PURE__ */ i.jsx(
20540
20589
  f,
20541
20590
  {
20542
20591
  label: !0,
20543
- onEdit: () => a("AccountHolderClassification"),
20544
- name: "accountHolderForeignOtherClassification",
20545
- children: o(e == null ? void 0 : e.accountHolderForeignOtherClassification)
20592
+ name: "accountHolderCountryOfBirth",
20593
+ onEdit: () => a("AccountHolderTaxClarification"),
20594
+ children: d(e == null ? void 0 : e.accountHolderCountryOfBirth)
20546
20595
  }
20547
20596
  ),
20548
20597
  /* @__PURE__ */ i.jsx(
@@ -20555,9 +20604,9 @@ const dr = {
20555
20604
  }
20556
20605
  ),
20557
20606
  e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes" ? /* @__PURE__ */ i.jsx(
20558
- Ke,
20607
+ Ve,
20559
20608
  {
20560
- label: s("address"),
20609
+ label: s("address") + "*",
20561
20610
  onEdit: () => a("AccountHolderContact"),
20562
20611
  name: "accountHolderAddressCountry",
20563
20612
  children: /* @__PURE__ */ i.jsx(
@@ -20576,7 +20625,7 @@ const dr = {
20576
20625
  }
20577
20626
  ) : null,
20578
20627
  (e == null ? void 0 : e.accountHolderMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ i.jsx(
20579
- Ke,
20628
+ Ve,
20580
20629
  {
20581
20630
  label: s("mailingAddress"),
20582
20631
  onEdit: () => a("AccountHolderContact"),
@@ -20601,7 +20650,7 @@ const dr = {
20601
20650
  label: !0,
20602
20651
  name: "accountHolderUsTin",
20603
20652
  onEdit: () => a("AccountHolderTax"),
20604
- children: /* @__PURE__ */ i.jsx(ne, { text: e == null ? void 0 : e.accountHolderUsTin })
20653
+ children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.accountHolderUsTin })
20605
20654
  }
20606
20655
  ),
20607
20656
  /* @__PURE__ */ i.jsx(
@@ -20610,7 +20659,7 @@ const dr = {
20610
20659
  label: !0,
20611
20660
  name: "accountHolderForeignTin",
20612
20661
  onEdit: () => a("AccountHolderTax"),
20613
- children: /* @__PURE__ */ i.jsx(ne, { text: e == null ? void 0 : e.accountHolderForeignTin })
20662
+ children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.accountHolderForeignTin })
20614
20663
  }
20615
20664
  ),
20616
20665
  /* @__PURE__ */ i.jsx(
@@ -20647,7 +20696,7 @@ const dr = {
20647
20696
  onEdit: () => a("AccountHolderTax"),
20648
20697
  label: !0,
20649
20698
  children: [
20650
- l(e == null ? void 0 : e.accountHolderVatCountry),
20699
+ d(e == null ? void 0 : e.accountHolderVatCountry),
20651
20700
  " ",
20652
20701
  (e == null ? void 0 : e.accountHolderVatIsNotRequired) == "yes" && u("notRequired")
20653
20702
  ]
@@ -20660,7 +20709,7 @@ const dr = {
20660
20709
  onEdit: () => a("AccountHolderTax"),
20661
20710
  label: !0,
20662
20711
  children: [
20663
- (e == null ? void 0 : e.accountHolderVatIdentificationNumber) && /* @__PURE__ */ i.jsx(ne, { text: e == null ? void 0 : e.accountHolderVatIdentificationNumber }),
20712
+ (e == null ? void 0 : e.accountHolderVatIdentificationNumber) && /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.accountHolderVatIdentificationNumber }),
20664
20713
  (e == null ? void 0 : e.accountHolderVatIsNotRequired) == "yes" && u("notRequired")
20665
20714
  ]
20666
20715
  }
@@ -20671,7 +20720,7 @@ const dr = {
20671
20720
  name: "accountHolderBusinessRegistrationCountry",
20672
20721
  onEdit: () => a("AccountHolderTax"),
20673
20722
  label: !0,
20674
- children: l(e == null ? void 0 : e.accountHolderBusinessRegistrationCountry)
20723
+ children: d(e == null ? void 0 : e.accountHolderBusinessRegistrationCountry)
20675
20724
  }
20676
20725
  ),
20677
20726
  /* @__PURE__ */ i.jsx(
@@ -20680,7 +20729,7 @@ const dr = {
20680
20729
  name: "accountHolderBusinessRegistrationNumber",
20681
20730
  onEdit: () => a("AccountHolderTax"),
20682
20731
  label: !0,
20683
- children: /* @__PURE__ */ i.jsx(ne, { text: e == null ? void 0 : e.accountHolderBusinessRegistrationNumber })
20732
+ children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.accountHolderBusinessRegistrationNumber })
20684
20733
  }
20685
20734
  ),
20686
20735
  /* @__PURE__ */ i.jsxs(
@@ -20696,12 +20745,12 @@ const dr = {
20696
20745
  label: !0,
20697
20746
  name: "accountHolderTaxResidenceCountry1",
20698
20747
  onEdit: () => a("AccountHolderTax"),
20699
- children: l(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)
20748
+ children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry1)
20700
20749
  }
20701
20750
  ),
20702
20751
  /* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin1", children: [
20703
20752
  (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && /* @__PURE__ */ i.jsx(
20704
- ne,
20753
+ te,
20705
20754
  {
20706
20755
  text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1
20707
20756
  }
@@ -20715,12 +20764,12 @@ const dr = {
20715
20764
  label: !0,
20716
20765
  name: "accountHolderTaxResidenceCountry2",
20717
20766
  onEdit: () => a("AccountHolderTax"),
20718
- children: l(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)
20767
+ children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry2)
20719
20768
  }
20720
20769
  ),
20721
20770
  /* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin2", children: [
20722
20771
  (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && /* @__PURE__ */ i.jsx(
20723
- ne,
20772
+ te,
20724
20773
  {
20725
20774
  text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2
20726
20775
  }
@@ -20734,12 +20783,12 @@ const dr = {
20734
20783
  label: !0,
20735
20784
  name: "accountHolderTaxResidenceCountry3",
20736
20785
  onEdit: () => a("AccountHolderTax"),
20737
- children: l(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)
20786
+ children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry3)
20738
20787
  }
20739
20788
  ),
20740
20789
  /* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin3", children: [
20741
20790
  (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && /* @__PURE__ */ i.jsx(
20742
- ne,
20791
+ te,
20743
20792
  {
20744
20793
  text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3
20745
20794
  }
@@ -20753,12 +20802,12 @@ const dr = {
20753
20802
  label: !0,
20754
20803
  name: "accountHolderTaxResidenceCountry4",
20755
20804
  onEdit: () => a("AccountHolderTax"),
20756
- children: l(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)
20805
+ children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry4)
20757
20806
  }
20758
20807
  ),
20759
20808
  /* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin4", children: [
20760
20809
  (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && /* @__PURE__ */ i.jsx(
20761
- ne,
20810
+ te,
20762
20811
  {
20763
20812
  text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4
20764
20813
  }
@@ -20772,12 +20821,12 @@ const dr = {
20772
20821
  label: !0,
20773
20822
  name: "accountHolderTaxResidenceCountry5",
20774
20823
  onEdit: () => a("AccountHolderTax"),
20775
- children: l(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)
20824
+ children: d(e == null ? void 0 : e.accountHolderTaxResidenceCountry5)
20776
20825
  }
20777
20826
  ),
20778
20827
  /* @__PURE__ */ i.jsxs(f, { label: !0, name: "accountHolderTaxResidenceForeignTin5", children: [
20779
20828
  (e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5) && /* @__PURE__ */ i.jsx(
20780
- ne,
20829
+ te,
20781
20830
  {
20782
20831
  text: e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5
20783
20832
  }
@@ -20793,7 +20842,7 @@ const dr = {
20793
20842
  oe,
20794
20843
  {
20795
20844
  title: s("regardedOwner"),
20796
- showIf: !!d.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0,
20845
+ showIf: !!m.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0,
20797
20846
  children: [
20798
20847
  /* @__PURE__ */ i.jsx(
20799
20848
  f,
@@ -20810,7 +20859,7 @@ const dr = {
20810
20859
  label: !0,
20811
20860
  name: "regardedOwnerCountryOfCitizenship",
20812
20861
  onEdit: () => a("RegardedOwnerContact"),
20813
- children: l(e == null ? void 0 : e.regardedOwnerCountryOfCitizenship)
20862
+ children: d(e == null ? void 0 : e.regardedOwnerCountryOfCitizenship)
20814
20863
  }
20815
20864
  ),
20816
20865
  /* @__PURE__ */ i.jsx(
@@ -20840,8 +20889,8 @@ const dr = {
20840
20889
  children: o(e == null ? void 0 : e.regardedOwnerForeignAccountType)
20841
20890
  }
20842
20891
  ),
20843
- !!d.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0 && /* @__PURE__ */ i.jsx(
20844
- Ke,
20892
+ !!m.regardedOwnerUsPerson && e.regardedOwnerUsPerson !== void 0 && /* @__PURE__ */ i.jsx(
20893
+ Ve,
20845
20894
  {
20846
20895
  label: s("address"),
20847
20896
  onEdit: () => a("RegardedOwnerContact"),
@@ -20861,7 +20910,7 @@ const dr = {
20861
20910
  }
20862
20911
  ),
20863
20912
  (n || r) && (e == null ? void 0 : e.regardedOwnerMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ i.jsx(
20864
- Ke,
20913
+ Ve,
20865
20914
  {
20866
20915
  label: s("mailingAddress"),
20867
20916
  onEdit: () => a("RegardedOwnerContact"),
@@ -20886,7 +20935,7 @@ const dr = {
20886
20935
  label: !0,
20887
20936
  name: "regardedOwnerUsTin",
20888
20937
  onEdit: () => a("RegardedOwnerTax"),
20889
- children: /* @__PURE__ */ i.jsx(ne, { text: e == null ? void 0 : e.regardedOwnerUsTin })
20938
+ children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.regardedOwnerUsTin })
20890
20939
  }
20891
20940
  ),
20892
20941
  /* @__PURE__ */ i.jsx(
@@ -20895,7 +20944,7 @@ const dr = {
20895
20944
  label: !0,
20896
20945
  name: "regardedOwnerForeignTin",
20897
20946
  onEdit: () => a("RegardedOwnerTax"),
20898
- children: /* @__PURE__ */ i.jsx(ne, { text: e == null ? void 0 : e.regardedOwnerForeignTin })
20947
+ children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.regardedOwnerForeignTin })
20899
20948
  }
20900
20949
  ),
20901
20950
  /* @__PURE__ */ i.jsx(
@@ -20913,7 +20962,7 @@ const dr = {
20913
20962
  label: !0,
20914
20963
  name: "regardedOwnerUsTin",
20915
20964
  onEdit: () => a("RegardedOwnerTax"),
20916
- children: /* @__PURE__ */ i.jsx(ne, { text: e == null ? void 0 : e.regardedOwnerUsTin })
20965
+ children: /* @__PURE__ */ i.jsx(te, { text: e == null ? void 0 : e.regardedOwnerUsTin })
20917
20966
  }
20918
20967
  ),
20919
20968
  /* @__PURE__ */ i.jsx(
@@ -20938,11 +20987,11 @@ const dr = {
20938
20987
  }
20939
20988
  )
20940
20989
  ] });
20941
- }, Bo = () => {
20942
- const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } = $(), { getLocalTitle: s, submittableFields: o } = O();
20943
- return /* @__PURE__ */ i.jsxs(Ae, { title: s("summary"), children: [
20990
+ }, dt = () => {
20991
+ const { goBack: e, onSubmitTaxDocumentation: a, isW8: n, isW9: r } = $(), { getLocalTitle: s, fields: o } = O();
20992
+ return /* @__PURE__ */ i.jsxs(be, { title: s("summary"), children: [
20944
20993
  /* @__PURE__ */ i.jsxs("main", { className: "taxbit-page-main", children: [
20945
- /* @__PURE__ */ i.jsx(Eo, {}),
20994
+ /* @__PURE__ */ i.jsx(Ho, {}),
20946
20995
  /* @__PURE__ */ i.jsxs(oe, { title: "Certify", showIf: r || n, children: [
20947
20996
  /* @__PURE__ */ i.jsx(D, { name: "iCertifyToAll", label: !0 }),
20948
20997
  /* @__PURE__ */ i.jsx(D, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
@@ -20959,64 +21008,37 @@ const dr = {
20959
21008
  /* @__PURE__ */ i.jsxs(oe, { title: "Acknowledge and Sign", showIf: r || n, children: [
20960
21009
  /* @__PURE__ */ i.jsx(D, { name: "iAcknowlegeESignIsOk", label: !0 }),
20961
21010
  /* @__PURE__ */ i.jsx(D, { name: "iHaveLegalCapacityToSign", label: !0 }),
20962
- /* @__PURE__ */ i.jsx(Z, { label: !0, name: "signature" })
21011
+ /* @__PURE__ */ i.jsx(Q, { label: !0, name: "signature" })
20963
21012
  ] })
20964
21013
  ] }),
20965
21014
  /* @__PURE__ */ i.jsx(
20966
- be,
21015
+ Ce,
20967
21016
  {
20968
21017
  onBack: e,
20969
21018
  onSubmit: () => a(o)
20970
21019
  }
20971
21020
  )
20972
21021
  ] });
20973
- }, Po = () => /* @__PURE__ */ i.jsx(fe, { children: /* @__PURE__ */ i.jsx(Bo, {}) }), Ro = () => {
20974
- const { getLocalCountry: e, getLocalTitle: a, getLocalSubPrompt: n } = O(), r = J(
20975
- () => ua.map((s) => ({
20976
- ...s,
20977
- label: e(s.value)
20978
- })).sort((s, o) => s.label.localeCompare(o.label)),
20979
- [e]
20980
- );
20981
- return /* @__PURE__ */ i.jsxs(
20982
- oe,
20983
- {
20984
- title: a("placeOfBirth"),
20985
- subTitle: n("accountHolderCityOfBirth"),
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 = ({
21022
+ }, Lo = () => /* @__PURE__ */ i.jsx(Ae, { children: /* @__PURE__ */ i.jsx(dt, {}) }), Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21023
+ __proto__: null,
21024
+ AccountHolderClassification: Ao,
21025
+ AccountHolderContact: Io,
21026
+ AccountHolderTax: No,
21027
+ AccountHolderTaxClarification: yo,
21028
+ Contents: dt,
21029
+ Exemptions: Oo,
21030
+ RegardedOwnerClassification: Eo,
21031
+ RegardedOwnerContact: Po,
21032
+ RegardedOwnerTax: wo,
21033
+ Summary: Lo
21034
+ }, Symbol.toStringTag, { value: "Module" })), ut = ({
21013
21035
  data: e,
21014
21036
  onSubmit: a,
21015
21037
  language: n,
21016
21038
  taxForms: r,
21017
21039
  complete: s
21018
21040
  }) => /* @__PURE__ */ i.jsx(
21019
- $r,
21041
+ eo,
21020
21042
  {
21021
21043
  data: e,
21022
21044
  onSubmit: a,
@@ -21024,7 +21046,7 @@ const dr = {
21024
21046
  taxForms: r,
21025
21047
  step: s ? "Summary" : void 0,
21026
21048
  children: /* @__PURE__ */ i.jsx(
21027
- Go,
21049
+ Uo,
21028
21050
  {
21029
21051
  language: n,
21030
21052
  taxForms: r,
@@ -21032,38 +21054,26 @@ const dr = {
21032
21054
  }
21033
21055
  )
21034
21056
  }
21035
- ), Lo = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Go = ({
21057
+ ), Do = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Uo = ({
21036
21058
  language: e = "en-us",
21037
- taxForms: a = Lo,
21059
+ taxForms: a = Do,
21038
21060
  data: n
21039
21061
  }) => {
21040
- const { stepName: r, setLanguage: s, setSupportedForms: o, onResetTaxDocumentation: l } = $();
21041
- X(() => {
21062
+ const { stepName: r, setLanguage: s, setSupportedForms: o, onResetTaxDocumentation: d } = $(), u = Go[r];
21063
+ return X(() => {
21042
21064
  s(e);
21043
21065
  }, [e, s]), X(() => {
21044
21066
  o(a);
21045
21067
  }, [a, o]), X(() => {
21046
- n && l(n);
21047
- }, [n, l]);
21048
- const d = {
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 = ({
21068
+ n && d(n);
21069
+ }, [n, d]), /* @__PURE__ */ i.jsx(u, {});
21070
+ }, Ko = ({
21061
21071
  data: e,
21062
21072
  onSubmit: a,
21063
21073
  language: n,
21064
21074
  complete: r
21065
21075
  }) => /* @__PURE__ */ i.jsx(
21066
- dt,
21076
+ ut,
21067
21077
  {
21068
21078
  data: e,
21069
21079
  language: n,
@@ -21071,42 +21081,42 @@ const dr = {
21071
21081
  complete: r,
21072
21082
  taxForms: ["DAC7"]
21073
21083
  }
21074
- ), Do = ({
21084
+ ), Fo = ({
21075
21085
  staging: e,
21076
21086
  data: a,
21077
21087
  bearerToken: n,
21078
21088
  language: r,
21079
21089
  taxForms: s,
21080
21090
  onSubmit: o,
21081
- onSuccess: l
21091
+ onSuccess: d
21082
21092
  }) => {
21083
- var M;
21084
- const { status: u, formStatus: d, postData: k, formSubmitted: v, serverData: m } = or(
21093
+ var N;
21094
+ const { status: u, formStatus: m, postData: l, formSubmitted: v, serverData: g } = sr(
21085
21095
  n,
21086
21096
  e
21087
- ), [A, p] = x(
21097
+ ), [A, p] = K(
21088
21098
  a
21089
21099
  );
21090
21100
  if (X(() => {
21091
- m && p({ ...m, ...a });
21092
- }, [a, m]), !d || d !== "NOT_SUBMITTED" && !m)
21101
+ g && p({ ...g, ...a });
21102
+ }, [a, g]), !m || m !== "NOT_SUBMITTED" && !g)
21093
21103
  return /* @__PURE__ */ i.jsx("div", { children: ii("retrievingInterviewStatus", r) });
21094
21104
  if (v)
21095
21105
  return /* @__PURE__ */ i.jsx("div", { children: ii("interviewIsComplete", r) });
21096
- const N = async (C) => {
21097
- o && o(C), await k(C), l && l(C);
21106
+ const S = async (T) => {
21107
+ o && o(T), await l(T), d && d(T);
21098
21108
  };
21099
21109
  return /* @__PURE__ */ i.jsx(
21100
- dt,
21110
+ ut,
21101
21111
  {
21102
21112
  data: A,
21103
21113
  language: r,
21104
- onSubmit: N,
21114
+ onSubmit: S,
21105
21115
  taxForms: s,
21106
- complete: ((M = u == null ? void 0 : u.DAC7Interview) == null ? void 0 : M.dataCollectionStatus) === "COMPLETE"
21116
+ complete: ((N = u == null ? void 0 : u.DAC7Interview) == null ? void 0 : N.dataCollectionStatus) === "COMPLETE"
21107
21117
  }
21108
21118
  );
21109
- }, xo = ({
21119
+ }, Vo = ({
21110
21120
  data: e,
21111
21121
  staging: a,
21112
21122
  bearerToken: n,
@@ -21114,7 +21124,7 @@ const dr = {
21114
21124
  onSubmit: s,
21115
21125
  onSuccess: o
21116
21126
  }) => /* @__PURE__ */ i.jsx(
21117
- Do,
21127
+ Fo,
21118
21128
  {
21119
21129
  bearerToken: n,
21120
21130
  data: e,
@@ -21126,9 +21136,9 @@ const dr = {
21126
21136
  }
21127
21137
  );
21128
21138
  export {
21129
- xo as TaxBitDAC7Form,
21130
- Fo as TaxBitDAC7FormUI,
21131
- Do as TaxBitForm,
21132
- dt as TaxBitFormUI,
21133
- or as useTaxBit
21139
+ Vo as TaxBitDAC7Form,
21140
+ Ko as TaxBitDAC7FormUI,
21141
+ Fo as TaxBitForm,
21142
+ ut as TaxBitFormUI,
21143
+ sr as useTaxBit
21134
21144
  };