@wix/form-elements 1.166.0 → 1.168.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/component/{appointment-rac-BXpWILhi.js → appointment-rac-BbXyKTd7.js} +72 -72
  2. package/dist/component/{bookings-address-rac-Cf--TgsR.js → bookings-address-rac-VJkR_U9L.js} +1 -1
  3. package/dist/component/{bookings-email-rac-BtB8owOl.js → bookings-email-rac-_EupwXpQ.js} +1 -1
  4. package/dist/component/{bookings-first-name-rac-CBFDjB_k.js → bookings-first-name-rac-DTZixHYj.js} +1 -1
  5. package/dist/component/{bookings-header-rac-CrJORcuL.js → bookings-header-rac-BKbKTv5g.js} +1 -1
  6. package/dist/component/{bookings-last-name-rac-erG4ldFt.js → bookings-last-name-rac-BDy860-C.js} +1 -1
  7. package/dist/component/{bookings-login-bar-rac-Di4qLQUH.js → bookings-login-bar-rac-DgNP-YNZ.js} +5 -5
  8. package/dist/component/{bookings-phone-rac-DdM48Obh.js → bookings-phone-rac-B_I6n96b.js} +1 -1
  9. package/dist/component/{bookings-rich-text-rac-Cl8zOiU1.js → bookings-rich-text-rac-prYPbIiz.js} +1 -1
  10. package/dist/component/{checkbox-field-rac-CzIDF6aj.js → checkbox-field-rac-C-4PXuxG.js} +4 -4
  11. package/dist/component/{checkbox-group-field-headless-B8tsQCwV.js → checkbox-group-field-headless-D16bAcaq.js} +35 -35
  12. package/dist/component/{checkbox-group-field-rac-h02K8CPA.js → checkbox-group-field-rac-GUQ5dO_s.js} +4 -4
  13. package/dist/component/{checkbox-group-rac-GfebLnuS.js → checkbox-group-rac-Bl6xL5-H.js} +1 -1
  14. package/dist/component/{checkbox-rac-Dn24U4oG.js → checkbox-rac-Blg0KVyP.js} +1 -1
  15. package/dist/component/{contacts-address-rac-CtVtIwOV.js → contacts-address-rac-BfOhCAj8.js} +1 -1
  16. package/dist/component/{contacts-birthdate-rac-CK2odpbJ.js → contacts-birthdate-rac-DYBvDh62.js} +1 -1
  17. package/dist/component/{contacts-company-rac-ue8vAn9A.js → contacts-company-rac-DIJr7zjA.js} +1 -1
  18. package/dist/component/{contacts-email-rac-lleErjYl.js → contacts-email-rac-DjmqELhC.js} +1 -1
  19. package/dist/component/{contacts-first-name-rac-D5wtz4Z1.js → contacts-first-name-rac-DGNll7gw.js} +1 -1
  20. package/dist/component/{contacts-last-name-rac-Cj9GKWBY.js → contacts-last-name-rac-BJ8AZYQN.js} +1 -1
  21. package/dist/component/{contacts-phone-rac-BP6unckw.js → contacts-phone-rac-BC-QtpEN.js} +1 -1
  22. package/dist/component/{contacts-position-rac-XjUdZglr.js → contacts-position-rac-BQia__74.js} +1 -1
  23. package/dist/component/{contacts-subscribe-rac-Dnpbgw5C.js → contacts-subscribe-rac-CTFptz01.js} +1 -1
  24. package/dist/component/{contacts-tax-id-rac-pNFMOZl6.js → contacts-tax-id-rac-Cy72Jouc.js} +1 -1
  25. package/dist/component/{date-availability-BRA7k6ep.js → date-availability-BC6updcS.js} +1 -1
  26. package/dist/component/{date-input-field-rac-B15XH-D_.js → date-input-field-rac-b_T1yf8D.js} +38 -38
  27. package/dist/component/{date-input-rac-B7XvsFeB.js → date-input-rac-KkRyWRP_.js} +1 -1
  28. package/dist/component/{date-picker-field-rac-BNgKcgVi.js → date-picker-field-rac-BLWVJbTJ.js} +6 -6
  29. package/dist/component/{date-picker-rac-P54cHP86.js → date-picker-rac-DKCQza7v.js} +1 -1
  30. package/dist/component/{date-time-input-field-rac-Dt-jUznP.js → date-time-input-field-rac-CZxZW6fz.js} +45 -45
  31. package/dist/component/{date-time-input-rac-DHmOLCvg.js → date-time-input-rac-DQ-iBwmr.js} +1 -1
  32. package/dist/component/{dext-checkbox-group-rac-Bo2ZRcJc.js → dext-checkbox-group-rac-kp1Jbwt-.js} +2 -2
  33. package/dist/component/{dext-checkbox-rac-BdA2i9PR.js → dext-checkbox-rac-CBm9cRUz.js} +1 -1
  34. package/dist/component/{dext-date-picker-rac-BME9ZDFy.js → dext-date-picker-rac-DsVKWsRy.js} +1 -1
  35. package/dist/component/{dext-date-time-input-rac-owEU8r5-.js → dext-date-time-input-rac-CO26-8Qo.js} +1 -1
  36. package/dist/component/{dext-dropdown-rac-BAeN43fo.js → dext-dropdown-rac-eRzu2C-y.js} +1 -1
  37. package/dist/component/{dext-email-rac-D7HBfCis.js → dext-email-rac-DDrZzE_G.js} +1 -1
  38. package/dist/component/{dext-number-input-rac-DEB2ji5S.js → dext-number-input-rac-Dj7sInLk.js} +1 -1
  39. package/dist/component/{dext-phone-rac-TOfFCmhD.js → dext-phone-rac-g8M77F7m.js} +1 -1
  40. package/dist/component/{dext-radio-group-rac-DGsQLres.js → dext-radio-group-rac-BjhygC0R.js} +2 -2
  41. package/dist/component/{dext-rating-input-rac-CFcRQeE7.js → dext-rating-input-rac-BraNjvyA.js} +1 -1
  42. package/dist/component/{dext-tags-rac-CGsaKVfb.js → dext-tags-rac-B5mAIuDi.js} +2 -2
  43. package/dist/component/{dext-text-area-rac-BqbLXOdt.js → dext-text-area-rac-D_YBnaWi.js} +1 -1
  44. package/dist/component/{dext-text-input-rac-CpXfQV53.js → dext-text-input-rac-BzeWH1jv.js} +1 -1
  45. package/dist/component/{dext-url-input-rac-Bbm3_OG9.js → dext-url-input-rac-Cn0h_vx3.js} +1 -1
  46. package/dist/component/{donation-rac-DvBAOz6H.js → donation-rac-CQRdHxWh.js} +46 -46
  47. package/dist/component/{dropdown-field-rac-BW0UDoBO.js → dropdown-field-rac-C7LL0W5Z.js} +3 -3
  48. package/dist/component/{dropdown-rac-B6ZD6Qgb.js → dropdown-rac-Nb2VyJ0x.js} +1 -1
  49. package/dist/component/{ecom-address-rac-Dnv9Yswd.js → ecom-address-rac-_c2YIIwg.js} +1 -1
  50. package/dist/component/{ecom-subscription-checkbox-rac-BVqvUwn4.js → ecom-subscription-checkbox-rac-Bma7TAVj.js} +2 -2
  51. package/dist/component/{email-input-field-rac-CuaMcfZR.js → email-input-field-rac-2E2tEaS5.js} +47 -47
  52. package/dist/component/events-repeater-rac-COWHYBFD.js +280 -0
  53. package/dist/component/{events-rsvp-rac-D4hSrIsE.js → events-rsvp-rac-CXp8j19Y.js} +3 -3
  54. package/dist/component/{field-error-headless-NGaTm3dF.js → field-error-headless-S-ugOQQX.js} +7 -7
  55. package/dist/component/{field-label-headless-Bx1UjEcp.js → field-label-headless-_n4I0_tX.js} +14 -14
  56. package/dist/component/{file-upload-rac-oOnemmUg.js → file-upload-rac-DCH_iwDg.js} +79 -79
  57. package/dist/component/{fixed-payment-rac-C9YkIvQO.js → fixed-payment-rac-CYkKJUfM.js} +14 -14
  58. package/dist/component/{form-sH9m0ReT.js → form-jK8ezTss.js} +1110 -1109
  59. package/dist/component/form.css +1 -1
  60. package/dist/component/form.js +1 -1
  61. package/dist/component/{header-field-rac-N5Oclne_.js → header-field-rac-DnbjI6W5.js} +6 -6
  62. package/dist/component/{header-rac-CTmSJdoY.js → header-rac-DKUICrni.js} +1 -1
  63. package/dist/component/{image-choice-rac-BYZ61yof.js → image-choice-rac-B_9ponST.js} +4 -4
  64. package/dist/component/{index-B56GTN_5.js → index-BxdMzOvN.js} +68 -68
  65. package/dist/component/{index-SHZx7XzS.js → index-ZYnsxY-a.js} +2 -2
  66. package/dist/component/{isObjectLike-BFpR7Q-o.js → isObjectLike-BW-9QEQl.js} +9 -9
  67. package/dist/component/{multiline-address-field-rac-DvMyN2gF.js → multiline-address-field-rac-k-P0ijWG.js} +40 -40
  68. package/dist/component/{multiline-address-rac-Cfv0QzzV.js → multiline-address-rac-Bbn9mNDa.js} +1 -1
  69. package/dist/component/{number-input-field-rac-CWQw7p2k.js → number-input-field-rac--lom-B_X.js} +7 -7
  70. package/dist/component/{number-input-rac-DJ2Nh9Vm.js → number-input-rac-Bhbd6T9S.js} +1 -1
  71. package/dist/component/{password-rac-ayoa5FQV.js → password-rac-BV_uTHb3.js} +14 -14
  72. package/dist/component/{payment-input-rac-CBjP_xjz.js → payment-input-rac-cawyGN_t.js} +28 -28
  73. package/dist/component/{phone-input-field-rac-BWOEiUK7.js → phone-input-field-rac-CsElHRto.js} +67 -67
  74. package/dist/component/{phone-rac-Dp7FouV3.js → phone-rac-XrHN5Nko.js} +1 -1
  75. package/dist/component/{product-list-rac-D_EoPXl-.js → product-list-rac-cxv_xz7K.js} +30 -30
  76. package/dist/component/{quiz-radio-group-rac-RWM0riuU.js → quiz-radio-group-rac-DGaxOPE1.js} +1 -1
  77. package/dist/component/{radio-button-module-classes-nK-xhmxh.js → radio-button-module-classes-Xv2Jn01x.js} +21 -21
  78. package/dist/component/{radio-group-field-rac-Cc-pvwZn.js → radio-group-field-rac-DgGqgTql.js} +4 -4
  79. package/dist/component/{radio-group-rac-xvesuLSn.js → radio-group-rac-Bh0E-oe1.js} +1 -1
  80. package/dist/component/{rating-input-field-rac-BgMRUXQy.js → rating-input-field-rac-C3YLV971.js} +10 -10
  81. package/dist/component/{rating-input-rac-CeZtJR2S.js → rating-input-rac-CfcC5EUh.js} +1 -1
  82. package/dist/component/{rich-content-rac.module-Cv7PIbmM.js → rich-content-rac.module-DUjzLGtX.js} +5 -5
  83. package/dist/component/{rich-text-field-rac-CmbNBe2u.js → rich-text-field-rac-BmguoJhk.js} +5 -5
  84. package/dist/component/{rich-text-rac-9hwPCQXl.js → rich-text-rac-BWhHcq25.js} +1 -1
  85. package/dist/component/{service-dropdown-rac-2Wjgmo75.js → service-dropdown-rac-C5oX-ql7.js} +30 -30
  86. package/dist/component/{services-multi-choice-rac-cZ7elBhc.js → services-multi-choice-rac-C1fem9NB.js} +12 -12
  87. package/dist/component/{signature-rac-BfE2328G.js → signature-rac-BtHqiWj1.js} +62 -62
  88. package/dist/component/{submit-button-rac-oYO7pska.js → submit-button-rac-OYeKJFF8.js} +39 -39
  89. package/dist/component/{tags-field-rac-B-_LzCFU.js → tags-field-rac-kA2RSijL.js} +37 -37
  90. package/dist/component/{tags-rac-D5bRM462.js → tags-rac-B_2qCZGu.js} +1 -1
  91. package/dist/component/{text-area-field-rac-fwtICvjX.js → text-area-field-rac-DeO609Mv.js} +17 -17
  92. package/dist/component/{text-area-rac-C4EkhfB5.js → text-area-rac-BAQFBOZd.js} +1 -1
  93. package/dist/component/{text-input-field-rac-CxZYUtxX.js → text-input-field-rac-CCcKwuLZ.js} +3 -3
  94. package/dist/component/{text-input-headless-DK5wBGBb.js → text-input-headless-D8-jkaYm.js} +8 -8
  95. package/dist/component/{text-input-rac-FS49SxCK.js → text-input-rac-BVcgjj8g.js} +1 -1
  96. package/dist/component/{time-input-rac-CDUVS7kp.js → time-input-rac-BYctyHgU.js} +11 -11
  97. package/dist/component/{url-input-field-rac-B2ypvh7T.js → url-input-field-rac-COC9qgcs.js} +23 -23
  98. package/dist/component/{url-input-rac-DbJx2T1R.js → url-input-rac-BZXLh0Ej.js} +1 -1
  99. package/dist/component/{use-dropdown-option-class-name-0ZlT4g7h.js → use-dropdown-option-class-name-BTltqRl1.js} +2 -2
  100. package/dist/component/use-dropdown-trigger-class-name-BjJZfl3i.js +98 -0
  101. package/dist/component/{use-element-state-class-name-DCAoZgWT.js → use-element-state-class-name-CkT6Ga8t.js} +3 -3
  102. package/dist/component/{use-hoverable-input-class-name-BvP8fzTQ.js → use-hoverable-input-class-name-BkoSr6tr.js} +2 -2
  103. package/dist/component/{use-is-forced-open-dropdown-B-eR29aQ.js → use-is-forced-open-dropdown-fo_NCnSk.js} +1 -1
  104. package/dist/component/{use-service-options-base-BF_peAsS.js → use-service-options-base-Wp8RZ4Z8.js} +1 -1
  105. package/dist/component/use-text-input-class-name-DS7i03Gk.js +6 -0
  106. package/package.json +2 -2
  107. package/dist/component/events-repeater-rac-CNsh8NRh.js +0 -271
  108. package/dist/component/use-dropdown-trigger-class-name-PItHRYWo.js +0 -96
  109. package/dist/component/use-text-input-class-name-CQf8yep5.js +0 -6
