@blockbite/ui 2.0.17 → 2.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { Pencil1 as Mt, Plus as vn, Trash as mn, ChevronDown as hn, Cross2 as yn, Tailwind as bn, Percentage as gn, Grid as xn, Desktop as _n, Slider as jn, ColumnSpacing as Cn } from "@blockbite/icons";
2
- import { Button as ye, Dropdown as wn, TextControl as rt, CheckboxControl as En, DropdownMenu as Rn, FocalPointPicker as kn, PanelRow as Sn, Popover as Tn, RangeControl as On, Modal as Pn, Notice as Nn, __experimentalInputControl as An, __experimentalInputControlSuffixWrapper as In, SelectControl as Dn, Spinner as $n, TabPanel as Fn, __experimentalToggleGroupControl as Ln, __experimentalToggleGroupControlOptionIcon as Mn, __experimentalToggleGroupControlOption as Wn, ToggleControl as Un } from "@wordpress/components";
3
- import { memo as tt, useState as F, useEffect as K, useCallback as Wt, useRef as lr, createPortal as Ut, forwardRef as Vn, createContext as Vt, useContext as nt, Children as Rr, isValidElement as kr, useMemo as Bn } from "@wordpress/element";
2
+ import { Button as ye, Dropdown as wn, TextControl as rt, CheckboxControl as En, DropdownMenu as Rn, FocalPointPicker as Sn, PanelRow as kn, Popover as Tn, RangeControl as On, Modal as Pn, Notice as Nn, __experimentalInputControl as An, __experimentalInputControlSuffixWrapper as In, SelectControl as Dn, Spinner as $n, TabPanel as Fn, __experimentalToggleGroupControl as Ln, __experimentalToggleGroupControlOptionIcon as Mn, __experimentalToggleGroupControlOption as Bn, ToggleControl as Wn } from "@wordpress/components";
3
+ import { memo as tt, useState as F, useEffect as G, useCallback as Bt, useRef as lr, createPortal as Wt, forwardRef as Un, createContext as Ut, useContext as nt, Children as Rr, isValidElement as Sr, useMemo as Vn } from "@wordpress/element";
4
4
  import Yn from "@wordpress/api-fetch";
5
5
  import { __ as Me } from "@wordpress/i18n";
6
6
  import { MediaUploadCheck as Qr, MediaUpload as Pt } from "@wordpress/block-editor";
7
- import { SVG as zn, Path as qn } from "@wordpress/primitives";
8
- import { createBlock as Gn } from "@wordpress/blocks";
9
- function Kn(o) {
7
+ import { SVG as zn, Path as Hn } from "@wordpress/primitives";
8
+ import { createBlock as qn } from "@wordpress/blocks";
9
+ function Gn(o) {
10
10
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
11
11
  }
12
- var Sr = { exports: {} }, or = {}, Tr = { exports: {} }, N = {};
12
+ var kr = { exports: {} }, or = {}, Tr = { exports: {} }, N = {};
13
13
  /**
14
14
  * @license React
15
15
  * react.production.min.js
@@ -20,10 +20,10 @@ var Sr = { exports: {} }, or = {}, Tr = { exports: {} }, N = {};
20
20
  * LICENSE file in the root directory of this source tree.
21
21
  */
22
22
  var Nt;
23
- function Hn() {
23
+ function Kn() {
24
24
  if (Nt) return N;
25
25
  Nt = 1;
26
- var o = Symbol.for("react.element"), a = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), h = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), _ = Symbol.iterator;
26
+ var o = Symbol.for("react.element"), a = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), h = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), _ = Symbol.iterator;
27
27
  function O(s) {
28
28
  return s === null || typeof s != "object" ? null : (s = _ && s[_] || s["@@iterator"], typeof s == "function" ? s : null);
29
29
  }
@@ -32,7 +32,7 @@ function Hn() {
32
32
  }, enqueueForceUpdate: function() {
33
33
  }, enqueueReplaceState: function() {
34
34
  }, enqueueSetState: function() {
35
- } }, S = Object.assign, ae = {};
35
+ } }, k = Object.assign, ae = {};
36
36
  function de(s, y, I) {
37
37
  this.props = s, this.context = y, this.refs = ae, this.updater = I || T;
38
38
  }
@@ -49,19 +49,19 @@ function Hn() {
49
49
  this.props = s, this.context = y, this.refs = ae, this.updater = I || T;
50
50
  }
51
51
  var ge = Y.prototype = new A();
52
- ge.constructor = Y, S(ge, de.prototype), ge.isPureReactComponent = !0;
53
- var H = Array.isArray, X = Object.prototype.hasOwnProperty, ie = { current: null }, pe = { key: !0, ref: !0, __self: !0, __source: !0 };
52
+ ge.constructor = Y, k(ge, de.prototype), ge.isPureReactComponent = !0;
53
+ var K = Array.isArray, X = Object.prototype.hasOwnProperty, ie = { current: null }, pe = { key: !0, ref: !0, __self: !0, __source: !0 };
54
54
  function je(s, y, I) {
55
- var $, M = {}, J = null, q = null;
56
- if (y != null) for ($ in y.ref !== void 0 && (q = y.ref), y.key !== void 0 && (J = "" + y.key), y) X.call(y, $) && !pe.hasOwnProperty($) && (M[$] = y[$]);
55
+ var $, M = {}, J = null, H = null;
56
+ if (y != null) for ($ in y.ref !== void 0 && (H = y.ref), y.key !== void 0 && (J = "" + y.key), y) X.call(y, $) && !pe.hasOwnProperty($) && (M[$] = y[$]);
57
57
  var z = arguments.length - 2;
58
58
  if (z === 1) M.children = I;
59
59
  else if (1 < z) {
60
- for (var V = Array(z), oe = 0; oe < z; oe++) V[oe] = arguments[oe + 2];
61
- M.children = V;
60
+ for (var U = Array(z), oe = 0; oe < z; oe++) U[oe] = arguments[oe + 2];
61
+ M.children = U;
62
62
  }
63
63
  if (s && s.defaultProps) for ($ in z = s.defaultProps, z) M[$] === void 0 && (M[$] = z[$]);
64
- return { $$typeof: o, type: s, key: J, ref: q, props: M, _owner: ie.current };
64
+ return { $$typeof: o, type: s, key: J, ref: H, props: M, _owner: ie.current };
65
65
  }
