@web-site-utilities/feedback 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import l, { useMemo as se, createElement as mo, useContext as ho, useState as Ue, useEffect as We, useRef as yn, useCallback as Ce, Fragment as po } from "react";
1
+ import l, { useMemo as se, createElement as mo, useContext as ho, useState as Ue, useEffect as We, useRef as yn, useCallback as xe, Fragment as po } from "react";
2
2
  import go from "react-dom";
3
3
  var vt = {}, Hr;
4
4
  function bo() {
@@ -67,7 +67,7 @@ function Ft(e, t, r, n, o, i, s, d) {
67
67
  function ye(e, t) {
68
68
  return ur(Ft("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
69
69
  }
70
- function ze(e) {
70
+ function Fe(e) {
71
71
  for (; e.root; )
72
72
  e = ye(e.root, { children: [e] });
73
73
  lt(e, e.siblings);
@@ -81,7 +81,7 @@ function xo() {
81
81
  function oe() {
82
82
  return F = Z < xn ? B(qe, Z++) : 0, Ve++, F === 10 && (Ve = 1, Mt++), F;
83
83
  }
84
- function Ae() {
84
+ function Ce() {
85
85
  return B(qe, Z);
86
86
  }
87
87
  function At() {
@@ -138,14 +138,14 @@ function er(e) {
138
138
  return Tn(zt(Z - 1, fr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
139
139
  }
140
140
  function _o(e) {
141
- for (; (F = Ae()) && F < 33; )
141
+ for (; (F = Ce()) && F < 33; )
142
142
  oe();
143
143
  return dr(e) > 2 || dr(F) > 3 ? "" : " ";
144
144
  }
145
145
  function Io(e, t) {
146
146
  for (; --t && oe() && !(F < 48 || F > 102 || F > 57 && F < 65 || F > 70 && F < 97); )
147
147
  ;
148
- return zt(e, At() + (t < 6 && Ae() == 32 && oe() == 32));
148
+ return zt(e, At() + (t < 6 && Ce() == 32 && oe() == 32));
149
149
  }
150
150
  function fr(e) {
151
151
  for (; oe(); )
@@ -171,12 +171,12 @@ function fr(e) {
171
171
  }
172
172
  function Ro(e, t) {
173
173
  for (; oe() && e + F !== 57; )
174
- if (e + F === 84 && Ae() === 47)
174
+ if (e + F === 84 && Ce() === 47)
175
175
  break;
176
176
  return "/*" + zt(t, Z - 1) + "*" + Er(e === 47 ? e : oe());
177
177
  }
178
178
  function ko(e) {
179
- for (; !dr(Ae()); )
179
+ for (; !dr(Ce()); )
180
180
  oe();
181
181
  return zt(e, Z);
182
182
  }
@@ -211,7 +211,7 @@ function _t(e, t, r, n, o, i, s, d, u) {
211
211
  continue;
212
212
  // /
213
213
  case 47:
214
- switch (Ae()) {
214
+ switch (Ce()) {
215
215
  case 42:
216
216
  case 47:
217
217
  lt(Po(Ro(oe(), At()), t, r, u), u);
@@ -280,7 +280,7 @@ function _t(e, t, r, n, o, i, s, d, u) {
280
280
  break;
281
281
  // @
282
282
  case 64:
283
- Ae() === 45 && (y += er(oe())), w = Ae(), p = T = ie(_ = y += ko(At())), O++;
283
+ Ce() === 45 && (y += er(oe())), w = Ce(), p = T = ie(_ = y += ko(At())), O++;
284
284
  break;
285
285
  // -
286
286
  case 45:
@@ -532,11 +532,11 @@ function Lo(e, t, r, n) {
532
532
  // :read-(only|write)
533
533
  case ":read-only":
534
534
  case ":read-write":
535
- ze(ye(e, { props: [g(o, /:(read-\w+)/, ":" + ut + "$1")] })), ze(ye(e, { props: [o] })), ur(e, { props: Vr(r, n) });
535
+ Fe(ye(e, { props: [g(o, /:(read-\w+)/, ":" + ut + "$1")] })), Fe(ye(e, { props: [o] })), ur(e, { props: Vr(r, n) });
536
536
  break;
537
537
  // :placeholder
538
538
  case "::placeholder":
539
- ze(ye(e, { props: [g(o, /:(plac\w+)/, ":" + C + "input-$1")] })), ze(ye(e, { props: [g(o, /:(plac\w+)/, ":" + ut + "$1")] })), ze(ye(e, { props: [g(o, /:(plac\w+)/, k + "input-$1")] })), ze(ye(e, { props: [o] })), ur(e, { props: Vr(r, n) });
539
+ Fe(ye(e, { props: [g(o, /:(plac\w+)/, ":" + C + "input-$1")] })), Fe(ye(e, { props: [g(o, /:(plac\w+)/, ":" + ut + "$1")] })), Fe(ye(e, { props: [g(o, /:(plac\w+)/, k + "input-$1")] })), Fe(ye(e, { props: [o] })), ur(e, { props: Vr(r, n) });
540
540
  break;
541
541
  }
542
542
  return "";
@@ -608,11 +608,11 @@ function mr(e) {
608
608
  for (t = Math.abs(e); t > Et; t = t / Et | 0) r = qr(t % Et) + r;
609
609
  return (qr(t % Et) + r).replace(Wo, "$1-$2");
610
610
  }
611
- var tr, Rn = 5381, Be = function(e, t) {
611
+ var tr, Rn = 5381, ze = function(e, t) {
612
612
  for (var r = t.length; r; ) e = 33 * e ^ t.charCodeAt(--r);
613
613
  return e;
614
614
  }, kn = function(e) {
615
- return Be(Rn, e);
615
+ return ze(Rn, e);
616
616
  };
617
617
  function Ho(e) {
618
618
  return mr(kn(e) >>> 0);
@@ -650,13 +650,13 @@ function $n(e, t, r) {
650
650
  }
651
651
  return e;
652
652
  }
653
- function Ie(e) {
653
+ function _e(e) {
654
654
  return typeof e == "function";
655
655
  }
656
656
  function Tr(e) {
657
657
  return typeof e == "object" && "styledComponentId" in e;
658
658
  }
659
- function xe(e, t) {
659
+ function we(e, t) {
660
660
  return e && t ? "".concat(e, " ").concat(t) : e || t || "";
661
661
  }
662
662
  function Qr(e, t) {
@@ -676,7 +676,7 @@ function hr(e, t, r) {
676
676
  function wr(e, t) {
677
677
  Object.defineProperty(e, "toString", { value: t });
678
678
  }
679
- function Re(e) {
679
+ function Ie(e) {
680
680
  for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
681
681
  return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : ""));
682
682
  }
@@ -689,7 +689,7 @@ var Jo = (function() {
689
689
  return r;
690
690
  }, e.prototype.insertRules = function(t, r) {
691
691
  if (t >= this.groupSizes.length) {
692
- for (var n = this.groupSizes, o = n.length, i = o; t >= i; ) if ((i <<= 1) < 0) throw Re(16, "".concat(t));
692
+ for (var n = this.groupSizes, o = n.length, i = o; t >= i; ) if ((i <<= 1) < 0) throw Ie(16, "".concat(t));
693
693
  this.groupSizes = new Uint32Array(i), this.groupSizes.set(n), this.length = i;
694
694
  for (var s = o; s < i; s++) this.groupSizes[s] = 0;
695
695
  }
@@ -751,7 +751,7 @@ var Dn = function(e) {
751
751
  var s = n[o];
752
752
  if (s.ownerNode === r) return s;
753
753
  }
754
- throw Re(17);
754
+ throw Ie(17);
755
755
  })(this.element), this.length = 0;
756
756
  }
757
757
  return e.prototype.insertRule = function(t, r) {
@@ -870,7 +870,7 @@ function fa(e) {
870
870
  })))), O;
871
871
  };
872
872
  return T.hash = u.length ? u.reduce(function(w, v) {
873
- return v.name || Re(15), Be(w, v.name);
873
+ return v.name || Ie(15), ze(w, v.name);
874
874
  }, Rn).toString() : "", T;
875
875
  }
876
876
  var ma = new Ln(), pr = fa(), Fn = l.createContext({ shouldForwardProp: void 0, styleSheet: ma, stylis: pr });
@@ -887,7 +887,7 @@ var ha = (function() {
887
887
  var s = n.name + i.hash;
888
888
  o.hasNameForId(n.id, s) || o.insertRules(n.id, s, i(n.rules, s, "@keyframes"));
889
889
  }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, wr(this, function() {
890
- throw Re(12, String(n.name));
890
+ throw Ie(12, String(n.name));
891
891
  });
892
892
  }
893
893
  return e.prototype.getName = function(t) {
@@ -910,57 +910,57 @@ var zn = function(e) {
910
910
  var t, r, n = [];
911
911
  for (var o in e) {
912
912
  var i = e[o];
913
- e.hasOwnProperty(o) && !zn(i) && (Array.isArray(i) && i.isCss || Ie(i) ? n.push("".concat(rn(o), ":"), i, ";") : dt(i) ? n.push.apply(n, Ot(Ot(["".concat(o, " {")], Bn(i), !1), ["}"], !1)) : n.push("".concat(rn(o), ": ").concat((t = o, (r = i) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in Mo || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
913
+ e.hasOwnProperty(o) && !zn(i) && (Array.isArray(i) && i.isCss || _e(i) ? n.push("".concat(rn(o), ":"), i, ";") : dt(i) ? n.push.apply(n, Ot(Ot(["".concat(o, " {")], Bn(i), !1), ["}"], !1)) : n.push("".concat(rn(o), ": ").concat((t = o, (r = i) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in Mo || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
914
914
  }
915
915
  return n;
916
916
  };
917
- function _e(e, t, r, n) {
917
+ function Ae(e, t, r, n) {
918
918
  if (zn(e)) return [];
919
919
  if (Tr(e)) return [".".concat(e.styledComponentId)];
920
- if (Ie(e)) {
921
- if (!Ie(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
920
+ if (_e(e)) {
921
+ if (!_e(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
922
922
  var o = e(t);
923
- return _e(o, t, r, n);
923
+ return Ae(o, t, r, n);
924
924
  }
925
925
  var i;
926
926
  return e instanceof ha ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : dt(e) ? Bn(e) : Array.isArray(e) ? Array.prototype.concat.apply(Ut, e.map(function(s) {
927
- return _e(s, t, r, n);
927
+ return Ae(s, t, r, n);
928
928
  })) : [e.toString()];
929
929
  }
930
930
  function ga(e) {
931
931
  for (var t = 0; t < e.length; t += 1) {
932
932
  var r = e[t];
933
- if (Ie(r) && !Tr(r)) return !1;
933
+ if (_e(r) && !Tr(r)) return !1;
934
934
  }
935
935
  return !0;
936
936
  }
937
937
  var ba = kn(Bt), ya = (function() {
938
938
  function e(t, r, n) {
939
- this.rules = t, this.staticRulesId = "", this.isStatic = (n === void 0 || n.isStatic) && ga(t), this.componentId = r, this.baseHash = Be(ba, r), this.baseStyle = n, Ln.registerId(r);
939
+ this.rules = t, this.staticRulesId = "", this.isStatic = (n === void 0 || n.isStatic) && ga(t), this.componentId = r, this.baseHash = ze(ba, r), this.baseStyle = n, Ln.registerId(r);
940
940
  }
941
941
  return e.prototype.generateAndInjectStyles = function(t, r, n) {
942
942
  var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, n) : "";
943
- if (this.isStatic && !n.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) o = xe(o, this.staticRulesId);
943
+ if (this.isStatic && !n.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) o = we(o, this.staticRulesId);
944
944
  else {
945
- var i = Qr(_e(this.rules, t, r, n)), s = mr(Be(this.baseHash, i) >>> 0);
945
+ var i = Qr(Ae(this.rules, t, r, n)), s = mr(ze(this.baseHash, i) >>> 0);
946
946
  if (!r.hasNameForId(this.componentId, s)) {
947
947
  var d = n(i, ".".concat(s), void 0, this.componentId);
948
948
  r.insertRules(this.componentId, s, d);
949
949
  }
950
- o = xe(o, s), this.staticRulesId = s;
950
+ o = we(o, s), this.staticRulesId = s;
951
951
  }
952
952
  else {
953
- for (var u = Be(this.baseHash, n.hash), m = "", p = 0; p < this.rules.length; p++) {
953
+ for (var u = ze(this.baseHash, n.hash), m = "", p = 0; p < this.rules.length; p++) {
954
954
  var T = this.rules[p];
955
955
  if (typeof T == "string") m += T;
956
956
  else if (T) {
957
- var w = Qr(_e(T, t, r, n));
958
- u = Be(u, w + p), m += w;
957
+ var w = Qr(Ae(T, t, r, n));
958
+ u = ze(u, w + p), m += w;
959
959
  }
960
960
  }
961
961
  if (m) {
962
962
  var v = mr(u >>> 0);
963
- r.hasNameForId(this.componentId, v) || r.insertRules(this.componentId, v, n(m, ".".concat(v), void 0, this.componentId)), o = xe(o, v);
963
+ r.hasNameForId(this.componentId, v) || r.insertRules(this.componentId, v, n(m, ".".concat(v), void 0, this.componentId)), o = we(o, v);
964
964
  }
965
965
  }
966
966
  return o;
@@ -970,12 +970,12 @@ Dt.Consumer;
970
970
  function va(e) {
971
971
  var t = l.useContext(Dt), r = se(function() {
972
972
  return (function(n, o) {
973
- if (!n) throw Re(14);
974
- if (Ie(n)) {
973
+ if (!n) throw Ie(14);
974
+ if (_e(n)) {
975
975
  var i = n(o);
976
976
  return i;
977
977
  }
978
- if (Array.isArray(n) || typeof n != "object") throw Re(8);
978
+ if (Array.isArray(n) || typeof n != "object") throw Ie(8);
979
979
  return o ? V(V({}, o), n) : n;
980
980
  })(e.theme, t);
981
981
  }, [e.theme, t]);
@@ -1003,29 +1003,29 @@ function Ea(e, t, r) {
1003
1003
  var D = new ya(r, w, n ? o.componentStyle : void 0);
1004
1004
  function O(b, R) {
1005
1005
  return (function(x, y, pe) {
1006
- var ke = x.attrs, Wt = x.componentStyle, U = x.defaultProps, Xe = x.foldedComponentIds, Ze = x.styledComponentId, Qe = x.target, Ht = l.useContext(Dt), Vt = tn(), Je = x.shouldForwardProp || Vt.shouldForwardProp, et = zo(y, Ht, U) || je, J = (function(I, te, ge) {
1007
- for (var be, re = V(V({}, te), { className: void 0, theme: ge }), Pe = 0; Pe < I.length; Pe += 1) {
1008
- var Se = Ie(be = I[Pe]) ? be(re) : be;
1009
- for (var j in Se) re[j] = j === "className" ? xe(re[j], Se[j]) : j === "style" ? V(V({}, re[j]), Se[j]) : Se[j];
1006
+ var Re = x.attrs, Wt = x.componentStyle, U = x.defaultProps, Xe = x.foldedComponentIds, Ze = x.styledComponentId, Qe = x.target, Ht = l.useContext(Dt), Vt = tn(), Je = x.shouldForwardProp || Vt.shouldForwardProp, et = zo(y, Ht, U) || je, J = (function(I, te, ge) {
1007
+ for (var be, re = V(V({}, te), { className: void 0, theme: ge }), Oe = 0; Oe < I.length; Oe += 1) {
1008
+ var Ee = _e(be = I[Oe]) ? be(re) : be;
1009
+ for (var j in Ee) re[j] = j === "className" ? we(re[j], Ee[j]) : j === "style" ? V(V({}, re[j]), Ee[j]) : Ee[j];
1010
1010
  }
1011
- return te.className && (re.className = xe(re.className, te.className)), re;
1012
- })(ke, y, et), Ee = J.as || Qe, P = {};
1013
- for (var ee in J) J[ee] === void 0 || ee[0] === "$" || ee === "as" || ee === "theme" && J.theme === et || (ee === "forwardedAs" ? P.as = J.forwardedAs : Je && !Je(ee, Ee) || (P[ee] = J[ee]));
1011
+ return te.className && (re.className = we(re.className, te.className)), re;
1012
+ })(Re, y, et), ve = J.as || Qe, P = {};
1013
+ for (var ee in J) J[ee] === void 0 || ee[0] === "$" || ee === "as" || ee === "theme" && J.theme === et || (ee === "forwardedAs" ? P.as = J.forwardedAs : Je && !Je(ee, ve) || (P[ee] = J[ee]));
1014
1014
  var L = (function(I, te) {
1015
1015
  var ge = tn(), be = I.generateAndInjectStyles(te, ge.styleSheet, ge.stylis);
1016
1016
  return be;
1017
- })(Wt, J), Oe = xe(Xe, Ze);
1018
- return L && (Oe += " " + L), J.className && (Oe += " " + J.className), P[rr(Ee) && !In.has(Ee) ? "class" : "className"] = Oe, pe && (P.ref = pe), mo(Ee, P);
1017
+ })(Wt, J), ke = we(Xe, Ze);
1018
+ return L && (ke += " " + L), J.className && (ke += " " + J.className), P[rr(ve) && !In.has(ve) ? "class" : "className"] = ke, pe && (P.ref = pe), mo(ve, P);
1019
1019
  })(_, b, R);
1020
1020
  }
1021
1021
  O.displayName = T;
1022
1022
  var _ = l.forwardRef(O);
1023
- return _.attrs = v, _.componentStyle = D, _.displayName = T, _.shouldForwardProp = A, _.foldedComponentIds = n ? xe(o.foldedComponentIds, o.styledComponentId) : "", _.styledComponentId = w, _.target = n ? o.target : e, Object.defineProperty(_, "defaultProps", { get: function() {
1023
+ return _.attrs = v, _.componentStyle = D, _.displayName = T, _.shouldForwardProp = A, _.foldedComponentIds = n ? we(o.foldedComponentIds, o.styledComponentId) : "", _.styledComponentId = w, _.target = n ? o.target : e, Object.defineProperty(_, "defaultProps", { get: function() {
1024
1024
  return this._foldedDefaultProps;
1025
1025
  }, set: function(b) {
1026
1026
  this._foldedDefaultProps = n ? (function(R) {
1027
1027
  for (var x = [], y = 1; y < arguments.length; y++) x[y - 1] = arguments[y];
1028
- for (var pe = 0, ke = x; pe < ke.length; pe++) hr(R, ke[pe], !0);
1028
+ for (var pe = 0, Re = x; pe < Re.length; pe++) hr(R, Re[pe], !0);
1029
1029
  return R;
1030
1030
  })({}, o.defaultProps, b) : b;
1031
1031
  } }), wr(_, function() {
@@ -1041,12 +1041,12 @@ var on = function(e) {
1041
1041
  };
1042
1042
  function Sa(e) {
1043
1043
  for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
1044
- if (Ie(e) || dt(e)) return on(_e(nn(Ut, Ot([e], t, !0))));
1044
+ if (_e(e) || dt(e)) return on(Ae(nn(Ut, Ot([e], t, !0))));
1045
1045
  var n = e;
1046
- return t.length === 0 && n.length === 1 && typeof n[0] == "string" ? _e(n) : on(_e(nn(n, t)));
1046
+ return t.length === 0 && n.length === 1 && typeof n[0] == "string" ? Ae(n) : on(Ae(nn(n, t)));
1047
1047
  }
1048
1048
  function gr(e, t, r) {
1049
- if (r === void 0 && (r = je), !t) throw Re(1, t);
1049
+ if (r === void 0 && (r = je), !t) throw Ie(1, t);
1050
1050
  var n = function(o) {
1051
1051
  for (var i = [], s = 1; s < arguments.length; s++) i[s - 1] = arguments[s];
1052
1052
  return e(t, r, Sa.apply(void 0, Ot([o], i, !1)));
@@ -1063,7 +1063,7 @@ var Un = function(e) {
1063
1063
  In.forEach(function(e) {
1064
1064
  S[e] = Un(e);
1065
1065
  });
1066
- const ve = {
1066
+ const Be = {
1067
1067
  // Main colors usually to be modified by the user
1068
1068
  primary: "#422ad5",
1069
1069
  // Primary brand color, The main color of your brand
@@ -1122,9 +1122,9 @@ const ve = {
1122
1122
  }, Ta = {
1123
1123
  selectedVariant: "primary",
1124
1124
  getDefaultVariantOrSelected: () => "primary",
1125
- ...ve
1125
+ ...Be
1126
1126
  }, Wn = l.createContext({
1127
- ...ve,
1127
+ ...Be,
1128
1128
  ...Ta
1129
1129
  }), wa = S.div`
1130
1130
  font-family:
@@ -1179,26 +1179,26 @@ const ve = {
1179
1179
  --all-fields-size: ${(e) => e.$theme.allFieldsSize};
1180
1180
  `, xr = (e) => {
1181
1181
  const t = e.selectedVariant ?? "primary";
1182
- return console.log("ThemeProvider_theme", e.theme ?? ve), l.createElement(va, {
1183
- theme: e.theme ?? ve,
1182
+ return console.log("ThemeProvider_theme", e.theme ?? Be), l.createElement(va, {
1183
+ theme: e.theme ?? Be,
1184
1184
  children: l.createElement(wa, {
1185
- $theme: e.theme ?? ve,
1185
+ $theme: e.theme ?? Be,
1186
1186
  children: l.createElement(Wn.Provider, {
1187
1187
  value: {
1188
1188
  selectedVariant: t,
1189
1189
  getDefaultVariantOrSelected: () => t,
1190
- ...e.theme ?? ve
1190
+ ...e.theme ?? Be
1191
1191
  },
1192
1192
  children: e.children
1193
1193
  })
1194
1194
  })
1195
1195
  });
1196
1196
  }, Hn = () => l.useContext(Wn), he = (e) => {
1197
- const { getDefaultVariantOrSelected: t } = Hn(), r = t();
1198
- return ve[e ?? r];
1197
+ const { getDefaultVariantOrSelected: t, ...r } = Hn(), n = t();
1198
+ return r[e ?? n];
1199
1199
  }, Vn = (e) => {
1200
- const { getDefaultVariantOrSelected: t } = Hn(), r = t(), n = e ? `${e}Content` : `${r}Content`;
1201
- return ve[n];
1200
+ const { getDefaultVariantOrSelected: t, ...r } = Hn(), n = t(), o = e ? `${e}Content` : `${n}Content`;
1201
+ return r[o];
1202
1202
  }, xa = () => {
1203
1203
  const e = "http://localhost:4000/external", t = async (r) => {
1204
1204
  const n = await r;
@@ -1671,7 +1671,7 @@ const ve = {
1671
1671
  }
1672
1672
  ),
1673
1673
  [e.form]
1674
- ), [r, n] = Ue(t.state), o = Ce(
1674
+ ), [r, n] = Ue(t.state), o = xe(
1675
1675
  (s, d) => {
1676
1676
  s !== null && n((u) => ({
1677
1677
  ...u,
@@ -1679,7 +1679,7 @@ const ve = {
1679
1679
  }));
1680
1680
  },
1681
1681
  [n]
1682
- ), i = Ce(
1682
+ ), i = xe(
1683
1683
  (s) => s ? r[s] : null,
1684
1684
  [r]
1685
1685
  );
@@ -1869,7 +1869,7 @@ function Qn() {
1869
1869
  implementation: x,
1870
1870
  createNodeIterator: y,
1871
1871
  createDocumentFragment: pe,
1872
- getElementsByTagName: ke
1872
+ getElementsByTagName: Re
1873
1873
  } = r, {
1874
1874
  importNode: Wt
1875
1875
  } = n;
@@ -1886,11 +1886,11 @@ function Qn() {
1886
1886
  CUSTOM_ELEMENT: J
1887
1887
  } = mn;
1888
1888
  let {
1889
- IS_ALLOWED_URI: Ee
1889
+ IS_ALLOWED_URI: ve
1890
1890
  } = mn, P = null;
1891
1891
  const ee = E({}, [...cn, ...ir, ...sr, ...lr, ...un]);
1892
1892
  let L = null;
1893
- const Oe = E({}, [...dn, ...cr, ...fn, ...wt]);
1893
+ const ke = E({}, [...dn, ...cr, ...fn, ...wt]);
1894
1894
  let I = Object.seal(Kn(null, {
1895
1895
  tagNameCheck: {
1896
1896
  writable: !0,
@@ -1910,28 +1910,28 @@ function Qn() {
1910
1910
  enumerable: !0,
1911
1911
  value: !1
1912
1912
  }
1913
- })), te = null, ge = null, be = !0, re = !0, Pe = !1, Se = !0, j = !1, ft = !0, Te = !1, Gt = !1, jt = !1, Ne = !1, mt = !1, ht = !1, Cr = !0, Ar = !1;
1913
+ })), te = null, ge = null, be = !0, re = !0, Oe = !1, Ee = !0, j = !1, ft = !0, Se = !1, Gt = !1, jt = !1, Pe = !1, mt = !1, ht = !1, Cr = !0, Ar = !1;
1914
1914
  const oo = "user-content-";
1915
- let Yt = !0, tt = !1, $e = {}, De = null;
1915
+ let Yt = !0, tt = !1, Ne = {}, $e = null;
1916
1916
  const _r = E({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
1917
1917
  let Ir = null;
1918
1918
  const Rr = E({}, ["audio", "video", "img", "source", "image", "track"]);
1919
1919
  let qt = null;
1920
1920
  const kr = E({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), pt = "http://www.w3.org/1998/Math/MathML", gt = "http://www.w3.org/2000/svg", ce = "http://www.w3.org/1999/xhtml";
1921
- let Le = ce, Kt = !1, Xt = null;
1921
+ let De = ce, Kt = !1, Xt = null;
1922
1922
  const ao = E({}, [pt, gt, ce], or);
1923
1923
  let bt = E({}, ["mi", "mo", "mn", "ms", "mtext"]), yt = E({}, ["annotation-xml"]);
1924
1924
  const io = E({}, ["title", "style", "font", "a", "script"]);
1925
1925
  let rt = null;
1926
1926
  const so = ["application/xhtml+xml", "text/html"], lo = "text/html";
1927
- let z = null, Me = null;
1927
+ let z = null, Le = null;
1928
1928
  const co = r.createElement("form"), Or = function(a) {
1929
1929
  return a instanceof RegExp || a instanceof Function;
1930
1930
  }, Zt = function() {
1931
1931
  let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1932
- if (!(Me && Me === a)) {
1932
+ if (!(Le && Le === a)) {
1933
1933
  if ((!a || typeof a != "object") && (a = {}), a = fe(a), rt = // eslint-disable-next-line unicorn/prefer-includes
1934
- so.indexOf(a.PARSER_MEDIA_TYPE) === -1 ? lo : a.PARSER_MEDIA_TYPE, z = rt === "application/xhtml+xml" ? or : kt, P = ne(a, "ALLOWED_TAGS") ? E({}, a.ALLOWED_TAGS, z) : ee, L = ne(a, "ALLOWED_ATTR") ? E({}, a.ALLOWED_ATTR, z) : Oe, Xt = ne(a, "ALLOWED_NAMESPACES") ? E({}, a.ALLOWED_NAMESPACES, or) : ao, qt = ne(a, "ADD_URI_SAFE_ATTR") ? E(fe(kr), a.ADD_URI_SAFE_ATTR, z) : kr, Ir = ne(a, "ADD_DATA_URI_TAGS") ? E(fe(Rr), a.ADD_DATA_URI_TAGS, z) : Rr, De = ne(a, "FORBID_CONTENTS") ? E({}, a.FORBID_CONTENTS, z) : _r, te = ne(a, "FORBID_TAGS") ? E({}, a.FORBID_TAGS, z) : fe({}), ge = ne(a, "FORBID_ATTR") ? E({}, a.FORBID_ATTR, z) : fe({}), $e = ne(a, "USE_PROFILES") ? a.USE_PROFILES : !1, be = a.ALLOW_ARIA_ATTR !== !1, re = a.ALLOW_DATA_ATTR !== !1, Pe = a.ALLOW_UNKNOWN_PROTOCOLS || !1, Se = a.ALLOW_SELF_CLOSE_IN_ATTR !== !1, j = a.SAFE_FOR_TEMPLATES || !1, ft = a.SAFE_FOR_XML !== !1, Te = a.WHOLE_DOCUMENT || !1, Ne = a.RETURN_DOM || !1, mt = a.RETURN_DOM_FRAGMENT || !1, ht = a.RETURN_TRUSTED_TYPE || !1, jt = a.FORCE_BODY || !1, Cr = a.SANITIZE_DOM !== !1, Ar = a.SANITIZE_NAMED_PROPS || !1, Yt = a.KEEP_CONTENT !== !1, tt = a.IN_PLACE || !1, Ee = a.ALLOWED_URI_REGEXP || Xn, Le = a.NAMESPACE || ce, bt = a.MATHML_TEXT_INTEGRATION_POINTS || bt, yt = a.HTML_INTEGRATION_POINTS || yt, I = a.CUSTOM_ELEMENT_HANDLING || {}, a.CUSTOM_ELEMENT_HANDLING && Or(a.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = a.CUSTOM_ELEMENT_HANDLING.tagNameCheck), a.CUSTOM_ELEMENT_HANDLING && Or(a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), a.CUSTOM_ELEMENT_HANDLING && typeof a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), j && (re = !1), mt && (Ne = !0), $e && (P = E({}, un), L = [], $e.html === !0 && (E(P, cn), E(L, dn)), $e.svg === !0 && (E(P, ir), E(L, cr), E(L, wt)), $e.svgFilters === !0 && (E(P, sr), E(L, cr), E(L, wt)), $e.mathMl === !0 && (E(P, lr), E(L, fn), E(L, wt))), a.ADD_TAGS && (P === ee && (P = fe(P)), E(P, a.ADD_TAGS, z)), a.ADD_ATTR && (L === Oe && (L = fe(L)), E(L, a.ADD_ATTR, z)), a.ADD_URI_SAFE_ATTR && E(qt, a.ADD_URI_SAFE_ATTR, z), a.FORBID_CONTENTS && (De === _r && (De = fe(De)), E(De, a.FORBID_CONTENTS, z)), Yt && (P["#text"] = !0), Te && E(P, ["html", "head", "body"]), P.table && (E(P, ["tbody"]), delete te.tbody), a.TRUSTED_TYPES_POLICY) {
1934
+ so.indexOf(a.PARSER_MEDIA_TYPE) === -1 ? lo : a.PARSER_MEDIA_TYPE, z = rt === "application/xhtml+xml" ? or : kt, P = ne(a, "ALLOWED_TAGS") ? E({}, a.ALLOWED_TAGS, z) : ee, L = ne(a, "ALLOWED_ATTR") ? E({}, a.ALLOWED_ATTR, z) : ke, Xt = ne(a, "ALLOWED_NAMESPACES") ? E({}, a.ALLOWED_NAMESPACES, or) : ao, qt = ne(a, "ADD_URI_SAFE_ATTR") ? E(fe(kr), a.ADD_URI_SAFE_ATTR, z) : kr, Ir = ne(a, "ADD_DATA_URI_TAGS") ? E(fe(Rr), a.ADD_DATA_URI_TAGS, z) : Rr, $e = ne(a, "FORBID_CONTENTS") ? E({}, a.FORBID_CONTENTS, z) : _r, te = ne(a, "FORBID_TAGS") ? E({}, a.FORBID_TAGS, z) : fe({}), ge = ne(a, "FORBID_ATTR") ? E({}, a.FORBID_ATTR, z) : fe({}), Ne = ne(a, "USE_PROFILES") ? a.USE_PROFILES : !1, be = a.ALLOW_ARIA_ATTR !== !1, re = a.ALLOW_DATA_ATTR !== !1, Oe = a.ALLOW_UNKNOWN_PROTOCOLS || !1, Ee = a.ALLOW_SELF_CLOSE_IN_ATTR !== !1, j = a.SAFE_FOR_TEMPLATES || !1, ft = a.SAFE_FOR_XML !== !1, Se = a.WHOLE_DOCUMENT || !1, Pe = a.RETURN_DOM || !1, mt = a.RETURN_DOM_FRAGMENT || !1, ht = a.RETURN_TRUSTED_TYPE || !1, jt = a.FORCE_BODY || !1, Cr = a.SANITIZE_DOM !== !1, Ar = a.SANITIZE_NAMED_PROPS || !1, Yt = a.KEEP_CONTENT !== !1, tt = a.IN_PLACE || !1, ve = a.ALLOWED_URI_REGEXP || Xn, De = a.NAMESPACE || ce, bt = a.MATHML_TEXT_INTEGRATION_POINTS || bt, yt = a.HTML_INTEGRATION_POINTS || yt, I = a.CUSTOM_ELEMENT_HANDLING || {}, a.CUSTOM_ELEMENT_HANDLING && Or(a.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = a.CUSTOM_ELEMENT_HANDLING.tagNameCheck), a.CUSTOM_ELEMENT_HANDLING && Or(a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), a.CUSTOM_ELEMENT_HANDLING && typeof a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), j && (re = !1), mt && (Pe = !0), Ne && (P = E({}, un), L = [], Ne.html === !0 && (E(P, cn), E(L, dn)), Ne.svg === !0 && (E(P, ir), E(L, cr), E(L, wt)), Ne.svgFilters === !0 && (E(P, sr), E(L, cr), E(L, wt)), Ne.mathMl === !0 && (E(P, lr), E(L, fn), E(L, wt))), a.ADD_TAGS && (P === ee && (P = fe(P)), E(P, a.ADD_TAGS, z)), a.ADD_ATTR && (L === ke && (L = fe(L)), E(L, a.ADD_ATTR, z)), a.ADD_URI_SAFE_ATTR && E(qt, a.ADD_URI_SAFE_ATTR, z), a.FORBID_CONTENTS && ($e === _r && ($e = fe($e)), E($e, a.FORBID_CONTENTS, z)), Yt && (P["#text"] = !0), Se && E(P, ["html", "head", "body"]), P.table && (E(P, ["tbody"]), delete te.tbody), a.TRUSTED_TYPES_POLICY) {
1935
1935
  if (typeof a.TRUSTED_TYPES_POLICY.createHTML != "function")
1936
1936
  throw at('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1937
1937
  if (typeof a.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -1939,12 +1939,12 @@ function Qn() {
1939
1939
  b = a.TRUSTED_TYPES_POLICY, R = b.createHTML("");
1940
1940
  } else
1941
1941
  b === void 0 && (b = ti(v, o)), b !== null && typeof R == "string" && (R = b.createHTML(""));
1942
- q && q(a), Me = a;
1942
+ q && q(a), Le = a;
1943
1943
  }
1944
1944
  }, Pr = E({}, [...ir, ...sr, ...Va]), Nr = E({}, [...lr, ...Ga]), uo = function(a) {
1945
1945
  let c = _(a);
1946
1946
  (!c || !c.tagName) && (c = {
1947
- namespaceURI: Le,
1947
+ namespaceURI: De,
1948
1948
  tagName: "template"
1949
1949
  });
1950
1950
  const f = kt(a.tagName), N = kt(c.tagName);
@@ -1958,7 +1958,7 @@ function Qn() {
1958
1958
  } catch {
1959
1959
  G(a);
1960
1960
  }
1961
- }, we = function(a, c) {
1961
+ }, Te = function(a, c) {
1962
1962
  try {
1963
1963
  nt(t.removed, {
1964
1964
  attribute: c.getAttributeNode(a),
@@ -1971,7 +1971,7 @@ function Qn() {
1971
1971
  });
1972
1972
  }
1973
1973
  if (c.removeAttribute(a), a === "is")
1974
- if (Ne || mt)
1974
+ if (Pe || mt)
1975
1975
  try {
1976
1976
  ae(c);
1977
1977
  } catch {
@@ -1989,22 +1989,22 @@ function Qn() {
1989
1989
  const M = ar(a, /^[\r\n\t ]+/);
1990
1990
  f = M && M[0];
1991
1991
  }
1992
- rt === "application/xhtml+xml" && Le === ce && (a = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + a + "</body></html>");
1992
+ rt === "application/xhtml+xml" && De === ce && (a = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + a + "</body></html>");
1993
1993
  const N = b ? b.createHTML(a) : a;
1994
- if (Le === ce)
1994
+ if (De === ce)
1995
1995
  try {
1996
1996
  c = new w().parseFromString(N, rt);
1997
1997
  } catch {
1998
1998
  }
1999
1999
  if (!c || !c.documentElement) {
2000
- c = x.createDocument(Le, "template", null);
2000
+ c = x.createDocument(De, "template", null);
2001
2001
  try {
2002
2002
  c.documentElement.innerHTML = Kt ? R : N;
2003
2003
  } catch {
2004
2004
  }
2005
2005
  }
2006
2006
  const H = c.body || c.documentElement;
2007
- return a && f && H.insertBefore(r.createTextNode(f), H.childNodes[0] || null), Le === ce ? ke.call(c, Te ? "html" : "body")[0] : Te ? c.documentElement : H;
2007
+ return a && f && H.insertBefore(r.createTextNode(f), H.childNodes[0] || null), De === ce ? Re.call(c, Se ? "html" : "body")[0] : Se ? c.documentElement : H;
2008
2008
  }, Dr = function(a) {
2009
2009
  return y.call(
2010
2010
  a.ownerDocument || a,
@@ -2020,7 +2020,7 @@ function Qn() {
2020
2020
  };
2021
2021
  function ue(h, a, c) {
2022
2022
  Tt(h, (f) => {
2023
- f.call(t, a, c, Me);
2023
+ f.call(t, a, c, Le);
2024
2024
  });
2025
2025
  }
2026
2026
  const Mr = function(a) {
@@ -2036,7 +2036,7 @@ function Qn() {
2036
2036
  if (!P[f] || te[f]) {
2037
2037
  if (!te[f] && zr(f) && (I.tagNameCheck instanceof RegExp && Y(I.tagNameCheck, f) || I.tagNameCheck instanceof Function && I.tagNameCheck(f)))
2038
2038
  return !1;
2039
- if (Yt && !De[f]) {
2039
+ if (Yt && !$e[f]) {
2040
2040
  const N = _(a) || a.parentNode, H = O(a) || a.childNodes;
2041
2041
  if (H && N) {
2042
2042
  const M = H.length;
@@ -2068,9 +2068,9 @@ function Qn() {
2068
2068
  c === "is" && I.allowCustomizedBuiltInElements && (I.tagNameCheck instanceof RegExp && Y(I.tagNameCheck, f) || I.tagNameCheck instanceof Function && I.tagNameCheck(f)))
2069
2069
  ) return !1;
2070
2070
  } else if (!qt[c]) {
2071
- if (!Y(Ee, ot(f, et, ""))) {
2071
+ if (!Y(ve, ot(f, et, ""))) {
2072
2072
  if (!((c === "src" || c === "xlink:href" || c === "href") && a !== "script" && Ba(f, "data:") === 0 && Ir[a])) {
2073
- if (!(Pe && !Y(Je, ot(f, et, "")))) {
2073
+ if (!(Oe && !Y(Je, ot(f, et, "")))) {
2074
2074
  if (f)
2075
2075
  return !1;
2076
2076
  }
@@ -2102,36 +2102,36 @@ function Qn() {
2102
2102
  name: M,
2103
2103
  namespaceURI: X,
2104
2104
  value: de
2105
- } = H, Fe = z(M), Jt = de;
2105
+ } = H, Me = z(M), Jt = de;
2106
2106
  let W = M === "value" ? Jt : Ua(Jt);
2107
- if (f.attrName = Fe, f.attrValue = W, f.keepAttr = !0, f.forceKeepAttr = void 0, ue(U.uponSanitizeAttribute, a, f), W = f.attrValue, Ar && (Fe === "id" || Fe === "name") && (we(M, a), W = oo + W), ft && Y(/((--!?|])>)|<\/(style|title|textarea)/i, W)) {
2108
- we(M, a);
2107
+ if (f.attrName = Me, f.attrValue = W, f.keepAttr = !0, f.forceKeepAttr = void 0, ue(U.uponSanitizeAttribute, a, f), W = f.attrValue, Ar && (Me === "id" || Me === "name") && (Te(M, a), W = oo + W), ft && Y(/((--!?|])>)|<\/(style|title|textarea)/i, W)) {
2108
+ Te(M, a);
2109
2109
  continue;
2110
2110
  }
2111
- if (Fe === "attributename" && ar(W, "href")) {
2112
- we(M, a);
2111
+ if (Me === "attributename" && ar(W, "href")) {
2112
+ Te(M, a);
2113
2113
  continue;
2114
2114
  }
2115
2115
  if (f.forceKeepAttr)
2116
2116
  continue;
2117
2117
  if (!f.keepAttr) {
2118
- we(M, a);
2118
+ Te(M, a);
2119
2119
  continue;
2120
2120
  }
2121
- if (!Se && Y(/\/>/i, W)) {
2122
- we(M, a);
2121
+ if (!Ee && Y(/\/>/i, W)) {
2122
+ Te(M, a);
2123
2123
  continue;
2124
2124
  }
2125
2125
  j && Tt([Xe, Ze, Qe], (Wr) => {
2126
2126
  W = ot(W, Wr, " ");
2127
2127
  });
2128
2128
  const Ur = z(a.nodeName);
2129
- if (!Fr(Ur, Fe, W)) {
2130
- we(M, a);
2129
+ if (!Fr(Ur, Me, W)) {
2130
+ Te(M, a);
2131
2131
  continue;
2132
2132
  }
2133
2133
  if (b && typeof v == "object" && typeof v.getAttributeType == "function" && !X)
2134
- switch (v.getAttributeType(Ur, Fe)) {
2134
+ switch (v.getAttributeType(Ur, Me)) {
2135
2135
  case "TrustedHTML": {
2136
2136
  W = b.createHTML(W);
2137
2137
  break;
@@ -2145,7 +2145,7 @@ function Qn() {
2145
2145
  try {
2146
2146
  X ? a.setAttributeNS(X, M, W) : a.setAttribute(M, W), Qt(a) ? ae(a) : ln(t.removed);
2147
2147
  } catch {
2148
- we(M, a);
2148
+ Te(M, a);
2149
2149
  }
2150
2150
  }
2151
2151
  ue(U.afterSanitizeAttributes, a, null);
@@ -2175,11 +2175,11 @@ function Qn() {
2175
2175
  } else if (h instanceof d)
2176
2176
  c = $r("<!---->"), f = c.ownerDocument.importNode(h, !0), f.nodeType === st.element && f.nodeName === "BODY" || f.nodeName === "HTML" ? c = f : c.appendChild(f);
2177
2177
  else {
2178
- if (!Ne && !j && !Te && // eslint-disable-next-line unicorn/prefer-includes
2178
+ if (!Pe && !j && !Se && // eslint-disable-next-line unicorn/prefer-includes
2179
2179
  h.indexOf("<") === -1)
2180
2180
  return b && ht ? b.createHTML(h) : h;
2181
2181
  if (c = $r(h), !c)
2182
- return Ne ? null : ht ? R : "";
2182
+ return Pe ? null : ht ? R : "";
2183
2183
  }
2184
2184
  c && jt && ae(c.firstChild);
2185
2185
  const M = Dr(tt ? h : c);
@@ -2187,7 +2187,7 @@ function Qn() {
2187
2187
  Mr(N), Br(N), N.content instanceof i && fo(N.content);
2188
2188
  if (tt)
2189
2189
  return h;
2190
- if (Ne) {
2190
+ if (Pe) {
2191
2191
  if (mt)
2192
2192
  for (H = pe.call(c.ownerDocument); c.firstChild; )
2193
2193
  H.appendChild(c.firstChild);
@@ -2195,8 +2195,8 @@ function Qn() {
2195
2195
  H = c;
2196
2196
  return (L.shadowroot || L.shadowrootmode) && (H = Wt.call(n, H, !0)), H;
2197
2197
  }
2198
- let X = Te ? c.outerHTML : c.innerHTML;
2199
- return Te && P["!doctype"] && c.ownerDocument && c.ownerDocument.doctype && c.ownerDocument.doctype.name && Y(Zn, c.ownerDocument.doctype.name) && (X = "<!DOCTYPE " + c.ownerDocument.doctype.name + `>
2198
+ let X = Se ? c.outerHTML : c.innerHTML;
2199
+ return Se && P["!doctype"] && c.ownerDocument && c.ownerDocument.doctype && c.ownerDocument.doctype.name && Y(Zn, c.ownerDocument.doctype.name) && (X = "<!DOCTYPE " + c.ownerDocument.doctype.name + `>
2200
2200
  ` + X), j && Tt([Xe, Ze, Qe], (de) => {
2201
2201
  X = ot(X, de, " ");
2202
2202
  }), b && ht ? b.createHTML(X) : X;
@@ -2204,9 +2204,9 @@ function Qn() {
2204
2204
  let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2205
2205
  Zt(h), Gt = !0;
2206
2206
  }, t.clearConfig = function() {
2207
- Me = null, Gt = !1;
2207
+ Le = null, Gt = !1;
2208
2208
  }, t.isValidAttribute = function(h, a, c) {
2209
- Me || Zt({});
2209
+ Le || Zt({});
2210
2210
  const f = z(h), N = z(a);
2211
2211
  return Fr(f, N, c);
2212
2212
  }, t.addHook = function(h, a) {
@@ -2234,7 +2234,7 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2234
2234
  },
2235
2235
  {}
2236
2236
  ).filter(ct) : [], Jn = (e) => {
2237
- const [t, r] = Ue(0), [n, o] = Ue([]), i = Ce(async () => {
2237
+ const [t, r] = Ue(0), [n, o] = Ue([]), i = xe(async () => {
2238
2238
  try {
2239
2239
  await $a({
2240
2240
  feedbackFormId: e.formId,
@@ -2267,10 +2267,10 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
2267
2267
  } catch (u) {
2268
2268
  console.log(u);
2269
2269
  }
2270
- }, [e.state, e.formType]), s = Ce(() => {
2270
+ }, [e.state, e.formType]), s = xe(() => {
2271
2271
  const u = pn(e.state, e.validationsPerStep[t]);
2272
2272
  o(u), u.length || (t < e.stepsCount - 1 ? r((m) => m + 1) : i());
2273
- }, [e.state, e.validationsPerStep, t, i]), d = Ce(() => {
2273
+ }, [e.state, e.validationsPerStep, t, i]), d = xe(() => {
2274
2274
  t !== 0 && (o([]), r((u) => u - 1));
2275
2275
  }, [t]);
2276
2276
  return We(() => {
@@ -3014,12 +3014,12 @@ const ni = (e) => e == null, ct = (e) => !ni(e), oi = (e, t) => t ? t.required &
3014
3014
  border: 0,
3015
3015
  outline: 0
3016
3016
  })), Gi = (e) => {
3017
- const t = yn(null), r = Math.random().toString(36).substring(2, 16), n = Ce(
3017
+ const t = yn(null), r = Math.random().toString(36).substring(2, 16), n = xe(
3018
3018
  (i) => {
3019
3019
  i.target === t.current && e.onClose(), i.preventDefault(), i.stopPropagation();
3020
3020
  },
3021
3021
  [e]
3022
- ), o = Ce((i) => {
3022
+ ), o = xe((i) => {
3023
3023
  i.key === "Escape" && e.onClose(), i.preventDefault();
3024
3024
  }, []);
3025
3025
  return We(() => {