@akad/design-system 0.1.0-beta.1 → 0.1.0-beta.2

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.
@@ -18,7 +18,7 @@ function Iu() {
18
18
  if ($a)
19
19
  return ye;
20
20
  $a = 1;
21
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, s = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, T = t ? Symbol.for("react.suspense_list") : 60120, E = t ? Symbol.for("react.memo") : 60115, b = t ? Symbol.for("react.lazy") : 60116, k = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, y = t ? Symbol.for("react.responder") : 60118, I = t ? Symbol.for("react.scope") : 60119;
21
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, s = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, T = t ? Symbol.for("react.suspense_list") : 60120, S = t ? Symbol.for("react.memo") : 60115, E = t ? Symbol.for("react.lazy") : 60116, k = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, y = t ? Symbol.for("react.responder") : 60118, I = t ? Symbol.for("react.scope") : 60119;
22
22
  function D($) {
23
23
  if (typeof $ == "object" && $ !== null) {
24
24
  var x = $.$$typeof;
@@ -36,8 +36,8 @@ function Iu() {
36
36
  switch ($ = $ && $.$$typeof, $) {
37
37
  case o:
38
38
  case f:
39
- case b:
40
39
  case E:
40
+ case S:
41
41
  case i:
42
42
  return $;
43
43
  default:
@@ -52,7 +52,7 @@ function Iu() {
52
52
  function A($) {
53
53
  return D($) === c;
54
54
  }
55
- return ye.AsyncMode = l, ye.ConcurrentMode = c, ye.ContextConsumer = o, ye.ContextProvider = i, ye.Element = e, ye.ForwardRef = f, ye.Fragment = s, ye.Lazy = b, ye.Memo = E, ye.Portal = r, ye.Profiler = a, ye.StrictMode = n, ye.Suspense = p, ye.isAsyncMode = function($) {
55
+ return ye.AsyncMode = l, ye.ConcurrentMode = c, ye.ContextConsumer = o, ye.ContextProvider = i, ye.Element = e, ye.ForwardRef = f, ye.Fragment = s, ye.Lazy = E, ye.Memo = S, ye.Portal = r, ye.Profiler = a, ye.StrictMode = n, ye.Suspense = p, ye.isAsyncMode = function($) {
56
56
  return A($) || D($) === l;
57
57
  }, ye.isConcurrentMode = A, ye.isContextConsumer = function($) {
58
58
  return D($) === o;
@@ -65,9 +65,9 @@ function Iu() {
65
65
  }, ye.isFragment = function($) {
66
66
  return D($) === s;
67
67
  }, ye.isLazy = function($) {
68
- return D($) === b;
69
- }, ye.isMemo = function($) {
70
68
  return D($) === E;
69
+ }, ye.isMemo = function($) {
70
+ return D($) === S;
71
71
  }, ye.isPortal = function($) {
72
72
  return D($) === r;
73
73
  }, ye.isProfiler = function($) {
@@ -77,7 +77,7 @@ function Iu() {
77
77
  }, ye.isSuspense = function($) {
78
78
  return D($) === p;
79
79
  }, ye.isValidElementType = function($) {
80
- return typeof $ == "string" || typeof $ == "function" || $ === s || $ === c || $ === a || $ === n || $ === p || $ === T || typeof $ == "object" && $ !== null && ($.$$typeof === b || $.$$typeof === E || $.$$typeof === i || $.$$typeof === o || $.$$typeof === f || $.$$typeof === _ || $.$$typeof === y || $.$$typeof === I || $.$$typeof === k);
80
+ return typeof $ == "string" || typeof $ == "function" || $ === s || $ === c || $ === a || $ === n || $ === p || $ === T || typeof $ == "object" && $ !== null && ($.$$typeof === E || $.$$typeof === S || $.$$typeof === i || $.$$typeof === o || $.$$typeof === f || $.$$typeof === _ || $.$$typeof === y || $.$$typeof === I || $.$$typeof === k);
81
81
  }, ye.typeOf = D, ye;
82
82
  }
83
83
  var ve = {};
@@ -92,10 +92,10 @@ var ve = {};
92
92
  var ba;
93
93
  function Du() {
94
94
  return ba || (ba = 1, process.env.NODE_ENV !== "production" && function() {
95
- var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, s = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, T = t ? Symbol.for("react.suspense_list") : 60120, E = t ? Symbol.for("react.memo") : 60115, b = t ? Symbol.for("react.lazy") : 60116, k = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, y = t ? Symbol.for("react.responder") : 60118, I = t ? Symbol.for("react.scope") : 60119;
95
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, s = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, c = t ? Symbol.for("react.concurrent_mode") : 60111, f = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, T = t ? Symbol.for("react.suspense_list") : 60120, S = t ? Symbol.for("react.memo") : 60115, E = t ? Symbol.for("react.lazy") : 60116, k = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, y = t ? Symbol.for("react.responder") : 60118, I = t ? Symbol.for("react.scope") : 60119;
96
96
  function D(L) {
97
97
  return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
98
- L === s || L === c || L === a || L === n || L === p || L === T || typeof L == "object" && L !== null && (L.$$typeof === b || L.$$typeof === E || L.$$typeof === i || L.$$typeof === o || L.$$typeof === f || L.$$typeof === _ || L.$$typeof === y || L.$$typeof === I || L.$$typeof === k);
98
+ L === s || L === c || L === a || L === n || L === p || L === T || typeof L == "object" && L !== null && (L.$$typeof === E || L.$$typeof === S || L.$$typeof === i || L.$$typeof === o || L.$$typeof === f || L.$$typeof === _ || L.$$typeof === y || L.$$typeof === I || L.$$typeof === k);
99
99
  }
100
100
  function A(L) {
101
101
  if (typeof L == "object" && L !== null) {
@@ -116,8 +116,8 @@ function Du() {
116
116
  switch (tt) {
117
117
  case o:
118
118
  case f:
119
- case b:
120
119
  case E:
120
+ case S:
121
121
  case i:
122
122
  return tt;
123
123
  default:
@@ -129,7 +129,7 @@ function Du() {
129
129
  }
130
130
  }
131
131
  }
132
- var $ = l, x = c, G = o, q = i, U = e, ie = f, z = s, K = b, te = E, W = r, me = a, ge = n, $e = p, Ne = !1;
132
+ var $ = l, x = c, G = o, q = i, U = e, ie = f, z = s, K = E, te = S, W = r, me = a, ge = n, $e = p, Ne = !1;
133
133
  function je(L) {
134
134
  return Ne || (Ne = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), O(L) || A(L) === l;
135
135
  }
@@ -152,10 +152,10 @@ function Du() {
152
152
  return A(L) === s;
153
153
  }
154
154
  function v(L) {
155
- return A(L) === b;
155
+ return A(L) === E;
156
156
  }
157
157
  function N(L) {
158
- return A(L) === E;
158
+ return A(L) === S;
159
159
  }
160
160
  function j(L) {
161
161
  return A(L) === r;
@@ -271,16 +271,16 @@ function Pu() {
271
271
  throw T.name = "Invariant Violation", T;
272
272
  }
273
273
  p = a[f](i, f, l, o, null, e);
274
- } catch (b) {
275
- p = b;
274
+ } catch (E) {
275
+ p = E;
276
276
  }
277
277
  if (p && !(p instanceof Error) && t(
278
278
  (l || "React class") + ": type specification of " + o + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
279
279
  ), p instanceof Error && !(p.message in r)) {
280
280
  r[p.message] = !0;
281
- var E = c ? c() : "";
281
+ var S = c ? c() : "";
282
282
  t(
283
- "Failed " + o + " type: " + p.message + (E ?? "")
283
+ "Failed " + o + " type: " + p.message + (S ?? "")
284
284
  );
285
285
  }
286
286
  }
@@ -315,7 +315,7 @@ function Ru() {
315
315
  if (typeof g == "function")
316
316
  return g;
317
317
  }
318
- var T = "<<anonymous>>", E = {
318
+ var T = "<<anonymous>>", S = {
319
319
  array: y("array"),
320
320
  bigint: y("bigint"),
321
321
  bool: y("boolean"),
@@ -336,7 +336,7 @@ function Ru() {
336
336
  shape: K,
337
337
  exact: te
338
338
  };
339
- function b(O, g) {
339
+ function E(O, g) {
340
340
  return O === g ? O !== 0 || 1 / O === 1 / g : O !== O && g !== g;
341
341
  }
342
342
  function k(O, g) {
@@ -440,7 +440,7 @@ function Ru() {
440
440
  ) : a("Invalid argument supplied to oneOf, expected an array.")), i;
441
441
  function g(R, C, u, d, v) {
442
442
  for (var N = R[C], j = 0; j < O.length; j++)
443
- if (b(N, O[j]))
443
+ if (E(N, O[j]))
444
444
  return null;
445
445
  var V = JSON.stringify(O, function(ee, L) {
446
446
  var pe = $e(L);
@@ -609,7 +609,7 @@ Valid keys: ` + JSON.stringify(Object.keys(O), null, " ")
609
609
  function je(O) {
610
610
  return !O.constructor || !O.constructor.name ? T : O.constructor.name;
611
611
  }
612
- return E.checkPropTypes = n, E.resetWarningCache = n.resetWarningCache, E.PropTypes = E, E;
612
+ return S.checkPropTypes = n, S.resetWarningCache = n.resetWarningCache, S.PropTypes = S, S;
613
613
  }, Vs;
614
614
  }
615
615
  var Bs, Oa;
@@ -899,9 +899,9 @@ const gs = ({
899
899
  color: f = Se.props.color.default,
900
900
  iconFill: p = Se.props.iconFill.default,
901
901
  iconPosition: T = Se.props.iconPosition.default,
902
- fullSize: E = Se.props.fullSize.default
902
+ fullSize: S = Se.props.fullSize.default
903
903
  }) => {
904
- const b = s && Se.props.size.options.find((x) => x === s) ? `${Se.class}--${s}` : `${Se.class}__${Se.props.size.default}`, k = n && `${Se.class}--disabled`, _ = `${Se.class}__${f}--${c}`, y = l && `${Se.class}--elevation-${l}`, I = a && `${Se.class}--with-icon`, D = E ? `${Se.class}--full-size` : "", A = T === "right" ? `${Se.class}__icon` : `${Se.class}__icon--left`, $ = T === "right" ? `${Se.class}__text` : `${Se.class}__text--reversed`;
904
+ const E = s && Se.props.size.options.find((x) => x === s) ? `${Se.class}--${s}` : `${Se.class}__${Se.props.size.default}`, k = n && `${Se.class}--disabled`, _ = `${Se.class}__${f}--${c}`, y = l && `${Se.class}--elevation-${l}`, I = a && `${Se.class}--with-icon`, D = S ? `${Se.class}--full-size` : "", A = T === "right" ? `${Se.class}__icon` : `${Se.class}__icon--left`, $ = T === "right" ? `${Se.class}__text` : `${Se.class}__text--reversed`;
905
905
  return /* @__PURE__ */ P(
906
906
  "button",
907
907
  {
@@ -910,7 +910,7 @@ const gs = ({
910
910
  D,
911
911
  k,
912
912
  I,
913
- b,
913
+ E,
914
914
  _,
915
915
  y,
916
916
  I,
@@ -1100,10 +1100,10 @@ const st = {
1100
1100
  disabled: o = st.props.checked.default,
1101
1101
  onChangeHandler: l
1102
1102
  }, c) => {
1103
- const f = i || !1, [p, T] = Q(f), E = {
1103
+ const f = i || !1, [p, T] = Q(f), S = {
1104
1104
  image: p ? "check_box" : "check_box_outline_blank",
1105
1105
  class: p ? `${st.class}__icon--checked` : `${st.class}__icon--unchecked`
1106
- }, b = o && `${st.class}--disabled`, k = (_) => {
1106
+ }, E = o && `${st.class}--disabled`, k = (_) => {
1107
1107
  o || (T((y) => !y), l && l(_));
1108
1108
  };
1109
1109
  return /* @__PURE__ */ ae(
@@ -1111,7 +1111,7 @@ const st = {
1111
1111
  {
1112
1112
  className: [
1113
1113
  st.class,
1114
- b,
1114
+ E,
1115
1115
  e && e
1116
1116
  ].join(" "),
1117
1117
  htmlFor: t || r,
@@ -1132,10 +1132,10 @@ const st = {
1132
1132
  /* @__PURE__ */ P(
1133
1133
  Ae,
1134
1134
  {
1135
- className: `${st.class}__icon ${E.class}`,
1135
+ className: `${st.class}__icon ${S.class}`,
1136
1136
  "data-testid": `${s}-icon`,
1137
1137
  fill: !0,
1138
- image: E.image,
1138
+ image: S.image,
1139
1139
  size: "xxl"
1140
1140
  }
1141
1141
  ),
@@ -2600,13 +2600,13 @@ class We extends Ge {
2600
2600
  for (let a = 0; a < r.length; ++a) {
2601
2601
  if (this.blocks) {
2602
2602
  const c = r.slice(a), f = Object.keys(this.blocks).filter((T) => c.indexOf(T) === 0);
2603
- f.sort((T, E) => E.length - T.length);
2603
+ f.sort((T, S) => S.length - T.length);
2604
2604
  const p = f[0];
2605
2605
  if (p) {
2606
2606
  const {
2607
2607
  expose: T,
2608
- repeat: E,
2609
- ...b
2608
+ repeat: S,
2609
+ ...E
2610
2610
  } = qr(this.blocks[p]), k = {
2611
2611
  lazy: this.lazy,
2612
2612
  eager: this.eager,
@@ -2614,10 +2614,10 @@ class We extends Ge {
2614
2614
  displayChar: this.displayChar,
2615
2615
  overwrite: this.overwrite,
2616
2616
  autofix: this.autofix,
2617
- ...b,
2618
- repeat: E,
2617
+ ...E,
2618
+ repeat: S,
2619
2619
  parent: this
2620
- }, _ = E != null ? new re.RepeatBlock(
2620
+ }, _ = S != null ? new re.RepeatBlock(
2621
2621
  k
2622
2622
  /* TODO */
2623
2623
  ) : jt(k);
@@ -3826,7 +3826,7 @@ function tl(t, e) {
3826
3826
  defaultUnmaskedValue: i,
3827
3827
  defaultTypedValue: o
3828
3828
  } = e === void 0 ? {} : e;
3829
- const l = zr(null), [c, f] = Q({}), [p, T] = Q(""), [E, b] = Q(""), [k, _] = Q(), y = _e(() => {
3829
+ const l = zr(null), [c, f] = Q({}), [p, T] = Q(""), [S, E] = Q(""), [k, _] = Q(), y = _e(() => {
3830
3830
  var $;
3831
3831
  ($ = l.current) == null || $.destroy(), l.current = null;
3832
3832
  }, []), I = _e(() => {
@@ -3835,7 +3835,7 @@ function tl(t, e) {
3835
3835
  value: $.value,
3836
3836
  unmaskedValue: $.unmaskedValue,
3837
3837
  typedValue: $.typedValue
3838
- }), _($.typedValue), b($.unmaskedValue), T($.value));
3838
+ }), _($.typedValue), E($.unmaskedValue), T($.value));
3839
3839
  }, []), D = _e(($) => {
3840
3840
  const x = l.current;
3841
3841
  x && (I(), r == null || r(x.value, x, $));
@@ -3851,8 +3851,8 @@ function tl(t, e) {
3851
3851
  unmaskedValue: $,
3852
3852
  ...x
3853
3853
  } = c, G = l.current;
3854
- !G || E === void 0 || ($ !== E && (G.unmaskedValue = E, G.unmaskedValue !== E && D()), f(x));
3855
- }, [E]), be(() => {
3854
+ !G || S === void 0 || ($ !== S && (G.unmaskedValue = S, G.unmaskedValue !== S && D()), f(x));
3855
+ }, [S]), be(() => {
3856
3856
  const {
3857
3857
  typedValue: $,
3858
3858
  ...x
@@ -3863,7 +3863,7 @@ function tl(t, e) {
3863
3863
  if (!$ || !(t != null && t.mask))
3864
3864
  return y();
3865
3865
  const x = l.current;
3866
- x ? x == null || x.updateOptions(t) : $ && t != null && t.mask && (l.current = re($, t), I(), a !== void 0 && T(a), i !== void 0 && b(i), o !== void 0 && _(o));
3866
+ x ? x == null || x.updateOptions(t) : $ && t != null && t.mask && (l.current = re($, t), I(), a !== void 0 && T(a), i !== void 0 && E(i), o !== void 0 && _(o));
3867
3867
  }, [t, y, D]), be(() => {
3868
3868
  if (!l.current)
3869
3869
  return;
@@ -3876,8 +3876,8 @@ function tl(t, e) {
3876
3876
  maskRef: l,
3877
3877
  value: p,
3878
3878
  setValue: T,
3879
- unmaskedValue: E,
3880
- setUnmaskedValue: b,
3879
+ unmaskedValue: S,
3880
+ setUnmaskedValue: E,
3881
3881
  typedValue: k,
3882
3882
  setTypedValue: _
3883
3883
  };
@@ -4075,59 +4075,59 @@ const qa = {
4075
4075
  ($) => $ === e
4076
4076
  ) && `${Nt.class}--${e}`, f = r && Nt.props.placement.options.find(
4077
4077
  ($) => $ === r
4078
- ) && `${Nt.class}--${r}`, [p, T] = Q(0), [E, b] = Q(0), [k, _] = Q(0), [y, I] = Q(0);
4078
+ ) && `${Nt.class}--${r}`, [p, T] = Q(0), [S, E] = Q(0), [k, _] = Q(0), [y, I] = Q(0);
4079
4079
  let D;
4080
4080
  switch (be(() => {
4081
4081
  var $, x, G, q;
4082
- i.current && (_(($ = i == null ? void 0 : i.current) == null ? void 0 : $.offsetHeight), I((x = i == null ? void 0 : i.current) == null ? void 0 : x.offsetWidth)), a.current && (T((G = a == null ? void 0 : a.current) == null ? void 0 : G.offsetHeight), b((q = a == null ? void 0 : a.current) == null ? void 0 : q.offsetWidth));
4082
+ i.current && (_(($ = i == null ? void 0 : i.current) == null ? void 0 : $.offsetHeight), I((x = i == null ? void 0 : i.current) == null ? void 0 : x.offsetWidth)), a.current && (T((G = a == null ? void 0 : a.current) == null ? void 0 : G.offsetHeight), E((q = a == null ? void 0 : a.current) == null ? void 0 : q.offsetWidth));
4083
4083
  }, [a, o]), be(() => (document.addEventListener("mousedown", A), () => {
4084
4084
  document.removeEventListener("mousedown", A);
4085
4085
  }), []), e) {
4086
4086
  case "top":
4087
4087
  r === "initial" ? D = {
4088
4088
  bottom: p + 9,
4089
- left: E < 30 ? -E / 1.5 : -E * 0.01
4089
+ left: S < 30 ? -S / 1.5 : -S * 0.01
4090
4090
  } : r === "end" ? D = {
4091
4091
  bottom: p + 9,
4092
- right: E < 30 ? -E / 1.5 : -E * 0.01
4092
+ right: S < 30 ? -S / 1.5 : -S * 0.01
4093
4093
  } : D = {
4094
4094
  bottom: p + 9,
4095
- left: -y / 2 + E / 2
4095
+ left: -y / 2 + S / 2
4096
4096
  };
4097
4097
  break;
4098
4098
  case "bottom":
4099
4099
  r === "initial" ? D = {
4100
4100
  top: p + 9,
4101
- left: E < 30 ? -E / 1.5 : -E * 0.01
4101
+ left: S < 30 ? -S / 1.5 : -S * 0.01
4102
4102
  } : r === "end" ? D = {
4103
4103
  top: p + 9,
4104
- right: E < 30 ? -E / 1.5 : -E * 0.01
4104
+ right: S < 30 ? -S / 1.5 : -S * 0.01
4105
4105
  } : D = {
4106
4106
  top: p + 9,
4107
- left: -y / 2 + E / 2
4107
+ left: -y / 2 + S / 2
4108
4108
  };
4109
4109
  break;
4110
4110
  case "left":
4111
4111
  r === "initial" ? D = {
4112
- right: E + 9,
4112
+ right: S + 9,
4113
4113
  top: p < 30 ? -p / 1.5 : -p * 0.01
4114
4114
  } : r === "end" ? D = {
4115
- right: E + 9,
4115
+ right: S + 9,
4116
4116
  bottom: p < 30 ? -p / 1.5 : -p * 0.01
4117
4117
  } : D = {
4118
- right: E + 9,
4118
+ right: S + 9,
4119
4119
  top: -k / 2 + p / 2
4120
4120
  };
4121
4121
  break;
4122
4122
  case "right":
4123
4123
  r === "initial" ? D = {
4124
- left: E + 9,
4124
+ left: S + 9,
4125
4125
  top: p < 30 ? -p / 1.5 : -p * 0.01
4126
4126
  } : r === "end" ? D = {
4127
- left: E + 9,
4127
+ left: S + 9,
4128
4128
  bottom: p < 30 ? -p / 1.5 : -p * 0.01
4129
4129
  } : D = {
4130
- left: E + 9,
4130
+ left: S + 9,
4131
4131
  top: -k / 2 + p / 2
4132
4132
  };
4133
4133
  break;
@@ -4183,8 +4183,8 @@ const Ur = gt.forwardRef(
4183
4183
  tooltip: f = Ie.props.tooltip.default,
4184
4184
  tooltipPosition: p = Ie.props.tooltipPosition.default,
4185
4185
  tooltipPlacement: T = Ie.props.tooltipPlacement.default,
4186
- icon: E = Ie.props.icon.default,
4187
- status: b = Ie.props.status.default,
4186
+ icon: S = Ie.props.icon.default,
4187
+ status: E = Ie.props.status.default,
4188
4188
  feedback: k,
4189
4189
  hasFeedback: _ = Ie.props.hasFeedback.default,
4190
4190
  noMargin: y = Ie.props.noMargin.default,
@@ -4231,11 +4231,11 @@ const Ur = gt.forwardRef(
4231
4231
  $e((oe) => !oe);
4232
4232
  }, V = et(() => ge && r === "password" ? "text" : r, [ge, r]), B = () => {
4233
4233
  const oe = [`${Ie.class}`];
4234
- return n && oe.push(`${Ie.class}--${n}`), s && oe.push(`${Ie.class}--animated`), y && oe.push(`${Ie.class}--no-margin`), E && oe.push(`${Ie.class}--with-icon`), b && oe.push(`${Ie.class}--${b}`), D && oe.push(D), oe.join(" ");
4234
+ return n && oe.push(`${Ie.class}--${n}`), s && oe.push(`${Ie.class}--animated`), y && oe.push(`${Ie.class}--no-margin`), S && oe.push(`${Ie.class}--with-icon`), E && oe.push(`${Ie.class}--${E}`), D && oe.push(D), oe.join(" ");
4235
4235
  }, ee = et(() => {
4236
4236
  const oe = [`${Ie.class}__label`];
4237
4237
  return (ie || o) && oe.push(`${Ie.class}__label--active`), oe.join(" ");
4238
- }, [o, ie]), L = () => !s && i ? i : "", pe = () => b && b === "error" ? "info" : "check_circle", Ye = () => {
4238
+ }, [o, ie]), L = () => !s && i ? i : "", pe = () => E && E === "error" ? "info" : "check_circle", Ye = () => {
4239
4239
  A && o && (R(o), C(o));
4240
4240
  }, tt = () => {
4241
4241
  R(""), C("");
@@ -4284,7 +4284,7 @@ const Ur = gt.forwardRef(
4284
4284
  }
4285
4285
  )
4286
4286
  ] }),
4287
- E && /* @__PURE__ */ P(Ae, { className: "ds-input__icon", image: E }),
4287
+ S && /* @__PURE__ */ P(Ae, { className: "ds-input__icon", image: S }),
4288
4288
  r === "password" && /* @__PURE__ */ P(
4289
4289
  Ae,
4290
4290
  {
@@ -4897,8 +4897,8 @@ const ii = {
4897
4897
  onChange: f,
4898
4898
  onChangeHandler: p,
4899
4899
  size: T = De.props.size.default,
4900
- status: E = De.props.status.default,
4901
- tooltip: b,
4900
+ status: S = De.props.status.default,
4901
+ tooltip: E,
4902
4902
  tooltipPosition: k = De.props.tooltipPosition.default,
4903
4903
  tooltipPlacement: _ = De.props.tooltipPlacement.default,
4904
4904
  feedback: y,
@@ -4908,21 +4908,21 @@ const ii = {
4908
4908
  $(!1), f && f(U, U.target.value), p && p(U, U.target.value);
4909
4909
  }, G = () => {
4910
4910
  const U = [De.class, "select-placeholder"];
4911
- return U.push(`${De.class}--${T}`), E && U.push(`${De.class}--${E}`), A && U.push(`${De.class}--active`), r && U.push(`${De.class}--disabled`), e && U.push(e), U.join(" ");
4911
+ return U.push(`${De.class}--${T}`), S && U.push(`${De.class}--${S}`), A && U.push(`${De.class}--active`), r && U.push(`${De.class}--disabled`), e && U.push(e), U.join(" ");
4912
4912
  }, q = et(() => {
4913
4913
  const U = [`${De.class}__label`];
4914
- return !s && U.push(`${De.class}__label--not-animated`), l && U.push(`${De.class}__label--has-value`), s && !l && !b && U.push(`${De.class}__label--hidden`), U.join(" ");
4914
+ return !s && U.push(`${De.class}__label--not-animated`), l && U.push(`${De.class}__label--has-value`), s && !l && !E && U.push(`${De.class}__label--hidden`), U.join(" ");
4915
4915
  }, [l]);
4916
4916
  return /* @__PURE__ */ ae("div", { className: G(), children: [
4917
4917
  /* @__PURE__ */ ae("label", { className: q, htmlFor: a, children: [
4918
4918
  t,
4919
- b && /* @__PURE__ */ P(
4919
+ E && /* @__PURE__ */ P(
4920
4920
  Sr,
4921
4921
  {
4922
4922
  className: `${De.class}__tooltip`,
4923
4923
  placement: _,
4924
4924
  position: k,
4925
- text: b,
4925
+ text: E,
4926
4926
  children: /* @__PURE__ */ P(Ae, { className: `${De.class}__icon`, image: "info" })
4927
4927
  }
4928
4928
  )
@@ -4972,7 +4972,7 @@ const ii = {
4972
4972
  Ae,
4973
4973
  {
4974
4974
  className: "ds-select__icon",
4975
- image: E === "success" ? "check_circle" : "info"
4975
+ image: S === "success" ? "check_circle" : "info"
4976
4976
  }
4977
4977
  ),
4978
4978
  /* @__PURE__ */ P("span", { className: "ds-select__feedback", children: y })
@@ -5149,8 +5149,8 @@ const di = {
5149
5149
  icon: f,
5150
5150
  status: p = Be.props.status.default,
5151
5151
  feedback: T,
5152
- disabled: E = Be.props.disabled.default,
5153
- className: b,
5152
+ disabled: S = Be.props.disabled.default,
5153
+ className: E,
5154
5154
  resize: k = Be.props.resize.default,
5155
5155
  onChangeHandler: _ = Be.props.onChangeHandler.default,
5156
5156
  onBlurHandler: y,
@@ -5173,7 +5173,7 @@ const di = {
5173
5173
  q(!0), D && D(g);
5174
5174
  }, $e = () => {
5175
5175
  const g = [`${Be.class}`];
5176
- return s && g.push(`${Be.class}--${s}`), r && g.push(`${Be.class}--animated`), c && g.push(`${Be.class}--with-icon`), p && g.push(`${Be.class}--${p}`), b && g.push(b), g.join(" ");
5176
+ return s && g.push(`${Be.class}--${s}`), r && g.push(`${Be.class}--animated`), c && g.push(`${Be.class}--with-icon`), p && g.push(`${Be.class}--${p}`), E && g.push(E), g.join(" ");
5177
5177
  }, Ne = et(() => {
5178
5178
  const g = [`${Be.class}__label`];
5179
5179
  return (G || i) && g.push(`${Be.class}__label--active`), g.join(" ");
@@ -5190,7 +5190,7 @@ const di = {
5190
5190
  className: "ds-textarea__textarea",
5191
5191
  "data-testid": e,
5192
5192
  defaultValue: i || "",
5193
- disabled: E,
5193
+ disabled: S,
5194
5194
  id: t,
5195
5195
  maxLength: l,
5196
5196
  minLength: o,
@@ -5394,11 +5394,11 @@ const yn = ({
5394
5394
  (D) => D === a
5395
5395
  ) ? `${Le.class}--h-${a}` : null, T = i && Le.props.verticalAlign.options.find(
5396
5396
  (D) => D === i
5397
- ) ? `${Le.class}--v-${i}` : null, { width: E } = il(), [b, k] = Q("");
5397
+ ) ? `${Le.class}--v-${i}` : null, { width: S } = il(), [E, k] = Q("");
5398
5398
  be(() => {
5399
- E <= 768 ? k("6") : k("12");
5400
- }, [E]);
5401
- const _ = (D) => /^[+-]?\d+$/.test(D), y = () => e.split(",").map((A) => (A = A.trim(), A === "0" || A === "*" || A === "auto" ? "auto" : _(A) ? A + "fr" : A)).join(" "), I = () => `repeat(${b.split(",").map((A) => (A = A.trim(), A === "0" || A === "*" || A === "auto" ? "auto" : (_(A), A))).join(" ")}, minmax(0, 1fr))`;
5399
+ S <= 768 ? k("6") : k("12");
5400
+ }, [S]);
5401
+ const _ = (D) => /^[+-]?\d+$/.test(D), y = () => e.split(",").map((A) => (A = A.trim(), A === "0" || A === "*" || A === "auto" ? "auto" : _(A) ? A + "fr" : A)).join(" "), I = () => `repeat(${E.split(",").map((A) => (A = A.trim(), A === "0" || A === "*" || A === "auto" ? "auto" : (_(A), A))).join(" ")}, minmax(0, 1fr))`;
5402
5402
  return /* @__PURE__ */ P(
5403
5403
  "div",
5404
5404
  {
@@ -5766,14 +5766,14 @@ const xe = {
5766
5766
  onBlurHandler: p = xe.props.onBlurHandler.default,
5767
5767
  onFocusHandler: T = xe.props.onFocusHandler.default
5768
5768
  }) => {
5769
- const [E, b] = Q(r), [k, _] = Q(!1), [y, I] = Q(r), D = (x) => {
5770
- b(x.currentTarget.value), a(x), x.currentTarget.value ? _(!0) : _(!1);
5769
+ const [S, E] = Q(r), [k, _] = Q(!1), [y, I] = Q(r), D = (x) => {
5770
+ E(x.currentTarget.value), a(x), x.currentTarget.value ? _(!0) : _(!1);
5771
5771
  }, A = (x) => {
5772
- b(n(x)), i(x), I(Math.random().toString()), _(!1);
5772
+ E(n(x)), i(x), I(Math.random().toString()), _(!1);
5773
5773
  };
5774
5774
  be(() => {
5775
5775
  p();
5776
- }, [E, p]);
5776
+ }, [S, p]);
5777
5777
  const $ = () => s.length > 0 ? s.map((x, G) => /* @__PURE__ */ P(
5778
5778
  "option",
5779
5779
  {
@@ -5804,7 +5804,7 @@ const xe = {
5804
5804
  onChangeHandler: D,
5805
5805
  onFocusHandler: T,
5806
5806
  status: f,
5807
- value: E
5807
+ value: S
5808
5808
  },
5809
5809
  y
5810
5810
  ),
@@ -5917,12 +5917,12 @@ const Dr = {
5917
5917
  p(e ?? "");
5918
5918
  }, [e]);
5919
5919
  const T = (_) => {
5920
- _.key === "Enter" && E(_);
5920
+ _.key === "Enter" && S(_);
5921
5921
  };
5922
- function E(_) {
5922
+ function S(_) {
5923
5923
  c(!1), i && (n && parseInt(n) >= parseInt(f === "" ? n : f) ? (_.currentTarget.value = n, p(n)) : a && parseInt(a) < parseInt(f) ? (_.currentTarget.value = a, p(a)) : _.currentTarget.value = f, i(_));
5924
5924
  }
5925
- const b = (_) => {
5925
+ const E = (_) => {
5926
5926
  p(_.currentTarget.value);
5927
5927
  }, k = async () => {
5928
5928
  var _;
@@ -5935,8 +5935,8 @@ const Dr = {
5935
5935
  max: a,
5936
5936
  min: n,
5937
5937
  name: t,
5938
- onBlur: E,
5939
- onChange: b,
5938
+ onBlur: S,
5939
+ onChange: E,
5940
5940
  onKeyDown: T,
5941
5941
  ref: o,
5942
5942
  type: "number",
@@ -5998,7 +5998,7 @@ const ll = [1, 2, 3, 4], vi = {
5998
5998
  onConfirm: f,
5999
5999
  ...p
6000
6000
  }) => {
6001
- const T = a && lt.props.variant.options.find((_) => _ === a) ? `${lt.class}--${a}` : `${lt.class}--${lt.props.variant.default}`, E = i && `${lt.class}--elevation-${i}`, b = f || c, k = _e(
6001
+ const T = a && lt.props.variant.options.find((_) => _ === a) ? `${lt.class}--${a}` : `${lt.class}--${lt.props.variant.default}`, S = i && `${lt.class}--elevation-${i}`, E = f || c, k = _e(
6002
6002
  (_) => {
6003
6003
  _.keyCode === 27 && l();
6004
6004
  },
@@ -6006,16 +6006,16 @@ const ll = [1, 2, 3, 4], vi = {
6006
6006
  );
6007
6007
  return be(() => {
6008
6008
  if (window)
6009
- return b || window.addEventListener("keyup", k), () => {
6009
+ return E || window.addEventListener("keyup", k), () => {
6010
6010
  window.removeEventListener("keyup", k);
6011
6011
  };
6012
- }, [b, k]), o ? /* @__PURE__ */ ae(ks, { children: [
6012
+ }, [E, k]), o ? /* @__PURE__ */ ae(ks, { children: [
6013
6013
  /* @__PURE__ */ P(
6014
6014
  "div",
6015
6015
  {
6016
6016
  className: "ds-modal-overlay",
6017
6017
  ...p,
6018
- onClick: () => b ? () => {
6018
+ onClick: () => E ? () => {
6019
6019
  } : l()
6020
6020
  }
6021
6021
  ),
@@ -6025,12 +6025,12 @@ const ll = [1, 2, 3, 4], vi = {
6025
6025
  className: [
6026
6026
  lt.class,
6027
6027
  T,
6028
- E,
6028
+ S,
6029
6029
  t && t
6030
6030
  ].filter((_) => _).join(" "),
6031
6031
  "data-testid": "modal",
6032
6032
  children: [
6033
- !b && /* @__PURE__ */ P(
6033
+ !E && /* @__PURE__ */ P(
6034
6034
  "button",
6035
6035
  {
6036
6036
  className: "ds-modal__closeBtn",
@@ -6044,8 +6044,8 @@ const ll = [1, 2, 3, 4], vi = {
6044
6044
  e && /* @__PURE__ */ P(At, { vertical: "xxxs" }),
6045
6045
  /* @__PURE__ */ P("div", { className: "ds-modal__content__content", children: r })
6046
6046
  ] }),
6047
- b && /* @__PURE__ */ P(At, { vertical: "sm" }),
6048
- !b && /* @__PURE__ */ P(At, { vertical: "xxs" }),
6047
+ E && /* @__PURE__ */ P(At, { vertical: "sm" }),
6048
+ !E && /* @__PURE__ */ P(At, { vertical: "xxs" }),
6049
6049
  /* @__PURE__ */ ae("div", { className: "ds-modal__cta", children: [
6050
6050
  c && /* @__PURE__ */ P(
6051
6051
  gs,
@@ -6147,7 +6147,7 @@ const _i = {
6147
6147
  progressBar: f = He.props.progressBar.default,
6148
6148
  handleClose: p
6149
6149
  }) => {
6150
- const [T, E] = Q(o), [b, k] = Q(!1), [_, y] = Q(!0), I = [
6150
+ const [T, S] = Q(o), [E, k] = Q(!1), [_, y] = Q(!0), I = [
6151
6151
  He.class,
6152
6152
  e && `${He.class}--${e}`,
6153
6153
  r && `${He.class}--${r}`,
@@ -6157,12 +6157,12 @@ const _i = {
6157
6157
  be(() => {
6158
6158
  !i && !l && y(!0);
6159
6159
  let x;
6160
- return !b && i && (x = setInterval(() => {
6161
- E((G) => (G === 0 && y(!1), G - 100));
6160
+ return !E && i && (x = setInterval(() => {
6161
+ S((G) => (G === 0 && y(!1), G - 100));
6162
6162
  }, 100)), () => {
6163
6163
  clearInterval(x);
6164
6164
  };
6165
- }, [b, i, o, _]);
6165
+ }, [E, i, o, _]);
6166
6166
  const D = () => {
6167
6167
  k(!0);
6168
6168
  }, A = () => {
@@ -6267,13 +6267,13 @@ const Ks = {
6267
6267
  score: 0,
6268
6268
  color: "danger",
6269
6269
  label: "Fraca"
6270
- }), [p, T] = Q(!1), E = (A) => {
6270
+ }), [p, T] = Q(!1), S = (A) => {
6271
6271
  const $ = e.map((x) => x == null ? void 0 : x.rule(A));
6272
6272
  return l($), $;
6273
- }, b = (A) => {
6273
+ }, E = (A) => {
6274
6274
  var G, q, U, ie;
6275
6275
  n((G = A.currentTarget) == null ? void 0 : G.value);
6276
- const $ = E((q = A.currentTarget) == null ? void 0 : q.value), x = I($);
6276
+ const $ = S((q = A.currentTarget) == null ? void 0 : q.value), x = I($);
6277
6277
  t && t({
6278
6278
  password: (U = A.currentTarget) == null ? void 0 : U.value,
6279
6279
  confirmationPassword: a,
@@ -6283,7 +6283,7 @@ const Ks = {
6283
6283
  }, k = (A) => {
6284
6284
  var G, q, U;
6285
6285
  i((G = A.currentTarget) == null ? void 0 : G.value);
6286
- const $ = E(s), x = I($);
6286
+ const $ = S(s), x = I($);
6287
6287
  t && t({
6288
6288
  password: s,
6289
6289
  confirmationPassword: (q = A.currentTarget) == null ? void 0 : q.value,
@@ -6318,7 +6318,7 @@ const Ks = {
6318
6318
  {
6319
6319
  label: "Senha",
6320
6320
  name: "password",
6321
- onChangeHandler: b,
6321
+ onChangeHandler: E,
6322
6322
  type: "password",
6323
6323
  value: s
6324
6324
  }
@@ -6795,10 +6795,10 @@ var rn = { exports: {} }, ko = {}, yt = {}, $r = {}, Kr = {}, ce = {}, Hr = {};
6795
6795
  t._ = n;
6796
6796
  const a = new s("+");
6797
6797
  function i(y, ...I) {
6798
- const D = [E(y[0])];
6798
+ const D = [S(y[0])];
6799
6799
  let A = 0;
6800
6800
  for (; A < I.length; )
6801
- D.push(a), o(D, I[A]), D.push(a, E(y[++A]));
6801
+ D.push(a), o(D, I[A]), D.push(a, S(y[++A]));
6802
6802
  return l(D), new s(D);
6803
6803
  }
6804
6804
  t.str = i;
@@ -6835,20 +6835,20 @@ var rn = { exports: {} }, ko = {}, yt = {}, $r = {}, Kr = {}, ce = {}, Hr = {};
6835
6835
  }
6836
6836
  t.strConcat = f;
6837
6837
  function p(y) {
6838
- return typeof y == "number" || typeof y == "boolean" || y === null ? y : E(Array.isArray(y) ? y.join(",") : y);
6838
+ return typeof y == "number" || typeof y == "boolean" || y === null ? y : S(Array.isArray(y) ? y.join(",") : y);
6839
6839
  }
6840
6840
  function T(y) {
6841
- return new s(E(y));
6841
+ return new s(S(y));
6842
6842
  }
6843
6843
  t.stringify = T;
6844
- function E(y) {
6844
+ function S(y) {
6845
6845
  return JSON.stringify(y).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
6846
6846
  }
6847
- t.safeStringify = E;
6848
- function b(y) {
6847
+ t.safeStringify = S;
6848
+ function E(y) {
6849
6849
  return typeof y == "string" && t.IDENTIFIER.test(y) ? new s(`.${y}`) : n`[${y}]`;
6850
6850
  }
6851
- t.getProperty = b;
6851
+ t.getProperty = E;
6852
6852
  function k(y) {
6853
6853
  if (typeof y == "string" && t.IDENTIFIER.test(y))
6854
6854
  return new s(`${y}`);
@@ -6923,17 +6923,17 @@ var sn = {};
6923
6923
  var p;
6924
6924
  if (f.ref === void 0)
6925
6925
  throw new Error("CodeGen: ref must be passed in value");
6926
- const T = this.toName(c), { prefix: E } = T, b = (p = f.key) !== null && p !== void 0 ? p : f.ref;
6927
- let k = this._values[E];
6926
+ const T = this.toName(c), { prefix: S } = T, E = (p = f.key) !== null && p !== void 0 ? p : f.ref;
6927
+ let k = this._values[S];
6928
6928
  if (k) {
6929
- const I = k.get(b);
6929
+ const I = k.get(E);
6930
6930
  if (I)
6931
6931
  return I;
6932
6932
  } else
6933
- k = this._values[E] = /* @__PURE__ */ new Map();
6934
- k.set(b, T);
6935
- const _ = this._scope[E] || (this._scope[E] = []), y = _.length;
6936
- return _[y] = f.ref, T.setValue(f, { property: E, itemIndex: y }), T;
6933
+ k = this._values[S] = /* @__PURE__ */ new Map();
6934
+ k.set(E, T);
6935
+ const _ = this._scope[S] || (this._scope[S] = []), y = _.length;
6936
+ return _[y] = f.ref, T.setValue(f, { property: S, itemIndex: y }), T;
6937
6937
  }
6938
6938
  getValue(c, f) {
6939
6939
  const p = this._values[c];
@@ -6955,12 +6955,12 @@ var sn = {};
6955
6955
  }, f, p);
6956
6956
  }
6957
6957
  _reduceValues(c, f, p = {}, T) {
6958
- let E = e.nil;
6959
- for (const b in c) {
6960
- const k = c[b];
6958
+ let S = e.nil;
6959
+ for (const E in c) {
6960
+ const k = c[E];
6961
6961
  if (!k)
6962
6962
  continue;
6963
- const _ = p[b] = p[b] || /* @__PURE__ */ new Map();
6963
+ const _ = p[E] = p[E] || /* @__PURE__ */ new Map();
6964
6964
  k.forEach((y) => {
6965
6965
  if (_.has(y))
6966
6966
  return;
@@ -6968,15 +6968,15 @@ var sn = {};
6968
6968
  let I = f(y);
6969
6969
  if (I) {
6970
6970
  const D = this.opts.es5 ? t.varKinds.var : t.varKinds.const;
6971
- E = (0, e._)`${E}${D} ${y} = ${I};${this.opts._n}`;
6971
+ S = (0, e._)`${S}${D} ${y} = ${I};${this.opts._n}`;
6972
6972
  } else if (I = T == null ? void 0 : T(y))
6973
- E = (0, e._)`${E}${I}${this.opts._n}`;
6973
+ S = (0, e._)`${S}${I}${this.opts._n}`;
6974
6974
  else
6975
6975
  throw new r(y);
6976
6976
  _.set(y, s.Completed);
6977
6977
  });
6978
6978
  }
6979
- return E;
6979
+ return S;
6980
6980
  }
6981
6981
  }
6982
6982
  t.ValueScope = o;
@@ -7115,7 +7115,7 @@ var sn = {};
7115
7115
  return this.code instanceof e._CodeOrName ? this.code.names : {};
7116
7116
  }
7117
7117
  }
7118
- class E extends a {
7118
+ class S extends a {
7119
7119
  constructor(u = []) {
7120
7120
  super(), this.nodes = u;
7121
7121
  }
@@ -7144,17 +7144,17 @@ var sn = {};
7144
7144
  return this.nodes.reduce((u, d) => K(u, d.names), {});
7145
7145
  }
7146
7146
  }
7147
- class b extends E {
7147
+ class E extends S {
7148
7148
  render(u) {
7149
7149
  return "{" + u._n + super.render(u) + "}" + u._n;
7150
7150
  }
7151
7151
  }
7152
- class k extends E {
7152
+ class k extends S {
7153
7153
  }
7154
- class _ extends b {
7154
+ class _ extends E {
7155
7155
  }
7156
7156
  _.kind = "else";
7157
- class y extends b {
7157
+ class y extends E {
7158
7158
  constructor(u, d) {
7159
7159
  super(d), this.condition = u;
7160
7160
  }
@@ -7188,7 +7188,7 @@ var sn = {};
7188
7188
  }
7189
7189
  }
7190
7190
  y.kind = "if";
7191
- class I extends b {
7191
+ class I extends E {
7192
7192
  }
7193
7193
  I.kind = "for";
7194
7194
  class D extends I {
@@ -7234,7 +7234,7 @@ var sn = {};
7234
7234
  return K(super.names, this.iterable.names);
7235
7235
  }
7236
7236
  }
7237
- class x extends b {
7237
+ class x extends E {
7238
7238
  constructor(u, d, v) {
7239
7239
  super(), this.name = u, this.args = d, this.async = v;
7240
7240
  }
@@ -7243,13 +7243,13 @@ var sn = {};
7243
7243
  }
7244
7244
  }
7245
7245
  x.kind = "func";
7246
- class G extends E {
7246
+ class G extends S {
7247
7247
  render(u) {
7248
7248
  return "return " + super.render(u);
7249
7249
  }
7250
7250
  }
7251
7251
  G.kind = "return";
7252
- class q extends b {
7252
+ class q extends E {
7253
7253
  render(u) {
7254
7254
  let d = "try" + super.render(u);
7255
7255
  return this.catch && (d += this.catch.render(u)), this.finally && (d += this.finally.render(u)), d;
@@ -7267,7 +7267,7 @@ var sn = {};
7267
7267
  return this.catch && K(u, this.catch.names), this.finally && K(u, this.finally.names), u;
7268
7268
  }
7269
7269
  }
7270
- class U extends b {
7270
+ class U extends E {
7271
7271
  constructor(u) {
7272
7272
  super(), this.error = u;
7273
7273
  }
@@ -7276,7 +7276,7 @@ var sn = {};
7276
7276
  }
7277
7277
  }
7278
7278
  U.kind = "catch";
7279
- class ie extends b {
7279
+ class ie extends E {
7280
7280
  render(u) {
7281
7281
  return "finally" + super.render(u);
7282
7282
  }
@@ -7766,16 +7766,16 @@ It.default = Il;
7766
7766
  }
7767
7767
  function T(_, y, I = {}) {
7768
7768
  const { gen: D, it: A } = _, $ = [
7769
- E(A, I),
7770
- b(_, I)
7769
+ S(A, I),
7770
+ E(_, I)
7771
7771
  ];
7772
7772
  return k(_, y, $), D.object(...$);
7773
7773
  }
7774
- function E({ errorPath: _ }, { instancePath: y }) {
7774
+ function S({ errorPath: _ }, { instancePath: y }) {
7775
7775
  const I = y ? (0, e.str)`${_}${(0, r.getErrorPath)(y, r.Type.Str)}` : _;
7776
7776
  return [s.default.instancePath, (0, e.strConcat)(s.default.instancePath, I)];
7777
7777
  }
7778
- function b({ keyword: _, it: { errSchemaPath: y } }, { schemaPath: I, parentSchema: D }) {
7778
+ function E({ keyword: _, it: { errSchemaPath: y } }, { schemaPath: I, parentSchema: D }) {
7779
7779
  let A = D ? y : (0, e.str)`${y}/${_}`;
7780
7780
  return I && (A = (0, e.str)`${A}${(0, r.getErrorPath)(I, r.Type.Str)}`), [f.schemaPath, A];
7781
7781
  }
@@ -8155,15 +8155,15 @@ function hc(t, e) {
8155
8155
  if (e.errors === !1)
8156
8156
  k(), e.modifying && Oi(t), _(() => t.error());
8157
8157
  else {
8158
- const y = e.async ? E() : b();
8158
+ const y = e.async ? S() : E();
8159
8159
  e.modifying && Oi(t), _(() => mc(t, y));
8160
8160
  }
8161
8161
  }
8162
- function E() {
8162
+ function S() {
8163
8163
  const y = s.let("ruleErrs", null);
8164
8164
  return s.try(() => k((0, Xe._)`await `), (I) => s.assign(p, !1).if((0, Xe._)`${I} instanceof ${l.ValidationError}`, () => s.assign(y, (0, Xe._)`${I}.errors`), () => s.throw(I))), y;
8165
8165
  }
8166
- function b() {
8166
+ function E() {
8167
8167
  const y = (0, Xe._)`${f}.errors`;
8168
8168
  return s.assign(y, null), k(Xe.nil), y;
8169
8169
  }
@@ -8365,8 +8365,8 @@ function fs(t, e, r, s, n, a, i, o, l, c) {
8365
8365
  fs(t, e, r, p[T], n + "/" + f + "/" + T, a, n, f, s, T);
8366
8366
  } else if (f in qt.propsKeywords) {
8367
8367
  if (p && typeof p == "object")
8368
- for (var E in p)
8369
- fs(t, e, r, p[E], n + "/" + f + "/" + Sc(E), a, n, f, s, E);
8368
+ for (var S in p)
8369
+ fs(t, e, r, p[S], n + "/" + f + "/" + Sc(S), a, n, f, s, S);
8370
8370
  } else
8371
8371
  (f in qt.keywords || t.allKeys && !(f in qt.skipKeywords)) && fs(t, e, r, p, n + "/" + f, a, n, f, s);
8372
8372
  }
@@ -8452,11 +8452,11 @@ function Pc(t, e) {
8452
8452
  if (typeof t == "boolean")
8453
8453
  return {};
8454
8454
  const { schemaId: r, uriResolver: s } = this.opts, n = _r(t[r] || e), a = { "": n }, i = qo(s, n, !1), o = {}, l = /* @__PURE__ */ new Set();
8455
- return Cc(t, { allKeys: !0 }, (p, T, E, b) => {
8456
- if (b === void 0)
8455
+ return Cc(t, { allKeys: !0 }, (p, T, S, E) => {
8456
+ if (E === void 0)
8457
8457
  return;
8458
8458
  const k = i + T;
8459
- let _ = a[b];
8459
+ let _ = a[E];
8460
8460
  typeof p[r] == "string" && (_ = y.call(this, p[r])), I.call(this, p.$anchor), I.call(this, p.$dynamicAnchor), a[T] = _;
8461
8461
  function y(D) {
8462
8462
  const A = this.opts.uriResolver.resolve;
@@ -8474,9 +8474,9 @@ function Pc(t, e) {
8474
8474
  }
8475
8475
  }
8476
8476
  }), o;
8477
- function c(p, T, E) {
8477
+ function c(p, T, S) {
8478
8478
  if (T !== void 0 && !wc(p, T))
8479
- throw f(E);
8479
+ throw f(S);
8480
8480
  }
8481
8481
  function f(p) {
8482
8482
  return new Error(`reference "${p}" resolves to more than one schema`);
@@ -8865,17 +8865,17 @@ function An(t) {
8865
8865
  this._compilations.add(t), (0, id.validateFunctionCode)(c), i.optimize(this.opts.code.optimize);
8866
8866
  const p = i.toString();
8867
8867
  f = `${i.scopeRefs(Qt.default.scope)}return ${p}`, this.opts.code.process && (f = this.opts.code.process(f, t));
8868
- const E = new Function(`${Qt.default.self}`, `${Qt.default.scope}`, f)(this, this.scope.get());
8869
- if (this.scope.value(l, { ref: E }), E.errors = null, E.schema = t.schema, E.schemaEnv = t, t.$async && (E.$async = !0), this.opts.code.source === !0 && (E.source = { validateName: l, validateCode: p, scopeValues: i._values }), this.opts.unevaluated) {
8870
- const { props: b, items: k } = c;
8871
- E.evaluated = {
8872
- props: b instanceof pt.Name ? void 0 : b,
8868
+ const S = new Function(`${Qt.default.self}`, `${Qt.default.scope}`, f)(this, this.scope.get());
8869
+ if (this.scope.value(l, { ref: S }), S.errors = null, S.schema = t.schema, S.schemaEnv = t, t.$async && (S.$async = !0), this.opts.code.source === !0 && (S.source = { validateName: l, validateCode: p, scopeValues: i._values }), this.opts.unevaluated) {
8870
+ const { props: E, items: k } = c;
8871
+ S.evaluated = {
8872
+ props: E instanceof pt.Name ? void 0 : E,
8873
8873
  items: k instanceof pt.Name ? void 0 : k,
8874
- dynamicProps: b instanceof pt.Name,
8874
+ dynamicProps: E instanceof pt.Name,
8875
8875
  dynamicItems: k instanceof pt.Name
8876
- }, E.source && (E.source.evaluated = (0, pt.stringify)(E.evaluated));
8876
+ }, S.source && (S.source.evaluated = (0, pt.stringify)(S.evaluated));
8877
8877
  }
8878
- return t.validate = E, t;
8878
+ return t.validate = S, t;
8879
8879
  } catch (p) {
8880
8880
  throw delete t.validate, delete t.validateName, f && this.logger.error("Error compiling schema, function code:", f), p;
8881
8881
  } finally {
@@ -8994,7 +8994,7 @@ var In = {}, un = { exports: {} };
8994
8994
  s(e);
8995
8995
  })(Au, function(r) {
8996
8996
  function s() {
8997
- for (var S = arguments.length, m = Array(S), w = 0; w < S; w++)
8997
+ for (var b = arguments.length, m = Array(b), w = 0; w < b; w++)
8998
8998
  m[w] = arguments[w];
8999
8999
  if (m.length > 1) {
9000
9000
  m[0] = m[0].slice(0, -1);
@@ -9004,27 +9004,27 @@ var In = {}, un = { exports: {} };
9004
9004
  } else
9005
9005
  return m[0];
9006
9006
  }
9007
- function n(S) {
9008
- return "(?:" + S + ")";
9007
+ function n(b) {
9008
+ return "(?:" + b + ")";
9009
9009
  }
9010
- function a(S) {
9011
- return S === void 0 ? "undefined" : S === null ? "null" : Object.prototype.toString.call(S).split(" ").pop().split("]").shift().toLowerCase();
9010
+ function a(b) {
9011
+ return b === void 0 ? "undefined" : b === null ? "null" : Object.prototype.toString.call(b).split(" ").pop().split("]").shift().toLowerCase();
9012
9012
  }
9013
- function i(S) {
9014
- return S.toUpperCase();
9013
+ function i(b) {
9014
+ return b.toUpperCase();
9015
9015
  }
9016
- function o(S) {
9017
- return S != null ? S instanceof Array ? S : typeof S.length != "number" || S.split || S.setInterval || S.call ? [S] : Array.prototype.slice.call(S) : [];
9016
+ function o(b) {
9017
+ return b != null ? b instanceof Array ? b : typeof b.length != "number" || b.split || b.setInterval || b.call ? [b] : Array.prototype.slice.call(b) : [];
9018
9018
  }
9019
- function l(S, m) {
9020
- var w = S;
9019
+ function l(b, m) {
9020
+ var w = b;
9021
9021
  if (m)
9022
9022
  for (var M in m)
9023
9023
  w[M] = m[M];
9024
9024
  return w;
9025
9025
  }
9026
- function c(S) {
9027
- var m = "[A-Za-z]", w = "[0-9]", M = s(w, "[A-Fa-f]"), F = n(n("%[EFef]" + M + "%" + M + M + "%" + M + M) + "|" + n("%[89A-Fa-f]" + M + "%" + M + M) + "|" + n("%" + M + M)), X = "[\\:\\/\\?\\#\\[\\]\\@]", Z = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", he = s(X, Z), we = S ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", Pe = S ? "[\\uE000-\\uF8FF]" : "[]", fe = s(m, w, "[\\-\\.\\_\\~]", we);
9026
+ function c(b) {
9027
+ var m = "[A-Za-z]", w = "[0-9]", M = s(w, "[A-Fa-f]"), F = n(n("%[EFef]" + M + "%" + M + M + "%" + M + M) + "|" + n("%[89A-Fa-f]" + M + "%" + M + M) + "|" + n("%" + M + M)), X = "[\\:\\/\\?\\#\\[\\]\\@]", Z = "[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]", he = s(X, Z), we = b ? "[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]" : "[]", Pe = b ? "[\\uE000-\\uF8FF]" : "[]", fe = s(m, w, "[\\-\\.\\_\\~]", we);
9028
9028
  n(m + s(m, w, "[\\+\\-\\.]") + "*"), n(n(F + "|" + s(fe, Z, "[\\:]")) + "*");
9029
9029
  var ke = n(n("25[0-5]") + "|" + n("2[0-4]" + w) + "|" + n("1" + w + w) + "|" + n("0?[1-9]" + w) + "|0?0?" + w), Re = n(ke + "\\." + ke + "\\." + ke + "\\." + ke), ne = n(M + "{1,4}"), Te = n(n(ne + "\\:" + ne) + "|" + Re), Me = n(n(ne + "\\:") + "{6}" + Te), Oe = n("\\:\\:" + n(ne + "\\:") + "{5}" + Te), Vt = n(n(ne) + "?\\:\\:" + n(ne + "\\:") + "{4}" + Te), bt = n(n(n(ne + "\\:") + "{0,1}" + ne) + "?\\:\\:" + n(ne + "\\:") + "{3}" + Te), St = n(n(n(ne + "\\:") + "{0,2}" + ne) + "?\\:\\:" + n(ne + "\\:") + "{2}" + Te), dr = n(n(n(ne + "\\:") + "{0,3}" + ne) + "?\\:\\:" + ne + "\\:" + Te), Xt = n(n(n(ne + "\\:") + "{0,4}" + ne) + "?\\:\\:" + Te), ot = n(n(n(ne + "\\:") + "{0,5}" + ne) + "?\\:\\:" + ne), Et = n(n(n(ne + "\\:") + "{0,6}" + ne) + "?\\:\\:"), Jt = n([Me, Oe, Vt, bt, St, dr, Xt, ot, Et].join("|")), Dt = n(n(fe + "|" + F) + "+");
9030
9030
  n("[vV]" + M + "+\\." + s(fe, Z, "[\\:]") + "+"), n(n(F + "|" + s(fe, Z)) + "*");
@@ -9047,7 +9047,7 @@ var In = {}, un = { exports: {} };
9047
9047
  };
9048
9048
  }
9049
9049
  var f = c(!1), p = c(!0), T = /* @__PURE__ */ function() {
9050
- function S(m, w) {
9050
+ function b(m, w) {
9051
9051
  var M = [], F = !0, X = !1, Z = void 0;
9052
9052
  try {
9053
9053
  for (var he = m[Symbol.iterator](), we; !(F = (we = he.next()).done) && (M.push(we.value), !(w && M.length === w)); F = !0)
@@ -9068,40 +9068,40 @@ var In = {}, un = { exports: {} };
9068
9068
  if (Array.isArray(m))
9069
9069
  return m;
9070
9070
  if (Symbol.iterator in Object(m))
9071
- return S(m, w);
9071
+ return b(m, w);
9072
9072
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
9073
9073
  };
9074
- }(), E = function(S) {
9075
- if (Array.isArray(S)) {
9076
- for (var m = 0, w = Array(S.length); m < S.length; m++)
9077
- w[m] = S[m];
9074
+ }(), S = function(b) {
9075
+ if (Array.isArray(b)) {
9076
+ for (var m = 0, w = Array(b.length); m < b.length; m++)
9077
+ w[m] = b[m];
9078
9078
  return w;
9079
9079
  } else
9080
- return Array.from(S);
9081
- }, b = 2147483647, k = 36, _ = 1, y = 26, I = 38, D = 700, A = 72, $ = 128, x = "-", G = /^xn--/, q = /[^\0-\x7E]/, U = /[\x2E\u3002\uFF0E\uFF61]/g, ie = {
9080
+ return Array.from(b);
9081
+ }, E = 2147483647, k = 36, _ = 1, y = 26, I = 38, D = 700, A = 72, $ = 128, x = "-", G = /^xn--/, q = /[^\0-\x7E]/, U = /[\x2E\u3002\uFF0E\uFF61]/g, ie = {
9082
9082
  overflow: "Overflow: input needs wider integers to process",
9083
9083
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
9084
9084
  "invalid-input": "Invalid input"
9085
9085
  }, z = k - _, K = Math.floor, te = String.fromCharCode;
9086
- function W(S) {
9087
- throw new RangeError(ie[S]);
9086
+ function W(b) {
9087
+ throw new RangeError(ie[b]);
9088
9088
  }
9089
- function me(S, m) {
9090
- for (var w = [], M = S.length; M--; )
9091
- w[M] = m(S[M]);
9089
+ function me(b, m) {
9090
+ for (var w = [], M = b.length; M--; )
9091
+ w[M] = m(b[M]);
9092
9092
  return w;
9093
9093
  }
9094
- function ge(S, m) {
9095
- var w = S.split("@"), M = "";
9096
- w.length > 1 && (M = w[0] + "@", S = w[1]), S = S.replace(U, ".");
9097
- var F = S.split("."), X = me(F, m).join(".");
9094
+ function ge(b, m) {
9095
+ var w = b.split("@"), M = "";
9096
+ w.length > 1 && (M = w[0] + "@", b = w[1]), b = b.replace(U, ".");
9097
+ var F = b.split("."), X = me(F, m).join(".");
9098
9098
  return M + X;
9099
9099
  }
9100
- function $e(S) {
9101
- for (var m = [], w = 0, M = S.length; w < M; ) {
9102
- var F = S.charCodeAt(w++);
9100
+ function $e(b) {
9101
+ for (var m = [], w = 0, M = b.length; w < M; ) {
9102
+ var F = b.charCodeAt(w++);
9103
9103
  if (F >= 55296 && F <= 56319 && w < M) {
9104
- var X = S.charCodeAt(w++);
9104
+ var X = b.charCodeAt(w++);
9105
9105
  (X & 64512) == 56320 ? m.push(((F & 1023) << 10) + (X & 1023) + 65536) : (m.push(F), w--);
9106
9106
  } else
9107
9107
  m.push(F);
@@ -9109,7 +9109,7 @@ var In = {}, un = { exports: {} };
9109
9109
  return m;
9110
9110
  }
9111
9111
  var Ne = function(m) {
9112
- return String.fromCodePoint.apply(String, E(m));
9112
+ return String.fromCodePoint.apply(String, S(m));
9113
9113
  }, je = function(m) {
9114
9114
  return m - 48 < 10 ? m - 22 : m - 65 < 26 ? m - 65 : m - 97 < 26 ? m - 97 : k;
9115
9115
  }, O = function(m, w) {
@@ -9138,15 +9138,15 @@ var In = {}, un = { exports: {} };
9138
9138
  ) {
9139
9139
  Pe >= M && W("invalid-input");
9140
9140
  var ne = je(m.charCodeAt(Pe++));
9141
- (ne >= k || ne > K((b - F) / ke)) && W("overflow"), F += ne * ke;
9141
+ (ne >= k || ne > K((E - F) / ke)) && W("overflow"), F += ne * ke;
9142
9142
  var Te = Re <= Z ? _ : Re >= Z + y ? y : Re - Z;
9143
9143
  if (ne < Te)
9144
9144
  break;
9145
9145
  var Me = k - Te;
9146
- ke > K(b / Me) && W("overflow"), ke *= Me;
9146
+ ke > K(E / Me) && W("overflow"), ke *= Me;
9147
9147
  }
9148
9148
  var Oe = w.length + 1;
9149
- Z = g(F - fe, Oe, fe == 0), K(F / Oe) > b - X && W("overflow"), X += K(F / Oe), F %= Oe, w.splice(F++, 0, X);
9149
+ Z = g(F - fe, Oe, fe == 0), K(F / Oe) > E - X && W("overflow"), X += K(F / Oe), F %= Oe, w.splice(F++, 0, X);
9150
9150
  }
9151
9151
  return String.fromCodePoint.apply(String, w);
9152
9152
  }, C = function(m) {
@@ -9170,7 +9170,7 @@ var In = {}, un = { exports: {} };
9170
9170
  }
9171
9171
  var ne = w.length, Te = ne;
9172
9172
  for (ne && w.push(x); Te < M; ) {
9173
- var Me = b, Oe = !0, Vt = !1, bt = void 0;
9173
+ var Me = E, Oe = !0, Vt = !1, bt = void 0;
9174
9174
  try {
9175
9175
  for (var St = m[Symbol.iterator](), dr; !(Oe = (dr = St.next()).done); Oe = !0) {
9176
9176
  var Xt = dr.value;
@@ -9187,12 +9187,12 @@ var In = {}, un = { exports: {} };
9187
9187
  }
9188
9188
  }
9189
9189
  var ot = Te + 1;
9190
- Me - F > K((b - X) / ot) && W("overflow"), X += (Me - F) * ot, F = Me;
9190
+ Me - F > K((E - X) / ot) && W("overflow"), X += (Me - F) * ot, F = Me;
9191
9191
  var Et = !0, Jt = !1, Dt = void 0;
9192
9192
  try {
9193
9193
  for (var Ar = m[Symbol.iterator](), ga; !(Et = (ga = Ar.next()).done); Et = !0) {
9194
9194
  var ya = ga.value;
9195
- if (ya < F && ++X > b && W("overflow"), ya == F) {
9195
+ if (ya < F && ++X > E && W("overflow"), ya == F) {
9196
9196
  for (
9197
9197
  var Jr = X, Zr = k;
9198
9198
  ;
@@ -9252,50 +9252,50 @@ var In = {}, un = { exports: {} };
9252
9252
  toASCII: d,
9253
9253
  toUnicode: u
9254
9254
  }, N = {};
9255
- function j(S) {
9256
- var m = S.charCodeAt(0), w = void 0;
9255
+ function j(b) {
9256
+ var m = b.charCodeAt(0), w = void 0;
9257
9257
  return m < 16 ? w = "%0" + m.toString(16).toUpperCase() : m < 128 ? w = "%" + m.toString(16).toUpperCase() : m < 2048 ? w = "%" + (m >> 6 | 192).toString(16).toUpperCase() + "%" + (m & 63 | 128).toString(16).toUpperCase() : w = "%" + (m >> 12 | 224).toString(16).toUpperCase() + "%" + (m >> 6 & 63 | 128).toString(16).toUpperCase() + "%" + (m & 63 | 128).toString(16).toUpperCase(), w;
9258
9258
  }
9259
- function V(S) {
9260
- for (var m = "", w = 0, M = S.length; w < M; ) {
9261
- var F = parseInt(S.substr(w + 1, 2), 16);
9259
+ function V(b) {
9260
+ for (var m = "", w = 0, M = b.length; w < M; ) {
9261
+ var F = parseInt(b.substr(w + 1, 2), 16);
9262
9262
  if (F < 128)
9263
9263
  m += String.fromCharCode(F), w += 3;
9264
9264
  else if (F >= 194 && F < 224) {
9265
9265
  if (M - w >= 6) {
9266
- var X = parseInt(S.substr(w + 4, 2), 16);
9266
+ var X = parseInt(b.substr(w + 4, 2), 16);
9267
9267
  m += String.fromCharCode((F & 31) << 6 | X & 63);
9268
9268
  } else
9269
- m += S.substr(w, 6);
9269
+ m += b.substr(w, 6);
9270
9270
  w += 6;
9271
9271
  } else if (F >= 224) {
9272
9272
  if (M - w >= 9) {
9273
- var Z = parseInt(S.substr(w + 4, 2), 16), he = parseInt(S.substr(w + 7, 2), 16);
9273
+ var Z = parseInt(b.substr(w + 4, 2), 16), he = parseInt(b.substr(w + 7, 2), 16);
9274
9274
  m += String.fromCharCode((F & 15) << 12 | (Z & 63) << 6 | he & 63);
9275
9275
  } else
9276
- m += S.substr(w, 9);
9276
+ m += b.substr(w, 9);
9277
9277
  w += 9;
9278
9278
  } else
9279
- m += S.substr(w, 3), w += 3;
9279
+ m += b.substr(w, 3), w += 3;
9280
9280
  }
9281
9281
  return m;
9282
9282
  }
9283
- function B(S, m) {
9283
+ function B(b, m) {
9284
9284
  function w(M) {
9285
9285
  var F = V(M);
9286
9286
  return F.match(m.UNRESERVED) ? F : M;
9287
9287
  }
9288
- return S.scheme && (S.scheme = String(S.scheme).replace(m.PCT_ENCODED, w).toLowerCase().replace(m.NOT_SCHEME, "")), S.userinfo !== void 0 && (S.userinfo = String(S.userinfo).replace(m.PCT_ENCODED, w).replace(m.NOT_USERINFO, j).replace(m.PCT_ENCODED, i)), S.host !== void 0 && (S.host = String(S.host).replace(m.PCT_ENCODED, w).toLowerCase().replace(m.NOT_HOST, j).replace(m.PCT_ENCODED, i)), S.path !== void 0 && (S.path = String(S.path).replace(m.PCT_ENCODED, w).replace(S.scheme ? m.NOT_PATH : m.NOT_PATH_NOSCHEME, j).replace(m.PCT_ENCODED, i)), S.query !== void 0 && (S.query = String(S.query).replace(m.PCT_ENCODED, w).replace(m.NOT_QUERY, j).replace(m.PCT_ENCODED, i)), S.fragment !== void 0 && (S.fragment = String(S.fragment).replace(m.PCT_ENCODED, w).replace(m.NOT_FRAGMENT, j).replace(m.PCT_ENCODED, i)), S;
9288
+ return b.scheme && (b.scheme = String(b.scheme).replace(m.PCT_ENCODED, w).toLowerCase().replace(m.NOT_SCHEME, "")), b.userinfo !== void 0 && (b.userinfo = String(b.userinfo).replace(m.PCT_ENCODED, w).replace(m.NOT_USERINFO, j).replace(m.PCT_ENCODED, i)), b.host !== void 0 && (b.host = String(b.host).replace(m.PCT_ENCODED, w).toLowerCase().replace(m.NOT_HOST, j).replace(m.PCT_ENCODED, i)), b.path !== void 0 && (b.path = String(b.path).replace(m.PCT_ENCODED, w).replace(b.scheme ? m.NOT_PATH : m.NOT_PATH_NOSCHEME, j).replace(m.PCT_ENCODED, i)), b.query !== void 0 && (b.query = String(b.query).replace(m.PCT_ENCODED, w).replace(m.NOT_QUERY, j).replace(m.PCT_ENCODED, i)), b.fragment !== void 0 && (b.fragment = String(b.fragment).replace(m.PCT_ENCODED, w).replace(m.NOT_FRAGMENT, j).replace(m.PCT_ENCODED, i)), b;
9289
9289
  }
9290
- function ee(S) {
9291
- return S.replace(/^0*(.*)/, "$1") || "0";
9290
+ function ee(b) {
9291
+ return b.replace(/^0*(.*)/, "$1") || "0";
9292
9292
  }
9293
- function L(S, m) {
9294
- var w = S.match(m.IPV4ADDRESS) || [], M = T(w, 2), F = M[1];
9295
- return F ? F.split(".").map(ee).join(".") : S;
9293
+ function L(b, m) {
9294
+ var w = b.match(m.IPV4ADDRESS) || [], M = T(w, 2), F = M[1];
9295
+ return F ? F.split(".").map(ee).join(".") : b;
9296
9296
  }
9297
- function pe(S, m) {
9298
- var w = S.match(m.IPV6ADDRESS) || [], M = T(w, 3), F = M[1], X = M[2];
9297
+ function pe(b, m) {
9298
+ var w = b.match(m.IPV6ADDRESS) || [], M = T(w, 3), F = M[1], X = M[2];
9299
9299
  if (F) {
9300
9300
  for (var Z = F.toLowerCase().split("::").reverse(), he = T(Z, 2), we = he[0], Pe = he[1], fe = Pe ? Pe.split(":").map(ee) : [], ke = we.split(":").map(ee), Re = m.IPV4ADDRESS.test(ke[ke.length - 1]), ne = Re ? 7 : 8, Te = ke.length - ne, Me = Array(ne), Oe = 0; Oe < ne; ++Oe)
9301
9301
  Me[Oe] = fe[Oe] || ke[Te + Oe] || "";
@@ -9316,15 +9316,15 @@ var In = {}, un = { exports: {} };
9316
9316
  St = Me.join(":");
9317
9317
  return X && (St += "%" + X), St;
9318
9318
  } else
9319
- return S;
9319
+ return b;
9320
9320
  }
9321
9321
  var Ye = /^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i, tt = "".match(/(){0}/)[1] === void 0;
9322
- function oe(S) {
9322
+ function oe(b) {
9323
9323
  var m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, w = {}, M = m.iri !== !1 ? p : f;
9324
- m.reference === "suffix" && (S = (m.scheme ? m.scheme + ":" : "") + "//" + S);
9325
- var F = S.match(Ye);
9324
+ m.reference === "suffix" && (b = (m.scheme ? m.scheme + ":" : "") + "//" + b);
9325
+ var F = b.match(Ye);
9326
9326
  if (F) {
9327
- tt ? (w.scheme = F[1], w.userinfo = F[3], w.host = F[4], w.port = parseInt(F[5], 10), w.path = F[6] || "", w.query = F[7], w.fragment = F[8], isNaN(w.port) && (w.port = F[5])) : (w.scheme = F[1] || void 0, w.userinfo = S.indexOf("@") !== -1 ? F[3] : void 0, w.host = S.indexOf("//") !== -1 ? F[4] : void 0, w.port = parseInt(F[5], 10), w.path = F[6] || "", w.query = S.indexOf("?") !== -1 ? F[7] : void 0, w.fragment = S.indexOf("#") !== -1 ? F[8] : void 0, isNaN(w.port) && (w.port = S.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/) ? F[4] : void 0)), w.host && (w.host = pe(L(w.host, M), M)), w.scheme === void 0 && w.userinfo === void 0 && w.host === void 0 && w.port === void 0 && !w.path && w.query === void 0 ? w.reference = "same-document" : w.scheme === void 0 ? w.reference = "relative" : w.fragment === void 0 ? w.reference = "absolute" : w.reference = "uri", m.reference && m.reference !== "suffix" && m.reference !== w.reference && (w.error = w.error || "URI is not a " + m.reference + " reference.");
9327
+ tt ? (w.scheme = F[1], w.userinfo = F[3], w.host = F[4], w.port = parseInt(F[5], 10), w.path = F[6] || "", w.query = F[7], w.fragment = F[8], isNaN(w.port) && (w.port = F[5])) : (w.scheme = F[1] || void 0, w.userinfo = b.indexOf("@") !== -1 ? F[3] : void 0, w.host = b.indexOf("//") !== -1 ? F[4] : void 0, w.port = parseInt(F[5], 10), w.path = F[6] || "", w.query = b.indexOf("?") !== -1 ? F[7] : void 0, w.fragment = b.indexOf("#") !== -1 ? F[8] : void 0, isNaN(w.port) && (w.port = b.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/) ? F[4] : void 0)), w.host && (w.host = pe(L(w.host, M), M)), w.scheme === void 0 && w.userinfo === void 0 && w.host === void 0 && w.port === void 0 && !w.path && w.query === void 0 ? w.reference = "same-document" : w.scheme === void 0 ? w.reference = "relative" : w.fragment === void 0 ? w.reference = "absolute" : w.reference = "uri", m.reference && m.reference !== "suffix" && m.reference !== w.reference && (w.error = w.error || "URI is not a " + m.reference + " reference.");
9328
9328
  var X = N[(m.scheme || w.scheme || "").toLowerCase()];
9329
9329
  if (!m.unicodeSupport && (!X || !X.unicodeSupport)) {
9330
9330
  if (w.host && (m.domainHost || X && X.domainHost))
@@ -9341,70 +9341,70 @@ var In = {}, un = { exports: {} };
9341
9341
  w.error = w.error || "URI can not be parsed.";
9342
9342
  return w;
9343
9343
  }
9344
- function vt(S, m) {
9344
+ function vt(b, m) {
9345
9345
  var w = m.iri !== !1 ? p : f, M = [];
9346
- return S.userinfo !== void 0 && (M.push(S.userinfo), M.push("@")), S.host !== void 0 && M.push(pe(L(String(S.host), w), w).replace(w.IPV6ADDRESS, function(F, X, Z) {
9346
+ return b.userinfo !== void 0 && (M.push(b.userinfo), M.push("@")), b.host !== void 0 && M.push(pe(L(String(b.host), w), w).replace(w.IPV6ADDRESS, function(F, X, Z) {
9347
9347
  return "[" + X + (Z ? "%25" + Z : "") + "]";
9348
- })), (typeof S.port == "number" || typeof S.port == "string") && (M.push(":"), M.push(String(S.port))), M.length ? M.join("") : void 0;
9348
+ })), (typeof b.port == "number" || typeof b.port == "string") && (M.push(":"), M.push(String(b.port))), M.length ? M.join("") : void 0;
9349
9349
  }
9350
9350
  var rt = /^\.\.?\//, xt = /^\/\.(\/|$)/, ur = /^\/\.\.(\/|$)/, wr = /^\/?(?:.|\n)*?(?=\/|$)/;
9351
- function _t(S) {
9352
- for (var m = []; S.length; )
9353
- if (S.match(rt))
9354
- S = S.replace(rt, "");
9355
- else if (S.match(xt))
9356
- S = S.replace(xt, "/");
9357
- else if (S.match(ur))
9358
- S = S.replace(ur, "/"), m.pop();
9359
- else if (S === "." || S === "..")
9360
- S = "";
9351
+ function _t(b) {
9352
+ for (var m = []; b.length; )
9353
+ if (b.match(rt))
9354
+ b = b.replace(rt, "");
9355
+ else if (b.match(xt))
9356
+ b = b.replace(xt, "/");
9357
+ else if (b.match(ur))
9358
+ b = b.replace(ur, "/"), m.pop();
9359
+ else if (b === "." || b === "..")
9360
+ b = "";
9361
9361
  else {
9362
- var w = S.match(wr);
9362
+ var w = b.match(wr);
9363
9363
  if (w) {
9364
9364
  var M = w[0];
9365
- S = S.slice(M.length), m.push(M);
9365
+ b = b.slice(M.length), m.push(M);
9366
9366
  } else
9367
9367
  throw new Error("Unexpected dot segment condition");
9368
9368
  }
9369
9369
  return m.join("");
9370
9370
  }
9371
- function Je(S) {
9372
- var m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, w = m.iri ? p : f, M = [], F = N[(m.scheme || S.scheme || "").toLowerCase()];
9373
- if (F && F.serialize && F.serialize(S, m), S.host && !w.IPV6ADDRESS.test(S.host)) {
9371
+ function Je(b) {
9372
+ var m = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, w = m.iri ? p : f, M = [], F = N[(m.scheme || b.scheme || "").toLowerCase()];
9373
+ if (F && F.serialize && F.serialize(b, m), b.host && !w.IPV6ADDRESS.test(b.host)) {
9374
9374
  if (m.domainHost || F && F.domainHost)
9375
9375
  try {
9376
- S.host = m.iri ? v.toUnicode(S.host) : v.toASCII(S.host.replace(w.PCT_ENCODED, V).toLowerCase());
9376
+ b.host = m.iri ? v.toUnicode(b.host) : v.toASCII(b.host.replace(w.PCT_ENCODED, V).toLowerCase());
9377
9377
  } catch (he) {
9378
- S.error = S.error || "Host's domain name can not be converted to " + (m.iri ? "Unicode" : "ASCII") + " via punycode: " + he;
9378
+ b.error = b.error || "Host's domain name can not be converted to " + (m.iri ? "Unicode" : "ASCII") + " via punycode: " + he;
9379
9379
  }
9380
9380
  }
9381
- B(S, w), m.reference !== "suffix" && S.scheme && (M.push(S.scheme), M.push(":"));
9382
- var X = vt(S, m);
9383
- if (X !== void 0 && (m.reference !== "suffix" && M.push("//"), M.push(X), S.path && S.path.charAt(0) !== "/" && M.push("/")), S.path !== void 0) {
9384
- var Z = S.path;
9381
+ B(b, w), m.reference !== "suffix" && b.scheme && (M.push(b.scheme), M.push(":"));
9382
+ var X = vt(b, m);
9383
+ if (X !== void 0 && (m.reference !== "suffix" && M.push("//"), M.push(X), b.path && b.path.charAt(0) !== "/" && M.push("/")), b.path !== void 0) {
9384
+ var Z = b.path;
9385
9385
  !m.absolutePath && (!F || !F.absolutePath) && (Z = _t(Z)), X === void 0 && (Z = Z.replace(/^\/\//, "/%2F")), M.push(Z);
9386
9386
  }
9387
- return S.query !== void 0 && (M.push("?"), M.push(S.query)), S.fragment !== void 0 && (M.push("#"), M.push(S.fragment)), M.join("");
9387
+ return b.query !== void 0 && (M.push("?"), M.push(b.query)), b.fragment !== void 0 && (M.push("#"), M.push(b.fragment)), M.join("");
9388
9388
  }
9389
- function lr(S, m) {
9389
+ function lr(b, m) {
9390
9390
  var w = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, M = arguments[3], F = {};
9391
- return M || (S = oe(Je(S, w), w), m = oe(Je(m, w), w)), w = w || {}, !w.tolerant && m.scheme ? (F.scheme = m.scheme, F.userinfo = m.userinfo, F.host = m.host, F.port = m.port, F.path = _t(m.path || ""), F.query = m.query) : (m.userinfo !== void 0 || m.host !== void 0 || m.port !== void 0 ? (F.userinfo = m.userinfo, F.host = m.host, F.port = m.port, F.path = _t(m.path || ""), F.query = m.query) : (m.path ? (m.path.charAt(0) === "/" ? F.path = _t(m.path) : ((S.userinfo !== void 0 || S.host !== void 0 || S.port !== void 0) && !S.path ? F.path = "/" + m.path : S.path ? F.path = S.path.slice(0, S.path.lastIndexOf("/") + 1) + m.path : F.path = m.path, F.path = _t(F.path)), F.query = m.query) : (F.path = S.path, m.query !== void 0 ? F.query = m.query : F.query = S.query), F.userinfo = S.userinfo, F.host = S.host, F.port = S.port), F.scheme = S.scheme), F.fragment = m.fragment, F;
9391
+ return M || (b = oe(Je(b, w), w), m = oe(Je(m, w), w)), w = w || {}, !w.tolerant && m.scheme ? (F.scheme = m.scheme, F.userinfo = m.userinfo, F.host = m.host, F.port = m.port, F.path = _t(m.path || ""), F.query = m.query) : (m.userinfo !== void 0 || m.host !== void 0 || m.port !== void 0 ? (F.userinfo = m.userinfo, F.host = m.host, F.port = m.port, F.path = _t(m.path || ""), F.query = m.query) : (m.path ? (m.path.charAt(0) === "/" ? F.path = _t(m.path) : ((b.userinfo !== void 0 || b.host !== void 0 || b.port !== void 0) && !b.path ? F.path = "/" + m.path : b.path ? F.path = b.path.slice(0, b.path.lastIndexOf("/") + 1) + m.path : F.path = m.path, F.path = _t(F.path)), F.query = m.query) : (F.path = b.path, m.query !== void 0 ? F.query = m.query : F.query = b.query), F.userinfo = b.userinfo, F.host = b.host, F.port = b.port), F.scheme = b.scheme), F.fragment = m.fragment, F;
9392
9392
  }
9393
- function Cr(S, m, w) {
9393
+ function Cr(b, m, w) {
9394
9394
  var M = l({ scheme: "null" }, w);
9395
- return Je(lr(oe(S, M), oe(m, M), M, !0), M);
9395
+ return Je(lr(oe(b, M), oe(m, M), M, !0), M);
9396
9396
  }
9397
- function Wt(S, m) {
9398
- return typeof S == "string" ? S = Je(oe(S, m), m) : a(S) === "object" && (S = oe(Je(S, m), m)), S;
9397
+ function Wt(b, m) {
9398
+ return typeof b == "string" ? b = Je(oe(b, m), m) : a(b) === "object" && (b = oe(Je(b, m), m)), b;
9399
9399
  }
9400
- function Tr(S, m, w) {
9401
- return typeof S == "string" ? S = Je(oe(S, w), w) : a(S) === "object" && (S = Je(S, w)), typeof m == "string" ? m = Je(oe(m, w), w) : a(m) === "object" && (m = Je(m, w)), S === m;
9400
+ function Tr(b, m, w) {
9401
+ return typeof b == "string" ? b = Je(oe(b, w), w) : a(b) === "object" && (b = Je(b, w)), typeof m == "string" ? m = Je(oe(m, w), w) : a(m) === "object" && (m = Je(m, w)), b === m;
9402
9402
  }
9403
- function Xr(S, m) {
9404
- return S && S.toString().replace(!m || !m.iri ? f.ESCAPE : p.ESCAPE, j);
9403
+ function Xr(b, m) {
9404
+ return b && b.toString().replace(!m || !m.iri ? f.ESCAPE : p.ESCAPE, j);
9405
9405
  }
9406
- function it(S, m) {
9407
- return S && S.toString().replace(!m || !m.iri ? f.PCT_ENCODED : p.PCT_ENCODED, V);
9406
+ function it(b, m) {
9407
+ return b && b.toString().replace(!m || !m.iri ? f.PCT_ENCODED : p.PCT_ENCODED, V);
9408
9408
  }
9409
9409
  var Yt = {
9410
9410
  scheme: "http",
@@ -9422,8 +9422,8 @@ var In = {}, un = { exports: {} };
9422
9422
  parse: Yt.parse,
9423
9423
  serialize: Yt.serialize
9424
9424
  };
9425
- function la(S) {
9426
- return typeof S.secure == "boolean" ? S.secure : String(S.scheme).toLowerCase() === "wss";
9425
+ function la(b) {
9426
+ return typeof b.secure == "boolean" ? b.secure : String(b.scheme).toLowerCase() === "wss";
9427
9427
  }
9428
9428
  var Or = {
9429
9429
  scheme: "ws",
@@ -9445,9 +9445,9 @@ var In = {}, un = { exports: {} };
9445
9445
  parse: Or.parse,
9446
9446
  serialize: Or.serialize
9447
9447
  }, yu = {}, da = "[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]", $t = "[0-9A-Fa-f]", vu = n(n("%[EFef]" + $t + "%" + $t + $t + "%" + $t + $t) + "|" + n("%[89A-Fa-f]" + $t + "%" + $t + $t) + "|" + n("%" + $t + $t)), _u = "[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]", $u = "[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]", bu = s($u, '[\\"\\\\]'), Su = "[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]", Eu = new RegExp(da, "g"), cr = new RegExp(vu, "g"), ku = new RegExp(s("[^]", _u, "[\\.]", '[\\"]', bu), "g"), fa = new RegExp(s("[^]", da, Su), "g"), wu = fa;
9448
- function Rs(S) {
9449
- var m = V(S);
9450
- return m.match(Eu) ? m : S;
9448
+ function Rs(b) {
9449
+ var m = V(b);
9450
+ return m.match(Eu) ? m : b;
9451
9451
  }
9452
9452
  var pa = {
9453
9453
  scheme: "mailto",
@@ -9566,9 +9566,9 @@ In.default = su;
9566
9566
  } }), Object.defineProperty(t, "CodeGen", { enumerable: !0, get: function() {
9567
9567
  return r.CodeGen;
9568
9568
  } });
9569
- const s = Gr, n = Wr, a = ir, i = Qe, o = ce, l = qe, c = Ve, f = H, p = vd, T = In, E = (O, g) => new RegExp(O, g);
9570
- E.code = "new RegExp";
9571
- const b = ["removeAdditional", "useDefaults", "coerceTypes"], k = /* @__PURE__ */ new Set([
9569
+ const s = Gr, n = Wr, a = ir, i = Qe, o = ce, l = qe, c = Ve, f = H, p = vd, T = In, S = (O, g) => new RegExp(O, g);
9570
+ S.code = "new RegExp";
9571
+ const E = ["removeAdditional", "useDefaults", "coerceTypes"], k = /* @__PURE__ */ new Set([
9572
9572
  "validate",
9573
9573
  "serialize",
9574
9574
  "parse",
@@ -9605,7 +9605,7 @@ In.default = su;
9605
9605
  }, I = 200;
9606
9606
  function D(O) {
9607
9607
  var g, R, C, u, d, v, N, j, V, B, ee, L, pe, Ye, tt, oe, vt, rt, xt, ur, wr, _t, Je, lr, Cr;
9608
- const Wt = O.strict, Tr = (g = O.code) === null || g === void 0 ? void 0 : g.optimize, Xr = Tr === !0 || Tr === void 0 ? 1 : Tr || 0, it = (C = (R = O.code) === null || R === void 0 ? void 0 : R.regExp) !== null && C !== void 0 ? C : E, Yt = (u = O.uriResolver) !== null && u !== void 0 ? u : T.default;
9608
+ const Wt = O.strict, Tr = (g = O.code) === null || g === void 0 ? void 0 : g.optimize, Xr = Tr === !0 || Tr === void 0 ? 1 : Tr || 0, it = (C = (R = O.code) === null || R === void 0 ? void 0 : R.regExp) !== null && C !== void 0 ? C : S, Yt = (u = O.uriResolver) !== null && u !== void 0 ? u : T.default;
9609
9609
  return {
9610
9610
  strictSchema: (v = (d = O.strictSchema) !== null && d !== void 0 ? d : Wt) !== null && v !== void 0 ? v : !0,
9611
9611
  strictNumbers: (j = (N = O.strictNumbers) !== null && N !== void 0 ? N : Wt) !== null && j !== void 0 ? j : !0,
@@ -9924,7 +9924,7 @@ In.default = su;
9924
9924
  }
9925
9925
  function ie() {
9926
9926
  const O = { ...this.opts };
9927
- for (const g of b)
9927
+ for (const g of E)
9928
9928
  delete O[g];
9929
9929
  return O;
9930
9930
  }
@@ -10010,20 +10010,20 @@ const bd = Wr, Ri = de, Ze = ce, mr = It, Fi = Qe, as = H, Sd = {
10010
10010
  throw new bd.default(s.opts.uriResolver, n, r);
10011
10011
  if (f instanceof Fi.SchemaEnv)
10012
10012
  return T(f);
10013
- return E(f);
10013
+ return S(f);
10014
10014
  function p() {
10015
10015
  if (a === c)
10016
10016
  return ps(t, i, a, a.$async);
10017
- const b = e.scopeValue("root", { ref: c });
10018
- return ps(t, (0, Ze._)`${b}.validate`, c, c.$async);
10017
+ const E = e.scopeValue("root", { ref: c });
10018
+ return ps(t, (0, Ze._)`${E}.validate`, c, c.$async);
10019
10019
  }
10020
- function T(b) {
10021
- const k = nu(t, b);
10022
- ps(t, k, b, b.$async);
10020
+ function T(E) {
10021
+ const k = nu(t, E);
10022
+ ps(t, k, E, E.$async);
10023
10023
  }
10024
- function E(b) {
10025
- const k = e.scopeValue("schema", o.code.source === !0 ? { ref: b, code: (0, Ze.stringify)(b) } : { ref: b }), _ = e.name("valid"), y = t.subschema({
10026
- schema: b,
10024
+ function S(E) {
10025
+ const k = e.scopeValue("schema", o.code.source === !0 ? { ref: E, code: (0, Ze.stringify)(E) } : { ref: E }), _ = e.name("valid"), y = t.subschema({
10026
+ schema: E,
10027
10027
  dataTypes: [],
10028
10028
  schemaPath: Ze.nil,
10029
10029
  topSchemaRef: k,
@@ -10044,21 +10044,21 @@ function ps(t, e, r, s) {
10044
10044
  function f() {
10045
10045
  if (!o.$async)
10046
10046
  throw new Error("async schema referenced by sync schema");
10047
- const b = n.let("valid");
10047
+ const E = n.let("valid");
10048
10048
  n.try(() => {
10049
- n.code((0, Ze._)`await ${(0, Ri.callValidateCode)(t, e, c)}`), E(e), i || n.assign(b, !0);
10049
+ n.code((0, Ze._)`await ${(0, Ri.callValidateCode)(t, e, c)}`), S(e), i || n.assign(E, !0);
10050
10050
  }, (k) => {
10051
- n.if((0, Ze._)`!(${k} instanceof ${a.ValidationError})`, () => n.throw(k)), T(k), i || n.assign(b, !1);
10052
- }), t.ok(b);
10051
+ n.if((0, Ze._)`!(${k} instanceof ${a.ValidationError})`, () => n.throw(k)), T(k), i || n.assign(E, !1);
10052
+ }), t.ok(E);
10053
10053
  }
10054
10054
  function p() {
10055
- t.result((0, Ri.callValidateCode)(t, e, c), () => E(e), () => T(e));
10055
+ t.result((0, Ri.callValidateCode)(t, e, c), () => S(e), () => T(e));
10056
10056
  }
10057
- function T(b) {
10058
- const k = (0, Ze._)`${b}.errors`;
10057
+ function T(E) {
10058
+ const k = (0, Ze._)`${E}.errors`;
10059
10059
  n.assign(mr.default.vErrors, (0, Ze._)`${mr.default.vErrors} === null ? ${k} : ${mr.default.vErrors}.concat(${k})`), n.assign(mr.default.errors, (0, Ze._)`${mr.default.vErrors}.length`);
10060
10060
  }
10061
- function E(b) {
10061
+ function S(E) {
10062
10062
  var k;
10063
10063
  if (!a.opts.unevaluated)
10064
10064
  return;
@@ -10067,14 +10067,14 @@ function ps(t, e, r, s) {
10067
10067
  if (_ && !_.dynamicProps)
10068
10068
  _.props !== void 0 && (a.props = as.mergeEvaluated.props(n, _.props, a.props));
10069
10069
  else {
10070
- const y = n.var("props", (0, Ze._)`${b}.evaluated.props`);
10070
+ const y = n.var("props", (0, Ze._)`${E}.evaluated.props`);
10071
10071
  a.props = as.mergeEvaluated.props(n, y, a.props, Ze.Name);
10072
10072
  }
10073
10073
  if (a.items !== !0)
10074
10074
  if (_ && !_.dynamicItems)
10075
10075
  _.items !== void 0 && (a.items = as.mergeEvaluated.items(n, _.items, a.items));
10076
10076
  else {
10077
- const y = n.var("items", (0, Ze._)`${b}.evaluated.items`);
10077
+ const y = n.var("items", (0, Ze._)`${E}.evaluated.items`);
10078
10078
  a.items = as.mergeEvaluated.items(n, y, a.items, Ze.Name);
10079
10079
  }
10080
10080
  }
@@ -10216,9 +10216,9 @@ const Pr = de, Br = ce, Vd = H, Bd = {
10216
10216
  return;
10217
10217
  const l = r.length >= o.loopRequired;
10218
10218
  if (i.allErrors ? c() : f(), o.strictRequired) {
10219
- const E = t.parentSchema.properties, { definedProperties: b } = t.it;
10219
+ const S = t.parentSchema.properties, { definedProperties: E } = t.it;
10220
10220
  for (const k of r)
10221
- if ((E == null ? void 0 : E[k]) === void 0 && !b.has(k)) {
10221
+ if ((S == null ? void 0 : S[k]) === void 0 && !E.has(k)) {
10222
10222
  const _ = i.schemaEnv.baseId + i.errSchemaPath, y = `required property "${k}" is not defined at "${_}" (strictRequired)`;
10223
10223
  (0, Vd.checkStrictMode)(i, y, i.opts.strictRequired);
10224
10224
  }
@@ -10227,25 +10227,25 @@ const Pr = de, Br = ce, Vd = H, Bd = {
10227
10227
  if (l || a)
10228
10228
  t.block$data(Br.nil, p);
10229
10229
  else
10230
- for (const E of r)
10231
- (0, Pr.checkReportMissingProp)(t, E);
10230
+ for (const S of r)
10231
+ (0, Pr.checkReportMissingProp)(t, S);
10232
10232
  }
10233
10233
  function f() {
10234
- const E = e.let("missing");
10234
+ const S = e.let("missing");
10235
10235
  if (l || a) {
10236
- const b = e.let("valid", !0);
10237
- t.block$data(b, () => T(E, b)), t.ok(b);
10236
+ const E = e.let("valid", !0);
10237
+ t.block$data(E, () => T(S, E)), t.ok(E);
10238
10238
  } else
10239
- e.if((0, Pr.checkMissingProp)(t, r, E)), (0, Pr.reportMissingProp)(t, E), e.else();
10239
+ e.if((0, Pr.checkMissingProp)(t, r, S)), (0, Pr.reportMissingProp)(t, S), e.else();
10240
10240
  }
10241
10241
  function p() {
10242
- e.forOf("prop", s, (E) => {
10243
- t.setParams({ missingProperty: E }), e.if((0, Pr.noPropertyInData)(e, n, E, o.ownProperties), () => t.error());
10242
+ e.forOf("prop", s, (S) => {
10243
+ t.setParams({ missingProperty: S }), e.if((0, Pr.noPropertyInData)(e, n, S, o.ownProperties), () => t.error());
10244
10244
  });
10245
10245
  }
10246
- function T(E, b) {
10247
- t.setParams({ missingProperty: E }), e.forOf(E, s, () => {
10248
- e.assign(b, (0, Pr.propertyInData)(e, n, E, o.ownProperties)), e.if((0, Br.not)(b), () => {
10246
+ function T(S, E) {
10247
+ t.setParams({ missingProperty: S }), e.forOf(S, s, () => {
10248
+ e.assign(E, (0, Pr.propertyInData)(e, n, S, o.ownProperties)), e.if((0, Br.not)(E), () => {
10249
10249
  t.error(), e.break();
10250
10250
  });
10251
10251
  }, Br.nil);
@@ -10295,23 +10295,23 @@ const Js = Ve, ze = ce, Ud = H, Hd = Yr, Kd = {
10295
10295
  const l = e.let("valid"), c = a.items ? (0, Js.getSchemaTypes)(a.items) : [];
10296
10296
  t.block$data(l, f, (0, ze._)`${i} === false`), t.ok(l);
10297
10297
  function f() {
10298
- const b = e.let("i", (0, ze._)`${r}.length`), k = e.let("j");
10299
- t.setParams({ i: b, j: k }), e.assign(l, !0), e.if((0, ze._)`${b} > 1`, () => (p() ? T : E)(b, k));
10298
+ const E = e.let("i", (0, ze._)`${r}.length`), k = e.let("j");
10299
+ t.setParams({ i: E, j: k }), e.assign(l, !0), e.if((0, ze._)`${E} > 1`, () => (p() ? T : S)(E, k));
10300
10300
  }
10301
10301
  function p() {
10302
- return c.length > 0 && !c.some((b) => b === "object" || b === "array");
10302
+ return c.length > 0 && !c.some((E) => E === "object" || E === "array");
10303
10303
  }
10304
- function T(b, k) {
10304
+ function T(E, k) {
10305
10305
  const _ = e.name("item"), y = (0, Js.checkDataTypes)(c, _, o.opts.strictNumbers, Js.DataType.Wrong), I = e.const("indices", (0, ze._)`{}`);
10306
- e.for((0, ze._)`;${b}--;`, () => {
10307
- e.let(_, (0, ze._)`${r}[${b}]`), e.if(y, (0, ze._)`continue`), c.length > 1 && e.if((0, ze._)`typeof ${_} == "string"`, (0, ze._)`${_} += "_"`), e.if((0, ze._)`typeof ${I}[${_}] == "number"`, () => {
10306
+ e.for((0, ze._)`;${E}--;`, () => {
10307
+ e.let(_, (0, ze._)`${r}[${E}]`), e.if(y, (0, ze._)`continue`), c.length > 1 && e.if((0, ze._)`typeof ${_} == "string"`, (0, ze._)`${_} += "_"`), e.if((0, ze._)`typeof ${I}[${_}] == "number"`, () => {
10308
10308
  e.assign(k, (0, ze._)`${I}[${_}]`), t.error(), e.assign(l, !1).break();
10309
- }).code((0, ze._)`${I}[${_}] = ${b}`);
10309
+ }).code((0, ze._)`${I}[${_}] = ${E}`);
10310
10310
  });
10311
10311
  }
10312
- function E(b, k) {
10312
+ function S(E, k) {
10313
10313
  const _ = (0, Ud.useFunc)(e, Hd.default), y = e.name("outer");
10314
- e.label(y).for((0, ze._)`;${b}--;`, () => e.for((0, ze._)`${k} = ${b}; ${k}--;`, () => e.if((0, ze._)`${_}(${r}[${b}], ${r}[${k}])`, () => {
10314
+ e.label(y).for((0, ze._)`;${E}--;`, () => e.for((0, ze._)`${k} = ${E}; ${k}--;`, () => e.if((0, ze._)`${_}(${r}[${E}], ${r}[${k}])`, () => {
10315
10315
  t.error(), e.assign(l, !1).break(y);
10316
10316
  })));
10317
10317
  }
@@ -10356,16 +10356,16 @@ const Fr = ce, Zd = H, Qd = Yr, ef = {
10356
10356
  else {
10357
10357
  if (!Array.isArray(n))
10358
10358
  throw new Error("ajv implementation error");
10359
- const E = e.const("vSchema", a);
10360
- f = (0, Fr.or)(...n.map((b, k) => T(E, k)));
10359
+ const S = e.const("vSchema", a);
10360
+ f = (0, Fr.or)(...n.map((E, k) => T(S, k)));
10361
10361
  }
10362
10362
  t.pass(f);
10363
10363
  function p() {
10364
- e.assign(f, !1), e.forOf("v", a, (E) => e.if((0, Fr._)`${c()}(${r}, ${E})`, () => e.assign(f, !0).break()));
10364
+ e.assign(f, !1), e.forOf("v", a, (S) => e.if((0, Fr._)`${c()}(${r}, ${S})`, () => e.assign(f, !0).break()));
10365
10365
  }
10366
- function T(E, b) {
10367
- const k = n[b];
10368
- return typeof k == "object" && k !== null ? (0, Fr._)`${c()}(${r}, ${E}[${b}])` : (0, Fr._)`${r} === ${k}`;
10366
+ function T(S, E) {
10367
+ const k = n[E];
10368
+ return typeof k == "object" && k !== null ? (0, Fr._)`${c()}(${r}, ${S}[${E}])` : (0, Fr._)`${r} === ${k}`;
10369
10369
  }
10370
10370
  }
10371
10371
  };
@@ -10457,9 +10457,9 @@ function uu(t, e, r = t.schema) {
10457
10457
  }, l)), t.ok(l));
10458
10458
  });
10459
10459
  function f(p) {
10460
- const { opts: T, errSchemaPath: E } = o, b = r.length, k = b === p.minItems && (b === p.maxItems || p[e] === !1);
10460
+ const { opts: T, errSchemaPath: S } = o, E = r.length, k = E === p.minItems && (E === p.maxItems || p[e] === !1);
10461
10461
  if (T.strictTuples && !k) {
10462
- const _ = `"${i}" is ${b}-tuple, but minItems or maxItems/${e} are not specified or different at path "${E}"`;
10462
+ const _ = `"${i}" is ${E}-tuple, but minItems or maxItems/${e} are not specified or different at path "${S}"`;
10463
10463
  (0, hs.checkStrictMode)(o, _, T.strictTuples);
10464
10464
  }
10465
10465
  }
@@ -10525,12 +10525,12 @@ const ct = ce, is = H, wf = {
10525
10525
  }
10526
10526
  a.items = !0;
10527
10527
  const p = e.name("valid");
10528
- o === void 0 && i === 1 ? E(p, () => e.if(p, () => e.break())) : i === 0 ? (e.let(p, !0), o !== void 0 && e.if((0, ct._)`${n}.length > 0`, T)) : (e.let(p, !1), T()), t.result(p, () => t.reset());
10528
+ o === void 0 && i === 1 ? S(p, () => e.if(p, () => e.break())) : i === 0 ? (e.let(p, !0), o !== void 0 && e.if((0, ct._)`${n}.length > 0`, T)) : (e.let(p, !1), T()), t.result(p, () => t.reset());
10529
10529
  function T() {
10530
10530
  const k = e.name("_valid"), _ = e.let("count", 0);
10531
- E(k, () => e.if(k, () => b(_)));
10531
+ S(k, () => e.if(k, () => E(_)));
10532
10532
  }
10533
- function E(k, _) {
10533
+ function S(k, _) {
10534
10534
  e.forRange("i", 0, f, (y) => {
10535
10535
  t.subschema({
10536
10536
  keyword: "contains",
@@ -10540,7 +10540,7 @@ const ct = ce, is = H, wf = {
10540
10540
  }, k), _();
10541
10541
  });
10542
10542
  }
10543
- function b(k) {
10543
+ function E(k) {
10544
10544
  e.code((0, ct._)`${k}++`), o === void 0 ? e.if((0, ct._)`${k} >= ${i}`, () => e.assign(p, !0).break()) : (e.if((0, ct._)`${k} > ${o}`, () => e.assign(p, !1).break()), i === 1 ? e.assign(p, !0) : e.if((0, ct._)`${k} >= ${i}`, () => e.assign(p, !0)));
10545
10545
  }
10546
10546
  }
@@ -10585,35 +10585,35 @@ var lu = {};
10585
10585
  const { gen: f, data: p, it: T } = l;
10586
10586
  if (Object.keys(c).length === 0)
10587
10587
  return;
10588
- const E = f.let("missing");
10589
- for (const b in c) {
10590
- const k = c[b];
10588
+ const S = f.let("missing");
10589
+ for (const E in c) {
10590
+ const k = c[E];
10591
10591
  if (k.length === 0)
10592
10592
  continue;
10593
- const _ = (0, s.propertyInData)(f, p, b, T.opts.ownProperties);
10593
+ const _ = (0, s.propertyInData)(f, p, E, T.opts.ownProperties);
10594
10594
  l.setParams({
10595
- property: b,
10595
+ property: E,
10596
10596
  depsCount: k.length,
10597
10597
  deps: k.join(", ")
10598
10598
  }), T.allErrors ? f.if(_, () => {
10599
10599
  for (const y of k)
10600
10600
  (0, s.checkReportMissingProp)(l, y);
10601
- }) : (f.if((0, e._)`${_} && (${(0, s.checkMissingProp)(l, k, E)})`), (0, s.reportMissingProp)(l, E), f.else());
10601
+ }) : (f.if((0, e._)`${_} && (${(0, s.checkMissingProp)(l, k, S)})`), (0, s.reportMissingProp)(l, S), f.else());
10602
10602
  }
10603
10603
  }
10604
10604
  t.validatePropertyDeps = i;
10605
10605
  function o(l, c = l.schema) {
10606
- const { gen: f, data: p, keyword: T, it: E } = l, b = f.name("valid");
10606
+ const { gen: f, data: p, keyword: T, it: S } = l, E = f.name("valid");
10607
10607
  for (const k in c)
10608
- (0, r.alwaysValidSchema)(E, c[k]) || (f.if(
10609
- (0, s.propertyInData)(f, p, k, E.opts.ownProperties),
10608
+ (0, r.alwaysValidSchema)(S, c[k]) || (f.if(
10609
+ (0, s.propertyInData)(f, p, k, S.opts.ownProperties),
10610
10610
  () => {
10611
- const _ = l.subschema({ keyword: T, schemaProp: k }, b);
10612
- l.mergeValidEvaluated(_, b);
10611
+ const _ = l.subschema({ keyword: T, schemaProp: k }, E);
10612
+ l.mergeValidEvaluated(_, E);
10613
10613
  },
10614
- () => f.var(b, !0)
10614
+ () => f.var(E, !0)
10615
10615
  // TODO var
10616
- ), l.ok(b));
10616
+ ), l.ok(E));
10617
10617
  }
10618
10618
  t.validateSchemaDeps = o, t.default = n;
10619
10619
  })(lu);
@@ -10669,7 +10669,7 @@ const os = de, ht = ce, If = It, us = H, Df = {
10669
10669
  p(), t.ok((0, ht._)`${a} === ${If.default.errors}`);
10670
10670
  function p() {
10671
10671
  e.forIn("key", n, (_) => {
10672
- !c.length && !f.length ? b(_) : e.if(T(_), () => b(_));
10672
+ !c.length && !f.length ? E(_) : e.if(T(_), () => E(_));
10673
10673
  });
10674
10674
  }
10675
10675
  function T(_) {
@@ -10681,12 +10681,12 @@ const os = de, ht = ce, If = It, us = H, Df = {
10681
10681
  c.length ? y = (0, ht.or)(...c.map((I) => (0, ht._)`${_} === ${I}`)) : y = ht.nil;
10682
10682
  return f.length && (y = (0, ht.or)(y, ...f.map((I) => (0, ht._)`${(0, os.usePattern)(t, I)}.test(${_})`))), (0, ht.not)(y);
10683
10683
  }
10684
- function E(_) {
10684
+ function S(_) {
10685
10685
  e.code((0, ht._)`delete ${n}[${_}]`);
10686
10686
  }
10687
- function b(_) {
10687
+ function E(_) {
10688
10688
  if (l.removeAdditional === "all" || l.removeAdditional && r === !1) {
10689
- E(_);
10689
+ S(_);
10690
10690
  return;
10691
10691
  }
10692
10692
  if (r === !1) {
@@ -10696,7 +10696,7 @@ const os = de, ht = ce, If = It, us = H, Df = {
10696
10696
  if (typeof r == "object" && !(0, us.alwaysValidSchema)(i, r)) {
10697
10697
  const y = e.name("valid");
10698
10698
  l.removeAdditional === "failing" ? (k(_, y, !1), e.if((0, ht.not)(y), () => {
10699
- t.reset(), E(_);
10699
+ t.reset(), S(_);
10700
10700
  })) : (k(_, y), o || e.if((0, ht.not)(y), () => e.break()));
10701
10701
  }
10702
10702
  }
@@ -10763,13 +10763,13 @@ const Bi = de, ls = ce, Li = H, zi = H, Ff = {
10763
10763
  T();
10764
10764
  function T() {
10765
10765
  for (const k of o)
10766
- c && E(k), a.allErrors ? b(k) : (e.var(f, !0), b(k), e.if(f));
10766
+ c && S(k), a.allErrors ? E(k) : (e.var(f, !0), E(k), e.if(f));
10767
10767
  }
10768
- function E(k) {
10768
+ function S(k) {
10769
10769
  for (const _ in c)
10770
10770
  new RegExp(k).test(_) && (0, Li.checkStrictMode)(a, `property ${_} matches pattern ${k} (use allowMatchingProperties)`);
10771
10771
  }
10772
- function b(k) {
10772
+ function E(k) {
10773
10773
  e.forIn("key", s, (_) => {
10774
10774
  e.if((0, ls._)`${(0, Bi.usePattern)(t, k)}.test(${_})`, () => {
10775
10775
  const y = l.includes(k);
@@ -10961,12 +10961,12 @@ const Fe = ce, fp = {
10961
10961
  const { gen: r, data: s, $data: n, schema: a, schemaCode: i, it: o } = t, { opts: l, errSchemaPath: c, schemaEnv: f, self: p } = o;
10962
10962
  if (!l.validateFormats)
10963
10963
  return;
10964
- n ? T() : E();
10964
+ n ? T() : S();
10965
10965
  function T() {
10966
- const b = r.scopeValue("formats", {
10966
+ const E = r.scopeValue("formats", {
10967
10967
  ref: p.formats,
10968
10968
  code: l.code.formats
10969
- }), k = r.const("fDef", (0, Fe._)`${b}[${i}]`), _ = r.let("fType"), y = r.let("format");
10969
+ }), k = r.const("fDef", (0, Fe._)`${E}[${i}]`), _ = r.let("fType"), y = r.let("format");
10970
10970
  r.if((0, Fe._)`typeof ${k} == "object" && !(${k} instanceof RegExp)`, () => r.assign(_, (0, Fe._)`${k}.type || "string"`).assign(y, (0, Fe._)`${k}.validate`), () => r.assign(_, (0, Fe._)`"string"`).assign(y, k)), t.fail$data((0, Fe.or)(I(), D()));
10971
10971
  function I() {
10972
10972
  return l.strictSchema === !1 ? Fe.nil : (0, Fe._)`${i} && !${y}`;
@@ -10976,15 +10976,15 @@ const Fe = ce, fp = {
10976
10976
  return (0, Fe._)`${y} && ${y} !== true && ${_} === ${e} && !${$}`;
10977
10977
  }
10978
10978
  }
10979
- function E() {
10980
- const b = p.formats[a];
10981
- if (!b) {
10979
+ function S() {
10980
+ const E = p.formats[a];
10981
+ if (!E) {
10982
10982
  I();
10983
10983
  return;
10984
10984
  }
10985
- if (b === !0)
10985
+ if (E === !0)
10986
10986
  return;
10987
- const [k, _, y] = D(b);
10987
+ const [k, _, y] = D(E);
10988
10988
  k === e && t.pass(A());
10989
10989
  function I() {
10990
10990
  if (l.strictSchema === !1) {
@@ -11001,7 +11001,7 @@ const Fe = ce, fp = {
11001
11001
  return typeof $ == "object" && !($ instanceof RegExp) ? [$.type || "string", $.validate, (0, Fe._)`${G}.validate`] : ["string", $, G];
11002
11002
  }
11003
11003
  function A() {
11004
- if (typeof b == "object" && !(b instanceof RegExp) && b.async) {
11004
+ if (typeof E == "object" && !(E instanceof RegExp) && E.async) {
11005
11005
  if (!f.$async)
11006
11006
  throw new Error("async format in sync schema");
11007
11007
  return (0, Fe._)`await ${y}(${s})`;
@@ -11072,31 +11072,31 @@ const gr = ce, dn = Ps, Ki = Qe, bp = H, Sp = {
11072
11072
  const l = e.let("valid", !1), c = e.const("tag", (0, gr._)`${r}${(0, gr.getProperty)(o)}`);
11073
11073
  e.if((0, gr._)`typeof ${c} == "string"`, () => f(), () => t.error(!1, { discrError: dn.DiscrError.Tag, tag: c, tagName: o })), t.ok(l);
11074
11074
  function f() {
11075
- const E = T();
11075
+ const S = T();
11076
11076
  e.if(!1);
11077
- for (const b in E)
11078
- e.elseIf((0, gr._)`${c} === ${b}`), e.assign(l, p(E[b]));
11077
+ for (const E in S)
11078
+ e.elseIf((0, gr._)`${c} === ${E}`), e.assign(l, p(S[E]));
11079
11079
  e.else(), t.error(!1, { discrError: dn.DiscrError.Mapping, tag: c, tagName: o }), e.endIf();
11080
11080
  }
11081
- function p(E) {
11082
- const b = e.name("valid"), k = t.subschema({ keyword: "oneOf", schemaProp: E }, b);
11083
- return t.mergeEvaluated(k, gr.Name), b;
11081
+ function p(S) {
11082
+ const E = e.name("valid"), k = t.subschema({ keyword: "oneOf", schemaProp: S }, E);
11083
+ return t.mergeEvaluated(k, gr.Name), E;
11084
11084
  }
11085
11085
  function T() {
11086
- var E;
11087
- const b = {}, k = y(n);
11086
+ var S;
11087
+ const E = {}, k = y(n);
11088
11088
  let _ = !0;
11089
11089
  for (let A = 0; A < i.length; A++) {
11090
11090
  let $ = i[A];
11091
11091
  $ != null && $.$ref && !(0, bp.schemaHasRulesButRef)($, a.self.RULES) && ($ = Ki.resolveRef.call(a.self, a.schemaEnv.root, a.baseId, $ == null ? void 0 : $.$ref), $ instanceof Ki.SchemaEnv && ($ = $.schema));
11092
- const x = (E = $ == null ? void 0 : $.properties) === null || E === void 0 ? void 0 : E[o];
11092
+ const x = (S = $ == null ? void 0 : $.properties) === null || S === void 0 ? void 0 : S[o];
11093
11093
  if (typeof x != "object")
11094
11094
  throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${o}"`);
11095
11095
  _ = _ && (k || y($)), I(x, A);
11096
11096
  }
11097
11097
  if (!_)
11098
11098
  throw new Error(`discriminator: "${o}" must be required`);
11099
- return b;
11099
+ return E;
11100
11100
  function y({ required: A }) {
11101
11101
  return Array.isArray(A) && A.includes(o);
11102
11102
  }
@@ -11110,9 +11110,9 @@ const gr = ce, dn = Ps, Ki = Qe, bp = H, Sp = {
11110
11110
  throw new Error(`discriminator: "properties/${o}" must have "const" or "enum"`);
11111
11111
  }
11112
11112
  function D(A, $) {
11113
- if (typeof A != "string" || A in b)
11113
+ if (typeof A != "string" || A in E)
11114
11114
  throw new Error(`discriminator: "${o}" values must be unique strings`);
11115
- b[A] = $;
11115
+ E[A] = $;
11116
11116
  }
11117
11117
  }
11118
11118
  }
@@ -11364,13 +11364,13 @@ const kp = "http://json-schema.org/draft-07/schema#", wp = "http://json-schema.o
11364
11364
  const r = ko, s = Dn, n = oa, a = Ip, i = ["/properties"], o = "http://json-schema.org/draft-07/schema";
11365
11365
  class l extends r.default {
11366
11366
  _addVocabularies() {
11367
- super._addVocabularies(), s.default.forEach((b) => this.addVocabulary(b)), this.opts.discriminator && this.addKeyword(n.default);
11367
+ super._addVocabularies(), s.default.forEach((E) => this.addVocabulary(E)), this.opts.discriminator && this.addKeyword(n.default);
11368
11368
  }
11369
11369
  _addDefaultMetaSchema() {
11370
11370
  if (super._addDefaultMetaSchema(), !this.opts.meta)
11371
11371
  return;
11372
- const b = this.opts.$data ? this.$dataMetaSchema(a, i) : a;
11373
- this.addMetaSchema(b, o, !1), this.refs["http://json-schema.org/schema"] = o;
11372
+ const E = this.opts.$data ? this.$dataMetaSchema(a, i) : a;
11373
+ this.addMetaSchema(E, o, !1), this.refs["http://json-schema.org/schema"] = o;
11374
11374
  }
11375
11375
  defaultMeta() {
11376
11376
  return this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(o) ? o : void 0);
@@ -11417,9 +11417,9 @@ var fn = { exports: {} }, pu = {};
11417
11417
  date: e(a, i),
11418
11418
  // date-time: http://tools.ietf.org/html/rfc3339#section-5.6
11419
11419
  time: e(l(!0), c),
11420
- "date-time": e(T(!0), E),
11420
+ "date-time": e(T(!0), S),
11421
11421
  "iso-time": e(l(), f),
11422
- "iso-date-time": e(T(), b),
11422
+ "iso-date-time": e(T(), E),
11423
11423
  // duration: https://tools.ietf.org/html/rfc3339#appendix-A
11424
11424
  duration: /^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,
11425
11425
  uri: y,
@@ -11462,9 +11462,9 @@ var fn = { exports: {} }, pu = {};
11462
11462
  ...t.fullFormats,
11463
11463
  date: e(/^\d\d\d\d-[0-1]\d-[0-3]\d$/, i),
11464
11464
  time: e(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i, c),
11465
- "date-time": e(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i, E),
11465
+ "date-time": e(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i, S),
11466
11466
  "iso-time": e(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, f),
11467
- "iso-date-time": e(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, b),
11467
+ "iso-date-time": e(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, E),
11468
11468
  // uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js
11469
11469
  uri: /^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,
11470
11470
  "uri-reference": /^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,
@@ -11525,14 +11525,14 @@ var fn = { exports: {} }, pu = {};
11525
11525
  return me.length === 2 && a(me[0]) && K(me[1]);
11526
11526
  };
11527
11527
  }
11528
- function E(z, K) {
11528
+ function S(z, K) {
11529
11529
  if (!(z && K))
11530
11530
  return;
11531
11531
  const te = new Date(z).valueOf(), W = new Date(K).valueOf();
11532
11532
  if (te && W)
11533
11533
  return te - W;
11534
11534
  }
11535
- function b(z, K) {
11535
+ function E(z, K) {
11536
11536
  if (!(z && K))
11537
11537
  return;
11538
11538
  const [te, W] = z.split(p), [me, ge] = K.split(p), $e = i(te, me);
@@ -11587,20 +11587,20 @@ var hu = {};
11587
11587
  $data: !0,
11588
11588
  error: a,
11589
11589
  code(o) {
11590
- const { gen: l, data: c, schemaCode: f, keyword: p, it: T } = o, { opts: E, self: b } = T;
11591
- if (!E.validateFormats)
11590
+ const { gen: l, data: c, schemaCode: f, keyword: p, it: T } = o, { opts: S, self: E } = T;
11591
+ if (!S.validateFormats)
11592
11592
  return;
11593
- const k = new e.KeywordCxt(T, b.RULES.all.format.definition, "format");
11593
+ const k = new e.KeywordCxt(T, E.RULES.all.format.definition, "format");
11594
11594
  k.$data ? _() : y();
11595
11595
  function _() {
11596
11596
  const D = l.scopeValue("formats", {
11597
- ref: b.formats,
11598
- code: E.code.formats
11597
+ ref: E.formats,
11598
+ code: S.code.formats
11599
11599
  }), A = l.const("fmt", (0, r._)`${D}[${k.schemaCode}]`);
11600
11600
  o.fail$data((0, r.or)((0, r._)`typeof ${A} != "object"`, (0, r._)`${A} instanceof RegExp`, (0, r._)`typeof ${A}.compare != "function"`, I(A)));
11601
11601
  }
11602
11602
  function y() {
11603
- const D = k.schema, A = b.formats[D];
11603
+ const D = k.schema, A = E.formats[D];
11604
11604
  if (!A || A === !0)
11605
11605
  return;
11606
11606
  if (typeof A != "object" || A instanceof RegExp || typeof A.compare != "function")
@@ -11608,7 +11608,7 @@ var hu = {};
11608
11608
  const $ = l.scopeValue("formats", {
11609
11609
  key: D,
11610
11610
  ref: A,
11611
- code: E.code.formats ? (0, r._)`${E.code.formats}${(0, r.getProperty)(D)}` : void 0
11611
+ code: S.code.formats ? (0, r._)`${S.code.formats}${(0, r.getProperty)(D)}` : void 0
11612
11612
  });
11613
11613
  o.fail$data(I($));
11614
11614
  }
@@ -11626,8 +11626,8 @@ var hu = {};
11626
11626
  const r = pu, s = hu, n = ce, a = new n.Name("fullFormats"), i = new n.Name("fastFormats"), o = (c, f = { keywords: !0 }) => {
11627
11627
  if (Array.isArray(f))
11628
11628
  return l(c, f, r.fullFormats, a), c;
11629
- const [p, T] = f.mode === "fast" ? [r.fastFormats, i] : [r.fullFormats, a], E = f.formats || r.formatNames;
11630
- return l(c, E, p, T), f.keywords && (0, s.default)(c), c;
11629
+ const [p, T] = f.mode === "fast" ? [r.fastFormats, i] : [r.fullFormats, a], S = f.formats || r.formatNames;
11630
+ return l(c, S, p, T), f.keywords && (0, s.default)(c), c;
11631
11631
  };
11632
11632
  o.get = (c, f = "full") => {
11633
11633
  const T = (f === "fast" ? r.fastFormats : r.fullFormats)[c];
@@ -11636,8 +11636,8 @@ var hu = {};
11636
11636
  return T;
11637
11637
  };
11638
11638
  function l(c, f, p, T) {
11639
- var E, b;
11640
- (E = (b = c.opts.code).formats) !== null && E !== void 0 || (b.formats = (0, n._)`require("ajv-formats/dist/formats").${T}`);
11639
+ var S, E;
11640
+ (S = (E = c.opts.code).formats) !== null && S !== void 0 || (E.formats = (0, n._)`require("ajv-formats/dist/formats").${T}`);
11641
11641
  for (const k of f)
11642
11642
  c.addFormat(k, p[k]);
11643
11643
  }
@@ -11719,16 +11719,13 @@ const qp = ({
11719
11719
  const [r, s] = Q({}), [n, a] = Q({
11720
11720
  status: void 0,
11721
11721
  fields: {}
11722
- }), [i, o] = Q({}), [l, c] = Q({}), [f, p] = Q([]), [T, E] = Q({}), [b, k] = Q(void 0);
11722
+ }), [i, o] = Q({}), [l, c] = Q({}), [f, p] = Q([]), [T, S] = Q({}), [E, k] = Q(void 0);
11723
11723
  be(() => {
11724
- k(Rp()), I();
11724
+ I();
11725
11725
  }, []), be(() => {
11726
- if (!(b != null && b.getSchema(t == null ? void 0 : t.$id))) {
11727
- b == null || b.compile(t);
11728
- return;
11729
- }
11730
- b.removeSchema(t == null ? void 0 : t.$id), b.compile(t);
11731
- }, [b, t]);
11726
+ const u = Rp();
11727
+ u.compile(t), k(u);
11728
+ }, [t]);
11732
11729
  const _ = _e(
11733
11730
  (u) => {
11734
11731
  const d = f.includes(String(u));
@@ -11766,15 +11763,15 @@ const qp = ({
11766
11763
  }
11767
11764
  ), { ...u, toJson: () => JSON.stringify(u) };
11768
11765
  }, [l]), $ = _e(() => {
11769
- if (!b)
11766
+ if (!E)
11770
11767
  return { result: null, errors: void 0 };
11771
- const { ...u } = A(), d = b.compile(t), v = d(u), N = Ei(d);
11768
+ const { ...u } = A(), d = E.compile(t), v = d(u), N = Ei(d);
11772
11769
  return { result: v, errors: N };
11773
- }, [b, A, t]), x = _e(
11770
+ }, [E, A, t]), x = _e(
11774
11771
  (u, d) => {
11775
- if (!b)
11772
+ if (!E)
11776
11773
  return { result: null, errors: void 0 };
11777
- const v = b.getSchema(u);
11774
+ const v = E.getSchema(u);
11778
11775
  if (!v)
11779
11776
  return { result: null };
11780
11777
  const N = v(d);
@@ -11783,7 +11780,7 @@ const qp = ({
11783
11780
  const j = Ei(v, u);
11784
11781
  return { status: N, errors: j };
11785
11782
  },
11786
- [b]
11783
+ [E]
11787
11784
  ), G = _e(
11788
11785
  (u) => {
11789
11786
  const d = { [u.target.name]: u }, v = { ...n };
@@ -11921,7 +11918,7 @@ const qp = ({
11921
11918
  const d = u.value ? u : u.querySelectorAll(
11922
11919
  "input,select,textarea"
11923
11920
  )[0] || u;
11924
- T[d == null ? void 0 : d.name] || E((v) => ({
11921
+ T[d == null ? void 0 : d.name] || S((v) => ({
11925
11922
  ...v,
11926
11923
  [d.name]: d
11927
11924
  }));
@@ -12009,7 +12006,7 @@ const qp = ({
12009
12006
  parseFormToObject: A,
12010
12007
  clearFormData: je,
12011
12008
  register: R,
12012
- ajv: b
12009
+ ajv: E
12013
12010
  };
12014
12011
  };
12015
12012
  function Up(t) {
@@ -12062,14 +12059,14 @@ const Hp = () => {
12062
12059
  const U = I(q);
12063
12060
  U !== r && s(U);
12064
12061
  }
12065
- function E(q) {
12062
+ function S(q) {
12066
12063
  const U = I(q);
12067
12064
  return {
12068
12065
  index: U,
12069
12066
  ...$(U)
12070
12067
  };
12071
12068
  }
12072
- function b() {
12069
+ function E() {
12073
12070
  return {
12074
12071
  index: r,
12075
12072
  ...$(r)
@@ -12109,8 +12106,8 @@ const Hp = () => {
12109
12106
  return [
12110
12107
  {
12111
12108
  getSteps: n,
12112
- getStep: E,
12113
- getStepSelected: b(),
12109
+ getStep: S,
12110
+ getStepSelected: E(),
12114
12111
  getStepIndexByName: A,
12115
12112
  setSteps: p,
12116
12113
  setStepSelected: T,