@acrool/react-picker 0.1.0-alpha.2 → 0.1.0-alpha.4

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.
@@ -1,5 +1,5 @@
1
- import * as Fn from "react";
2
- import On, { createContext as kt, useContext as $, useCallback as rt, useEffect as ot, useLayoutEffect as oa, useRef as it, useInsertionEffect as er, useMemo as Mt, forwardRef as ke, Fragment as nr, createElement as aa, useId as jn, Component as la, Children as ca, isValidElement as ua, useState as _t } from "react";
1
+ import * as On from "react";
2
+ import jn, { createContext as kt, useContext as $, useRef as J, useCallback as st, useEffect as ot, useLayoutEffect as oa, useInsertionEffect as er, useMemo as Mt, forwardRef as ke, Fragment as nr, createElement as aa, useId as _n, Component as la, Children as ca, isValidElement as ua, useState as _t } from "react";
3
3
  import fa from "react-dom";
4
4
  var lt = /* @__PURE__ */ ((t) => (t.bottom = "bottom", t.top = "top", t))(lt || {}), Jt = /* @__PURE__ */ ((t) => (t.left = "left", t.right = "right", t))(Jt || {});
5
5
  const fe = [
@@ -55,7 +55,7 @@ const yt = {
55
55
  info: pa,
56
56
  warning: ma,
57
57
  danger: ga
58
- }, _n = kt({
58
+ }, Bn = kt({
59
59
  hide: () => yt.warning("No hide method detected, did you embed your app with Acrool/PickerPortal?"),
60
60
  show: () => yt.warning("No show method detected, did you embed your app with Acrool/PickerPortal?"),
61
61
  toggle: () => yt.warning("No toggle method detected, did you embed your app with Acrool/PickerPortal?"),
@@ -66,8 +66,8 @@ const yt = {
66
66
  onChange: () => yt.warning("No onChange method detected, did you embed your app with Acrool/PickerPortal?"),
67
67
  vertical: lt.bottom,
68
68
  setVertical: () => yt.warning("No onChange method detected, did you embed your app with Acrool/PickerPortal?")
69
- }), vh = _n.Consumer, ya = () => $(_n);
70
- var vn = { exports: {} }, Xt = {};
69
+ }), vh = Bn.Consumer, ya = () => $(Bn);
70
+ var Pn = { exports: {} }, Xt = {};
71
71
  /**
72
72
  * @license React
73
73
  * react-jsx-runtime.production.min.js
@@ -77,12 +77,12 @@ var vn = { exports: {} }, Xt = {};
77
77
  * This source code is licensed under the MIT license found in the
78
78
  * LICENSE file in the root directory of this source tree.
79
79
  */
80
- var Li;
80
+ var Fi;
81
81
  function va() {
82
- if (Li)
82
+ if (Fi)
83
83
  return Xt;
84
- Li = 1;
85
- var t = On, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
84
+ Fi = 1;
85
+ var t = jn, e = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
86
86
  function r(a, l, c) {
87
87
  var u, f = {}, d = null, p = null;
88
88
  c !== void 0 && (d = "" + c), l.key !== void 0 && (d = "" + l.key), l.ref !== void 0 && (p = l.ref);
@@ -105,49 +105,49 @@ var qt = {};
105
105
  * This source code is licensed under the MIT license found in the
106
106
  * LICENSE file in the root directory of this source tree.
107
107
  */
108
- var Fi;
108
+ var Oi;
109
109
  function Pa() {
110
- return Fi || (Fi = 1, process.env.NODE_ENV !== "production" && function() {
111
- var t = On, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), m = Symbol.iterator, P = "@@iterator";
110
+ return Oi || (Oi = 1, process.env.NODE_ENV !== "production" && function() {
111
+ var t = jn, e = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), r = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), m = Symbol.iterator, P = "@@iterator";
112
112
  function b(h) {
113
113
  if (h === null || typeof h != "object")
114
114
  return null;
115
115
  var g = m && h[m] || h[P];
116
116
  return typeof g == "function" ? g : null;
117
117
  }
118
- var T = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
118
+ var x = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
119
119
  function y(h) {
120
120
  {
121
- for (var g = arguments.length, x = new Array(g > 1 ? g - 1 : 0), C = 1; C < g; C++)
122
- x[C - 1] = arguments[C];
123
- v("error", h, x);
121
+ for (var g = arguments.length, T = new Array(g > 1 ? g - 1 : 0), C = 1; C < g; C++)
122
+ T[C - 1] = arguments[C];
123
+ v("error", h, T);
124
124
  }
125
125
  }
126
- function v(h, g, x) {
126
+ function v(h, g, T) {
127
127
  {
128
- var C = T.ReactDebugCurrentFrame, D = C.getStackAddendum();
129
- D !== "" && (g += "%s", x = x.concat([D]));
130
- var k = x.map(function(V) {
128
+ var C = x.ReactDebugCurrentFrame, D = C.getStackAddendum();
129
+ D !== "" && (g += "%s", T = T.concat([D]));
130
+ var k = T.map(function(V) {
131
131
  return String(V);
132
132
  });
133
133
  k.unshift("Warning: " + g), Function.prototype.apply.call(console[h], console, k);
134
134
  }
135
135
  }
136
- var w = !1, A = !1, L = !1, q = !1, E = !1, U;
136
+ var w = !1, A = !1, F = !1, q = !1, E = !1, U;
137
137
  U = Symbol.for("react.module.reference");
138
138
  function G(h) {
139
- return !!(typeof h == "string" || typeof h == "function" || h === i || h === o || E || h === s || h === c || h === u || q || h === p || w || A || L || typeof h == "object" && h !== null && (h.$$typeof === d || h.$$typeof === f || h.$$typeof === r || h.$$typeof === a || h.$$typeof === l || // This needs to include all possible module reference object
139
+ return !!(typeof h == "string" || typeof h == "function" || h === i || h === o || E || h === s || h === c || h === u || q || h === p || w || A || F || typeof h == "object" && h !== null && (h.$$typeof === d || h.$$typeof === f || h.$$typeof === r || h.$$typeof === a || h.$$typeof === l || // This needs to include all possible module reference object
140
140
  // types supported by any Flight configuration anywhere since
141
141
  // we don't know which Flight build this will end up being used
142
142
  // with.
143
143
  h.$$typeof === U || h.getModuleId !== void 0));
144
144
  }
145
- function j(h, g, x) {
145
+ function N(h, g, T) {
146
146
  var C = h.displayName;
147
147
  if (C)
148
148
  return C;
149
149
  var D = g.displayName || g.name || "";
150
- return D !== "" ? x + "(" + D + ")" : x;
150
+ return D !== "" ? T + "(" + D + ")" : T;
151
151
  }
152
152
  function gt(h) {
153
153
  return h.displayName || "Context";
@@ -179,10 +179,10 @@ function Pa() {
179
179
  var g = h;
180
180
  return gt(g) + ".Consumer";
181
181
  case r:
182
- var x = h;
183
- return gt(x._context) + ".Provider";
182
+ var T = h;
183
+ return gt(T._context) + ".Provider";
184
184
  case l:
185
- return j(h, h.render, "ForwardRef");
185
+ return N(h, h.render, "ForwardRef");
186
186
  case f:
187
187
  var C = h.displayName || null;
188
188
  return C !== null ? C : Y(h.type) || "Memo";
@@ -197,18 +197,18 @@ function Pa() {
197
197
  }
198
198
  return null;
199
199
  }
200
- var st = Object.assign, _ = 0, Q, Lt, Ft, pi, mi, gi, yi;
201
- function vi() {
200
+ var rt = Object.assign, j = 0, tt, Lt, Ft, mi, gi, yi, vi;
201
+ function Pi() {
202
202
  }
203
- vi.__reactDisabledLog = !0;
203
+ Pi.__reactDisabledLog = !0;
204
204
  function Lo() {
205
205
  {
206
- if (_ === 0) {
207
- Q = console.log, Lt = console.info, Ft = console.warn, pi = console.error, mi = console.group, gi = console.groupCollapsed, yi = console.groupEnd;
206
+ if (j === 0) {
207
+ tt = console.log, Lt = console.info, Ft = console.warn, mi = console.error, gi = console.group, yi = console.groupCollapsed, vi = console.groupEnd;
208
208
  var h = {
209
209
  configurable: !0,
210
210
  enumerable: !0,
211
- value: vi,
211
+ value: Pi,
212
212
  writable: !0
213
213
  };
214
214
  Object.defineProperties(console, {
@@ -221,46 +221,46 @@ function Pa() {
221
221
  groupEnd: h
222
222
  });
223
223
  }
224
- _++;
224
+ j++;
225
225
  }
226
226
  }
227
227
  function Fo() {
228
228
  {
229
- if (_--, _ === 0) {
229
+ if (j--, j === 0) {
230
230
  var h = {
231
231
  configurable: !0,
232
232
  enumerable: !0,
233
233
  writable: !0
234
234
  };
235
235
  Object.defineProperties(console, {
236
- log: st({}, h, {
237
- value: Q
236
+ log: rt({}, h, {
237
+ value: tt
238
238
  }),
239
- info: st({}, h, {
239
+ info: rt({}, h, {
240
240
  value: Lt
241
241
  }),
242
- warn: st({}, h, {
242
+ warn: rt({}, h, {
243
243
  value: Ft
244
244
  }),
245
- error: st({}, h, {
246
- value: pi
247
- }),
248
- group: st({}, h, {
245
+ error: rt({}, h, {
249
246
  value: mi
250
247
  }),
251
- groupCollapsed: st({}, h, {
248
+ group: rt({}, h, {
252
249
  value: gi
253
250
  }),
254
- groupEnd: st({}, h, {
251
+ groupCollapsed: rt({}, h, {
255
252
  value: yi
253
+ }),
254
+ groupEnd: rt({}, h, {
255
+ value: vi
256
256
  })
257
257
  });
258
258
  }
259
- _ < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
259
+ j < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
260
260
  }
261
261
  }
262
- var Ye = T.ReactCurrentDispatcher, Xe;
263
- function ve(h, g, x) {
262
+ var Ye = x.ReactCurrentDispatcher, Xe;
263
+ function ve(h, g, T) {
264
264
  {
265
265
  if (Xe === void 0)
266
266
  try {
@@ -278,13 +278,13 @@ function Pa() {
278
278
  var Oo = typeof WeakMap == "function" ? WeakMap : Map;
279
279
  Pe = new Oo();
280
280
  }
281
- function Pi(h, g) {
281
+ function xi(h, g) {
282
282
  if (!h || qe)
283
283
  return "";
284
284
  {
285
- var x = Pe.get(h);
286
- if (x !== void 0)
287
- return x;
285
+ var T = Pe.get(h);
286
+ if (T !== void 0)
287
+ return T;
288
288
  }
289
289
  var C;
290
290
  qe = !0;
@@ -328,18 +328,18 @@ function Pa() {
328
328
  if (Z && C && typeof Z.stack == "string") {
329
329
  for (var R = Z.stack.split(`
330
330
  `), X = C.stack.split(`
331
- `), B = R.length - 1, N = X.length - 1; B >= 1 && N >= 0 && R[B] !== X[N]; )
332
- N--;
333
- for (; B >= 1 && N >= 0; B--, N--)
334
- if (R[B] !== X[N]) {
335
- if (B !== 1 || N !== 1)
331
+ `), _ = R.length - 1, I = X.length - 1; _ >= 1 && I >= 0 && R[_] !== X[I]; )
332
+ I--;
333
+ for (; _ >= 1 && I >= 0; _--, I--)
334
+ if (R[_] !== X[I]) {
335
+ if (_ !== 1 || I !== 1)
336
336
  do
337
- if (B--, N--, N < 0 || R[B] !== X[N]) {
338
- var tt = `
339
- ` + R[B].replace(" at new ", " at ");
340
- return h.displayName && tt.includes("<anonymous>") && (tt = tt.replace("<anonymous>", h.displayName)), typeof h == "function" && Pe.set(h, tt), tt;
337
+ if (_--, I--, I < 0 || R[_] !== X[I]) {
338
+ var et = `
339
+ ` + R[_].replace(" at new ", " at ");
340
+ return h.displayName && et.includes("<anonymous>") && (et = et.replace("<anonymous>", h.displayName)), typeof h == "function" && Pe.set(h, et), et;
341
341
  }
342
- while (B >= 1 && N >= 0);
342
+ while (_ >= 1 && I >= 0);
343
343
  break;
344
344
  }
345
345
  }
@@ -349,18 +349,18 @@ function Pa() {
349
349
  var jt = h ? h.displayName || h.name : "", St = jt ? ve(jt) : "";
350
350
  return typeof h == "function" && Pe.set(h, St), St;
351
351
  }
352
- function jo(h, g, x) {
353
- return Pi(h, !1);
352
+ function jo(h, g, T) {
353
+ return xi(h, !1);
354
354
  }
355
355
  function _o(h) {
356
356
  var g = h.prototype;
357
357
  return !!(g && g.isReactComponent);
358
358
  }
359
- function Te(h, g, x) {
359
+ function xe(h, g, T) {
360
360
  if (h == null)
361
361
  return "";
362
362
  if (typeof h == "function")
363
- return Pi(h, _o(h));
363
+ return xi(h, _o(h));
364
364
  if (typeof h == "string")
365
365
  return ve(h);
366
366
  switch (h) {
@@ -374,26 +374,26 @@ function Pa() {
374
374
  case l:
375
375
  return jo(h.render);
376
376
  case f:
377
- return Te(h.type, g, x);
377
+ return xe(h.type, g, T);
378
378
  case d: {
379
379
  var C = h, D = C._payload, k = C._init;
380
380
  try {
381
- return Te(k(D), g, x);
381
+ return xe(k(D), g, T);
382
382
  } catch {
383
383
  }
384
384
  }
385
385
  }
386
386
  return "";
387
387
  }
388
- var zt = Object.prototype.hasOwnProperty, Ti = {}, xi = T.ReactDebugCurrentFrame;
389
- function xe(h) {
388
+ var zt = Object.prototype.hasOwnProperty, Ti = {}, bi = x.ReactDebugCurrentFrame;
389
+ function Te(h) {
390
390
  if (h) {
391
- var g = h._owner, x = Te(h.type, h._source, g ? g.type : null);
392
- xi.setExtraStackFrame(x);
391
+ var g = h._owner, T = xe(h.type, h._source, g ? g.type : null);
392
+ bi.setExtraStackFrame(T);
393
393
  } else
394
- xi.setExtraStackFrame(null);
394
+ bi.setExtraStackFrame(null);
395
395
  }
396
- function Bo(h, g, x, C, D) {
396
+ function Bo(h, g, T, C, D) {
397
397
  {
398
398
  var k = Function.call.bind(zt);
399
399
  for (var V in h)
@@ -401,14 +401,14 @@ function Pa() {
401
401
  var R = void 0;
402
402
  try {
403
403
  if (typeof h[V] != "function") {
404
- var X = Error((C || "React class") + ": " + x + " type `" + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[V] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
404
+ var X = Error((C || "React class") + ": " + T + " type `" + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[V] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
405
405
  throw X.name = "Invariant Violation", X;
406
406
  }
407
- R = h[V](g, V, C, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
408
- } catch (B) {
409
- R = B;
407
+ R = h[V](g, V, C, T, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
408
+ } catch (_) {
409
+ R = _;
410
410
  }
411
- R && !(R instanceof Error) && (xe(D), 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, V, typeof R), xe(null)), R instanceof Error && !(R.message in Ti) && (Ti[R.message] = !0, xe(D), y("Failed %s type: %s", x, R.message), xe(null));
411
+ R && !(R instanceof Error) && (Te(D), 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", T, V, typeof R), Te(null)), R instanceof Error && !(R.message in Ti) && (Ti[R.message] = !0, Te(D), y("Failed %s type: %s", T, R.message), Te(null));
412
412
  }
413
413
  }
414
414
  }
@@ -418,30 +418,30 @@ function Pa() {
418
418
  }
419
419
  function No(h) {
420
420
  {
421
- var g = typeof Symbol == "function" && Symbol.toStringTag, x = g && h[Symbol.toStringTag] || h.constructor.name || "Object";
422
- return x;
421
+ var g = typeof Symbol == "function" && Symbol.toStringTag, T = g && h[Symbol.toStringTag] || h.constructor.name || "Object";
422
+ return T;
423
423
  }
424
424
  }
425
425
  function Uo(h) {
426
426
  try {
427
- return bi(h), !1;
427
+ return wi(h), !1;
428
428
  } catch {
429
429
  return !0;
430
430
  }
431
431
  }
432
- function bi(h) {
432
+ function wi(h) {
433
433
  return "" + h;
434
434
  }
435
- function wi(h) {
435
+ function Si(h) {
436
436
  if (Uo(h))
437
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", No(h)), bi(h);
437
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", No(h)), wi(h);
438
438
  }
439
- var Yt = T.ReactCurrentOwner, Wo = {
439
+ var Yt = x.ReactCurrentOwner, Wo = {
440
440
  key: !0,
441
441
  ref: !0,
442
442
  __self: !0,
443
443
  __source: !0
444
- }, Si, Ci, Je;
444
+ }, Ci, Ai, Je;
445
445
  Je = {};
446
446
  function $o(h) {
447
447
  if (zt.call(h, "ref")) {
@@ -461,40 +461,40 @@ function Pa() {
461
461
  }
462
462
  function Go(h, g) {
463
463
  if (typeof h.ref == "string" && Yt.current && g && Yt.current.stateNode !== g) {
464
- var x = Y(Yt.current.type);
465
- Je[x] || (y('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', Y(Yt.current.type), h.ref), Je[x] = !0);
464
+ var T = Y(Yt.current.type);
465
+ Je[T] || (y('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', Y(Yt.current.type), h.ref), Je[T] = !0);
466
466
  }
467
467
  }
468
468
  function Ho(h, g) {
469
469
  {
470
- var x = function() {
471
- Si || (Si = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
470
+ var T = function() {
471
+ Ci || (Ci = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
472
472
  };
473
- x.isReactWarning = !0, Object.defineProperty(h, "key", {
474
- get: x,
473
+ T.isReactWarning = !0, Object.defineProperty(h, "key", {
474
+ get: T,
475
475
  configurable: !0
476
476
  });
477
477
  }
478
478
  }
479
479
  function zo(h, g) {
480
480
  {
481
- var x = function() {
482
- Ci || (Ci = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
481
+ var T = function() {
482
+ Ai || (Ai = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", g));
483
483
  };
484
- x.isReactWarning = !0, Object.defineProperty(h, "ref", {
485
- get: x,
484
+ T.isReactWarning = !0, Object.defineProperty(h, "ref", {
485
+ get: T,
486
486
  configurable: !0
487
487
  });
488
488
  }
489
489
  }
490
- var Yo = function(h, g, x, C, D, k, V) {
490
+ var Yo = function(h, g, T, C, D, k, V) {
491
491
  var R = {
492
492
  // This tag allows us to uniquely identify this as a React Element
493
493
  $$typeof: e,
494
494
  // Built-in properties that belong on the element
495
495
  type: h,
496
496
  key: g,
497
- ref: x,
497
+ ref: T,
498
498
  props: V,
499
499
  // Record the component responsible for creating this element.
500
500
  _owner: k
@@ -516,38 +516,38 @@ function Pa() {
516
516
  value: D
517
517
  }), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
518
518
  };
519
- function Xo(h, g, x, C, D) {
519
+ function Xo(h, g, T, C, D) {
520
520
  {
521
521
  var k, V = {}, R = null, X = null;
522
- x !== void 0 && (wi(x), R = "" + x), Ko(g) && (wi(g.key), R = "" + g.key), $o(g) && (X = g.ref, Go(g, D));
522
+ T !== void 0 && (Si(T), R = "" + T), Ko(g) && (Si(g.key), R = "" + g.key), $o(g) && (X = g.ref, Go(g, D));
523
523
  for (k in g)
524
524
  zt.call(g, k) && !Wo.hasOwnProperty(k) && (V[k] = g[k]);
525
525
  if (h && h.defaultProps) {
526
- var B = h.defaultProps;
527
- for (k in B)
528
- V[k] === void 0 && (V[k] = B[k]);
526
+ var _ = h.defaultProps;
527
+ for (k in _)
528
+ V[k] === void 0 && (V[k] = _[k]);
529
529
  }
530
530
  if (R || X) {
531
- var N = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
532
- R && Ho(V, N), X && zo(V, N);
531
+ var I = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
532
+ R && Ho(V, I), X && zo(V, I);
533
533
  }
534
534
  return Yo(h, R, X, D, C, Yt.current, V);
535
535
  }
536
536
  }
537
- var Qe = T.ReactCurrentOwner, Ai = T.ReactDebugCurrentFrame;
537
+ var Qe = x.ReactCurrentOwner, Ei = x.ReactDebugCurrentFrame;
538
538
  function Ot(h) {
539
539
  if (h) {
540
- var g = h._owner, x = Te(h.type, h._source, g ? g.type : null);
541
- Ai.setExtraStackFrame(x);
540
+ var g = h._owner, T = xe(h.type, h._source, g ? g.type : null);
541
+ Ei.setExtraStackFrame(T);
542
542
  } else
543
- Ai.setExtraStackFrame(null);
543
+ Ei.setExtraStackFrame(null);
544
544
  }
545
545
  var tn;
546
546
  tn = !1;
547
547
  function en(h) {
548
548
  return typeof h == "object" && h !== null && h.$$typeof === e;
549
549
  }
550
- function Ei() {
550
+ function Ri() {
551
551
  {
552
552
  if (Qe.current) {
553
553
  var h = Y(Qe.current.type);
@@ -562,48 +562,48 @@ Check the render method of \`` + h + "`.";
562
562
  function qo(h) {
563
563
  {
564
564
  if (h !== void 0) {
565
- var g = h.fileName.replace(/^.*[\\\/]/, ""), x = h.lineNumber;
565
+ var g = h.fileName.replace(/^.*[\\\/]/, ""), T = h.lineNumber;
566
566
  return `
567
567
 
568
- Check your code at ` + g + ":" + x + ".";
568
+ Check your code at ` + g + ":" + T + ".";
569
569
  }
570
570
  return "";
571
571
  }
572
572
  }
573
- var Ri = {};
573
+ var Vi = {};
574
574
  function Zo(h) {
575
575
  {
576
- var g = Ei();
576
+ var g = Ri();
577
577
  if (!g) {
578
- var x = typeof h == "string" ? h : h.displayName || h.name;
579
- x && (g = `
578
+ var T = typeof h == "string" ? h : h.displayName || h.name;
579
+ T && (g = `
580
580
 
581
- Check the top-level render call using <` + x + ">.");
581
+ Check the top-level render call using <` + T + ">.");
582
582
  }
583
583
  return g;
584
584
  }
585
585
  }
586
- function Vi(h, g) {
586
+ function Di(h, g) {
587
587
  {
588
588
  if (!h._store || h._store.validated || h.key != null)
589
589
  return;
590
590
  h._store.validated = !0;
591
- var x = Zo(g);
592
- if (Ri[x])
591
+ var T = Zo(g);
592
+ if (Vi[T])
593
593
  return;
594
- Ri[x] = !0;
594
+ Vi[T] = !0;
595
595
  var C = "";
596
- h && h._owner && h._owner !== Qe.current && (C = " It was passed a child from " + Y(h._owner.type) + "."), Ot(h), 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), Ot(null);
596
+ h && h._owner && h._owner !== Qe.current && (C = " It was passed a child from " + Y(h._owner.type) + "."), Ot(h), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, C), Ot(null);
597
597
  }
598
598
  }
599
- function Di(h, g) {
599
+ function Mi(h, g) {
600
600
  {
601
601
  if (typeof h != "object")
602
602
  return;
603
603
  if (Ze(h))
604
- for (var x = 0; x < h.length; x++) {
605
- var C = h[x];
606
- en(C) && Vi(C, g);
604
+ for (var T = 0; T < h.length; T++) {
605
+ var C = h[T];
606
+ en(C) && Di(C, g);
607
607
  }
608
608
  else if (en(h))
609
609
  h._store && (h._store.validated = !0);
@@ -611,7 +611,7 @@ Check the top-level render call using <` + x + ">.");
611
611
  var D = b(h);
612
612
  if (typeof D == "function" && D !== h.entries)
613
613
  for (var k = D.call(h), V; !(V = k.next()).done; )
614
- en(V.value) && Vi(V.value, g);
614
+ en(V.value) && Di(V.value, g);
615
615
  }
616
616
  }
617
617
  }
@@ -620,18 +620,18 @@ Check the top-level render call using <` + x + ">.");
620
620
  var g = h.type;
621
621
  if (g == null || typeof g == "string")
622
622
  return;
623
- var x;
623
+ var T;
624
624
  if (typeof g == "function")
625
- x = g.propTypes;
625
+ T = g.propTypes;
626
626
  else if (typeof g == "object" && (g.$$typeof === l || // Note: Memo only checks outer props here.
627
627
  // Inner props are checked in the reconciler.
628
628
  g.$$typeof === f))
629
- x = g.propTypes;
629
+ T = g.propTypes;
630
630
  else
631
631
  return;
632
- if (x) {
632
+ if (T) {
633
633
  var C = Y(g);
634
- Bo(x, h.props, "prop", C, h);
634
+ Bo(T, h.props, "prop", C, h);
635
635
  } else if (g.PropTypes !== void 0 && !tn) {
636
636
  tn = !0;
637
637
  var D = Y(g);
@@ -642,8 +642,8 @@ Check the top-level render call using <` + x + ">.");
642
642
  }
643
643
  function Qo(h) {
644
644
  {
645
- for (var g = Object.keys(h.props), x = 0; x < g.length; x++) {
646
- var C = g[x];
645
+ for (var g = Object.keys(h.props), T = 0; T < g.length; T++) {
646
+ var C = g[T];
647
647
  if (C !== "children" && C !== "key") {
648
648
  Ot(h), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", C), Ot(null);
649
649
  break;
@@ -652,76 +652,76 @@ Check the top-level render call using <` + x + ">.");
652
652
  h.ref !== null && (Ot(h), y("Invalid attribute `ref` supplied to `React.Fragment`."), Ot(null));
653
653
  }
654
654
  }
655
- var Mi = {};
656
- function ki(h, g, x, C, D, k) {
655
+ var ki = {};
656
+ function Li(h, g, T, C, D, k) {
657
657
  {
658
658
  var V = G(h);
659
659
  if (!V) {
660
660
  var R = "";
661
661
  (h === void 0 || typeof h == "object" && h !== null && Object.keys(h).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.");
662
662
  var X = qo(D);
663
- X ? R += X : R += Ei();
664
- var B;
665
- h === null ? B = "null" : Ze(h) ? B = "array" : h !== void 0 && h.$$typeof === e ? (B = "<" + (Y(h.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : B = typeof h, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", B, R);
663
+ X ? R += X : R += Ri();
664
+ var _;
665
+ h === null ? _ = "null" : Ze(h) ? _ = "array" : h !== void 0 && h.$$typeof === e ? (_ = "<" + (Y(h.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof h, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, R);
666
666
  }
667
- var N = Xo(h, g, x, D, k);
668
- if (N == null)
669
- return N;
667
+ var I = Xo(h, g, T, D, k);
668
+ if (I == null)
669
+ return I;
670
670
  if (V) {
671
- var tt = g.children;
672
- if (tt !== void 0)
671
+ var et = g.children;
672
+ if (et !== void 0)
673
673
  if (C)
674
- if (Ze(tt)) {
675
- for (var jt = 0; jt < tt.length; jt++)
676
- Di(tt[jt], h);
677
- Object.freeze && Object.freeze(tt);
674
+ if (Ze(et)) {
675
+ for (var jt = 0; jt < et.length; jt++)
676
+ Mi(et[jt], h);
677
+ Object.freeze && Object.freeze(et);
678
678
  } else
679
679
  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.");
680
680
  else
681
- Di(tt, h);
681
+ Mi(et, h);
682
682
  }
683
683
  if (zt.call(g, "key")) {
684
684
  var St = Y(h), Z = Object.keys(g).filter(function(ra) {
685
685
  return ra !== "key";
686
686
  }), nn = Z.length > 0 ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}";
687
- if (!Mi[St + nn]) {
687
+ if (!ki[St + nn]) {
688
688
  var sa = Z.length > 0 ? "{" + Z.join(": ..., ") + ": ...}" : "{}";
689
689
  y(`A props object containing a "key" prop is being spread into JSX:
690
690
  let props = %s;
691
691
  <%s {...props} />
692
692
  React keys must be passed directly to JSX without using spread:
693
693
  let props = %s;
694
- <%s key={someKey} {...props} />`, nn, St, sa, St), Mi[St + nn] = !0;
694
+ <%s key={someKey} {...props} />`, nn, St, sa, St), ki[St + nn] = !0;
695
695
  }
696
696
  }
697
- return h === i ? Qo(N) : Jo(N), N;
697
+ return h === i ? Qo(I) : Jo(I), I;
698
698
  }
699
699
  }
700
- function ta(h, g, x) {
701
- return ki(h, g, x, !0);
700
+ function ta(h, g, T) {
701
+ return Li(h, g, T, !0);
702
702
  }
703
- function ea(h, g, x) {
704
- return ki(h, g, x, !1);
703
+ function ea(h, g, T) {
704
+ return Li(h, g, T, !1);
705
705
  }
706
706
  var na = ea, ia = ta;
707
707
  qt.Fragment = i, qt.jsx = na, qt.jsxs = ia;
708
708
  }()), qt;
709
709
  }
710
- process.env.NODE_ENV === "production" ? vn.exports = va() : vn.exports = Pa();
711
- var F = vn.exports, At = /* @__PURE__ */ ((t) => (t.Escape = "Escape", t.Enter = "Enter", t.Space = "Space", t.Tab = "Tab", t.ShiftAndTab = "Shift+Tab", t.ArrowUp = "ArrowUp", t.ArrowDown = "ArrowDown", t.ArrowLeft = "ArrowLeft", t.ArrowRight = "ArrowRight", t))(At || {}), Ee = /* @__PURE__ */ ((t) => (t.Input = "INPUT", t.Textarea = "TEXTAREA", t.Select = "SELECT", t.Button = "BUTTON", t))(Ee || {});
710
+ process.env.NODE_ENV === "production" ? Pn.exports = va() : Pn.exports = Pa();
711
+ var L = Pn.exports, At = /* @__PURE__ */ ((t) => (t.Escape = "Escape", t.Enter = "Enter", t.Space = "Space", t.Tab = "Tab", t.ShiftAndTab = "Shift+Tab", t.ArrowUp = "ArrowUp", t.ArrowDown = "ArrowDown", t.ArrowLeft = "ArrowLeft", t.ArrowRight = "ArrowRight", t))(At || {}), Ee = /* @__PURE__ */ ((t) => (t.Input = "INPUT", t.Textarea = "TEXTAREA", t.Select = "SELECT", t.Button = "BUTTON", t))(Ee || {});
712
712
  const ir = [
713
713
  Ee.Input,
714
714
  Ee.Textarea,
715
715
  Ee.Select
716
- ], Ta = (t) => (t == null ? void 0 : t.split("+").map((e) => e.trim().toLowerCase())) ?? [], xa = (t) => ({
716
+ ], xa = (t) => (t == null ? void 0 : t.split("+").map((e) => e.trim().toLowerCase())) ?? [], Ta = (t) => ({
717
717
  formFieldTags: (t == null ? void 0 : t.formFieldTags) ?? ir,
718
- ignoreFormField: (t == null ? void 0 : t.ignoreFormField) ?? !0,
719
- preventDefault: (t == null ? void 0 : t.preventDefault) ?? !0,
720
- stopPropagation: (t == null ? void 0 : t.stopPropagation) ?? !0
718
+ ignoreFormField: t == null ? void 0 : t.ignoreFormField,
719
+ preventDefault: t == null ? void 0 : t.preventDefault,
720
+ stopPropagation: t == null ? void 0 : t.stopPropagation
721
721
  }), ba = (t, e, n) => (i) => {
722
722
  const s = Array.isArray(t) ? t : [t];
723
723
  for (const o of s) {
724
- const r = xa(n), a = Ta(o), l = i.key.toLowerCase(), c = i.code.toLowerCase(), u = document.activeElement;
724
+ const r = Ta(n), a = xa(o), l = i.key.toLowerCase(), c = i.code.toLowerCase(), u = document.activeElement;
725
725
  if (i.repeat)
726
726
  continue;
727
727
  const f = a.includes("ctrl"), d = a.includes("cmd"), p = a.includes("shift"), m = f === i.ctrlKey, P = d === i.metaKey, b = p === i.shiftKey;
@@ -730,25 +730,29 @@ const ir = [
730
730
  break;
731
731
  }
732
732
  }
733
- }, Oi = ({
733
+ }, sn = ({
734
734
  onKeyDown: t,
735
735
  hotKey: e,
736
- stopPropagation: n = !0,
737
- preventDefault: i = !0,
736
+ stopPropagation: n = !1,
737
+ preventDefault: i = !1,
738
738
  ignoreFormField: s = !1,
739
739
  formFieldTags: o
740
740
  }) => {
741
- const r = rt((a) => {
742
- t && ba(e, t, { stopPropagation: n, preventDefault: i, ignoreFormField: s, formFieldTags: o })(a);
743
- }, [e, t]);
744
- return ot(() => (document.addEventListener("keydown", r), () => {
745
- document.removeEventListener("keydown", r);
746
- }), [r]), null;
741
+ const r = J(!1), a = st((u) => {
742
+ !r.current && t && ba(e, t, { stopPropagation: n, preventDefault: i, ignoreFormField: s, formFieldTags: o })(u);
743
+ }, [e, t]), l = st(() => {
744
+ r.current = !0;
745
+ }, []), c = st(() => {
746
+ r.current = !1;
747
+ }, []);
748
+ return ot(() => (document.addEventListener("keydown", a), document.addEventListener("compositionstart", l), document.addEventListener("compositionend", c), () => {
749
+ document.removeEventListener("keydown", a), document.removeEventListener("compositionstart", l), document.removeEventListener("compositionend", c);
750
+ }), [a]), null;
747
751
  };
748
- var wa = Object.defineProperty, Sa = (t, e, n) => e in t ? wa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Pn = (t, e, n) => (Sa(t, typeof e != "symbol" ? e + "" : e, n), n);
749
- class sr extends On.Component {
752
+ var wa = Object.defineProperty, Sa = (t, e, n) => e in t ? wa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, xn = (t, e, n) => (Sa(t, typeof e != "symbol" ? e + "" : e, n), n);
753
+ class sr extends jn.Component {
750
754
  constructor(e) {
751
- super(e), Pn(this, "_el"), Pn(this, "renderPortal", () => fa.createPortal(
755
+ super(e), xn(this, "_el"), xn(this, "renderPortal", () => fa.createPortal(
752
756
  this.props.children,
753
757
  this._el
754
758
  ));
@@ -770,14 +774,14 @@ class sr extends On.Component {
770
774
  return this.renderPortal();
771
775
  }
772
776
  }
773
- Pn(sr, "defaultProps", {
777
+ xn(sr, "defaultProps", {
774
778
  containerSelector: () => document.body
775
779
  });
776
- const Bn = kt({
780
+ const In = kt({
777
781
  transformPagePoint: (t) => t,
778
782
  isStatic: !1,
779
783
  reducedMotion: "never"
780
- }), Ie = kt({}), Ne = kt(null), In = typeof window < "u", rr = In ? oa : ot, or = kt({ strict: !1 }), Ue = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Ca = "framerAppearId", ar = "data-" + Ue(Ca), Aa = {
784
+ }), Ie = kt({}), Ne = kt(null), Nn = typeof window < "u", rr = Nn ? oa : ot, or = kt({ strict: !1 }), Ue = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Ca = "framerAppearId", ar = "data-" + Ue(Ca), Aa = {
781
785
  skipAnimations: !1,
782
786
  useManualTiming: !1
783
787
  };
@@ -839,28 +843,28 @@ function lr(t, e) {
839
843
  delta: 0,
840
844
  timestamp: 0,
841
845
  isProcessing: !1
842
- }, o = () => n = !0, r = be.reduce((T, y) => (T[y] = Ea(o), T), {}), { read: a, resolveKeyframes: l, update: c, preRender: u, render: f, postRender: d } = r, p = () => {
843
- const T = performance.now();
844
- n = !1, s.delta = i ? 1e3 / 60 : Math.max(Math.min(T - s.timestamp, Ra), 1), s.timestamp = T, s.isProcessing = !0, a.process(s), l.process(s), c.process(s), u.process(s), f.process(s), d.process(s), s.isProcessing = !1, n && e && (i = !1, t(p));
846
+ }, o = () => n = !0, r = be.reduce((x, y) => (x[y] = Ea(o), x), {}), { read: a, resolveKeyframes: l, update: c, preRender: u, render: f, postRender: d } = r, p = () => {
847
+ const x = performance.now();
848
+ n = !1, s.delta = i ? 1e3 / 60 : Math.max(Math.min(x - s.timestamp, Ra), 1), s.timestamp = x, s.isProcessing = !0, a.process(s), l.process(s), c.process(s), u.process(s), f.process(s), d.process(s), s.isProcessing = !1, n && e && (i = !1, t(p));
845
849
  }, m = () => {
846
850
  n = !0, i = !0, s.isProcessing || t(p);
847
851
  };
848
- return { schedule: be.reduce((T, y) => {
852
+ return { schedule: be.reduce((x, y) => {
849
853
  const v = r[y];
850
- return T[y] = (w, A = !1, L = !1) => (n || m(), v.schedule(w, A, L)), T;
851
- }, {}), cancel: (T) => {
854
+ return x[y] = (w, A = !1, F = !1) => (n || m(), v.schedule(w, A, F)), x;
855
+ }, {}), cancel: (x) => {
852
856
  for (let y = 0; y < be.length; y++)
853
- r[be[y]].cancel(T);
857
+ r[be[y]].cancel(x);
854
858
  }, state: s, steps: r };
855
859
  }
856
- const { schedule: Nn, cancel: Ph } = lr(queueMicrotask, !1);
860
+ const { schedule: Un, cancel: Ph } = lr(queueMicrotask, !1);
857
861
  function Bt(t) {
858
862
  return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
859
863
  }
860
864
  const cr = kt({});
861
865
  let ji = !1;
862
866
  function Va(t, e, n, i, s) {
863
- const { visualElement: o } = $(Ie), r = $(or), a = $(Ne), l = $(Bn).reducedMotion, c = it();
867
+ const { visualElement: o } = $(Ie), r = $(or), a = $(Ne), l = $(In).reducedMotion, c = J();
864
868
  i = i || r.renderer, !c.current && i && (c.current = i(t, {
865
869
  visualState: e,
866
870
  parent: o,
@@ -873,9 +877,9 @@ function Va(t, e, n, i, s) {
873
877
  u && !u.projection && s && (u.type === "html" || u.type === "svg") && Ma(c.current, n, s, f), er(() => {
874
878
  u && u.update(n, a);
875
879
  });
876
- const d = it(!!(n[ar] && !window.HandoffComplete));
880
+ const d = J(!!(n[ar] && !window.HandoffComplete));
877
881
  return rr(() => {
878
- u && (u.updateFeatures(), Nn.render(u.render), d.current && u.animationState && u.animationState.animateChanges());
882
+ u && (u.updateFeatures(), Un.render(u.render), d.current && u.animationState && u.animationState.animateChanges());
879
883
  }), ot(() => {
880
884
  u && (!d.current && u.animationState && u.animationState.animateChanges(), d.current && (d.current = !1, ji || (ji = !0, queueMicrotask(Da))));
881
885
  }), u;
@@ -908,7 +912,7 @@ function ur(t) {
908
912
  return t.options.allowProjection !== !1 ? t.projection : ur(t.parent);
909
913
  }
910
914
  function ka(t, e, n) {
911
- return rt(
915
+ return st(
912
916
  (i) => {
913
917
  i && t.mount && t.mount(i), e && (i ? e.mount(i) : e.unmount()), n && (typeof n == "function" ? n(i) : Bt(n) && (n.current = i));
914
918
  },
@@ -926,7 +930,7 @@ function oe(t) {
926
930
  function ae(t) {
927
931
  return t !== null && typeof t == "object" && typeof t.start == "function";
928
932
  }
929
- const Un = [
933
+ const Wn = [
930
934
  "animate",
931
935
  "whileInView",
932
936
  "whileFocus",
@@ -934,9 +938,9 @@ const Un = [
934
938
  "whileTap",
935
939
  "whileDrag",
936
940
  "exit"
937
- ], Wn = ["initial", ...Un];
941
+ ], $n = ["initial", ...Wn];
938
942
  function We(t) {
939
- return ae(t.animate) || Wn.some((e) => oe(t[e]));
943
+ return ae(t.animate) || $n.some((e) => oe(t[e]));
940
944
  }
941
945
  function fr(t) {
942
946
  return !!(We(t) || t.variants);
@@ -989,7 +993,7 @@ function Oa(t) {
989
993
  ...t[e]
990
994
  };
991
995
  }
992
- const $n = kt({}), ja = Symbol.for("motionComponentSymbol"), K = (t) => t;
996
+ const Kn = kt({}), ja = Symbol.for("motionComponentSymbol"), K = (t) => t;
993
997
  let Gt = K, pt = K;
994
998
  process.env.NODE_ENV !== "production" && (Gt = (t, e) => {
995
999
  !t && typeof console < "u" && console.warn(e);
@@ -1002,22 +1006,22 @@ function _a({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
1002
1006
  function o(a, l) {
1003
1007
  let c;
1004
1008
  const u = {
1005
- ...$(Bn),
1009
+ ...$(In),
1006
1010
  ...a,
1007
1011
  layoutId: Ba(a)
1008
1012
  }, { isStatic: f } = u, d = Fa(a), p = i(a, f);
1009
- if (!f && In) {
1013
+ if (!f && Nn) {
1010
1014
  Ia(u, t);
1011
1015
  const m = Na(u);
1012
1016
  c = m.MeasureLayout, d.visualElement = Va(s, p, u, e, m.ProjectionNode);
1013
1017
  }
1014
- return F.jsxs(Ie.Provider, { value: d, children: [c && d.visualElement ? F.jsx(c, { visualElement: d.visualElement, ...u }) : null, n(s, a, ka(p, d.visualElement, l), p, f, d.visualElement)] });
1018
+ return L.jsxs(Ie.Provider, { value: d, children: [c && d.visualElement ? L.jsx(c, { visualElement: d.visualElement, ...u }) : null, n(s, a, ka(p, d.visualElement, l), p, f, d.visualElement)] });
1015
1019
  }
1016
1020
  const r = ke(o);
1017
1021
  return r[ja] = s, r;
1018
1022
  }
1019
1023
  function Ba({ layoutId: t }) {
1020
- const e = $($n).id;
1024
+ const e = $(Kn).id;
1021
1025
  return e && t !== void 0 ? e + "-" + t : t;
1022
1026
  }
1023
1027
  function Ia(t, e) {
@@ -1080,7 +1084,7 @@ const Wa = [
1080
1084
  "use",
1081
1085
  "view"
1082
1086
  ];
1083
- function Kn(t) {
1087
+ function Gn(t) {
1084
1088
  return (
1085
1089
  /**
1086
1090
  * If it's not a string, it's a custom React component. Currently we only support
@@ -1126,17 +1130,17 @@ const pe = [
1126
1130
  function hr(t, { layout: e, layoutId: n }) {
1127
1131
  return bt.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!Le[t] || t === "opacity");
1128
1132
  }
1129
- const z = (t) => !!(t && t.getVelocity), dr = (t, e) => e && typeof t == "number" ? e.transform(t) : t, Tt = (t, e, n) => n > e ? e : n < t ? t : n, Ht = {
1133
+ const z = (t) => !!(t && t.getVelocity), dr = (t, e) => e && typeof t == "number" ? e.transform(t) : t, xt = (t, e, n) => n > e ? e : n < t ? t : n, Ht = {
1130
1134
  test: (t) => typeof t == "number",
1131
1135
  parse: parseFloat,
1132
1136
  transform: (t) => t
1133
1137
  }, ee = {
1134
1138
  ...Ht,
1135
- transform: (t) => Tt(0, 1, t)
1139
+ transform: (t) => xt(0, 1, t)
1136
1140
  }, we = {
1137
1141
  ...Ht,
1138
1142
  default: 1
1139
- }, ne = (t) => Math.round(t * 1e5) / 1e5, Gn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu, Ka = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Ga = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;
1143
+ }, ne = (t) => Math.round(t * 1e5) / 1e5, Hn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu, Ka = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Ga = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;
1140
1144
  function me(t) {
1141
1145
  return typeof t == "string";
1142
1146
  }
@@ -1154,7 +1158,7 @@ const ge = (t) => ({
1154
1158
  }, Ni = {
1155
1159
  ...Ht,
1156
1160
  transform: Math.round
1157
- }, Hn = {
1161
+ }, zn = {
1158
1162
  // Border props
1159
1163
  borderWidth: S,
1160
1164
  borderTopWidth: S,
@@ -1235,7 +1239,7 @@ function Za(t, e, n) {
1235
1239
  continue;
1236
1240
  let l = !0;
1237
1241
  if (typeof a == "number" ? l = a === (r.startsWith("scale") ? 1 : 0) : l = parseFloat(a) === 0, !l || n) {
1238
- const c = dr(a, Hn[r]);
1242
+ const c = dr(a, zn[r]);
1239
1243
  if (!l) {
1240
1244
  s = !1;
1241
1245
  const u = Xa[r] || r;
@@ -1246,8 +1250,8 @@ function Za(t, e, n) {
1246
1250
  }
1247
1251
  return i = i.trim(), n ? i = n(e, s ? "" : i) : s && (i = "none"), i;
1248
1252
  }
1249
- const pr = (t) => (e) => typeof e == "string" && e.startsWith(t), mr = pr("--"), Ja = pr("var(--"), zn = (t) => Ja(t) ? Qa.test(t.split("/*")[0].trim()) : !1, Qa = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
1250
- function Yn(t, e, n) {
1253
+ const pr = (t) => (e) => typeof e == "string" && e.startsWith(t), mr = pr("--"), Ja = pr("var(--"), Yn = (t) => Ja(t) ? Qa.test(t.split("/*")[0].trim()) : !1, Qa = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
1254
+ function Xn(t, e, n) {
1251
1255
  const { style: i, vars: s, transformOrigin: o } = t;
1252
1256
  let r = !1, a = !1;
1253
1257
  for (const l in e) {
@@ -1259,7 +1263,7 @@ function Yn(t, e, n) {
1259
1263
  s[l] = c;
1260
1264
  continue;
1261
1265
  } else {
1262
- const u = dr(c, Hn[l]);
1266
+ const u = dr(c, zn[l]);
1263
1267
  l.startsWith("origin") ? (a = !0, o[l] = u) : i[l] = u;
1264
1268
  }
1265
1269
  }
@@ -1268,7 +1272,7 @@ function Yn(t, e, n) {
1268
1272
  i.transformOrigin = `${l} ${c} ${u}`;
1269
1273
  }
1270
1274
  }
1271
- const Xn = () => ({
1275
+ const qn = () => ({
1272
1276
  style: {},
1273
1277
  transform: {},
1274
1278
  transformOrigin: {},
@@ -1280,8 +1284,8 @@ function gr(t, e, n) {
1280
1284
  }
1281
1285
  function tl({ transformTemplate: t }, e) {
1282
1286
  return Mt(() => {
1283
- const n = Xn();
1284
- return Yn(n, e, t), Object.assign({}, n.vars, n.style);
1287
+ const n = qn();
1288
+ return Xn(n, e, t), Object.assign({}, n.vars, n.style);
1285
1289
  }, [e]);
1286
1290
  }
1287
1291
  function el(t, e) {
@@ -1363,7 +1367,7 @@ function cl(t, e, n = 1, i = 0, s = !0) {
1363
1367
  const r = S.transform(e), a = S.transform(n);
1364
1368
  t[o.array] = `${r} ${a}`;
1365
1369
  }
1366
- function qn(t, {
1370
+ function Zn(t, {
1367
1371
  attrX: e,
1368
1372
  attrY: n,
1369
1373
  attrScale: i,
@@ -1375,7 +1379,7 @@ function qn(t, {
1375
1379
  // This is object creation, which we try to avoid per-frame.
1376
1380
  ...c
1377
1381
  }, u, f) {
1378
- if (Yn(t, c, f), u) {
1382
+ if (Xn(t, c, f), u) {
1379
1383
  t.style.viewBox && (t.attrs.viewBox = t.style.viewBox);
1380
1384
  return;
1381
1385
  }
@@ -1384,13 +1388,13 @@ function qn(t, {
1384
1388
  d.transform && (m && (p.transform = d.transform), delete d.transform), m && (s !== void 0 || o !== void 0 || p.transform) && (p.transformOrigin = ol(m, s !== void 0 ? s : 0.5, o !== void 0 ? o : 0.5)), e !== void 0 && (d.x = e), n !== void 0 && (d.y = n), i !== void 0 && (d.scale = i), r !== void 0 && cl(d, r, a, l, !1);
1385
1389
  }
1386
1390
  const vr = () => ({
1387
- ...Xn(),
1391
+ ...qn(),
1388
1392
  attrs: {}
1389
- }), Zn = (t) => typeof t == "string" && t.toLowerCase() === "svg";
1393
+ }), Jn = (t) => typeof t == "string" && t.toLowerCase() === "svg";
1390
1394
  function ul(t, e, n, i) {
1391
1395
  const s = Mt(() => {
1392
1396
  const o = vr();
1393
- return qn(o, e, Zn(i), t.transformTemplate), {
1397
+ return Zn(o, e, Jn(i), t.transformTemplate), {
1394
1398
  ...o.attrs,
1395
1399
  style: { ...o.style }
1396
1400
  };
@@ -1403,7 +1407,7 @@ function ul(t, e, n, i) {
1403
1407
  }
1404
1408
  function fl(t = !1) {
1405
1409
  return (n, i, s, { latestValues: o }, r) => {
1406
- const l = (Kn(n) ? ul : nl)(i, o, r, n), c = rl(i, typeof n == "string", t), u = n !== nr ? { ...c, ...l, ref: s } : {}, { children: f } = i, d = Mt(() => z(f) ? f.get() : f, [f]);
1410
+ const l = (Gn(n) ? ul : nl)(i, o, r, n), c = rl(i, typeof n == "string", t), u = n !== nr ? { ...c, ...l, ref: s } : {}, { children: f } = i, d = Mt(() => z(f) ? f.get() : f, [f]);
1407
1411
  return aa(n, {
1408
1412
  ...u,
1409
1413
  children: d
@@ -1415,7 +1419,7 @@ function Pr(t, { style: e, vars: n }, i, s) {
1415
1419
  for (const o in n)
1416
1420
  t.style.setProperty(o, n[o]);
1417
1421
  }
1418
- const Tr = /* @__PURE__ */ new Set([
1422
+ const xr = /* @__PURE__ */ new Set([
1419
1423
  "baseFrequency",
1420
1424
  "diffuseConstant",
1421
1425
  "kernelMatrix",
@@ -1440,12 +1444,12 @@ const Tr = /* @__PURE__ */ new Set([
1440
1444
  "textLength",
1441
1445
  "lengthAdjust"
1442
1446
  ]);
1443
- function xr(t, e, n, i) {
1447
+ function Tr(t, e, n, i) {
1444
1448
  Pr(t, e, void 0, i);
1445
1449
  for (const s in e.attrs)
1446
- t.setAttribute(Tr.has(s) ? s : Ue(s), e.attrs[s]);
1450
+ t.setAttribute(xr.has(s) ? s : Ue(s), e.attrs[s]);
1447
1451
  }
1448
- function Jn(t, e, n) {
1452
+ function Qn(t, e, n) {
1449
1453
  var i;
1450
1454
  const { style: s } = t, o = {};
1451
1455
  for (const r in s)
@@ -1453,7 +1457,7 @@ function Jn(t, e, n) {
1453
1457
  return n && s && typeof s.willChange == "string" && (n.applyWillChange = !1), o;
1454
1458
  }
1455
1459
  function br(t, e, n) {
1456
- const i = Jn(t, e, n);
1460
+ const i = Qn(t, e, n);
1457
1461
  for (const s in t)
1458
1462
  if (z(t[s]) || z(e[s])) {
1459
1463
  const o = pe.indexOf(s) !== -1 ? "attr" + s.charAt(0).toUpperCase() + s.substring(1) : s;
@@ -1467,7 +1471,7 @@ function Wi(t) {
1467
1471
  e[0][i] = n.get(), e[1][i] = n.getVelocity();
1468
1472
  }), e;
1469
1473
  }
1470
- function Qn(t, e, n, i) {
1474
+ function ti(t, e, n, i) {
1471
1475
  if (typeof e == "function") {
1472
1476
  const [s, o] = Wi(i);
1473
1477
  e = e(n !== void 0 ? n : t.custom, s, o);
@@ -1478,8 +1482,8 @@ function Qn(t, e, n, i) {
1478
1482
  }
1479
1483
  return e;
1480
1484
  }
1481
- function ti(t) {
1482
- const e = it(null);
1485
+ function ei(t) {
1486
+ const e = J(null);
1483
1487
  return e.current === null && (e.current = t()), e.current;
1484
1488
  }
1485
1489
  const Tn = (t) => Array.isArray(t), hl = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), dl = (t) => Tn(t) ? t[t.length - 1] || 0 : t;
@@ -1518,7 +1522,7 @@ function pl({ applyWillChange: t = !1, scrapeMotionValuesFromProps: e, createRen
1518
1522
  }
1519
1523
  const Cr = (t) => (e, n) => {
1520
1524
  const i = $(Ie), s = $(Ne), o = () => pl(t, e, i, s, n);
1521
- return n ? o() : ti(o);
1525
+ return n ? o() : ei(o);
1522
1526
  };
1523
1527
  function ml(t, e) {
1524
1528
  const n = Sr(e);
@@ -1527,7 +1531,7 @@ function ml(t, e) {
1527
1531
  function $i(t, e, n) {
1528
1532
  const i = Array.isArray(e) ? e : [e];
1529
1533
  for (let s = 0; s < i.length; s++) {
1530
- const o = Qn(t, i[s]);
1534
+ const o = ti(t, i[s]);
1531
1535
  if (o) {
1532
1536
  const { transitionEnd: r, transition: a, ...l } = o;
1533
1537
  n(l, r);
@@ -1545,7 +1549,7 @@ function gl(t, e, n, i, s) {
1545
1549
  let m = n ? n.initial === !1 : !1;
1546
1550
  m = m || u === !1;
1547
1551
  const P = m ? f : u;
1548
- return P && typeof P != "boolean" && !ae(P) && $i(t, P, (b, T) => {
1552
+ return P && typeof P != "boolean" && !ae(P) && $i(t, P, (b, x) => {
1549
1553
  for (const y in b) {
1550
1554
  let v = b[y];
1551
1555
  if (Array.isArray(v)) {
@@ -1554,14 +1558,14 @@ function gl(t, e, n, i, s) {
1554
1558
  }
1555
1559
  v !== null && (r[y] = v);
1556
1560
  }
1557
- for (const y in T)
1558
- r[y] = T[y];
1561
+ for (const y in x)
1562
+ r[y] = x[y];
1559
1563
  }), l && (f && u !== !1 && !ae(f) && $i(t, f, (b) => {
1560
- for (const T in b)
1561
- ml(a, T);
1564
+ for (const x in b)
1565
+ ml(a, x);
1562
1566
  }), a.length && (r.willChange = a.join(","))), r;
1563
1567
  }
1564
- const { schedule: M, cancel: mt, state: W, steps: sn } = lr(typeof requestAnimationFrame < "u" ? requestAnimationFrame : K, !0), yl = {
1568
+ const { schedule: M, cancel: mt, state: W, steps: rn } = lr(typeof requestAnimationFrame < "u" ? requestAnimationFrame : K, !0), yl = {
1565
1569
  useVisualState: Cr({
1566
1570
  scrapeMotionValuesFromProps: br,
1567
1571
  createRenderState: vr,
@@ -1578,20 +1582,20 @@ const { schedule: M, cancel: mt, state: W, steps: sn } = lr(typeof requestAnimat
1578
1582
  };
1579
1583
  }
1580
1584
  }), M.render(() => {
1581
- qn(n, i, Zn(e.tagName), t.transformTemplate), xr(e, n);
1585
+ Zn(n, i, Jn(e.tagName), t.transformTemplate), Tr(e, n);
1582
1586
  });
1583
1587
  }
1584
1588
  })
1585
1589
  }, vl = {
1586
1590
  useVisualState: Cr({
1587
1591
  applyWillChange: !0,
1588
- scrapeMotionValuesFromProps: Jn,
1589
- createRenderState: Xn
1592
+ scrapeMotionValuesFromProps: Qn,
1593
+ createRenderState: qn
1590
1594
  })
1591
1595
  };
1592
1596
  function Pl(t, { forwardMotionProps: e = !1 }, n, i) {
1593
1597
  return {
1594
- ...Kn(t) ? yl : vl,
1598
+ ...Gn(t) ? yl : vl,
1595
1599
  preloadedFeatures: n,
1596
1600
  useRender: fl(e),
1597
1601
  createVisualElement: i,
@@ -1610,11 +1614,11 @@ function Ge(t, e = "page") {
1610
1614
  }
1611
1615
  };
1612
1616
  }
1613
- const Tl = (t) => (e) => Ar(e) && t(e, Ge(e));
1617
+ const xl = (t) => (e) => Ar(e) && t(e, Ge(e));
1614
1618
  function ut(t, e, n, i) {
1615
- return ct(t, e, Tl(n), i);
1619
+ return ct(t, e, xl(n), i);
1616
1620
  }
1617
- const xl = (t, e) => (n) => e(t(n)), ft = (...t) => t.reduce(xl);
1621
+ const Tl = (t, e) => (n) => e(t(n)), ft = (...t) => t.reduce(Tl);
1618
1622
  function Er(t) {
1619
1623
  let e = null;
1620
1624
  return () => {
@@ -1693,7 +1697,7 @@ class wl extends wt {
1693
1697
  }
1694
1698
  }
1695
1699
  const Dr = (t, e) => e ? t === e ? !0 : Dr(t, e.parentElement) : !1;
1696
- function rn(t, e) {
1700
+ function on(t, e) {
1697
1701
  if (!e)
1698
1702
  return;
1699
1703
  const n = new PointerEvent("pointer" + t);
@@ -1721,16 +1725,16 @@ class Sl extends wt {
1721
1725
  if (o.key !== "Enter" || this.isPressing)
1722
1726
  return;
1723
1727
  const r = (a) => {
1724
- a.key !== "Enter" || !this.checkPressEnd() || rn("up", (l, c) => {
1728
+ a.key !== "Enter" || !this.checkPressEnd() || on("up", (l, c) => {
1725
1729
  const { onTap: u } = this.node.getProps();
1726
1730
  u && M.postRender(() => u(l, c));
1727
1731
  });
1728
1732
  };
1729
- this.removeEndListeners(), this.removeEndListeners = ct(this.node.current, "keyup", r), rn("down", (a, l) => {
1733
+ this.removeEndListeners(), this.removeEndListeners = ct(this.node.current, "keyup", r), on("down", (a, l) => {
1730
1734
  this.startPress(a, l);
1731
1735
  });
1732
1736
  }, n = ct(this.node.current, "keydown", e), i = () => {
1733
- this.isPressing && rn("cancel", (o, r) => this.cancelPress(o, r));
1737
+ this.isPressing && on("cancel", (o, r) => this.cancelPress(o, r));
1734
1738
  }, s = ct(this.node.current, "blur", i);
1735
1739
  this.removeAccessibleListeners = ft(n, s);
1736
1740
  };
@@ -1759,22 +1763,22 @@ class Sl extends wt {
1759
1763
  this.removeStartListeners(), this.removeEndListeners(), this.removeAccessibleListeners();
1760
1764
  }
1761
1765
  }
1762
- const xn = /* @__PURE__ */ new WeakMap(), on = /* @__PURE__ */ new WeakMap(), Cl = (t) => {
1763
- const e = xn.get(t.target);
1766
+ const bn = /* @__PURE__ */ new WeakMap(), an = /* @__PURE__ */ new WeakMap(), Cl = (t) => {
1767
+ const e = bn.get(t.target);
1764
1768
  e && e(t);
1765
1769
  }, Al = (t) => {
1766
1770
  t.forEach(Cl);
1767
1771
  };
1768
1772
  function El({ root: t, ...e }) {
1769
1773
  const n = t || document;
1770
- on.has(n) || on.set(n, {});
1771
- const i = on.get(n), s = JSON.stringify(e);
1774
+ an.has(n) || an.set(n, {});
1775
+ const i = an.get(n), s = JSON.stringify(e);
1772
1776
  return i[s] || (i[s] = new IntersectionObserver(Al, { root: t, ...e })), i[s];
1773
1777
  }
1774
1778
  function Rl(t, e, n) {
1775
1779
  const i = El(e);
1776
- return xn.set(t, n), i.observe(t), () => {
1777
- xn.delete(t), i.unobserve(t);
1780
+ return bn.set(t, n), i.observe(t), () => {
1781
+ bn.delete(t), i.unobserve(t);
1778
1782
  };
1779
1783
  }
1780
1784
  const Vl = {
@@ -1843,7 +1847,7 @@ function Mr(t, e) {
1843
1847
  }
1844
1848
  function He(t, e, n) {
1845
1849
  const i = t.getProps();
1846
- return Qn(i, e, n !== void 0 ? n : i.custom, t);
1850
+ return ti(i, e, n !== void 0 ? n : i.custom, t);
1847
1851
  }
1848
1852
  const ht = (t) => t * 1e3, dt = (t) => t / 1e3, Ll = {
1849
1853
  type: "spring",
@@ -1866,7 +1870,7 @@ const ht = (t) => t * 1e3, dt = (t) => t / 1e3, Ll = {
1866
1870
  function Bl({ when: t, delay: e, delayChildren: n, staggerChildren: i, staggerDirection: s, repeat: o, repeatType: r, repeatDelay: a, from: l, elapsed: c, ...u }) {
1867
1871
  return !!Object.keys(u).length;
1868
1872
  }
1869
- function ei(t, e) {
1873
+ function ni(t, e) {
1870
1874
  return t[e] || t.default || t;
1871
1875
  }
1872
1876
  const Il = (t) => t !== null;
@@ -1909,7 +1913,7 @@ function Fr(t, e, n = 1) {
1909
1913
  const r = o.trim();
1910
1914
  return Lr(r) ? parseFloat(r) : r;
1911
1915
  }
1912
- return zn(s) ? Fr(s, e, n + 1) : s;
1916
+ return Yn(s) ? Fr(s, e, n + 1) : s;
1913
1917
  }
1914
1918
  const Gl = /* @__PURE__ */ new Set([
1915
1919
  "width",
@@ -1958,9 +1962,9 @@ const Or = (t) => (e) => e.test(t), Xl = {
1958
1962
  test: (t) => t === "auto",
1959
1963
  parse: (t) => t
1960
1964
  }, jr = [Ht, S, at, vt, Ya, za, Xl], qi = (t) => jr.find(Or(t)), Dt = /* @__PURE__ */ new Set();
1961
- let bn = !1, wn = !1;
1965
+ let wn = !1, Sn = !1;
1962
1966
  function _r() {
1963
- if (wn) {
1967
+ if (Sn) {
1964
1968
  const t = Array.from(Dt).filter((i) => i.needsMeasurement), e = new Set(t.map((i) => i.element)), n = /* @__PURE__ */ new Map();
1965
1969
  e.forEach((i) => {
1966
1970
  const s = Yl(i);
@@ -1976,22 +1980,22 @@ function _r() {
1976
1980
  i.suspendedScrollY !== void 0 && window.scrollTo(0, i.suspendedScrollY);
1977
1981
  });
1978
1982
  }
1979
- wn = !1, bn = !1, Dt.forEach((t) => t.complete()), Dt.clear();
1983
+ Sn = !1, wn = !1, Dt.forEach((t) => t.complete()), Dt.clear();
1980
1984
  }
1981
1985
  function Br() {
1982
1986
  Dt.forEach((t) => {
1983
- t.readKeyframes(), t.needsMeasurement && (wn = !0);
1987
+ t.readKeyframes(), t.needsMeasurement && (Sn = !0);
1984
1988
  });
1985
1989
  }
1986
1990
  function ql() {
1987
1991
  Br(), _r();
1988
1992
  }
1989
- class ni {
1993
+ class ii {
1990
1994
  constructor(e, n, i, s, o, r = !1) {
1991
1995
  this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = i, this.motionValue = s, this.element = o, this.isAsync = r;
1992
1996
  }
1993
1997
  scheduleResolve() {
1994
- this.isScheduled = !0, this.isAsync ? (Dt.add(this), bn || (bn = !0, M.read(Br), M.resolveKeyframes(_r))) : (this.readKeyframes(), this.complete());
1998
+ this.isScheduled = !0, this.isAsync ? (Dt.add(this), wn || (wn = !0, M.read(Br), M.resolveKeyframes(_r))) : (this.readKeyframes(), this.complete());
1995
1999
  }
1996
2000
  readKeyframes() {
1997
2001
  const { unresolvedKeyframes: e, name: n, element: i, motionValue: s } = this;
@@ -2027,23 +2031,23 @@ class ni {
2027
2031
  this.isComplete || this.scheduleResolve();
2028
2032
  }
2029
2033
  }
2030
- const ii = (t, e) => (n) => !!(me(n) && Ga.test(n) && n.startsWith(t) || e && !Ha(n) && Object.prototype.hasOwnProperty.call(n, e)), Ir = (t, e, n) => (i) => {
2034
+ const si = (t, e) => (n) => !!(me(n) && Ga.test(n) && n.startsWith(t) || e && !Ha(n) && Object.prototype.hasOwnProperty.call(n, e)), Ir = (t, e, n) => (i) => {
2031
2035
  if (!me(i))
2032
2036
  return i;
2033
- const [s, o, r, a] = i.match(Gn);
2037
+ const [s, o, r, a] = i.match(Hn);
2034
2038
  return {
2035
2039
  [t]: parseFloat(s),
2036
2040
  [e]: parseFloat(o),
2037
2041
  [n]: parseFloat(r),
2038
2042
  alpha: a !== void 0 ? parseFloat(a) : 1
2039
2043
  };
2040
- }, Zl = (t) => Tt(0, 255, t), an = {
2044
+ }, Zl = (t) => xt(0, 255, t), ln = {
2041
2045
  ...Ht,
2042
2046
  transform: (t) => Math.round(Zl(t))
2043
2047
  }, Vt = {
2044
- test: ii("rgb", "red"),
2048
+ test: si("rgb", "red"),
2045
2049
  parse: Ir("red", "green", "blue"),
2046
- transform: ({ red: t, green: e, blue: n, alpha: i = 1 }) => "rgba(" + an.transform(t) + ", " + an.transform(e) + ", " + an.transform(n) + ", " + ne(ee.transform(i)) + ")"
2050
+ transform: ({ red: t, green: e, blue: n, alpha: i = 1 }) => "rgba(" + ln.transform(t) + ", " + ln.transform(e) + ", " + ln.transform(n) + ", " + ne(ee.transform(i)) + ")"
2047
2051
  };
2048
2052
  function Jl(t) {
2049
2053
  let e = "", n = "", i = "", s = "";
@@ -2054,22 +2058,22 @@ function Jl(t) {
2054
2058
  alpha: s ? parseInt(s, 16) / 255 : 1
2055
2059
  };
2056
2060
  }
2057
- const Sn = {
2058
- test: ii("#"),
2061
+ const Cn = {
2062
+ test: si("#"),
2059
2063
  parse: Jl,
2060
2064
  transform: Vt.transform
2061
2065
  }, It = {
2062
- test: ii("hsl", "hue"),
2066
+ test: si("hsl", "hue"),
2063
2067
  parse: Ir("hue", "saturation", "lightness"),
2064
2068
  transform: ({ hue: t, saturation: e, lightness: n, alpha: i = 1 }) => "hsla(" + Math.round(t) + ", " + at.transform(ne(e)) + ", " + at.transform(ne(n)) + ", " + ne(ee.transform(i)) + ")"
2065
2069
  }, H = {
2066
- test: (t) => Vt.test(t) || Sn.test(t) || It.test(t),
2067
- parse: (t) => Vt.test(t) ? Vt.parse(t) : It.test(t) ? It.parse(t) : Sn.parse(t),
2070
+ test: (t) => Vt.test(t) || Cn.test(t) || It.test(t),
2071
+ parse: (t) => Vt.test(t) ? Vt.parse(t) : It.test(t) ? It.parse(t) : Cn.parse(t),
2068
2072
  transform: (t) => me(t) ? t : t.hasOwnProperty("red") ? Vt.transform(t) : It.transform(t)
2069
2073
  };
2070
2074
  function Ql(t) {
2071
2075
  var e, n;
2072
- return isNaN(t) && me(t) && (((e = t.match(Gn)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(Ka)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
2076
+ return isNaN(t) && me(t) && (((e = t.match(Hn)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(Ka)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
2073
2077
  }
2074
2078
  const Nr = "number", Ur = "color", tc = "var", ec = "var(", Zi = "${}", nc = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
2075
2079
  function le(t) {
@@ -2102,7 +2106,7 @@ function sc(t) {
2102
2106
  const e = Wr(t);
2103
2107
  return $r(t)(e.map(ic));
2104
2108
  }
2105
- const xt = {
2109
+ const Tt = {
2106
2110
  test: Ql,
2107
2111
  parse: Wr,
2108
2112
  createTransformer: $r,
@@ -2112,21 +2116,21 @@ function oc(t) {
2112
2116
  const [e, n] = t.slice(0, -1).split("(");
2113
2117
  if (e === "drop-shadow")
2114
2118
  return t;
2115
- const [i] = n.match(Gn) || [];
2119
+ const [i] = n.match(Hn) || [];
2116
2120
  if (!i)
2117
2121
  return t;
2118
2122
  const s = n.replace(i, "");
2119
2123
  let o = rc.has(e) ? 1 : 0;
2120
2124
  return i !== n && (o *= 100), e + "(" + o + s + ")";
2121
2125
  }
2122
- const ac = /\b([a-z-]*)\(.*?\)/gu, Cn = {
2123
- ...xt,
2126
+ const ac = /\b([a-z-]*)\(.*?\)/gu, An = {
2127
+ ...Tt,
2124
2128
  getAnimatableNone: (t) => {
2125
2129
  const e = t.match(ac);
2126
2130
  return e ? e.map(oc).join(" ") : t;
2127
2131
  }
2128
2132
  }, lc = {
2129
- ...Hn,
2133
+ ...zn,
2130
2134
  // Color props
2131
2135
  color: H,
2132
2136
  backgroundColor: H,
@@ -2139,12 +2143,12 @@ const ac = /\b([a-z-]*)\(.*?\)/gu, Cn = {
2139
2143
  borderRightColor: H,
2140
2144
  borderBottomColor: H,
2141
2145
  borderLeftColor: H,
2142
- filter: Cn,
2143
- WebkitFilter: Cn
2144
- }, si = (t) => lc[t];
2146
+ filter: An,
2147
+ WebkitFilter: An
2148
+ }, ri = (t) => lc[t];
2145
2149
  function Kr(t, e) {
2146
- let n = si(t);
2147
- return n !== Cn && (n = xt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
2150
+ let n = ri(t);
2151
+ return n !== An && (n = Tt), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
2148
2152
  }
2149
2153
  const cc = /* @__PURE__ */ new Set(["auto", "none", "0"]);
2150
2154
  function uc(t, e, n) {
@@ -2157,7 +2161,7 @@ function uc(t, e, n) {
2157
2161
  for (const o of e)
2158
2162
  t[o] = Kr(n, s);
2159
2163
  }
2160
- class Gr extends ni {
2164
+ class Gr extends ii {
2161
2165
  constructor(e, n, i, s) {
2162
2166
  super(e, n, i, s, s == null ? void 0 : s.owner, !0);
2163
2167
  }
@@ -2168,7 +2172,7 @@ class Gr extends ni {
2168
2172
  super.readKeyframes();
2169
2173
  for (let l = 0; l < e.length; l++) {
2170
2174
  let c = e[l];
2171
- if (typeof c == "string" && (c = c.trim(), zn(c))) {
2175
+ if (typeof c == "string" && (c = c.trim(), Yn(c))) {
2172
2176
  const u = Fr(c, n.current);
2173
2177
  u !== void 0 && (e[l] = u), l === e.length - 1 && (this.finalKeyframe = c);
2174
2178
  }
@@ -2217,7 +2221,7 @@ function Hr(t) {
2217
2221
  return () => (e === void 0 && (e = t()), e);
2218
2222
  }
2219
2223
  const Ji = (t, e) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
2220
- (xt.test(t) || t === "0") && // And it contains numbers and/or colors
2224
+ (Tt.test(t) || t === "0") && // And it contains numbers and/or colors
2221
2225
  !t.startsWith("url("));
2222
2226
  function fc(t) {
2223
2227
  const e = t[0];
@@ -2302,20 +2306,20 @@ function Xr(t, e, n) {
2302
2306
  const i = Math.max(e - dc, 0);
2303
2307
  return Yr(n - t(i), e - i);
2304
2308
  }
2305
- const ln = 1e-3, pc = 0.01, Qi = 10, mc = 0.05, gc = 1;
2309
+ const cn = 1e-3, pc = 0.01, Qi = 10, mc = 0.05, gc = 1;
2306
2310
  function yc({ duration: t = 800, bounce: e = 0.25, velocity: n = 0, mass: i = 1 }) {
2307
2311
  let s, o;
2308
2312
  Gt(t <= ht(Qi), "Spring duration must be 10 seconds or less");
2309
2313
  let r = 1 - e;
2310
- r = Tt(mc, gc, r), t = Tt(pc, Qi, dt(t)), r < 1 ? (s = (c) => {
2311
- const u = c * r, f = u * t, d = u - n, p = An(c, r), m = Math.exp(-f);
2312
- return ln - d / p * m;
2314
+ r = xt(mc, gc, r), t = xt(pc, Qi, dt(t)), r < 1 ? (s = (c) => {
2315
+ const u = c * r, f = u * t, d = u - n, p = En(c, r), m = Math.exp(-f);
2316
+ return cn - d / p * m;
2313
2317
  }, o = (c) => {
2314
- const f = c * r * t, d = f * n + n, p = Math.pow(r, 2) * Math.pow(c, 2) * t, m = Math.exp(-f), P = An(Math.pow(c, 2), r);
2315
- return (-s(c) + ln > 0 ? -1 : 1) * ((d - p) * m) / P;
2318
+ const f = c * r * t, d = f * n + n, p = Math.pow(r, 2) * Math.pow(c, 2) * t, m = Math.exp(-f), P = En(Math.pow(c, 2), r);
2319
+ return (-s(c) + cn > 0 ? -1 : 1) * ((d - p) * m) / P;
2316
2320
  }) : (s = (c) => {
2317
2321
  const u = Math.exp(-c * t), f = (c - n) * t + 1;
2318
- return -ln + u * f;
2322
+ return -cn + u * f;
2319
2323
  }, o = (c) => {
2320
2324
  const u = Math.exp(-c * t), f = (n - c) * (t * t);
2321
2325
  return u * f;
@@ -2343,10 +2347,10 @@ function Pc(t, e, n) {
2343
2347
  i = i - t(i) / e(i);
2344
2348
  return i;
2345
2349
  }
2346
- function An(t, e) {
2350
+ function En(t, e) {
2347
2351
  return t * Math.sqrt(1 - e * e);
2348
2352
  }
2349
- const Tc = ["duration", "bounce"], xc = ["stiffness", "damping", "mass"];
2353
+ const xc = ["duration", "bounce"], Tc = ["stiffness", "damping", "mass"];
2350
2354
  function ts(t, e) {
2351
2355
  return e.some((n) => t[n] !== void 0);
2352
2356
  }
@@ -2359,7 +2363,7 @@ function bc(t) {
2359
2363
  isResolvedFromDuration: !1,
2360
2364
  ...t
2361
2365
  };
2362
- if (!ts(t, xc) && ts(t, Tc)) {
2366
+ if (!ts(t, Tc) && ts(t, xc)) {
2363
2367
  const n = yc(t);
2364
2368
  e = {
2365
2369
  ...e,
@@ -2373,11 +2377,11 @@ function qr({ keyframes: t, restDelta: e, restSpeed: n, ...i }) {
2373
2377
  const s = t[0], o = t[t.length - 1], r = { done: !1, value: s }, { stiffness: a, damping: l, mass: c, duration: u, velocity: f, isResolvedFromDuration: d } = bc({
2374
2378
  ...i,
2375
2379
  velocity: -dt(i.velocity || 0)
2376
- }), p = f || 0, m = l / (2 * Math.sqrt(a * c)), P = o - s, b = dt(Math.sqrt(a / c)), T = Math.abs(P) < 5;
2377
- n || (n = T ? 0.01 : 2), e || (e = T ? 5e-3 : 0.5);
2380
+ }), p = f || 0, m = l / (2 * Math.sqrt(a * c)), P = o - s, b = dt(Math.sqrt(a / c)), x = Math.abs(P) < 5;
2381
+ n || (n = x ? 0.01 : 2), e || (e = x ? 5e-3 : 0.5);
2378
2382
  let y;
2379
2383
  if (m < 1) {
2380
- const v = An(b, m);
2384
+ const v = En(b, m);
2381
2385
  y = (w) => {
2382
2386
  const A = Math.exp(-m * b * w);
2383
2387
  return o - A * ((p + m * b * P) / v * Math.sin(v * w) + P * Math.cos(v * w));
@@ -2387,8 +2391,8 @@ function qr({ keyframes: t, restDelta: e, restSpeed: n, ...i }) {
2387
2391
  else {
2388
2392
  const v = b * Math.sqrt(m * m - 1);
2389
2393
  y = (w) => {
2390
- const A = Math.exp(-m * b * w), L = Math.min(v * w, 300);
2391
- return o - A * ((p + m * b * P) * Math.sinh(L) + v * P * Math.cosh(L)) / v;
2394
+ const A = Math.exp(-m * b * w), F = Math.min(v * w, 300);
2395
+ return o - A * ((p + m * b * P) * Math.sinh(F) + v * P * Math.cosh(F)) / v;
2392
2396
  };
2393
2397
  }
2394
2398
  return {
@@ -2400,8 +2404,8 @@ function qr({ keyframes: t, restDelta: e, restSpeed: n, ...i }) {
2400
2404
  else {
2401
2405
  let A = p;
2402
2406
  v !== 0 && (m < 1 ? A = Xr(y, v, w) : A = 0);
2403
- const L = Math.abs(A) <= n, q = Math.abs(o - w) <= e;
2404
- r.done = L && q;
2407
+ const F = Math.abs(A) <= n, q = Math.abs(o - w) <= e;
2408
+ r.done = F && q;
2405
2409
  }
2406
2410
  return r.value = r.done ? o : w, r;
2407
2411
  }
@@ -2413,15 +2417,15 @@ function es({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: i = 3
2413
2417
  value: f
2414
2418
  }, p = (E) => a !== void 0 && E < a || l !== void 0 && E > l, m = (E) => a === void 0 ? l : l === void 0 || Math.abs(a - E) < Math.abs(l - E) ? a : l;
2415
2419
  let P = n * e;
2416
- const b = f + P, T = r === void 0 ? b : r(b);
2417
- T !== b && (P = T - f);
2418
- const y = (E) => -P * Math.exp(-E / i), v = (E) => T + y(E), w = (E) => {
2420
+ const b = f + P, x = r === void 0 ? b : r(b);
2421
+ x !== b && (P = x - f);
2422
+ const y = (E) => -P * Math.exp(-E / i), v = (E) => x + y(E), w = (E) => {
2419
2423
  const U = y(E), G = v(E);
2420
- d.done = Math.abs(U) <= c, d.value = d.done ? T : G;
2424
+ d.done = Math.abs(U) <= c, d.value = d.done ? x : G;
2421
2425
  };
2422
- let A, L;
2426
+ let A, F;
2423
2427
  const q = (E) => {
2424
- p(d.value) && (A = E, L = qr({
2428
+ p(d.value) && (A = E, F = qr({
2425
2429
  keyframes: [d.value, m(d.value)],
2426
2430
  velocity: Xr(v, E, d.value),
2427
2431
  // TODO: This should be passing * 1000
@@ -2435,7 +2439,7 @@ function es({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: i = 3
2435
2439
  calculatedDuration: null,
2436
2440
  next: (E) => {
2437
2441
  let U = !1;
2438
- return !L && A === void 0 && (U = !0, w(E), q(E)), A !== void 0 && E >= A ? L.next(E - A) : (!U && w(E), d);
2442
+ return !F && A === void 0 && (U = !0, w(E), q(E)), A !== void 0 && E >= A ? F.next(E - A) : (!U && w(E), d);
2439
2443
  }
2440
2444
  };
2441
2445
  }
@@ -2453,15 +2457,15 @@ function ye(t, e, n, i) {
2453
2457
  const s = (o) => Cc(o, 0, 1, t, n);
2454
2458
  return (o) => o === 0 || o === 1 ? o : Zr(s(o), e, i);
2455
2459
  }
2456
- const Ac = ye(0.42, 0, 1, 1), Ec = ye(0, 0, 0.58, 1), Jr = ye(0.42, 0, 0.58, 1), Rc = (t) => Array.isArray(t) && typeof t[0] != "number", Qr = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, to = (t) => (e) => 1 - t(1 - e), ri = (t) => 1 - Math.sin(Math.acos(t)), eo = to(ri), Vc = Qr(ri), no = ye(0.33, 1.53, 0.69, 0.99), oi = to(no), Dc = Qr(oi), Mc = (t) => (t *= 2) < 1 ? 0.5 * oi(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), ns = {
2460
+ const Ac = ye(0.42, 0, 1, 1), Ec = ye(0, 0, 0.58, 1), Jr = ye(0.42, 0, 0.58, 1), Rc = (t) => Array.isArray(t) && typeof t[0] != "number", Qr = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, to = (t) => (e) => 1 - t(1 - e), oi = (t) => 1 - Math.sin(Math.acos(t)), eo = to(oi), Vc = Qr(oi), no = ye(0.33, 1.53, 0.69, 0.99), ai = to(no), Dc = Qr(ai), Mc = (t) => (t *= 2) < 1 ? 0.5 * ai(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), ns = {
2457
2461
  linear: K,
2458
2462
  easeIn: Ac,
2459
2463
  easeInOut: Jr,
2460
2464
  easeOut: Ec,
2461
- circIn: ri,
2465
+ circIn: oi,
2462
2466
  circInOut: Vc,
2463
2467
  circOut: eo,
2464
- backIn: oi,
2468
+ backIn: ai,
2465
2469
  backInOut: Dc,
2466
2470
  backOut: no,
2467
2471
  anticipate: Mc
@@ -2477,7 +2481,7 @@ const Ac = ye(0.42, 0, 1, 1), Ec = ye(0, 0, 0.58, 1), Jr = ye(0.42, 0, 0.58, 1),
2477
2481
  const i = e - t;
2478
2482
  return i === 0 ? 1 : (n - t) / i;
2479
2483
  }, O = (t, e, n) => t + (e - t) * n;
2480
- function cn(t, e, n) {
2484
+ function un(t, e, n) {
2481
2485
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t;
2482
2486
  }
2483
2487
  function kc({ hue: t, saturation: e, lightness: n, alpha: i }) {
@@ -2487,7 +2491,7 @@ function kc({ hue: t, saturation: e, lightness: n, alpha: i }) {
2487
2491
  s = o = r = n;
2488
2492
  else {
2489
2493
  const a = n < 0.5 ? n * (1 + e) : n + e - n * e, l = 2 * n - a;
2490
- s = cn(l, a, t + 1 / 3), o = cn(l, a, t), r = cn(l, a, t - 1 / 3);
2494
+ s = un(l, a, t + 1 / 3), o = un(l, a, t), r = un(l, a, t - 1 / 3);
2491
2495
  }
2492
2496
  return {
2493
2497
  red: Math.round(s * 255),
@@ -2499,10 +2503,10 @@ function kc({ hue: t, saturation: e, lightness: n, alpha: i }) {
2499
2503
  function Oe(t, e) {
2500
2504
  return (n) => n > 0 ? e : t;
2501
2505
  }
2502
- const un = (t, e, n) => {
2506
+ const fn = (t, e, n) => {
2503
2507
  const i = t * t, s = n * (e * e - i) + i;
2504
2508
  return s < 0 ? 0 : Math.sqrt(s);
2505
- }, Lc = [Sn, Vt, It], Fc = (t) => Lc.find((e) => e.test(t));
2509
+ }, Lc = [Cn, Vt, It], Fc = (t) => Lc.find((e) => e.test(t));
2506
2510
  function ss(t) {
2507
2511
  const e = Fc(t);
2508
2512
  if (Gt(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
@@ -2515,19 +2519,19 @@ const rs = (t, e) => {
2515
2519
  if (!n || !i)
2516
2520
  return Oe(t, e);
2517
2521
  const s = { ...n };
2518
- return (o) => (s.red = un(n.red, i.red, o), s.green = un(n.green, i.green, o), s.blue = un(n.blue, i.blue, o), s.alpha = O(n.alpha, i.alpha, o), Vt.transform(s));
2519
- }, En = /* @__PURE__ */ new Set(["none", "hidden"]);
2522
+ return (o) => (s.red = fn(n.red, i.red, o), s.green = fn(n.green, i.green, o), s.blue = fn(n.blue, i.blue, o), s.alpha = O(n.alpha, i.alpha, o), Vt.transform(s));
2523
+ }, Rn = /* @__PURE__ */ new Set(["none", "hidden"]);
2520
2524
  function Oc(t, e) {
2521
- return En.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
2525
+ return Rn.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
2522
2526
  }
2523
2527
  function jc(t, e) {
2524
2528
  return (n) => O(t, e, n);
2525
2529
  }
2526
- function ai(t) {
2527
- return typeof t == "number" ? jc : typeof t == "string" ? zn(t) ? Oe : H.test(t) ? rs : Ic : Array.isArray(t) ? io : typeof t == "object" ? H.test(t) ? rs : _c : Oe;
2530
+ function li(t) {
2531
+ return typeof t == "number" ? jc : typeof t == "string" ? Yn(t) ? Oe : H.test(t) ? rs : Ic : Array.isArray(t) ? io : typeof t == "object" ? H.test(t) ? rs : _c : Oe;
2528
2532
  }
2529
2533
  function io(t, e) {
2530
- const n = [...t], i = n.length, s = t.map((o, r) => ai(o)(o, e[r]));
2534
+ const n = [...t], i = n.length, s = t.map((o, r) => li(o)(o, e[r]));
2531
2535
  return (o) => {
2532
2536
  for (let r = 0; r < i; r++)
2533
2537
  n[r] = s[r](o);
@@ -2537,7 +2541,7 @@ function io(t, e) {
2537
2541
  function _c(t, e) {
2538
2542
  const n = { ...t, ...e }, i = {};
2539
2543
  for (const s in n)
2540
- t[s] !== void 0 && e[s] !== void 0 && (i[s] = ai(t[s])(t[s], e[s]));
2544
+ t[s] !== void 0 && e[s] !== void 0 && (i[s] = li(t[s])(t[s], e[s]));
2541
2545
  return (s) => {
2542
2546
  for (const o in i)
2543
2547
  n[o] = i[o](s);
@@ -2554,11 +2558,11 @@ function Bc(t, e) {
2554
2558
  return i;
2555
2559
  }
2556
2560
  const Ic = (t, e) => {
2557
- const n = xt.createTransformer(e), i = le(t), s = le(e);
2558
- return i.indexes.var.length === s.indexes.var.length && i.indexes.color.length === s.indexes.color.length && i.indexes.number.length >= s.indexes.number.length ? En.has(t) && !s.values.length || En.has(e) && !i.values.length ? Oc(t, e) : ft(io(Bc(i, s), s.values), n) : (Gt(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), Oe(t, e));
2561
+ const n = Tt.createTransformer(e), i = le(t), s = le(e);
2562
+ return i.indexes.var.length === s.indexes.var.length && i.indexes.color.length === s.indexes.color.length && i.indexes.number.length >= s.indexes.number.length ? Rn.has(t) && !s.values.length || Rn.has(e) && !i.values.length ? Oc(t, e) : ft(io(Bc(i, s), s.values), n) : (Gt(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), Oe(t, e));
2559
2563
  };
2560
2564
  function so(t, e, n) {
2561
- return typeof t == "number" && typeof e == "number" && typeof n == "number" ? O(t, e, n) : ai(t)(t, e);
2565
+ return typeof t == "number" && typeof e == "number" && typeof n == "number" ? O(t, e, n) : li(t)(t, e);
2562
2566
  }
2563
2567
  function Nc(t, e, n) {
2564
2568
  const i = [], s = n || so, o = t.length - 1;
@@ -2587,7 +2591,7 @@ function Uc(t, e, { clamp: n = !0, ease: i, mixer: s } = {}) {
2587
2591
  const f = ce(t[u], t[u + 1], c);
2588
2592
  return r[u](f);
2589
2593
  };
2590
- return n ? (c) => l(Tt(t[0], t[o - 1], c)) : l;
2594
+ return n ? (c) => l(xt(t[0], t[o - 1], c)) : l;
2591
2595
  }
2592
2596
  function Wc(t, e) {
2593
2597
  const n = t[t.length - 1];
@@ -2650,8 +2654,8 @@ const zc = (t) => {
2650
2654
  keyframes: je,
2651
2655
  spring: qr
2652
2656
  }, Xc = (t) => t / 100;
2653
- class li extends zr {
2654
- constructor({ KeyframeResolver: e = ni, ...n }) {
2657
+ class ci extends zr {
2658
+ constructor({ KeyframeResolver: e = ii, ...n }) {
2655
2659
  super(n), this.holdTime = null, this.startTime = null, this.cancelTime = null, this.currentTime = 0, this.playbackSpeed = 1, this.pendingPlayState = "running", this.state = "idle", this.stop = () => {
2656
2660
  if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
2657
2661
  return;
@@ -2697,19 +2701,19 @@ class li extends zr {
2697
2701
  return o.next(0);
2698
2702
  const { delay: d, repeat: p, repeatType: m, repeatDelay: P, onUpdate: b } = this.options;
2699
2703
  this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - u / this.speed, this.startTime)), n ? this.currentTime = e : this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = Math.round(e - this.startTime) * this.speed;
2700
- const T = this.currentTime - d * (this.speed >= 0 ? 1 : -1), y = this.speed >= 0 ? T < 0 : T > u;
2701
- this.currentTime = Math.max(T, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = u);
2704
+ const x = this.currentTime - d * (this.speed >= 0 ? 1 : -1), y = this.speed >= 0 ? x < 0 : x > u;
2705
+ this.currentTime = Math.max(x, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = u);
2702
2706
  let v = this.currentTime, w = o;
2703
2707
  if (p) {
2704
2708
  const E = Math.min(this.currentTime, u) / f;
2705
2709
  let U = Math.floor(E), G = E % 1;
2706
- !G && E >= 1 && (G = 1), G === 1 && U--, U = Math.min(U, p + 1), !!(U % 2) && (m === "reverse" ? (G = 1 - G, P && (G -= P / f)) : m === "mirror" && (w = r)), v = Tt(0, 1, G) * f;
2710
+ !G && E >= 1 && (G = 1), G === 1 && U--, U = Math.min(U, p + 1), !!(U % 2) && (m === "reverse" ? (G = 1 - G, P && (G -= P / f)) : m === "mirror" && (w = r)), v = xt(0, 1, G) * f;
2707
2711
  }
2708
2712
  const A = y ? { done: !1, value: l[0] } : w.next(v);
2709
2713
  a && (A.value = a(A.value));
2710
- let { done: L } = A;
2711
- !y && c !== null && (L = this.speed >= 0 ? this.currentTime >= u : this.currentTime <= 0);
2712
- const q = this.holdTime === null && (this.state === "finished" || this.state === "running" && L);
2714
+ let { done: F } = A;
2715
+ !y && c !== null && (F = this.speed >= 0 ? this.currentTime >= u : this.currentTime <= 0);
2716
+ const q = this.holdTime === null && (this.state === "finished" || this.state === "running" && F);
2713
2717
  return q && s !== void 0 && (A.value = ze(l, this.options, s)), b && b(A.value), q && this.finish(), A;
2714
2718
  }
2715
2719
  get duration() {
@@ -2772,9 +2776,9 @@ class li extends zr {
2772
2776
  }
2773
2777
  const ro = (t) => Array.isArray(t) && typeof t[0] == "number";
2774
2778
  function oo(t) {
2775
- return !!(!t || typeof t == "string" && t in ci || ro(t) || Array.isArray(t) && t.every(oo));
2779
+ return !!(!t || typeof t == "string" && t in ui || ro(t) || Array.isArray(t) && t.every(oo));
2776
2780
  }
2777
- const Qt = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, ci = {
2781
+ const Qt = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, ui = {
2778
2782
  linear: "linear",
2779
2783
  ease: "ease",
2780
2784
  easeIn: "ease-in",
@@ -2786,11 +2790,11 @@ const Qt = ([t, e, n, i]) => `cubic-bezier(${t}, ${e}, ${n}, ${i})`, ci = {
2786
2790
  backOut: Qt([0.33, 1.53, 0.69, 0.99])
2787
2791
  };
2788
2792
  function qc(t) {
2789
- return ao(t) || ci.easeOut;
2793
+ return ao(t) || ui.easeOut;
2790
2794
  }
2791
2795
  function ao(t) {
2792
2796
  if (t)
2793
- return ro(t) ? Qt(t) : Array.isArray(t) ? t.map(qc) : ci[t];
2797
+ return ro(t) ? Qt(t) : Array.isArray(t) ? t.map(qc) : ui[t];
2794
2798
  }
2795
2799
  function Zc(t, e, n, { delay: i = 0, duration: s = 300, repeat: o = 0, repeatType: r = "loop", ease: a, times: l } = {}) {
2796
2800
  const c = { [e]: n };
@@ -2810,7 +2814,7 @@ function tu(t) {
2810
2814
  return t.type === "spring" || !oo(t.ease);
2811
2815
  }
2812
2816
  function eu(t, e) {
2813
- const n = new li({
2817
+ const n = new ci({
2814
2818
  ...e,
2815
2819
  keyframes: t,
2816
2820
  repeat: 0,
@@ -2942,7 +2946,7 @@ class as extends zr {
2942
2946
  if (n.playState === "idle" || n.playState === "finished")
2943
2947
  return;
2944
2948
  if (this.time) {
2945
- const { motionValue: c, onUpdate: u, onComplete: f, ...d } = this.options, p = new li({
2949
+ const { motionValue: c, onUpdate: u, onComplete: f, ...d } = this.options, p = new ci({
2946
2950
  ...d,
2947
2951
  keyframes: i,
2948
2952
  duration: s,
@@ -3048,8 +3052,8 @@ class su {
3048
3052
  this.runAll("complete");
3049
3053
  }
3050
3054
  }
3051
- const ui = (t, e, n, i = {}, s, o, r) => (a) => {
3052
- const l = ei(i, t) || {}, c = l.delay || i.delay || 0;
3055
+ const fi = (t, e, n, i = {}, s, o, r) => (a) => {
3056
+ const l = ni(i, t) || {}, c = l.delay || i.delay || 0;
3053
3057
  let { elapsed: u = 0 } = i;
3054
3058
  u = u - ht(c);
3055
3059
  let f = {
@@ -3081,9 +3085,9 @@ const ui = (t, e, n, i = {}, s, o, r) => (a) => {
3081
3085
  f.onUpdate(p), f.onComplete();
3082
3086
  }), new su([]);
3083
3087
  }
3084
- return !o && as.supports(f) ? new as(f) : new li(f);
3088
+ return !o && as.supports(f) ? new as(f) : new ci(f);
3085
3089
  };
3086
- class fi {
3090
+ class hi {
3087
3091
  constructor() {
3088
3092
  this.subscriptions = [];
3089
3093
  }
@@ -3109,7 +3113,7 @@ class fi {
3109
3113
  }
3110
3114
  }
3111
3115
  const ls = /* @__PURE__ */ new Set();
3112
- function hi(t, e, n) {
3116
+ function di(t, e, n) {
3113
3117
  t || ls.has(e) || (console.warn(e), n && console.warn(n), ls.add(e));
3114
3118
  }
3115
3119
  const cs = 30, ru = (t) => !isNaN(parseFloat(t));
@@ -3175,10 +3179,10 @@ class lo {
3175
3179
  * @deprecated
3176
3180
  */
3177
3181
  onChange(e) {
3178
- return process.env.NODE_ENV !== "production" && hi(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
3182
+ return process.env.NODE_ENV !== "production" && di(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", e);
3179
3183
  }
3180
3184
  on(e, n) {
3181
- this.events[e] || (this.events[e] = new fi());
3185
+ this.events[e] || (this.events[e] = new hi());
3182
3186
  const i = this.events[e].add(n);
3183
3187
  return e === "change" ? () => {
3184
3188
  i(), M.read(() => {
@@ -3351,7 +3355,7 @@ class lu extends lo {
3351
3355
  function cu(t) {
3352
3356
  return !!(z(t) && t.add);
3353
3357
  }
3354
- function Rn(t, e) {
3358
+ function Vn(t, e) {
3355
3359
  var n;
3356
3360
  if (!t.applyWillChange)
3357
3361
  return;
@@ -3375,17 +3379,17 @@ function uo(t, e, { delay: n = 0, transitionOverride: i, type: s } = {}) {
3375
3379
  const m = {
3376
3380
  delay: n,
3377
3381
  elapsed: 0,
3378
- ...ei(r || {}, f)
3382
+ ...ni(r || {}, f)
3379
3383
  };
3380
3384
  let P = !1;
3381
3385
  if (window.HandoffAppearAnimations) {
3382
- const T = co(t);
3383
- if (T) {
3384
- const y = window.HandoffAppearAnimations(T, f, d, M);
3386
+ const x = co(t);
3387
+ if (x) {
3388
+ const y = window.HandoffAppearAnimations(x, f, d, M);
3385
3389
  y !== null && (m.elapsed = y, P = !0);
3386
3390
  }
3387
3391
  }
3388
- d.start(ui(f, d, p, t.shouldReduceMotion && bt.has(f) ? { type: !1 } : m, t, P, Rn(t, f)));
3392
+ d.start(fi(f, d, p, t.shouldReduceMotion && bt.has(f) ? { type: !1 } : m, t, P, Vn(t, f)));
3389
3393
  const b = d.animation;
3390
3394
  b && c.push(b);
3391
3395
  }
@@ -3395,7 +3399,7 @@ function uo(t, e, { delay: n = 0, transitionOverride: i, type: s } = {}) {
3395
3399
  });
3396
3400
  }), c;
3397
3401
  }
3398
- function Vn(t, e, n = {}) {
3402
+ function Dn(t, e, n = {}) {
3399
3403
  var i;
3400
3404
  const s = He(t, e, n.type === "exit" ? (i = t.presenceContext) === null || i === void 0 ? void 0 : i.custom : void 0);
3401
3405
  let { transition: o = t.getDefaultTransition() || {} } = s || {};
@@ -3413,7 +3417,7 @@ function Vn(t, e, n = {}) {
3413
3417
  function fu(t, e, n = 0, i = 0, s = 1, o) {
3414
3418
  const r = [], a = (t.variantChildren.size - 1) * i, l = s === 1 ? (c = 0) => c * i : (c = 0) => a - c * i;
3415
3419
  return Array.from(t.variantChildren).sort(hu).forEach((c, u) => {
3416
- c.notify("AnimationStart", e), r.push(Vn(c, e, {
3420
+ c.notify("AnimationStart", e), r.push(Dn(c, e, {
3417
3421
  ...o,
3418
3422
  delay: n + l(u)
3419
3423
  }).then(() => c.notify("AnimationComplete", e)));
@@ -3426,10 +3430,10 @@ function du(t, e, n = {}) {
3426
3430
  t.notify("AnimationStart", e);
3427
3431
  let i;
3428
3432
  if (Array.isArray(e)) {
3429
- const s = e.map((o) => Vn(t, o, n));
3433
+ const s = e.map((o) => Dn(t, o, n));
3430
3434
  i = Promise.all(s);
3431
3435
  } else if (typeof e == "string")
3432
- i = Vn(t, e, n);
3436
+ i = Dn(t, e, n);
3433
3437
  else {
3434
3438
  const s = typeof e == "function" ? He(t, e, n.custom) : e;
3435
3439
  i = Promise.all(uo(t, s, n));
@@ -3438,7 +3442,7 @@ function du(t, e, n = {}) {
3438
3442
  t.notify("AnimationComplete", e);
3439
3443
  });
3440
3444
  }
3441
- const pu = [...Un].reverse(), mu = Un.length;
3445
+ const pu = [...Wn].reverse(), mu = Wn.length;
3442
3446
  function gu(t) {
3443
3447
  return (e) => Promise.all(e.map(({ animation: n, options: i }) => du(t, n, i)));
3444
3448
  }
@@ -3460,45 +3464,45 @@ function yu(t) {
3460
3464
  const c = t.getProps(), u = t.getVariantContext(!0) || {}, f = [], d = /* @__PURE__ */ new Set();
3461
3465
  let p = {}, m = 1 / 0;
3462
3466
  for (let b = 0; b < mu; b++) {
3463
- const T = pu[b], y = n[T], v = c[T] !== void 0 ? c[T] : u[T], w = oe(v), A = T === l ? y.isActive : null;
3467
+ const x = pu[b], y = n[x], v = c[x] !== void 0 ? c[x] : u[x], w = oe(v), A = x === l ? y.isActive : null;
3464
3468
  A === !1 && (m = b);
3465
- let L = v === u[T] && v !== c[T] && w;
3466
- if (L && i && t.manuallyAnimateOnMount && (L = !1), y.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
3469
+ let F = v === u[x] && v !== c[x] && w;
3470
+ if (F && i && t.manuallyAnimateOnMount && (F = !1), y.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
3467
3471
  !y.isActive && A === null || // If we didn't and don't have any defined prop for this animation type
3468
3472
  !v && !y.prevProp || // Or if the prop doesn't define an animation
3469
3473
  ae(v) || typeof v == "boolean")
3470
3474
  continue;
3471
3475
  let E = vu(y.prevProp, v) || // If we're making this variant active, we want to always make it active
3472
- T === l && y.isActive && !L && w || // If we removed a higher-priority variant (i is in reverse order)
3476
+ x === l && y.isActive && !F && w || // If we removed a higher-priority variant (i is in reverse order)
3473
3477
  b > m && w, U = !1;
3474
3478
  const G = Array.isArray(v) ? v : [v];
3475
- let j = G.reduce(s(T), {});
3476
- A === !1 && (j = {});
3479
+ let N = G.reduce(s(x), {});
3480
+ A === !1 && (N = {});
3477
3481
  const { prevResolvedValues: gt = {} } = y, Y = {
3478
3482
  ...gt,
3479
- ...j
3480
- }, st = (_) => {
3481
- E = !0, d.has(_) && (U = !0, d.delete(_)), y.needsAnimating[_] = !0;
3482
- const Q = t.getValue(_);
3483
- Q && (Q.liveStyle = !1);
3483
+ ...N
3484
+ }, rt = (j) => {
3485
+ E = !0, d.has(j) && (U = !0, d.delete(j)), y.needsAnimating[j] = !0;
3486
+ const tt = t.getValue(j);
3487
+ tt && (tt.liveStyle = !1);
3484
3488
  };
3485
- for (const _ in Y) {
3486
- const Q = j[_], Lt = gt[_];
3487
- if (p.hasOwnProperty(_))
3489
+ for (const j in Y) {
3490
+ const tt = N[j], Lt = gt[j];
3491
+ if (p.hasOwnProperty(j))
3488
3492
  continue;
3489
3493
  let Ft = !1;
3490
- Tn(Q) && Tn(Lt) ? Ft = !Mr(Q, Lt) : Ft = Q !== Lt, Ft ? Q != null ? st(_) : d.add(_) : Q !== void 0 && d.has(_) ? st(_) : y.protectedKeys[_] = !0;
3494
+ Tn(tt) && Tn(Lt) ? Ft = !Mr(tt, Lt) : Ft = tt !== Lt, Ft ? tt != null ? rt(j) : d.add(j) : tt !== void 0 && d.has(j) ? rt(j) : y.protectedKeys[j] = !0;
3491
3495
  }
3492
- y.prevProp = v, y.prevResolvedValues = j, y.isActive && (p = { ...p, ...j }), i && t.blockInitialAnimation && (E = !1), E && (!L || U) && f.push(...G.map((_) => ({
3493
- animation: _,
3494
- options: { type: T }
3496
+ y.prevProp = v, y.prevResolvedValues = N, y.isActive && (p = { ...p, ...N }), i && t.blockInitialAnimation && (E = !1), E && (!F || U) && f.push(...G.map((j) => ({
3497
+ animation: j,
3498
+ options: { type: x }
3495
3499
  })));
3496
3500
  }
3497
3501
  if (d.size) {
3498
3502
  const b = {};
3499
- d.forEach((T) => {
3500
- const y = t.getBaseTarget(T), v = t.getValue(T);
3501
- v && (v.liveStyle = !0), b[T] = y ?? null;
3503
+ d.forEach((x) => {
3504
+ const y = t.getBaseTarget(x), v = t.getValue(x);
3505
+ v && (v.liveStyle = !0), b[x] = y ?? null;
3502
3506
  }), f.push({ animation: b });
3503
3507
  }
3504
3508
  let P = !!f.length;
@@ -3577,10 +3581,10 @@ class Pu extends wt {
3577
3581
  this.node.animationState.reset(), (e = this.unmountControls) === null || e === void 0 || e.call(this);
3578
3582
  }
3579
3583
  }
3580
- let Tu = 0;
3581
- class xu extends wt {
3584
+ let xu = 0;
3585
+ class Tu extends wt {
3582
3586
  constructor() {
3583
- super(...arguments), this.id = Tu++;
3587
+ super(...arguments), this.id = xu++;
3584
3588
  }
3585
3589
  update() {
3586
3590
  if (!this.node.presenceContext)
@@ -3603,7 +3607,7 @@ const bu = {
3603
3607
  Feature: Pu
3604
3608
  },
3605
3609
  exit: {
3606
- Feature: xu
3610
+ Feature: Tu
3607
3611
  }
3608
3612
  }, fs = (t, e) => Math.abs(t - e);
3609
3613
  function wu(t, e) {
@@ -3615,29 +3619,29 @@ class fo {
3615
3619
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
3616
3620
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
3617
3621
  return;
3618
- const f = hn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, p = wu(f.offset, { x: 0, y: 0 }) >= 3;
3622
+ const f = dn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, p = wu(f.offset, { x: 0, y: 0 }) >= 3;
3619
3623
  if (!d && !p)
3620
3624
  return;
3621
3625
  const { point: m } = f, { timestamp: P } = W;
3622
3626
  this.history.push({ ...m, timestamp: P });
3623
- const { onStart: b, onMove: T } = this.handlers;
3624
- d || (b && b(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), T && T(this.lastMoveEvent, f);
3627
+ const { onStart: b, onMove: x } = this.handlers;
3628
+ d || (b && b(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), x && x(this.lastMoveEvent, f);
3625
3629
  }, this.handlePointerMove = (f, d) => {
3626
- this.lastMoveEvent = f, this.lastMoveEventInfo = fn(d, this.transformPagePoint), M.update(this.updatePoint, !0);
3630
+ this.lastMoveEvent = f, this.lastMoveEventInfo = hn(d, this.transformPagePoint), M.update(this.updatePoint, !0);
3627
3631
  }, this.handlePointerUp = (f, d) => {
3628
3632
  this.end();
3629
3633
  const { onEnd: p, onSessionEnd: m, resumeAnimation: P } = this.handlers;
3630
3634
  if (this.dragSnapToOrigin && P && P(), !(this.lastMoveEvent && this.lastMoveEventInfo))
3631
3635
  return;
3632
- const b = hn(f.type === "pointercancel" ? this.lastMoveEventInfo : fn(d, this.transformPagePoint), this.history);
3636
+ const b = dn(f.type === "pointercancel" ? this.lastMoveEventInfo : hn(d, this.transformPagePoint), this.history);
3633
3637
  this.startEvent && p && p(f, b), m && m(f, b);
3634
3638
  }, !Ar(e))
3635
3639
  return;
3636
3640
  this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = i, this.contextWindow = s || window;
3637
- const r = Ge(e), a = fn(r, this.transformPagePoint), { point: l } = a, { timestamp: c } = W;
3641
+ const r = Ge(e), a = hn(r, this.transformPagePoint), { point: l } = a, { timestamp: c } = W;
3638
3642
  this.history = [{ ...l, timestamp: c }];
3639
3643
  const { onSessionStart: u } = n;
3640
- u && u(e, hn(a, this.history)), this.removeListeners = ft(ut(this.contextWindow, "pointermove", this.handlePointerMove), ut(this.contextWindow, "pointerup", this.handlePointerUp), ut(this.contextWindow, "pointercancel", this.handlePointerUp));
3644
+ u && u(e, dn(a, this.history)), this.removeListeners = ft(ut(this.contextWindow, "pointermove", this.handlePointerMove), ut(this.contextWindow, "pointerup", this.handlePointerUp), ut(this.contextWindow, "pointercancel", this.handlePointerUp));
3641
3645
  }
3642
3646
  updateHandlers(e) {
3643
3647
  this.handlers = e;
@@ -3646,13 +3650,13 @@ class fo {
3646
3650
  this.removeListeners && this.removeListeners(), mt(this.updatePoint);
3647
3651
  }
3648
3652
  }
3649
- function fn(t, e) {
3653
+ function hn(t, e) {
3650
3654
  return e ? { point: e(t.point) } : t;
3651
3655
  }
3652
3656
  function hs(t, e) {
3653
3657
  return { x: t.x - e.x, y: t.y - e.y };
3654
3658
  }
3655
- function hn({ point: t }, e) {
3659
+ function dn({ point: t }, e) {
3656
3660
  return {
3657
3661
  point: t,
3658
3662
  delta: hs(t, ho(e)),
@@ -3685,26 +3689,26 @@ function Cu(t, e) {
3685
3689
  return r.x === 1 / 0 && (r.x = 0), r.y === 1 / 0 && (r.y = 0), r;
3686
3690
  }
3687
3691
  const po = 1e-4, Au = 1 - po, Eu = 1 + po, mo = 0.01, Ru = 0 - mo, Vu = 0 + mo;
3688
- function J(t) {
3692
+ function Q(t) {
3689
3693
  return t.max - t.min;
3690
3694
  }
3691
3695
  function Du(t, e, n) {
3692
3696
  return Math.abs(t - e) <= n;
3693
3697
  }
3694
3698
  function ds(t, e, n, i = 0.5) {
3695
- t.origin = i, t.originPoint = O(e.min, e.max, t.origin), t.scale = J(n) / J(e), t.translate = O(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Au && t.scale <= Eu || isNaN(t.scale)) && (t.scale = 1), (t.translate >= Ru && t.translate <= Vu || isNaN(t.translate)) && (t.translate = 0);
3699
+ t.origin = i, t.originPoint = O(e.min, e.max, t.origin), t.scale = Q(n) / Q(e), t.translate = O(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Au && t.scale <= Eu || isNaN(t.scale)) && (t.scale = 1), (t.translate >= Ru && t.translate <= Vu || isNaN(t.translate)) && (t.translate = 0);
3696
3700
  }
3697
3701
  function ie(t, e, n, i) {
3698
3702
  ds(t.x, e.x, n.x, i ? i.originX : void 0), ds(t.y, e.y, n.y, i ? i.originY : void 0);
3699
3703
  }
3700
3704
  function ps(t, e, n) {
3701
- t.min = n.min + e.min, t.max = t.min + J(e);
3705
+ t.min = n.min + e.min, t.max = t.min + Q(e);
3702
3706
  }
3703
3707
  function Mu(t, e, n) {
3704
3708
  ps(t.x, e.x, n.x), ps(t.y, e.y, n.y);
3705
3709
  }
3706
3710
  function ms(t, e, n) {
3707
- t.min = e.min - n.min, t.max = t.min + J(e);
3711
+ t.min = e.min - n.min, t.max = t.min + Q(e);
3708
3712
  }
3709
3713
  function se(t, e, n) {
3710
3714
  ms(t.x, e.x, n.x), ms(t.y, e.y, n.y);
@@ -3736,16 +3740,16 @@ function Fu(t, e) {
3736
3740
  }
3737
3741
  function Ou(t, e) {
3738
3742
  let n = 0.5;
3739
- const i = J(t), s = J(e);
3740
- return s > i ? n = ce(e.min, e.max - i, t.min) : i > s && (n = ce(t.min, t.max - s, e.min)), Tt(0, 1, n);
3743
+ const i = Q(t), s = Q(e);
3744
+ return s > i ? n = ce(e.min, e.max - i, t.min) : i > s && (n = ce(t.min, t.max - s, e.min)), xt(0, 1, n);
3741
3745
  }
3742
3746
  function ju(t, e) {
3743
3747
  const n = {};
3744
3748
  return e.min !== void 0 && (n.min = e.min - t.min), e.max !== void 0 && (n.max = e.max - t.min), n;
3745
3749
  }
3746
- const Dn = 0.35;
3747
- function _u(t = Dn) {
3748
- return t === !1 ? t = 0 : t === !0 && (t = Dn), {
3750
+ const Mn = 0.35;
3751
+ function _u(t = Mn) {
3752
+ return t === !1 ? t = 0 : t === !0 && (t = Mn), {
3749
3753
  x: vs(t, "left", "right"),
3750
3754
  y: vs(t, "top", "bottom")
3751
3755
  };
@@ -3759,19 +3763,19 @@ function vs(t, e, n) {
3759
3763
  function Ps(t, e) {
3760
3764
  return typeof t == "number" ? t : t[e] || 0;
3761
3765
  }
3762
- const Ts = () => ({
3766
+ const xs = () => ({
3763
3767
  translate: 0,
3764
3768
  scale: 1,
3765
3769
  origin: 0,
3766
3770
  originPoint: 0
3767
3771
  }), Nt = () => ({
3768
- x: Ts(),
3769
- y: Ts()
3770
- }), xs = () => ({ min: 0, max: 0 }), I = () => ({
3771
3772
  x: xs(),
3772
3773
  y: xs()
3774
+ }), Ts = () => ({ min: 0, max: 0 }), B = () => ({
3775
+ x: Ts(),
3776
+ y: Ts()
3773
3777
  });
3774
- function nt(t) {
3778
+ function it(t) {
3775
3779
  return [t("x"), t("y")];
3776
3780
  }
3777
3781
  function go({ top: t, left: e, right: n, bottom: i }) {
@@ -3794,14 +3798,14 @@ function Iu(t, e) {
3794
3798
  right: i.x
3795
3799
  };
3796
3800
  }
3797
- function dn(t) {
3801
+ function pn(t) {
3798
3802
  return t === void 0 || t === 1;
3799
3803
  }
3800
- function Mn({ scale: t, scaleX: e, scaleY: n }) {
3801
- return !dn(t) || !dn(e) || !dn(n);
3804
+ function kn({ scale: t, scaleX: e, scaleY: n }) {
3805
+ return !pn(t) || !pn(e) || !pn(n);
3802
3806
  }
3803
3807
  function Et(t) {
3804
- return Mn(t) || yo(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
3808
+ return kn(t) || yo(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
3805
3809
  }
3806
3810
  function yo(t) {
3807
3811
  return bs(t.x) || bs(t.y);
@@ -3816,11 +3820,11 @@ function Be(t, e, n) {
3816
3820
  function ws(t, e, n, i, s) {
3817
3821
  return s !== void 0 && (t = Be(t, s, i)), Be(t, n, i) + e;
3818
3822
  }
3819
- function kn(t, e = 0, n = 1, i, s) {
3823
+ function Ln(t, e = 0, n = 1, i, s) {
3820
3824
  t.min = ws(t.min, e, n, i, s), t.max = ws(t.max, e, n, i, s);
3821
3825
  }
3822
3826
  function vo(t, { x: e, y: n }) {
3823
- kn(t.x, e.translate, e.scale, e.originPoint), kn(t.y, n.translate, n.scale, n.originPoint);
3827
+ Ln(t.x, e.translate, e.scale, e.originPoint), Ln(t.y, n.translate, n.scale, n.originPoint);
3824
3828
  }
3825
3829
  const Ss = 0.999999999999, Cs = 1.0000000000001;
3826
3830
  function Nu(t, e, n, i = !1) {
@@ -3844,7 +3848,7 @@ function Ut(t, e) {
3844
3848
  }
3845
3849
  function As(t, e, n, i, s = 0.5) {
3846
3850
  const o = O(t.min, t.max, s);
3847
- kn(t, e, n, o, i);
3851
+ Ln(t, e, n, o, i);
3848
3852
  }
3849
3853
  function Wt(t, e) {
3850
3854
  As(t.x, e.x, e.scaleX, e.scale, e.originX), As(t.y, e.y, e.scaleY, e.scale, e.originY);
@@ -3856,10 +3860,10 @@ function Uu(t, e, n) {
3856
3860
  const i = Po(t, n), { scroll: s } = e;
3857
3861
  return s && (Ut(i.x, s.offset.x), Ut(i.y, s.offset.y)), i;
3858
3862
  }
3859
- const To = ({ current: t }) => t ? t.ownerDocument.defaultView : null, Wu = /* @__PURE__ */ new WeakMap();
3863
+ const xo = ({ current: t }) => t ? t.ownerDocument.defaultView : null, Wu = /* @__PURE__ */ new WeakMap();
3860
3864
  class $u {
3861
3865
  constructor(e) {
3862
- this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = I(), this.visualElement = e;
3866
+ this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = B(), this.visualElement = e;
3863
3867
  }
3864
3868
  start(e, { snapToCursor: n = !1 } = {}) {
3865
3869
  const { presenceContext: i } = this.visualElement;
@@ -3873,17 +3877,17 @@ class $u {
3873
3877
  const { drag: p, dragPropagation: m, onDragStart: P } = this.getProps();
3874
3878
  if (p && !m && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = Rr(p), !this.openGlobalLock))
3875
3879
  return;
3876
- this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), nt((T) => {
3877
- let y = this.getAxisMotionValue(T).get() || 0;
3880
+ this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), it((x) => {
3881
+ let y = this.getAxisMotionValue(x).get() || 0;
3878
3882
  if (at.test(y)) {
3879
3883
  const { projection: v } = this.visualElement;
3880
3884
  if (v && v.layout) {
3881
- const w = v.layout.layoutBox[T];
3882
- w && (y = J(w) * (parseFloat(y) / 100));
3885
+ const w = v.layout.layoutBox[x];
3886
+ w && (y = Q(w) * (parseFloat(y) / 100));
3883
3887
  }
3884
3888
  }
3885
- this.originPoint[T] = y;
3886
- }), P && M.postRender(() => P(u, f)), (d = this.removeWillChange) === null || d === void 0 || d.call(this), this.removeWillChange = Rn(this.visualElement, "transform");
3889
+ this.originPoint[x] = y;
3890
+ }), P && M.postRender(() => P(u, f)), (d = this.removeWillChange) === null || d === void 0 || d.call(this), this.removeWillChange = Vn(this.visualElement, "transform");
3887
3891
  const { animationState: b } = this.visualElement;
3888
3892
  b && b.setActive("whileDrag", !0);
3889
3893
  }, r = (u, f) => {
@@ -3896,7 +3900,7 @@ class $u {
3896
3900
  return;
3897
3901
  }
3898
3902
  this.updateAxis("x", f.point, b), this.updateAxis("y", f.point, b), this.visualElement.render(), P && P(u, f);
3899
- }, a = (u, f) => this.stop(u, f), l = () => nt((u) => {
3903
+ }, a = (u, f) => this.stop(u, f), l = () => it((u) => {
3900
3904
  var f;
3901
3905
  return this.getAnimationState(u) === "paused" && ((f = this.getAxisMotionValue(u).animation) === null || f === void 0 ? void 0 : f.play());
3902
3906
  }), { dragSnapToOrigin: c } = this.getProps();
@@ -3909,7 +3913,7 @@ class $u {
3909
3913
  }, {
3910
3914
  transformPagePoint: this.visualElement.getTransformPagePoint(),
3911
3915
  dragSnapToOrigin: c,
3912
- contextWindow: To(this.visualElement)
3916
+ contextWindow: xo(this.visualElement)
3913
3917
  });
3914
3918
  }
3915
3919
  stop(e, n) {
@@ -3941,7 +3945,7 @@ class $u {
3941
3945
  resolveConstraints() {
3942
3946
  var e;
3943
3947
  const { dragConstraints: n, dragElastic: i } = this.getProps(), s = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (e = this.visualElement.projection) === null || e === void 0 ? void 0 : e.layout, o = this.constraints;
3944
- n && Bt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && s ? this.constraints = Lu(s.layoutBox, n) : this.constraints = !1, this.elastic = _u(i), o !== this.constraints && s && this.constraints && !this.hasMutatedConstraints && nt((r) => {
3948
+ n && Bt(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && s ? this.constraints = Lu(s.layoutBox, n) : this.constraints = !1, this.elastic = _u(i), o !== this.constraints && s && this.constraints && !this.hasMutatedConstraints && it((r) => {
3945
3949
  this.constraints !== !1 && this.getAxisMotionValue(r) && (this.constraints[r] = ju(s.layoutBox[r], this.constraints[r]));
3946
3950
  });
3947
3951
  }
@@ -3963,7 +3967,7 @@ class $u {
3963
3967
  return r;
3964
3968
  }
3965
3969
  startAnimation(e) {
3966
- const { drag: n, dragMomentum: i, dragElastic: s, dragTransition: o, dragSnapToOrigin: r, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c = nt((u) => {
3970
+ const { drag: n, dragMomentum: i, dragElastic: s, dragTransition: o, dragSnapToOrigin: r, onDragTransitionEnd: a } = this.getProps(), l = this.constraints || {}, c = it((u) => {
3967
3971
  if (!Se(u, n, this.currentDirection))
3968
3972
  return;
3969
3973
  let f = l && l[u] || {};
@@ -3985,13 +3989,13 @@ class $u {
3985
3989
  }
3986
3990
  startAxisValueAnimation(e, n) {
3987
3991
  const i = this.getAxisMotionValue(e);
3988
- return i.start(ui(e, i, 0, n, this.visualElement, !1, Rn(this.visualElement, e)));
3992
+ return i.start(fi(e, i, 0, n, this.visualElement, !1, Vn(this.visualElement, e)));
3989
3993
  }
3990
3994
  stopAnimation() {
3991
- nt((e) => this.getAxisMotionValue(e).stop());
3995
+ it((e) => this.getAxisMotionValue(e).stop());
3992
3996
  }
3993
3997
  pauseAnimation() {
3994
- nt((e) => {
3998
+ it((e) => {
3995
3999
  var n;
3996
4000
  return (n = this.getAxisMotionValue(e).animation) === null || n === void 0 ? void 0 : n.pause();
3997
4001
  });
@@ -4011,7 +4015,7 @@ class $u {
4011
4015
  return s || this.visualElement.getValue(e, (i.initial ? i.initial[e] : void 0) || 0);
4012
4016
  }
4013
4017
  snapToCursor(e) {
4014
- nt((n) => {
4018
+ it((n) => {
4015
4019
  const { drag: i } = this.getProps();
4016
4020
  if (!Se(n, i, this.currentDirection))
4017
4021
  return;
@@ -4035,7 +4039,7 @@ class $u {
4035
4039
  return;
4036
4040
  this.stopAnimation();
4037
4041
  const s = { x: 0, y: 0 };
4038
- nt((r) => {
4042
+ it((r) => {
4039
4043
  const a = this.getAxisMotionValue(r);
4040
4044
  if (a && this.constraints !== !1) {
4041
4045
  const l = a.get();
@@ -4043,7 +4047,7 @@ class $u {
4043
4047
  }
4044
4048
  });
4045
4049
  const { transformTemplate: o } = this.visualElement.getProps();
4046
- this.visualElement.current.style.transform = o ? o({}, "") : "none", i.root && i.root.updateScroll(), i.updateLayout(), this.resolveConstraints(), nt((r) => {
4050
+ this.visualElement.current.style.transform = o ? o({}, "") : "none", i.root && i.root.updateScroll(), i.updateLayout(), this.resolveConstraints(), it((r) => {
4047
4051
  if (!Se(r, e, null))
4048
4052
  return;
4049
4053
  const a = this.getAxisMotionValue(r), { min: l, max: c } = this.constraints[r];
@@ -4063,7 +4067,7 @@ class $u {
4063
4067
  }, { projection: s } = this.visualElement, o = s.addEventListener("measure", i);
4064
4068
  s && !s.layout && (s.root && s.root.updateScroll(), s.updateLayout()), M.read(i);
4065
4069
  const r = ct(window, "resize", () => this.scalePositionWithinConstraints()), a = s.addEventListener("didUpdate", ({ delta: l, hasLayoutChanged: c }) => {
4066
- this.isDragging && c && (nt((u) => {
4070
+ this.isDragging && c && (it((u) => {
4067
4071
  const f = this.getAxisMotionValue(u);
4068
4072
  f && (this.originPoint[u] += l[u].translate, f.set(f.get() + l[u].translate));
4069
4073
  }), this.visualElement.render());
@@ -4073,7 +4077,7 @@ class $u {
4073
4077
  };
4074
4078
  }
4075
4079
  getProps() {
4076
- const e = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: i = !1, dragPropagation: s = !1, dragConstraints: o = !1, dragElastic: r = Dn, dragMomentum: a = !0 } = e;
4080
+ const e = this.visualElement.getProps(), { drag: n = !1, dragDirectionLock: i = !1, dragPropagation: s = !1, dragConstraints: o = !1, dragElastic: r = Mn, dragMomentum: a = !0 } = e;
4077
4081
  return {
4078
4082
  ...e,
4079
4083
  drag: n,
@@ -4114,7 +4118,7 @@ class Hu extends wt {
4114
4118
  onPointerDown(e) {
4115
4119
  this.session = new fo(e, this.createPanHandlers(), {
4116
4120
  transformPagePoint: this.node.getTransformPagePoint(),
4117
- contextWindow: To(this.node)
4121
+ contextWindow: xo(this.node)
4118
4122
  });
4119
4123
  }
4120
4124
  createPanHandlers() {
@@ -4142,9 +4146,9 @@ function zu() {
4142
4146
  const t = $(Ne);
4143
4147
  if (t === null)
4144
4148
  return [!0, null];
4145
- const { isPresent: e, onExitComplete: n, register: i } = t, s = jn();
4149
+ const { isPresent: e, onExitComplete: n, register: i } = t, s = _n();
4146
4150
  ot(() => i(s), []);
4147
- const o = rt(() => n && n(s), [s, n]);
4151
+ const o = st(() => n && n(s), [s, n]);
4148
4152
  return !e && n ? [!1, o] : [!0];
4149
4153
  }
4150
4154
  const De = {
@@ -4176,10 +4180,10 @@ const Zt = {
4176
4180
  }
4177
4181
  }, Yu = {
4178
4182
  correct: (t, { treeScale: e, projectionDelta: n }) => {
4179
- const i = t, s = xt.parse(t);
4183
+ const i = t, s = Tt.parse(t);
4180
4184
  if (s.length > 5)
4181
4185
  return i;
4182
- const o = xt.createTransformer(t), r = typeof s[0] != "number" ? 1 : 0, a = n.x.scale * e.x, l = n.y.scale * e.y;
4186
+ const o = Tt.createTransformer(t), r = typeof s[0] != "number" ? 1 : 0, a = n.x.scale * e.x, l = n.y.scale * e.y;
4183
4187
  s[0 + r] /= a, s[1 + r] /= l;
4184
4188
  const c = O(a, l, 0.5);
4185
4189
  return typeof s[2 + r] == "number" && (s[2 + r] /= c), typeof s[3 + r] == "number" && (s[3 + r] /= c), o(s);
@@ -4209,7 +4213,7 @@ class Xu extends la {
4209
4213
  }
4210
4214
  componentDidUpdate() {
4211
4215
  const { projection: e } = this.props.visualElement;
4212
- e && (e.root.didUpdate(), Nn.postRender(() => {
4216
+ e && (e.root.didUpdate(), Un.postRender(() => {
4213
4217
  !e.currentAnimation && e.isLead() && this.safeToRemove();
4214
4218
  }));
4215
4219
  }
@@ -4225,9 +4229,9 @@ class Xu extends la {
4225
4229
  return null;
4226
4230
  }
4227
4231
  }
4228
- function xo(t) {
4229
- const [e, n] = zu(), i = $($n);
4230
- return F.jsx(Xu, { ...t, layoutGroup: i, switchLayoutGroup: $(cr), isPresent: e, safeToRemove: n });
4232
+ function To(t) {
4233
+ const [e, n] = zu(), i = $(Kn);
4234
+ return L.jsx(Xu, { ...t, layoutGroup: i, switchLayoutGroup: $(cr), isPresent: e, safeToRemove: n });
4231
4235
  }
4232
4236
  const qu = {
4233
4237
  borderRadius: {
@@ -4271,7 +4275,7 @@ function wo(t, e, n) {
4271
4275
  function ks(t, e) {
4272
4276
  t.min = e.min, t.max = e.max;
4273
4277
  }
4274
- function et(t, e) {
4278
+ function nt(t, e) {
4275
4279
  ks(t.x, e.x), ks(t.y, e.y);
4276
4280
  }
4277
4281
  function Ls(t, e) {
@@ -4312,7 +4316,7 @@ function Co(t, e) {
4312
4316
  return Is(t.x, e.x) && Is(t.y, e.y);
4313
4317
  }
4314
4318
  function Ns(t) {
4315
- return J(t.x) / J(t.y);
4319
+ return Q(t.x) / Q(t.y);
4316
4320
  }
4317
4321
  function Us(t, e) {
4318
4322
  return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
@@ -4408,16 +4412,16 @@ function ff(t) {
4408
4412
  }
4409
4413
  function hf(t, e, n) {
4410
4414
  const i = z(t) ? t : ue(t);
4411
- return i.start(ui("", i, e, n)), i.animation;
4415
+ return i.start(fi("", i, e, n)), i.animation;
4412
4416
  }
4413
4417
  const Rt = {
4414
4418
  type: "projectionFrame",
4415
4419
  totalNodes: 0,
4416
4420
  resolvedTargetDeltas: 0,
4417
4421
  recalculatedProjection: 0
4418
- }, te = typeof window < "u" && window.MotionDebug !== void 0, pn = ["", "X", "Y", "Z"], df = { visibility: "hidden" }, Ws = 1e3;
4422
+ }, te = typeof window < "u" && window.MotionDebug !== void 0, mn = ["", "X", "Y", "Z"], df = { visibility: "hidden" }, Ws = 1e3;
4419
4423
  let pf = 0;
4420
- function mn(t, e, n, i) {
4424
+ function gn(t, e, n, i) {
4421
4425
  const { latestValues: s } = e;
4422
4426
  s[t] && (n[t] = s[t], e.setStaticValue(t, 0), i && (i[t] = 0));
4423
4427
  }
@@ -4440,7 +4444,7 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4440
4444
  this.root === this && (this.nodes = new cf());
4441
4445
  }
4442
4446
  addEventListener(r, a) {
4443
- return this.eventHandlers.has(r) || this.eventHandlers.set(r, new fi()), this.eventHandlers.get(r).add(a);
4447
+ return this.eventHandlers.has(r) || this.eventHandlers.set(r, new hi()), this.eventHandlers.get(r).add(a);
4444
4448
  }
4445
4449
  notifyListeners(r, ...a) {
4446
4450
  const l = this.eventHandlers.get(r);
@@ -4469,13 +4473,13 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4469
4473
  this.target = void 0, this.relativeTarget = void 0;
4470
4474
  return;
4471
4475
  }
4472
- const P = this.options.transition || u.getDefaultTransition() || Rf, { onLayoutAnimationStart: b, onLayoutAnimationComplete: T } = u.getProps(), y = !this.targetLayout || !Co(this.targetLayout, m) || p, v = !d && p;
4476
+ const P = this.options.transition || u.getDefaultTransition() || Rf, { onLayoutAnimationStart: b, onLayoutAnimationComplete: x } = u.getProps(), y = !this.targetLayout || !Co(this.targetLayout, m) || p, v = !d && p;
4473
4477
  if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || v || d && (y || !this.currentAnimation)) {
4474
4478
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(f, v);
4475
4479
  const w = {
4476
- ...ei(P, "layout"),
4480
+ ...ni(P, "layout"),
4477
4481
  onPlay: b,
4478
- onComplete: T
4482
+ onComplete: x
4479
4483
  };
4480
4484
  (u.shouldReduceMotion || this.options.layoutRoot) && (w.delay = 0, w.type = !1), this.startAnimation(w);
4481
4485
  } else
@@ -4532,12 +4536,12 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4532
4536
  this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach($s);
4533
4537
  return;
4534
4538
  }
4535
- this.isUpdating || this.nodes.forEach(Tf), this.isUpdating = !1, this.nodes.forEach(xf), this.nodes.forEach(mf), this.nodes.forEach(gf), this.clearAllSnapshots();
4539
+ this.isUpdating || this.nodes.forEach(xf), this.isUpdating = !1, this.nodes.forEach(Tf), this.nodes.forEach(mf), this.nodes.forEach(gf), this.clearAllSnapshots();
4536
4540
  const a = Pt.now();
4537
- W.delta = Tt(0, 1e3 / 60, a - W.timestamp), W.timestamp = a, W.isProcessing = !0, sn.update.process(W), sn.preRender.process(W), sn.render.process(W), W.isProcessing = !1;
4541
+ W.delta = xt(0, 1e3 / 60, a - W.timestamp), W.timestamp = a, W.isProcessing = !0, rn.update.process(W), rn.preRender.process(W), rn.render.process(W), W.isProcessing = !1;
4538
4542
  }
4539
4543
  didUpdate() {
4540
- this.updateScheduled || (this.updateScheduled = !0, Nn.read(this.scheduleUpdate));
4544
+ this.updateScheduled || (this.updateScheduled = !0, Un.read(this.scheduleUpdate));
4541
4545
  }
4542
4546
  clearAllSnapshots() {
4543
4547
  this.nodes.forEach(Pf), this.sharedNodes.forEach(Cf);
@@ -4563,7 +4567,7 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4563
4567
  for (let l = 0; l < this.path.length; l++)
4564
4568
  this.path[l].updateScroll();
4565
4569
  const r = this.layout;
4566
- this.layout = this.measure(!1), this.layoutCorrected = I(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
4570
+ this.layout = this.measure(!1), this.layoutCorrected = B(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
4567
4571
  const { visualElement: a } = this.options;
4568
4572
  a && a.notify("LayoutMeasure", this.layout.layoutBox, r ? r.layoutBox : void 0);
4569
4573
  }
@@ -4601,7 +4605,7 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4601
4605
  var r;
4602
4606
  const { visualElement: a } = this.options;
4603
4607
  if (!a)
4604
- return I();
4608
+ return B();
4605
4609
  const l = a.measureViewportBox();
4606
4610
  if (!(((r = this.scroll) === null || r === void 0 ? void 0 : r.wasRoot) || this.path.some(Df))) {
4607
4611
  const { scroll: u } = this.root;
@@ -4611,18 +4615,18 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4611
4615
  }
4612
4616
  removeElementScroll(r) {
4613
4617
  var a;
4614
- const l = I();
4615
- if (et(l, r), !((a = this.scroll) === null || a === void 0) && a.wasRoot)
4618
+ const l = B();
4619
+ if (nt(l, r), !((a = this.scroll) === null || a === void 0) && a.wasRoot)
4616
4620
  return l;
4617
4621
  for (let c = 0; c < this.path.length; c++) {
4618
4622
  const u = this.path[c], { scroll: f, options: d } = u;
4619
- u !== this.root && f && d.layoutScroll && (f.wasRoot && et(l, r), Ut(l.x, f.offset.x), Ut(l.y, f.offset.y));
4623
+ u !== this.root && f && d.layoutScroll && (f.wasRoot && nt(l, r), Ut(l.x, f.offset.x), Ut(l.y, f.offset.y));
4620
4624
  }
4621
4625
  return l;
4622
4626
  }
4623
4627
  applyTransform(r, a = !1) {
4624
- const l = I();
4625
- et(l, r);
4628
+ const l = B();
4629
+ nt(l, r);
4626
4630
  for (let c = 0; c < this.path.length; c++) {
4627
4631
  const u = this.path[c];
4628
4632
  !a && u.options.layoutScroll && u.scroll && u !== u.root && Wt(l, {
@@ -4633,15 +4637,15 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4633
4637
  return Et(this.latestValues) && Wt(l, this.latestValues), l;
4634
4638
  }
4635
4639
  removeTransform(r) {
4636
- const a = I();
4637
- et(a, r);
4640
+ const a = B();
4641
+ nt(a, r);
4638
4642
  for (let l = 0; l < this.path.length; l++) {
4639
4643
  const c = this.path[l];
4640
4644
  if (!c.instance || !Et(c.latestValues))
4641
4645
  continue;
4642
- Mn(c.latestValues) && c.updateSnapshot();
4643
- const u = I(), f = c.measurePageBox();
4644
- et(u, f), js(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
4646
+ kn(c.latestValues) && c.updateSnapshot();
4647
+ const u = B(), f = c.measurePageBox();
4648
+ nt(u, f), js(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, u);
4645
4649
  }
4646
4650
  return Et(this.latestValues) && js(a, this.latestValues), a;
4647
4651
  }
@@ -4672,20 +4676,20 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4672
4676
  if (!(!this.layout || !(f || d))) {
4673
4677
  if (this.resolvedRelativeTargetAt = W.timestamp, !this.targetDelta && !this.relativeTarget) {
4674
4678
  const p = this.getClosestProjectingParent();
4675
- p && p.layout && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = I(), this.relativeTargetOrigin = I(), se(this.relativeTargetOrigin, this.layout.layoutBox, p.layout.layoutBox), et(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4679
+ p && p.layout && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = B(), this.relativeTargetOrigin = B(), se(this.relativeTargetOrigin, this.layout.layoutBox, p.layout.layoutBox), nt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4676
4680
  }
4677
4681
  if (!(!this.relativeTarget && !this.targetDelta)) {
4678
- if (this.target || (this.target = I(), this.targetWithTransforms = I()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Mu(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : et(this.target, this.layout.layoutBox), vo(this.target, this.targetDelta)) : et(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
4682
+ if (this.target || (this.target = B(), this.targetWithTransforms = B()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Mu(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : nt(this.target, this.layout.layoutBox), vo(this.target, this.targetDelta)) : nt(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
4679
4683
  this.attemptToResolveRelativeTarget = !1;
4680
4684
  const p = this.getClosestProjectingParent();
4681
- p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = I(), this.relativeTargetOrigin = I(), se(this.relativeTargetOrigin, this.target, p.target), et(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4685
+ p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = B(), this.relativeTargetOrigin = B(), se(this.relativeTargetOrigin, this.target, p.target), nt(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4682
4686
  }
4683
4687
  te && Rt.resolvedTargetDeltas++;
4684
4688
  }
4685
4689
  }
4686
4690
  }
4687
4691
  getClosestProjectingParent() {
4688
- if (!(!this.parent || Mn(this.parent.latestValues) || yo(this.parent.latestValues)))
4692
+ if (!(!this.parent || kn(this.parent.latestValues) || yo(this.parent.latestValues)))
4689
4693
  return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
4690
4694
  }
4691
4695
  isProjecting() {
@@ -4700,9 +4704,9 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4700
4704
  const { layout: u, layoutId: f } = this.options;
4701
4705
  if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(u || f))
4702
4706
  return;
4703
- et(this.layoutCorrected, this.layout.layoutBox);
4707
+ nt(this.layoutCorrected, this.layout.layoutBox);
4704
4708
  const d = this.treeScale.x, p = this.treeScale.y;
4705
- Nu(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox, a.targetWithTransforms = I());
4709
+ Nu(this.layoutCorrected, this.treeScale, this.path, l), a.layout && !a.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (a.target = a.layout.layoutBox, a.targetWithTransforms = B());
4706
4710
  const { target: m } = a;
4707
4711
  if (!m) {
4708
4712
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
@@ -4730,12 +4734,12 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4730
4734
  setAnimationOrigin(r, a = !1) {
4731
4735
  const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, f = Nt();
4732
4736
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
4733
- const d = I(), p = l ? l.source : void 0, m = this.layout ? this.layout.source : void 0, P = p !== m, b = this.getStack(), T = !b || b.members.length <= 1, y = !!(P && !T && this.options.crossfade === !0 && !this.path.some(Ef));
4737
+ const d = B(), p = l ? l.source : void 0, m = this.layout ? this.layout.source : void 0, P = p !== m, b = this.getStack(), x = !b || b.members.length <= 1, y = !!(P && !x && this.options.crossfade === !0 && !this.path.some(Ef));
4734
4738
  this.animationProgress = 0;
4735
4739
  let v;
4736
4740
  this.mixTargetDelta = (w) => {
4737
4741
  const A = w / 1e3;
4738
- Gs(f.x, r.x, A), Gs(f.y, r.y, A), this.setTargetDelta(f), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (se(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Af(this.relativeTarget, this.relativeTargetOrigin, d, A), v && rf(this.relativeTarget, v) && (this.isProjectionDirty = !1), v || (v = I()), et(v, this.relativeTarget)), P && (this.animationValues = u, Ju(u, c, this.latestValues, A, y, T)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = A;
4742
+ Gs(f.x, r.x, A), Gs(f.y, r.y, A), this.setTargetDelta(f), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (se(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Af(this.relativeTarget, this.relativeTargetOrigin, d, A), v && rf(this.relativeTarget, v) && (this.isProjectionDirty = !1), v || (v = B()), nt(v, this.relativeTarget)), P && (this.animationValues = u, Ju(u, c, this.latestValues, A, y, x)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = A;
4739
4743
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
4740
4744
  }
4741
4745
  startAnimation(r) {
@@ -4764,13 +4768,13 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4764
4768
  let { targetWithTransforms: a, target: l, layout: c, latestValues: u } = r;
4765
4769
  if (!(!a || !l || !c)) {
4766
4770
  if (this !== r && this.layout && c && Ro(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
4767
- l = this.target || I();
4768
- const f = J(this.layout.layoutBox.x);
4771
+ l = this.target || B();
4772
+ const f = Q(this.layout.layoutBox.x);
4769
4773
  l.x.min = r.target.x.min, l.x.max = l.x.min + f;
4770
- const d = J(this.layout.layoutBox.y);
4774
+ const d = Q(this.layout.layoutBox.y);
4771
4775
  l.y.min = r.target.y.min, l.y.max = l.y.min + d;
4772
4776
  }
4773
- et(a, l), Wt(a, u), ie(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
4777
+ nt(a, l), Wt(a, u), ie(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
4774
4778
  }
4775
4779
  }
4776
4780
  registerSharedNode(r, a) {
@@ -4817,9 +4821,9 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4817
4821
  if ((l.z || l.rotate || l.rotateX || l.rotateY || l.rotateZ || l.skewX || l.skewY) && (a = !0), !a)
4818
4822
  return;
4819
4823
  const c = {};
4820
- l.z && mn("z", r, c, this.animationValues);
4821
- for (let u = 0; u < pn.length; u++)
4822
- mn(`rotate${pn[u]}`, r, c, this.animationValues), mn(`skew${pn[u]}`, r, c, this.animationValues);
4824
+ l.z && gn("z", r, c, this.animationValues);
4825
+ for (let u = 0; u < mn.length; u++)
4826
+ gn(`rotate${mn[u]}`, r, c, this.animationValues), gn(`skew${mn[u]}`, r, c, this.animationValues);
4823
4827
  r.render();
4824
4828
  for (const u in c)
4825
4829
  r.setStaticValue(u, c[u]), this.animationValues && (this.animationValues[u] = c[u]);
@@ -4848,11 +4852,11 @@ function Eo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4848
4852
  for (const P in Le) {
4849
4853
  if (d[P] === void 0)
4850
4854
  continue;
4851
- const { correct: b, applyTo: T } = Le[P], y = c.transform === "none" ? d[P] : b(d[P], f);
4852
- if (T) {
4853
- const v = T.length;
4855
+ const { correct: b, applyTo: x } = Le[P], y = c.transform === "none" ? d[P] : b(d[P], f);
4856
+ if (x) {
4857
+ const v = x.length;
4854
4858
  for (let w = 0; w < v; w++)
4855
- c[T[w]] = y;
4859
+ c[x[w]] = y;
4856
4860
  } else
4857
4861
  c[P] = y;
4858
4862
  }
@@ -4878,11 +4882,11 @@ function gf(t) {
4878
4882
  const n = ((e = t.resumeFrom) === null || e === void 0 ? void 0 : e.snapshot) || t.snapshot;
4879
4883
  if (t.isLead() && t.layout && n && t.hasListeners("didUpdate")) {
4880
4884
  const { layoutBox: i, measuredBox: s } = t.layout, { animationType: o } = t.options, r = n.source !== t.layout.source;
4881
- o === "size" ? nt((f) => {
4882
- const d = r ? n.measuredBox[f] : n.layoutBox[f], p = J(d);
4885
+ o === "size" ? it((f) => {
4886
+ const d = r ? n.measuredBox[f] : n.layoutBox[f], p = Q(d);
4883
4887
  d.min = i[f].min, d.max = d.min + p;
4884
- }) : Ro(o, n.layoutBox, i) && nt((f) => {
4885
- const d = r ? n.measuredBox[f] : n.layoutBox[f], p = J(i[f]);
4888
+ }) : Ro(o, n.layoutBox, i) && it((f) => {
4889
+ const d = r ? n.measuredBox[f] : n.layoutBox[f], p = Q(i[f]);
4886
4890
  d.max = d.min + p, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[f].max = t.relativeTarget[f].min + p);
4887
4891
  });
4888
4892
  const a = Nt();
@@ -4896,9 +4900,9 @@ function gf(t) {
4896
4900
  if (f && !f.resumeFrom) {
4897
4901
  const { snapshot: d, layout: p } = f;
4898
4902
  if (d && p) {
4899
- const m = I();
4903
+ const m = B();
4900
4904
  se(m, n.layoutBox, d.layoutBox);
4901
- const P = I();
4905
+ const P = B();
4902
4906
  se(P, i, p.layoutBox), Co(m, P) || (u = !0), f.options.layoutRoot && (t.relativeTarget = P, t.relativeTargetOrigin = m, t.relativeParent = f);
4903
4907
  }
4904
4908
  }
@@ -4929,10 +4933,10 @@ function Pf(t) {
4929
4933
  function $s(t) {
4930
4934
  t.clearMeasurements();
4931
4935
  }
4932
- function Tf(t) {
4936
+ function xf(t) {
4933
4937
  t.isLayoutDirty = !1;
4934
4938
  }
4935
- function xf(t) {
4939
+ function Tf(t) {
4936
4940
  const { visualElement: e } = t.options;
4937
4941
  e && e.getProps().onBeforeLayoutMeasure && e.notify("BeforeLayoutMeasure"), t.resetTransform();
4938
4942
  }
@@ -4987,7 +4991,7 @@ const Mf = Eo({
4987
4991
  y: document.documentElement.scrollTop || document.body.scrollTop
4988
4992
  }),
4989
4993
  checkIsScrollRoot: () => !0
4990
- }), gn = {
4994
+ }), yn = {
4991
4995
  current: void 0
4992
4996
  }, Vo = Eo({
4993
4997
  measureScroll: (t) => ({
@@ -4995,11 +4999,11 @@ const Mf = Eo({
4995
4999
  y: t.scrollTop
4996
5000
  }),
4997
5001
  defaultParent: () => {
4998
- if (!gn.current) {
5002
+ if (!yn.current) {
4999
5003
  const t = new Mf({});
5000
- t.mount(window), t.setOptions({ layoutScroll: !0 }), gn.current = t;
5004
+ t.mount(window), t.setOptions({ layoutScroll: !0 }), yn.current = t;
5001
5005
  }
5002
- return gn.current;
5006
+ return yn.current;
5003
5007
  },
5004
5008
  resetTransform: (t, e) => {
5005
5009
  t.style.transform = e !== void 0 ? e : "none";
@@ -5012,22 +5016,22 @@ const Mf = Eo({
5012
5016
  drag: {
5013
5017
  Feature: Gu,
5014
5018
  ProjectionNode: Vo,
5015
- MeasureLayout: xo
5019
+ MeasureLayout: To
5016
5020
  }
5017
- }, Ln = { current: null }, Do = { current: !1 };
5021
+ }, Fn = { current: null }, Do = { current: !1 };
5018
5022
  function Lf() {
5019
- if (Do.current = !0, !!In)
5023
+ if (Do.current = !0, !!Nn)
5020
5024
  if (window.matchMedia) {
5021
- const t = window.matchMedia("(prefers-reduced-motion)"), e = () => Ln.current = t.matches;
5025
+ const t = window.matchMedia("(prefers-reduced-motion)"), e = () => Fn.current = t.matches;
5022
5026
  t.addListener(e), e();
5023
5027
  } else
5024
- Ln.current = !1;
5028
+ Fn.current = !1;
5025
5029
  }
5026
5030
  function Ff(t, e, n) {
5027
5031
  for (const i in e) {
5028
5032
  const s = e[i], o = n[i];
5029
5033
  if (z(s))
5030
- t.addValue(i, s), process.env.NODE_ENV === "development" && hi(s.version === "11.3.21", `Attempting to mix Framer Motion versions ${s.version} with 11.3.21 may not work as expected.`);
5034
+ t.addValue(i, s), process.env.NODE_ENV === "development" && di(s.version === "11.3.21", `Attempting to mix Framer Motion versions ${s.version} with 11.3.21 may not work as expected.`);
5031
5035
  else if (z(o))
5032
5036
  t.addValue(i, ue(s, { owner: t }));
5033
5037
  else if (o !== s)
@@ -5043,7 +5047,7 @@ function Ff(t, e, n) {
5043
5047
  e[i] === void 0 && t.removeValue(i);
5044
5048
  return e;
5045
5049
  }
5046
- const qs = /* @__PURE__ */ new WeakMap(), Of = [...jr, H, xt], jf = (t) => Of.find(Or(t)), Zs = [
5050
+ const qs = /* @__PURE__ */ new WeakMap(), Of = [...jr, H, Tt], jf = (t) => Of.find(Or(t)), Zs = [
5047
5051
  "AnimationStart",
5048
5052
  "AnimationComplete",
5049
5053
  "Update",
@@ -5051,7 +5055,7 @@ const qs = /* @__PURE__ */ new WeakMap(), Of = [...jr, H, xt], jf = (t) => Of.fi
5051
5055
  "LayoutMeasure",
5052
5056
  "LayoutAnimationStart",
5053
5057
  "LayoutAnimationComplete"
5054
- ], _f = Wn.length;
5058
+ ], _f = $n.length;
5055
5059
  class Bf {
5056
5060
  /**
5057
5061
  * This method takes React props and returns found MotionValues. For example, HTML
@@ -5064,7 +5068,7 @@ class Bf {
5064
5068
  return {};
5065
5069
  }
5066
5070
  constructor({ parent: e, props: n, presenceContext: i, reducedMotionConfig: s, blockInitialAnimation: o, visualState: r }, a = {}) {
5067
- this.applyWillChange = !1, this.resolveKeyframes = (d, p, m, P) => new this.KeyframeResolver(d, p, m, P, this), this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = ni, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
5071
+ this.applyWillChange = !1, this.resolveKeyframes = (d, p, m, P) => new this.KeyframeResolver(d, p, m, P, this), this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = ii, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
5068
5072
  this.isRenderScheduled = !1, this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
5069
5073
  }, this.isRenderScheduled = !1, this.scheduleRender = () => {
5070
5074
  this.isRenderScheduled || (this.isRenderScheduled = !0, M.render(this.render, !1, !0));
@@ -5078,7 +5082,7 @@ class Bf {
5078
5082
  }
5079
5083
  }
5080
5084
  mount(e) {
5081
- this.current = e, qs.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, i) => this.bindToMotionValue(i, n)), Do.current || Lf(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Ln.current, process.env.NODE_ENV !== "production" && hi(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
5085
+ this.current = e, qs.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, i) => this.bindToMotionValue(i, n)), Do.current || Lf(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Fn.current, process.env.NODE_ENV !== "production" && di(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
5082
5086
  }
5083
5087
  unmount() {
5084
5088
  qs.delete(this.current), this.projection && this.projection.unmount(), mt(this.notifyUpdate), mt(this.render), this.valueSubscriptions.forEach((e) => e()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
@@ -5123,7 +5127,7 @@ class Bf {
5123
5127
  * removed with a re-render to work.
5124
5128
  */
5125
5129
  measureViewportBox() {
5126
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : I();
5130
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : B();
5127
5131
  }
5128
5132
  getStaticValue(e) {
5129
5133
  return this.latestValues[e];
@@ -5175,7 +5179,7 @@ class Bf {
5175
5179
  }
5176
5180
  const n = {};
5177
5181
  for (let i = 0; i < _f; i++) {
5178
- const s = Wn[i], o = this.props[s];
5182
+ const s = $n[i], o = this.props[s];
5179
5183
  (oe(o) || o === !1) && (n[s] = o);
5180
5184
  }
5181
5185
  return n;
@@ -5223,7 +5227,7 @@ class Bf {
5223
5227
  readValue(e, n) {
5224
5228
  var i;
5225
5229
  let s = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (i = this.getBaseTargetFromProps(this.props, e)) !== null && i !== void 0 ? i : this.readValueFromInstance(this.current, e, this.options);
5226
- return s != null && (typeof s == "string" && (Lr(s) || kr(s)) ? s = parseFloat(s) : !jf(s) && xt.test(n) && (s = Kr(e, n)), this.setBaseTarget(e, z(s) ? s.get() : s)), z(s) ? s.get() : s;
5230
+ return s != null && (typeof s == "string" && (Lr(s) || kr(s)) ? s = parseFloat(s) : !jf(s) && Tt.test(n) && (s = Kr(e, n)), this.setBaseTarget(e, z(s) ? s.get() : s)), z(s) ? s.get() : s;
5227
5231
  }
5228
5232
  /**
5229
5233
  * Set the base target to later animate back to. This is currently
@@ -5241,7 +5245,7 @@ class Bf {
5241
5245
  const { initial: i } = this.props;
5242
5246
  let s;
5243
5247
  if (typeof i == "string" || typeof i == "object") {
5244
- const r = Qn(this.props, i, (n = this.presenceContext) === null || n === void 0 ? void 0 : n.custom);
5248
+ const r = ti(this.props, i, (n = this.presenceContext) === null || n === void 0 ? void 0 : n.custom);
5245
5249
  r && (s = r[e]);
5246
5250
  }
5247
5251
  if (i && s !== void 0)
@@ -5250,7 +5254,7 @@ class Bf {
5250
5254
  return o !== void 0 && !z(o) ? o : this.initialValues[e] !== void 0 && s === void 0 ? void 0 : this.baseTarget[e];
5251
5255
  }
5252
5256
  on(e, n) {
5253
- return this.events[e] || (this.events[e] = new fi()), this.events[e].add(n);
5257
+ return this.events[e] || (this.events[e] = new hi()), this.events[e].add(n);
5254
5258
  }
5255
5259
  notify(e, ...n) {
5256
5260
  this.events[e] && this.events[e].notify(...n);
@@ -5279,7 +5283,7 @@ class Nf extends Mo {
5279
5283
  }
5280
5284
  readValueFromInstance(e, n) {
5281
5285
  if (bt.has(n)) {
5282
- const i = si(n);
5286
+ const i = ri(n);
5283
5287
  return i && i.default || 0;
5284
5288
  } else {
5285
5289
  const i = If(e), s = (mr(n) ? i.getPropertyValue(n) : i[n]) || 0;
@@ -5290,10 +5294,10 @@ class Nf extends Mo {
5290
5294
  return Po(e, n);
5291
5295
  }
5292
5296
  build(e, n, i) {
5293
- Yn(e, n, i.transformTemplate);
5297
+ Xn(e, n, i.transformTemplate);
5294
5298
  }
5295
5299
  scrapeMotionValuesFromProps(e, n, i) {
5296
- return Jn(e, n, i);
5300
+ return Qn(e, n, i);
5297
5301
  }
5298
5302
  handleChildMotionValue() {
5299
5303
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
@@ -5305,37 +5309,37 @@ class Nf extends Mo {
5305
5309
  }
5306
5310
  class Uf extends Mo {
5307
5311
  constructor() {
5308
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = I;
5312
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = B;
5309
5313
  }
5310
5314
  getBaseTargetFromProps(e, n) {
5311
5315
  return e[n];
5312
5316
  }
5313
5317
  readValueFromInstance(e, n) {
5314
5318
  if (bt.has(n)) {
5315
- const i = si(n);
5319
+ const i = ri(n);
5316
5320
  return i && i.default || 0;
5317
5321
  }
5318
- return n = Tr.has(n) ? n : Ue(n), e.getAttribute(n);
5322
+ return n = xr.has(n) ? n : Ue(n), e.getAttribute(n);
5319
5323
  }
5320
5324
  scrapeMotionValuesFromProps(e, n, i) {
5321
5325
  return br(e, n, i);
5322
5326
  }
5323
5327
  build(e, n, i) {
5324
- qn(e, n, this.isSVGTag, i.transformTemplate);
5328
+ Zn(e, n, this.isSVGTag, i.transformTemplate);
5325
5329
  }
5326
5330
  renderInstance(e, n, i, s) {
5327
- xr(e, n, i, s);
5331
+ Tr(e, n, i, s);
5328
5332
  }
5329
5333
  mount(e) {
5330
- this.isSVGTag = Zn(e.tagName), super.mount(e);
5334
+ this.isSVGTag = Jn(e.tagName), super.mount(e);
5331
5335
  }
5332
5336
  }
5333
- const Wf = (t, e) => Kn(t) ? new Uf(e) : new Nf(e, {
5337
+ const Wf = (t, e) => Gn(t) ? new Uf(e) : new Nf(e, {
5334
5338
  allowProjection: t !== nr
5335
5339
  }), $f = {
5336
5340
  layout: {
5337
5341
  ProjectionNode: Vo,
5338
- MeasureLayout: xo
5342
+ MeasureLayout: To
5339
5343
  }
5340
5344
  }, Kf = {
5341
5345
  ...bu,
@@ -5343,7 +5347,7 @@ const Wf = (t, e) => Kn(t) ? new Uf(e) : new Nf(e, {
5343
5347
  ...kf,
5344
5348
  ...$f
5345
5349
  }, Gf = /* @__PURE__ */ Ua((t, e) => Pl(t, e, Kf, Wf));
5346
- class Hf extends Fn.Component {
5350
+ class Hf extends On.Component {
5347
5351
  getSnapshotBeforeUpdate(e) {
5348
5352
  const n = this.props.childRef.current;
5349
5353
  if (n && e.isPresent && !this.props.isPresent) {
@@ -5362,12 +5366,12 @@ class Hf extends Fn.Component {
5362
5366
  }
5363
5367
  }
5364
5368
  function zf({ children: t, isPresent: e }) {
5365
- const n = jn(), i = it(null), s = it({
5369
+ const n = _n(), i = J(null), s = J({
5366
5370
  width: 0,
5367
5371
  height: 0,
5368
5372
  top: 0,
5369
5373
  left: 0
5370
- }), { nonce: o } = $(Bn);
5374
+ }), { nonce: o } = $(In);
5371
5375
  return er(() => {
5372
5376
  const { width: r, height: a, top: l, left: c } = s.current;
5373
5377
  if (e || !i.current || !r || !a)
@@ -5385,10 +5389,10 @@ function zf({ children: t, isPresent: e }) {
5385
5389
  `), () => {
5386
5390
  document.head.removeChild(u);
5387
5391
  };
5388
- }, [e]), F.jsx(Hf, { isPresent: e, childRef: i, sizeRef: s, children: Fn.cloneElement(t, { ref: i }) });
5392
+ }, [e]), L.jsx(Hf, { isPresent: e, childRef: i, sizeRef: s, children: On.cloneElement(t, { ref: i }) });
5389
5393
  }
5390
5394
  const Yf = ({ children: t, initial: e, isPresent: n, onExitComplete: i, custom: s, presenceAffectsLayout: o, mode: r }) => {
5391
- const a = ti(Xf), l = jn(), c = Mt(
5395
+ const a = ei(Xf), l = _n(), c = Mt(
5392
5396
  () => ({
5393
5397
  id: l,
5394
5398
  initial: e,
@@ -5412,9 +5416,9 @@ const Yf = ({ children: t, initial: e, isPresent: n, onExitComplete: i, custom:
5412
5416
  );
5413
5417
  return Mt(() => {
5414
5418
  a.forEach((u, f) => a.set(f, !1));
5415
- }, [n]), Fn.useEffect(() => {
5419
+ }, [n]), On.useEffect(() => {
5416
5420
  !n && !a.size && i && i();
5417
- }, [n]), r === "popLayout" && (t = F.jsx(zf, { isPresent: n, children: t })), F.jsx(Ne.Provider, { value: c, children: t });
5421
+ }, [n]), r === "popLayout" && (t = L.jsx(zf, { isPresent: n, children: t })), L.jsx(Ne.Provider, { value: c, children: t });
5418
5422
  };
5419
5423
  function Xf() {
5420
5424
  return /* @__PURE__ */ new Map();
@@ -5428,7 +5432,7 @@ function Js(t) {
5428
5432
  }
5429
5433
  const qf = ({ children: t, exitBeforeEnter: e, custom: n, initial: i = !0, onExitComplete: s, presenceAffectsLayout: o = !0, mode: r = "sync" }) => {
5430
5434
  pt(!e, "Replace exitBeforeEnter with mode='wait'");
5431
- const a = Mt(() => Js(t), [t]), l = a.map(Ce), c = it(!0), u = it(a), f = ti(() => /* @__PURE__ */ new Map()), [d, p] = _t(a), [m, P] = _t(a);
5435
+ const a = Mt(() => Js(t), [t]), l = a.map(Ce), c = J(!0), u = J(a), f = ei(() => /* @__PURE__ */ new Map()), [d, p] = _t(a), [m, P] = _t(a);
5432
5436
  rr(() => {
5433
5437
  c.current = !1, u.current = a;
5434
5438
  for (let y = 0; y < m.length; y++) {
@@ -5447,29 +5451,29 @@ const qf = ({ children: t, exitBeforeEnter: e, custom: n, initial: i = !0, onExi
5447
5451
  return;
5448
5452
  }
5449
5453
  process.env.NODE_ENV !== "production" && r === "wait" && m.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
5450
- const { forceRender: T } = $($n);
5451
- return F.jsx(F.Fragment, { children: m.map((y) => {
5454
+ const { forceRender: x } = $(Kn);
5455
+ return L.jsx(L.Fragment, { children: m.map((y) => {
5452
5456
  const v = Ce(y), w = a === m || l.includes(v), A = () => {
5453
5457
  if (f.has(v))
5454
5458
  f.set(v, !0);
5455
5459
  else
5456
5460
  return;
5457
- let L = !0;
5461
+ let F = !0;
5458
5462
  f.forEach((q) => {
5459
- q || (L = !1);
5460
- }), L && (T == null || T(), P(u.current), s && s());
5463
+ q || (F = !1);
5464
+ }), F && (x == null || x(), P(u.current), s && s());
5461
5465
  };
5462
- return F.jsx(Yf, { isPresent: w, initial: !c.current || i ? void 0 : !1, custom: w ? void 0 : n, presenceAffectsLayout: o, mode: r, onExitComplete: w ? void 0 : A, children: y }, v);
5466
+ return L.jsx(Yf, { isPresent: w, initial: !c.current || i ? void 0 : !1, custom: w ? void 0 : n, presenceAffectsLayout: o, mode: r, onExitComplete: w ? void 0 : A, children: y }, v);
5463
5467
  }) });
5464
5468
  };
5465
5469
  function Me(t) {
5466
5470
  var e = new Error(t);
5467
5471
  return e.source = "ulid", e;
5468
5472
  }
5469
- var di = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", re = di.length, Qs = Math.pow(2, 48) - 1, Zf = 10, Jf = 16;
5473
+ var pi = "0123456789ABCDEFGHJKMNPQRSTVWXYZ", re = pi.length, Qs = Math.pow(2, 48) - 1, Zf = 10, Jf = 16;
5470
5474
  function Qf(t) {
5471
5475
  var e = Math.floor(t() * re);
5472
- return e === re && (e = re - 1), di.charAt(e);
5476
+ return e === re && (e = re - 1), pi.charAt(e);
5473
5477
  }
5474
5478
  function th(t, e) {
5475
5479
  if (isNaN(t))
@@ -5481,7 +5485,7 @@ function th(t, e) {
5481
5485
  if (Number.isInteger(t) === !1)
5482
5486
  throw Me("time must be an integer");
5483
5487
  for (var n = void 0, i = ""; e > 0; e--)
5484
- n = t % re, i = di.charAt(n) + i, t = (t - n) / re;
5488
+ n = t % re, i = pi.charAt(n) + i, t = (t - n) / re;
5485
5489
  return i;
5486
5490
  }
5487
5491
  function eh(t, e) {
@@ -5530,7 +5534,7 @@ const tr = ({
5530
5534
  onPickerHide: t
5531
5535
  }) => (ot(() => () => {
5532
5536
  t();
5533
- }, []), null), oh = "acrool-react-picker__root", ah = "acrool-react-picker__main-el", lh = "acrool-react-picker__picker-el", yn = {
5537
+ }, []), null), oh = "acrool-react-picker__root", ah = "acrool-react-picker__main-el", lh = "acrool-react-picker__picker-el", vn = {
5534
5538
  root: oh,
5535
5539
  "main-el": "acrool-react-picker__main-el",
5536
5540
  mainEl: ah,
@@ -5561,9 +5565,9 @@ const hh = (t, e, n) => {
5561
5565
  return;
5562
5566
  const o = s.getBoundingClientRect(), r = i.getBoundingClientRect(), a = window.innerHeight, l = window.innerWidth, c = window.pageYOffset || document.documentElement.scrollTop, u = window.pageXOffset || document.documentElement.scrollLeft, f = 8, d = r.top - f, p = a - r.bottom - f;
5563
5567
  let m = p >= d ? lt.bottom : lt.top, P = m === lt.bottom ? p : d;
5564
- const b = o.width, T = r.left + b < l, y = r.right - b > 0;
5568
+ const b = o.width, x = r.left + b < l, y = r.right - b > 0;
5565
5569
  let v = Jt.left;
5566
- !T && y ? v = Jt.right : !T && !y && (v = Jt.left), n(m), s.style.top = m === lt.bottom ? `${r.bottom + c}px` : `${r.top + c - P}px`, s.style.left = v === Jt.left ? `${r.left + u}px` : `${r.right + u - b}px`, s.style.minWidth = `${r.width}px`, s.style.height = `${P}px`, s.style.transformOrigin = m === lt.bottom ? "top" : "bottom", s.style.flexDirection = m === lt.bottom ? "column" : "column-reverse";
5570
+ !x && y ? v = Jt.right : !x && !y && (v = Jt.left), n(m), s.style.top = m === lt.bottom ? `${r.bottom + c}px` : `${r.top + c - P}px`, s.style.left = v === Jt.left ? `${r.left + u}px` : `${r.right + u - b}px`, s.style.minWidth = `${r.width}px`, s.style.height = `${P}px`, s.style.transformOrigin = m === lt.bottom ? "top" : "bottom", s.style.flexDirection = m === lt.bottom ? "column" : "column-reverse";
5567
5571
  }, dh = {
5568
5572
  variants: {
5569
5573
  initial: { position: "absolute", zIndex: 999, opacity: 0, transition: { type: "spring" } },
@@ -5584,7 +5588,7 @@ const hh = (t, e, n) => {
5584
5588
  isDebug: e = !1,
5585
5589
  anchorRef: n
5586
5590
  }, i) => {
5587
- const s = it(null), o = ya(), r = rt(() => {
5591
+ const s = J(null), o = ya(), r = st(() => {
5588
5592
  hh(n, s, o.setVertical);
5589
5593
  }, [o.setVertical]);
5590
5594
  return ot(() => {
@@ -5596,7 +5600,7 @@ const hh = (t, e, n) => {
5596
5600
  a && (a.removeEventListener("scroll", r), window.removeEventListener("resize", r));
5597
5601
  };
5598
5602
  }
5599
- }, [o.isVisible]), /* @__PURE__ */ F.jsx(F.Fragment, { children: /* @__PURE__ */ F.jsx(
5603
+ }, [o.isVisible]), /* @__PURE__ */ L.jsx(L.Fragment, { children: /* @__PURE__ */ L.jsx(
5600
5604
  Gf.div,
5601
5605
  {
5602
5606
  ref: ko(i, s),
@@ -5612,10 +5616,10 @@ const hh = (t, e, n) => {
5612
5616
  }
5613
5617
  ) });
5614
5618
  }, mh = ke(ph);
5615
- function xh(t, e, n) {
5619
+ function Th(t, e, n) {
5616
5620
  const i = ke(t);
5617
5621
  return ke((o, r) => {
5618
- const [a, l] = _t(!1), [c, u] = _t(!1), [f, d] = _t(lt.bottom), [p, m] = _t(), P = it(null), b = it(null), T = it(null), y = it(p), v = (n == null ? void 0 : n.isEnableClickOutSiteHidden) !== !1, w = (n == null ? void 0 : n.isEnableHideSave) !== !1;
5622
+ const [a, l] = _t(!1), [c, u] = _t(!1), [f, d] = _t(lt.bottom), [p, m] = _t(), P = J(null), b = J(null), x = J(null), y = J(p), v = (n == null ? void 0 : n.isEnableClickOutSiteHidden) !== !1, w = (n == null ? void 0 : n.isEnableHideSave) !== !1;
5619
5623
  ot(() => {
5620
5624
  m(o.value);
5621
5625
  }, [JSON.stringify(o.value)]), ot(() => {
@@ -5623,32 +5627,32 @@ function xh(t, e, n) {
5623
5627
  }, [p]), ot(() => {
5624
5628
  a && m(o.value);
5625
5629
  }, [a, o.value]);
5626
- const A = rt((j) => {
5627
- l(!1), b.current.focus(), u(!1);
5628
- }, []), L = rt((j) => {
5630
+ const A = st(() => {
5631
+ b.current.focus(), l(!1);
5632
+ }, []), F = st((N) => {
5633
+ l(!1), u(!1);
5634
+ }, []), q = st((N) => {
5629
5635
  l(!0);
5630
- }, []), q = rt((j) => {
5631
- !P.current && T.current && !T.current.contains(j.target) && u(!1);
5632
- }, []), E = rt((j) => {
5636
+ }, []), E = st((N) => {
5637
+ !P.current && x.current && !x.current.contains(N.target) && u(!1);
5638
+ }, []), U = st((N) => {
5633
5639
  var Y;
5634
5640
  const gt = (Y = P.current) == null ? void 0 : Y.firstChild;
5635
- gt && !gt.contains(j.target) && T.current && !T.current.contains(j.target) && (l(!1), u(!1));
5636
- }, []), U = rt(() => {
5641
+ gt && !gt.contains(N.target) && x.current && !x.current.contains(N.target) && (l(!1), u(!1));
5642
+ }, []), G = st(() => {
5637
5643
  if (typeof (o == null ? void 0 : o.onChange) > "u") {
5638
5644
  yt.warning("@acrool/react-picker", "createPicker component props onChange is undefined, is no call");
5639
5645
  return;
5640
5646
  }
5641
5647
  typeof y.current < "u" && w && JSON.stringify(p) !== JSON.stringify(y.current) && o.onChange(y.current);
5642
- }, [p, o.onChange, w]), G = rt((j) => {
5643
- [At.Escape].includes(j.key) && a && (j.stopPropagation(), l(!1));
5644
- }, [a]);
5645
- return /* @__PURE__ */ F.jsx(
5646
- _n.Provider,
5648
+ }, [p, o.onChange, w]);
5649
+ return /* @__PURE__ */ L.jsx(
5650
+ Bn.Provider,
5647
5651
  {
5648
5652
  value: {
5649
5653
  hide: () => requestAnimationFrame(() => l(!1)),
5650
5654
  show: () => l(!0),
5651
- toggle: () => l((j) => !j),
5655
+ toggle: () => l((N) => !N),
5652
5656
  isVisible: a,
5653
5657
  inputFocus: () => u(!0),
5654
5658
  inputBlur: () => u(!1),
@@ -5658,53 +5662,64 @@ function xh(t, e, n) {
5658
5662
  vertical: f,
5659
5663
  setVertical: d
5660
5664
  },
5661
- children: /* @__PURE__ */ F.jsxs("div", { className: yn.root, onKeyDown: G, children: [
5662
- /* @__PURE__ */ F.jsx("div", { ref: T, className: yn.mainEl, children: /* @__PURE__ */ F.jsx(
5665
+ children: /* @__PURE__ */ L.jsxs("div", { className: vn.root, children: [
5666
+ /* @__PURE__ */ L.jsx("div", { ref: x, className: vn.mainEl, children: /* @__PURE__ */ L.jsx(
5663
5667
  i,
5664
5668
  {
5665
5669
  ...o,
5666
5670
  ref: ko(r, b)
5667
5671
  }
5668
5672
  ) }),
5669
- /* @__PURE__ */ F.jsx(qf, { children: a && /* @__PURE__ */ F.jsx(
5673
+ /* @__PURE__ */ L.jsx(qf, { children: a && /* @__PURE__ */ L.jsx(
5670
5674
  sr,
5671
5675
  {
5672
5676
  id: `acrool-react-picker-${sh().toLowerCase()}`,
5673
- className: yn.pickerEl,
5674
- children: /* @__PURE__ */ F.jsx(
5677
+ className: vn.pickerEl,
5678
+ children: /* @__PURE__ */ L.jsx(
5675
5679
  mh,
5676
5680
  {
5677
5681
  ref: P,
5678
- anchorRef: T,
5682
+ anchorRef: x,
5679
5683
  isDebug: n == null ? void 0 : n.isDebug,
5680
- children: /* @__PURE__ */ F.jsx(e, { ...o })
5684
+ children: /* @__PURE__ */ L.jsx(e, { ...o })
5681
5685
  }
5682
5686
  )
5683
5687
  }
5684
5688
  ) }),
5685
- a && /* @__PURE__ */ F.jsx(rh, { onPickerHide: U }),
5686
- v && a && /* @__PURE__ */ F.jsx(tr, { onMousedown: E }),
5687
- c && /* @__PURE__ */ F.jsx(tr, { onMousedown: q }),
5688
- c && /* @__PURE__ */ F.jsx(
5689
- Oi,
5689
+ a && /* @__PURE__ */ L.jsx(rh, { onPickerHide: G }),
5690
+ v && a && /* @__PURE__ */ L.jsx(tr, { onMousedown: U }),
5691
+ c && /* @__PURE__ */ L.jsx(tr, { onMousedown: E }),
5692
+ c && /* @__PURE__ */ L.jsx(
5693
+ sn,
5690
5694
  {
5691
5695
  hotKey: [
5692
5696
  At.ArrowUp,
5693
5697
  At.ArrowDown,
5694
5698
  At.Space
5695
5699
  ],
5696
- onKeyDown: L
5700
+ onKeyDown: q,
5701
+ stopPropagation: !0,
5702
+ preventDefault: !0
5697
5703
  }
5698
5704
  ),
5699
- c && /* @__PURE__ */ F.jsx(
5700
- Oi,
5705
+ c && /* @__PURE__ */ L.jsx(
5706
+ sn,
5701
5707
  {
5702
5708
  hotKey: [
5703
5709
  At.Tab,
5704
5710
  At.ShiftAndTab
5705
5711
  ],
5712
+ onKeyDown: F
5713
+ }
5714
+ ),
5715
+ c && /* @__PURE__ */ L.jsx(
5716
+ sn,
5717
+ {
5718
+ hotKey: At.Escape,
5706
5719
  onKeyDown: A,
5707
- preventDefault: !1
5720
+ ignoreFormField: !0,
5721
+ stopPropagation: !0,
5722
+ preventDefault: !0
5708
5723
  }
5709
5724
  )
5710
5725
  ] })
@@ -5716,7 +5731,7 @@ export {
5716
5731
  Jt as EHorizontal,
5717
5732
  lt as EVertical,
5718
5733
  vh as PickerProviderConsumer,
5719
- _n as PickerProviderContext,
5720
- xh as createPicker,
5734
+ Bn as PickerProviderContext,
5735
+ Th as createPicker,
5721
5736
  ya as usePicker
5722
5737
  };