@xola/ui-kit 2.3.4 → 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
@@ -4095,8 +4095,7 @@ const Bs = {
4095
4095
  size: "small",
4096
4096
  variant: "link",
4097
4097
  className: E(
4098
- "m-2.5 inline-flex !h-10 !w-10 items-center justify-center !rounded-full bg-white !px-1.5",
4099
- "!text-black focus:hidden"
4098
+ "m-2.5 inline-flex !h-10 !w-10 items-center justify-center !rounded-full bg-white !px-1.5 !text-black"
4100
4099
  ),
4101
4100
  onClick: e
4102
4101
  },
@@ -4277,7 +4276,7 @@ const Ts = {}, Hs = {
4277
4276
  isRightDrawerOpen: m,
4278
4277
  handleDrawerStateChange: g
4279
4278
  }) => {
4280
- 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;
4281
4280
  return /* @__PURE__ */ n.createElement(
4282
4281
  "div",
4283
4282
  {
@@ -4290,7 +4289,7 @@ const Ts = {}, Hs = {
4290
4289
  o
4291
4290
  )
4292
4291
  },
4293
- v || C ? /* @__PURE__ */ n.createElement(
4292
+ b || C ? /* @__PURE__ */ n.createElement(
4294
4293
  "div",
4295
4294
  {
4296
4295
  className: E(
@@ -4298,17 +4297,17 @@ const Ts = {}, Hs = {
4298
4297
  s && "sticky top-0 z-50 bg-black"
4299
4298
  )
4300
4299
  },
4301
- 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)),
4302
- 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))
4303
4302
  ) : null,
