@starasia/admin 1.0.1 → 1.0.2

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/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as Tr from "react";
2
- import H1, { createContext as Wr, useContext as Or, forwardRef as Hr, useRef as hr, useState as F1, useEffect as V1, useMemo as Er, useCallback as Lr, useSyncExternalStore as Xo, useLayoutEffect as _o, memo as Ar, Children as $o, useImperativeHandle as r5, isValidElement as e5 } from "react";
3
- import a5, { createPortal as no, flushSync as t5 } from "react-dom";
4
- import { useLocation as lo, useNavigate as co, NavLink as i5, Link as uo, useSearchParams as oe, useParams as o5 } from "react-router-dom";
2
+ import H1, { createContext as Wr, useContext as Or, forwardRef as Hr, useRef as hr, useState as F1, useEffect as V1, useMemo as Er, useCallback as Lr, useSyncExternalStore as _o, useLayoutEffect as $o, memo as Ar, Children as r5, useImperativeHandle as e5, isValidElement as a5 } from "react";
3
+ import t5, { createPortal as no, flushSync as i5 } from "react-dom";
4
+ import { useLocation as lo, useNavigate as co, NavLink as o5, Link as uo, useSearchParams as oe, useParams as s5 } from "react-router-dom";
5
5
  var Wa = { exports: {} }, se = {};
6
6
  /**
7
7
  * @license React
@@ -13,7 +13,7 @@ var Wa = { exports: {} }, se = {};
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
15
  var Tt;
16
- function s5() {
16
+ function n5() {
17
17
  if (Tt) return se;
18
18
  Tt = 1;
19
19
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -37,7 +37,7 @@ var Ue = {};
37
37
  * LICENSE file in the root directory of this source tree.
38
38
  */
39
39
  var Nt;
