@xola/ui-kit 2.3.5 → 2.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/ui-kit.mjs CHANGED
@@ -4276,7 +4276,7 @@ const Ts = {}, Hs = {
4276
4276
  isRightDrawerOpen: m,
4277
4277
  handleDrawerStateChange: g
4278
4278
  }) => {
4279
- const { announcements: v, notices: C } = r != null ? r : {}, b = (C == null ? void 0 : C.count) <= 0 || !C, p = s && u;
4279
+ const { announcements: b, notices: C } = r != null ? r : {}, v = (C == null ? void 0 : C.count) <= 0 || !C, p = s && u;
4280
4280
  return /* @__PURE__ */ n.createElement(
4281
4281
  "div",
4282
4282
  {
@@ -4289,7 +4289,7 @@ const Ts = {}, Hs = {
4289
4289
  o
4290
4290
  )
4291
4291
  },
4292
- v || C ? /* @__PURE__ */ n.createElement(
4292
+ b || C ? /* @__PURE__ */ n.createElement(
4293
4293
  "div",
4294
4294
  {
4295
4295
  className: E(
@@ -4297,17 +4297,17 @@ const Ts = {}, Hs = {
4297
4297
  s && "sticky top-0 z-50 bg-black"
4298
4298
  )
4299
4299
  },
4300
- v && /* @__PURE__ */ n.createElement("div", { className: E("cursor-pointer sm:text-center", v.hide && "hidden") }, /* @__PURE__ */ n.createElement(In, { style: Hs, onClick: () => g("left") }, /* @__PURE__ */ n.createElement(Ra, { className: "mr-1 sm:hidden xl:block" }), v.count)),
4301
- C && /* @__PURE__ */ n.createElement("div", { className: E("ml-auto cursor-pointer sm:text-center", b && "hidden") }, /* @__PURE__ */ n.createElement(In, { className: "text-sm", onClick: () => g("right") }, /* @__PURE__ */ n.createElement(L1, { className: "sm:hidden xl:block" }), C.count))
4300
+ b && /* @__PURE__ */ n.createElement("div", { className: E("cursor-pointer sm:text-center", b.hide && "hidden") }, /* @__PURE__ */ n.createElement(In, { style: Hs, onClick: () => g("left") }, /* @__PURE__ */ n.createElement(Ra, { className: "mr-1 sm:hidden xl:block" }), b.count)),
4301
+ C && /* @__PURE__ */ n.createElement("div", { className: E("ml-auto cursor-pointer sm:text-center", v && "hidden") }, /* @__PURE__ */ n.createElement(In, { className: "text-sm", onClick: () => g("right") }, /* @__PURE__ */ n.createElement(L1, { className: "sm:hidden xl:block" }), C.count))
4302
4302
  ) : null,
4303
- v && /* @__PURE__ */ n.createElement(
4303
+ b && /* @__PURE__ */ n.createElement(
4304
4304
  Dt,
4305
4305
  {
4306
4306
  classNames: { dialogContent: "md:left-24 xl:left-50" },
4307
4307
  position: "left",
4308
4308
  size: "xl",
4309
- title: v.title,
4310
- content: v.content,
4309
+ title: b.title,
4310
+ content: b.content,
4311
4311
  isOpen: d,
4312
4312
  onClose: (f) => !!f && g("left")
4313
4313
  }
@@ -4762,15 +4762,15 @@ function N2(e) {
4762
4762
  }
4763
4763
  var V2 = N2, F2 = Q1, dn = Js, Vr = V2, S2 = "Expected a function", T2 = Math.max, H2 = Math.min;
4764
4764
  function R2(e, t, o) {
4765
- var a, r, i, l, s, u, d = 0, m = !1, g = !1, v = !0;
4765
+ var a, r, i, l, s, u, d = 0, m = !1, g = !1, b = !0;
4766
4766
  if (typeof e != "function")
4767
4767
  throw new TypeError(S2);
4768
- t = Vr(t) || 0, F2(o) && (m = !!o.leading, g = "maxWait" in o, i = g ? T2(Vr(o.maxWait) || 0, t) : i, v = "trailing" in o ? !!o.trailing : v);
4768
+ t = Vr(t) || 0, F2(o) && (m = !!o.leading, g = "maxWait" in o, i = g ? T2(Vr(o.maxWait) || 0, t) : i, b = "trailing" in o ? !!o.trailing : b);
4769
4769
  function C(k) {
4770
4770
  var A = a, M = r;
4771
4771
  return a = r = void 0, d = k, l = e.apply(M, A), l;
4772
4772
  }
4773
- function b(k) {
4773
+ function v(k) {
4774
4774
  return d = k, s = setTimeout(w, t), m ? C(k) : l;
4775
4775
  }
4776
4776
  function p(k) {
@@ -4788,7 +4788,7 @@ function R2(e, t, o) {
4788
4788
  s = setTimeout(w, p(k));
4789
4789
  }
4790
4790
  function y(k) {
4791
- return s = void 0, v && a ? C(k) : (a = r = void 0, l);
4791
+ return s = void 0, b && a ? C(k) : (a = r = void 0, l);
4792
4792
  }
4793
4793
  function I() {
4794
4794
  s !== void 0 && clearTimeout(s), d = 0, a = u = r = s = void 0;
@@ -4800,7 +4800,7 @@ function R2(e, t, o) {
4800
4800
  var k = dn(), A = f(k);
4801
4801
  if (a = arguments, r = this, u = k, A) {
4802
4802
  if (s === void 0)
4803
- return b(u);
4803
+ return v(u);
4804
4804
  if (g)
4805
4805
  return clearTimeout(s), s = setTimeout(w, t), C(u);
4806
4806
  }
@@ -4866,9 +4866,9 @@ const j2 = G2((e, t) => e(t), 500), eo = ({
4866
4866
  shouldDestroyOnClose: d = !0,
4867
4867
  shouldHideMenu: m = !1,
4868
4868
  minChars: g = 0,
4869
- ...v
4869
+ ...b
4870
4870
  }) => {
4871
- const [C, b] = ie(!0), [p, f] = ie(o != null ? o : ""), w = fe(), y = kn("search-input"), I = kn("search-menu"), L = z2(), [x, k] = ie(!0), A = { value: p }, M = p ? [A, ...t] : [], B = ({ selectedItem: W, type: ae }) => {
4871
+ const [C, v] = ie(!0), [p, f] = ie(o != null ? o : ""), w = fe(), y = kn("search-input"), I = kn("search-menu"), L = z2(), [x, k] = ie(!0), A = { value: p }, M = p ? [A, ...t] : [], B = ({ selectedItem: W, type: ae }) => {
4872
4872
  ae !== un.stateChangeTypes.InputBlur && ae !== un.stateChangeTypes.FunctionCloseMenu && (W === A ? (r == null || r(p), w.current.blur()) : W && (i == null || i(W), w.current.blur()), ne());
4873
4873
  }, z = ({ inputValue: W }) => {
4874
4874
  f(W), a && j2(a, W);
@@ -4893,7 +4893,7 @@ const j2 = G2((e, t) => e(t), 500), eo = ({
4893
4893
  V ? k(!1) : setTimeout(() => k(!0), 1);
4894
4894
  }, [V, k]);
4895
4895
  const te = () => {
4896
- b(!1), F();
4896
+ v(!1), F();
4897
4897
  }, re = (V || !x || u) && M.length > 0 && !m, ce = re && !s && M.length <= 1 && p.length >= g;
4898
4898
  Er(Vt ? "cmd+k" : "ctrl+k", (W) => {
4899
4899
  W.preventDefault(), w.current.focus();
@@ -4912,9 +4912,9 @@ const j2 = G2((e, t) => e(t), 500), eo = ({
4912
4912
  ),
4913
4913
  ref: w,
4914
4914
  onFocus: te,
4915
- onBlur: () => b(!0),
4915
+ onBlur: () => v(!0),
4916
4916
  onChange: (W) => f(W.target.value),
4917
- ...v
4917
+ ...b
4918
4918
  })
4919
4919
  }
4920
4920
  ), /* @__PURE__ */ n.createElement("div", { className: "pointer-events-none absolute inset-y-0 right-0 hidden items-center space-x-1 pr-3 lg:flex" }, L && C ? /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(We, { char: "cmd" }), " ", /* @__PURE__ */ n.createElement(We, { char: "K" })) : null)), /* @__PURE__ */ n.createElement(
@@ -5130,8 +5130,8 @@ const lo = {
5130
5130
  const m = () => {
5131
5131
  if (!Cr(i))
5132
5132
  return;
5133
- let v = i;
5134
- return l && (v = v.replace(new RegExp(`^${l}`), "")), s && (v = v.replace(new RegExp(`${s}$`), "")), v.replace(/[^.\S]+/g, "").replace(/[\p{Sc}]/u, "");
5133
+ let b = i;
5134
+ return l && (b = b.replace(new RegExp(`^${l}`), "")), s && (b = b.replace(new RegExp(`${s}$`), "")), b.replace(/[^.\S]+/g, "").replace(/[\p{Sc}]/u, "");
5135
5135
  }, g = Cr(i) ? xr(m()) : xr(i == null ? void 0 : i.toString());
5136
5136
  return /* @__PURE__ */ n.createElement("div", { className: "relative flex w-full items-center" }, /* @__PURE__ */ n.createElement(
5137
5137
  e,
@@ -5562,10 +5562,10 @@ function vl(e) {
5562
5562
  return bo(Tt("", null, null, null, [""], e = vo(e), 0, [0], e));
5563
5563
  }
5564
5564
  function Tt(e, t, o, a, r, i, l, s, u) {
5565
- for (var d = 0, m = 0, g = l, v = 0, C = 0, b = 0, p = 1, f = 1, w = 1, y = 0, I = "", L = r, x = i, k = a, A = I; f; )
5566
- switch (b = y, y = be()) {
5565
+ for (var d = 0, m = 0, g = l, b = 0, C = 0, v = 0, p = 1, f = 1, w = 1, y = 0, I = "", L = r, x = i, k = a, A = I; f; )
5566
+ switch (v = y, y = be()) {
5567
5567
  case 40:
5568
- if (b != 108 && de(A, g - 1) == 58) {
5568
+ if (v != 108 && de(A, g - 1) == 58) {
5569
5569
  Bn(A += Q(St(y), "&", "&\f"), "&\f") != -1 && (w = -1);
5570
5570
  break;
5571
5571
  }
@@ -5578,7 +5578,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
5578
5578
  case 10:
5579
5579
  case 13:
5580
5580
  case 32:
5581
- A += pl(b);
5581
+ A += pl(v);
5582
5582
  break;
5583
5583
  case 92:
5584
5584
  A += hl(Ft() - 1, 7);
@@ -5612,7 +5612,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
5612
5612
  if (m === 0)
5613
5613
  Tt(A, t, k, k, L, i, g, s, x);
5614
5614
  else
5615
- switch (v === 99 && de(A, 3) === 110 ? 100 : v) {
5615
+ switch (b === 99 && de(A, 3) === 110 ? 100 : b) {
5616
5616
  case 100:
5617
5617
  case 109:
5618
5618
  case 115:
@@ -5625,7 +5625,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
5625
5625
  d = m = C = 0, p = w = 1, I = A = "", g = l;
5626
5626
  break;
5627
5627
  case 58:
5628
- g = 1 + Ie(A), C = b;
5628
+ g = 1 + Ie(A), C = v;
5629
5629
  default:
5630
5630
  if (p < 1) {
5631
5631
  if (y == 123)
@@ -5641,18 +5641,18 @@ function Tt(e, t, o, a, r, i, l, s, u) {
5641
5641
  s[d++] = (Ie(A) - 1) * w, w = 1;
5642
5642
  break;
5643
5643
  case 64:
5644
- Ae() === 45 && (A += St(be())), v = Ae(), m = g = Ie(I = A += fl(Ft())), y++;
5644
+ Ae() === 45 && (A += St(be())), b = Ae(), m = g = Ie(I = A += fl(Ft())), y++;
5645
5645
  break;
5646
5646
  case 45:
5647
- b === 45 && Ie(A) == 2 && (p = 0);
5647
+ v === 45 && Ie(A) == 2 && (p = 0);
5648
5648
  }
5649
5649
  }
5650
5650
  return i;
5651
5651
  }
5652
5652
  function Tr(e, t, o, a, r, i, l, s, u, d, m) {
5653
- for (var g = r - 1, v = r === 0 ? i : [""], C = sr(v), b = 0, p = 0, f = 0; b < a; ++b)
5654
- for (var w = 0, y = vt(e, g + 1, g = il(p = l[b])), I = e; w < C; ++w)
5655
- (I = go(p > 0 ? v[w] + " " + y : Q(y, /&\f/g, v[w]))) && (u[f++] = I);
5653
+ for (var g = r - 1, b = r === 0 ? i : [""], C = sr(b), v = 0, p = 0, f = 0; v < a; ++v)
5654
+ for (var w = 0, y = vt(e, g + 1, g = il(p = l[v])), I = e; w < C; ++w)
5655
+ (I = go(p > 0 ? b[w] + " " + y : Q(y, /&\f/g, b[w]))) && (u[f++] = I);
5656
5656
  return sn(e, t, o, r === 0 ? ar : s, u, d, m);
5657
5657
  }
5658
5658
  function bl(e, t, o) {
@@ -5949,7 +5949,7 @@ If multiple caches share the same key they might "fight" for each other's style
5949
5949
  var u, d = [Ll, Al];
5950
5950
  process.env.NODE_ENV !== "production" && d.push(Nl({
5951
5951
  get compat() {
5952
- return b.compat;
5952
+ return v.compat;
5953
5953
  }
5954
5954
  }), Fl);
5955
5955
  {
@@ -5957,18 +5957,18 @@ If multiple caches share the same key they might "fight" for each other's style
5957
5957
  p.root || (p.return ? m.insert(p.return) : p.value && p.type !== or && m.insert(p.value + "{}"));
5958
5958
  } : xl(function(p) {
5959
5959
  m.insert(p);
5960
- })], v = Cl(d.concat(r, g)), C = function(f) {
5961
- return nt(vl(f), v);
5960
+ })], b = Cl(d.concat(r, g)), C = function(f) {
5961
+ return nt(vl(f), b);
5962
5962
  };
5963
5963
  u = function(f, w, y, I) {
5964
5964
  m = y, process.env.NODE_ENV !== "production" && w.map !== void 0 && (m = {
5965
5965
  insert: function(x) {
5966
5966
  y.insert(x + w.map);
5967
5967
  }
5968
- }), C(f ? f + "{" + w.styles + "}" : w.styles), I && (b.inserted[w.name] = !0);
5968
+ }), C(f ? f + "{" + w.styles + "}" : w.styles), I && (v.inserted[w.name] = !0);
5969
5969
  };
5970
5970
  }
5971
- var b = {
5971
+ var v = {
5972
5972
  key: o,
5973
5973
  sheet: new ol({
5974
5974
  key: o,
@@ -5983,7 +5983,7 @@ If multiple caches share the same key they might "fight" for each other's style
5983
5983
  registered: {},
5984
5984
  insert: u
5985
5985
  };
5986
- return b.sheet.hydrate(s), b;
5986
+ return v.sheet.hydrate(s), v;
5987
5987
  }, xo = { exports: {} }, J = {};
5988
5988
  /** @license React v16.13.1
5989
5989
  * react-is.production.min.js
@@ -5998,7 +5998,7 @@ function Rl() {
5998
5998
  if (Dr)
5999
5999
  return J;
6000
6000
  Dr = 1;
6001
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
6001
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
6002
6002
  function I(x) {
6003
6003
  if (typeof x == "object" && x !== null) {
6004
6004
  var k = x.$$typeof;
@@ -6016,7 +6016,7 @@ function Rl() {
6016
6016
  switch (x = x && x.$$typeof, x) {
6017
6017
  case s:
6018
6018
  case m:
6019
- case b:
6019
+ case v:
6020
6020
  case C:
6021
6021
  case l:
6022
6022
  return x;
@@ -6032,7 +6032,7 @@ function Rl() {
6032
6032
  function L(x) {
6033
6033
  return I(x) === d;
6034
6034
  }
6035
- return J.AsyncMode = u, J.ConcurrentMode = d, J.ContextConsumer = s, J.ContextProvider = l, J.Element = t, J.ForwardRef = m, J.Fragment = a, J.Lazy = b, J.Memo = C, J.Portal = o, J.Profiler = i, J.StrictMode = r, J.Suspense = g, J.isAsyncMode = function(x) {
6035
+ return J.AsyncMode = u, J.ConcurrentMode = d, J.ContextConsumer = s, J.ContextProvider = l, J.Element = t, J.ForwardRef = m, J.Fragment = a, J.Lazy = v, J.Memo = C, J.Portal = o, J.Profiler = i, J.StrictMode = r, J.Suspense = g, J.isAsyncMode = function(x) {
6036
6036
  return L(x) || I(x) === u;
6037
6037
  }, J.isConcurrentMode = L, J.isContextConsumer = function(x) {
6038
6038
  return I(x) === s;
@@ -6045,7 +6045,7 @@ function Rl() {
6045
6045
  }, J.isFragment = function(x) {
6046
6046
  return I(x) === a;
6047
6047
  }, J.isLazy = function(x) {
6048
- return I(x) === b;
6048
+ return I(x) === v;
6049
6049
  }, J.isMemo = function(x) {
6050
6050
  return I(x) === C;
6051
6051
  }, J.isPortal = function(x) {
@@ -6057,7 +6057,7 @@ function Rl() {
6057
6057
  }, J.isSuspense = function(x) {
6058
6058
  return I(x) === g;
6059
6059
  }, J.isValidElementType = function(x) {
6060
- return typeof x == "string" || typeof x == "function" || x === a || x === d || x === i || x === r || x === g || x === v || typeof x == "object" && x !== null && (x.$$typeof === b || x.$$typeof === C || x.$$typeof === l || x.$$typeof === s || x.$$typeof === m || x.$$typeof === f || x.$$typeof === w || x.$$typeof === y || x.$$typeof === p);
6060
+ return typeof x == "string" || typeof x == "function" || x === a || x === d || x === i || x === r || x === g || x === b || typeof x == "object" && x !== null && (x.$$typeof === v || x.$$typeof === C || x.$$typeof === l || x.$$typeof === s || x.$$typeof === m || x.$$typeof === f || x.$$typeof === w || x.$$typeof === y || x.$$typeof === p);
6061
6061
  }, J.typeOf = I, J;
6062
6062
  }
6063
6063
  var U = {};
@@ -6072,9 +6072,9 @@ var U = {};
6072
6072
  var zr;
6073
6073
  function Gl() {
6074
6074
  return zr || (zr = 1, process.env.NODE_ENV !== "production" && function() {
6075
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
6075
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, p = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
6076
6076
  function I(N) {
6077
- return typeof N == "string" || typeof N == "function" || N === a || N === d || N === i || N === r || N === g || N === v || typeof N == "object" && N !== null && (N.$$typeof === b || N.$$typeof === C || N.$$typeof === l || N.$$typeof === s || N.$$typeof === m || N.$$typeof === f || N.$$typeof === w || N.$$typeof === y || N.$$typeof === p);
6077
+ return typeof N == "string" || typeof N == "function" || N === a || N === d || N === i || N === r || N === g || N === b || typeof N == "object" && N !== null && (N.$$typeof === v || N.$$typeof === C || N.$$typeof === l || N.$$typeof === s || N.$$typeof === m || N.$$typeof === f || N.$$typeof === w || N.$$typeof === y || N.$$typeof === p);
6078
6078
  }
6079
6079
  function L(N) {
6080
6080
  if (typeof N == "object" && N !== null) {
@@ -6095,7 +6095,7 @@ function Gl() {
6095
6095
  switch (He) {
6096
6096
  case s:
6097
6097
  case m:
6098
- case b:
6098
+ case v:
6099
6099
  case C:
6100
6100
  case l:
6101
6101
  return He;
@@ -6108,7 +6108,7 @@ function Gl() {
6108
6108
  }
6109
6109
  }
6110
6110
  }
6111
- var x = u, k = d, A = s, M = l, B = t, z = m, V = a, F = b, j = C, D = o, O = i, K = r, $ = g, ne = !1;
6111
+ var x = u, k = d, A = s, M = l, B = t, z = m, V = a, F = v, j = C, D = o, O = i, K = r, $ = g, ne = !1;
6112
6112
  function te(N) {
6113
6113
  return ne || (ne = !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.")), re(N) || L(N) === u;
6114
6114
  }
@@ -6131,7 +6131,7 @@ function Gl() {
6131
6131
  return L(N) === a;
6132
6132
  }
6133
6133
  function P(N) {
6134
- return L(N) === b;
6134
+ return L(N) === v;
6135
6135
  }
6136
6136
  function oe(N) {
6137
6137
  return L(N) === C;
@@ -6327,9 +6327,9 @@ function wt(e, t, o) {
6327
6327
  }
6328
6328
  case "string":
6329
6329
  if (process.env.NODE_ENV !== "production") {
6330
- var s = [], u = o.replace(ko, function(m, g, v) {
6330
+ var s = [], u = o.replace(ko, function(m, g, b) {
6331
6331
  var C = "animation" + s.length;
6332
- return s.push("const " + C + " = keyframes`" + v.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + C + "}";
6332
+ return s.push("const " + C + " = keyframes`" + b.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + C + "}";
6333
6333
  });
6334
6334
  s.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(s, ["`" + u + "`"]).join(`
6335
6335
  `) + `
@@ -6389,8 +6389,8 @@ var Ee, Ct = function(t, o, a) {
6389
6389
  for (var s = 1; s < t.length; s++)
6390
6390
  i += wt(a, o, t[s]), r && (process.env.NODE_ENV !== "production" && l[s] === void 0 && console.error(Or), i += l[s]);
6391
6391
  var u;
6392
- process.env.NODE_ENV !== "production" && (i = i.replace(Ao, function(v) {
6393
- return u = v, "";
6392
+ process.env.NODE_ENV !== "production" && (i = i.replace(Ao, function(b) {
6393
+ return u = b, "";
6394
6394
  })), Zr.lastIndex = 0;
6395
6395
  for (var d = "", m; (m = Zr.exec(i)) !== null; )
6396
6396
  d += "-" + m[1];
@@ -6696,8 +6696,8 @@ var cc = function(t) {
6696
6696
  throw new Error("css can only be used during render");
6697
6697
  for (var d = arguments.length, m = new Array(d), g = 0; g < d; g++)
6698
6698
  m[g] = arguments[g];
6699
- var v = Ct(m, t.registered);
6700
- return a.push(v), lr(t, v, !1), t.key + "-" + v.name;
6699
+ var b = Ct(m, t.registered);
6700
+ return a.push(b), lr(t, b, !1), t.key + "-" + b.name;
6701
6701
  }, i = function() {
6702
6702
  if (o && process.env.NODE_ENV !== "production")
6703
6703
  throw new Error("cx can only be used during render");
@@ -6858,15 +6858,15 @@ function $r(e, t, o, a) {
6858
6858
  const u = e.getBoundingClientRect();
6859
6859
  let d = Sn;
6860
6860
  t && (a ? Pe(a) && (d = Kr(a)) : d = Kr(e));
6861
- const m = Pe(e) ? _e(e) : window, g = !bc() && o, v = (u.left + (g && (r = (i = m.visualViewport) == null ? void 0 : i.offsetLeft) != null ? r : 0)) / d.x, C = (u.top + (g && (l = (s = m.visualViewport) == null ? void 0 : s.offsetTop) != null ? l : 0)) / d.y, b = u.width / d.x, p = u.height / d.y;
6861
+ const m = Pe(e) ? _e(e) : window, g = !bc() && o, b = (u.left + (g && (r = (i = m.visualViewport) == null ? void 0 : i.offsetLeft) != null ? r : 0)) / d.x, C = (u.top + (g && (l = (s = m.visualViewport) == null ? void 0 : s.offsetTop) != null ? l : 0)) / d.y, v = u.width / d.x, p = u.height / d.y;
6862
6862
  return {
6863
- width: b,
6863
+ width: v,
6864
6864
  height: p,
6865
6865
  top: C,
6866
- right: v + b,
6866
+ right: b + v,
6867
6867
  bottom: C + p,
6868
- left: v,
6869
- x: v,
6868
+ left: b,
6869
+ x: b,
6870
6870
  y: C
6871
6871
  };
6872
6872
  }
@@ -6897,29 +6897,29 @@ function Ec(e, t, o, a) {
6897
6897
  elementResize: l = !0,
6898
6898
  animationFrame: s = !1
6899
6899
  } = a, u = r && !s, d = u || i ? [...Pe(e) ? Ht(e) : e.contextElement ? Ht(e.contextElement) : [], ...Ht(t)] : [];
6900
- d.forEach((b) => {
6901
- u && b.addEventListener("scroll", o, {
6900
+ d.forEach((v) => {
6901
+ u && v.addEventListener("scroll", o, {
6902
6902
  passive: !0
6903
- }), i && b.addEventListener("resize", o);
6903
+ }), i && v.addEventListener("resize", o);
6904
6904
  });
6905
6905
  let m = null;
6906
6906
  if (l) {
6907
- let b = !0;
6907
+ let v = !0;
6908
6908
  m = new ResizeObserver(() => {
6909
- b || o(), b = !1;
6909
+ v || o(), v = !1;
6910
6910
  }), Pe(e) && !s && m.observe(e), !Pe(e) && e.contextElement && !s && m.observe(e.contextElement), m.observe(t);
6911
6911
  }
6912
- let g, v = s ? $r(e) : null;
6912
+ let g, b = s ? $r(e) : null;
6913
6913
  s && C();
6914
6914
  function C() {
6915
- const b = $r(e);
6916
- v && (b.x !== v.x || b.y !== v.y || b.width !== v.width || b.height !== v.height) && o(), v = b, g = requestAnimationFrame(C);
6915
+ const v = $r(e);
6916
+ b && (v.x !== b.x || v.y !== b.y || v.width !== b.width || v.height !== b.height) && o(), b = v, g = requestAnimationFrame(C);
6917
6917
  }
6918
6918
  return o(), () => {
6919
- var b;
6919
+ var v;
6920
6920
  d.forEach((p) => {
6921
6921
  u && p.removeEventListener("scroll", o), i && p.removeEventListener("resize", o);
6922
- }), (b = m) == null || b.disconnect(), m = null, s && cancelAnimationFrame(g);
6922
+ }), (v = m) == null || v.disconnect(), m = null, s && cancelAnimationFrame(g);
6923
6923
  };
6924
6924
  }
6925
6925
  var Tn = C1, yc = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Xt = function() {
@@ -7054,16 +7054,16 @@ function Rc(e) {
7054
7054
  };
7055
7055
  if (!o || !o.offsetParent)
7056
7056
  return d;
7057
- var m = u.getBoundingClientRect(), g = m.height, v = o.getBoundingClientRect(), C = v.bottom, b = v.height, p = v.top, f = o.offsetParent.getBoundingClientRect(), w = f.top, y = l ? window.innerHeight : Lc(u), I = Do(u), L = parseInt(getComputedStyle(o).marginBottom, 10), x = parseInt(getComputedStyle(o).marginTop, 10), k = w - x, A = y - p, M = k + I, B = g - I - p, z = C - y + I + L, V = I + p - x, F = 160;
7057
+ var m = u.getBoundingClientRect(), g = m.height, b = o.getBoundingClientRect(), C = b.bottom, v = b.height, p = b.top, f = o.offsetParent.getBoundingClientRect(), w = f.top, y = l ? window.innerHeight : Lc(u), I = Do(u), L = parseInt(getComputedStyle(o).marginBottom, 10), x = parseInt(getComputedStyle(o).marginTop, 10), k = w - x, A = y - p, M = k + I, B = g - I - p, z = C - y + I + L, V = I + p - x, F = 160;
7058
7058
  switch (r) {
7059
7059
  case "auto":
7060
7060
  case "bottom":
7061
- if (A >= b)
7061
+ if (A >= v)
7062
7062
  return {
7063
7063
  placement: "bottom",
7064
7064
  maxHeight: t
7065
7065
  };
7066
- if (B >= b && !l)
7066
+ if (B >= v && !l)
7067
7067
  return i && Bt(u, z, F), {
7068
7068
  placement: "bottom",
7069
7069
  maxHeight: t
@@ -7090,12 +7090,12 @@ function Rc(e) {
7090
7090
  };
7091
7091
  break;
7092
7092
  case "top":
7093
- if (k >= b)
7093
+ if (k >= v)
7094
7094
  return {
7095
7095
  placement: "top",
7096
7096
  maxHeight: t
7097
7097
  };
7098
- if (M >= b && !l)
7098
+ if (M >= v && !l)
7099
7099
  return i && Bt(u, V, F), {
7100
7100
  placement: "top",
7101
7101
  maxHeight: t
@@ -7137,7 +7137,7 @@ var Oo = function(t) {
7137
7137
  marginTop: s.menuGutter
7138
7138
  });
7139
7139
  }, jo = /* @__PURE__ */ yt(null), zc = function(t) {
7140
- var o = t.children, a = t.minMenuHeight, r = t.maxMenuHeight, i = t.menuPlacement, l = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, d = De(jo) || {}, m = d.setPortalPlacement, g = fe(null), v = ie(r), C = Se(v, 2), b = C[0], p = C[1], f = ie(null), w = Se(f, 2), y = w[0], I = w[1], L = u.spacing.controlHeight;
7140
+ var o = t.children, a = t.minMenuHeight, r = t.maxMenuHeight, i = t.menuPlacement, l = t.menuPosition, s = t.menuShouldScrollIntoView, u = t.theme, d = De(jo) || {}, m = d.setPortalPlacement, g = fe(null), b = ie(r), C = Se(b, 2), v = C[0], p = C[1], f = ie(null), w = Se(f, 2), y = w[0], I = w[1], L = u.spacing.controlHeight;
7141
7141
  return Tn(function() {
7142
7142
  var x = g.current;
7143
7143
  if (!!x) {
@@ -7156,7 +7156,7 @@ var Oo = function(t) {
7156
7156
  ref: g,
7157
7157
  placerProps: H(H({}, t), {}, {
7158
7158
  placement: y || Oo(i),
7159
- maxHeight: b
7159
+ maxHeight: v
7160
7160
  })
7161
7161
  });
7162
7162
  }, Oc = function(t) {
@@ -7223,19 +7223,19 @@ var Xc = function(t) {
7223
7223
  zIndex: 1
7224
7224
  };
7225
7225
  }, Yc = function(t) {
7226
- var o = t.appendTo, a = t.children, r = t.controlElement, i = t.innerProps, l = t.menuPlacement, s = t.menuPosition, u = fe(null), d = fe(null), m = ie(Oo(l)), g = Se(m, 2), v = g[0], C = g[1], b = ye(function() {
7226
+ var o = t.appendTo, a = t.children, r = t.controlElement, i = t.innerProps, l = t.menuPlacement, s = t.menuPosition, u = fe(null), d = fe(null), m = ie(Oo(l)), g = Se(m, 2), b = g[0], C = g[1], v = ye(function() {
7227
7227
  return {
7228
7228
  setPortalPlacement: C
7229
7229
  };
7230
7230
  }, []), p = ie(null), f = Se(p, 2), w = f[0], y = f[1], I = me(function() {
7231
7231
  if (!!r) {
7232
- var A = Bc(r), M = s === "fixed" ? 0 : window.pageYOffset, B = A[v] + M;
7232
+ var A = Bc(r), M = s === "fixed" ? 0 : window.pageYOffset, B = A[b] + M;
7233
7233
  (B !== (w == null ? void 0 : w.offset) || A.left !== (w == null ? void 0 : w.rect.left) || A.width !== (w == null ? void 0 : w.rect.width)) && y({
7234
7234
  offset: B,
7235
7235
  rect: A
7236
7236
  });
7237
7237
  }
7238
- }, [r, s, v, w == null ? void 0 : w.offset, w == null ? void 0 : w.rect.left, w == null ? void 0 : w.rect.width]);
7238
+ }, [r, s, b, w == null ? void 0 : w.offset, w == null ? void 0 : w.rect.left, w == null ? void 0 : w.rect.width]);
7239
7239
  Tn(function() {
7240
7240
  I();
7241
7241
  }, [I]);
@@ -7262,7 +7262,7 @@ var Xc = function(t) {
7262
7262
  "menu-portal": !0
7263
7263
  }), i), a);
7264
7264
  return S(jo.Provider, {
7265
- value: b
7265
+ value: v
7266
7266
  }, o ? /* @__PURE__ */ Va(k, o) : k);
7267
7267
  }, Jc = function(t) {
7268
7268
  var o = t.isDisabled, a = t.isRtl;
@@ -7808,14 +7808,14 @@ var j3 = process.env.NODE_ENV === "production" ? {
7808
7808
  }
7809
7809
  },
7810
7810
  onFocus: function(t) {
7811
- var o = t.context, a = t.focused, r = t.options, i = t.label, l = i === void 0 ? "" : i, s = t.selectValue, u = t.isDisabled, d = t.isSelected, m = function(b, p) {
7812
- return b && b.length ? "".concat(b.indexOf(p) + 1, " of ").concat(b.length) : "";
7811
+ var o = t.context, a = t.focused, r = t.options, i = t.label, l = i === void 0 ? "" : i, s = t.selectValue, u = t.isDisabled, d = t.isSelected, m = function(v, p) {
7812
+ return v && v.length ? "".concat(v.indexOf(p) + 1, " of ").concat(v.length) : "";
7813
7813
  };
7814
7814
  if (o === "value" && s)
7815
7815
  return "value ".concat(l, " focused, ").concat(m(s, a), ".");
7816
7816
  if (o === "menu") {
7817
- var g = u ? " disabled" : "", v = "".concat(d ? "selected" : "focused").concat(g);
7818
- return "option ".concat(l, " ").concat(v, ", ").concat(m(r, a), ".");
7817
+ var g = u ? " disabled" : "", b = "".concat(d ? "selected" : "focused").concat(g);
7818
+ return "option ".concat(l, " ").concat(b, ", ").concat(m(r, a), ".");
7819
7819
  }
7820
7820
  return "";
7821
7821
  },
@@ -7824,7 +7824,7 @@ var j3 = process.env.NODE_ENV === "production" ? {
7824
7824
  return "".concat(a).concat(o ? " for search term " + o : "", ".");
7825
7825
  }
7826
7826
  }, Z3 = function(t) {
7827
- var o = t.ariaSelection, a = t.focusedOption, r = t.focusedValue, i = t.focusableOptions, l = t.isFocused, s = t.selectValue, u = t.selectProps, d = t.id, m = u.ariaLiveMessages, g = u.getOptionLabel, v = u.inputValue, C = u.isMulti, b = u.isOptionDisabled, p = u.isSearchable, f = u.menuIsOpen, w = u.options, y = u.screenReaderStatus, I = u.tabSelectsValue, L = u["aria-label"], x = u["aria-live"], k = ye(function() {
7827
+ var o = t.ariaSelection, a = t.focusedOption, r = t.focusedValue, i = t.focusableOptions, l = t.isFocused, s = t.selectValue, u = t.selectProps, d = t.id, m = u.ariaLiveMessages, g = u.getOptionLabel, b = u.inputValue, C = u.isMulti, v = u.isOptionDisabled, p = u.isSearchable, f = u.menuIsOpen, w = u.options, y = u.screenReaderStatus, I = u.tabSelectsValue, L = u["aria-label"], x = u["aria-live"], k = ye(function() {
7828
7828
  return H(H({}, W3), m || {});
7829
7829
  }, [m]), A = ye(function() {
7830
7830
  var D = "";
@@ -7832,20 +7832,20 @@ var j3 = process.env.NODE_ENV === "production" ? {
7832
7832
  var O = o.option, K = o.options, $ = o.removedValue, ne = o.removedValues, te = o.value, re = function(oe) {
7833
7833
  return Array.isArray(oe) ? null : oe;
7834
7834
  }, ce = $ || O || re(te), ee = ce ? g(ce) : "", W = K || ne || void 0, ae = W ? W.map(g) : [], R = H({
7835
- isDisabled: ce && b(ce, s),
7835
+ isDisabled: ce && v(ce, s),
7836
7836
  label: ee,
7837
7837
  labels: ae
7838
7838
  }, o);
7839
7839
  D = k.onChange(R);
7840
7840
  }
7841
7841
  return D;
7842
- }, [o, k, b, s, g]), M = ye(function() {
7842
+ }, [o, k, v, s, g]), M = ye(function() {
7843
7843
  var D = "", O = a || r, K = !!(a && s && s.includes(a));
7844
7844
  if (O && k.onFocus) {
7845
7845
  var $ = {
7846
7846
  focused: O,
7847
7847
  label: g(O),
7848
- isDisabled: b(O, s),
7848
+ isDisabled: v(O, s),
7849
7849
  isSelected: K,
7850
7850
  options: i,
7851
7851
  context: O === a ? "menu" : "value",
@@ -7854,33 +7854,33 @@ var j3 = process.env.NODE_ENV === "production" ? {
7854
7854
  D = k.onFocus($);
7855
7855
  }
7856
7856
  return D;
7857
- }, [a, r, g, b, k, i, s]), B = ye(function() {
7857
+ }, [a, r, g, v, k, i, s]), B = ye(function() {
7858
7858
  var D = "";
7859
7859
  if (f && w.length && k.onFilter) {
7860
7860
  var O = y({
7861
7861
  count: i.length
7862
7862
  });
7863
7863
  D = k.onFilter({
7864
- inputValue: v,
7864
+ inputValue: b,
7865
7865
  resultsMessage: O
7866
7866
  });
7867
7867
  }
7868
7868
  return D;
7869
- }, [i, v, f, k, w, y]), z = ye(function() {
7869
+ }, [i, b, f, k, w, y]), z = ye(function() {
7870
7870
  var D = "";
7871
7871
  if (k.guidance) {
7872
7872
  var O = r ? "value" : f ? "menu" : "input";
7873
7873
  D = k.guidance({
7874
7874
  "aria-label": L,
7875
7875
  context: O,
7876
- isDisabled: a && b(a, s),
7876
+ isDisabled: a && v(a, s),
7877
7877
  isMulti: C,
7878
7878
  isSearchable: p,
7879
7879
  tabSelectsValue: I
7880
7880
  });
7881
7881
  }
7882
7882
  return D;
7883
- }, [L, a, r, C, b, p, f, k, s, I]), V = "".concat(M, " ").concat(B, " ").concat(z), F = S(Ce, null, S("span", {
7883
+ }, [L, a, r, C, v, p, f, k, s, I]), V = "".concat(M, " ").concat(B, " ").concat(z), F = S(Ce, null, S("span", {
7884
7884
  id: "aria-selection"
7885
7885
  }, A), S("span", {
7886
7886
  id: "aria-context"
@@ -8206,29 +8206,29 @@ function q3(e) {
8206
8206
  }
8207
8207
  }, [o, a, r, i]), g = me(function(f) {
8208
8208
  m(f, f.deltaY);
8209
- }, [m]), v = me(function(f) {
8209
+ }, [m]), b = me(function(f) {
8210
8210
  u.current = f.changedTouches[0].clientY;
8211
8211
  }, []), C = me(function(f) {
8212
8212
  var w = u.current - f.changedTouches[0].clientY;
8213
8213
  m(f, w);
8214
- }, [m]), b = me(function(f) {
8214
+ }, [m]), v = me(function(f) {
8215
8215
  if (!!f) {
8216
8216
  var w = Fc ? {
8217
8217
  passive: !1
8218
8218
  } : !1;
8219
- f.addEventListener("wheel", g, w), f.addEventListener("touchstart", v, w), f.addEventListener("touchmove", C, w);
8219
+ f.addEventListener("wheel", g, w), f.addEventListener("touchstart", b, w), f.addEventListener("touchmove", C, w);
8220
8220
  }
8221
- }, [C, v, g]), p = me(function(f) {
8222
- !f || (f.removeEventListener("wheel", g, !1), f.removeEventListener("touchstart", v, !1), f.removeEventListener("touchmove", C, !1));
8223
- }, [C, v, g]);
8221
+ }, [C, b, g]), p = me(function(f) {
8222
+ !f || (f.removeEventListener("wheel", g, !1), f.removeEventListener("touchstart", b, !1), f.removeEventListener("touchmove", C, !1));
8223
+ }, [C, b, g]);
8224
8224
  return Re(function() {
8225
8225
  if (!!t) {
8226
8226
  var f = d.current;
8227
- return b(f), function() {
8227
+ return v(f), function() {
8228
8228
  p(f);
8229
8229
  };
8230
8230
  }
8231
- }, [t, b, p]), function(f) {
8231
+ }, [t, v, p]), function(f) {
8232
8232
  d.current = f;
8233
8233
  };
8234
8234
  }
@@ -8259,14 +8259,14 @@ function K3(e) {
8259
8259
  var t = e.isEnabled, o = e.accountForScrollbars, a = o === void 0 ? !0 : o, r = fe({}), i = fe(null), l = me(function(u) {
8260
8260
  if (!!m1) {
8261
8261
  var d = document.body, m = d && d.style;
8262
- if (a && i1.forEach(function(b) {
8263
- var p = m && m[b];
8264
- r.current[b] = p;
8262
+ if (a && i1.forEach(function(v) {
8263
+ var p = m && m[v];
8264
+ r.current[v] = p;
8265
8265
  }), a && ut < 1) {
8266
- var g = parseInt(r.current.paddingRight, 10) || 0, v = document.body ? document.body.clientWidth : 0, C = window.innerWidth - v + g || 0;
8267
- Object.keys(s1).forEach(function(b) {
8268
- var p = s1[b];
8269
- m && (m[b] = p);
8266
+ var g = parseInt(r.current.paddingRight, 10) || 0, b = document.body ? document.body.clientWidth : 0, C = window.innerWidth - b + g || 0;
8267
+ Object.keys(s1).forEach(function(v) {
8268
+ var p = s1[v];
8269
+ m && (m[v] = p);
8270
8270
  }), m && (m.paddingRight = "".concat(C, "px"));
8271
8271
  }
8272
8272
  d && d1() && (d.addEventListener("touchmove", l1, Ke), u && (u.addEventListener("touchstart", u1, Ke), u.addEventListener("touchmove", c1, Ke))), ut += 1;
@@ -8275,8 +8275,8 @@ function K3(e) {
8275
8275
  if (!!m1) {
8276
8276
  var d = document.body, m = d && d.style;
8277
8277
  ut = Math.max(ut - 1, 0), a && ut < 1 && i1.forEach(function(g) {
8278
- var v = r.current[g];
8279
- m && (m[g] = v);
8278
+ var b = r.current[g];
8279
+ m && (m[g] = b);
8280
8280
  }), d && d1() && (d.removeEventListener("touchmove", l1, Ke), u && (u.removeEventListener("touchstart", u1, Ke), u.removeEventListener("touchmove", c1, Ke)));
8281
8281
  }
8282
8282
  }, [a]);
@@ -8566,12 +8566,12 @@ var la = function(t) {
8566
8566
  var d = r.props, m = d.onChange, g = d.name;
8567
8567
  u.name = g, r.ariaOnChange(s, u), m(s, u);
8568
8568
  }, r.setValue = function(s, u, d) {
8569
- var m = r.props, g = m.closeMenuOnSelect, v = m.isMulti, C = m.inputValue;
8569
+ var m = r.props, g = m.closeMenuOnSelect, b = m.isMulti, C = m.inputValue;
8570
8570
  r.onInputChange("", {
8571
8571
  action: "set-value",
8572
8572
  prevInputValue: C
8573
8573
  }), g && (r.setState({
8574
- inputIsHiddenAfterUpdate: !v
8574
+ inputIsHiddenAfterUpdate: !b
8575
8575
  }), r.onMenuClose()), r.setState({
8576
8576
  clearFocusValueOnUpdate: !0
8577
8577
  }), r.onChange(s, {
@@ -8579,14 +8579,14 @@ var la = function(t) {
8579
8579
  option: d
8580
8580
  });
8581
8581
  }, r.selectOption = function(s) {
8582
- var u = r.props, d = u.blurInputOnSelect, m = u.isMulti, g = u.name, v = r.state.selectValue, C = m && r.isOptionSelected(s, v), b = r.isOptionDisabled(s, v);
8582
+ var u = r.props, d = u.blurInputOnSelect, m = u.isMulti, g = u.name, b = r.state.selectValue, C = m && r.isOptionSelected(s, b), v = r.isOptionDisabled(s, b);
8583
8583
  if (C) {
8584
8584
  var p = r.getOptionValue(s);
8585
- r.setValue(v.filter(function(f) {
8585
+ r.setValue(b.filter(function(f) {
8586
8586
  return r.getOptionValue(f) !== p;
8587
8587
  }), "deselect-option", s);
8588
- } else if (!b)
8589
- m ? r.setValue([].concat(ht(v), [s]), "select-option", s) : r.setValue(s, "select-option");
8588
+ } else if (!v)
8589
+ m ? r.setValue([].concat(ht(b), [s]), "select-option", s) : r.setValue(s, "select-option");
8590
8590
  else {
8591
8591
  r.ariaOnChange(s, {
8592
8592
  action: "select-option",
@@ -8599,8 +8599,8 @@ var la = function(t) {
8599
8599
  }, r.removeValue = function(s) {
8600
8600
  var u = r.props.isMulti, d = r.state.selectValue, m = r.getOptionValue(s), g = d.filter(function(C) {
8601
8601
  return r.getOptionValue(C) !== m;
8602
- }), v = pt(u, g, g[0] || null);
8603
- r.onChange(v, {
8602
+ }), b = pt(u, g, g[0] || null);
8603
+ r.onChange(b, {
8604
8604
  action: "remove-value",
8605
8605
  removedValue: s
8606
8606
  }), r.focusInput();
@@ -8684,8 +8684,8 @@ var la = function(t) {
8684
8684
  }, r.onTouchMove = function(s) {
8685
8685
  var u = s.touches, d = u && u.item(0);
8686
8686
  if (!!d) {
8687
- var m = Math.abs(d.clientX - r.initialTouchX), g = Math.abs(d.clientY - r.initialTouchY), v = 5;
8688
- r.userIsDragging = m > v || g > v;
8687
+ var m = Math.abs(d.clientX - r.initialTouchX), g = Math.abs(d.clientY - r.initialTouchY), b = 5;
8688
+ r.userIsDragging = m > b || g > b;
8689
8689
  }
8690
8690
  }, r.onTouchEnd = function(s) {
8691
8691
  r.userIsDragging || (r.controlRef && !r.controlRef.contains(s.target) && r.menuListRef && !r.menuListRef.contains(s.target) && r.blurInput(), r.initialTouchX = 0, r.initialTouchY = 0);
@@ -8730,22 +8730,22 @@ var la = function(t) {
8730
8730
  }, r.onValueInputFocus = function(s) {
8731
8731
  s.preventDefault(), s.stopPropagation(), r.focus();
8732
8732
  }, r.onKeyDown = function(s) {
8733
- var u = r.props, d = u.isMulti, m = u.backspaceRemovesValue, g = u.escapeClearsValue, v = u.inputValue, C = u.isClearable, b = u.isDisabled, p = u.menuIsOpen, f = u.onKeyDown, w = u.tabSelectsValue, y = u.openMenuOnFocus, I = r.state, L = I.focusedOption, x = I.focusedValue, k = I.selectValue;
8734
- if (!b && !(typeof f == "function" && (f(s), s.defaultPrevented))) {
8733
+ var u = r.props, d = u.isMulti, m = u.backspaceRemovesValue, g = u.escapeClearsValue, b = u.inputValue, C = u.isClearable, v = u.isDisabled, p = u.menuIsOpen, f = u.onKeyDown, w = u.tabSelectsValue, y = u.openMenuOnFocus, I = r.state, L = I.focusedOption, x = I.focusedValue, k = I.selectValue;
8734
+ if (!v && !(typeof f == "function" && (f(s), s.defaultPrevented))) {
8735
8735
  switch (r.blockOptionHover = !0, s.key) {
8736
8736
  case "ArrowLeft":
8737
- if (!d || v)
8737
+ if (!d || b)
8738
8738
  return;
8739
8739
  r.focusValue("previous");
8740
8740
  break;
8741
8741
  case "ArrowRight":
8742
- if (!d || v)
8742
+ if (!d || b)
8743
8743
  return;
8744
8744
  r.focusValue("next");
8745
8745
  break;
8746
8746
  case "Delete":
8747
8747
  case "Backspace":
8748
- if (v)
8748
+ if (b)
8749
8749
  return;
8750
8750
  if (x)
8751
8751
  r.removeValue(x);
@@ -8775,11 +8775,11 @@ var la = function(t) {
8775
8775
  inputIsHiddenAfterUpdate: !1
8776
8776
  }), r.onInputChange("", {
8777
8777
  action: "menu-close",
8778
- prevInputValue: v
8778
+ prevInputValue: b
8779
8779
  }), r.onMenuClose()) : C && g && r.clearValue();
8780
8780
  break;
8781
8781
  case " ":
8782
- if (v)
8782
+ if (b)
8783
8783
  return;
8784
8784
  if (!p) {
8785
8785
  r.openMenu("first");
@@ -8937,7 +8937,7 @@ var la = function(t) {
8937
8937
  }, {
8938
8938
  key: "getCommonProps",
8939
8939
  value: function() {
8940
- var r = this.clearValue, i = this.cx, l = this.getStyles, s = this.getClassNames, u = this.getValue, d = this.selectOption, m = this.setValue, g = this.props, v = g.isMulti, C = g.isRtl, b = g.options, p = this.hasValue();
8940
+ var r = this.clearValue, i = this.cx, l = this.getStyles, s = this.getClassNames, u = this.getValue, d = this.selectOption, m = this.setValue, g = this.props, b = g.isMulti, C = g.isRtl, v = g.options, p = this.hasValue();
8941
8941
  return {
8942
8942
  clearValue: r,
8943
8943
  cx: i,
@@ -8945,9 +8945,9 @@ var la = function(t) {
8945
8945
  getClassNames: s,
8946
8946
  getValue: u,
8947
8947
  hasValue: p,
8948
- isMulti: v,
8948
+ isMulti: b,
8949
8949
  isRtl: C,
8950
- options: b,
8950
+ options: v,
8951
8951
  selectOption: d,
8952
8952
  selectProps: g,
8953
8953
  setValue: m,
@@ -9027,7 +9027,7 @@ var la = function(t) {
9027
9027
  }, {
9028
9028
  key: "renderInput",
9029
9029
  value: function() {
9030
- var r = this.props, i = r.isDisabled, l = r.isSearchable, s = r.inputId, u = r.inputValue, d = r.tabIndex, m = r.form, g = r.menuIsOpen, v = r.required, C = this.getComponents(), b = C.Input, p = this.state, f = p.inputIsHidden, w = p.ariaSelection, y = this.commonProps, I = s || this.getElementId("input"), L = H(H(H({
9030
+ var r = this.props, i = r.isDisabled, l = r.isSearchable, s = r.inputId, u = r.inputValue, d = r.tabIndex, m = r.form, g = r.menuIsOpen, b = r.required, C = this.getComponents(), v = C.Input, p = this.state, f = p.inputIsHidden, w = p.ariaSelection, y = this.commonProps, I = s || this.getElementId("input"), L = H(H(H({
9031
9031
  "aria-autocomplete": "list",
9032
9032
  "aria-expanded": g,
9033
9033
  "aria-haspopup": !0,
@@ -9035,7 +9035,7 @@ var la = function(t) {
9035
9035
  "aria-invalid": this.props["aria-invalid"],
9036
9036
  "aria-label": this.props["aria-label"],
9037
9037
  "aria-labelledby": this.props["aria-labelledby"],
9038
- "aria-required": v,
9038
+ "aria-required": b,
9039
9039
  role: "combobox"
9040
9040
  }, g && {
9041
9041
  "aria-controls": this.getElementId("listbox"),
@@ -9047,7 +9047,7 @@ var la = function(t) {
9047
9047
  } : {
9048
9048
  "aria-describedby": this.getElementId("placeholder")
9049
9049
  });
9050
- return l ? /* @__PURE__ */ X.createElement(b, T({}, y, {
9050
+ return l ? /* @__PURE__ */ X.createElement(v, T({}, y, {
9051
9051
  autoCapitalize: "none",
9052
9052
  autoComplete: "off",
9053
9053
  autoCorrect: "off",
@@ -9079,9 +9079,9 @@ var la = function(t) {
9079
9079
  }, {
9080
9080
  key: "renderPlaceholderOrValue",
9081
9081
  value: function() {
9082
- var r = this, i = this.getComponents(), l = i.MultiValue, s = i.MultiValueContainer, u = i.MultiValueLabel, d = i.MultiValueRemove, m = i.SingleValue, g = i.Placeholder, v = this.commonProps, C = this.props, b = C.controlShouldRenderValue, p = C.isDisabled, f = C.isMulti, w = C.inputValue, y = C.placeholder, I = this.state, L = I.selectValue, x = I.focusedValue, k = I.isFocused;
9083
- if (!this.hasValue() || !b)
9084
- return w ? null : /* @__PURE__ */ X.createElement(g, T({}, v, {
9082
+ var r = this, i = this.getComponents(), l = i.MultiValue, s = i.MultiValueContainer, u = i.MultiValueLabel, d = i.MultiValueRemove, m = i.SingleValue, g = i.Placeholder, b = this.commonProps, C = this.props, v = C.controlShouldRenderValue, p = C.isDisabled, f = C.isMulti, w = C.inputValue, y = C.placeholder, I = this.state, L = I.selectValue, x = I.focusedValue, k = I.isFocused;
9083
+ if (!this.hasValue() || !v)
9084
+ return w ? null : /* @__PURE__ */ X.createElement(g, T({}, b, {
9085
9085
  key: "placeholder",
9086
9086
  isDisabled: p,
9087
9087
  isFocused: k,
@@ -9092,7 +9092,7 @@ var la = function(t) {
9092
9092
  if (f)
9093
9093
  return L.map(function(M, B) {
9094
9094
  var z = M === x, V = "".concat(r.getOptionLabel(M), "-").concat(r.getOptionValue(M));
9095
- return /* @__PURE__ */ X.createElement(l, T({}, v, {
9095
+ return /* @__PURE__ */ X.createElement(l, T({}, b, {
9096
9096
  components: {
9097
9097
  Container: s,
9098
9098
  Label: u,
@@ -9119,7 +9119,7 @@ var la = function(t) {
9119
9119
  if (w)
9120
9120
  return null;
9121
9121
  var A = L[0];
9122
- return /* @__PURE__ */ X.createElement(m, T({}, v, {
9122
+ return /* @__PURE__ */ X.createElement(m, T({}, b, {
9123
9123
  data: A,
9124
9124
  isDisabled: p
9125
9125
  }), this.formatOptionLabel(A, "value"));
@@ -9187,7 +9187,7 @@ var la = function(t) {
9187
9187
  }, {
9188
9188
  key: "renderMenu",
9189
9189
  value: function() {
9190
- var r = this, i = this.getComponents(), l = i.Group, s = i.GroupHeading, u = i.Menu, d = i.MenuList, m = i.MenuPortal, g = i.LoadingMessage, v = i.NoOptionsMessage, C = i.Option, b = this.commonProps, p = this.state.focusedOption, f = this.props, w = f.captureMenuScroll, y = f.inputValue, I = f.isLoading, L = f.loadingMessage, x = f.minMenuHeight, k = f.maxMenuHeight, A = f.menuIsOpen, M = f.menuPlacement, B = f.menuPosition, z = f.menuPortalTarget, V = f.menuShouldBlockScroll, F = f.menuShouldScrollIntoView, j = f.noOptionsMessage, D = f.onMenuScrollToTop, O = f.onMenuScrollToBottom;
9190
+ var r = this, i = this.getComponents(), l = i.Group, s = i.GroupHeading, u = i.Menu, d = i.MenuList, m = i.MenuPortal, g = i.LoadingMessage, b = i.NoOptionsMessage, C = i.Option, v = this.commonProps, p = this.state.focusedOption, f = this.props, w = f.captureMenuScroll, y = f.inputValue, I = f.isLoading, L = f.loadingMessage, x = f.minMenuHeight, k = f.maxMenuHeight, A = f.menuIsOpen, M = f.menuPlacement, B = f.menuPosition, z = f.menuPortalTarget, V = f.menuShouldBlockScroll, F = f.menuShouldScrollIntoView, j = f.noOptionsMessage, D = f.onMenuScrollToTop, O = f.onMenuScrollToBottom;
9191
9191
  if (!A)
9192
9192
  return null;
9193
9193
  var K = function(W, ae) {
@@ -9202,7 +9202,7 @@ var la = function(t) {
9202
9202
  onMouseOver: N,
9203
9203
  tabIndex: -1
9204
9204
  };
9205
- return /* @__PURE__ */ X.createElement(C, T({}, b, {
9205
+ return /* @__PURE__ */ X.createElement(C, T({}, v, {
9206
9206
  innerProps: He,
9207
9207
  data: P,
9208
9208
  isDisabled: oe,
@@ -9219,7 +9219,7 @@ var la = function(t) {
9219
9219
  $ = this.getCategorizedOptions().map(function(ee) {
9220
9220
  if (ee.type === "group") {
9221
9221
  var W = ee.data, ae = ee.options, R = ee.index, P = "".concat(r.getElementId("group"), "-").concat(R), oe = "".concat(P, "-heading");
9222
- return /* @__PURE__ */ X.createElement(l, T({}, b, {
9222
+ return /* @__PURE__ */ X.createElement(l, T({}, v, {
9223
9223
  key: P,
9224
9224
  data: W,
9225
9225
  options: ae,
@@ -9241,14 +9241,14 @@ var la = function(t) {
9241
9241
  });
9242
9242
  if (ne === null)
9243
9243
  return null;
9244
- $ = /* @__PURE__ */ X.createElement(g, b, ne);
9244
+ $ = /* @__PURE__ */ X.createElement(g, v, ne);
9245
9245
  } else {
9246
9246
  var te = j({
9247
9247
  inputValue: y
9248
9248
  });
9249
9249
  if (te === null)
9250
9250
  return null;
9251
- $ = /* @__PURE__ */ X.createElement(v, b, te);
9251
+ $ = /* @__PURE__ */ X.createElement(b, v, te);
9252
9252
  }
9253
9253
  var re = {
9254
9254
  minMenuHeight: x,
@@ -9256,9 +9256,9 @@ var la = function(t) {
9256
9256
  menuPlacement: M,
9257
9257
  menuPosition: B,
9258
9258
  menuShouldScrollIntoView: F
9259
- }, ce = /* @__PURE__ */ X.createElement(zc, T({}, b, re), function(ee) {
9259
+ }, ce = /* @__PURE__ */ X.createElement(zc, T({}, v, re), function(ee) {
9260
9260
  var W = ee.ref, ae = ee.placerProps, R = ae.placement, P = ae.maxHeight;
9261
- return /* @__PURE__ */ X.createElement(u, T({}, b, re, {
9261
+ return /* @__PURE__ */ X.createElement(u, T({}, v, re, {
9262
9262
  innerRef: W,
9263
9263
  innerProps: {
9264
9264
  onMouseDown: r.onMenuMouseDown,
@@ -9273,7 +9273,7 @@ var la = function(t) {
9273
9273
  onBottomArrive: O,
9274
9274
  lockEnabled: V
9275
9275
  }, function(oe) {
9276
- return /* @__PURE__ */ X.createElement(d, T({}, b, {
9276
+ return /* @__PURE__ */ X.createElement(d, T({}, v, {
9277
9277
  innerRef: function(we) {
9278
9278
  r.getMenuListRef(we), oe(we);
9279
9279
  },
@@ -9283,7 +9283,7 @@ var la = function(t) {
9283
9283
  }), $);
9284
9284
  }));
9285
9285
  });
9286
- return z || B === "fixed" ? /* @__PURE__ */ X.createElement(m, T({}, b, {
9286
+ return z || B === "fixed" ? /* @__PURE__ */ X.createElement(m, T({}, v, {
9287
9287
  appendTo: z,
9288
9288
  controlElement: this.controlRef,
9289
9289
  menuPlacement: M,
@@ -9302,13 +9302,13 @@ var la = function(t) {
9302
9302
  });
9303
9303
  if (u)
9304
9304
  if (l) {
9305
- var v = g.map(function(p) {
9305
+ var b = g.map(function(p) {
9306
9306
  return r.getOptionValue(p);
9307
9307
  }).join(l);
9308
9308
  return /* @__PURE__ */ X.createElement("input", {
9309
9309
  name: d,
9310
9310
  type: "hidden",
9311
- value: v
9311
+ value: b
9312
9312
  });
9313
9313
  } else {
9314
9314
  var C = g.length > 0 ? g.map(function(p, f) {
@@ -9326,11 +9326,11 @@ var la = function(t) {
9326
9326
  return /* @__PURE__ */ X.createElement("div", null, C);
9327
9327
  }
9328
9328
  else {
9329
- var b = g[0] ? this.getOptionValue(g[0]) : "";
9329
+ var v = g[0] ? this.getOptionValue(g[0]) : "";
9330
9330
  return /* @__PURE__ */ X.createElement("input", {
9331
9331
  name: d,
9332
9332
  type: "hidden",
9333
- value: b
9333
+ value: v
9334
9334
  });
9335
9335
  }
9336
9336
  }
@@ -9352,36 +9352,36 @@ var la = function(t) {
9352
9352
  }, {
9353
9353
  key: "render",
9354
9354
  value: function() {
9355
- var r = this.getComponents(), i = r.Control, l = r.IndicatorsContainer, s = r.SelectContainer, u = r.ValueContainer, d = this.props, m = d.className, g = d.id, v = d.isDisabled, C = d.menuIsOpen, b = this.state.isFocused, p = this.commonProps = this.getCommonProps();
9355
+ var r = this.getComponents(), i = r.Control, l = r.IndicatorsContainer, s = r.SelectContainer, u = r.ValueContainer, d = this.props, m = d.className, g = d.id, b = d.isDisabled, C = d.menuIsOpen, v = this.state.isFocused, p = this.commonProps = this.getCommonProps();
9356
9356
  return /* @__PURE__ */ X.createElement(s, T({}, p, {
9357
9357
  className: m,
9358
9358
  innerProps: {
9359
9359
  id: g,
9360
9360
  onKeyDown: this.onKeyDown
9361
9361
  },
9362
- isDisabled: v,
9363
- isFocused: b
9362
+ isDisabled: b,
9363
+ isFocused: v
9364
9364
  }), this.renderLiveRegion(), /* @__PURE__ */ X.createElement(i, T({}, p, {
9365
9365
  innerRef: this.getControlRef,
9366
9366
  innerProps: {
9367
9367
  onMouseDown: this.onControlMouseDown,
9368
9368
  onTouchEnd: this.onControlTouchEnd
9369
9369
  },
9370
- isDisabled: v,
9371
- isFocused: b,
9370
+ isDisabled: b,
9371
+ isFocused: v,
9372
9372
  menuIsOpen: C
9373
9373
  }), /* @__PURE__ */ X.createElement(u, T({}, p, {
9374
- isDisabled: v
9374
+ isDisabled: b
9375
9375
  }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ X.createElement(l, T({}, p, {
9376
- isDisabled: v
9376
+ isDisabled: b
9377
9377
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
9378
9378
  }
9379
9379
  }], [{
9380
9380
  key: "getDerivedStateFromProps",
9381
9381
  value: function(r, i) {
9382
- var l = i.prevProps, s = i.clearFocusValueOnUpdate, u = i.inputIsHiddenAfterUpdate, d = i.ariaSelection, m = i.isFocused, g = i.prevWasFocused, v = r.options, C = r.value, b = r.menuIsOpen, p = r.inputValue, f = r.isMulti, w = Yt(C), y = {};
9383
- if (l && (C !== l.value || v !== l.options || b !== l.menuIsOpen || p !== l.inputValue)) {
9384
- var I = b ? g4(r, w) : [], L = s ? f4(i, w) : null, x = v4(i, I);
9382
+ var l = i.prevProps, s = i.clearFocusValueOnUpdate, u = i.inputIsHiddenAfterUpdate, d = i.ariaSelection, m = i.isFocused, g = i.prevWasFocused, b = r.options, C = r.value, v = r.menuIsOpen, p = r.inputValue, f = r.isMulti, w = Yt(C), y = {};
9383
+ if (l && (C !== l.value || b !== l.options || v !== l.menuIsOpen || p !== l.inputValue)) {
9384
+ var I = v ? g4(r, w) : [], L = s ? f4(i, w) : null, x = v4(i, I);
9385
9385
  y = {
9386
9386
  selectValue: w,
9387
9387
  focusedOption: x,
@@ -9408,17 +9408,17 @@ var la = function(t) {
9408
9408
  ca.defaultProps = h4;
9409
9409
  var w4 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
9410
9410
  function C4(e) {
9411
- var t = e.defaultInputValue, o = t === void 0 ? "" : t, a = e.defaultMenuIsOpen, r = a === void 0 ? !1 : a, i = e.defaultValue, l = i === void 0 ? null : i, s = e.inputValue, u = e.menuIsOpen, d = e.onChange, m = e.onInputChange, g = e.onMenuClose, v = e.onMenuOpen, C = e.value, b = Qe(e, w4), p = ie(s !== void 0 ? s : o), f = Se(p, 2), w = f[0], y = f[1], I = ie(u !== void 0 ? u : r), L = Se(I, 2), x = L[0], k = L[1], A = ie(C !== void 0 ? C : l), M = Se(A, 2), B = M[0], z = M[1], V = me(function(ne, te) {
9411
+ var t = e.defaultInputValue, o = t === void 0 ? "" : t, a = e.defaultMenuIsOpen, r = a === void 0 ? !1 : a, i = e.defaultValue, l = i === void 0 ? null : i, s = e.inputValue, u = e.menuIsOpen, d = e.onChange, m = e.onInputChange, g = e.onMenuClose, b = e.onMenuOpen, C = e.value, v = Qe(e, w4), p = ie(s !== void 0 ? s : o), f = Se(p, 2), w = f[0], y = f[1], I = ie(u !== void 0 ? u : r), L = Se(I, 2), x = L[0], k = L[1], A = ie(C !== void 0 ? C : l), M = Se(A, 2), B = M[0], z = M[1], V = me(function(ne, te) {
9412
9412
  typeof d == "function" && d(ne, te), z(ne);
9413
9413
  }, [d]), F = me(function(ne, te) {
9414
9414
  var re;
9415
9415
  typeof m == "function" && (re = m(ne, te)), y(re !== void 0 ? re : ne);
9416
9416
  }, [m]), j = me(function() {
9417
- typeof v == "function" && v(), k(!0);
9418
- }, [v]), D = me(function() {
9417
+ typeof b == "function" && b(), k(!0);
9418
+ }, [b]), D = me(function() {
9419
9419
  typeof g == "function" && g(), k(!1);
9420
9420
  }, [g]), O = s !== void 0 ? s : w, K = u !== void 0 ? u : x, $ = C !== void 0 ? C : B;
9421
- return H(H({}, b), {}, {
9421
+ return H(H({}, v), {}, {
9422
9422
  inputValue: O,
9423
9423
  menuIsOpen: K,
9424
9424
  onChange: V,
@@ -9451,7 +9451,7 @@ var x4 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
9451
9451
  }
9452
9452
  };
9453
9453
  function E4(e) {
9454
- var t = e.allowCreateWhileLoading, o = t === void 0 ? !1 : t, a = e.createOptionPosition, r = a === void 0 ? "last" : a, i = e.formatCreateLabel, l = i === void 0 ? bn.formatCreateLabel : i, s = e.isValidNewOption, u = s === void 0 ? bn.isValidNewOption : s, d = e.getNewOptionData, m = d === void 0 ? bn.getNewOptionData : d, g = e.onCreateOption, v = e.options, C = v === void 0 ? [] : v, b = e.onChange, p = Qe(e, x4), f = p.getOptionValue, w = f === void 0 ? ea : f, y = p.getOptionLabel, I = y === void 0 ? $o : y, L = p.inputValue, x = p.isLoading, k = p.isMulti, A = p.value, M = p.name, B = ye(function() {
9454
+ var t = e.allowCreateWhileLoading, o = t === void 0 ? !1 : t, a = e.createOptionPosition, r = a === void 0 ? "last" : a, i = e.formatCreateLabel, l = i === void 0 ? bn.formatCreateLabel : i, s = e.isValidNewOption, u = s === void 0 ? bn.isValidNewOption : s, d = e.getNewOptionData, m = d === void 0 ? bn.getNewOptionData : d, g = e.onCreateOption, b = e.options, C = b === void 0 ? [] : b, v = e.onChange, p = Qe(e, x4), f = p.getOptionValue, w = f === void 0 ? ea : f, y = p.getOptionLabel, I = y === void 0 ? $o : y, L = p.inputValue, x = p.isLoading, k = p.isMulti, A = p.value, M = p.name, B = ye(function() {
9455
9455
  return u(L, Yt(A), C, {
9456
9456
  getOptionValue: w,
9457
9457
  getOptionLabel: I
@@ -9460,7 +9460,7 @@ function E4(e) {
9460
9460
  return (o || !x) && B ? r === "first" ? [B].concat(ht(C)) : [].concat(ht(C), [B]) : C;
9461
9461
  }, [o, r, x, B, C]), V = me(function(F, j) {
9462
9462
  if (j.action !== "select-option")
9463
- return b(F, j);
9463
+ return v(F, j);
9464
9464
  var D = Array.isArray(F) ? F : [F];
9465
9465
  if (D[D.length - 1] === B) {
9466
9466
  if (g)
@@ -9471,12 +9471,12 @@ function E4(e) {
9471
9471
  name: M,
9472
9472
  option: O
9473
9473
  };
9474
- b(pt(k, [].concat(ht(Yt(A)), [O]), O), K);
9474
+ v(pt(k, [].concat(ht(Yt(A)), [O]), O), K);
9475
9475
  }
9476
9476
  return;
9477
9477
  }
9478
- b(F, j);
9479
- }, [m, L, k, M, B, g, b, A]);
9478
+ v(F, j);
9479
+ }, [m, L, k, M, B, g, v, A]);
9480
9480
  return H(H({}, p), {}, {
9481
9481
  options: z,
9482
9482
  onChange: V
@@ -9633,8 +9633,8 @@ const A4 = ({
9633
9633
  onChange: m
9634
9634
  }) => {
9635
9635
  const g = u != null ? u : t.map(() => ({
9636
- from: (v) => v,
9637
- to: (v) => Math.round(v) + d
9636
+ from: (b) => b,
9637
+ to: (b) => Math.round(b) + d
9638
9638
  }));
9639
9639
  return /* @__PURE__ */ n.createElement(
9640
9640
  Fa,
@@ -9805,7 +9805,7 @@ const f1 = {
9805
9805
  const [d, m] = ie({ email: "", password: "", shouldRemember: !1, ...e }), g = (w) => {
9806
9806
  const { name: y, value: I } = w.target;
9807
9807
  m({ ...d, [y]: I });
9808
- }, v = (w) => {
9808
+ }, b = (w) => {
9809
9809
  const { name: y, checked: I } = w.target;
9810
9810
  m({ ...d, [y]: I });
9811
9811
  }, C = (w) => {
@@ -9851,7 +9851,7 @@ const f1 = {
9851
9851
  name: "shouldRemember",
9852
9852
  label: "Remember me",
9853
9853
  checked: d.shouldRemember,
9854
- onChange: v
9854
+ onChange: b
9855
9855
  }
9856
9856
  ), o ? /* @__PURE__ */ n.createElement(j1, { color: "danger" }, o) : null, /* @__PURE__ */ n.createElement(Te, { type: "submit", className: "w-full", color: "primary" }, t ? /* @__PURE__ */ n.createElement($t, { size: "current", color: "current", className: "mr-2" }) : null, "Login"), /* @__PURE__ */ n.createElement("div", { className: "mt-5 text-center text-sm" }, /* @__PURE__ */ n.createElement(
9857
9857
  "a",
@@ -9909,7 +9909,7 @@ var pa = { exports: {} };
9909
9909
  }], g = function(p) {
9910
9910
  var f = s[p];
9911
9911
  return f && (f.indexOf ? f : f.s.concat(f.f));
9912
- }, v = function(p, f) {
9912
+ }, b = function(p, f) {
9913
9913
  var w, y = s.meridiem;
9914
9914
  if (y) {
9915
9915
  for (var I = 1; I <= 24; I += 1)
@@ -9921,9 +9921,9 @@ var pa = { exports: {} };
9921
9921
  w = p === (f ? "pm" : "PM");
9922
9922
  return w;
9923
9923
  }, C = { A: [l, function(p) {
9924
- this.afternoon = v(p, !1);
9924
+ this.afternoon = b(p, !1);
9925
9925
  }], a: [l, function(p) {
9926
- this.afternoon = v(p, !0);
9926
+ this.afternoon = b(p, !0);
9927
9927
  }], S: [/\d/, function(p) {
9928
9928
  this.milliseconds = 100 * +p;
9929
9929
  }], SS: [r, function(p) {
@@ -9950,7 +9950,7 @@ var pa = { exports: {} };
9950
9950
  }], Y: [/[+-]?\d+/, d("year")], YY: [r, function(p) {
9951
9951
  this.year = u(p);
9952
9952
  }], YYYY: [/\d{4}/, d("year")], Z: m, ZZ: m };
9953
- function b(p) {
9953
+ function v(p) {
9954
9954
  var f, w;
9955
9955
  f = p, w = s && s.formats;
9956
9956
  for (var y = (p = f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, z, V) {
@@ -9994,7 +9994,7 @@ var pa = { exports: {} };
9994
9994
  try {
9995
9995
  if (["x", "X"].indexOf($) > -1)
9996
9996
  return new Date(($ === "X" ? 1e3 : 1) * K);
9997
- var te = b($)(K), re = te.year, ce = te.month, ee = te.day, W = te.hours, ae = te.minutes, R = te.seconds, P = te.milliseconds, oe = te.zone, ue = new Date(), we = ee || (re || ce ? 1 : ue.getDate()), Oe = re || ue.getFullYear(), Ne = 0;
9997
+ var te = v($)(K), re = te.year, ce = te.month, ee = te.day, W = te.hours, ae = te.minutes, R = te.seconds, P = te.milliseconds, oe = te.zone, ue = new Date(), we = ee || (re || ce ? 1 : ue.getDate()), Oe = re || ue.getFullYear(), Ne = 0;
9998
9998
  re && !ce || (Ne = ce > 0 ? ce - 1 : ue.getMonth());
9999
9999
  var N = W || 0, Ve = ae || 0, xe = R || 0, He = P || 0;
10000
10000
  return oe ? new Date(Date.UTC(Oe, Ne, we, N, Ve, xe, He + 60 * oe.offset * 1e3)) : ne ? new Date(Date.UTC(Oe, Ne, we, N, Ve, xe, He)) : new Date(Oe, Ne, we, N, Ve, xe, He);
@@ -10029,10 +10029,10 @@ var ha = { exports: {} };
10029
10029
  var l = r.prototype, s = l.format;
10030
10030
  i.en.formats = o, l.format = function(u) {
10031
10031
  u === void 0 && (u = "YYYY-MM-DDTHH:mm:ssZ");
10032
- var d = this.$locale().formats, m = function(g, v) {
10033
- return g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(C, b, p) {
10032
+ var d = this.$locale().formats, m = function(g, b) {
10033
+ return g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(C, v, p) {
10034
10034
  var f = p && p.toUpperCase();
10035
- return b || v[p] || o[p] || v[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(w, y, I) {
10035
+ return v || b[p] || o[p] || b[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(w, y, I) {
10036
10036
  return y || I.slice(1);
10037
10037
  });
10038
10038
  });
@@ -10060,10 +10060,10 @@ var ga = { exports: {} };
10060
10060
  };
10061
10061
  var u = l.startOf;
10062
10062
  l.startOf = function(d, m) {
10063
- var g = this.$utils(), v = !!g.u(m) || m;
10063
+ var g = this.$utils(), b = !!g.u(m) || m;
10064
10064
  if (g.p(d) === a) {
10065
10065
  var C = this.quarter() - 1;
10066
- return v ? this.month(3 * C).startOf(o).startOf("day") : this.month(3 * C + 2).endOf(o).endOf("day");
10066
+ return b ? this.month(3 * C).startOf(o).startOf("day") : this.month(3 * C + 2).endOf(o).endOf("day");
10067
10067
  }
10068
10068
  return u.bind(this)(d, m);
10069
10069
  };
@@ -10078,58 +10078,58 @@ var fa = { exports: {} };
10078
10078
  })(Fe, function() {
10079
10079
  var o = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
10080
10080
  return function(r, i, l) {
10081
- var s, u = function(v, C, b) {
10082
- b === void 0 && (b = {});
10083
- var p = new Date(v), f = function(w, y) {
10081
+ var s, u = function(b, C, v) {
10082
+ v === void 0 && (v = {});
10083
+ var p = new Date(b), f = function(w, y) {
10084
10084
  y === void 0 && (y = {});
10085
10085
  var I = y.timeZoneName || "short", L = w + "|" + I, x = a[L];
10086
10086
  return x || (x = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: w, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: I }), a[L] = x), x;
10087
- }(C, b);
10087
+ }(C, v);
10088
10088
  return f.formatToParts(p);
10089
- }, d = function(v, C) {
10090
- for (var b = u(v, C), p = [], f = 0; f < b.length; f += 1) {
10091
- var w = b[f], y = w.type, I = w.value, L = o[y];
10089
+ }, d = function(b, C) {
10090
+ for (var v = u(b, C), p = [], f = 0; f < v.length; f += 1) {
10091
+ var w = v[f], y = w.type, I = w.value, L = o[y];
10092
10092
  L >= 0 && (p[L] = parseInt(I, 10));
10093
10093
  }
10094
- var x = p[3], k = x === 24 ? 0 : x, A = p[0] + "-" + p[1] + "-" + p[2] + " " + k + ":" + p[4] + ":" + p[5] + ":000", M = +v;
10094
+ var x = p[3], k = x === 24 ? 0 : x, A = p[0] + "-" + p[1] + "-" + p[2] + " " + k + ":" + p[4] + ":" + p[5] + ":000", M = +b;
10095
10095
  return (l.utc(A).valueOf() - (M -= M % 1e3)) / 6e4;
10096
10096
  }, m = i.prototype;
10097
- m.tz = function(v, C) {
10098
- v === void 0 && (v = s);
10099
- var b = this.utcOffset(), p = this.toDate(), f = p.toLocaleString("en-US", { timeZone: v }), w = Math.round((p - new Date(f)) / 1e3 / 60), y = l(f, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(p.getTimezoneOffset() / 15) - w, !0);
10097
+ m.tz = function(b, C) {
10098
+ b === void 0 && (b = s);
10099
+ var v = this.utcOffset(), p = this.toDate(), f = p.toLocaleString("en-US", { timeZone: b }), w = Math.round((p - new Date(f)) / 1e3 / 60), y = l(f, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(p.getTimezoneOffset() / 15) - w, !0);
10100
10100
  if (C) {
10101
10101
  var I = y.utcOffset();
10102
- y = y.add(b - I, "minute");
10102
+ y = y.add(v - I, "minute");
10103
10103
  }
10104
- return y.$x.$timezone = v, y;
10105
- }, m.offsetName = function(v) {
10106
- var C = this.$x.$timezone || l.tz.guess(), b = u(this.valueOf(), C, { timeZoneName: v }).find(function(p) {
10104
+ return y.$x.$timezone = b, y;
10105
+ }, m.offsetName = function(b) {
10106
+ var C = this.$x.$timezone || l.tz.guess(), v = u(this.valueOf(), C, { timeZoneName: b }).find(function(p) {
10107
10107
  return p.type.toLowerCase() === "timezonename";
10108
10108
  });
10109
- return b && b.value;
10109
+ return v && v.value;
10110
10110
  };
10111
10111
  var g = m.startOf;
10112
- m.startOf = function(v, C) {
10112
+ m.startOf = function(b, C) {
10113
10113
  if (!this.$x || !this.$x.$timezone)
10114
- return g.call(this, v, C);
10115
- var b = l(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
10116
- return g.call(b, v, C).tz(this.$x.$timezone, !0);
10117
- }, l.tz = function(v, C, b) {
10118
- var p = b && C, f = b || C || s, w = d(+l(), f);
10119
- if (typeof v != "string")
10120
- return l(v).tz(f);
10114
+ return g.call(this, b, C);
10115
+ var v = l(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
10116
+ return g.call(v, b, C).tz(this.$x.$timezone, !0);
10117
+ }, l.tz = function(b, C, v) {
10118
+ var p = v && C, f = v || C || s, w = d(+l(), f);
10119
+ if (typeof b != "string")
10120
+ return l(b).tz(f);
10121
10121
  var y = function(k, A, M) {
10122
10122
  var B = k - 60 * A * 1e3, z = d(B, M);
10123
10123
  if (A === z)
10124
10124
  return [B, A];
10125
10125
  var V = d(B -= 60 * (z - A) * 1e3, M);
10126
10126
  return z === V ? [B, z] : [k - 60 * Math.min(z, V) * 1e3, Math.max(z, V)];
10127
- }(l.utc(v, p).valueOf(), w, f), I = y[0], L = y[1], x = l(I).utcOffset(L);
10127
+ }(l.utc(b, p).valueOf(), w, f), I = y[0], L = y[1], x = l(I).utcOffset(L);
10128
10128
  return x.$x.$timezone = f, x;
10129
10129
  }, l.tz.guess = function() {
10130
10130
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
10131
- }, l.tz.setDefault = function(v) {
10132
- s = v;
10131
+ }, l.tz.setDefault = function(b) {
10132
+ s = b;
10133
10133
  };
10134
10134
  };
10135
10135
  });
@@ -10188,10 +10188,10 @@ var va = { exports: {} };
10188
10188
  I = this.utc();
10189
10189
  return I;
10190
10190
  };
10191
- var v = u.format;
10191
+ var b = u.format;
10192
10192
  u.format = function(p) {
10193
10193
  var f = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
10194
- return v.call(this, f);
10194
+ return b.call(this, f);
10195
10195
  }, u.valueOf = function() {
10196
10196
  var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
10197
10197
  return this.$d.valueOf() - 6e4 * p;
@@ -10206,12 +10206,12 @@ var va = { exports: {} };
10206
10206
  u.toDate = function(p) {
10207
10207
  return p === "s" && this.$offset ? s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
10208
10208
  };
10209
- var b = u.diff;
10209
+ var v = u.diff;
10210
10210
  u.diff = function(p, f, w) {
10211
10211
  if (p && this.$u === p.$u)
10212
- return b.call(this, p, f, w);
10212
+ return v.call(this, p, f, w);
10213
10213
  var y = this.local(), I = s(p).local();
10214
- return b.call(y, I, f, w);
10214
+ return v.call(y, I, f, w);
10215
10215
  };
10216
10216
  };
10217
10217
  });
@@ -10335,13 +10335,13 @@ const xa = ({
10335
10335
  selectedDays: d,
10336
10336
  handleDayClick: m,
10337
10337
  handleStartMonthChange: g,
10338
- handleEndMonthChange: v,
10338
+ handleEndMonthChange: b,
10339
10339
  handleTodayClick: C,
10340
- timezoneName: b,
10340
+ timezoneName: v,
10341
10341
  ...p
10342
10342
  }) => {
10343
- const f = G(t == null ? void 0 : t.from, b).isSame(G(t == null ? void 0 : t.to, b), "month"), w = G(t == null ? void 0 : t.from, b).isSame(G(t == null ? void 0 : t.to, b), "day"), y = (V, F) => r && V ? ({ date: j }) => /* @__PURE__ */ n.createElement(br, { date: j, currentMonth: V, onChange: F }) : void 0, I = y(i, g), L = y(s, v), x = (V) => x1(l) ? l(V) : E1(l) ? l.some((F) => G(F, b).isSame(V, "day")) : !1, k = (V) => x(V), A = (V) => {
10344
- const F = G(V, b).isBefore(t == null ? void 0 : t.from, "day");
10343
+ const f = G(t == null ? void 0 : t.from, v).isSame(G(t == null ? void 0 : t.to, v), "month"), w = G(t == null ? void 0 : t.from, v).isSame(G(t == null ? void 0 : t.to, v), "day"), y = (V, F) => r && V ? ({ date: j }) => /* @__PURE__ */ n.createElement(br, { date: j, currentMonth: V, onChange: F }) : void 0, I = y(i, g), L = y(s, b), x = (V) => x1(l) ? l(V) : E1(l) ? l.some((F) => G(F, v).isSame(V, "day")) : !1, k = (V) => x(V), A = (V) => {
10344
+ const F = G(V, v).isBefore(t == null ? void 0 : t.from, "day");
10345
10345
  return x(V) || F && !w;
10346
10346
  }, M = (V, F, j) => {
10347
10347
  const D = e == null ? void 0 : e(V), O = F(V), K = D ? tn : n.Fragment, $ = D ? { placement: "top", content: D } : {};
@@ -10396,7 +10396,7 @@ const xa = ({
10396
10396
  renderDay: z,
10397
10397
  getTooltip: e,
10398
10398
  onDayClick: (V, F, j) => m(V, F, j, !1),
10399
- onMonthChange: v,
10399
+ onMonthChange: b,
10400
10400
  onTodayButtonClick: C,
10401
10401
  ...p
10402
10402
  }
@@ -10650,24 +10650,24 @@ const Rt = {
10650
10650
  ranges: d,
10651
10651
  shouldShowRelativeRanges: m = !1,
10652
10652
  components: g = {},
10653
- getTooltip: v,
10653
+ getTooltip: b,
10654
10654
  upcomingDates: C,
10655
- timezoneName: b = null,
10655
+ timezoneName: v = null,
10656
10656
  ...p
10657
10657
  }) => {
10658
10658
  var W, ae;
10659
- const f = t ? e === Rt.single ? t : t.from : null, [w, y] = ie(f != null ? f : G(null, b).toDate()), [I, L] = ie(() => !t || !t.from ? new Date() : t.from), [x, k] = ie(() => !t || !t.to || !t.from ? G(null, b).add(1, "month").toDate() : Cn(G(t.to, b), G(t.from, b), "month") ? G(t.from, b).add(1, "month").toDate() : t.to), [A, M] = ie(""), B = e === Rt.range, z = t && t.from && t.to;
10659
+ const f = t ? e === Rt.single ? t : t.from : null, [w, y] = ie(f != null ? f : G(null, v).toDate()), [I, L] = ie(() => !t || !t.from ? new Date() : t.from), [x, k] = ie(() => !t || !t.to || !t.from ? G(null, v).add(1, "month").toDate() : Cn(G(t.to, v), G(t.from, v), "month") ? G(t.from, v).add(1, "month").toDate() : t.to), [A, M] = ie(""), B = e === Rt.range, z = t && t.from && t.to;
10660
10660
  Re(() => {
10661
10661
  l == null || l(w);
10662
10662
  }, [w, l]), Re(() => {
10663
- b && !G4(b) && (console.log(`${b} is not a valid timezone. Using default timezone now`), _.tz.setDefault());
10664
- }, [b]);
10663
+ v && !G4(v) && (console.log(`${v} is not a valid timezone. Using default timezone now`), _.tz.setDefault());
10664
+ }, [v]);
10665
10665
  const V = (R, P, oe) => {
10666
10666
  if (B)
10667
10667
  return;
10668
- const ue = b ? Z(G(R, b)) : new Date();
10668
+ const ue = v ? Z(G(R, v)) : new Date();
10669
10669
  P.disabled || F(ue) ? (y(ue), l == null || l(ue)) : i(ue, P, oe);
10670
- }, F = (R) => E1(a) ? a.some((P) => Cn(G(P, b), R, "day")) : (x1(a), a(R)), j = (R, P) => {
10670
+ }, F = (R) => E1(a) ? a.some((P) => Cn(G(P, v), R, "day")) : (x1(a), a(R)), j = (R, P) => {
10671
10671
  y(P.from), L(P.from), k(P.to), i({ ...P, rangeName: R }, u, null);
10672
10672
  }, D = (R) => {
10673
10673
  y(R), l == null || l(R);
@@ -10677,22 +10677,22 @@ const Rt = {
10677
10677
  k(R), l == null || l(R);
10678
10678
  }, $ = (R, P, oe) => {
10679
10679
  if (!P.disabled)
10680
- if (Cn(G(t == null ? void 0 : t.from, b), G(R, b), "month") && O(R), M(""), B)
10680
+ if (Cn(G(t == null ? void 0 : t.from, v), G(R, v), "month") && O(R), M(""), B)
10681
10681
  if (z)
10682
- i({ from: Z(G(R, b).startOf("day")), to: null }, P, oe);
10682
+ i({ from: Z(G(R, v).startOf("day")), to: null }, P, oe);
10683
10683
  else if (t && (t.from || t.to) && (t.from || t.to).getTime() === R.getTime()) {
10684
- const ue = Z(G(R, b).startOf("day")), we = Z(G(R, b).endOf("day"), !1);
10684
+ const ue = Z(G(R, v).startOf("day")), we = Z(G(R, v).endOf("day"), !1);
10685
10685
  i({ from: ue, to: we }, P, oe);
10686
10686
  } else
10687
10687
  i(
10688
- Sa.addDayToRange(Z(G(R, b).endOf("day"), !1), t),
10688
+ Sa.addDayToRange(Z(G(R, v).endOf("day"), !1), t),
10689
10689
  P,
10690
10690
  oe
10691
10691
  );
10692
10692
  else
10693
- i(Z(G(R, b)), P, oe);
10693
+ i(Z(G(R, v)), P, oe);
10694
10694
  }, ne = ye(() => r && w ? ({ date: R }) => /* @__PURE__ */ n.createElement(br, { date: R, currentMonth: w, onChange: D }) : void 0, [r, w]), te = (R) => {
10695
- const P = v == null ? void 0 : v(R), oe = F(R);
10695
+ const P = b == null ? void 0 : b(R), oe = F(R);
10696
10696
  return P ? /* @__PURE__ */ n.createElement(tn, { placement: "top", content: P }, /* @__PURE__ */ n.createElement(
10697
10697
  Qt,
10698
10698
  {
@@ -10712,7 +10712,7 @@ const Rt = {
10712
10712
  currentMonth: w
10713
10713
  }
10714
10714
  );
10715
- }, re = B && z ? { start: t.from, end: t.to } : null, ce = B && z && ((W = t.from) == null ? void 0 : W.getTime()) !== ((ae = t.to) == null ? void 0 : ae.getTime()), ee = t && (_.isDayjs(t) || B ? t : G(t, b).toDate());
10715
+ }, re = B && z ? { start: t.from, end: t.to } : null, ce = B && z && ((W = t.from) == null ? void 0 : W.getTime()) !== ((ae = t.to) == null ? void 0 : ae.getTime()), ee = t && (_.isDayjs(t) || B ? t : G(t, v).toDate());
10716
10716
  return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("div", { className: "flex" }, C ? /* @__PURE__ */ n.createElement(
10717
10717
  ya,
10718
10718
  {
@@ -10729,7 +10729,7 @@ const Rt = {
10729
10729
  startMonth: I,
10730
10730
  endMonth: x,
10731
10731
  modifiers: { ...u, ...re },
10732
- getTooltip: v,
10732
+ getTooltip: b,
10733
10733
  disabledDays: a,
10734
10734
  getDayContent: o,
10735
10735
  value: t,
@@ -10738,7 +10738,7 @@ const Rt = {
10738
10738
  handleEndMonthChange: K,
10739
10739
  handleTodayClick: V,
10740
10740
  selectedDays: ee,
10741
- timezoneName: b,
10741
+ timezoneName: v,
10742
10742
  ...p
10743
10743
  }
10744
10744
  ) : /* @__PURE__ */ n.createElement(
@@ -10768,7 +10768,7 @@ const Rt = {
10768
10768
  {
10769
10769
  value: A,
10770
10770
  ranges: d,
10771
- timezoneName: b,
10771
+ timezoneName: v,
10772
10772
  onChange: j,
10773
10773
  onSubmit: s
10774
10774
  }
@@ -10805,10 +10805,10 @@ const Z4 = ({
10805
10805
  getDayContent: d,
10806
10806
  ...m
10807
10807
  }) => {
10808
- const [g] = ie(e), [v, C] = ie(e), [b, p] = ie(!1), f = () => {
10809
- p(!b);
10808
+ const [g] = ie(e), [b, C] = ie(e), [v, p] = ie(!1), f = () => {
10809
+ p(!v);
10810
10810
  }, w = (L, x, k) => {
10811
- t === "single" ? (r == null || r(L, x, k), f()) : r == null || r(L, v, x, k);
10811
+ t === "single" ? (r == null || r(L, x, k), f()) : r == null || r(L, b, x, k);
10812
10812
  }, y = () => {
10813
10813
  C(e), r == null || r(e), p(!1);
10814
10814
  }, I = () => {
@@ -10819,7 +10819,7 @@ const Z4 = ({
10819
10819
  }, [e]), /* @__PURE__ */ n.createElement(
10820
10820
  Me,
10821
10821
  {
10822
- visible: b,
10822
+ visible: v,
10823
10823
  maxWidth: 900,
10824
10824
  distance: 18,
10825
10825
  placement: "bottom",
@@ -10838,7 +10838,7 @@ const Z4 = ({
10838
10838
  onClick: f
10839
10839
  }
10840
10840
  ),
10841
- /* @__PURE__ */ n.createElement(Me.Content, { className: "pr-1" }, b && /* @__PURE__ */ n.createElement(
10841
+ /* @__PURE__ */ n.createElement(Me.Content, { className: "pr-1" }, v && /* @__PURE__ */ n.createElement(
10842
10842
  wr,
10843
10843
  {
10844
10844
  variant: t,
@@ -10867,32 +10867,33 @@ const P4 = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
10867
10867
  text: e,
10868
10868
  isOpen: t = !1,
10869
10869
  showArrow: o = !0,
10870
- onClick: a,
10871
- onClickOutside: r,
10872
- classNames: i,
10873
- children: l,
10874
- error: s = null,
10875
- ...u
10870
+ autoSelectOnClick: a = !1,
10871
+ onClick: r,
10872
+ onClickOutside: i,
10873
+ classNames: l,
10874
+ children: s,
10875
+ error: u = null,
10876
+ ...d
10876
10877
  }) => {
10877
- const d = fe(), m = (g) => {
10878
+ const m = fe(), g = (b) => {
10878
10879
  setTimeout(() => {
10879
- var v;
10880
- (v = d == null ? void 0 : d.current.querySelector("select,textarea,input")) == null || v.focus();
10881
- }, 0), a == null || a(g);
10880
+ const C = m == null ? void 0 : m.current.querySelector("select,textarea,input");
10881
+ !C || (C.focus(), a && C.select());
10882
+ }, 0), r == null || r(b);
10882
10883
  };
10883
- return /* @__PURE__ */ n.createElement(Me, { visible: t, onClickOutside: r, ...u }, /* @__PURE__ */ n.createElement(
10884
+ return /* @__PURE__ */ n.createElement(Me, { visible: t, onClickOutside: i, ...d }, /* @__PURE__ */ n.createElement(
10884
10885
  "span",
10885
10886
  {
10886
10887
  className: E(
10887
10888
  "cursor-pointer whitespace-nowrap",
10888
- s && "!border-danger !text-danger",
10889
- i == null ? void 0 : i.text
10889
+ u && "!border-danger !text-danger",
10890
+ l == null ? void 0 : l.text
10890
10891
  ),
10891
- onClick: m
10892
+ onClick: g
10892
10893
  },
10893
- /* @__PURE__ */ n.createElement("span", { className: E("border-b border-b-black font-bold text-black", i == null ? void 0 : i.textField) }, /* @__PURE__ */ n.createElement(P4, { value: e, error: s })),
10894
+ /* @__PURE__ */ n.createElement("span", { className: E("border-b border-b-black font-bold text-black", l == null ? void 0 : l.textField) }, /* @__PURE__ */ n.createElement(P4, { value: e, error: u })),
10894
10895
  o && /* @__PURE__ */ n.createElement(On, { size: "medium" })
10895
- ), /* @__PURE__ */ n.createElement(Me.Content, null, /* @__PURE__ */ n.createElement("div", { ref: d, className: E("p-2", i == null ? void 0 : i.children) }, l)));
10896
+ ), /* @__PURE__ */ n.createElement(Me.Content, null, /* @__PURE__ */ n.createElement("div", { ref: m, className: E("p-2", l == null ? void 0 : l.children) }, s)));
10896
10897
  }, X4 = ({
10897
10898
  src: e,
10898
10899
  size: t = "large",
@@ -10907,8 +10908,8 @@ const P4 = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
10907
10908
  onError: m,
10908
10909
  ...g
10909
10910
  }) => {
10910
- const v = fe(), [C, b] = ie(0), p = () => {
10911
- v.current.click();
10911
+ const b = fe(), [C, v] = ie(0), p = () => {
10912
+ b.current.click();
10912
10913
  }, f = (L) => {
10913
10914
  const [x] = L.target.files;
10914
10915
  if (a && 1048576 * a < x.size) {
@@ -10917,7 +10918,7 @@ const P4 = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
10917
10918
  }
10918
10919
  u(x);
10919
10920
  }, w = () => {
10920
- b(C + 1), d();
10921
+ v(C + 1), d();
10921
10922
  }, y = typeof i == "string" ? (i == null ? void 0 : i.trim().length) > 0 : !!i, I = l ? l.trim().length > 0 : !1;
10922
10923
  return /* @__PURE__ */ n.createElement("div", { className: E("flex items-center rounded bg-gray-lighter p-4", r ? "space-x-2" : "space-x-3") }, /* @__PURE__ */ n.createElement("div", null, e ? /* @__PURE__ */ n.createElement(Ot, { src: e, size: t }) : /* @__PURE__ */ n.createElement(
10923
10924
  "div",
@@ -10942,7 +10943,7 @@ const P4 = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
10942
10943
  "input",
10943
10944
  {
10944
10945
  key: C,
10945
- ref: v,
10946
+ ref: b,
10946
10947
  className: "hidden",
10947
10948
  type: "file",
10948
10949
  multiple: !1,