@taxbit/react-sdk 0.0.0

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 (165) hide show
  1. package/README.md +20 -0
  2. package/dist/App.d.ts +5 -0
  3. package/dist/Component.d.ts +2 -0
  4. package/dist/components/Address/Address.d.ts +17 -0
  5. package/dist/components/Address/index.d.ts +1 -0
  6. package/dist/components/ErrorMessage/ErrorMessage.d.ts +6 -0
  7. package/dist/components/ErrorMessage/index.d.ts +1 -0
  8. package/dist/components/InputStatus/InputStatus.d.ts +5 -0
  9. package/dist/components/InputStatus/index.d.ts +1 -0
  10. package/dist/components/Page/Page.d.ts +6 -0
  11. package/dist/components/Page/index.d.ts +1 -0
  12. package/dist/components/Row/Row.d.ts +12 -0
  13. package/dist/components/Row/index.d.ts +1 -0
  14. package/dist/components/Section/Section.d.ts +8 -0
  15. package/dist/components/Section/index.d.ts +1 -0
  16. package/dist/components/Title/Title.d.ts +5 -0
  17. package/dist/components/Title/index.d.ts +1 -0
  18. package/dist/components/index.d.ts +7 -0
  19. package/dist/contexts/FormUI/FormUIProvider.d.ts +6 -0
  20. package/dist/contexts/FormUI/index.d.ts +3 -0
  21. package/dist/contexts/FormUI/useFormUI.d.ts +137 -0
  22. package/dist/contexts/FormUI/useFormUIContext.d.ts +650 -0
  23. package/dist/contexts/TaxDocumentation/TaxDocumentationPathProvider.d.ts +13 -0
  24. package/dist/contexts/TaxDocumentation/index.d.ts +2 -0
  25. package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +33 -0
  26. package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +44 -0
  27. package/dist/contexts/createCtx.d.ts +2 -0
  28. package/dist/contexts/index.d.ts +2 -0
  29. package/dist/entry/index.d.ts +2 -0
  30. package/dist/hooks/index.d.ts +1 -0
  31. package/dist/hooks/useTaxBit/index.d.ts +1 -0
  32. package/dist/hooks/useTaxBit/useTaxBit.d.ts +5 -0
  33. package/dist/i18n/i18n.d.ts +7 -0
  34. package/dist/i18n/index.d.ts +2 -0
  35. package/dist/i18n/locales/de-de.d.ts +2 -0
  36. package/dist/i18n/locales/en-gb.d.ts +2 -0
  37. package/dist/i18n/locales/en-us.d.ts +2 -0
  38. package/dist/i18n/locales/es-es.d.ts +2 -0
  39. package/dist/i18n/locales/fr-fr.d.ts +2 -0
  40. package/dist/i18n/locales/index.d.ts +9 -0
  41. package/dist/i18n/locales/it-it.d.ts +2 -0
  42. package/dist/i18n/locales/nl-nl.d.ts +2 -0
  43. package/dist/i18n/locales/no-no.d.ts +2 -0
  44. package/dist/i18n/locales/sv-se.d.ts +2 -0
  45. package/dist/i18n/types/LocalizationKey.d.ts +8 -0
  46. package/dist/i18n/types/PropertyFile.d.ts +39 -0
  47. package/dist/i18n/types/index.d.ts +1 -0
  48. package/dist/i18n/utils/getText.d.ts +16 -0
  49. package/dist/i18n/utils/index.d.ts +1 -0
  50. package/dist/index.css +12 -0
  51. package/dist/lookups/caProvinceOptions.d.ts +4 -0
  52. package/dist/lookups/countryOptions.d.ts +7 -0
  53. package/dist/lookups/fatcaCodeOptions.d.ts +4 -0
  54. package/dist/lookups/foreignAccountHolderAccountTypeOptions.d.ts +13 -0
  55. package/dist/lookups/foreignOtherAccountTypeOptions.d.ts +15 -0
  56. package/dist/lookups/foreignRegardedOwnerAccountTypeOptions.d.ts +11 -0
  57. package/dist/lookups/foreignTrustAccountTypeOptions.d.ts +7 -0
  58. package/dist/lookups/index.d.ts +12 -0
  59. package/dist/lookups/payeeCodeOptions.d.ts +4 -0
  60. package/dist/lookups/usAccountHolderAccountTypeOptions.d.ts +21 -0
  61. package/dist/lookups/usLlcAccountTypeOptions.d.ts +7 -0
  62. package/dist/lookups/usRegardedOwnerAccountTypeOptions.d.ts +15 -0
  63. package/dist/lookups/usStateOptions.d.ts +4 -0
  64. package/dist/main.d.ts +1 -0
  65. package/dist/minimal.css +33 -0
  66. package/dist/paths/AddressInput/AddressInput.d.ts +8 -0
  67. package/dist/paths/AddressInput/index.d.ts +1 -0
  68. package/dist/paths/FinancialAccountInput/FinancialAccountInput.d.ts +6 -0
  69. package/dist/paths/FinancialAccountInput/index.d.ts +1 -0
  70. package/dist/paths/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +2 -0
  71. package/dist/paths/PlaceOfBirthInput/index.d.ts +1 -0
  72. package/dist/paths/ResidenceInput/ResidenceInput.d.ts +10 -0
  73. package/dist/paths/ResidenceInput/index.d.ts +1 -0
  74. package/dist/paths/RowInput/CheckBoxRow/CheckBoxRow.d.ts +8 -0
  75. package/dist/paths/RowInput/CheckBoxRow/index.d.ts +1 -0
  76. package/dist/paths/RowInput/ErrorRow/ErrorRow.d.ts +2 -0
  77. package/dist/paths/RowInput/ErrorRow/index.d.ts +1 -0
  78. package/dist/paths/RowInput/RadioButtonRow/RadioButtonRow.d.ts +8 -0
  79. package/dist/paths/RowInput/RadioButtonRow/index.d.ts +1 -0
  80. package/dist/paths/RowInput/SelectRow/SelectRow.d.ts +9 -0
  81. package/dist/paths/RowInput/SelectRow/index.d.ts +1 -0
  82. package/dist/paths/RowInput/TextInputRow/TextInputRow.d.ts +10 -0
  83. package/dist/paths/RowInput/TextInputRow/index.d.ts +1 -0
  84. package/dist/paths/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +3 -0
  85. package/dist/paths/RowInput/ToggleButtonRow/index.d.ts +1 -0
  86. package/dist/paths/RowInput/VisibleRow/VisibleRow.d.ts +9 -0
  87. package/dist/paths/RowInput/VisibleRow/index.d.ts +1 -0
  88. package/dist/paths/RowInput/index.d.ts +6 -0
  89. package/dist/paths/TaxDocumentationPath/AccountHolderClassification/AccountHolderClassification.d.ts +2 -0
  90. package/dist/paths/TaxDocumentationPath/AccountHolderClassification/index.d.ts +1 -0
  91. package/dist/paths/TaxDocumentationPath/AccountHolderContact/AccountHolderContact.d.ts +2 -0
  92. package/dist/paths/TaxDocumentationPath/AccountHolderContact/index.d.ts +1 -0
  93. package/dist/paths/TaxDocumentationPath/AccountHolderTax/AccountHolderTax.d.ts +2 -0
  94. package/dist/paths/TaxDocumentationPath/AccountHolderTax/index.d.ts +1 -0
  95. package/dist/paths/TaxDocumentationPath/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +2 -0
  96. package/dist/paths/TaxDocumentationPath/AccountHolderTaxClarification/index.d.ts +1 -0
  97. package/dist/paths/TaxDocumentationPath/Exemptions/Exemptions.d.ts +2 -0
  98. package/dist/paths/TaxDocumentationPath/Exemptions/index.d.ts +1 -0
  99. package/dist/paths/TaxDocumentationPath/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +2 -0
  100. package/dist/paths/TaxDocumentationPath/RegardedOwnerClassification/index.d.ts +1 -0
  101. package/dist/paths/TaxDocumentationPath/RegardedOwnerContact/RegardedOwnerContact.d.ts +2 -0
  102. package/dist/paths/TaxDocumentationPath/RegardedOwnerContact/index.d.ts +1 -0
  103. package/dist/paths/TaxDocumentationPath/RegardedOwnerTax/RegardedOwnerTax.d.ts +2 -0
  104. package/dist/paths/TaxDocumentationPath/RegardedOwnerTax/index.d.ts +1 -0
  105. package/dist/paths/TaxDocumentationPath/Summary/Recap.d.ts +2 -0
  106. package/dist/paths/TaxDocumentationPath/Summary/Summary.d.ts +3 -0
  107. package/dist/paths/TaxDocumentationPath/Summary/index.d.ts +1 -0
  108. package/dist/paths/TaxDocumentationPath/TaxDocumentationDAC7Path.d.ts +10 -0
  109. package/dist/paths/TaxDocumentationPath/TaxDocumentationPath.d.ts +12 -0
  110. package/dist/paths/TaxDocumentationPath/index.d.ts +1 -0
  111. package/dist/paths/TaxDocumentationPath/steps.d.ts +8 -0
  112. package/dist/paths/VatInput/VatInput.d.ts +8 -0
  113. package/dist/paths/VatInput/index.d.ts +1 -0
  114. package/dist/paths/index.d.ts +1 -0
  115. package/dist/services/api.d.ts +5 -0
  116. package/dist/taxbit-basic-horizontal.css +190 -0
  117. package/dist/taxbit-basic.css +189 -0
  118. package/dist/taxbit-collect-components.es.d.ts +1 -0
  119. package/dist/taxbit-collect-components.es.js +9342 -0
  120. package/dist/taxbit-collect-components.umd.js +43 -0
  121. package/dist/types/AccountType.d.ts +6 -0
  122. package/dist/types/CaProvinceCode.d.ts +1 -0
  123. package/dist/types/CountryCode.d.ts +3 -0
  124. package/dist/types/Form.d.ts +1 -0
  125. package/dist/types/TaxDocumentation.d.ts +118 -0
  126. package/dist/types/UsStateCode.d.ts +1 -0
  127. package/dist/types/Utilities.d.ts +4 -0
  128. package/dist/types/Yes.d.ts +1 -0
  129. package/dist/types/YesNo.d.ts +6 -0
  130. package/dist/types/external/ComprehensiveTaxDocumentation.d.ts +76 -0
  131. package/dist/types/external/index.d.ts +1 -0
  132. package/dist/types/index.d.ts +9 -0
  133. package/dist/ui/Actions/Actions.d.ts +10 -0
  134. package/dist/ui/Actions/index.d.ts +1 -0
  135. package/dist/ui/CheckBox/CheckBox.d.ts +8 -0
  136. package/dist/ui/CheckBox/index.d.ts +1 -0
  137. package/dist/ui/RadioButtons/RadioButtons.d.ts +13 -0
  138. package/dist/ui/RadioButtons/index.d.ts +1 -0
  139. package/dist/ui/Select/Select.d.ts +27 -0
  140. package/dist/ui/Select/index.d.ts +1 -0
  141. package/dist/ui/TextInput/TextInput.d.ts +9 -0
  142. package/dist/ui/TextInput/index.d.ts +1 -0
  143. package/dist/ui/ToggleButton/ToggleButton.d.ts +6 -0
  144. package/dist/ui/ToggleButton/index.d.ts +1 -0
  145. package/dist/ui/index.d.ts +6 -0
  146. package/dist/utils/cx.d.ts +1 -0
  147. package/dist/utils/date.d.ts +3 -0
  148. package/dist/utils/getFieldsState.d.ts +10 -0
  149. package/dist/utils/getHintKeyMap.d.ts +103 -0
  150. package/dist/utils/getPromptKeyMap.d.ts +103 -0
  151. package/dist/utils/getSupportedFields.d.ts +6 -0
  152. package/dist/utils/getVerboseDate.d.ts +1 -0
  153. package/dist/utils/getVisibleQuestions.d.ts +6 -0
  154. package/dist/utils/index.d.ts +9 -0
  155. package/dist/utils/isBlank.d.ts +2 -0
  156. package/dist/utils/transformInbound.d.ts +2 -0
  157. package/dist/utils/transformOutbound.d.ts +3 -0
  158. package/dist/validations/__tests__/validations.test.d.ts +1 -0
  159. package/dist/validations/index.d.ts +1 -0
  160. package/dist/validations/validations.d.ts +7 -0
  161. package/dist/widgets/TaxDocumentationWidget/TaxDocumentationDAC7Widget.d.ts +12 -0
  162. package/dist/widgets/TaxDocumentationWidget/TaxDocumentationWidget.d.ts +12 -0
  163. package/dist/widgets/TaxDocumentationWidget/index.d.ts +2 -0
  164. package/dist/widgets/index.d.ts +1 -0
  165. package/package.json +54 -0