40
- function n5() {
40
+ function l5() {
41
41
  return Nt || (Nt = 1, process.env.NODE_ENV !== "production" && function() {
42
42
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, D = "@@iterator";
43
43
  function T(r) {
@@ -626,9 +626,9 @@ React keys must be passed directly to JSX without using spread:
626
626
  Ue.Fragment = o, Ue.jsx = nr, Ue.jsxs = lr;
627
627
  }()), Ue;
628
628
  }
629
- process.env.NODE_ENV === "production" ? Wa.exports = s5() : Wa.exports = n5();
629
+ process.env.NODE_ENV === "production" ? Wa.exports = n5() : Wa.exports = l5();
630
630
  var Pr = Wa.exports;
631
- const l5 = `:root {
631
+ const c5 = `:root {
632
632
  /* primary */
633
633
  --starasia-ui-alert-primary-border-color: var(
634
634
  --starasia-ui-color-blue-700,
@@ -759,13 +759,13 @@ const l5 = `:root {
759
759
  .starasia-alert-title-dark {
760
760
  color: var(--starasia-ui-alert-dark-color);
761
761
  }
762
- `, Ft = "starasia-alert-styles", c5 = (a) => {
762
+ `, Ft = "starasia-alert-styles", u5 = (a) => {
763
763
  if (!document.getElementById(Ft)) {
764
764
  const c = document.createElement("style");
765
765
  c.id = Ft, c.textContent = a, document.head.appendChild(c);
766
766
  }
767
767
  };
768
- c5(l5);
768
+ u5(c5);
769
769
  const Ot = Wr(null), sd = ({ children: a, style: c, variant: n = "primary" }) => /* @__PURE__ */ Pr.jsx(Ot.Provider, { value: { variant: n }, children: /* @__PURE__ */ Pr.jsx("div", { className: `starasia-alert starasia-alert-${n}`, style: c, children: a }) }), nd = () => {
770
770
  const a = Or(Ot);
771
771
  return (a == null ? void 0 : a.variant) !== "success" ? /* @__PURE__ */ Pr.jsx(
@@ -830,7 +830,7 @@ var Ga = { exports: {} }, ne = {};
830
830
  * LICENSE file in the root directory of this source tree.
831
831
  */
832
832
  var Pt;
833
- function u5() {
833
+ function d5() {
834
834
  if (Pt) return ne;
835
835
  Pt = 1;
836
836
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -854,7 +854,7 @@ var Je = {};
854
854
  * LICENSE file in the root directory of this source tree.
855
855
  */
856
856
  var zt;
857
- function d5() {
857
+ function p5() {
858
858
  return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
859
859
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, D = "@@iterator";
860
860
  function T(r) {
@@ -1443,9 +1443,9 @@ React keys must be passed directly to JSX without using spread:
1443
1443
  Je.Fragment = o, Je.jsx = nr, Je.jsxs = lr;
1444
1444
  }()), Je;
1445
1445
  }
1446
- process.env.NODE_ENV === "production" ? Ga.exports = u5() : Ga.exports = d5();
1447
- var p5 = Ga.exports;
1448
- const g5 = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
1446
+ process.env.NODE_ENV === "production" ? Ga.exports = d5() : Ga.exports = p5();
1447
+ var g5 = Ga.exports;
1448
+ const f5 = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
1449
1449
 
1450
1450
  .starasia-badges {
1451
1451
  display: flex;
@@ -1562,13 +1562,13 @@ const g5 = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@4
1562
1562
  .starasia-badges-neutral.starasia-badges-border {
1563
1563
  border-color: var(--starasia-ui-color-purple-500, #7e39c5);
1564
1564
  }
1565
- `, Vt = "starasia-badges-styles", f5 = (a) => {
1565
+ `, Vt = "starasia-badges-styles", h5 = (a) => {
1566
1566
  if (!document.getElementById(Vt)) {
1567
1567
  const c = document.createElement("style");
1568
1568
  c.id = Vt, c.textContent = a, document.head.appendChild(c);
1569
1569
  }
1570
1570
  };
1571
- f5(g5);
1571
+ h5(f5);
1572
1572
  const qe = {
1573
1573
  xs: 14,
1574
1574
  sm: 16,
@@ -1582,7 +1582,7 @@ const qe = {
1582
1582
  RightIcon: i,
1583
1583
  border: h,
1584
1584
  corners: v = "rounded"
1585
- }) => /* @__PURE__ */ p5.jsxs("div", { className: h5(a, c, h, v), children: [
1585
+ }) => /* @__PURE__ */ g5.jsxs("div", { className: C5(a, c, h, v), children: [
1586
1586
  o ? H1.cloneElement(o, {
1587
1587
  width: qe[a],
1588
1588
  height: qe[a],
@@ -1598,7 +1598,7 @@ const qe = {
1598
1598
  color: "inherit"
1599
1599
  }
1600
1600
  }) : null
1601
- ] }), h5 = (a, c, n, o) => {
1601
+ ] }), C5 = (a, c, n, o) => {
1602
1602
  let i = ["starasia-badges"];
1603
1603
  return a && i.push(`starasia-badges-${a}`), c && i.push(`starasia-badges-${c}`), n && i.push("starasia-badges-border"), o === "rounded" ? i.push("starasia-badges-rounded") : i.push("starasia-badges-circular"), i.join(" ");
1604
1604
  };
@@ -1613,7 +1613,7 @@ var Ka = { exports: {} }, le = {};
1613
1613
  * LICENSE file in the root directory of this source tree.
1614
1614
  */
1615
1615
  var Yt;
1616
- function C5() {
1616
+ function b5() {
1617
1617
  if (Yt) return le;
1618
1618
  Yt = 1;
1619
1619
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -1637,7 +1637,7 @@ var Xe = {};
1637
1637
  * LICENSE file in the root directory of this source tree.
1638
1638
  */
1639
1639
  var Wt;
1640
- function b5() {
1640
+ function v5() {
1641
1641
  return Wt || (Wt = 1, process.env.NODE_ENV !== "production" && function() {
1642
1642
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, D = "@@iterator";
1643
1643
  function T(r) {
@@ -2226,9 +2226,9 @@ React keys must be passed directly to JSX without using spread:
2226
2226
  Xe.Fragment = o, Xe.jsx = nr, Xe.jsxs = lr;
2227
2227
  }()), Xe;
2228
2228
  }
2229
- process.env.NODE_ENV === "production" ? Ka.exports = C5() : Ka.exports = b5();
2229
+ process.env.NODE_ENV === "production" ? Ka.exports = b5() : Ka.exports = v5();
2230
2230
  var Kr = Ka.exports;
2231
- const v5 = `:root {
2231
+ const m5 = `:root {
2232
2232
  /* gray */
2233
2233
  --starasia-ui-color-gray-50: #fffeff;
2234
2234
  --starasia-ui-color-gray-100: #eff3f8;
@@ -7755,13 +7755,13 @@ const v5 = `:root {
7755
7755
  display: none;
7756
7756
  }
7757
7757
  }
7758
- `, Gt = "starasia-box-styles", m5 = (a) => {
7758
+ `, Gt = "starasia-box-styles", y5 = (a) => {
7759
7759
  if (!document.getElementById(Gt)) {
7760
7760
  const c = document.createElement("style");
7761
7761
  c.id = Gt, c.textContent = a, document.head.appendChild(c);
7762
7762
  }
7763
7763
  };
7764
- m5(v5);
7764
+ y5(m5);
7765
7765
  const n1 = Hr((a, c) => {
7766
7766
  const {
7767
7767
  children: n,
@@ -7825,7 +7825,7 @@ const n1 = Hr((a, c) => {
7825
7825
  customPadding: K1,
7826
7826
  customBackgroundColor: L1,
7827
7827
  ...y1
7828
- } = a, w1 = `${y5(
7828
+ } = a, w1 = `${w5(
7829
7829
  o,
7830
7830
  i,
7831
7831
  h,
@@ -7887,7 +7887,7 @@ const n1 = Hr((a, c) => {
7887
7887
  ...y1.style
7888
7888
  };
7889
7889
  return Y === "article" ? /* @__PURE__ */ Kr.jsx("article", { ref: c, ...y1, className: w1, style: N1, children: n }) : Y === "aside" ? /* @__PURE__ */ Kr.jsx("aside", { ref: c, ...y1, className: w1, style: N1, children: n }) : Y === "header" ? /* @__PURE__ */ Kr.jsx("header", { ref: c, ...y1, className: w1, style: N1, children: n }) : Y === "main" ? /* @__PURE__ */ Kr.jsx("main", { ref: c, ...y1, className: w1, style: N1, children: n }) : Y === "nav" ? /* @__PURE__ */ Kr.jsx("nav", { ref: c, ...y1, className: w1, style: N1, children: n }) : Y === "section" ? /* @__PURE__ */ Kr.jsx("section", { ref: c, ...y1, className: w1, style: N1, children: n }) : /* @__PURE__ */ Kr.jsx("div", { ref: c, ...y1, className: w1, style: N1, children: n });
7890
- }), y5 = (a, c, n, o, i, h, v, b, g, y, C, A, L, B, R, D, T, Z, m, O, Q, Y, J, W, X, r1, F, q, z, E, I, N, i1, e1, g1, u1, m1, H, V, U, $, R1, c1, l1, a1, d1, t1) => {
7890
+ }), w5 = (a, c, n, o, i, h, v, b, g, y, C, A, L, B, R, D, T, Z, m, O, Q, Y, J, W, X, r1, F, q, z, E, I, N, i1, e1, g1, u1, m1, H, V, U, $, R1, c1, l1, a1, d1, t1) => {
7891
7891
  const p1 = [];
7892
7892
  if (a && p1.push("starasia-box-fullWidth"), c && p1.push("starasia-box-fullHeight"), n && p1.push(`starasia-box-${n}`), o && p1.push(`starasia-box-${o}`), i && p1.push(`starasia-box-justify-${i}`), h && p1.push(`starasia-box-${h}`), v && p1.push(`starasia-box-gap-${v}`), b && p1.push(`starasia-box-row-gap-${b}`), g && p1.push(`starasia-box-bg-color-${g}`), y && p1.push(`starasia-box-flex-${y}`), C && p1.push(`starasia-box-min-width${C}`), A && p1.push(`starasia-box-margin-${A}`), L && p1.push(`starasia-box-margin-top-${L}`), B && p1.push(`starasia-box-margin-right-${B}`), R && p1.push(`starasia-box-margin-bottom-${R}`), D && p1.push(`starasia-box-margin-left-${D}`), d1 && p1.push(`starasia-box-margin-inline-${d1}`), t1 && p1.push(`starasia-box-margin-block-${t1}`), T && p1.push(`starasia-box-padding-${T}`), Z && p1.push(`starasia-box-padding-top-${Z}`), m && p1.push(`starasia-box-padding-right-${m}`), O && p1.push(`starasia-box-padding-bottom-${O}`), Q && p1.push(`starasia-box-padding-left-${Q}`), l1 && p1.push(`starasia-box-padding-block-${l1}`), a1 && p1.push(`starasia-box-padding-inline-${a1}`), Y && p1.push(`starasia-box-${Y}`), J && p1.push(`starasia-box-flex-${J}`), W && p1.push(`starasia-box-${W}`), X && p1.push(`starasia-box-${X}`), r1 && p1.push(`starasia-box-${r1}`), F && p1.push(`starasia-box-top-left-${F}`), q && p1.push(`starasia-box-top-right-${q}`), z && p1.push(`starasia-box-bottom-right-${z}`), E && p1.push(`starasia-box-bottom-left-${E}`), I && p1.push(`starasia-box-${I}`), N && p1.push(`starasia-box-border-color-${N}`), i1 && p1.push(`starasia-box-${i1}`), e1 && p1.push(`starasia-box-position-${e1}`), g1 && p1.push(`starasia-box-position-${g1}`), u1 && p1.push(`starasia-box-position-${u1}`), m1 && p1.push(`starasia-box-position-${m1}`), H && p1.push(`starasia-box-position-${H}`), V && p1.push(`starasia-box-${V}`), U && p1.push(`starasia-box-${U}`), $ && p1.push(`starasia-box-cursor-${$}`), typeof R1 == "string")
7893
7893
  R1 === "mobile" ? (p1.push("hideOnTablet"), p1.push("hideOnDesktop")) : R1 === "tablet" ? (p1.push("hideOnMobile"), p1.push("hideOnDesktop")) : R1 === "desktop" && (p1.push("hideOnMobile"), p1.push("hideOnTablet"));
@@ -8000,7 +8000,7 @@ const n1 = Hr((a, c) => {
8000
8000
  "spacing-192",
8001
8001
  "spacing-224",
8002
8002
  "spacing-256"
8003
- ], w5 = [
8003
+ ], x5 = [
8004
8004
  {
8005
8005
  name: "brand",
8006
8006
  colors: ["primary", "secondary", "tertiary", "border-base"]
@@ -8163,7 +8163,7 @@ const n1 = Hr((a, c) => {
8163
8163
  "aloha-900"
8164
8164
  ]
8165
8165
  }
8166
- ], Cd = w5.map(
8166
+ ], Cd = x5.map(
8167
8167
  (a) => a.colors
8168
8168
  ).flat(), bd = [
8169
8169
  "1",
@@ -8606,7 +8606,7 @@ var Ua = { exports: {} }, ce = {};
8606
8606
  * LICENSE file in the root directory of this source tree.
8607
8607
  */
8608
8608
  var Kt;
8609
- function x5() {
8609
+ function A5() {
8610
8610
  if (Kt) return ce;
8611
8611
  Kt = 1;
8612
8612
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -8630,7 +8630,7 @@ var _e = {};
8630
8630
  * LICENSE file in the root directory of this source tree.
8631
8631
  */
8632
8632
  var Ut;
8633
- function A5() {
8633
+ function k5() {
8634
8634
  return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
8635
8635
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, D = "@@iterator";
8636
8636
  function T(r) {
@@ -9219,9 +9219,9 @@ React keys must be passed directly to JSX without using spread:
9219
9219
  _e.Fragment = o, _e.jsx = nr, _e.jsxs = lr;
9220
9220
  }()), _e;
9221
9221
  }
9222
- process.env.NODE_ENV === "production" ? Ua.exports = x5() : Ua.exports = A5();
9222
+ process.env.NODE_ENV === "production" ? Ua.exports = A5() : Ua.exports = k5();
9223
9223
  var ue = Ua.exports;
9224
- const k5 = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
9224
+ const L5 = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
9225
9225
 
9226
9226
  * {
9227
9227
  margin: 0;
@@ -9656,13 +9656,13 @@ const k5 = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@3
9656
9656
  border-color: var(--starasia-ui-border-color-warning-disable);
9657
9657
  pointer-events: none;
9658
9658
  }
9659
- `, Jt = "starasia-button-styles", L5 = (a) => {
9659
+ `, Jt = "starasia-button-styles", M5 = (a) => {
9660
9660
  if (!document.getElementById(Jt)) {
9661
9661
  const c = document.createElement("style");
9662
9662
  c.id = Jt, c.textContent = a, document.head.appendChild(c);
9663
9663
  }
9664
9664
  };
9665
- L5(k5);
9665
+ M5(L5);
9666
9666
  const jr = ({
9667
9667
  children: a,
9668
9668
  size: c = "md",
@@ -9683,7 +9683,7 @@ const jr = ({
9683
9683
  "button",
9684
9684
  {
9685
9685
  className: `starasia-button ${a ? "" : "no-text"}
9686
- ${M5(
9686
+ ${j5(
9687
9687
  c,
9688
9688
  h,
9689
9689
  v,
@@ -9715,7 +9715,7 @@ const jr = ({
9715
9715
  return 16;
9716
9716
  if (a === "md" || a === "lg")
9717
9717
  return 20;
9718
- }, M5 = (a, c, n, o, i, h, v, b, g, y, C) => {
9718
+ }, j5 = (a, c, n, o, i, h, v, b, g, y, C) => {
9719
9719
  const A = [];
9720
9720
  return a && A.push(`starasia-button-${a}`), c ? A.push("starasia-button-primary") : n ? A.push("starasia-button-secondary") : o ? A.push("starasia-button-tertiary") : i ? A.push("starasia-button-quarternary") : h ? A.push("starasia-button-link") : v ? A.push("starasia-button-success") : b ? A.push("starasia-button-danger") : g ? A.push("starasia-button-warning") : A.push("starasia-button-primary"), y && A.push(`starasia-button-${y.toLowerCase()}`), C && A.push("starasia-button-width-full"), A.join(" ");
9721
9721
  };
@@ -9730,7 +9730,7 @@ var Ja = { exports: {} }, de = {};
9730
9730
  * LICENSE file in the root directory of this source tree.
9731
9731
  */
9732
9732
  var Xt;
9733
- function j5() {
9733
+ function E5() {
9734
9734
  if (Xt)
9735
9735
  return de;
9736
9736
  Xt = 1;
@@ -9758,7 +9758,7 @@ var $e = {};
9758
9758
  * LICENSE file in the root directory of this source tree.
9759
9759
  */
9760
9760
  var _t;
9761
- function E5() {
9761
+ function S5() {
9762
9762
  return _t || (_t = 1, process.env.NODE_ENV !== "production" && function() {
9763
9763
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, D = "@@iterator";
9764
9764
  function T(r) {
@@ -10347,9 +10347,9 @@ React keys must be passed directly to JSX without using spread:
10347
10347
  $e.Fragment = o, $e.jsx = nr, $e.jsxs = lr;
10348
10348
  }()), $e;
10349
10349
  }
10350
- process.env.NODE_ENV === "production" ? Ja.exports = j5() : Ja.exports = E5();
10350
+ process.env.NODE_ENV === "production" ? Ja.exports = E5() : Ja.exports = S5();
10351
10351
  var Da = Ja.exports;
10352
- const S5 = `:root {
10352
+ const Z5 = `:root {
10353
10353
  /* radius */
10354
10354
  --starasia-ui-card-border-radius: var(--starasia-ui-radii-md, 6px);
10355
10355
 
@@ -10390,13 +10390,13 @@ const S5 = `:root {
10390
10390
  .starasia-card-footer {
10391
10391
  padding: var(--starasia-ui-spacing-lg, 16px);
10392
10392
  }
10393
- `, $t = "starasia-card-styles", Z5 = (a) => {
10393
+ `, $t = "starasia-card-styles", B5 = (a) => {
10394
10394
  if (!document.getElementById($t)) {
10395
10395
  const c = document.createElement("style");
10396
10396
  c.id = $t, c.textContent = a, document.head.appendChild(c);
10397
10397
  }
10398
10398
  };
10399
- Z5(S5);
10399
+ B5(Z5);
10400
10400
  const Ed = ({ children: a, style: c }) => /* @__PURE__ */ Da.jsx("div", { className: "starasia-card", style: { ...c }, children: a }), Sd = ({ children: a, style: c }) => /* @__PURE__ */ Da.jsx("div", { className: "starasia-card-header", style: { ...c }, children: a }), Zd = ({ children: a, style: c }) => /* @__PURE__ */ Da.jsx("div", { className: "starasia-card-body", style: { ...c }, children: a }), Bd = ({ children: a, style: c }) => /* @__PURE__ */ Da.jsx("div", { className: "starasia-card-footer", style: { ...c }, children: a });
10401
10401
  var qa = { exports: {} }, pe = {};
10402
10402
  /**
@@ -10409,7 +10409,7 @@ var qa = { exports: {} }, pe = {};
10409
10409
  * LICENSE file in the root directory of this source tree.
10410
10410
  */
10411
10411
  var r2;
10412
- function B5() {
10412
+ function O5() {
10413
10413
  if (r2)
10414
10414
  return pe;
10415
10415
  r2 = 1;
@@ -10437,7 +10437,7 @@ var ra = {};
10437
10437
  * LICENSE file in the root directory of this source tree.
10438
10438
  */
10439
10439
  var e2;
10440
- function O5() {
10440
+ function I5() {
10441
10441
  return e2 || (e2 = 1, process.env.NODE_ENV !== "production" && function() {
10442
10442
  var a = H1, c = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, D = "@@iterator";
10443
10443
  function T(r) {
@@ -11026,7 +11026,7 @@ React keys must be passed directly to JSX without using spread:
11026
11026
  ra.Fragment = o, ra.jsx = nr, ra.jsxs = lr;
11027
11027
  }()), ra;
11028
11028
  }
11029
- process.env.NODE_ENV === "production" ? qa.exports = B5() : qa.exports = O5();
11029
+ process.env.NODE_ENV === "production" ? qa.exports = O5() : qa.exports = I5();
11030
11030
  var Q1 = qa.exports;
11031
11031
  const Ha = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
11032
11032
 
@@ -11374,7 +11374,7 @@ const Ha = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,w
11374
11374
  "October",
11375
11375
  "November",
11376
11376
  "December"
11377
- ], I5 = [
11377
+ ], D5 = [
11378
11378
  "Jan",
11379
11379
  "Feb",
11380
11380
  "Mar",
@@ -11396,19 +11396,19 @@ function fo(a) {
11396
11396
  document.removeEventListener("click", i, !0);
11397
11397
  }), []), { ref: o, isComponentVisible: c, setIsComponentVisible: n };
11398
11398
  }
11399
- const a2 = "starasia-calendar-input-styles", D5 = (a) => {
11399
+ const a2 = "starasia-calendar-input-styles", H5 = (a) => {
11400
11400
  if (!document.getElementById(a2)) {
11401
11401
  const c = document.createElement("style");
11402
11402
  c.id = a2, c.textContent = a, document.head.appendChild(c);
11403
11403
  }
11404
11404
  };
11405
- D5(Ha);
11405
+ H5(Ha);
11406
11406
  const ea = (a) => {
11407
11407
  if (a === "sm" || a === "md")
11408
11408
  return 16;
11409
11409
  if (a === "lg")
11410
11410
  return 20;
11411
- }, H5 = (a) => {
11411
+ }, R5 = (a) => {
11412
11412
  const { size: c = "md", status: n = "default", variant: o = "outline", ...i } = a, h = hr(null), v = () => {
11413
11413
  h.current && i.onClick && (h.current.focus(), i.onClick(""));
11414
11414
  };
@@ -11471,7 +11471,7 @@ const ea = (a) => {
11471
11471
  ]
11472
11472
  }
11473
11473
  );
11474
- }, R5 = ({
11474
+ }, Q5 = ({
11475
11475
  date: a,
11476
11476
  setDate: c,
11477
11477
  dateRange: n,
@@ -11537,7 +11537,7 @@ const ea = (a) => {
11537
11537
  );
11538
11538
  }) })
11539
11539
  ] });
11540
- }, Q5 = ({
11540
+ }, T5 = ({
11541
11541
  date: a,
11542
11542
  setDate: c,
11543
11543
  filter: n,
@@ -11587,7 +11587,7 @@ const ea = (a) => {
11587
11587
  }, Xa = (a) => {
11588
11588
  const c = Math.floor(a / 10) * 10, n = c + 10;
11589
11589
  return { start: c, end: n };
11590
- }, T5 = ({
11590
+ }, N5 = ({
11591
11591
  date: a,
11592
11592
  filter: c,
11593
11593
  setViews: n,
@@ -11682,7 +11682,7 @@ const ea = (a) => {
11682
11682
  }
11683
11683
  )
11684
11684
  }
11685
- ), N5 = ({
11685
+ ), F5 = ({
11686
11686
  setViews: a,
11687
11687
  views: c,
11688
11688
  filter: n,
@@ -11732,16 +11732,16 @@ const ea = (a) => {
11732
11732
  };
11733
11733
  function ae(a) {
11734
11734
  const c = new Date(a), n = c.getFullYear(), o = c.getMonth();
11735
- return `${c.getDate().toString().padStart(2, "0")} ${I5[o]} ${n}`;
11735
+ return `${c.getDate().toString().padStart(2, "0")} ${D5[o]} ${n}`;
11736
11736
  }
11737
- const t2 = "starasia-calendar-styles", F5 = (a) => {
11737
+ const t2 = "starasia-calendar-styles", P5 = (a) => {
11738
11738
  if (!document.getElementById(t2)) {
11739
11739
  const c = document.createElement("style");
11740
11740
  c.id = t2, c.textContent = a, document.head.appendChild(c);
11741
11741
  }
11742
11742
  };
11743
- F5(Ha);
11744
- const P5 = Hr(
11743
+ P5(Ha);
11744
+ const z5 = Hr(
11745
11745
  ({
11746
11746
  value: a,
11747
11747
  onChange: c,
@@ -11804,7 +11804,7 @@ const P5 = Hr(
11804
11804
  ref: o ? A : null,
11805
11805
  children: [
11806
11806
  o ? /* @__PURE__ */ Q1.jsx(
11807
- H5,
11807
+ R5,
11808
11808
  {
11809
11809
  value: Y(),
11810
11810
  inputMode: "none",
@@ -11826,7 +11826,7 @@ const P5 = Hr(
11826
11826
  ref: R,
11827
11827
  children: [
11828
11828
  /* @__PURE__ */ Q1.jsx(
11829
- N5,
11829
+ F5,
11830
11830
  {
11831
11831
  setViews: T,
11832
11832
  views: D,
@@ -11836,7 +11836,7 @@ const P5 = Hr(
11836
11836
  }
11837
11837
  ),
11838
11838
  /* @__PURE__ */ Q1.jsx("div", { className: "starasia-calendar-body", children: D === "days" ? /* @__PURE__ */ Q1.jsx(
11839
- R5,
11839
+ Q5,
11840
11840
  {
11841
11841
  date: Z,
11842
11842
  setDate: m,
@@ -11849,7 +11849,7 @@ const P5 = Hr(
11849
11849
  maxDate: v
11850
11850
  }
11851
11851
  ) : D === "months" ? /* @__PURE__ */ Q1.jsx(
11852
- Q5,
11852
+ T5,
11853
11853
  {
11854
11854
  date: Z,
11855
11855
  setDate: m,
@@ -11864,7 +11864,7 @@ const P5 = Hr(
11864
11864
  maxDate: v
11865
11865
  }
11866
11866
  ) : /* @__PURE__ */ Q1.jsx(
11867
- T5,
11867
+ N5,
11868
11868
  {
11869
11869
  date: Z,
11870
11870
  setDate: m,
@@ -11886,19 +11886,19 @@ const P5 = Hr(
11886
11886
  }
11887
11887
  );
11888
11888
  }
11889
- ), i2 = "starasia-calendar-input-styles", z5 = (a) => {
11889
+ ), i2 = "starasia-calendar-input-styles", V5 = (a) => {
11890
11890
  if (!document.getElementById(i2)) {
11891
11891
  const c = document.createElement("style");
11892
11892
  c.id = i2, c.textContent = a, document.head.appendChild(c);
11893
11893
  }
11894
11894
  };
11895
- z5(Ha);
11895
+ V5(Ha);
11896
11896
  const aa = (a) => {
11897
11897
  if (a === "sm" || a === "md")
11898
11898
  return 16;
11899
11899
  if (a === "lg")
11900
11900
  return 20;
11901
- }, V5 = (a) => {
11901
+ }, Y5 = (a) => {
11902
11902
  const { size: c = "md", status: n = "default", variant: o = "outline", ...i } = a, h = hr(null), v = () => {
11903
11903
  h.current && i.onClick && (h.current.focus(), i.onClick(""));
11904
11904
  };
@@ -11961,7 +11961,7 @@ const aa = (a) => {
11961
11961
  ]
11962
11962
  }
11963
11963
  );
11964
- }, Y5 = ({
11964
+ }, W5 = ({
11965
11965
  date: a,
11966
11966
  setDate: c,
11967
11967
  previewDate: n,
@@ -12019,7 +12019,7 @@ const aa = (a) => {
12019
12019
  );
12020
12020
  }) })
12021
12021
  ] });
12022
- }, W5 = ({
12022
+ }, G5 = ({
12023
12023
  date: a,
12024
12024
  setDate: c,
12025
12025
  filter: n,
@@ -12057,7 +12057,7 @@ const aa = (a) => {
12057
12057
  }, _a = (a) => {
12058
12058
  const c = Math.floor(a / 10) * 10, n = c + 10;
12059
12059
  return { start: c, end: n };
12060
- }, G5 = ({
12060
+ }, K5 = ({
12061
12061
  date: a,
12062
12062
  filter: c,
12063
12063
  setViews: n,
@@ -12095,7 +12095,7 @@ const aa = (a) => {
12095
12095
  },
12096
12096
  Z
12097
12097
  )) });
12098
- }, K5 = ({
12098
+ }, U5 = ({
12099
12099
  setViews: a,
12100
12100
  views: c,
12101
12101
  filter: n,
@@ -12146,14 +12146,14 @@ const aa = (a) => {
12146
12146
  /* @__PURE__ */ Q1.jsx("div", { style: { cursor: "pointer" }, onClick: h, children: g() }),
12147
12147
  /* @__PURE__ */ Q1.jsx(Co, { onClick: () => v() })
12148
12148
  ] });
12149
- }, o2 = "starasia-calendar-styles", U5 = (a) => {
12149
+ }, o2 = "starasia-calendar-styles", J5 = (a) => {
12150
12150
  if (!document.getElementById(o2)) {
12151
12151
  const c = document.createElement("style");
12152
12152
  c.id = o2, c.textContent = a, document.head.appendChild(c);
12153
12153
  }
12154
12154
  };
12155
- U5(Ha);
12156
- const J5 = Hr(
12155
+ J5(Ha);
12156
+ const q5 = Hr(
12157
12157
  ({
12158
12158
  value: a,
12159
12159
  onChange: c,
@@ -12197,7 +12197,7 @@ const J5 = Hr(
12197
12197
  ref: o ? A : null,
12198
12198
  children: [
12199
12199
  o ? /* @__PURE__ */ Q1.jsx(
12200
- V5,
12200
+ Y5,
12201
12201
  {
12202
12202
  value: Y(),
12203
12203
  onClick: () => B(!0),
@@ -12217,7 +12217,7 @@ const J5 = Hr(
12217
12217
  ref: R,
12218
12218
  children: [
12219
12219
  /* @__PURE__ */ Q1.jsx(
12220
- K5,
12220
+ U5,
12221
12221
  {
12222
12222
  setViews: T,
12223
12223
  views: D,
@@ -12228,7 +12228,7 @@ const J5 = Hr(
12228
12228
  }
12229
12229
  ),
12230
12230
  /* @__PURE__ */ Q1.jsx("div", { className: "starasia-calendar-body", children: D === "days" ? /* @__PURE__ */ Q1.jsx(
12231
- Y5,
12231
+ W5,
12232
12232
  {
12233
12233
  date: Z,
12234
12234
  setDate: m,
@@ -12241,7 +12241,7 @@ const J5 = Hr(
12241
12241
  onChange: c
12242
12242
  }
12243
12243
  ) : D === "months" ? /* @__PURE__ */ Q1.jsx(
12244
- W5,
12244
+ G5,
12245
12245
  {
12246
12246
  date: Z,
12247
12247
  setDate: m,
@@ -12255,7 +12255,7 @@ const J5 = Hr(
12255
12255
  input: o
12256
12256
  }
12257
12257
  ) : /* @__PURE__ */ Q1.jsx(
12258
- G5,
12258
+ K5,
12259
12259
  {
12260
12260
  date: Z,
12261
12261
  setDate: m,
@@ -12276,7 +12276,7 @@ const J5 = Hr(
12276
12276
  }
12277
12277
  );
12278
12278
  }
12279
- ), q5 = Hr(
12279
+ ), bo = Hr(
12280
12280
  ({
12281
12281
  value: a,
12282
12282
  onChange: c,
@@ -12290,7 +12290,7 @@ const J5 = Hr(
12290
12290
  size: y,
12291
12291
  status: C
12292
12292
  }, A) => /* @__PURE__ */ Q1.jsx(Q1.Fragment, { children: i ? /* @__PURE__ */ Q1.jsx(
12293
- P5,
12293
+ z5,
12294
12294
  {
12295
12295
  onChange: c,
12296
12296
  value: a,
@@ -12305,7 +12305,7 @@ const J5 = Hr(
12305
12305
  status: C
12306
12306
  }
12307
12307
  ) : /* @__PURE__ */ Q1.jsx(
12308
- J5,
12308
+ q5,
12309
12309
  {
12310
12310
  onChange: c,
12311
12311
  value: a,
@@ -13043,7 +13043,7 @@ const $5 = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@4
13043
13043
  }
13044
13044
  };
13045
13045
  ts($5);
13046
- const bo = ({
13046
+ const vo = ({
13047
13047
  isShow: a,
13048
13048
  onHide: c,
13049
13049
  children: n,
@@ -13097,7 +13097,7 @@ const bo = ({
13097
13097
  ]
13098
13098
  }
13099
13099
  );
13100
- }, vo = ({ children: a }) => /* @__PURE__ */ zr.jsx("div", { className: "starasia-dialog-description", children: a }), mo = ({ children: a }) => /* @__PURE__ */ zr.jsx("div", { children: a });
13100
+ }, mo = ({ children: a }) => /* @__PURE__ */ zr.jsx("div", { className: "starasia-dialog-description", children: a }), yo = ({ children: a }) => /* @__PURE__ */ zr.jsx("div", { children: a });
13101
13101
  var rt = { exports: {} }, fe = {};
13102
13102
  /**
13103
13103
  * @license React
@@ -15198,7 +15198,7 @@ const fs = ({ ...a }) => /* @__PURE__ */ pr.jsx(
15198
15198
  }
15199
15199
  };
15200
15200
  ms(ps);
15201
- const yo = ({
15201
+ const wo = ({
15202
15202
  dropdownLists: a,
15203
15203
  onChange: c,
15204
15204
  defaultValue: n,
@@ -15340,8 +15340,8 @@ function ws(a = !1) {
15340
15340
  }, []);
15341
15341
  return { value: c, setValue: n, setTrue: o, setFalse: i, toggle: h };
15342
15342
  }
15343
- const xs = typeof window < "u" ? _o : V1;
15344
- function wo(a) {
15343
+ const xs = typeof window < "u" ? $o : V1;
15344
+ function xo(a) {
15345
15345
  const [c, n] = F1({
15346
15346
  show: !1
15347
15347
  }), o = (b) => {
@@ -15459,9 +15459,9 @@ function Id(a, c) {
15459
15459
  };
15460
15460
  }, [a, c]), n;
15461
15461
  }
15462
- var xo = /* @__PURE__ */ ((a) => (a.sm = "640px", a.md = "768px", a.lg = "1024px", a.xl = "1280px", a["2xl"] = "1536px", a))(xo || {});
15462
+ var Ao = /* @__PURE__ */ ((a) => (a.sm = "640px", a.md = "768px", a.lg = "1024px", a.xl = "1280px", a["2xl"] = "1536px", a))(Ao || {});
15463
15463
  function Ls(a) {
15464
- const c = xo[a];
15464
+ const c = Ao[a];
15465
15465
  return c ? `(min-width: ${c})` : a;
15466
15466
  }
15467
15467
  function Sr(a) {
@@ -15474,7 +15474,7 @@ function Sr(a) {
15474
15474
  },
15475
15475
  [c]
15476
15476
  );
15477
- return Xo(n, () => window.matchMedia(c).matches, () => {
15477
+ return _o(n, () => window.matchMedia(c).matches, () => {
15478
15478
  throw Error("useMediaQuery is a client-only hook");
15479
15479
  });
15480
15480
  }
@@ -15567,7 +15567,7 @@ function Hd(a, c) {
15567
15567
  resetErrors: m,
15568
15568
  validate: Q,
15569
15569
  resetForm: () => {
15570
- t5(() => {
15570
+ i5(() => {
15571
15571
  O();
15572
15572
  }), m();
15573
15573
  }
@@ -17636,7 +17636,7 @@ const Js = `@import url("https://fonts.googleapis.com/css2?family=Montserrat:wgh
17636
17636
  }
17637
17637
  };
17638
17638
  qs(Js);
17639
- const Dt = Wr(null), Ao = ({
17639
+ const Dt = Wr(null), ko = ({
17640
17640
  position: a = "bottom-left",
17641
17641
  children: c,
17642
17642
  ...n
@@ -17661,10 +17661,10 @@ const Dt = Wr(null), Ao = ({
17661
17661
  children: /* @__PURE__ */ _r.jsx("div", { ref: v, className: "starasia-menu", ...n, children: c })
17662
17662
  }
17663
17663
  );
17664
- }, ko = ({ children: a, ...c }) => {
17664
+ }, Lo = ({ children: a, ...c }) => {
17665
17665
  const n = Or(Dt);
17666
17666
  return /* @__PURE__ */ _r.jsx("div", { onClick: n == null ? void 0 : n.toggleShowMenu, ...c, children: a });
17667
- }, Lo = ({ children: a, ...c }) => {
17667
+ }, Mo = ({ children: a, ...c }) => {
17668
17668
  const n = Or(Dt), o = hr(null);
17669
17669
  let i = n == null ? void 0 : n.position;
17670
17670
  const h = () => {
@@ -18595,7 +18595,7 @@ function tn(a) {
18595
18595
  });
18596
18596
  }), n;
18597
18597
  }
18598
- var Mo = { exports: {} };
18598
+ var jo = { exports: {} };
18599
18599
  function on(a) {
18600
18600
  throw new Error('Could not dynamically require "' + a + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
18601
18601
  }
@@ -19111,10 +19111,10 @@ function Gr() {
19111
19111
  })(Br, function(n) {
19112
19112
  return n.enc.Utf8;
19113
19113
  });
19114
- })(Mo);
19115
- var cn = Mo.exports;
19114
+ })(jo);
19115
+ var cn = jo.exports;
19116
19116
  const un = /* @__PURE__ */ Ht(cn);
19117
- var jo = { exports: {} }, B2 = { exports: {} }, O2;
19117
+ var Eo = { exports: {} }, B2 = { exports: {} }, O2;
19118
19118
  function dn() {
19119
19119
  return O2 || (O2 = 1, function(a, c) {
19120
19120
  (function(n, o) {
@@ -19378,7 +19378,7 @@ function fn() {
19378
19378
  }(T2)), T2.exports;
19379
19379
  }
19380
19380
  var F2;
19381
- function Eo() {
19381
+ function So() {
19382
19382
  return F2 || (F2 = 1, function(a, c) {
19383
19383
  (function(n, o, i) {
19384
19384
  a.exports = o(Gr(), gn(), fn());
@@ -19444,7 +19444,7 @@ var P2 = { exports: {} }, z2;
19444
19444
  function hn() {
19445
19445
  return z2 || (z2 = 1, function(a, c) {
19446
19446
  (function(n, o, i) {
19447
- a.exports = o(Gr(), Eo());
19447
+ a.exports = o(Gr(), So());
19448
19448
  })(Br, function(n) {
19449
19449
  n.lib.Cipher || function(o) {
19450
19450
  var i = n, h = i.lib, v = h.Base, b = h.WordArray, g = h.BufferedBlockAlgorithm, y = i.enc;
@@ -19980,7 +19980,7 @@ function hn() {
19980
19980
  }
19981
19981
  (function(a, c) {
19982
19982
  (function(n, o, i) {
19983
- a.exports = o(Gr(), dn(), pn(), Eo(), hn());
19983
+ a.exports = o(Gr(), dn(), pn(), So(), hn());
19984
19984
  })(Br, function(n) {
19985
19985
  return function() {
19986
19986
  var o = n, i = o.lib, h = i.BlockCipher, v = o.algo, b = [], g = [], y = [], C = [], A = [], L = [], B = [], R = [], D = [], T = [];
@@ -20034,10 +20034,10 @@ function hn() {
20034
20034
  o.AES = h._createHelper(m);
20035
20035
  }(), n.AES;
20036
20036
  });
20037
- })(jo);
20038
- var Cn = jo.exports;
20037
+ })(Eo);
20038
+ var Cn = Eo.exports;
20039
20039
  const V2 = /* @__PURE__ */ Ht(Cn);
20040
- var So = { exports: {} };
20040
+ var Zo = { exports: {} };
20041
20041
  (function(a) {
20042
20042
  function c(n, o) {
20043
20043
  var i, h, v, b, g, y, C, A;
@@ -20054,8 +20054,8 @@ var So = { exports: {} };
20054
20054
  return v ^= n.length, v ^= v >>> 16, v = (v & 65535) * 2246822507 + (((v >>> 16) * 2246822507 & 65535) << 16) & 4294967295, v ^= v >>> 13, v = (v & 65535) * 3266489909 + (((v >>> 16) * 3266489909 & 65535) << 16) & 4294967295, v ^= v >>> 16, v >>> 0;
20055
20055
  }
20056
20056
  a.exports = c;
20057
- })(So);
20058
- var bn = So.exports;
20057
+ })(Zo);
20058
+ var bn = Zo.exports;
20059
20059
  const vn = /* @__PURE__ */ Ht(bn), Y2 = (a) => {
20060
20060
  let c = a || "@7Ee1zrdtKG.";
20061
20061
  return c.endsWith(".") ? c : c + ".";
@@ -20206,7 +20206,7 @@ const vn = /* @__PURE__ */ Ht(bn), Y2 = (a) => {
20206
20206
  }, wn = new yn(), xn = "E86E2612010258B35137", An = (a, c) => {
20207
20207
  let n = a || xn;
20208
20208
  return typeof window > "u" ? n : wn.getFingerprint(c || "") + n;
20209
- }, Zo = class {
20209
+ }, Bo = class {
20210
20210
  constructor(c) {
20211
20211
  this.secureKey = "", c && (this.secureKey = An(
20212
20212
  c.hashKey || "",
@@ -20265,7 +20265,7 @@ const vn = /* @__PURE__ */ Ht(bn), Y2 = (a) => {
20265
20265
  }, jn = (a, c) => {
20266
20266
  const n = {};
20267
20267
  if (typeof window < "u") {
20268
- const o = new Zo({ hashKey: c });
20268
+ const o = new Bo({ hashKey: c });
20269
20269
  for (const [i, h] of Object.entries(localStorage))
20270
20270
  if (i.startsWith(a)) {
20271
20271
  let v = i.replace(a, "")[0], b = i.replace(/[.][bjns][.]/, "."), g = o.decrypt(h), y = null;
@@ -20321,7 +20321,7 @@ let Sn = class {
20321
20321
  else {
20322
20322
  let o = typeof n == "object" ? JSON.stringify(n) : n + "", i = W2(this._options.prefixKey, c, n), h = this._options.prefixKey + c;
20323
20323
  c != null && (this._localStorageItems[h] = n);
20324
- const v = new Zo({
20324
+ const v = new Bo({
20325
20325
  hashKey: this._options.hashKey,
20326
20326
  disabledKey: this._options.disabledKey || ""
20327
20327
  });
@@ -23595,12 +23595,12 @@ const $n = (a) => {
23595
23595
  const n = document.createElement("style");
23596
23596
  return n.id = a, document.head.appendChild(n), n;
23597
23597
  };
23598
- function Bo(a, c) {
23598
+ function Oo(a, c) {
23599
23599
  let n = "";
23600
23600
  return Object.keys(a).forEach((o) => {
23601
23601
  const i = a[o];
23602
23602
  if (i && typeof i == "object") {
23603
- n += Bo(i, `${c}-${o}`);
23603
+ n += Oo(i, `${c}-${o}`);
23604
23604
  return;
23605
23605
  }
23606
23606
  n += `${c}-${o}: ${i};
@@ -23609,7 +23609,7 @@ function Bo(a, c) {
23609
23609
  }
23610
23610
  function r7(a, c) {
23611
23611
  let n = "";
23612
- return a && (n += Bo(a, c)), n;
23612
+ return a && (n += Oo(a, c)), n;
23613
23613
  }
23614
23614
  function e7(a) {
23615
23615
  var c, n, o, i, h, v;
@@ -23642,7 +23642,7 @@ function e7(a) {
23642
23642
  }
23643
23643
  `;
23644
23644
  }
23645
- const Oo = Wr({
23645
+ const Io = Wr({
23646
23646
  theme: void 0,
23647
23647
  setTheme: () => {
23648
23648
  }
@@ -23661,7 +23661,7 @@ function oi({ value: a, children: c }) {
23661
23661
  const v = (b) => {
23662
23662
  b && o(b);
23663
23663
  };
23664
- return /* @__PURE__ */ Un.jsx(Oo.Provider, { value: { theme: n, setTheme: v }, children: c });
23664
+ return /* @__PURE__ */ Un.jsx(Io.Provider, { value: { theme: n, setTheme: v }, children: c });
23665
23665
  }
23666
23666
  const t7 = {
23667
23667
  raw: {
@@ -24200,14 +24200,14 @@ const t7 = {
24200
24200
  colors: t7,
24201
24201
  metrics: i7,
24202
24202
  font: o7
24203
- }, za = s7, Io = (a, c) => {
24203
+ }, za = s7, Do = (a, c) => {
24204
24204
  const n = {};
24205
24205
  return Object.keys(a).forEach((o) => {
24206
24206
  if (a != null && a[o] && typeof (a == null ? void 0 : a[o]) == "object") {
24207
24207
  n[o] = {
24208
24208
  ...a == null ? void 0 : a[o],
24209
24209
  ...c == null ? void 0 : c[o],
24210
- ...Io(a == null ? void 0 : a[o], c == null ? void 0 : c[o])
24210
+ ...Do(a == null ? void 0 : a[o], c == null ? void 0 : c[o])
24211
24211
  };
24212
24212
  return;
24213
24213
  }
@@ -24215,11 +24215,11 @@ const t7 = {
24215
24215
  }), n;
24216
24216
  };
24217
24217
  function Ye() {
24218
- const a = Or(Oo), c = Er(
24218
+ const a = Or(Io), c = Er(
24219
24219
  () => ({
24220
24220
  ...za,
24221
24221
  ...a.theme,
24222
- ...Io(za, a.theme)
24222
+ ...Do(za, a.theme)
24223
24223
  }),
24224
24224
  [a.theme, za]
24225
24225
  );
@@ -25216,7 +25216,7 @@ const ip = ({
25216
25216
  return;
25217
25217
  }
25218
25218
  setTimeout(() => {
25219
- a5.flushSync(() => {
25219
+ t5.flushSync(() => {
25220
25220
  o((h) => [i, ...h]);
25221
25221
  });
25222
25222
  });
@@ -26170,7 +26170,7 @@ input:checked + .starasia-toggle-slider:before {
26170
26170
  }
26171
26171
  };
26172
26172
  w7(y7);
26173
- const Do = (a) => {
26173
+ const Ho = (a) => {
26174
26174
  const { size: c = "md", label: n, description: o, ...i } = a;
26175
26175
  return /* @__PURE__ */ Jr.jsxs(
26176
26176
  "div",
@@ -28772,7 +28772,7 @@ const H7 = (a) => {
28772
28772
  }
28773
28773
  );
28774
28774
  };
28775
- var Ho = { exports: {} }, Qa = {};
28775
+ var Ro = { exports: {} }, Qa = {};
28776
28776
  /**
28777
28777
  * @license React
28778
28778
  * react-jsx-runtime.production.min.js
@@ -28783,7 +28783,7 @@ var Ho = { exports: {} }, Qa = {};
28783
28783
  * LICENSE file in the root directory of this source tree.
28784
28784
  */
28785
28785
  var R7 = H1, Q7 = Symbol.for("react.element"), T7 = Symbol.for("react.fragment"), N7 = Object.prototype.hasOwnProperty, F7 = R7.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, P7 = { key: !0, ref: !0, __self: !0, __source: !0 };
28786
- function Ro(a, c, n) {
28786
+ function Qo(a, c, n) {
28787
28787
  var o, i = {}, h = null, v = null;
28788
28788
  n !== void 0 && (h = "" + n), c.key !== void 0 && (h = "" + c.key), c.ref !== void 0 && (v = c.ref);
28789
28789
  for (o in c) N7.call(c, o) && !P7.hasOwnProperty(o) && (i[o] = c[o]);
@@ -28791,10 +28791,10 @@ function Ro(a, c, n) {
28791
28791
  return { $$typeof: Q7, type: a, key: h, ref: v, props: i, _owner: F7.current };
28792
28792
  }
28793
28793
  Qa.Fragment = T7;
28794
- Qa.jsx = Ro;
28795
- Qa.jsxs = Ro;
28796
- Ho.exports = Qa;
28797
- var z7 = Ho.exports;
28794
+ Qa.jsx = Qo;
28795
+ Qa.jsxs = Qo;
28796
+ Ro.exports = Qa;
28797
+ var z7 = Ro.exports;
28798
28798
  const V7 = `@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
28799
28799
  @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
28800
28800
 
@@ -43452,7 +43452,7 @@ const Nl = `@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@3
43452
43452
  }
43453
43453
  };
43454
43454
  Fl(Nl);
43455
- const Qo = Wr(null), mp = ({
43455
+ const To = Wr(null), mp = ({
43456
43456
  orientation: a = "horizontal",
43457
43457
  children: c,
43458
43458
  active: n
@@ -43461,14 +43461,14 @@ const Qo = Wr(null), mp = ({
43461
43461
  o.current.push(h);
43462
43462
  };
43463
43463
  return /* @__PURE__ */ Ir.jsx(
43464
- Qo.Provider,
43464
+ To.Provider,
43465
43465
  {
43466
43466
  value: { orientation: a, stepRef: o, handlePushRef: i, active: n },
43467
43467
  children: /* @__PURE__ */ Ir.jsx("div", { className: "starasia-stepper-container", children: c })
43468
43468
  }
43469
43469
  );
43470
43470
  }, yp = ({ title: a, description: c }) => {
43471
- const n = hr(null), o = hr(null), i = hr(null), [h, v] = F1(0), [b, g] = F1(!1), [y, C] = F1(""), [A, L] = F1("#9CA3AF"), B = Or(Qo), R = () => {
43471
+ const n = hr(null), o = hr(null), i = hr(null), [h, v] = F1(0), [b, g] = F1(!1), [y, C] = F1(""), [A, L] = F1("#9CA3AF"), B = Or(To), R = () => {
43472
43472
  var D, T, Z;
43473
43473
  if (n.current && i.current && o.current) {
43474
43474
  const m = (D = i.current) == null ? void 0 : D.getBoundingClientRect().width, O = (T = n.current) == null ? void 0 : T.getBoundingClientRect().width, Q = (Z = o.current) == null ? void 0 : Z.getBoundingClientRect().width;
@@ -44261,7 +44261,7 @@ const Vl = `.starasia-accordion {
44261
44261
  }
44262
44262
  };
44263
44263
  Yl(Vl);
44264
- const To = Wr({ allowMultiple: !1 }), wp = ({ children: a, allowMultiple: c = !1 }) => {
44264
+ const No = Wr({ allowMultiple: !1 }), wp = ({ children: a, allowMultiple: c = !1 }) => {
44265
44265
  const n = hr([]), o = (i) => {
44266
44266
  var h, v, b, g, y, C, A, L, B;
44267
44267
  const R = (h = n.current) == null ? void 0 : h.find(
@@ -44271,12 +44271,12 @@ const To = Wr({ allowMultiple: !1 }), wp = ({ children: a, allowMultiple: c = !1
44271
44271
  (D) => D !== i
44272
44272
  )) : (i.classList.add("active"), (v = i.querySelector(".starasia-accordion-arrow")) == null || v.classList.add("starasia-accordion-arrow-active"), (b = n.current) == null || b.push(i)) : (y = n.current) != null && y.length ? n.current[0] === i ? ((C = n.current[0].querySelector(".starasia-accordion-arrow")) == null || C.classList.remove("starasia-accordion-arrow-active"), n.current[0].classList.remove("active"), n.current = []) : ((A = n.current[0].querySelector(".starasia-accordion-arrow")) == null || A.classList.remove("starasia-accordion-arrow-active"), n.current[0].classList.remove("active"), n.current = [], i.classList.add("active"), n.current[0] = i, (L = n.current[0].querySelector(".starasia-accordion-arrow")) == null || L.classList.add("starasia-accordion-arrow-active")) : (i.classList.add("active"), (B = i.querySelector(".starasia-accordion-arrow")) == null || B.classList.add("starasia-accordion-arrow-active"), n.current.push(i));
44273
44273
  };
44274
- return /* @__PURE__ */ Vr.jsx(To.Provider, { value: { allowMultiple: c, handlePushRef: o }, children: /* @__PURE__ */ Vr.jsx("div", { className: "starasia-accordion", children: a }) });
44274
+ return /* @__PURE__ */ Vr.jsx(No.Provider, { value: { allowMultiple: c, handlePushRef: o }, children: /* @__PURE__ */ Vr.jsx("div", { className: "starasia-accordion", children: a }) });
44275
44275
  }, xp = ({ children: a }) => /* @__PURE__ */ Vr.jsx("div", { className: "starasia-accordion-item", children: a }), Ap = ({
44276
44276
  children: a,
44277
44277
  expand: c = !0
44278
44278
  }) => {
44279
- const { handlePushRef: n } = Or(To), o = (i) => {
44279
+ const { handlePushRef: n } = Or(No), o = (i) => {
44280
44280
  i.currentTarget.parentElement && n && n(i.currentTarget.parentElement);
44281
44281
  };
44282
44282
  return /* @__PURE__ */ Vr.jsxs(
@@ -46463,9 +46463,9 @@ const Pp = (a) => {
46463
46463
  },
46464
46464
  handleDialogCancel: () => {
46465
46465
  }
46466
- }, No = Wr(pc);
46466
+ }, Fo = Wr(pc);
46467
46467
  function Ge() {
46468
- return Or(No);
46468
+ return Or(Fo);
46469
46469
  }
46470
46470
  const gc = () => {
46471
46471
  const [a, c] = F1(!1), [n, o] = F1({
@@ -46554,7 +46554,7 @@ const gc = () => {
46554
46554
  });
46555
46555
  } else
46556
46556
  y(void 0);
46557
- }, [b, o]), /* @__PURE__ */ k.jsx(i5, { to: a, style: { textDecoration: "none" }, onClick: R, children: g && g.allowedLongText < g.longText && A ? /* @__PURE__ */ k.jsx(
46557
+ }, [b, o]), /* @__PURE__ */ k.jsx(o5, { to: a, style: { textDecoration: "none" }, onClick: R, children: g && g.allowedLongText < g.longText && A ? /* @__PURE__ */ k.jsx(
46558
46558
  Qr,
46559
46559
  {
46560
46560
  position: "top",
@@ -46671,11 +46671,11 @@ const gc = () => {
46671
46671
  ), Ke = ({
46672
46672
  of: a,
46673
46673
  render: c
46674
- }) => $o.toArray(a == null ? void 0 : a.map((n, o, i) => c(n, o, i)));
46674
+ }) => r5.toArray(a == null ? void 0 : a.map((n, o, i) => c(n, o, i)));
46675
46675
  var fc = /* @__PURE__ */ ((a) => (a.Width = "19.125rem", a.WidthCollapse = "6rem", a))(fc || {});
46676
46676
  const hc = ({ children: a }) => {
46677
46677
  const c = gc();
46678
- return /* @__PURE__ */ k.jsx(No.Provider, { value: c, children: a });
46678
+ return /* @__PURE__ */ k.jsx(Fo.Provider, { value: c, children: a });
46679
46679
  }, Cc = ({
46680
46680
  menus: a = [],
46681
46681
  maxWidth: c,
@@ -47081,7 +47081,7 @@ const hc = ({ children: a }) => {
47081
47081
  width: i.inputProps.fullWidth ? "100%" : c === "horizontal" && i.customWidth ? i.customWidth : c === "horizontal" ? "343px" : ""
47082
47082
  },
47083
47083
  children: /* @__PURE__ */ k.jsx(
47084
- yo,
47084
+ wo,
47085
47085
  {
47086
47086
  size: a,
47087
47087
  ...i.inputProps,
@@ -47765,7 +47765,7 @@ const Fc = (a) => {
47765
47765
  }
47766
47766
  ),
47767
47767
  /* @__PURE__ */ k.jsx(
47768
- Do,
47768
+ Ho,
47769
47769
  {
47770
47770
  checked: h.checked,
47771
47771
  onChange: h.onChange,
@@ -47906,7 +47906,7 @@ const Fc = (a) => {
47906
47906
  width: c === "horizontal" && i.customWidth ? i.customWidth : c === "horizontal" ? "343px" : ""
47907
47907
  },
47908
47908
  children: /* @__PURE__ */ k.jsx(
47909
- q5,
47909
+ bo,
47910
47910
  {
47911
47911
  size: a,
47912
47912
  ...i.inputProps,
@@ -47946,15 +47946,15 @@ var wr = function() {
47946
47946
  return c;
47947
47947
  }, wr.apply(this, arguments);
47948
47948
  };
47949
- var Ji = !1, qr, At, kt, Ba, Oa, Fo, Ia, Lt, Mt, jt, Po, Et, St, zo, Vo;
47949
+ var Ji = !1, qr, At, kt, Ba, Oa, Po, Ia, Lt, Mt, jt, zo, Et, St, Vo, Yo;
47950
47950
  function Mr() {
47951
47951
  if (!Ji) {
47952
47952
  Ji = !0;
47953
47953
  var a = navigator.userAgent, c = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(a), n = /(Mac OS X)|(Windows)|(Linux)/.exec(a);
47954
- if (Et = /\b(iPhone|iP[ao]d)/.exec(a), St = /\b(iP[ao]d)/.exec(a), jt = /Android/i.exec(a), zo = /FBAN\/\w+;/i.exec(a), Vo = /Mobile/i.exec(a), Po = !!/Win64/.exec(a), c) {
47954
+ if (Et = /\b(iPhone|iP[ao]d)/.exec(a), St = /\b(iP[ao]d)/.exec(a), jt = /Android/i.exec(a), Vo = /FBAN\/\w+;/i.exec(a), Yo = /Mobile/i.exec(a), zo = !!/Win64/.exec(a), c) {
47955
47955
  qr = c[1] ? parseFloat(c[1]) : c[5] ? parseFloat(c[5]) : NaN, qr && document && document.documentMode && (qr = document.documentMode);
47956
47956
  var o = /(?:Trident\/(\d+.\d+))/.exec(a);
47957
- Fo = o ? parseFloat(o[1]) + 4 : qr, At = c[2] ? parseFloat(c[2]) : NaN, kt = c[3] ? parseFloat(c[3]) : NaN, Ba = c[4] ? parseFloat(c[4]) : NaN, Ba ? (c = /(?:Chrome\/(\d+\.\d+))/.exec(a), Oa = c && c[1] ? parseFloat(c[1]) : NaN) : Oa = NaN;
47957
+ Po = o ? parseFloat(o[1]) + 4 : qr, At = c[2] ? parseFloat(c[2]) : NaN, kt = c[3] ? parseFloat(c[3]) : NaN, Ba = c[4] ? parseFloat(c[4]) : NaN, Ba ? (c = /(?:Chrome\/(\d+\.\d+))/.exec(a), Oa = c && c[1] ? parseFloat(c[1]) : NaN) : Oa = NaN;
47958
47958
  } else
47959
47959
  qr = At = kt = Oa = Ba = NaN;
47960
47960
  if (n) {
@@ -47985,7 +47985,7 @@ var Zt = {
47985
47985
  * not compatibility mode or not ie
47986
47986
  */
47987
47987
  ieCompatibilityMode: function() {
47988
- return Mr() || Fo > qr;
47988
+ return Mr() || Po > qr;
47989
47989
  },
47990
47990
  /**
47991
47991
  * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
@@ -47993,7 +47993,7 @@ var Zt = {
47993
47993
  * this when we don't need it -- tracked by #601957.
47994
47994
  */
47995
47995
  ie64: function() {
47996
- return Zt.ie() && Po;
47996
+ return Zt.ie() && zo;
47997
47997
  },
47998
47998
  /**
47999
47999
  * Check if the UA is Firefox.
@@ -48073,10 +48073,10 @@ var Zt = {
48073
48073
  return Mr() || Et;
48074
48074
  },
48075
48075
  mobile: function() {
48076
- return Mr() || Et || St || jt || Vo;
48076
+ return Mr() || Et || St || jt || Yo;
48077
48077
  },
48078
48078
  nativeApp: function() {
48079
- return Mr() || zo;
48079
+ return Mr() || Vo;
48080
48080
  },
48081
48081
  android: function() {
48082
48082
  return Mr() || jt;
@@ -48086,8 +48086,8 @@ var Zt = {
48086
48086
  }
48087
48087
  }, Xc = Zt, _c = !!(typeof window < "u" && window.document && window.document.createElement), $c = {
48088
48088
  canUseDOM: _c
48089
- }, ru = $c, Yo = ru, Wo;
48090
- Yo.canUseDOM && (Wo = document.implementation && document.implementation.hasFeature && // always returns true in newer browsers as per the standard.
48089
+ }, ru = $c, Wo = ru, Go;
48090
+ Wo.canUseDOM && (Go = document.implementation && document.implementation.hasFeature && // always returns true in newer browsers as per the standard.
48091
48091
  // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
48092
48092
  document.implementation.hasFeature("", "") !== !0);
48093
48093
  /**
@@ -48105,17 +48105,17 @@ document.implementation.hasFeature("", "") !== !0);
48105
48105
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
48106
48106
  */
48107
48107
  function eu(a, c) {
48108
- if (!Yo.canUseDOM || c && !("addEventListener" in document))
48108
+ if (!Wo.canUseDOM || c && !("addEventListener" in document))
48109
48109
  return !1;
48110
48110
  var n = "on" + a, o = n in document;
48111
48111
  if (!o) {
48112
48112
  var i = document.createElement("div");
48113
48113
  i.setAttribute(n, "return;"), o = typeof i[n] == "function";
48114
48114
  }
48115
- return !o && Wo && a === "wheel" && (o = document.implementation.hasFeature("Events.wheel", "3.0")), o;
48115
+ return !o && Go && a === "wheel" && (o = document.implementation.hasFeature("Events.wheel", "3.0")), o;
48116
48116
  }
48117
48117
  var au = eu, tu = Xc, iu = au, qi = 10, Xi = 40, _i = 800;
48118
- function Go(a) {
48118
+ function Ko(a) {
48119
48119
  var c = 0, n = 0, o = 0, i = 0;
48120
48120
  return "detail" in a && (n = a.detail), "wheelDelta" in a && (n = -a.wheelDelta / 120), "wheelDeltaY" in a && (n = -a.wheelDeltaY / 120), "wheelDeltaX" in a && (c = -a.wheelDeltaX / 120), "axis" in a && a.axis === a.HORIZONTAL_AXIS && (c = n, n = 0), o = c * qi, i = n * qi, "deltaY" in a && (i = a.deltaY), "deltaX" in a && (o = a.deltaX), (o || i) && a.deltaMode && (a.deltaMode == 1 ? (o *= Xi, i *= Xi) : (o *= _i, i *= _i)), o && !c && (c = o < 1 ? -1 : 1), i && !n && (n = i < 1 ? -1 : 1), {
48121
48121
  spinX: c,
@@ -48124,10 +48124,10 @@ function Go(a) {
48124
48124
  pixelY: i
48125
48125
  };
48126
48126
  }
48127
- Go.getEventType = function() {
48127
+ Ko.getEventType = function() {
48128
48128
  return tu.firefox() ? "DOMMouseScroll" : iu("wheel") ? "wheel" : "mousewheel";
48129
48129
  };
48130
- var ou = Go, su = ou;
48130
+ var ou = Ko, su = ou;
48131
48131
  const nu = /* @__PURE__ */ ec(su);
48132
48132
  function lu(a, c, n, o, i, h) {
48133
48133
  h === void 0 && (h = 0);
@@ -48801,7 +48801,7 @@ const to = {
48801
48801
  }, q = hr(null), z = () => {
48802
48802
  q.current && q.current.click();
48803
48803
  };
48804
- r5(C, () => ({
48804
+ e5(C, () => ({
48805
48805
  openFileDialog: () => {
48806
48806
  var e1;
48807
48807
  (e1 = q.current) == null || e1.click();
@@ -48939,7 +48939,7 @@ const to = {
48939
48939
  }
48940
48940
  ),
48941
48941
  /* @__PURE__ */ k.jsxs(
48942
- bo,
48942
+ vo,
48943
48943
  {
48944
48944
  isShow: T,
48945
48945
  onHide: () => Z(!1),
@@ -48947,7 +48947,7 @@ const to = {
48947
48947
  minWidth: A ? v === "1:1" ? "20rem" : N * 2 : "100%"
48948
48948
  },
48949
48949
  children: [
48950
- /* @__PURE__ */ k.jsx(vo, { children: /* @__PURE__ */ k.jsx(
48950
+ /* @__PURE__ */ k.jsx(mo, { children: /* @__PURE__ */ k.jsx(
48951
48951
  n1,
48952
48952
  {
48953
48953
  position: "relative",
@@ -48973,7 +48973,7 @@ const to = {
48973
48973
  )
48974
48974
  }
48975
48975
  ) }),
48976
- /* @__PURE__ */ k.jsx(mo, { children: /* @__PURE__ */ k.jsxs(n1, { justify: "flex-end", direction: "row", gap: "sm", children: [
48976
+ /* @__PURE__ */ k.jsx(yo, { children: /* @__PURE__ */ k.jsxs(n1, { justify: "flex-end", direction: "row", gap: "sm", children: [
48977
48977
  /* @__PURE__ */ k.jsx(jr, { size: "xs", secondary: !0, onClick: () => Z(!1), children: "Cancel" }),
48978
48978
  /* @__PURE__ */ k.jsx(jr, { size: "xs", primary: !0, onClick: F, children: "Crop" })
48979
48979
  ] }) })
@@ -49159,7 +49159,7 @@ const to = {
49159
49159
  width: o
49160
49160
  },
49161
49161
  children: i && /* @__PURE__ */ k.jsx(
49162
- Do,
49162
+ Ho,
49163
49163
  {
49164
49164
  disabled: h,
49165
49165
  checked: g,
@@ -49493,8 +49493,8 @@ function Eu({
49493
49493
  borderTopWidth: 0,
49494
49494
  borderBottomWidth: 0
49495
49495
  },
49496
- children: /* @__PURE__ */ k.jsx(n1, { children: /* @__PURE__ */ k.jsxs(Ao, { position: "bottom-right", onClick: C.toggleMobileLogout, children: [
49497
- /* @__PURE__ */ k.jsx(ko, { children: /* @__PURE__ */ k.jsxs(
49496
+ children: /* @__PURE__ */ k.jsx(n1, { children: /* @__PURE__ */ k.jsxs(ko, { position: "bottom-right", onClick: C.toggleMobileLogout, children: [
49497
+ /* @__PURE__ */ k.jsx(Lo, { children: /* @__PURE__ */ k.jsxs(
49498
49498
  n1,
49499
49499
  {
49500
49500
  display: "flex",
@@ -49539,7 +49539,7 @@ function Eu({
49539
49539
  mobile: !1
49540
49540
  },
49541
49541
  children: /* @__PURE__ */ k.jsxs(
49542
- Lo,
49542
+ Mo,
49543
49543
  {
49544
49544
  style: {
49545
49545
  marginTop: "1.2rem",
@@ -49825,10 +49825,10 @@ const Su = ({
49825
49825
  return /* @__PURE__ */ k.jsx(jr, { primary: !0, onClick: o, children: h });
49826
49826
  }
49827
49827
  };
49828
- return /* @__PURE__ */ k.jsxs(bo, { isShow: i, onHide: n, children: [
49828
+ return /* @__PURE__ */ k.jsxs(vo, { isShow: i, onHide: n, children: [
49829
49829
  b(),
49830
- /* @__PURE__ */ k.jsx(vo, { children: /* @__PURE__ */ k.jsx(T1, { children: c }) }),
49831
- /* @__PURE__ */ k.jsx(mo, { children: /* @__PURE__ */ k.jsxs(n1, { justify: "flex-end", direction: "row", gap: "sm", children: [
49830
+ /* @__PURE__ */ k.jsx(mo, { children: /* @__PURE__ */ k.jsx(T1, { children: c }) }),
49831
+ /* @__PURE__ */ k.jsx(yo, { children: /* @__PURE__ */ k.jsxs(n1, { justify: "flex-end", direction: "row", gap: "sm", children: [
49832
49832
  /* @__PURE__ */ k.jsx(jr, { secondary: !0, onClick: n, children: "Cancel" }),
49833
49833
  g()
49834
49834
  ] }) })
@@ -49850,7 +49850,7 @@ const Su = ({
49850
49850
  return;
49851
49851
  }
49852
49852
  C(-1, { replace: !0 });
49853
- }, B = () => h ? e5(h) ? h : /* @__PURE__ */ k.jsx(n1, { direction: "row", gap: "lg", children: h.map(
49853
+ }, B = () => h ? a5(h) ? h : /* @__PURE__ */ k.jsx(n1, { direction: "row", gap: "lg", children: h.map(
49854
49854
  ({ title: Z, icon: m, buttonProps: O, onClick: Q }, Y) => !Z && !m ? null : /* @__PURE__ */ k.jsx(
49855
49855
  jr,
49856
49856
  {
@@ -50146,9 +50146,9 @@ const Su = ({
50146
50146
  }),
50147
50147
  [i]
50148
50148
  );
50149
- return /* @__PURE__ */ k.jsxs(Ao, { position: h, style: n, children: [
50150
- /* @__PURE__ */ k.jsx(ko, { style: o, children: /* @__PURE__ */ k.jsx(jr, { size: "sm", secondary: !0, ...v, children: /* @__PURE__ */ k.jsx(gr, { name: a, ...b }) }) }),
50151
- /* @__PURE__ */ k.jsx(Lo, { style: y, children: c.map((C, A) => g === "outline-button" ? /* @__PURE__ */ k.jsx(Sa, { children: /* @__PURE__ */ k.jsxs(
50149
+ return /* @__PURE__ */ k.jsxs(ko, { position: h, style: n, children: [
50150
+ /* @__PURE__ */ k.jsx(Lo, { style: o, children: /* @__PURE__ */ k.jsx(jr, { size: "sm", secondary: !0, ...v, children: /* @__PURE__ */ k.jsx(gr, { name: a, ...b }) }) }),
50151
+ /* @__PURE__ */ k.jsx(Mo, { style: y, children: c.map((C, A) => g === "outline-button" ? /* @__PURE__ */ k.jsx(Sa, { children: /* @__PURE__ */ k.jsxs(
50152
50152
  jr,
50153
50153
  {
50154
50154
  size: "sm",
@@ -50174,7 +50174,7 @@ const Su = ({
50174
50174
  C.id || A
50175
50175
  )) })
50176
50176
  ] });
50177
- }, Up = Ar(Fu), Ko = H1.memo(({ text: a, onClose: c }) => {
50177
+ }, Up = Ar(Fu), Uo = H1.memo(({ text: a, onClose: c }) => {
50178
50178
  var o, i;
50179
50179
  const n = We();
50180
50180
  return /* @__PURE__ */ k.jsxs(
@@ -50222,7 +50222,7 @@ const Su = ({
50222
50222
  gap: "sm",
50223
50223
  flexWrap: "nowrap",
50224
50224
  style: { minWidth: "max-content" },
50225
- children: a == null ? void 0 : a.map((n, o) => n.valueText ? /* @__PURE__ */ k.jsx(Ko, { text: n.valueText, onClose: () => c == null ? void 0 : c(n) }, o) : null)
50225
+ children: a == null ? void 0 : a.map((n, o) => n.valueText ? /* @__PURE__ */ k.jsx(Uo, { text: n.valueText, onClose: () => c == null ? void 0 : c(n) }, o) : null)
50226
50226
  }
50227
50227
  )), oo = (a) => JSON.stringify(a), zu = (a) => {
50228
50228
  const c = a;
@@ -50274,7 +50274,7 @@ const Wu = H1.memo(
50274
50274
  g
50275
50275
  )) });
50276
50276
  }
50277
- ), Uo = H1.memo(
50277
+ ), Jo = H1.memo(
50278
50278
  Hr(
50279
50279
  ({
50280
50280
  label: a,
@@ -50305,7 +50305,7 @@ const Wu = H1.memo(
50305
50305
  switch (c) {
50306
50306
  case "dropdown":
50307
50307
  return /* @__PURE__ */ k.jsx(
50308
- yo,
50308
+ wo,
50309
50309
  {
50310
50310
  onSearch: C,
50311
50311
  multiSelect: g,
@@ -50320,7 +50320,7 @@ const Wu = H1.memo(
50320
50320
  );
50321
50321
  case "date":
50322
50322
  return /* @__PURE__ */ k.jsx(
50323
- "starasiaDate",
50323
+ bo,
50324
50324
  {
50325
50325
  input: B,
50326
50326
  filter: L,
@@ -50364,7 +50364,7 @@ const Wu = H1.memo(
50364
50364
  }
50365
50365
  };
50366
50366
  return Y ? /* @__PURE__ */ k.jsx(n1, { marginBottom: "lg", children: i == null ? void 0 : i.map((E, I) => /* @__PURE__ */ k.jsx(
50367
- Uo,
50367
+ Jo,
50368
50368
  {
50369
50369
  ref: Q,
50370
50370
  onChange: o,
@@ -50435,7 +50435,7 @@ const Wu = H1.memo(
50435
50435
  children: [
50436
50436
  /* @__PURE__ */ k.jsx(Yu, { title: c, resetButton: { onClick: R } }),
50437
50437
  y || v ? null : /* @__PURE__ */ k.jsx(n1, { children: n == null ? void 0 : n.map((D, T) => /* @__PURE__ */ k.jsx(
50438
- Uo,
50438
+ Jo,
50439
50439
  {
50440
50440
  borderBottom: T !== n.length - 1,
50441
50441
  onChange: B,
@@ -50595,8 +50595,8 @@ const Wu = H1.memo(
50595
50595
  Container: Gu,
50596
50596
  Toggle: Ku,
50597
50597
  Chips: Pu,
50598
- Chip: Ko
50599
- }, Jo = ({
50598
+ Chip: Uo
50599
+ }, qo = ({
50600
50600
  item: a,
50601
50601
  handleSwitch: c,
50602
50602
  handleToSelectOrg: n,
@@ -50681,7 +50681,7 @@ const Wu = H1.memo(
50681
50681
  {
50682
50682
  of: a,
50683
50683
  render: (y) => /* @__PURE__ */ k.jsx(
50684
- Jo,
50684
+ qo,
50685
50685
  {
50686
50686
  item: y,
50687
50687
  showIcon: h,
@@ -50706,7 +50706,7 @@ const Wu = H1.memo(
50706
50706
  setSelectedApp: g
50707
50707
  }) => {
50708
50708
  var C;
50709
- const y = wo();
50709
+ const y = xo();
50710
50710
  return /* @__PURE__ */ k.jsxs(Rt, { onHide: a, show: c, closeButton: !1, children: [
50711
50711
  /* @__PURE__ */ k.jsxs(
50712
50712
  Dr,
@@ -50829,7 +50829,7 @@ const Wu = H1.memo(
50829
50829
  {
50830
50830
  of: a,
50831
50831
  render: (y) => /* @__PURE__ */ k.jsx(
50832
- Jo,
50832
+ qo,
50833
50833
  {
50834
50834
  item: y,
50835
50835
  showIcon: h,
@@ -50851,7 +50851,7 @@ const Wu = H1.memo(
50851
50851
  setSelectedApp: h
50852
50852
  }) => {
50853
50853
  var b, g, y, C, A;
50854
- const v = wo();
50854
+ const v = xo();
50855
50855
  return /* @__PURE__ */ k.jsxs(Rt, { onHide: a, show: c, closeButton: !1, children: [
50856
50856
  /* @__PURE__ */ k.jsxs(
50857
50857
  Dr,
@@ -51231,7 +51231,7 @@ const Wu = H1.memo(
51231
51231
  menuSelectButtons: [],
51232
51232
  menuSelectCustom: void 0,
51233
51233
  bottomDrawerContent: void 0
51234
- }, qo = Wr(rd), rg = () => Or(qo), ed = (a) => {
51234
+ }, Xo = Wr(rd), rg = () => Or(Xo), ed = (a) => {
51235
51235
  const [c, n] = F1(
51236
51236
  (a == null ? void 0 : a.initialUserData) || null
51237
51237
  );
@@ -51254,7 +51254,7 @@ const Wu = H1.memo(
51254
51254
  }) => {
51255
51255
  const A = ed({ initialUserData: i }), { theme: L } = Ye();
51256
51256
  return /* @__PURE__ */ k.jsx(
51257
- qo.Provider,
51257
+ Xo.Provider,
51258
51258
  {
51259
51259
  value: {
51260
51260
  logo: o,
@@ -51306,7 +51306,7 @@ function tg({
51306
51306
  }, [o.pathname]);
51307
51307
  }
51308
51308
  const ig = () => {
51309
- const [a, c] = oe(), n = ze(a.toString()), o = o5(), i = o.id;
51309
+ const [a, c] = oe(), n = ze(a.toString()), o = s5(), i = o.id;
51310
51310
  return {
51311
51311
  // query params
51312
51312
  setSearchParams: c,
@@ -51360,7 +51360,7 @@ export {
51360
51360
  ld as AlertTitle,
51361
51361
  eg as App,
51362
51362
  ad as AppComponent,
51363
- qo as AppContext,
51363
+ Xo as AppContext,
51364
51364
  _p as AsideBar,
51365
51365
  Ep as AuthLayout,
51366
51366
  po as Badges,
@@ -51377,21 +51377,21 @@ export {
51377
51377
  vi as Checkbox,
51378
51378
  Cd as ColorConst,
51379
51379
  vp as ColorConstProgress,
51380
- w5 as ColorSchemeGenerator,
51380
+ x5 as ColorSchemeGenerator,
51381
51381
  Rl as ColorSchemeGeneratorProgress,
51382
51382
  mc as ContentLayout,
51383
51383
  jd as CursorVariantConst,
51384
51384
  Vp as DashboardLayout,
51385
51385
  Cr as DecisionWrapper,
51386
- bo as Dialog,
51387
- vo as DialogBody,
51388
- mo as DialogFooter,
51386
+ vo as Dialog,
51387
+ mo as DialogBody,
51388
+ yo as DialogFooter,
51389
51389
  ia as DialogTitle,
51390
51390
  dd as DirectionConst,
51391
51391
  gd as DisplayAlignConst,
51392
51392
  ud as DisplayConst,
51393
51393
  cs as Drawer,
51394
- yo as Dropdown,
51394
+ wo as Dropdown,
51395
51395
  Ke as EachUtils,
51396
51396
  yr as Flex,
51397
51397
  hp as FlexDirectionConst,
@@ -51415,12 +51415,12 @@ export {
51415
51415
  Au as InputImage,
51416
51416
  pd as JustifyConst,
51417
51417
  op as LineHeightConst,
51418
- Ao as Menu,
51418
+ ko as Menu,
51419
51419
  Sa as MenuBody,
51420
- ko as MenuButton,
51420
+ Lo as MenuButton,
51421
51421
  Xs as MenuFooter,
51422
51422
  Td as MenuHeading,
51423
- Lo as MenuLists,
51423
+ Mo as MenuLists,
51424
51424
  Wp as ModalDialog,
51425
51425
  hd as PaddingConst,
51426
51426
  Gp as PageLayout,
@@ -51435,12 +51435,12 @@ export {
51435
51435
  Sn as SecureStorage,
51436
51436
  md as ShadowConst,
51437
51437
  bc as Sidebar,
51438
- No as SidebarContext,
51438
+ Fo as SidebarContext,
51439
51439
  hc as SidebarProvider,
51440
51440
  fc as SidebarStyle,
51441
51441
  fr as Skeleton,
51442
51442
  fd as SpacingConst,
51443
- q5 as StarasiaDate,
51443
+ bo as StarasiaDate,
51444
51444
  yp as Step,
51445
51445
  mp as Stepper,
51446
51446
  Mp as StoryRecord,
@@ -51463,10 +51463,10 @@ export {
51463
51463
  Gd as Tfoot,
51464
51464
  Kd as Th,
51465
51465
  Yd as Thead,
51466
- Oo as ThemeContext,
51466
+ Io as ThemeContext,
51467
51467
  oi as ThemeProvider,
51468
51468
  ip as ToastContainer,
51469
- Do as Toggle,
51469
+ Ho as Toggle,
51470
51470
  zp as ToggleStatus,
51471
51471
  Qr as Tooltip,
51472
51472
  Hn as Tr,
@@ -51509,7 +51509,7 @@ export {
51509
51509
  og as useAuthRole,
51510
51510
  ws as useBoolean,
51511
51511
  We as useColor,
51512
- wo as useConfirmation,
51512
+ xo as useConfirmation,
51513
51513
  Od as useCountdown,
51514
51514
  As as useCounter,
51515
51515
  Id as useDebounce,