4304
- v && /* @__PURE__ */ n.createElement(
4303
+ b && /* @__PURE__ */ n.createElement(
4305
4304
  Dt,
4306
4305
  {
4307
4306
  classNames: { dialogContent: "md:left-24 xl:left-50" },
4308
4307
  position: "left",
4309
4308
  size: "xl",
4310
- title: v.title,
4311
- content: v.content,
4309
+ title: b.title,
4310
+ content: b.content,
4312
4311
  isOpen: d,
4313
4312
  onClose: (f) => !!f && g("left")
4314
4313
  }
@@ -4763,15 +4762,15 @@ function N2(e) {
4763
4762
  }
4764
4763
  var V2 = N2, F2 = Q1, dn = Js, Vr = V2, S2 = "Expected a function", T2 = Math.max, H2 = Math.min;
4765
4764
  function R2(e, t, o) {
4766
- 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;
4767
4766
  if (typeof e != "function")
4768
4767
  throw new TypeError(S2);
4769
- 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);
4770
4769
  function C(k) {
4771
4770
  var A = a, M = r;
4772
4771
  return a = r = void 0, d = k, l = e.apply(M, A), l;
4773
4772
  }
4774
- function b(k) {
4773
+ function v(k) {
4775
4774
  return d = k, s = setTimeout(w, t), m ? C(k) : l;
4776
4775
  }
4777
4776
  function p(k) {
@@ -4789,7 +4788,7 @@ function R2(e, t, o) {
4789
4788
  s = setTimeout(w, p(k));
4790
4789
  }
4791
4790
  function y(k) {
4792
- 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);
4793
4792
  }
4794
4793
  function I() {
4795
4794
  s !== void 0 && clearTimeout(s), d = 0, a = u = r = s = void 0;
@@ -4801,7 +4800,7 @@ function R2(e, t, o) {
4801
4800
  var k = dn(), A = f(k);
4802
4801
  if (a = arguments, r = this, u = k, A) {
4803
4802
  if (s === void 0)
4804
- return b(u);
4803
+ return v(u);
4805
4804
  if (g)
4806
4805
  return clearTimeout(s), s = setTimeout(w, t), C(u);
4807
4806
  }
@@ -4867,9 +4866,9 @@ const j2 = G2((e, t) => e(t), 500), eo = ({
4867
4866
  shouldDestroyOnClose: d = !0,
4868
4867
  shouldHideMenu: m = !1,
4869
4868
  minChars: g = 0,
4870
- ...v
4869
+ ...b
4871
4870
  }) => {
4872
- 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 }) => {
4873
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());
4874
4873
  }, z = ({ inputValue: W }) => {
4875
4874
  f(W), a && j2(a, W);
@@ -4894,7 +4893,7 @@ const j2 = G2((e, t) => e(t), 500), eo = ({
4894
4893
  V ? k(!1) : setTimeout(() => k(!0), 1);
4895
4894
  }, [V, k]);
4896
4895
  const te = () => {
4897
- b(!1), F();
4896
+ v(!1), F();
4898
4897
  }, re = (V || !x || u) && M.length > 0 && !m, ce = re && !s && M.length <= 1 && p.length >= g;
4899
4898
  Er(Vt ? "cmd+k" : "ctrl+k", (W) => {
4900
4899
  W.preventDefault(), w.current.focus();
@@ -4913,9 +4912,9 @@ const j2 = G2((e, t) => e(t), 500), eo = ({
4913
4912
  ),
4914
4913
  ref: w,
4915
4914
  onFocus: te,
4916
- onBlur: () => b(!0),
4915
+ onBlur: () => v(!0),
4917
4916
  onChange: (W) => f(W.target.value),
4918
- ...v
4917
+ ...b
4919
4918
  })
4920
4919
  }
4921
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(
@@ -5131,8 +5130,8 @@ const lo = {
5131
5130
  const m = () => {
5132
5131
  if (!Cr(i))
5133
5132
  return;
5134
- let v = i;
5135
- 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, "");
5136
5135
  }, g = Cr(i) ? xr(m()) : xr(i == null ? void 0 : i.toString());
5137
5136
  return /* @__PURE__ */ n.createElement("div", { className: "relative flex w-full items-center" }, /* @__PURE__ */ n.createElement(
5138
5137
  e,
@@ -5563,10 +5562,10 @@ function vl(e) {
5563
5562
  return bo(Tt("", null, null, null, [""], e = vo(e), 0, [0], e));
5564
5563
  }
5565
5564
  function Tt(e, t, o, a, r, i, l, s, u) {
5566
- 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; )
5567
- 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()) {
5568
5567
  case 40:
5569
- if (b != 108 && de(A, g - 1) == 58) {
5568
+ if (v != 108 && de(A, g - 1) == 58) {
5570
5569
  Bn(A += Q(St(y), "&", "&\f"), "&\f") != -1 && (w = -1);
5571
5570
  break;
5572
5571
  }
@@ -5579,7 +5578,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
5579
5578
  case 10:
5580
5579
  case 13:
5581
5580
  case 32:
5582
- A += pl(b);
5581
+ A += pl(v);
5583
5582
  break;
5584
5583
  case 92:
5585
5584
  A += hl(Ft() - 1, 7);
@@ -5613,7 +5612,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
5613
5612
  if (m === 0)
5614
5613
  Tt(A, t, k, k, L, i, g, s, x);
5615
5614
  else
5616
- switch (v === 99 && de(A, 3) === 110 ? 100 : v) {
5615
+ switch (b === 99 && de(A, 3) === 110 ? 100 : b) {
5617
5616
  case 100:
5618
5617
  case 109:
5619
5618
  case 115:
@@ -5626,7 +5625,7 @@ function Tt(e, t, o, a, r, i, l, s, u) {
5626
5625
  d = m = C = 0, p = w = 1, I = A = "", g = l;
5627
5626
  break;
5628
5627
  case 58:
5629
- g = 1 + Ie(A), C = b;
5628
+ g = 1 + Ie(A), C = v;
5630
5629
  default:
5631
5630
  if (p < 1) {
5632
5631
  if (y == 123)
@@ -5642,18 +5641,18 @@ function Tt(e, t, o, a, r, i, l, s, u) {
5642
5641
  s[d++] = (Ie(A) - 1) * w, w = 1;
5643
5642
  break;
5644
5643
  case 64:
5645
- 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++;
5646
5645
  break;
5647
5646
  case 45:
5648
- b === 45 && Ie(A) == 2 && (p = 0);
5647
+ v === 45 && Ie(A) == 2 && (p = 0);
5649
5648
  }
5650
5649
  }
5651
5650
  return i;
5652
5651
  }
5653
5652
  function Tr(e, t, o, a, r, i, l, s, u, d, m) {
5654
- for (var g = r - 1, v = r === 0 ? i : [""], C = sr(v), b = 0, p = 0, f = 0; b < a; ++b)
5655
- for (var w = 0, y = vt(e, g + 1, g = il(p = l[b])), I = e; w < C; ++w)
5656
- (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);
5657
5656
  return sn(e, t, o, r === 0 ? ar : s, u, d, m);
5658
5657
  }
5659
5658
  function bl(e, t, o) {
@@ -5950,7 +5949,7 @@ If multiple caches share the same key they might "fight" for each other's style
5950
5949
  var u, d = [Ll, Al];
5951
5950
  process.env.NODE_ENV !== "production" && d.push(Nl({
5952
5951
  get compat() {
5953
- return b.compat;
5952
+ return v.compat;
5954
5953
  }
5955
5954
  }), Fl);
5956
5955
  {
@@ -5958,18 +5957,18 @@ If multiple caches share the same key they might "fight" for each other's style
5958
5957
  p.root || (p.return ? m.insert(p.return) : p.value && p.type !== or && m.insert(p.value + "{}"));
5959
5958
  } : xl(function(p) {
5960
5959
  m.insert(p);
5961
- })], v = Cl(d.concat(r, g)), C = function(f) {
5962
- return nt(vl(f), v);
5960
+ })], b = Cl(d.concat(r, g)), C = function(f) {
5961
+ return nt(vl(f), b);
5963
5962
  };
5964
5963
  u = function(f, w, y, I) {
5965
5964
  m = y, process.env.NODE_ENV !== "production" && w.map !== void 0 && (m = {
5966
5965
  insert: function(x) {
5967
5966
  y.insert(x + w.map);
5968
5967
  }
5969
- }), 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);
5970
5969
  };
5971
5970
  }
5972
- var b = {
5971
+ var v = {
5973
5972
  key: o,
5974
5973
  sheet: new ol({
5975
5974
  key: o,
@@ -5984,7 +5983,7 @@ If multiple caches share the same key they might "fight" for each other's style
5984
5983
  registered: {},
5985
5984
  insert: u
5986
5985
  };
5987
- return b.sheet.hydrate(s), b;
5986
+ return v.sheet.hydrate(s), v;
5988
5987
  }, xo = { exports: {} }, J = {};
5989
5988
  /** @license React v16.13.1
5990
5989
  * react-is.production.min.js
@@ -5999,7 +5998,7 @@ function Rl() {
5999
5998
  if (Dr)
6000
5999
  return J;
6001
6000
  Dr = 1;
6002
- 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;
6003
6002
  function I(x) {
6004
6003
  if (typeof x == "object" && x !== null) {
6005
6004
  var k = x.$$typeof;
@@ -6017,7 +6016,7 @@ function Rl() {
6017
6016
  switch (x = x && x.$$typeof, x) {
6018
6017
  case s:
6019
6018
  case m:
6020
- case b:
6019
+ case v:
6021
6020
  case C:
6022
6021
  case l:
6023
6022
  return x;
@@ -6033,7 +6032,7 @@ function Rl() {
6033
6032
  function L(x) {
6034
6033
  return I(x) === d;
6035
6034
  }
6036
- 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) {
6037
6036
  return L(x) || I(x) === u;
6038
6037
  }, J.isConcurrentMode = L, J.isContextConsumer = function(x) {
6039
6038
  return I(x) === s;
@@ -6046,7 +6045,7 @@ function Rl() {
6046
6045
  }, J.isFragment = function(x) {
6047
6046
  return I(x) === a;
6048
6047
  }, J.isLazy = function(x) {
6049
- return I(x) === b;
6048
+ return I(x) === v;
6050
6049
  }, J.isMemo = function(x) {
6051
6050
  return I(x) === C;
6052
6051
  }, J.isPortal = function(x) {
@@ -6058,7 +6057,7 @@ function Rl() {
6058
6057
  }, J.isSuspense = function(x) {
6059
6058
  return I(x) === g;
6060
6059
  }, J.isValidElementType = function(x) {
6061
- 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);
6062
6061
  }, J.typeOf = I, J;
6063
6062
  }
6064
6063
  var U = {};
@@ -6073,9 +6072,9 @@ var U = {};
6073
6072
  var zr;
6074
6073
  function Gl() {
6075
6074
  return zr || (zr = 1, process.env.NODE_ENV !== "production" && function() {
6076
- 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;
6077
6076
  function I(N) {
6078
- 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);
6079
6078
  }
6080
6079
  function L(N) {
6081
6080
  if (typeof N == "object" && N !== null) {
@@ -6096,7 +6095,7 @@ function Gl() {
6096
6095
  switch (He) {
6097
6096
  case s:
6098
6097
  case m:
6099
- case b:
6098
+ case v:
6100
6099
  case C:
6101
6100
  case l:
6102
6101
  return He;
@@ -6109,7 +6108,7 @@ function Gl() {
6109
6108
  }
6110
6109
  }
6111
6110
  }
6112
- 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;
6113
6112
  function te(N) {
6114
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;
6115
6114
  }
@@ -6132,7 +6131,7 @@ function Gl() {
6132
6131
  return L(N) === a;
6133
6132
  }
6134
6133
  function P(N) {
6135
- return L(N) === b;
6134
+ return L(N) === v;
6136
6135
  }
6137
6136
  function oe(N) {
6138
6137
  return L(N) === C;
@@ -6328,9 +6327,9 @@ function wt(e, t, o) {
6328
6327
  }
6329
6328
  case "string":
6330
6329
  if (process.env.NODE_ENV !== "production") {
6331
- var s = [], u = o.replace(ko, function(m, g, v) {
6330
+ var s = [], u = o.replace(ko, function(m, g, b) {
6332
6331
  var C = "animation" + s.length;
6333
- 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 + "}";
6334
6333
  });
6335
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(`
6336
6335
  `) + `
@@ -6390,8 +6389,8 @@ var Ee, Ct = function(t, o, a) {
6390
6389
  for (var s = 1; s < t.length; s++)
6391
6390
  i += wt(a, o, t[s]), r && (process.env.NODE_ENV !== "production" && l[s] === void 0 && console.error(Or), i += l[s]);
6392
6391
  var u;
6393
- process.env.NODE_ENV !== "production" && (i = i.replace(Ao, function(v) {
6394
- return u = v, "";
6392
+ process.env.NODE_ENV !== "production" && (i = i.replace(Ao, function(b) {
6393
+ return u = b, "";
6395
6394
  })), Zr.lastIndex = 0;
6396
6395
  for (var d = "", m; (m = Zr.exec(i)) !== null; )
6397
6396
  d += "-" + m[1];
@@ -6697,8 +6696,8 @@ var cc = function(t) {
6697
6696
  throw new Error("css can only be used during render");
6698
6697
  for (var d = arguments.length, m = new Array(d), g = 0; g < d; g++)
6699
6698
  m[g] = arguments[g];
6700
- var v = Ct(m, t.registered);
6701
- 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;
6702
6701
  }, i = function() {
6703
6702
  if (o && process.env.NODE_ENV !== "production")
6704
6703
  throw new Error("cx can only be used during render");
@@ -6859,15 +6858,15 @@ function $r(e, t, o, a) {
6859
6858
  const u = e.getBoundingClientRect();
6860
6859
  let d = Sn;
6861
6860
  t && (a ? Pe(a) && (d = Kr(a)) : d = Kr(e));
6862
- 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;
6863
6862
  return {
6864
- width: b,
6863
+ width: v,
6865
6864
  height: p,
6866
6865
  top: C,
6867
- right: v + b,
6866
+ right: b + v,
6868
6867
  bottom: C + p,
6869
- left: v,
6870
- x: v,
6868
+ left: b,
6869
+ x: b,
6871
6870
  y: C
6872
6871
  };
6873
6872
  }
@@ -6898,29 +6897,29 @@ function Ec(e, t, o, a) {
6898
6897
  elementResize: l = !0,
6899
6898
  animationFrame: s = !1
6900
6899
  } = a, u = r && !s, d = u || i ? [...Pe(e) ? Ht(e) : e.contextElement ? Ht(e.contextElement) : [], ...Ht(t)] : [];
6901
- d.forEach((b) => {
6902
- u && b.addEventListener("scroll", o, {
6900
+ d.forEach((v) => {
6901
+ u && v.addEventListener("scroll", o, {
6903
6902
  passive: !0
6904
- }), i && b.addEventListener("resize", o);
6903
+ }), i && v.addEventListener("resize", o);
6905
6904
  });
6906
6905
  let m = null;
6907
6906
  if (l) {
6908
- let b = !0;
6907
+ let v = !0;
6909
6908
  m = new ResizeObserver(() => {
6910
- b || o(), b = !1;
6909
+ v || o(), v = !1;
6911
6910
  }), Pe(e) && !s && m.observe(e), !Pe(e) && e.contextElement && !s && m.observe(e.contextElement), m.observe(t);
6912
6911
  }
6913
- let g, v = s ? $r(e) : null;
6912
+ let g, b = s ? $r(e) : null;
6914
6913
  s && C();
6915
6914
  function C() {
6916
- const b = $r(e);
6917
- 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);
6918
6917
  }
6919
6918
  return o(), () => {
6920
- var b;
6919
+ var v;
6921
6920
  d.forEach((p) => {
6922
6921
  u && p.removeEventListener("scroll", o), i && p.removeEventListener("resize", o);
6923
- }), (b = m) == null || b.disconnect(), m = null, s && cancelAnimationFrame(g);
6922
+ }), (v = m) == null || v.disconnect(), m = null, s && cancelAnimationFrame(g);
6924
6923
  };
6925
6924
  }
6926
6925
  var Tn = C1, yc = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], Xt = function() {
@@ -7055,16 +7054,16 @@ function Rc(e) {
7055
7054
  };
7056
7055
  if (!o || !o.offsetParent)
7057
7056
  return d;
7058
- 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;
7059
7058
  switch (r) {
7060
7059
  case "auto":
7061
7060
  case "bottom":
7062
- if (A >= b)
7061
+ if (A >= v)
7063
7062
  return {
7064
7063
  placement: "bottom",
7065
7064
  maxHeight: t
7066
7065
  };
7067
- if (B >= b && !l)
7066
+ if (B >= v && !l)
7068
7067
  return i && Bt(u, z, F), {
7069
7068
  placement: "bottom",
7070
7069
  maxHeight: t
@@ -7091,12 +7090,12 @@ function Rc(e) {
7091
7090
  };
7092
7091
  break;
7093
7092
  case "top":
7094
- if (k >= b)
7093
+ if (k >= v)
7095
7094
  return {
7096
7095
  placement: "top",
7097
7096
  maxHeight: t
7098
7097
  };
7099
- if (M >= b && !l)
7098
+ if (M >= v && !l)
7100
7099
  return i && Bt(u, V, F), {
7101
7100
  placement: "top",
7102
7101
  maxHeight: t
@@ -7138,7 +7137,7 @@ var Oo = function(t) {
7138
7137
  marginTop: s.menuGutter
7139
7138
  });
7140
7139
  }, jo = /* @__PURE__ */ yt(null), zc = function(t) {
7141
- 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;
7142
7141
  return Tn(function() {
7143
7142
  var x = g.current;
7144
7143
  if (!!x) {
@@ -7157,7 +7156,7 @@ var Oo = function(t) {
7157
7156
  ref: g,
7158
7157
  placerProps: H(H({}, t), {}, {
7159
7158
  placement: y || Oo(i),
7160
- maxHeight: b
7159
+ maxHeight: v
7161
7160
  })
7162
7161
  });
7163
7162
  }, Oc = function(t) {
@@ -7224,19 +7223,19 @@ var Xc = function(t) {
7224
7223
  zIndex: 1
7225
7224
  };
7226
7225
  }, Yc = function(t) {
7227
- 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() {
7228
7227
  return {
7229
7228
  setPortalPlacement: C
7230
7229
  };
7231
7230
  }, []), p = ie(null), f = Se(p, 2), w = f[0], y = f[1], I = me(function() {
7232
7231
  if (!!r) {
7233
- 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;
7234
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({
7235
7234
  offset: B,
7236
7235
  rect: A
7237
7236
  });
7238
7237
  }
7239
- }, [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]);
7240
7239
  Tn(function() {
7241
7240
  I();
7242
7241
  }, [I]);
@@ -7263,7 +7262,7 @@ var Xc = function(t) {
7263
7262
  "menu-portal": !0
7264
7263
  }), i), a);
7265
7264
  return S(jo.Provider, {
7266
- value: b
7265
+ value: v
7267
7266
  }, o ? /* @__PURE__ */ Va(k, o) : k);
7268
7267
  }, Jc = function(t) {
7269
7268
  var o = t.isDisabled, a = t.isRtl;
@@ -7809,14 +7808,14 @@ var j3 = process.env.NODE_ENV === "production" ? {
7809
7808
  }
7810
7809
  },
7811
7810
  onFocus: function(t) {
7812
- 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) {
7813
- 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) : "";
7814
7813
  };
7815
7814
  if (o === "value" && s)
7816
7815
  return "value ".concat(l, " focused, ").concat(m(s, a), ".");
7817
7816
  if (o === "menu") {
7818
- var g = u ? " disabled" : "", v = "".concat(d ? "selected" : "focused").concat(g);
7819
- 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), ".");
7820
7819
  }
7821
7820
  return "";
7822
7821
  },
@@ -7825,7 +7824,7 @@ var j3 = process.env.NODE_ENV === "production" ? {
7825
7824
  return "".concat(a).concat(o ? " for search term " + o : "", ".");
7826
7825
  }
7827
7826
  }, Z3 = function(t) {
7828
- 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() {
7829
7828
  return H(H({}, W3), m || {});
7830
7829
  }, [m]), A = ye(function() {
7831
7830
  var D = "";
@@ -7833,20 +7832,20 @@ var j3 = process.env.NODE_ENV === "production" ? {
7833
7832
  var O = o.option, K = o.options, $ = o.removedValue, ne = o.removedValues, te = o.value, re = function(oe) {
7834
7833
  return Array.isArray(oe) ? null : oe;
7835
7834
  }, ce = $ || O || re(te), ee = ce ? g(ce) : "", W = K || ne || void 0, ae = W ? W.map(g) : [], R = H({
7836
- isDisabled: ce && b(ce, s),
7835
+ isDisabled: ce && v(ce, s),
7837
7836
  label: ee,
7838
7837
  labels: ae
7839
7838
  }, o);
7840
7839
  D = k.onChange(R);
7841
7840
  }
7842
7841
  return D;
7843
- }, [o, k, b, s, g]), M = ye(function() {
7842
+ }, [o, k, v, s, g]), M = ye(function() {
7844
7843
  var D = "", O = a || r, K = !!(a && s && s.includes(a));
7845
7844
  if (O && k.onFocus) {
7846
7845
  var $ = {
7847
7846
  focused: O,
7848
7847
  label: g(O),
7849
- isDisabled: b(O, s),
7848
+ isDisabled: v(O, s),
7850
7849
  isSelected: K,
7851
7850
  options: i,
7852
7851
  context: O === a ? "menu" : "value",
@@ -7855,33 +7854,33 @@ var j3 = process.env.NODE_ENV === "production" ? {
7855
7854
  D = k.onFocus($);
7856
7855
  }
7857
7856
  return D;
7858
- }, [a, r, g, b, k, i, s]), B = ye(function() {
7857
+ }, [a, r, g, v, k, i, s]), B = ye(function() {
7859
7858
  var D = "";
7860
7859
  if (f && w.length && k.onFilter) {
7861
7860
  var O = y({
7862
7861
  count: i.length
7863
7862
  });
7864
7863
  D = k.onFilter({
7865
- inputValue: v,
7864
+ inputValue: b,
7866
7865
  resultsMessage: O
7867
7866
  });
7868
7867
  }
7869
7868
  return D;
7870
- }, [i, v, f, k, w, y]), z = ye(function() {
7869
+ }, [i, b, f, k, w, y]), z = ye(function() {
7871
7870
  var D = "";
7872
7871
  if (k.guidance) {
7873
7872
  var O = r ? "value" : f ? "menu" : "input";
7874
7873
  D = k.guidance({
7875
7874
  "aria-label": L,
7876
7875
  context: O,
7877
- isDisabled: a && b(a, s),
7876
+ isDisabled: a && v(a, s),
7878
7877
  isMulti: C,
7879
7878
  isSearchable: p,
7880
7879
  tabSelectsValue: I
7881
7880
  });
7882
7881
  }
7883
7882
  return D;
7884
- }, [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", {
7885
7884
  id: "aria-selection"
7886
7885
  }, A), S("span", {
7887
7886
  id: "aria-context"
@@ -8207,29 +8206,29 @@ function q3(e) {
8207
8206
  }
8208
8207
  }, [o, a, r, i]), g = me(function(f) {
8209
8208
  m(f, f.deltaY);
8210
- }, [m]), v = me(function(f) {
8209
+ }, [m]), b = me(function(f) {
8211
8210
  u.current = f.changedTouches[0].clientY;
8212
8211
  }, []), C = me(function(f) {
8213
8212
  var w = u.current - f.changedTouches[0].clientY;
8214
8213
  m(f, w);
8215
- }, [m]), b = me(function(f) {
8214
+ }, [m]), v = me(function(f) {
8216
8215
  if (!!f) {
8217
8216
  var w = Fc ? {
8218
8217
  passive: !1
8219
8218
  } : !1;
8220
- 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);
8221
8220
  }
8222
- }, [C, v, g]), p = me(function(f) {
8223
- !f || (f.removeEventListener("wheel", g, !1), f.removeEventListener("touchstart", v, !1), f.removeEventListener("touchmove", C, !1));
8224
- }, [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]);
8225
8224
  return Re(function() {
8226
8225
  if (!!t) {
8227
8226
  var f = d.current;
8228
- return b(f), function() {
8227
+ return v(f), function() {
8229
8228
  p(f);
8230
8229
  };
8231
8230
  }
8232
- }, [t, b, p]), function(f) {
8231
+ }, [t, v, p]), function(f) {
8233
8232
  d.current = f;
8234
8233
  };
8235
8234
  }
@@ -8260,14 +8259,14 @@ function K3(e) {
8260
8259
  var t = e.isEnabled, o = e.accountForScrollbars, a = o === void 0 ? !0 : o, r = fe({}), i = fe(null), l = me(function(u) {
8261
8260
  if (!!m1) {
8262
8261
  var d = document.body, m = d && d.style;
8263
- if (a && i1.forEach(function(b) {
8264
- var p = m && m[b];
8265
- r.current[b] = p;
8262
+ if (a && i1.forEach(function(v) {
8263
+ var p = m && m[v];
8264
+ r.current[v] = p;
8266
8265
  }), a && ut < 1) {
8267
- var g = parseInt(r.current.paddingRight, 10) || 0, v = document.body ? document.body.clientWidth : 0, C = window.innerWidth - v + g || 0;
8268
- Object.keys(s1).forEach(function(b) {
8269
- var p = s1[b];
8270
- 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);
8271
8270
  }), m && (m.paddingRight = "".concat(C, "px"));
8272
8271
  }
8273
8272
  d && d1() && (d.addEventListener("touchmove", l1, Ke), u && (u.addEventListener("touchstart", u1, Ke), u.addEventListener("touchmove", c1, Ke))), ut += 1;
@@ -8276,8 +8275,8 @@ function K3(e) {
8276
8275
  if (!!m1) {
8277
8276
  var d = document.body, m = d && d.style;
8278
8277
  ut = Math.max(ut - 1, 0), a && ut < 1 && i1.forEach(function(g) {
8279
- var v = r.current[g];
8280
- m && (m[g] = v);
8278
+ var b = r.current[g];
8279
+ m && (m[g] = b);
8281
8280
  }), d && d1() && (d.removeEventListener("touchmove", l1, Ke), u && (u.removeEventListener("touchstart", u1, Ke), u.removeEventListener("touchmove", c1, Ke)));
8282
8281
  }
8283
8282
  }, [a]);
@@ -8567,12 +8566,12 @@ var la = function(t) {
8567
8566
  var d = r.props, m = d.onChange, g = d.name;
8568
8567
  u.name = g, r.ariaOnChange(s, u), m(s, u);
8569
8568
  }, r.setValue = function(s, u, d) {
8570
- 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;
8571
8570
  r.onInputChange("", {
8572
8571
  action: "set-value",
8573
8572
  prevInputValue: C
8574
8573
  }), g && (r.setState({
8575
- inputIsHiddenAfterUpdate: !v
8574
+ inputIsHiddenAfterUpdate: !b
8576
8575
  }), r.onMenuClose()), r.setState({
8577
8576
  clearFocusValueOnUpdate: !0
8578
8577
  }), r.onChange(s, {
@@ -8580,14 +8579,14 @@ var la = function(t) {
8580
8579
  option: d
8581
8580
  });
8582
8581
  }, r.selectOption = function(s) {
8583
- 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);
8584
8583
  if (C) {
8585
8584
  var p = r.getOptionValue(s);
8586
- r.setValue(v.filter(function(f) {
8585
+ r.setValue(b.filter(function(f) {
8587
8586
  return r.getOptionValue(f) !== p;
8588
8587
  }), "deselect-option", s);
8589
- } else if (!b)
8590
- 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");
8591
8590
  else {
8592
8591
  r.ariaOnChange(s, {
8593
8592
  action: "select-option",
@@ -8600,8 +8599,8 @@ var la = function(t) {
8600
8599
  }, r.removeValue = function(s) {
8601
8600
  var u = r.props.isMulti, d = r.state.selectValue, m = r.getOptionValue(s), g = d.filter(function(C) {
8602
8601
  return r.getOptionValue(C) !== m;
8603
- }), v = pt(u, g, g[0] || null);
8604
- r.onChange(v, {
8602
+ }), b = pt(u, g, g[0] || null);
8603
+ r.onChange(b, {
8605
8604
  action: "remove-value",
8606
8605
  removedValue: s
8607
8606
  }), r.focusInput();
@@ -8685,8 +8684,8 @@ var la = function(t) {
8685
8684
  }, r.onTouchMove = function(s) {
8686
8685
  var u = s.touches, d = u && u.item(0);
8687
8686
  if (!!d) {
8688
- var m = Math.abs(d.clientX - r.initialTouchX), g = Math.abs(d.clientY - r.initialTouchY), v = 5;
8689
- 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;
8690
8689
  }
8691
8690
  }, r.onTouchEnd = function(s) {
8692
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);
@@ -8731,22 +8730,22 @@ var la = function(t) {
8731
8730
  }, r.onValueInputFocus = function(s) {
8732
8731
  s.preventDefault(), s.stopPropagation(), r.focus();
8733
8732
  }, r.onKeyDown = function(s) {
8734
- 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;
8735
- 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))) {
8736
8735
  switch (r.blockOptionHover = !0, s.key) {
8737
8736
  case "ArrowLeft":
8738
- if (!d || v)
8737
+ if (!d || b)
8739
8738
  return;
8740
8739
  r.focusValue("previous");
8741
8740
  break;
8742
8741
  case "ArrowRight":
8743
- if (!d || v)
8742
+ if (!d || b)
8744
8743
  return;
8745
8744
  r.focusValue("next");
8746
8745
  break;
8747
8746
  case "Delete":
8748
8747
  case "Backspace":
8749
- if (v)
8748
+ if (b)
8750
8749
  return;
8751
8750
  if (x)
8752
8751
  r.removeValue(x);
@@ -8776,11 +8775,11 @@ var la = function(t) {
8776
8775
  inputIsHiddenAfterUpdate: !1
8777
8776
  }), r.onInputChange("", {
8778
8777
  action: "menu-close",
8779
- prevInputValue: v
8778
+ prevInputValue: b
8780
8779
  }), r.onMenuClose()) : C && g && r.clearValue();
8781
8780
  break;
8782
8781
  case " ":
8783
- if (v)
8782
+ if (b)
8784
8783
  return;
8785
8784
  if (!p) {
8786
8785
  r.openMenu("first");
@@ -8938,7 +8937,7 @@ var la = function(t) {
8938
8937
  }, {
8939
8938
  key: "getCommonProps",
8940
8939
  value: function() {
8941
- 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();
8942
8941
  return {
8943
8942
  clearValue: r,
8944
8943
  cx: i,
@@ -8946,9 +8945,9 @@ var la = function(t) {
8946
8945
  getClassNames: s,
8947
8946
  getValue: u,
8948
8947
  hasValue: p,
8949
- isMulti: v,
8948
+ isMulti: b,
8950
8949
  isRtl: C,
8951
- options: b,
8950
+ options: v,
8952
8951
  selectOption: d,
8953
8952
  selectProps: g,
8954
8953
  setValue: m,
@@ -9028,7 +9027,7 @@ var la = function(t) {
9028
9027
  }, {
9029
9028
  key: "renderInput",
9030
9029
  value: function() {
9031
- 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({
9032
9031
  "aria-autocomplete": "list",
9033
9032
  "aria-expanded": g,
9034
9033
  "aria-haspopup": !0,
@@ -9036,7 +9035,7 @@ var la = function(t) {
9036
9035
  "aria-invalid": this.props["aria-invalid"],
9037
9036
  "aria-label": this.props["aria-label"],
9038
9037
  "aria-labelledby": this.props["aria-labelledby"],
9039
- "aria-required": v,
9038
+ "aria-required": b,
9040
9039
  role: "combobox"
9041
9040
  }, g && {
9042
9041
  "aria-controls": this.getElementId("listbox"),
@@ -9048,7 +9047,7 @@ var la = function(t) {
9048
9047
  } : {
9049
9048
  "aria-describedby": this.getElementId("placeholder")
9050
9049
  });
9051
- return l ? /* @__PURE__ */ X.createElement(b, T({}, y, {
9050
+ return l ? /* @__PURE__ */ X.createElement(v, T({}, y, {
9052
9051
  autoCapitalize: "none",
9053
9052
  autoComplete: "off",
9054
9053
  autoCorrect: "off",
@@ -9080,9 +9079,9 @@ var la = function(t) {
9080
9079
  }, {
9081
9080
  key: "renderPlaceholderOrValue",
9082
9081
  value: function() {
9083
- 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;
9084
- if (!this.hasValue() || !b)
9085
- 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, {
9086
9085
  key: "placeholder",
9087
9086
  isDisabled: p,
9088
9087
  isFocused: k,
@@ -9093,7 +9092,7 @@ var la = function(t) {
9093
9092
  if (f)
9094
9093
  return L.map(function(M, B) {
9095
9094
  var z = M === x, V = "".concat(r.getOptionLabel(M), "-").concat(r.getOptionValue(M));
9096
- return /* @__PURE__ */ X.createElement(l, T({}, v, {
9095
+ return /* @__PURE__ */ X.createElement(l, T({}, b, {
9097
9096
  components: {
9098
9097
  Container: s,
9099
9098
  Label: u,
@@ -9120,7 +9119,7 @@ var la = function(t) {
9120
9119
  if (w)
9121
9120
  return null;
9122
9121
  var A = L[0];
9123
- return /* @__PURE__ */ X.createElement(m, T({}, v, {
9122
+ return /* @__PURE__ */ X.createElement(m, T({}, b, {
9124
9123
  data: A,
9125
9124
  isDisabled: p
9126
9125
  }), this.formatOptionLabel(A, "value"));
@@ -9188,7 +9187,7 @@ var la = function(t) {
9188
9187
  }, {
9189
9188
  key: "renderMenu",
9190
9189
  value: function() {
9191
- 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;
9192
9191
  if (!A)
9193
9192
  return null;
9194
9193
  var K = function(W, ae) {
@@ -9203,7 +9202,7 @@ var la = function(t) {
9203
9202
  onMouseOver: N,
9204
9203
  tabIndex: -1
9205
9204
  };
9206
- return /* @__PURE__ */ X.createElement(C, T({}, b, {
9205
+ return /* @__PURE__ */ X.createElement(C, T({}, v, {
9207
9206
  innerProps: He,
9208
9207
  data: P,
9209
9208
  isDisabled: oe,
@@ -9220,7 +9219,7 @@ var la = function(t) {
9220
9219
  $ = this.getCategorizedOptions().map(function(ee) {
9221
9220
  if (ee.type === "group") {
9222
9221
  var W = ee.data, ae = ee.options, R = ee.index, P = "".concat(r.getElementId("group"), "-").concat(R), oe = "".concat(P, "-heading");
9223
- return /* @__PURE__ */ X.createElement(l, T({}, b, {
9222
+ return /* @__PURE__ */ X.createElement(l, T({}, v, {
9224
9223
  key: P,
9225
9224
  data: W,
9226
9225
  options: ae,
@@ -9242,14 +9241,14 @@ var la = function(t) {
9242
9241
  });
9243
9242
  if (ne === null)
9244
9243
  return null;
9245
- $ = /* @__PURE__ */ X.createElement(g, b, ne);
9244
+ $ = /* @__PURE__ */ X.createElement(g, v, ne);
9246
9245
  } else {
9247
9246
  var te = j({
9248
9247
  inputValue: y
9249
9248
  });
9250
9249
  if (te === null)
9251
9250
  return null;
9252
- $ = /* @__PURE__ */ X.createElement(v, b, te);
9251
+ $ = /* @__PURE__ */ X.createElement(b, v, te);
9253
9252
  }
9254
9253
  var re = {
9255
9254
  minMenuHeight: x,
@@ -9257,9 +9256,9 @@ var la = function(t) {
9257
9256
  menuPlacement: M,
9258
9257
  menuPosition: B,
9259
9258
  menuShouldScrollIntoView: F
9260
- }, ce = /* @__PURE__ */ X.createElement(zc, T({}, b, re), function(ee) {
9259
+ }, ce = /* @__PURE__ */ X.createElement(zc, T({}, v, re), function(ee) {
9261
9260
  var W = ee.ref, ae = ee.placerProps, R = ae.placement, P = ae.maxHeight;
9262
- return /* @__PURE__ */ X.createElement(u, T({}, b, re, {
9261
+ return /* @__PURE__ */ X.createElement(u, T({}, v, re, {
9263
9262
  innerRef: W,
9264
9263
  innerProps: {
9265
9264
  onMouseDown: r.onMenuMouseDown,
@@ -9274,7 +9273,7 @@ var la = function(t) {
9274
9273
  onBottomArrive: O,
9275
9274
  lockEnabled: V
9276
9275
  }, function(oe) {
9277
- return /* @__PURE__ */ X.createElement(d, T({}, b, {
9276
+ return /* @__PURE__ */ X.createElement(d, T({}, v, {
9278
9277
  innerRef: function(we) {
9279
9278
  r.getMenuListRef(we), oe(we);
9280
9279
  },
@@ -9284,7 +9283,7 @@ var la = function(t) {
9284
9283
  }), $);
9285
9284
  }));
9286
9285
  });
9287
- return z || B === "fixed" ? /* @__PURE__ */ X.createElement(m, T({}, b, {
9286
+ return z || B === "fixed" ? /* @__PURE__ */ X.createElement(m, T({}, v, {
9288
9287
  appendTo: z,
9289
9288
  controlElement: this.controlRef,
9290
9289
  menuPlacement: M,
@@ -9303,13 +9302,13 @@ var la = function(t) {
9303
9302
  });
9304
9303
  if (u)
9305
9304
  if (l) {
9306
- var v = g.map(function(p) {
9305
+ var b = g.map(function(p) {
9307
9306
  return r.getOptionValue(p);
9308
9307
  }).join(l);
9309
9308
  return /* @__PURE__ */ X.createElement("input", {
9310
9309
  name: d,
9311
9310
  type: "hidden",
9312
- value: v
9311
+ value: b
9313
9312
  });
9314
9313
  } else {
9315
9314
  var C = g.length > 0 ? g.map(function(p, f) {
@@ -9327,11 +9326,11 @@ var la = function(t) {
9327
9326
  return /* @__PURE__ */ X.createElement("div", null, C);
9328
9327
  }
9329
9328
  else {
9330
- var b = g[0] ? this.getOptionValue(g[0]) : "";
9329
+ var v = g[0] ? this.getOptionValue(g[0]) : "";
9331
9330
  return /* @__PURE__ */ X.createElement("input", {
9332
9331
  name: d,
9333
9332
  type: "hidden",
9334
- value: b
9333
+ value: v
9335
9334
  });
9336
9335
  }
9337
9336
  }
@@ -9353,36 +9352,36 @@ var la = function(t) {
9353
9352
  }, {
9354
9353
  key: "render",
9355
9354
  value: function() {
9356
- 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();
9357
9356
  return /* @__PURE__ */ X.createElement(s, T({}, p, {
9358
9357
  className: m,
9359
9358
  innerProps: {
9360
9359
  id: g,
9361
9360
  onKeyDown: this.onKeyDown
9362
9361
  },
9363
- isDisabled: v,
9364
- isFocused: b
9362
+ isDisabled: b,
9363
+ isFocused: v
9365
9364
  }), this.renderLiveRegion(), /* @__PURE__ */ X.createElement(i, T({}, p, {
9366
9365
  innerRef: this.getControlRef,
9367
9366
  innerProps: {
9368
9367
  onMouseDown: this.onControlMouseDown,
9369
9368
  onTouchEnd: this.onControlTouchEnd
9370
9369
  },
9371
- isDisabled: v,
9372
- isFocused: b,
9370
+ isDisabled: b,
9371
+ isFocused: v,
9373
9372
  menuIsOpen: C
9374
9373
  }), /* @__PURE__ */ X.createElement(u, T({}, p, {
9375
- isDisabled: v
9374
+ isDisabled: b
9376
9375
  }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ X.createElement(l, T({}, p, {
9377
- isDisabled: v
9376
+ isDisabled: b
9378
9377
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
9379
9378
  }
9380
9379
  }], [{
9381
9380
  key: "getDerivedStateFromProps",
9382
9381
  value: function(r, i) {
9383
- 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 = {};
9384
- if (l && (C !== l.value || v !== l.options || b !== l.menuIsOpen || p !== l.inputValue)) {
9385
- 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);
9386
9385
  y = {
9387
9386
  selectValue: w,
9388
9387
  focusedOption: x,
@@ -9409,17 +9408,17 @@ var la = function(t) {
9409
9408
  ca.defaultProps = h4;
9410
9409
  var w4 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
9411
9410
  function C4(e) {
9412
- 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) {
9413
9412
  typeof d == "function" && d(ne, te), z(ne);
9414
9413
  }, [d]), F = me(function(ne, te) {
9415
9414
  var re;
9416
9415
  typeof m == "function" && (re = m(ne, te)), y(re !== void 0 ? re : ne);
9417
9416
  }, [m]), j = me(function() {
9418
- typeof v == "function" && v(), k(!0);
9419
- }, [v]), D = me(function() {
9417
+ typeof b == "function" && b(), k(!0);
9418
+ }, [b]), D = me(function() {
9420
9419
  typeof g == "function" && g(), k(!1);
9421
9420
  }, [g]), O = s !== void 0 ? s : w, K = u !== void 0 ? u : x, $ = C !== void 0 ? C : B;
9422
- return H(H({}, b), {}, {
9421
+ return H(H({}, v), {}, {
9423
9422
  inputValue: O,
9424
9423
  menuIsOpen: K,
9425
9424
  onChange: V,
@@ -9452,7 +9451,7 @@ var x4 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
9452
9451
  }
9453
9452
  };
9454
9453
  function E4(e) {
9455
- 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() {
9456
9455
  return u(L, Yt(A), C, {
9457
9456
  getOptionValue: w,
9458
9457
  getOptionLabel: I
@@ -9461,7 +9460,7 @@ function E4(e) {
9461
9460
  return (o || !x) && B ? r === "first" ? [B].concat(ht(C)) : [].concat(ht(C), [B]) : C;
9462
9461
  }, [o, r, x, B, C]), V = me(function(F, j) {
9463
9462
  if (j.action !== "select-option")
9464
- return b(F, j);
9463
+ return v(F, j);
9465
9464
  var D = Array.isArray(F) ? F : [F];
9466
9465
  if (D[D.length - 1] === B) {
9467
9466
  if (g)
@@ -9472,12 +9471,12 @@ function E4(e) {
9472
9471
  name: M,
9473
9472
  option: O
9474
9473
  };
9475
- b(pt(k, [].concat(ht(Yt(A)), [O]), O), K);
9474
+ v(pt(k, [].concat(ht(Yt(A)), [O]), O), K);
9476
9475
  }
9477
9476
  return;
9478
9477
  }
9479
- b(F, j);
9480
- }, [m, L, k, M, B, g, b, A]);
9478
+ v(F, j);
9479
+ }, [m, L, k, M, B, g, v, A]);
9481
9480
  return H(H({}, p), {}, {
9482
9481
  options: z,
9483
9482
  onChange: V
@@ -9634,8 +9633,8 @@ const A4 = ({
9634
9633
  onChange: m
9635
9634
  }) => {
9636
9635
  const g = u != null ? u : t.map(() => ({
9637
- from: (v) => v,
9638
- to: (v) => Math.round(v) + d
9636
+ from: (b) => b,
9637
+ to: (b) => Math.round(b) + d
9639
9638
  }));
9640
9639
  return /* @__PURE__ */ n.createElement(
9641
9640
  Fa,
@@ -9806,7 +9805,7 @@ const f1 = {
9806
9805
  const [d, m] = ie({ email: "", password: "", shouldRemember: !1, ...e }), g = (w) => {
9807
9806
  const { name: y, value: I } = w.target;
9808
9807
  m({ ...d, [y]: I });
9809
- }, v = (w) => {
9808
+ }, b = (w) => {
9810
9809
  const { name: y, checked: I } = w.target;
9811
9810
  m({ ...d, [y]: I });
9812
9811
  }, C = (w) => {
@@ -9852,7 +9851,7 @@ const f1 = {
9852
9851
  name: "shouldRemember",
9853
9852
  label: "Remember me",
9854
9853
  checked: d.shouldRemember,
9855
- onChange: v
9854
+ onChange: b
9856
9855
  }
9857
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(
9858
9857
  "a",
@@ -9890,30 +9889,6 @@ V4.propTypes = {
9890
9889
  passwordResetUrl: c.string
9891
9890
  };
9892
9891
  var pa = { exports: {} };
9893
- (function(e, t) {
9894
- (function(o, a) {
9895
- e.exports = a();
9896
- })(Fe, function() {
9897
- var o = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
9898
- return function(a, r, i) {
9899
- var l = r.prototype, s = l.format;
9900
- i.en.formats = o, l.format = function(u) {
9901
- u === void 0 && (u = "YYYY-MM-DDTHH:mm:ssZ");
9902
- var d = this.$locale().formats, m = function(g, v) {
9903
- return g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(C, b, p) {
9904
- var f = p && p.toUpperCase();
9905
- return b || v[p] || o[p] || v[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(w, y, I) {
9906
- return y || I.slice(1);
9907
- });
9908
- });
9909
- }(u, d === void 0 ? {} : d);
9910
- return s.call(this, m);
9911
- };
9912
- };
9913
- });
9914
- })(pa);
9915
- const F4 = pa.exports;
9916
- var ha = { exports: {} };
9917
9892
  (function(e, t) {
9918
9893
  (function(o, a) {
9919
9894
  e.exports = a();
@@ -9934,7 +9909,7 @@ var ha = { exports: {} };
9934
9909
  }], g = function(p) {
9935
9910
  var f = s[p];
9936
9911
  return f && (f.indexOf ? f : f.s.concat(f.f));
9937
- }, v = function(p, f) {
9912
+ }, b = function(p, f) {
9938
9913
  var w, y = s.meridiem;
9939
9914
  if (y) {
9940
9915
  for (var I = 1; I <= 24; I += 1)
@@ -9946,9 +9921,9 @@ var ha = { exports: {} };
9946
9921
  w = p === (f ? "pm" : "PM");
9947
9922
  return w;
9948
9923
  }, C = { A: [l, function(p) {
9949
- this.afternoon = v(p, !1);
9924
+ this.afternoon = b(p, !1);
9950
9925
  }], a: [l, function(p) {
9951
- this.afternoon = v(p, !0);
9926
+ this.afternoon = b(p, !0);
9952
9927
  }], S: [/\d/, function(p) {
9953
9928
  this.milliseconds = 100 * +p;
9954
9929
  }], SS: [r, function(p) {
@@ -9975,7 +9950,7 @@ var ha = { exports: {} };
9975
9950
  }], Y: [/[+-]?\d+/, d("year")], YY: [r, function(p) {
9976
9951
  this.year = u(p);
9977
9952
  }], YYYY: [/\d{4}/, d("year")], Z: m, ZZ: m };
9978
- function b(p) {
9953
+ function v(p) {
9979
9954
  var f, w;
9980
9955
  f = p, w = s && s.formats;
9981
9956
  for (var y = (p = f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, z, V) {
@@ -10019,7 +9994,7 @@ var ha = { exports: {} };
10019
9994
  try {
10020
9995
  if (["x", "X"].indexOf($) > -1)
10021
9996
  return new Date(($ === "X" ? 1e3 : 1) * K);
10022
- 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;
10023
9998
  re && !ce || (Ne = ce > 0 ? ce - 1 : ue.getMonth());
10024
9999
  var N = W || 0, Ve = ae || 0, xe = R || 0, He = P || 0;
10025
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);
@@ -10042,6 +10017,30 @@ var ha = { exports: {} };
10042
10017
  };
10043
10018
  };
10044
10019
  });
10020
+ })(pa);
10021
+ const F4 = pa.exports;
10022
+ var ha = { exports: {} };
10023
+ (function(e, t) {
10024
+ (function(o, a) {
10025
+ e.exports = a();
10026
+ })(Fe, function() {
10027
+ var o = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
10028
+ return function(a, r, i) {
10029
+ var l = r.prototype, s = l.format;
10030
+ i.en.formats = o, l.format = function(u) {
10031
+ u === void 0 && (u = "YYYY-MM-DDTHH:mm:ssZ");
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
+ var f = p && p.toUpperCase();
10035
+ return v || b[p] || o[p] || b[f].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(w, y, I) {
10036
+ return y || I.slice(1);
10037
+ });
10038
+ });
10039
+ }(u, d === void 0 ? {} : d);
10040
+ return s.call(this, m);
10041
+ };
10042
+ };
10043
+ });
10045
10044
  })(ha);
10046
10045
  const S4 = ha.exports;
10047
10046
  var ga = { exports: {} };
@@ -10061,10 +10060,10 @@ var ga = { exports: {} };
10061
10060
  };
10062
10061
  var u = l.startOf;
10063
10062
  l.startOf = function(d, m) {
10064
- var g = this.$utils(), v = !!g.u(m) || m;
10063
+ var g = this.$utils(), b = !!g.u(m) || m;
10065
10064
  if (g.p(d) === a) {
10066
10065
  var C = this.quarter() - 1;
10067
- 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");
10068
10067
  }
10069
10068
  return u.bind(this)(d, m);
10070
10069
  };
@@ -10073,6 +10072,70 @@ var ga = { exports: {} };
10073
10072
  })(ga);
10074
10073
  const T4 = ga.exports;
10075
10074
  var fa = { exports: {} };
10075
+ (function(e, t) {
10076
+ (function(o, a) {
10077
+ e.exports = a();
10078
+ })(Fe, function() {
10079
+ var o = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
10080
+ return function(r, i, l) {
10081
+ var s, u = function(b, C, v) {
10082
+ v === void 0 && (v = {});
10083
+ var p = new Date(b), f = function(w, y) {
10084
+ y === void 0 && (y = {});
10085
+ var I = y.timeZoneName || "short", L = w + "|" + I, x = a[L];
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, v);
10088
+ return f.formatToParts(p);
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
+ L >= 0 && (p[L] = parseInt(I, 10));
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 = +b;
10095
+ return (l.utc(A).valueOf() - (M -= M % 1e3)) / 6e4;
10096
+ }, m = i.prototype;
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
+ if (C) {
10101
+ var I = y.utcOffset();
10102
+ y = y.add(v - I, "minute");
10103
+ }
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
+ return p.type.toLowerCase() === "timezonename";
10108
+ });
10109
+ return v && v.value;
10110
+ };
10111
+ var g = m.startOf;
10112
+ m.startOf = function(b, C) {
10113
+ if (!this.$x || !this.$x.$timezone)
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
+ var y = function(k, A, M) {
10122
+ var B = k - 60 * A * 1e3, z = d(B, M);
10123
+ if (A === z)
10124
+ return [B, A];
10125
+ var V = d(B -= 60 * (z - A) * 1e3, M);
10126
+ return z === V ? [B, z] : [k - 60 * Math.min(z, V) * 1e3, Math.max(z, V)];
10127
+ }(l.utc(b, p).valueOf(), w, f), I = y[0], L = y[1], x = l(I).utcOffset(L);
10128
+ return x.$x.$timezone = f, x;
10129
+ }, l.tz.guess = function() {
10130
+ return Intl.DateTimeFormat().resolvedOptions().timeZone;
10131
+ }, l.tz.setDefault = function(b) {
10132
+ s = b;
10133
+ };
10134
+ };
10135
+ });
10136
+ })(fa);
10137
+ const H4 = fa.exports;
10138
+ var va = { exports: {} };
10076
10139
  (function(e, t) {
10077
10140
  (function(o, a) {
10078
10141
  e.exports = a();
@@ -10125,10 +10188,10 @@ var fa = { exports: {} };
10125
10188
  I = this.utc();
10126
10189
  return I;
10127
10190
  };
10128
- var v = u.format;
10191
+ var b = u.format;
10129
10192
  u.format = function(p) {
10130
10193
  var f = p || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
10131
- return v.call(this, f);
10194
+ return b.call(this, f);
10132
10195
  }, u.valueOf = function() {
10133
10196
  var p = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
10134
10197
  return this.$d.valueOf() - 6e4 * p;
@@ -10143,86 +10206,22 @@ var fa = { exports: {} };
10143
10206
  u.toDate = function(p) {
10144
10207
  return p === "s" && this.$offset ? s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
10145
10208
  };
10146
- var b = u.diff;
10209
+ var v = u.diff;
10147
10210
  u.diff = function(p, f, w) {
10148
10211
  if (p && this.$u === p.$u)
10149
- return b.call(this, p, f, w);
10212
+ return v.call(this, p, f, w);
10150
10213
  var y = this.local(), I = s(p).local();
10151
- return b.call(y, I, f, w);
10152
- };
10153
- };
10154
- });
10155
- })(fa);
10156
- const H4 = fa.exports;
10157
- var va = { exports: {} };
10158
- (function(e, t) {
10159
- (function(o, a) {
10160
- e.exports = a();
10161
- })(Fe, function() {
10162
- var o = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
10163
- return function(r, i, l) {
10164
- var s, u = function(v, C, b) {
10165
- b === void 0 && (b = {});
10166
- var p = new Date(v), f = function(w, y) {
10167
- y === void 0 && (y = {});
10168
- var I = y.timeZoneName || "short", L = w + "|" + I, x = a[L];
10169
- 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;
10170
- }(C, b);
10171
- return f.formatToParts(p);
10172
- }, d = function(v, C) {
10173
- for (var b = u(v, C), p = [], f = 0; f < b.length; f += 1) {
10174
- var w = b[f], y = w.type, I = w.value, L = o[y];
10175
- L >= 0 && (p[L] = parseInt(I, 10));
10176
- }
10177
- var x = p[3], k = x === 24 ? 0 : x, A = p[0] + "-" + p[1] + "-" + p[2] + " " + k + ":" + p[4] + ":" + p[5] + ":000", M = +v;
10178
- return (l.utc(A).valueOf() - (M -= M % 1e3)) / 6e4;
10179
- }, m = i.prototype;
10180
- m.tz = function(v, C) {
10181
- v === void 0 && (v = s);
10182
- 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);
10183
- if (C) {
10184
- var I = y.utcOffset();
10185
- y = y.add(b - I, "minute");
10186
- }
10187
- return y.$x.$timezone = v, y;
10188
- }, m.offsetName = function(v) {
10189
- var C = this.$x.$timezone || l.tz.guess(), b = u(this.valueOf(), C, { timeZoneName: v }).find(function(p) {
10190
- return p.type.toLowerCase() === "timezonename";
10191
- });
10192
- return b && b.value;
10193
- };
10194
- var g = m.startOf;
10195
- m.startOf = function(v, C) {
10196
- if (!this.$x || !this.$x.$timezone)
10197
- return g.call(this, v, C);
10198
- var b = l(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
10199
- return g.call(b, v, C).tz(this.$x.$timezone, !0);
10200
- }, l.tz = function(v, C, b) {
10201
- var p = b && C, f = b || C || s, w = d(+l(), f);
10202
- if (typeof v != "string")
10203
- return l(v).tz(f);
10204
- var y = function(k, A, M) {
10205
- var B = k - 60 * A * 1e3, z = d(B, M);
10206
- if (A === z)
10207
- return [B, A];
10208
- var V = d(B -= 60 * (z - A) * 1e3, M);
10209
- return z === V ? [B, z] : [k - 60 * Math.min(z, V) * 1e3, Math.max(z, V)];
10210
- }(l.utc(v, p).valueOf(), w, f), I = y[0], L = y[1], x = l(I).utcOffset(L);
10211
- return x.$x.$timezone = f, x;
10212
- }, l.tz.guess = function() {
10213
- return Intl.DateTimeFormat().resolvedOptions().timeZone;
10214
- }, l.tz.setDefault = function(v) {
10215
- s = v;
10214
+ return v.call(y, I, f, w);
10216
10215
  };
10217
10216
  };
10218
10217
  });
10219
10218
  })(va);
10220
10219
  const R4 = va.exports;
10221
- _.extend(S4);
10222
10220
  _.extend(F4);
10221
+ _.extend(S4);
10223
10222
  _.extend(T4);
10224
- _.extend(H4);
10225
10223
  _.extend(R4);
10224
+ _.extend(H4);
10226
10225
  const ba = {
10227
10226
  DATE_ISO: "YYYY-MM-DD"
10228
10227
  }, G4 = (e) => {
@@ -10336,13 +10335,13 @@ const xa = ({
10336
10335
  selectedDays: d,
10337
10336
  handleDayClick: m,
10338
10337
  handleStartMonthChange: g,
10339
- handleEndMonthChange: v,
10338
+ handleEndMonthChange: b,
10340
10339
  handleTodayClick: C,
10341
- timezoneName: b,
10340
+ timezoneName: v,
10342
10341
  ...p
10343
10342
  }) => {
10344
- 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) => {
10345
- 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");
10346
10345
  return x(V) || F && !w;
10347
10346
  }, M = (V, F, j) => {
10348
10347
  const D = e == null ? void 0 : e(V), O = F(V), K = D ? tn : n.Fragment, $ = D ? { placement: "top", content: D } : {};
@@ -10397,7 +10396,7 @@ const xa = ({
10397
10396
  renderDay: z,
10398
10397
  getTooltip: e,
10399
10398
  onDayClick: (V, F, j) => m(V, F, j, !1),
10400
- onMonthChange: v,
10399
+ onMonthChange: b,
10401
10400
  onTodayButtonClick: C,
10402
10401
  ...p
10403
10402
  }
@@ -10651,24 +10650,24 @@ const Rt = {
10651
10650
  ranges: d,
10652
10651
  shouldShowRelativeRanges: m = !1,
10653
10652
  components: g = {},
10654
- getTooltip: v,
10653
+ getTooltip: b,
10655
10654
  upcomingDates: C,
10656
- timezoneName: b = null,
10655
+ timezoneName: v = null,
10657
10656
  ...p
10658
10657
  }) => {
10659
10658
  var W, ae;
10660
- 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;
10661
10660
  Re(() => {
10662
10661
  l == null || l(w);
10663
10662
  }, [w, l]), Re(() => {
10664
- b && !G4(b) && (console.log(`${b} is not a valid timezone. Using default timezone now`), _.tz.setDefault());
10665
- }, [b]);
10663
+ v && !G4(v) && (console.log(`${v} is not a valid timezone. Using default timezone now`), _.tz.setDefault());
10664
+ }, [v]);
10666
10665
  const V = (R, P, oe) => {
10667
10666
  if (B)
10668
10667
  return;
10669
- const ue = b ? Z(G(R, b)) : new Date();
10668
+ const ue = v ? Z(G(R, v)) : new Date();
10670
10669
  P.disabled || F(ue) ? (y(ue), l == null || l(ue)) : i(ue, P, oe);
10671
- }, 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) => {
10672
10671
  y(P.from), L(P.from), k(P.to), i({ ...P, rangeName: R }, u, null);
10673
10672
  }, D = (R) => {
10674
10673
  y(R), l == null || l(R);
@@ -10678,22 +10677,22 @@ const Rt = {
10678
10677
  k(R), l == null || l(R);
10679
10678
  }, $ = (R, P, oe) => {
10680
10679
  if (!P.disabled)
10681
- 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)
10682
10681
  if (z)
10683
- 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);
10684
10683
  else if (t && (t.from || t.to) && (t.from || t.to).getTime() === R.getTime()) {
10685
- 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);
10686
10685
  i({ from: ue, to: we }, P, oe);
10687
10686
  } else
10688
10687
  i(
10689
- Sa.addDayToRange(Z(G(R, b).endOf("day"), !1), t),
10688
+ Sa.addDayToRange(Z(G(R, v).endOf("day"), !1), t),
10690
10689
  P,
10691
10690
  oe
10692
10691
  );
10693
10692
  else
10694
- i(Z(G(R, b)), P, oe);
10693
+ i(Z(G(R, v)), P, oe);
10695
10694
  }, ne = ye(() => r && w ? ({ date: R }) => /* @__PURE__ */ n.createElement(br, { date: R, currentMonth: w, onChange: D }) : void 0, [r, w]), te = (R) => {
10696
- const P = v == null ? void 0 : v(R), oe = F(R);
10695
+ const P = b == null ? void 0 : b(R), oe = F(R);
10697
10696
  return P ? /* @__PURE__ */ n.createElement(tn, { placement: "top", content: P }, /* @__PURE__ */ n.createElement(
10698
10697
  Qt,
10699
10698
  {
@@ -10713,7 +10712,7 @@ const Rt = {
10713
10712
  currentMonth: w
10714
10713
  }
10715
10714
  );
10716
- }, 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());
10717
10716
  return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement("div", { className: "flex" }, C ? /* @__PURE__ */ n.createElement(
10718
10717
  ya,
10719
10718
  {
@@ -10730,7 +10729,7 @@ const Rt = {
10730
10729
  startMonth: I,
10731
10730
  endMonth: x,
10732
10731
  modifiers: { ...u, ...re },
10733
- getTooltip: v,
10732
+ getTooltip: b,
10734
10733
  disabledDays: a,
10735
10734
  getDayContent: o,
10736
10735
  value: t,
@@ -10739,7 +10738,7 @@ const Rt = {
10739
10738
  handleEndMonthChange: K,
10740
10739
  handleTodayClick: V,
10741
10740
  selectedDays: ee,
10742
- timezoneName: b,
10741
+ timezoneName: v,
10743
10742
  ...p
10744
10743
  }
10745
10744
  ) : /* @__PURE__ */ n.createElement(
@@ -10769,7 +10768,7 @@ const Rt = {
10769
10768
  {
10770
10769
  value: A,
10771
10770
  ranges: d,
10772
- timezoneName: b,
10771
+ timezoneName: v,
10773
10772
  onChange: j,
10774
10773
  onSubmit: s
10775
10774
  }
@@ -10806,10 +10805,10 @@ const Z4 = ({
10806
10805
  getDayContent: d,
10807
10806
  ...m
10808
10807
  }) => {
10809
- const [g] = ie(e), [v, C] = ie(e), [b, p] = ie(!1), f = () => {
10810
- p(!b);
10808
+ const [g] = ie(e), [b, C] = ie(e), [v, p] = ie(!1), f = () => {
10809
+ p(!v);
10811
10810
  }, w = (L, x, k) => {
10812
- 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);
10813
10812
  }, y = () => {
10814
10813
  C(e), r == null || r(e), p(!1);
10815
10814
  }, I = () => {
@@ -10820,7 +10819,7 @@ const Z4 = ({
10820
10819
  }, [e]), /* @__PURE__ */ n.createElement(
10821
10820
  Me,
10822
10821
  {
10823
- visible: b,
10822
+ visible: v,
10824
10823
  maxWidth: 900,
10825
10824
  distance: 18,
10826
10825
  placement: "bottom",
@@ -10839,7 +10838,7 @@ const Z4 = ({
10839
10838
  onClick: f
10840
10839
  }
10841
10840
  ),
10842
- /* @__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(
10843
10842
  wr,
10844
10843
  {
10845
10844
  variant: t,
@@ -10868,32 +10867,33 @@ const P4 = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
10868
10867
  text: e,
10869
10868
  isOpen: t = !1,
10870
10869
  showArrow: o = !0,
10871
- onClick: a,
10872
- onClickOutside: r,
10873
- classNames: i,
10874
- children: l,
10875
- error: s = null,
10876
- ...u
10870
+ autoSelectOnClick: a = !1,
10871
+ onClick: r,
10872
+ onClickOutside: i,
10873
+ classNames: l,
10874
+ children: s,
10875
+ error: u = null,
10876
+ ...d
10877
10877
  }) => {
10878
- const d = fe(), m = (g) => {
10878
+ const m = fe(), g = (b) => {
10879
10879
  setTimeout(() => {
10880
- var v;
10881
- (v = d == null ? void 0 : d.current.querySelector("select,textarea,input")) == null || v.focus();
10882
- }, 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);
10883
10883
  };
10884
- 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(
10885
10885
  "span",
10886
10886
  {
10887
10887
  className: E(
10888
10888
  "cursor-pointer whitespace-nowrap",
10889
- s && "!border-danger !text-danger",
10890
- i == null ? void 0 : i.text
10889
+ u && "!border-danger !text-danger",
10890
+ l == null ? void 0 : l.text
10891
10891
  ),
10892
- onClick: m
10892
+ onClick: g
10893
10893
  },
10894
- /* @__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 })),
10895
10895
  o && /* @__PURE__ */ n.createElement(On, { size: "medium" })
10896
- ), /* @__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)));
10897
10897
  }, X4 = ({
10898
10898
  src: e,
10899
10899
  size: t = "large",
@@ -10908,8 +10908,8 @@ const P4 = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
10908
10908
  onError: m,
10909
10909
  ...g
10910
10910
  }) => {
10911
- const v = fe(), [C, b] = ie(0), p = () => {
10912
- v.current.click();
10911
+ const b = fe(), [C, v] = ie(0), p = () => {
10912
+ b.current.click();
10913
10913
  }, f = (L) => {
10914
10914
  const [x] = L.target.files;
10915
10915
  if (a && 1048576 * a < x.size) {
@@ -10918,7 +10918,7 @@ const P4 = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
10918
10918
  }
10919
10919
  u(x);
10920
10920
  }, w = () => {
10921
- b(C + 1), d();
10921
+ v(C + 1), d();
10922
10922
  }, y = typeof i == "string" ? (i == null ? void 0 : i.trim().length) > 0 : !!i, I = l ? l.trim().length > 0 : !1;
10923
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(
10924
10924
  "div",
@@ -10943,7 +10943,7 @@ const P4 = ({ value: e, error: t }) => /* @__PURE__ */ n.createElement("span", n
10943
10943
  "input",
10944
10944
  {
10945
10945
  key: C,
10946
- ref: v,
10946
+ ref: b,
10947
10947
  className: "hidden",
10948
10948
  type: "file",
10949
10949
  multiple: !1,