@@ -0,0 +1,43 @@
1
+ (function(de,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],O):(de=typeof globalThis<"u"?globalThis:de||self,O(de.TaxBitTaxDocumentation={},de.React))})(this,function(de,O){"use strict";function yt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const ae=yt(O);var nn={exports:{}},Ee={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Nn;function Tt(){if(Nn)return Ee;Nn=1;var e=O,n=Symbol.for("react.element"),t=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(u,d,l){var m,g={},p=null,C=null;l!==void 0&&(p=""+l),d.key!==void 0&&(p=""+d.key),d.ref!==void 0&&(C=d.ref);for(m in d)a.call(d,m)&&!s.hasOwnProperty(m)&&(g[m]=d[m]);if(u&&u.defaultProps)for(m in d=u.defaultProps,d)g[m]===void 0&&(g[m]=d[m]);return{$$typeof:n,type:u,key:p,ref:C,props:g,_owner:o.current}}return Ee.Fragment=t,Ee.jsx=c,Ee.jsxs=c,Ee}var we={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var On;function bt(){return On||(On=1,process.env.NODE_ENV!=="production"&&function(){var e=O,n=Symbol.for("react.element"),t=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),E=Symbol.iterator,A="@@iterator";function v(r){if(r===null||typeof r!="object")return null;var h=E&&r[E]||r[A];return typeof h=="function"?h:null}var w=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function H(r){{for(var h=arguments.length,f=new Array(h>1?h-1:0),I=1;I<h;I++)f[I-1]=arguments[I];x("error",r,f)}}function x(r,h,f){{var I=w.ReactDebugCurrentFrame,F=I.getStackAddendum();F!==""&&(h+="%s",f=f.concat([F]));var D=f.map(function(B){return String(B)});D.unshift("Warning: "+h),Function.prototype.apply.call(console[r],console,D)}}var T=!1,G=!1,S=!1,N=!1,P=!1,k;k=Symbol.for("react.module.reference");function Q(r){return!!(typeof r=="string"||typeof r=="function"||r===a||r===s||P||r===o||r===l||r===m||N||r===C||T||G||S||typeof r=="object"&&r!==null&&(r.$$typeof===p||r.$$typeof===g||r.$$typeof===c||r.$$typeof===u||r.$$typeof===d||r.$$typeof===k||r.getModuleId!==void 0))}function $(r,h,f){var I=r.displayName;if(I)return I;var F=h.displayName||h.name||"";return F!==""?f+"("+F+")":f}function Se(r){return r.displayName||"Context"}function _(r){if(r==null)return null;if(typeof r.tag=="number"&&H("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case a:return"Fragment";case t:return"Portal";case s:return"Profiler";case o:return"StrictMode";case l:return"Suspense";case m:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case u:var h=r;return Se(h)+".Consumer";case c:var f=r;return Se(f._context)+".Provider";case d:return $(r,r.render,"ForwardRef");case g:var I=r.displayName||null;return I!==null?I:_(r.type)||"Memo";case p:{var F=r,D=F._payload,B=F._init;try{return _(B(D))}catch{return null}}}return null}var se=Object.assign,ge=0,Ne,j,J,ye,ke,y,ne;function ce(){}ce.__reactDisabledLog=!0;function _e(){{if(ge===0){Ne=console.log,j=console.info,J=console.warn,ye=console.error,ke=console.group,y=console.groupCollapsed,ne=console.groupEnd;var r={configurable:!0,enumerable:!0,value:ce,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}ge++}}function Je(){{if(ge--,ge===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:se({},r,{value:Ne}),info:se({},r,{value:j}),warn:se({},r,{value:J}),error:se({},r,{value:ye}),group:se({},r,{value:ke}),groupCollapsed:se({},r,{value:y}),groupEnd:se({},r,{value:ne})})}ge<0&&H("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Cn=w.ReactCurrentDispatcher,yn;function Ze(r,h,f){{if(yn===void 0)try{throw Error()}catch(F){var I=F.stack.trim().match(/\n( *(at )?)/);yn=I&&I[1]||""}return`
18
+ `+yn+r}}var Tn=!1,Qe;{var li=typeof WeakMap=="function"?WeakMap:Map;Qe=new li}function it(r,h){if(!r||Tn)return"";{var f=Qe.get(r);if(f!==void 0)return f}var I;Tn=!0;var F=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var D;D=Cn.current,Cn.current=null,_e();try{if(h){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(pe){I=pe}Reflect.construct(r,[],B)}else{try{B.call()}catch(pe){I=pe}r.call(B.prototype)}}else{try{throw Error()}catch(pe){I=pe}r()}}catch(pe){if(pe&&I&&typeof pe.stack=="string"){for(var R=pe.stack.split(`
19
+ `),Z=I.stack.split(`
20
+ `),K=R.length-1,W=Z.length-1;K>=1&&W>=0&&R[K]!==Z[W];)W--;for(;K>=1&&W>=0;K--,W--)if(R[K]!==Z[W]){if(K!==1||W!==1)do if(K--,W--,W<0||R[K]!==Z[W]){var te=`
21
+ `+R[K].replace(" at new "," at ");return r.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",r.displayName)),typeof r=="function"&&Qe.set(r,te),te}while(K>=1&&W>=0);break}}}finally{Tn=!1,Cn.current=D,Je(),Error.prepareStackTrace=F}var Me=r?r.displayName||r.name:"",Ct=Me?Ze(Me):"";return typeof r=="function"&&Qe.set(r,Ct),Ct}function hi(r,h,f){return it(r,!1)}function mi(r){var h=r.prototype;return!!(h&&h.isReactComponent)}function $e(r,h,f){if(r==null)return"";if(typeof r=="function")return it(r,mi(r));if(typeof r=="string")return Ze(r);switch(r){case l:return Ze("Suspense");case m:return Ze("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case d:return hi(r.render);case g:return $e(r.type,h,f);case p:{var I=r,F=I._payload,D=I._init;try{return $e(D(F),h,f)}catch{}}}return""}var Xe=Object.prototype.hasOwnProperty,rt={},ot=w.ReactDebugCurrentFrame;function en(r){if(r){var h=r._owner,f=$e(r.type,r._source,h?h.type:null);ot.setExtraStackFrame(f)}else ot.setExtraStackFrame(null)}function fi(r,h,f,I,F){{var D=Function.call.bind(Xe);for(var B in r)if(D(r,B)){var R=void 0;try{if(typeof r[B]!="function"){var Z=Error((I||"React class")+": "+f+" type `"+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[B]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}R=r[B](h,B,I,f,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(K){R=K}R&&!(R instanceof Error)&&(en(F),H("%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).",I||"React class",f,B,typeof R),en(null)),R instanceof Error&&!(R.message in rt)&&(rt[R.message]=!0,en(F),H("Failed %s type: %s",f,R.message),en(null))}}}var gi=Array.isArray;function bn(r){return gi(r)}function pi(r){{var h=typeof Symbol=="function"&&Symbol.toStringTag,f=h&&r[Symbol.toStringTag]||r.constructor.name||"Object";return f}}function Ci(r){try{return st(r),!1}catch{return!0}}function st(r){return""+r}function ct(r){if(Ci(r))return H("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pi(r)),st(r)}var De=w.ReactCurrentOwner,yi={key:!0,ref:!0,__self:!0,__source:!0},ut,dt,An;An={};function Ti(r){if(Xe.call(r,"ref")){var h=Object.getOwnPropertyDescriptor(r,"ref").get;if(h&&h.isReactWarning)return!1}return r.ref!==void 0}function bi(r){if(Xe.call(r,"key")){var h=Object.getOwnPropertyDescriptor(r,"key").get;if(h&&h.isReactWarning)return!1}return r.key!==void 0}function Ai(r,h){if(typeof r.ref=="string"&&De.current&&h&&De.current.stateNode!==h){var f=_(De.current.type);An[f]||(H('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',_(De.current.type),r.ref),An[f]=!0)}}function Si(r,h){{var f=function(){ut||(ut=!0,H("%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)",h))};f.isReactWarning=!0,Object.defineProperty(r,"key",{get:f,configurable:!0})}}function vi(r,h){{var f=function(){dt||(dt=!0,H("%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)",h))};f.isReactWarning=!0,Object.defineProperty(r,"ref",{get:f,configurable:!0})}}var Ii=function(r,h,f,I,F,D,B){var R={$$typeof:n,type:r,key:h,ref:f,props:B,_owner:D};return R._store={},Object.defineProperty(R._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(R,"_self",{configurable:!1,enumerable:!1,writable:!1,value:I}),Object.defineProperty(R,"_source",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.freeze&&(Object.freeze(R.props),Object.freeze(R)),R};function Ni(r,h,f,I,F){{var D,B={},R=null,Z=null;f!==void 0&&(ct(f),R=""+f),bi(h)&&(ct(h.key),R=""+h.key),Ti(h)&&(Z=h.ref,Ai(h,F));for(D in h)Xe.call(h,D)&&!yi.hasOwnProperty(D)&&(B[D]=h[D]);if(r&&r.defaultProps){var K=r.defaultProps;for(D in K)B[D]===void 0&&(B[D]=K[D])}if(R||Z){var W=typeof r=="function"?r.displayName||r.name||"Unknown":r;R&&Si(B,W),Z&&vi(B,W)}return Ii(r,R,Z,F,I,De.current,B)}}var Sn=w.ReactCurrentOwner,lt=w.ReactDebugCurrentFrame;function Oe(r){if(r){var h=r._owner,f=$e(r.type,r._source,h?h.type:null);lt.setExtraStackFrame(f)}else lt.setExtraStackFrame(null)}var vn;vn=!1;function In(r){return typeof r=="object"&&r!==null&&r.$$typeof===n}function ht(){{if(Sn.current){var r=_(Sn.current.type);if(r)return`
22
+
23
+ Check the render method of \``+r+"`."}return""}}function Oi(r){{if(r!==void 0){var h=r.fileName.replace(/^.*[\\\/]/,""),f=r.lineNumber;return`
24
+
25
+ Check your code at `+h+":"+f+"."}return""}}var mt={};function Mi(r){{var h=ht();if(!h){var f=typeof r=="string"?r:r.displayName||r.name;f&&(h=`
26
+
27
+ Check the top-level render call using <`+f+">.")}return h}}function ft(r,h){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var f=Mi(h);if(mt[f])return;mt[f]=!0;var I="";r&&r._owner&&r._owner!==Sn.current&&(I=" It was passed a child from "+_(r._owner.type)+"."),Oe(r),H('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',f,I),Oe(null)}}function gt(r,h){{if(typeof r!="object")return;if(bn(r))for(var f=0;f<r.length;f++){var I=r[f];In(I)&&ft(I,h)}else if(In(r))r._store&&(r._store.validated=!0);else if(r){var F=v(r);if(typeof F=="function"&&F!==r.entries)for(var D=F.call(r),B;!(B=D.next()).done;)In(B.value)&&ft(B.value,h)}}}function Ei(r){{var h=r.type;if(h==null||typeof h=="string")return;var f;if(typeof h=="function")f=h.propTypes;else if(typeof h=="object"&&(h.$$typeof===d||h.$$typeof===g))f=h.propTypes;else return;if(f){var I=_(h);fi(f,r.props,"prop",I,r)}else if(h.PropTypes!==void 0&&!vn){vn=!0;var F=_(h);H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",F||"Unknown")}typeof h.getDefaultProps=="function"&&!h.getDefaultProps.isReactClassApproved&&H("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function wi(r){{for(var h=Object.keys(r.props),f=0;f<h.length;f++){var I=h[f];if(I!=="children"&&I!=="key"){Oe(r),H("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",I),Oe(null);break}}r.ref!==null&&(Oe(r),H("Invalid attribute `ref` supplied to `React.Fragment`."),Oe(null))}}function pt(r,h,f,I,F,D){{var B=Q(r);if(!B){var R="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(R+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Z=Oi(F);Z?R+=Z:R+=ht();var K;r===null?K="null":bn(r)?K="array":r!==void 0&&r.$$typeof===n?(K="<"+(_(r.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):K=typeof r,H("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",K,R)}var W=Ni(r,h,f,F,D);if(W==null)return W;if(B){var te=h.children;if(te!==void 0)if(I)if(bn(te)){for(var Me=0;Me<te.length;Me++)gt(te[Me],r);Object.freeze&&Object.freeze(te)}else H("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else gt(te,r)}return r===a?wi(W):Ei(W),W}}function xi(r,h,f){return pt(r,h,f,!0)}function Ri(r,h,f){return pt(r,h,f,!1)}var Hi=Ri,Pi=xi;we.Fragment=a,we.jsx=Hi,we.jsxs=Pi}()),we}process.env.NODE_ENV==="production"?nn.exports=Tt():nn.exports=bt();var i=nn.exports;const Mn=()=>{const e=O.createContext(void 0);return[()=>{const t=O.useContext(e);if(t===void 0)throw new Error("useCtx must be inside a Provider with a value");return t},e.Provider]},[X,At]=Mn(),En=(...e)=>e.filter(Boolean).join(" "),St=e=>{try{const n=new Date().getUTCFullYear(),t=e.substring(e.length-4,e.length),a=n-Number(t);return a>-1&&a<131}catch{return!1}},vt=e=>/^\d{2}\/\d{2}\/\d{4}$/.test(e),It=e=>{const n=new Date(e);return!isNaN(n.getTime())&&e===n.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"})},U=e=>e===void 0||e==="",tn=e=>!U(e),ve=e=>{const n=(e==null?void 0:e.accountHolderUsAccountType)!==void 0&&(e==null?void 0:e.regardedOwnerUsPerson)===void 0||(e==null?void 0:e.regardedOwnerUsPerson)==="yes",t=(e==null?void 0:e.accountHolderUsPerson)==="no"&&(e==null?void 0:e.regardedOwnerUsPerson)===void 0||(e==null?void 0:e.regardedOwnerUsPerson)==="no",a=t&&((e==null?void 0:e.accountHolderForeignAccountType)==="individual"||(e==null?void 0:e.regardedOwnerForeignAccountType)==="individual"),o=t&&((e==null?void 0:e.accountHolderForeignAccountType)!=="individual"&&(e==null?void 0:e.accountHolderForeignAccountType)!=="disregardedEntity"||(e==null?void 0:e.regardedOwnerForeignAccountType)!=="individual"),s=(e==null?void 0:e.accountHolderIsIndividual)!==void 0,c=e.accountHolderForeignAccountType==="disregardedEntity"||e.accountHolderUsAccountType==="disregardedEntity"||e.accountHolderUsAccountType==="smllc"&&e.accountHolderUsSmllcElection==="no",u=tn(e==null?void 0:e.accountHolderFinancialAccountIdentifier)&&U(e==null?void 0:e.accountHolderTaxResidenceForeignTin1)&&U(e==null?void 0:e.accountHolderTaxResidenceForeignTin2)&&U(e==null?void 0:e.accountHolderTaxResidenceForeignTin3)&&U(e==null?void 0:e.accountHolderTaxResidenceForeignTin4)&&U(e==null?void 0:e.accountHolderTaxResidenceForeignTin5);return{accountHolderIsDisregarded:c,hasNoTaxId:u,isDac7:s,isW9:n,isW8:t,isW8Ben:a,isW8BenE:o}},wn=(e,n)=>{switch(e){case"individual":return"nameOfIndividual";case"soleProprietor":return"nameOfSoleProprietor";case"llc":return"nameOfLlc";case"smllc":return n==="yes"?"nameOfLlc":"nameOfIndividual";case"cCorporation":return"nameOfCCorporation";case"sCorporation":return"nameOfSCorporation";case"partnership":return"nameOfPartnership";case"trustEstate":return"nameOfTrustEstate";case"other":return"nameOfOrganization";default:return"name"}},xn=e=>{switch(e){case"individual":return"nameOfIndividual";case"corporation":return"nameOfCorporation";case"trust":return"nameOfTrust";case"other":return"nameOfOrganization";default:return"name"}},Nt=e=>e.accountHolderUsAccountType!==void 0?wn(e.accountHolderUsAccountType,e.accountHolderUsSmllcElection):e.accountHolderForeignAccountType!==void 0?xn(e.accountHolderForeignAccountType):e.accountHolderIsIndividual==="yes"?"nameOfIndividual":e.accountHolderIsIndividual==="no"?"nameOfBusiness":"name",Ot=e=>e.regardedOwnerUsPerson==="yes"?wn(e.regardedOwnerUsAccountType):e.regardedOwnerUsPerson==="no"?xn(e.regardedOwnerForeignAccountType):"name",Mt=e=>({accountHolderIsIndividual:"isIndividual",accountHolderUsPerson:"usPerson",accountHolderUsAccountType:"usAccountType",accountHolderUsOtherClassification:"usOtherClassification",accountHolderUsLlcClassification:"usLlcClassification",accountHolderUsTrustEstateEin:"usTrustEstateEin",accountHolderForeignAccountType:"foreignAccountType",accountHolderForeignTrustClassification:"foreignTrustClassification",accountHolderForeignOtherClassification:"foreignOtherClassification",accountHolderUsSmllcElection:"smllcElection",accountHolderCountryOfCitizenship:"countryOfCitizenship",accountHolderUsTin:e.accountHolderUsAccountType==="individual"?"usSsn":"usTin",accountHolderIsEuResident:"isEuResident",accountHolderFinancialAccountIdentifier:"financialAccountIdentifier",accountHolderFinancialAccountName:"financialAccountName",accountHolderShowTaxResidence2:e.accountHolderShowTaxResidence2==="yes"?"removeAdditional":"addAdditional",accountHolderShowTaxResidence3:e.accountHolderShowTaxResidence3==="yes"?"removeAdditional":"addAdditional",accountHolderShowTaxResidence4:e.accountHolderShowTaxResidence4==="yes"?"removeAdditional":"addAdditional",accountHolderShowTaxResidence5:e.accountHolderShowTaxResidence5==="yes"?"removeAdditional":"addAdditional",accountHolderTaxResidenceCountry1:"country",accountHolderTaxResidenceCountry2:"country",accountHolderTaxResidenceCountry3:"country",accountHolderTaxResidenceCountry4:"country",accountHolderTaxResidenceCountry5:"country",accountHolderTaxResidenceForeignTin1:e.accountHolderIsIndividual==="yes"?"taxIdNumber":"businessRegistrationNumber",accountHolderTaxResidenceForeignTin2:"taxIdNumber",accountHolderTaxResidenceForeignTin3:"taxIdNumber",accountHolderTaxResidenceForeignTin4:"taxIdNumber",accountHolderTaxResidenceForeignTin5:"taxIdNumber",accountHolderTaxResidenceForeignTin1IsNotRequired:"taxIdNumberIsNotRequired",accountHolderTaxResidenceForeignTin2IsNotRequired:"taxIdNumberIsNotRequired",accountHolderTaxResidenceForeignTin3IsNotRequired:"taxIdNumberIsNotRequired",accountHolderTaxResidenceForeignTin4IsNotRequired:"taxIdNumberIsNotRequired",accountHolderTaxResidenceForeignTin5IsNotRequired:"taxIdNumberIsNotRequired",accountHolderVatIdentificationNumber:"vatIdentificationNumber",accountHolderVatCountry:"vatCountry",accountHolderName:Nt(e),accountHolderDateOfBirth:"dateOfBirth",accountHolderDbaName:"dbaName",accountHolderAddressStreet:"street",accountHolderAddressStreet2:"street2",accountHolderAddressCity:"city",accountHolderAddressState:e.accountHolderAddressCountry==="US"?"state":e.accountHolderAddressCountry==="CA"?"province":"stateProvince",accountHolderAddressZip:"zip",accountHolderAddressCountry:"country",accountHolderForeignTin:"foreignTin",accountHolderForeignTinIsNotRequired:"foreignTinIsNotRequired",accountHolderMailingAddressStreet:"street",accountHolderMailingAddressStreet2:"street2",accountHolderMailingAddressCity:"city",accountHolderMailingAddressState:"state",accountHolderMailingAddressZip:"zip",accountHolderMailingAddressCountry:"country",accountHolderMailingAddressIsDifferent:"mailingAddressIsDifferent",accountHolderCityOfBirth:"cityOfBirth",accountHolderCountryOfBirth:"countryOfBirth",regardedOwnerUsTin:e.regardedOwnerUsAccountType==="individual"?"usSsn":"usTin",regardedOwnerUsPerson:"regardedOwnerUsPerson",regardedOwnerUsAccountType:"usAccountType",regardedOwnerUsOtherClassification:"usOtherClassification",regardedOwnerUsLlcClassification:"usLlcClassification",regardedOwnerUsTrustEstateEin:"usTrustEstateEin",regardedOwnerForeignAccountType:"foreignAccountType",regardedOwnerForeignTrustClassification:"foreignTrustClassification",regardedOwnerForeignOtherClassification:"foreignOtherClassification",regardedOwnerCountryOfCitizenship:"countryOfCitizenship",regardedOwnerName:Ot(e),regardedOwnerDateOfBirth:"dateOfBirth",regardedOwnerDbaName:"dbaName",regardedOwnerAddressStreet:"street",regardedOwnerAddressStreet2:"street2",regardedOwnerAddressCity:"city",regardedOwnerAddressState:"state",regardedOwnerAddressZip:"zip",regardedOwnerAddressCountry:"country",regardedOwnerMailingAddressIsDifferent:"mailingAddressIsDifferent",regardedOwnerMailingAddressStreet:"street",regardedOwnerMailingAddressStreet2:"street2",regardedOwnerMailingAddressCity:"city",regardedOwnerMailingAddressState:"state",regardedOwnerMailingAddressZip:"zip",regardedOwnerMailingAddressCountry:"country"}),Et=e=>({accountHolderUsPerson:e.includes("W-9")&&(e.includes("W-8BEN")||e.includes("W-8BEN-E")),accountHolderIsEuResident:e.includes("DAC7"),accountHolderIsIndividual:e.includes("DAC7")&&!(e.includes("W-9")||e.includes("W-8BEN")||e.includes("W-8BEN-E")),accountHolderUsAccountType:e.includes("W-9"),accountHolderUsLlcClassification:e.includes("W-9"),accountHolderUsOtherClassification:e.includes("W-9"),accountHolderForeignAccountType:e.includes("W-8BEN")||e.includes("W-8BEN-E"),accountHolderForeignOtherClassification:e.includes("W-8BEN")||e.includes("W-8BEN-E"),accountHolderAddressCity:!0,accountHolderAddressCountry:!0,accountHolderAddressState:!0,accountHolderAddressStreet2:!0,accountHolderAddressStreet:!0,accountHolderAddressZip:!0,accountHolderCountryOfCitizenship:e.includes("W-8BEN")||e.includes("W-8BEN-E"),accountHolderDateOfBirth:e.includes("W-8BEN")||e.includes("DAC7"),accountHolderDbaName:e.includes("W-8BEN")||e.includes("W-8BEN-E")||e.includes("W-9"),accountHolderFinancialAccountIdentifier:e.includes("DAC7"),accountHolderFinancialAccountName:e.includes("DAC7"),accountHolderUsSmllcElection:!0,accountHolderUsTrustEstateEin:!0,accountHolderForeignTin:e.includes("W-8BEN")||e.includes("W-8BEN-E"),accountHolderForeignTinIsNotRequired:e.includes("W-8BEN")||e.includes("W-8BEN-E"),accountHolderForeignTrustClassification:e.includes("W-8BEN")||e.includes("W-8BEN-E"),accountHolderMailingAddressCity:!0,accountHolderMailingAddressCountry:!0,accountHolderMailingAddressIsDifferent:!0,accountHolderMailingAddressState:!0,accountHolderMailingAddressStreet2:!0,accountHolderMailingAddressStreet:!0,accountHolderMailingAddressZip:!0,accountHolderName:!0,accountHolderCityOfBirth:e.includes("DAC7"),accountHolderCountryOfBirth:e.includes("DAC7"),accountHolderShowTaxResidence2:e.includes("DAC7"),accountHolderShowTaxResidence3:e.includes("DAC7"),accountHolderShowTaxResidence4:e.includes("DAC7"),accountHolderShowTaxResidence5:e.includes("DAC7"),accountHolderTaxResidenceCountry1:e.includes("DAC7"),accountHolderTaxResidenceCountry2:e.includes("DAC7"),accountHolderTaxResidenceCountry3:e.includes("DAC7"),accountHolderTaxResidenceCountry4:e.includes("DAC7"),accountHolderTaxResidenceCountry5:e.includes("DAC7"),accountHolderTaxResidenceForeignTin1:e.includes("DAC7"),accountHolderTaxResidenceForeignTin2:e.includes("DAC7"),accountHolderTaxResidenceForeignTin3:e.includes("DAC7"),accountHolderTaxResidenceForeignTin4:e.includes("DAC7"),accountHolderTaxResidenceForeignTin5:e.includes("DAC7"),accountHolderTaxResidenceForeignTin1IsNotRequired:e.includes("DAC7"),accountHolderTaxResidenceForeignTin2IsNotRequired:e.includes("DAC7"),accountHolderTaxResidenceForeignTin3IsNotRequired:e.includes("DAC7"),accountHolderTaxResidenceForeignTin4IsNotRequired:e.includes("DAC7"),accountHolderTaxResidenceForeignTin5IsNotRequired:e.includes("DAC7"),accountHolderUsTin:e.includes("W-9")||e.includes("W-8BEN")||e.includes("W-8BEN-E"),accountHolderVatIdentificationNumber:e.includes("DAC7"),accountHolderVatCountry:e.includes("DAC7"),regardedOwnerUsPerson:e.includes("W-9")&&(e.includes("W-8BEN")||e.includes("W-8BEN-E")),regardedOwnerUsAccountType:e.includes("W-9"),regardedOwnerUsLlcClassification:e.includes("W-9"),regardedOwnerUsOtherClassification:e.includes("W-9"),regardedOwnerUsTrustEstateEin:e.includes("W-9"),regardedOwnerForeignAccountType:e.includes("W-8BEN")||e.includes("W-8BEN-E"),regardedOwnerForeignOtherClassification:e.includes("W-8BEN")||e.includes("W-8BEN-E"),regardedOwnerForeignTrustClassification:e.includes("W-8BEN")||e.includes("W-8BEN-E"),regardedOwnerCountryOfCitizenship:e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerName:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerDateOfBirth:e.includes("W-8BEN"),regardedOwnerDbaName:e.includes("W-9")||e.includes("W-8BEN-E"),regardedOwnerAddressCity:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerAddressCountry:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerAddressState:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerAddressStreet2:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerAddressStreet:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerAddressZip:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerMailingAddressIsDifferent:e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerMailingAddressCity:e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerMailingAddressCountry:e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerMailingAddressState:e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerMailingAddressStreet2:e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerMailingAddressStreet:e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerMailingAddressZip:e.includes("W-8BEN-E")||e.includes("W-8BEN"),regardedOwnerForeignTin:!0,regardedOwnerForeignTinIsNotRequired:!0,regardedOwnerUsTin:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),iAcknowlegeESignIsOk:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),iAmExemptFromFatcaReporting:e.includes("W-9"),iAmNotSubjectToBackupWithholding:e.includes("W-9"),iAmACitizenOfTheUs:e.includes("W-9"),iAuthorizeWithholdingAgent:e.includes("W-8BEN-E"),iCertifyToAll:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),iConfirmIncomeIsNonUs:e.includes("W-8BEN-E")||e.includes("W-8BEN"),iConfirmTheEntityIsTheBeneficialOwner:e.includes("W-8BEN-E")||e.includes("W-8BEN"),iConfirmTheBeneficialOwnerIsExempt:e.includes("W-8BEN-E")||e.includes("W-8BEN"),iConfirmTheTaxIdIsCorrect:e.includes("W-9"),iConfirmTheEntityIsNotAUsPerson:e.includes("W-8BEN-E")||e.includes("W-8BEN"),iHaveLegalCapacityToSign:e.includes("W-9"),signature:e.includes("W-9")||e.includes("W-8BEN-E")||e.includes("W-8BEN"),exemptPayeeCode:e.includes("W-9"),exemptFatcaCode:e.includes("W-9")}),wt=(e,n)=>{const{accountHolderIsDisregarded:t,isW9:a,isW8BenE:o,isW8:s,hasNoTaxId:c}=ve(e),u=Et(n),d={accountHolderUsPerson:!0,accountHolderIsEuResident:!0,accountHolderIsIndividual:!0,accountHolderUsAccountType:e.accountHolderUsPerson==="yes"||!u.accountHolderUsPerson,accountHolderUsLlcClassification:e.accountHolderUsAccountType==="llc"||e.accountHolderUsAccountType==="smllc"&&e.accountHolderUsSmllcElection==="yes",accountHolderUsOtherClassification:e.accountHolderUsAccountType==="other",accountHolderUsSmllcElection:e.accountHolderUsAccountType==="smllc",accountHolderUsTrustEstateEin:e.accountHolderUsAccountType==="trustEstate",accountHolderForeignAccountType:e.accountHolderUsPerson==="no",accountHolderForeignOtherClassification:e.accountHolderForeignAccountType==="other",accountHolderForeignTin:e.accountHolderUsPerson==="no",accountHolderForeignTinIsNotRequired:e.accountHolderUsPerson==="no",accountHolderForeignTrustClassification:e.accountHolderForeignAccountType==="trust",accountHolderName:!0,accountHolderAddressCity:e.accountHolderIsEuResident==="yes"||e.accountHolderUsPerson!==void 0,accountHolderAddressCountry:e.accountHolderIsEuResident==="yes"||e.accountHolderUsPerson!==void 0,accountHolderAddressState:e.accountHolderIsEuResident==="yes"||e.accountHolderUsPerson!==void 0,accountHolderAddressStreet2:e.accountHolderIsEuResident==="yes"||e.accountHolderUsPerson!==void 0,accountHolderAddressStreet:e.accountHolderIsEuResident==="yes"||e.accountHolderUsPerson!==void 0,accountHolderAddressZip:e.accountHolderIsEuResident==="yes"||e.accountHolderUsPerson!==void 0,accountHolderCountryOfCitizenship:e.accountHolderUsPerson==="no",accountHolderCityOfBirth:c,accountHolderCountryOfBirth:c,accountHolderDateOfBirth:e.accountHolderIsIndividual==="yes"&&e.accountHolderIsEuResident==="yes"||e.accountHolderForeignAccountType==="individual",accountHolderDbaName:!0,accountHolderMailingAddressIsDifferent:e.accountHolderUsPerson==="no",accountHolderMailingAddressCity:e.accountHolderMailingAddressIsDifferent==="yes",accountHolderMailingAddressCountry:e.accountHolderMailingAddressIsDifferent==="yes",accountHolderMailingAddressState:e.accountHolderMailingAddressIsDifferent==="yes",accountHolderMailingAddressStreet2:e.accountHolderMailingAddressIsDifferent==="yes",accountHolderMailingAddressStreet:e.accountHolderMailingAddressIsDifferent==="yes",accountHolderMailingAddressZip:e.accountHolderMailingAddressIsDifferent==="yes",accountHolderUsTin:!0,accountHolderFinancialAccountIdentifier:e.accountHolderIsIndividual!==void 0&&e.accountHolderIsEuResident==="yes",accountHolderFinancialAccountName:e.accountHolderIsIndividual!==void 0&&e.accountHolderIsEuResident==="yes",accountHolderVatIdentificationNumber:e.accountHolderIsIndividual!==void 0&&e.accountHolderIsEuResident==="yes",accountHolderVatCountry:e.accountHolderIsIndividual!==void 0&&e.accountHolderIsEuResident==="yes",accountHolderTaxResidenceCountry1:e.accountHolderIsIndividual!==void 0&&e.accountHolderIsEuResident==="yes",accountHolderTaxResidenceForeignTin1:e.accountHolderIsIndividual!==void 0&&e.accountHolderIsEuResident==="yes",accountHolderShowTaxResidence2:e.accountHolderIsIndividual!==void 0&&e.accountHolderIsEuResident==="yes",accountHolderTaxResidenceCountry2:e.accountHolderShowTaxResidence2==="yes",accountHolderTaxResidenceForeignTin2:e.accountHolderShowTaxResidence2==="yes",accountHolderShowTaxResidence3:e.accountHolderShowTaxResidence2==="yes",accountHolderTaxResidenceCountry3:e.accountHolderShowTaxResidence3==="yes",accountHolderTaxResidenceForeignTin3:e.accountHolderShowTaxResidence3==="yes",accountHolderShowTaxResidence4:e.accountHolderShowTaxResidence3==="yes",accountHolderTaxResidenceCountry4:e.accountHolderShowTaxResidence4==="yes",accountHolderTaxResidenceForeignTin4:e.accountHolderShowTaxResidence4==="yes",accountHolderShowTaxResidence5:e.accountHolderShowTaxResidence4==="yes",accountHolderTaxResidenceCountry5:e.accountHolderShowTaxResidence5==="yes",accountHolderTaxResidenceForeignTin5:e.accountHolderShowTaxResidence5==="yes",accountHolderTaxResidenceForeignTin1IsNotRequired:e.accountHolderIsIndividual!==void 0,accountHolderTaxResidenceForeignTin2IsNotRequired:e.accountHolderShowTaxResidence2==="yes",accountHolderTaxResidenceForeignTin3IsNotRequired:e.accountHolderShowTaxResidence3==="yes",accountHolderTaxResidenceForeignTin4IsNotRequired:e.accountHolderShowTaxResidence4==="yes",accountHolderTaxResidenceForeignTin5IsNotRequired:e.accountHolderShowTaxResidence5==="yes",regardedOwnerUsPerson:!0,regardedOwnerUsAccountType:t&&(e.regardedOwnerUsPerson==="yes"||!u.regardedOwnerUsPerson),regardedOwnerUsLlcClassification:t&&e.regardedOwnerUsAccountType==="llc",regardedOwnerUsOtherClassification:t&&e.regardedOwnerUsAccountType==="other",regardedOwnerUsTrustEstateEin:t&&e.regardedOwnerUsAccountType==="trustEstate",regardedOwnerForeignAccountType:t&&e.regardedOwnerUsPerson==="no"||!u.regardedOwnerUsPerson,regardedOwnerForeignOtherClassification:t&&e.regardedOwnerForeignAccountType==="other",regardedOwnerForeignTrustClassification:t&&e.regardedOwnerForeignAccountType==="trust",regardedOwnerAddressCity:!0,regardedOwnerAddressCountry:!0,regardedOwnerAddressState:!0,regardedOwnerAddressStreet2:!0,regardedOwnerAddressStreet:!0,regardedOwnerAddressZip:!0,regardedOwnerCountryOfCitizenship:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerDateOfBirth:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerDbaName:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerName:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerMailingAddressIsDifferent:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerMailingAddressCity:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerMailingAddressCountry:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerMailingAddressState:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerMailingAddressStreet2:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerMailingAddressStreet:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerMailingAddressZip:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerUsTin:t&&e.regardedOwnerUsPerson!==void 0,regardedOwnerForeignTin:t&&e.regardedOwnerUsPerson==="no",regardedOwnerForeignTinIsNotRequired:t&&e.regardedOwnerUsPerson==="no",exemptPayeeCode:e.accountHolderUsAccountType!==void 0,exemptFatcaCode:e.accountHolderUsAccountType!==void 0,signature:!0,iCertifyToAll:!0,iAcknowlegeESignIsOk:!0,iAmExemptFromFatcaReporting:a,iAmNotSubjectToBackupWithholding:a,iAmACitizenOfTheUs:a,iAuthorizeWithholdingAgent:o,iConfirmIncomeIsNonUs:s,iConfirmTheEntityIsTheBeneficialOwner:s,iConfirmTheBeneficialOwnerIsExempt:s,iConfirmTheTaxIdIsCorrect:a,iConfirmTheEntityIsNotAUsPerson:s,iHaveLegalCapacityToSign:a};return Object.fromEntries(Object.keys(d).map(l=>[l,d[l]&&u[l]]))},xt=e=>e==null?{}:{accountHolderName:e.accountHolderName,accountHolderDbaName:e.accountHolderDbaName,accountHolderDateOfBirth:e.accountHolderDateOfBirth,accountHolderCityOfBirth:e.accountHolderCityOfBirth,accountHolderCountryOfBirth:e.accountHolderCountryOfBirth,accountHolderUsTin:e.accountHolderUsTin,accountHolderForeignTin:e.accountHolderForeignTin,accountHolderForeignTinIsNotRequired:e.accountHolderForeignTinIsNotRequired,accountHolderCountryOfCitizenship:e.accountHolderCountryOfCitizenship,accountHolderAddressStreet:e.accountHolderAddressStreet,accountHolderAddressStreet2:e.accountHolderAddressStreet2,accountHolderAddressCity:e.accountHolderAddressCity,accountHolderAddressState:e.accountHolderAddressState,accountHolderAddressZip:e.accountHolderAddressZip,accountHolderAddressCountry:e.accountHolderAddressCountry,accountHolderMailingAddressStreet:e.accountHolderMailingAddressStreet,accountHolderMailingAddressStreet2:e.accountHolderMailingAddressStreet2,accountHolderMailingAddressCity:e.accountHolderMailingAddressCity,accountHolderMailingAddressState:e.accountHolderMailingAddressState,accountHolderMailingAddressZip:e.accountHolderMailingAddressZip,accountHolderMailingAddressCountry:e.accountHolderMailingAddressCountry,accountHolderIsIndividual:void 0,accountHolderIsEuResident:void 0,accountHolderUsPerson:e.accountHolderUsPerson,accountHolderUsAccountType:e.accountHolderUsAccountType,accountHolderUsSmllcElection:void 0,accountHolderUsLlcClassification:e.accountHolderUsLlcClassification,accountHolderUsOtherClassification:e.accountHolderUsOtherClassification,accountHolderUsTrustEstateEin:void 0,accountHolderForeignAccountType:void 0,accountHolderForeignTrustClassification:void 0,accountHolderForeignOtherClassification:void 0,accountHolderFinancialAccountName:void 0,accountHolderFinancialAccountIdentifier:void 0,accountHolderVatIdentificationNumber:void 0,accountHolderVatCountry:void 0,accountHolderTaxResidenceCountry1:void 0,accountHolderTaxResidenceForeignTin1:void 0,accountHolderTaxResidenceForeignTin1IsNotRequired:void 0,accountHolderTaxResidenceCountry2:void 0,accountHolderTaxResidenceForeignTin2:void 0,accountHolderTaxResidenceForeignTin2IsNotRequired:void 0,accountHolderTaxResidenceCountry3:void 0,accountHolderTaxResidenceForeignTin3:void 0,accountHolderTaxResidenceForeignTin3IsNotRequired:void 0,accountHolderTaxResidenceCountry4:void 0,accountHolderTaxResidenceForeignTin4:void 0,accountHolderTaxResidenceForeignTin4IsNotRequired:void 0,accountHolderTaxResidenceCountry5:void 0,accountHolderTaxResidenceForeignTin5:void 0,accountHolderTaxResidenceForeignTin5IsNotRequired:void 0,regardedOwnerName:void 0,regardedOwnerDbaName:void 0,regardedOwnerDateOfBirth:void 0,regardedOwnerUsTin:void 0,regardedOwnerForeignTin:void 0,regardedOwnerForeignTinIsNotRequired:void 0,regardedOwnerCountryOfCitizenship:void 0,regardedOwnerAddressStreet:void 0,regardedOwnerAddressStreet2:void 0,regardedOwnerAddressCity:void 0,regardedOwnerAddressState:void 0,regardedOwnerAddressZip:void 0,regardedOwnerAddressCountry:void 0,regardedOwnerMailingAddressStreet:void 0,regardedOwnerMailingAddressStreet2:void 0,regardedOwnerMailingAddressCity:void 0,regardedOwnerMailingAddressState:void 0,regardedOwnerMailingAddressZip:void 0,regardedOwnerMailingAddressCountry:void 0,regardedOwnerUsPerson:void 0,regardedOwnerUsAccountType:void 0,regardedOwnerUsLlcClassification:void 0,regardedOwnerUsOtherClassification:void 0,regardedOwnerUsTrustEstateEin:void 0,regardedOwnerForeignAccountType:void 0,regardedOwnerForeignTrustClassification:void 0,regardedOwnerForeignOtherClassification:void 0,signature:void 0},Rt=e=>({signature:e.signature,document_type:"COMPREHENSIVE"}),Ht=({initialData:e,onSubmit:n,initialLanguage:t="en-us",supportedForms:a=["DAC7","W-8BEN","W-8BEN-E","W-9"]})=>{const[o,s]=O.useState(t),[c,u]=O.useState(a),d=xt(e),[l,m]=O.useState(d),[g,p]=O.useState(["AccountHolderClassification"]),[C,E]=O.useState(void 0),{isW9:A,isW8:v,isW8Ben:w,isW8BenE:H,isDac7:x}=ve(l),T=g[g.length-1],G=T||"AccountHolderClassification",S={regardedOwnerUsPerson:void 0,regardedOwnerUsAccountType:void 0,regardedOwnerUsLlcClassification:void 0,regardedOwnerUsOtherClassification:void 0,regardedOwnerUsTrustEstateEin:void 0,regardedOwnerForeignAccountType:void 0,regardedOwnerForeignTrustClassification:void 0,regardedOwnerForeignOtherClassification:void 0},N=j=>{const J={...l,...j};m(J);const ye=Rt(J);n({...ye,signature_timestamp:new Date().toISOString()})},P=O.useCallback(()=>{m(d),E(void 0),p(["AccountHolderClassification"])},[d]),k=j=>{const{accountHolderIsDisregarded:J,isDac7:ye,hasNoTaxId:ke}=ve(j);return T==="AccountHolderClassification"?ye?"AccountHolderContact":J?"RegardedOwnerClassification":"AccountHolderContact":T==="AccountHolderContact"?ye&&j.accountHolderIsEuResident==="no"?"Summary":"AccountHolderTax":T==="AccountHolderTax"?ke?"AccountHolderTaxClarification":"Summary":T==="RegardedOwnerClassification"?"RegardedOwnerContact":T==="RegardedOwnerContact"?"RegardedOwnerTax":"Summary"},Q=j=>{const J=k(j);J==="Summary"&&E(void 0),_(J)},$=j=>{const J={...l,...j};m(J),C===void 0?Q(J):p(["Summary"])},Se=j=>{l.accountHolderUsAccountType!==j.accountHolderUsAccountType||l.accountHolderForeignAccountType!==j.accountHolderForeignAccountType?$({...j,...S}):$(j)},_=j=>{p([...g,j])},se=j=>{p([j]),E(l)},ge=C!==void 0?()=>{m(C),E(void 0),p(["Summary"])}:void 0,Ne=g.length>1?()=>{p(g.slice(0,g.length-1))}:void 0;return{isW9:A,isW8:v,isW8Ben:w,isW8BenE:H,isDac7:x,onPersistAccountHolderData:Se,onPersistCollectedData:$,onSubmitTaxDocumentation:N,onResetTaxDocumentation:P,editTo:se,onCancel:ge,goTo:_,goBack:Ne,goToNext:Q,stepName:G,data:l,setLanguage:s,language:o,supportedForms:c,setSupportedForms:u}},Pt=({data:e={},onSubmit:n,language:t,forms:a,children:o})=>i.jsx(At,{value:Ht({initialData:e,onSubmit:n,initialLanguage:t,supportedForms:a}),children:o}),[L,Bt]=Mn(),ie={"en-us":{button:{back:"Back",cancel:"Cancel",edit:"Edit",next:"Next",reset:"Reset",submit:"Submit"},prompt:{addAdditional:"Add Additional Residence",removeAdditional:"Remove Additional Residence",address:"Address",businessRegistrationNumber:"Business Registration Number",city:"City",country:"Country",countryOfCitizenship:"Country of Citizenship",dateOfBirth:"Date of Birth",dbaName:"DBA Name",exemptFatcaCode:"Exempt FATCA Code",exemptPayeeCode:"Exempt Payee Code",financialAccountIdentifier:"Financial Account Identifier",financialAccountName:"Financial Account Name",foreignAccountType:"Which of the following best represents your account type?",foreignOtherClassification:"Other Classification",foreignTin:"Foreign TIN",foreignTinIsNotRequired:"Foreign TIN is not required",foreignTrustClassification:"Trust Classification",isEuResident:"Are you resident in one or more EU Member States?",isIndividual:"Are you an individual?",mailingAddress:"Mailing Address",mailingAddressIsDifferent:"Mailing address is different",name:"Name",nameOfBusiness:"Name of Business",nameOfCCorporation:"Name of C Corporation",nameOfCorporation:"Name of Corporation",nameOfIndividual:"Name of Individual",nameOfLlc:"Name of LLC",nameOfOrganization:"Name of Organization",nameOfPartnership:"Name of Partnership",nameOfSCorporation:"Name of S Corporation",nameOfSoleProprietor:"Name of Sole Proprietor",nameOfTrust:"Name of Trust",nameOfTrustEstate:"Name of Trust/Estate",cityOfBirth:"City of Birth",countryOfBirth:"Country of Birth",province:"Province",regardedOwnerUsPerson:"Is the Regarded Owner a US Person?",signature:"Signature",smllcElection:"Did you make an entity election?",state:"State",stateProvince:"Province",street2:"Unit, Appt or Suite #",street:"Street Address",taxIdNumber:"Tax ID Number",taxIdNumberIsNotRequired:"Tax ID Number is not required",tin:"TIN",usAccountType:"Which of the following best represents your account type?",usEin:"Employer Identification Number",usLlcClassification:"LLC Classification",usOtherClassification:"Other Classification",usPerson:"Are you a US Person?",usSsn:"Social Security Number",usTin:"US Tax Identification Number",usTrustEstateEin:"Does the Trust/Estate have an EIN?",vatIdentificationNumber:"VAT Identification Number",vatCountry:"VAT Member State",zip:"Postal Code",iAcknowlegeESignIsOk:"I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"Certify to all",iConfirmIncomeIsNonUs:"This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"I confirm I have the legal capacity to sign on behalf of the entity named above"},subPrompt:{smllcElection:"An 8832 or 2553 election",iConfirmIncomeIsNonUs:"(a) income not effectively connected with the conduct of a trade or business in the United States; (b) income effectively connected with the conduct of a trade or business in the United States but is not subject to tax under an applicable income tax treaty; (c) the partner’s share of a partnership's effectively connected taxable income; or (d) the partner's amount realized from the transfer of a partnership interest subject to withholding under section 1446(f);"},title:{accountHolder:"Account Holder",accountHolderClassification:"Account Classification",accountHolderContactInformation:"Name and Address",accountHolderTaxInformation:"Tax Information",address:"Address",mailingAddress:"Mailing Address",permanentAddress:"Permanent Address",placeOfBirth:"Place of Birth",regardedOwner:"Regarded Owner",regardedOwnerClassification:"Regarded Owner Account Classification",regardedOwnerContactInformation:"Regarded Owner Name and Address",regardedOwnerTaxInformation:"Regarded Owner Tax Information",signature:"Signature",summary:"Summary",taxResidences:"Tax Residences",taxResidence1:"Tax Residence 1",taxResidence2:"Tax Residence 2",taxResidence3:"Tax Residence 3",taxResidence4:"Tax Residence 4",taxResidence5:"Tax Residence 5"},text:{eSignActReference:"* The Electronic Signatures in Global and National Commerce Act, 15 U.S.C. §7001, et seq., (“E-sign-Act”) was signed into law on June 30, 2000, and provides a general rule for the validation of electronic records and signatures for transactions in or affecting interstate or foreign commerce.",notRequired:"Not Required"},hint:{dateOfBirth:'Use this format: "MM/DD/YYYY"'},error:{invalid:"Invalid",invalidDate:"Invalid Date",mustBeFiveOrNineDigits:"Must be five or nine digits",mustBeInDateFormat:"Must be in this format: MM/DD/YYYY",mustBeNineDigits:"Must be nine digits",mustBeSixCharacters:"Must be six characters",mustBeValidBirthDate:"Not a valid Birth Date",mustMatchName:"Must match name",required:"Required"},option:{usPerson_yes:"Yes. I am a US Person",usPerson_no:"No, I am not a US person",regardedOwnerUsPerson_yes:"Yes. The regarded owner is a US Person",regardedOwnerUsPerson_no:"No, The regarded owner is not a US person",isIndividual_yes:"Yes. I am an individual",isIndividual_no:"No, I am not an individual",cCorporation:"C Corporation",centralBankOfIssue:"Central Bank of Issue",complexTrust:"Complex Trust",corporation:"Corporation",disregardedEntity:"Disregarded Entity",estate:"Estate",foreignGovernmentControlledEntity:"Foreign Government Controlled Entity",foreignGovernmentIntegralPart:"Foreign Government Integral Part",grantorTrust:"Grantor Trust",individual:"Individual",internationalOrganization:"International Organization",llc:"LLC",no:"No",other:"Other",partnership:"Partnership",privateFoundation:"Private Foundation",sCorporation:"S Corporation",simpleTrust:"Simple Trust",smllc:"SMLLC",soleProprietor:"Sole Proprietor",taxExemptOrganization:"Tax Exempt Organization",trust:"Trust",trustEstate:"Trust/Estate",yes:"Yes"},country:{AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia & Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos Islands",CD:"Congo",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Côte d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States Of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island & McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts & Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre & Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russian Federation",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard & Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome & Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syrian Arab Republic",SZ:"Eswatini",TC:"Turks & Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad & Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See",VC:"Saint Vincent & the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VI:"Virgin Islands",VN:"Viet Nam",VU:"Vanuatu",WF:"Wallis & Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"American Samoa",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"District Of Columbia",DE:"Delaware",FL:"Florida",FM:"Federated States Of Micronesia",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Marshall Islands",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MP:"Northern Mariana Islands",MS:"Mississippi",MT:"Montana",NC:"North Carolina",ND:"North Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",PW:"Palau",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UM:"Outlying Islands",UT:"Utah",VA:"Virginia",VI:"Virgin Islands",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"British Columbia",MB:"Manitoba",NB:"New Brunswick",NL:"Newfoundland and Labrador",NS:"Nova Scotia",NT:"Northwest Territories",NU:"Nunavut",ON:"Ontario",PE:"Prince Edward Island",QC:"Quebec",SK:"Saskatchewan",YT:"Yukon Territory"}},"de-de":{button:{back:"Zurück",cancel:"Abbrechen",edit:"Bearbeiten",next:"Weiter",reset:"Zurücksetzen",submit:"Absenden"},prompt:{addAdditional:"Ein weiteres hinzufügen",removeAdditional:"Entfernen",address:"Adresse",businessRegistrationNumber:"Handelsregisternummer",city:"Stadt",country:"Land",countryOfCitizenship:"Staatsangehörigkeit",dateOfBirth:"Geburtsdatum",dbaName:"Geschäftsname",exemptFatcaCode:"Befreit von FATCA-Code",exemptPayeeCode:"Befreit von Zahlungsempfänger-Code",financialAccountIdentifier:"Finanzkontokennung",financialAccountName:"Name des Finanzkontos",foreignAccountType:"Welcher der folgenden Punkte beschreibt am besten Ihre Kontenart?",foreignOtherClassification:"Andere Klassifikation",foreignTin:"Ausländische TIN",foreignTinIsNotRequired:"Ausländische TIN ist nicht erforderlich",foreignTrustClassification:"Trust-Klassifikation",isEuResident:"Sind Sie in einem oder mehreren EU-Mitgliedstaaten ansässig?",isIndividual:"Sind Sie eine Einzelperson?",mailingAddress:"Postadresse",mailingAddressIsDifferent:"Postadresse ist anders",name:"Name",nameOfBusiness:"Name des Unternehmens",nameOfCCorporation:"Name der C Corporation",nameOfCorporation:"Name der Corporation",nameOfIndividual:"Name der Einzelperson",nameOfLlc:"Name der LLC",nameOfOrganization:"Name der Organisation",nameOfPartnership:"Name der Partnerschaft",nameOfSCorporation:"Name der S Corporation",nameOfSoleProprietor:"Name des Einzelunternehmers",nameOfTrust:"Name des Trusts",nameOfTrustEstate:"Name des Trusts/Vermögens",cityOfBirth:"Geburtsort",countryOfBirth:"Geburtsland",province:"Provinz",regardedOwnerUsPerson:"Ist der angesehene Eigentümer eine US-Person?",signature:"Unterschrift",smllcElection:"Haben Sie eine Entitätswahl getroffen?",state:"Bundesland",stateProvince:"Provinz",street2:"Einheit, Wohnung oder Suite #",street:"Straßenadresse",taxIdNumber:"Steuernummer",taxIdNumberIsNotRequired:"Steuernummer ist nicht erforderlich",tin:"TIN",usAccountType:"Welcher der folgenden Punkte beschreibt am besten Ihre Kontenart?",usEin:"Arbeitgeber-Identifikationsnummer",usLlcClassification:"LLC-Klassifikation",usOtherClassification:"Andere Klassifikation",usPerson:"Sind Sie eine US-Person?",usSsn:"Sozialversicherungsnummer",usTin:"US-Steuernummer",usTrustEstateEin:"Hat das Trust/Vermögen eine EIN?",vatIdentificationNumber:"Umsatzsteuer-Identifikationsnummer",vatCountry:"Umsatzsteuer-Land",zip:"Postleitzahl",iAcknowlegeESignIsOk:"German - I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"German - The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"German - I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"German - I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"German - Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"German - Certify to all",iConfirmIncomeIsNonUs:"German - This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"German - The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"German - For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"German - The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"German - The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"German - I confirm I have the legal capacity to sign on behalf of the entity named above"},subPrompt:{smllcElection:"Eine 8832 oder 2553 Wahl",iConfirmIncomeIsNonUs:"Germany - (a) income not effectively connected with the conduct of a trade or business in the United States; (b) income effectively connected with the conduct of a trade or business in the United States but is not subject to tax under an applicable income tax treaty; (c) the partner’s share of a partnership's effectively connected taxable income; or (d) the partner's amount realized from the transfer of a partnership interest subject to withholding under section 1446(f);"},title:{accountHolder:"Kontoinhaber",accountHolderClassification:"Kontenklassifikation",accountHolderContactInformation:"Name und Adresse",accountHolderTaxInformation:"Steuerinformationen",address:"Adresse",mailingAddress:"Postadresse",permanentAddress:"Ständige Adresse",placeOfBirth:"Geburtsort",regardedOwner:"Angesehener Eigentümer",regardedOwnerClassification:"Klassifikation des angesehenen Eigentümers",regardedOwnerContactInformation:"Name und Adresse des angesehenen Eigentümers",regardedOwnerTaxInformation:"Steuerinformationen des angesehenen Eigentümers",signature:"Unterschrift",summary:"Zusammenfassung",taxResidences:"Steuerwohnsitze",taxResidence1:"Steuerwohnsitz 1",taxResidence2:"Steuerwohnsitz 2",taxResidence3:"Steuerwohnsitz 3",taxResidence4:"Steuerwohnsitz 4",taxResidence5:"Steuerwohnsitz 5"},hint:{dateOfBirth:"Verwenden Sie dieses Format: TT/MM/JJJJ"},error:{invalid:"Ungültig",invalidDate:"Ungültiges Datum",mustBeFiveOrNineDigits:"Muss fünf oder neun Ziffern sein",mustBeInDateFormat:"Muss in diesem Format sein: TT/MM/JJJJ",mustBeNineDigits:"Muss neun Ziffern sein",mustBeSixCharacters:"Muss sechs Zeichen sein",mustBeValidBirthDate:"Kein gültiges Geburtsdatum",mustMatchName:"Muss mit dem Namen übereinstimmen",required:"Erforderlich"},option:{usPerson_yes:"Ja. Ich bin eine US-Person",usPerson_no:"Nein, ich bin keine US-Person",isIndividual_yes:"Ja. Ich bin eine Einzelperson",isIndividual_no:"Nein, ich bin keine Einzelperson",cCorporation:"C Corporation",centralBankOfIssue:"Zentralbank",complexTrust:"Komplexer Trust",corporation:"Corporation",disregardedEntity:"Ignorierte Entität",estate:"Nachlass",foreignGovernmentControlledEntity:"Von ausländischer Regierung kontrollierte Entität",foreignGovernmentIntegralPart:"Integrierter Bestandteil einer ausländischen Regierung",grantorTrust:"Stifter-Trust",individual:"Einzelperson",internationalOrganization:"Internationale Organisation",llc:"LLC",no:"Nein",other:"Anderes",partnership:"Partnerschaft",privateFoundation:"Privatstiftung",sCorporation:"S Corporation",simpleTrust:"Einfacher Trust",smllc:"SMLLC",soleProprietor:"Einzelunternehmer",taxExemptOrganization:"Steuerbefreite Organisation",trust:"Trust",trustEstate:"Trust/Vermögen",yes:"Ja",regardedOwnerUsPerson_yes:"Ja. Der angesehene Eigentümer ist eine US-Person",regardedOwnerUsPerson_no:"Nein, der angesehene Eigentümer ist keine US-Person"},text:{eSignActReference:"Germany - * The Electronic Signatures in Global and National Commerce Act, 15 U.S.C. §7001, et seq., (“E-sign-Act”) was signed into law on June 30, 2000, and provides a general rule for the validation of electronic records and signatures for transactions in or affecting interstate or foreign commerce.",notRequired:"Nicht erforderlich"},country:{AD:"Andorra",AE:"Vereinigte Arabische Emirate",AF:"Afghanistan",AG:"Antigua und Barbuda",AI:"Anguilla",AL:"Albanien",AM:"Armenien",AO:"Angola",AQ:"Antarktis",AR:"Argentinien",AS:"Amerikanisch-Samoa",AT:"Österreich",AU:"Australien",AW:"Aruba",AX:"Åland-Inseln",AZ:"Aserbaidschan",BA:"Bosnien und Herzegowina",BB:"Barbados",BD:"Bangladesch",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint-Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivien",BQ:"Bonaire",BR:"Brasilien",BS:"Bahamas",BT:"Bhutan",BV:"Bouvetinsel",BW:"Botswana",BY:"Weißrussland",BZ:"Belize",CA:"Kanada",CC:"Kokosinseln",CD:"Kongo",CF:"Zentralafrikanische Republik",CG:"Kongo",CH:"Schweiz",CI:"Côte d'Ivoire",CK:"Cookinseln",CL:"Chile",CM:"Kamerun",CN:"China",CO:"Kolumbien",CR:"Costa Rica",CU:"Kuba",CV:"Kap Verde",CW:"Curaçao",CX:"Weihnachtsinsel",CY:"Zypern",CZ:"Tschechien",DE:"Deutschland",DJ:"Dschibuti",DK:"Dänemark",DM:"Dominica",DO:"Dominikanische Republik",DZ:"Algerien",EC:"Ecuador",EE:"Estland",EG:"Ägypten",EH:"Westsahara",ER:"Eritrea",ES:"Spanien",ET:"Äthiopien",FI:"Finnland",FJ:"Fidschi",FK:"Falklandinseln",FM:"Föderierte Staaten von Mikronesien",FO:"Färöer-Inseln",FR:"Frankreich",GA:"Gabun",GB:"Vereinigtes Königreich",GD:"Grenada",GE:"Georgien",GF:"Französisch-Guayana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Grönland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Äquatorialguinea",GR:"Griechenland",GS:"Südgeorgien",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hongkong",HM:"Heard- und McDonald-Inseln",HN:"Honduras",HR:"Kroatien",HT:"Haiti",HU:"Ungarn",ID:"Indonesien",IE:"Irland",IL:"Israel",IM:"Isle of Man",IN:"Indien",IO:"Britisches Territorium im Indischen Ozean",IQ:"Irak",IR:"Iran",IS:"Island",IT:"Italien",JE:"Jersey",JM:"Jamaika",JO:"Jordanien",JP:"Japan",KE:"Kenia",KG:"Kirgisistan",KH:"Kambodscha",KI:"Kiribati",KM:"Komoren",KN:"St. Kitts und Nevis",KP:"Nordkorea",KR:"Südkorea",KW:"Kuwait",KY:"Kaimaninseln",KZ:"Kasachstan",LA:"Laos",LB:"Libanon",LC:"St. Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",LY:"Libyen",MA:"Marokko",MC:"Monaco",MD:"Moldawien",ME:"Montenegro",MF:"Saint-Martin",MG:"Madagaskar",MH:"Marshallinseln",MK:"Nordmazedonien",ML:"Mali",MM:"Myanmar",MN:"Mongolei",MO:"Macao",MP:"Nördliche Marianen",MQ:"Martinique",MR:"Mauretanien",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Malediven",MW:"Malawi",MX:"Mexiko",MY:"Malaysia",MZ:"Mosambik",NA:"Namibia",NC:"Neukaledonien",NE:"Niger",NF:"Norfolkinsel",NG:"Nigeria",NI:"Nicaragua",NL:"Niederlande",NO:"Norwegen",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Neuseeland",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Französisch-Polynesien",PG:"Papua-Neuguinea",PH:"Philippinen",PK:"Pakistan",PL:"Polen",PM:"Saint-Pierre und Miquelon",PN:"Pitcairninseln",PR:"Puerto Rico",PS:"Palästinensisches Gebiet",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Katar",RE:"Réunion",RO:"Rumänien",RS:"Serbien",RU:"Russland",RW:"Ruanda",SA:"Saudi-Arabien",SB:"Salomonen",SC:"Seychellen",SD:"Sudan",SE:"Schweden",SG:"Singapur",SH:"St. Helena",SI:"Slowenien",SJ:"Svalbard",SK:"Slowakei",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"Südsudan",ST:"São Tomé und Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syrien",SZ:"Eswatini",TC:"Turks- und Caicosinseln",TD:"Tschad",TF:"Französische Süd- und Antarktisgebiete",TG:"Togo",TH:"Thailand",TJ:"Tadschikistan",TK:"Tokelau",TL:"Osttimor",TM:"Turkmenistan",TN:"Tunesien",TO:"Tonga",TR:"Türkei",TT:"Trinidad und Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tansania",UA:"Ukraine",UG:"Uganda",UM:"Kleinere Amerikanische Überseeinseln",US:"Vereinigte Staaten",UY:"Uruguay",UZ:"Usbekistan",VA:"Vatikanstadt",VC:"St. Vincent und die Grenadinen",VE:"Venezuela",VG:"Britische Jungferninseln",VI:"Amerikanische Jungferninseln",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis und Futuna",WS:"Samoa",YE:"Jemen",YT:"Mayotte",ZA:"Südafrika",ZM:"Sambia",ZW:"Simbabwe"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"Amerikanisch-Samoa",AZ:"Arizona",CA:"Kalifornien",CO:"Colorado",CT:"Connecticut",DC:"District Of Columbia",DE:"Delaware",FL:"Florida",FM:"Föderierte Staaten von Mikronesien",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Marshallinseln",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MP:"Nördliche Marianen",MS:"Mississippi",MT:"Montana",NC:"North Carolina",ND:"North Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",PW:"Palau",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UM:"Äußere Inseln",UT:"Utah",VA:"Virginia",VI:"Jungferninseln",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"British Columbia",MB:"Manitoba",NB:"New Brunswick",NL:"Neufundland und Labrador",NS:"Nova Scotia",NT:"Nordwest-Territorien",NU:"Nunavut",ON:"Ontario",PE:"Prinz-Edward-Insel",QC:"Quebec",SK:"Saskatchewan",YT:"Yukon-Territorium"}},"en-gb":{button:{back:"Back",cancel:"Cancel",edit:"Edit",next:"Next",reset:"Reset",submit:"Submit"},prompt:{addAdditional:"Add Additional Residence",removeAdditional:"Remove Additional Residence",address:"Address",businessRegistrationNumber:"Business Registration Number",city:"City",country:"Country",countryOfCitizenship:"Country of Citizenship",dateOfBirth:"Date of Birth",dbaName:"Trading As Name",exemptFatcaCode:"Exempt FATCA Code",exemptPayeeCode:"Exempt Payee Code",financialAccountIdentifier:"Financial Account Identifier",financialAccountName:"Financial Account Name",foreignAccountType:"Which of the following best represents your account type?",foreignOtherClassification:"Other Classification",foreignTin:"Foreign Tax Identification Number",foreignTinIsNotRequired:"Foreign Tax Identification Number is not required",foreignTrustClassification:"Trust Classification",isEuResident:"Are you resident in one or more EU Member States?",isIndividual:"Are you an individual?",mailingAddress:"Mailing Address",mailingAddressIsDifferent:"Mailing address is different",name:"Name",nameOfBusiness:"Name of Business",nameOfCCorporation:"Name of C Corporation",nameOfCorporation:"Name of Corporation",nameOfIndividual:"Name of Individual",nameOfLlc:"Name of LLC",nameOfOrganization:"Name of Organisation",nameOfPartnership:"Name of Partnership",nameOfSCorporation:"Name of S Corporation",nameOfSoleProprietor:"Name of Sole Trader",nameOfTrust:"Name of Trust",nameOfTrustEstate:"Name of Trust/Estate",cityOfBirth:"City of Birth",countryOfBirth:"Country of Birth",province:"Province",regardedOwnerUsPerson:"Is the Regarded Owner a US Person?",signature:"Signature",smllcElection:"Did you make an entity election?",state:"County",stateProvince:"County",street2:"Flat, Apartment or Suite #",street:"Street Address",taxIdNumber:"Tax ID Number",taxIdNumberIsNotRequired:"Tax ID Number is not required",tin:"Tax Identification Number",usAccountType:"Which of the following best represents your account type?",usEin:"Employer Identification Number",usLlcClassification:"LLC Classification",usOtherClassification:"Other Classification",usPerson:"Are you a US Person?",usSsn:"Social Security Number",usTin:"US Tax Identification Number",usTrustEstateEin:"Does the Trust/Estate have an Employer Identification Number?",vatIdentificationNumber:"VAT Identification Number",vatCountry:"VAT Member State",zip:"Postcode",iAcknowlegeESignIsOk:"I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"Certify to all",iConfirmIncomeIsNonUs:"This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"I confirm I have the legal capacity to sign on behalf of the entity named above"},subPrompt:{smllcElection:"An 8832 or 2553 election",iConfirmIncomeIsNonUs:"(a) income not effectively connected with the conduct of a trade or business in the United States; (b) income effectively connected with the conduct of a trade or business in the United States but is not subject to tax under an applicable income tax treaty; (c) the partner’s share of a partnership's effectively connected taxable income; or (d) the partner's amount realized from the transfer of a partnership interest subject to withholding under section 1446(f);"},title:{accountHolder:"Account Holder",accountHolderClassification:"Account Classification",accountHolderContactInformation:"Name and Address",accountHolderTaxInformation:"Tax Information",address:"Address",mailingAddress:"Mailing Address",permanentAddress:"Permanent Address",placeOfBirth:"Place of Birth",regardedOwner:"Regarded Owner",regardedOwnerClassification:"Regarded Owner Account Classification",regardedOwnerContactInformation:"Regarded Owner Name and Address",regardedOwnerTaxInformation:"Regarded Owner Tax Information",signature:"Signature",summary:"Summary",taxResidences:"Tax Residences",taxResidence1:"Tax Residence 1",taxResidence2:"Tax Residence 2",taxResidence3:"Tax Residence 3",taxResidence4:"Tax Residence 4",taxResidence5:"Tax Residence 5"},text:{eSignActReference:"* The Electronic Signatures in Global and National Commerce Act, 15 U.S.C. §7001, et seq., (“E-sign-Act”) was signed into law on June 30, 2000, and provides a general rule for the validation of electronic records and signatures for transactions in or affecting interstate or foreign commerce.",notRequired:"Not Required"},hint:{dateOfBirth:"Use this format: DD/MM/YYYY"},error:{invalid:"Invalid",invalidDate:"Invalid Date",mustBeFiveOrNineDigits:"Must be five or nine digits",mustBeInDateFormat:"Must be in this format: DD/MM/YYYY",mustBeNineDigits:"Must be nine digits",mustBeSixCharacters:"Must be six characters",mustBeValidBirthDate:"Not a valid Birth Date",mustMatchName:"Must match name",required:"Required"},option:{usPerson_yes:"Yes. I am a US Person",usPerson_no:"No, I am not a US person",regardedOwnerUsPerson_no:"No, the Regarded Owner is not a US Person",regardedOwnerUsPerson_yes:"Yes. The Regarded Owner is a US Person",isIndividual_yes:"Yes. I am an individual",isIndividual_no:"No, I am not an individual",cCorporation:"C Corporation",centralBankOfIssue:"Central Bank of Issue",complexTrust:"Complex Trust",corporation:"Corporation",disregardedEntity:"Disregarded Entity",estate:"Estate",foreignGovernmentControlledEntity:"Foreign Government Controlled Entity",foreignGovernmentIntegralPart:"Foreign Government Integral Part",grantorTrust:"Grantor Trust",individual:"Individual",internationalOrganization:"International Organisation",llc:"LLC",no:"No",other:"Other",partnership:"Partnership",privateFoundation:"Private Foundation",sCorporation:"S Corporation",simpleTrust:"Simple Trust",smllc:"SMLLC",soleProprietor:"Sole Trader",taxExemptOrganization:"Tax Exempt Organisation",trust:"Trust",trustEstate:"Trust/Estate",yes:"Yes"},country:{AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia & Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos Islands",CD:"Congo",CF:"Central African Republic",CG:"Congo",CH:"Switzerland",CI:"Côte d'Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Curaçao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States Of Micronesia",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island & McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts & Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MH:"Marshall Islands",MK:"North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre & Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russian Federation",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard & Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"South Sudan",ST:"Sao Tome & Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syrian Arab Republic",SZ:"Eswatini",TC:"Turks & Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad & Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"Outlying Islands",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VA:"Holy See",VC:"Saint Vincent & the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VI:"Virgin Islands",VN:"Viet Nam",VU:"Vanuatu",WF:"Wallis & Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"American Samoa",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"District Of Columbia",DE:"Delaware",FL:"Florida",FM:"Federated States Of Micronesia",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Marshall Islands",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MP:"Northern Mariana Islands",MS:"Mississippi",MT:"Montana",NC:"North Carolina",ND:"North Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",PW:"Palau",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UM:"Outlying Islands",UT:"Utah",VA:"Virginia",VI:"Virgin Islands",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"British Columbia",MB:"Manitoba",NB:"New Brunswick",NL:"Newfoundland and Labrador",NS:"Nova Scotia",NT:"Northwest Territories",NU:"Nunavut",ON:"Ontario",PE:"Prince Edward Island",QC:"Quebec",SK:"Saskatchewan",YT:"Yukon Territory"}},"it-it":{button:{back:"Indietro",cancel:"Annulla",edit:"Modifica",next:"Avanti",reset:"Reimposta",submit:"Invia"},prompt:{addAdditional:"Aggiungi un altro",removeAdditional:"Rimuovi",address:"Indirizzo",businessRegistrationNumber:"Numero di registrazione dell'azienda",city:"Città",cityOfBirth:"Città di nascita",country:"Paese",countryOfBirth:"Paese di nascita",countryOfCitizenship:"Paese di cittadinanza",dateOfBirth:"Data di nascita",dbaName:"Nome DBA",exemptFatcaCode:"Codice FATCA esente",exemptPayeeCode:"Codice beneficiario esente",financialAccountIdentifier:"Identificatore del conto finanziario",financialAccountName:"Nome del conto finanziario",foreignAccountType:"Quale delle seguenti rappresenta meglio il tipo del tuo conto?",foreignOtherClassification:"Altra classificazione",foreignTin:"TIN estero",foreignTinIsNotRequired:"Non è richiesto il TIN estero",foreignTrustClassification:"Classificazione del trust",isEuResident:"Sei residente in uno o più Stati membri dell'UE?",isIndividual:"Sei un individuo?",iAcknowlegeESignIsOk:"Italian - I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"Italian - The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"Italian - I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"Italian - I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"Italian - Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"Italian - Certify to all",iConfirmIncomeIsNonUs:"Italian - This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"Italian - The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"Italian - For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"Italian - The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"Italian - The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"Italian - I confirm I have the legal capacity to sign on behalf of the entity named above",mailingAddress:"Indirizzo postale",mailingAddressIsDifferent:"L'indirizzo postale è diverso",name:"Nome",nameOfBusiness:"Nome dell'azienda",nameOfCCorporation:"Nome della C Corporation",nameOfCorporation:"Nome della Corporation",nameOfIndividual:"Nome dell'individuo",nameOfLlc:"Nome della LLC",nameOfOrganization:"Nome dell'organizzazione",nameOfPartnership:"Nome della partnership",nameOfSCorporation:"Nome della S Corporation",nameOfSoleProprietor:"Nome del titolare d'impresa individuale",nameOfTrust:"Nome del trust",nameOfTrustEstate:"Nome del Trust/Estate",province:"Provincia",regardedOwnerUsPerson:"Sei una persona statunitense?",signature:"Firma",smllcElection:"Hai fatto una scelta di entità?",state:"Stato",stateProvince:"Provincia",street2:"Unità, Appt o Suite #",street:"Indirizzo stradale",taxIdNumber:"Numero di identificazione fiscale",taxIdNumberIsNotRequired:"Non è richiesto il numero di identificazione",tin:"TIN",usAccountType:"Quale delle seguenti rappresenta meglio il tipo del tuo conto?",usEin:"Numero di identificazione del datore di lavoro",usLlcClassification:"Classificazione LLC",usOtherClassification:"Altra classificazione",usPerson:"Sei una persona statunitense?",usSsn:"Numero di previdenza sociale",usTin:"Numero di identificazione fiscale statunitense",usTrustEstateEin:"Il Trust/Estate ha un EIN?",vatIdentificationNumber:"Numero di identificazione IVA",vatCountry:"Paese IVA",zip:"Codice postale"},subPrompt:{smllcElection:"Un'elezione 8832 o 2553",iConfirmIncomeIsNonUs:"ITALIAN - (a) income not effectively connected with the conduct of a trade or business in the United States; (b) income effectively connected with the conduct of a trade or business in the United States but is not subject to tax under an applicable income tax treaty; (c) the partner’s share of a partnership's effectively connected taxable income; or (d) the partner's amount realized from the transfer of a partnership interest subject to withholding under section 1446(f);"},text:{eSignActReference:"ITALIAN - E-SIGN Act Reference",notRequired:"Non richiesto"},hint:{dateOfBirth:"Usa questo formato: MM/GG/AAAA"},title:{accountHolder:"Titolare del conto",accountHolderClassification:"Classificazione del titolare del conto",accountHolderContactInformation:"Nome e indirizzo",accountHolderTaxInformation:"Informazioni fiscali",address:"Indirizzo",mailingAddress:"Indirizzo postale",permanentAddress:"Indirizzo permanente",placeOfBirth:"Luogo di nascita",regardedOwner:"Proprietario considerato",regardedOwnerClassification:"Classificazione del proprietario considerato",regardedOwnerContactInformation:"Nome e indirizzo del proprietario considerato",regardedOwnerTaxInformation:"Informazioni fiscali del proprietario considerato",signature:"Firma",summary:"Riepilogo",taxResidences:"Residenze fiscali",taxResidence1:"Residenza fiscale 1",taxResidence2:"Residenza fiscale 2",taxResidence3:"Residenza fiscale 3",taxResidence4:"Residenza fiscale 4",taxResidence5:"Residenza fiscale 5"},error:{invalid:"Non valido",invalidDate:"Data non valida",mustBeFiveOrNineDigits:"Deve essere di cinque o nove cifre",mustBeInDateFormat:"Deve essere in questo formato: MM/GG/AAAA",mustBeNineDigits:"Deve essere di nove cifre",mustBeSixCharacters:"Deve essere di sei caratteri",mustBeValidBirthDate:"Non è una data di nascita valida",mustMatchName:"Deve corrispondere al nome",required:"Richiesto"},option:{usPerson_yes:"Sì. Sono una persona statunitense",usPerson_no:"No, non sono una persona statunitense",regardedOwnerUsPerson_no:"No, non sono una persona statunitense",regardedOwnerUsPerson_yes:"Sì. Sono una persona statunitense",isIndividual_yes:"Sì. Sono un individuo",isIndividual_no:"No, non sono un individuo",cCorporation:"C Corporation",centralBankOfIssue:"Banca centrale di emissione",complexTrust:"Trust complesso",corporation:"Corporation",disregardedEntity:"Entità trascurata",estate:"Estate",foreignGovernmentControlledEntity:"Entità controllata da un governo straniero",foreignGovernmentIntegralPart:"Parte integrante di un governo straniero",grantorTrust:"Trust del concedente",individual:"Individuo",internationalOrganization:"Organizzazione internazionale",llc:"LLC",no:"No",other:"Altro",partnership:"Partnership",privateFoundation:"Fondazione privata",sCorporation:"S Corporation",simpleTrust:"Trust semplice",smllc:"SMLLC",soleProprietor:"Titolare d'impresa individuale",taxExemptOrganization:"Organizzazione esente da imposte",trust:"Trust",trustEstate:"Trust/Estate",yes:"Sì"},country:{AD:"Andorra",AE:"Emiratos Árabes Unidos",AF:"Afganistán",AG:"Antigua y Barbuda",AI:"Anguila",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antártida",AR:"Argentina",AS:"Samoa Americana",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Islas Åland",AZ:"Azerbaiyán",BA:"Bosnia y Herzegovina",BB:"Barbados",BD:"Bangladés",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benín",BL:"San Bartolomé",BM:"Bermudas",BN:"Brunéi",BO:"Bolivia",BQ:"Bonaire",BR:"Brasil",BS:"Bahamas",BT:"Bután",BV:"Isla Bouvet",BW:"Botsuana",BY:"Bielorrusia",BZ:"Belice",CA:"Canadá",CC:"Islas Cocos",CD:"Congo",CF:"República Centroafricana",CG:"Congo",CH:"Suiza",CI:"Costa de Marfil",CK:"Islas Cook",CL:"Chile",CM:"Camerún",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Curazao",CX:"Isla de Navidad",CY:"Chipre",CZ:"Chequia",DE:"Alemania",DJ:"Yibuti",DK:"Dinamarca",DM:"Dominica",DO:"República Dominicana",DZ:"Argelia",EC:"Ecuador",EE:"Estonia",EG:"Egipto",EH:"Sáhara Occidental",ER:"Eritrea",ES:"España",ET:"Etiopía",FI:"Finlandia",FJ:"Fiyi",FK:"Islas Malvinas",FM:"Estados Federados de Micronesia",FO:"Islas Feroe",FR:"Francia",GA:"Gabón",GB:"Reino Unido",GD:"Granada",GE:"Georgia",GF:"Guayana Francesa",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Groenlandia",GM:"Gambia",GN:"Guinea",GP:"Guadalupe",GQ:"Guinea Ecuatorial",GR:"Grecia",GS:"Georgia del Sur",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bisáu",GY:"Guyana",HK:"Hong Kong",HM:"Islas Heard y McDonald",HN:"Honduras",HR:"Croacia",HT:"Haití",HU:"Hungría",ID:"Indonesia",IE:"Irlanda",IL:"Israel",IM:"Isla de Man",IN:"India",IO:"Territorio Británico del Océano Índico",IQ:"Irak",IR:"Irán",IS:"Islandia",IT:"Italia",JE:"Jersey",JM:"Jamaica",JO:"Jordania",JP:"Japón",KE:"Kenia",KG:"Kirguistán",KH:"Camboya",KI:"Kiribati",KM:"Comoras",KN:"San Cristóbal y Nieves",KP:"Corea del Norte",KR:"Corea del Sur",KW:"Kuwait",KY:"Islas Caimán",KZ:"Kazajistán",LA:"Laos",LB:"Líbano",LC:"Santa Lucía",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesoto",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",LY:"Libia",MA:"Marruecos",MC:"Mónaco",MD:"Moldavia",ME:"Montenegro",MF:"San Martín",MG:"Madagascar",MH:"Islas Marshall",MK:"Macedonia del Norte",ML:"Malí",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Islas Marianas del Norte",MQ:"Martinica",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauricio",MV:"Maldivas",MW:"Malaui",MX:"México",MY:"Malasia",MZ:"Mozambique",NA:"Namibia",NC:"Nueva Caledonia",NE:"Níger",NF:"Isla Norfolk",NG:"Nigeria",NI:"Nicaragua",NL:"Países Bajos",NO:"Noruega",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Nueva Zelanda",OM:"Omán",PA:"Panamá",PE:"Perú",PF:"Polinesia Francesa",PG:"Papúa Nueva Guinea",PH:"Filipinas",PK:"Pakistán",PL:"Polonia",PM:"San Pedro y Miquelón",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestina",PT:"Portugal",PW:"Palaos",PY:"Paraguay",QA:"Catar",RE:"Reunión",RO:"Rumania",RS:"Serbia",RU:"Rusia",RW:"Ruanda",SA:"Arabia Saudí",SB:"Islas Salomón",SC:"Seychelles",SD:"Sudán",SE:"Suecia",SG:"Singapur",SH:"Santa Elena",SI:"Eslovenia",SJ:"Svalbard y Jan Mayen",SK:"Eslovaquia",SL:"Sierra Leona",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"Sudán del Sur",ST:"Santo Tomé y Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Siria",SZ:"Esuatini",TC:"Islas Turcas y Caicos",TD:"Chad",TF:"Territorios Australes y Antárticas Franceses",TG:"Togo",TH:"Tailandia",TJ:"Tayikistán",TK:"Tokelau",TL:"Timor Oriental",TM:"Turkmenistán",TN:"Túnez",TO:"Tonga",TR:"Turquía",TT:"Trinidad y Tobago",TV:"Tuvalu",TW:"Taiwán",TZ:"Tanzania",UA:"Ucrania",UG:"Uganda",UM:"Islas Menores Alejadas de los Estados Unidos",US:"Estados Unidos",UY:"Uruguay",UZ:"Uzbekistán",VA:"Ciudad del Vaticano",VC:"San Vicente y las Granadinas",VE:"Venezuela",VG:"Islas Vírgenes Británicas",VI:"Islas Vírgenes de los Estados Unidos",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis y Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"Sudáfrica",ZM:"Zambia",ZW:"Zimbabue"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"Samoa Americana",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"Distrito de Columbia",DE:"Delaware",FL:"Florida",FM:"Estados Federados de Micronesia",GA:"Georgia",GU:"Guam",HI:"Hawái",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Luisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Islas Marshall",MI:"Míchigan",MN:"Minnesota",MO:"Misuri",MP:"Islas Marianas del Norte",MS:"Misisipi",MT:"Montana",NC:"Carolina del Norte",ND:"Dakota del Norte",NE:"Nebraska",NH:"Nuevo Hampshire",NJ:"Nueva Jersey",NM:"Nuevo México",NV:"Nevada",NY:"Nueva York",OH:"Ohio",OK:"Oklahoma",OR:"Oregón",PA:"Pensilvania",PR:"Puerto Rico",PW:"Palaos",RI:"Rhode Island",SC:"Carolina del Sur",SD:"Dakota del Sur",TN:"Tennessee",TX:"Texas",UM:"Islas Ultramarinas Menores de Estados Unidos",UT:"Utah",VA:"Virginia",VI:"Islas Vírgenes",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"Virginia Occidental",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"Columbia Británica",MB:"Manitoba",NB:"Nuevo Brunswick",NL:"Terranova y Labrador",NS:"Nueva Escocia",NT:"Territorios del Noroeste",NU:"Nunavut",ON:"Ontario",PE:"Isla del Príncipe Eduardo",QC:"Quebec",SK:"Saskatchewan",YT:"Territorio Yukón"}},"nl-nl":{button:{back:"Terug",cancel:"Annuleren",edit:"Bewerken",next:"Volgende",reset:"Resetten",submit:"Indienen"},prompt:{addAdditional:"Voeg nog een toe",removeAdditional:"Verwijder",address:"Adres",businessRegistrationNumber:"Bedrijfsregistratienummer",city:"Stad",country:"Land",countryOfCitizenship:"Land van burgerschap",dateOfBirth:"Geboortedatum",dbaName:"Handelsnaam",exemptFatcaCode:"Vrijgestelde FATCA-code",exemptPayeeCode:"Vrijgestelde begunstigde code",financialAccountIdentifier:"Financiële rekeningidentificatie",financialAccountName:"Naam van financiële rekening",foreignAccountType:"Welke van de volgende opties vertegenwoordigt het beste uw rekeningtype?",foreignOtherClassification:"Andere classificatie",foreignTin:"Buitenlands TIN",foreignTinIsNotRequired:"Buitenlands TIN is niet vereist",foreignTrustClassification:"Trustclassificatie",isEuResident:"Woont u in een of meer EU-lidstaten?",isIndividual:"Ben je een individu?",mailingAddress:"Postadres",mailingAddressIsDifferent:"Postadres is anders",name:"Naam",nameOfBusiness:"Naam van het bedrijf",nameOfCCorporation:"Naam van C Corporation",nameOfCorporation:"Naam van de vennootschap",nameOfIndividual:"Naam van het individu",nameOfLlc:"Naam van LLC",nameOfOrganization:"Naam van de organisatie",nameOfPartnership:"Naam van de vennootschap",nameOfSCorporation:"Naam van S Corporation",nameOfSoleProprietor:"Naam van eenmanszaak",nameOfTrust:"Naam van de trust",nameOfTrustEstate:"Naam van Trust/Estate",cityOfBirth:"Geboorteplaats",countryOfBirth:"Geboorteland",province:"Provincie",regardedOwnerUsPerson:"Is de beschouwde eigenaar een Amerikaans persoon?",signature:"Handtekening",smllcElection:"Heeft u een entiteitsverkiezing gedaan?",state:"Staat",stateProvince:"Provincie",street2:"Eenheid, appartement of suite #",street:"Straatadres",taxIdNumber:"Btw-identificatienummer",taxIdNumberIsNotRequired:"Btw-identificatienummer is niet vereist",tin:"TIN",usAccountType:"Welke van de volgende opties vertegenwoordigt het beste uw rekeningtype?",usEin:"Werkgeversidentificatienummer",usLlcClassification:"LLC-classificatie",usOtherClassification:"Andere classificatie",usPerson:"Ben je een Amerikaans persoon?",usSsn:"SoFi-nummer",usTin:"Amerikaans belastingidentificatienummer",usTrustEstateEin:"Heeft het Trust/Estate een EIN?",vatIdentificationNumber:"Btw-identificatienummer",vatCountry:"Btw-land",zip:"Postcode",iAcknowlegeESignIsOk:"Dutch - I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"Dutch - The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"Dutch - I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"Dutch - I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"Dutch - Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"Dutch - Certify to all",iConfirmIncomeIsNonUs:"Dutch - This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"Dutch - The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"Dutch - For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"Dutch - The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"Dutch - The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"Dutch - I confirm I have the legal capacity to sign on behalf of the entity named above"},subPrompt:{smllcElection:"Een 8832- of 2553-verkiezing",iConfirmIncomeIsNonUs:"Dutch - (a) income not effectively connected with the conduct of a trade or business in the United States; (b) income effectively connected with the conduct of a trade or business in the United States but is not subject to tax under an applicable income tax treaty; (c) the partner’s share of a partnership's effectively connected taxable income; or (d) the partner's amount realized from the transfer of a partnership interest subject to withholding under section 1446(f);"},text:{eSignActReference:"Dutch - * The Electronic Signatures in Global and National Commerce Act, 15 U.S.C. §7001, et seq., (“E-sign-Act”) was signed into law on June 30, 2000, and provides a general rule for the validation of electronic records and signatures for transactions in or affecting interstate or foreign commerce.",notRequired:"Dutch - Niet vereist"},title:{accountHolder:"Rekeninghouder",accountHolderClassification:"Classificatie van de rekeninghouder",accountHolderContactInformation:"Naam en adres",accountHolderTaxInformation:"Belastinginformatie",address:"Adres",mailingAddress:"Postadres",permanentAddress:"Permanente adres",placeOfBirth:"Geboorteplaats",regardedOwner:"Beschouwde eigenaar",regardedOwnerClassification:"Classificatie van beschouwde eigenaar",regardedOwnerContactInformation:"Naam en adres van de beschouwde eigenaar",regardedOwnerTaxInformation:"Belastinginformatie van beschouwde eigenaar",signature:"Handtekening",summary:"Samenvatting",taxResidences:"Belastingresidenties",taxResidence1:"Belastingresidentie 1",taxResidence2:"Belastingresidentie 2",taxResidence3:"Belastingresidentie 3",taxResidence4:"Belastingresidentie 4",taxResidence5:"Belastingresidentie 5"},hint:{dateOfBirth:"Gebruik dit formaat: JJ/MM/JJJJ"},error:{invalid:"Ongeldig",invalidDate:"Ongeldige datum",mustBeFiveOrNineDigits:"Moet vijf of negen cijfers zijn",mustBeInDateFormat:"Moet in dit formaat zijn: MM/DD/JJJJ",mustBeNineDigits:"Moet negen cijfers zijn",mustBeSixCharacters:"Moet zes tekens zijn",mustBeValidBirthDate:"Geen geldige geboortedatum",mustMatchName:"Moet overeenkomen met de naam",required:"Vereist"},option:{usPerson_yes:"Ja. Ik ben een Amerikaans persoon",usPerson_no:"Nee, ik ben geen Amerikaans persoon",regardedOwnerUsPerson_yes:"Ja. De beschouwde eigenaar is een Amerikaans persoon",regardedOwnerUsPerson_no:"Nee, de beschouwde eigenaar is geen Amerikaans persoon",isIndividual_yes:"Ja. Ik ben een individu",isIndividual_no:"Nee, ik ben geen individu",cCorporation:"C Corporation",centralBankOfIssue:"Centrale uitgevende bank",complexTrust:"Complex trust",corporation:"Vennootschap",disregardedEntity:"Genegeerde entiteit",estate:"Estate",foreignGovernmentControlledEntity:"Buitenlands door de overheid gecontroleerde entiteit",foreignGovernmentIntegralPart:"Integraal onderdeel van buitenlandse overheid",grantorTrust:"Verlenerstrust",individual:"Individueel",internationalOrganization:"Internationale organisatie",llc:"LLC",no:"Nee",other:"Andere",partnership:"Partnerschap",privateFoundation:"Private stichting",sCorporation:"S Corporation",simpleTrust:"Eenvoudige trust",smllc:"SMLLC",soleProprietor:"Eenmanszaak",taxExemptOrganization:"Belastingvrije organisatie",trust:"Trust",trustEstate:"Trust/Estate",yes:"Ja"},country:{AD:"Andorra",AE:"Verenigde Arabische Emiraten",AF:"Afghanistan",AG:"Antigua en Barbuda",AI:"Anguilla",AL:"Albanië",AM:"Armenië",AO:"Angola",AQ:"Antarctica",AR:"Argentinië",AS:"Amerikaans-Samoa",AT:"Oostenrijk",AU:"Australië",AW:"Aruba",AX:"Åland-eilanden",AZ:"Azerbeidzjan",BA:"Bosnië en Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"België",BF:"Burkina Faso",BG:"Bulgarije",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BL:"Sint-Bartholomeus",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire",BR:"Brazilië",BS:"Bahama's",BT:"Bhutan",BV:"Bouveteiland",BW:"Botswana",BY:"Wit-Rusland",BZ:"Belize",CA:"Canada",CC:"Cocoseilanden",CD:"Congo",CF:"Centraal-Afrikaanse Republiek",CG:"Congo",CH:"Zwitserland",CI:"Ivoorkust",CK:"Cookeilanden",CL:"Chili",CM:"Kameroen",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Kaapverdië",CW:"Curaçao",CX:"Christmaseiland",CY:"Cyprus",CZ:"Tsjechië",DE:"Duitsland",DJ:"Djibouti",DK:"Denemarken",DM:"Dominica",DO:"Dominicaanse Republiek",DZ:"Algerije",EC:"Ecuador",EE:"Estland",EG:"Egypte",EH:"Westelijke Sahara",ER:"Eritrea",ES:"Spanje",ET:"Ethiopië",FI:"Finland",FJ:"Fiji",FK:"Falklandeilanden",FM:"Micronesia",FO:"Faeröer",FR:"Frankrijk",GA:"Gabon",GB:"Verenigd Koninkrijk",GD:"Grenada",GE:"Georgië",GF:"Frans-Guyana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Groenland",GM:"Gambia",GN:"Guinee",GP:"Guadeloupe",GQ:"Equatoriaal-Guinea",GR:"Griekenland",GS:"Zuid-Georgië",GT:"Guatemala",GU:"Guam",GW:"Guinee-Bissau",GY:"Guyana",HK:"Hongkong",HM:"Heard- en McDonaldeilanden",HN:"Honduras",HR:"Kroatië",HT:"Haïti",HU:"Hongarije",ID:"Indonesië",IE:"Ierland",IL:"Israël",IM:"Isle of Man",IN:"India",IO:"Brits Indische Oceaanterritorium",IQ:"Irak",IR:"Iran",IS:"IJsland",IT:"Italië",JE:"Jersey",JM:"Jamaica",JO:"Jordanië",JP:"Japan",KE:"Kenia",KG:"Kirgizië",KH:"Cambodja",KI:"Kiribati",KM:"Comoren",KN:"Saint Kitts en Nevis",KP:"Noord-Korea",KR:"Zuid-Korea",KW:"Koeweit",KY:"Kaaimaneilanden",KZ:"Kazachstan",LA:"Laos",LB:"Libanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Litouwen",LU:"Luxemburg",LV:"Letland",LY:"Libië",MA:"Marokko",MC:"Monaco",MD:"Moldavië",ME:"Montenegro",MF:"Sint-Maarten",MG:"Madagaskar",MH:"Marshalleilanden",MK:"Noord-Macedonië",ML:"Mali",MM:"Myanmar",MN:"Mongolië",MO:"Macao",MP:"Noordelijke Marianen",MQ:"Martinique",MR:"Mauritanië",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldiven",MW:"Malawi",MX:"Mexico",MY:"Maleisië",MZ:"Mozambique",NA:"Namibië",NC:"Nieuw-Caledonië",NE:"Niger",NF:"Norfolk",NG:"Nigeria",NI:"Nicaragua",NL:"Nederland",NO:"Noorwegen",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Nieuw-Zeeland",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Frans-Polynesië",PG:"Papoea-Nieuw-Guinea",PH:"Filipijnen",PK:"Pakistan",PL:"Polen",PM:"Saint Pierre en Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestina",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Roemenië",RS:"Servië",RU:"Russische Federatie",RW:"Rwanda",SA:"Saoedi-Arabië",SB:"Salomonseilanden",SC:"Seychellen",SD:"Soedan",SE:"Zweden",SG:"Singapore",SH:"Sint-Helena",SI:"Slovenië",SJ:"Svalbard en Jan Mayen",SK:"Slowakije",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalië",SR:"Suriname",SS:"Zuid-Soedan",ST:"Sao Tomé en Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syrië",SZ:"Swaziland",TC:"Turks- en Caicoseilanden",TD:"Tsjaad",TF:"Franse Zuidelijke Gebieden",TG:"Togo",TH:"Thailand",TJ:"Tadzjikistan",TK:"Tokelau",TL:"Oost-Timor",TM:"Turkmenistan",TN:"Tunesië",TO:"Tonga",TR:"Turkije",TT:"Trinidad en Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Oekraïne",UG:"Oeganda",UM:"Kleine afgelegen eilanden van de Verenigde Staten",US:"Verenigde Staten",UY:"Uruguay",UZ:"Oezbekistan",VA:"Vaticaanstad",VC:"Saint Vincent en de Grenadines",VE:"Venezuela",VG:"Britse Maagdeneilanden",VI:"Amerikaanse Maagdeneilanden",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis en Futuna",WS:"Samoa",YE:"Jemen",YT:"Mayotte",ZA:"Zuid-Afrika",ZM:"Zambia",ZW:"Zimbabwe"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"Amerikaans-Samoa",AZ:"Arizona",CA:"Californië",CO:"Colorado",CT:"Connecticut",DC:"District Of Columbia",DE:"Delaware",FL:"Florida",FM:"Federale Staten van Micronesia",GA:"Georgia",GU:"Guam",HI:"Hawaï",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Marshalleilanden",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MP:"Noordelijke Marianen",MS:"Mississippi",MT:"Montana",NC:"Noord-Carolina",ND:"Noord-Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"Nieuw-Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",PW:"Palau",RI:"Rhode Island",SC:"Zuid-Carolina",SD:"Zuid-Dakota",TN:"Tennessee",TX:"Texas",UM:"Afgelegen eilanden",UT:"Utah",VA:"Virginia",VI:"Maagdeneilanden",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"Brits-Columbia",MB:"Manitoba",NB:"New Brunswick",NL:"Newfoundland en Labrador",NS:"Nova Scotia",NT:"Noordwestelijke Territoria",NU:"Nunavut",ON:"Ontario",PE:"Prins Edwardeiland",QC:"Quebec",SK:"Saskatchewan",YT:"Yukon"}},"no-no":{button:{back:"Tilbake",cancel:"Avbryt",edit:"Rediger",next:"Neste",reset:"Tilbakestill",submit:"Send inn"},prompt:{addAdditional:"Legg til en annen",removeAdditional:"Fjern",address:"Adresse",businessRegistrationNumber:"Foretaksregistreringsnummer",city:"By",country:"Land",countryOfCitizenship:"Statsborgerskapsland",dateOfBirth:"Fødselsdato",dbaName:"DBA-navn",exemptFatcaCode:"Fritatt FATCA-kode",exemptPayeeCode:"Fritatt betalingskode",financialAccountIdentifier:"Finansiell konto-identifikator",financialAccountName:"Finansiell konto-navn",foreignAccountType:"Hvilken av følgende representerer best konto-typen din?",foreignOtherClassification:"Annen klassifikasjon",foreignTin:"Utenlandsk TIN",foreignTinIsNotRequired:"Utenlandsk TIN er ikke påkrevd",foreignTrustClassification:"Tillitsklassifikasjon",isEuResident:"Er du bosatt i ett eller flere EU-medlemsland?",isIndividual:"Er du en enkeltperson?",mailingAddress:"Postadresse",mailingAddressIsDifferent:"Postadresse er forskjellig",name:"Navn",nameOfBusiness:"Forretningsnavn",nameOfCCorporation:"Navn på C-selskap",nameOfCorporation:"Navn på selskap",nameOfIndividual:"Navn på enkeltperson",nameOfLlc:"Navn på LLC",nameOfOrganization:"Navn på organisasjon",nameOfPartnership:"Navn på partnerskap",nameOfSCorporation:"Navn på S-selskap",nameOfSoleProprietor:"Navn på eneeier",nameOfTrust:"Navn på tillit",nameOfTrustEstate:"Navn på tillit / bo",cityOfBirth:"Fødested",countryOfBirth:"Fødeland",province:"Provins",regardedOwnerUsPerson:"Er den ansette eieren en amerikansk person?",signature:"Signatur",smllcElection:"Har du gjort en enhetsvalg?",state:"Stat",stateProvince:"Provins",street2:"Enhet, leilighet eller suite #",street:"Gateadresse",taxIdNumber:"Skatte-ID-nummer",taxIdNumberIsNotRequired:"Skatte-ID-nummer er ikke påkrevd",tin:"TIN",usAccountType:"Hvilken av følgende representerer best konto-typen din?",usEin:"Arbeidsgiveridentifikasjonsnummer",usLlcClassification:"LLC-klassifikasjon",usOtherClassification:"Annen klassifikasjon",usPerson:"Er du en amerikansk person?",usSsn:"Personnummer",usTin:"Amerikansk skatteidentifikasjonsnummer",usTrustEstateEin:"Har tilliten / boet et EIN?",vatIdentificationNumber:"MVA-identifikasjonsnummer",vatCountry:"MVA-land",zip:"Postnummer",iAcknowlegeESignIsOk:"Norwegian - I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"Norwegian - The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"Norwegian - I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"Norwegian - I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"Norwegian - Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"Norwegian - Certify to all",iConfirmIncomeIsNonUs:"Norwegian - This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"Norwegian - The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"Norwegian - For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"Norwegian - The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"Norwegian - The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"Norwegian - I confirm I have the legal capacity to sign on behalf of the entity named above"},subPrompt:{smllcElection:"En 8832 eller 2553-valg",iConfirmIncomeIsNonUs:"Norwegian - (a) income not effectively connected with the conduct of a trade or business in the United States; (b) income effectively connected with the conduct of a trade or business in the United States but is not subject to tax under an applicable income tax treaty; (c) the partner’s share of a partnership's effectively connected taxable income; or (d) the partner's amount realized from the transfer of a partnership interest subject to withholding under section 1446(f);"},title:{accountHolder:"Kontoinnehaver",accountHolderClassification:"Kontoinnehaverklassifikasjon",accountHolderContactInformation:"Navn og adresse",accountHolderTaxInformation:"Skatteinformasjon",address:"Adresse",mailingAddress:"Postadresse",permanentAddress:"Fast adresse",placeOfBirth:"Fødested",regardedOwner:"Ansett eier",regardedOwnerClassification:"Ansett eierkonto-klassifikasjon",regardedOwnerContactInformation:"Ansett eiers navn og adresse",regardedOwnerTaxInformation:"Ansett eiers skatteinformasjon",signature:"Signatur",summary:"Sammendrag",taxResidences:"Skatteinformasjon",taxResidence1:"Skatteinformasjon 1",taxResidence2:"Skatteinformasjon 2",taxResidence3:"Skatteinformasjon 3",taxResidence4:"Skatteinformasjon 4",taxResidence5:"Skatteinformasjon 5"},text:{eSignActReference:"Norwegian - * The Electronic Signatures in Global and National Commerce Act, 15 U.S.C. §7001, et seq., (“E-sign-Act”) was signed into law on June 30, 2000, and provides a general rule for the validation of electronic records and signatures for transactions in or affecting interstate or foreign commerce.",notRequired:"Ikke påkrevd"},error:{invalid:"Ugyldig",invalidDate:"Ugyldig dato",mustBeFiveOrNineDigits:"Må være fem eller ni sifre",mustBeInDateFormat:"Må være i dette formatet: MM/DD/ÅÅÅÅ",mustBeNineDigits:"Må være ni sifre",mustBeSixCharacters:"Må være seks tegn",mustBeValidBirthDate:"Ikke en gyldig fødselsdato",mustMatchName:"Må stemme overens med navn",required:"Påkrevd"},hint:{dateOfBirth:"Bruk dette formatet: MM/DD/ÅÅÅÅ"},option:{usPerson_yes:"Ja, jeg er en amerikansk person",usPerson_no:"Nei, jeg er ikke en amerikansk person",regardedOwnerUsPerson_yes:"Ja, den ansette eieren er en amerikansk person",regardedOwnerUsPerson_no:"Nei, den ansette eieren er ikke en amerikansk person",isIndividual_yes:"Ja, jeg er en enkeltperson",isIndividual_no:"Nei, jeg er ikke en enkeltperson",cCorporation:"C-selskap",centralBankOfIssue:"Sentralbank for utstedelse",complexTrust:"Kompleks tillit",corporation:"Selskap",disregardedEntity:"Oversett enhet",estate:"Eiendom",foreignGovernmentControlledEntity:"Utenlandsk regjeringskontrollert enhet",foreignGovernmentIntegralPart:"Integrert del av utenlandsk regjering",grantorTrust:"Giver tillit",individual:"Enkeltperson",internationalOrganization:"Internasjonal organisasjon",llc:"LLC",no:"Nei",other:"Annet",partnership:"Partnerskap",privateFoundation:"Privat stiftelse",sCorporation:"S-selskap",simpleTrust:"Enkel tillit",smllc:"SMLLC",soleProprietor:"Eneeier",taxExemptOrganization:"Skattefri organisasjon",trust:"Tillit",trustEstate:"Tillit / bo",yes:"Ja"},country:{AD:"Andorra",AE:"De forente arabiske emirater",AF:"Afghanistan",AG:"Antigua og Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarktis",AR:"Argentina",AS:"Amerikansk Samoa",AT:"Østerrike",AU:"Australia",AW:"Aruba",AX:"Åland",AZ:"Aserbajdsjan",BA:"Bosnia-Hercegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint-Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Bonaire",BR:"Brasil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvetøya",BW:"Botswana",BY:"Hviterussland",BZ:"Belize",CA:"Canada",CC:"Kokosøyene",CD:"Kongo",CF:"Den sentralafrikanske republikk",CG:"Kongo",CH:"Sveits",CI:"Elfenbenskysten",CK:"Cookøyene",CL:"Chile",CM:"Kamerun",CN:"Kina",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Kapp Verde",CW:"Curaçao",CX:"Christmasøya",CY:"Kypros",CZ:"Tsjekkia",DE:"Tyskland",DJ:"Djibouti",DK:"Danmark",DM:"Dominica",DO:"Den dominikanske republikk",DZ:"Algerie",EC:"Ecuador",EE:"Estland",EG:"Egypt",EH:"Vest-Sahara",ER:"Eritrea",ES:"Spania",ET:"Etiopia",FI:"Finland",FJ:"Fiji",FK:"Falklandsøyene",FM:"Mikronesiaføderasjonen",FO:"Færøyene",FR:"Frankrike",GA:"Gabon",GB:"Storbritannia",GD:"Grenada",GE:"Georgia",GF:"Fransk Guyana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Grønland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Ekvatorial-Guinea",GR:"Hellas",GS:"Sør-Georgia",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hongkong",HM:"Heard- og McDonaldøyene",HN:"Honduras",HR:"Kroatia",HT:"Haiti",HU:"Ungarn",ID:"Indonesia",IE:"Irland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"Det britiske territoriet i Indiahavet",IQ:"Irak",IR:"Iran",IS:"Island",IT:"Italia",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kirgisistan",KH:"Kambodsja",KI:"Kiribati",KM:"Komorene",KN:"Saint Kitts og Nevis",KP:"Nord-Korea",KR:"Sør-Korea",KW:"Kuwait",KY:"Caymanøyene",KZ:"Kasakhstan",LA:"Laos",LB:"Libanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Marokko",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint-Martin",MG:"Madagaskar",MH:"Marshalløyene",MK:"Nord-Makedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Nord-Marianene",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldivene",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mosambik",NA:"Namibia",NC:"Ny-Caledonia",NE:"Niger",NF:"Norfolkøya",NG:"Nigeria",NI:"Nicaragua",NL:"Nederland",NO:"Norge",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Fransk Polynesia",PG:"Papua Ny-Guinea",PH:"Filippinene",PK:"Pakistan",PL:"Polen",PM:"Saint-Pierre og Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestina",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russland",RW:"Rwanda",SA:"Saudi-Arabia",SB:"Salomonøyene",SC:"Seychellene",SD:"Sudan",SE:"Sverige",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard og Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"Sør-Sudan",ST:"São Tomé og Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks- og Caicosøyene",TD:"Tsjad",TF:"De franske sørterritorier",TG:"Togo",TH:"Thailand",TJ:"Tadsjikistan",TK:"Tokelau",TL:"Øst-Timor",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Tyrkia",TT:"Trinidad og Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraina",UG:"Uganda",UM:"USA mindre øyer",US:"USA",UY:"Uruguay",UZ:"Usbekistan",VA:"Vatikanstaten",VC:"Saint Vincent og Grenadinene",VE:"Venezuela",VG:"De britiske jomfruøyene",VI:"De amerikanske jomfruøyene",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis og Futuna",WS:"Samoa",YE:"Jemen",YT:"Mayotte",ZA:"Sør-Afrika",ZM:"Zambia",ZW:"Zimbabwe"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"Amerikansk Samoa",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"District Of Columbia",DE:"Delaware",FL:"Florida",FM:"Mikronesiaføderasjonen",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Marshalløyene",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MP:"Nord-Marianene",MS:"Mississippi",MT:"Montana",NC:"Nord-Carolina",ND:"Nord-Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",PW:"Palau",RI:"Rhode Island",SC:"Sør-Carolina",SD:"Sør-Dakota",TN:"Tennessee",TX:"Texas",UM:"Mindre øyer i USA",UT:"Utah",VA:"Virginia",VI:"Jomfruøyene",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"Vest-Virginia",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"Britisk Columbia",MB:"Manitoba",NB:"New Brunswick",NL:"Newfoundland og Labrador",NS:"Nova Scotia",NT:"Nordvestterritoriene",NU:"Nunavut",ON:"Ontario",PE:"Prince Edward Island",QC:"Quebec",SK:"Saskatchewan",YT:"Yukon-territoriet"}},"sv-se":{button:{back:"Tillbaka",cancel:"Avbryt",edit:"Redigera",next:"Nästa",reset:"Återställ",submit:"Skicka"},prompt:{addAdditional:"Lägg till en till",removeAdditional:"Ta bort",address:"Adress",businessRegistrationNumber:"Företagsregistreringsnummer",city:"Stad",country:"Land",countryOfCitizenship:"Medborgarskapsland",dateOfBirth:"Födelsedatum",dbaName:"DBA-namn",exemptFatcaCode:"Undantagen FATCA-kod",exemptPayeeCode:"Undantagen betalningskod",financialAccountIdentifier:"Finansiellt kontoidentifikationsnummer",financialAccountName:"Finansiellt kontonamn",foreignAccountType:"Vilket av följande alternativ representerar bäst din kontotyp?",foreignOtherClassification:"Annan klassificering",foreignTin:"Utländskt TIN",foreignTinIsNotRequired:"Utländskt TIN krävs inte",foreignTrustClassification:"Förtroendeklassificering",isEuResident:"Är du bosatt i en eller flera EU-medlemsstater?",isIndividual:"Är du en individ?",mailingAddress:"Postadress",mailingAddressIsDifferent:"Postadressen är annorlunda",name:"Namn",nameOfBusiness:"Företagsnamn",nameOfCCorporation:"Namn på C-bolag",nameOfCorporation:"Namn på bolag",nameOfIndividual:"Namn på individ",nameOfLlc:"Namn på LLC",nameOfOrganization:"Namn på organisation",nameOfPartnership:"Namn på partnerskap",nameOfSCorporation:"Namn på S-bolag",nameOfSoleProprietor:"Namn på enskild näringsidkare",nameOfTrust:"Namn på förtroende",nameOfTrustEstate:"Namn på förtroende / fastighet",cityOfBirth:"Födelsestad",countryOfBirth:"Födelseland",province:"Provins",regardedOwnerUsPerson:"Är den ansetta ägaren en amerikansk person?",signature:"Underskrift",smllcElection:"Gjorde du en enhetsval?",state:"Stat",stateProvince:"Provins",street2:"Enhet, lägenhet eller svit #",street:"Gatuadress",taxIdNumber:"Skatte-ID-nummer",taxIdNumberIsNotRequired:"Skatte-ID-nummer krävs inte",tin:"TIN",usAccountType:"Vilket av följande alternativ representerar bäst din kontotyp?",usEin:"Arbetsgivaridentifikationsnummer",usLlcClassification:"LLC-klassificering",usOtherClassification:"Annan klassificering",usPerson:"Är du en amerikansk person?",usSsn:"Socialförsäkringsnummer",usTin:"Amerikanskt skatteidentifikationsnummer",usTrustEstateEin:"Har förtroendet / fastigheten ett EIN?",vatIdentificationNumber:"Momsidentifikationsnummer",vatCountry:"Momsland",zip:"Postnummer",iAcknowlegeESignIsOk:"Swedish - I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"Swedish - The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"Swedish - I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"Swedish - I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"Swedish - Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"Swedish - Certify to all",iConfirmIncomeIsNonUs:"Swedish - This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"Swedish - The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"Swedish - For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"Swedish - The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"Swedish - The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"Swedish - I confirm I have the legal capacity to sign on behalf of the entity named above"},subPrompt:{smllcElection:"Ett 8832- eller 2553-val",iConfirmIncomeIsNonUs:"Swedish - (a) income not effectively connected with the conduct of a trade or business in the United States; (b) income effectively connected with the conduct of a trade or business in the United States but is not subject to tax under an applicable income tax treaty; (c) the partner’s share of a partnership's effectively connected taxable income; or (d) the partner's amount realized from the transfer of a partnership interest subject to withholding under section 1446(f);"},title:{accountHolder:"Kontoinnehavare",accountHolderClassification:"Kontoinnehavarens klassificering",accountHolderContactInformation:"Namn och adress",accountHolderTaxInformation:"Skatteinformation",address:"Address",mailingAddress:"Mailing Address",permanentAddress:"Permanent Address",placeOfBirth:"Födelseplats",regardedOwner:"Ansedd ägare",regardedOwnerClassification:"Ansedd ägare kontoklassificering",regardedOwnerContactInformation:"Ansedd ägare Namn och adress",regardedOwnerTaxInformation:"Ansedd ägare skatteinformation",signature:"Signatur",summary:"Sammanfattning",taxResidences:"Skatteresidens",taxResidence1:"Skatteresidens 1",taxResidence2:"Skatteresidens 2",taxResidence3:"Skatteresidens 3",taxResidence4:"Skatteresidens 4",taxResidence5:"Skatteresidens 5"},text:{eSignActReference:"Swedish - * The Electronic Signatures in Global and National Commerce Act, 15 U.S.C. §7001, et seq., (“E-sign-Act”) was signed into law on June 30, 2000, and provides a general rule for the validation of electronic records and signatures for transactions in or affecting interstate or foreign commerce.",notRequired:"Inte nödvändigt"},error:{invalid:"Ogiltig",invalidDate:"Ogiltigt datum",mustBeFiveOrNineDigits:"Måste vara fem eller nio siffror",mustBeInDateFormat:"Måste vara i detta format: MM/DD/YYYY",mustBeNineDigits:"Måste vara nio siffror",mustBeSixCharacters:"Måste vara sex tecken",mustBeValidBirthDate:"Inte ett giltigt födelsedatum",mustMatchName:"Måste matcha namnet",required:"Krävs"},hint:{dateOfBirth:"Använd detta format: MM/DD/YYYY"},option:{usPerson_yes:"Ja. Jag är en amerikansk person",usPerson_no:"Nej, jag är inte en amerikansk person",regardedOwnerUsPerson_no:"Nej, den ansetta ägaren är inte en amerikansk person",regardedOwnerUsPerson_yes:"Ja. Den ansetta ägaren är en amerikansk person",isIndividual_yes:"Ja. Jag är en individ",isIndividual_no:"Nej, jag är inte en individ",cCorporation:"C-bolag",centralBankOfIssue:"Centralbank för utgåva",complexTrust:"Komplex förtroende",corporation:"Bolag",disregardedEntity:"Förbisedd enhet",estate:"Fastighet",foreignGovernmentControlledEntity:"Utländsk regeringskontrollerad enhet",foreignGovernmentIntegralPart:"Utländsk regerings integrerad del",grantorTrust:"Givareförtroende",individual:"Individ",internationalOrganization:"Internationell organisation",llc:"LLC",no:"Nej",other:"Annat",partnership:"Partnerskap",privateFoundation:"Privat stiftelse",sCorporation:"S-bolag",simpleTrust:"Enkelt förtroende",smllc:"SMLLC",soleProprietor:"Enskild näringsidkare",taxExemptOrganization:"Skattefri organisation",trust:"Förtroende",trustEstate:"Förtroende / fastighet",yes:"Ja"},country:{AD:"Andorra",AE:"Förenade Arabemiraten",AF:"Afghanistan",AG:"Antigua och Barbuda",AI:"Anguilla",AL:"Albanien",AM:"Armenien",AO:"Angola",AQ:"Antarktis",AR:"Argentina",AS:"Amerikanska Samoa",AT:"Österrike",AU:"Australien",AW:"Aruba",AX:"Åland",AZ:"Azerbajdzjan",BA:"Bosnien och Hercegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Bonaire",BR:"Brasilien",BS:"Bahamas",BT:"Bhutan",BV:"Bouvetön",BW:"Botswana",BY:"Vitryssland",BZ:"Belize",CA:"Kanada",CC:"Kokosöarna",CD:"Kongo-Kinshasa",CF:"Centralafrikanska republiken",CG:"Kongo-Brazzaville",CH:"Schweiz",CI:"Elfenbenskusten",CK:"Cooköarna",CL:"Chile",CM:"Kamerun",CN:"Kina",CO:"Colombia",CR:"Costa Rica",CU:"Kuba",CV:"Kap Verde",CW:"Curaçao",CX:"Julön",CY:"Cypern",CZ:"Tjeckien",DE:"Tyskland",DJ:"Djibouti",DK:"Danmark",DM:"Dominica",DO:"Dominikanska republiken",DZ:"Algeriet",EC:"Ecuador",EE:"Estland",EG:"Egypten",EH:"Västsahara",ER:"Eritrea",ES:"Spanien",ET:"Etiopien",FI:"Finland",FJ:"Fiji",FK:"Falklandsöarna",FM:"Mikronesiens federerade stater",FO:"Färöarna",FR:"Frankrike",GA:"Gabon",GB:"Storbritannien",GD:"Grenada",GE:"Georgien",GF:"Franska Guyana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Grönland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Ekvatorialguinea",GR:"Grekland",GS:"Sydgeorgien och Sydsandwichöarna",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hongkong",HM:"Heard- och McDonaldöarna",HN:"Honduras",HR:"Kroatien",HT:"Haiti",HU:"Ungern",ID:"Indonesien",IE:"Irland",IL:"Israel",IM:"Isle of Man",IN:"Indien",IO:"Brittiska territoriet i Indiska oceanen",IQ:"Irak",IR:"Iran",IS:"Island",IT:"Italien",JE:"Jersey",JM:"Jamaica",JO:"Jordanien",JP:"Japan",KE:"Kenya",KG:"Kirgizistan",KH:"Kambodja",KI:"Kiribati",KM:"Komorerna",KN:"Saint Kitts och Nevis",KP:"Nordkorea",KR:"Sydkorea",KW:"Kuwait",KY:"Caymanöarna",KZ:"Kazakstan",LA:"Laos",LB:"Libanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",LY:"Libyen",MA:"Marocko",MC:"Monaco",MD:"Moldavien",ME:"Montenegro",MF:"Sankt Martin",MG:"Madagaskar",MH:"Marshallöarna",MK:"Nordmakedonien",ML:"Mali",MM:"Myanmar",MN:"Mongoliet",MO:"Macao",MP:"Nordmarianerna",MQ:"Martinique",MR:"Mauretanien",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldiverna",MW:"Malawi",MX:"Mexiko",MY:"Malaysia",MZ:"Moçambique",NA:"Namibia",NC:"Nya Kaledonien",NE:"Niger",NF:"Norfolkön",NG:"Nigeria",NI:"Nicaragua",NL:"Nederländerna",NO:"Norge",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Nya Zeeland",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Franska Polynesien",PG:"Papua Nya Guinea",PH:"Filippinerna",PK:"Pakistan",PL:"Polen",PM:"Saint-Pierre och Miquelon",PN:"Pitcairnöarna",PR:"Puerto Rico",PS:"Palestina",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Rumänien",RS:"Serbien",RU:"Ryssland",RW:"Rwanda",SA:"Saudiarabien",SB:"Salomonöarna",SC:"Seychellerna",SD:"Sudan",SE:"Sverige",SG:"Singapore",SH:"Sankta Helena",SI:"Slovenien",SJ:"Svalbard och Jan Mayen",SK:"Slovakien",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"Sydsudan",ST:"São Tomé och Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syrien",SZ:"Eswatini",TC:"Turks- och Caicosöarna",TD:"Tchad",TF:"Franska sydterritorierna",TG:"Togo",TH:"Thailand",TJ:"Tadzjikistan",TK:"Tokelau",TL:"Östtimor",TM:"Turkmenistan",TN:"Tunisien",TO:"Tonga",TR:"Turkiet",TT:"Trinidad och Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraina",UG:"Uganda",UM:"USA:s yttre öar",US:"USA",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatikanstaten",VC:"Saint Vincent och Grenadinerna",VE:"Venezuela",VG:"Brittiska Jungfruöarna",VI:"Amerikanska Jungfruöarna",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis- och Futunaöarna",WS:"Samoa",YE:"Jemen",YT:"Mayotte",ZA:"Sydafrika",ZM:"Zambia",ZW:"Zimbabwe"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"Amerikanska Samoa",AZ:"Arizona",CA:"Kalifornien",CO:"Colorado",CT:"Connecticut",DC:"District of Columbia",DE:"Delaware",FL:"Florida",FM:"Mikronesiens federerade stater",GA:"Georgia",GU:"Guam",HI:"Hawaii",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Marshallöarna",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MP:"Nordmarianerna",MS:"Mississippi",MT:"Montana",NC:"North Carolina",ND:"North Dakota",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",PR:"Puerto Rico",PW:"Palau",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UM:"Yttre öarna",UT:"Utah",VA:"Virginia",VI:"Jungfruöarna",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"West Virginia",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"British Columbia",MB:"Manitoba",NB:"New Brunswick",NL:"Newfoundland och Labrador",NS:"Nova Scotia",NT:"Nordvästterritorierna",NU:"Nunavut",ON:"Ontario",PE:"Prince Edward Island",QC:"Quebec",SK:"Saskatchewan",YT:"Yukonterritoriet"}},"fr-fr":{button:{edit:"Editer",back:"Retour",next:"Suivant",reset:"Réinitialiser",submit:"Soumettre",cancel:"Annuler"},prompt:{addAdditional:"ADD ANOTHER",removeAdditional:"REMOVE",address:"ADDRESS",businessRegistrationNumber:"BUSINESS REGISTRATION NUMBER",city:"Ville",country:"Pays",countryOfCitizenship:"Pays de citoyenneté",dateOfBirth:"Date de naissance",dbaName:"Exerçant ses activités sous la dénomination de",exemptFatcaCode:"EXEMPT FATCA CODE",exemptPayeeCode:"EXEMPT PAYEE CODE",financialAccountIdentifier:"FINANCIAL ACCOUNT IDENTIFIER",financialAccountName:"FINANCIALACCOUNTNAME",foreignAccountType:"Laquelle des catégories suivantes représente le mieux votre type de compte ?",foreignOtherClassification:"FOREIGNOTHERCLASSIFICATION",foreignTin:"Numéro d'Identification Fiscale étrangère",foreignTinIsNotRequired:"Le numéro d'identification fiscale étranger n'est pas requis",foreignTrustClassification:"FOREIGNTRUSTCLASSIFICATION",isEuResident:"Êtes-vous résident d'un ou de plusieurs États membres de l'UE ?",isIndividual:"Êtes-vous un particulier ?",mailingAddress:"MAILINGADDRESS",mailingAddressIsDifferent:"L'adresse postale est différente de l'adresse physique",name:"Nom",nameOfBusiness:"Nom de l'entreprise",nameOfCCorporation:"Nom de la société C",nameOfCorporation:"NAMEOFCORPORATION",nameOfIndividual:"Nom de la personne physique",nameOfLlc:"Nom de la LLC",nameOfOrganization:"Nom de l'organisation",nameOfPartnership:"NAMEOFPARTNERSHIP",nameOfSCorporation:"Nom de la société S",nameOfSoleProprietor:"NAMEOFSOLEPROPRIETOR",nameOfTrust:"NAMEOFTRUST",nameOfTrustEstate:"Nom de la fiducie ou de la succession",cityOfBirth:"Ville de naissance",countryOfBirth:"Pays de naissance",province:"Province",regardedOwnerUsPerson:"Êtes-vous une personne américaine ?",signature:"Signature",smllcElection:"Avez-vous choisi une entité ?",state:"État",stateProvince:"Province",street2:"Unité/Appt/Suite",street:"Adresse (rue)",taxIdNumber:"TAXIDNUMBER",taxIdNumberIsNotRequired:"Le numéro d'identification fiscale n'est pas requis",tin:"numéro d'identification fiscale",usAccountType:"Laquelle des catégories suivantes représente le mieux votre type de compte ?",usEin:"USEIN",usLlcClassification:"Classification de la SARL",usOtherClassification:"Autre classification",usPerson:"Êtes-vous une personne américaine ?",usSsn:"USSSN",usTin:"Numéro d'identification fiscale américain",usTrustEstateEin:"Le trust ou la succession dispose-t-il d'un numéro d'identification de l'employeur ?",vatIdentificationNumber:"Numéro d'identification de la TVA",vatCountry:"Pays de la TVA",zip:"Code postal",iAcknowlegeESignIsOk:"French - I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"French - The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"French - I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"French - I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"French - Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"French - Certify to all",iConfirmIncomeIsNonUs:"French - This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"French - The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"French - For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"French - The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"French - The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"French - I confirm I have the legal capacity to sign on behalf of the entity named above"},subPrompt:{smllcElection:"An 8832 or 2553 election",iConfirmIncomeIsNonUs:"French - (a) income not effectively connected with the conduct of a trade or business in the United States; (b) income effectively connected with the conduct of a trade or business in the United States but is not subject to tax under an applicable income tax treaty; (c) the partner’s share of a partnership's effectively connected taxable income; or (d) the partner's amount realized from the transfer of a partnership interest subject to withholding under section 1446(f);"},title:{accountHolder:"Account Holder",accountHolderClassification:"Account Classification",accountHolderContactInformation:"Name and Address",accountHolderTaxInformation:"Tax Information",address:"Address",mailingAddress:"Mailing Address",permanentAddress:"Permanent Address",placeOfBirth:"Place of Birth",regardedOwner:"Regarded Owner",regardedOwnerClassification:"Regarded Owner Account Classification",regardedOwnerContactInformation:"Regarded Owner Name and Address",regardedOwnerTaxInformation:"Regarded Owner Tax Information",signature:"Signature",summary:"Summary",taxResidences:"Tax Residences",taxResidence1:"Tax Residence 1",taxResidence2:"Tax Residence 2",taxResidence3:"Tax Residence 3",taxResidence4:"Tax Residence 4",taxResidence5:"Tax Residence 5"},text:{eSignActReference:"FRENCH - * The Electronic Signatures in Global and National Commerce Act, 15 U.S.C. §7001, et seq., (“E-sign-Act”) was signed into law on June 30, 2000, and provides a general rule for the validation of electronic records and signatures for transactions in or affecting interstate or foreign commerce.",notRequired:"Non requis"},hint:{dateOfBirth:"Utilisez ce format: JJ/MM/AAAA"},error:{invalid:"Invalide",invalidDate:"Date invalide",mustBeValidBirthDate:"Doit être une date de naissance valide",mustBeInDateFormat:"Doit être au format JJ/MM/AAAA",mustBeSixCharacters:"Doit être composé de six caractères",mustBeFiveOrNineDigits:"Doit être composé de cinq ou neuf chiffres",mustBeNineDigits:"Doit être composé de neuf chiffres",mustMatchName:"Doit correspondre au nom",required:"Requis"},option:{usPerson_yes:"Oui, je suis une personne américaine",usPerson_no:"Non, je ne suis pas une personne américaine",regardedOwnerUsPerson_no:"Non, je ne suis pas une personne américaine",regardedOwnerUsPerson_yes:"Oui, je suis une personne américaine",isIndividual_yes:"Oui, je suis un particulier",isIndividual_no:"Non, je ne suis pas un particulier",cCorporation:"C Corporation",centralBankOfIssue:"Banque centrale d'émission",complexTrust:"Fiducie complexe",corporation:"Société",disregardedEntity:"Entité ignorée",estate:"Domaine",foreignGovernmentControlledEntity:"Entité contrôlée par un gouvernement étranger",foreignGovernmentIntegralPart:"Partie intégrante d'un gouvernement étranger",grantorTrust:"Fiducie Cédant",individual:"Particulier",internationalOrganization:"Organisation internationale",llc:"LLC",no:"Non",other:"Autre",partnership:"Société de personnes",privateFoundation:"Fondation privée",sCorporation:"S Corporation",simpleTrust:"Fiducie simple",smllc:"SMLLC",soleProprietor:"Propriétaire unique",taxExemptOrganization:"Organisation exonérée d'impôt",trust:"Fiducie",trustEstate:"Fiducie ou Succession",yes:"Oui"},country:{AD:"Andorre",AE:"Émirats arabes unis",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albanie",AM:"Arménie",AO:"Angola",AQ:"Antarctique",AR:"Argentine",AS:"Samoa américaines",AT:"Autriche",AU:"Australie",AW:"Aruba",AX:"Îles Åland",AZ:"Azerbaïdjan",BA:"Bosnie-et-Herzégovine",BB:"Barbade",BD:"Bangladesh",BE:"Belgique",BF:"Burkina Faso",BG:"Bulgarie",BH:"Bahreïn",BI:"Burundi",BJ:"Bénin",BL:"Saint-Barthélemy",BM:"Bermudes",BN:"Brunei Darussalam",BO:"Bolivie",BQ:"Bonaire",BR:"Brésil",BS:"Bahamas",BT:"Bhoutan",BV:"Île Bouvet",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Îles Cocos",CD:"Congo",CF:"République centrafricaine",CG:"Congo",CH:"Suisse",CI:"Côte d'Ivoire",CK:"Îles Cook",CL:"Chili",CM:"Cameroun",CN:"Chine",CO:"Colombie",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Curaçao",CX:"île Christmas",CY:"Chypre",CZ:"Tchécoslovaquie",DE:"Allemagne",DJ:"Djibouti",DK:"Danemark",DM:"Dominique",DO:"République dominicaine",DZ:"Algérie",EC:"Équateur",EE:"Estonie",EG:"Égypte",EH:"Sahara occidental",ER:"Érythrée",ES:"Espagne",ET:"Éthiopie",FI:"Finlande",FJ:"Fidji",FK:"Îles Malouines",FM:"États fédérés de Micronésie",FO:"Îles Féroé",FR:"France",GA:"Gabon",GB:"Royaume-Uni",GD:"Grenade",GE:"Géorgie",GF:"Guyane française",GG:"Guernesey",GH:"Ghana",GI:"Gibraltar",GL:"Groenland",GM:"Gambie",GN:"Guinée",GP:"Guadeloupe",GQ:"Guinée équatoriale",GR:"Grèce",GS:"Géorgie du Sud",GT:"Guatemala",GU:"Guam",GW:"Guinée-Bissau",GY:"Guyane",HK:"Hong Kong",HM:"Heard Island & McDonald Islands",HN:"Honduras",HR:"Croatie",HT:"Haïti",HU:"Hongrie",ID:"Indonésie",IE:"Irlande",IL:"Israël",IM:"Île de Man",IN:"Inde",IO:"Territoire britannique de l'océan Indien",IQ:"Irak",IR:"Iran",IS:"Islande",IT:"Italie",JE:"Jersey",JM:"Jamaïque",JO:"Jordanie",JP:"Japon",KE:"Kenya",KG:"Kirghizstan",KH:"Cambodge",KI:"Kiribati",KM:"Comores",KN:"Saint Kitts & Nevis",KP:"Corée du Nord",KR:"Corée du Sud",KW:"Koweït",KY:"Îles Caïmans",KZ:"Kazakhstan",LA:"Laos",LB:"Liban",LC:"Sainte-Lucie",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lituanie",LU:"Luxembourg",LV:"Lettonie",LY:"Libye",MA:"Maroc",MC:"Monaco",MD:"Moldova",ME:"Monténégro",MF:"Saint Martin",MG:"Madagascar",MH:"Îles Marshall",MK:"Macédoine du Nord",ML:"Mali",MM:"Myanmar",MN:"Mongolie",MO:"Macao",MP:"Îles Mariannes du Nord",MQ:"Martinique",MR:"Mauritanie",MS:"Montserrat",MT:"Malte",MU:"Maurice",MV:"Maldives",MW:"Malawi",MX:"Mexique",MY:"Malaisie",MZ:"Mozambique",NA:"Namibie",NC:"Nouvelle-Calédonie",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Pays-Bas",NO:"Norvège",NP:"Népal",NR:"Nauru",NU:"Niue",NZ:"Nouvelle-Zélande",OM:"Oman",PA:"Panama",PE:"Pérou",PF:"Polynésie française",PG:"Papouasie-Nouvelle-Guinée",PH:"Philippines",PK:"Pakistan",PL:"Pologne",PM:"Saint Pierre et Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Roumanie",RS:"Serbie",RU:"Fédération de Russie",RW:"Rwanda",SA:"Arabie Saoudite",SB:"Îles Salomon",SC:"Seychelles",SD:"Soudan",SE:"Suède",SG:"Singapour",SH:"Sainte-Hélène",SI:"Slovénie",SJ:"Svalbard et Jan Mayen",SK:"Slovaquie",SL:"Sierra Leone",SM:"San Marino",SN:"Sénégal",SO:"Somalie",SR:"Suriname",SS:"Sud-Soudan",ST:"Sao Tomé-et-Principe",SV:"El Salvador",SX:"Saint-Martin",SY:"République arabe syrienne",SZ:"Eswatini",TC:"Turks & Caicos Islands",TD:"Tchad",TF:"Terres australes françaises",TG:"Togo",TH:"Thaïlande",TJ:"Tadjikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkménistan",TN:"Tunisie",TO:"Tonga",TR:"Turquie",TT:"Trinité-et-Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzanie",UA:"Ukraine",UG:"Ouganda",UM:"Îles périphériques",US:"États-Unis",UY:"Uruguay",UZ:"Ouzbékistan",VA:"Saint-Siège",VC:"Saint-Vincent-et-les-Grenadines",VE:"Venezuela",VG:"Îles Vierges britanniques",VI:"Îles Vierges",VN:"Viet Nam",VU:"Vanuatu",WF:"Wallis & Futuna",WS:"Samoa",YE:"Yémen",YT:"Mayotte",ZA:"Afrique du Sud",ZM:"Zambie",ZW:"Zimbabwe"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"Samoa américaines",AZ:"Arizona",CA:"Californie",CO:"Colorado",CT:"Connecticut",DC:"District Of Columbia",DE:"Delaware",FL:"Floride",FM:"États fédérés de Micronésie",GA:"Georgia",GU:"Guam",HI:"Hawaï",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Louisiane",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Îles Marshall",MI:"Michigan",MN:"Minnesota",MO:"Missouri",MP:"Îles Mariannes du Nord",MS:"Mississippi",MT:"Montana",NC:"Caroline du Nord",ND:"Dakota du Nord",NE:"Nebraska",NH:"New Hampshire",NJ:"New Jersey",NM:"Nouveau Mexique",NV:"Nevada",NY:"New York",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvanie",PR:"Puerto Rico",PW:"Palau",RI:"Rhode Island",SC:"Caroline du Sud",SD:"Dakota du Sud",TN:"Tennessee",TX:"Texas",UM:"Îles périphériques",UT:"Utah",VA:"Virginie",VI:"Îles Vierges",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"Virginie occidentale",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"Colombie-Britannique",MB:"Manitoba",NB:"Nouveau-Brunswick",NL:"Terre-Neuve et Labrador",NS:"Nouvelle-Écosse",NT:"Territoires du Nord-Ouest",NU:"Nunavut",ON:"Ontario",PE:"Île-du-Prince-Édouard",QC:"Québec",SK:"Saskatchewan",YT:"Territoire du Yukon"}},"es-es":{button:{back:"Atrás",cancel:"Cancelar",edit:"Editar",next:"Siguiente",reset:"Restablecer",submit:"Enviar"},prompt:{addAdditional:"Añadir Otro",removeAdditional:"Eliminar",address:"Dirección",businessRegistrationNumber:"Número de Registro Empresarial",city:"Ciudad",country:"País",countryOfCitizenship:"País de Ciudadanía",exemptFatcaCode:"Código de Exención FATCA",exemptPayeeCode:"Código de Exención del Beneficiario",dateOfBirth:"Fecha de Nacimiento",dbaName:"Nombre Comercial",financialAccountIdentifier:"Identificador de Cuenta Financiera",financialAccountName:"Nombre de Cuenta Financiera",foreignAccountType:"¿Cuál de las siguientes representa mejor su tipo de cuenta?",foreignOtherClassification:"Otra Clasificación",foreignTin:"Número de Identificación Fiscal Extranjero",foreignTinIsNotRequired:"No se requiere Número de Identificación Fiscal Extranjero",foreignTrustClassification:"Clasificación de Fideicomiso",isEuResident:"¿Es residente en uno o más Estados miembros de la UE?",isIndividual:"¿Es usted un individuo?",mailingAddress:"Dirección Postal",mailingAddressIsDifferent:"La dirección postal es diferente",name:"Nombre",nameOfBusiness:"Nombre de la Empresa",nameOfCCorporation:"Nombre de la Corporación C",nameOfCorporation:"Nombre de la Corporación",nameOfIndividual:"Nombre del Individuo",nameOfLlc:"Nombre de la LLC",nameOfOrganization:"Nombre de la Organización",nameOfPartnership:"Nombre de la Sociedad",nameOfSCorporation:"Nombre de la Corporación S",nameOfSoleProprietor:"Nombre del Autónomo",nameOfTrust:"Nombre del Fideicomiso",nameOfTrustEstate:"Nombre del Fideicomiso/Heredad",cityOfBirth:"Ciudad de Nacimiento",countryOfBirth:"País de Nacimiento",province:"Provincia",regardedOwnerUsPerson:"¿Es una persona de EE. UU.?",signature:"Firma",smllcElection:"¿Hizo una elección de entidad?",state:"Estado",stateProvince:"Provincia",street2:"Piso, Apartamento o Suite #",street:"Dirección de la Calle",taxIdNumber:"Número de Identificación Fiscal",taxIdNumberIsNotRequired:"No se requiere Número de Identificación Fiscal",tin:"Número de Identificación Fiscal",usAccountType:"¿Cuál de las siguientes representa mejor su tipo de cuenta?",usEin:"Número de Identificación de Empleador de EE. UU.",usLlcClassification:"Clasificación de LLC",usOtherClassification:"Otra Clasificación",usPerson:"¿Es usted una persona de EE. UU.?",usSsn:"Número de Seguridad Social",usTin:"Número de Identificación Fiscal de EE. UU.",usTrustEstateEin:"¿El Fideicomiso/Heredad tiene un Número de Identificación de Empleador?",vatIdentificationNumber:"Número de Identificación de IVA",vatCountry:"País de IVA",zip:"Código Postal",iAcknowlegeESignIsOk:"Spanish - I acknowledge that the Internal Revenue Service does not require my consent to any provision of this document other than the certifications required to avoid backup withholding. I also acknowledge that by typing my name below, as per the E-sign Act*, I am providing an e-signature that is the legal equivalent to my manual signature. By selecting this box, I consent to be legally bound by the information provided on this form. If I want to withdraw my consent, I can do so by contacting customer support. I further understand that a downloadable version of the form I am consenting to sign will also be available upon request to customer support and/or in my account profile.",iAmExemptFromFatcaReporting:"Spanish - The FATCA code entered on this form (if any) indicating that I am exempt from FATCA reporting is correct.",iAmNotSubjectToBackupWithholding:"Spanish - I am not subject to backup withholding because: (a) I am exempt from backup withholding, or (b) I have not been notified by the Internal Revenue Service (IRS) that I am subject to backup withholding as a result of a failure to report all interest or dividends, or (c) the IRS has notified me that I am no longer subject to backup withholding.",iAmACitizenOfTheUs:"Spanish - I am a U.S. citizen or other U.S. person.",iAuthorizeWithholdingAgent:"Spanish - Furthermore, I authorize this form to be provided to any withholding agent that has control, receipt, or custody of the income of which the entity name above is the beneficial owner or any withholding agent that can disburse or make payments of the income of which the entity named above is the beneficial owner. I agree that I will submit a new form within 30 days if any certification on this form becomes incorrect.",iCertifyToAll:"Spanish - Certify to all",iConfirmIncomeIsNonUs:"Spanish - This form relates to: ",iConfirmTheEntityIsTheBeneficialOwner:"Spanish - The entity named above of this form is the beneficial owner of all the income or proceeds to which this form relates, is using this form to certify its status for chapter 4 purposes, or is submitting this form for purposes of section 6050W or 6050Y;",iConfirmTheBeneficialOwnerIsExempt:"Spanish - For broker transactions or barter exchanges, the beneficial owner is an exempt foreign person as defined in the instructions.",iConfirmTheTaxIdIsCorrect:"Spanish - The number shown on this form is my correct taxpayer identification number (or I am waiting for a number to be issued to me).",iConfirmTheEntityIsNotAUsPerson:"Spanish - The entity named above on this form is not a U.S. person;",iHaveLegalCapacityToSign:"Spanish - I confirm I have the legal capacity to sign on behalf of the entity named above"},subPrompt:{smllcElection:"Una elección 8832 o 2553",iConfirmIncomeIsNonUs:"Confirmo que los ingresos de esta cuenta no son de EE. UU."},title:{accountHolder:"Titular de la Cuenta",accountHolderClassification:"Clasificación del Titular de la Cuenta",accountHolderContactInformation:"Nombre y Dirección",accountHolderTaxInformation:"Información Fiscal",address:"Dirección",mailingAddress:"Dirección Postal",permanentAddress:"Dirección Permanente",placeOfBirth:"Lugar de Nacimiento",regardedOwner:"Propietario Considerado",regardedOwnerClassification:"Clasificación de Propietario Considerado",regardedOwnerContactInformation:"Nombre y Dirección del Propietario Considerado",regardedOwnerTaxInformation:"Información Fiscal del Propietario Considerado",signature:"Firma",summary:"Resumen",taxResidences:"Residencias Fiscales",taxResidence1:"Residencia Fiscal 1",taxResidence2:"Residencia Fiscal 2",taxResidence3:"Residencia Fiscal 3",taxResidence4:"Residencia Fiscal 4",taxResidence5:"Residencia Fiscal 5"},text:{eSignActReference:"Spanish - * The Electronic Signatures in Global and National Commerce Act, 15 U.S.C. §7001, et seq., (“E-sign-Act”) was signed into law on June 30, 2000, and provides a general rule for the validation of electronic records and signatures for transactions in or affecting interstate or foreign commerce.",notRequired:"No se requiere"},hint:{dateOfBirth:"Use este formato: DD/MM/AAAA"},error:{invalid:"Inválido",invalidDate:"Fecha Inválida",mustBeFiveOrNineDigits:"Debe tener cinco o nueve dígitos",mustBeInDateFormat:"Debe estar en este formato: DD/MM/AAAA",mustBeNineDigits:"Debe tener nueve dígitos",mustBeSixCharacters:"Debe tener seis caracteres",mustBeValidBirthDate:"No es una fecha de nacimiento válida",mustMatchName:"Debe coincidir con el nombre",required:"Requerido"},option:{usPerson_yes:"Sí. Soy una persona de EE. UU.",usPerson_no:"No, no soy una persona de EE. UU.",regardedOwnerUsPerson_no:"No, no soy una persona de EE. UU.",regardedOwnerUsPerson_yes:"Sí. Soy una persona de EE. UU.",isIndividual_yes:"Sí. Soy un individuo",isIndividual_no:"No, no soy un individuo",cCorporation:"Corporación C",centralBankOfIssue:"Banco Central de Emisión",complexTrust:"Fideicomiso Complejo",corporation:"Corporación",disregardedEntity:"Entidad Desconsiderada",estate:"Heredad",foreignGovernmentControlledEntity:"Entidad Controlada por Gobierno Extranjero",foreignGovernmentIntegralPart:"Parte Integral de Gobierno Extranjero",grantorTrust:"Fideicomiso de Fideicomisario",individual:"Individuo",internationalOrganization:"Organización Internacional",llc:"LLC",no:"No",other:"Otro",partnership:"Sociedad",privateFoundation:"Fundación Privada",sCorporation:"Corporación S",simpleTrust:"Fideicomiso Simple",smllc:"SMLLC",soleProprietor:"Autónomo",taxExemptOrganization:"Organización Exenta de Impuestos",trust:"Fideicomiso",trustEstate:"Fideicomiso/Heredad",yes:"Sí"},country:{AD:"Andorra",AE:"Emiratos Árabes Unidos",AF:"Afganistán",AG:"Antigua y Barbuda",AI:"Anguila",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antártida",AR:"Argentina",AS:"Samoa Americana",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Islas Åland",AZ:"Azerbaiyán",BA:"Bosnia y Herzegovina",BB:"Barbados",BD:"Bangladés",BE:"Bélgica",BF:"Burkina Faso",BG:"Bulgaria",BH:"Baréin",BI:"Burundi",BJ:"Benín",BL:"San Bartolomé",BM:"Bermudas",BN:"Brunéi",BO:"Bolivia",BQ:"Bonaire",BR:"Brasil",BS:"Bahamas",BT:"Bután",BV:"Isla Bouvet",BW:"Botsuana",BY:"Bielorrusia",BZ:"Belice",CA:"Canadá",CC:"Islas Cocos",CD:"Congo",CF:"República Centroafricana",CG:"Congo",CH:"Suiza",CI:"Costa de Marfil",CK:"Islas Cook",CL:"Chile",CM:"Camerún",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cabo Verde",CW:"Curazao",CX:"Isla de Navidad",CY:"Chipre",CZ:"Chequia",DE:"Alemania",DJ:"Yibuti",DK:"Dinamarca",DM:"Dominica",DO:"República Dominicana",DZ:"Argelia",EC:"Ecuador",EE:"Estonia",EG:"Egipto",EH:"Sahara Occidental",ER:"Eritrea",ES:"España",ET:"Etiopía",FI:"Finlandia",FJ:"Fiyi",FK:"Islas Malvinas",FM:"Micronesia",FO:"Islas Feroe",FR:"Francia",GA:"Gabón",GB:"Reino Unido",GD:"Granada",GE:"Georgia",GF:"Guayana Francesa",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Groenlandia",GM:"Gambia",GN:"Guinea",GP:"Guadalupe",GQ:"Guinea Ecuatorial",GR:"Grecia",GS:"Georgia del Sur",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bisáu",GY:"Guyana",HK:"Hong Kong",HM:"Islas Heard y McDonald",HN:"Honduras",HR:"Croacia",HT:"Haití",HU:"Hungría",ID:"Indonesia",IE:"Irlanda",IL:"Israel",IM:"Isla de Man",IN:"India",IO:"Territorio Británico del Océano Índico",IQ:"Irak",IR:"Irán",IS:"Islandia",IT:"Italia",JE:"Jersey",JM:"Jamaica",JO:"Jordania",JP:"Japón",KE:"Kenia",KG:"Kirguistán",KH:"Camboya",KI:"Kiribati",KM:"Comoras",KN:"San Cristóbal y Nieves",KP:"Corea del Norte",KR:"Corea del Sur",KW:"Kuwait",KY:"Islas Caimán",KZ:"Kazajistán",LA:"Laos",LB:"Líbano",LC:"Santa Lucía",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesoto",LT:"Lituania",LU:"Luxemburgo",LV:"Letonia",LY:"Libia",MA:"Marruecos",MC:"Mónaco",MD:"Moldavia",ME:"Montenegro",MF:"San Martín",MG:"Madagascar",MH:"Islas Marshall",MK:"Macedonia del Norte",ML:"Malí",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Islas Marianas del Norte",MQ:"Martinica",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauricio",MV:"Maldivas",MW:"Malaui",MX:"México",MY:"Malasia",MZ:"Mozambique",NA:"Namibia",NC:"Nueva Caledonia",NE:"Níger",NF:"Isla Norfolk",NG:"Nigeria",NI:"Nicaragua",NL:"Países Bajos",NO:"Noruega",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Nueva Zelanda",OM:"Omán",PA:"Panamá",PE:"Perú",PF:"Polinesia Francesa",PG:"Papúa Nueva Guinea",PH:"Filipinas",PK:"Pakistán",PL:"Polonia",PM:"San Pedro y Miquelón",PN:"Islas Pitcairn",PR:"Puerto Rico",PS:"Palestina",PT:"Portugal",PW:"Palaos",PY:"Paraguay",QA:"Catar",RE:"Reunión",RO:"Rumanía",RS:"Serbia",RU:"Rusia",RW:"Ruanda",SA:"Arabia Saudí",SB:"Islas Salomón",SC:"Seychelles",SD:"Sudán",SE:"Suecia",SG:"Singapur",SH:"Santa Elena",SI:"Eslovenia",SJ:"Svalbard y Jan Mayen",SK:"Eslovaquia",SL:"Sierra Leona",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"Sudán del Sur",ST:"Santo Tomé y Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Siria",SZ:"Esuatini",TC:"Islas Turcas y Caicos",TD:"Chad",TF:"Territorios Australes Franceses",TG:"Togo",TH:"Tailandia",TJ:"Tayikistán",TK:"Tokelau",TL:"Timor Oriental",TM:"Turkmenistán",TN:"Túnez",TO:"Tonga",TR:"Turquía",TT:"Trinidad y Tobago",TV:"Tuvalu",TW:"Taiwán",TZ:"Tanzania",UA:"Ucrania",UG:"Uganda",UM:"Islas menores alejadas de los Estados Unidos",US:"Estados Unidos",UY:"Uruguay",UZ:"Uzbekistán",VA:"Ciudad del Vaticano",VC:"San Vicente y las Granadinas",VE:"Venezuela",VG:"Islas Vírgenes Británicas",VI:"Islas Vírgenes de los Estados Unidos",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis y Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"Sudáfrica",ZM:"Zambia",ZW:"Zimbabue"},usState:{AK:"Alaska",AL:"Alabama",AR:"Arkansas",AS:"Samoa Americana",AZ:"Arizona",CA:"California",CO:"Colorado",CT:"Connecticut",DC:"Distrito de Columbia",DE:"Delaware",FL:"Florida",FM:"Estados Federados de Micronesia",GA:"Georgia",GU:"Guam",HI:"Hawái",IA:"Iowa",ID:"Idaho",IL:"Illinois",IN:"Indiana",KS:"Kansas",KY:"Kentucky",LA:"Luisiana",MA:"Massachusetts",MD:"Maryland",ME:"Maine",MH:"Islas Marshall",MI:"Míchigan",MN:"Minnesota",MO:"Misuri",MP:"Islas Marianas del Norte",MS:"Misisipi",MT:"Montana",NC:"Carolina del Norte",ND:"Dakota del Norte",NE:"Nebraska",NH:"Nuevo Hampshire",NJ:"Nueva Jersey",NM:"Nuevo México",NV:"Nevada",NY:"Nueva York",OH:"Ohio",OK:"Oklahoma",OR:"Oregón",PA:"Pensilvania",PR:"Puerto Rico",PW:"Palaos",RI:"Rhode Island",SC:"Carolina del Sur",SD:"Dakota del Sur",TN:"Tennessee",TX:"Texas",UM:"Islas menores alejadas de los Estados Unidos",UT:"Utah",VA:"Virginia",VI:"Islas Vírgenes",VT:"Vermont",WA:"Washington",WI:"Wisconsin",WV:"Virginia Occidental",WY:"Wyoming"},caProvince:{AB:"Alberta",BC:"Columbia Británica",MB:"Manitoba",NB:"Nuevo Brunswick",NL:"Terranova y Labrador",NS:"Nueva Escocia",NT:"Territorios del Noroeste",NU:"Nunavut",ON:"Ontario",PE:"Isla del Príncipe Eduardo",QC:"Quebec",SK:"Saskatchewan",YT:"Territorio Yukón"}}},Rn=(e,n="en-us")=>{const t=ie[n].prompt[e];return t||(console.log('Missing prompt for key: "'+e+'" in locale: "'+n+'"'),e)},Ft=(e,n="en-us")=>{const t=ie[n].subPrompt[e];return t||(console.log('Missing subPrompt for key: "'+e+'" in locale: "'+n+'"'),e)},kt=(e,n="en-us")=>{const t=ie[n].error[e];return t||(console.log('Missing error for key: "'+e+'" in locale: "'+n+'"'),e)},Dt=(e,n="en-us")=>{const t=ie[n].hint[e];return t||(console.log('Missing hint for key: "'+e+'" in locale: "'+n+'"'),e)},Ut=(e,n="en-us")=>{const t=ie[n].text[e];return t||(console.log('Missing text for key: "'+e+'" in locale: "'+n+'"'),e)},Lt=(e,n="en-us")=>{const t=ie[n].title[e];return t||(console.log('Missing title for key: "'+e+'" in locale: "'+n+'"'),e)},Gt=(e,n="en-us")=>{const t=ie[n].button[e];return t||(console.log('Missing button for key: "'+e+'" in locale: "'+n+'"'),e)},Hn=(e,n="en-us")=>{if(!e)return"";const t=ie[n].option[e];return t||(console.log('Missing option for key: "'+e+'" in locale: "'+n+'"'),e)},jt=(e,n="en-us")=>{const t=ie[n].country[e];return t||(console.log('Missing country for key: "'+e+'" in locale: "'+n+'"'),e)},Kt=(e,n="en-us")=>{const t=ie[n].usState[e];return t||(console.log('Missing usState for key: "'+e+'" in locale: "'+n+'"'),e)},Wt=(e,n="en-us")=>{const t=ie[n].caProvince[e];return t||(console.log('Missing caProvince for key: "'+e+'" in locale: "'+n+'"'),e)},Ue=["000000000","111111111","222222222","333333333","444444444","555555555","666666666","777777777","888888888","999999999","012345678","123456789","234567890","876543210","987654321","098765432"],Le=/^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/,an=/^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/,rn=/^\d{5}$|^\d{5}-\d{4}$/,Ge=(e,n)=>{if(n.accountHolderAddressCountry==="US"&&U(e))return"required"},M=e=>{if(U(e))return"required"},je=e=>(n,t)=>{if(U(n)&&(tn(t[`accountHolderTaxResidenceForeignTin${e}`])||t[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]==="yes"))return"required"},Ke=e=>(n,t)=>{if(U(n)&&tn(t[`accountHolderTaxResidenceCountry${e}`])&&U(t[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]))return"required"},on={accountHolderUsPerson:M,accountHolderIsEuResident:M,accountHolderIsIndividual:M,accountHolderUsAccountType:M,accountHolderUsSmllcElection:M,accountHolderUsLlcClassification:M,accountHolderUsOtherClassification:M,accountHolderUsTrustEstateEin:M,accountHolderForeignAccountType:M,accountHolderForeignTrustClassification:M,accountHolderForeignOtherClassification:M,accountHolderName:M,accountHolderCountryOfCitizenship:M,accountHolderDbaName:(e,n)=>{if(n.accountHolderUsAccountType&&["cCorporation","sCorporation","partnership"].includes(n.accountHolderUsAccountType)&&U(e))return"required"},accountHolderDateOfBirth:(e,n)=>{if((n==null?void 0:n.accountHolderForeignAccountType)==="individual"||(n==null?void 0:n.accountHolderIsIndividual)==="yes"){if(e===void 0||e==="")return"required";if(vt(e))if(It(e)){if(!St(e))return"mustBeValidBirthDate"}else return"invalidDate";else return"mustBeInDateFormat"}},accountHolderAddressCountry:M,accountHolderAddressStreet:M,accountHolderAddressState:Ge,accountHolderAddressCity:M,accountHolderAddressZip:(e,n)=>{if(n.accountHolderAddressCountry==="US"){if(U(e))return"required";if(!rn.test(e))return"mustBeFiveOrNineDigits"}else if(n.accountHolderAddressCountry==="CA"){if(U(e))return"required";if(e.length!==6)return"mustBeSixCharacters";if(!an.test(e))return"invalid"}},accountHolderMailingAddressCountry:M,accountHolderMailingAddressStreet:M,accountHolderMailingAddressState:Ge,accountHolderMailingAddressCity:M,accountHolderMailingAddressZip:(e,n)=>{if(n.accountHolderMailingAddressCountry==="US"){if(U(e))return"required";if(!rn.test(e))return"mustBeFiveOrNineDigits"}else if(n.accountHolderMailingAddressCountry==="CA"){if(U(e))return"required";if(e.length!==6)return"mustBeSixCharacters";if(!an.test(e))return"invalid"}},accountHolderUsTin:(e,n)=>{if((n==null?void 0:n.accountHolderUsAccountType)!==void 0){if(e===void 0||e==="")return"required";if(Le.test(e)){if(Ue.includes(e))return"invalid"}else return"mustBeNineDigits"}else if((n==null?void 0:n.accountHolderUsPerson)==="no"&&e!==void 0&&e!=="")if(Le.test(e)){if(Ue.includes(e))return"invalid"}else return"mustBeNineDigits"},accountHolderForeignTin:(e,n)=>{if((e===void 0||e==="")&&n.accountHolderForeignTinIsNotRequired!=="yes")return"required"},accountHolderVatIdentificationNumber:M,accountHolderVatCountry:M,accountHolderCityOfBirth:(e,n)=>{const{hasNoTaxId:t}=ve(n);if(t&&U(e))return"required"},accountHolderCountryOfBirth:(e,n)=>{const{hasNoTaxId:t}=ve(n);if(t&&U(e))return"required"},accountHolderTaxResidenceCountry1:M,accountHolderTaxResidenceForeignTin1:(e,n)=>{if(U(n.accountHolderTaxResidenceForeignTin1IsNotRequired)&&U(e))return"required"},accountHolderTaxResidenceCountry2:je("2"),accountHolderTaxResidenceForeignTin2:Ke("2"),accountHolderTaxResidenceCountry3:je("3"),accountHolderTaxResidenceForeignTin3:Ke("3"),accountHolderTaxResidenceCountry4:je("4"),accountHolderTaxResidenceForeignTin4:Ke("4"),accountHolderTaxResidenceCountry5:je("5"),accountHolderTaxResidenceForeignTin5:Ke("5"),regardedOwnerUsPerson:M,regardedOwnerUsAccountType:M,regardedOwnerUsLlcClassification:M,regardedOwnerUsOtherClassification:M,regardedOwnerUsTrustEstateEin:M,regardedOwnerForeignAccountType:M,regardedOwnerForeignTrustClassification:M,regardedOwnerForeignOtherClassification:M,regardedOwnerName:M,regardedOwnerCountryOfCitizenship:M,regardedOwnerDbaName:(e,n)=>{if(n.regardedOwnerUsAccountType&&["cCorporation","sCorporation","partnership"].includes(n.regardedOwnerUsAccountType)&&U(e))return"required"},regardedOwnerDateOfBirth:M,regardedOwnerAddressCountry:M,regardedOwnerAddressStreet:M,regardedOwnerAddressState:Ge,regardedOwnerAddressCity:M,regardedOwnerAddressZip:(e,n)=>{if(n.regardedOwnerAddressCountry==="US"){if(U(e))return"required";if(!/^\d{5}$|^\d{5}-\d{4}|^\d{9}$/.test(e))return"mustBeFiveOrNineDigits"}},regardedOwnerMailingAddressCountry:M,regardedOwnerMailingAddressStreet:M,regardedOwnerMailingAddressState:Ge,regardedOwnerMailingAddressCity:M,regardedOwnerMailingAddressZip:(e,n)=>{if(n.regardedOwnerMailingAddressCountry==="US"){if(U(e))return"required";if(!rn.test(e))return"mustBeFiveOrNineDigits"}else if(n.regardedOwnerMailingAddressCountry==="CA"){if(U(e))return"required";if(e.length!==6)return"mustBeSixCharacters";if(!an.test(e))return"invalid"}},regardedOwnerUsTin:(e,n)=>{if((n==null?void 0:n.regardedOwnerUsPerson)==="yes"){if(e===void 0||e==="")return"required";if(Le.test(e)){if(Ue.includes(e))return"invalid"}else return"mustBeNineDigits"}else if((n==null?void 0:n.regardedOwnerUsPerson)==="no"&&e!==void 0&&e!=="")if(Le.test(e)){if(Ue.includes(e))return"invalid"}else return"mustBeNineDigits"},regardedOwnerForeignTin:(e,n)=>{const{isW8:t}=ve(n);if(t&&(e===void 0||e==="")&&n.regardedOwnerForeignTinIsNotRequired!=="yes")return"required"},signature:(e,n)=>{if(U(e))return"required";if(e!==n.accountHolderName&&(n.accountHolderUsAccountType==="individual"||n.accountHolderForeignAccountType==="individual"))return"mustMatchName"}},Vt=()=>({accountHolderDateOfBirth:"dateOfBirth",regardedOwnerDateOfBirth:"dateOfBirth"}),qt=()=>{const{language:e,data:n,supportedForms:t}=X(),[a,o]=O.useState(n),[s,c]=O.useState({}),[u,d]=O.useState(!1),[l,m]=O.useState(new Set),g=O.useMemo(()=>wt(a,t),[a,t]),p=O.useCallback((y,ne)=>{if(ne!==a[y]){const ce={...a,[y]:ne};o(ce)}},[a]);O.useEffect(()=>{const y=Object.keys(a).reduce((ne,ce)=>{var _e;if(l.has(ce)){const Je=(_e=on[ce])==null?void 0:_e.call(on,a[ce],a);Je&&(ne[ce]=Je)}return ne},{});c(y)},[a,l]);const C=()=>{d(!0)},E=()=>{d(!1)},A=Object.keys(s).length===0,v=Vt(),w=Mt(a),H={accountHolderUsSmllcElection:"smllcElection"},x=y=>w[y]?w[y]:y,T=y=>H[y]?H[y]:(console.log("No subPrompt key found for key: ",y),y),G=y=>v[y]?v[y]:y,S=y=>Dt(G(y),e),N=y=>Ut(y,e),P=y=>Lt(y,e),k=y=>kt(y,e),Q=y=>Gt(y,e),$=y=>Rn(x(y),e),Se=y=>Rn(x(y),e)+(s[y]?"*":""),_=y=>Ft(T(y),e),se=O.useCallback(y=>{if(y)return Hn(y,e)?Hn(y,e):y},[e]),ge=O.useCallback(y=>y?jt(y,e):"",[e]),Ne=y=>y?Kt(y,e):"",j=y=>y?Wt(y,e):"",J={accountHolderDbaName:!!a.accountHolderUsAccountType&&["cCorporation","sCorporation","partnership"].includes(a.accountHolderUsAccountType)};return{fields:a,setValue:p,errors:s,isErrorFree:A,showErrors:u,exposeErrors:C,hideErrors:E,requiredFields:J,getLocalButton:Q,getLocalCaProvince:j,getLocalCountry:ge,getLocalError:k,getLocalHint:S,getLocalOption:se,getLocalPrompt:$,getLocalSubPrompt:_,getLocalText:N,getLocalTitle:P,getLocalUsState:Ne,getRequiredLocalPrompt:Se,visibleQuestions:g,hideField:y=>{l.has(y)&&m(ne=>new Set([...ne].filter(ce=>ce!==y))),p(y,void 0)},showField:y=>{l.has(y)||m(ne=>new Set([...ne,y]))}}},le=({children:e})=>i.jsx(Bt,{value:qt(),children:e}),he=({onBack:e,onCancel:n,onNext:t,onSubmit:a,onReset:o})=>{const{isErrorFree:s,exposeErrors:c,getLocalButton:u}=L(),d=s?t:c,l=s?a:c;return i.jsxs("div",{className:"taxbit-stepActions",children:[i.jsxs("div",{className:"taxbit-secondaryActions",children:[n&&i.jsx("button",{onClick:n,tabIndex:-1,children:u("cancel")}),e&&i.jsx("button",{onClick:e,tabIndex:-1,children:u("back")}),o&&i.jsx("button",{onClick:o,children:u("reset")})]}),i.jsxs("div",{className:"taxbit-primaryActions",children:[t&&i.jsx("button",{onClick:d,children:u("next")}),a&&i.jsx("button",{onClick:l,children:u("submit")})]})]})},We=({address:e,className:n})=>{const{getLocalCountry:t,getLocalUsState:a,getLocalCaProvince:o}=L(),s=e.country==="US"?a(e.state):e.country==="CA"?o(e.state):e.state;return i.jsxs("div",{className:`${n} address`,children:[i.jsx("div",{children:e.street}),e.street2&&i.jsx("div",{children:e.street2}),i.jsxs("div",{children:[e.city&&`${e.city}`,e.state&&`, ${s}`,e.zip&&`, ${e.zip}`]}),e.country&&i.jsx("div",{children:t(e.country)})]})},xe=({name:e,hint:n})=>{const{errors:t,showErrors:a,getLocalError:o,getLocalHint:s}=L(),c=t[e]?o(t[e]):"";return c&&a?i.jsx("div",{className:"taxbit-errorMessage",children:c}):n?i.jsx("div",{className:"taxbit-hint",children:s(e)}):null},Re=({children:e,className:n})=>i.jsx("div",{className:En(n,"taxbit-inputStatus"),children:e}),me=({children:e})=>i.jsx("div",{className:"taxbit-page",children:e}),z=({label:e,subLabel:n,value:t,children:a,onEdit:o,name:s,className:c})=>{const{errors:u,showErrors:d,getLocalButton:l}=L();return i.jsxs("div",{className:En("taxbit-row",s&&d&&u[s]&&"taxbit-error",c),children:[i.jsxs("div",{className:"taxbit-label",children:[e,n&&i.jsx("div",{className:"taxbit-subLabel",children:n})]}),i.jsxs("div",{className:"taxbit-rowContent",children:[a?i.jsx("div",{className:"taxbit-rowValue",children:a}):i.jsx("div",{className:"taxbit-rowValue",children:t}),o&&i.jsx("div",{className:"taxbit-rowActions",children:i.jsx("button",{onClick:o,className:"taxbit-rowActionButton",children:l("edit")})})]})]})},ue=({title:e,showIf:n=!0,children:t})=>n?i.jsxs("div",{className:"taxbit-section",children:[e&&i.jsx("div",{className:"taxbit-sectionTitle",children:e}),t]}):t,fe=({title:e,subtitle:n})=>i.jsxs(i.Fragment,{children:[i.jsx("h3",{className:"taxbit-title",children:e}),n&&i.jsx("p",{children:n})]}),Pn=({label:e,subLabel:n,name:t})=>{const{fields:a,setValue:o,getLocalPrompt:s,getLocalSubPrompt:c}=L(),u=m=>{o(t,m)},d=a[t],l=m=>{u(m.target.checked?"yes":void 0)};return i.jsxs(Re,{children:[i.jsxs("div",{className:"taxbit-checkBox-label",children:[i.jsx("input",{type:"checkbox",id:t,name:t,checked:d==="yes",onChange:l,className:"taxbit-checkBox"}),i.jsxs("label",{htmlFor:t,children:[e&&s(t),n&&i.jsx("div",{className:"taxbit-subLabel",children:c(t)})]})]}),i.jsx(xe,{name:t})]})},zt=({name:e,options:n})=>{const{fields:t,setValue:a,hideErrors:o,getLocalOption:s}=L(),c=l=>{a(e,l),o()},u=t[e],d=l=>{c(l.target.value)};return i.jsxs(Re,{children:[i.jsx("div",{className:"taxbit-radioButtons",children:n.map(l=>i.jsxs("div",{className:"taxbit-radioButton",children:[i.jsx("input",{type:"radio",name:e,id:`${e}-${l.value}`,value:l.value,checked:l.value===u,onChange:d}),i.jsx("label",{htmlFor:`${e}-${l.value}`,children:l.label||s(l.value)})]},l.value))}),i.jsx(xe,{name:e})]})},Te=({name:e,options:n,addBlank:t=!0,className:a,onChange:o})=>{const{fields:s,setValue:c,getLocalOption:u}=L(),d=s[e],l=m=>{o&&o(),c(e,m.target.value)};return i.jsxs(Re,{className:a,children:[i.jsxs("select",{name:e,onChange:l,value:d,className:"taxbit-select",children:[t&&i.jsx("option",{value:""}),n.map(m=>i.jsx("option",{value:m.value,children:"label"in m?m.label:u(m.value)},m.value))]}),i.jsx(xe,{name:e})]})},re=({name:e,className:n,onChange:t,hint:a})=>{const{fields:o,setValue:s}=L(),c=o[e]||"",u=d=>{const l=t?t(d.target.value):d.target.value;s(e,l)};return i.jsxs(Re,{className:n,children:[i.jsx("input",{type:"text",name:e,value:c,onChange:u,className:"taxbit-input"}),i.jsx(xe,{name:e,hint:a})]})},Yt=({name:e})=>{const{fields:n,setValue:t,getLocalPrompt:a}=L(),o=n[e],s=()=>{t(e,o===void 0?"yes":void 0)};return i.jsxs(Re,{children:[i.jsx("div",{className:"taxbit-checkBox-label",children:i.jsx("button",{type:"button",id:e,name:e,onClick:s,className:"taxbit-toggle-button",children:a(e)})}),i.jsx(xe,{name:e})]})},_t=["AB","BC","MB","NB","NL","NS","NT","NU","ON","PE","QC","SK","YT"].map(e=>({value:e})),Jt=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],Zt=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],He=Jt.map(e=>({value:e})),Qt=Zt.map(e=>({value:e})),$t=["A","B","C","D","E","F","G","H","I","J","K","L","M"].map(e=>({value:e})),Xt=[{value:"individual"},{value:"corporation"},{value:"partnership"},{value:"trust"},{value:"other"},{value:"disregardedEntity"}],Bn=[{value:"taxExemptOrganization"},{value:"privateFoundation"},{value:"internationalOrganization"},{value:"centralBankOfIssue"},{value:"foreignGovernmentControlledEntity"},{value:"foreignGovernmentIntegralPart"},{value:"estate"}],ea=[{value:"individual"},{value:"corporation"},{value:"partnership"},{value:"trust"},{value:"other"}],Fn=[{value:"simpleTrust"},{value:"complexTrust"},{value:"grantorTrust"}],na=["A","B","C","D","E","F","G","H","I","J","K","L","M"].map(e=>({value:e})),ta=[{value:"individual"},{value:"soleProprietor"},{value:"llc"},{value:"smllc"},{value:"cCorporation"},{value:"sCorporation"},{value:"partnership"},{value:"trustEstate"},{value:"other"},{value:"disregardedEntity"}],kn=[{value:"cCorporation"},{value:"sCorporation"},{value:"partnership"}],aa=[{value:"individual"},{value:"llc"},{value:"cCorporation"},{value:"sCorporation"},{value:"partnership"},{value:"trustEstate"},{value:"other"}],ia=["AL","AK","AS","AZ","AR","CA","CO","CT","DE","DC","FM","FL","GA","GU","HI","ID","IL","IN","IA","KS","KY","LA","ME","MH","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","MP","OH","OK","OR","UM","PW","PA","PR","RI","SC","SD","TN","TX","UT","VT","VI","VA","WA","WV","WI","WY"].map(e=>({value:e})),be=[{value:"yes"},{value:"no"}],b=({label:e,subLabel:n,name:t,children:a,onEdit:o})=>{const{visibleQuestions:s,showField:c,hideField:u,getRequiredLocalPrompt:d,getLocalSubPrompt:l}=L(),m=!!s[t];if(O.useEffect(()=>{m?c(t):u(t)},[m,t,c,u]),m)return i.jsx(z,{name:t,label:e?d(t):void 0,subLabel:n?l(t):void 0,onEdit:o,children:a})},Y=({name:e,label:n,subLabel:t})=>i.jsx(b,{name:e,children:i.jsx(Pn,{label:n,subLabel:t,name:e})}),V=({name:e,label:n,subLabel:t,options:a})=>i.jsx(b,{name:e,label:n,subLabel:t,children:i.jsx(zt,{name:e,options:a})}),Ve=({name:e,label:n,options:t,subLabel:a,addBlank:o,onChange:s})=>i.jsx(b,{name:e,label:n,subLabel:a,children:i.jsx(Te,{name:e,options:t,addBlank:o,onChange:s})}),ee=({name:e,label:n,hint:t,subLabel:a,onChange:o})=>i.jsx(b,{name:e,label:n,subLabel:a,children:i.jsx(re,{name:e,onChange:o,hint:t})}),ra=()=>{const{fields:e,getLocalTitle:n,getLocalOption:t}=L(),{onPersistAccountHolderData:a,onCancel:o}=X(),s=be.map(u=>({...u,label:t(`usPerson_${u.value}`)})),c=be.map(u=>({...u,label:t(`isIndividual_${u.value}`)}));return i.jsxs(me,{children:[i.jsx(fe,{title:n("accountHolderClassification")}),i.jsx(V,{name:"accountHolderUsPerson",options:s,label:!0}),i.jsx(V,{name:"accountHolderIsEuResident",options:be,label:!0}),i.jsx(V,{name:"accountHolderIsIndividual",options:c,label:!0}),i.jsx(V,{name:"accountHolderUsAccountType",options:ta,label:!0}),i.jsx(V,{name:"accountHolderUsSmllcElection",options:be,label:!0,subLabel:!0}),i.jsx(V,{name:"accountHolderUsLlcClassification",options:kn,label:!0}),i.jsx(ee,{name:"accountHolderUsOtherClassification",label:!0}),i.jsx(V,{name:"accountHolderUsTrustEstateEin",options:be,label:!0}),i.jsx(V,{name:"accountHolderForeignAccountType",options:Xt,label:!0}),i.jsx(V,{name:"accountHolderForeignOtherClassification",options:Bn,label:!0}),i.jsx(V,{name:"accountHolderForeignTrustClassification",options:Fn,label:!0}),i.jsx(he,{onCancel:o,onNext:()=>a(e)})]})},oa=()=>i.jsx(le,{children:i.jsx(ra,{})}),qe=({prompt:e,prefix:n,showIf:t=!0})=>{const{fields:a,hideErrors:o,getLocalCountry:s,getLocalCaProvince:c,getLocalUsState:u,getRequiredLocalPrompt:d,hideField:l,showField:m}=L(),g=a[`${n}Country`],p=O.useMemo(()=>He.map(A=>({...A,label:s(A.value)})).sort((A,v)=>A.label.localeCompare(v.label)),[s]),C=O.useMemo(()=>ia.map(A=>({...A,label:u(A.value)})).sort((A,v)=>A.label.localeCompare(v.label)),[u]),E=O.useMemo(()=>_t.map(A=>({...A,label:c(A.value)})).sort((A,v)=>A.label.localeCompare(v.label)),[c]);if(O.useEffect(()=>{t?(m(`${n}Country`),m(`${n}Street`),m(`${n}Street2`),m(`${n}City`),m(`${n}State`)):(l(`${n}Country`),l(`${n}Street`),l(`${n}Street2`),l(`${n}City`),l(`${n}State`))},[t,m,l,n]),t)return i.jsxs(ue,{title:e,children:[i.jsx(z,{name:`${n}Country`,label:d(`${n}Country`),children:i.jsx(Te,{name:`${n}Country`,options:p,onChange:o})}),i.jsx(z,{name:`${n}Street`,label:d(`${n}Street`),children:i.jsx(re,{name:`${n}Street`})}),i.jsx(z,{name:`${n}Street2`,label:d(`${n}Street2`),children:i.jsx(re,{name:`${n}Street2`})}),i.jsxs(z,{label:`${d("accountHolderAddressCity")}/${d("accountHolderAddressState")}`,children:[i.jsx(re,{name:`${n}City`,className:"taxbit-city"}),g!=="CA"&&g!=="US"&&i.jsx(re,{name:`${n}State`,className:"taxbit-state"}),g==="CA"&&i.jsx(Te,{name:`${n}State`,className:"taxbit-state",options:E}),g==="US"&&i.jsx(Te,{name:`${n}State`,className:"taxbit-state",options:C})]}),i.jsx(z,{name:`${n}Zip`,label:d(`${n}Zip`),children:i.jsx(re,{name:`${n}Zip`,className:"taxbit-postalCode"})})]})},sa=()=>{const{onPersistCollectedData:e,goBack:n,onCancel:t,isW9:a,isW8:o}=X(),{fields:s,getLocalCountry:c,getLocalTitle:u}=L(),d=O.useMemo(()=>He.map(l=>({...l,label:c(l.value)})).sort((l,m)=>l.label.localeCompare(m.label)),[c]);return i.jsxs(me,{children:[i.jsx(fe,{title:u("accountHolderContactInformation")}),i.jsx(Ve,{label:!0,name:"accountHolderCountryOfCitizenship",options:d}),i.jsx(ee,{label:!0,name:"accountHolderName"}),i.jsx(ee,{label:!0,name:"accountHolderDbaName"}),i.jsx(ee,{name:"accountHolderDateOfBirth",onChange:l=>l.replace(/[^0-9/]/,""),label:!0,hint:!0}),i.jsx(qe,{prompt:u("permanentAddress"),prefix:"accountHolderAddress",showIf:s.accountHolderIsEuResident==="yes"||o||a}),i.jsx(Y,{name:"accountHolderMailingAddressIsDifferent",label:!0}),i.jsx(qe,{prompt:u("mailingAddress"),prefix:"accountHolderMailingAddress",showIf:s.accountHolderMailingAddressIsDifferent==="yes"}),i.jsx(he,{onCancel:t,onBack:n,onNext:()=>e(s)})]})},ca=()=>i.jsx(le,{children:i.jsx(sa,{})}),Pe=({index:e,showIf:n=!0,more:t,countryOptions:a})=>{const{fields:o,hideField:s,showField:c,getRequiredLocalPrompt:u,getLocalTitle:d}=L(),l=`accountHolderTaxResidenceCountry${e}`,m=`accountHolderTaxResidenceForeignTin${e}`,g=`accountHolderTaxResidenceForeignTin${e}IsNotRequired`,p=`accountHolderShowTaxResidence${e+1}`,C=`taxResidence${e}`;if(O.useEffect(()=>{n?(c(l),c(m),c(p),c(g)):(s(l),s(m),s(p),s(g))},[n,c,s,l,m,p,g]),n)return i.jsxs(ue,{title:d(C),showIf:o.accountHolderIsIndividual!==void 0,children:[i.jsxs(z,{label:`${u(l)}/${u(m)}`,children:[i.jsx(Te,{name:l,className:"taxbit-country",options:a}),i.jsx(re,{name:m})]}),i.jsx(z,{children:i.jsx(Pn,{label:!0,name:g})}),t?i.jsx(z,{children:i.jsx(Yt,{name:p})}):null]})},ua=({countryOptions:e,showIf:n})=>{const{showField:t,getRequiredLocalPrompt:a}=L();return O.useEffect(()=>{t("accountHolderVatCountry"),t("accountHolderVatIdentificationNumber")},[t]),i.jsx(ue,{showIf:n,children:i.jsxs(z,{label:`${a("accountHolderVatCountry")}/${a("accountHolderVatIdentificationNumber")}`,children:[i.jsx(Te,{name:"accountHolderVatCountry",className:"taxbit-country",options:e}),i.jsx(re,{name:"accountHolderVatIdentificationNumber"})]})})},da=({showIf:e})=>{const{showField:n,getRequiredLocalPrompt:t}=L();return O.useEffect(()=>{n("accountHolderFinancialAccountIdentifier"),n("accountHolderFinancialAccountName")},[n]),i.jsx(ue,{showIf:e,children:i.jsxs(z,{label:`${t("accountHolderFinancialAccountIdentifier")}/${t("accountHolderFinancialAccountName")}`,children:[i.jsx(re,{name:"accountHolderFinancialAccountIdentifier"}),i.jsx(re,{name:"accountHolderFinancialAccountName"})]})})},la=()=>{const{onPersistCollectedData:e,goBack:n,onCancel:t}=X(),{fields:a,getLocalTitle:o,getLocalCountry:s}=L(),c=O.useMemo(()=>Qt.map(d=>({...d,label:s(d.value)})).sort((d,l)=>d.label.localeCompare(l.label)),[s]),u=O.useMemo(()=>He.map(d=>({...d,label:s(d.value)})).sort((d,l)=>d.label.localeCompare(l.label)),[s]);return i.jsxs(me,{children:[i.jsx(fe,{title:o("accountHolderTaxInformation")}),i.jsx(ee,{name:"accountHolderUsTin",label:!0}),i.jsx(ee,{name:"accountHolderForeignTin",label:!0}),i.jsx(Y,{name:"accountHolderForeignTinIsNotRequired",label:!0}),i.jsx(da,{}),i.jsx(ua,{countryOptions:c,showIf:a.accountHolderIsEuResident==="yes"}),i.jsx(Pe,{index:1,showIf:a.accountHolderIsIndividual!==void 0,countryOptions:c,more:!0}),i.jsx(Pe,{index:2,showIf:a.accountHolderShowTaxResidence2==="yes",countryOptions:u,more:!0}),i.jsx(Pe,{index:3,showIf:a.accountHolderShowTaxResidence3==="yes",countryOptions:u,more:!0}),i.jsx(Pe,{index:4,showIf:a.accountHolderShowTaxResidence4==="yes",countryOptions:u,more:!0}),i.jsx(Pe,{index:5,showIf:a.accountHolderShowTaxResidence5==="yes",countryOptions:u}),i.jsx(he,{onCancel:t,onBack:n,onNext:()=>e(a)})]})},ha=()=>i.jsx(le,{children:i.jsx(la,{})}),ma=()=>{const{onPersistCollectedData:e,goBack:n}=X(),{fields:t}=L();return i.jsxs(me,{children:[i.jsx(fe,{title:"exemptions"}),i.jsx(Ve,{name:"exemptFatcaCode",options:$t,label:!0}),i.jsx(Ve,{name:"exemptPayeeCode",options:na,label:!0}),i.jsx(he,{onBack:n,onNext:()=>e(t)})]})},fa=()=>i.jsx(le,{children:i.jsx(ma,{})}),ga=()=>{const{fields:e,getLocalTitle:n,getLocalOption:t}=L(),{onPersistCollectedData:a,goBack:o}=X(),s=be.map(c=>({...c,label:t(`usPerson_${c.value}`)}));return i.jsxs(me,{children:[i.jsx(fe,{title:n("regardedOwnerClassification")}),i.jsx(V,{name:"regardedOwnerUsPerson",options:s,label:!0}),i.jsx(V,{name:"regardedOwnerUsAccountType",options:aa,label:!0}),i.jsx(V,{name:"regardedOwnerForeignAccountType",options:ea,label:!0}),i.jsx(V,{name:"regardedOwnerUsLlcClassification",options:kn,label:!0}),i.jsx(ee,{name:"regardedOwnerUsOtherClassification",label:!0}),i.jsx(V,{name:"regardedOwnerUsTrustEstateEin",options:be,label:!0}),i.jsx(V,{name:"regardedOwnerForeignOtherClassification",options:Bn,label:!0}),i.jsx(V,{name:"regardedOwnerForeignTrustClassification",options:Fn,label:!0}),i.jsx(he,{onBack:o,onNext:()=>a(e)})]})},pa=()=>i.jsx(le,{children:i.jsx(ga,{})}),Ca=()=>{const{onPersistCollectedData:e,goBack:n,onCancel:t}=X(),{fields:a,getLocalCountry:o,getLocalTitle:s}=L(),c=O.useMemo(()=>He.map(u=>({...u,label:o(u.value)})).sort((u,d)=>u.label.localeCompare(d.label)),[o]);return i.jsxs(me,{children:[i.jsx(fe,{title:s("regardedOwnerContactInformation")}),i.jsx(Ve,{label:!0,name:"regardedOwnerCountryOfCitizenship",options:c}),i.jsx(ee,{label:!0,name:"regardedOwnerName"}),i.jsx(ee,{label:!0,name:"regardedOwnerDbaName"}),i.jsx(qe,{prompt:"Permanent Address",prefix:"regardedOwnerAddress"}),i.jsx(Y,{name:"regardedOwnerMailingAddressIsDifferent",label:!0}),i.jsx(qe,{prompt:"Mailing Address",prefix:"regardedOwnerMailingAddress",showIf:a.regardedOwnerMailingAddressIsDifferent==="yes"}),i.jsx(he,{onCancel:t,onBack:n,onNext:()=>e(a)})]})},ya=()=>i.jsx(le,{children:i.jsx(Ca,{})}),Ta=()=>{const{onPersistCollectedData:e,goBack:n}=X(),{fields:t,getLocalTitle:a}=L();return i.jsxs(me,{children:[i.jsx(fe,{title:a("regardedOwnerTaxInformation")}),i.jsx(ee,{name:"regardedOwnerUsTin",label:!0}),i.jsx(ee,{name:"regardedOwnerForeignTin",label:!0}),i.jsx(Y,{name:"regardedOwnerForeignTinIsNotRequired",label:!0}),i.jsx(he,{onBack:n,onNext:()=>e(t)})]})},ba=()=>i.jsx(le,{children:i.jsx(Ta,{})}),Aa=()=>{const{data:e,editTo:n}=X(),{getLocalTitle:t,getLocalOption:a,getLocalCountry:o,getLocalText:s}=L();return i.jsxs(i.Fragment,{children:[i.jsxs(ue,{title:t("accountHolder"),children:[i.jsx(b,{label:!0,name:"accountHolderName",onEdit:()=>n("AccountHolderContact"),children:e==null?void 0:e.accountHolderName}),i.jsx(b,{label:!0,name:"accountHolderCountryOfCitizenship",onEdit:()=>n("AccountHolderContact"),children:o(e==null?void 0:e.accountHolderCountryOfCitizenship)}),i.jsx(b,{label:!0,name:"accountHolderDateOfBirth",onEdit:()=>n("AccountHolderContact"),children:e==null?void 0:e.accountHolderDateOfBirth}),i.jsx(b,{label:!0,name:"accountHolderCityOfBirth",onEdit:()=>n("AccountHolderTaxClarification"),children:e==null?void 0:e.accountHolderCityOfBirth}),i.jsx(b,{label:!0,name:"accountHolderCountryOfBirth",onEdit:()=>n("AccountHolderTaxClarification"),children:o(e==null?void 0:e.accountHolderCountryOfBirth)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderIsEuResident",children:a(e==null?void 0:e.accountHolderIsEuResident)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderIsIndividual",children:a(e==null?void 0:e.accountHolderIsIndividual)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderUsPerson",children:a(e==null?void 0:e.accountHolderUsPerson)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderUsPerson",children:a(e==null?void 0:e.accountHolderUsPerson)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderUsAccountType",children:a(e==null?void 0:e.accountHolderUsAccountType)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderUsLlcClassification",children:a(e==null?void 0:e.accountHolderUsLlcClassification)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderUsOtherClassification",children:e==null?void 0:e.accountHolderUsOtherClassification}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderUsTrustEstateEin",children:a(e==null?void 0:e.accountHolderUsTrustEstateEin)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderForeignAccountType",children:a(e==null?void 0:e.accountHolderForeignAccountType)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderForeignTrustClassification",children:a(e==null?void 0:e.accountHolderForeignTrustClassification)}),i.jsx(b,{label:!0,onEdit:()=>n("AccountHolderClassification"),name:"accountHolderForeignOtherClassification",children:a(e==null?void 0:e.accountHolderForeignOtherClassification)}),i.jsx(b,{label:!0,name:"accountHolderDbaName",onEdit:()=>n("AccountHolderContact"),children:e==null?void 0:e.accountHolderDbaName}),e.accountHolderIsIndividual!==void 0&&e.accountHolderIsEuResident==="yes"?i.jsx(z,{label:t("address"),onEdit:()=>n("AccountHolderContact"),children:i.jsx(We,{address:{street:e==null?void 0:e.accountHolderAddressStreet,street2:e==null?void 0:e.accountHolderAddressStreet2,city:e==null?void 0:e.accountHolderAddressCity,state:e==null?void 0:e.accountHolderAddressState,zip:e==null?void 0:e.accountHolderAddressZip,country:e==null?void 0:e.accountHolderAddressCountry}})}):null,(e==null?void 0:e.accountHolderMailingAddressIsDifferent)==="yes"&&i.jsx(z,{label:t("mailingAddress"),onEdit:()=>n("AccountHolderContact"),children:i.jsx(We,{address:{street:e==null?void 0:e.accountHolderMailingAddressStreet,street2:e==null?void 0:e.accountHolderMailingAddressStreet2,city:e==null?void 0:e.accountHolderMailingAddressCity,state:e==null?void 0:e.accountHolderMailingAddressState,zip:e==null?void 0:e.accountHolderMailingAddressZip,country:e==null?void 0:e.accountHolderMailingAddressCountry}})}),i.jsx(b,{label:!0,name:"accountHolderUsTin",onEdit:()=>n("AccountHolderTax"),children:e==null?void 0:e.accountHolderUsTin}),i.jsx(b,{label:!0,name:"accountHolderForeignTin",onEdit:()=>n("AccountHolderTax"),children:e==null?void 0:e.accountHolderForeignTin}),i.jsx(b,{label:!0,name:"accountHolderForeignTinIsNotRequired",onEdit:()=>n("AccountHolderTax"),children:e==null?void 0:e.accountHolderForeignTinIsNotRequired}),i.jsx(b,{label:!0,name:"accountHolderFinancialAccountIdentifier",onEdit:()=>n("AccountHolderTax"),children:e==null?void 0:e.accountHolderFinancialAccountIdentifier}),i.jsx(b,{label:!0,name:"accountHolderFinancialAccountName",onEdit:()=>n("AccountHolderTax"),children:e==null?void 0:e.accountHolderFinancialAccountName}),i.jsx(b,{label:!0,name:"accountHolderVatIdentificationNumber",onEdit:()=>n("AccountHolderTax"),children:e==null?void 0:e.accountHolderVatIdentificationNumber}),i.jsxs(ue,{title:t("taxResidences"),showIf:e.accountHolderIsEuResident==="yes"&&e.accountHolderIsIndividual!==void 0,children:[i.jsx(b,{label:!0,name:"accountHolderTaxResidenceCountry1",onEdit:()=>n("AccountHolderTax"),children:o(e==null?void 0:e.accountHolderTaxResidenceCountry1)}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceForeignTin1",children:e!=null&&e.accountHolderTaxResidenceForeignTin1?e==null?void 0:e.accountHolderTaxResidenceForeignTin1:(e==null?void 0:e.accountHolderTaxResidenceForeignTin1IsNotRequired)=="yes"?s("notRequired"):""}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceCountry2",onEdit:()=>n("AccountHolderTax"),children:o(e==null?void 0:e.accountHolderTaxResidenceCountry2)}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceForeignTin2",children:e!=null&&e.accountHolderTaxResidenceForeignTin2?e==null?void 0:e.accountHolderTaxResidenceForeignTin2:(e==null?void 0:e.accountHolderTaxResidenceForeignTin2IsNotRequired)=="yes"?s("notRequired"):""}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceCountry3",onEdit:()=>n("AccountHolderTax"),children:o(e==null?void 0:e.accountHolderTaxResidenceCountry3)}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceForeignTin3",children:e!=null&&e.accountHolderTaxResidenceForeignTin3?e==null?void 0:e.accountHolderTaxResidenceForeignTin3:(e==null?void 0:e.accountHolderTaxResidenceForeignTin3IsNotRequired)=="yes"?s("notRequired"):""}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceCountry4",onEdit:()=>n("AccountHolderTax"),children:o(e==null?void 0:e.accountHolderTaxResidenceCountry4)}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceForeignTin4",children:e!=null&&e.accountHolderTaxResidenceForeignTin4?e==null?void 0:e.accountHolderTaxResidenceForeignTin4:(e==null?void 0:e.accountHolderTaxResidenceForeignTin4IsNotRequired)=="yes"?s("notRequired"):""}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceCountry5",onEdit:()=>n("AccountHolderTax"),children:o(e==null?void 0:e.accountHolderTaxResidenceCountry5)}),i.jsx(b,{label:!0,name:"accountHolderTaxResidenceForeignTin5",children:e!=null&&e.accountHolderTaxResidenceForeignTin5?e==null?void 0:e.accountHolderTaxResidenceForeignTin5:(e==null?void 0:e.accountHolderTaxResidenceForeignTin5IsNotRequired)=="yes"?s("notRequired"):""})]})]}),i.jsxs(ue,{title:t("regardedOwner"),showIf:e.regardedOwnerUsPerson!==void 0,children:[i.jsx(b,{label:!0,name:"regardedOwnerName",onEdit:()=>n("RegardedOwnerContact"),children:e==null?void 0:e.regardedOwnerName}),i.jsx(b,{label:!0,name:"regardedOwnerCountryOfCitizenship",onEdit:()=>n("RegardedOwnerContact"),children:o(e==null?void 0:e.regardedOwnerCountryOfCitizenship)}),i.jsx(b,{label:!0,name:"regardedOwnerDbaName",onEdit:()=>n("RegardedOwnerContact"),children:e==null?void 0:e.regardedOwnerDbaName}),i.jsx(b,{label:!0,onEdit:()=>n("RegardedOwnerClassification"),name:"regardedOwnerUsAccountType",children:a(e==null?void 0:e.regardedOwnerUsAccountType)}),i.jsx(b,{label:!0,onEdit:()=>n("RegardedOwnerClassification"),name:"regardedOwnerForeignAccountType",children:a(e==null?void 0:e.regardedOwnerForeignAccountType)}),e.regardedOwnerUsPerson!==void 0&&i.jsx(z,{label:t("address"),onEdit:()=>n("RegardedOwnerContact"),children:i.jsx(We,{address:{street:e==null?void 0:e.regardedOwnerAddressStreet,street2:e==null?void 0:e.regardedOwnerAddressStreet2,city:e==null?void 0:e.regardedOwnerAddressCity,state:e==null?void 0:e.regardedOwnerAddressState,zip:e==null?void 0:e.regardedOwnerAddressZip,country:e==null?void 0:e.regardedOwnerAddressCountry}})}),(e==null?void 0:e.regardedOwnerMailingAddressIsDifferent)==="yes"&&i.jsx(z,{label:t("mailingAddress"),onEdit:()=>n("RegardedOwnerContact"),children:i.jsx(We,{address:{street:e==null?void 0:e.regardedOwnerMailingAddressStreet,street2:e==null?void 0:e.regardedOwnerMailingAddressStreet2,city:e==null?void 0:e.regardedOwnerMailingAddressCity,state:e==null?void 0:e.regardedOwnerMailingAddressState,zip:e==null?void 0:e.regardedOwnerMailingAddressZip,country:e==null?void 0:e.regardedOwnerMailingAddressCountry}})}),i.jsx(b,{label:!0,name:"regardedOwnerUsTin",onEdit:()=>n("RegardedOwnerTax"),children:e==null?void 0:e.regardedOwnerUsTin}),i.jsx(b,{label:!0,name:"regardedOwnerForeignTin",onEdit:()=>n("RegardedOwnerTax"),children:e==null?void 0:e.regardedOwnerForeignTin}),i.jsx(b,{label:!0,name:"regardedOwnerForeignTinIsNotRequired",onEdit:()=>n("RegardedOwnerTax"),children:e==null?void 0:e.regardedOwnerForeignTinIsNotRequired}),i.jsx(b,{label:!0,name:"regardedOwnerUsTin",onEdit:()=>n("RegardedOwnerTax"),children:e==null?void 0:e.regardedOwnerUsTin}),i.jsx(b,{label:!0,name:"exemptFatcaCode",onEdit:()=>n("Exemptions"),children:e==null?void 0:e.exemptFatcaCode}),i.jsx(b,{label:!0,name:"exemptPayeeCode",onEdit:()=>n("Exemptions"),children:e==null?void 0:e.exemptPayeeCode})]})]})},Sa=()=>{const{goBack:e,onSubmitTaxDocumentation:n,isW8:t,isW9:a}=X(),{fields:o,getLocalTitle:s}=L();return i.jsxs(me,{children:[i.jsx(fe,{title:s("summary")}),i.jsx(Aa,{}),i.jsxs(ue,{title:"Certify",showIf:a||t,children:[i.jsx(Y,{name:"iCertifyToAll",label:!0}),i.jsx(Y,{name:"iConfirmTheTaxIdIsCorrect",label:!0}),i.jsx(Y,{name:"iAmNotSubjectToBackupWithholding",label:!0}),i.jsx(Y,{name:"iAmACitizenOfTheUs",label:!0}),i.jsx(Y,{name:"iAmExemptFromFatcaReporting",label:!0}),i.jsx(Y,{name:"iConfirmTheEntityIsTheBeneficialOwner",label:!0}),i.jsx(Y,{name:"iConfirmTheEntityIsNotAUsPerson",label:!0}),i.jsx(Y,{name:"iConfirmIncomeIsNonUs",label:!0,subLabel:!0}),i.jsx(Y,{name:"iConfirmTheBeneficialOwnerIsExempt",label:!0}),i.jsx(Y,{name:"iAuthorizeWithholdingAgent",label:!0})]}),i.jsxs(ue,{title:"Acknowledge and Sign",showIf:a||t,children:[i.jsx(Y,{name:"iAcknowlegeESignIsOk",label:!0}),i.jsx(Y,{name:"iHaveLegalCapacityToSign",label:!0}),i.jsx(ee,{label:!0,name:"signature"})]}),i.jsx(he,{onBack:e,onSubmit:()=>n(o)})]})},va=()=>i.jsx(le,{children:i.jsx(Sa,{})}),Ia=()=>{const{getLocalCountry:e,hideField:n,showField:t,getRequiredLocalPrompt:a,getLocalTitle:o}=L(),s=O.useMemo(()=>He.map(c=>({...c,label:e(c.value)})).sort((c,u)=>c.label.localeCompare(u.label)),[e]);return O.useEffect(()=>{t("accountHolderCityOfBirth"),t("accountHolderCountryOfBirth")},[t,n]),i.jsx(ue,{title:o("placeOfBirth"),children:i.jsxs(z,{label:`${a("accountHolderCityOfBirth")}/${a("accountHolderCountryOfBirth")}`,children:[i.jsx(re,{name:"accountHolderCityOfBirth"}),i.jsx(Te,{name:"accountHolderCountryOfBirth",className:"taxbit-country",options:s})]})})},Na=()=>{const{onPersistCollectedData:e,goBack:n,onCancel:t}=X(),{fields:a,getLocalTitle:o}=L();return i.jsxs(me,{children:[i.jsx(fe,{title:o("accountHolderTaxInformation")}),i.jsx(Ia,{}),i.jsx(he,{onCancel:t,onBack:n,onNext:()=>e(a)})]})},Oa=()=>i.jsx(le,{children:i.jsx(Na,{})}),Dn=({initialData:e,onSubmit:n,initialLanguage:t,forms:a})=>i.jsx(Pt,{data:e,onSubmit:n,language:t,forms:a,children:i.jsx(Ea,{language:t,forms:a})}),Ma=["DAC7","W-9","W-8BEN","W-8BEN-E"],Ea=({language:e="en-us",forms:n=Ma})=>{const{stepName:t,setLanguage:a,setSupportedForms:o}=X();O.useEffect(()=>{a(e)},[e,a]),O.useEffect(()=>{o(n)},[n,o]);const c={AccountHolderClassification:oa,AccountHolderContact:ca,AccountHolderTax:ha,AccountHolderTaxClarification:Oa,Exemptions:fa,RegardedOwnerClassification:pa,RegardedOwnerContact:ya,RegardedOwnerTax:ba,Summary:va}[t];return i.jsx(c,{})};class Be{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){const t={listener:n};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const sn=typeof window>"u"||"Deno"in window;function oe(){}function wa(e,n){return typeof e=="function"?e(n):e}function xa(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ra(e,n){return Math.max(e+(n||0)-Date.now(),0)}function ze(e,n,t){return Fe(e)?typeof n=="function"?{...t,queryKey:e,queryFn:n}:{...n,queryKey:e}:e}function Ha(e,n,t){return Fe(e)?typeof n=="function"?{...t,mutationKey:e,mutationFn:n}:{...n,mutationKey:e}:typeof e=="function"?{...n,mutationFn:e}:{...e}}function Ce(e,n,t){return Fe(e)?[{...n,queryKey:e},t]:[e||{},n]}function Un(e,n){const{type:t="all",exact:a,fetchStatus:o,predicate:s,queryKey:c,stale:u}=e;if(Fe(c)){if(a){if(n.queryHash!==cn(c,n.options))return!1}else if(!Ie(n.queryKey,c))return!1}if(t!=="all"){const d=n.isActive();if(t==="active"&&!d||t==="inactive"&&d)return!1}return!(typeof u=="boolean"&&n.isStale()!==u||typeof o<"u"&&o!==n.state.fetchStatus||s&&!s(n))}function Ln(e,n){const{exact:t,fetching:a,predicate:o,mutationKey:s}=e;if(Fe(s)){if(!n.options.mutationKey)return!1;if(t){if(Ae(n.options.mutationKey)!==Ae(s))return!1}else if(!Ie(n.options.mutationKey,s))return!1}return!(typeof a=="boolean"&&n.state.status==="loading"!==a||o&&!o(n))}function cn(e,n){return((n==null?void 0:n.queryKeyHashFn)||Ae)(e)}function Ae(e){return JSON.stringify(e,(n,t)=>un(t)?Object.keys(t).sort().reduce((a,o)=>(a[o]=t[o],a),{}):t)}function Ie(e,n){return Gn(e,n)}function Gn(e,n){return e===n?!0:typeof e!=typeof n?!1:e&&n&&typeof e=="object"&&typeof n=="object"?!Object.keys(n).some(t=>!Gn(e[t],n[t])):!1}function jn(e,n){if(e===n)return e;const t=Kn(e)&&Kn(n);if(t||un(e)&&un(n)){const a=t?e.length:Object.keys(e).length,o=t?n:Object.keys(n),s=o.length,c=t?[]:{};let u=0;for(let d=0;d<s;d++){const l=t?d:o[d];c[l]=jn(e[l],n[l]),c[l]===e[l]&&u++}return a===s&&u===a?e:c}return n}function Pa(e,n){if(e&&!n||n&&!e)return!1;for(const t in e)if(e[t]!==n[t])return!1;return!0}function Kn(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function un(e){if(!Wn(e))return!1;const n=e.constructor;if(typeof n>"u")return!0;const t=n.prototype;return!(!Wn(t)||!t.hasOwnProperty("isPrototypeOf"))}function Wn(e){return Object.prototype.toString.call(e)==="[object Object]"}function Fe(e){return Array.isArray(e)}function Vn(e){return new Promise(n=>{setTimeout(n,e)})}function qn(e){Vn(0).then(e)}function Ba(){if(typeof AbortController=="function")return new AbortController}function Fa(e,n,t){return t.isDataEqual!=null&&t.isDataEqual(e,n)?e:typeof t.structuralSharing=="function"?t.structuralSharing(e,n):t.structuralSharing!==!1?jn(e,n):n}class ka extends Be{constructor(){super(),this.setup=n=>{if(!sn&&window.addEventListener){const t=()=>n();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var n;(n=this.cleanup)==null||n.call(this),this.cleanup=void 0}}setEventListener(n){var t;this.setup=n,(t=this.cleanup)==null||t.call(this),this.cleanup=n(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(n){this.focused!==n&&(this.focused=n,this.onFocus())}onFocus(){this.listeners.forEach(({listener:n})=>{n()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const dn=new ka,zn=["online","offline"];class Da extends Be{constructor(){super(),this.setup=n=>{if(!sn&&window.addEventListener){const t=()=>n();return zn.forEach(a=>{window.addEventListener(a,t,!1)}),()=>{zn.forEach(a=>{window.removeEventListener(a,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var n;(n=this.cleanup)==null||n.call(this),this.cleanup=void 0}}setEventListener(n){var t;this.setup=n,(t=this.cleanup)==null||t.call(this),this.cleanup=n(a=>{typeof a=="boolean"?this.setOnline(a):this.onOnline()})}setOnline(n){this.online!==n&&(this.online=n,this.onOnline())}onOnline(){this.listeners.forEach(({listener:n})=>{n()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Ye=new Da;function Ua(e){return Math.min(1e3*2**e,3e4)}function ln(e){return(e??"online")==="online"?Ye.isOnline():!0}class Yn{constructor(n){this.revert=n==null?void 0:n.revert,this.silent=n==null?void 0:n.silent}}function hn(e){return e instanceof Yn}function _n(e){let n=!1,t=0,a=!1,o,s,c;const u=new Promise((v,w)=>{s=v,c=w}),d=v=>{a||(C(new Yn(v)),e.abort==null||e.abort())},l=()=>{n=!0},m=()=>{n=!1},g=()=>!dn.isFocused()||e.networkMode!=="always"&&!Ye.isOnline(),p=v=>{a||(a=!0,e.onSuccess==null||e.onSuccess(v),o==null||o(),s(v))},C=v=>{a||(a=!0,e.onError==null||e.onError(v),o==null||o(),c(v))},E=()=>new Promise(v=>{o=w=>{const H=a||!g();return H&&v(w),H},e.onPause==null||e.onPause()}).then(()=>{o=void 0,a||e.onContinue==null||e.onContinue()}),A=()=>{if(a)return;let v;try{v=e.fn()}catch(w){v=Promise.reject(w)}Promise.resolve(v).then(p).catch(w=>{var H,x;if(a)return;const T=(H=e.retry)!=null?H:3,G=(x=e.retryDelay)!=null?x:Ua,S=typeof G=="function"?G(t,w):G,N=T===!0||typeof T=="number"&&t<T||typeof T=="function"&&T(t,w);if(n||!N){C(w);return}t++,e.onFail==null||e.onFail(t,w),Vn(S).then(()=>{if(g())return E()}).then(()=>{n?C(w):A()})})};return ln(e.networkMode)?A():E().then(A),{promise:u,cancel:d,continue:()=>(o==null?void 0:o())?u:Promise.resolve(),cancelRetry:l,continueRetry:m}}const mn=console;function La(){let e=[],n=0,t=m=>{m()},a=m=>{m()};const o=m=>{let g;n++;try{g=m()}finally{n--,n||u()}return g},s=m=>{n?e.push(m):qn(()=>{t(m)})},c=m=>(...g)=>{s(()=>{m(...g)})},u=()=>{const m=e;e=[],m.length&&qn(()=>{a(()=>{m.forEach(g=>{t(g)})})})};return{batch:o,batchCalls:c,schedule:s,setNotifyFunction:m=>{t=m},setBatchNotifyFunction:m=>{a=m}}}const q=La();class Jn{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),xa(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(n){this.cacheTime=Math.max(this.cacheTime||0,n??(sn?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Ga extends Jn{constructor(n){super(),this.abortSignalConsumed=!1,this.defaultOptions=n.defaultOptions,this.setOptions(n.options),this.observers=[],this.cache=n.cache,this.logger=n.logger||mn,this.queryKey=n.queryKey,this.queryHash=n.queryHash,this.initialState=n.state||ja(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(n){this.options={...this.defaultOptions,...n},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(n,t){const a=Fa(this.state.data,n,this.options);return this.dispatch({data:a,type:"success",dataUpdatedAt:t==null?void 0:t.updatedAt,manual:t==null?void 0:t.manual}),a}setState(n,t){this.dispatch({type:"setState",state:n,setStateOptions:t})}cancel(n){var t;const a=this.promise;return(t=this.retryer)==null||t.cancel(n),a?a.then(oe).catch(oe):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(n=>n.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(n=>n.getCurrentResult().isStale)}isStaleByTime(n=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Ra(this.state.dataUpdatedAt,n)}onFocus(){var n;const t=this.observers.find(a=>a.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),(n=this.retryer)==null||n.continue()}onOnline(){var n;const t=this.observers.find(a=>a.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),(n=this.retryer)==null||n.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(t=>t!==n),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(n,t){var a,o;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&t!=null&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var s;return(s=this.retryer)==null||s.continueRetry(),this.promise}}if(n&&this.setOptions(n),!this.options.queryFn){const C=this.observers.find(E=>E.options.queryFn);C&&this.setOptions(C.options)}Array.isArray(this.options.queryKey)||process.env.NODE_ENV!=="production"&&this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");const c=Ba(),u={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},d=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{if(c)return this.abortSignalConsumed=!0,c.signal}})};d(u);const l=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(u)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),m={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:l};if(d(m),(a=this.options.behavior)==null||a.onFetch(m),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((o=m.fetchOptions)==null?void 0:o.meta)){var g;this.dispatch({type:"fetch",meta:(g=m.fetchOptions)==null?void 0:g.meta})}const p=C=>{if(hn(C)&&C.silent||this.dispatch({type:"error",error:C}),!hn(C)){var E,A,v,w;(E=(A=this.cache.config).onError)==null||E.call(A,C,this),(v=(w=this.cache.config).onSettled)==null||v.call(w,this.state.data,C,this),process.env.NODE_ENV!=="production"&&this.logger.error(C)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=_n({fn:m.fetchFn,abort:c==null?void 0:c.abort.bind(c),onSuccess:C=>{var E,A,v,w;if(typeof C>"u"){process.env.NODE_ENV!=="production"&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),p(new Error(this.queryHash+" data is undefined"));return}this.setData(C),(E=(A=this.cache.config).onSuccess)==null||E.call(A,C,this),(v=(w=this.cache.config).onSettled)==null||v.call(w,C,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:p,onFail:(C,E)=>{this.dispatch({type:"failed",failureCount:C,error:E})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(n){const t=a=>{var o,s;switch(n.type){case"failed":return{...a,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(o=n.meta)!=null?o:null,fetchStatus:ln(this.options.networkMode)?"fetching":"paused",...!a.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...a,data:n.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:(s=n.dataUpdatedAt)!=null?s:Date.now(),error:null,isInvalidated:!1,status:"success",...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const c=n.error;return hn(c)&&c.revert&&this.revertState?{...this.revertState}:{...a,error:c,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...n.state}}};this.state=t(this.state),q.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate(n)}),this.cache.notify({query:this,type:"updated",action:n})})}}function ja(e){const n=typeof e.initialData=="function"?e.initialData():e.initialData,t=typeof n<"u",a=t?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:t?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:t?"success":"loading",fetchStatus:"idle"}}class Ka extends Be{constructor(n){super(),this.config=n||{},this.queries=[],this.queriesMap={}}build(n,t,a){var o;const s=t.queryKey,c=(o=t.queryHash)!=null?o:cn(s,t);let u=this.get(c);return u||(u=new Ga({cache:this,logger:n.getLogger(),queryKey:s,queryHash:c,options:n.defaultQueryOptions(t),state:a,defaultOptions:n.getQueryDefaults(s)}),this.add(u)),u}add(n){this.queriesMap[n.queryHash]||(this.queriesMap[n.queryHash]=n,this.queries.push(n),this.notify({type:"added",query:n}))}remove(n){const t=this.queriesMap[n.queryHash];t&&(n.destroy(),this.queries=this.queries.filter(a=>a!==n),t===n&&delete this.queriesMap[n.queryHash],this.notify({type:"removed",query:n}))}clear(){q.batch(()=>{this.queries.forEach(n=>{this.remove(n)})})}get(n){return this.queriesMap[n]}getAll(){return this.queries}find(n,t){const[a]=Ce(n,t);return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(o=>Un(a,o))}findAll(n,t){const[a]=Ce(n,t);return Object.keys(a).length>0?this.queries.filter(o=>Un(a,o)):this.queries}notify(n){q.batch(()=>{this.listeners.forEach(({listener:t})=>{t(n)})})}onFocus(){q.batch(()=>{this.queries.forEach(n=>{n.onFocus()})})}onOnline(){q.batch(()=>{this.queries.forEach(n=>{n.onOnline()})})}}class Wa extends Jn{constructor(n){super(),this.defaultOptions=n.defaultOptions,this.mutationId=n.mutationId,this.mutationCache=n.mutationCache,this.logger=n.logger||mn,this.observers=[],this.state=n.state||Zn(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options={...this.defaultOptions,...n},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(n){this.dispatch({type:"setState",state:n})}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){this.observers=this.observers.filter(t=>t!==n),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var n,t;return(n=(t=this.retryer)==null?void 0:t.continue())!=null?n:this.execute()}async execute(){const n=()=>{var N;return this.retryer=_n({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(P,k)=>{this.dispatch({type:"failed",failureCount:P,error:k})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(N=this.options.retry)!=null?N:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t=this.state.status==="loading";try{var a,o,s,c,u,d,l,m;if(!t){var g,p,C,E;this.dispatch({type:"loading",variables:this.options.variables}),await((g=(p=this.mutationCache.config).onMutate)==null?void 0:g.call(p,this.state.variables,this));const P=await((C=(E=this.options).onMutate)==null?void 0:C.call(E,this.state.variables));P!==this.state.context&&this.dispatch({type:"loading",context:P,variables:this.state.variables})}const N=await n();return await((a=(o=this.mutationCache.config).onSuccess)==null?void 0:a.call(o,N,this.state.variables,this.state.context,this)),await((s=(c=this.options).onSuccess)==null?void 0:s.call(c,N,this.state.variables,this.state.context)),await((u=(d=this.mutationCache.config).onSettled)==null?void 0:u.call(d,N,null,this.state.variables,this.state.context,this)),await((l=(m=this.options).onSettled)==null?void 0:l.call(m,N,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:N}),N}catch(N){try{var A,v,w,H,x,T,G,S;throw await((A=(v=this.mutationCache.config).onError)==null?void 0:A.call(v,N,this.state.variables,this.state.context,this)),process.env.NODE_ENV!=="production"&&this.logger.error(N),await((w=(H=this.options).onError)==null?void 0:w.call(H,N,this.state.variables,this.state.context)),await((x=(T=this.mutationCache.config).onSettled)==null?void 0:x.call(T,void 0,N,this.state.variables,this.state.context,this)),await((G=(S=this.options).onSettled)==null?void 0:G.call(S,void 0,N,this.state.variables,this.state.context)),N}finally{this.dispatch({type:"error",error:N})}}}dispatch(n){const t=a=>{switch(n.type){case"failed":return{...a,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"loading":return{...a,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ln(this.options.networkMode),status:"loading",variables:n.variables};case"success":return{...a,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:n.error,failureCount:a.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"};case"setState":return{...a,...n.state}}};this.state=t(this.state),q.batch(()=>{this.observers.forEach(a=>{a.onMutationUpdate(n)}),this.mutationCache.notify({mutation:this,type:"updated",action:n})})}}function Zn(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class Va extends Be{constructor(n){super(),this.config=n||{},this.mutations=[],this.mutationId=0}build(n,t,a){const o=new Wa({mutationCache:this,logger:n.getLogger(),mutationId:++this.mutationId,options:n.defaultMutationOptions(t),state:a,defaultOptions:t.mutationKey?n.getMutationDefaults(t.mutationKey):void 0});return this.add(o),o}add(n){this.mutations.push(n),this.notify({type:"added",mutation:n})}remove(n){this.mutations=this.mutations.filter(t=>t!==n),this.notify({type:"removed",mutation:n})}clear(){q.batch(()=>{this.mutations.forEach(n=>{this.remove(n)})})}getAll(){return this.mutations}find(n){return typeof n.exact>"u"&&(n.exact=!0),this.mutations.find(t=>Ln(n,t))}findAll(n){return this.mutations.filter(t=>Ln(n,t))}notify(n){q.batch(()=>{this.listeners.forEach(({listener:t})=>{t(n)})})}resumePausedMutations(){var n;return this.resuming=((n=this.resuming)!=null?n:Promise.resolve()).then(()=>{const t=this.mutations.filter(a=>a.state.isPaused);return q.batch(()=>t.reduce((a,o)=>a.then(()=>o.continue().catch(oe)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}function qa(){return{onFetch:e=>{e.fetchFn=()=>{var n,t,a,o,s,c;const u=(n=e.fetchOptions)==null||(t=n.meta)==null?void 0:t.refetchPage,d=(a=e.fetchOptions)==null||(o=a.meta)==null?void 0:o.fetchMore,l=d==null?void 0:d.pageParam,m=(d==null?void 0:d.direction)==="forward",g=(d==null?void 0:d.direction)==="backward",p=((s=e.state.data)==null?void 0:s.pages)||[],C=((c=e.state.data)==null?void 0:c.pageParams)||[];let E=C,A=!1;const v=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>{var N;if((N=e.signal)!=null&&N.aborted)A=!0;else{var P;(P=e.signal)==null||P.addEventListener("abort",()=>{A=!0})}return e.signal}})},w=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),H=(S,N,P,k)=>(E=k?[N,...E]:[...E,N],k?[P,...S]:[...S,P]),x=(S,N,P,k)=>{if(A)return Promise.reject("Cancelled");if(typeof P>"u"&&!N&&S.length)return Promise.resolve(S);const Q={queryKey:e.queryKey,pageParam:P,meta:e.options.meta};v(Q);const $=w(Q);return Promise.resolve($).then(_=>H(S,P,_,k))};let T;if(!p.length)T=x([]);else if(m){const S=typeof l<"u",N=S?l:Qn(e.options,p);T=x(p,S,N)}else if(g){const S=typeof l<"u",N=S?l:za(e.options,p);T=x(p,S,N,!0)}else{E=[];const S=typeof e.options.getNextPageParam>"u";T=(u&&p[0]?u(p[0],0,p):!0)?x([],S,C[0]):Promise.resolve(H([],C[0],p[0]));for(let P=1;P<p.length;P++)T=T.then(k=>{if(u&&p[P]?u(p[P],P,p):!0){const $=S?C[P]:Qn(e.options,k);return x(k,S,$)}return Promise.resolve(H(k,C[P],p[P]))})}return T.then(S=>({pages:S,pageParams:E}))}}}}function Qn(e,n){return e.getNextPageParam==null?void 0:e.getNextPageParam(n[n.length-1],n)}function za(e,n){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(n[0],n)}class Ya{constructor(n={}){this.queryCache=n.queryCache||new Ka,this.mutationCache=n.mutationCache||new Va,this.logger=n.logger||mn,this.defaultOptions=n.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0,process.env.NODE_ENV!=="production"&&n.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=dn.subscribe(()=>{dn.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Ye.subscribe(()=>{Ye.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var n,t;this.mountCount--,this.mountCount===0&&((n=this.unsubscribeFocus)==null||n.call(this),this.unsubscribeFocus=void 0,(t=this.unsubscribeOnline)==null||t.call(this),this.unsubscribeOnline=void 0)}isFetching(n,t){const[a]=Ce(n,t);return a.fetchStatus="fetching",this.queryCache.findAll(a).length}isMutating(n){return this.mutationCache.findAll({...n,fetching:!0}).length}getQueryData(n,t){var a;return(a=this.queryCache.find(n,t))==null?void 0:a.state.data}ensureQueryData(n,t,a){const o=ze(n,t,a),s=this.getQueryData(o.queryKey);return s?Promise.resolve(s):this.fetchQuery(o)}getQueriesData(n){return this.getQueryCache().findAll(n).map(({queryKey:t,state:a})=>{const o=a.data;return[t,o]})}setQueryData(n,t,a){const o=this.queryCache.find(n),s=o==null?void 0:o.state.data,c=wa(t,s);if(typeof c>"u")return;const u=ze(n),d=this.defaultQueryOptions(u);return this.queryCache.build(this,d).setData(c,{...a,manual:!0})}setQueriesData(n,t,a){return q.batch(()=>this.getQueryCache().findAll(n).map(({queryKey:o})=>[o,this.setQueryData(o,t,a)]))}getQueryState(n,t){var a;return(a=this.queryCache.find(n,t))==null?void 0:a.state}removeQueries(n,t){const[a]=Ce(n,t),o=this.queryCache;q.batch(()=>{o.findAll(a).forEach(s=>{o.remove(s)})})}resetQueries(n,t,a){const[o,s]=Ce(n,t,a),c=this.queryCache,u={type:"active",...o};return q.batch(()=>(c.findAll(o).forEach(d=>{d.reset()}),this.refetchQueries(u,s)))}cancelQueries(n,t,a){const[o,s={}]=Ce(n,t,a);typeof s.revert>"u"&&(s.revert=!0);const c=q.batch(()=>this.queryCache.findAll(o).map(u=>u.cancel(s)));return Promise.all(c).then(oe).catch(oe)}invalidateQueries(n,t,a){const[o,s]=Ce(n,t,a);return q.batch(()=>{var c,u;if(this.queryCache.findAll(o).forEach(l=>{l.invalidate()}),o.refetchType==="none")return Promise.resolve();const d={...o,type:(c=(u=o.refetchType)!=null?u:o.type)!=null?c:"active"};return this.refetchQueries(d,s)})}refetchQueries(n,t,a){const[o,s]=Ce(n,t,a),c=q.batch(()=>this.queryCache.findAll(o).filter(d=>!d.isDisabled()).map(d=>{var l;return d.fetch(void 0,{...s,cancelRefetch:(l=s==null?void 0:s.cancelRefetch)!=null?l:!0,meta:{refetchPage:o.refetchPage}})}));let u=Promise.all(c).then(oe);return s!=null&&s.throwOnError||(u=u.catch(oe)),u}fetchQuery(n,t,a){const o=ze(n,t,a),s=this.defaultQueryOptions(o);typeof s.retry>"u"&&(s.retry=!1);const c=this.queryCache.build(this,s);return c.isStaleByTime(s.staleTime)?c.fetch(s):Promise.resolve(c.state.data)}prefetchQuery(n,t,a){return this.fetchQuery(n,t,a).then(oe).catch(oe)}fetchInfiniteQuery(n,t,a){const o=ze(n,t,a);return o.behavior=qa(),this.fetchQuery(o)}prefetchInfiniteQuery(n,t,a){return this.fetchInfiniteQuery(n,t,a).then(oe).catch(oe)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(n){this.defaultOptions=n}setQueryDefaults(n,t){const a=this.queryDefaults.find(o=>Ae(n)===Ae(o.queryKey));a?a.defaultOptions=t:this.queryDefaults.push({queryKey:n,defaultOptions:t})}getQueryDefaults(n){if(!n)return;const t=this.queryDefaults.find(a=>Ie(n,a.queryKey));return process.env.NODE_ENV!=="production"&&this.queryDefaults.filter(o=>Ie(n,o.queryKey)).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(n)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults."),t==null?void 0:t.defaultOptions}setMutationDefaults(n,t){const a=this.mutationDefaults.find(o=>Ae(n)===Ae(o.mutationKey));a?a.defaultOptions=t:this.mutationDefaults.push({mutationKey:n,defaultOptions:t})}getMutationDefaults(n){if(!n)return;const t=this.mutationDefaults.find(a=>Ie(n,a.mutationKey));return process.env.NODE_ENV!=="production"&&this.mutationDefaults.filter(o=>Ie(n,o.mutationKey)).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(n)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults."),t==null?void 0:t.defaultOptions}defaultQueryOptions(n){if(n!=null&&n._defaulted)return n;const t={...this.defaultOptions.queries,...this.getQueryDefaults(n==null?void 0:n.queryKey),...n,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=cn(t.queryKey,t)),typeof t.refetchOnReconnect>"u"&&(t.refetchOnReconnect=t.networkMode!=="always"),typeof t.useErrorBoundary>"u"&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(n){return n!=null&&n._defaulted?n:{...this.defaultOptions.mutations,...this.getMutationDefaults(n==null?void 0:n.mutationKey),...n,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class _a extends Be{constructor(n,t){super(),this.client=n,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var t;const a=this.options;this.options=this.client.defaultMutationOptions(n),Pa(a,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),(t=this.currentMutation)==null||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var n;(n=this.currentMutation)==null||n.removeObserver(this)}}onMutationUpdate(n){this.updateResult();const t={listeners:!0};n.type==="success"?t.onSuccess=!0:n.type==="error"&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(n,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof n<"u"?n:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const n=this.currentMutation?this.currentMutation.state:Zn(),t={...n,isLoading:n.status==="loading",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(n){q.batch(()=>{if(this.mutateOptions&&this.hasListeners()){if(n.onSuccess){var t,a,o,s;(t=(a=this.mutateOptions).onSuccess)==null||t.call(a,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(o=(s=this.mutateOptions).onSettled)==null||o.call(s,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(n.onError){var c,u,d,l;(c=(u=this.mutateOptions).onError)==null||c.call(u,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(d=(l=this.mutateOptions).onSettled)==null||d.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}n.listeners&&this.listeners.forEach(({listener:m})=>{m(this.currentResult)})})}}var fn={exports:{}},gn={};/**
28
+ * @license React
29
+ * use-sync-external-store-shim.production.min.js
30
+ *
31
+ * Copyright (c) Facebook, Inc. and its affiliates.
32
+ *
33
+ * This source code is licensed under the MIT license found in the
34
+ * LICENSE file in the root directory of this source tree.
35
+ */var $n;function Ja(){if($n)return gn;$n=1;var e=O;function n(g,p){return g===p&&(g!==0||1/g===1/p)||g!==g&&p!==p}var t=typeof Object.is=="function"?Object.is:n,a=e.useState,o=e.useEffect,s=e.useLayoutEffect,c=e.useDebugValue;function u(g,p){var C=p(),E=a({inst:{value:C,getSnapshot:p}}),A=E[0].inst,v=E[1];return s(function(){A.value=C,A.getSnapshot=p,d(A)&&v({inst:A})},[g,C,p]),o(function(){return d(A)&&v({inst:A}),g(function(){d(A)&&v({inst:A})})},[g]),c(C),C}function d(g){var p=g.getSnapshot;g=g.value;try{var C=p();return!t(g,C)}catch{return!0}}function l(g,p){return p()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:u;return gn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,gn}var pn={};/**
36
+ * @license React
37
+ * use-sync-external-store-shim.development.js
38
+ *
39
+ * Copyright (c) Facebook, Inc. and its affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */var Xn;function Za(){return Xn||(Xn=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=O,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function t(x){{for(var T=arguments.length,G=new Array(T>1?T-1:0),S=1;S<T;S++)G[S-1]=arguments[S];a("error",x,G)}}function a(x,T,G){{var S=n.ReactDebugCurrentFrame,N=S.getStackAddendum();N!==""&&(T+="%s",G=G.concat([N]));var P=G.map(function(k){return String(k)});P.unshift("Warning: "+T),Function.prototype.apply.call(console[x],console,P)}}function o(x,T){return x===T&&(x!==0||1/x===1/T)||x!==x&&T!==T}var s=typeof Object.is=="function"?Object.is:o,c=e.useState,u=e.useEffect,d=e.useLayoutEffect,l=e.useDebugValue,m=!1,g=!1;function p(x,T,G){m||e.startTransition!==void 0&&(m=!0,t("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var S=T();if(!g){var N=T();s(S,N)||(t("The result of getSnapshot should be cached to avoid an infinite loop"),g=!0)}var P=c({inst:{value:S,getSnapshot:T}}),k=P[0].inst,Q=P[1];return d(function(){k.value=S,k.getSnapshot=T,C(k)&&Q({inst:k})},[x,S,T]),u(function(){C(k)&&Q({inst:k});var $=function(){C(k)&&Q({inst:k})};return x($)},[x]),l(S),S}function C(x){var T=x.getSnapshot,G=x.value;try{var S=T();return!s(G,S)}catch{return!0}}function E(x,T,G){return T()}var A=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",v=!A,w=v?E:p,H=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:w;pn.useSyncExternalStore=H,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),pn}process.env.NODE_ENV==="production"?fn.exports=Ja():fn.exports=Za();var Qa=fn.exports;const $a=Qa.useSyncExternalStore,et=ae.createContext(void 0),nt=ae.createContext(!1);function tt(e,n){return e||(n&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=et),window.ReactQueryClientContext):et)}const Xa=({context:e}={})=>{const n=ae.useContext(tt(e,ae.useContext(nt)));if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},ei=({client:e,children:n,context:t,contextSharing:a=!1})=>{ae.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),process.env.NODE_ENV!=="production"&&a&&e.getLogger().error("The contextSharing option has been deprecated and will be removed in the next major version");const o=tt(t,a);return ae.createElement(nt.Provider,{value:!t&&a},ae.createElement(o.Provider,{value:e},n))};function ni(e,n){return typeof e=="function"?e(...n):!!e}function ti(e,n,t){const a=Ha(e,n,t),o=Xa({context:a.context}),[s]=ae.useState(()=>new _a(o,a));ae.useEffect(()=>{s.setOptions(a)},[s,a]);const c=$a(ae.useCallback(d=>s.subscribe(q.batchCalls(d)),[s]),()=>s.getCurrentResult(),()=>s.getCurrentResult()),u=ae.useCallback((d,l)=>{s.mutate(d,l).catch(ai)},[s]);if(c.error&&ni(s.options.useErrorBoundary,[c.error]))throw c.error;return{...c,mutate:u,mutateAsync:c.mutate}}function ai(){}const ii=(e,n)=>`https://api.multi1.enterprise${n==="STAGING"?"-staging":""}.taxbit.com/v1/${e}`,ri={taxDocumentation:{post:e=>ii("tax-documentation",e)}},oi=({bearerToken:e})=>new Headers({Authorization:`Bearer ${e}`}),si=(e,n)=>({submitTaxDocumentation:ti(o=>{const s=ri.taxDocumentation.post(e);return fetch(s,{method:"POST",headers:oi({bearerToken:n}),body:JSON.stringify(o)})},{onSuccess:()=>alert("Tax documentation submitted"),onError:()=>alert("Error submitting tax documentation")}),taxDocumentationStatus:"UNDOCUMENTED"}),ci=new Ya,ui=({initialData:e,environment:n,bearerToken:t,language:a,forms:o})=>i.jsx(ei,{client:ci,children:i.jsx(di,{initialData:e,language:a,forms:o,environment:n,bearerToken:t})}),di=({environment:e,initialData:n,bearerToken:t,language:a,forms:o})=>{const{taxDocumentationStatus:s,submitTaxDocumentation:c}=si(e,t);return s?s==="UNDOCUMENTED"?i.jsx(Dn,{initialData:n,initialLanguage:a,onSubmit:u=>c.mutate(u),forms:o}):i.jsx("div",{children:"Documentation was already submitted"}):i.jsx("div",{children:"Loading..."})},at=({initialData:e,environment:n,bearerToken:t,language:a})=>i.jsx(at,{initialData:e,language:a,forms:["DAC7"],environment:n,bearerToken:t});de.TaxDocumentationDAC7Widget=at,de.TaxDocumentationPath=Dn,de.TaxDocumentationWidget=ui,Object.defineProperty(de,Symbol.toStringTag,{value:"Module"})});