@acrool/react-picker 0.0.2-alpha.4 → 0.0.2-alpha.5

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.
@@ -105,22 +105,22 @@ var Yt = {};
105
105
  var bi;
106
106
  function sa() {
107
107
  return bi || (bi = 1, process.env.NODE_ENV !== "production" && function() {
108
- var t = $s, 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"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), y = Symbol.iterator, P = "@@iterator";
108
+ var t = $s, 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"), u = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), g = Symbol.iterator, P = "@@iterator";
109
109
  function b(f) {
110
110
  if (f === null || typeof f != "object")
111
111
  return null;
112
- var m = y && f[y] || f[P];
112
+ var m = g && f[g] || f[P];
113
113
  return typeof m == "function" ? m : null;
114
114
  }
115
115
  var x = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
116
- function v(f) {
116
+ function y(f) {
117
117
  {
118
118
  for (var m = arguments.length, T = new Array(m > 1 ? m - 1 : 0), A = 1; A < m; A++)
119
119
  T[A - 1] = arguments[A];
120
- g("error", f, T);
120
+ v("error", f, T);
121
121
  }
122
122
  }
123
- function g(f, m, T) {
123
+ function v(f, m, T) {
124
124
  {
125
125
  var A = x.ReactDebugCurrentFrame, D = A.getStackAddendum();
126
126
  D !== "" && (m += "%s", T = T.concat([D]));
@@ -130,10 +130,10 @@ function sa() {
130
130
  k.unshift("Warning: " + m), Function.prototype.apply.call(console[f], console, k);
131
131
  }
132
132
  }
133
- var S = !1, C = !1, L = !1, q = !1, V = !1, G;
133
+ var w = !1, C = !1, L = !1, q = !1, V = !1, G;
134
134
  G = Symbol.for("react.module.reference");
135
135
  function H(f) {
136
- return !!(typeof f == "string" || typeof f == "function" || f === i || f === o || V || f === s || f === u || f === c || q || f === p || S || C || L || typeof f == "object" && f !== null && (f.$$typeof === d || f.$$typeof === h || f.$$typeof === r || f.$$typeof === a || f.$$typeof === l || // This needs to include all possible module reference object
136
+ return !!(typeof f == "string" || typeof f == "function" || f === i || f === o || V || f === s || f === u || f === c || q || f === p || w || C || L || typeof f == "object" && f !== null && (f.$$typeof === d || f.$$typeof === h || f.$$typeof === r || f.$$typeof === a || f.$$typeof === l || // This needs to include all possible module reference object
137
137
  // types supported by any Flight configuration anywhere since
138
138
  // we don't know which Flight build this will end up being used
139
139
  // with.
@@ -152,7 +152,7 @@ function sa() {
152
152
  function Z(f) {
153
153
  if (f == null)
154
154
  return null;
155
- if (typeof f.tag == "number" && v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof f == "function")
155
+ if (typeof f.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof f == "function")
156
156
  return f.displayName || f.name || null;
157
157
  if (typeof f == "string")
158
158
  return f;
@@ -253,7 +253,7 @@ function sa() {
253
253
  })
254
254
  });
255
255
  }
256
- F < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
256
+ F < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
257
257
  }
258
258
  }
259
259
  var Ue = x.ReactCurrentDispatcher, We;
@@ -405,7 +405,7 @@ function sa() {
405
405
  } catch (_) {
406
406
  R = _;
407
407
  }
408
- R && !(R instanceof Error) && (ve(D), v("%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).", A || "React class", T, E, typeof R), ve(null)), R instanceof Error && !(R.message in li) && (li[R.message] = !0, ve(D), v("Failed %s type: %s", T, R.message), ve(null));
408
+ R && !(R instanceof Error) && (ve(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).", A || "React class", T, E, typeof R), ve(null)), R instanceof Error && !(R.message in li) && (li[R.message] = !0, ve(D), y("Failed %s type: %s", T, R.message), ve(null));
409
409
  }
410
410
  }
411
411
  }
@@ -431,7 +431,7 @@ function sa() {
431
431
  }
432
432
  function hi(f) {
433
433
  if (Vo(f))
434
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ro(f)), ci(f);
434
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ro(f)), ci(f);
435
435
  }
436
436
  var zt = x.ReactCurrentOwner, Eo = {
437
437
  key: !0,
@@ -459,13 +459,13 @@ function sa() {
459
459
  function ko(f, m) {
460
460
  if (typeof f.ref == "string" && zt.current && m && zt.current.stateNode !== m) {
461
461
  var T = Z(zt.current.type);
462
- Ge[T] || (v('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', Z(zt.current.type), f.ref), Ge[T] = !0);
462
+ Ge[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', Z(zt.current.type), f.ref), Ge[T] = !0);
463
463
  }
464
464
  }
465
465
  function Lo(f, m) {
466
466
  {
467
467
  var T = function() {
468
- fi || (fi = !0, v("%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)", m));
468
+ fi || (fi = !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)", m));
469
469
  };
470
470
  T.isReactWarning = !0, Object.defineProperty(f, "key", {
471
471
  get: T,
@@ -476,7 +476,7 @@ function sa() {
476
476
  function jo(f, m) {
477
477
  {
478
478
  var T = function() {
479
- di || (di = !0, v("%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)", m));
479
+ di || (di = !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)", m));
480
480
  };
481
481
  T.isReactWarning = !0, Object.defineProperty(f, "ref", {
482
482
  get: T,
@@ -590,7 +590,7 @@ Check the top-level render call using <` + T + ">.");
590
590
  return;
591
591
  gi[T] = !0;
592
592
  var A = "";
593
- f && f._owner && f._owner !== ze.current && (A = " It was passed a child from " + Z(f._owner.type) + "."), kt(f), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', T, A), kt(null);
593
+ f && f._owner && f._owner !== ze.current && (A = " It was passed a child from " + Z(f._owner.type) + "."), kt(f), 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, A), kt(null);
594
594
  }
595
595
  }
596
596
  function vi(f, m) {
@@ -632,9 +632,9 @@ Check the top-level render call using <` + T + ">.");
632
632
  } else if (m.PropTypes !== void 0 && !He) {
633
633
  He = !0;
634
634
  var D = Z(m);
635
- v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
635
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D || "Unknown");
636
636
  }
637
- typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
637
+ typeof m.getDefaultProps == "function" && !m.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
638
638
  }
639
639
  }
640
640
  function No(f) {
@@ -642,11 +642,11 @@ Check the top-level render call using <` + T + ">.");
642
642
  for (var m = Object.keys(f.props), T = 0; T < m.length; T++) {
643
643
  var A = m[T];
644
644
  if (A !== "children" && A !== "key") {
645
- kt(f), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", A), kt(null);
645
+ kt(f), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", A), kt(null);
646
646
  break;
647
647
  }
648
648
  }
649
- f.ref !== null && (kt(f), v("Invalid attribute `ref` supplied to `React.Fragment`."), kt(null));
649
+ f.ref !== null && (kt(f), y("Invalid attribute `ref` supplied to `React.Fragment`."), kt(null));
650
650
  }
651
651
  }
652
652
  var Pi = {};
@@ -659,7 +659,7 @@ Check the top-level render call using <` + T + ">.");
659
659
  var z = _o(D);
660
660
  z ? R += z : R += mi();
661
661
  var _;
662
- f === null ? _ = "null" : Ke(f) ? _ = "array" : f !== void 0 && f.$$typeof === e ? (_ = "<" + (Z(f.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof f, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, R);
662
+ f === null ? _ = "null" : Ke(f) ? _ = "array" : f !== void 0 && f.$$typeof === e ? (_ = "<" + (Z(f.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof f, 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);
663
663
  }
664
664
  var I = Fo(f, m, T, D, k);
665
665
  if (I == null)
@@ -673,7 +673,7 @@ Check the top-level render call using <` + T + ">.");
673
673
  vi(Q[Lt], f);
674
674
  Object.freeze && Object.freeze(Q);
675
675
  } else
676
- v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
676
+ 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.");
677
677
  else
678
678
  vi(Q, f);
679
679
  }
@@ -683,7 +683,7 @@ Check the top-level render call using <` + T + ">.");
683
683
  }), Xe = Y.length > 0 ? "{key: someKey, " + Y.join(": ..., ") + ": ...}" : "{key: someKey}";
684
684
  if (!Pi[Tt + Xe]) {
685
685
  var Go = Y.length > 0 ? "{" + Y.join(": ..., ") + ": ...}" : "{}";
686
- v(`A props object containing a "key" prop is being spread into JSX:
686
+ y(`A props object containing a "key" prop is being spread into JSX:
687
687
  let props = %s;
688
688
  <%s {...props} />
689
689
  React keys must be passed directly to JSX without using spread:
@@ -772,18 +772,18 @@ function qs(t, e) {
772
772
  delta: 0,
773
773
  timestamp: 0,
774
774
  isProcessing: !1
775
- }, o = () => n = !0, r = Pe.reduce((x, v) => (x[v] = aa(o), x), {}), { read: a, resolveKeyframes: l, update: u, preRender: c, render: h, postRender: d } = r, p = () => {
775
+ }, o = () => n = !0, r = Pe.reduce((x, y) => (x[y] = aa(o), x), {}), { read: a, resolveKeyframes: l, update: u, preRender: c, render: h, postRender: d } = r, p = () => {
776
776
  const x = performance.now();
777
777
  n = !1, s.delta = i ? 1e3 / 60 : Math.max(Math.min(x - s.timestamp, la), 1), s.timestamp = x, s.isProcessing = !0, a.process(s), l.process(s), u.process(s), c.process(s), h.process(s), d.process(s), s.isProcessing = !1, n && e && (i = !1, t(p));
778
- }, y = () => {
778
+ }, g = () => {
779
779
  n = !0, i = !0, s.isProcessing || t(p);
780
780
  };
781
- return { schedule: Pe.reduce((x, v) => {
782
- const g = r[v];
783
- return x[v] = (S, C = !1, L = !1) => (n || y(), g.schedule(S, C, L)), x;
781
+ return { schedule: Pe.reduce((x, y) => {
782
+ const v = r[y];
783
+ return x[y] = (w, C = !1, L = !1) => (n || g(), v.schedule(w, C, L)), x;
784
784
  }, {}), cancel: (x) => {
785
- for (let v = 0; v < Pe.length; v++)
786
- r[Pe[v]].cancel(x);
785
+ for (let y = 0; y < Pe.length; y++)
786
+ r[Pe[y]].cancel(x);
787
787
  }, state: s, steps: r };
788
788
  }
789
789
  const { schedule: Dn, cancel: $h } = qs(queueMicrotask, !1);
@@ -941,8 +941,8 @@ function ya({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
941
941
  }, { isStatic: h } = c, d = pa(a), p = i(a, h);
942
942
  if (!h && En) {
943
943
  Pa(c, t);
944
- const y = xa(c);
945
- u = y.MeasureLayout, d.visualElement = ua(s, p, c, e, y.ProjectionNode);
944
+ const g = xa(c);
945
+ u = g.MeasureLayout, d.visualElement = ua(s, p, c, e, g.ProjectionNode);
946
946
  }
947
947
  return O.jsxs(ke.Provider, { value: d, children: [u && d.visualElement ? O.jsx(u, { visualElement: d.visualElement, ...c }) : null, n(s, a, fa(p, d.visualElement, l), p, h, d.visualElement)] });
948
948
  }
@@ -1097,7 +1097,7 @@ const de = (t) => ({
1097
1097
  test: (e) => fe(e) && e.endsWith(t) && e.split(" ").length === 1,
1098
1098
  parse: parseFloat,
1099
1099
  transform: (e) => `${e}${t}`
1100
- }), dt = de("deg"), st = de("%"), w = de("px"), La = de("vh"), ja = de("vw"), Ci = {
1100
+ }), dt = de("deg"), st = de("%"), S = de("px"), La = de("vh"), ja = de("vw"), Ci = {
1101
1101
  ...st,
1102
1102
  parse: (t) => st.parse(t) / 100,
1103
1103
  transform: (t) => st.transform(t * 100)
@@ -1106,38 +1106,38 @@ const de = (t) => ({
1106
1106
  transform: Math.round
1107
1107
  }, ir = {
1108
1108
  // Border props
1109
- borderWidth: w,
1110
- borderTopWidth: w,
1111
- borderRightWidth: w,
1112
- borderBottomWidth: w,
1113
- borderLeftWidth: w,
1114
- borderRadius: w,
1115
- radius: w,
1116
- borderTopLeftRadius: w,
1117
- borderTopRightRadius: w,
1118
- borderBottomRightRadius: w,
1119
- borderBottomLeftRadius: w,
1109
+ borderWidth: S,
1110
+ borderTopWidth: S,
1111
+ borderRightWidth: S,
1112
+ borderBottomWidth: S,
1113
+ borderLeftWidth: S,
1114
+ borderRadius: S,
1115
+ radius: S,
1116
+ borderTopLeftRadius: S,
1117
+ borderTopRightRadius: S,
1118
+ borderBottomRightRadius: S,
1119
+ borderBottomLeftRadius: S,
1120
1120
  // Positioning props
1121
- width: w,
1122
- maxWidth: w,
1123
- height: w,
1124
- maxHeight: w,
1125
- size: w,
1126
- top: w,
1127
- right: w,
1128
- bottom: w,
1129
- left: w,
1121
+ width: S,
1122
+ maxWidth: S,
1123
+ height: S,
1124
+ maxHeight: S,
1125
+ size: S,
1126
+ top: S,
1127
+ right: S,
1128
+ bottom: S,
1129
+ left: S,
1130
1130
  // Spacing props
1131
- padding: w,
1132
- paddingTop: w,
1133
- paddingRight: w,
1134
- paddingBottom: w,
1135
- paddingLeft: w,
1136
- margin: w,
1137
- marginTop: w,
1138
- marginRight: w,
1139
- marginBottom: w,
1140
- marginLeft: w,
1131
+ padding: S,
1132
+ paddingTop: S,
1133
+ paddingRight: S,
1134
+ paddingBottom: S,
1135
+ paddingLeft: S,
1136
+ margin: S,
1137
+ marginTop: S,
1138
+ marginRight: S,
1139
+ marginBottom: S,
1140
+ marginLeft: S,
1141
1141
  // Transform props
1142
1142
  rotate: dt,
1143
1143
  rotateX: dt,
@@ -1150,23 +1150,23 @@ const de = (t) => ({
1150
1150
  skew: dt,
1151
1151
  skewX: dt,
1152
1152
  skewY: dt,
1153
- distance: w,
1154
- translateX: w,
1155
- translateY: w,
1156
- translateZ: w,
1157
- x: w,
1158
- y: w,
1159
- z: w,
1160
- perspective: w,
1161
- transformPerspective: w,
1153
+ distance: S,
1154
+ translateX: S,
1155
+ translateY: S,
1156
+ translateZ: S,
1157
+ x: S,
1158
+ y: S,
1159
+ z: S,
1160
+ perspective: S,
1161
+ transformPerspective: S,
1162
1162
  opacity: Qt,
1163
1163
  originX: Ci,
1164
1164
  originY: Ci,
1165
- originZ: w,
1165
+ originZ: S,
1166
1166
  // Misc
1167
1167
  zIndex: Ri,
1168
- backgroundPositionX: w,
1169
- backgroundPositionY: w,
1168
+ backgroundPositionX: S,
1169
+ backgroundPositionY: S,
1170
1170
  // SVG
1171
1171
  fillOpacity: Qt,
1172
1172
  strokeOpacity: Qt,
@@ -1269,7 +1269,7 @@ function Na(t, e, n) {
1269
1269
  return i;
1270
1270
  }
1271
1271
  function Vi(t, e, n) {
1272
- return typeof t == "string" ? t : w.transform(e + n * t);
1272
+ return typeof t == "string" ? t : S.transform(e + n * t);
1273
1273
  }
1274
1274
  function Ua(t, e, n) {
1275
1275
  const i = Vi(e, t.x, t.width), s = Vi(n, t.y, t.height);
@@ -1285,8 +1285,8 @@ const Wa = {
1285
1285
  function Ka(t, e, n = 1, i = 0, s = !0) {
1286
1286
  t.pathLength = 1;
1287
1287
  const o = s ? Wa : $a;
1288
- t[o.offset] = w.transform(-i);
1289
- const r = w.transform(e), a = w.transform(n);
1288
+ t[o.offset] = S.transform(-i);
1289
+ const r = S.transform(e), a = S.transform(n);
1290
1290
  t[o.array] = `${r} ${a}`;
1291
1291
  }
1292
1292
  function In(t, {
@@ -1306,8 +1306,8 @@ function In(t, {
1306
1306
  return;
1307
1307
  }
1308
1308
  t.attrs = t.style, t.style = {};
1309
- const { attrs: d, style: p, dimensions: y } = t;
1310
- d.transform && (y && (p.transform = d.transform), delete d.transform), y && (s !== void 0 || o !== void 0 || p.transform) && (p.transformOrigin = Ua(y, 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 && Ka(d, r, a, l, !1);
1309
+ const { attrs: d, style: p, dimensions: g } = t;
1310
+ d.transform && (g && (p.transform = d.transform), delete d.transform), g && (s !== void 0 || o !== void 0 || p.transform) && (p.transformOrigin = Ua(g, 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 && Ka(d, r, a, l, !1);
1311
1311
  }
1312
1312
  const or = () => ({
1313
1313
  ...Bn(),
@@ -1468,20 +1468,20 @@ function Za(t, e, n, i, s) {
1468
1468
  let { initial: c, animate: h } = t;
1469
1469
  const d = Oe(t), p = Qs(t);
1470
1470
  e && p && !d && t.inherit !== !1 && (c === void 0 && (c = e.initial), h === void 0 && (h = e.animate));
1471
- let y = n ? n.initial === !1 : !1;
1472
- y = y || c === !1;
1473
- const P = y ? h : c;
1471
+ let g = n ? n.initial === !1 : !1;
1472
+ g = g || c === !1;
1473
+ const P = g ? h : c;
1474
1474
  return P && typeof P != "boolean" && !se(P) && Di(t, P, (b, x) => {
1475
- for (const v in b) {
1476
- let g = b[v];
1477
- if (Array.isArray(g)) {
1478
- const S = y ? g.length - 1 : 0;
1479
- g = g[S];
1475
+ for (const y in b) {
1476
+ let v = b[y];
1477
+ if (Array.isArray(v)) {
1478
+ const w = g ? v.length - 1 : 0;
1479
+ v = v[w];
1480
1480
  }
1481
- g !== null && (r[v] = g);
1481
+ v !== null && (r[y] = v);
1482
1482
  }
1483
- for (const v in x)
1484
- r[v] = x[v];
1483
+ for (const y in x)
1484
+ r[y] = x[y];
1485
1485
  }), l && (h && c !== !1 && !se(h) && Di(t, h, (b) => {
1486
1486
  for (const x in b)
1487
1487
  qa(a, x);
@@ -1848,7 +1848,7 @@ const Cl = /* @__PURE__ */ new Set([
1848
1848
  "y",
1849
1849
  "translateX",
1850
1850
  "translateY"
1851
- ]), ji = (t) => t === $t || t === w, Oi = (t, e) => parseFloat(t.split(", ")[e]), Fi = (t, e) => (n, { transform: i }) => {
1851
+ ]), ji = (t) => t === $t || t === S, Oi = (t, e) => parseFloat(t.split(", ")[e]), Fi = (t, e) => (n, { transform: i }) => {
1852
1852
  if (i === "none" || !i)
1853
1853
  return 0;
1854
1854
  const s = i.match(/^matrix3d\((.+)\)$/u);
@@ -1883,7 +1883,7 @@ Ut.translateY = Ut.y;
1883
1883
  const wr = (t) => (e) => e.test(t), Dl = {
1884
1884
  test: (t) => t === "auto",
1885
1885
  parse: (t) => t
1886
- }, Sr = [$t, w, st, dt, ja, La, Dl], _i = (t) => Sr.find(wr(t)), Rt = /* @__PURE__ */ new Set();
1886
+ }, Sr = [$t, S, st, dt, ja, La, Dl], _i = (t) => Sr.find(wr(t)), Rt = /* @__PURE__ */ new Set();
1887
1887
  let dn = !1, pn = !1;
1888
1888
  function Ar() {
1889
1889
  if (pn) {
@@ -2234,11 +2234,11 @@ function Jl({ duration: t = 800, bounce: e = 0.25, velocity: n = 0, mass: i = 1
2234
2234
  Wt(t <= lt(Ni), "Spring duration must be 10 seconds or less");
2235
2235
  let r = 1 - e;
2236
2236
  r = yt(ql, Zl, r), t = yt(Xl, Ni, ut(t)), r < 1 ? (s = (u) => {
2237
- const c = u * r, h = c * t, d = c - n, p = yn(u, r), y = Math.exp(-h);
2238
- return tn - d / p * y;
2237
+ const c = u * r, h = c * t, d = c - n, p = yn(u, r), g = Math.exp(-h);
2238
+ return tn - d / p * g;
2239
2239
  }, o = (u) => {
2240
- const h = u * r * t, d = h * n + n, p = Math.pow(r, 2) * Math.pow(u, 2) * t, y = Math.exp(-h), P = yn(Math.pow(u, 2), r);
2241
- return (-s(u) + tn > 0 ? -1 : 1) * ((d - p) * y) / P;
2240
+ const h = u * r * t, d = h * n + n, p = Math.pow(r, 2) * Math.pow(u, 2) * t, g = Math.exp(-h), P = yn(Math.pow(u, 2), r);
2241
+ return (-s(u) + tn > 0 ? -1 : 1) * ((d - p) * g) / P;
2242
2242
  }) : (s = (u) => {
2243
2243
  const c = Math.exp(-u * t), h = (u - n) * t + 1;
2244
2244
  return -tn + c * h;
@@ -2299,37 +2299,37 @@ function Br({ keyframes: t, restDelta: e, restSpeed: n, ...i }) {
2299
2299
  const s = t[0], o = t[t.length - 1], r = { done: !1, value: s }, { stiffness: a, damping: l, mass: u, duration: c, velocity: h, isResolvedFromDuration: d } = iu({
2300
2300
  ...i,
2301
2301
  velocity: -ut(i.velocity || 0)
2302
- }), p = h || 0, y = l / (2 * Math.sqrt(a * u)), P = o - s, b = ut(Math.sqrt(a / u)), x = Math.abs(P) < 5;
2302
+ }), p = h || 0, g = l / (2 * Math.sqrt(a * u)), P = o - s, b = ut(Math.sqrt(a / u)), x = Math.abs(P) < 5;
2303
2303
  n || (n = x ? 0.01 : 2), e || (e = x ? 5e-3 : 0.5);
2304
- let v;
2305
- if (y < 1) {
2306
- const g = yn(b, y);
2307
- v = (S) => {
2308
- const C = Math.exp(-y * b * S);
2309
- return o - C * ((p + y * b * P) / g * Math.sin(g * S) + P * Math.cos(g * S));
2304
+ let y;
2305
+ if (g < 1) {
2306
+ const v = yn(b, g);
2307
+ y = (w) => {
2308
+ const C = Math.exp(-g * b * w);
2309
+ return o - C * ((p + g * b * P) / v * Math.sin(v * w) + P * Math.cos(v * w));
2310
2310
  };
2311
- } else if (y === 1)
2312
- v = (g) => o - Math.exp(-b * g) * (P + (p + b * P) * g);
2311
+ } else if (g === 1)
2312
+ y = (v) => o - Math.exp(-b * v) * (P + (p + b * P) * v);
2313
2313
  else {
2314
- const g = b * Math.sqrt(y * y - 1);
2315
- v = (S) => {
2316
- const C = Math.exp(-y * b * S), L = Math.min(g * S, 300);
2317
- return o - C * ((p + y * b * P) * Math.sinh(L) + g * P * Math.cosh(L)) / g;
2314
+ const v = b * Math.sqrt(g * g - 1);
2315
+ y = (w) => {
2316
+ const C = Math.exp(-g * b * w), L = Math.min(v * w, 300);
2317
+ return o - C * ((p + g * b * P) * Math.sinh(L) + v * P * Math.cosh(L)) / v;
2318
2318
  };
2319
2319
  }
2320
2320
  return {
2321
2321
  calculatedDuration: d && c || null,
2322
- next: (g) => {
2323
- const S = v(g);
2322
+ next: (v) => {
2323
+ const w = y(v);
2324
2324
  if (d)
2325
- r.done = g >= c;
2325
+ r.done = v >= c;
2326
2326
  else {
2327
2327
  let C = p;
2328
- g !== 0 && (y < 1 ? C = _r(v, g, S) : C = 0);
2329
- const L = Math.abs(C) <= n, q = Math.abs(o - S) <= e;
2328
+ v !== 0 && (g < 1 ? C = _r(y, v, w) : C = 0);
2329
+ const L = Math.abs(C) <= n, q = Math.abs(o - w) <= e;
2330
2330
  r.done = L && q;
2331
2331
  }
2332
- return r.value = r.done ? o : S, r;
2332
+ return r.value = r.done ? o : w, r;
2333
2333
  }
2334
2334
  };
2335
2335
  }
@@ -2337,19 +2337,19 @@ function Wi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: i = 3
2337
2337
  const h = t[0], d = {
2338
2338
  done: !1,
2339
2339
  value: h
2340
- }, p = (V) => a !== void 0 && V < a || l !== void 0 && V > l, y = (V) => a === void 0 ? l : l === void 0 || Math.abs(a - V) < Math.abs(l - V) ? a : l;
2340
+ }, p = (V) => a !== void 0 && V < a || l !== void 0 && V > l, g = (V) => a === void 0 ? l : l === void 0 || Math.abs(a - V) < Math.abs(l - V) ? a : l;
2341
2341
  let P = n * e;
2342
2342
  const b = h + P, x = r === void 0 ? b : r(b);
2343
2343
  x !== b && (P = x - h);
2344
- const v = (V) => -P * Math.exp(-V / i), g = (V) => x + v(V), S = (V) => {
2345
- const G = v(V), H = g(V);
2344
+ const y = (V) => -P * Math.exp(-V / i), v = (V) => x + y(V), w = (V) => {
2345
+ const G = y(V), H = v(V);
2346
2346
  d.done = Math.abs(G) <= u, d.value = d.done ? x : H;
2347
2347
  };
2348
2348
  let C, L;
2349
2349
  const q = (V) => {
2350
2350
  p(d.value) && (C = V, L = Br({
2351
- keyframes: [d.value, y(d.value)],
2352
- velocity: _r(g, V, d.value),
2351
+ keyframes: [d.value, g(d.value)],
2352
+ velocity: _r(v, V, d.value),
2353
2353
  // TODO: This should be passing * 1000
2354
2354
  damping: s,
2355
2355
  stiffness: o,
@@ -2361,7 +2361,7 @@ function Wi({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: i = 3
2361
2361
  calculatedDuration: null,
2362
2362
  next: (V) => {
2363
2363
  let G = !1;
2364
- return !L && C === void 0 && (G = !0, S(V), q(V)), C !== void 0 && V >= C ? L.next(V - C) : (!G && S(V), d);
2364
+ return !L && C === void 0 && (G = !0, w(V), q(V)), C !== void 0 && V >= C ? L.next(V - C) : (!G && w(V), d);
2365
2365
  }
2366
2366
  };
2367
2367
  }
@@ -2621,20 +2621,20 @@ class Zn extends Or {
2621
2621
  const { finalKeyframe: s, generator: o, mirroredGenerator: r, mapPercentToKeyframes: a, keyframes: l, calculatedDuration: u, totalDuration: c, resolvedDuration: h } = i;
2622
2622
  if (this.startTime === null)
2623
2623
  return o.next(0);
2624
- const { delay: d, repeat: p, repeatType: y, repeatDelay: P, onUpdate: b } = this.options;
2624
+ const { delay: d, repeat: p, repeatType: g, repeatDelay: P, onUpdate: b } = this.options;
2625
2625
  this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - c / this.speed, this.startTime)), n ? this.currentTime = e : this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = Math.round(e - this.startTime) * this.speed;
2626
- const x = this.currentTime - d * (this.speed >= 0 ? 1 : -1), v = this.speed >= 0 ? x < 0 : x > c;
2626
+ const x = this.currentTime - d * (this.speed >= 0 ? 1 : -1), y = this.speed >= 0 ? x < 0 : x > c;
2627
2627
  this.currentTime = Math.max(x, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = c);
2628
- let g = this.currentTime, S = o;
2628
+ let v = this.currentTime, w = o;
2629
2629
  if (p) {
2630
2630
  const V = Math.min(this.currentTime, c) / h;
2631
2631
  let G = Math.floor(V), H = V % 1;
2632
- !H && V >= 1 && (H = 1), H === 1 && G--, G = Math.min(G, p + 1), !!(G % 2) && (y === "reverse" ? (H = 1 - H, P && (H -= P / h)) : y === "mirror" && (S = r)), g = yt(0, 1, H) * h;
2632
+ !H && V >= 1 && (H = 1), H === 1 && G--, G = Math.min(G, p + 1), !!(G % 2) && (g === "reverse" ? (H = 1 - H, P && (H -= P / h)) : g === "mirror" && (w = r)), v = yt(0, 1, H) * h;
2633
2633
  }
2634
- const C = v ? { done: !1, value: l[0] } : S.next(g);
2634
+ const C = y ? { done: !1, value: l[0] } : w.next(v);
2635
2635
  a && (C.value = a(C.value));
2636
2636
  let { done: L } = C;
2637
- !v && u !== null && (L = this.speed >= 0 ? this.currentTime >= c : this.currentTime <= 0);
2637
+ !y && u !== null && (L = this.speed >= 0 ? this.currentTime >= c : this.currentTime <= 0);
2638
2638
  const q = this.holdTime === null && (this.state === "finished" || this.state === "running" && L);
2639
2639
  return q && s !== void 0 && (C.value = Ne(l, this.options, s)), b && b(C.value), q && this.finish(), C;
2640
2640
  }
@@ -2767,7 +2767,7 @@ class Yi extends Or {
2767
2767
  if (!(!((i = l.owner) === null || i === void 0) && i.current))
2768
2768
  return !1;
2769
2769
  if (Ou(this.options)) {
2770
- const { onComplete: h, onUpdate: d, motionValue: p, ...y } = this.options, P = Fu(e, y);
2770
+ const { onComplete: h, onUpdate: d, motionValue: p, ...g } = this.options, P = Fu(e, g);
2771
2771
  e = P.keyframes, e.length === 1 && (e[1] = e[0]), s = P.duration, o = P.times, r = P.ease, a = "keyframes";
2772
2772
  }
2773
2773
  const c = ku(l.owner.current, u, e, { ...this.options, duration: s, times: o, ease: r });
@@ -2876,8 +2876,8 @@ class Yi extends Or {
2876
2876
  ease: r,
2877
2877
  times: a,
2878
2878
  isGenerator: !0
2879
- }), y = lt(this.time);
2880
- u.setWithVelocity(p.sample(y - De).value, p.sample(y).value, De);
2879
+ }), g = lt(this.time);
2880
+ u.setWithVelocity(p.sample(g - De).value, p.sample(g).value, De);
2881
2881
  }
2882
2882
  const { onStop: l } = this.options;
2883
2883
  l && l(), this.cancel();
@@ -3298,7 +3298,7 @@ function Jr(t, e, { delay: n = 0, transitionOverride: i, type: s } = {}) {
3298
3298
  const d = t.getValue(h, (o = t.latestValues[h]) !== null && o !== void 0 ? o : null), p = l[h];
3299
3299
  if (p === void 0 || c && Gu(c, h))
3300
3300
  continue;
3301
- const y = {
3301
+ const g = {
3302
3302
  delay: n,
3303
3303
  elapsed: 0,
3304
3304
  ...Kn(r || {}, h)
@@ -3307,11 +3307,11 @@ function Jr(t, e, { delay: n = 0, transitionOverride: i, type: s } = {}) {
3307
3307
  if (window.HandoffAppearAnimations) {
3308
3308
  const x = Zr(t);
3309
3309
  if (x) {
3310
- const v = window.HandoffAppearAnimations(x, h, d, M);
3311
- v !== null && (y.elapsed = v, P = !0);
3310
+ const y = window.HandoffAppearAnimations(x, h, d, M);
3311
+ y !== null && (g.elapsed = y, P = !0);
3312
3312
  }
3313
3313
  }
3314
- d.start(Qn(h, d, p, t.shouldReduceMotion && Pt.has(h) ? { type: !1 } : y, t, P, Pn(t, h)));
3314
+ d.start(Qn(h, d, p, t.shouldReduceMotion && Pt.has(h) ? { type: !1 } : g, t, P, Pn(t, h)));
3315
3315
  const b = d.animation;
3316
3316
  b && u.push(b);
3317
3317
  }
@@ -3374,8 +3374,8 @@ function Ju(t) {
3374
3374
  var h;
3375
3375
  const d = Ie(t, c, l === "exit" ? (h = t.presenceContext) === null || h === void 0 ? void 0 : h.custom : void 0);
3376
3376
  if (d) {
3377
- const { transition: p, transitionEnd: y, ...P } = d;
3378
- u = { ...u, ...P, ...y };
3377
+ const { transition: p, transitionEnd: g, ...P } = d;
3378
+ u = { ...u, ...P, ...g };
3379
3379
  }
3380
3380
  return u;
3381
3381
  };
@@ -3384,27 +3384,27 @@ function Ju(t) {
3384
3384
  }
3385
3385
  function r(l) {
3386
3386
  const u = t.getProps(), c = t.getVariantContext(!0) || {}, h = [], d = /* @__PURE__ */ new Set();
3387
- let p = {}, y = 1 / 0;
3387
+ let p = {}, g = 1 / 0;
3388
3388
  for (let b = 0; b < qu; b++) {
3389
- const x = Xu[b], v = n[x], g = u[x] !== void 0 ? u[x] : c[x], S = ie(g), C = x === l ? v.isActive : null;
3390
- C === !1 && (y = b);
3391
- let L = g === c[x] && g !== u[x] && S;
3392
- if (L && i && t.manuallyAnimateOnMount && (L = !1), v.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
3393
- !v.isActive && C === null || // If we didn't and don't have any defined prop for this animation type
3394
- !g && !v.prevProp || // Or if the prop doesn't define an animation
3395
- se(g) || typeof g == "boolean")
3389
+ const x = Xu[b], y = n[x], v = u[x] !== void 0 ? u[x] : c[x], w = ie(v), C = x === l ? y.isActive : null;
3390
+ C === !1 && (g = b);
3391
+ let L = v === c[x] && v !== u[x] && w;
3392
+ if (L && i && t.manuallyAnimateOnMount && (L = !1), y.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
3393
+ !y.isActive && C === null || // If we didn't and don't have any defined prop for this animation type
3394
+ !v && !y.prevProp || // Or if the prop doesn't define an animation
3395
+ se(v) || typeof v == "boolean")
3396
3396
  continue;
3397
- let V = Qu(v.prevProp, g) || // If we're making this variant active, we want to always make it active
3398
- x === l && v.isActive && !L && S || // If we removed a higher-priority variant (i is in reverse order)
3399
- b > y && S, G = !1;
3400
- const H = Array.isArray(g) ? g : [g];
3397
+ let V = Qu(y.prevProp, v) || // If we're making this variant active, we want to always make it active
3398
+ x === l && y.isActive && !L && w || // If we removed a higher-priority variant (i is in reverse order)
3399
+ b > g && w, G = !1;
3400
+ const H = Array.isArray(v) ? v : [v];
3401
3401
  let ft = H.reduce(s(x), {});
3402
3402
  C === !1 && (ft = {});
3403
- const { prevResolvedValues: Kt = {} } = v, Z = {
3403
+ const { prevResolvedValues: Kt = {} } = y, Z = {
3404
3404
  ...Kt,
3405
3405
  ...ft
3406
3406
  }, nt = (F) => {
3407
- V = !0, d.has(F) && (G = !0, d.delete(F)), v.needsAnimating[F] = !0;
3407
+ V = !0, d.has(F) && (G = !0, d.delete(F)), y.needsAnimating[F] = !0;
3408
3408
  const J = t.getValue(F);
3409
3409
  J && (J.liveStyle = !1);
3410
3410
  };
@@ -3413,9 +3413,9 @@ function Ju(t) {
3413
3413
  if (p.hasOwnProperty(F))
3414
3414
  continue;
3415
3415
  let Mt = !1;
3416
- hn(J) && hn(Dt) ? Mt = !Pr(J, Dt) : Mt = J !== Dt, Mt ? J != null ? nt(F) : d.add(F) : J !== void 0 && d.has(F) ? nt(F) : v.protectedKeys[F] = !0;
3416
+ hn(J) && hn(Dt) ? Mt = !Pr(J, Dt) : Mt = J !== Dt, Mt ? J != null ? nt(F) : d.add(F) : J !== void 0 && d.has(F) ? nt(F) : y.protectedKeys[F] = !0;
3417
3417
  }
3418
- v.prevProp = g, v.prevResolvedValues = ft, v.isActive && (p = { ...p, ...ft }), i && t.blockInitialAnimation && (V = !1), V && (!L || G) && h.push(...H.map((F) => ({
3418
+ y.prevProp = v, y.prevResolvedValues = ft, y.isActive && (p = { ...p, ...ft }), i && t.blockInitialAnimation && (V = !1), V && (!L || G) && h.push(...H.map((F) => ({
3419
3419
  animation: F,
3420
3420
  options: { type: x }
3421
3421
  })));
@@ -3423,8 +3423,8 @@ function Ju(t) {
3423
3423
  if (d.size) {
3424
3424
  const b = {};
3425
3425
  d.forEach((x) => {
3426
- const v = t.getBaseTarget(x), g = t.getValue(x);
3427
- g && (g.liveStyle = !0), b[x] = v ?? null;
3426
+ const y = t.getBaseTarget(x), v = t.getValue(x);
3427
+ v && (v.liveStyle = !0), b[x] = y ?? null;
3428
3428
  }), h.push({ animation: b });
3429
3429
  }
3430
3430
  let P = !!h.length;
@@ -3544,19 +3544,19 @@ class Qr {
3544
3544
  const h = rn(this.lastMoveEventInfo, this.history), d = this.startEvent !== null, p = sc(h.offset, { x: 0, y: 0 }) >= 3;
3545
3545
  if (!d && !p)
3546
3546
  return;
3547
- const { point: y } = h, { timestamp: P } = N;
3548
- this.history.push({ ...y, timestamp: P });
3547
+ const { point: g } = h, { timestamp: P } = N;
3548
+ this.history.push({ ...g, timestamp: P });
3549
3549
  const { onStart: b, onMove: x } = this.handlers;
3550
3550
  d || (b && b(this.lastMoveEvent, h), this.startEvent = this.lastMoveEvent), x && x(this.lastMoveEvent, h);
3551
3551
  }, this.handlePointerMove = (h, d) => {
3552
3552
  this.lastMoveEvent = h, this.lastMoveEventInfo = sn(d, this.transformPagePoint), M.update(this.updatePoint, !0);
3553
3553
  }, this.handlePointerUp = (h, d) => {
3554
3554
  this.end();
3555
- const { onEnd: p, onSessionEnd: y, resumeAnimation: P } = this.handlers;
3555
+ const { onEnd: p, onSessionEnd: g, resumeAnimation: P } = this.handlers;
3556
3556
  if (this.dragSnapToOrigin && P && P(), !(this.lastMoveEvent && this.lastMoveEventInfo))
3557
3557
  return;
3558
3558
  const b = rn(h.type === "pointercancel" ? this.lastMoveEventInfo : sn(d, this.transformPagePoint), this.history);
3559
- this.startEvent && p && p(h, b), y && y(h, b);
3559
+ this.startEvent && p && p(h, b), g && g(h, b);
3560
3560
  }, !pr(e))
3561
3561
  return;
3562
3562
  this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = i, this.contextWindow = s || window;
@@ -3796,29 +3796,29 @@ class Sc {
3796
3796
  h ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(Be(c, "page").point);
3797
3797
  }, o = (c, h) => {
3798
3798
  var d;
3799
- const { drag: p, dragPropagation: y, onDragStart: P } = this.getProps();
3800
- if (p && !y && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = gr(p), !this.openGlobalLock))
3799
+ const { drag: p, dragPropagation: g, onDragStart: P } = this.getProps();
3800
+ if (p && !g && (this.openGlobalLock && this.openGlobalLock(), this.openGlobalLock = gr(p), !this.openGlobalLock))
3801
3801
  return;
3802
3802
  this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), et((x) => {
3803
- let v = this.getAxisMotionValue(x).get() || 0;
3804
- if (st.test(v)) {
3805
- const { projection: g } = this.visualElement;
3806
- if (g && g.layout) {
3807
- const S = g.layout.layoutBox[x];
3808
- S && (v = X(S) * (parseFloat(v) / 100));
3803
+ let y = this.getAxisMotionValue(x).get() || 0;
3804
+ if (st.test(y)) {
3805
+ const { projection: v } = this.visualElement;
3806
+ if (v && v.layout) {
3807
+ const w = v.layout.layoutBox[x];
3808
+ w && (y = X(w) * (parseFloat(y) / 100));
3809
3809
  }
3810
3810
  }
3811
- this.originPoint[x] = v;
3811
+ this.originPoint[x] = y;
3812
3812
  }), P && M.postRender(() => P(c, h)), (d = this.removeWillChange) === null || d === void 0 || d.call(this), this.removeWillChange = Pn(this.visualElement, "transform");
3813
3813
  const { animationState: b } = this.visualElement;
3814
3814
  b && b.setActive("whileDrag", !0);
3815
3815
  }, r = (c, h) => {
3816
- const { dragPropagation: d, dragDirectionLock: p, onDirectionLock: y, onDrag: P } = this.getProps();
3816
+ const { dragPropagation: d, dragDirectionLock: p, onDirectionLock: g, onDrag: P } = this.getProps();
3817
3817
  if (!d && !this.openGlobalLock)
3818
3818
  return;
3819
3819
  const { offset: b } = h;
3820
3820
  if (p && this.currentDirection === null) {
3821
- this.currentDirection = Ac(b), this.currentDirection !== null && y && y(this.currentDirection);
3821
+ this.currentDirection = Ac(b), this.currentDirection !== null && g && g(this.currentDirection);
3822
3822
  return;
3823
3823
  }
3824
3824
  this.updateAxis("x", h.point, b), this.updateAxis("y", h.point, b), this.visualElement.render(), P && P(c, h);
@@ -3894,7 +3894,7 @@ class Sc {
3894
3894
  return;
3895
3895
  let h = l && l[c] || {};
3896
3896
  r && (h = { min: 0, max: 0 });
3897
- const d = s ? 200 : 1e6, p = s ? 40 : 1e7, y = {
3897
+ const d = s ? 200 : 1e6, p = s ? 40 : 1e7, g = {
3898
3898
  type: "inertia",
3899
3899
  velocity: i ? e[c] : 0,
3900
3900
  bounceStiffness: d,
@@ -3905,7 +3905,7 @@ class Sc {
3905
3905
  ...o,
3906
3906
  ...h
3907
3907
  };
3908
- return this.startAxisValueAnimation(c, y);
3908
+ return this.startAxisValueAnimation(c, g);
3909
3909
  });
3910
3910
  return Promise.all(u).then(a);
3911
3911
  }
@@ -4093,7 +4093,7 @@ const Xt = {
4093
4093
  if (!e.target)
4094
4094
  return t;
4095
4095
  if (typeof t == "string")
4096
- if (w.test(t))
4096
+ if (S.test(t))
4097
4097
  t = parseFloat(t);
4098
4098
  else
4099
4099
  return t;
@@ -4170,7 +4170,7 @@ const Mc = {
4170
4170
  borderBottomLeftRadius: Xt,
4171
4171
  borderBottomRightRadius: Xt,
4172
4172
  boxShadow: Ec
4173
- }, uo = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], kc = uo.length, gs = (t) => typeof t == "string" ? parseFloat(t) : t, ys = (t) => typeof t == "number" || w.test(t);
4173
+ }, uo = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], kc = uo.length, gs = (t) => typeof t == "string" ? parseFloat(t) : t, ys = (t) => typeof t == "number" || S.test(t);
4174
4174
  function Lc(t, e, n, i, s, o) {
4175
4175
  s ? (t.opacity = j(
4176
4176
  0,
@@ -4301,8 +4301,8 @@ function Uc(t, e, n) {
4301
4301
  let i = "";
4302
4302
  const s = t.x.translate / e.x, o = t.y.translate / e.y, r = (n == null ? void 0 : n.z) || 0;
4303
4303
  if ((s || o || r) && (i = `translate3d(${s}px, ${o}px, ${r}px) `), (e.x !== 1 || e.y !== 1) && (i += `scale(${1 / e.x}, ${1 / e.y}) `), n) {
4304
- const { transformPerspective: u, rotate: c, rotateX: h, rotateY: d, skewX: p, skewY: y } = n;
4305
- u && (i = `perspective(${u}px) ${i}`), c && (i += `rotate(${c}deg) `), h && (i += `rotateX(${h}deg) `), d && (i += `rotateY(${d}deg) `), p && (i += `skewX(${p}deg) `), y && (i += `skewY(${y}deg) `);
4304
+ const { transformPerspective: u, rotate: c, rotateX: h, rotateY: d, skewX: p, skewY: g } = n;
4305
+ u && (i = `perspective(${u}px) ${i}`), c && (i += `rotate(${c}deg) `), h && (i += `rotateX(${h}deg) `), d && (i += `rotateY(${d}deg) `), p && (i += `skewX(${p}deg) `), g && (i += `skewY(${g}deg) `);
4306
4306
  }
4307
4307
  const a = t.x.scale * e.x, l = t.y.scale * e.y;
4308
4308
  return (a !== 1 || l !== 1) && (i += `scale(${a}, ${l})`), i || "none";
@@ -4390,23 +4390,23 @@ function mo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4390
4390
  this.root.updateBlockedByResize = !0, h && h(), h = Kc(d, 250), Ae.hasAnimatedSinceResize && (Ae.hasAnimatedSinceResize = !1, this.nodes.forEach(Ms));
4391
4391
  });
4392
4392
  }
4393
- l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && c && (l || u) && this.addEventListener("didUpdate", ({ delta: h, hasLayoutChanged: d, hasRelativeTargetChanged: p, layout: y }) => {
4393
+ l && this.root.registerSharedNode(l, this), this.options.animate !== !1 && c && (l || u) && this.addEventListener("didUpdate", ({ delta: h, hasLayoutChanged: d, hasRelativeTargetChanged: p, layout: g }) => {
4394
4394
  if (this.isTreeAnimationBlocked()) {
4395
4395
  this.target = void 0, this.relativeTarget = void 0;
4396
4396
  return;
4397
4397
  }
4398
- const P = this.options.transition || c.getDefaultTransition() || lh, { onLayoutAnimationStart: b, onLayoutAnimationComplete: x } = c.getProps(), v = !this.targetLayout || !fo(this.targetLayout, y) || p, g = !d && p;
4399
- if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || g || d && (v || !this.currentAnimation)) {
4400
- this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(h, g);
4401
- const S = {
4398
+ const P = this.options.transition || c.getDefaultTransition() || lh, { onLayoutAnimationStart: b, onLayoutAnimationComplete: x } = c.getProps(), y = !this.targetLayout || !fo(this.targetLayout, g) || p, v = !d && p;
4399
+ if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || v || d && (y || !this.currentAnimation)) {
4400
+ this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(h, v);
4401
+ const w = {
4402
4402
  ...Kn(P, "layout"),
4403
4403
  onPlay: b,
4404
4404
  onComplete: x
4405
4405
  };
4406
- (c.shouldReduceMotion || this.options.layoutRoot) && (S.delay = 0, S.type = !1), this.startAnimation(S);
4406
+ (c.shouldReduceMotion || this.options.layoutRoot) && (w.delay = 0, w.type = !1), this.startAnimation(w);
4407
4407
  } else
4408
4408
  d || Ms(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
4409
- this.targetLayout = y;
4409
+ this.targetLayout = g;
4410
4410
  });
4411
4411
  }
4412
4412
  unmount() {
@@ -4629,12 +4629,12 @@ function mo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4629
4629
  tt(this.layoutCorrected, this.layout.layoutBox);
4630
4630
  const d = this.treeScale.x, p = this.treeScale.y;
4631
4631
  Tc(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());
4632
- const { target: y } = a;
4633
- if (!y) {
4632
+ const { target: g } = a;
4633
+ if (!g) {
4634
4634
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
4635
4635
  return;
4636
4636
  }
4637
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (xs(this.prevProjectionDelta.x, this.projectionDelta.x), xs(this.prevProjectionDelta.y, this.projectionDelta.y)), ee(this.projectionDelta, this.layoutCorrected, y, this.latestValues), (this.treeScale.x !== d || this.treeScale.y !== p || !Vs(this.projectionDelta.x, this.prevProjectionDelta.x) || !Vs(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", y)), Zt && At.recalculatedProjection++;
4637
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (xs(this.prevProjectionDelta.x, this.projectionDelta.x), xs(this.prevProjectionDelta.y, this.projectionDelta.y)), ee(this.projectionDelta, this.layoutCorrected, g, this.latestValues), (this.treeScale.x !== d || this.treeScale.y !== p || !Vs(this.projectionDelta.x, this.prevProjectionDelta.x) || !Vs(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", g)), Zt && At.recalculatedProjection++;
4638
4638
  }
4639
4639
  hide() {
4640
4640
  this.isVisible = !1;
@@ -4656,12 +4656,12 @@ function mo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4656
4656
  setAnimationOrigin(r, a = !1) {
4657
4657
  const l = this.snapshot, u = l ? l.latestValues : {}, c = { ...this.latestValues }, h = _t();
4658
4658
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
4659
- const d = B(), p = l ? l.source : void 0, y = this.layout ? this.layout.source : void 0, P = p !== y, b = this.getStack(), x = !b || b.members.length <= 1, v = !!(P && !x && this.options.crossfade === !0 && !this.path.some(ah));
4659
+ const d = B(), p = l ? l.source : void 0, g = this.layout ? this.layout.source : void 0, P = p !== g, b = this.getStack(), x = !b || b.members.length <= 1, y = !!(P && !x && this.options.crossfade === !0 && !this.path.some(ah));
4660
4660
  this.animationProgress = 0;
4661
- let g;
4662
- this.mixTargetDelta = (S) => {
4663
- const C = S / 1e3;
4664
- ks(h.x, r.x, C), ks(h.y, r.y, C), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ne(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), oh(this.relativeTarget, this.relativeTargetOrigin, d, C), g && Ic(this.relativeTarget, g) && (this.isProjectionDirty = !1), g || (g = B()), tt(g, this.relativeTarget)), P && (this.animationValues = c, Lc(c, u, this.latestValues, C, v, x)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = C;
4661
+ let v;
4662
+ this.mixTargetDelta = (w) => {
4663
+ const C = w / 1e3;
4664
+ ks(h.x, r.x, C), ks(h.y, r.y, C), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ne(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), oh(this.relativeTarget, this.relativeTargetOrigin, d, C), v && Ic(this.relativeTarget, v) && (this.isProjectionDirty = !1), v || (v = B()), tt(v, this.relativeTarget)), P && (this.animationValues = c, Lc(c, u, this.latestValues, C, y, x)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = C;
4665
4665
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
4666
4666
  }
4667
4667
  startAnimation(r) {
@@ -4769,18 +4769,18 @@ function mo({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4769
4769
  }
4770
4770
  const d = h.animationValues || h.latestValues;
4771
4771
  this.applyTransformsToTarget(), u.transform = Uc(this.projectionDeltaWithTransform, this.treeScale, d), c && (u.transform = c(d, u.transform));
4772
- const { x: p, y } = this.projectionDelta;
4773
- u.transformOrigin = `${p.origin * 100}% ${y.origin * 100}% 0`, h.animationValues ? u.opacity = h === this ? (l = (a = d.opacity) !== null && a !== void 0 ? a : this.latestValues.opacity) !== null && l !== void 0 ? l : 1 : this.preserveOpacity ? this.latestValues.opacity : d.opacityExit : u.opacity = h === this ? d.opacity !== void 0 ? d.opacity : "" : d.opacityExit !== void 0 ? d.opacityExit : 0;
4772
+ const { x: p, y: g } = this.projectionDelta;
4773
+ u.transformOrigin = `${p.origin * 100}% ${g.origin * 100}% 0`, h.animationValues ? u.opacity = h === this ? (l = (a = d.opacity) !== null && a !== void 0 ? a : this.latestValues.opacity) !== null && l !== void 0 ? l : 1 : this.preserveOpacity ? this.latestValues.opacity : d.opacityExit : u.opacity = h === this ? d.opacity !== void 0 ? d.opacity : "" : d.opacityExit !== void 0 ? d.opacityExit : 0;
4774
4774
  for (const P in Ce) {
4775
4775
  if (d[P] === void 0)
4776
4776
  continue;
4777
- const { correct: b, applyTo: x } = Ce[P], v = u.transform === "none" ? d[P] : b(d[P], h);
4777
+ const { correct: b, applyTo: x } = Ce[P], y = u.transform === "none" ? d[P] : b(d[P], h);
4778
4778
  if (x) {
4779
- const g = x.length;
4780
- for (let S = 0; S < g; S++)
4781
- u[x[S]] = v;
4779
+ const v = x.length;
4780
+ for (let w = 0; w < v; w++)
4781
+ u[x[w]] = y;
4782
4782
  } else
4783
- u[P] = v;
4783
+ u[P] = y;
4784
4784
  }
4785
4785
  return this.options.layoutId && (u.pointerEvents = h === this ? we(r == null ? void 0 : r.pointerEvents) || "" : "none"), u;
4786
4786
  }
@@ -4822,10 +4822,10 @@ function qc(t) {
4822
4822
  if (h && !h.resumeFrom) {
4823
4823
  const { snapshot: d, layout: p } = h;
4824
4824
  if (d && p) {
4825
- const y = B();
4826
- ne(y, n.layoutBox, d.layoutBox);
4825
+ const g = B();
4826
+ ne(g, n.layoutBox, d.layoutBox);
4827
4827
  const P = B();
4828
- ne(P, i, p.layoutBox), fo(y, P) || (c = !0), h.options.layoutRoot && (t.relativeTarget = P, t.relativeTargetOrigin = y, t.relativeParent = h);
4828
+ ne(P, i, p.layoutBox), fo(g, P) || (c = !0), h.options.layoutRoot && (t.relativeTarget = P, t.relativeTargetOrigin = g, t.relativeParent = h);
4829
4829
  }
4830
4830
  }
4831
4831
  }
@@ -4990,7 +4990,7 @@ class vh {
4990
4990
  return {};
4991
4991
  }
4992
4992
  constructor({ parent: e, props: n, presenceContext: i, reducedMotionConfig: s, blockInitialAnimation: o, visualState: r }, a = {}) {
4993
- this.applyWillChange = !1, this.resolveKeyframes = (d, p, y, P) => new this.KeyframeResolver(d, p, y, 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 = Gn, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
4993
+ this.applyWillChange = !1, this.resolveKeyframes = (d, p, g, P) => new this.KeyframeResolver(d, p, g, 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 = Gn, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
4994
4994
  this.isRenderScheduled = !1, this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
4995
4995
  }, this.isRenderScheduled = !1, this.scheduleRender = () => {
4996
4996
  this.isRenderScheduled || (this.isRenderScheduled = !0, M.render(this.render, !1, !0));
@@ -5354,30 +5354,30 @@ function Is(t) {
5354
5354
  }
5355
5355
  const Dh = ({ children: t, exitBeforeEnter: e, custom: n, initial: i = !0, onExitComplete: s, presenceAffectsLayout: o = !0, mode: r = "sync" }) => {
5356
5356
  ct(!e, "Replace exitBeforeEnter with mode='wait'");
5357
- const a = Vt(() => Is(t), [t]), l = a.map(be), u = it(!0), c = it(a), h = $n(() => /* @__PURE__ */ new Map()), [d, p] = Jt(a), [y, P] = Jt(a);
5357
+ const a = Vt(() => Is(t), [t]), l = a.map(be), u = it(!0), c = it(a), h = $n(() => /* @__PURE__ */ new Map()), [d, p] = Jt(a), [g, P] = Jt(a);
5358
5358
  Hs(() => {
5359
5359
  u.current = !1, c.current = a;
5360
- for (let v = 0; v < y.length; v++) {
5361
- const g = be(y[v]);
5362
- l.includes(g) ? h.delete(g) : h.get(g) !== !0 && h.set(g, !1);
5360
+ for (let y = 0; y < g.length; y++) {
5361
+ const v = be(g[y]);
5362
+ l.includes(v) ? h.delete(v) : h.get(v) !== !0 && h.set(v, !1);
5363
5363
  }
5364
- }, [y, l.length, l.join("-")]);
5364
+ }, [g, l.length, l.join("-")]);
5365
5365
  const b = [];
5366
5366
  if (a !== d) {
5367
- let v = [...a];
5368
- for (let g = 0; g < y.length; g++) {
5369
- const S = y[g], C = be(S);
5370
- l.includes(C) || (v.splice(g, 0, S), b.push(S));
5367
+ let y = [...a];
5368
+ for (let v = 0; v < g.length; v++) {
5369
+ const w = g[v], C = be(w);
5370
+ l.includes(C) || (y.splice(v, 0, w), b.push(w));
5371
5371
  }
5372
- r === "wait" && b.length && (v = b), P(Is(v)), p(a);
5372
+ r === "wait" && b.length && (y = b), P(Is(y)), p(a);
5373
5373
  return;
5374
5374
  }
5375
- process.env.NODE_ENV !== "production" && r === "wait" && y.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.`);
5375
+ process.env.NODE_ENV !== "production" && r === "wait" && g.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.`);
5376
5376
  const { forceRender: x } = U(Ln);
5377
- return O.jsx(O.Fragment, { children: y.map((v) => {
5378
- const g = be(v), S = a === y || l.includes(g), C = () => {
5379
- if (h.has(g))
5380
- h.set(g, !0);
5377
+ return O.jsx(O.Fragment, { children: g.map((y) => {
5378
+ const v = be(y), w = a === g || l.includes(v), C = () => {
5379
+ if (h.has(v))
5380
+ h.set(v, !0);
5381
5381
  else
5382
5382
  return;
5383
5383
  let L = !0;
@@ -5385,7 +5385,7 @@ const Dh = ({ children: t, exitBeforeEnter: e, custom: n, initial: i = !0, onExi
5385
5385
  q || (L = !1);
5386
5386
  }), L && (x == null || x(), P(c.current), s && s());
5387
5387
  };
5388
- return O.jsx(Vh, { isPresent: S, initial: !u.current || i ? void 0 : !1, custom: S ? void 0 : n, presenceAffectsLayout: o, mode: r, onExitComplete: S ? void 0 : C, children: v }, g);
5388
+ return O.jsx(Vh, { isPresent: w, initial: !u.current || i ? void 0 : !1, custom: w ? void 0 : n, presenceAffectsLayout: o, mode: r, onExitComplete: w ? void 0 : C, children: y }, v);
5389
5389
  }) });
5390
5390
  }, Ns = ({
5391
5391
  onKeydown: t
@@ -5452,59 +5452,65 @@ const Dh = ({ children: t, exitBeforeEnter: e, custom: n, initial: i = !0, onExi
5452
5452
  };
5453
5453
  };
5454
5454
  function Gh(t, e) {
5455
- return (i) => {
5456
- const [s, o] = Jt(!1), [r, a] = Jt(!1), [l, u] = Jt(), c = it(null), h = it(null), d = it(l);
5455
+ return (i, s) => {
5456
+ const [o, r] = Jt(!1), [a, l] = Jt(!1), [u, c] = Jt(), h = it(null), d = it(null), p = it(u);
5457
5457
  gt(() => {
5458
- u(i.value);
5458
+ c(i.value);
5459
5459
  }, [JSON.stringify(i.value)]), gt(() => {
5460
- d.current = l;
5461
- }, [l]);
5462
- const p = pt((g) => {
5463
- [jt.Tab].includes(g.key) && (o(!1), a(!1));
5464
- }, []), y = pt((g) => {
5465
- ([jt.ArrowUp, jt.ArrowDown, jt.Enter].includes(g.key) || g.code === "Space") && o(!0);
5466
- }, []), P = pt((g) => {
5467
- !c.current && h.current && !h.current.contains(g.target) && a(!1);
5468
- }, []), b = pt((g) => {
5469
- c.current && !c.current.contains(g.target) && h.current && !h.current.contains(g.target) && (o(!1), a(!1));
5470
- }, []), x = pt(() => {
5460
+ p.current = u;
5461
+ }, [u]);
5462
+ const g = pt((w) => {
5463
+ [jt.Tab].includes(w.key) && (r(!1), l(!1));
5464
+ }, []), P = pt((w) => {
5465
+ ([jt.ArrowUp, jt.ArrowDown, jt.Enter].includes(w.key) || w.code === "Space") && r(!0);
5466
+ }, []), b = pt((w) => {
5467
+ !h.current && d.current && !d.current.contains(w.target) && l(!1);
5468
+ }, []), x = pt((w) => {
5469
+ h.current && !h.current.contains(w.target) && d.current && !d.current.contains(w.target) && (r(!1), l(!1));
5470
+ }, []), y = pt(() => {
5471
5471
  if (typeof (i == null ? void 0 : i.onChange) > "u") {
5472
5472
  wt.warning("@acrool/react-picker", "createPicker component props onChange is undefined, is no call");
5473
5473
  return;
5474
5474
  }
5475
- d.current && JSON.stringify(l) !== JSON.stringify(d.current) && i.onChange(d.current);
5476
- }, [l, i.onChange]), v = pt((g) => {
5477
- [jt.Escape].includes(g.key) && s && (g.stopPropagation(), o(!1));
5478
- }, [s]);
5475
+ p.current && JSON.stringify(u) !== JSON.stringify(p.current) && i.onChange(p.current);
5476
+ }, [u, i.onChange]), v = pt((w) => {
5477
+ [jt.Escape].includes(w.key) && o && (w.stopPropagation(), r(!1));
5478
+ }, [o]);
5479
5479
  return /* @__PURE__ */ O.jsx(
5480
5480
  Rn.Provider,
5481
5481
  {
5482
5482
  value: {
5483
- hide: () => requestAnimationFrame(() => o(!1)),
5484
- show: () => o(!0),
5485
- toggle: () => o((g) => !g),
5486
- isVisible: s,
5487
- inputFocus: () => a(!0),
5488
- inputBlur: () => a(!1),
5489
- isInputFocus: r,
5490
- value: l,
5491
- onChange: u
5483
+ hide: () => requestAnimationFrame(() => r(!1)),
5484
+ show: () => r(!0),
5485
+ toggle: () => r((w) => !w),
5486
+ isVisible: o,
5487
+ inputFocus: () => l(!0),
5488
+ inputBlur: () => l(!1),
5489
+ isInputFocus: a,
5490
+ value: u,
5491
+ onChange: c
5492
5492
  },
5493
5493
  children: /* @__PURE__ */ O.jsxs("div", { className: Ws.root, children: [
5494
- /* @__PURE__ */ O.jsx("div", { ref: h, className: Ws.mainEl, onKeyDown: v, children: /* @__PURE__ */ O.jsx(t, { ...i }) }),
5495
- /* @__PURE__ */ O.jsx(Dh, { children: s && /* @__PURE__ */ O.jsx(
5494
+ /* @__PURE__ */ O.jsx("div", { ref: d, className: Ws.mainEl, onKeyDown: v, children: /* @__PURE__ */ O.jsx(
5495
+ t,
5496
+ {
5497
+ ...i,
5498
+ ref: s
5499
+ }
5500
+ ) }),
5501
+ /* @__PURE__ */ O.jsx(Dh, { children: o && /* @__PURE__ */ O.jsx(
5496
5502
  Bh,
5497
5503
  {
5498
- ref: c,
5499
- position: Ih(h.current),
5504
+ ref: h,
5505
+ position: Ih(d.current),
5500
5506
  children: /* @__PURE__ */ O.jsx(e, { ...i })
5501
5507
  }
5502
5508
  ) }),
5503
- s && /* @__PURE__ */ O.jsx(Mh, { onPickerHide: x }),
5504
- s && /* @__PURE__ */ O.jsx(Us, { onMousedown: b }),
5505
- r && /* @__PURE__ */ O.jsx(Us, { onMousedown: P }),
5506
- r && /* @__PURE__ */ O.jsx(Ns, { onKeydown: y }),
5507
- r && /* @__PURE__ */ O.jsx(Ns, { onKeydown: p })
5509
+ o && /* @__PURE__ */ O.jsx(Mh, { onPickerHide: y }),
5510
+ o && /* @__PURE__ */ O.jsx(Us, { onMousedown: x }),
5511
+ a && /* @__PURE__ */ O.jsx(Us, { onMousedown: b }),
5512
+ a && /* @__PURE__ */ O.jsx(Ns, { onKeydown: P }),
5513
+ a && /* @__PURE__ */ O.jsx(Ns, { onKeydown: g })
5508
5514
  ] })
5509
5515
  }
5510
5516
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acrool/react-picker",
3
- "version": "0.0.2-alpha.4",
3
+ "version": "0.0.2-alpha.5",
4
4
  "description": "Picker library based for Reactjs",
5
5
  "keywords": [
6
6
  "acrool",