66
66
  function Te(s, y) {
67
67
  return { $$typeof: o, type: s.type, key: y, ref: s.ref, props: s.props, _owner: s._owner };
@@ -82,31 +82,31 @@ function Hn() {
82
82
  function me(s, y, I, $, M) {
83
83
  var J = typeof s;
84
84
  (J === "undefined" || J === "boolean") && (s = null);
85
- var q = !1;
86
- if (s === null) q = !0;
85
+ var H = !1;
86
+ if (s === null) H = !0;
87
87
  else switch (J) {
88
88
  case "string":
89
89
  case "number":
90
- q = !0;
90
+ H = !0;
91
91
  break;
92
92
  case "object":
93
93
  switch (s.$$typeof) {
94
94
  case o:
95
95
  case a:
96
- q = !0;
96
+ H = !0;
97
97
  }
98
98
  }
99
- if (q) return q = s, M = M(q), s = $ === "" ? "." + ve(q, 0) : $, H(M) ? (I = "", s != null && (I = s.replace(Pe, "$&/") + "/"), me(M, y, I, "", function(oe) {
99
+ if (H) return H = s, M = M(H), s = $ === "" ? "." + ve(H, 0) : $, K(M) ? (I = "", s != null && (I = s.replace(Pe, "$&/") + "/"), me(M, y, I, "", function(oe) {
100
100
  return oe;
101
- })) : M != null && (Oe(M) && (M = Te(M, I + (!M.key || q && q.key === M.key ? "" : ("" + M.key).replace(Pe, "$&/") + "/") + s)), y.push(M)), 1;
102
- if (q = 0, $ = $ === "" ? "." : $ + ":", H(s)) for (var z = 0; z < s.length; z++) {
101
+ })) : M != null && (Oe(M) && (M = Te(M, I + (!M.key || H && H.key === M.key ? "" : ("" + M.key).replace(Pe, "$&/") + "/") + s)), y.push(M)), 1;
102
+ if (H = 0, $ = $ === "" ? "." : $ + ":", K(s)) for (var z = 0; z < s.length; z++) {
103
103
  J = s[z];
104
- var V = $ + ve(J, z);
105
- q += me(J, y, I, V, M);
104
+ var U = $ + ve(J, z);
105
+ H += me(J, y, I, U, M);
106
106
  }
107
- else if (V = O(s), typeof V == "function") for (s = V.call(s), z = 0; !(J = s.next()).done; ) J = J.value, V = $ + ve(J, z++), q += me(J, y, I, V, M);
107
+ else if (U = O(s), typeof U == "function") for (s = U.call(s), z = 0; !(J = s.next()).done; ) J = J.value, U = $ + ve(J, z++), H += me(J, y, I, U, M);
108
108
  else if (J === "object") throw y = String(s), Error("Objects are not valid as a React child (found: " + (y === "[object Object]" ? "object with keys {" + Object.keys(s).join(", ") + "}" : y) + "). If you meant to render a collection of children, use an array instead.");
109
- return q;
109
+ return H;
110
110
  }
111
111
  function le(s, y, I) {
112
112
  if (s == null) return s;
@@ -147,23 +147,23 @@ function Hn() {
147
147
  }, only: function(s) {
148
148
  if (!Oe(s)) throw Error("React.Children.only expected to receive a single React element child.");
149
149
  return s;
150
- } }, N.Component = de, N.Fragment = u, N.Profiler = f, N.PureComponent = Y, N.StrictMode = l, N.Suspense = g, N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ne, N.act = Ce, N.cloneElement = function(s, y, I) {
150
+ } }, N.Component = de, N.Fragment = u, N.Profiler = d, N.PureComponent = Y, N.StrictMode = l, N.Suspense = g, N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Ne, N.act = Ce, N.cloneElement = function(s, y, I) {
151
151
  if (s == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + s + ".");
152
- var $ = S({}, s.props), M = s.key, J = s.ref, q = s._owner;
152
+ var $ = k({}, s.props), M = s.key, J = s.ref, H = s._owner;
153
153
  if (y != null) {
154
- if (y.ref !== void 0 && (J = y.ref, q = ie.current), y.key !== void 0 && (M = "" + y.key), s.type && s.type.defaultProps) var z = s.type.defaultProps;
155
- for (V in y) X.call(y, V) && !pe.hasOwnProperty(V) && ($[V] = y[V] === void 0 && z !== void 0 ? z[V] : y[V]);
156
- }
157
- var V = arguments.length - 2;
158
- if (V === 1) $.children = I;
159
- else if (1 < V) {
160
- z = Array(V);
161
- for (var oe = 0; oe < V; oe++) z[oe] = arguments[oe + 2];
154
+ if (y.ref !== void 0 && (J = y.ref, H = ie.current), y.key !== void 0 && (M = "" + y.key), s.type && s.type.defaultProps) var z = s.type.defaultProps;
155
+ for (U in y) X.call(y, U) && !pe.hasOwnProperty(U) && ($[U] = y[U] === void 0 && z !== void 0 ? z[U] : y[U]);
156
+ }
157
+ var U = arguments.length - 2;
158
+ if (U === 1) $.children = I;
159
+ else if (1 < U) {
160
+ z = Array(U);
161
+ for (var oe = 0; oe < U; oe++) z[oe] = arguments[oe + 2];
162
162
  $.children = z;
163
163
  }
164
- return { $$typeof: o, type: s.type, key: M, ref: J, props: $, _owner: q };
164
+ return { $$typeof: o, type: s.type, key: M, ref: J, props: $, _owner: H };
165
165
  }, N.createContext = function(s) {
166
- return s = { $$typeof: h, _currentValue: s, _currentValue2: s, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, s.Provider = { $$typeof: d, _context: s }, s.Consumer = s;
166
+ return s = { $$typeof: h, _currentValue: s, _currentValue2: s, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, s.Provider = { $$typeof: f, _context: s }, s.Consumer = s;
167
167
  }, N.createElement = je, N.createFactory = function(s) {
168
168
  var y = je.bind(null, s);
169
169
  return y.type = s, y;
@@ -230,7 +230,7 @@ function Jn() {
230
230
  return At || (At = 1, function(o, a) {
231
231
  process.env.NODE_ENV !== "production" && function() {
232
232
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
233
- var u = "18.3.1", l = Symbol.for("react.element"), f = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), p = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), ae = Symbol.for("react.offscreen"), de = Symbol.iterator, A = "@@iterator";
233
+ var u = "18.3.1", l = Symbol.for("react.element"), d = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), h = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), p = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), O = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), ae = Symbol.for("react.offscreen"), de = Symbol.iterator, A = "@@iterator";
234
234
  function Y(e) {
235
235
  if (e === null || typeof e != "object")
236
236
  return null;
@@ -243,7 +243,7 @@ function Jn() {
243
243
  * @type {ReactComponent}
244
244
  */
245
245
  current: null
246
- }, H = {
246
+ }, K = {
247
247
  transition: null
248
248
  }, X = {
249
249
  current: null,
@@ -270,7 +270,7 @@ function Jn() {
270
270
  };
271
271
  var Oe = !1, Je = !1, Pe = !1, ve = !1, me = !1, le = {
272
272
  ReactCurrentDispatcher: ge,
273
- ReactCurrentBatchConfig: H,
273
+ ReactCurrentBatchConfig: K,
274
274
  ReactCurrentOwner: ie
275
275
  };
276
276
  le.ReactDebugCurrentFrame = pe, le.ReactCurrentActQueue = X;
@@ -390,17 +390,17 @@ function Jn() {
390
390
  }
391
391
  });
392
392
  };
393
- for (var q in M)
394
- M.hasOwnProperty(q) && J(q, M[q]);
393
+ for (var H in M)
394
+ M.hasOwnProperty(H) && J(H, M[H]);
395
395
  }
396
396
  function z() {
397
397
  }
398
398
  z.prototype = $.prototype;
399
- function V(e, r, i) {
399
+ function U(e, r, i) {
400
400
  this.props = e, this.context = r, this.refs = I, this.updater = i || s;
401
401
  }
402
- var oe = V.prototype = new z();
403
- oe.constructor = V, y(oe, $.prototype), oe.isPureReactComponent = !0;
402
+ var oe = U.prototype = new z();
403
+ oe.constructor = U, y(oe, $.prototype), oe.isPureReactComponent = !0;
404
404
  function Or() {
405
405
  var e = {
406
406
  current: null
@@ -408,7 +408,7 @@ function Jn() {
408
408
  return Object.seal(e), e;
409
409
  }
410
410
  var ur = Array.isArray;
411
- function We(e) {
411
+ function Be(e) {
412
412
  return ur(e);
413
413
  }
414
414
  function Pr(e) {
@@ -417,7 +417,7 @@ function Jn() {
417
417
  return i;
418
418
  }
419
419
  }
420
- function Ue(e) {
420
+ function We(e) {
421
421
  try {
422
422
  return Ee(e), !1;
423
423
  } catch {
@@ -428,7 +428,7 @@ function Jn() {
428
428
  return "" + e;
429
429
  }
430
430
  function Ae(e) {
431
- if (Ue(e))
431
+ if (We(e))
432
432
  return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Pr(e)), Ee(e);
433
433
  }
434
434
  function cr(e, r, i) {
@@ -449,9 +449,9 @@ function Jn() {
449
449
  if (typeof e == "string")
450
450
  return e;
451
451
  switch (e) {
452
- case d:
453
- return "Fragment";
454
452
  case f:
453
+ return "Fragment";
454
+ case d:
455
455
  return "Portal";
456
456
  case v:
457
457
  return "Profiler";
@@ -475,7 +475,7 @@ function Jn() {
475
475
  case T:
476
476
  var c = e.displayName || null;
477
477
  return c !== null ? c : _e(e.type) || "Memo";
478
- case S: {
478
+ case k: {
479
479
  var b = e, R = b._payload, w = b._init;
480
480
  try {
481
481
  return _e(w(R));
@@ -486,13 +486,13 @@ function Jn() {
486
486
  }
487
487
  return null;
488
488
  }
489
- var De = Object.prototype.hasOwnProperty, Ve = {
489
+ var De = Object.prototype.hasOwnProperty, Ue = {
490
490
  key: !0,
491
491
  ref: !0,
492
492
  __self: !0,
493
493
  __source: !0
494
- }, fr, dr, Be;
495
- Be = {};
494
+ }, fr, dr, Ve;
495
+ Ve = {};
496
496
  function Xe(e) {
497
497
  if (De.call(e, "ref")) {
498
498
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
@@ -530,11 +530,11 @@ function Jn() {
530
530
  function vr(e) {
531
531
  if (typeof e.ref == "string" && ie.current && e.__self && ie.current.stateNode !== e.__self) {
532
532
  var r = _e(ie.current.type);
533
- Be[r] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', r, e.ref), Be[r] = !0);
533
+ Ve[r] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', r, e.ref), Ve[r] = !0);
534
534
  }
535
535
  }
536
536
  var Qe = function(e, r, i, c, b, R, w) {
537
- var k = {
537
+ var S = {
538
538
  // This tag allows us to uniquely identify this as a React Element
539
539
  $$typeof: l,
540
540
  // Built-in properties that belong on the element
@@ -545,35 +545,35 @@ function Jn() {
545
545
  // Record the component responsible for creating this element.
546
546
  _owner: R
547
547
  };
548
- return k._store = {}, Object.defineProperty(k._store, "validated", {
548
+ return S._store = {}, Object.defineProperty(S._store, "validated", {
549
549
  configurable: !1,
550
550
  enumerable: !1,
551
551
  writable: !0,
552
552
  value: !1
553
- }), Object.defineProperty(k, "_self", {
553
+ }), Object.defineProperty(S, "_self", {
554
554
  configurable: !1,
555
555
  enumerable: !1,
556
556
  writable: !1,
557
557
  value: c
558
- }), Object.defineProperty(k, "_source", {
558
+ }), Object.defineProperty(S, "_source", {
559
559
  configurable: !1,
560
560
  enumerable: !1,
561
561
  writable: !1,
562
562
  value: b
563
- }), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
563
+ }), Object.freeze && (Object.freeze(S.props), Object.freeze(S)), S;
564
564
  };
565
565
  function Ar(e, r, i) {
566
- var c, b = {}, R = null, w = null, k = null, L = null;
566
+ var c, b = {}, R = null, w = null, S = null, L = null;
567
567
  if (r != null) {
568
- Xe(r) && (w = r.ref, vr(r)), Ze(r) && (Ae(r.key), R = "" + r.key), k = r.__self === void 0 ? null : r.__self, L = r.__source === void 0 ? null : r.__source;
568
+ Xe(r) && (w = r.ref, vr(r)), Ze(r) && (Ae(r.key), R = "" + r.key), S = r.__self === void 0 ? null : r.__self, L = r.__source === void 0 ? null : r.__source;
569
569
  for (c in r)
570
- De.call(r, c) && !Ve.hasOwnProperty(c) && (b[c] = r[c]);
570
+ De.call(r, c) && !Ue.hasOwnProperty(c) && (b[c] = r[c]);
571
571
  }
572
- var G = arguments.length - 2;
573
- if (G === 1)
572
+ var q = arguments.length - 2;
573
+ if (q === 1)
574
574
  b.children = i;
575
- else if (G > 1) {
576
- for (var Z = Array(G), Q = 0; Q < G; Q++)
575
+ else if (q > 1) {
576
+ for (var Z = Array(q), Q = 0; Q < q; Q++)
577
577
  Z[Q] = arguments[Q + 2];
578
578
  Object.freeze && Object.freeze(Z), b.children = Z;
579
579
  }
@@ -586,7 +586,7 @@ function Jn() {
586
586
  var se = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
587
587
  R && Nr(b, se), w && pr(b, se);
588
588
  }
589
- return Qe(e, R, w, k, L, ie.current, b);
589
+ return Qe(e, R, w, S, L, ie.current, b);
590
590
  }
591
591
  function Ir(e, r) {
592
592
  var i = Qe(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
@@ -595,13 +595,13 @@ function Jn() {
595
595
  function Dr(e, r, i) {
596
596
  if (e == null)
597
597
  throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
598
- var c, b = y({}, e.props), R = e.key, w = e.ref, k = e._self, L = e._source, G = e._owner;
598
+ var c, b = y({}, e.props), R = e.key, w = e.ref, S = e._self, L = e._source, q = e._owner;
599
599
  if (r != null) {
600
- Xe(r) && (w = r.ref, G = ie.current), Ze(r) && (Ae(r.key), R = "" + r.key);
600
+ Xe(r) && (w = r.ref, q = ie.current), Ze(r) && (Ae(r.key), R = "" + r.key);
601
601
  var Z;
602
602
  e.type && e.type.defaultProps && (Z = e.type.defaultProps);
603
603
  for (c in r)
604
- De.call(r, c) && !Ve.hasOwnProperty(c) && (r[c] === void 0 && Z !== void 0 ? b[c] = Z[c] : b[c] = r[c]);
604
+ De.call(r, c) && !Ue.hasOwnProperty(c) && (r[c] === void 0 && Z !== void 0 ? b[c] = Z[c] : b[c] = r[c]);
605
605
  }
606
606
  var Q = arguments.length - 2;
607
607
  if (Q === 1)
@@ -611,7 +611,7 @@ function Jn() {
611
611
  re[se] = arguments[se + 2];
612
612
  b.children = re;
613
613
  }
614
- return Qe(e.type, R, w, k, L, G, b);
614
+ return Qe(e.type, R, w, S, L, q, b);
615
615
  }
616
616
  function Re(e) {
617
617
  return typeof e == "object" && e !== null && e.$$typeof === l;
@@ -626,9 +626,9 @@ function Jn() {
626
626
  });
627
627
  return "$" + c;
628
628
  }
629
- var rr = !1, ke = /\/+/g;
629
+ var rr = !1, Se = /\/+/g;
630
630
  function Ye(e) {
631
- return e.replace(ke, "$&/");
631
+ return e.replace(Se, "$&/");
632
632
  }
633
633
  function $e(e, r) {
634
634
  return typeof e == "object" && e !== null && e.key != null ? (Ae(e.key), er("" + e.key)) : r.toString(36);
@@ -648,40 +648,40 @@ function Jn() {
648
648
  case "object":
649
649
  switch (e.$$typeof) {
650
650
  case l:
651
- case f:
651
+ case d:
652
652
  w = !0;
653
653
  }
654
654
  }
655
655
  if (w) {
656
- var k = e, L = b(k), G = c === "" ? mr + $e(k, 0) : c;
657
- if (We(L)) {
656
+ var S = e, L = b(S), q = c === "" ? mr + $e(S, 0) : c;
657
+ if (Be(L)) {
658
658
  var Z = "";
659
- G != null && (Z = Ye(G) + "/"), Fe(L, r, Z, "", function(pn) {
659
+ q != null && (Z = Ye(q) + "/"), Fe(L, r, Z, "", function(pn) {
660
660
  return pn;
661
661
  });
662
- } else L != null && (Re(L) && (L.key && (!k || k.key !== L.key) && Ae(L.key), L = Ir(
662
+ } else L != null && (Re(L) && (L.key && (!S || S.key !== L.key) && Ae(L.key), L = Ir(
663
663
  L,
664
664
  // Keep both the (mapped) and old keys if they differ, just as
665
665
  // traverseAllChildren used to do for objects as children
666
666
  i + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
667
- (L.key && (!k || k.key !== L.key) ? (
667
+ (L.key && (!S || S.key !== L.key) ? (
668
668
  // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
669
669
  // eslint-disable-next-line react-internal/safe-string-coercion
670
670
  Ye("" + L.key) + "/"
671
- ) : "") + G
671
+ ) : "") + q
672
672
  )), r.push(L));
673
673
  return 1;
674
674
  }
675
675
  var Q, re, se = 0, ce = c === "" ? mr : c + $r;
676
- if (We(e))
676
+ if (Be(e))
677
677
  for (var Er = 0; Er < e.length; Er++)
678
678
  Q = e[Er], re = ce + $e(Q, Er), se += Fe(Q, r, i, re, b);
679
679
  else {
680
680
  var Zr = Y(e);
681
681
  if (typeof Zr == "function") {
682
- var St = e;
683
- Zr === St.entries && (rr || be("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), rr = !0);
684
- for (var fn = Zr.call(St), Tt, dn = 0; !(Tt = fn.next()).done; )
682
+ var kt = e;
683
+ Zr === kt.entries && (rr || be("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), rr = !0);
684
+ for (var fn = Zr.call(kt), Tt, dn = 0; !(Tt = fn.next()).done; )
685
685
  Q = Tt.value, re = ce + $e(Q, dn++), se += Fe(Q, r, i, re, b);
686
686
  } else if (R === "object") {
687
687
  var Ot = String(e);
@@ -799,23 +799,23 @@ function Jn() {
799
799
  }
800
800
  return r._currentRenderer = null, r._currentRenderer2 = null, r;
801
801
  }
802
- var Le = -1, qe = 0, tr = 1, Mr = 2;
803
- function Wr(e) {
802
+ var Le = -1, He = 0, tr = 1, Mr = 2;
803
+ function Br(e) {
804
804
  if (e._status === Le) {
805
805
  var r = e._result, i = r();
806
806
  if (i.then(function(R) {
807
- if (e._status === qe || e._status === Le) {
807
+ if (e._status === He || e._status === Le) {
808
808
  var w = e;
809
809
  w._status = tr, w._result = R;
810
810
  }
811
811
  }, function(R) {
812
- if (e._status === qe || e._status === Le) {
812
+ if (e._status === He || e._status === Le) {
813
813
  var w = e;
814
814
  w._status = Mr, w._result = R;
815
815
  }
816
816
  }), e._status === Le) {
817
817
  var c = e;
818
- c._status = qe, c._result = i;
818
+ c._status = He, c._result = i;
819
819
  }
820
820
  }
821
821
  if (e._status === tr) {
@@ -832,15 +832,15 @@ Your code should look like:
832
832
  } else
833
833
  throw e._result;
834
834
  }
835
- function Ur(e) {
835
+ function Wr(e) {
836
836
  var r = {
837
837
  // We use these fields to store the result.
838
838
  _status: Le,
839
839
  _result: e
840
840
  }, i = {
841
- $$typeof: S,
841
+ $$typeof: k,
842
842
  _payload: r,
843
- _init: Wr
843
+ _init: Br
844
844
  };
845
845
  {
846
846
  var c, b;
@@ -871,7 +871,7 @@ Your code should look like:
871
871
  }
872
872
  return i;
873
873
  }
874
- function Vr(e) {
874
+ function Ur(e) {
875
875
  e != null && e.$$typeof === T ? E("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? E("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && E("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && E("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
876
876
  var r = {
877
877
  $$typeof: j,
@@ -895,7 +895,7 @@ Your code should look like:
895
895
  var t;
896
896
  t = Symbol.for("react.module.reference");
897
897
  function m(e) {
898
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === v || me || e === h || e === _ || e === O || ve || e === ae || Oe || Je || Pe || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === T || e.$$typeof === g || e.$$typeof === p || e.$$typeof === j || // This needs to include all possible module reference object
898
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === v || me || e === h || e === _ || e === O || ve || e === ae || Oe || Je || Pe || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === T || e.$$typeof === g || e.$$typeof === p || e.$$typeof === j || // This needs to include all possible module reference object
899
899
  // types supported by any Flight configuration anywhere since
900
900
  // we don't know which Flight build this will end up being used
901
901
  // with.
@@ -931,7 +931,7 @@ Your code should look like:
931
931
  3. You might have more than one copy of React in the same app
932
932
  See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
933
933
  }
934
- function W(e) {
934
+ function B(e) {
935
935
  var r = C();
936
936
  if (e._context !== void 0) {
937
937
  var i = e._context;
@@ -939,7 +939,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
939
939
  }
940
940
  return r.useContext(e);
941
941
  }
942
- function B(e) {
942
+ function V(e) {
943
943
  var r = C();
944
944
  return r.useState(e);
945
945
  }
@@ -959,7 +959,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
959
959
  var i = C();
960
960
  return i.useInsertionEffect(e, r);
961
961
  }
962
- function ne(e, r) {
962
+ function te(e, r) {
963
963
  var i = C();
964
964
  return i.useLayoutEffect(e, r);
965
965
  }
@@ -967,7 +967,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
967
967
  var i = C();
968
968
  return i.useCallback(e, r);
969
969
  }
970
- function Se(e, r) {
970
+ function ke(e, r) {
971
971
  var i = C();
972
972
  return i.useMemo(e, r);
973
973
  }
@@ -985,7 +985,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
985
985
  var e = C();
986
986
  return e.useTransition();
987
987
  }
988
- function Br(e) {
988
+ function Vr(e) {
989
989
  var r = C();
990
990
  return r.useDeferredValue(e);
991
991
  }
@@ -1001,7 +1001,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
1001
1001
  function vt() {
1002
1002
  }
1003
1003
  vt.__reactDisabledLog = !0;
1004
- function qt() {
1004
+ function Ht() {
1005
1005
  {
1006
1006
  if (ar === 0) {
1007
1007
  it = console.log, lt = console.info, ut = console.warn, ct = console.error, ft = console.group, dt = console.groupCollapsed, pt = console.groupEnd;
@@ -1024,7 +1024,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
1024
1024
  ar++;
1025
1025
  }
1026
1026
  }
1027
- function Gt() {
1027
+ function qt() {
1028
1028
  {
1029
1029
  if (ar--, ar === 0) {
1030
1030
  var e = {
@@ -1059,27 +1059,27 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
1059
1059
  ar < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1060
1060
  }
1061
1061
  }
1062
- var zr = le.ReactCurrentDispatcher, qr;
1062
+ var zr = le.ReactCurrentDispatcher, Hr;
1063
1063
  function gr(e, r, i) {
1064
1064
  {
1065
- if (qr === void 0)
1065
+ if (Hr === void 0)
1066
1066
  try {
1067
1067
  throw Error();
1068
1068
  } catch (b) {
1069
1069
  var c = b.stack.trim().match(/\n( *(at )?)/);
1070
- qr = c && c[1] || "";
1070
+ Hr = c && c[1] || "";
1071
1071
  }
1072
1072
  return `
1073
- ` + qr + e;
1073
+ ` + Hr + e;
1074
1074
  }
1075
1075
  }
1076
- var Gr = !1, xr;
1076
+ var qr = !1, xr;
1077
1077
  {
1078
- var Kt = typeof WeakMap == "function" ? WeakMap : Map;
1079
- xr = new Kt();
1078
+ var Gt = typeof WeakMap == "function" ? WeakMap : Map;
1079
+ xr = new Gt();
1080
1080
  }
1081
1081
  function mt(e, r) {
1082
- if (!e || Gr)
1082
+ if (!e || qr)
1083
1083
  return "";
1084
1084
  {
1085
1085
  var i = xr.get(e);
@@ -1087,11 +1087,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
1087
1087
  return i;
1088
1088
  }
1089
1089
  var c;
1090
- Gr = !0;
1090
+ qr = !0;
1091
1091
  var b = Error.prepareStackTrace;
1092
1092
  Error.prepareStackTrace = void 0;
1093
1093
  var R;
1094
- R = zr.current, zr.current = null, qt();
1094
+ R = zr.current, zr.current = null, Ht();
1095
1095
  try {
1096
1096
  if (r) {
1097
1097
  var w = function() {
@@ -1126,30 +1126,30 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
1126
1126
  }
1127
1127
  } catch (ce) {
1128
1128
  if (ce && c && typeof ce.stack == "string") {
1129
- for (var k = ce.stack.split(`
1129
+ for (var S = ce.stack.split(`
1130
1130
  `), L = c.stack.split(`
1131
- `), G = k.length - 1, Z = L.length - 1; G >= 1 && Z >= 0 && k[G] !== L[Z]; )
1131
+ `), q = S.length - 1, Z = L.length - 1; q >= 1 && Z >= 0 && S[q] !== L[Z]; )
1132
1132
  Z--;
1133
- for (; G >= 1 && Z >= 0; G--, Z--)
1134
- if (k[G] !== L[Z]) {
1135
- if (G !== 1 || Z !== 1)
1133
+ for (; q >= 1 && Z >= 0; q--, Z--)
1134
+ if (S[q] !== L[Z]) {
1135
+ if (q !== 1 || Z !== 1)
1136
1136
  do
1137
- if (G--, Z--, Z < 0 || k[G] !== L[Z]) {
1137
+ if (q--, Z--, Z < 0 || S[q] !== L[Z]) {
1138
1138
  var Q = `
1139
- ` + k[G].replace(" at new ", " at ");
1139
+ ` + S[q].replace(" at new ", " at ");
1140
1140
  return e.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", e.displayName)), typeof e == "function" && xr.set(e, Q), Q;
1141
1141
  }
1142
- while (G >= 1 && Z >= 0);
1142
+ while (q >= 1 && Z >= 0);
1143
1143
  break;
1144
1144
  }
1145
1145
  }
1146
1146
  } finally {
1147
- Gr = !1, zr.current = R, Gt(), Error.prepareStackTrace = b;
1147
+ qr = !1, zr.current = R, qt(), Error.prepareStackTrace = b;
1148
1148
  }
1149
1149
  var re = e ? e.displayName || e.name : "", se = re ? gr(re) : "";
1150
1150
  return typeof e == "function" && xr.set(e, se), se;
1151
1151
  }
1152
- function Ht(e, r, i) {
1152
+ function Kt(e, r, i) {
1153
1153
  return mt(e, !1);
1154
1154
  }
1155
1155
  function Jt(e) {
@@ -1172,10 +1172,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
1172
1172
  if (typeof e == "object")
1173
1173
  switch (e.$$typeof) {
1174
1174
  case j:
1175
- return Ht(e.render);
1175
+ return Kt(e.render);
1176
1176
  case T:
1177
1177
  return _r(e.type, r, i);
1178
- case S: {
1178
+ case k: {
1179
1179
  var c = e, b = c._payload, R = c._init;
1180
1180
  try {
1181
1181
  return _r(R(b), r, i);
@@ -1198,29 +1198,29 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
1198
1198
  var R = Function.call.bind(De);
1199
1199
  for (var w in e)
1200
1200
  if (R(e, w)) {
1201
- var k = void 0;
1201
+ var S = void 0;
1202
1202
  try {
1203
1203
  if (typeof e[w] != "function") {
1204
1204
  var L = Error((c || "React class") + ": " + i + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1205
1205
  throw L.name = "Invariant Violation", L;
1206
1206
  }
1207
- k = e[w](r, w, c, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1208
- } catch (G) {
1209
- k = G;
1207
+ S = e[w](r, w, c, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1208
+ } catch (q) {
1209
+ S = q;
1210
1210
  }
1211
- k && !(k instanceof Error) && (jr(b), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", i, w, typeof k), jr(null)), k instanceof Error && !(k.message in ht) && (ht[k.message] = !0, jr(b), E("Failed %s type: %s", i, k.message), jr(null));
1211
+ S && !(S instanceof Error) && (jr(b), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", i, w, typeof S), jr(null)), S instanceof Error && !(S.message in ht) && (ht[S.message] = !0, jr(b), E("Failed %s type: %s", i, S.message), jr(null));
1212
1212
  }
1213
1213
  }
1214
1214
  }
1215
- function Ge(e) {
1215
+ function qe(e) {
1216
1216
  if (e) {
1217
1217
  var r = e._owner, i = _r(e.type, e._source, r ? r.type : null);
1218
1218
  Te(i);
1219
1219
  } else
1220
1220
  Te(null);
1221
1221
  }
1222
- var Kr;
1223
- Kr = !1;
1222
+ var Gr;
1223
+ Gr = !1;
1224
1224
  function bt() {
1225
1225
  if (ie.current) {
1226
1226
  var e = _e(ie.current.type);
@@ -1261,13 +1261,13 @@ Check the top-level render call using <` + i + ">.");
1261
1261
  if (!gt[i]) {
1262
1262
  gt[i] = !0;
1263
1263
  var c = "";
1264
- e && e._owner && e._owner !== ie.current && (c = " It was passed a child from " + _e(e._owner.type) + "."), Ge(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, c), Ge(null);
1264
+ e && e._owner && e._owner !== ie.current && (c = " It was passed a child from " + _e(e._owner.type) + "."), qe(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, c), qe(null);
1265
1265
  }
1266
1266
  }
1267
1267
  }
1268
1268
  function _t(e, r) {
1269
1269
  if (typeof e == "object") {
1270
- if (We(e))
1270
+ if (Be(e))
1271
1271
  for (var i = 0; i < e.length; i++) {
1272
1272
  var c = e[i];
1273
1273
  Re(c) && xt(c, r);
@@ -1299,8 +1299,8 @@ Check the top-level render call using <` + i + ">.");
1299
1299
  if (i) {
1300
1300
  var c = _e(r);
1301
1301
  Xt(i, e.props, "prop", c, e);
1302
- } else if (r.PropTypes !== void 0 && !Kr) {
1303
- Kr = !0;
1302
+ } else if (r.PropTypes !== void 0 && !Gr) {
1303
+ Gr = !0;
1304
1304
  var b = _e(r);
1305
1305
  E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
1306
1306
  }
@@ -1312,11 +1312,11 @@ Check the top-level render call using <` + i + ">.");
1312
1312
  for (var r = Object.keys(e.props), i = 0; i < r.length; i++) {
1313
1313
  var c = r[i];
1314
1314
  if (c !== "children" && c !== "key") {
1315
- Ge(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), Ge(null);
1315
+ qe(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), qe(null);
1316
1316
  break;
1317
1317
  }
1318
1318
  }
1319
- e.ref !== null && (Ge(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), Ge(null));
1319
+ e.ref !== null && (qe(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), qe(null));
1320
1320
  }
1321
1321
  }
1322
1322
  function Ct(e, r, i) {
@@ -1327,15 +1327,15 @@ Check the top-level render call using <` + i + ">.");
1327
1327
  var R = Qt(r);
1328
1328
  R ? b += R : b += bt();
1329
1329
  var w;
1330
- e === null ? w = "null" : We(e) ? w = "array" : e !== void 0 && e.$$typeof === l ? (w = "<" + (_e(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, E("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, b);
1330
+ e === null ? w = "null" : Be(e) ? w = "array" : e !== void 0 && e.$$typeof === l ? (w = "<" + (_e(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : w = typeof e, E("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, b);
1331
1331
  }
1332
- var k = Ar.apply(this, arguments);
1333
- if (k == null)
1334
- return k;
1332
+ var S = Ar.apply(this, arguments);
1333
+ if (S == null)
1334
+ return S;
1335
1335
  if (c)
1336
1336
  for (var L = 2; L < arguments.length; L++)
1337
1337
  _t(arguments[L], e);
1338
- return e === d ? rn(k) : jt(k), k;
1338
+ return e === f ? rn(S) : jt(S), S;
1339
1339
  }
1340
1340
  var wt = !1;
1341
1341
  function tn(e) {
@@ -1355,14 +1355,14 @@ Check the top-level render call using <` + i + ">.");
1355
1355
  return jt(c), c;
1356
1356
  }
1357
1357
  function an(e, r) {
1358
- var i = H.transition;
1359
- H.transition = {};
1360
- var c = H.transition;
1361
- H.transition._updatedFibers = /* @__PURE__ */ new Set();
1358
+ var i = K.transition;
1359
+ K.transition = {};
1360
+ var c = K.transition;
1361
+ K.transition._updatedFibers = /* @__PURE__ */ new Set();
1362
1362
  try {
1363
1363
  e();
1364
1364
  } finally {
1365
- if (H.transition = i, i === null && c._updatedFibers) {
1365
+ if (K.transition = i, i === null && c._updatedFibers) {
1366
1366
  var b = c._updatedFibers.size;
1367
1367
  b > 10 && be("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), c._updatedFibers.clear();
1368
1368
  }
@@ -1383,11 +1383,11 @@ Check the top-level render call using <` + i + ">.");
1383
1383
  }
1384
1384
  return Cr(e);
1385
1385
  }
1386
- var Ke = 0, Rt = !1;
1387
- function kt(e) {
1386
+ var Ge = 0, Rt = !1;
1387
+ function St(e) {
1388
1388
  {
1389
- var r = Ke;
1390
- Ke++, X.current === null && (X.current = []);
1389
+ var r = Ge;
1390
+ Ge++, X.current === null && (X.current = []);
1391
1391
  var i = X.isBatchingLegacy, c;
1392
1392
  try {
1393
1393
  if (X.isBatchingLegacy = !0, c = e(), !i && X.didScheduleLegacyUpdate) {
@@ -1400,10 +1400,10 @@ Check the top-level render call using <` + i + ">.");
1400
1400
  X.isBatchingLegacy = i;
1401
1401
  }
1402
1402
  if (c !== null && typeof c == "object" && typeof c.then == "function") {
1403
- var R = c, w = !1, k = {
1403
+ var R = c, w = !1, S = {
1404
1404
  then: function(re, se) {
1405
1405
  w = !0, R.then(function(ce) {
1406
- wr(r), Ke === 0 ? Hr(ce, re, se) : re(ce);
1406
+ wr(r), Ge === 0 ? Kr(ce, re, se) : re(ce);
1407
1407
  }, function(ce) {
1408
1408
  wr(r), se(ce);
1409
1409
  });
@@ -1412,15 +1412,15 @@ Check the top-level render call using <` + i + ">.");
1412
1412
  return !Rt && typeof Promise < "u" && Promise.resolve().then(function() {
1413
1413
  }).then(function() {
1414
1414
  w || (Rt = !0, E("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
1415
- }), k;
1415
+ }), S;
1416
1416
  } else {
1417
1417
  var L = c;
1418
- if (wr(r), Ke === 0) {
1419
- var G = X.current;
1420
- G !== null && (Xr(G), X.current = null);
1418
+ if (wr(r), Ge === 0) {
1419
+ var q = X.current;
1420
+ q !== null && (Xr(q), X.current = null);
1421
1421
  var Z = {
1422
1422
  then: function(re, se) {
1423
- X.current === null ? (X.current = [], Hr(L, re, se)) : re(L);
1423
+ X.current === null ? (X.current = [], Kr(L, re, se)) : re(L);
1424
1424
  }
1425
1425
  };
1426
1426
  return Z;
@@ -1436,15 +1436,15 @@ Check the top-level render call using <` + i + ">.");
1436
1436
  }
1437
1437
  }
1438
1438
  function wr(e) {
1439
- e !== Ke - 1 && E("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ke = e;
1439
+ e !== Ge - 1 && E("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ge = e;
1440
1440
  }
1441
- function Hr(e, r, i) {
1441
+ function Kr(e, r, i) {
1442
1442
  {
1443
1443
  var c = X.current;
1444
1444
  if (c !== null)
1445
1445
  try {
1446
1446
  Xr(c), on(function() {
1447
- c.length === 0 ? (X.current = null, r(e)) : Hr(e, r, i);
1447
+ c.length === 0 ? (X.current = null, r(e)) : Kr(e, r, i);
1448
1448
  });
1449
1449
  } catch (b) {
1450
1450
  i(b);
@@ -1480,13 +1480,13 @@ Check the top-level render call using <` + i + ">.");
1480
1480
  toArray: yr,
1481
1481
  only: br
1482
1482
  };
1483
- a.Children = cn, a.Component = $, a.Fragment = d, a.Profiler = v, a.PureComponent = V, a.StrictMode = h, a.Suspense = _, a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = le, a.act = kt, a.cloneElement = ln, a.createContext = Lr, a.createElement = sn, a.createFactory = un, a.createRef = Or, a.forwardRef = Vr, a.isValidElement = Re, a.lazy = Ur, a.memo = x, a.startTransition = an, a.unstable_act = kt, a.useCallback = he, a.useContext = W, a.useDebugValue = fe, a.useDeferredValue = Br, a.useEffect = ue, a.useId = Yr, a.useImperativeHandle = we, a.useInsertionEffect = ee, a.useLayoutEffect = ne, a.useMemo = Se, a.useReducer = D, a.useRef = P, a.useState = B, a.useSyncExternalStore = zt, a.useTransition = nr, a.version = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1483
+ a.Children = cn, a.Component = $, a.Fragment = f, a.Profiler = v, a.PureComponent = U, a.StrictMode = h, a.Suspense = _, a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = le, a.act = St, a.cloneElement = ln, a.createContext = Lr, a.createElement = sn, a.createFactory = un, a.createRef = Or, a.forwardRef = Ur, a.isValidElement = Re, a.lazy = Wr, a.memo = x, a.startTransition = an, a.unstable_act = St, a.useCallback = he, a.useContext = B, a.useDebugValue = fe, a.useDeferredValue = Vr, a.useEffect = ue, a.useId = Yr, a.useImperativeHandle = we, a.useInsertionEffect = ee, a.useLayoutEffect = te, a.useMemo = ke, a.useReducer = D, a.useRef = P, a.useState = V, a.useSyncExternalStore = zt, a.useTransition = nr, a.version = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1484
1484
  }();
1485
1485
  }(ir, ir.exports)), ir.exports;
1486
1486
  }
1487
1487
  var It;
1488
1488
  function at() {
1489
- return It || (It = 1, process.env.NODE_ENV === "production" ? Tr.exports = Hn() : Tr.exports = Jn()), Tr.exports;
1489
+ return It || (It = 1, process.env.NODE_ENV === "production" ? Tr.exports = Kn() : Tr.exports = Jn()), Tr.exports;
1490
1490
  }
1491
1491
  /**
1492
1492
  * @license React
@@ -1501,13 +1501,13 @@ var Dt;
1501
1501
  function Xn() {
1502
1502
  if (Dt) return or;
1503
1503
  Dt = 1;
1504
- var o = at(), a = Symbol.for("react.element"), u = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, f = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
1504
+ var o = at(), a = Symbol.for("react.element"), u = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, d = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
1505
1505
  function h(v, g, p) {
1506
1506
  var j, _ = {}, O = null, T = null;
1507
1507
  p !== void 0 && (O = "" + p), g.key !== void 0 && (O = "" + g.key), g.ref !== void 0 && (T = g.ref);
1508
- for (j in g) l.call(g, j) && !d.hasOwnProperty(j) && (_[j] = g[j]);
1508
+ for (j in g) l.call(g, j) && !f.hasOwnProperty(j) && (_[j] = g[j]);
1509
1509
  if (v && v.defaultProps) for (j in g = v.defaultProps, g) _[j] === void 0 && (_[j] = g[j]);
1510
- return { $$typeof: a, type: v, key: O, ref: T, props: _, _owner: f.current };
1510
+ return { $$typeof: a, type: v, key: O, ref: T, props: _, _owner: d.current };
1511
1511
  }
1512
1512
  return or.Fragment = u, or.jsx = h, or.jsxs = h, or;
1513
1513
  }
@@ -1524,11 +1524,11 @@ var sr = {};
1524
1524
  var $t;
1525
1525
  function Zn() {
1526
1526
  return $t || ($t = 1, process.env.NODE_ENV !== "production" && function() {
1527
- var o = at(), a = Symbol.for("react.element"), u = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), S = Symbol.iterator, ae = "@@iterator";
1527
+ var o = at(), a = Symbol.for("react.element"), u = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), k = Symbol.iterator, ae = "@@iterator";
1528
1528
  function de(t) {
1529
1529
  if (t === null || typeof t != "object")
1530
1530
  return null;
1531
- var m = S && t[S] || t[ae];
1531
+ var m = k && t[k] || t[ae];
1532
1532
  return typeof m == "function" ? m : null;
1533
1533
  }
1534
1534
  var A = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -1541,18 +1541,18 @@ function Zn() {
1541
1541
  }
1542
1542
  function ge(t, m, x) {
1543
1543
  {
1544
- var C = A.ReactDebugCurrentFrame, W = C.getStackAddendum();
1545
- W !== "" && (m += "%s", x = x.concat([W]));
1546
- var B = x.map(function(D) {
1544
+ var C = A.ReactDebugCurrentFrame, B = C.getStackAddendum();
1545
+ B !== "" && (m += "%s", x = x.concat([B]));
1546
+ var V = x.map(function(D) {
1547
1547
  return String(D);
1548
1548
  });
1549
- B.unshift("Warning: " + m), Function.prototype.apply.call(console[t], console, B);
1549
+ V.unshift("Warning: " + m), Function.prototype.apply.call(console[t], console, V);
1550
1550
  }
1551
1551
  }
1552
- var H = !1, X = !1, ie = !1, pe = !1, je = !1, Te;
1552
+ var K = !1, X = !1, ie = !1, pe = !1, je = !1, Te;
1553
1553
  Te = Symbol.for("react.module.reference");
1554
1554
  function Oe(t) {
1555
- return !!(typeof t == "string" || typeof t == "function" || t === l || t === d || je || t === f || t === p || t === j || pe || t === T || H || X || ie || typeof t == "object" && t !== null && (t.$$typeof === O || t.$$typeof === _ || t.$$typeof === h || t.$$typeof === v || t.$$typeof === g || // This needs to include all possible module reference object
1555
+ return !!(typeof t == "string" || typeof t == "function" || t === l || t === f || je || t === d || t === p || t === j || pe || t === T || K || X || ie || typeof t == "object" && t !== null && (t.$$typeof === O || t.$$typeof === _ || t.$$typeof === h || t.$$typeof === v || t.$$typeof === g || // This needs to include all possible module reference object
1556
1556
  // types supported by any Flight configuration anywhere since
1557
1557
  // we don't know which Flight build this will end up being used
1558
1558
  // with.
@@ -1562,8 +1562,8 @@ function Zn() {
1562
1562
  var C = t.displayName;
1563
1563
  if (C)
1564
1564
  return C;
1565
- var W = m.displayName || m.name || "";
1566
- return W !== "" ? x + "(" + W + ")" : x;
1565
+ var B = m.displayName || m.name || "";
1566
+ return B !== "" ? x + "(" + B + ")" : x;
1567
1567
  }
1568
1568
  function Pe(t) {
1569
1569
  return t.displayName || "Context";
@@ -1580,9 +1580,9 @@ function Zn() {
1580
1580
  return "Fragment";
1581
1581
  case u:
1582
1582
  return "Portal";
1583
- case d:
1584
- return "Profiler";
1585
1583
  case f:
1584
+ return "Profiler";
1585
+ case d:
1586
1586
  return "StrictMode";
1587
1587
  case p:
1588
1588
  return "Suspense";
@@ -1603,9 +1603,9 @@ function Zn() {
1603
1603
  var C = t.displayName || null;
1604
1604
  return C !== null ? C : ve(t.type) || "Memo";
1605
1605
  case O: {
1606
- var W = t, B = W._payload, D = W._init;
1606
+ var B = t, V = B._payload, D = B._init;
1607
1607
  try {
1608
- return ve(D(B));
1608
+ return ve(D(V));
1609
1609
  } catch {
1610
1610
  return null;
1611
1611
  }
@@ -1675,27 +1675,27 @@ function Zn() {
1675
1675
  le < 0 && Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1676
1676
  }
1677
1677
  }
1678
- var J = A.ReactCurrentDispatcher, q;
1678
+ var J = A.ReactCurrentDispatcher, H;
1679
1679
  function z(t, m, x) {
1680
1680
  {
1681
- if (q === void 0)
1681
+ if (H === void 0)
1682
1682
  try {
1683
1683
  throw Error();
1684
- } catch (W) {
1685
- var C = W.stack.trim().match(/\n( *(at )?)/);
1686
- q = C && C[1] || "";
1684
+ } catch (B) {
1685
+ var C = B.stack.trim().match(/\n( *(at )?)/);
1686
+ H = C && C[1] || "";
1687
1687
  }
1688
1688
  return `
1689
- ` + q + t;
1689
+ ` + H + t;
1690
1690
  }
1691
1691
  }
1692
- var V = !1, oe;
1692
+ var U = !1, oe;
1693
1693
  {
1694
1694
  var Or = typeof WeakMap == "function" ? WeakMap : Map;
1695
1695
  oe = new Or();
1696
1696
  }
1697
1697
  function ur(t, m) {
1698
- if (!t || V)
1698
+ if (!t || U)
1699
1699
  return "";
1700
1700
  {
1701
1701
  var x = oe.get(t);
@@ -1703,11 +1703,11 @@ function Zn() {
1703
1703
  return x;
1704
1704
  }
1705
1705
  var C;
1706
- V = !0;
1707
- var W = Error.prepareStackTrace;
1706
+ U = !0;
1707
+ var B = Error.prepareStackTrace;
1708
1708
  Error.prepareStackTrace = void 0;
1709
- var B;
1710
- B = J.current, J.current = null, $();
1709
+ var V;
1710
+ V = J.current, J.current = null, $();
1711
1711
  try {
1712
1712
  if (m) {
1713
1713
  var D = function() {
@@ -1744,35 +1744,35 @@ function Zn() {
1744
1744
  if (fe && C && typeof fe.stack == "string") {
1745
1745
  for (var P = fe.stack.split(`
1746
1746
  `), ue = C.stack.split(`
1747
- `), ee = P.length - 1, ne = ue.length - 1; ee >= 1 && ne >= 0 && P[ee] !== ue[ne]; )
1748
- ne--;
1749
- for (; ee >= 1 && ne >= 0; ee--, ne--)
1750
- if (P[ee] !== ue[ne]) {
1751
- if (ee !== 1 || ne !== 1)
1747
+ `), ee = P.length - 1, te = ue.length - 1; ee >= 1 && te >= 0 && P[ee] !== ue[te]; )
1748
+ te--;
1749
+ for (; ee >= 1 && te >= 0; ee--, te--)
1750
+ if (P[ee] !== ue[te]) {
1751
+ if (ee !== 1 || te !== 1)
1752
1752
  do
1753
- if (ee--, ne--, ne < 0 || P[ee] !== ue[ne]) {
1753
+ if (ee--, te--, te < 0 || P[ee] !== ue[te]) {
1754
1754
  var he = `
1755
1755
  ` + P[ee].replace(" at new ", " at ");
1756
1756
  return t.displayName && he.includes("<anonymous>") && (he = he.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, he), he;
1757
1757
  }
1758
- while (ee >= 1 && ne >= 0);
1758
+ while (ee >= 1 && te >= 0);
1759
1759
  break;
1760
1760
  }
1761
1761
  }
1762
1762
  } finally {
1763
- V = !1, J.current = B, M(), Error.prepareStackTrace = W;
1763
+ U = !1, J.current = V, M(), Error.prepareStackTrace = B;
1764
1764
  }
1765
- var Se = t ? t.displayName || t.name : "", we = Se ? z(Se) : "";
1765
+ var ke = t ? t.displayName || t.name : "", we = ke ? z(ke) : "";
1766
1766
  return typeof t == "function" && oe.set(t, we), we;
1767
1767
  }
1768
- function We(t, m, x) {
1768
+ function Be(t, m, x) {
1769
1769
  return ur(t, !1);
1770
1770
  }
1771
1771
  function Pr(t) {
1772
1772
  var m = t.prototype;
1773
1773
  return !!(m && m.isReactComponent);
1774
1774
  }
1775
- function Ue(t, m, x) {
1775
+ function We(t, m, x) {
1776
1776
  if (t == null)
1777
1777
  return "";
1778
1778
  if (typeof t == "function")
@@ -1788,13 +1788,13 @@ function Zn() {
1788
1788
  if (typeof t == "object")
1789
1789
  switch (t.$$typeof) {
1790
1790
  case g:
1791
- return We(t.render);
1791
+ return Be(t.render);
1792
1792
  case _:
1793
- return Ue(t.type, m, x);
1793
+ return We(t.type, m, x);
1794
1794
  case O: {
1795
- var C = t, W = C._payload, B = C._init;
1795
+ var C = t, B = C._payload, V = C._init;
1796
1796
  try {
1797
- return Ue(B(W), m, x);
1797
+ return We(V(B), m, x);
1798
1798
  } catch {
1799
1799
  }
1800
1800
  }
@@ -1804,16 +1804,16 @@ function Zn() {
1804
1804
  var Ee = Object.prototype.hasOwnProperty, Ae = {}, cr = A.ReactDebugCurrentFrame;
1805
1805
  function Ie(t) {
1806
1806
  if (t) {
1807
- var m = t._owner, x = Ue(t.type, t._source, m ? m.type : null);
1807
+ var m = t._owner, x = We(t.type, t._source, m ? m.type : null);
1808
1808
  cr.setExtraStackFrame(x);
1809
1809
  } else
1810
1810
  cr.setExtraStackFrame(null);
1811
1811
  }
1812
- function _e(t, m, x, C, W) {
1812
+ function _e(t, m, x, C, B) {
1813
1813
  {
1814
- var B = Function.call.bind(Ee);
1814
+ var V = Function.call.bind(Ee);
1815
1815
  for (var D in t)
1816
- if (B(t, D)) {
1816
+ if (V(t, D)) {
1817
1817
  var P = void 0;
1818
1818
  try {
1819
1819
  if (typeof t[D] != "function") {
@@ -1824,12 +1824,12 @@ function Zn() {
1824
1824
  } catch (ee) {
1825
1825
  P = ee;
1826
1826
  }
1827
- P && !(P instanceof Error) && (Ie(W), Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", C || "React class", x, D, typeof P), Ie(null)), P instanceof Error && !(P.message in Ae) && (Ae[P.message] = !0, Ie(W), Y("Failed %s type: %s", x, P.message), Ie(null));
1827
+ P && !(P instanceof Error) && (Ie(B), Y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", C || "React class", x, D, typeof P), Ie(null)), P instanceof Error && !(P.message in Ae) && (Ae[P.message] = !0, Ie(B), Y("Failed %s type: %s", x, P.message), Ie(null));
1828
1828
  }
1829
1829
  }
1830
1830
  }
1831
1831
  var De = Array.isArray;
1832
- function Ve(t) {
1832
+ function Ue(t) {
1833
1833
  return De(t);
1834
1834
  }
1835
1835
  function fr(t) {
@@ -1840,17 +1840,17 @@ function Zn() {
1840
1840
  }
1841
1841
  function dr(t) {
1842
1842
  try {
1843
- return Be(t), !1;
1843
+ return Ve(t), !1;
1844
1844
  } catch {
1845
1845
  return !0;
1846
1846
  }
1847
1847
  }
1848
- function Be(t) {
1848
+ function Ve(t) {
1849
1849
  return "" + t;
1850
1850
  }
1851
1851
  function Xe(t) {
1852
1852
  if (dr(t))
1853
- return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", fr(t)), Be(t);
1853
+ return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", fr(t)), Ve(t);
1854
1854
  }
1855
1855
  var Ze = A.ReactCurrentOwner, Nr = {
1856
1856
  key: !0,
@@ -1899,7 +1899,7 @@ function Zn() {
1899
1899
  });
1900
1900
  }
1901
1901
  }
1902
- var mr = function(t, m, x, C, W, B, D) {
1902
+ var mr = function(t, m, x, C, B, V, D) {
1903
1903
  var P = {
1904
1904
  // This tag allows us to uniquely identify this as a React Element
1905
1905
  $$typeof: a,
@@ -1909,7 +1909,7 @@ function Zn() {
1909
1909
  ref: x,
1910
1910
  props: D,
1911
1911
  // Record the component responsible for creating this element.
1912
- _owner: B
1912
+ _owner: V
1913
1913
  };
1914
1914
  return P._store = {}, Object.defineProperty(P._store, "validated", {
1915
1915
  configurable: !1,
@@ -1925,31 +1925,31 @@ function Zn() {
1925
1925
  configurable: !1,
1926
1926
  enumerable: !1,
1927
1927
  writable: !1,
1928
- value: W
1928
+ value: B
1929
1929
  }), Object.freeze && (Object.freeze(P.props), Object.freeze(P)), P;
1930
1930
  };
1931
- function $r(t, m, x, C, W) {
1931
+ function $r(t, m, x, C, B) {
1932
1932
  {
1933
- var B, D = {}, P = null, ue = null;
1934
- x !== void 0 && (Xe(x), P = "" + x), Ar(m) && (Xe(m.key), P = "" + m.key), Qe(m) && (ue = m.ref, Ir(m, W));
1935
- for (B in m)
1936
- Ee.call(m, B) && !Nr.hasOwnProperty(B) && (D[B] = m[B]);
1933
+ var V, D = {}, P = null, ue = null;
1934
+ x !== void 0 && (Xe(x), P = "" + x), Ar(m) && (Xe(m.key), P = "" + m.key), Qe(m) && (ue = m.ref, Ir(m, B));
1935
+ for (V in m)
1936
+ Ee.call(m, V) && !Nr.hasOwnProperty(V) && (D[V] = m[V]);
1937
1937
  if (t && t.defaultProps) {
1938
1938
  var ee = t.defaultProps;
1939
- for (B in ee)
1940
- D[B] === void 0 && (D[B] = ee[B]);
1939
+ for (V in ee)
1940
+ D[V] === void 0 && (D[V] = ee[V]);
1941
1941
  }
1942
1942
  if (P || ue) {
1943
- var ne = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
1944
- P && Dr(D, ne), ue && Re(D, ne);
1943
+ var te = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
1944
+ P && Dr(D, te), ue && Re(D, te);
1945
1945
  }
1946
- return mr(t, P, ue, W, C, Ze.current, D);
1946
+ return mr(t, P, ue, B, C, Ze.current, D);
1947
1947
  }
1948
1948
  }
1949
1949
  var er = A.ReactCurrentOwner, rr = A.ReactDebugCurrentFrame;
1950
- function ke(t) {
1950
+ function Se(t) {
1951
1951
  if (t) {
1952
- var m = t._owner, x = Ue(t.type, t._source, m ? m.type : null);
1952
+ var m = t._owner, x = We(t.type, t._source, m ? m.type : null);
1953
1953
  rr.setExtraStackFrame(x);
1954
1954
  } else
1955
1955
  rr.setExtraStackFrame(null);
@@ -1997,14 +1997,14 @@ Check the top-level render call using <` + x + ">.");
1997
1997
  return;
1998
1998
  hr[x] = !0;
1999
1999
  var C = "";
2000
- t && t._owner && t._owner !== er.current && (C = " It was passed a child from " + ve(t._owner.type) + "."), ke(t), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, C), ke(null);
2000
+ t && t._owner && t._owner !== er.current && (C = " It was passed a child from " + ve(t._owner.type) + "."), Se(t), Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, C), Se(null);
2001
2001
  }
2002
2002
  }
2003
2003
  function br(t, m) {
2004
2004
  {
2005
2005
  if (typeof t != "object")
2006
2006
  return;
2007
- if (Ve(t))
2007
+ if (Ue(t))
2008
2008
  for (var x = 0; x < t.length; x++) {
2009
2009
  var C = t[x];
2010
2010
  $e(C) && yr(C, m);
@@ -2012,9 +2012,9 @@ Check the top-level render call using <` + x + ">.");
2012
2012
  else if ($e(t))
2013
2013
  t._store && (t._store.validated = !0);
2014
2014
  else if (t) {
2015
- var W = de(t);
2016
- if (typeof W == "function" && W !== t.entries)
2017
- for (var B = W.call(t), D; !(D = B.next()).done; )
2015
+ var B = de(t);
2016
+ if (typeof B == "function" && B !== t.entries)
2017
+ for (var V = B.call(t), D; !(D = V.next()).done; )
2018
2018
  $e(D.value) && yr(D.value, m);
2019
2019
  }
2020
2020
  }
@@ -2038,8 +2038,8 @@ Check the top-level render call using <` + x + ">.");
2038
2038
  _e(x, t.props, "prop", C, t);
2039
2039
  } else if (m.PropTypes !== void 0 && !Ye) {
2040
2040
  Ye = !0;
2041
- var W = ve(m);
2042
- Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", W || "Unknown");
2041
+ var B = ve(m);
2042
+ Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
2043
2043
  }
2044
2044
  typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2045
2045
  }
@@ -2049,15 +2049,15 @@ Check the top-level render call using <` + x + ">.");
2049
2049
  for (var m = Object.keys(t.props), x = 0; x < m.length; x++) {
2050
2050
  var C = m[x];
2051
2051
  if (C !== "children" && C !== "key") {
2052
- ke(t), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), ke(null);
2052
+ Se(t), Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), Se(null);
2053
2053
  break;
2054
2054
  }
2055
2055
  }
2056
- t.ref !== null && (ke(t), Y("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
2056
+ t.ref !== null && (Se(t), Y("Invalid attribute `ref` supplied to `React.Fragment`."), Se(null));
2057
2057
  }
2058
2058
  }
2059
- var qe = {};
2060
- function tr(t, m, x, C, W, B) {
2059
+ var He = {};
2060
+ function tr(t, m, x, C, B, V) {
2061
2061
  {
2062
2062
  var D = Oe(t);
2063
2063
  if (!D) {
@@ -2066,18 +2066,18 @@ Check the top-level render call using <` + x + ">.");
2066
2066
  var ue = ze();
2067
2067
  ue ? P += ue : P += Fe();
2068
2068
  var ee;
2069
- t === null ? ee = "null" : Ve(t) ? ee = "array" : t !== void 0 && t.$$typeof === a ? (ee = "<" + (ve(t.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof t, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, P);
2069
+ t === null ? ee = "null" : Ue(t) ? ee = "array" : t !== void 0 && t.$$typeof === a ? (ee = "<" + (ve(t.type) || "Unknown") + " />", P = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof t, Y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, P);
2070
2070
  }
2071
- var ne = $r(t, m, x, W, B);
2072
- if (ne == null)
2073
- return ne;
2071
+ var te = $r(t, m, x, B, V);
2072
+ if (te == null)
2073
+ return te;
2074
2074
  if (D) {
2075
2075
  var he = m.children;
2076
2076
  if (he !== void 0)
2077
2077
  if (C)
2078
- if (Ve(he)) {
2079
- for (var Se = 0; Se < he.length; Se++)
2080
- br(he[Se], t);
2078
+ if (Ue(he)) {
2079
+ for (var ke = 0; ke < he.length; ke++)
2080
+ br(he[ke], t);
2081
2081
  Object.freeze && Object.freeze(he);
2082
2082
  } else
2083
2083
  Y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
@@ -2088,32 +2088,32 @@ Check the top-level render call using <` + x + ">.");
2088
2088
  var we = ve(t), fe = Object.keys(m).filter(function(Yr) {
2089
2089
  return Yr !== "key";
2090
2090
  }), nr = fe.length > 0 ? "{key: someKey, " + fe.join(": ..., ") + ": ...}" : "{key: someKey}";
2091
- if (!qe[we + nr]) {
2092
- var Br = fe.length > 0 ? "{" + fe.join(": ..., ") + ": ...}" : "{}";
2091
+ if (!He[we + nr]) {
2092
+ var Vr = fe.length > 0 ? "{" + fe.join(": ..., ") + ": ...}" : "{}";
2093
2093
  Y(`A props object containing a "key" prop is being spread into JSX:
2094
2094
  let props = %s;
2095
2095
  <%s {...props} />
2096
2096
  React keys must be passed directly to JSX without using spread:
2097
2097
  let props = %s;
2098
- <%s key={someKey} {...props} />`, nr, we, Br, we), qe[we + nr] = !0;
2098
+ <%s key={someKey} {...props} />`, nr, we, Vr, we), He[we + nr] = !0;
2099
2099
  }
2100
2100
  }
2101
- return t === l ? Le(ne) : Lr(ne), ne;
2101
+ return t === l ? Le(te) : Lr(te), te;
2102
2102
  }
2103
2103
  }
2104
2104
  function Mr(t, m, x) {
2105
2105
  return tr(t, m, x, !0);
2106
2106
  }
2107
- function Wr(t, m, x) {
2107
+ function Br(t, m, x) {
2108
2108
  return tr(t, m, x, !1);
2109
2109
  }
2110
- var Ur = Wr, Vr = Mr;
2111
- sr.Fragment = l, sr.jsx = Ur, sr.jsxs = Vr;
2110
+ var Wr = Br, Ur = Mr;
2111
+ sr.Fragment = l, sr.jsx = Wr, sr.jsxs = Ur;
2112
2112
  }()), sr;
2113
2113
  }
2114
2114
  var Ft;
2115
2115
  function Qn() {
2116
- return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? Sr.exports = Xn() : Sr.exports = Zn()), Sr.exports;
2116
+ return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? kr.exports = Xn() : kr.exports = Zn()), kr.exports;
2117
2117
  }
2118
2118
  var n = Qn();
2119
2119
  at();
@@ -2129,40 +2129,40 @@ function ea() {
2129
2129
  (function() {
2130
2130
  var a = {}.hasOwnProperty;
2131
2131
  function u() {
2132
- for (var d = "", h = 0; h < arguments.length; h++) {
2132
+ for (var f = "", h = 0; h < arguments.length; h++) {
2133
2133
  var v = arguments[h];
2134
- v && (d = f(d, l(v)));
2134
+ v && (f = d(f, l(v)));
2135
2135
  }
2136
- return d;
2136
+ return f;
2137
2137
  }
2138
- function l(d) {
2139
- if (typeof d == "string" || typeof d == "number")
2140
- return d;
2141
- if (typeof d != "object")
2138
+ function l(f) {
2139
+ if (typeof f == "string" || typeof f == "number")
2140
+ return f;
2141
+ if (typeof f != "object")
2142
2142
  return "";
2143
- if (Array.isArray(d))
2144
- return u.apply(null, d);
2145
- if (d.toString !== Object.prototype.toString && !d.toString.toString().includes("[native code]"))
2146
- return d.toString();
2143
+ if (Array.isArray(f))
2144
+ return u.apply(null, f);
2145
+ if (f.toString !== Object.prototype.toString && !f.toString.toString().includes("[native code]"))
2146
+ return f.toString();
2147
2147
  var h = "";
2148
- for (var v in d)
2149
- a.call(d, v) && d[v] && (h = f(h, v));
2148
+ for (var v in f)
2149
+ a.call(f, v) && f[v] && (h = d(h, v));
2150
2150
  return h;
2151
2151
  }
2152
- function f(d, h) {
2153
- return h ? d ? d + " " + h : d + h : d;
2152
+ function d(f, h) {
2153
+ return h ? f ? f + " " + h : f + h : f;
2154
2154
  }
2155
2155
  o.exports ? (u.default = u, o.exports = u) : window.classNames = u;
2156
2156
  })();
2157
2157
  }(et)), et.exports;
2158
2158
  }
2159
2159
  var ra = ea();
2160
- const U = /* @__PURE__ */ Kn(ra), te = ({
2160
+ const W = /* @__PURE__ */ Gn(ra), ne = ({
2161
2161
  children: o,
2162
2162
  className: a,
2163
2163
  important: u = !1,
2164
2164
  onClick: l
2165
- }) => u ? /* @__PURE__ */ n.jsx("div", { className: "bb_", onClick: l, children: /* @__PURE__ */ n.jsx("div", { className: a, children: o }) }) : /* @__PURE__ */ n.jsx("div", { className: a, children: o }), He = ({ icon: o, className: a = "" }) => o ? /* @__PURE__ */ n.jsxs(te, { className: "blockbite--icon", children: [
2165
+ }) => u ? /* @__PURE__ */ n.jsx("div", { className: "bb_", onClick: l, children: /* @__PURE__ */ n.jsx("div", { className: a, children: o }) }) : /* @__PURE__ */ n.jsx("div", { className: a, children: o }), Ke = ({ icon: o, className: a = "" }) => o ? /* @__PURE__ */ n.jsxs(ne, { className: "blockbite--icon", children: [
2166
2166
  /* @__PURE__ */ n.jsx(o, { className: a }),
2167
2167
  " "
2168
2168
  ] }) : null, ta = tt(
@@ -2171,25 +2171,25 @@ const U = /* @__PURE__ */ Kn(ra), te = ({
2171
2171
  className: a,
2172
2172
  value: u,
2173
2173
  variant: l = "secondary",
2174
- defaultPressed: f,
2175
- onPressedChange: d,
2174
+ defaultPressed: d,
2175
+ onPressedChange: f,
2176
2176
  icon: h,
2177
2177
  size: v = "compact",
2178
2178
  display: g = "auto",
2179
2179
  label: p
2180
2180
  }) => {
2181
2181
  const [j, _] = F(!1);
2182
- K(() => {
2183
- _(f === u);
2184
- }, [f]);
2185
- const O = Wt(() => {
2186
- _((T) => !T), d(u);
2187
- }, [j, d]);
2182
+ G(() => {
2183
+ _(d === u);
2184
+ }, [d]);
2185
+ const O = Bt(() => {
2186
+ _((T) => !T), f(u);
2187
+ }, [j, f]);
2188
2188
  return /* @__PURE__ */ n.jsxs(
2189
2189
  ye,
2190
2190
  {
2191
2191
  "aria-label": p,
2192
- className: U(a, "blockbite-ui__button--default"),
2192
+ className: W(a, "blockbite-ui__button--default"),
2193
2193
  value: u,
2194
2194
  size: v,
2195
2195
  label: p,
@@ -2198,7 +2198,7 @@ const U = /* @__PURE__ */ Kn(ra), te = ({
2198
2198
  isPressed: j,
2199
2199
  onClick: O,
2200
2200
  children: [
2201
- h && /* @__PURE__ */ n.jsx(He, { icon: h }),
2201
+ h && /* @__PURE__ */ n.jsx(Ke, { icon: h }),
2202
2202
  g !== "icon" ? o : null,
2203
2203
  p && !o && g !== "icon" ? /* @__PURE__ */ n.jsx("span", { children: p }) : null
2204
2204
  ]
@@ -2211,83 +2211,83 @@ const U = /* @__PURE__ */ Kn(ra), te = ({
2211
2211
  defaultPressed: a = "",
2212
2212
  toggle: u = !0,
2213
2213
  display: l = "auto",
2214
- options: f,
2215
- size: d = "compact",
2214
+ options: d,
2215
+ size: f = "compact",
2216
2216
  tabs: h = !1,
2217
2217
  variant: v = "secondary",
2218
2218
  stretch: g = !1,
2219
2219
  onPressedChange: p
2220
2220
  }) => {
2221
2221
  const [j, _] = F(a);
2222
- K(() => {
2222
+ G(() => {
2223
2223
  _(a);
2224
2224
  }, [a]);
2225
- const O = Wt(
2226
- (S) => {
2227
- const ae = u && j === S ? "" : S;
2225
+ const O = Bt(
2226
+ (k) => {
2227
+ const ae = u && j === k ? "" : k;
2228
2228
  _(ae), p?.(ae);
2229
2229
  },
2230
2230
  [j, p, u]
2231
- ), T = (S) => l === "icon" && S?.icon ? /* @__PURE__ */ n.jsx(He, { icon: S.icon }) : l === "label" ? /* @__PURE__ */ n.jsx("span", { children: S.label }) : /* @__PURE__ */ n.jsxs("span", { className: "flex items-center justify-center gap-1", children: [
2232
- S.icon && /* @__PURE__ */ n.jsx(He, { icon: S.icon }),
2233
- /* @__PURE__ */ n.jsx("span", { children: S.label })
2231
+ ), T = (k) => l === "icon" && k?.icon ? /* @__PURE__ */ n.jsx(Ke, { icon: k.icon }) : l === "label" ? /* @__PURE__ */ n.jsx("span", { children: k.label }) : /* @__PURE__ */ n.jsxs("span", { className: "flex items-center justify-center gap-1", children: [
2232
+ k.icon && /* @__PURE__ */ n.jsx(Ke, { icon: k.icon }),
2233
+ /* @__PURE__ */ n.jsx("span", { children: k.label })
2234
2234
  ] });
2235
2235
  return /* @__PURE__ */ n.jsx(
2236
- te,
2236
+ ne,
2237
2237
  {
2238
- className: U(
2238
+ className: W(
2239
2239
  "blockbite-ui__button-group flex flex-wrap gap-1",
2240
2240
  o,
2241
2241
  h ? "blockbite-ui__button-group--tabs" : ""
2242
2242
  ),
2243
- children: f.map((S, ae) => /* @__PURE__ */ n.jsxs(
2243
+ children: d.map((k, ae) => /* @__PURE__ */ n.jsxs(
2244
2244
  ye,
2245
2245
  {
2246
- className: U("blockbite-ui__button--default", {
2246
+ className: W("blockbite-ui__button--default", {
2247
2247
  grow: g,
2248
2248
  "justify-center": g
2249
2249
  }),
2250
- "aria-label": S.label,
2250
+ "aria-label": k.label,
2251
2251
  showTooltip: !0,
2252
- value: S.value,
2253
- size: d,
2254
- label: S?.tooltip || S.label,
2252
+ value: k.value,
2253
+ size: f,
2254
+ label: k?.tooltip || k.label,
2255
2255
  variant: v,
2256
- isPressed: j === S.value,
2257
- onClick: () => O(S.value),
2256
+ isPressed: j === k.value,
2257
+ onClick: () => O(k.value),
2258
2258
  children: [
2259
- T(S),
2260
- S.children && S.children
2259
+ T(k),
2260
+ k.children && k.children
2261
2261
  ]
2262
2262
  },
2263
- `ButtonToggleGroup__${S.value}__${S.label}__${ae}`
2263
+ `ButtonToggleGroup__${k.value}__${k.label}__${ae}`
2264
2264
  ))
2265
2265
  }
2266
2266
  );
2267
2267
  }
2268
2268
  );
2269
- function ka({
2269
+ function Sa({
2270
2270
  defaultValue: o,
2271
2271
  options: a,
2272
2272
  swatch: u,
2273
2273
  onPressedChange: l
2274
2274
  }) {
2275
- const [f, d] = F(""), [h, v] = F([]);
2276
- return K(() => {
2275
+ const [d, f] = F(""), [h, v] = F([]);
2276
+ return G(() => {
2277
2277
  v(
2278
2278
  a.filter(
2279
- (g) => g.label.toLowerCase().includes(f.toLowerCase())
2279
+ (g) => g.label.toLowerCase().includes(d.toLowerCase())
2280
2280
  )
2281
2281
  );
2282
- }, [f, a]), K(() => {
2283
- d(""), v(a);
2282
+ }, [d, a]), G(() => {
2283
+ f(""), v(a);
2284
2284
  }, [o, a]), /* @__PURE__ */ n.jsx(
2285
2285
  wn,
2286
2286
  {
2287
2287
  className: "option-panel-dropdown",
2288
2288
  contentClassName: "option-panel-dropdown-content",
2289
2289
  popoverProps: { placement: "bottom-start" },
2290
- renderToggle: ({ isOpen: g, onToggle: p }) => /* @__PURE__ */ n.jsx(te, { important: !0, children: /* @__PURE__ */ n.jsx(
2290
+ renderToggle: ({ isOpen: g, onToggle: p }) => /* @__PURE__ */ n.jsx(ne, { important: !0, children: /* @__PURE__ */ n.jsx(
2291
2291
  ye,
2292
2292
  {
2293
2293
  variant: "secondary",
@@ -2298,7 +2298,7 @@ function ka({
2298
2298
  u && /* @__PURE__ */ n.jsx(
2299
2299
  "div",
2300
2300
  {
2301
- className: U(
2301
+ className: W(
2302
2302
  `h-3 w-3 rounded-full bg-${o}`
2303
2303
  )
2304
2304
  }
@@ -2308,13 +2308,15 @@ function ka({
2308
2308
  ] })
2309
2309
  }
2310
2310
  ) }),
2311
- renderContent: () => /* @__PURE__ */ n.jsx(te, { important: !0, children: /* @__PURE__ */ n.jsxs("div", { className: "w-52", children: [
2311
+ renderContent: () => /* @__PURE__ */ n.jsx(ne, { important: !0, children: /* @__PURE__ */ n.jsxs("div", { className: "w-52", children: [
2312
2312
  /* @__PURE__ */ n.jsx(
2313
2313
  rt,
2314
2314
  {
2315
+ __next40pxDefaultSize: !0,
2316
+ __nextHasNoMarginBottom: !0,
2315
2317
  label: "Search options",
2316
- value: f,
2317
- onChange: (g) => d(g),
2318
+ value: d,
2319
+ onChange: (g) => f(g),
2318
2320
  autoComplete: "off"
2319
2321
  }
2320
2322
  ),
@@ -2323,7 +2325,7 @@ function ka({
2323
2325
  h.map((g, p) => /* @__PURE__ */ n.jsxs(
2324
2326
  ta,
2325
2327
  {
2326
- className: U({
2328
+ className: W({
2327
2329
  "bg-primary": g.value
2328
2330
  }),
2329
2331
  size: "small",
@@ -2336,7 +2338,7 @@ function ka({
2336
2338
  u && /* @__PURE__ */ n.jsx(
2337
2339
  "div",
2338
2340
  {
2339
- className: U(
2341
+ className: W(
2340
2342
  `mr-3 h-3 w-3 rounded-full bg-${g.value}`
2341
2343
  )
2342
2344
  }
@@ -2355,7 +2357,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2355
2357
  "div",
2356
2358
  {
2357
2359
  onClick: l,
2358
- className: U(
2360
+ className: W(
2359
2361
  a,
2360
2362
  "inline-flex items-center rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-800"
2361
2363
  ),
@@ -2364,14 +2366,14 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2364
2366
  o
2365
2367
  ]
2366
2368
  }
2367
- ), Sa = ({ htmlContent: o, cssContent: a, frontendAssets: u }) => {
2368
- const l = lr(null), [f, d] = F(null);
2369
- return K(() => {
2369
+ ), ka = ({ htmlContent: o, cssContent: a, frontendAssets: u }) => {
2370
+ const l = lr(null), [d, f] = F(null);
2371
+ return G(() => {
2370
2372
  const h = l.current;
2371
2373
  return h && (h.onload = () => {
2372
2374
  const v = h.contentDocument || h.contentWindow.document;
2373
2375
  if (v) {
2374
- d(v.body);
2376
+ f(v.body);
2375
2377
  const g = v.createElement("style");
2376
2378
  g.innerHTML = a, v.head.appendChild(g), u.forEach(({ type: p, id: j, url: _ }) => {
2377
2379
  const O = document.getElementById(j);
@@ -2407,7 +2409,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2407
2409
  height: "100%"
2408
2410
  }
2409
2411
  ),
2410
- f && Ut(
2412
+ d && Wt(
2411
2413
  /* @__PURE__ */ n.jsx("div", { className: "b_", children: /* @__PURE__ */ n.jsx(
2412
2414
  "div",
2413
2415
  {
@@ -2415,7 +2417,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2415
2417
  dangerouslySetInnerHTML: { __html: o }
2416
2418
  }
2417
2419
  ) }),
2418
- f
2420
+ d
2419
2421
  )
2420
2422
  ]
2421
2423
  }
@@ -2425,8 +2427,8 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2425
2427
  size: a = "default",
2426
2428
  label: u,
2427
2429
  className: l,
2428
- onClick: f,
2429
- variant: d = "primary",
2430
+ onClick: d,
2431
+ variant: f = "primary",
2430
2432
  display: h = "auto",
2431
2433
  icon: v,
2432
2434
  disabled: g = !1
@@ -2436,27 +2438,27 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2436
2438
  ye,
2437
2439
  {
2438
2440
  size: a,
2439
- variant: d,
2441
+ variant: f,
2440
2442
  label: u,
2441
2443
  showTooltip: !0,
2442
2444
  disabled: g,
2443
- className: U(
2445
+ className: W(
2444
2446
  l,
2445
2447
  "blockbite-ui__button",
2446
2448
  "flex items-center justify-center gap-1",
2447
- { "is-primary": d === "primary" },
2448
- { "is-secondary": d === "secondary" },
2449
- { "is-link": d === "link" },
2450
- { "is-tertiary": d === "tertiary" },
2449
+ { "is-primary": f === "primary" },
2450
+ { "is-secondary": f === "secondary" },
2451
+ { "is-link": f === "link" },
2452
+ { "is-tertiary": f === "tertiary" },
2451
2453
  { "is-icon": h === "icon" }
2452
2454
  ),
2453
- onClick: f,
2455
+ onClick: d,
2454
2456
  children: [
2455
2457
  v && /* @__PURE__ */ n.jsx(
2456
- He,
2458
+ Ke,
2457
2459
  {
2458
2460
  icon: v,
2459
- className: U({ "h-4 w-4": h === "icon-lg" })
2461
+ className: W({ "h-4 w-4": h === "icon-lg" })
2460
2462
  }
2461
2463
  ),
2462
2464
  p ? null : o,
@@ -2465,51 +2467,50 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2465
2467
  }
2466
2468
  );
2467
2469
  }, Oa = ({ children: o, title: a }) => /* @__PURE__ */ n.jsxs(
2468
- te,
2470
+ ne,
2469
2471
  {
2470
- className: U(
2472
+ className: W(
2471
2473
  "text-gray-medium my-2 flex items-center gap-1 text-[12px] font-medium",
2472
- U
2474
+ W
2473
2475
  ),
2474
2476
  children: [
2475
- a && /* @__PURE__ */ n.jsx(te, { className: "font-medium", children: a }),
2477
+ a && /* @__PURE__ */ n.jsx(ne, { className: "font-medium", children: a }),
2476
2478
  o
2477
2479
  ]
2478
2480
  }
2479
2481
  ), Pa = ({
2480
- id: o = "",
2481
- title: a,
2482
- className: u,
2483
- help: l,
2484
- badge: f
2485
- }) => /* @__PURE__ */ n.jsxs("div", { ...o ? { id: o } : null, className: U("mb-4", u), children: [
2482
+ title: o,
2483
+ className: a,
2484
+ help: u,
2485
+ badge: l,
2486
+ ...d
2487
+ }) => /* @__PURE__ */ n.jsxs("div", { className: W("mb-2", a), ...d, children: [
2486
2488
  /* @__PURE__ */ n.jsxs("div", { className: "flex w-full flex-wrap items-center gap-2 justify-between", children: [
2487
- /* @__PURE__ */ n.jsx("small", { className: "shrink-1 text-[12px]", children: a }),
2488
- !!f && /* @__PURE__ */ n.jsx(aa, { className: "text-[.65rem] py-px px-1", children: f }),
2489
- /* @__PURE__ */ n.jsx("span", { className: "h-[1px] w-full bg-easy" })
2489
+ /* @__PURE__ */ n.jsx("span", { className: "shrink-1 text-[11px] font-medium uppercase leading-snug", children: o }),
2490
+ !!l && /* @__PURE__ */ n.jsx(aa, { className: "text-[10px] py-px px-1", children: l })
2490
2491
  ] }),
2491
- l && /* @__PURE__ */ n.jsx("small", { className: "w-full shrink-0 text-[12px]", children: l })
2492
+ u && /* @__PURE__ */ n.jsx("small", { className: "w-full shrink-0 text-[11px]", children: u })
2492
2493
  ] }), Na = ({ label: o, help: a, defaultChecked: u }) => {
2493
- const [l, f] = F(u);
2494
- return K(() => {
2495
- f(u);
2496
- }, [u]), /* @__PURE__ */ n.jsx(te, { className: "blockbite-ui__checkbox mx-1 flex items-center gap-2", children: /* @__PURE__ */ n.jsx(
2494
+ const [l, d] = F(u);
2495
+ return G(() => {
2496
+ d(u);
2497
+ }, [u]), /* @__PURE__ */ n.jsx(ne, { className: "blockbite-ui__checkbox mx-1 flex items-center gap-2", children: /* @__PURE__ */ n.jsx(
2497
2498
  En,
2498
2499
  {
2499
2500
  label: o,
2500
2501
  help: a,
2501
2502
  checked: l,
2502
- onChange: f
2503
+ onChange: d
2503
2504
  }
2504
2505
  ) });
2505
- }, ot = Vn(
2506
+ }, ot = Un(
2506
2507
  ({
2507
2508
  onClick: o,
2508
2509
  onChange: a,
2509
2510
  className: u,
2510
2511
  defaultValue: l,
2511
- children: f,
2512
- inputClassName: d,
2512
+ children: d,
2513
+ inputClassName: f,
2513
2514
  readOnly: h,
2514
2515
  placeholder: v,
2515
2516
  onBlur: g,
@@ -2518,21 +2519,21 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2518
2519
  helper: _ = "",
2519
2520
  ...O
2520
2521
  }, T) => {
2521
- const S = `text-control-${Math.random().toString(36).substring(2, 15)}`;
2522
+ const k = `text-control-${Math.random().toString(36).substring(2, 15)}`;
2522
2523
  return /* @__PURE__ */ n.jsxs(
2523
2524
  "div",
2524
2525
  {
2525
- className: U("flex items-center p-0", u),
2526
+ className: W("flex items-center p-0", u),
2526
2527
  ...O,
2527
2528
  children: [
2528
- j ? /* @__PURE__ */ n.jsx("label", { htmlFor: S, className: "text-primary !m-0 !mb-0 !mr-2", children: j }) : null,
2529
+ j ? /* @__PURE__ */ n.jsx("label", { htmlFor: k, className: "text-primary !m-0 !mb-0 !mr-2", children: j }) : null,
2529
2530
  /* @__PURE__ */ n.jsx(
2530
2531
  "input",
2531
2532
  {
2532
- id: S,
2533
- className: U(
2533
+ id: k,
2534
+ className: W(
2534
2535
  "border-primary !m-0 !mb-0 h-[32px] !rounded-none border border-opacity-70 focus:outline-none focus:ring-0",
2535
- d
2536
+ f
2536
2537
  ),
2537
2538
  type: p,
2538
2539
  value: l,
@@ -2546,7 +2547,7 @@ const aa = ({ children: o, className: a, label: u, onClick: l }) => /* @__PURE__
2546
2547
  ref: T
2547
2548
  }
2548
2549
  ),
2549
- /* @__PURE__ */ n.jsx("span", { children: f }),
2550
+ /* @__PURE__ */ n.jsx("span", { children: d }),
2550
2551
  _ && /* @__PURE__ */ n.jsx("p", { className: "text-primary !m-0 !mb-0 text-xs", children: _ })
2551
2552
  ]
2552
2553
  }
@@ -2559,8 +2560,8 @@ const Aa = ({
2559
2560
  active: a,
2560
2561
  setActive: u,
2561
2562
  onCreate: l,
2562
- onDelete: f,
2563
- onUpdate: d,
2563
+ onDelete: d,
2564
+ onUpdate: f,
2564
2565
  onSwitch: h,
2565
2566
  renderItemActions: v,
2566
2567
  addons: g,
@@ -2571,27 +2572,27 @@ const Aa = ({
2571
2572
  const [O, T] = F({
2572
2573
  id: "",
2573
2574
  name: ""
2574
- }), [S, ae] = F(!1), de = lr(null), A = () => {
2575
+ }), [k, ae] = F(!1), de = lr(null), A = () => {
2575
2576
  l();
2576
2577
  }, Y = () => {
2577
2578
  if (!a || o.length === 0) return;
2578
- const H = o.filter((pe) => pe.id !== a?.id), X = o.findIndex((pe) => pe.id === a?.id), ie = H[X] || H[0];
2579
- f(a?.id), u(ie);
2580
- }, ge = (H) => {
2581
- ae(!0), O.id && d(O.id, { name: H }), setTimeout(() => {
2579
+ const K = o.filter((pe) => pe.id !== a?.id), X = o.findIndex((pe) => pe.id === a?.id), ie = K[X] || K[0];
2580
+ d(a?.id), u(ie);
2581
+ }, ge = (K) => {
2582
+ ae(!0), O.id && f(O.id, { name: K }), setTimeout(() => {
2582
2583
  T({ id: "", name: "" }), ae(!1);
2583
2584
  }, 500);
2584
2585
  };
2585
- return /* @__PURE__ */ n.jsxs(te, { important: !0, className: p, children: [
2586
+ return /* @__PURE__ */ n.jsxs(ne, { important: !0, className: p, children: [
2586
2587
  /* @__PURE__ */ n.jsxs("ul", { className: "h-[calc(100%-80px)] divide-y overflow-auto", children: [
2587
2588
  g,
2588
- o.length > 0 && /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("ul", { className: "divide-y border-b", children: o.map((H) => /* @__PURE__ */ n.jsxs(
2589
+ o.length > 0 && /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx("ul", { className: "divide-y border-b", children: o.map((K) => /* @__PURE__ */ n.jsxs(
2589
2590
  "li",
2590
2591
  {
2591
- className: U(
2592
+ className: W(
2592
2593
  "relative m-0 flex items-center justify-between gap-1 bg-opacity-50 hover:bg-easy",
2593
2594
  {
2594
- "bg-easy": H.id === a?.id
2595
+ "bg-easy": K.id === a?.id
2595
2596
  }
2596
2597
  ),
2597
2598
  children: [
@@ -2601,18 +2602,18 @@ const Aa = ({
2601
2602
  {
2602
2603
  className: "text-gray-medium w-full truncate px-3 py-2 text-left text-sm/6 font-semibold hover:text-wordpress",
2603
2604
  onClick: () => {
2604
- h(a?.id, { ...a }), u(H);
2605
+ h(a?.id, { ...a }), u(K);
2605
2606
  },
2606
2607
  onDoubleClick: () => {
2607
- T({ id: H.id, name: H.name || "" });
2608
+ T({ id: K.id, name: K.name || "" });
2608
2609
  },
2609
- children: S && O.id === H.id ? /* @__PURE__ */ n.jsx("span", { className: "animate-pulse text-gray-medium", children: O.name }) : /* @__PURE__ */ n.jsx("span", { className: "text-gray-medium", children: H.name || "Untitled" })
2610
+ children: k && O.id === K.id ? /* @__PURE__ */ n.jsx("span", { className: "animate-pulse text-gray-medium", children: O.name }) : /* @__PURE__ */ n.jsx("span", { className: "text-gray-medium", children: K.name || "Untitled" })
2610
2611
  }
2611
2612
  ),
2612
- O.id === H.id && !S && /* @__PURE__ */ n.jsx(
2613
+ O.id === K.id && !k && /* @__PURE__ */ n.jsx(
2613
2614
  ot,
2614
2615
  {
2615
- className: "absolute left-1 top-0 w-full h-full",
2616
+ className: "absolute left-1 top-0 w-[calc(100%-.5rem)] h-full",
2616
2617
  inputClassName: "w-full",
2617
2618
  defaultValue: O.name,
2618
2619
  onChange: (X) => T({ ...O, name: X }),
@@ -2621,16 +2622,16 @@ const Aa = ({
2621
2622
  }
2622
2623
  )
2623
2624
  ] }),
2624
- v && /* @__PURE__ */ n.jsx("div", { className: "flex gap-1 pr-1", children: v(H) })
2625
+ v && /* @__PURE__ */ n.jsx("div", { className: "flex gap-1 pr-1", children: v(K) })
2625
2626
  ]
2626
2627
  },
2627
- `data__${H.id}`
2628
+ `data__${K.id}`
2628
2629
  )) }) })
2629
2630
  ] }),
2630
2631
  /* @__PURE__ */ n.jsxs(
2631
2632
  "div",
2632
2633
  {
2633
- className: U(
2634
+ className: W(
2634
2635
  "flex flex-wrap justify-center gap-2 p-2",
2635
2636
  _
2636
2637
  ),
@@ -2666,24 +2667,24 @@ const Aa = ({
2666
2667
  className: a,
2667
2668
  children: u,
2668
2669
  show: l,
2669
- message: f
2670
+ message: d
2670
2671
  }) => {
2671
- const [d, h] = F(!1), v = lr(!1), g = lr(null);
2672
- return K(() => {
2672
+ const [f, h] = F(!1), v = lr(!1), g = lr(null);
2673
+ return G(() => {
2673
2674
  v.current = !0;
2674
- }, []), K(() => {
2675
+ }, []), G(() => {
2675
2676
  if (v.current)
2676
2677
  return l && (h(!0), g.current = setTimeout(() => {
2677
2678
  h(!1);
2678
2679
  }, o)), () => {
2679
2680
  g.current && clearTimeout(g.current);
2680
2681
  };
2681
- }, [l, o]), d ? /* @__PURE__ */ n.jsx(
2682
- te,
2682
+ }, [l, o]), f ? /* @__PURE__ */ n.jsx(
2683
+ ne,
2683
2684
  {
2684
2685
  important: !0,
2685
- className: U("bb-ui__disappearing-message", a),
2686
- children: /* @__PURE__ */ n.jsx("div", { className: "bb-ui__disappearing-message__content", children: f ?? u })
2686
+ className: W("bb-ui__disappearing-message", a),
2687
+ children: /* @__PURE__ */ n.jsx("div", { className: "bb-ui__disappearing-message__content", children: d ?? u })
2687
2688
  }
2688
2689
  ) : null;
2689
2690
  }, oa = ({
@@ -2691,29 +2692,29 @@ const Aa = ({
2691
2692
  className: a,
2692
2693
  defaultValue: u,
2693
2694
  defaultIcon: l = hn,
2694
- onPressedChange: f,
2695
- options: d
2695
+ onPressedChange: d,
2696
+ options: f
2696
2697
  }) => {
2697
2698
  const [h, v] = F(null);
2698
- K(() => {
2699
+ G(() => {
2699
2700
  v(u);
2700
2701
  }, [u]);
2701
2702
  const g = [
2702
- ...d.map((p) => ({
2703
+ ...f.map((p) => ({
2703
2704
  icon: p.icon,
2704
2705
  label: p.label,
2705
2706
  title: p.label,
2706
2707
  value: p.value,
2707
2708
  onClick: () => {
2708
- v(p.value), f(p.value);
2709
+ v(p.value), d(p.value);
2709
2710
  }
2710
2711
  })),
2711
2712
  {
2712
- icon: /* @__PURE__ */ n.jsx(He, { icon: l }),
2713
+ icon: /* @__PURE__ */ n.jsx(Ke, { icon: l }),
2713
2714
  title: "Reset",
2714
2715
  value: "reset",
2715
2716
  onClick: () => {
2716
- v("reset"), f("reset");
2717
+ v("reset"), d("reset");
2717
2718
  }
2718
2719
  }
2719
2720
  ];
@@ -2721,11 +2722,11 @@ const Aa = ({
2721
2722
  Rn,
2722
2723
  {
2723
2724
  controls: g,
2724
- className: U(
2725
+ className: W(
2725
2726
  "blockbite-ui__dropdown-picker border-primary border",
2726
2727
  a
2727
2728
  ),
2728
- icon: d.find((p) => p.value === h)?.icon || /* @__PURE__ */ n.jsx(He, { icon: l }),
2729
+ icon: f.find((p) => p.value === h)?.icon || /* @__PURE__ */ n.jsx(Ke, { icon: l }),
2729
2730
  label: o || "Select"
2730
2731
  }
2731
2732
  );
@@ -2735,9 +2736,9 @@ function Da({
2735
2736
  title: a,
2736
2737
  description: u,
2737
2738
  children: l = null,
2738
- ...f
2739
+ ...d
2739
2740
  }) {
2740
- return /* @__PURE__ */ n.jsx("div", { ...f, children: /* @__PURE__ */ n.jsx("div", { className: "flex h-full w-full flex-col items-center justify-center text-center !font-sans", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-sm", children: [
2741
+ return /* @__PURE__ */ n.jsx("div", { ...d, children: /* @__PURE__ */ n.jsx("div", { className: "flex h-full w-full flex-col items-center justify-center text-center !font-sans", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-sm", children: [
2741
2742
  o && /* @__PURE__ */ n.jsx("div", { className: "mx-auto !text-gray-400", children: o }),
2742
2743
  /* @__PURE__ */ n.jsx("h3", { className: "text-gray-medium mt-2 !font-sans text-sm font-medium", children: a }),
2743
2744
  /* @__PURE__ */ n.jsx("p", { className: "mt-1 !font-sans text-sm !text-gray-500", children: u }),
@@ -2747,21 +2748,21 @@ function Da({
2747
2748
  function $a({
2748
2749
  children: o
2749
2750
  }) {
2750
- const a = lr(null), [u, l] = F({ x: 100, y: 100 }), [f, d] = F(!1), [h, v] = F({ x: 0, y: 0 });
2751
- K(() => {
2751
+ const a = lr(null), [u, l] = F({ x: 100, y: 100 }), [d, f] = F(!1), [h, v] = F({ x: 0, y: 0 });
2752
+ G(() => {
2752
2753
  const p = (_) => {
2753
- f && l({
2754
+ d && l({
2754
2755
  x: _.clientX - h.x,
2755
2756
  y: _.clientY - h.y
2756
2757
  });
2757
- }, j = () => d(!1);
2758
+ }, j = () => f(!1);
2758
2759
  return window.addEventListener("mousemove", p), window.addEventListener("mouseup", j), () => {
2759
2760
  window.removeEventListener("mousemove", p), window.removeEventListener("mouseup", j);
2760
2761
  };
2761
- }, [f, h]);
2762
+ }, [d, h]);
2762
2763
  const g = (p) => {
2763
2764
  const j = a.current.getBoundingClientRect();
2764
- v({ x: p.clientX - j.left, y: p.clientY - j.top }), d(!0);
2765
+ v({ x: p.clientX - j.left, y: p.clientY - j.top }), f(!0);
2765
2766
  };
2766
2767
  return /* @__PURE__ */ n.jsx("div", { className: "bb_", children: /* @__PURE__ */ n.jsxs(
2767
2768
  "div",
@@ -2787,53 +2788,55 @@ const Fa = ({
2787
2788
  onValueChange: a,
2788
2789
  url: u
2789
2790
  }) => {
2790
- const [l, f] = F({
2791
+ const [l, d] = F({
2791
2792
  x: 0.5,
2792
2793
  y: 0.5
2793
2794
  });
2794
- return K(() => {
2795
+ return G(() => {
2795
2796
  a(
2796
2797
  `[${(l.x * 100).toFixed(2)}%_${(l.y * 100).toFixed(
2797
2798
  2
2798
2799
  )}%]`
2799
2800
  );
2800
- }, [l]), K(() => {
2801
+ }, [l]), G(() => {
2801
2802
  if (o.includes("%")) {
2802
- const [d, h] = o.replace("[", "").replace("%]", "").split("_").map((v) => parseFloat(v) / 100);
2803
- f({
2804
- x: d,
2803
+ const [f, h] = o.replace("[", "").replace("%]", "").split("_").map((v) => parseFloat(v) / 100);
2804
+ d({
2805
+ x: f,
2805
2806
  y: h
2806
2807
  });
2807
2808
  }
2808
- }, [o]), /* @__PURE__ */ n.jsx(te, { className: "relative flex flex-col", children: /* @__PURE__ */ n.jsx(
2809
- kn,
2809
+ }, [o]), /* @__PURE__ */ n.jsx(ne, { className: "relative flex flex-col", children: /* @__PURE__ */ n.jsx(
2810
+ Sn,
2810
2811
  {
2811
2812
  url: u,
2812
2813
  value: l,
2813
- onDrag: (d) => f(d),
2814
- onChange: (d) => f(d)
2814
+ onDrag: (f) => d(f),
2815
+ onChange: (f) => d(f)
2815
2816
  }
2816
2817
  ) });
2817
2818
  };
2818
2819
  function La(o) {
2819
- const [a, u] = F(""), [l, f] = F([]), [d, h] = F({
2820
+ const [a, u] = F(""), [l, d] = F([]), [f, h] = F({
2820
2821
  url: "",
2821
2822
  title: ""
2822
2823
  });
2823
- return K(() => {
2824
- a !== "" && (f(null), Yn({
2824
+ return G(() => {
2825
+ a !== "" && (d(null), Yn({
2825
2826
  path: `/blockbite/v1/block-helpers/get-links/${a}`
2826
2827
  }).then(
2827
2828
  (v) => {
2828
- v?.length ? f([...v]) : f([]);
2829
+ v?.length ? d([...v]) : d([]);
2829
2830
  }
2830
2831
  ));
2831
- }, [a]), K(() => {
2832
- d.url !== "" && o.parentCallback(d);
2833
- }, [d]), /* @__PURE__ */ n.jsxs(te, { className: "blockbite--editor-linkwrap", children: [
2832
+ }, [a]), G(() => {
2833
+ f.url !== "" && o.parentCallback(f);
2834
+ }, [f]), /* @__PURE__ */ n.jsxs(ne, { className: "blockbite--editor-linkwrap", children: [
2834
2835
  /* @__PURE__ */ n.jsx(
2835
2836
  rt,
2836
2837
  {
2838
+ __next40pxDefaultSize: !0,
2839
+ __nextHasNoMarginBottom: !0,
2837
2840
  label: Me("Search link", "blockbitelinks"),
2838
2841
  value: a,
2839
2842
  placeholder: "Example: About",
@@ -2858,7 +2861,7 @@ function sa({ links: o, onActiveLink: a }) {
2858
2861
  return /* @__PURE__ */ n.jsx("p", { children: "Loading..." });
2859
2862
  if (o.length === 0)
2860
2863
  return /* @__PURE__ */ n.jsx("p", { children: "No Results" });
2861
- const u = o.map((l) => /* @__PURE__ */ n.jsx(te, { children: /* @__PURE__ */ n.jsxs(
2864
+ const u = o.map((l) => /* @__PURE__ */ n.jsx(ne, { children: /* @__PURE__ */ n.jsxs(
2862
2865
  "span",
2863
2866
  {
2864
2867
  className: "blockbite--editor-link",
@@ -2880,7 +2883,7 @@ function Ma({ mediaProps: o, mediaCallback: a }) {
2880
2883
  "svg",
2881
2884
  "text/plain",
2882
2885
  "application/json"
2883
- ], [l, f] = F({
2886
+ ], [l, d] = F({
2884
2887
  id: null,
2885
2888
  url: "",
2886
2889
  sizes: [],
@@ -2889,10 +2892,10 @@ function Ma({ mediaProps: o, mediaCallback: a }) {
2889
2892
  width: 0,
2890
2893
  height: 0
2891
2894
  });
2892
- K(() => {
2893
- o && f({ ...o });
2895
+ G(() => {
2896
+ o && d({ ...o });
2894
2897
  }, [o]);
2895
- const d = () => {
2898
+ const f = () => {
2896
2899
  a({ ...{
2897
2900
  mediaId: 0,
2898
2901
  mediaUrl: ""
@@ -2918,7 +2921,7 @@ function Ma({ mediaProps: o, mediaCallback: a }) {
2918
2921
  };
2919
2922
  a({ ...p });
2920
2923
  };
2921
- return /* @__PURE__ */ n.jsxs(Sn, { children: [
2924
+ return /* @__PURE__ */ n.jsxs(kn, { children: [
2922
2925
  l.id !== null && /* @__PURE__ */ n.jsx(Qr, { children: /* @__PURE__ */ n.jsx(
2923
2926
  Pt,
2924
2927
  {
@@ -2954,7 +2957,7 @@ function Ma({ mediaProps: o, mediaCallback: a }) {
2954
2957
  render: ({ open: v }) => /* @__PURE__ */ n.jsx(ye, { onClick: v, children: Me("Replace media", "blockbite") })
2955
2958
  }
2956
2959
  ) }),
2957
- l.id !== 0 && /* @__PURE__ */ n.jsx(Qr, { children: /* @__PURE__ */ n.jsx(ye, { onClick: () => d(), isDestructive: !0, children: Me("Remove media", "blockbite") }) })
2960
+ l.id !== 0 && /* @__PURE__ */ n.jsx(Qr, { children: /* @__PURE__ */ n.jsx(ye, { onClick: () => f(), isDestructive: !0, children: Me("Remove media", "blockbite") }) })
2958
2961
  ] });
2959
2962
  }
2960
2963
  const ia = ({
@@ -2962,25 +2965,25 @@ const ia = ({
2962
2965
  className: a,
2963
2966
  position: u,
2964
2967
  visible: l,
2965
- onClick: f,
2966
- onVisibleChange: d
2968
+ onClick: d,
2969
+ onVisibleChange: f
2967
2970
  }) => {
2968
2971
  const [h, v] = F(!!l);
2969
- K(() => {
2972
+ G(() => {
2970
2973
  l !== void 0 && v(l);
2971
2974
  }, [l]);
2972
2975
  const g = () => {
2973
2976
  const p = !h;
2974
- v(p), d && d(p);
2977
+ v(p), f && f(p);
2975
2978
  };
2976
2979
  return /* @__PURE__ */ n.jsx(n.Fragment, { children: h && /* @__PURE__ */ n.jsx(
2977
2980
  Tn,
2978
2981
  {
2979
2982
  position: u,
2980
2983
  className: "blockbite-ui__popover bb_",
2981
- onClick: f,
2984
+ onClick: d,
2982
2985
  onFocusOutside: () => {
2983
- v(!1), d && d(!1);
2986
+ v(!1), f && f(!1);
2984
2987
  },
2985
2988
  children: /* @__PURE__ */ n.jsx("div", { className: a, children: /* @__PURE__ */ n.jsxs("div", { className: "relative h-full w-full p-4", children: [
2986
2989
  /* @__PURE__ */ n.jsx(
@@ -3001,30 +3004,32 @@ const ia = ({
3001
3004
  label: a,
3002
3005
  min: u = 0,
3003
3006
  max: l = 2e3,
3004
- withInputField: f = !1,
3005
- onValueChange: d,
3007
+ withInputField: d = !1,
3008
+ onValueChange: f,
3006
3009
  gridMode: h = !1,
3007
3010
  showTooltip: v = !1,
3008
3011
  ...g
3009
3012
  }) => {
3010
3013
  const [p] = F(0), [j, _] = F(0);
3011
- K(() => {
3014
+ G(() => {
3012
3015
  _(Math.round(parseInt(o) / (h ? 16 : 1)));
3013
3016
  }, [o]);
3014
3017
  function O(T) {
3015
- const S = T * (h ? 16 : 1);
3016
- d(S.toString());
3018
+ const k = T * (h ? 16 : 1);
3019
+ f(k.toString());
3017
3020
  }
3018
- return /* @__PURE__ */ n.jsxs(te, { className: "flex min-w-[240px] flex-col", children: [
3021
+ return /* @__PURE__ */ n.jsxs(ne, { className: "flex min-w-[240px] flex-col", children: [
3019
3022
  /* @__PURE__ */ n.jsx(
3020
3023
  On,
3021
3024
  {
3025
+ __next40pxDefaultSize: !0,
3026
+ __nextHasNoMarginBottom: !0,
3022
3027
  label: a,
3023
3028
  value: j,
3024
3029
  min: u,
3025
3030
  max: l,
3026
3031
  showTooltip: v,
3027
- withInputField: f,
3032
+ withInputField: d,
3028
3033
  onChange: (T) => {
3029
3034
  _(T), O(T);
3030
3035
  },
@@ -3037,19 +3042,19 @@ const ia = ({
3037
3042
  " "
3038
3043
  ] })
3039
3044
  ] });
3040
- }, Wa = ({
3045
+ }, Ba = ({
3041
3046
  defaultUnit: o,
3042
3047
  defaultValue: a,
3043
3048
  onValueChange: u,
3044
3049
  onUnitChange: l,
3045
- inputClassName: f = "w-[75px]"
3050
+ inputClassName: d = "w-[75px]"
3046
3051
  }) => {
3047
- const [d, h] = F(!1), [v, g] = F([]), [p, j] = F(o), [_, O] = F(""), [T, S] = F(a);
3048
- K(() => {
3052
+ const [f, h] = F(!1), [v, g] = F([]), [p, j] = F(o), [_, O] = F(""), [T, k] = F(a);
3053
+ G(() => {
3049
3054
  o && j(o), O(a.toString());
3050
- }, [o, a]), K(() => {
3051
- !d && p === "arbitrary" && S(_);
3052
- }, [d]);
3055
+ }, [o, a]), G(() => {
3056
+ !f && p === "arbitrary" && k(_);
3057
+ }, [f]);
3053
3058
  const ae = (A) => {
3054
3059
  if (A !== "arbitrary" && bb?.codex?.units?.spacing?.[A]) {
3055
3060
  const Y = bb.codex.units.spacing[A];
@@ -3071,10 +3076,10 @@ const ia = ({
3071
3076
  { icon: /* @__PURE__ */ n.jsx(jn, {}), label: "Pixel Units", value: "arbitrary" },
3072
3077
  { icon: /* @__PURE__ */ n.jsx(Cn, {}), label: "Fluid Units", value: "fluid" }
3073
3078
  ];
3074
- return /* @__PURE__ */ n.jsx(te, { className: "relative flex flex-col items-baseline", children: /* @__PURE__ */ n.jsxs(
3079
+ return /* @__PURE__ */ n.jsx("div", { className: "relative flex flex-col items-baseline", children: /* @__PURE__ */ n.jsxs(
3075
3080
  ot,
3076
3081
  {
3077
- inputClassName: f,
3082
+ inputClassName: d,
3078
3083
  defaultValue: (
3079
3084
  // Remove the "b_" prefix for grid units
3080
3085
  p === "grid" ? _.replace("b_", "") : _
@@ -3088,7 +3093,7 @@ const ia = ({
3088
3093
  /* @__PURE__ */ n.jsx(
3089
3094
  ia,
3090
3095
  {
3091
- visible: d,
3096
+ visible: f,
3092
3097
  position: "bottom left",
3093
3098
  className: "w-[300px] bg-white shadow-sm",
3094
3099
  onVisibleChange: h,
@@ -3141,37 +3146,37 @@ const ia = ({
3141
3146
  ]
3142
3147
  }
3143
3148
  ) });
3144
- }, Bt = Vt(null), Yt = () => {
3145
- const o = nt(Bt);
3149
+ }, Vt = Ut(null), Yt = () => {
3150
+ const o = nt(Vt);
3146
3151
  if (!o)
3147
3152
  throw new Error("useModalContext must be used within a ModalProvider");
3148
3153
  return o;
3149
- }, Ua = ({
3154
+ }, Wa = ({
3150
3155
  children: o,
3151
3156
  defaultOpen: a,
3152
3157
  onOpenChange: u,
3153
3158
  title: l,
3154
- className: f
3159
+ className: d
3155
3160
  }) => {
3156
- const [d, h] = F(!1);
3157
- K(() => {
3161
+ const [f, h] = F(!1);
3162
+ G(() => {
3158
3163
  h(a);
3159
3164
  }, [a]);
3160
3165
  const v = () => h(!0), g = () => h(!1);
3161
- return K(() => {
3162
- u(d);
3163
- }, [d, u]), /* @__PURE__ */ n.jsxs(Bt.Provider, { value: { closeModal: g, openModal: v }, children: [
3164
- Rr.map(o, (p) => kr(p) && p.type === da ? p : null),
3165
- d && /* @__PURE__ */ n.jsx(
3166
+ return G(() => {
3167
+ u(f);
3168
+ }, [f, u]), /* @__PURE__ */ n.jsxs(Vt.Provider, { value: { closeModal: g, openModal: v }, children: [
3169
+ Rr.map(o, (p) => Sr(p) && p.type === da ? p : null),
3170
+ f && /* @__PURE__ */ n.jsx(
3166
3171
  Pn,
3167
3172
  {
3168
- className: U("blockbite-ui__modal bb_", f),
3173
+ className: W("blockbite-ui__modal bb_", d),
3169
3174
  onRequestClose: g,
3170
3175
  title: l,
3171
3176
  children: /* @__PURE__ */ n.jsxs("div", { className: "relative", children: [
3172
- Rr.map(o, (p) => kr(p) && p.type === ua ? p : null),
3173
- Rr.map(o, (p) => kr(p) && p.type === fa ? p : null),
3174
- Rr.map(o, (p) => kr(p) && p.type === ca ? p : null)
3177
+ Rr.map(o, (p) => Sr(p) && p.type === ua ? p : null),
3178
+ Rr.map(o, (p) => Sr(p) && p.type === fa ? p : null),
3179
+ Rr.map(o, (p) => Sr(p) && p.type === ca ? p : null)
3175
3180
  ] })
3176
3181
  }
3177
3182
  )
@@ -3179,7 +3184,7 @@ const ia = ({
3179
3184
  }, ua = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
3180
3185
  "div",
3181
3186
  {
3182
- className: U(
3187
+ className: W(
3183
3188
  "flex flex-col space-y-1.5 text-center sm:text-left",
3184
3189
  a
3185
3190
  ),
@@ -3189,7 +3194,7 @@ const ia = ({
3189
3194
  ), ca = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
3190
3195
  "div",
3191
3196
  {
3192
- className: U(
3197
+ className: W(
3193
3198
  "border-gray-light fixed bottom-0 left-0 right-0 flex h-[4rem] flex-row items-center justify-end space-x-2 border-t bg-white px-4",
3194
3199
  a
3195
3200
  ),
@@ -3199,11 +3204,11 @@ const ia = ({
3199
3204
  ), fa = ({ children: o, className: a = "", ...u }) => /* @__PURE__ */ n.jsx(
3200
3205
  "div",
3201
3206
  {
3202
- className: U("text-gray-medium px-4 pb-4 text-sm", a),
3207
+ className: W("text-gray-medium px-4 pb-4 text-sm", a),
3203
3208
  ...u,
3204
3209
  children: o
3205
3210
  }
3206
- ), Va = ({ children: o }) => {
3211
+ ), Ua = ({ children: o }) => {
3207
3212
  const { closeModal: a } = Yt();
3208
3213
  return /* @__PURE__ */ n.jsx("div", { onClick: a, className: "cursor-pointer", children: o });
3209
3214
  }, da = ({ children: o }) => {
@@ -3215,8 +3220,8 @@ function pa(o, a) {
3215
3220
  try {
3216
3221
  if (u.cssRules) {
3217
3222
  const l = a.createElement("style");
3218
- Array.from(u.cssRules).forEach((f) => {
3219
- l.appendChild(a.createTextNode(f.cssText));
3223
+ Array.from(u.cssRules).forEach((d) => {
3224
+ l.appendChild(a.createTextNode(d.cssText));
3220
3225
  }), a.head.appendChild(l);
3221
3226
  } else if (u.href) {
3222
3227
  const l = a.createElement("link");
@@ -3224,41 +3229,41 @@ function pa(o, a) {
3224
3229
  }
3225
3230
  } catch (l) {
3226
3231
  if (u.href) {
3227
- const f = a.createElement("link");
3228
- f.rel = "stylesheet", f.href = u.href, a.head.appendChild(f);
3232
+ const d = a.createElement("link");
3233
+ d.rel = "stylesheet", d.href = u.href, a.head.appendChild(d);
3229
3234
  } else
3230
3235
  console.warn("Error copying styles:", l);
3231
3236
  }
3232
3237
  });
3233
3238
  }
3234
- const Ba = ({
3239
+ const Va = ({
3235
3240
  windowInstance: o,
3236
3241
  onClose: a,
3237
3242
  children: u
3238
3243
  }) => {
3239
- const l = Bn(() => document.createElement("div"), []);
3240
- return K(() => {
3241
- const f = o;
3242
- f.document.body.innerHTML = "", f.document.body.appendChild(l), f.document.body.classList.add("bb_"), pa(document, f.document), f.document.title = document.title || "Blockbite Editor";
3243
- const d = () => {
3244
+ const l = Vn(() => document.createElement("div"), []);
3245
+ return G(() => {
3246
+ const d = o;
3247
+ d.document.body.innerHTML = "", d.document.body.appendChild(l), d.document.body.classList.add("bb_"), pa(document, d.document), d.document.title = document.title || "Blockbite Editor";
3248
+ const f = () => {
3244
3249
  setTimeout(a, 100);
3245
3250
  };
3246
- return f.addEventListener("beforeunload", d), () => {
3247
- f.removeEventListener("beforeunload", d);
3251
+ return d.addEventListener("beforeunload", f), () => {
3252
+ d.removeEventListener("beforeunload", f);
3248
3253
  };
3249
- }, [o]), Ut(u, l);
3254
+ }, [o]), Wt(u, l);
3250
3255
  }, Ya = ({
3251
3256
  children: o,
3252
3257
  status: a = "success",
3253
3258
  className: u
3254
3259
  }) => {
3255
- const [l, f] = F(!0);
3256
- return /* @__PURE__ */ n.jsx(te, { onClick: () => f(!1), children: l && /* @__PURE__ */ n.jsx(
3260
+ const [l, d] = F(!0);
3261
+ return /* @__PURE__ */ n.jsx(ne, { onClick: () => d(!1), children: l && /* @__PURE__ */ n.jsx(
3257
3262
  Nn,
3258
3263
  {
3259
3264
  status: a,
3260
- className: U(u),
3261
- onRemove: () => f(!1),
3265
+ className: W(u),
3266
+ onRemove: () => d(!1),
3262
3267
  children: o
3263
3268
  }
3264
3269
  ) });
@@ -3268,24 +3273,24 @@ const Ba = ({
3268
3273
  onChange: u,
3269
3274
  ...l
3270
3275
  }) => {
3271
- const [f, d] = F(!1);
3276
+ const [d, f] = F(!1);
3272
3277
  return /* @__PURE__ */ n.jsx(
3273
3278
  An,
3274
3279
  {
3275
3280
  label: o,
3276
3281
  value: a,
3277
- type: f ? "text" : "password",
3282
+ type: d ? "text" : "password",
3278
3283
  suffix: /* @__PURE__ */ n.jsx(In, { variant: "control", children: /* @__PURE__ */ n.jsx(
3279
3284
  ye,
3280
3285
  {
3281
3286
  icon: /* @__PURE__ */ n.jsx(zn, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx(
3282
- qn,
3287
+ Hn,
3283
3288
  {
3284
- d: f ? "M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z" : "M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"
3289
+ d: d ? "M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z" : "M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"
3285
3290
  }
3286
3291
  ) }),
3287
3292
  label: "Show password",
3288
- onClick: () => d((h) => !h),
3293
+ onClick: () => f((h) => !h),
3289
3294
  size: "small"
3290
3295
  }
3291
3296
  ) }),
@@ -3293,28 +3298,28 @@ const Ba = ({
3293
3298
  ...l
3294
3299
  }
3295
3300
  );
3296
- }, qa = ({
3301
+ }, Ha = ({
3297
3302
  items: o,
3298
3303
  activeId: a,
3299
3304
  onSelect: u,
3300
3305
  className: l
3301
- }) => /* @__PURE__ */ n.jsx(te, { important: !0, className: l, children: /* @__PURE__ */ n.jsx("div", { className: "w-[200px] overflow-y-auto border-r border-gray-200 gap-2", children: o.map((f) => /* @__PURE__ */ n.jsxs(
3306
+ }) => /* @__PURE__ */ n.jsx(ne, { important: !0, className: l, children: /* @__PURE__ */ n.jsx("div", { className: "w-[200px] overflow-y-auto border-r border-gray-200 gap-2", children: o.map((d) => /* @__PURE__ */ n.jsxs(
3302
3307
  "div",
3303
3308
  {
3304
- onClick: () => u(f.id),
3305
- className: `cursor-pointer p-2 border-l-4 flex gap-2 items-center ${a === f.id ? "border-blue-500 bg-gray-100" : "border-transparent"}`,
3309
+ onClick: () => u(d.id),
3310
+ className: `cursor-pointer p-2 border-l-4 flex gap-2 items-center ${a === d.id ? "border-blue-500 bg-gray-100" : "border-transparent"}`,
3306
3311
  children: [
3307
- /* @__PURE__ */ n.jsx("span", { className: "rounded bg-slate-300 w-12 h-12 flex items-center justify-center text-2xl font-bold text-white", children: f.name.charAt(0).toUpperCase() }),
3308
- /* @__PURE__ */ n.jsx("p", { className: "text-sm text-center mt-1", children: f.name })
3312
+ /* @__PURE__ */ n.jsx("span", { className: "rounded bg-slate-300 w-12 h-12 flex items-center justify-center text-2xl font-bold text-white", children: d.name.charAt(0).toUpperCase() }),
3313
+ /* @__PURE__ */ n.jsx("p", { className: "text-sm text-center mt-1", children: d.name })
3309
3314
  ]
3310
3315
  },
3311
- f.id
3316
+ d.id
3312
3317
  )) }) });
3313
- function Ga(o) {
3314
- const { media: a, mediaClass: u } = o, { url: l, alt: f, sizes: d } = a;
3315
- if (d === void 0)
3316
- return /* @__PURE__ */ n.jsx("img", { src: l, alt: f, className: `bf_media ${u}` });
3317
- const { thumbnail: h, medium: v, large: g } = d, p = h || l, j = v || l, _ = g || l;
3318
+ function qa(o) {
3319
+ const { media: a, mediaClass: u } = o, { url: l, alt: d, sizes: f } = a;
3320
+ if (f === void 0)
3321
+ return /* @__PURE__ */ n.jsx("img", { src: l, alt: d, className: `bf_media ${u}` });
3322
+ const { thumbnail: h, medium: v, large: g } = f, p = h || l, j = v || l, _ = g || l;
3318
3323
  return /* @__PURE__ */ n.jsxs("picture", { className: "bf_responsive-media", children: [
3319
3324
  p ? /* @__PURE__ */ n.jsx(
3320
3325
  "source",
@@ -3340,11 +3345,11 @@ function Ga(o) {
3340
3345
  className: `bf_media ${u}`
3341
3346
  }
3342
3347
  ) : null,
3343
- j ? /* @__PURE__ */ n.jsx("img", { src: j, alt: f, className: `bf_media ${u}` }) : null
3348
+ j ? /* @__PURE__ */ n.jsx("img", { src: j, alt: d, className: `bf_media ${u}` }) : null
3344
3349
  ] });
3345
3350
  }
3346
- function Ka(o) {
3347
- const { media: a, mediaClass: u } = o, { url: l } = a, f = l;
3351
+ function Ga(o) {
3352
+ const { media: a, mediaClass: u } = o, { url: l } = a, d = l;
3348
3353
  return /* @__PURE__ */ n.jsx(
3349
3354
  "video",
3350
3355
  {
@@ -3355,18 +3360,18 @@ function Ka(o) {
3355
3360
  autoPlay: !0,
3356
3361
  muted: !0,
3357
3362
  loop: !0,
3358
- children: /* @__PURE__ */ n.jsx("source", { src: f, type: "video/mp4" })
3363
+ children: /* @__PURE__ */ n.jsx("source", { src: d, type: "video/mp4" })
3359
3364
  }
3360
3365
  );
3361
3366
  }
3362
- const Ha = ({
3367
+ const Ka = ({
3363
3368
  children: o,
3364
3369
  className: a = "",
3365
3370
  height: u = "large"
3366
3371
  }) => /* @__PURE__ */ n.jsx(
3367
- te,
3372
+ ne,
3368
3373
  {
3369
- className: U("scrollbar relative overflow-y-scroll", a, {
3374
+ className: W("scrollbar relative overflow-y-scroll", a, {
3370
3375
  "h-[400px]": u === "large",
3371
3376
  "h-[300px]": u === "medium",
3372
3377
  "h-[200px]": u === "small"
@@ -3378,11 +3383,11 @@ const Ha = ({
3378
3383
  className: a,
3379
3384
  defaultValue: u,
3380
3385
  options: l,
3381
- label: f = "",
3382
- emptyLabel: d = "No options available"
3386
+ label: d = "",
3387
+ emptyLabel: f = "No options available"
3383
3388
  }) => {
3384
3389
  const [h, v] = F("");
3385
- K(() => {
3390
+ G(() => {
3386
3391
  v(u);
3387
3392
  }, []);
3388
3393
  const g = (p) => {
@@ -3392,36 +3397,38 @@ const Ha = ({
3392
3397
  l && l.length > 0 && /* @__PURE__ */ n.jsx(
3393
3398
  Dn,
3394
3399
  {
3395
- label: f || "",
3400
+ __next40pxDefaultSize: !0,
3401
+ __nextHasNoMarginBottom: !0,
3402
+ label: d || "",
3396
3403
  value: h || "",
3397
3404
  onChange: g,
3398
3405
  options: [{ value: "", label: "Select an option" }, ...l]
3399
3406
  }
3400
3407
  ),
3401
- (!l || l?.length === 0) && /* @__PURE__ */ n.jsx("p", { className: "mb-2", children: d })
3408
+ (!l || l?.length === 0) && /* @__PURE__ */ n.jsx("p", { className: "mb-2", children: f })
3402
3409
  ] });
3403
3410
  }, { select: va, dispatch: ma } = wp.data, Xa = ({
3404
3411
  buttonText: o = "Add block"
3405
3412
  }) => {
3406
3413
  const a = () => {
3407
- const u = va("core/block-editor").getSelectedBlock(), { clientId: l, innerBlocks: f } = u, d = f[f.length - 1], h = Gn(
3408
- d.name,
3409
- d.attributes,
3410
- d.innerBlocks
3414
+ const u = va("core/block-editor").getSelectedBlock(), { clientId: l, innerBlocks: d } = u, f = d[d.length - 1], h = qn(
3415
+ f.name,
3416
+ f.attributes,
3417
+ f.innerBlocks
3411
3418
  );
3412
3419
  ma("core/block-editor").insertBlocks(h, 0, l);
3413
3420
  };
3414
3421
  return /* @__PURE__ */ n.jsx(ye, { variant: "primary", onClick: () => a(), children: o });
3415
3422
  }, Za = ({ children: o, watch: a, className: u }) => {
3416
- const [l, f] = F(0);
3417
- return K(() => {
3423
+ const [l, d] = F(0);
3424
+ return G(() => {
3418
3425
  setTimeout(() => {
3419
- f(1);
3426
+ d(1);
3420
3427
  }, 250);
3421
3428
  }, [a]), /* @__PURE__ */ n.jsx(
3422
- te,
3429
+ ne,
3423
3430
  {
3424
- className: U(
3431
+ className: W(
3425
3432
  u,
3426
3433
  "duration-50 transform transition-all ease-in-out",
3427
3434
  {
@@ -3434,39 +3441,39 @@ const Ha = ({
3434
3441
  );
3435
3442
  }, Qa = ({ className: o, defaultValue: a }) => {
3436
3443
  const [u, l] = F(!1);
3437
- return K(() => {
3444
+ return G(() => {
3438
3445
  setTimeout(() => {
3439
3446
  l(!1);
3440
3447
  }, 500), a && l(!0);
3441
- }, [u, a]), u && /* @__PURE__ */ n.jsx($n, { className: U(o) });
3442
- }, st = Vt(null), ha = ({
3448
+ }, [u, a]), u && /* @__PURE__ */ n.jsx($n, { className: W(o) });
3449
+ }, st = Ut(null), ha = ({
3443
3450
  children: o,
3444
3451
  defaultValue: a,
3445
3452
  value: u,
3446
3453
  onValueChange: l,
3447
- ...f
3454
+ ...d
3448
3455
  }) => {
3449
- const d = u !== void 0, [h, v] = F(a || ""), j = {
3450
- activeTab: d ? u : h,
3456
+ const f = u !== void 0, [h, v] = F(a || ""), j = {
3457
+ activeTab: f ? u : h,
3451
3458
  setActiveTab: (_) => {
3452
- d || v(_), l && l(_);
3459
+ f || v(_), l && l(_);
3453
3460
  }
3454
3461
  };
3455
- return /* @__PURE__ */ n.jsx(st.Provider, { value: j, children: /* @__PURE__ */ n.jsx(te, { important: !0, className: f.className, children: o }) });
3462
+ return /* @__PURE__ */ n.jsx(st.Provider, { value: j, children: /* @__PURE__ */ n.jsx(ne, { important: !0, className: d.className, children: o }) });
3456
3463
  }, ya = ({
3457
3464
  options: o,
3458
3465
  children: a,
3459
3466
  className: u,
3460
3467
  onValueChange: l
3461
3468
  }) => {
3462
- const f = nt(st), d = l || f?.setActiveTab;
3469
+ const d = nt(st), f = l || d?.setActiveTab;
3463
3470
  return /* @__PURE__ */ n.jsx(
3464
3471
  Fn,
3465
3472
  {
3466
- className: U("tabs-list", u),
3473
+ className: W("tabs-list", u),
3467
3474
  tabs: o,
3468
3475
  onSelect: (h) => {
3469
- d(h);
3476
+ f(h);
3470
3477
  },
3471
3478
  children: () => a
3472
3479
  }
@@ -3475,7 +3482,7 @@ const Ha = ({
3475
3482
  value: o,
3476
3483
  children: a,
3477
3484
  className: u
3478
- }) => nt(st)?.activeTab === o ? /* @__PURE__ */ n.jsx(te, { className: u, children: a }) : null, eo = {
3485
+ }) => nt(st)?.activeTab === o ? /* @__PURE__ */ n.jsx(ne, { className: u, children: a }) : null, eo = {
3479
3486
  Wrapper: ha,
3480
3487
  List: ya,
3481
3488
  Content: ba
@@ -3484,13 +3491,22 @@ const Ha = ({
3484
3491
  onClick: a,
3485
3492
  color: u = "blue",
3486
3493
  className: l
3487
- }) => /* @__PURE__ */ n.jsx("button", { onClick: a, children: /* @__PURE__ */ n.jsx("div", { color: u, className: U(l), children: o }) }), to = ({
3494
+ }) => /* @__PURE__ */ n.jsx("button", { onClick: a, children: /* @__PURE__ */ n.jsx("div", { color: u, className: W(l), children: o }) }), to = ({
3488
3495
  onChange: o,
3489
3496
  defaultValue: a,
3490
3497
  children: u
3491
- }) => /* @__PURE__ */ n.jsxs(te, { className: "blockbite-ui__text-control-label flex items-center", children: [
3498
+ }) => /* @__PURE__ */ n.jsxs(ne, { className: "blockbite-ui__text-control-label flex items-center", children: [
3492
3499
  /* @__PURE__ */ n.jsxs("span", { className: "outline-b-2 relative block -outline-offset-2 outline-black", children: [
3493
- /* @__PURE__ */ n.jsx(rt, { type: "text", value: a, onChange: o }),
3500
+ /* @__PURE__ */ n.jsx(
3501
+ rt,
3502
+ {
3503
+ __next40pxDefaultSize: !0,
3504
+ __nextHasNoMarginBottom: !0,
3505
+ type: "text",
3506
+ value: a,
3507
+ onChange: o
3508
+ }
3509
+ ),
3494
3510
  /* @__PURE__ */ n.jsx(Mt, { className: "absolute right-1 top-2" })
3495
3511
  ] }),
3496
3512
  " ",
@@ -3501,20 +3517,22 @@ const Ha = ({
3501
3517
  options: a,
3502
3518
  defaultPressed: u,
3503
3519
  display: l = "label",
3504
- label: f = !1,
3505
- onPressedChange: d
3520
+ label: d = !1,
3521
+ onPressedChange: f
3506
3522
  }) => {
3507
3523
  const [h, v] = F(""), g = (p) => {
3508
- d(p);
3524
+ f(p);
3509
3525
  };
3510
- return K(() => {
3526
+ return G(() => {
3511
3527
  v(u);
3512
- }, [u]), /* @__PURE__ */ n.jsx(te, { className: U(o), children: /* @__PURE__ */ n.jsx(
3528
+ }, [u]), /* @__PURE__ */ n.jsx(ne, { className: W(o), children: /* @__PURE__ */ n.jsx(
3513
3529
  Ln,
3514
3530
  {
3531
+ __next40pxDefaultSize: !0,
3532
+ __nextHasNoMarginBottom: !0,
3515
3533
  isBlock: !0,
3516
3534
  value: h,
3517
- label: typeof f == "string" ? f : "",
3535
+ label: typeof d == "string" ? d : "",
3518
3536
  children: a.map(
3519
3537
  (p) => l === "icon" ? /* @__PURE__ */ n.jsx(
3520
3538
  Mn,
@@ -3526,7 +3544,7 @@ const Ha = ({
3526
3544
  },
3527
3545
  `ToggleGroupControlIcon-${p.value}`
3528
3546
  ) : /* @__PURE__ */ n.jsx(
3529
- Wn,
3547
+ Bn,
3530
3548
  {
3531
3549
  value: p.value,
3532
3550
  label: p.label,
@@ -3545,24 +3563,24 @@ const Ha = ({
3545
3563
  checked: l = !1
3546
3564
  // Default to false if undefined, so it's always controlled
3547
3565
  }) => {
3548
- const [f, d] = F(l);
3549
- return K(() => {
3550
- d(l);
3551
- }, [l]), /* @__PURE__ */ n.jsx(te, { className: U(a, "flex items-center gap-2"), children: /* @__PURE__ */ n.jsx(
3552
- Un,
3566
+ const [d, f] = F(l);
3567
+ return G(() => {
3568
+ f(l);
3569
+ }, [l]), /* @__PURE__ */ n.jsx(ne, { className: W(a, "flex items-center gap-2"), children: /* @__PURE__ */ n.jsx(
3570
+ Wn,
3553
3571
  {
3554
- checked: f,
3572
+ checked: d,
3555
3573
  label: o,
3556
3574
  onChange: (h) => {
3557
- d(h), u && u(h);
3575
+ f(h), u && u(h);
3558
3576
  }
3559
3577
  }
3560
3578
  ) });
3561
3579
  };
3562
3580
  export {
3563
- ka as AutocompleteDropdown,
3581
+ Sa as AutocompleteDropdown,
3564
3582
  aa as Badge,
3565
- Sa as BitePreview,
3583
+ ka as BitePreview,
3566
3584
  Ta as Button,
3567
3585
  ta as ButtonToggle,
3568
3586
  na as ButtonToggleGroup,
@@ -3575,25 +3593,25 @@ export {
3575
3593
  Da as EmptyState,
3576
3594
  $a as FloatingPanel,
3577
3595
  Fa as FocalPointControl,
3578
- He as Icon,
3596
+ Ke as Icon,
3579
3597
  La as LinkPicker,
3580
3598
  Ma as MediaPicker,
3581
- Wa as MetricsControl,
3582
- Ua as Modal,
3583
- Va as ModalClose,
3599
+ Ba as MetricsControl,
3600
+ Wa as Modal,
3601
+ Ua as ModalClose,
3584
3602
  fa as ModalContent,
3585
3603
  ca as ModalFooter,
3586
3604
  ua as ModalHeader,
3587
3605
  da as ModalTrigger,
3588
- Ba as NewWindowPortal,
3606
+ Va as NewWindowPortal,
3589
3607
  Ya as Notice,
3590
3608
  za as PasswordInput,
3591
3609
  ia as Popover,
3592
- qa as ProjectsNavigation,
3610
+ Ha as ProjectsNavigation,
3593
3611
  la as RangeSlider,
3594
- Ga as ResponsiveImage,
3595
- Ka as ResponsiveVideo,
3596
- Ha as ScrollList,
3612
+ qa as ResponsiveImage,
3613
+ Ga as ResponsiveVideo,
3614
+ Ka as ScrollList,
3597
3615
  Ja as SelectControlWrapper,
3598
3616
  Xa as SingleBlockTypeAppender,
3599
3617
  Za as SlideIn,
@@ -3607,7 +3625,7 @@ export {
3607
3625
  to as TextControlLabel,
3608
3626
  no as ToggleGroup,
3609
3627
  ao as ToggleSwitch,
3610
- te as Wrap,
3628
+ ne as Wrap,
3611
3629
  Yt as useModalContext
3612
3630
  };
3613
3631
  //# sourceMappingURL=index.js.map