@choc-ui/chakra-autocomplete 5.2.9 → 5.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -12,7 +12,7 @@ function cn(e) {
12
12
  var gt = { exports: {} }, wr = {};
13
13
  /**
14
14
  * @license React
15
- * react-jsx-runtime.production.min.js
15
+ * react-jsx-runtime.development.js
16
16
  *
17
17
  * Copyright (c) Facebook, Inc. and its affiliates.
18
18
  *
@@ -21,35 +21,7 @@ var gt = { exports: {} }, wr = {};
21
21
  */
22
22
  var Gt;
23
23
  function $o() {
24
- if (Gt)
25
- return wr;
26
- Gt = 1;
27
- var e = qe, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
28
- function d(p, h, g) {
29
- var b, _ = {}, y = null, T = null;
30
- g !== void 0 && (y = "" + g), h.key !== void 0 && (y = "" + h.key), h.ref !== void 0 && (T = h.ref);
31
- for (b in h)
32
- a.call(h, b) && !u.hasOwnProperty(b) && (_[b] = h[b]);
33
- if (p && p.defaultProps)
34
- for (b in h = p.defaultProps, h)
35
- _[b] === void 0 && (_[b] = h[b]);
36
- return { $$typeof: r, type: p, key: y, ref: T, props: _, _owner: l.current };
37
- }
38
- return wr.Fragment = o, wr.jsx = d, wr.jsxs = d, wr;
39
- }
40
- var Cr = {};
41
- /**
42
- * @license React
43
- * react-jsx-runtime.development.js
44
- *
45
- * Copyright (c) Facebook, Inc. and its affiliates.
46
- *
47
- * This source code is licensed under the MIT license found in the
48
- * LICENSE file in the root directory of this source tree.
49
- */
50
- var Vt;
51
- function Wo() {
52
- return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && function() {
24
+ return Gt || (Gt = 1, process.env.NODE_ENV !== "production" && function() {
53
25
  var e = qe, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), I = Symbol.iterator, M = "@@iterator";
54
26
  function D(n) {
55
27
  if (n === null || typeof n != "object")
@@ -67,29 +39,29 @@ function Wo() {
67
39
  }
68
40
  function ie(n, f, m) {
69
41
  {
70
- var k = $.ReactDebugCurrentFrame, P = k.getStackAddendum();
71
- P !== "" && (f += "%s", m = m.concat([P]));
72
- var j = m.map(function(E) {
42
+ var k = $.ReactDebugCurrentFrame, B = k.getStackAddendum();
43
+ B !== "" && (f += "%s", m = m.concat([B]));
44
+ var A = m.map(function(E) {
73
45
  return String(E);
74
46
  });
75
- j.unshift("Warning: " + f), Function.prototype.apply.call(console[n], console, j);
47
+ A.unshift("Warning: " + f), Function.prototype.apply.call(console[n], console, A);
76
48
  }
77
49
  }
78
- var or = !1, xr = !1, Ke = !1, ar = !1, Ee = !1, ye;
79
- ye = Symbol.for("react.module.reference");
50
+ var or = !1, xr = !1, Ke = !1, ar = !1, ye = !1, Se;
51
+ Se = Symbol.for("react.module.reference");
80
52
  function $e(n) {
81
- return !!(typeof n == "string" || typeof n == "function" || n === a || n === u || Ee || n === l || n === g || n === b || ar || n === T || or || xr || Ke || typeof n == "object" && n !== null && (n.$$typeof === y || n.$$typeof === _ || n.$$typeof === d || n.$$typeof === p || n.$$typeof === h || // This needs to include all possible module reference object
53
+ return !!(typeof n == "string" || typeof n == "function" || n === a || n === u || ye || n === l || n === g || n === b || ar || n === T || or || xr || Ke || typeof n == "object" && n !== null && (n.$$typeof === y || n.$$typeof === _ || n.$$typeof === d || n.$$typeof === p || n.$$typeof === h || // This needs to include all possible module reference object
82
54
  // types supported by any Flight configuration anywhere since
83
55
  // we don't know which Flight build this will end up being used
84
56
  // with.
85
- n.$$typeof === ye || n.getModuleId !== void 0));
57
+ n.$$typeof === Se || n.getModuleId !== void 0));
86
58
  }
87
59
  function mr(n, f, m) {
88
60
  var k = n.displayName;
89
61
  if (k)
90
62
  return k;
91
- var P = f.displayName || f.name || "";
92
- return P !== "" ? m + "(" + P + ")" : m;
63
+ var B = f.displayName || f.name || "";
64
+ return B !== "" ? m + "(" + B + ")" : m;
93
65
  }
94
66
  function se(n) {
95
67
  return n.displayName || "Context";
@@ -129,9 +101,9 @@ function Wo() {
129
101
  var k = n.displayName || null;
130
102
  return k !== null ? k : X(n.type) || "Memo";
131
103
  case y: {
132
- var P = n, j = P._payload, E = P._init;
104
+ var B = n, A = B._payload, E = B._init;
133
105
  try {
134
- return X(E(j));
106
+ return X(E(A));
135
107
  } catch {
136
108
  return null;
137
109
  }
@@ -139,7 +111,7 @@ function Wo() {
139
111
  }
140
112
  return null;
141
113
  }
142
- var Se = Object.assign, fe = 0, Ie, vr, ir, Ge, pe, We, sr;
114
+ var _e = Object.assign, fe = 0, Ie, vr, ir, Ge, pe, We, sr;
143
115
  function F() {
144
116
  }
145
117
  F.__reactDisabledLog = !0;
@@ -175,25 +147,25 @@ function Wo() {
175
147
  writable: !0
176
148
  };
177
149
  Object.defineProperties(console, {
178
- log: Se({}, n, {
150
+ log: _e({}, n, {
179
151
  value: Ie
180
152
  }),
181
- info: Se({}, n, {
153
+ info: _e({}, n, {
182
154
  value: vr
183
155
  }),
184
- warn: Se({}, n, {
156
+ warn: _e({}, n, {
185
157
  value: ir
186
158
  }),
187
- error: Se({}, n, {
159
+ error: _e({}, n, {
188
160
  value: Ge
189
161
  }),
190
- group: Se({}, n, {
162
+ group: _e({}, n, {
191
163
  value: pe
192
164
  }),
193
- groupCollapsed: Se({}, n, {
165
+ groupCollapsed: _e({}, n, {
194
166
  value: We
195
167
  }),
196
- groupEnd: Se({}, n, {
168
+ groupEnd: _e({}, n, {
197
169
  value: sr
198
170
  })
199
171
  });
@@ -201,39 +173,39 @@ function Wo() {
201
173
  fe < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
202
174
  }
203
175
  }
204
- var he = $.ReactCurrentDispatcher, _e;
176
+ var he = $.ReactCurrentDispatcher, xe;
205
177
  function ee(n, f, m) {
206
178
  {
207
- if (_e === void 0)
179
+ if (xe === void 0)
208
180
  try {
209
181
  throw Error();
210
- } catch (P) {
211
- var k = P.stack.trim().match(/\n( *(at )?)/);
212
- _e = k && k[1] || "";
182
+ } catch (B) {
183
+ var k = B.stack.trim().match(/\n( *(at )?)/);
184
+ xe = k && k[1] || "";
213
185
  }
214
186
  return `
215
- ` + _e + n;
187
+ ` + xe + n;
216
188
  }
217
189
  }
218
- var Je = !1, xe;
190
+ var Je = !1, ke;
219
191
  {
220
192
  var Qe = typeof WeakMap == "function" ? WeakMap : Map;
221
- xe = new Qe();
193
+ ke = new Qe();
222
194
  }
223
195
  function Ve(n, f) {
224
196
  if (!n || Je)
225
197
  return "";
226
198
  {
227
- var m = xe.get(n);
199
+ var m = ke.get(n);
228
200
  if (m !== void 0)
229
201
  return m;
230
202
  }
231
203
  var k;
232
204
  Je = !0;
233
- var P = Error.prepareStackTrace;
205
+ var B = Error.prepareStackTrace;
234
206
  Error.prepareStackTrace = void 0;
235
- var j;
236
- j = he.current, he.current = null, Z();
207
+ var A;
208
+ A = he.current, he.current = null, Z();
237
209
  try {
238
210
  if (f) {
239
211
  var E = function() {
@@ -279,17 +251,17 @@ function Wo() {
279
251
  if (H--, q--, q < 0 || R[H] !== oe[q]) {
280
252
  var ue = `
281
253
  ` + R[H].replace(" at new ", " at ");
282
- return n.displayName && ue.includes("<anonymous>") && (ue = ue.replace("<anonymous>", n.displayName)), typeof n == "function" && xe.set(n, ue), ue;
254
+ return n.displayName && ue.includes("<anonymous>") && (ue = ue.replace("<anonymous>", n.displayName)), typeof n == "function" && ke.set(n, ue), ue;
283
255
  }
284
256
  while (H >= 1 && q >= 0);
285
257
  break;
286
258
  }
287
259
  }
288
260
  } finally {
289
- Je = !1, he.current = j, ge(), Error.prepareStackTrace = P;
261
+ Je = !1, he.current = A, ge(), Error.prepareStackTrace = B;
290
262
  }
291
263
  var De = n ? n.displayName || n.name : "", Pr = De ? ee(De) : "";
292
- return typeof n == "function" && xe.set(n, Pr), Pr;
264
+ return typeof n == "function" && ke.set(n, Pr), Pr;
293
265
  }
294
266
  function Oe(n, f, m) {
295
267
  return Ve(n, !1);
@@ -318,9 +290,9 @@ function Wo() {
318
290
  case _:
319
291
  return Fe(n.type, f, m);
320
292
  case y: {
321
- var k = n, P = k._payload, j = k._init;
293
+ var k = n, B = k._payload, A = k._init;
322
294
  try {
323
- return Fe(j(P), f, m);
295
+ return Fe(A(B), f, m);
324
296
  } catch {
325
297
  }
326
298
  }
@@ -335,11 +307,11 @@ function Wo() {
335
307
  } else
336
308
  cr.setExtraStackFrame(null);
337
309
  }
338
- function dr(n, f, m, k, P) {
310
+ function dr(n, f, m, k, B) {
339
311
  {
340
- var j = Function.call.bind(Ye);
312
+ var A = Function.call.bind(Ye);
341
313
  for (var E in n)
342
- if (j(n, E)) {
314
+ if (A(n, E)) {
343
315
  var R = void 0;
344
316
  try {
345
317
  if (typeof n[E] != "function") {
@@ -350,7 +322,7 @@ function Wo() {
350
322
  } catch (H) {
351
323
  R = H;
352
324
  }
353
- R && !(R instanceof Error) && (ur(P), w("%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).", k || "React class", m, E, typeof R), ur(null)), R instanceof Error && !(R.message in br) && (br[R.message] = !0, ur(P), w("Failed %s type: %s", m, R.message), ur(null));
325
+ R && !(R instanceof Error) && (ur(B), w("%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).", k || "React class", m, E, typeof R), ur(null)), R instanceof Error && !(R.message in br) && (br[R.message] = !0, ur(B), w("Failed %s type: %s", m, R.message), ur(null));
354
326
  }
355
327
  }
356
328
  }
@@ -383,8 +355,8 @@ function Wo() {
383
355
  ref: !0,
384
356
  __self: !0,
385
357
  __source: !0
386
- }, re, He, ke;
387
- ke = {};
358
+ }, re, He, Te;
359
+ Te = {};
388
360
  function L(n) {
389
361
  if (Ye.call(n, "ref")) {
390
362
  var f = Object.getOwnPropertyDescriptor(n, "ref").get;
@@ -404,7 +376,7 @@ function Wo() {
404
376
  function G(n, f) {
405
377
  if (typeof n.ref == "string" && K.current && f && K.current.stateNode !== f) {
406
378
  var m = X(K.current.type);
407
- ke[m] || (w('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', X(K.current.type), n.ref), ke[m] = !0);
379
+ Te[m] || (w('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', X(K.current.type), n.ref), Te[m] = !0);
408
380
  }
409
381
  }
410
382
  function je(n, f) {
@@ -429,7 +401,7 @@ function Wo() {
429
401
  });
430
402
  }
431
403
  }
432
- var Le = function(n, f, m, k, P, j, E) {
404
+ var Le = function(n, f, m, k, B, A, E) {
433
405
  var R = {
434
406
  // This tag allows us to uniquely identify this as a React Element
435
407
  $$typeof: r,
@@ -439,7 +411,7 @@ function Wo() {
439
411
  ref: m,
440
412
  props: E,
441
413
  // Record the component responsible for creating this element.
442
- _owner: j
414
+ _owner: A
443
415
  };
444
416
  return R._store = {}, Object.defineProperty(R._store, "validated", {
445
417
  configurable: !1,
@@ -455,25 +427,25 @@ function Wo() {
455
427
  configurable: !1,
456
428
  enumerable: !1,
457
429
  writable: !1,
458
- value: P
430
+ value: B
459
431
  }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
460
432
  };
461
- function te(n, f, m, k, P) {
433
+ function te(n, f, m, k, B) {
462
434
  {
463
- var j, E = {}, R = null, oe = null;
464
- m !== void 0 && (U(m), R = "" + m), Q(f) && (U(f.key), R = "" + f.key), L(f) && (oe = f.ref, G(f, P));
465
- for (j in f)
466
- Ye.call(f, j) && !ne.hasOwnProperty(j) && (E[j] = f[j]);
435
+ var A, E = {}, R = null, oe = null;
436
+ m !== void 0 && (U(m), R = "" + m), Q(f) && (U(f.key), R = "" + f.key), L(f) && (oe = f.ref, G(f, B));
437
+ for (A in f)
438
+ Ye.call(f, A) && !ne.hasOwnProperty(A) && (E[A] = f[A]);
467
439
  if (n && n.defaultProps) {
468
440
  var H = n.defaultProps;
469
- for (j in H)
470
- E[j] === void 0 && (E[j] = H[j]);
441
+ for (A in H)
442
+ E[A] === void 0 && (E[A] = H[A]);
471
443
  }
472
444
  if (R || oe) {
473
445
  var q = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
474
446
  R && je(E, q), oe && ce(E, q);
475
447
  }
476
- return Le(n, R, oe, P, k, K.current, E);
448
+ return Le(n, R, oe, B, k, K.current, E);
477
449
  }
478
450
  }
479
451
  var Me = $.ReactCurrentOwner, Ze = $.ReactDebugCurrentFrame;
@@ -484,8 +456,8 @@ function Wo() {
484
456
  } else
485
457
  Ze.setExtraStackFrame(null);
486
458
  }
487
- var Te;
488
- Te = !1;
459
+ var we;
460
+ we = !1;
489
461
  function Ae(n) {
490
462
  return typeof n == "object" && n !== null && n.$$typeof === r;
491
463
  }
@@ -550,9 +522,9 @@ Check the top-level render call using <` + m + ">.");
550
522
  else if (Ae(n))
551
523
  n._store && (n._store.validated = !0);
552
524
  else if (n) {
553
- var P = D(n);
554
- if (typeof P == "function" && P !== n.entries)
555
- for (var j = P.call(n), E; !(E = j.next()).done; )
525
+ var B = D(n);
526
+ if (typeof B == "function" && B !== n.entries)
527
+ for (var A = B.call(n), E; !(E = A.next()).done; )
556
528
  Ae(E.value) && Or(E.value, f);
557
529
  }
558
530
  }
@@ -574,10 +546,10 @@ Check the top-level render call using <` + m + ">.");
574
546
  if (m) {
575
547
  var k = X(f);
576
548
  dr(m, n.props, "prop", k, n);
577
- } else if (f.PropTypes !== void 0 && !Te) {
578
- Te = !0;
579
- var P = X(f);
580
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
549
+ } else if (f.PropTypes !== void 0 && !we) {
550
+ we = !0;
551
+ var B = X(f);
552
+ w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", B || "Unknown");
581
553
  }
582
554
  typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
583
555
  }
@@ -594,18 +566,18 @@ Check the top-level render call using <` + m + ">.");
594
566
  n.ref !== null && (me(n), w("Invalid attribute `ref` supplied to `React.Fragment`."), me(null));
595
567
  }
596
568
  }
597
- function Ar(n, f, m, k, P, j) {
569
+ function Ar(n, f, m, k, B, A) {
598
570
  {
599
571
  var E = $e(n);
600
572
  if (!E) {
601
573
  var R = "";
602
574
  (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
603
- var oe = qr(P);
575
+ var oe = qr(B);
604
576
  oe ? R += oe : R += ve();
605
577
  var H;
606
578
  n === null ? H = "null" : Ue(n) ? H = "array" : n !== void 0 && n.$$typeof === r ? (H = "<" + (X(n.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : H = typeof n, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", H, R);
607
579
  }
608
- var q = te(n, f, m, P, j);
580
+ var q = te(n, f, m, B, A);
609
581
  if (q == null)
610
582
  return q;
611
583
  if (E) {
@@ -631,10 +603,38 @@ Check the top-level render call using <` + m + ">.");
631
603
  return Ar(n, f, m, !1);
632
604
  }
633
605
  var et = Zr, er = Qr;
634
- Cr.Fragment = a, Cr.jsx = et, Cr.jsxs = er;
635
- }()), Cr;
606
+ wr.Fragment = a, wr.jsx = et, wr.jsxs = er;
607
+ }()), wr;
636
608
  }
637
- process.env.NODE_ENV === "production" ? gt.exports = $o() : gt.exports = Wo();
609
+ var Cr = {};
610
+ /**
611
+ * @license React
612
+ * react-jsx-runtime.production.min.js
613
+ *
614
+ * Copyright (c) Facebook, Inc. and its affiliates.
615
+ *
616
+ * This source code is licensed under the MIT license found in the
617
+ * LICENSE file in the root directory of this source tree.
618
+ */
619
+ var Vt;
620
+ function Wo() {
621
+ if (Vt)
622
+ return Cr;
623
+ Vt = 1;
624
+ var e = qe, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
625
+ function d(p, h, g) {
626
+ var b, _ = {}, y = null, T = null;
627
+ g !== void 0 && (y = "" + g), h.key !== void 0 && (y = "" + h.key), h.ref !== void 0 && (T = h.ref);
628
+ for (b in h)
629
+ a.call(h, b) && !u.hasOwnProperty(b) && (_[b] = h[b]);
630
+ if (p && p.defaultProps)
631
+ for (b in h = p.defaultProps, h)
632
+ _[b] === void 0 && (_[b] = h[b]);
633
+ return { $$typeof: r, type: p, key: y, ref: T, props: _, _owner: l.current };
634
+ }
635
+ return Cr.Fragment = o, Cr.jsx = d, Cr.jsxs = d, Cr;
636
+ }
637
+ process.env.NODE_ENV === "production" ? gt.exports = Wo() : gt.exports = $o();
638
638
  var x = gt.exports;
639
639
  const [Fo, nr] = co({
640
640
  name: "AutoCompleteContext",
@@ -651,7 +651,7 @@ var Ur = function(e, r) {
651
651
  return p;
652
652
  }
653
653
  }
654
- }, Lr = globalThis && globalThis.__spreadArray || function(e, r) {
654
+ }, Lr = function(e, r) {
655
655
  for (var o = 0, a = r.length, l = e.length; o < a; o++, l++)
656
656
  e[l] = r[o];
657
657
  return e;
@@ -778,11 +778,11 @@ function Ho(e) {
778
778
  values: ar = Ke ? typeof Ke == "string" ? [Ke] : [...Ke] : void 0
779
779
  } = e;
780
780
  u = u || (g ? !0 : e.freeSolo);
781
- const { isOpen: Ee, onClose: ye, onOpen: $e } = uo({ defaultIsOpen: I }), mr = J(e.children, {
782
- isOpen: Ee,
783
- onClose: ye,
781
+ const { isOpen: ye, onClose: Se, onOpen: $e } = uo({ defaultIsOpen: I }), mr = J(e.children, {
782
+ isOpen: ye,
783
+ onClose: Se,
784
784
  onOpen: $e
785
- }), se = Mo(mr), X = Sr(null), Se = Sr(null), fe = Sr(null), Ie = Sr(null), [vr, ir] = ut(!1);
785
+ }), se = Mo(mr), X = Sr(null), _e = Sr(null), fe = Sr(null), Ie = Sr(null), [vr, ir] = ut(!1);
786
786
  let Ge = "";
787
787
  g ? Ge = "" : Dr(y) ? Dr(ar) || (Ge = ar[0]) : Ge = y[0];
788
788
  const [pe, We] = ut(Ge ?? ""), sr = M ? se : se.filter(
@@ -807,14 +807,14 @@ function Ho(e) {
807
807
  g ? U : C
808
808
  );
809
809
  }
810
- }), [_e, ee] = ut(
810
+ }), [xe, ee] = ut(
811
811
  (le = se[0]) == null ? void 0 : le.value
812
- ), Je = e.maxSelections || ge.length + 1, xe = Z.findIndex((S) => S.value === _e), Qe = Ro(
813
- xe,
812
+ ), Je = e.maxSelections || ge.length + 1, ke = Z.findIndex((S) => S.value === xe), Qe = Ro(
813
+ ke,
814
814
  Z,
815
815
  !!e.rollNavigation
816
816
  ), Ve = Eo(
817
- xe,
817
+ ke,
818
818
  Z,
819
819
  !!e.rollNavigation
820
820
  ), Oe = Io(Z), lr = dt(Z);
@@ -822,15 +822,15 @@ function Ho(e) {
822
822
  ee(Oe == null ? void 0 : Oe.value);
823
823
  }, [pe]), _r(() => {
824
824
  var S;
825
- Ee || ee((S = se[0]) == null ? void 0 : S.value);
826
- }, [Ee]), _r(() => {
827
- const S = se.find((C) => C.value === _e);
825
+ ye || ee((S = se[0]) == null ? void 0 : S.value);
826
+ }, [ye]), _r(() => {
827
+ const S = se.find((C) => C.value === xe);
828
828
  J(e.onOptionFocus, {
829
829
  item: S,
830
830
  focusMethod: Ie.current,
831
831
  isNewInput: S == null ? void 0 : S.creatable
832
832
  });
833
- }, [_e, e.onOptionFocus]);
833
+ }, [xe, e.onOptionFocus]);
834
834
  const Fe = (S) => {
835
835
  var K, ne;
836
836
  !ge.includes(S) && ge.length < Je && he((re) => g ? [...re, S] : [S]);
@@ -844,7 +844,7 @@ function Ho(e) {
844
844
  selectMethod: Ie.current
845
845
  });
846
846
  const U = (C == null ? void 0 : C.label) || (C == null ? void 0 : C.value);
847
- We(() => g ? "" : U ?? ""), b && ye();
847
+ We(() => g ? "" : U ?? ""), b && Se();
848
848
  }, Ye = (S, C) => {
849
849
  var U;
850
850
  he((K) => {
@@ -868,7 +868,7 @@ function Ho(e) {
868
868
  children: mr,
869
869
  filteredList: Z,
870
870
  filteredResults: sr,
871
- focusedValue: _e,
871
+ focusedValue: xe,
872
872
  getEmptyStateProps: (S) => {
873
873
  if (Z.every((U) => U.noFilter) && l && !o)
874
874
  return typeof l == "boolean" ? S : J(l, { query: pe });
@@ -889,16 +889,16 @@ function Ho(e) {
889
889
  };
890
890
  },
891
891
  getInputProps: (S, C) => {
892
- const { onBlur: U, onChange: K, onFocus: ne, onKeyDown: re, variant: He, ...ke } = S;
892
+ const { onBlur: U, onChange: K, onFocus: ne, onKeyDown: re, variant: He, ...Te } = S;
893
893
  return {
894
894
  wrapper: {
895
- ref: Se,
895
+ ref: _e,
896
896
  onClick: () => {
897
897
  var L;
898
898
  (L = X == null ? void 0 : X.current) == null || L.focus();
899
899
  },
900
900
  ...Go(C, g),
901
- ...ke
901
+ ...Te
902
902
  },
903
903
  input: {
904
904
  isReadOnly: d,
@@ -908,10 +908,10 @@ function Ho(e) {
908
908
  onBlur: (L) => {
909
909
  var je, ce;
910
910
  J(U, L);
911
- const Q = L.relatedTarget === (fe == null ? void 0 : fe.current) || ((je = fe.current) == null ? void 0 : je.contains(L.relatedTarget)), G = (ce = Se.current) == null ? void 0 : ce.contains(
911
+ const Q = L.relatedTarget === (fe == null ? void 0 : fe.current) || ((je = fe.current) == null ? void 0 : je.contains(L.relatedTarget)), G = (ce = _e.current) == null ? void 0 : ce.contains(
912
912
  L.relatedTarget
913
913
  );
914
- if (!Q && !G && (r && ye(), !ge.includes(L.target.value) && w)) {
914
+ if (!Q && !G && (r && Se(), !ge.includes(L.target.value) && w)) {
915
915
  const Le = dt(ge), te = se.find(
916
916
  (Ze) => Ze.value === Le
917
917
  ), Me = (te == null ? void 0 : te.label) || (te == null ? void 0 : te.value) || "";
@@ -922,26 +922,26 @@ function Ho(e) {
922
922
  const Q = L.target.value;
923
923
  J(K, L), We(Q);
924
924
  const G = kt(Q);
925
- J(ie, Q) && (!G || xr) ? $e() : ye(), ir(!1);
925
+ J(ie, Q) && (!G || xr) ? $e() : Se(), ir(!1);
926
926
  },
927
927
  onKeyDown: (L) => {
928
928
  var je;
929
929
  J(re, L), Ie.current = "keyboard";
930
- const { key: Q } = L, G = Z[xe];
930
+ const { key: Q } = L, G = Z[ke];
931
931
  if (["Enter", ...or].includes(Q)) {
932
- G && !(G != null && G.disabled) ? Fe(G == null ? void 0 : G.value) : (je = X.current) == null || je.focus(), L.preventDefault();
932
+ G && !(G != null && G.disabled) && ye ? Fe(G == null ? void 0 : G.value) : (je = X.current) == null || je.focus(), L.preventDefault();
933
933
  return;
934
934
  }
935
935
  if (Q === "ArrowDown") {
936
- Ee ? ee(Qe == null ? void 0 : Qe.value) : $e(), L.preventDefault();
936
+ ye ? ee(Qe == null ? void 0 : Qe.value) : $e(), L.preventDefault();
937
937
  return;
938
938
  }
939
939
  if (Q === "ArrowUp") {
940
- Ee ? ee(Ve == null ? void 0 : Ve.value) : $e(), L.preventDefault();
940
+ ye ? ee(Ve == null ? void 0 : Ve.value) : $e(), L.preventDefault();
941
941
  return;
942
942
  }
943
943
  if (Q === "Tab") {
944
- Ee && G && !(G != null && G.disabled) ? Fe(G == null ? void 0 : G.value) : ye();
944
+ ye && G && !(G != null && G.disabled) ? Fe(G == null ? void 0 : G.value) : Se();
945
945
  return;
946
946
  }
947
947
  if (Q === "Home") {
@@ -952,30 +952,30 @@ function Ho(e) {
952
952
  ee(lr == null ? void 0 : lr.value), L.preventDefault();
953
953
  return;
954
954
  }
955
- Q === "Escape" && (ye(), L.preventDefault());
955
+ Q === "Escape" && (Se(), L.preventDefault());
956
956
  },
957
957
  value: pe,
958
958
  variant: g ? "unstyled" : He,
959
- ...ke
959
+ ...Te
960
960
  }
961
961
  };
962
962
  },
963
963
  getItemProps: (S, C) => {
964
- var Te;
964
+ var we;
965
965
  const {
966
966
  _fixed: U,
967
967
  _focus: K,
968
968
  children: ne,
969
969
  disabled: re,
970
970
  label: He,
971
- value: ke,
971
+ value: Te,
972
972
  fixed: L,
973
973
  getValue: Q = Tt,
974
974
  onClick: G,
975
975
  onMouseOver: je,
976
976
  sx: ce,
977
977
  ...Le
978
- } = S, te = C ? ke : (Te = Q(ke)) == null ? void 0 : Te.toString(), Me = te === _e, Ze = Z.findIndex((Ae) => Ae.value === te) >= 0, me = ne || He || te;
978
+ } = S, te = C ? Te : (we = Q(Te)) == null ? void 0 : we.toString(), Me = te === xe, Ze = Z.findIndex((Ae) => Ae.value === te) >= 0, me = ne || He || te;
979
979
  return {
980
980
  item: {
981
981
  ...typeof me != "string" || !a ? { children: me } : {
@@ -1016,10 +1016,10 @@ function Ho(e) {
1016
1016
  inputRef: X,
1017
1017
  interactionRef: Ie,
1018
1018
  isLoading: D,
1019
- isOpen: Ee,
1019
+ isOpen: ye,
1020
1020
  itemList: se,
1021
1021
  listRef: fe,
1022
- onClose: ye,
1022
+ onClose: Se,
1023
1023
  onOpen: $e,
1024
1024
  placement: $,
1025
1025
  query: pe,
@@ -1227,12 +1227,12 @@ function pr(e, ...r) {
1227
1227
  var na = (e) => typeof e == "function", Gr = { exports: {} };
1228
1228
  Gr.exports;
1229
1229
  (function(e, r) {
1230
- var o = 200, a = "__lodash_hash_undefined__", l = 800, u = 16, d = 9007199254740991, p = "[object Arguments]", h = "[object Array]", g = "[object AsyncFunction]", b = "[object Boolean]", _ = "[object Date]", y = "[object Error]", T = "[object Function]", I = "[object GeneratorFunction]", M = "[object Map]", D = "[object Number]", $ = "[object Null]", w = "[object Object]", ie = "[object Proxy]", or = "[object RegExp]", xr = "[object Set]", Ke = "[object String]", ar = "[object Undefined]", Ee = "[object WeakMap]", ye = "[object ArrayBuffer]", $e = "[object DataView]", mr = "[object Float32Array]", se = "[object Float64Array]", X = "[object Int8Array]", Se = "[object Int16Array]", fe = "[object Int32Array]", Ie = "[object Uint8Array]", vr = "[object Uint8ClampedArray]", ir = "[object Uint16Array]", Ge = "[object Uint32Array]", pe = /[\\^$.*+?()[\]{}|]/g, We = /^\[object .+?Constructor\]$/, sr = /^(?:0|[1-9]\d*)$/, F = {};
1231
- F[mr] = F[se] = F[X] = F[Se] = F[fe] = F[Ie] = F[vr] = F[ir] = F[Ge] = !0, F[p] = F[h] = F[ye] = F[b] = F[$e] = F[_] = F[y] = F[T] = F[M] = F[D] = F[w] = F[or] = F[xr] = F[Ke] = F[Ee] = !1;
1232
- var Z = typeof Fr == "object" && Fr && Fr.Object === Object && Fr, ge = typeof self == "object" && self && self.Object === Object && self, he = Z || ge || Function("return this")(), _e = r && !r.nodeType && r, ee = _e && !0 && e && !e.nodeType && e, Je = ee && ee.exports === _e, xe = Je && Z.process, Qe = function() {
1230
+ var o = 200, a = "__lodash_hash_undefined__", l = 800, u = 16, d = 9007199254740991, p = "[object Arguments]", h = "[object Array]", g = "[object AsyncFunction]", b = "[object Boolean]", _ = "[object Date]", y = "[object Error]", T = "[object Function]", I = "[object GeneratorFunction]", M = "[object Map]", D = "[object Number]", $ = "[object Null]", w = "[object Object]", ie = "[object Proxy]", or = "[object RegExp]", xr = "[object Set]", Ke = "[object String]", ar = "[object Undefined]", ye = "[object WeakMap]", Se = "[object ArrayBuffer]", $e = "[object DataView]", mr = "[object Float32Array]", se = "[object Float64Array]", X = "[object Int8Array]", _e = "[object Int16Array]", fe = "[object Int32Array]", Ie = "[object Uint8Array]", vr = "[object Uint8ClampedArray]", ir = "[object Uint16Array]", Ge = "[object Uint32Array]", pe = /[\\^$.*+?()[\]{}|]/g, We = /^\[object .+?Constructor\]$/, sr = /^(?:0|[1-9]\d*)$/, F = {};
1231
+ F[mr] = F[se] = F[X] = F[_e] = F[fe] = F[Ie] = F[vr] = F[ir] = F[Ge] = !0, F[p] = F[h] = F[Se] = F[b] = F[$e] = F[_] = F[y] = F[T] = F[M] = F[D] = F[w] = F[or] = F[xr] = F[Ke] = F[ye] = !1;
1232
+ var Z = typeof Fr == "object" && Fr && Fr.Object === Object && Fr, ge = typeof self == "object" && self && self.Object === Object && self, he = Z || ge || Function("return this")(), xe = r && !r.nodeType && r, ee = xe && !0 && e && !e.nodeType && e, Je = ee && ee.exports === xe, ke = Je && Z.process, Qe = function() {
1233
1233
  try {
1234
1234
  var t = ee && ee.require && ee.require("util").types;
1235
- return t || xe && xe.binding && xe.binding("util");
1235
+ return t || ke && ke.binding && ke.binding("util");
1236
1236
  } catch {
1237
1237
  }
1238
1238
  }(), Ve = Qe && Qe.isTypedArray;
@@ -1272,13 +1272,13 @@ Gr.exports;
1272
1272
  return t ? "Symbol(src)_1." + t : "";
1273
1273
  }(), C = dr.toString, U = Ue.call(Object), K = RegExp(
1274
1274
  "^" + Ue.call(le).replace(pe, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
1275
- ), ne = Je ? he.Buffer : void 0, re = he.Symbol, He = he.Uint8Array, ke = ne ? ne.allocUnsafe : void 0, L = br(Object.getPrototypeOf, Object), Q = Object.create, G = dr.propertyIsEnumerable, je = cr.splice, ce = re ? re.toStringTag : void 0, Le = function() {
1275
+ ), ne = Je ? he.Buffer : void 0, re = he.Symbol, He = he.Uint8Array, Te = ne ? ne.allocUnsafe : void 0, L = br(Object.getPrototypeOf, Object), Q = Object.create, G = dr.propertyIsEnumerable, je = cr.splice, ce = re ? re.toStringTag : void 0, Le = function() {
1276
1276
  try {
1277
1277
  var t = tt(Object, "defineProperty");
1278
1278
  return t({}, "", {}), t;
1279
1279
  } catch {
1280
1280
  }
1281
- }(), te = ne ? ne.isBuffer : void 0, Me = Math.max, Ze = Date.now, me = tt(he, "Map"), Te = tt(Object, "create"), Ae = function() {
1281
+ }(), te = ne ? ne.isBuffer : void 0, Me = Math.max, Ze = Date.now, me = tt(he, "Map"), we = tt(Object, "create"), Ae = /* @__PURE__ */ function() {
1282
1282
  function t() {
1283
1283
  }
1284
1284
  return function(i) {
@@ -1299,7 +1299,7 @@ Gr.exports;
1299
1299
  }
1300
1300
  }
1301
1301
  function qr() {
1302
- this.__data__ = Te ? Te(null) : {}, this.size = 0;
1302
+ this.__data__ = we ? we(null) : {}, this.size = 0;
1303
1303
  }
1304
1304
  function Ir(t) {
1305
1305
  var i = this.has(t) && delete this.__data__[t];
@@ -1307,7 +1307,7 @@ Gr.exports;
1307
1307
  }
1308
1308
  function Kr(t) {
1309
1309
  var i = this.__data__;
1310
- if (Te) {
1310
+ if (we) {
1311
1311
  var c = i[t];
1312
1312
  return c === a ? void 0 : c;
1313
1313
  }
@@ -1315,11 +1315,11 @@ Gr.exports;
1315
1315
  }
1316
1316
  function Or(t) {
1317
1317
  var i = this.__data__;
1318
- return Te ? i[t] !== void 0 : le.call(i, t);
1318
+ return we ? i[t] !== void 0 : le.call(i, t);
1319
1319
  }
1320
1320
  function jr(t, i) {
1321
1321
  var c = this.__data__;
1322
- return this.size += this.has(t) ? 0 : 1, c[t] = Te && i === void 0 ? a : i, this;
1322
+ return this.size += this.has(t) ? 0 : 1, c[t] = we && i === void 0 ? a : i, this;
1323
1323
  }
1324
1324
  ve.prototype.clear = qr, ve.prototype.delete = Ir, ve.prototype.get = Kr, ve.prototype.has = Or, ve.prototype.set = jr;
1325
1325
  function Pe(t) {
@@ -1375,12 +1375,12 @@ Gr.exports;
1375
1375
  function k(t) {
1376
1376
  return $r(this, t).has(t);
1377
1377
  }
1378
- function P(t, i) {
1378
+ function B(t, i) {
1379
1379
  var c = $r(this, t), v = c.size;
1380
1380
  return c.set(t, i), this.size += c.size == v ? 0 : 1, this;
1381
1381
  }
1382
- er.prototype.clear = n, er.prototype.delete = f, er.prototype.get = m, er.prototype.has = k, er.prototype.set = P;
1383
- function j(t) {
1382
+ er.prototype.clear = n, er.prototype.delete = f, er.prototype.get = m, er.prototype.has = k, er.prototype.set = B;
1383
+ function A(t) {
1384
1384
  var i = this.__data__ = new Pe(t);
1385
1385
  this.size = i.size;
1386
1386
  }
@@ -1407,15 +1407,15 @@ Gr.exports;
1407
1407
  }
1408
1408
  return c.set(t, i), this.size = c.size, this;
1409
1409
  }
1410
- j.prototype.clear = E, j.prototype.delete = R, j.prototype.get = oe, j.prototype.has = H, j.prototype.set = q;
1410
+ A.prototype.clear = E, A.prototype.delete = R, A.prototype.get = oe, A.prototype.has = H, A.prototype.set = q;
1411
1411
  function ue(t, i) {
1412
- var c = at(t), v = !c && ot(t), A = !c && !v && $t(t), z = !c && !v && !A && Ft(t), V = c || v || A || z, O = V ? lr(t.length, String) : [], Y = O.length;
1413
- for (var we in t)
1414
- (i || le.call(t, we)) && !(V && // Safari 9 has enumerable `arguments.length` in strict mode.
1415
- (we == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1416
- A && (we == "offset" || we == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1417
- z && (we == "buffer" || we == "byteLength" || we == "byteOffset") || // Skip index properties.
1418
- Pt(we, Y))) && O.push(we);
1412
+ var c = at(t), v = !c && ot(t), P = !c && !v && $t(t), z = !c && !v && !P && Ft(t), V = c || v || P || z, O = V ? lr(t.length, String) : [], Y = O.length;
1413
+ for (var Ce in t)
1414
+ (i || le.call(t, Ce)) && !(V && // Safari 9 has enumerable `arguments.length` in strict mode.
1415
+ (Ce == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1416
+ P && (Ce == "offset" || Ce == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1417
+ z && (Ce == "buffer" || Ce == "byteLength" || Ce == "byteOffset") || // Skip index properties.
1418
+ Pt(Ce, Y))) && O.push(Ce);
1419
1419
  return O;
1420
1420
  }
1421
1421
  function De(t, i, c) {
@@ -1463,20 +1463,20 @@ Gr.exports;
1463
1463
  v == "constructor" && (i || !le.call(t, v)) || c.push(v);
1464
1464
  return c;
1465
1465
  }
1466
- function At(t, i, c, v, A) {
1466
+ function At(t, i, c, v, P) {
1467
1467
  t !== i && Rn(i, function(z, V) {
1468
- if (A || (A = new j()), fr(z))
1469
- jn(t, i, V, c, At, v, A);
1468
+ if (P || (P = new A()), fr(z))
1469
+ jn(t, i, V, c, At, v, P);
1470
1470
  else {
1471
- var O = v ? v(nt(t, V), z, V + "", t, i, A) : void 0;
1471
+ var O = v ? v(nt(t, V), z, V + "", t, i, P) : void 0;
1472
1472
  O === void 0 && (O = z), De(t, V, O);
1473
1473
  }
1474
1474
  }, Lt);
1475
1475
  }
1476
- function jn(t, i, c, v, A, z, V) {
1477
- var O = nt(t, c), Y = nt(i, c), we = V.get(Y);
1478
- if (we) {
1479
- De(t, c, we);
1476
+ function jn(t, i, c, v, P, z, V) {
1477
+ var O = nt(t, c), Y = nt(i, c), Ce = V.get(Y);
1478
+ if (Ce) {
1479
+ De(t, c, Ce);
1480
1480
  return;
1481
1481
  }
1482
1482
  var be = z ? z(O, Y, c + "", t, i, V) : void 0, Tr = be === void 0;
@@ -1484,7 +1484,7 @@ Gr.exports;
1484
1484
  var lt = at(Y), ct = !lt && $t(Y), Dt = !lt && !ct && Ft(Y);
1485
1485
  be = Y, lt || ct || Dt ? at(O) ? be = O : Qn(O) ? be = Fn(O) : ct ? (Tr = !1, be = Bn(Y, !0)) : Dt ? (Tr = !1, be = Wn(Y, !0)) : be = [] : Zn(Y) || ot(Y) ? (be = O, ot(O) ? be = eo(O) : (!fr(O) || st(O)) && (be = Nn(Y))) : Tr = !1;
1486
1486
  }
1487
- Tr && (V.set(Y, be), A(be, Y, v, z, V), V.delete(Y)), De(t, c, be);
1487
+ Tr && (V.set(Y, be), P(be, Y, v, z, V), V.delete(Y)), De(t, c, be);
1488
1488
  }
1489
1489
  function An(t, i) {
1490
1490
  return qn(Xn(t, i, Mt), t + "");
@@ -1500,7 +1500,7 @@ Gr.exports;
1500
1500
  function Bn(t, i) {
1501
1501
  if (i)
1502
1502
  return t.slice();
1503
- var c = t.length, v = ke ? ke(c) : new t.constructor(c);
1503
+ var c = t.length, v = Te ? Te(c) : new t.constructor(c);
1504
1504
  return t.copy(v), v;
1505
1505
  }
1506
1506
  function $n(t) {
@@ -1518,18 +1518,18 @@ Gr.exports;
1518
1518
  return i;
1519
1519
  }
1520
1520
  function Ln(t, i, c, v) {
1521
- var A = !c;
1521
+ var P = !c;
1522
1522
  c || (c = {});
1523
1523
  for (var z = -1, V = i.length; ++z < V; ) {
1524
1524
  var O = i[z], Y = v ? v(c[O], t[O], O, c, t) : void 0;
1525
- Y === void 0 && (Y = t[O]), A ? rt(c, O, Y) : Pr(c, O, Y);
1525
+ Y === void 0 && (Y = t[O]), P ? rt(c, O, Y) : Pr(c, O, Y);
1526
1526
  }
1527
1527
  return c;
1528
1528
  }
1529
1529
  function Mn(t) {
1530
1530
  return An(function(i, c) {
1531
- var v = -1, A = c.length, z = A > 1 ? c[A - 1] : void 0, V = A > 2 ? c[2] : void 0;
1532
- for (z = t.length > 3 && typeof z == "function" ? (A--, z) : void 0, V && Gn(c[0], c[1], V) && (z = A < 3 ? void 0 : z, A = 1), i = Object(i); ++v < A; ) {
1531
+ var v = -1, P = c.length, z = P > 1 ? c[P - 1] : void 0, V = P > 2 ? c[2] : void 0;
1532
+ for (z = t.length > 3 && typeof z == "function" ? (P--, z) : void 0, V && Gn(c[0], c[1], V) && (z = P < 3 ? void 0 : z, P = 1), i = Object(i); ++v < P; ) {
1533
1533
  var O = c[v];
1534
1534
  O && t(i, O, v, z);
1535
1535
  }
@@ -1538,8 +1538,8 @@ Gr.exports;
1538
1538
  }
1539
1539
  function Dn(t) {
1540
1540
  return function(i, c, v) {
1541
- for (var A = -1, z = Object(i), V = v(i), O = V.length; O--; ) {
1542
- var Y = V[t ? O : ++A];
1541
+ for (var P = -1, z = Object(i), V = v(i), O = V.length; O--; ) {
1542
+ var Y = V[t ? O : ++P];
1543
1543
  if (c(z[Y], Y, z) === !1)
1544
1544
  break;
1545
1545
  }
@@ -1561,8 +1561,8 @@ Gr.exports;
1561
1561
  var v = !0;
1562
1562
  } catch {
1563
1563
  }
1564
- var A = C.call(t);
1565
- return v && (i ? t[ce] = c : delete t[ce]), A;
1564
+ var P = C.call(t);
1565
+ return v && (i ? t[ce] = c : delete t[ce]), P;
1566
1566
  }
1567
1567
  function Nn(t) {
1568
1568
  return typeof t.constructor == "function" && !Bt(t) ? Ae(L(t)) : {};
@@ -1600,11 +1600,11 @@ Gr.exports;
1600
1600
  }
1601
1601
  function Xn(t, i, c) {
1602
1602
  return i = Me(i === void 0 ? t.length - 1 : i, 0), function() {
1603
- for (var v = arguments, A = -1, z = Me(v.length - i, 0), V = Array(z); ++A < z; )
1604
- V[A] = v[i + A];
1605
- A = -1;
1606
- for (var O = Array(i + 1); ++A < i; )
1607
- O[A] = v[A];
1603
+ for (var v = arguments, P = -1, z = Me(v.length - i, 0), V = Array(z); ++P < z; )
1604
+ V[P] = v[i + P];
1605
+ P = -1;
1606
+ for (var O = Array(i + 1); ++P < i; )
1607
+ O[P] = v[P];
1608
1608
  return O[i] = c(V), Oe(t, this, O);
1609
1609
  };
1610
1610
  }
@@ -1616,8 +1616,8 @@ Gr.exports;
1616
1616
  function Kn(t) {
1617
1617
  var i = 0, c = 0;
1618
1618
  return function() {
1619
- var v = Ze(), A = u - (v - c);
1620
- if (c = v, A > 0) {
1619
+ var v = Ze(), P = u - (v - c);
1620
+ if (c = v, P > 0) {
1621
1621
  if (++i >= l)
1622
1622
  return arguments[0];
1623
1623
  } else
@@ -1641,7 +1641,7 @@ Gr.exports;
1641
1641
  function Wr(t, i) {
1642
1642
  return t === i || t !== t && i !== i;
1643
1643
  }
1644
- var ot = jt(function() {
1644
+ var ot = jt(/* @__PURE__ */ function() {
1645
1645
  return arguments;
1646
1646
  }()) ? jt : function(t) {
1647
1647
  return kr(t) && le.call(t, "callee") && !G.call(t, "callee");
@@ -1718,7 +1718,7 @@ function Ct(e) {
1718
1718
  };
1719
1719
  }
1720
1720
  var Mr = (...e) => (r) => e.reduce((o, a) => a(o), r);
1721
- function Ce(e, r) {
1721
+ function Re(e, r) {
1722
1722
  return (o) => {
1723
1723
  const a = { property: o, scale: e };
1724
1724
  return a.transform = Ct({
@@ -1871,7 +1871,7 @@ function ya(e) {
1871
1871
  var Sa = (e) => {
1872
1872
  const r = parseFloat(e.toString()), o = e.toString().replace(String(r), "");
1873
1873
  return { unitless: !o, value: r, unit: o };
1874
- }, ze = (e) => (r) => `${e}(${r})`, B = {
1874
+ }, ze = (e) => (r) => `${e}(${r})`, j = {
1875
1875
  filter(e) {
1876
1876
  return e !== "auto" ? e : da;
1877
1877
  },
@@ -1879,7 +1879,7 @@ var Sa = (e) => {
1879
1879
  return e !== "auto" ? e : fa;
1880
1880
  },
1881
1881
  ring(e) {
1882
- return pa(B.px(e));
1882
+ return pa(j.px(e));
1883
1883
  },
1884
1884
  bgClip(e) {
1885
1885
  return e === "text" ? { color: "transparent", backgroundClip: "text" } : { backgroundClip: e };
@@ -1916,7 +1916,7 @@ var Sa = (e) => {
1916
1916
  contrast: ze("contrast"),
1917
1917
  dropShadow: ze("drop-shadow"),
1918
1918
  grayscale: ze("grayscale"),
1919
- hueRotate: ze("hue-rotate"),
1919
+ hueRotate: (e) => ze("hue-rotate")(j.degree(e)),
1920
1920
  invert: ze("invert"),
1921
1921
  saturate: ze("saturate"),
1922
1922
  sepia: ze("sepia"),
@@ -1933,16 +1933,16 @@ var Sa = (e) => {
1933
1933
  return o && (l[o] = 1), a && (l[a] = 1), l;
1934
1934
  }
1935
1935
  }, s = {
1936
- borderWidths: Ce("borderWidths"),
1937
- borderStyles: Ce("borderStyles"),
1938
- colors: Ce("colors"),
1939
- borders: Ce("borders"),
1940
- gradients: Ce("gradients", B.gradient),
1941
- radii: Ce("radii", B.px),
1942
- space: Ce("space", Mr(B.vh, B.px)),
1943
- spaceT: Ce("space", Mr(B.vh, B.px)),
1936
+ borderWidths: Re("borderWidths"),
1937
+ borderStyles: Re("borderStyles"),
1938
+ colors: Re("colors"),
1939
+ borders: Re("borders"),
1940
+ gradients: Re("gradients", j.gradient),
1941
+ radii: Re("radii", j.px),
1942
+ space: Re("space", Mr(j.vh, j.px)),
1943
+ spaceT: Re("space", Mr(j.vh, j.px)),
1944
1944
  degreeT(e) {
1945
- return { property: e, transform: B.degree };
1945
+ return { property: e, transform: j.degree };
1946
1946
  },
1947
1947
  prop(e, r, o) {
1948
1948
  return {
@@ -1956,11 +1956,11 @@ var Sa = (e) => {
1956
1956
  propT(e, r) {
1957
1957
  return { property: e, transform: r };
1958
1958
  },
1959
- sizes: Ce("sizes", Mr(B.vh, B.px)),
1960
- sizesT: Ce("sizes", Mr(B.vh, B.fraction)),
1961
- shadows: Ce("shadows"),
1959
+ sizes: Re("sizes", Mr(j.vh, j.px)),
1960
+ sizesT: Re("sizes", Mr(j.vh, j.fraction)),
1961
+ shadows: Re("shadows"),
1962
1962
  logical: la,
1963
- blur: Ce("blur", B.blur)
1963
+ blur: Re("blur", j.blur)
1964
1964
  }, zr = {
1965
1965
  background: s.colors("background"),
1966
1966
  backgroundColor: s.colors("backgroundColor"),
@@ -1969,7 +1969,7 @@ var Sa = (e) => {
1969
1969
  backgroundPosition: !0,
1970
1970
  backgroundRepeat: !0,
1971
1971
  backgroundAttachment: !0,
1972
- backgroundClip: { transform: B.bgClip },
1972
+ backgroundClip: { transform: j.bgClip },
1973
1973
  bgSize: s.prop("backgroundSize"),
1974
1974
  bgPosition: s.prop("backgroundPosition"),
1975
1975
  bg: s.colors("background"),
@@ -1978,7 +1978,7 @@ var Sa = (e) => {
1978
1978
  bgRepeat: s.prop("backgroundRepeat"),
1979
1979
  bgAttachment: s.prop("backgroundAttachment"),
1980
1980
  bgGradient: s.gradients("backgroundImage"),
1981
- bgClip: { transform: B.bgClip }
1981
+ bgClip: { transform: j.bgClip }
1982
1982
  };
1983
1983
  Object.assign(zr, {
1984
1984
  bgImage: zr.backgroundImage,
@@ -2134,31 +2134,34 @@ Object.assign(bt, {
2134
2134
  shadow: bt.boxShadow
2135
2135
  });
2136
2136
  var xa = {
2137
- filter: { transform: B.filter },
2137
+ filter: { transform: j.filter },
2138
2138
  blur: s.blur("--chakra-blur"),
2139
- brightness: s.propT("--chakra-brightness", B.brightness),
2140
- contrast: s.propT("--chakra-contrast", B.contrast),
2141
- hueRotate: s.degreeT("--chakra-hue-rotate"),
2142
- invert: s.propT("--chakra-invert", B.invert),
2143
- saturate: s.propT("--chakra-saturate", B.saturate),
2144
- dropShadow: s.propT("--chakra-drop-shadow", B.dropShadow),
2145
- backdropFilter: { transform: B.backdropFilter },
2139
+ brightness: s.propT("--chakra-brightness", j.brightness),
2140
+ contrast: s.propT("--chakra-contrast", j.contrast),
2141
+ hueRotate: s.propT("--chakra-hue-rotate", j.hueRotate),
2142
+ invert: s.propT("--chakra-invert", j.invert),
2143
+ saturate: s.propT("--chakra-saturate", j.saturate),
2144
+ dropShadow: s.propT("--chakra-drop-shadow", j.dropShadow),
2145
+ backdropFilter: { transform: j.backdropFilter },
2146
2146
  backdropBlur: s.blur("--chakra-backdrop-blur"),
2147
2147
  backdropBrightness: s.propT(
2148
2148
  "--chakra-backdrop-brightness",
2149
- B.brightness
2149
+ j.brightness
2150
+ ),
2151
+ backdropContrast: s.propT("--chakra-backdrop-contrast", j.contrast),
2152
+ backdropHueRotate: s.propT(
2153
+ "--chakra-backdrop-hue-rotate",
2154
+ j.hueRotate
2150
2155
  ),
2151
- backdropContrast: s.propT("--chakra-backdrop-contrast", B.contrast),
2152
- backdropHueRotate: s.degreeT("--chakra-backdrop-hue-rotate"),
2153
- backdropInvert: s.propT("--chakra-backdrop-invert", B.invert),
2154
- backdropSaturate: s.propT("--chakra-backdrop-saturate", B.saturate)
2156
+ backdropInvert: s.propT("--chakra-backdrop-invert", j.invert),
2157
+ backdropSaturate: s.propT("--chakra-backdrop-saturate", j.saturate)
2155
2158
  }, Vr = {
2156
2159
  alignItems: !0,
2157
2160
  alignContent: !0,
2158
2161
  justifyItems: !0,
2159
2162
  justifyContent: !0,
2160
2163
  flexWrap: !0,
2161
- flexDirection: { transform: B.flexDirection },
2164
+ flexDirection: { transform: j.flexDirection },
2162
2165
  flex: !0,
2163
2166
  flexFlow: !0,
2164
2167
  flexGrow: !0,
@@ -2201,10 +2204,10 @@ var mn = {
2201
2204
  resize: !0,
2202
2205
  userSelect: !0,
2203
2206
  pointerEvents: !0,
2204
- outline: { transform: B.outline },
2207
+ outline: { transform: j.outline },
2205
2208
  outlineOffset: !0,
2206
2209
  outlineColor: s.colors("outlineColor")
2207
- }, Re = {
2210
+ }, Ee = {
2208
2211
  width: s.sizesT("width"),
2209
2212
  inlineSize: s.sizesT("inlineSize"),
2210
2213
  height: s.sizes("height"),
@@ -2243,22 +2246,22 @@ var mn = {
2243
2246
  verticalAlign: !0,
2244
2247
  boxSizing: !0,
2245
2248
  boxDecorationBreak: !0,
2246
- float: s.propT("float", B.float),
2249
+ float: s.propT("float", j.float),
2247
2250
  objectFit: !0,
2248
2251
  objectPosition: !0,
2249
2252
  visibility: !0,
2250
2253
  isolation: !0
2251
2254
  };
2252
- Object.assign(Re, {
2253
- w: Re.width,
2254
- h: Re.height,
2255
- minW: Re.minWidth,
2256
- maxW: Re.maxWidth,
2257
- minH: Re.minHeight,
2258
- maxH: Re.maxHeight,
2259
- overscroll: Re.overscrollBehavior,
2260
- overscrollX: Re.overscrollBehaviorX,
2261
- overscrollY: Re.overscrollBehaviorY
2255
+ Object.assign(Ee, {
2256
+ w: Ee.width,
2257
+ h: Ee.height,
2258
+ minW: Ee.minWidth,
2259
+ maxW: Ee.maxWidth,
2260
+ minH: Ee.minHeight,
2261
+ maxH: Ee.maxHeight,
2262
+ overscroll: Ee.overscrollBehavior,
2263
+ overscrollX: Ee.overscrollBehaviorX,
2264
+ overscrollY: Ee.overscrollBehaviorY
2262
2265
  });
2263
2266
  var Ta = {
2264
2267
  listStyleType: !0,
@@ -2356,7 +2359,7 @@ Object.assign(Er, {
2356
2359
  insetEnd: Er.insetInlineEnd
2357
2360
  });
2358
2361
  var ja = {
2359
- ring: { transform: B.ring },
2362
+ ring: { transform: j.ring },
2360
2363
  ringColor: s.colors("--chakra-ring-color"),
2361
2364
  ringOffset: s.prop("--chakra-ring-offset-width"),
2362
2365
  ringOffsetColor: s.colors("--chakra-ring-offset-color"),
@@ -2424,7 +2427,7 @@ var Aa = {
2424
2427
  textShadow: s.shadows("textShadow")
2425
2428
  }, Pa = {
2426
2429
  clipPath: !0,
2427
- transform: s.propT("transform", B.transform),
2430
+ transform: s.propT("transform", j.transform),
2428
2431
  transformOrigin: !0,
2429
2432
  translateX: s.spaceT("--chakra-translate-x"),
2430
2433
  translateY: s.spaceT("--chakra-translate-y"),
@@ -2447,7 +2450,7 @@ var Aa = {
2447
2450
  )
2448
2451
  }, $a = {
2449
2452
  fontFamily: s.prop("fontFamily", "fonts"),
2450
- fontSize: s.prop("fontSize", "fontSizes", B.px),
2453
+ fontSize: s.prop("fontSize", "fontSizes", j.px),
2451
2454
  fontWeight: s.prop("fontWeight", "fontWeights"),
2452
2455
  lineHeight: s.prop("lineHeight", "lineHeights"),
2453
2456
  letterSpacing: s.prop("letterSpacing", "letterSpacings"),
@@ -2475,6 +2478,7 @@ var Aa = {
2475
2478
  textOverflow: "ellipsis",
2476
2479
  display: "-webkit-box",
2477
2480
  WebkitBoxOrient: "vertical",
2481
+ //@ts-ignore
2478
2482
  WebkitLineClamp: "var(--chakra-line-clamp)"
2479
2483
  },
2480
2484
  property: "--chakra-line-clamp"
@@ -2484,6 +2488,7 @@ var Aa = {
2484
2488
  scrollSnapAlign: !0,
2485
2489
  scrollSnapStop: !0,
2486
2490
  scrollSnapType: !0,
2491
+ // scroll margin
2487
2492
  scrollMargin: s.spaceT("scrollMargin"),
2488
2493
  scrollMarginTop: s.spaceT("scrollMarginTop"),
2489
2494
  scrollMarginBottom: s.spaceT("scrollMarginBottom"),
@@ -2491,6 +2496,7 @@ var Aa = {
2491
2496
  scrollMarginRight: s.spaceT("scrollMarginRight"),
2492
2497
  scrollMarginX: s.spaceT(["scrollMarginLeft", "scrollMarginRight"]),
2493
2498
  scrollMarginY: s.spaceT(["scrollMarginTop", "scrollMarginBottom"]),
2499
+ // scroll padding
2494
2500
  scrollPadding: s.spaceT("scrollPadding"),
2495
2501
  scrollPaddingTop: s.spaceT("scrollPaddingTop"),
2496
2502
  scrollPaddingBottom: s.spaceT("scrollPaddingBottom"),
@@ -2550,66 +2556,292 @@ var ae = {
2550
2556
  expanded: (e, r) => `${e}:read-only ${r}, ${e}[aria-expanded=true] ${r}, ${e}[data-expanded] ${r}`,
2551
2557
  placeholderShown: (e, r) => `${e}:placeholder-shown ${r}`
2552
2558
  }, rr = (e) => bn((r) => e(r, "&"), "[role=group]", "[data-group]", ".group"), Xe = (e) => bn((r) => e(r, "~ &"), "[data-peer]", ".peer"), bn = (e, ...r) => r.map(e).join(", "), Rt = {
2559
+ /**
2560
+ * Styles for CSS selector `&:hover`
2561
+ */
2553
2562
  _hover: "&:hover, &[data-hover]",
2563
+ /**
2564
+ * Styles for CSS Selector `&:active`
2565
+ */
2554
2566
  _active: "&:active, &[data-active]",
2567
+ /**
2568
+ * Styles for CSS selector `&:focus`
2569
+ *
2570
+ */
2555
2571
  _focus: "&:focus, &[data-focus]",
2572
+ /**
2573
+ * Styles for the highlighted state.
2574
+ */
2556
2575
  _highlighted: "&[data-highlighted]",
2576
+ /**
2577
+ * Styles to apply when a child of this element has received focus
2578
+ * - CSS Selector `&:focus-within`
2579
+ */
2557
2580
  _focusWithin: "&:focus-within",
2581
+ /**
2582
+ * Styles to apply when this element has received focus via tabbing
2583
+ * - CSS Selector `&:focus-visible`
2584
+ */
2558
2585
  _focusVisible: "&:focus-visible, &[data-focus-visible]",
2586
+ /**
2587
+ * Styles to apply when this element is disabled. The passed styles are applied to these CSS selectors:
2588
+ * - `&[aria-disabled=true]`
2589
+ * - `&:disabled`
2590
+ * - `&[data-disabled]`
2591
+ * - `&[disabled]`
2592
+ */
2559
2593
  _disabled: "&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",
2594
+ /**
2595
+ * Styles for CSS Selector `&:readonly`
2596
+ */
2560
2597
  _readOnly: "&[aria-readonly=true], &[readonly], &[data-readonly]",
2598
+ /**
2599
+ * Styles for CSS selector `&::before`
2600
+ *
2601
+ * NOTE:When using this, ensure the `content` is wrapped in a backtick.
2602
+ * @example
2603
+ * ```jsx
2604
+ * <Box _before={{content:`""` }}/>
2605
+ * ```
2606
+ */
2561
2607
  _before: "&::before",
2608
+ /**
2609
+ * Styles for CSS selector `&::after`
2610
+ *
2611
+ * NOTE:When using this, ensure the `content` is wrapped in a backtick.
2612
+ * @example
2613
+ * ```jsx
2614
+ * <Box _after={{content:`""` }}/>
2615
+ * ```
2616
+ */
2562
2617
  _after: "&::after",
2618
+ /**
2619
+ * Styles for CSS selector `&:empty`
2620
+ */
2563
2621
  _empty: "&:empty",
2622
+ /**
2623
+ * Styles to apply when the ARIA attribute `aria-expanded` is `true`
2624
+ * - CSS selector `&[aria-expanded=true]`
2625
+ */
2564
2626
  _expanded: "&[aria-expanded=true], &[data-expanded]",
2627
+ /**
2628
+ * Styles to apply when the ARIA attribute `aria-checked` is `true`
2629
+ * - CSS selector `&[aria-checked=true]`
2630
+ */
2565
2631
  _checked: "&[aria-checked=true], &[data-checked]",
2632
+ /**
2633
+ * Styles to apply when the ARIA attribute `aria-grabbed` is `true`
2634
+ * - CSS selector `&[aria-grabbed=true]`
2635
+ */
2566
2636
  _grabbed: "&[aria-grabbed=true], &[data-grabbed]",
2637
+ /**
2638
+ * Styles for CSS Selector `&[aria-pressed=true]`
2639
+ * Typically used to style the current "pressed" state of toggle buttons
2640
+ */
2567
2641
  _pressed: "&[aria-pressed=true], &[data-pressed]",
2642
+ /**
2643
+ * Styles to apply when the ARIA attribute `aria-invalid` is `true`
2644
+ * - CSS selector `&[aria-invalid=true]`
2645
+ */
2568
2646
  _invalid: "&[aria-invalid=true], &[data-invalid]",
2647
+ /**
2648
+ * Styles for the valid state
2649
+ * - CSS selector `&[data-valid], &[data-state=valid]`
2650
+ */
2569
2651
  _valid: "&[data-valid], &[data-state=valid]",
2652
+ /**
2653
+ * Styles for CSS Selector `&[aria-busy=true]` or `&[data-loading=true]`.
2654
+ * Useful for styling loading states
2655
+ */
2570
2656
  _loading: "&[data-loading], &[aria-busy=true]",
2657
+ /**
2658
+ * Styles to apply when the ARIA attribute `aria-selected` is `true`
2659
+ *
2660
+ * - CSS selector `&[aria-selected=true]`
2661
+ */
2571
2662
  _selected: "&[aria-selected=true], &[data-selected]",
2663
+ /**
2664
+ * Styles for CSS Selector `[hidden=true]`
2665
+ */
2572
2666
  _hidden: "&[hidden], &[data-hidden]",
2667
+ /**
2668
+ * Styles for CSS Selector `&:-webkit-autofill`
2669
+ */
2573
2670
  _autofill: "&:-webkit-autofill",
2671
+ /**
2672
+ * Styles for CSS Selector `&:nth-child(even)`
2673
+ */
2574
2674
  _even: "&:nth-of-type(even)",
2675
+ /**
2676
+ * Styles for CSS Selector `&:nth-child(odd)`
2677
+ */
2575
2678
  _odd: "&:nth-of-type(odd)",
2679
+ /**
2680
+ * Styles for CSS Selector `&:first-of-type`
2681
+ */
2576
2682
  _first: "&:first-of-type",
2683
+ /**
2684
+ * Styles for CSS selector `&::first-letter`
2685
+ *
2686
+ * NOTE: This selector is only applied for block-level elements and not preceded by an image or table.
2687
+ * @example
2688
+ * ```jsx
2689
+ * <Text _firstLetter={{ textDecoration: 'underline' }}>Once upon a time</Text>
2690
+ * ```
2691
+ */
2577
2692
  _firstLetter: "&::first-letter",
2693
+ /**
2694
+ * Styles for CSS Selector `&:last-of-type`
2695
+ */
2578
2696
  _last: "&:last-of-type",
2697
+ /**
2698
+ * Styles for CSS Selector `&:not(:first-of-type)`
2699
+ */
2579
2700
  _notFirst: "&:not(:first-of-type)",
2701
+ /**
2702
+ * Styles for CSS Selector `&:not(:last-of-type)`
2703
+ */
2580
2704
  _notLast: "&:not(:last-of-type)",
2705
+ /**
2706
+ * Styles for CSS Selector `&:visited`
2707
+ */
2581
2708
  _visited: "&:visited",
2709
+ /**
2710
+ * Used to style the active link in a navigation
2711
+ * Styles for CSS Selector `&[aria-current=page]`
2712
+ */
2582
2713
  _activeLink: "&[aria-current=page]",
2714
+ /**
2715
+ * Used to style the current step within a process
2716
+ * Styles for CSS Selector `&[aria-current=step]`
2717
+ */
2583
2718
  _activeStep: "&[aria-current=step]",
2719
+ /**
2720
+ * Styles to apply when the ARIA attribute `aria-checked` is `mixed`
2721
+ * - CSS selector `&[aria-checked=mixed]`
2722
+ */
2584
2723
  _indeterminate: "&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",
2724
+ /**
2725
+ * Styles to apply when a parent element with `.group`, `data-group` or `role=group` is hovered
2726
+ */
2585
2727
  _groupHover: rr(ae.hover),
2728
+ /**
2729
+ * Styles to apply when a sibling element with `.peer` or `data-peer` is hovered
2730
+ */
2586
2731
  _peerHover: Xe(ae.hover),
2732
+ /**
2733
+ * Styles to apply when a parent element with `.group`, `data-group` or `role=group` is focused
2734
+ */
2587
2735
  _groupFocus: rr(ae.focus),
2736
+ /**
2737
+ * Styles to apply when a sibling element with `.peer` or `data-peer` is focused
2738
+ */
2588
2739
  _peerFocus: Xe(ae.focus),
2740
+ /**
2741
+ * Styles to apply when a parent element with `.group`, `data-group` or `role=group` has visible focus
2742
+ */
2589
2743
  _groupFocusVisible: rr(ae.focusVisible),
2744
+ /**
2745
+ * Styles to apply when a sibling element with `.peer`or `data-peer` has visible focus
2746
+ */
2590
2747
  _peerFocusVisible: Xe(ae.focusVisible),
2748
+ /**
2749
+ * Styles to apply when a parent element with `.group`, `data-group` or `role=group` is active
2750
+ */
2591
2751
  _groupActive: rr(ae.active),
2752
+ /**
2753
+ * Styles to apply when a sibling element with `.peer` or `data-peer` is active
2754
+ */
2592
2755
  _peerActive: Xe(ae.active),
2756
+ /**
2757
+ * Styles to apply when a parent element with `.group`, `data-group` or `role=group` is disabled
2758
+ */
2593
2759
  _groupDisabled: rr(ae.disabled),
2760
+ /**
2761
+ * Styles to apply when a sibling element with `.peer` or `data-peer` is disabled
2762
+ */
2594
2763
  _peerDisabled: Xe(ae.disabled),
2764
+ /**
2765
+ * Styles to apply when a parent element with `.group`, `data-group` or `role=group` is invalid
2766
+ */
2595
2767
  _groupInvalid: rr(ae.invalid),
2768
+ /**
2769
+ * Styles to apply when a sibling element with `.peer` or `data-peer` is invalid
2770
+ */
2596
2771
  _peerInvalid: Xe(ae.invalid),
2772
+ /**
2773
+ * Styles to apply when a parent element with `.group`, `data-group` or `role=group` is checked
2774
+ */
2597
2775
  _groupChecked: rr(ae.checked),
2776
+ /**
2777
+ * Styles to apply when a sibling element with `.peer` or `data-peer` is checked
2778
+ */
2598
2779
  _peerChecked: Xe(ae.checked),
2780
+ /**
2781
+ * Styles to apply when a parent element with `.group`, `data-group` or `role=group` has focus within
2782
+ */
2599
2783
  _groupFocusWithin: rr(ae.focusWithin),
2784
+ /**
2785
+ * Styles to apply when a sibling element with `.peer` or `data-peer` has focus within
2786
+ */
2600
2787
  _peerFocusWithin: Xe(ae.focusWithin),
2788
+ /**
2789
+ * Styles to apply when a sibling element with `.peer` or `data-peer` has placeholder shown
2790
+ */
2601
2791
  _peerPlaceholderShown: Xe(ae.placeholderShown),
2792
+ /**
2793
+ * Styles for CSS Selector `&::placeholder`.
2794
+ */
2602
2795
  _placeholder: "&::placeholder",
2796
+ /**
2797
+ * Styles for CSS Selector `&:placeholder-shown`.
2798
+ */
2603
2799
  _placeholderShown: "&:placeholder-shown",
2800
+ /**
2801
+ * Styles for CSS Selector `&:fullscreen`.
2802
+ */
2604
2803
  _fullScreen: "&:fullscreen",
2804
+ /**
2805
+ * Styles for CSS Selector `&::selection`
2806
+ */
2605
2807
  _selection: "&::selection",
2808
+ /**
2809
+ * Styles for CSS Selector `[dir=rtl] &`
2810
+ * It is applied when a parent element or this element has `dir="rtl"`
2811
+ */
2606
2812
  _rtl: "[dir=rtl] &, &[dir=rtl]",
2813
+ /**
2814
+ * Styles for CSS Selector `[dir=ltr] &`
2815
+ * It is applied when a parent element or this element has `dir="ltr"`
2816
+ */
2607
2817
  _ltr: "[dir=ltr] &, &[dir=ltr]",
2818
+ /**
2819
+ * Styles for CSS Selector `@media (prefers-color-scheme: dark)`
2820
+ * It is used when the user has requested the system use a light or dark color theme.
2821
+ */
2608
2822
  _mediaDark: "@media (prefers-color-scheme: dark)",
2823
+ /**
2824
+ * Styles for CSS Selector `@media (prefers-reduced-motion: reduce)`
2825
+ * It is used when the user has requested the system to reduce the amount of animations.
2826
+ */
2609
2827
  _mediaReduceMotion: "@media (prefers-reduced-motion: reduce)",
2828
+ /**
2829
+ * Styles for when `data-theme` is applied to any parent of
2830
+ * this component or element.
2831
+ */
2610
2832
  _dark: ".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",
2833
+ /**
2834
+ * Styles for when `data-theme` is applied to any parent of
2835
+ * this component or element.
2836
+ */
2611
2837
  _light: ".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",
2838
+ /**
2839
+ * Styles for the CSS Selector `&[data-orientation=horizontal]`
2840
+ */
2612
2841
  _horizontal: "&[data-orientation=horizontal]",
2842
+ /**
2843
+ * Styles for the CSS Selector `&[data-orientation=vertical]`
2844
+ */
2613
2845
  _vertical: "&[data-orientation=vertical]"
2614
2846
  }, Ma = Object.keys(
2615
2847
  Rt
@@ -2626,7 +2858,7 @@ var Et = tr(
2626
2858
  W,
2627
2859
  _a,
2628
2860
  Vr,
2629
- Re,
2861
+ Ee,
2630
2862
  xa,
2631
2863
  ja,
2632
2864
  ka,
@@ -2642,7 +2874,7 @@ var Et = tr(
2642
2874
  Ta,
2643
2875
  Ba
2644
2876
  );
2645
- Object.assign({}, N, Re, Vr, mn, Er);
2877
+ Object.assign({}, N, Ee, Vr, mn, Er);
2646
2878
  var za = [...Object.keys(Et), ...Ma], Na = { ...Et, ...Rt }, Ga = (e) => e in Na, Va = (e) => (r) => {
2647
2879
  if (!r.__breakpoints)
2648
2880
  return e;