@component-hook/picker 0.2.2 → 0.2.4-alpha.0

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,4 @@
1
- import "./index.css";
2
- import me, { useState as Xe, useMemo as We, useRef as _t, useEffect as Ke } from "react";
1
+ import ye, { useState as Xe, useMemo as We, useRef as _t, useEffect as Ke } from "react";
3
2
  import Ge from "react-dom";
4
3
  function fn(r) {
5
4
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
@@ -18,7 +17,7 @@ var er;
18
17
  function hn() {
19
18
  if (er) return Le;
20
19
  er = 1;
21
- var r = me, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
20
+ var r = ye, e = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
22
21
  function a(c, u, l) {
23
22
  var f, p = {}, E = null, w = null;
24
23
  l !== void 0 && (E = "" + l), u.key !== void 0 && (E = "" + u.key), u.ref !== void 0 && (w = u.ref);
@@ -41,7 +40,7 @@ var Fe = {};
41
40
  var tr;
42
41
  function pn() {
43
42
  return tr || (tr = 1, process.env.NODE_ENV !== "production" && function() {
44
- var r = me, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), R = Symbol.iterator, I = "@@iterator";
43
+ var r = ye, e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), R = Symbol.iterator, I = "@@iterator";
45
44
  function Y(s) {
46
45
  if (s === null || typeof s != "object")
47
46
  return null;
@@ -51,16 +50,16 @@ function pn() {
51
50
  var $ = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
51
  function D(s) {
53
52
  {
54
- for (var h = arguments.length, m = new Array(h > 1 ? h - 1 : 0), x = 1; x < h; x++)
55
- m[x - 1] = arguments[x];
56
- H("error", s, m);
53
+ for (var h = arguments.length, y = new Array(h > 1 ? h - 1 : 0), x = 1; x < h; x++)
54
+ y[x - 1] = arguments[x];
55
+ H("error", s, y);
57
56
  }
58
57
  }
59
- function H(s, h, m) {
58
+ function H(s, h, y) {
60
59
  {
61
60
  var x = $.ReactDebugCurrentFrame, N = x.getStackAddendum();
62
- N !== "" && (h += "%s", m = m.concat([N]));
63
- var W = m.map(function(B) {
61
+ N !== "" && (h += "%s", y = y.concat([N]));
62
+ var W = y.map(function(B) {
64
63
  return String(B);
65
64
  });
66
65
  W.unshift("Warning: " + h), Function.prototype.apply.call(console[s], console, W);
@@ -75,12 +74,12 @@ function pn() {
75
74
  // with.
76
75
  s.$$typeof === re || s.getModuleId !== void 0));
77
76
  }
78
- function ue(s, h, m) {
77
+ function ue(s, h, y) {
79
78
  var x = s.displayName;
80
79
  if (x)
81
80
  return x;
82
81
  var N = h.displayName || h.name || "";
83
- return N !== "" ? m + "(" + N + ")" : m;
82
+ return N !== "" ? y + "(" + N + ")" : y;
84
83
  }
85
84
  function ie(s) {
86
85
  return s.displayName || "Context";
@@ -112,8 +111,8 @@ function pn() {
112
111
  var h = s;
113
112
  return ie(h) + ".Consumer";
114
113
  case a:
115
- var m = s;
116
- return ie(m._context) + ".Provider";
114
+ var y = s;
115
+ return ie(y._context) + ".Provider";
117
116
  case u:
118
117
  return ue(s, s.render, "ForwardRef");
119
118
  case p:
@@ -193,7 +192,7 @@ function pn() {
193
192
  }
194
193
  }
195
194
  var S = $.ReactCurrentDispatcher, C;
196
- function O(s, h, m) {
195
+ function O(s, h, y) {
197
196
  {
198
197
  if (C === void 0)
199
198
  try {
@@ -211,13 +210,13 @@ function pn() {
211
210
  var G = typeof WeakMap == "function" ? WeakMap : Map;
212
211
  A = new G();
213
212
  }
214
- function y(s, h) {
213
+ function m(s, h) {
215
214
  if (!s || j)
216
215
  return "";
217
216
  {
218
- var m = A.get(s);
219
- if (m !== void 0)
220
- return m;
217
+ var y = A.get(s);
218
+ if (y !== void 0)
219
+ return y;
221
220
  }
222
221
  var x;
223
222
  j = !0;
@@ -282,18 +281,18 @@ function pn() {
282
281
  var Re = s ? s.displayName || s.name : "", be = Re ? O(Re) : "";
283
282
  return typeof s == "function" && A.set(s, be), be;
284
283
  }
285
- function ce(s, h, m) {
286
- return y(s, !1);
284
+ function ce(s, h, y) {
285
+ return m(s, !1);
287
286
  }
288
287
  function Oe(s) {
289
288
  var h = s.prototype;
290
289
  return !!(h && h.isReactComponent);
291
290
  }
292
- function Ee(s, h, m) {
291
+ function Ee(s, h, y) {
293
292
  if (s == null)
294
293
  return "";
295
294
  if (typeof s == "function")
296
- return y(s, Oe(s));
295
+ return m(s, Oe(s));
297
296
  if (typeof s == "string")
298
297
  return O(s);
299
298
  switch (s) {
@@ -307,11 +306,11 @@ function pn() {
307
306
  case u:
308
307
  return ce(s.render);
309
308
  case p:
310
- return Ee(s.type, h, m);
309
+ return Ee(s.type, h, y);
311
310
  case E: {
312
311
  var x = s, N = x._payload, W = x._init;
313
312
  try {
314
- return Ee(W(N), h, m);
313
+ return Ee(W(N), h, y);
315
314
  } catch {
316
315
  }
317
316
  }
@@ -321,12 +320,12 @@ function pn() {
321
320
  var je = Object.prototype.hasOwnProperty, $t = {}, Xt = $.ReactDebugCurrentFrame;
322
321
  function qe(s) {
323
322
  if (s) {
324
- var h = s._owner, m = Ee(s.type, s._source, h ? h.type : null);
325
- Xt.setExtraStackFrame(m);
323
+ var h = s._owner, y = Ee(s.type, s._source, h ? h.type : null);
324
+ Xt.setExtraStackFrame(y);
326
325
  } else
327
326
  Xt.setExtraStackFrame(null);
328
327
  }
329
- function Xr(s, h, m, x, N) {
328
+ function Xr(s, h, y, x, N) {
330
329
  {
331
330
  var W = Function.call.bind(je);
332
331
  for (var B in s)
@@ -334,14 +333,14 @@ function pn() {
334
333
  var M = void 0;
335
334
  try {
336
335
  if (typeof s[B] != "function") {
337
- var ee = Error((x || "React class") + ": " + m + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ var ee = Error((x || "React class") + ": " + y + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
337
  throw ee.name = "Invariant Violation", ee;
339
338
  }
340
- M = s[B](h, B, x, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ M = s[B](h, B, x, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
340
  } catch (z) {
342
341
  M = z;
343
342
  }
344
- M && !(M instanceof Error) && (qe(N), D("%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).", x || "React class", m, B, typeof M), qe(null)), M instanceof Error && !(M.message in $t) && ($t[M.message] = !0, qe(N), D("Failed %s type: %s", m, M.message), qe(null));
343
+ M && !(M instanceof Error) && (qe(N), D("%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).", x || "React class", y, B, typeof M), qe(null)), M instanceof Error && !(M.message in $t) && ($t[M.message] = !0, qe(N), D("Failed %s type: %s", y, M.message), qe(null));
345
344
  }
346
345
  }
347
346
  }
@@ -351,8 +350,8 @@ function pn() {
351
350
  }
352
351
  function Hr(s) {
353
352
  {
354
- var h = typeof Symbol == "function" && Symbol.toStringTag, m = h && s[Symbol.toStringTag] || s.constructor.name || "Object";
355
- return m;
353
+ var h = typeof Symbol == "function" && Symbol.toStringTag, y = h && s[Symbol.toStringTag] || s.constructor.name || "Object";
354
+ return y;
356
355
  }
357
356
  }
358
357
  function zr(s) {
@@ -394,40 +393,40 @@ function pn() {
394
393
  }
395
394
  function Kr(s, h) {
396
395
  if (typeof s.ref == "string" && Ne.current && h && Ne.current.stateNode !== h) {
397
- var m = q(Ne.current.type);
398
- ht[m] || (D('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', q(Ne.current.type), s.ref), ht[m] = !0);
396
+ var y = q(Ne.current.type);
397
+ ht[y] || (D('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', q(Ne.current.type), s.ref), ht[y] = !0);
399
398
  }
400
399
  }
401
400
  function Gr(s, h) {
402
401
  {
403
- var m = function() {
402
+ var y = function() {
404
403
  zt || (zt = !0, D("%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)", h));
405
404
  };
406
- m.isReactWarning = !0, Object.defineProperty(s, "key", {
407
- get: m,
405
+ y.isReactWarning = !0, Object.defineProperty(s, "key", {
406
+ get: y,
408
407
  configurable: !0
409
408
  });
410
409
  }
411
410
  }
412
411
  function Jr(s, h) {
413
412
  {
414
- var m = function() {
413
+ var y = function() {
415
414
  Ut || (Ut = !0, D("%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)", h));
416
415
  };
417
- m.isReactWarning = !0, Object.defineProperty(s, "ref", {
418
- get: m,
416
+ y.isReactWarning = !0, Object.defineProperty(s, "ref", {
417
+ get: y,
419
418
  configurable: !0
420
419
  });
421
420
  }
422
421
  }
423
- var Zr = function(s, h, m, x, N, W, B) {
422
+ var Zr = function(s, h, y, x, N, W, B) {
424
423
  var M = {
425
424
  // This tag allows us to uniquely identify this as a React Element
426
425
  $$typeof: e,
427
426
  // Built-in properties that belong on the element
428
427
  type: s,
429
428
  key: h,
430
- ref: m,
429
+ ref: y,
431
430
  props: B,
432
431
  // Record the component responsible for creating this element.
433
432
  _owner: W
@@ -449,10 +448,10 @@ function pn() {
449
448
  value: N
450
449
  }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
451
450
  };
452
- function Qr(s, h, m, x, N) {
451
+ function Qr(s, h, y, x, N) {
453
452
  {
454
453
  var W, B = {}, M = null, ee = null;
455
- m !== void 0 && (Ht(m), M = "" + m), qr(h) && (Ht(h.key), M = "" + h.key), Vr(h) && (ee = h.ref, Kr(h, N));
454
+ y !== void 0 && (Ht(y), M = "" + y), qr(h) && (Ht(h.key), M = "" + h.key), Vr(h) && (ee = h.ref, Kr(h, N));
456
455
  for (W in h)
457
456
  je.call(h, W) && !Ur.hasOwnProperty(W) && (B[W] = h[W]);
458
457
  if (s && s.defaultProps) {
@@ -470,8 +469,8 @@ function pn() {
470
469
  var pt = $.ReactCurrentOwner, Vt = $.ReactDebugCurrentFrame;
471
470
  function _e(s) {
472
471
  if (s) {
473
- var h = s._owner, m = Ee(s.type, s._source, h ? h.type : null);
474
- Vt.setExtraStackFrame(m);
472
+ var h = s._owner, y = Ee(s.type, s._source, h ? h.type : null);
473
+ Vt.setExtraStackFrame(y);
475
474
  } else
476
475
  Vt.setExtraStackFrame(null);
477
476
  }
@@ -500,10 +499,10 @@ Check the render method of \`` + s + "`.";
500
499
  {
501
500
  var h = qt();
502
501
  if (!h) {
503
- var m = typeof s == "string" ? s : s.displayName || s.name;
504
- m && (h = `
502
+ var y = typeof s == "string" ? s : s.displayName || s.name;
503
+ y && (h = `
505
504
 
506
- Check the top-level render call using <` + m + ">.");
505
+ Check the top-level render call using <` + y + ">.");
507
506
  }
508
507
  return h;
509
508
  }
@@ -513,12 +512,12 @@ Check the top-level render call using <` + m + ">.");
513
512
  if (!s._store || s._store.validated || s.key != null)
514
513
  return;
515
514
  s._store.validated = !0;
516
- var m = tn(h);
517
- if (Kt[m])
515
+ var y = tn(h);
516
+ if (Kt[y])
518
517
  return;
519
- Kt[m] = !0;
518
+ Kt[y] = !0;
520
519
  var x = "";
521
- s && s._owner && s._owner !== pt.current && (x = " It was passed a child from " + q(s._owner.type) + "."), _e(s), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, x), _e(null);
520
+ s && s._owner && s._owner !== pt.current && (x = " It was passed a child from " + q(s._owner.type) + "."), _e(s), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', y, x), _e(null);
522
521
  }
523
522
  }
524
523
  function Jt(s, h) {
@@ -526,8 +525,8 @@ Check the top-level render call using <` + m + ">.");
526
525
  if (typeof s != "object")
527
526
  return;
528
527
  if (ft(s))
529
- for (var m = 0; m < s.length; m++) {
530
- var x = s[m];
528
+ for (var y = 0; y < s.length; y++) {
529
+ var x = s[y];
531
530
  vt(x) && Gt(x, h);
532
531
  }
533
532
  else if (vt(s))
@@ -545,18 +544,18 @@ Check the top-level render call using <` + m + ">.");
545
544
  var h = s.type;
546
545
  if (h == null || typeof h == "string")
547
546
  return;
548
- var m;
547
+ var y;
549
548
  if (typeof h == "function")
550
- m = h.propTypes;
549
+ y = h.propTypes;
551
550
  else if (typeof h == "object" && (h.$$typeof === u || // Note: Memo only checks outer props here.
552
551
  // Inner props are checked in the reconciler.
553
552
  h.$$typeof === p))
554
- m = h.propTypes;
553
+ y = h.propTypes;
555
554
  else
556
555
  return;
557
- if (m) {
556
+ if (y) {
558
557
  var x = q(h);
559
- Xr(m, s.props, "prop", x, s);
558
+ Xr(y, s.props, "prop", x, s);
560
559
  } else if (h.PropTypes !== void 0 && !dt) {
561
560
  dt = !0;
562
561
  var N = q(h);
@@ -567,8 +566,8 @@ Check the top-level render call using <` + m + ">.");
567
566
  }
568
567
  function nn(s) {
569
568
  {
570
- for (var h = Object.keys(s.props), m = 0; m < h.length; m++) {
571
- var x = h[m];
569
+ for (var h = Object.keys(s.props), y = 0; y < h.length; y++) {
570
+ var x = h[y];
572
571
  if (x !== "children" && x !== "key") {
573
572
  _e(s), D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), _e(null);
574
573
  break;
@@ -578,7 +577,7 @@ Check the top-level render call using <` + m + ">.");
578
577
  }
579
578
  }
580
579
  var Zt = {};
581
- function Qt(s, h, m, x, N, W) {
580
+ function Qt(s, h, y, x, N, W) {
582
581
  {
583
582
  var B = oe(s);
584
583
  if (!B) {
@@ -589,7 +588,7 @@ Check the top-level render call using <` + m + ">.");
589
588
  var z;
590
589
  s === null ? z = "null" : ft(s) ? z = "array" : s !== void 0 && s.$$typeof === e ? (z = "<" + (q(s.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : z = typeof s, D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, M);
591
590
  }
592
- var U = Qr(s, h, m, N, W);
591
+ var U = Qr(s, h, y, N, W);
593
592
  if (U == null)
594
593
  return U;
595
594
  if (B) {
@@ -608,25 +607,25 @@ Check the top-level render call using <` + m + ">.");
608
607
  if (je.call(h, "key")) {
609
608
  var be = q(s), ne = Object.keys(h).filter(function(un) {
610
609
  return un !== "key";
611
- }), yt = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
612
- if (!Zt[be + yt]) {
610
+ }), mt = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ if (!Zt[be + mt]) {
613
612
  var ln = ne.length > 0 ? "{" + ne.join(": ..., ") + ": ...}" : "{}";
614
613
  D(`A props object containing a "key" prop is being spread into JSX:
615
614
  let props = %s;
616
615
  <%s {...props} />
617
616
  React keys must be passed directly to JSX without using spread:
618
617
  let props = %s;
619
- <%s key={someKey} {...props} />`, yt, be, ln, be), Zt[be + yt] = !0;
618
+ <%s key={someKey} {...props} />`, mt, be, ln, be), Zt[be + mt] = !0;
620
619
  }
621
620
  }
622
621
  return s === n ? nn(U) : rn(U), U;
623
622
  }
624
623
  }
625
- function on(s, h, m) {
626
- return Qt(s, h, m, !0);
624
+ function on(s, h, y) {
625
+ return Qt(s, h, y, !0);
627
626
  }
628
- function sn(s, h, m) {
629
- return Qt(s, h, m, !1);
627
+ function sn(s, h, y) {
628
+ return Qt(s, h, y, !1);
630
629
  }
631
630
  var an = sn, cn = on;
632
631
  Fe.Fragment = n, Fe.jsx = an, Fe.jsxs = cn;
@@ -748,16 +747,16 @@ var nr;
748
747
  function vn() {
749
748
  return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
750
749
  var r = typeof Symbol == "function" && Symbol.for, e = r ? Symbol.for("react.element") : 60103, t = r ? Symbol.for("react.portal") : 60106, n = r ? Symbol.for("react.fragment") : 60107, o = r ? Symbol.for("react.strict_mode") : 60108, i = r ? Symbol.for("react.profiler") : 60114, a = r ? Symbol.for("react.provider") : 60109, c = r ? Symbol.for("react.context") : 60110, u = r ? Symbol.for("react.async_mode") : 60111, l = r ? Symbol.for("react.concurrent_mode") : 60111, f = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113, E = r ? Symbol.for("react.suspense_list") : 60120, w = r ? Symbol.for("react.memo") : 60115, R = r ? Symbol.for("react.lazy") : 60116, I = r ? Symbol.for("react.block") : 60121, Y = r ? Symbol.for("react.fundamental") : 60117, $ = r ? Symbol.for("react.responder") : 60118, D = r ? Symbol.for("react.scope") : 60119;
751
- function H(y) {
752
- return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
753
- y === n || y === l || y === i || y === o || y === p || y === E || typeof y == "object" && y !== null && (y.$$typeof === R || y.$$typeof === w || y.$$typeof === a || y.$$typeof === c || y.$$typeof === f || y.$$typeof === Y || y.$$typeof === $ || y.$$typeof === D || y.$$typeof === I);
750
+ function H(m) {
751
+ return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
752
+ m === n || m === l || m === i || m === o || m === p || m === E || typeof m == "object" && m !== null && (m.$$typeof === R || m.$$typeof === w || m.$$typeof === a || m.$$typeof === c || m.$$typeof === f || m.$$typeof === Y || m.$$typeof === $ || m.$$typeof === D || m.$$typeof === I);
754
753
  }
755
- function X(y) {
756
- if (typeof y == "object" && y !== null) {
757
- var ce = y.$$typeof;
754
+ function X(m) {
755
+ if (typeof m == "object" && m !== null) {
756
+ var ce = m.$$typeof;
758
757
  switch (ce) {
759
758
  case e:
760
- var Oe = y.type;
759
+ var Oe = m.type;
761
760
  switch (Oe) {
762
761
  case u:
763
762
  case l:
@@ -785,44 +784,44 @@ function vn() {
785
784
  }
786
785
  }
787
786
  var v = u, te = l, Z = c, V = a, re = e, oe = f, ue = n, ie = R, q = w, K = t, se = i, Q = o, ae = p, de = !1;
788
- function fe(y) {
789
- return de || (de = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), d(y) || X(y) === u;
787
+ function fe(m) {
788
+ return de || (de = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), d(m) || X(m) === u;
790
789
  }
791
- function d(y) {
792
- return X(y) === l;
790
+ function d(m) {
791
+ return X(m) === l;
793
792
  }
794
- function g(y) {
795
- return X(y) === c;
793
+ function g(m) {
794
+ return X(m) === c;
796
795
  }
797
- function T(y) {
798
- return X(y) === a;
796
+ function T(m) {
797
+ return X(m) === a;
799
798
  }
800
- function k(y) {
801
- return typeof y == "object" && y !== null && y.$$typeof === e;
799
+ function k(m) {
800
+ return typeof m == "object" && m !== null && m.$$typeof === e;
802
801
  }
803
- function b(y) {
804
- return X(y) === f;
802
+ function b(m) {
803
+ return X(m) === f;
805
804
  }
806
- function P(y) {
807
- return X(y) === n;
805
+ function P(m) {
806
+ return X(m) === n;
808
807
  }
809
- function S(y) {
810
- return X(y) === R;
808
+ function S(m) {
809
+ return X(m) === R;
811
810
  }
812
- function C(y) {
813
- return X(y) === w;
811
+ function C(m) {
812
+ return X(m) === w;
814
813
  }
815
- function O(y) {
816
- return X(y) === t;
814
+ function O(m) {
815
+ return X(m) === t;
817
816
  }
818
- function j(y) {
819
- return X(y) === i;
817
+ function j(m) {
818
+ return X(m) === i;
820
819
  }
821
- function A(y) {
822
- return X(y) === o;
820
+ function A(m) {
821
+ return X(m) === o;
823
822
  }
824
- function G(y) {
825
- return X(y) === p;
823
+ function G(m) {
824
+ return X(m) === p;
826
825
  }
827
826
  F.AsyncMode = v, F.ConcurrentMode = te, F.ContextConsumer = Z, F.ContextProvider = V, F.Element = re, F.ForwardRef = oe, F.Fragment = ue, F.Lazy = ie, F.Memo = q, F.Portal = K, F.Profiler = se, F.StrictMode = Q, F.Suspense = ae, F.isAsyncMode = fe, F.isConcurrentMode = d, F.isContextConsumer = g, F.isContextProvider = T, F.isElement = k, F.isForwardRef = b, F.isFragment = P, F.isLazy = S, F.isMemo = C, F.isPortal = O, F.isProfiler = j, F.isStrictMode = A, F.isSuspense = G, F.isValidElementType = H, F.typeOf = X;
828
827
  }()), F;
@@ -836,9 +835,9 @@ object-assign
836
835
  (c) Sindre Sorhus
837
836
  @license MIT
838
837
  */
839
- var mt, ir;
840
- function yn() {
841
- if (ir) return mt;
838
+ var yt, ir;
839
+ function mn() {
840
+ if (ir) return yt;
842
841
  ir = 1;
843
842
  var r = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
844
843
  function n(i) {
@@ -868,7 +867,7 @@ function yn() {
868
867
  return !1;
869
868
  }
870
869
  }
871
- return mt = o() ? Object.assign : function(i, a) {
870
+ return yt = o() ? Object.assign : function(i, a) {
872
871
  for (var c, u = n(i), l, f = 1; f < arguments.length; f++) {
873
872
  c = Object(arguments[f]);
874
873
  for (var p in c)
@@ -880,7 +879,7 @@ function yn() {
880
879
  }
881
880
  }
882
881
  return u;
883
- }, mt;
882
+ }, yt;
884
883
  }
885
884
  var gt, sr;
886
885
  function Nt() {
@@ -894,7 +893,7 @@ function Or() {
894
893
  return ar || (ar = 1, Tt = Function.call.bind(Object.prototype.hasOwnProperty)), Tt;
895
894
  }
896
895
  var Et, cr;
897
- function mn() {
896
+ function yn() {
898
897
  if (cr) return Et;
899
898
  cr = 1;
900
899
  var r = function() {
@@ -946,7 +945,7 @@ var bt, lr;
946
945
  function gn() {
947
946
  if (lr) return bt;
948
947
  lr = 1;
949
- var r = wr(), e = yn(), t = Nt(), n = Or(), o = mn(), i = function() {
948
+ var r = wr(), e = mn(), t = Nt(), n = Or(), o = yn(), i = function() {
950
949
  };
951
950
  process.env.NODE_ENV !== "production" && (i = function(c) {
952
951
  var u = "Warning: " + c;
@@ -1000,10 +999,10 @@ function gn() {
1000
999
  function k(P, S, C, O, j, A, G) {
1001
1000
  if (O = O || E, A = A || C, G !== t) {
1002
1001
  if (u) {
1003
- var y = new Error(
1002
+ var m = new Error(
1004
1003
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1005
1004
  );
1006
- throw y.name = "Invariant Violation", y;
1005
+ throw m.name = "Invariant Violation", m;
1007
1006
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1008
1007
  var ce = O + ":" + C;
1009
1008
  !g[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
@@ -1093,9 +1092,9 @@ function gn() {
1093
1092
  for (var C = T[k], O = 0; O < d.length; O++)
1094
1093
  if (R(C, d[O]))
1095
1094
  return null;
1096
- var j = JSON.stringify(d, function(G, y) {
1097
- var ce = ae(y);
1098
- return ce === "symbol" ? String(y) : y;
1095
+ var j = JSON.stringify(d, function(G, m) {
1096
+ var ce = ae(m);
1097
+ return ce === "symbol" ? String(m) : m;
1099
1098
  });
1100
1099
  return new I("Invalid " + P + " `" + S + "` of value `" + String(C) + "` " + ("supplied to `" + b + "`, expected one of " + j + "."));
1101
1100
  }
@@ -1130,10 +1129,10 @@ function gn() {
1130
1129
  }
1131
1130
  function k(b, P, S, C, O) {
1132
1131
  for (var j = [], A = 0; A < d.length; A++) {
1133
- var G = d[A], y = G(b, P, S, C, O, t);
1134
- if (y == null)
1132
+ var G = d[A], m = G(b, P, S, C, O, t);
1133
+ if (m == null)
1135
1134
  return null;
1136
- y.data && n(y.data, "expectedType") && j.push(y.data.expectedType);
1135
+ m.data && n(m.data, "expectedType") && j.push(m.data.expectedType);
1137
1136
  }
1138
1137
  var ce = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
1139
1138
  return new I("Invalid " + C + " `" + O + "` supplied to " + ("`" + S + "`" + ce + "."));
@@ -1183,9 +1182,9 @@ function gn() {
1183
1182
  "Invalid " + P + " `" + S + "` key `" + A + "` supplied to `" + b + "`.\nBad object: " + JSON.stringify(T[k], null, " ") + `
1184
1183
  Valid keys: ` + JSON.stringify(Object.keys(d), null, " ")
1185
1184
  );
1186
- var y = G(C, A, b, P, S + "." + A, t);
1187
- if (y)
1188
- return y;
1185
+ var m = G(C, A, b, P, S + "." + A, t);
1186
+ if (m)
1187
+ return m;
1189
1188
  }
1190
1189
  return null;
1191
1190
  }
@@ -1349,7 +1348,7 @@ var Cn = process.env.NODE_ENV !== "production" ? _.oneOfType([_.number, _.shape(
1349
1348
  exitDone: _.string,
1350
1349
  exitActive: _.string
1351
1350
  })]) : null;
1352
- const _r = me.createContext(null);
1351
+ const _r = ye.createContext(null);
1353
1352
  var Rr = function(e) {
1354
1353
  return e.scrollTop;
1355
1354
  }, $e = "unmounted", Se = "exited", Pe = "entering", Me = "entered", Mt = "exiting", he = /* @__PURE__ */ function(r) {
@@ -1474,12 +1473,12 @@ var Rr = function(e) {
1474
1473
  var c = xr(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
1475
1474
  return (
1476
1475
  // allows for nested Transitions
1477
- /* @__PURE__ */ me.createElement(_r.Provider, {
1476
+ /* @__PURE__ */ ye.createElement(_r.Provider, {
1478
1477
  value: null
1479
- }, typeof a == "function" ? a(o, c) : me.cloneElement(me.Children.only(a), c))
1478
+ }, typeof a == "function" ? a(o, c) : ye.cloneElement(ye.Children.only(a), c))
1480
1479
  );
1481
1480
  }, e;
1482
- }(me.Component);
1481
+ }(ye.Component);
1483
1482
  he.contextType = _r;
1484
1483
  he.propTypes = process.env.NODE_ENV !== "production" ? {
1485
1484
  /**
@@ -1728,7 +1727,7 @@ var On = function(e, t) {
1728
1727
  var o = this.props;
1729
1728
  o.classNames;
1730
1729
  var i = xr(o, ["classNames"]);
1731
- return /* @__PURE__ */ me.createElement(he, ot({}, i, {
1730
+ return /* @__PURE__ */ ye.createElement(he, ot({}, i, {
1732
1731
  onEnter: this.onEnter,
1733
1732
  onEntered: this.onEntered,
1734
1733
  onEntering: this.onEntering,
@@ -1737,7 +1736,7 @@ var On = function(e, t) {
1737
1736
  onExited: this.onExited
1738
1737
  }));
1739
1738
  }, e;
1740
- }(me.Component);
1739
+ }(ye.Component);
1741
1740
  it.defaultProps = {
1742
1741
  classNames: ""
1743
1742
  };
@@ -2103,7 +2102,7 @@ function vr(r) {
2103
2102
  };
2104
2103
  }
2105
2104
  Ie && Ie !== "standard" && "" + Ie.toLowerCase();
2106
- var Yn = ve("transform"), Br = ve("transition"), jn = pe && ve("perspective") in Lt, yr = pe && ("ontouchstart" in window || Rn), Nn = pe && Br in Lt, xe = {
2105
+ var Yn = ve("transform"), Br = ve("transition"), jn = pe && ve("perspective") in Lt, mr = pe && ("ontouchstart" in window || Rn), Nn = pe && Br in Lt, xe = {
2107
2106
  transform: Yn,
2108
2107
  transition: Br,
2109
2108
  transitionTimingFunction: ve("transitionTimingFunction"),
@@ -2121,7 +2120,7 @@ var Yn = ve("transform"), Br = ve("transition"), jn = pe && ve("perspective") in
2121
2120
  mousemove: 2,
2122
2121
  mouseup: 2
2123
2122
  };
2124
- function mr(r) {
2123
+ function yr(r) {
2125
2124
  if (r instanceof window.SVGElement) {
2126
2125
  var e = r.getBoundingClientRect();
2127
2126
  return {
@@ -2344,7 +2343,7 @@ var Te = (
2344
2343
  tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT|AUDIO)$/
2345
2344
  }, t.tagException = {
2346
2345
  tagName: /^TEXTAREA$/
2347
- }, t.HWCompositing = !0, t.useTransition = !0, t.bindToWrapper = !1, t.bindToTarget = !1, t.disableMouse = yr, t.disableTouch = !yr, t.autoBlur = !0, t.autoEndDistance = 5, t.outOfBoundaryDampingFactor = 1 / 3, t.specifiedIndexAsContent = 0, t.quadrant = 1, t;
2346
+ }, t.HWCompositing = !0, t.useTransition = !0, t.bindToWrapper = !1, t.bindToTarget = !1, t.disableMouse = mr, t.disableTouch = !mr, t.autoBlur = !0, t.autoEndDistance = 5, t.outOfBoundaryDampingFactor = 1 / 3, t.specifiedIndexAsContent = 0, t.quadrant = 1, t;
2348
2347
  }
2349
2348
  return e.prototype.merge = function(t) {
2350
2349
  if (!t)
@@ -2674,9 +2673,9 @@ var Tr = (
2674
2673
  var e = this.currentPos - this.absStartPos;
2675
2674
  this.setDirection(e);
2676
2675
  }, r.prototype.refresh = function(e) {
2677
- var t = this.options.rect, n = t.size, o = t.position, i = window.getComputedStyle(this.wrapper, null).position === "static", a = mr(this.wrapper);
2676
+ var t = this.options.rect, n = t.size, o = t.position, i = window.getComputedStyle(this.wrapper, null).position === "static", a = yr(this.wrapper);
2678
2677
  this.wrapperSize = this.wrapper[n === "width" ? "clientWidth" : "clientHeight"], this.setContent(e);
2679
- var c = mr(this.content);
2678
+ var c = yr(this.content);
2680
2679
  this.contentSize = c[n], this.relativeOffset = c[o], i && (this.relativeOffset -= a[o]), this.computeBoundary(), this.setDirection(
2681
2680
  0
2682
2681
  /* Default */
@@ -3301,21 +3300,21 @@ var uo = function(r, e) {
3301
3300
  }
3302
3301
  return !1;
3303
3302
  }();
3304
- function ye(r) {
3303
+ function me(r) {
3305
3304
  return Be === !1 ? r : Be === "standard" ? r === "transitionEnd" ? "transitionend" : r : Be + r.charAt(0).toUpperCase() + r.substr(1);
3306
3305
  }
3307
3306
  Be && Be !== "standard" && "" + Be.toLowerCase();
3308
- var fo = ye("transform"), ho = ye("transition");
3309
- Ve && ye("perspective") in Fr;
3307
+ var fo = me("transform"), ho = me("transition");
3308
+ Ve && me("perspective") in Fr;
3310
3309
  var wt = {
3311
3310
  transform: fo,
3312
3311
  transition: ho,
3313
- transitionTimingFunction: ye("transitionTimingFunction"),
3314
- transitionDuration: ye("transitionDuration"),
3315
- transitionDelay: ye("transitionDelay"),
3316
- transformOrigin: ye("transformOrigin"),
3317
- transitionEnd: ye("transitionEnd"),
3318
- transitionProperty: ye("transitionProperty")
3312
+ transitionTimingFunction: me("transitionTimingFunction"),
3313
+ transitionDuration: me("transitionDuration"),
3314
+ transitionDelay: me("transitionDelay"),
3315
+ transformOrigin: me("transformOrigin"),
3316
+ transitionEnd: me("transitionEnd"),
3317
+ transitionProperty: me("transitionProperty")
3319
3318
  };
3320
3319
  function rt(r, e) {
3321
3320
  var t = new RegExp("(^|\\s)" + e + "(\\s|$)");
@@ -3346,7 +3345,7 @@ var vo = {
3346
3345
  return 1 - --r * r * r * r;
3347
3346
  }
3348
3347
  }
3349
- }, yo = "plugins.wheel", mo = [
3348
+ }, mo = "plugins.wheel", yo = [
3350
3349
  {
3351
3350
  key: "wheelTo",
3352
3351
  name: "wheelTo"
@@ -3359,10 +3358,10 @@ var vo = {
3359
3358
  key: "restorePosition",
3360
3359
  name: "restorePosition"
3361
3360
  }
3362
- ], go = mo.map(function(r) {
3361
+ ], go = yo.map(function(r) {
3363
3362
  return {
3364
3363
  key: r.key,
3365
- sourceKey: yo + "." + r.name
3364
+ sourceKey: mo + "." + r.name
3366
3365
  };
3367
3366
  }), Pr = "wheelIndexChanged", To = {
3368
3367
  rate: 4
@@ -3694,7 +3693,7 @@ function Io({
3694
3693
  it,
3695
3694
  {
3696
3695
  in: e,
3697
- classNames: "fade",
3696
+ classNames: "component-hook-picker-fade",
3698
3697
  timeout: 300,
3699
3698
  nodeRef: E,
3700
3699
  unmountOnExit: !0,
@@ -3703,7 +3702,7 @@ function Io({
3703
3702
  {
3704
3703
  ref: E,
3705
3704
  role: "presentation",
3706
- className: "mask",
3705
+ className: "component-hook-picker-mask",
3707
3706
  onClick: $,
3708
3707
  onKeyDown: (V) => {
3709
3708
  V.key === "Escape" && $();
@@ -3716,7 +3715,7 @@ function Io({
3716
3715
  it,
3717
3716
  {
3718
3717
  in: e,
3719
- classNames: "slide",
3718
+ classNames: "component-hook-picker-slide",
3720
3719
  timeout: 300,
3721
3720
  nodeRef: p,
3722
3721
  onEnter: () => Z(""),
@@ -3725,14 +3724,14 @@ function Io({
3725
3724
  "div",
3726
3725
  {
3727
3726
  ref: p,
3728
- className: "picker",
3727
+ className: "component-hook-picker",
3729
3728
  style: { display: "none" },
3730
3729
  children: [
3731
- /* @__PURE__ */ J.jsxs("div", { className: "picker_title", children: [
3730
+ /* @__PURE__ */ J.jsxs("div", { className: "component-hook-picker_title", children: [
3732
3731
  /* @__PURE__ */ J.jsx(
3733
3732
  "button",
3734
3733
  {
3735
- className: `picker_cancel ${D.cancelClass}`,
3734
+ className: `component-hook-picker_cancel ${D.cancelClass}`,
3736
3735
  style: { color: H },
3737
3736
  onClick: I,
3738
3737
  children: D.cancelText
@@ -3741,7 +3740,7 @@ function Io({
3741
3740
  /* @__PURE__ */ J.jsx(
3742
3741
  "button",
3743
3742
  {
3744
- className: `picker_confirm ${D.confirmClass}`,
3743
+ className: `component-hook-picker_confirm ${D.confirmClass}`,
3745
3744
  style: { color: X },
3746
3745
  onClick: Y,
3747
3746
  children: D.confirmText
@@ -3756,24 +3755,24 @@ function Io({
3756
3755
  }
3757
3756
  )
3758
3757
  ] }),
3759
- /* @__PURE__ */ J.jsxs("div", { className: "picker_panel", children: [
3760
- /* @__PURE__ */ J.jsx("div", { className: "picker_mask_top" }),
3761
- /* @__PURE__ */ J.jsx("div", { className: "picker_mask_bottom" }),
3758
+ /* @__PURE__ */ J.jsxs("div", { className: "component-hook-picker_panel", children: [
3759
+ /* @__PURE__ */ J.jsx("div", { className: "component-hook-picker_mask_top" }),
3760
+ /* @__PURE__ */ J.jsx("div", { className: "component-hook-picker_mask_bottom" }),
3762
3761
  /* @__PURE__ */ J.jsx(
3763
3762
  "div",
3764
3763
  {
3765
3764
  ref: R,
3766
- className: "picker_wheel_wrapper",
3765
+ className: "component-hook-picker_wheel_wrapper",
3767
3766
  children: w.map((V, re) => /* @__PURE__ */ J.jsx(
3768
3767
  "div",
3769
3768
  {
3770
- className: "picker_wheel",
3771
- children: /* @__PURE__ */ J.jsx("ul", { className: "picker_wheel_scroll", children: V.map((oe, ue) => {
3769
+ className: "component-hook-picker_wheel",
3770
+ children: /* @__PURE__ */ J.jsx("ul", { className: "component-hook-picker_wheel_scroll", children: V.map((oe, ue) => {
3772
3771
  const ie = te[re] && ko(oe) ? oe[te[re]] : oe;
3773
3772
  return !bo(ie) && !$r(ie) ? null : /* @__PURE__ */ J.jsx(
3774
3773
  "li",
3775
3774
  {
3776
- className: "picker_wheel_item",
3775
+ className: "component-hook-picker_wheel_item",
3777
3776
  children: ie
3778
3777
  },
3779
3778
  ue