@@ -2,17 +2,17 @@ import r, { useRef as V, useContext as Ne, useMemo as be, useCallback as _, useS
2
2
  import we from "@wix/editor-react-components/AnimatedIcon";
3
3
  import { RicosViewer as xe } from "@wix/ricos/viewer";
4
4
  import F from "classnames";
5
- import { b0 as Ue, bs as Te, aE as Be, F as Oe, bu as Pe, bq as Me, bG as Ce, E as me, au as oe, by as x, bv as W, bA as Ie, bI as He, br as We, U as ze, aa as Ye, ab as Ge, G as pe, b as Ze, ah as ke, ai as fe, K as Ve, ac as $e, af as Xe, ad as qe, ag as je, f as ne, ae as Ke } from "./form-sH9m0ReT.js";
6
- import { useHover as Je, useFocusRing as Qe, mergeProps as et } from "react-aria";
5
+ import { b5 as Ue, bx as Te, aJ as Be, F as Oe, bz as Pe, bv as Me, bL as Ce, E as me, az as oe, bD as x, bA as z, bF as Ie, bN as He, bw as ze, U as We, af as Ye, ag as Ze, G as pe, b as ke, am as Ge, an as fe, K as Ve, ah as $e, ak as Xe, ai as qe, al as je, f as ne, aj as Je } from "./form-jK8ezTss.js";
6
+ import { useHover as Ke, useFocusRing as Qe, mergeProps as et } from "react-aria";
7
7
  import { RadioGroup as tt, Button as ye, TextField as nt, DropZone as at, Input as ot, FileTrigger as st, RadioField as rt, RadioButton as lt } from "react-aria-components";
8
8
  import _e from "signature_pad";
9
9
  import { f as I, a as N } from "./find-child-C60k4CxG.js";
10
- import { D as it, E as ct } from "./field-error-headless-NGaTm3dF.js";
11
- import { L as ut } from "./field-label-headless-Bx1UjEcp.js";
10
+ import { D as it, E as ct } from "./field-error-headless-S-ugOQQX.js";
11
+ import { L as ut } from "./field-label-headless-_n4I0_tX.js";
12
12
  import { D as dt } from "./data-hooks-Dkw1pbRj.js";
13
13
  import { E as mt } from "./error-icon-hZxQ6DEy.js";
14
14
  import { s as ae } from "./field-rac.module-ts2t4WUO.js";
15
- import { u as X } from "./use-element-state-class-name-DCAoZgWT.js";
15
+ import { u as X } from "./use-element-state-class-name-CkT6Ga8t.js";
16
16
  const pt = typeof r.useId == "function" ? r.useId : () => V(Ue()).current, ft = ({ properties: e }) => e.uploadEnabled === !0, Et = (e, t) => e.fieldType === Oe.SIGNATURE && !e.properties.hidden && !e.properties.disabled && !e.properties.readOnly && (t !== "upload" || ft(e)), gt = (e, t) => e.layout.row - t.layout.row || e.layout.column - t.layout.column, ht = (e) => {
17
17
  var o;
18
18
  const t = (o = Te().signature) == null ? void 0 : o.signatureMode, a = Ne(Be);
@@ -112,11 +112,11 @@ function ge(e, t) {
112
112
  const a = e.getContext("2d"), n = e.offsetWidth, o = e.offsetHeight, s = Math.max(window.devicePixelRatio || 1, 1), l = n * s, i = o * s;
113
113
  return (e.width !== l || e.height !== i) && a ? (e.width = l, e.height = i, a.scale(s, s), t == null || t.redraw(), !0) : !1;
114
114
  }
115
- const k = 480, yt = (e) => Se({
115
+ const G = 480, yt = (e) => Se({
116
116
  data: JSON.stringify(e),
117
117
  mimeType: A.POINTS
118
118
  }), ve = (e) => {
119
- const t = z(e);
119
+ const t = W(e);
120
120
  if ((t == null ? void 0 : t.mimeType) === A.POINTS)
121
121
  try {
122
122
  return JSON.parse(t.data);
@@ -151,7 +151,7 @@ const Re = /^data:([^;,]+)(?:;([^,]+))?,(.+)$/;
151
151
  function Dt(e) {
152
152
  return Re.test(e);
153
153
  }
154
- function z(e) {
154
+ function W(e) {
155
155
  if (!e)
156
156
  return;
157
157
  const t = e.match(Re);
@@ -169,7 +169,7 @@ function Se({ data: e, mimeType: t, encoding: a = "text" }) {
169
169
  return `data:${a === "base64" ? `${t};base64` : t},${n}`;
170
170
  }
171
171
  function At(e, t) {
172
- const a = z(e);
172
+ const a = W(e);
173
173
  if (!a)
174
174
  return;
175
175
  let n = a.data.length;
@@ -184,7 +184,7 @@ function At(e, t) {
184
184
  });
185
185
  }
186
186
  function ie(e, t = "temp") {
187
- const a = z(e);
187
+ const a = W(e);
188
188
  return {
189
189
  fileId: "temp",
190
190
  displayName: t,
@@ -193,12 +193,12 @@ function ie(e, t = "temp") {
193
193
  };
194
194
  }
195
195
  async function Rt(e, t) {
196
- const a = z(e);
196
+ const a = W(e);
197
197
  if (!a)
198
198
  return e;
199
199
  const n = a.mimeType;
200
200
  if (n === A.TEXT) {
201
- const o = j(k * 20, k, 1);
201
+ const o = j(G * 20, G, 1);
202
202
  vt(o, a.data, "black", t, "white");
203
203
  const s = re(o, "white");
204
204
  return (s == null ? void 0 : s.toDataURL("image/jpeg", 0.7)) ?? null;
@@ -210,14 +210,14 @@ async function Rt(e, t) {
210
210
  const s = o.map((d) => ({
211
211
  ...d,
212
212
  penColor: "black"
213
- })), l = j(k * 20, k, Math.max(window.devicePixelRatio || 1, 1));
213
+ })), l = j(G * 20, G, Math.max(window.devicePixelRatio || 1, 1));
214
214
  new _e(l).fromData(s);
215
215
  const c = re(l);
216
- return c ? Ee(c, void 0, k, "white").toDataURL("image/jpeg", 0.7) : null;
216
+ return c ? Ee(c, void 0, G, "white").toDataURL("image/jpeg", 0.7) : null;
217
217
  }
218
218
  if (n != null && n.startsWith("image/")) {
219
219
  const o = await It(e), s = re(o);
220
- return s ? Ee(s, void 0, k).toDataURL("image/jpeg", 0.7) : null;
220
+ return s ? Ee(s, void 0, G).toDataURL("image/jpeg", 0.7) : null;
221
221
  }
222
222
  return e;
223
223
  }
@@ -235,7 +235,7 @@ const Nt = ({ value: e, onChange: t, target: a }) => {
235
235
  ]);
236
236
  const u = _(() => {
237
237
  c.current && (clearTimeout(c.current), c.current = null);
238
- }, []), d = n == null ? void 0 : n[0], f = d != null && d.url ? z(d.url) : void 0, m = _(async (h) => {
238
+ }, []), d = n == null ? void 0 : n[0], f = d != null && d.url ? W(d.url) : void 0, m = _(async (h) => {
239
239
  try {
240
240
  const p = (h == null ? void 0 : h.url) ?? "";
241
241
  if (Dt(p)) {
@@ -339,10 +339,10 @@ function xt(e, t, a) {
339
339
  return t && wt[e](a) ? t : void 0;
340
340
  }
341
341
  const Ut = (e) => {
342
- const t = e.url ? z(e.url) : void 0;
342
+ const t = e.url ? W(e.url) : void 0;
343
343
  return t ? t.mimeType !== A.POINTS && t.mimeType !== A.TEXT : !0;
344
344
  }, ce = () => {
345
- const { hoverProps: e, isHovered: t } = Je({}), { focusProps: a, isFocused: n, isFocusVisible: o } = Qe({
345
+ const { hoverProps: e, isHovered: t } = Ke({}), { focusProps: a, isFocused: n, isFocusVisible: o } = Qe({
346
346
  within: !0
347
347
  });
348
348
  return {
@@ -363,12 +363,12 @@ const Ut = (e) => {
363
363
  [C.DRAW]: R.DRAW,
364
364
  [C.TYPE]: R.TYPE,
365
365
  [C.UPLOAD]: R.UPLOAD
366
- }, K = ({ children: e, className: t }) => {
366
+ }, J = ({ children: e, className: t }) => {
367
367
  const { id: a, value: n, onChange: o, target: s, readOnly: l } = x(), i = ht(a), { signatureMode: c, setSignatureMode: u, handleClear: d, clearable: f, signatureView: m, signatureValueForView: L, handleChange: h, handleBeforeChange: p } = Ft({
368
368
  target: s,
369
369
  value: n,
370
370
  onChange: o
371
- }), g = I(e, K.Header), E = I(e, K.Value), S = {
371
+ }), g = I(e, J.Header), E = I(e, J.Value), S = {
372
372
  signatureMode: i ?? c,
373
373
  setSignatureMode: u,
374
374
  handleClear: d,
@@ -382,8 +382,8 @@ const Ut = (e) => {
382
382
  className: t,
383
383
  "data-hook": "signature-container"
384
384
  }, !l && N(g, S), N(E, S));
385
- }, J = ({ children: e, className: t, ...a }) => {
386
- const { signatureMode: n, setSignatureMode: o, clearable: s, handleClear: l } = a, { uploadEnabled: i } = x(), c = I(e, J.Tabs), u = I(e, J.Clear);
385
+ }, K = ({ children: e, className: t, ...a }) => {
386
+ const { signatureMode: n, setSignatureMode: o, clearable: s, handleClear: l } = a, { uploadEnabled: i } = x(), c = I(e, K.Tabs), u = I(e, K.Clear);
387
387
  return /* @__PURE__ */ r.createElement("div", {
388
388
  className: t
389
389
  }, N(c, {
@@ -394,7 +394,7 @@ const Ut = (e) => {
394
394
  handleClear: l
395
395
  }));
396
396
  }, M = ({ children: e, className: t, ...a }) => {
397
- const { signatureMode: n, setSignatureMode: o, uploadEnabled: s } = a, { disabled: l } = x(), { labelId: i, inputId: c } = W(), u = _((L) => {
397
+ const { signatureMode: n, setSignatureMode: o, uploadEnabled: s } = a, { disabled: l } = x(), { labelId: i, inputId: c } = z(), u = _((L) => {
398
398
  o(L);
399
399
  }, [
400
400
  o
@@ -437,8 +437,8 @@ const Ut = (e) => {
437
437
  }), Ht = (e) => /* @__PURE__ */ r.createElement(ue, {
438
438
  ...e,
439
439
  mode: C.UPLOAD
440
- }), Wt = ({ children: e, className: t, "aria-label": a, ...n }) => {
441
- const { handleClear: o } = n, { disabled: s, target: l } = x(), { inputId: i } = W();
440
+ }), zt = ({ children: e, className: t, "aria-label": a, ...n }) => {
441
+ const { handleClear: o } = n, { disabled: s, target: l } = x(), { inputId: i } = z();
442
442
  return /* @__PURE__ */ r.createElement(ye, {
443
443
  onPress: o,
444
444
  isDisabled: s,
@@ -480,8 +480,8 @@ const Ut = (e) => {
480
480
  onBlur: u,
481
481
  onFocus: d
482
482
  }));
483
- }, zt = ({ className: e, emptyLabel: t, signedLabel: a, ...n }) => {
484
- const { value: o, onChange: s, onBeforeChange: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = n, { id: f } = x(), { inputId: m, ariaDescribedBy: L } = W(), h = ce(), p = V(), g = V(), E = V(null), S = o == null ? void 0 : o.url, [Y, P] = q(!1);
483
+ }, Wt = ({ className: e, emptyLabel: t, signedLabel: a, ...n }) => {
484
+ const { value: o, onChange: s, onBeforeChange: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = n, { id: f } = x(), { inputId: m, ariaDescribedBy: L } = z(), h = ce(), p = V(), g = V(), E = V(null), S = o == null ? void 0 : o.url, [Y, P] = q(!1);
485
485
  Ie(() => {
486
486
  var y;
487
487
  (y = g.current) == null || y.focus({
@@ -507,7 +507,7 @@ const Ut = (e) => {
507
507
  }, [
508
508
  ee,
509
509
  s
510
- ]), G = _(() => {
510
+ ]), Z = _(() => {
511
511
  l == null || l();
512
512
  }, [
513
513
  l
@@ -518,19 +518,19 @@ const Ut = (e) => {
518
518
  ...v,
519
519
  penColor: getComputedStyle(y).color || void 0
520
520
  }), ge(g.current, p.current), S) {
521
- const Z = ve(S);
522
- Z && (p.current.fromData(Z), P(!0));
521
+ const k = ve(S);
522
+ k && (p.current.fromData(k), P(!0));
523
523
  } else
524
524
  p.current.clear(), P(!1);
525
- p.current.addEventListener("beginStroke", G), p.current.addEventListener("endStroke", $), typeof ResizeObserver < "u" && !E.current && (E.current = new ResizeObserver(() => {
525
+ p.current.addEventListener("beginStroke", Z), p.current.addEventListener("endStroke", $), typeof ResizeObserver < "u" && !E.current && (E.current = new ResizeObserver(() => {
526
526
  g.current && ge(g.current, p == null ? void 0 : p.current);
527
527
  })), (U = E.current) == null || U.observe(y);
528
528
  } else
529
- (B = E.current) == null || B.disconnect(), (D = p.current) == null || D.removeEventListener("endStroke", $), (O = p.current) == null || O.removeEventListener("beginStroke", G);
529
+ (B = E.current) == null || B.disconnect(), (D = p.current) == null || D.removeEventListener("endStroke", $), (O = p.current) == null || O.removeEventListener("beginStroke", Z);
530
530
  }, [
531
531
  v,
532
532
  S,
533
- G,
533
+ Z,
534
534
  $
535
535
  ]);
536
536
  return le(() => {
@@ -554,7 +554,7 @@ const Ut = (e) => {
554
554
  "aria-describedby": L
555
555
  }));
556
556
  }, de = ({ children: e, className: t, ...a }) => {
557
- const { value: n, onChange: o, onBeforeChange: s, disabled: l, readOnly: i, onBlur: c, onFocus: u } = a, { id: d, required: f, hasError: m } = x(), { inputId: L, ariaDescribedBy: h, labelId: p } = W(), g = ce(), E = n != null && n.url ? z(n.url) : void 0, { data: S = "" } = E ?? {
557
+ const { value: n, onChange: o, onBeforeChange: s, disabled: l, readOnly: i, onBlur: c, onFocus: u } = a, { id: d, required: f, hasError: m } = x(), { inputId: L, ariaDescribedBy: h, labelId: p } = z(), g = ce(), E = n != null && n.url ? W(n.url) : void 0, { data: S = "" } = E ?? {
558
558
  data: ""
559
559
  };
560
560
  Ie(() => {
@@ -608,7 +608,7 @@ const Ut = (e) => {
608
608
  className: e
609
609
  });
610
610
  }, Q = ({ children: e, className: t, ...a }) => {
611
- const { value: n, onChange: o, disabled: s, readOnly: l, onBlur: i, onFocus: c } = a, { labelId: u, ariaDescribedBy: d } = W(), f = I(e, Q.Button), m = I(e, Q.Preview), L = _((p) => {
611
+ const { value: n, onChange: o, disabled: s, readOnly: l, onBlur: i, onFocus: c } = a, { labelId: u, ariaDescribedBy: d } = z(), f = I(e, Q.Button), m = I(e, Q.Preview), L = _((p) => {
612
612
  const g = p[0];
613
613
  if (!g) {
614
614
  o(null);
@@ -648,8 +648,8 @@ const Ut = (e) => {
648
648
  onBlur: i,
649
649
  onFocus: c
650
650
  }));
651
- }, Gt = ({ className: e, imageAlt: t, ...a }) => {
652
- const { value: n } = a, { inputId: o } = W(), s = ce();
651
+ }, Zt = ({ className: e, imageAlt: t, ...a }) => {
652
+ const { value: n } = a, { inputId: o } = z(), s = ce();
653
653
  return /* @__PURE__ */ r.createElement("div", {
654
654
  className: e,
655
655
  "data-has-value": !0,
@@ -664,7 +664,7 @@ const Ut = (e) => {
664
664
  "data-hook": "signature-image"
665
665
  }, n.displayName || t));
666
666
  }, se = ({ children: e, className: t, onHoverStart: a, onHoverEnd: n, onFocusChange: o, ...s }) => {
667
- const { onSelectFiles: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = s, { inputId: f, ariaDescribedBy: m, labelId: L } = W(), h = pt(), g = !!I(e, se.Text) ? Fe.map(e, (E) => /* @__PURE__ */ Le(E) && E.type === se.Text ? N(E, {
667
+ const { onSelectFiles: l, disabled: i, readOnly: c, onBlur: u, onFocus: d } = s, { inputId: f, ariaDescribedBy: m, labelId: L } = z(), h = pt(), g = !!I(e, se.Text) ? Fe.map(e, (E) => /* @__PURE__ */ Le(E) && E.type === se.Text ? N(E, {
668
668
  textId: h
669
669
  }) : E) : /* @__PURE__ */ r.createElement("span", {
670
670
  id: h
@@ -689,7 +689,7 @@ const Ut = (e) => {
689
689
  onHoverEnd: n,
690
690
  onFocusChange: o
691
691
  }, g));
692
- }, Zt = ({ children: e, className: t, ...a }) => {
692
+ }, kt = ({ children: e, className: t, ...a }) => {
693
693
  const { textId: n } = a;
694
694
  return /* @__PURE__ */ r.createElement("span", {
695
695
  id: n,
@@ -697,24 +697,24 @@ const Ut = (e) => {
697
697
  }, e);
698
698
  };
699
699
  b.Label = ut;
700
- b.Input = K;
700
+ b.Input = J;
701
701
  b.Description = it;
702
702
  b.Error = ct;
703
- K.Header = J;
704
- K.Value = H;
705
- J.Tabs = M;
706
- J.Clear = Wt;
703
+ J.Header = K;
704
+ J.Value = H;
705
+ K.Tabs = M;
706
+ K.Clear = zt;
707
707
  M.Draw = Pt;
708
708
  M.Type = Mt;
709
709
  M.Upload = Ht;
710
- H.Canvas = zt;
710
+ H.Canvas = Wt;
711
711
  H.Type = de;
712
712
  H.Upload = Q;
713
713
  de.Value = Yt;
714
- Q.Preview = Gt;
714
+ Q.Preview = Zt;
715
715
  Q.Button = se;
716
- se.Text = Zt;
717
- const kt = () => {
716
+ se.Text = kt;
717
+ const Gt = () => {
718
718
  const { t: e } = He();
719
719
  return {
720
720
  drawLabel: e("field.signature.mode.draw.label"),
@@ -770,10 +770,10 @@ const kt = () => {
770
770
  }, /* @__PURE__ */ r.createElement("path", {
771
771
  fillRule: "evenodd",
772
772
  d: "M12,4 L12,5 L8,5 L8,16 L7,16 L7,5 L3,5 L3,4 L12,4 Z M18,8 L18,9 L15,9 L15,16 L14,16 L14,9 L11,9 L11,8 L18,8 Z"
773
- })), jt = "_container_63unz_1", Kt = "_header_63unz_7", Jt = "_tabs_63unz_13", Qt = "_tab_63unz_13", en = "_tabHover_63unz_43", tn = "_tabSelected_63unz_48", nn = "_tabIcon_63unz_78", an = "_uploadButton_63unz_85", on = "_uploadButtonHover_63unz_138", sn = "_uploadButtonLabel_63unz_155", rn = "_clear_63unz_159", ln = "_value_63unz_191", cn = "_box_63unz_196", un = "_uploadBox_63unz_197", dn = "_dropZone_63unz_228", mn = "_dropZoneHover_63unz_243", pn = "_boxHover_63unz_280", fn = "_typeInput_63unz_335", T = {
773
+ })), jt = "_container_63unz_1", Jt = "_header_63unz_7", Kt = "_tabs_63unz_13", Qt = "_tab_63unz_13", en = "_tabHover_63unz_43", tn = "_tabSelected_63unz_48", nn = "_tabIcon_63unz_78", an = "_uploadButton_63unz_85", on = "_uploadButtonHover_63unz_138", sn = "_uploadButtonLabel_63unz_155", rn = "_clear_63unz_159", ln = "_value_63unz_191", cn = "_box_63unz_196", un = "_uploadBox_63unz_197", dn = "_dropZone_63unz_228", mn = "_dropZoneHover_63unz_243", pn = "_boxHover_63unz_280", fn = "_typeInput_63unz_335", T = {
774
774
  container: jt,
775
- header: Kt,
776
- tabs: Jt,
775
+ header: Jt,
776
+ tabs: Kt,
777
777
  tab: Qt,
778
778
  tabHover: en,
779
779
  tabSelected: tn,
@@ -793,18 +793,18 @@ const kt = () => {
793
793
  content: e,
794
794
  locale: t
795
795
  }), gn = () => {
796
- var G, te, y, w, U, B;
797
- const e = kt(), { disabled: t, readOnly: a } = x(), n = !t && !a, o = X({
798
- globalClasses: Ke,
796
+ var Z, te, y, w, U, B;
797
+ const e = Gt(), { disabled: t, readOnly: a } = x(), n = !t && !a, o = X({
798
+ globalClasses: Je,
799
799
  moduleClasses: {
800
800
  base: T.tab,
801
801
  hover: T.tabHover,
802
802
  selected: T.tabSelected
803
803
  }
804
- }), s = ({ isSelected: D, isHovered: O, isFocused: Z }) => o({
804
+ }), s = ({ isSelected: D, isHovered: O, isFocused: k }) => o({
805
805
  isSelected: D,
806
806
  isHovered: O,
807
- isFocused: Z,
807
+ isFocused: k,
808
808
  isInteractive: n
809
809
  }), i = X({
810
810
  globalClasses: $e,
@@ -838,7 +838,7 @@ const kt = () => {
838
838
  base: T.uploadButton,
839
839
  hover: T.uploadButtonHover
840
840
  }
841
- }), m = (B = (U = (w = (y = (te = (G = Te().signature) == null ? void 0 : G.elementProps) == null ? void 0 : te.dropZone) == null ? void 0 : y.elementProps) == null ? void 0 : w.uploadButton) == null ? void 0 : U.elementProps) == null ? void 0 : B.icon, { wix: L, className: h, ...p } = m ?? {}, g = We(ne.SIGNATURE, ne.SIGNATURE_DROP_ZONE, ne.SIGNATURE_UPLOAD_BUTTON, ne.UPLOAD_BUTTON_LABEL), E = V(null), [S, Y] = q(!1), [P, v] = q(!1), ee = _(() => {
841
+ }), m = (B = (U = (w = (y = (te = (Z = Te().signature) == null ? void 0 : Z.elementProps) == null ? void 0 : te.dropZone) == null ? void 0 : y.elementProps) == null ? void 0 : w.uploadButton) == null ? void 0 : U.elementProps) == null ? void 0 : B.icon, { wix: L, className: h, ...p } = m ?? {}, g = ze(ne.SIGNATURE, ne.SIGNATURE_DROP_ZONE, ne.SIGNATURE_UPLOAD_BUTTON, ne.UPLOAD_BUTTON_LABEL), E = V(null), [S, Y] = q(!1), [P, v] = q(!1), ee = _(() => {
842
842
  var D;
843
843
  Y(!0), (D = E.current) == null || D.runAnimationForward();
844
844
  }, []), $ = _(() => {
@@ -846,11 +846,11 @@ const kt = () => {
846
846
  Y(!1), (D = E.current) == null || D.runAnimationBackward();
847
847
  }, []);
848
848
  return /* @__PURE__ */ r.createElement(b, null, /* @__PURE__ */ r.createElement(b.Label, {
849
- className: F(ze, ae.label)
849
+ className: F(We, ae.label)
850
850
  }, /* @__PURE__ */ r.createElement(b.Label.Required, {
851
851
  className: F(Ye, ae.requiredMark)
852
852
  })), /* @__PURE__ */ r.createElement(b.Input, {
853
- className: F(Ge, T.container)
853
+ className: F(Ze, T.container)
854
854
  }, /* @__PURE__ */ r.createElement(b.Input.Header, {
855
855
  className: T.header
856
856
  }, /* @__PURE__ */ r.createElement(b.Input.Header.Tabs, {
@@ -888,9 +888,9 @@ const kt = () => {
888
888
  className: T.typeInput,
889
889
  placeholder: e.placeholder
890
890
  })), /* @__PURE__ */ r.createElement(b.Input.Value.Upload, {
891
- className: ({ isHovered: D, isFocused: O, isDropTarget: Z }) => F(T.uploadBox, d({
891
+ className: ({ isHovered: D, isFocused: O, isDropTarget: k }) => F(T.uploadBox, d({
892
892
  isSelected: !1,
893
- isHovered: D || Z,
893
+ isHovered: D || k,
894
894
  isFocused: O,
895
895
  isInteractive: n
896
896
  }))
@@ -910,7 +910,7 @@ const kt = () => {
910
910
  }, p.svg ? /* @__PURE__ */ r.createElement(we, {
911
911
  ...p,
912
912
  ref: E,
913
- className: F(Ze, ke, h)
913
+ className: F(ke, Ge, h)
914
914
  }) : null, /* @__PURE__ */ r.createElement(b.Input.Value.Upload.Button.Text, {
915
915
  className: F(fe.base, T.uploadButtonLabel, g, {
916
916
  [fe.hover]: n && (S || P)
@@ -1,10 +1,10 @@
1
- import t, { useRef as X, useCallback as k } from "react";
2
- import q from "@wix/editor-react-components/AnimatedIcon";
1
+ import t, { useRef as X, useCallback as y } from "react";
2
+ import $ from "@wix/editor-react-components/AnimatedIcon";
3
3
  import p from "classnames";
4
- import { by as B, bs as $, as as j, ar as z, ap as G, ao as J, ax as K, aw as Q, aq as Y, b as Z, an as tt, av as et } from "./form-sH9m0ReT.js";
4
+ import { bD as b, bx as j, ax as q, aw as z, au as G, at as J, aC as K, aB as Q, av as Y, b as Z, as as tt, aA as et } from "./form-jK8ezTss.js";
5
5
  import { ProgressBar as nt, Button as w } from "react-aria-components";
6
6
  import { f as c } from "./find-child-C60k4CxG.js";
7
- import { u as x } from "./use-element-state-class-name-DCAoZgWT.js";
7
+ import { u as T } from "./use-element-state-class-name-CkT6Ga8t.js";
8
8
  function ot(e) {
9
9
  const s = "calc(50% - 2px)";
10
10
  return /* @__PURE__ */ t.createElement(nt, {
@@ -38,7 +38,7 @@ function ot(e) {
38
38
  })))));
39
39
  }
40
40
  const r = ({ children: e }) => {
41
- const { id: o, FieldLayout: s } = B(), n = c(e, r.SubmitButton);
41
+ const { id: o, FieldLayout: s } = b(), n = c(e, r.SubmitButton);
42
42
  return /* @__PURE__ */ t.createElement(s, {
43
43
  fieldId: o,
44
44
  renderLabel: () => null,
@@ -46,12 +46,12 @@ const r = ({ children: e }) => {
46
46
  renderDescription: () => null
47
47
  });
48
48
  }, g = ({ className: e, children: o }) => {
49
- const s = c(o, S), n = c(o, E), a = c(o, b);
49
+ const s = c(o, S), n = c(o, E), a = c(o, B);
50
50
  return /* @__PURE__ */ t.createElement("div", {
51
51
  className: e
52
52
  }, s, n, a);
53
53
  }, S = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
54
- const { showPreviousButton: a, onPreviousClick: i, previousText: v } = B();
54
+ const { showPreviousButton: a, onPreviousClick: i, previousText: v } = b();
55
55
  if (!a)
56
56
  return null;
57
57
  const l = c(n, S.Label), m = c(n, S.Icon);
@@ -63,7 +63,7 @@ const r = ({ children: e }) => {
63
63
  onHoverEnd: s
64
64
  }, m, l ?? /* @__PURE__ */ t.createElement(W, null));
65
65
  }, E = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
66
- const { showNextButton: a, onNextClick: i, nextText: v } = B();
66
+ const { showNextButton: a, onNextClick: i, nextText: v } = b();
67
67
  if (!a)
68
68
  return null;
69
69
  const l = c(n, E.Label), m = c(n, E.Icon);
@@ -74,11 +74,11 @@ const r = ({ children: e }) => {
74
74
  onHoverStart: o,
75
75
  onHoverEnd: s
76
76
  }, l ?? /* @__PURE__ */ t.createElement(V, null), m);
77
- }, b = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
78
- const { showSubmitButton: a, onSubmitClick: i, submitText: v, isDisabled: l, isInProgress: m, isSubmitting: C } = B();
77
+ }, B = ({ className: e, onHoverStart: o, onHoverEnd: s, children: n }) => {
78
+ const { showSubmitButton: a, onSubmitClick: i, submitText: v, isDisabled: l, isInProgress: m, isSubmitting: C } = b();
79
79
  if (!a)
80
80
  return null;
81
- const f = c(n, b.Label), I = c(n, b.Icon), d = c(n, b.Loader), _ = C || m;
81
+ const f = c(n, B.Label), I = c(n, B.Icon), d = c(n, B.Loader), _ = C || m;
82
82
  return /* @__PURE__ */ t.createElement(w, {
83
83
  className: e,
84
84
  "aria-label": v,
@@ -90,35 +90,35 @@ const r = ({ children: e }) => {
90
90
  "data-in-progress": m
91
91
  }, m && d ? d : /* @__PURE__ */ t.createElement(t.Fragment, null, f ?? /* @__PURE__ */ t.createElement(D, null), I));
92
92
  }, D = ({ className: e }) => {
93
- const { submitText: o } = B();
93
+ const { submitText: o } = b();
94
94
  return /* @__PURE__ */ t.createElement("span", {
95
95
  className: e
96
96
  }, o);
97
97
  }, W = ({ className: e }) => {
98
- const { previousText: o } = B();
98
+ const { previousText: o } = b();
99
99
  return /* @__PURE__ */ t.createElement("span", {
100
100
  className: e
101
101
  }, o);
102
102
  }, V = ({ className: e }) => {
103
- const { nextText: o } = B();
103
+ const { nextText: o } = b();
104
104
  return /* @__PURE__ */ t.createElement("span", {
105
105
  className: e
106
106
  }, o);
107
107
  }, R = ({ children: e }) => /* @__PURE__ */ t.createElement(t.Fragment, null, e), st = ({ className: e }) => /* @__PURE__ */ t.createElement("span", {
108
108
  className: e
109
109
  }, /* @__PURE__ */ t.createElement(ot, null));
110
- b.Label = D;
111
- b.Icon = R;
112
- b.Loader = st;
110
+ B.Label = D;
111
+ B.Icon = R;
112
+ B.Loader = st;
113
113
  S.Label = W;
114
114
  S.Icon = R;
115
115
  E.Label = V;
116
116
  E.Icon = R;
117
117
  g.PreviousButton = S;
118
118
  g.NextButton = E;
119
- g.SubmitButton = b;
119
+ g.SubmitButton = B;
120
120
  r.SubmitButton = g;
121
- const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_navigationButton_16wic_10", ct = "_nextButton_16wic_33", it = "_previousButton_16wic_59", lt = "_navigationButtonHover_16wic_100", mt = "_button_16wic_138", bt = "_buttonNoSteps_16wic_186", Bt = "_buttonWithSteps_16wic_190", vt = "_buttonHover_16wic_194", St = "_progress_16wic_260", u = {
121
+ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_navigationButton_16wic_10", ct = "_nextButton_16wic_33", it = "_previousButton_16wic_59", lt = "_navigationButtonHover_16wic_100", mt = "_button_16wic_138", Bt = "_buttonNoSteps_16wic_186", bt = "_buttonWithSteps_16wic_190", vt = "_buttonHover_16wic_194", St = "_progress_16wic_260", u = {
122
122
  navigationContainer: at,
123
123
  rowSpacing: rt,
124
124
  navigationButton: ut,
@@ -126,15 +126,15 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
126
126
  previousButton: it,
127
127
  navigationButtonHover: lt,
128
128
  button: mt,
129
- buttonNoSteps: bt,
130
- buttonWithSteps: Bt,
129
+ buttonNoSteps: Bt,
130
+ buttonWithSteps: bt,
131
131
  buttonHover: vt,
132
132
  progress: St
133
133
  }, P = () => {
134
- const e = X(null), o = k(() => {
134
+ const e = X(null), o = y(() => {
135
135
  var n;
136
136
  return (n = e.current) == null ? void 0 : n.runAnimationForward();
137
- }, []), s = k(() => {
137
+ }, []), s = y(() => {
138
138
  var n;
139
139
  return (n = e.current) == null ? void 0 : n.runAnimationBackward();
140
140
  }, []);
@@ -145,26 +145,26 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
145
145
  };
146
146
  }, O = ({ icon: e, iconRef: o, iconClassName: s }) => {
147
147
  const { wix: n, className: a, ...i } = e ?? {};
148
- return i.svg ? /* @__PURE__ */ t.createElement(q, {
148
+ return i.svg ? /* @__PURE__ */ t.createElement($, {
149
149
  ...i,
150
150
  ref: o,
151
151
  className: p(Z, s, a)
152
152
  }) : null;
153
153
  }, Et = () => {
154
- var A, F, h, U, M, y;
155
- const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } = B(), v = !s && !(a || n), l = $(), m = (F = (A = l.submitButton) == null ? void 0 : A.elementProps) == null ? void 0 : F.icon, C = (U = (h = l.nextButton) == null ? void 0 : h.elementProps) == null ? void 0 : U.icon, f = (y = (M = l.previousButton) == null ? void 0 : M.elementProps) == null ? void 0 : y.icon, I = x({
154
+ var A, F, h, U, M, k;
155
+ const { hasSteps: e, showPreviousButton: o, isDisabled: s, isInProgress: n, isSubmitting: a } = b(), v = !s && !(a || n), l = j(), m = (F = (A = l.submitButton) == null ? void 0 : A.elementProps) == null ? void 0 : F.icon, C = (U = (h = l.nextButton) == null ? void 0 : h.elementProps) == null ? void 0 : U.icon, f = (k = (M = l.previousButton) == null ? void 0 : M.elementProps) == null ? void 0 : k.icon, I = T({
156
156
  globalClasses: Y,
157
157
  moduleClasses: {
158
158
  base: p(u.navigationButton, u.previousButton),
159
159
  hover: u.navigationButtonHover
160
160
  }
161
- }), d = x({
161
+ }), d = T({
162
162
  globalClasses: tt,
163
163
  moduleClasses: {
164
164
  base: p(u.navigationButton, u.nextButton),
165
165
  hover: u.navigationButtonHover
166
166
  }
167
- }), _ = x({
167
+ }), _ = T({
168
168
  globalClasses: et,
169
169
  moduleClasses: {
170
170
  base: p(u.button, {
@@ -173,7 +173,7 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
173
173
  }),
174
174
  hover: u.buttonHover
175
175
  }
176
- }), H = P(), L = P(), T = P();
176
+ }), x = P(), H = P(), L = P();
177
177
  return /* @__PURE__ */ t.createElement(r, null, /* @__PURE__ */ t.createElement(r.SubmitButton, {
178
178
  className: p({
179
179
  [u.navigationContainer]: e,
@@ -184,26 +184,26 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
184
184
  isSelected: !1,
185
185
  isHovered: N
186
186
  }),
187
- onHoverStart: T.onHoverStart,
188
- onHoverEnd: T.onHoverEnd
187
+ onHoverStart: L.onHoverStart,
188
+ onHoverEnd: L.onHoverEnd
189
189
  }, /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Label, {
190
- className: j
190
+ className: q
191
191
  }), /* @__PURE__ */ t.createElement(r.SubmitButton.PreviousButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
192
192
  icon: f,
193
- iconRef: T.iconRef,
193
+ iconRef: L.iconRef,
194
194
  iconClassName: z
195
195
  }))), /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton, {
196
196
  className: ({ isHovered: N }) => d({
197
197
  isSelected: !1,
198
198
  isHovered: N
199
199
  }),
200
- onHoverStart: L.onHoverStart,
201
- onHoverEnd: L.onHoverEnd
200
+ onHoverStart: H.onHoverStart,
201
+ onHoverEnd: H.onHoverEnd
202
202
  }, /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton.Label, {
203
203
  className: G
204
204
  }), /* @__PURE__ */ t.createElement(r.SubmitButton.NextButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
205
205
  icon: C,
206
- iconRef: L.iconRef,
206
+ iconRef: H.iconRef,
207
207
  iconClassName: J
208
208
  }))), /* @__PURE__ */ t.createElement(r.SubmitButton.SubmitButton, {
209
209
  className: ({ isHovered: N }) => _({
@@ -211,13 +211,13 @@ const at = "_navigationContainer_16wic_1", rt = "_rowSpacing_16wic_6", ut = "_na
211
211
  isHovered: N,
212
212
  isInteractive: v
213
213
  }),
214
- onHoverStart: H.onHoverStart,
215
- onHoverEnd: H.onHoverEnd
214
+ onHoverStart: x.onHoverStart,
215
+ onHoverEnd: x.onHoverEnd
216
216
  }, /* @__PURE__ */ t.createElement(r.SubmitButton.SubmitButton.Label, {
217
217
  className: K
218
218
  }), /* @__PURE__ */ t.createElement(r.SubmitButton.SubmitButton.Icon, null, /* @__PURE__ */ t.createElement(O, {
219
219
  icon: m,
220
- iconRef: H.iconRef,
220
+ iconRef: x.iconRef,
221
221
  iconClassName: Q
222
222
  })), /* @__PURE__ */ t.createElement(r.SubmitButton.SubmitButton.Loader, {
223
223
  className: u.progress