@taxbit/react-sdk 0.0.9 → 0.0.11

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 (47) hide show
  1. package/dist/components/Address/index.d.ts +1 -1
  2. package/dist/components/ErrorMessage/index.d.ts +1 -1
  3. package/dist/components/Page/index.d.ts +1 -1
  4. package/dist/components/Row/index.d.ts +1 -1
  5. package/dist/components/Section/index.d.ts +1 -1
  6. package/dist/contexts/FormUI/index.d.ts +3 -3
  7. package/dist/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +3 -3
  8. package/dist/contexts/TaxDocumentation/index.d.ts +1 -1
  9. package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +7 -7
  10. package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +4 -4
  11. package/dist/hooks/useTaxBit/useTaxBit.d.ts +3 -3
  12. package/dist/paths/AddressInput/index.d.ts +1 -1
  13. package/dist/paths/FinancialAccountInput/index.d.ts +1 -1
  14. package/dist/paths/PlaceOfBirthInput/index.d.ts +1 -1
  15. package/dist/paths/ResidenceInput/index.d.ts +1 -1
  16. package/dist/paths/RowInput/CheckBoxRow/index.d.ts +1 -1
  17. package/dist/paths/RowInput/ErrorRow/index.d.ts +1 -1
  18. package/dist/paths/RowInput/RadioButtonRow/index.d.ts +1 -1
  19. package/dist/paths/RowInput/SelectRow/index.d.ts +1 -1
  20. package/dist/paths/RowInput/TextInputRow/index.d.ts +1 -1
  21. package/dist/paths/RowInput/VisibleRow/index.d.ts +1 -1
  22. package/dist/paths/TaxBitFormUI/AccountHolderClassification/index.d.ts +1 -1
  23. package/dist/paths/TaxBitFormUI/AccountHolderContact/index.d.ts +1 -1
  24. package/dist/paths/TaxBitFormUI/AccountHolderTax/index.d.ts +1 -1
  25. package/dist/paths/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +1 -1
  26. package/dist/paths/TaxBitFormUI/Exemptions/index.d.ts +1 -1
  27. package/dist/paths/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +1 -1
  28. package/dist/paths/TaxBitFormUI/RegardedOwnerContact/index.d.ts +1 -1
  29. package/dist/paths/TaxBitFormUI/RegardedOwnerTax/index.d.ts +1 -1
  30. package/dist/paths/TaxBitFormUI/Summary/index.d.ts +1 -1
  31. package/dist/paths/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +3 -3
  32. package/dist/paths/TaxBitFormUI/TaxBitFormUI.d.ts +5 -5
  33. package/dist/paths/TaxBitFormUI/index.d.ts +1 -1
  34. package/dist/paths/VatInput/index.d.ts +1 -1
  35. package/dist/taxbit-react-sdk.es.js +570 -573
  36. package/dist/taxbit-react-sdk.umd.js +8 -8
  37. package/dist/types/TaxForm.d.ts +1 -0
  38. package/dist/types/index.d.ts +1 -1
  39. package/dist/ui/Actions/index.d.ts +1 -1
  40. package/dist/ui/CheckBox/index.d.ts +1 -1
  41. package/dist/utils/getSupportedFields.d.ts +2 -2
  42. package/dist/utils/getVisibleQuestions.d.ts +2 -2
  43. package/dist/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +4 -4
  44. package/dist/widgets/TaxBitForm/TaxBitForm.d.ts +5 -5
  45. package/dist/widgets/TaxBitForm/index.d.ts +2 -2
  46. package/package.json +2 -3
  47. package/dist/types/Form.d.ts +0 -1
@@ -1,5 +1,5 @@
1
1
  import En, { createContext as oa, useContext as sa, useState as Z, useCallback as Ve, useMemo as ae, useEffect as X } from "react";
2
- var rn = { exports: {} }, ve = {};
2
+ var tn = { exports: {} }, ve = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -14,18 +14,18 @@ function ca() {
14
14
  if (Sn)
15
15
  return ve;
16
16
  Sn = 1;
17
- var e = En, a = Symbol.for("react.element"), t = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, c = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ var e = En, a = Symbol.for("react.element"), r = Symbol.for("react.fragment"), t = Object.prototype.hasOwnProperty, c = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function m(u, g, d) {
19
- var h, b = {}, M = null, U = null;
20
- d !== void 0 && (M = "" + d), g.key !== void 0 && (M = "" + g.key), g.ref !== void 0 && (U = g.ref);
21
- for (h in g)
22
- r.call(g, h) && !s.hasOwnProperty(h) && (b[h] = g[h]);
19
+ var f, I = {}, y = null, F = null;
20
+ d !== void 0 && (y = "" + d), g.key !== void 0 && (y = "" + g.key), g.ref !== void 0 && (F = g.ref);
21
+ for (f in g)
22
+ t.call(g, f) && !s.hasOwnProperty(f) && (I[f] = g[f]);
23
23
  if (u && u.defaultProps)
24
- for (h in g = u.defaultProps, g)
25
- b[h] === void 0 && (b[h] = g[h]);
26
- return { $$typeof: a, type: u, key: M, ref: U, props: b, _owner: c.current };
24
+ for (f in g = u.defaultProps, g)
25
+ I[f] === void 0 && (I[f] = g[f]);
26
+ return { $$typeof: a, type: u, key: y, ref: F, props: I, _owner: c.current };
27
27
  }
28
- return ve.Fragment = t, ve.jsx = m, ve.jsxs = m, ve;
28
+ return ve.Fragment = r, ve.jsx = m, ve.jsxs = m, ve;
29
29
  }
30
30
  var Me = {};
31
31
  /**
@@ -40,7 +40,7 @@ var Me = {};
40
40
  var bn;
41
41
  function da() {
42
42
  return bn || (bn = 1, process.env.NODE_ENV !== "production" && function() {
43
- var e = En, a = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), u = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), M = Symbol.for("react.lazy"), U = Symbol.for("react.offscreen"), V = Symbol.iterator, w = "@@iterator";
43
+ var e = En, a = Symbol.for("react.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), u = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), V = Symbol.iterator, w = "@@iterator";
44
44
  function G(i) {
45
45
  if (i === null || typeof i != "object")
46
46
  return null;
@@ -48,7 +48,7 @@ function da() {
48
48
  return typeof o == "function" ? o : null;
49
49
  }
50
50
  var z = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function x(i) {
51
+ function R(i) {
52
52
  {
53
53
  for (var o = arguments.length, l = new Array(o > 1 ? o - 1 : 0), C = 1; C < o; C++)
54
54
  l[C - 1] = arguments[C];
@@ -57,10 +57,10 @@ function da() {
57
57
  }
58
58
  function ue(i, o, l) {
59
59
  {
60
- var C = z.ReactDebugCurrentFrame, S = C.getStackAddendum();
61
- S !== "" && (o += "%s", l = l.concat([S]));
62
- var N = l.map(function(I) {
63
- return String(I);
60
+ var C = z.ReactDebugCurrentFrame, b = C.getStackAddendum();
61
+ b !== "" && (o += "%s", l = l.concat([b]));
62
+ var N = l.map(function(S) {
63
+ return String(S);
64
64
  });
65
65
  N.unshift("Warning: " + o), Function.prototype.apply.call(console[i], console, N);
66
66
  }
@@ -68,7 +68,7 @@ function da() {
68
68
  var q = !1, Ae = !1, Ie = !1, Se = !1, be = !1, me;
69
69
  me = Symbol.for("react.module.reference");
70
70
  function ge(i) {
71
- return !!(typeof i == "string" || typeof i == "function" || i === r || i === s || be || i === c || i === d || i === h || Se || i === U || q || Ae || Ie || typeof i == "object" && i !== null && (i.$$typeof === M || i.$$typeof === b || i.$$typeof === m || i.$$typeof === u || i.$$typeof === g || // This needs to include all possible module reference object
71
+ return !!(typeof i == "string" || typeof i == "function" || i === t || i === s || be || i === c || i === d || i === f || Se || i === F || q || Ae || Ie || typeof i == "object" && i !== null && (i.$$typeof === y || i.$$typeof === I || i.$$typeof === m || i.$$typeof === u || i.$$typeof === g || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
@@ -78,8 +78,8 @@ function da() {
78
78
  var C = i.displayName;
79
79
  if (C)
80
80
  return C;
81
- var S = o.displayName || o.name || "";
82
- return S !== "" ? l + "(" + S + ")" : l;
81
+ var b = o.displayName || o.name || "";
82
+ return b !== "" ? l + "(" + b + ")" : l;
83
83
  }
84
84
  function he(i) {
85
85
  return i.displayName || "Context";
@@ -87,14 +87,14 @@ function da() {
87
87
  function D(i) {
88
88
  if (i == null)
89
89
  return null;
90
- if (typeof i.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof i == "function")
90
+ if (typeof i.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof i == "function")
91
91
  return i.displayName || i.name || null;
92
92
  if (typeof i == "string")
93
93
  return i;
94
94
  switch (i) {
95
- case r:
96
- return "Fragment";
97
95
  case t:
96
+ return "Fragment";
97
+ case r:
98
98
  return "Portal";
99
99
  case s:
100
100
  return "Profiler";
@@ -102,7 +102,7 @@ function da() {
102
102
  return "StrictMode";
103
103
  case d:
104
104
  return "Suspense";
105
- case h:
105
+ case f:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof i == "object")
@@ -115,13 +115,13 @@ function da() {
115
115
  return he(l._context) + ".Provider";
116
116
  case g:
117
117
  return ce(i, i.render, "ForwardRef");
118
- case b:
118
+ case I:
119
119
  var C = i.displayName || null;
120
120
  return C !== null ? C : D(i.type) || "Memo";
121
- case M: {
122
- var S = i, N = S._payload, I = S._init;
121
+ case y: {
122
+ var b = i, N = b._payload, S = b._init;
123
123
  try {
124
- return D(I(N));
124
+ return D(S(N));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,14 +129,14 @@ function da() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var Y = Object.assign, ee = 0, fe, O, F, se, Ne, f, L;
132
+ var Y = Object.assign, ee = 0, fe, O, k, se, Ne, h, L;
133
133
  function J() {
134
134
  }
135
135
  J.__reactDisabledLog = !0;
136
- function Re() {
136
+ function He() {
137
137
  {
138
138
  if (ee === 0) {
139
- fe = console.log, O = console.info, F = console.warn, se = console.error, Ne = console.group, f = console.groupCollapsed, L = console.groupEnd;
139
+ fe = console.log, O = console.info, k = console.warn, se = console.error, Ne = console.group, h = console.groupCollapsed, L = console.groupEnd;
140
140
  var i = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -156,7 +156,7 @@ function da() {
156
156
  ee++;
157
157
  }
158
158
  }
159
- function He() {
159
+ function Be() {
160
160
  {
161
161
  if (ee--, ee === 0) {
162
162
  var i = {
@@ -172,7 +172,7 @@ function da() {
172
172
  value: O
173
173
  }),
174
174
  warn: Y({}, i, {
175
- value: F
175
+ value: k
176
176
  }),
177
177
  error: Y({}, i, {
178
178
  value: se
@@ -181,24 +181,24 @@ function da() {
181
181
  value: Ne
182
182
  }),
183
183
  groupCollapsed: Y({}, i, {
184
- value: f
184
+ value: h
185
185
  }),
186
186
  groupEnd: Y({}, i, {
187
187
  value: L
188
188
  })
189
189
  });
190
190
  }
191
- ee < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ ee < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
194
  var Ye = z.ReactCurrentDispatcher, Je;
195
- function Be(i, o, l) {
195
+ function xe(i, o, l) {
196
196
  {
197
197
  if (Je === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (S) {
201
- var C = S.stack.trim().match(/\n( *(at )?)/);
200
+ } catch (b) {
201
+ var C = b.stack.trim().match(/\n( *(at )?)/);
202
202
  Je = C && C[1] || "";
203
203
  }
204
204
  return `
@@ -207,8 +207,8 @@ function da() {
207
207
  }
208
208
  var Ze = !1, Pe;
209
209
  {
210
- var Un = typeof WeakMap == "function" ? WeakMap : Map;
211
- Pe = new Un();
210
+ var Fn = typeof WeakMap == "function" ? WeakMap : Map;
211
+ Pe = new Fn();
212
212
  }
213
213
  function sn(i, o) {
214
214
  if (!i || Ze)
@@ -220,33 +220,33 @@ function da() {
220
220
  }
221
221
  var C;
222
222
  Ze = !0;
223
- var S = Error.prepareStackTrace;
223
+ var b = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var N;
226
- N = Ye.current, Ye.current = null, Re();
226
+ N = Ye.current, Ye.current = null, He();
227
227
  try {
228
228
  if (o) {
229
- var I = function() {
229
+ var S = function() {
230
230
  throw Error();
231
231
  };
232
- if (Object.defineProperty(I.prototype, "props", {
232
+ if (Object.defineProperty(S.prototype, "props", {
233
233
  set: function() {
234
234
  throw Error();
235
235
  }
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
- Reflect.construct(I, []);
238
+ Reflect.construct(S, []);
239
239
  } catch (ne) {
240
240
  C = ne;
241
241
  }
242
- Reflect.construct(i, [], I);
242
+ Reflect.construct(i, [], S);
243
243
  } else {
244
244
  try {
245
- I.call();
245
+ S.call();
246
246
  } catch (ne) {
247
247
  C = ne;
248
248
  }
249
- i.call(I.prototype);
249
+ i.call(S.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
@@ -259,26 +259,26 @@ function da() {
259
259
  } catch (ne) {
260
260
  if (ne && C && typeof ne.stack == "string") {
261
261
  for (var A = ne.stack.split(`
262
- `), k = C.stack.split(`
263
- `), E = A.length - 1, R = k.length - 1; E >= 1 && R >= 0 && A[E] !== k[R]; )
264
- R--;
265
- for (; E >= 1 && R >= 0; E--, R--)
266
- if (A[E] !== k[R]) {
267
- if (E !== 1 || R !== 1)
262
+ `), U = C.stack.split(`
263
+ `), E = A.length - 1, H = U.length - 1; E >= 1 && H >= 0 && A[E] !== U[H]; )
264
+ H--;
265
+ for (; E >= 1 && H >= 0; E--, H--)
266
+ if (A[E] !== U[H]) {
267
+ if (E !== 1 || H !== 1)
268
268
  do
269
- if (E--, R--, R < 0 || A[E] !== k[R]) {
269
+ if (E--, H--, H < 0 || A[E] !== U[H]) {
270
270
  var j = `
271
271
  ` + A[E].replace(" at new ", " at ");
272
272
  return i.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", i.displayName)), typeof i == "function" && Pe.set(i, j), j;
273
273
  }
274
- while (E >= 1 && R >= 0);
274
+ while (E >= 1 && H >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- Ze = !1, Ye.current = N, He(), Error.prepareStackTrace = S;
279
+ Ze = !1, Ye.current = N, Be(), Error.prepareStackTrace = b;
280
280
  }
281
- var Ce = i ? i.displayName || i.name : "", In = Ce ? Be(Ce) : "";
281
+ var Ce = i ? i.displayName || i.name : "", In = Ce ? xe(Ce) : "";
282
282
  return typeof i == "function" && Pe.set(i, In), In;
283
283
  }
284
284
  function Dn(i, o, l) {
@@ -288,59 +288,59 @@ function da() {
288
288
  var o = i.prototype;
289
289
  return !!(o && o.isReactComponent);
290
290
  }
291
- function Fe(i, o, l) {
291
+ function ke(i, o, l) {
292
292
  if (i == null)
293
293
  return "";
294
294
  if (typeof i == "function")
295
295
  return sn(i, Gn(i));
296
296
  if (typeof i == "string")
297
- return Be(i);
297
+ return xe(i);
298
298
  switch (i) {
299
299
  case d:
300
- return Be("Suspense");
301
- case h:
302
- return Be("SuspenseList");
300
+ return xe("Suspense");
301
+ case f:
302
+ return xe("SuspenseList");
303
303
  }
304
304
  if (typeof i == "object")
305
305
  switch (i.$$typeof) {
306
306
  case g:
307
307
  return Dn(i.render);
308
- case b:
309
- return Fe(i.type, o, l);
310
- case M: {
311
- var C = i, S = C._payload, N = C._init;
308
+ case I:
309
+ return ke(i.type, o, l);
310
+ case y: {
311
+ var C = i, b = C._payload, N = C._init;
312
312
  try {
313
- return Fe(N(S), o, l);
313
+ return ke(N(b), o, l);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var ke = Object.prototype.hasOwnProperty, cn = {}, dn = z.ReactDebugCurrentFrame;
321
- function Ue(i) {
320
+ var Ue = Object.prototype.hasOwnProperty, cn = {}, dn = z.ReactDebugCurrentFrame;
321
+ function Fe(i) {
322
322
  if (i) {
323
- var o = i._owner, l = Fe(i.type, i._source, o ? o.type : null);
323
+ var o = i._owner, l = ke(i.type, i._source, o ? o.type : null);
324
324
  dn.setExtraStackFrame(l);
325
325
  } else
326
326
  dn.setExtraStackFrame(null);
327
327
  }
328
- function Ln(i, o, l, C, S) {
328
+ function Ln(i, o, l, C, b) {
329
329
  {
330
- var N = Function.call.bind(ke);
331
- for (var I in i)
332
- if (N(i, I)) {
330
+ var N = Function.call.bind(Ue);
331
+ for (var S in i)
332
+ if (N(i, S)) {
333
333
  var A = void 0;
334
334
  try {
335
- if (typeof i[I] != "function") {
336
- var k = Error((C || "React class") + ": " + l + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw k.name = "Invariant Violation", k;
335
+ if (typeof i[S] != "function") {
336
+ var U = Error((C || "React class") + ": " + l + " type `" + S + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[S] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw U.name = "Invariant Violation", U;
338
338
  }
339
- A = i[I](o, I, C, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ A = i[S](o, S, C, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (E) {
341
341
  A = E;
342
342
  }
343
- A && !(A instanceof Error) && (Ue(S), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", C || "React class", l, I, typeof A), Ue(null)), A instanceof Error && !(A.message in cn) && (cn[A.message] = !0, Ue(S), x("Failed %s type: %s", l, A.message), Ue(null));
343
+ A && !(A instanceof Error) && (Fe(b), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", C || "React class", l, S, typeof A), Fe(null)), A instanceof Error && !(A.message in cn) && (cn[A.message] = !0, Fe(b), R("Failed %s type: %s", l, A.message), Fe(null));
344
344
  }
345
345
  }
346
346
  }
@@ -366,7 +366,7 @@ function da() {
366
366
  }
367
367
  function un(i) {
368
368
  if (Wn(i))
369
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kn(i)), ln(i);
369
+ return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kn(i)), ln(i);
370
370
  }
371
371
  var ye = z.ReactCurrentOwner, Vn = {
372
372
  key: !0,
@@ -376,7 +376,7 @@ function da() {
376
376
  }, mn, gn, $e;
377
377
  $e = {};
378
378
  function zn(i) {
379
- if (ke.call(i, "ref")) {
379
+ if (Ue.call(i, "ref")) {
380
380
  var o = Object.getOwnPropertyDescriptor(i, "ref").get;
381
381
  if (o && o.isReactWarning)
382
382
  return !1;
@@ -384,7 +384,7 @@ function da() {
384
384
  return i.ref !== void 0;
385
385
  }
386
386
  function qn(i) {
387
- if (ke.call(i, "key")) {
387
+ if (Ue.call(i, "key")) {
388
388
  var o = Object.getOwnPropertyDescriptor(i, "key").get;
389
389
  if (o && o.isReactWarning)
390
390
  return !1;
@@ -394,13 +394,13 @@ function da() {
394
394
  function Yn(i, o) {
395
395
  if (typeof i.ref == "string" && ye.current && o && ye.current.stateNode !== o) {
396
396
  var l = D(ye.current.type);
397
- $e[l] || (x('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', D(ye.current.type), i.ref), $e[l] = !0);
397
+ $e[l] || (R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(ye.current.type), i.ref), $e[l] = !0);
398
398
  }
399
399
  }
400
400
  function Jn(i, o) {
401
401
  {
402
402
  var l = function() {
403
- mn || (mn = !0, x("%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)", o));
403
+ mn || (mn = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
404
404
  };
405
405
  l.isReactWarning = !0, Object.defineProperty(i, "key", {
406
406
  get: l,
@@ -411,7 +411,7 @@ function da() {
411
411
  function Zn(i, o) {
412
412
  {
413
413
  var l = function() {
414
- gn || (gn = !0, x("%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)", o));
414
+ gn || (gn = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
415
415
  };
416
416
  l.isReactWarning = !0, Object.defineProperty(i, "ref", {
417
417
  get: l,
@@ -419,7 +419,7 @@ function da() {
419
419
  });
420
420
  }
421
421
  }
422
- var _n = function(i, o, l, C, S, N, I) {
422
+ var _n = function(i, o, l, C, b, N, S) {
423
423
  var A = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
425
  $$typeof: a,
@@ -427,7 +427,7 @@ function da() {
427
427
  type: i,
428
428
  key: o,
429
429
  ref: l,
430
- props: I,
430
+ props: S,
431
431
  // Record the component responsible for creating this element.
432
432
  _owner: N
433
433
  };
@@ -445,31 +445,31 @@ function da() {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
- value: S
448
+ value: b
449
449
  }), Object.freeze && (Object.freeze(A.props), Object.freeze(A)), A;
450
450
  };
451
- function $n(i, o, l, C, S) {
451
+ function $n(i, o, l, C, b) {
452
452
  {
453
- var N, I = {}, A = null, k = null;
454
- l !== void 0 && (un(l), A = "" + l), qn(o) && (un(o.key), A = "" + o.key), zn(o) && (k = o.ref, Yn(o, S));
453
+ var N, S = {}, A = null, U = null;
454
+ l !== void 0 && (un(l), A = "" + l), qn(o) && (un(o.key), A = "" + o.key), zn(o) && (U = o.ref, Yn(o, b));
455
455
  for (N in o)
456
- ke.call(o, N) && !Vn.hasOwnProperty(N) && (I[N] = o[N]);
456
+ Ue.call(o, N) && !Vn.hasOwnProperty(N) && (S[N] = o[N]);
457
457
  if (i && i.defaultProps) {
458
458
  var E = i.defaultProps;
459
459
  for (N in E)
460
- I[N] === void 0 && (I[N] = E[N]);
460
+ S[N] === void 0 && (S[N] = E[N]);
461
461
  }
462
- if (A || k) {
463
- var R = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
464
- A && Jn(I, R), k && Zn(I, R);
462
+ if (A || U) {
463
+ var H = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
464
+ A && Jn(S, H), U && Zn(S, H);
465
465
  }
466
- return _n(i, A, k, S, C, ye.current, I);
466
+ return _n(i, A, U, b, C, ye.current, S);
467
467
  }
468
468
  }
469
469
  var Qe = z.ReactCurrentOwner, hn = z.ReactDebugCurrentFrame;
470
470
  function pe(i) {
471
471
  if (i) {
472
- var o = i._owner, l = Fe(i.type, i._source, o ? o.type : null);
472
+ var o = i._owner, l = ke(i.type, i._source, o ? o.type : null);
473
473
  hn.setExtraStackFrame(l);
474
474
  } else
475
475
  hn.setExtraStackFrame(null);
@@ -525,7 +525,7 @@ Check the top-level render call using <` + l + ">.");
525
525
  return;
526
526
  pn[l] = !0;
527
527
  var C = "";
528
- i && i._owner && i._owner !== Qe.current && (C = " It was passed a child from " + D(i._owner.type) + "."), pe(i), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, C), pe(null);
528
+ i && i._owner && i._owner !== Qe.current && (C = " It was passed a child from " + D(i._owner.type) + "."), pe(i), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, C), pe(null);
529
529
  }
530
530
  }
531
531
  function Tn(i, o) {
@@ -540,10 +540,10 @@ Check the top-level render call using <` + l + ">.");
540
540
  else if (en(i))
541
541
  i._store && (i._store.validated = !0);
542
542
  else if (i) {
543
- var S = G(i);
544
- if (typeof S == "function" && S !== i.entries)
545
- for (var N = S.call(i), I; !(I = N.next()).done; )
546
- en(I.value) && Cn(I.value, o);
543
+ var b = G(i);
544
+ if (typeof b == "function" && b !== i.entries)
545
+ for (var N = b.call(i), S; !(S = N.next()).done; )
546
+ en(S.value) && Cn(S.value, o);
547
547
  }
548
548
  }
549
549
  }
@@ -557,7 +557,7 @@ Check the top-level render call using <` + l + ">.");
557
557
  l = o.propTypes;
558
558
  else if (typeof o == "object" && (o.$$typeof === g || // Note: Memo only checks outer props here.
559
559
  // Inner props are checked in the reconciler.
560
- o.$$typeof === b))
560
+ o.$$typeof === I))
561
561
  l = o.propTypes;
562
562
  else
563
563
  return;
@@ -566,10 +566,10 @@ Check the top-level render call using <` + l + ">.");
566
566
  Ln(l, i.props, "prop", C, i);
567
567
  } else if (o.PropTypes !== void 0 && !Xe) {
568
568
  Xe = !0;
569
- var S = D(o);
570
- x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
569
+ var b = D(o);
570
+ R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
571
571
  }
572
- typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
572
+ typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
573
573
  }
574
574
  }
575
575
  function na(i) {
@@ -577,28 +577,28 @@ Check the top-level render call using <` + l + ">.");
577
577
  for (var o = Object.keys(i.props), l = 0; l < o.length; l++) {
578
578
  var C = o[l];
579
579
  if (C !== "children" && C !== "key") {
580
- pe(i), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), pe(null);
580
+ pe(i), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), pe(null);
581
581
  break;
582
582
  }
583
583
  }
584
- i.ref !== null && (pe(i), x("Invalid attribute `ref` supplied to `React.Fragment`."), pe(null));
584
+ i.ref !== null && (pe(i), R("Invalid attribute `ref` supplied to `React.Fragment`."), pe(null));
585
585
  }
586
586
  }
587
- function An(i, o, l, C, S, N) {
587
+ function An(i, o, l, C, b, N) {
588
588
  {
589
- var I = ge(i);
590
- if (!I) {
589
+ var S = ge(i);
590
+ if (!S) {
591
591
  var A = "";
592
592
  (i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (A += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
- var k = Qn(S);
594
- k ? A += k : A += fn();
593
+ var U = Qn(b);
594
+ U ? A += U : A += fn();
595
595
  var E;
596
- i === null ? E = "null" : _e(i) ? E = "array" : i !== void 0 && i.$$typeof === a ? (E = "<" + (D(i.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : E = typeof i, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, A);
596
+ i === null ? E = "null" : _e(i) ? E = "array" : i !== void 0 && i.$$typeof === a ? (E = "<" + (D(i.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : E = typeof i, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, A);
597
597
  }
598
- var R = $n(i, o, l, S, N);
599
- if (R == null)
600
- return R;
601
- if (I) {
598
+ var H = $n(i, o, l, b, N);
599
+ if (H == null)
600
+ return H;
601
+ if (S) {
602
602
  var j = o.children;
603
603
  if (j !== void 0)
604
604
  if (C)
@@ -607,11 +607,11 @@ Check the top-level render call using <` + l + ">.");
607
607
  Tn(j[Ce], i);
608
608
  Object.freeze && Object.freeze(j);
609
609
  } else
610
- x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
610
+ R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
611
  else
612
612
  Tn(j, i);
613
613
  }
614
- return i === r ? na(R) : ea(R), R;
614
+ return i === t ? na(H) : ea(H), H;
615
615
  }
616
616
  }
617
617
  function aa(i, o, l) {
@@ -620,24 +620,24 @@ Check the top-level render call using <` + l + ">.");
620
620
  function ia(i, o, l) {
621
621
  return An(i, o, l, !1);
622
622
  }
623
- var ta = ia, ra = aa;
624
- Me.Fragment = r, Me.jsx = ta, Me.jsxs = ra;
623
+ var ra = ia, ta = aa;
624
+ Me.Fragment = t, Me.jsx = ra, Me.jsxs = ta;
625
625
  }()), Me;
626
626
  }
627
- process.env.NODE_ENV === "production" ? rn.exports = ca() : rn.exports = da();
628
- var n = rn.exports;
627
+ process.env.NODE_ENV === "production" ? tn.exports = ca() : tn.exports = da();
628
+ var n = tn.exports;
629
629
  const wn = () => {
630
630
  const e = oa(void 0);
631
631
  return [() => {
632
- const t = sa(e);
633
- if (t === void 0)
632
+ const r = sa(e);
633
+ if (r === void 0)
634
634
  throw new Error("useCtx must be inside a Provider with a value");
635
- return t;
635
+ return r;
636
636
  }, e.Provider];
637
- }, [W, la] = wn(), xn = (...e) => e.filter(Boolean).join(" "), ua = (e) => {
637
+ }, [W, la] = wn(), Rn = (...e) => e.filter(Boolean).join(" "), ua = (e) => {
638
638
  try {
639
- const a = (/* @__PURE__ */ new Date()).getUTCFullYear(), t = e.substring(e.length - 4, e.length), r = a - Number(t);
640
- return r > -1 && r < 131;
639
+ const a = (/* @__PURE__ */ new Date()).getUTCFullYear(), r = e.substring(e.length - 4, e.length), t = a - Number(r);
640
+ return t > -1 && t < 131;
641
641
  } catch {
642
642
  return !1;
643
643
  }
@@ -648,18 +648,18 @@ const wn = () => {
648
648
  day: "2-digit",
649
649
  year: "numeric"
650
650
  });
651
- }, y = (e) => e === void 0 || e === "", on = (e) => !y(e), Te = (e) => {
652
- const a = (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", r = t && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual"), c = 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, m = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", u = on(e == null ? void 0 : e.accountHolderFinancialAccountIdentifier) && y(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && y(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && y(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && y(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && y(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5);
651
+ }, v = (e) => e === void 0 || e === "", on = (e) => !v(e), Te = (e) => {
652
+ const a = (e == null ? void 0 : e.accountHolderUsAccountType) !== void 0 && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "yes", r = (e == null ? void 0 : e.accountHolderUsPerson) === "no" && (e == null ? void 0 : e.regardedOwnerUsPerson) === void 0 || (e == null ? void 0 : e.regardedOwnerUsPerson) === "no", t = r && ((e == null ? void 0 : e.accountHolderForeignAccountType) === "individual" || (e == null ? void 0 : e.regardedOwnerForeignAccountType) === "individual"), c = r && ((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, m = e.accountHolderForeignAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "disregardedEntity" || e.accountHolderUsAccountType === "smllc" && e.accountHolderUsSmllcElection === "no", u = on(e == null ? void 0 : e.accountHolderFinancialAccountIdentifier) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin1) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin2) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin3) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin4) && v(e == null ? void 0 : e.accountHolderTaxResidenceForeignTin5);
653
653
  return {
654
654
  accountHolderIsDisregarded: m,
655
655
  hasNoTaxId: u,
656
656
  isDac7: s,
657
657
  isW9: a,
658
- isW8: t,
659
- isW8Ben: r,
658
+ isW8: r,
659
+ isW8Ben: t,
660
660
  isW8BenE: c
661
661
  };
662
- }, Rn = (e, a) => {
662
+ }, Hn = (e, a) => {
663
663
  switch (e) {
664
664
  case "individual":
665
665
  return "nameOfIndividual";
@@ -682,7 +682,7 @@ const wn = () => {
682
682
  default:
683
683
  return "name";
684
684
  }
685
- }, Hn = (e) => {
685
+ }, Bn = (e) => {
686
686
  switch (e) {
687
687
  case "individual":
688
688
  return "nameOfIndividual";
@@ -695,10 +695,10 @@ const wn = () => {
695
695
  default:
696
696
  return "name";
697
697
  }
698
- }, ha = (e) => e.accountHolderUsAccountType !== void 0 ? Rn(
698
+ }, ha = (e) => e.accountHolderUsAccountType !== void 0 ? Hn(
699
699
  e.accountHolderUsAccountType,
700
700
  e.accountHolderUsSmllcElection
701
- ) : e.accountHolderForeignAccountType !== void 0 ? Hn(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfBusiness" : "name", fa = (e) => e.regardedOwnerUsPerson === "yes" ? Rn(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? Hn(e.regardedOwnerForeignAccountType) : "name", pa = (e) => ({
701
+ ) : e.accountHolderForeignAccountType !== void 0 ? Bn(e.accountHolderForeignAccountType) : e.accountHolderIsIndividual === "yes" ? "nameOfIndividual" : e.accountHolderIsIndividual === "no" ? "nameOfBusiness" : "name", fa = (e) => e.regardedOwnerUsPerson === "yes" ? Hn(e.regardedOwnerUsAccountType) : e.regardedOwnerUsPerson === "no" ? Bn(e.regardedOwnerForeignAccountType) : "name", pa = (e) => ({
702
702
  accountHolderIsIndividual: "isIndividual",
703
703
  accountHolderUsPerson: "usPerson",
704
704
  accountHolderUsAccountType: "usAccountType",
@@ -883,8 +883,8 @@ const wn = () => {
883
883
  exemptFatcaCode: e.includes("W-9")
884
884
  }), Ta = (e, a) => {
885
885
  const {
886
- accountHolderIsDisregarded: t,
887
- isW9: r,
886
+ accountHolderIsDisregarded: r,
887
+ isW9: t,
888
888
  isW8BenE: c,
889
889
  isW8: s,
890
890
  hasNoTaxId: m
@@ -950,13 +950,13 @@ const wn = () => {
950
950
  accountHolderTaxResidenceForeignTin5IsNotRequired: e.accountHolderShowTaxResidence5 === "yes",
951
951
  // Regarded Owner Account Classification
952
952
  regardedOwnerUsPerson: !0,
953
- regardedOwnerUsAccountType: t && (e.regardedOwnerUsPerson === "yes" || !u.regardedOwnerUsPerson),
954
- regardedOwnerUsLlcClassification: t && e.regardedOwnerUsAccountType === "llc",
955
- regardedOwnerUsOtherClassification: t && e.regardedOwnerUsAccountType === "other",
956
- regardedOwnerUsTrustEstateEin: t && e.regardedOwnerUsAccountType === "trustEstate",
957
- regardedOwnerForeignAccountType: t && e.regardedOwnerUsPerson === "no" || !u.regardedOwnerUsPerson,
958
- regardedOwnerForeignOtherClassification: t && e.regardedOwnerForeignAccountType === "other",
959
- regardedOwnerForeignTrustClassification: t && e.regardedOwnerForeignAccountType === "trust",
953
+ regardedOwnerUsAccountType: r && (e.regardedOwnerUsPerson === "yes" || !u.regardedOwnerUsPerson),
954
+ regardedOwnerUsLlcClassification: r && e.regardedOwnerUsAccountType === "llc",
955
+ regardedOwnerUsOtherClassification: r && e.regardedOwnerUsAccountType === "other",
956
+ regardedOwnerUsTrustEstateEin: r && e.regardedOwnerUsAccountType === "trustEstate",
957
+ regardedOwnerForeignAccountType: r && e.regardedOwnerUsPerson === "no" || !u.regardedOwnerUsPerson,
958
+ regardedOwnerForeignOtherClassification: r && e.regardedOwnerForeignAccountType === "other",
959
+ regardedOwnerForeignTrustClassification: r && e.regardedOwnerForeignAccountType === "trust",
960
960
  // Regarded Owner Contact Information
961
961
  regardedOwnerAddressCity: !0,
962
962
  regardedOwnerAddressCountry: !0,
@@ -964,36 +964,36 @@ const wn = () => {
964
964
  regardedOwnerAddressStreet2: !0,
965
965
  regardedOwnerAddressStreet: !0,
966
966
  regardedOwnerAddressZip: !0,
967
- regardedOwnerCountryOfCitizenship: t && e.regardedOwnerUsPerson !== void 0,
968
- regardedOwnerDateOfBirth: t && e.regardedOwnerUsPerson !== void 0,
969
- regardedOwnerDbaName: t && e.regardedOwnerUsPerson !== void 0,
970
- regardedOwnerName: t && e.regardedOwnerUsPerson !== void 0,
971
- regardedOwnerMailingAddressIsDifferent: t && e.regardedOwnerUsPerson !== void 0,
972
- regardedOwnerMailingAddressCity: t && e.regardedOwnerUsPerson !== void 0,
973
- regardedOwnerMailingAddressCountry: t && e.regardedOwnerUsPerson !== void 0,
974
- regardedOwnerMailingAddressState: t && e.regardedOwnerUsPerson !== void 0,
975
- regardedOwnerMailingAddressStreet2: t && e.regardedOwnerUsPerson !== void 0,
976
- regardedOwnerMailingAddressStreet: t && e.regardedOwnerUsPerson !== void 0,
977
- regardedOwnerMailingAddressZip: t && e.regardedOwnerUsPerson !== void 0,
967
+ regardedOwnerCountryOfCitizenship: r && e.regardedOwnerUsPerson !== void 0,
968
+ regardedOwnerDateOfBirth: r && e.regardedOwnerUsPerson !== void 0,
969
+ regardedOwnerDbaName: r && e.regardedOwnerUsPerson !== void 0,
970
+ regardedOwnerName: r && e.regardedOwnerUsPerson !== void 0,
971
+ regardedOwnerMailingAddressIsDifferent: r && e.regardedOwnerUsPerson !== void 0,
972
+ regardedOwnerMailingAddressCity: r && e.regardedOwnerUsPerson !== void 0,
973
+ regardedOwnerMailingAddressCountry: r && e.regardedOwnerUsPerson !== void 0,
974
+ regardedOwnerMailingAddressState: r && e.regardedOwnerUsPerson !== void 0,
975
+ regardedOwnerMailingAddressStreet2: r && e.regardedOwnerUsPerson !== void 0,
976
+ regardedOwnerMailingAddressStreet: r && e.regardedOwnerUsPerson !== void 0,
977
+ regardedOwnerMailingAddressZip: r && e.regardedOwnerUsPerson !== void 0,
978
978
  // Regarded Owner Tax Numbers
979
- regardedOwnerUsTin: t && e.regardedOwnerUsPerson !== void 0,
980
- regardedOwnerForeignTin: t && e.regardedOwnerUsPerson === "no",
981
- regardedOwnerForeignTinIsNotRequired: t && e.regardedOwnerUsPerson === "no",
979
+ regardedOwnerUsTin: r && e.regardedOwnerUsPerson !== void 0,
980
+ regardedOwnerForeignTin: r && e.regardedOwnerUsPerson === "no",
981
+ regardedOwnerForeignTinIsNotRequired: r && e.regardedOwnerUsPerson === "no",
982
982
  exemptPayeeCode: e.accountHolderUsAccountType !== void 0,
983
983
  exemptFatcaCode: e.accountHolderUsAccountType !== void 0,
984
984
  signature: !0,
985
985
  iCertifyToAll: !0,
986
986
  iAcknowlegeESignIsOk: !0,
987
- iAmExemptFromFatcaReporting: r,
988
- iAmNotSubjectToBackupWithholding: r,
989
- iAmACitizenOfTheUs: r,
987
+ iAmExemptFromFatcaReporting: t,
988
+ iAmNotSubjectToBackupWithholding: t,
989
+ iAmACitizenOfTheUs: t,
990
990
  iAuthorizeWithholdingAgent: c,
991
991
  iConfirmIncomeIsNonUs: s,
992
992
  iConfirmTheEntityIsTheBeneficialOwner: s,
993
993
  iConfirmTheBeneficialOwnerIsExempt: s,
994
- iConfirmTheTaxIdIsCorrect: r,
994
+ iConfirmTheTaxIdIsCorrect: t,
995
995
  iConfirmTheEntityIsNotAUsPerson: s,
996
- iHaveLegalCapacityToSign: r
996
+ iHaveLegalCapacityToSign: t
997
997
  };
998
998
  return Object.fromEntries(
999
999
  Object.keys(g).map((d) => [
@@ -1085,18 +1085,18 @@ const wn = () => {
1085
1085
  signature: e.signature,
1086
1086
  document_type: "COMPREHENSIVE"
1087
1087
  }), Sa = ({
1088
- initialData: e,
1088
+ data: e,
1089
1089
  onSubmit: a,
1090
- initialLanguage: t = "en-us",
1091
- supportedForms: r = ["DAC7", "W-8BEN", "W-8BEN-E", "W-9"]
1090
+ language: r = "en-us",
1091
+ taxForms: t = ["DAC7", "W-8BEN", "W-8BEN-E", "W-9"]
1092
1092
  }) => {
1093
- const [c, s] = Z(t), [m, u] = Z(r), g = Aa(e), [d, h] = Z(
1093
+ const [c, s] = Z(r), [m, u] = Z(t), g = Aa(e), [d, f] = Z(
1094
1094
  g
1095
- ), [b, M] = Z([
1095
+ ), [I, y] = Z([
1096
1096
  "AccountHolderClassification"
1097
- ]), [U, V] = Z(
1097
+ ]), [F, V] = Z(
1098
1098
  void 0
1099
- ), { isW9: w, isW8: G, isW8Ben: z, isW8BenE: x, isDac7: ue } = Te(d), q = b[b.length - 1], Ae = q || "AccountHolderClassification", Ie = {
1099
+ ), { isW9: w, isW8: G, isW8Ben: z, isW8BenE: R, isDac7: ue } = Te(d), q = I[I.length - 1], Ae = q || "AccountHolderClassification", Ie = {
1100
1100
  regardedOwnerUsPerson: void 0,
1101
1101
  regardedOwnerUsAccountType: void 0,
1102
1102
  regardedOwnerUsLlcClassification: void 0,
@@ -1106,49 +1106,49 @@ const wn = () => {
1106
1106
  regardedOwnerForeignTrustClassification: void 0,
1107
1107
  regardedOwnerForeignOtherClassification: void 0
1108
1108
  }, Se = (O) => {
1109
- const F = {
1109
+ const k = {
1110
1110
  ...d,
1111
1111
  ...O
1112
1112
  };
1113
- h(F);
1114
- const se = Ia(F);
1113
+ f(k);
1114
+ const se = Ia(k);
1115
1115
  a({
1116
1116
  ...se,
1117
1117
  signature_timestamp: (/* @__PURE__ */ new Date()).toISOString()
1118
1118
  });
1119
1119
  }, be = Ve(() => {
1120
- h(g), V(void 0), M(["AccountHolderClassification"]);
1120
+ f(g), V(void 0), y(["AccountHolderClassification"]);
1121
1121
  }, [g]), me = (O) => {
1122
- const { accountHolderIsDisregarded: F, isDac7: se, hasNoTaxId: Ne } = Te(O);
1123
- return q === "AccountHolderClassification" ? se ? "AccountHolderContact" : F ? "RegardedOwnerClassification" : "AccountHolderContact" : q === "AccountHolderContact" ? se && O.accountHolderIsEuResident === "no" ? "Summary" : "AccountHolderTax" : q === "AccountHolderTax" ? Ne ? "AccountHolderTaxClarification" : "Summary" : q === "RegardedOwnerClassification" ? "RegardedOwnerContact" : q === "RegardedOwnerContact" ? "RegardedOwnerTax" : "Summary";
1122
+ const { accountHolderIsDisregarded: k, isDac7: se, hasNoTaxId: Ne } = Te(O);
1123
+ return q === "AccountHolderClassification" ? se ? "AccountHolderContact" : k ? "RegardedOwnerClassification" : "AccountHolderContact" : q === "AccountHolderContact" ? se && O.accountHolderIsEuResident === "no" ? "Summary" : "AccountHolderTax" : q === "AccountHolderTax" ? Ne ? "AccountHolderTaxClarification" : "Summary" : q === "RegardedOwnerClassification" ? "RegardedOwnerContact" : q === "RegardedOwnerContact" ? "RegardedOwnerTax" : "Summary";
1124
1124
  }, ge = (O) => {
1125
- const F = me(O);
1126
- F === "Summary" && V(void 0), D(F);
1125
+ const k = me(O);
1126
+ k === "Summary" && V(void 0), D(k);
1127
1127
  }, ce = (O) => {
1128
- const F = {
1128
+ const k = {
1129
1129
  ...d,
1130
1130
  ...O
1131
1131
  };
1132
- h(F), U === void 0 ? ge(F) : M(["Summary"]);
1132
+ f(k), F === void 0 ? ge(k) : y(["Summary"]);
1133
1133
  }, he = (O) => {
1134
1134
  d.accountHolderUsAccountType !== O.accountHolderUsAccountType || d.accountHolderForeignAccountType !== O.accountHolderForeignAccountType ? ce({
1135
1135
  ...O,
1136
1136
  ...Ie
1137
1137
  }) : ce(O);
1138
1138
  }, D = (O) => {
1139
- M([...b, O]);
1139
+ y([...I, O]);
1140
1140
  }, Y = (O) => {
1141
- M([O]), V(d);
1142
- }, ee = U !== void 0 ? () => {
1143
- h(U), V(void 0), M(["Summary"]);
1144
- } : void 0, fe = b.length > 1 ? () => {
1145
- M(b.slice(0, b.length - 1));
1141
+ y([O]), V(d);
1142
+ }, ee = F !== void 0 ? () => {
1143
+ f(F), V(void 0), y(["Summary"]);
1144
+ } : void 0, fe = I.length > 1 ? () => {
1145
+ y(I.slice(0, I.length - 1));
1146
1146
  } : void 0;
1147
1147
  return {
1148
1148
  isW9: w,
1149
1149
  isW8: G,
1150
1150
  isW8Ben: z,
1151
- isW8BenE: x,
1151
+ isW8BenE: R,
1152
1152
  isDac7: ue,
1153
1153
  onPersistAccountHolderData: he,
1154
1154
  onPersistCollectedData: ce,
@@ -1169,21 +1169,21 @@ const wn = () => {
1169
1169
  }, ba = ({
1170
1170
  data: e = {},
1171
1171
  onSubmit: a,
1172
- language: t,
1173
- forms: r,
1172
+ language: r,
1173
+ taxForms: t,
1174
1174
  children: c
1175
1175
  }) => /* @__PURE__ */ n.jsx(
1176
1176
  la,
1177
1177
  {
1178
1178
  value: Sa({
1179
- initialData: e,
1179
+ data: e,
1180
1180
  onSubmit: a,
1181
- initialLanguage: t,
1182
- supportedForms: r
1181
+ language: r,
1182
+ taxForms: t
1183
1183
  }),
1184
1184
  children: c
1185
1185
  }
1186
- ), [v, Na] = wn(), ya = {
1186
+ ), [M, Na] = wn(), ya = {
1187
1187
  button: {
1188
1188
  back: "Zurück",
1189
1189
  cancel: "Abbrechen",
@@ -2280,7 +2280,7 @@ const wn = () => {
2280
2280
  },
2281
2281
  option: {
2282
2282
  usPerson_yes: "Yes. I am a US Person",
2283
- usPerson_no: "No, I am not a US person",
2283
+ usPerson_no: "No. I am not a US person",
2284
2284
  regardedOwnerUsPerson_yes: "Yes. The regarded owner is a US Person",
2285
2285
  regardedOwnerUsPerson_no: "No, The regarded owner is not a US person",
2286
2286
  isIndividual_yes: "Yes. I am an individual",
@@ -4093,7 +4093,7 @@ const wn = () => {
4093
4093
  SK: "Saskatchewan",
4094
4094
  YT: "Territorio Yukón"
4095
4095
  }
4096
- }, xa = {
4096
+ }, Ra = {
4097
4097
  button: {
4098
4098
  back: "Terug",
4099
4099
  cancel: "Annuleren",
@@ -4578,7 +4578,7 @@ const wn = () => {
4578
4578
  SK: "Saskatchewan",
4579
4579
  YT: "Yukon"
4580
4580
  }
4581
- }, Ra = {
4581
+ }, Ha = {
4582
4582
  button: {
4583
4583
  back: "Tilbake",
4584
4584
  cancel: "Avbryt",
@@ -5063,7 +5063,7 @@ const wn = () => {
5063
5063
  SK: "Saskatchewan",
5064
5064
  YT: "Yukon-territoriet"
5065
5065
  }
5066
- }, Ha = {
5066
+ }, Ba = {
5067
5067
  button: {
5068
5068
  back: "Tillbaka",
5069
5069
  cancel: "Avbryt",
@@ -5553,66 +5553,66 @@ const wn = () => {
5553
5553
  "de-de": ya,
5554
5554
  "en-gb": va,
5555
5555
  "it-it": wa,
5556
- "nl-nl": xa,
5557
- "no-no": Ra,
5558
- "sv-se": Ha,
5556
+ "nl-nl": Ra,
5557
+ "no-no": Ha,
5558
+ "sv-se": Ba,
5559
5559
  "fr-fr": Ea,
5560
5560
  "es-es": Oa
5561
5561
  }, Nn = (e, a = "en-us") => {
5562
- const t = $[a].prompt[e];
5563
- return t || (console.log(
5562
+ const r = $[a].prompt[e];
5563
+ return r || (console.log(
5564
5564
  'Missing prompt for key: "' + e + '" in locale: "' + a + '"'
5565
5565
  ), e);
5566
- }, Ba = (e, a = "en-us") => {
5567
- const t = $[a].subPrompt[e];
5568
- return t || (console.log(
5566
+ }, xa = (e, a = "en-us") => {
5567
+ const r = $[a].subPrompt[e];
5568
+ return r || (console.log(
5569
5569
  'Missing subPrompt for key: "' + e + '" in locale: "' + a + '"'
5570
5570
  ), e);
5571
5571
  }, Pa = (e, a = "en-us") => {
5572
- const t = $[a].error[e];
5573
- return t || (console.log(
5572
+ const r = $[a].error[e];
5573
+ return r || (console.log(
5574
5574
  'Missing error for key: "' + e + '" in locale: "' + a + '"'
5575
5575
  ), e);
5576
- }, Fa = (e, a = "en-us") => {
5577
- const t = $[a].hint[e];
5578
- return t || (console.log(
5576
+ }, ka = (e, a = "en-us") => {
5577
+ const r = $[a].hint[e];
5578
+ return r || (console.log(
5579
5579
  'Missing hint for key: "' + e + '" in locale: "' + a + '"'
5580
5580
  ), e);
5581
- }, ka = (e, a = "en-us") => {
5582
- const t = $[a].text[e];
5583
- return t || (console.log(
5581
+ }, Ua = (e, a = "en-us") => {
5582
+ const r = $[a].text[e];
5583
+ return r || (console.log(
5584
5584
  'Missing text for key: "' + e + '" in locale: "' + a + '"'
5585
5585
  ), e);
5586
- }, Ua = (e, a = "en-us") => {
5587
- const t = $[a].title[e];
5588
- return t || (console.log(
5586
+ }, Fa = (e, a = "en-us") => {
5587
+ const r = $[a].title[e];
5588
+ return r || (console.log(
5589
5589
  'Missing title for key: "' + e + '" in locale: "' + a + '"'
5590
5590
  ), e);
5591
5591
  }, Da = (e, a = "en-us") => {
5592
- const t = $[a].button[e];
5593
- return t || (console.log(
5592
+ const r = $[a].button[e];
5593
+ return r || (console.log(
5594
5594
  'Missing button for key: "' + e + '" in locale: "' + a + '"'
5595
5595
  ), e);
5596
5596
  }, yn = (e, a = "en-us") => {
5597
5597
  if (!e)
5598
5598
  return "";
5599
- const t = $[a].option[e];
5600
- return t || (console.log(
5599
+ const r = $[a].option[e];
5600
+ return r || (console.log(
5601
5601
  'Missing option for key: "' + e + '" in locale: "' + a + '"'
5602
5602
  ), e);
5603
5603
  }, Ga = (e, a = "en-us") => {
5604
- const t = $[a].country[e];
5605
- return t || (console.log(
5604
+ const r = $[a].country[e];
5605
+ return r || (console.log(
5606
5606
  'Missing country for key: "' + e + '" in locale: "' + a + '"'
5607
5607
  ), e);
5608
5608
  }, La = (e, a = "en-us") => {
5609
- const t = $[a].usState[e];
5610
- return t || (console.log(
5609
+ const r = $[a].usState[e];
5610
+ return r || (console.log(
5611
5611
  'Missing usState for key: "' + e + '" in locale: "' + a + '"'
5612
5612
  ), e);
5613
5613
  }, ja = (e, a = "en-us") => {
5614
- const t = $[a].caProvince[e];
5615
- return t || (console.log(
5614
+ const r = $[a].caProvince[e];
5615
+ return r || (console.log(
5616
5616
  'Missing caProvince for key: "' + e + '" in locale: "' + a + '"'
5617
5617
  ), e);
5618
5618
  }, De = [
@@ -5633,20 +5633,20 @@ const wn = () => {
5633
5633
  "987654321",
5634
5634
  "098765432"
5635
5635
  ], Ge = /^\d{9}$|^\d{3}-\d{2}-\d{4}$|^\d{2}-\d{7}$/, nn = /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/, an = /^\d{5}$|^\d{5}-\d{4}$/, Le = (e, a) => {
5636
- if (a.accountHolderAddressCountry === "US" && y(e))
5636
+ if (a.accountHolderAddressCountry === "US" && v(e))
5637
5637
  return "required";
5638
5638
  }, T = (e) => {
5639
- if (y(e))
5639
+ if (v(e))
5640
5640
  return "required";
5641
- }, je = (e) => (a, t) => {
5642
- if (y(a) && (on(t[`accountHolderTaxResidenceForeignTin${e}`]) || t[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`] === "yes"))
5641
+ }, je = (e) => (a, r) => {
5642
+ if (v(a) && (on(r[`accountHolderTaxResidenceForeignTin${e}`]) || r[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`] === "yes"))
5643
5643
  return "required";
5644
- }, Ke = (e) => (a, t) => {
5645
- if (y(a) && on(t[`accountHolderTaxResidenceCountry${e}`]) && y(
5646
- t[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
5644
+ }, Ke = (e) => (a, r) => {
5645
+ if (v(a) && on(r[`accountHolderTaxResidenceCountry${e}`]) && v(
5646
+ r[`accountHolderTaxResidenceForeignTin${e}IsNotRequired`]
5647
5647
  ))
5648
5648
  return "required";
5649
- }, tn = {
5649
+ }, rn = {
5650
5650
  accountHolderUsPerson: T,
5651
5651
  accountHolderIsEuResident: T,
5652
5652
  accountHolderIsIndividual: T,
@@ -5663,7 +5663,7 @@ const wn = () => {
5663
5663
  accountHolderDbaName: (e, a) => {
5664
5664
  if (a.accountHolderUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
5665
5665
  a.accountHolderUsAccountType
5666
- ) && y(e))
5666
+ ) && v(e))
5667
5667
  return "required";
5668
5668
  },
5669
5669
  accountHolderDateOfBirth: (e, a) => {
@@ -5686,12 +5686,12 @@ const wn = () => {
5686
5686
  accountHolderAddressCity: T,
5687
5687
  accountHolderAddressZip: (e, a) => {
5688
5688
  if (a.accountHolderAddressCountry === "US") {
5689
- if (y(e))
5689
+ if (v(e))
5690
5690
  return "required";
5691
5691
  if (!an.test(e))
5692
5692
  return "mustBeFiveOrNineDigits";
5693
5693
  } else if (a.accountHolderAddressCountry === "CA") {
5694
- if (y(e))
5694
+ if (v(e))
5695
5695
  return "required";
5696
5696
  if (e.length !== 6)
5697
5697
  return "mustBeSixCharacters";
@@ -5705,12 +5705,12 @@ const wn = () => {
5705
5705
  accountHolderMailingAddressCity: T,
5706
5706
  accountHolderMailingAddressZip: (e, a) => {
5707
5707
  if (a.accountHolderMailingAddressCountry === "US") {
5708
- if (y(e))
5708
+ if (v(e))
5709
5709
  return "required";
5710
5710
  if (!an.test(e))
5711
5711
  return "mustBeFiveOrNineDigits";
5712
5712
  } else if (a.accountHolderMailingAddressCountry === "CA") {
5713
- if (y(e))
5713
+ if (v(e))
5714
5714
  return "required";
5715
5715
  if (e.length !== 6)
5716
5716
  return "mustBeSixCharacters";
@@ -5741,18 +5741,18 @@ const wn = () => {
5741
5741
  accountHolderVatIdentificationNumber: T,
5742
5742
  accountHolderVatCountry: T,
5743
5743
  accountHolderCityOfBirth: (e, a) => {
5744
- const { hasNoTaxId: t } = Te(a);
5745
- if (t && y(e))
5744
+ const { hasNoTaxId: r } = Te(a);
5745
+ if (r && v(e))
5746
5746
  return "required";
5747
5747
  },
5748
5748
  accountHolderCountryOfBirth: (e, a) => {
5749
- const { hasNoTaxId: t } = Te(a);
5750
- if (t && y(e))
5749
+ const { hasNoTaxId: r } = Te(a);
5750
+ if (r && v(e))
5751
5751
  return "required";
5752
5752
  },
5753
5753
  accountHolderTaxResidenceCountry1: T,
5754
5754
  accountHolderTaxResidenceForeignTin1: (e, a) => {
5755
- if (y(a.accountHolderTaxResidenceForeignTin1IsNotRequired) && y(e))
5755
+ if (v(a.accountHolderTaxResidenceForeignTin1IsNotRequired) && v(e))
5756
5756
  return "required";
5757
5757
  },
5758
5758
  accountHolderTaxResidenceCountry2: je("2"),
@@ -5776,7 +5776,7 @@ const wn = () => {
5776
5776
  regardedOwnerDbaName: (e, a) => {
5777
5777
  if (a.regardedOwnerUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
5778
5778
  a.regardedOwnerUsAccountType
5779
- ) && y(e))
5779
+ ) && v(e))
5780
5780
  return "required";
5781
5781
  },
5782
5782
  regardedOwnerDateOfBirth: T,
@@ -5786,7 +5786,7 @@ const wn = () => {
5786
5786
  regardedOwnerAddressCity: T,
5787
5787
  regardedOwnerAddressZip: (e, a) => {
5788
5788
  if (a.regardedOwnerAddressCountry === "US") {
5789
- if (y(e))
5789
+ if (v(e))
5790
5790
  return "required";
5791
5791
  if (!/^\d{5}$|^\d{5}-\d{4}|^\d{9}$/.test(e))
5792
5792
  return "mustBeFiveOrNineDigits";
@@ -5798,12 +5798,12 @@ const wn = () => {
5798
5798
  regardedOwnerMailingAddressCity: T,
5799
5799
  regardedOwnerMailingAddressZip: (e, a) => {
5800
5800
  if (a.regardedOwnerMailingAddressCountry === "US") {
5801
- if (y(e))
5801
+ if (v(e))
5802
5802
  return "required";
5803
5803
  if (!an.test(e))
5804
5804
  return "mustBeFiveOrNineDigits";
5805
5805
  } else if (a.regardedOwnerMailingAddressCountry === "CA") {
5806
- if (y(e))
5806
+ if (v(e))
5807
5807
  return "required";
5808
5808
  if (e.length !== 6)
5809
5809
  return "mustBeSixCharacters";
@@ -5828,12 +5828,12 @@ const wn = () => {
5828
5828
  return "mustBeNineDigits";
5829
5829
  },
5830
5830
  regardedOwnerForeignTin: (e, a) => {
5831
- const { isW8: t } = Te(a);
5832
- if (t && (e === void 0 || e === "") && a.regardedOwnerForeignTinIsNotRequired !== "yes")
5831
+ const { isW8: r } = Te(a);
5832
+ if (r && (e === void 0 || e === "") && a.regardedOwnerForeignTinIsNotRequired !== "yes")
5833
5833
  return "required";
5834
5834
  },
5835
5835
  signature: (e, a) => {
5836
- if (y(e))
5836
+ if (v(e))
5837
5837
  return "required";
5838
5838
  if (e !== a.accountHolderName && (a.accountHolderUsAccountType === "individual" || a.accountHolderForeignAccountType === "individual"))
5839
5839
  return "mustMatchName";
@@ -5845,64 +5845,64 @@ const wn = () => {
5845
5845
  const {
5846
5846
  language: e,
5847
5847
  data: a,
5848
- supportedForms: t
5849
- } = W(), [r, c] = Z(a), [s, m] = Z({}), [u, g] = Z(!1), [d, h] = Z(
5848
+ supportedForms: r
5849
+ } = W(), [t, c] = Z(a), [s, m] = Z({}), [u, g] = Z(!1), [d, f] = Z(
5850
5850
  /* @__PURE__ */ new Set()
5851
- ), b = ae(
5852
- () => Ta(r, t),
5853
- [r, t]
5854
- ), M = Ve(
5855
- (f, L) => {
5856
- if (L !== r[f]) {
5851
+ ), I = ae(
5852
+ () => Ta(t, r),
5853
+ [t, r]
5854
+ ), y = Ve(
5855
+ (h, L) => {
5856
+ if (L !== t[h]) {
5857
5857
  const J = {
5858
- ...r,
5859
- [f]: L
5858
+ ...t,
5859
+ [h]: L
5860
5860
  };
5861
5861
  c(J);
5862
5862
  }
5863
5863
  },
5864
- [r]
5864
+ [t]
5865
5865
  );
5866
5866
  X(() => {
5867
- const f = Object.keys(r).reduce((L, J) => {
5868
- var Re;
5867
+ const h = Object.keys(t).reduce((L, J) => {
5868
+ var He;
5869
5869
  if (d.has(J)) {
5870
- const He = (Re = tn[J]) == null ? void 0 : Re.call(tn, r[J], r);
5871
- He && (L[J] = He);
5870
+ const Be = (He = rn[J]) == null ? void 0 : He.call(rn, t[J], t);
5871
+ Be && (L[J] = Be);
5872
5872
  }
5873
5873
  return L;
5874
5874
  }, {});
5875
- m(f);
5876
- }, [r, d]);
5877
- const U = () => {
5875
+ m(h);
5876
+ }, [t, d]);
5877
+ const F = () => {
5878
5878
  g(!0);
5879
5879
  }, V = () => {
5880
5880
  g(!1);
5881
- }, w = Object.keys(s).length === 0, G = Ka(), z = pa(r), x = {
5881
+ }, w = Object.keys(s).length === 0, G = Ka(), z = pa(t), R = {
5882
5882
  accountHolderUsSmllcElection: "smllcElection"
5883
- }, ue = (f) => z[f] ? z[f] : f, q = (f) => x[f] ? x[f] : (console.log("No subPrompt key found for key: ", f), f), Ae = (f) => G[f] ? G[f] : f, Ie = (f) => Fa(Ae(f), e), Se = (f) => ka(f, e), be = (f) => Ua(f, e), me = (f) => Pa(f, e), ge = (f) => Da(f, e), ce = (f) => Nn(ue(f), e), he = (f) => Nn(ue(f), e) + (s[f] ? "*" : ""), D = (f) => Ba(q(f), e), Y = Ve(
5884
- (f) => {
5885
- if (f)
5886
- return yn(f, e) ? yn(f, e) : f;
5883
+ }, ue = (h) => z[h] ? z[h] : h, q = (h) => R[h] ? R[h] : (console.log("No subPrompt key found for key: ", h), h), Ae = (h) => G[h] ? G[h] : h, Ie = (h) => ka(Ae(h), e), Se = (h) => Ua(h, e), be = (h) => Fa(h, e), me = (h) => Pa(h, e), ge = (h) => Da(h, e), ce = (h) => Nn(ue(h), e), he = (h) => Nn(ue(h), e) + (s[h] ? "*" : ""), D = (h) => xa(q(h), e), Y = Ve(
5884
+ (h) => {
5885
+ if (h)
5886
+ return yn(h, e) ? yn(h, e) : h;
5887
5887
  },
5888
5888
  [e]
5889
5889
  ), ee = Ve(
5890
- (f) => f ? Ga(f, e) : "",
5890
+ (h) => h ? Ga(h, e) : "",
5891
5891
  [e]
5892
- ), fe = (f) => f ? La(f, e) : "", O = (f) => f ? ja(f, e) : "", F = {
5893
- accountHolderDbaName: !!r.accountHolderUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
5894
- r.accountHolderUsAccountType
5892
+ ), fe = (h) => h ? La(h, e) : "", O = (h) => h ? ja(h, e) : "", k = {
5893
+ accountHolderDbaName: !!t.accountHolderUsAccountType && ["cCorporation", "sCorporation", "partnership"].includes(
5894
+ t.accountHolderUsAccountType
5895
5895
  )
5896
5896
  };
5897
5897
  return {
5898
- fields: r,
5899
- setValue: M,
5898
+ fields: t,
5899
+ setValue: y,
5900
5900
  errors: s,
5901
5901
  isErrorFree: w,
5902
5902
  showErrors: u,
5903
- exposeErrors: U,
5903
+ exposeErrors: F,
5904
5904
  hideErrors: V,
5905
- requiredFields: F,
5905
+ requiredFields: k,
5906
5906
  getLocalButton: ge,
5907
5907
  getLocalCaProvince: O,
5908
5908
  getLocalCountry: ee,
@@ -5915,22 +5915,22 @@ const wn = () => {
5915
5915
  getLocalTitle: be,
5916
5916
  getLocalUsState: fe,
5917
5917
  getRequiredLocalPrompt: he,
5918
- visibleQuestions: b,
5919
- hideField: (f) => {
5920
- d.has(f) && h((L) => new Set([...L].filter((J) => J !== f))), M(f, void 0);
5918
+ visibleQuestions: I,
5919
+ hideField: (h) => {
5920
+ d.has(h) && f((L) => new Set([...L].filter((J) => J !== h))), y(h, void 0);
5921
5921
  },
5922
- showField: (f) => {
5923
- d.has(f) || h((L) => /* @__PURE__ */ new Set([...L, f]));
5922
+ showField: (h) => {
5923
+ d.has(h) || f((L) => /* @__PURE__ */ new Set([...L, h]));
5924
5924
  }
5925
5925
  };
5926
- }, ie = ({ children: e }) => /* @__PURE__ */ n.jsx(Na, { value: Wa(), children: e }), te = ({
5926
+ }, ie = ({ children: e }) => /* @__PURE__ */ n.jsx(Na, { value: Wa(), children: e }), re = ({
5927
5927
  onBack: e,
5928
5928
  onCancel: a,
5929
- onNext: t,
5930
- onSubmit: r,
5929
+ onNext: r,
5930
+ onSubmit: t,
5931
5931
  onReset: c
5932
5932
  }) => {
5933
- const { isErrorFree: s, exposeErrors: m, getLocalButton: u } = v(), g = s ? t : m, d = s ? r : m;
5933
+ const { isErrorFree: s, exposeErrors: m, getLocalButton: u } = M(), g = s ? r : m, d = s ? t : m;
5934
5934
  return /* @__PURE__ */ n.jsxs("div", { className: "taxbit-stepActions", children: [
5935
5935
  /* @__PURE__ */ n.jsxs("div", { className: "taxbit-secondaryActions", children: [
5936
5936
  a && /* @__PURE__ */ n.jsx("button", { onClick: a, tabIndex: -1, children: u("cancel") }),
@@ -5938,12 +5938,12 @@ const wn = () => {
5938
5938
  c && /* @__PURE__ */ n.jsx("button", { onClick: c, children: u("reset") })
5939
5939
  ] }),
5940
5940
  /* @__PURE__ */ n.jsxs("div", { className: "taxbit-primaryActions", children: [
5941
- t && /* @__PURE__ */ n.jsx("button", { onClick: g, children: u("next") }),
5942
- r && /* @__PURE__ */ n.jsx("button", { onClick: d, children: u("submit") })
5941
+ r && /* @__PURE__ */ n.jsx("button", { onClick: g, children: u("next") }),
5942
+ t && /* @__PURE__ */ n.jsx("button", { onClick: d, children: u("submit") })
5943
5943
  ] })
5944
5944
  ] });
5945
5945
  }, We = ({ address: e, className: a }) => {
5946
- const { getLocalCountry: t, getLocalUsState: r, getLocalCaProvince: c } = v(), s = e.country === "US" ? r(e.state) : e.country === "CA" ? c(e.state) : e.state;
5946
+ const { getLocalCountry: r, getLocalUsState: t, getLocalCaProvince: c } = M(), s = e.country === "US" ? t(e.state) : e.country === "CA" ? c(e.state) : e.state;
5947
5947
  return /* @__PURE__ */ n.jsxs("div", { className: `${a} address`, children: [
5948
5948
  /* @__PURE__ */ n.jsx("div", { children: e.street }),
5949
5949
  e.street2 && /* @__PURE__ */ n.jsx("div", { children: e.street2 }),
@@ -5952,31 +5952,31 @@ const wn = () => {
5952
5952
  e.state && `, ${s}`,
5953
5953
  e.zip && `, ${e.zip}`
5954
5954
  ] }),
5955
- e.country && /* @__PURE__ */ n.jsx("div", { children: t(e.country) })
5955
+ e.country && /* @__PURE__ */ n.jsx("div", { children: r(e.country) })
5956
5956
  ] });
5957
5957
  }, Ee = ({
5958
5958
  name: e,
5959
5959
  hint: a
5960
5960
  }) => {
5961
- const { errors: t, showErrors: r, getLocalError: c, getLocalHint: s } = v(), m = t[e] ? c(t[e]) : "";
5962
- return m && r ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-errorMessage", children: m }) : a ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-hint", children: s(e) }) : null;
5961
+ const { errors: r, showErrors: t, getLocalError: c, getLocalHint: s } = M(), m = r[e] ? c(r[e]) : "";
5962
+ return m && t ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-errorMessage", children: m }) : a ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-hint", children: s(e) }) : null;
5963
5963
  }, we = ({
5964
5964
  children: e,
5965
5965
  className: a
5966
- }) => /* @__PURE__ */ n.jsx("div", { className: xn(a, "taxbit-inputStatus"), children: e }), re = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: "taxbit-page", children: e }), P = ({
5966
+ }) => /* @__PURE__ */ n.jsx("div", { className: Rn(a, "taxbit-inputStatus"), children: e }), te = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: "taxbit-page", children: e }), P = ({
5967
5967
  label: e,
5968
5968
  subLabel: a,
5969
- value: t,
5970
- children: r,
5969
+ value: r,
5970
+ children: t,
5971
5971
  onEdit: c,
5972
5972
  name: s,
5973
5973
  className: m
5974
5974
  }) => {
5975
- const { errors: u, showErrors: g, getLocalButton: d } = v();
5975
+ const { errors: u, showErrors: g, getLocalButton: d } = M();
5976
5976
  return /* @__PURE__ */ n.jsxs(
5977
5977
  "div",
5978
5978
  {
5979
- className: xn(
5979
+ className: Rn(
5980
5980
  "taxbit-row",
5981
5981
  s && g && u[s] && "taxbit-error",
5982
5982
  m
@@ -5987,26 +5987,26 @@ const wn = () => {
5987
5987
  a && /* @__PURE__ */ n.jsx("div", { className: "taxbit-subLabel", children: a })
5988
5988
  ] }),
5989
5989
  /* @__PURE__ */ n.jsxs("div", { className: "taxbit-rowContent", children: [
5990
- r ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-rowValue", children: r }) : /* @__PURE__ */ n.jsx("div", { className: "taxbit-rowValue", children: t }),
5990
+ t ? /* @__PURE__ */ n.jsx("div", { className: "taxbit-rowValue", children: t }) : /* @__PURE__ */ n.jsx("div", { className: "taxbit-rowValue", children: r }),
5991
5991
  c && /* @__PURE__ */ n.jsx("div", { className: "taxbit-rowActions", children: /* @__PURE__ */ n.jsx("button", { onClick: c, className: "taxbit-rowActionButton", children: d("edit") }) })
5992
5992
  ] })
5993
5993
  ]
5994
5994
  }
5995
5995
  );
5996
- }, Q = ({ title: e, showIf: a = !0, children: t }) => a ? /* @__PURE__ */ n.jsxs("div", { className: "taxbit-section", children: [
5996
+ }, Q = ({ title: e, showIf: a = !0, children: r }) => a ? /* @__PURE__ */ n.jsxs("div", { className: "taxbit-section", children: [
5997
5997
  e && /* @__PURE__ */ n.jsx("div", { className: "taxbit-sectionTitle", children: e }),
5998
- t
5999
- ] }) : t, oe = ({
5998
+ r
5999
+ ] }) : r, oe = ({
6000
6000
  title: e,
6001
6001
  subtitle: a
6002
6002
  }) => /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
6003
6003
  /* @__PURE__ */ n.jsx("h3", { className: "taxbit-title", children: e }),
6004
6004
  a && /* @__PURE__ */ n.jsx("p", { children: a })
6005
- ] }), Bn = ({ label: e, subLabel: a, name: t }) => {
6006
- const { fields: r, setValue: c, getLocalPrompt: s, getLocalSubPrompt: m } = v(), u = (h) => {
6007
- c(t, h);
6008
- }, g = r[t], d = (h) => {
6009
- u(h.target.checked ? "yes" : void 0);
6005
+ ] }), xn = ({ label: e, subLabel: a, name: r }) => {
6006
+ const { fields: t, setValue: c, getLocalPrompt: s, getLocalSubPrompt: m } = M(), u = (f) => {
6007
+ c(r, f);
6008
+ }, g = t[r], d = (f) => {
6009
+ u(f.target.checked ? "yes" : void 0);
6010
6010
  };
6011
6011
  return /* @__PURE__ */ n.jsxs(we, { children: [
6012
6012
  /* @__PURE__ */ n.jsxs("div", { className: "taxbit-checkBox-label", children: [
@@ -6014,24 +6014,24 @@ const wn = () => {
6014
6014
  "input",
6015
6015
  {
6016
6016
  type: "checkbox",
6017
- id: t,
6018
- name: t,
6017
+ id: r,
6018
+ name: r,
6019
6019
  checked: g === "yes",
6020
6020
  onChange: d,
6021
6021
  className: "taxbit-checkBox"
6022
6022
  }
6023
6023
  ),
6024
- /* @__PURE__ */ n.jsxs("label", { htmlFor: t, children: [
6025
- e && s(t),
6026
- a && /* @__PURE__ */ n.jsx("div", { className: "taxbit-subLabel", children: m(t) })
6024
+ /* @__PURE__ */ n.jsxs("label", { htmlFor: r, children: [
6025
+ e && s(r),
6026
+ a && /* @__PURE__ */ n.jsx("div", { className: "taxbit-subLabel", children: m(r) })
6027
6027
  ] })
6028
6028
  ] }),
6029
- /* @__PURE__ */ n.jsx(Ee, { name: t })
6029
+ /* @__PURE__ */ n.jsx(Ee, { name: r })
6030
6030
  ] });
6031
6031
  }, Va = ({ name: e, options: a }) => {
6032
- const { fields: t, setValue: r, hideErrors: c, getLocalOption: s } = v(), m = (d) => {
6033
- r(e, d), c();
6034
- }, u = t[e], g = (d) => {
6032
+ const { fields: r, setValue: t, hideErrors: c, getLocalOption: s } = M(), m = (d) => {
6033
+ t(e, d), c();
6034
+ }, u = r[e], g = (d) => {
6035
6035
  m(d.target.value);
6036
6036
  };
6037
6037
  return /* @__PURE__ */ n.jsxs(we, { children: [
@@ -6054,14 +6054,14 @@ const wn = () => {
6054
6054
  }, le = ({
6055
6055
  name: e,
6056
6056
  options: a,
6057
- addBlank: t = !0,
6058
- className: r,
6057
+ addBlank: r = !0,
6058
+ className: t,
6059
6059
  onChange: c
6060
6060
  }) => {
6061
- const { fields: s, setValue: m, getLocalOption: u } = v(), g = s[e], d = (h) => {
6062
- c && c(), m(e, h.target.value);
6061
+ const { fields: s, setValue: m, getLocalOption: u } = M(), g = s[e], d = (f) => {
6062
+ c && c(), m(e, f.target.value);
6063
6063
  };
6064
- return /* @__PURE__ */ n.jsxs(we, { className: r, children: [
6064
+ return /* @__PURE__ */ n.jsxs(we, { className: t, children: [
6065
6065
  /* @__PURE__ */ n.jsxs(
6066
6066
  "select",
6067
6067
  {
@@ -6070,8 +6070,8 @@ const wn = () => {
6070
6070
  value: g,
6071
6071
  className: "taxbit-select",
6072
6072
  children: [
6073
- t && /* @__PURE__ */ n.jsx("option", { value: "" }),
6074
- a.map((h) => /* @__PURE__ */ n.jsx("option", { value: h.value, children: "label" in h ? h.label : u(h.value) }, h.value))
6073
+ r && /* @__PURE__ */ n.jsx("option", { value: "" }),
6074
+ a.map((f) => /* @__PURE__ */ n.jsx("option", { value: f.value, children: "label" in f ? f.label : u(f.value) }, f.value))
6075
6075
  ]
6076
6076
  }
6077
6077
  ),
@@ -6080,11 +6080,11 @@ const wn = () => {
6080
6080
  }, _ = ({
6081
6081
  name: e,
6082
6082
  className: a,
6083
- onChange: t,
6084
- hint: r
6083
+ onChange: r,
6084
+ hint: t
6085
6085
  }) => {
6086
- const { fields: c, setValue: s } = v(), m = c[e] || "", u = (g) => {
6087
- const d = t ? t(g.target.value) : g.target.value;
6086
+ const { fields: c, setValue: s } = M(), m = c[e] || "", u = (g) => {
6087
+ const d = r ? r(g.target.value) : g.target.value;
6088
6088
  s(e, d);
6089
6089
  };
6090
6090
  return /* @__PURE__ */ n.jsxs(we, { className: a, children: [
@@ -6098,11 +6098,11 @@ const wn = () => {
6098
6098
  className: "taxbit-input"
6099
6099
  }
6100
6100
  ),
6101
- /* @__PURE__ */ n.jsx(Ee, { name: e, hint: r })
6101
+ /* @__PURE__ */ n.jsx(Ee, { name: e, hint: t })
6102
6102
  ] });
6103
6103
  }, za = ({ name: e }) => {
6104
- const { fields: a, setValue: t, getLocalPrompt: r } = v(), c = a[e], s = () => {
6105
- t(e, c === void 0 ? "yes" : void 0);
6104
+ const { fields: a, setValue: r, getLocalPrompt: t } = M(), c = a[e], s = () => {
6105
+ r(e, c === void 0 ? "yes" : void 0);
6106
6106
  };
6107
6107
  return /* @__PURE__ */ n.jsxs(we, { children: [
6108
6108
  /* @__PURE__ */ n.jsx("div", { className: "taxbit-checkBox-label", children: /* @__PURE__ */ n.jsx(
@@ -6113,7 +6113,7 @@ const wn = () => {
6113
6113
  name: e,
6114
6114
  onClick: s,
6115
6115
  className: "taxbit-toggle-button",
6116
- children: r(e)
6116
+ children: t(e)
6117
6117
  }
6118
6118
  ) }),
6119
6119
  /* @__PURE__ */ n.jsx(Ee, { name: e })
@@ -6412,7 +6412,7 @@ const wn = () => {
6412
6412
  "SE",
6413
6413
  "SI",
6414
6414
  "SK"
6415
- ], xe = Ja.map((e) => ({
6415
+ ], Re = Ja.map((e) => ({
6416
6416
  value: e
6417
6417
  })), _a = Za.map((e) => ({
6418
6418
  value: e
@@ -6453,7 +6453,7 @@ const wn = () => {
6453
6453
  { value: "partnership" },
6454
6454
  { value: "trust" },
6455
6455
  { value: "other" }
6456
- ], Fn = [
6456
+ ], kn = [
6457
6457
  { value: "simpleTrust" },
6458
6458
  { value: "complexTrust" },
6459
6459
  { value: "grantorTrust" }
@@ -6484,11 +6484,11 @@ const wn = () => {
6484
6484
  { value: "trustEstate" },
6485
6485
  { value: "other" },
6486
6486
  { value: "disregardedEntity" }
6487
- ], kn = [
6487
+ ], Un = [
6488
6488
  { value: "cCorporation" },
6489
6489
  { value: "sCorporation" },
6490
6490
  { value: "partnership" }
6491
- ], ti = [
6491
+ ], ri = [
6492
6492
  { value: "individual" },
6493
6493
  { value: "llc" },
6494
6494
  { value: "cCorporation" },
@@ -6496,7 +6496,7 @@ const wn = () => {
6496
6496
  { value: "partnership" },
6497
6497
  { value: "trustEstate" },
6498
6498
  { value: "other" }
6499
- ], ri = [
6499
+ ], ti = [
6500
6500
  "AL",
6501
6501
  "AK",
6502
6502
  "AS",
@@ -6557,13 +6557,13 @@ const wn = () => {
6557
6557
  "WV",
6558
6558
  "WI",
6559
6559
  "WY"
6560
- ], oi = ri.map((e) => ({
6560
+ ], oi = ti.map((e) => ({
6561
6561
  value: e
6562
6562
  })), de = [{ value: "yes" }, { value: "no" }], p = ({
6563
6563
  label: e,
6564
6564
  subLabel: a,
6565
- name: t,
6566
- children: r,
6565
+ name: r,
6566
+ children: t,
6567
6567
  onEdit: c
6568
6568
  }) => {
6569
6569
  const {
@@ -6572,62 +6572,62 @@ const wn = () => {
6572
6572
  hideField: u,
6573
6573
  getRequiredLocalPrompt: g,
6574
6574
  getLocalSubPrompt: d
6575
- } = v(), h = !!s[t];
6575
+ } = M(), f = !!s[r];
6576
6576
  if (X(() => {
6577
- h ? m(t) : u(t);
6578
- }, [h, t, m, u]), h)
6577
+ f ? m(r) : u(r);
6578
+ }, [f, r, m, u]), f)
6579
6579
  return /* @__PURE__ */ n.jsx(
6580
6580
  P,
6581
6581
  {
6582
- name: t,
6583
- label: e ? g(t) : void 0,
6584
- subLabel: a ? d(t) : void 0,
6582
+ name: r,
6583
+ label: e ? g(r) : void 0,
6584
+ subLabel: a ? d(r) : void 0,
6585
6585
  onEdit: c,
6586
- children: r
6586
+ children: t
6587
6587
  }
6588
6588
  );
6589
- }, B = ({
6589
+ }, x = ({
6590
6590
  name: e,
6591
6591
  label: a,
6592
- subLabel: t
6593
- }) => /* @__PURE__ */ n.jsx(p, { name: e, children: /* @__PURE__ */ n.jsx(Bn, { label: a, subLabel: t, name: e }) }), H = ({
6592
+ subLabel: r
6593
+ }) => /* @__PURE__ */ n.jsx(p, { name: e, children: /* @__PURE__ */ n.jsx(xn, { label: a, subLabel: r, name: e }) }), B = ({
6594
6594
  name: e,
6595
6595
  label: a,
6596
- subLabel: t,
6597
- options: r
6598
- }) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: t, children: /* @__PURE__ */ n.jsx(Va, { name: e, options: r }) }), ze = ({
6596
+ subLabel: r,
6597
+ options: t
6598
+ }) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ n.jsx(Va, { name: e, options: t }) }), ze = ({
6599
6599
  name: e,
6600
6600
  label: a,
6601
- options: t,
6602
- subLabel: r,
6601
+ options: r,
6602
+ subLabel: t,
6603
6603
  addBlank: c,
6604
6604
  onChange: s
6605
- }) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ n.jsx(
6605
+ }) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: t, children: /* @__PURE__ */ n.jsx(
6606
6606
  le,
6607
6607
  {
6608
6608
  name: e,
6609
- options: t,
6609
+ options: r,
6610
6610
  addBlank: c,
6611
6611
  onChange: s
6612
6612
  }
6613
6613
  ) }), K = ({
6614
6614
  name: e,
6615
6615
  label: a,
6616
- hint: t,
6617
- subLabel: r,
6616
+ hint: r,
6617
+ subLabel: t,
6618
6618
  onChange: c
6619
- }) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: r, children: /* @__PURE__ */ n.jsx(_, { name: e, onChange: c, hint: t }) }), si = () => {
6620
- const { fields: e, getLocalTitle: a, getLocalOption: t } = v(), { onPersistAccountHolderData: r, onCancel: c } = W(), s = de.map((u) => ({
6619
+ }) => /* @__PURE__ */ n.jsx(p, { name: e, label: a, subLabel: t, children: /* @__PURE__ */ n.jsx(_, { name: e, onChange: c, hint: r }) }), si = () => {
6620
+ const { fields: e, getLocalTitle: a, getLocalOption: r } = M(), { onPersistAccountHolderData: t, onCancel: c } = W(), s = de.map((u) => ({
6621
6621
  ...u,
6622
- label: t(`usPerson_${u.value}`)
6622
+ label: r(`usPerson_${u.value}`)
6623
6623
  })), m = de.map((u) => ({
6624
6624
  ...u,
6625
- label: t(`isIndividual_${u.value}`)
6625
+ label: r(`isIndividual_${u.value}`)
6626
6626
  }));
6627
- return /* @__PURE__ */ n.jsxs(re, { children: [
6627
+ return /* @__PURE__ */ n.jsxs(te, { children: [
6628
6628
  /* @__PURE__ */ n.jsx(oe, { title: a("accountHolderClassification") }),
6629
6629
  /* @__PURE__ */ n.jsx(
6630
- H,
6630
+ B,
6631
6631
  {
6632
6632
  name: "accountHolderUsPerson",
6633
6633
  options: s,
@@ -6635,7 +6635,7 @@ const wn = () => {
6635
6635
  }
6636
6636
  ),
6637
6637
  /* @__PURE__ */ n.jsx(
6638
- H,
6638
+ B,
6639
6639
  {
6640
6640
  name: "accountHolderIsEuResident",
6641
6641
  options: de,
@@ -6643,7 +6643,7 @@ const wn = () => {
6643
6643
  }
6644
6644
  ),
6645
6645
  /* @__PURE__ */ n.jsx(
6646
- H,
6646
+ B,
6647
6647
  {
6648
6648
  name: "accountHolderIsIndividual",
6649
6649
  options: m,
@@ -6651,7 +6651,7 @@ const wn = () => {
6651
6651
  }
6652
6652
  ),
6653
6653
  /* @__PURE__ */ n.jsx(
6654
- H,
6654
+ B,
6655
6655
  {
6656
6656
  name: "accountHolderUsAccountType",
6657
6657
  options: ii,
@@ -6659,7 +6659,7 @@ const wn = () => {
6659
6659
  }
6660
6660
  ),
6661
6661
  /* @__PURE__ */ n.jsx(
6662
- H,
6662
+ B,
6663
6663
  {
6664
6664
  name: "accountHolderUsSmllcElection",
6665
6665
  options: de,
@@ -6668,16 +6668,16 @@ const wn = () => {
6668
6668
  }
6669
6669
  ),
6670
6670
  /* @__PURE__ */ n.jsx(
6671
- H,
6671
+ B,
6672
6672
  {
6673
6673
  name: "accountHolderUsLlcClassification",
6674
- options: kn,
6674
+ options: Un,
6675
6675
  label: !0
6676
6676
  }
6677
6677
  ),
6678
6678
  /* @__PURE__ */ n.jsx(K, { name: "accountHolderUsOtherClassification", label: !0 }),
6679
6679
  /* @__PURE__ */ n.jsx(
6680
- H,
6680
+ B,
6681
6681
  {
6682
6682
  name: "accountHolderUsTrustEstateEin",
6683
6683
  options: de,
@@ -6685,7 +6685,7 @@ const wn = () => {
6685
6685
  }
6686
6686
  ),
6687
6687
  /* @__PURE__ */ n.jsx(
6688
- H,
6688
+ B,
6689
6689
  {
6690
6690
  name: "accountHolderForeignAccountType",
6691
6691
  options: Xa,
@@ -6693,7 +6693,7 @@ const wn = () => {
6693
6693
  }
6694
6694
  ),
6695
6695
  /* @__PURE__ */ n.jsx(
6696
- H,
6696
+ B,
6697
6697
  {
6698
6698
  name: "accountHolderForeignOtherClassification",
6699
6699
  options: Pn,
@@ -6701,42 +6701,42 @@ const wn = () => {
6701
6701
  }
6702
6702
  ),
6703
6703
  /* @__PURE__ */ n.jsx(
6704
- H,
6704
+ B,
6705
6705
  {
6706
6706
  name: "accountHolderForeignTrustClassification",
6707
- options: Fn,
6707
+ options: kn,
6708
6708
  label: !0
6709
6709
  }
6710
6710
  ),
6711
6711
  /* @__PURE__ */ n.jsx(
6712
- te,
6712
+ re,
6713
6713
  {
6714
6714
  onCancel: c,
6715
- onNext: () => r(e)
6715
+ onNext: () => t(e)
6716
6716
  }
6717
6717
  )
6718
6718
  ] });
6719
6719
  }, ci = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(si, {}) }), qe = ({
6720
6720
  prompt: e,
6721
6721
  prefix: a,
6722
- showIf: t = !0
6722
+ showIf: r = !0
6723
6723
  }) => {
6724
6724
  const {
6725
- fields: r,
6725
+ fields: t,
6726
6726
  hideErrors: c,
6727
6727
  getLocalCountry: s,
6728
6728
  getLocalCaProvince: m,
6729
6729
  getLocalUsState: u,
6730
6730
  getRequiredLocalPrompt: g,
6731
6731
  hideField: d,
6732
- showField: h
6733
- } = v(), b = r[`${a}Country`], M = ae(
6734
- () => xe.map((w) => ({
6732
+ showField: f
6733
+ } = M(), I = t[`${a}Country`], y = ae(
6734
+ () => Re.map((w) => ({
6735
6735
  ...w,
6736
6736
  label: s(w.value)
6737
6737
  })).sort((w, G) => w.label.localeCompare(G.label)),
6738
6738
  [s]
6739
- ), U = ae(
6739
+ ), F = ae(
6740
6740
  () => oi.map((w) => ({
6741
6741
  ...w,
6742
6742
  label: u(w.value)
@@ -6750,8 +6750,8 @@ const wn = () => {
6750
6750
  [m]
6751
6751
  );
6752
6752
  if (X(() => {
6753
- t ? (h(`${a}Country`), h(`${a}Street`), h(`${a}Street2`), h(`${a}City`), h(`${a}State`)) : (d(`${a}Country`), d(`${a}Street`), d(`${a}Street2`), d(`${a}City`), d(`${a}State`));
6754
- }, [t, h, d, a]), t)
6753
+ r ? (f(`${a}Country`), f(`${a}Street`), f(`${a}Street2`), f(`${a}City`), f(`${a}State`)) : (d(`${a}Country`), d(`${a}Street`), d(`${a}Street2`), d(`${a}City`), d(`${a}State`));
6754
+ }, [r, f, d, a]), r)
6755
6755
  return /* @__PURE__ */ n.jsxs(Q, { title: e, children: [
6756
6756
  /* @__PURE__ */ n.jsx(
6757
6757
  P,
@@ -6762,7 +6762,7 @@ const wn = () => {
6762
6762
  le,
6763
6763
  {
6764
6764
  name: `${a}Country`,
6765
- options: M,
6765
+ options: y,
6766
6766
  onChange: c
6767
6767
  }
6768
6768
  )
@@ -6792,8 +6792,8 @@ const wn = () => {
6792
6792
  )}/${g("accountHolderAddressState")}`,
6793
6793
  children: [
6794
6794
  /* @__PURE__ */ n.jsx(_, { name: `${a}City`, className: "taxbit-city" }),
6795
- b !== "CA" && b !== "US" && /* @__PURE__ */ n.jsx(_, { name: `${a}State`, className: "taxbit-state" }),
6796
- b === "CA" && /* @__PURE__ */ n.jsx(
6795
+ I !== "CA" && I !== "US" && /* @__PURE__ */ n.jsx(_, { name: `${a}State`, className: "taxbit-state" }),
6796
+ I === "CA" && /* @__PURE__ */ n.jsx(
6797
6797
  le,
6798
6798
  {
6799
6799
  name: `${a}State`,
@@ -6801,12 +6801,12 @@ const wn = () => {
6801
6801
  options: V
6802
6802
  }
6803
6803
  ),
6804
- b === "US" && /* @__PURE__ */ n.jsx(
6804
+ I === "US" && /* @__PURE__ */ n.jsx(
6805
6805
  le,
6806
6806
  {
6807
6807
  name: `${a}State`,
6808
6808
  className: "taxbit-state",
6809
- options: U
6809
+ options: F
6810
6810
  }
6811
6811
  )
6812
6812
  ]
@@ -6822,14 +6822,14 @@ const wn = () => {
6822
6822
  )
6823
6823
  ] });
6824
6824
  }, di = () => {
6825
- const { onPersistCollectedData: e, goBack: a, onCancel: t, isW9: r, isW8: c } = W(), { fields: s, getLocalCountry: m, getLocalTitle: u } = v(), g = ae(
6826
- () => xe.map((d) => ({
6825
+ const { onPersistCollectedData: e, goBack: a, onCancel: r, isW9: t, isW8: c } = W(), { fields: s, getLocalCountry: m, getLocalTitle: u } = M(), g = ae(
6826
+ () => Re.map((d) => ({
6827
6827
  ...d,
6828
6828
  label: m(d.value)
6829
- })).sort((d, h) => d.label.localeCompare(h.label)),
6829
+ })).sort((d, f) => d.label.localeCompare(f.label)),
6830
6830
  [m]
6831
6831
  );
6832
- return /* @__PURE__ */ n.jsxs(re, { children: [
6832
+ return /* @__PURE__ */ n.jsxs(te, { children: [
6833
6833
  /* @__PURE__ */ n.jsx(oe, { title: u("accountHolderContactInformation") }),
6834
6834
  /* @__PURE__ */ n.jsx(
6835
6835
  ze,
@@ -6855,10 +6855,10 @@ const wn = () => {
6855
6855
  {
6856
6856
  prompt: u("permanentAddress"),
6857
6857
  prefix: "accountHolderAddress",
6858
- showIf: s.accountHolderIsEuResident === "yes" || c || r
6858
+ showIf: s.accountHolderIsEuResident === "yes" || c || t
6859
6859
  }
6860
6860
  ),
6861
- /* @__PURE__ */ n.jsx(B, { name: "accountHolderMailingAddressIsDifferent", label: !0 }),
6861
+ /* @__PURE__ */ n.jsx(x, { name: "accountHolderMailingAddressIsDifferent", label: !0 }),
6862
6862
  /* @__PURE__ */ n.jsx(
6863
6863
  qe,
6864
6864
  {
@@ -6868,9 +6868,9 @@ const wn = () => {
6868
6868
  }
6869
6869
  ),
6870
6870
  /* @__PURE__ */ n.jsx(
6871
- te,
6871
+ re,
6872
6872
  {
6873
- onCancel: t,
6873
+ onCancel: r,
6874
6874
  onBack: a,
6875
6875
  onNext: () => e(s)
6876
6876
  }
@@ -6879,8 +6879,8 @@ const wn = () => {
6879
6879
  }, li = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(di, {}) }), Oe = ({
6880
6880
  index: e,
6881
6881
  showIf: a = !0,
6882
- more: t,
6883
- countryOptions: r
6882
+ more: r,
6883
+ countryOptions: t
6884
6884
  }) => {
6885
6885
  const {
6886
6886
  fields: c,
@@ -6888,22 +6888,22 @@ const wn = () => {
6888
6888
  showField: m,
6889
6889
  getRequiredLocalPrompt: u,
6890
6890
  getLocalTitle: g
6891
- } = v(), d = `accountHolderTaxResidenceCountry${e}`, h = `accountHolderTaxResidenceForeignTin${e}`, b = `accountHolderTaxResidenceForeignTin${e}IsNotRequired`, M = `accountHolderShowTaxResidence${e + 1}`, U = `taxResidence${e}`;
6891
+ } = M(), d = `accountHolderTaxResidenceCountry${e}`, f = `accountHolderTaxResidenceForeignTin${e}`, I = `accountHolderTaxResidenceForeignTin${e}IsNotRequired`, y = `accountHolderShowTaxResidence${e + 1}`, F = `taxResidence${e}`;
6892
6892
  if (X(() => {
6893
- a ? (m(d), m(h), m(M), m(b)) : (s(d), s(h), s(M), s(b));
6893
+ a ? (m(d), m(f), m(y), m(I)) : (s(d), s(f), s(y), s(I));
6894
6894
  }, [
6895
6895
  a,
6896
6896
  m,
6897
6897
  s,
6898
6898
  d,
6899
- h,
6900
- M,
6901
- b
6899
+ f,
6900
+ y,
6901
+ I
6902
6902
  ]), a)
6903
6903
  return /* @__PURE__ */ n.jsxs(
6904
6904
  Q,
6905
6905
  {
6906
- title: g(U),
6906
+ title: g(F),
6907
6907
  showIf: c.accountHolderIsIndividual !== void 0,
6908
6908
  children: [
6909
6909
  /* @__PURE__ */ n.jsxs(
@@ -6911,35 +6911,35 @@ const wn = () => {
6911
6911
  {
6912
6912
  label: `${u(
6913
6913
  d
6914
- )}/${u(h)}`,
6914
+ )}/${u(f)}`,
6915
6915
  children: [
6916
6916
  /* @__PURE__ */ n.jsx(
6917
6917
  le,
6918
6918
  {
6919
6919
  name: d,
6920
6920
  className: "taxbit-country",
6921
- options: r
6921
+ options: t
6922
6922
  }
6923
6923
  ),
6924
- /* @__PURE__ */ n.jsx(_, { name: h })
6924
+ /* @__PURE__ */ n.jsx(_, { name: f })
6925
6925
  ]
6926
6926
  }
6927
6927
  ),
6928
- /* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsx(Bn, { label: !0, name: b }) }),
6929
- t ? /* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsx(za, { name: M }) }) : null
6928
+ /* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsx(xn, { label: !0, name: I }) }),
6929
+ r ? /* @__PURE__ */ n.jsx(P, { children: /* @__PURE__ */ n.jsx(za, { name: y }) }) : null
6930
6930
  ]
6931
6931
  }
6932
6932
  );
6933
6933
  }, ui = ({ countryOptions: e, showIf: a }) => {
6934
- const { showField: t, getRequiredLocalPrompt: r } = v();
6934
+ const { showField: r, getRequiredLocalPrompt: t } = M();
6935
6935
  return X(() => {
6936
- t("accountHolderVatCountry"), t("accountHolderVatIdentificationNumber");
6937
- }, [t]), /* @__PURE__ */ n.jsx(Q, { showIf: a, children: /* @__PURE__ */ n.jsxs(
6936
+ r("accountHolderVatCountry"), r("accountHolderVatIdentificationNumber");
6937
+ }, [r]), /* @__PURE__ */ n.jsx(Q, { showIf: a, children: /* @__PURE__ */ n.jsxs(
6938
6938
  P,
6939
6939
  {
6940
- label: `${r(
6940
+ label: `${t(
6941
6941
  "accountHolderVatCountry"
6942
- )}/${r("accountHolderVatIdentificationNumber")}`,
6942
+ )}/${t("accountHolderVatIdentificationNumber")}`,
6943
6943
  children: [
6944
6944
  /* @__PURE__ */ n.jsx(
6945
6945
  le,
@@ -6954,15 +6954,15 @@ const wn = () => {
6954
6954
  }
6955
6955
  ) });
6956
6956
  }, mi = ({ showIf: e }) => {
6957
- const { showField: a, getRequiredLocalPrompt: t } = v();
6957
+ const { showField: a, getRequiredLocalPrompt: r } = M();
6958
6958
  return X(() => {
6959
6959
  a("accountHolderFinancialAccountIdentifier"), a("accountHolderFinancialAccountName");
6960
6960
  }, [a]), /* @__PURE__ */ n.jsx(Q, { showIf: e, children: /* @__PURE__ */ n.jsxs(
6961
6961
  P,
6962
6962
  {
6963
- label: `${t(
6963
+ label: `${r(
6964
6964
  "accountHolderFinancialAccountIdentifier"
6965
- )}/${t("accountHolderFinancialAccountName")}`,
6965
+ )}/${r("accountHolderFinancialAccountName")}`,
6966
6966
  children: [
6967
6967
  /* @__PURE__ */ n.jsx(_, { name: "accountHolderFinancialAccountIdentifier" }),
6968
6968
  /* @__PURE__ */ n.jsx(_, { name: "accountHolderFinancialAccountName" })
@@ -6970,37 +6970,37 @@ const wn = () => {
6970
6970
  }
6971
6971
  ) });
6972
6972
  }, gi = () => {
6973
- const { onPersistCollectedData: e, goBack: a, onCancel: t } = W(), { fields: r, getLocalTitle: c, getLocalCountry: s } = v(), m = ae(
6973
+ const { onPersistCollectedData: e, goBack: a, onCancel: r } = W(), { fields: t, getLocalTitle: c, getLocalCountry: s } = M(), m = ae(
6974
6974
  () => _a.map((g) => ({
6975
6975
  ...g,
6976
6976
  label: s(g.value)
6977
6977
  })).sort((g, d) => g.label.localeCompare(d.label)),
6978
6978
  [s]
6979
6979
  ), u = ae(
6980
- () => xe.map((g) => ({
6980
+ () => Re.map((g) => ({
6981
6981
  ...g,
6982
6982
  label: s(g.value)
6983
6983
  })).sort((g, d) => g.label.localeCompare(d.label)),
6984
6984
  [s]
6985
6985
  );
6986
- return /* @__PURE__ */ n.jsxs(re, { children: [
6986
+ return /* @__PURE__ */ n.jsxs(te, { children: [
6987
6987
  /* @__PURE__ */ n.jsx(oe, { title: c("accountHolderTaxInformation") }),
6988
6988
  /* @__PURE__ */ n.jsx(K, { name: "accountHolderUsTin", label: !0 }),
6989
6989
  /* @__PURE__ */ n.jsx(K, { name: "accountHolderForeignTin", label: !0 }),
6990
- /* @__PURE__ */ n.jsx(B, { name: "accountHolderForeignTinIsNotRequired", label: !0 }),
6990
+ /* @__PURE__ */ n.jsx(x, { name: "accountHolderForeignTinIsNotRequired", label: !0 }),
6991
6991
  /* @__PURE__ */ n.jsx(mi, {}),
6992
6992
  /* @__PURE__ */ n.jsx(
6993
6993
  ui,
6994
6994
  {
6995
6995
  countryOptions: m,
6996
- showIf: r.accountHolderIsEuResident === "yes"
6996
+ showIf: t.accountHolderIsEuResident === "yes"
6997
6997
  }
6998
6998
  ),
6999
6999
  /* @__PURE__ */ n.jsx(
7000
7000
  Oe,
7001
7001
  {
7002
7002
  index: 1,
7003
- showIf: r.accountHolderIsIndividual !== void 0,
7003
+ showIf: t.accountHolderIsIndividual !== void 0,
7004
7004
  countryOptions: m,
7005
7005
  more: !0
7006
7006
  }
@@ -7009,7 +7009,7 @@ const wn = () => {
7009
7009
  Oe,
7010
7010
  {
7011
7011
  index: 2,
7012
- showIf: r.accountHolderShowTaxResidence2 === "yes",
7012
+ showIf: t.accountHolderShowTaxResidence2 === "yes",
7013
7013
  countryOptions: u,
7014
7014
  more: !0
7015
7015
  }
@@ -7018,7 +7018,7 @@ const wn = () => {
7018
7018
  Oe,
7019
7019
  {
7020
7020
  index: 3,
7021
- showIf: r.accountHolderShowTaxResidence3 === "yes",
7021
+ showIf: t.accountHolderShowTaxResidence3 === "yes",
7022
7022
  countryOptions: u,
7023
7023
  more: !0
7024
7024
  }
@@ -7027,7 +7027,7 @@ const wn = () => {
7027
7027
  Oe,
7028
7028
  {
7029
7029
  index: 4,
7030
- showIf: r.accountHolderShowTaxResidence4 === "yes",
7030
+ showIf: t.accountHolderShowTaxResidence4 === "yes",
7031
7031
  countryOptions: u,
7032
7032
  more: !0
7033
7033
  }
@@ -7036,36 +7036,36 @@ const wn = () => {
7036
7036
  Oe,
7037
7037
  {
7038
7038
  index: 5,
7039
- showIf: r.accountHolderShowTaxResidence5 === "yes",
7039
+ showIf: t.accountHolderShowTaxResidence5 === "yes",
7040
7040
  countryOptions: u
7041
7041
  }
7042
7042
  ),
7043
7043
  /* @__PURE__ */ n.jsx(
7044
- te,
7044
+ re,
7045
7045
  {
7046
- onCancel: t,
7046
+ onCancel: r,
7047
7047
  onBack: a,
7048
- onNext: () => e(r)
7048
+ onNext: () => e(t)
7049
7049
  }
7050
7050
  )
7051
7051
  ] });
7052
7052
  }, hi = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(gi, {}) }), fi = () => {
7053
- const { onPersistCollectedData: e, goBack: a } = W(), { fields: t } = v();
7054
- return /* @__PURE__ */ n.jsxs(re, { children: [
7053
+ const { onPersistCollectedData: e, goBack: a } = W(), { fields: r } = M();
7054
+ return /* @__PURE__ */ n.jsxs(te, { children: [
7055
7055
  /* @__PURE__ */ n.jsx(oe, { title: "exemptions" }),
7056
7056
  /* @__PURE__ */ n.jsx(ze, { name: "exemptFatcaCode", options: Qa, label: !0 }),
7057
7057
  /* @__PURE__ */ n.jsx(ze, { name: "exemptPayeeCode", options: ai, label: !0 }),
7058
- /* @__PURE__ */ n.jsx(te, { onBack: a, onNext: () => e(t) })
7058
+ /* @__PURE__ */ n.jsx(re, { onBack: a, onNext: () => e(r) })
7059
7059
  ] });
7060
7060
  }, pi = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(fi, {}) }), Ci = () => {
7061
- const { fields: e, getLocalTitle: a, getLocalOption: t } = v(), { onPersistCollectedData: r, goBack: c } = W(), s = de.map((m) => ({
7061
+ const { fields: e, getLocalTitle: a, getLocalOption: r } = M(), { onPersistCollectedData: t, goBack: c } = W(), s = de.map((m) => ({
7062
7062
  ...m,
7063
- label: t(`usPerson_${m.value}`)
7063
+ label: r(`usPerson_${m.value}`)
7064
7064
  }));
7065
- return /* @__PURE__ */ n.jsxs(re, { children: [
7065
+ return /* @__PURE__ */ n.jsxs(te, { children: [
7066
7066
  /* @__PURE__ */ n.jsx(oe, { title: a("regardedOwnerClassification") }),
7067
7067
  /* @__PURE__ */ n.jsx(
7068
- H,
7068
+ B,
7069
7069
  {
7070
7070
  name: "regardedOwnerUsPerson",
7071
7071
  options: s,
@@ -7073,15 +7073,15 @@ const wn = () => {
7073
7073
  }
7074
7074
  ),
7075
7075
  /* @__PURE__ */ n.jsx(
7076
- H,
7076
+ B,
7077
7077
  {
7078
7078
  name: "regardedOwnerUsAccountType",
7079
- options: ti,
7079
+ options: ri,
7080
7080
  label: !0
7081
7081
  }
7082
7082
  ),
7083
7083
  /* @__PURE__ */ n.jsx(
7084
- H,
7084
+ B,
7085
7085
  {
7086
7086
  name: "regardedOwnerForeignAccountType",
7087
7087
  options: ei,
@@ -7089,16 +7089,16 @@ const wn = () => {
7089
7089
  }
7090
7090
  ),
7091
7091
  /* @__PURE__ */ n.jsx(
7092
- H,
7092
+ B,
7093
7093
  {
7094
7094
  name: "regardedOwnerUsLlcClassification",
7095
- options: kn,
7095
+ options: Un,
7096
7096
  label: !0
7097
7097
  }
7098
7098
  ),
7099
7099
  /* @__PURE__ */ n.jsx(K, { name: "regardedOwnerUsOtherClassification", label: !0 }),
7100
7100
  /* @__PURE__ */ n.jsx(
7101
- H,
7101
+ B,
7102
7102
  {
7103
7103
  name: "regardedOwnerUsTrustEstateEin",
7104
7104
  options: de,
@@ -7106,7 +7106,7 @@ const wn = () => {
7106
7106
  }
7107
7107
  ),
7108
7108
  /* @__PURE__ */ n.jsx(
7109
- H,
7109
+ B,
7110
7110
  {
7111
7111
  name: "regardedOwnerForeignOtherClassification",
7112
7112
  options: Pn,
@@ -7114,24 +7114,24 @@ const wn = () => {
7114
7114
  }
7115
7115
  ),
7116
7116
  /* @__PURE__ */ n.jsx(
7117
- H,
7117
+ B,
7118
7118
  {
7119
7119
  name: "regardedOwnerForeignTrustClassification",
7120
- options: Fn,
7120
+ options: kn,
7121
7121
  label: !0
7122
7122
  }
7123
7123
  ),
7124
- /* @__PURE__ */ n.jsx(te, { onBack: c, onNext: () => r(e) })
7124
+ /* @__PURE__ */ n.jsx(re, { onBack: c, onNext: () => t(e) })
7125
7125
  ] });
7126
7126
  }, Ti = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(Ci, {}) }), Ai = () => {
7127
- const { onPersistCollectedData: e, goBack: a, onCancel: t } = W(), { fields: r, getLocalCountry: c, getLocalTitle: s } = v(), m = ae(
7128
- () => xe.map((u) => ({
7127
+ const { onPersistCollectedData: e, goBack: a, onCancel: r } = W(), { fields: t, getLocalCountry: c, getLocalTitle: s } = M(), m = ae(
7128
+ () => Re.map((u) => ({
7129
7129
  ...u,
7130
7130
  label: c(u.value)
7131
7131
  })).sort((u, g) => u.label.localeCompare(g.label)),
7132
7132
  [c]
7133
7133
  );
7134
- return /* @__PURE__ */ n.jsxs(re, { children: [
7134
+ return /* @__PURE__ */ n.jsxs(te, { children: [
7135
7135
  /* @__PURE__ */ n.jsx(oe, { title: s("regardedOwnerContactInformation") }),
7136
7136
  /* @__PURE__ */ n.jsx(
7137
7137
  ze,
@@ -7144,37 +7144,37 @@ const wn = () => {
7144
7144
  /* @__PURE__ */ n.jsx(K, { label: !0, name: "regardedOwnerName" }),
7145
7145
  /* @__PURE__ */ n.jsx(K, { label: !0, name: "regardedOwnerDbaName" }),
7146
7146
  /* @__PURE__ */ n.jsx(qe, { prompt: "Permanent Address", prefix: "regardedOwnerAddress" }),
7147
- /* @__PURE__ */ n.jsx(B, { name: "regardedOwnerMailingAddressIsDifferent", label: !0 }),
7147
+ /* @__PURE__ */ n.jsx(x, { name: "regardedOwnerMailingAddressIsDifferent", label: !0 }),
7148
7148
  /* @__PURE__ */ n.jsx(
7149
7149
  qe,
7150
7150
  {
7151
7151
  prompt: "Mailing Address",
7152
7152
  prefix: "regardedOwnerMailingAddress",
7153
- showIf: r.regardedOwnerMailingAddressIsDifferent === "yes"
7153
+ showIf: t.regardedOwnerMailingAddressIsDifferent === "yes"
7154
7154
  }
7155
7155
  ),
7156
7156
  /* @__PURE__ */ n.jsx(
7157
- te,
7157
+ re,
7158
7158
  {
7159
- onCancel: t,
7159
+ onCancel: r,
7160
7160
  onBack: a,
7161
- onNext: () => e(r)
7161
+ onNext: () => e(t)
7162
7162
  }
7163
7163
  )
7164
7164
  ] });
7165
7165
  }, Ii = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(Ai, {}) }), Si = () => {
7166
- const { onPersistCollectedData: e, goBack: a } = W(), { fields: t, getLocalTitle: r } = v();
7167
- return /* @__PURE__ */ n.jsxs(re, { children: [
7168
- /* @__PURE__ */ n.jsx(oe, { title: r("regardedOwnerTaxInformation") }),
7166
+ const { onPersistCollectedData: e, goBack: a } = W(), { fields: r, getLocalTitle: t } = M();
7167
+ return /* @__PURE__ */ n.jsxs(te, { children: [
7168
+ /* @__PURE__ */ n.jsx(oe, { title: t("regardedOwnerTaxInformation") }),
7169
7169
  /* @__PURE__ */ n.jsx(K, { name: "regardedOwnerUsTin", label: !0 }),
7170
7170
  /* @__PURE__ */ n.jsx(K, { name: "regardedOwnerForeignTin", label: !0 }),
7171
- /* @__PURE__ */ n.jsx(B, { name: "regardedOwnerForeignTinIsNotRequired", label: !0 }),
7172
- /* @__PURE__ */ n.jsx(te, { onBack: a, onNext: () => e(t) })
7171
+ /* @__PURE__ */ n.jsx(x, { name: "regardedOwnerForeignTinIsNotRequired", label: !0 }),
7172
+ /* @__PURE__ */ n.jsx(re, { onBack: a, onNext: () => e(r) })
7173
7173
  ] });
7174
7174
  }, bi = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(Si, {}) }), Ni = () => {
7175
- const { data: e, editTo: a } = W(), { getLocalTitle: t, getLocalOption: r, getLocalCountry: c, getLocalText: s } = v();
7175
+ const { data: e, editTo: a } = W(), { getLocalTitle: r, getLocalOption: t, getLocalCountry: c, getLocalText: s } = M();
7176
7176
  return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
7177
- /* @__PURE__ */ n.jsxs(Q, { title: t("accountHolder"), children: [
7177
+ /* @__PURE__ */ n.jsxs(Q, { title: r("accountHolder"), children: [
7178
7178
  /* @__PURE__ */ n.jsx(
7179
7179
  p,
7180
7180
  {
@@ -7226,7 +7226,7 @@ const wn = () => {
7226
7226
  label: !0,
7227
7227
  onEdit: () => a("AccountHolderClassification"),
7228
7228
  name: "accountHolderIsEuResident",
7229
- children: r(e == null ? void 0 : e.accountHolderIsEuResident)
7229
+ children: t(e == null ? void 0 : e.accountHolderIsEuResident)
7230
7230
  }
7231
7231
  ),
7232
7232
  /* @__PURE__ */ n.jsx(
@@ -7235,7 +7235,7 @@ const wn = () => {
7235
7235
  label: !0,
7236
7236
  onEdit: () => a("AccountHolderClassification"),
7237
7237
  name: "accountHolderIsIndividual",
7238
- children: r(e == null ? void 0 : e.accountHolderIsIndividual)
7238
+ children: t(e == null ? void 0 : e.accountHolderIsIndividual)
7239
7239
  }
7240
7240
  ),
7241
7241
  /* @__PURE__ */ n.jsx(
@@ -7244,7 +7244,7 @@ const wn = () => {
7244
7244
  label: !0,
7245
7245
  onEdit: () => a("AccountHolderClassification"),
7246
7246
  name: "accountHolderUsPerson",
7247
- children: r(e == null ? void 0 : e.accountHolderUsPerson)
7247
+ children: t(e == null ? void 0 : e.accountHolderUsPerson)
7248
7248
  }
7249
7249
  ),
7250
7250
  /* @__PURE__ */ n.jsx(
@@ -7253,7 +7253,7 @@ const wn = () => {
7253
7253
  label: !0,
7254
7254
  onEdit: () => a("AccountHolderClassification"),
7255
7255
  name: "accountHolderUsPerson",
7256
- children: r(e == null ? void 0 : e.accountHolderUsPerson)
7256
+ children: t(e == null ? void 0 : e.accountHolderUsPerson)
7257
7257
  }
7258
7258
  ),
7259
7259
  /* @__PURE__ */ n.jsx(
@@ -7262,7 +7262,7 @@ const wn = () => {
7262
7262
  label: !0,
7263
7263
  onEdit: () => a("AccountHolderClassification"),
7264
7264
  name: "accountHolderUsAccountType",
7265
- children: r(e == null ? void 0 : e.accountHolderUsAccountType)
7265
+ children: t(e == null ? void 0 : e.accountHolderUsAccountType)
7266
7266
  }
7267
7267
  ),
7268
7268
  /* @__PURE__ */ n.jsx(
@@ -7271,7 +7271,7 @@ const wn = () => {
7271
7271
  label: !0,
7272
7272
  onEdit: () => a("AccountHolderClassification"),
7273
7273
  name: "accountHolderUsLlcClassification",
7274
- children: r(e == null ? void 0 : e.accountHolderUsLlcClassification)
7274
+ children: t(e == null ? void 0 : e.accountHolderUsLlcClassification)
7275
7275
  }
7276
7276
  ),
7277
7277
  /* @__PURE__ */ n.jsx(
@@ -7289,7 +7289,7 @@ const wn = () => {
7289
7289
  label: !0,
7290
7290
  onEdit: () => a("AccountHolderClassification"),
7291
7291
  name: "accountHolderUsTrustEstateEin",
7292
- children: r(e == null ? void 0 : e.accountHolderUsTrustEstateEin)
7292
+ children: t(e == null ? void 0 : e.accountHolderUsTrustEstateEin)
7293
7293
  }
7294
7294
  ),
7295
7295
  /* @__PURE__ */ n.jsx(
@@ -7298,7 +7298,7 @@ const wn = () => {
7298
7298
  label: !0,
7299
7299
  onEdit: () => a("AccountHolderClassification"),
7300
7300
  name: "accountHolderForeignAccountType",
7301
- children: r(e == null ? void 0 : e.accountHolderForeignAccountType)
7301
+ children: t(e == null ? void 0 : e.accountHolderForeignAccountType)
7302
7302
  }
7303
7303
  ),
7304
7304
  /* @__PURE__ */ n.jsx(
@@ -7307,7 +7307,7 @@ const wn = () => {
7307
7307
  label: !0,
7308
7308
  onEdit: () => a("AccountHolderClassification"),
7309
7309
  name: "accountHolderForeignTrustClassification",
7310
- children: r(e == null ? void 0 : e.accountHolderForeignTrustClassification)
7310
+ children: t(e == null ? void 0 : e.accountHolderForeignTrustClassification)
7311
7311
  }
7312
7312
  ),
7313
7313
  /* @__PURE__ */ n.jsx(
@@ -7316,7 +7316,7 @@ const wn = () => {
7316
7316
  label: !0,
7317
7317
  onEdit: () => a("AccountHolderClassification"),
7318
7318
  name: "accountHolderForeignOtherClassification",
7319
- children: r(e == null ? void 0 : e.accountHolderForeignOtherClassification)
7319
+ children: t(e == null ? void 0 : e.accountHolderForeignOtherClassification)
7320
7320
  }
7321
7321
  ),
7322
7322
  /* @__PURE__ */ n.jsx(
@@ -7331,7 +7331,7 @@ const wn = () => {
7331
7331
  e.accountHolderIsIndividual !== void 0 && e.accountHolderIsEuResident === "yes" ? /* @__PURE__ */ n.jsx(
7332
7332
  P,
7333
7333
  {
7334
- label: t("address"),
7334
+ label: r("address"),
7335
7335
  onEdit: () => a("AccountHolderContact"),
7336
7336
  children: /* @__PURE__ */ n.jsx(
7337
7337
  We,
@@ -7351,7 +7351,7 @@ const wn = () => {
7351
7351
  (e == null ? void 0 : e.accountHolderMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ n.jsx(
7352
7352
  P,
7353
7353
  {
7354
- label: t("mailingAddress"),
7354
+ label: r("mailingAddress"),
7355
7355
  onEdit: () => a("AccountHolderContact"),
7356
7356
  children: /* @__PURE__ */ n.jsx(
7357
7357
  We,
@@ -7425,7 +7425,7 @@ const wn = () => {
7425
7425
  /* @__PURE__ */ n.jsxs(
7426
7426
  Q,
7427
7427
  {
7428
- title: t("taxResidences"),
7428
+ title: r("taxResidences"),
7429
7429
  showIf: e.accountHolderIsEuResident === "yes" && e.accountHolderIsIndividual !== void 0,
7430
7430
  children: [
7431
7431
  /* @__PURE__ */ n.jsx(
@@ -7485,7 +7485,7 @@ const wn = () => {
7485
7485
  /* @__PURE__ */ n.jsxs(
7486
7486
  Q,
7487
7487
  {
7488
- title: t("regardedOwner"),
7488
+ title: r("regardedOwner"),
7489
7489
  showIf: e.regardedOwnerUsPerson !== void 0,
7490
7490
  children: [
7491
7491
  /* @__PURE__ */ n.jsx(
@@ -7521,7 +7521,7 @@ const wn = () => {
7521
7521
  label: !0,
7522
7522
  onEdit: () => a("RegardedOwnerClassification"),
7523
7523
  name: "regardedOwnerUsAccountType",
7524
- children: r(e == null ? void 0 : e.regardedOwnerUsAccountType)
7524
+ children: t(e == null ? void 0 : e.regardedOwnerUsAccountType)
7525
7525
  }
7526
7526
  ),
7527
7527
  /* @__PURE__ */ n.jsx(
@@ -7530,13 +7530,13 @@ const wn = () => {
7530
7530
  label: !0,
7531
7531
  onEdit: () => a("RegardedOwnerClassification"),
7532
7532
  name: "regardedOwnerForeignAccountType",
7533
- children: r(e == null ? void 0 : e.regardedOwnerForeignAccountType)
7533
+ children: t(e == null ? void 0 : e.regardedOwnerForeignAccountType)
7534
7534
  }
7535
7535
  ),
7536
7536
  e.regardedOwnerUsPerson !== void 0 && /* @__PURE__ */ n.jsx(
7537
7537
  P,
7538
7538
  {
7539
- label: t("address"),
7539
+ label: r("address"),
7540
7540
  onEdit: () => a("RegardedOwnerContact"),
7541
7541
  children: /* @__PURE__ */ n.jsx(
7542
7542
  We,
@@ -7556,7 +7556,7 @@ const wn = () => {
7556
7556
  (e == null ? void 0 : e.regardedOwnerMailingAddressIsDifferent) === "yes" && /* @__PURE__ */ n.jsx(
7557
7557
  P,
7558
7558
  {
7559
- label: t("mailingAddress"),
7559
+ label: r("mailingAddress"),
7560
7560
  onEdit: () => a("RegardedOwnerContact"),
7561
7561
  children: /* @__PURE__ */ n.jsx(
7562
7562
  We,
@@ -7632,29 +7632,29 @@ const wn = () => {
7632
7632
  )
7633
7633
  ] });
7634
7634
  }, yi = () => {
7635
- const { goBack: e, onSubmitTaxDocumentation: a, isW8: t, isW9: r } = W(), { fields: c, getLocalTitle: s } = v();
7636
- return /* @__PURE__ */ n.jsxs(re, { children: [
7635
+ const { goBack: e, onSubmitTaxDocumentation: a, isW8: r, isW9: t } = W(), { fields: c, getLocalTitle: s } = M();
7636
+ return /* @__PURE__ */ n.jsxs(te, { children: [
7637
7637
  /* @__PURE__ */ n.jsx(oe, { title: s("summary") }),
7638
7638
  /* @__PURE__ */ n.jsx(Ni, {}),
7639
- /* @__PURE__ */ n.jsxs(Q, { title: "Certify", showIf: r || t, children: [
7640
- /* @__PURE__ */ n.jsx(B, { name: "iCertifyToAll", label: !0 }),
7641
- /* @__PURE__ */ n.jsx(B, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
7642
- /* @__PURE__ */ n.jsx(B, { name: "iAmNotSubjectToBackupWithholding", label: !0 }),
7643
- /* @__PURE__ */ n.jsx(B, { name: "iAmACitizenOfTheUs", label: !0 }),
7644
- /* @__PURE__ */ n.jsx(B, { name: "iAmExemptFromFatcaReporting", label: !0 }),
7645
- /* @__PURE__ */ n.jsx(B, { name: "iConfirmTheEntityIsTheBeneficialOwner", label: !0 }),
7646
- /* @__PURE__ */ n.jsx(B, { name: "iConfirmTheEntityIsNotAUsPerson", label: !0 }),
7647
- /* @__PURE__ */ n.jsx(B, { name: "iConfirmIncomeIsNonUs", label: !0, subLabel: !0 }),
7648
- /* @__PURE__ */ n.jsx(B, { name: "iConfirmTheBeneficialOwnerIsExempt", label: !0 }),
7649
- /* @__PURE__ */ n.jsx(B, { name: "iAuthorizeWithholdingAgent", label: !0 })
7639
+ /* @__PURE__ */ n.jsxs(Q, { title: "Certify", showIf: t || r, children: [
7640
+ /* @__PURE__ */ n.jsx(x, { name: "iCertifyToAll", label: !0 }),
7641
+ /* @__PURE__ */ n.jsx(x, { name: "iConfirmTheTaxIdIsCorrect", label: !0 }),
7642
+ /* @__PURE__ */ n.jsx(x, { name: "iAmNotSubjectToBackupWithholding", label: !0 }),
7643
+ /* @__PURE__ */ n.jsx(x, { name: "iAmACitizenOfTheUs", label: !0 }),
7644
+ /* @__PURE__ */ n.jsx(x, { name: "iAmExemptFromFatcaReporting", label: !0 }),
7645
+ /* @__PURE__ */ n.jsx(x, { name: "iConfirmTheEntityIsTheBeneficialOwner", label: !0 }),
7646
+ /* @__PURE__ */ n.jsx(x, { name: "iConfirmTheEntityIsNotAUsPerson", label: !0 }),
7647
+ /* @__PURE__ */ n.jsx(x, { name: "iConfirmIncomeIsNonUs", label: !0, subLabel: !0 }),
7648
+ /* @__PURE__ */ n.jsx(x, { name: "iConfirmTheBeneficialOwnerIsExempt", label: !0 }),
7649
+ /* @__PURE__ */ n.jsx(x, { name: "iAuthorizeWithholdingAgent", label: !0 })
7650
7650
  ] }),
7651
- /* @__PURE__ */ n.jsxs(Q, { title: "Acknowledge and Sign", showIf: r || t, children: [
7652
- /* @__PURE__ */ n.jsx(B, { name: "iAcknowlegeESignIsOk", label: !0 }),
7653
- /* @__PURE__ */ n.jsx(B, { name: "iHaveLegalCapacityToSign", label: !0 }),
7651
+ /* @__PURE__ */ n.jsxs(Q, { title: "Acknowledge and Sign", showIf: t || r, children: [
7652
+ /* @__PURE__ */ n.jsx(x, { name: "iAcknowlegeESignIsOk", label: !0 }),
7653
+ /* @__PURE__ */ n.jsx(x, { name: "iHaveLegalCapacityToSign", label: !0 }),
7654
7654
  /* @__PURE__ */ n.jsx(K, { label: !0, name: "signature" })
7655
7655
  ] }),
7656
7656
  /* @__PURE__ */ n.jsx(
7657
- te,
7657
+ re,
7658
7658
  {
7659
7659
  onBack: e,
7660
7660
  onSubmit: () => a(c)
@@ -7665,24 +7665,24 @@ const wn = () => {
7665
7665
  const {
7666
7666
  getLocalCountry: e,
7667
7667
  hideField: a,
7668
- showField: t,
7669
- getRequiredLocalPrompt: r,
7668
+ showField: r,
7669
+ getRequiredLocalPrompt: t,
7670
7670
  getLocalTitle: c
7671
- } = v(), s = ae(
7672
- () => xe.map((m) => ({
7671
+ } = M(), s = ae(
7672
+ () => Re.map((m) => ({
7673
7673
  ...m,
7674
7674
  label: e(m.value)
7675
7675
  })).sort((m, u) => m.label.localeCompare(u.label)),
7676
7676
  [e]
7677
7677
  );
7678
7678
  return X(() => {
7679
- t("accountHolderCityOfBirth"), t("accountHolderCountryOfBirth");
7680
- }, [t, a]), /* @__PURE__ */ n.jsx(Q, { title: c("placeOfBirth"), children: /* @__PURE__ */ n.jsxs(
7679
+ r("accountHolderCityOfBirth"), r("accountHolderCountryOfBirth");
7680
+ }, [r, a]), /* @__PURE__ */ n.jsx(Q, { title: c("placeOfBirth"), children: /* @__PURE__ */ n.jsxs(
7681
7681
  P,
7682
7682
  {
7683
- label: `${r(
7683
+ label: `${t(
7684
7684
  "accountHolderCityOfBirth"
7685
- )}/${r("accountHolderCountryOfBirth")}`,
7685
+ )}/${t("accountHolderCountryOfBirth")}`,
7686
7686
  children: [
7687
7687
  /* @__PURE__ */ n.jsx(_, { name: "accountHolderCityOfBirth" }),
7688
7688
  /* @__PURE__ */ n.jsx(
@@ -7697,41 +7697,41 @@ const wn = () => {
7697
7697
  }
7698
7698
  ) });
7699
7699
  }, Oi = () => {
7700
- const { onPersistCollectedData: e, goBack: a, onCancel: t } = W(), { fields: r, getLocalTitle: c } = v();
7701
- return /* @__PURE__ */ n.jsxs(re, { children: [
7700
+ const { onPersistCollectedData: e, goBack: a, onCancel: r } = W(), { fields: t, getLocalTitle: c } = M();
7701
+ return /* @__PURE__ */ n.jsxs(te, { children: [
7702
7702
  /* @__PURE__ */ n.jsx(oe, { title: c("accountHolderTaxInformation") }),
7703
7703
  /* @__PURE__ */ n.jsx(Mi, {}),
7704
7704
  /* @__PURE__ */ n.jsx(
7705
- te,
7705
+ re,
7706
7706
  {
7707
- onCancel: t,
7707
+ onCancel: r,
7708
7708
  onBack: a,
7709
- onNext: () => e(r)
7709
+ onNext: () => e(t)
7710
7710
  }
7711
7711
  )
7712
7712
  ] });
7713
7713
  }, Ei = () => /* @__PURE__ */ n.jsx(ie, { children: /* @__PURE__ */ n.jsx(Oi, {}) }), wi = ({
7714
- initialData: e,
7714
+ data: e,
7715
7715
  onSubmit: a,
7716
- initialLanguage: t,
7717
- forms: r
7716
+ language: r,
7717
+ taxForms: t
7718
7718
  }) => /* @__PURE__ */ n.jsx(
7719
7719
  ba,
7720
7720
  {
7721
7721
  data: e,
7722
7722
  onSubmit: a,
7723
- language: t,
7724
- forms: r,
7725
- children: /* @__PURE__ */ n.jsx(Ri, { language: t, forms: r })
7723
+ language: r,
7724
+ taxForms: t,
7725
+ children: /* @__PURE__ */ n.jsx(Hi, { language: r, taxForms: t })
7726
7726
  }
7727
- ), xi = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Ri = ({
7727
+ ), Ri = ["DAC7", "W-9", "W-8BEN", "W-8BEN-E"], Hi = ({
7728
7728
  language: e = "en-us",
7729
- forms: a = xi
7729
+ taxForms: a = Ri
7730
7730
  }) => {
7731
- const { stepName: t, setLanguage: r, setSupportedForms: c } = W();
7731
+ const { stepName: r, setLanguage: t, setSupportedForms: c } = W();
7732
7732
  X(() => {
7733
- r(e);
7734
- }, [e, r]), X(() => {
7733
+ t(e);
7734
+ }, [e, t]), X(() => {
7735
7735
  c(a);
7736
7736
  }, [a, c]);
7737
7737
  const m = {
@@ -7744,7 +7744,7 @@ const wn = () => {
7744
7744
  RegardedOwnerContact: Ii,
7745
7745
  RegardedOwnerTax: bi,
7746
7746
  Summary: vi
7747
- }[t];
7747
+ }[r];
7748
7748
  return /* @__PURE__ */ n.jsx(m, {});
7749
7749
  }, vn = (e, a) => `https://api.multi1.enterprise${a === "STAGING" ? "-staging" : ""}.taxbit.com/v1/${e}`, Mn = {
7750
7750
  taxDocumentation: {
@@ -7755,71 +7755,68 @@ const wn = () => {
7755
7755
  }
7756
7756
  }, On = ({ bearerToken: e }) => new Headers({
7757
7757
  Authorization: `Bearer ${e}`
7758
- }), Hi = (e, a) => {
7759
- const [t, r] = Z(), [c, s] = Z(), m = Mn.taxDocumentation.post(e), u = Mn.taxDocumentationStatus.get(e), g = (d) => {
7760
- const h = {
7758
+ }), Bi = (e, a) => {
7759
+ const [r, t] = Z(), [c, s] = Z(), m = a ? "STAGING" : "PRODUCTION", u = Mn.taxDocumentation.post(m), g = Mn.taxDocumentationStatus.get(m), d = (f) => {
7760
+ const I = {
7761
7761
  method: "POST",
7762
- headers: On({ bearerToken: a }),
7763
- body: JSON.stringify(d)
7762
+ headers: On({ bearerToken: e }),
7763
+ body: JSON.stringify(f)
7764
7764
  };
7765
- fetch(m, h).then((b) => {
7766
- b.status === 200 && s("submitted");
7765
+ fetch(u, I).then((y) => {
7766
+ y.status === 200 && s("submitted");
7767
7767
  });
7768
7768
  };
7769
7769
  return X(() => {
7770
- const d = {
7770
+ const f = {
7771
7771
  method: "GET",
7772
- headers: On({ bearerToken: a })
7772
+ headers: On({ bearerToken: e })
7773
7773
  };
7774
- fetch(u, d).then((h) => h.json()).then((h) => {
7775
- r(h.form_status.Dac7Individual.status);
7774
+ fetch(g, f).then((I) => I.json()).then((I) => {
7775
+ t(I.form_status.Dac7Individual.status);
7776
7776
  });
7777
- }, [a, u, c]), {
7778
- submitTaxDocumentation: g,
7779
- taxDocumentationStatus: t
7777
+ }, [e, g, c]), {
7778
+ submitForm: d,
7779
+ formStatus: r
7780
7780
  };
7781
- }, Bi = ({
7782
- environment: e,
7783
- initialData: a,
7784
- bearerToken: t,
7785
- language: r,
7786
- forms: c
7781
+ }, xi = ({
7782
+ staging: e,
7783
+ data: a,
7784
+ bearerToken: r,
7785
+ language: t,
7786
+ taxForms: c
7787
7787
  }) => {
7788
- const { taxDocumentationStatus: s, submitTaxDocumentation: m } = Hi(
7789
- e,
7790
- t
7791
- );
7788
+ const { formStatus: s, submitForm: m } = Bi(r, e);
7792
7789
  return s ? s === "UNDOCUMENTED" || s === "INVALID" ? /* @__PURE__ */ n.jsx(
7793
7790
  wi,
7794
7791
  {
7795
- initialData: a,
7796
- initialLanguage: r,
7792
+ data: a,
7793
+ language: t,
7797
7794
  onSubmit: (u) => m(u),
7798
- forms: c
7795
+ taxForms: c
7799
7796
  }
7800
7797
  ) : /* @__PURE__ */ n.jsxs("div", { children: [
7801
7798
  'Documentation was already submitted: "',
7802
7799
  s,
7803
7800
  '"'
7804
7801
  ] }) : /* @__PURE__ */ n.jsx("div", { children: "Loading..." });
7805
- }, Fi = ({
7806
- initialData: e,
7807
- environment: a,
7808
- bearerToken: t,
7809
- language: r
7802
+ }, ki = ({
7803
+ data: e,
7804
+ staging: a,
7805
+ bearerToken: r,
7806
+ language: t
7810
7807
  }) => /* @__PURE__ */ n.jsx(
7811
- Bi,
7808
+ xi,
7812
7809
  {
7813
- initialData: e,
7814
- language: r,
7815
- forms: ["DAC7"],
7816
- environment: a,
7817
- bearerToken: t
7810
+ bearerToken: r,
7811
+ data: e,
7812
+ language: t,
7813
+ taxForms: ["DAC7"],
7814
+ staging: a
7818
7815
  }
7819
7816
  );
7820
7817
  export {
7821
- Fi as TaxBitDAC7Form,
7822
- Bi as TaxBitForm,
7818
+ ki as TaxBitDAC7Form,
7819
+ xi as TaxBitForm,
7823
7820
  wi as TaxBitFormUI,
7824
- Hi as useTaxBit
7821
+ Bi as useTaxBit
7825
7822
  };