@meyicloud/meyi-cost-ui 1.5.6 → 1.5.7

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.mjs CHANGED
@@ -24,7 +24,7 @@ function Ua() {
24
24
  }
25
25
  return Tt.Fragment = t, Tt.jsx = s, Tt.jsxs = s, Tt;
26
26
  }
27
- var Lt = {};
27
+ var Ot = {};
28
28
  var Bn;
29
29
  function $a() {
30
30
  return Bn || (Bn = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -44,7 +44,7 @@ function $a() {
44
44
  return "Suspense";
45
45
  case j:
46
46
  return "SuspenseList";
47
- case O:
47
+ case L:
48
48
  return "Activity";
49
49
  }
50
50
  if (typeof R == "object")
@@ -221,7 +221,7 @@ React keys must be passed directly to JSX without using spread:
221
221
  function h(R) {
222
222
  return typeof R == "object" && R !== null && R.$$typeof === p;
223
223
  }
224
- var m = Pe, p = /* @__PURE__ */ Symbol.for("react.transitional.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), b = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), S = /* @__PURE__ */ Symbol.for("react.consumer"), N = /* @__PURE__ */ Symbol.for("react.context"), C = /* @__PURE__ */ Symbol.for("react.forward_ref"), _ = /* @__PURE__ */ Symbol.for("react.suspense"), j = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), O = /* @__PURE__ */ Symbol.for("react.activity"), k = /* @__PURE__ */ Symbol.for("react.client.reference"), A = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Z = Object.prototype.hasOwnProperty, z = Array.isArray, J = console.createTask ? console.createTask : function() {
224
+ var m = Pe, p = /* @__PURE__ */ Symbol.for("react.transitional.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), b = /* @__PURE__ */ Symbol.for("react.fragment"), x = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), S = /* @__PURE__ */ Symbol.for("react.consumer"), N = /* @__PURE__ */ Symbol.for("react.context"), C = /* @__PURE__ */ Symbol.for("react.forward_ref"), _ = /* @__PURE__ */ Symbol.for("react.suspense"), j = /* @__PURE__ */ Symbol.for("react.suspense_list"), w = /* @__PURE__ */ Symbol.for("react.memo"), E = /* @__PURE__ */ Symbol.for("react.lazy"), L = /* @__PURE__ */ Symbol.for("react.activity"), k = /* @__PURE__ */ Symbol.for("react.client.reference"), A = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Z = Object.prototype.hasOwnProperty, z = Array.isArray, J = console.createTask ? console.createTask : function() {
225
225
  return null;
226
226
  };
227
227
  m = {
@@ -233,7 +233,7 @@ React keys must be passed directly to JSX without using spread:
233
233
  m,
234
234
  o
235
235
  )(), me = J(n(o)), T = {};
236
- Lt.Fragment = b, Lt.jsx = function(R, F, H) {
236
+ Ot.Fragment = b, Ot.jsx = function(R, F, H) {
237
237
  var G = 1e4 > A.recentlyCreatedOwnerStacks++;
238
238
  return f(
239
239
  R,
@@ -243,7 +243,7 @@ React keys must be passed directly to JSX without using spread:
243
243
  G ? Error("react-stack-top-frame") : he,
244
244
  G ? J(n(R)) : me
245
245
  );
246
- }, Lt.jsxs = function(R, F, H) {
246
+ }, Ot.jsxs = function(R, F, H) {
247
247
  var G = 1e4 > A.recentlyCreatedOwnerStacks++;
248
248
  return f(
249
249
  R,
@@ -254,7 +254,7 @@ React keys must be passed directly to JSX without using spread:
254
254
  G ? J(n(R)) : me
255
255
  );
256
256
  };
257
- })()), Lt;
257
+ })()), Ot;
258
258
  }
259
259
  var zn;
260
260
  function Ba() {
@@ -437,7 +437,7 @@ function ws(e, t) {
437
437
  return !1;
438
438
  }
439
439
  }
440
- function Ot(e) {
440
+ function Lt(e) {
441
441
  if (!e) return {
442
442
  path: e,
443
443
  handledProtocolRelativeURL: !1
@@ -536,7 +536,7 @@ function oo(e, t, s = new Uint16Array(6)) {
536
536
  }
537
537
  return s[0] = 0, s[1] = t, s[2] = t, s[3] = r, s[4] = r, s[5] = r, s;
538
538
  }
539
- function Ls(e, t, s, n, r, o, i) {
539
+ function Os(e, t, s, n, r, o, i) {
540
540
  i?.(s);
541
541
  let c = n;
542
542
  {
@@ -603,7 +603,7 @@ function Ls(e, t, s, n, r, o, i) {
603
603
  }
604
604
  r.parse = d ?? null, r.priority = s.options?.params?.priority ?? 0, h && !r.route && (r.route = s, r.fullPath = s.fullPath ?? s.from);
605
605
  }
606
- if (s.children) for (const l of s.children) Ls(e, t, l, c, r, o, i);
606
+ if (s.children) for (const l of s.children) Os(e, t, l, c, r, o, i);
607
607
  }
608
608
  function zs(e, t) {
609
609
  if (e.parse && !t.parse) return -1;
@@ -677,7 +677,7 @@ function Vs(e, t, s, n, r) {
677
677
  }
678
678
  function Za(e, t) {
679
679
  const s = st("/"), n = new Uint16Array(6);
680
- for (const r of e) Ls(!1, n, r, 1, s, 0);
680
+ for (const r of e) Os(!1, n, r, 1, s, 0);
681
681
  We(s), t.masksTree = s, t.flatCache = Wt(1e3);
682
682
  }
683
683
  function Qa(e, t) {
@@ -691,7 +691,7 @@ function ei(e, t, s, n, r) {
691
691
  e ||= "/", n ||= "/";
692
692
  const o = t ? `case\0${e}` : e;
693
693
  let i = r.singleCache.get(o);
694
- return i || (i = st("/"), Ls(t, new Uint16Array(6), { from: e }, 1, i, 0), r.singleCache.set(o, i)), jn(n, i, s);
694
+ return i || (i = st("/"), Os(t, new Uint16Array(6), { from: e }, 1, i, 0), r.singleCache.set(o, i)), jn(n, i, s);
695
695
  }
696
696
  function ti(e, t, s = !1) {
697
697
  const n = s ? e : `nofuzz\0${e}`, r = t.matchCache.get(n);
@@ -712,7 +712,7 @@ function si(e) {
712
712
  function ni(e, t = !1, s) {
713
713
  const n = st(e.fullPath), r = new Uint16Array(6), o = {}, i = {};
714
714
  let c = 0;
715
- return Ls(t, r, e, 1, n, 0, (l) => {
715
+ return Os(t, r, e, 1, n, 0, (l) => {
716
716
  if (s?.(l, c), l.id in o) {
717
717
  if (process.env.NODE_ENV !== "production") throw new Error(`Invariant failed: Duplicate routes found with id: ${String(l.id)}`);
718
718
  Be();
@@ -848,12 +848,12 @@ function oi(e, t, s, n) {
848
848
  }
849
849
  }
850
850
  if (d.wildcard) for (let j = d.wildcard.length - 1; j >= 0; j--) {
851
- const w = d.wildcard[j], { prefix: E, suffix: O } = w;
851
+ const w = d.wildcard[j], { prefix: E, suffix: L } = w;
852
852
  if (!(E && (N || !(w.caseSensitive ? C : _ ??= C.toLowerCase()).startsWith(E)))) {
853
- if (O) {
853
+ if (L) {
854
854
  if (N) continue;
855
- const k = t.slice(h).join("/").slice(-O.length);
856
- if ((w.caseSensitive ? k : k.toLowerCase()) !== O) continue;
855
+ const k = t.slice(h).join("/").slice(-L.length);
856
+ if ((w.caseSensitive ? k : k.toLowerCase()) !== L) continue;
857
857
  }
858
858
  c.push({
859
859
  node: w,
@@ -871,9 +871,9 @@ function oi(e, t, s, n) {
871
871
  if (d.optional) {
872
872
  const j = m | 1 << p, w = p + 1;
873
873
  for (let E = d.optional.length - 1; E >= 0; E--) {
874
- const O = d.optional[E];
874
+ const L = d.optional[E];
875
875
  c.push({
876
- node: O,
876
+ node: L,
877
877
  index: h,
878
878
  skipped: j,
879
879
  depth: w,
@@ -885,13 +885,13 @@ function oi(e, t, s, n) {
885
885
  });
886
886
  }
887
887
  if (!N) for (let E = d.optional.length - 1; E >= 0; E--) {
888
- const O = d.optional[E], { prefix: k, suffix: A } = O;
888
+ const L = d.optional[E], { prefix: k, suffix: A } = L;
889
889
  if (k || A) {
890
- const Z = O.caseSensitive ? C : _ ??= C.toLowerCase();
890
+ const Z = L.caseSensitive ? C : _ ??= C.toLowerCase();
891
891
  if (k && !Z.startsWith(k) || A && !Z.endsWith(A)) continue;
892
892
  }
893
893
  c.push({
894
- node: O,
894
+ node: L,
895
895
  index: h + 1,
896
896
  skipped: m,
897
897
  depth: w,
@@ -904,10 +904,10 @@ function oi(e, t, s, n) {
904
904
  }
905
905
  }
906
906
  if (!N && d.dynamic && C) for (let j = d.dynamic.length - 1; j >= 0; j--) {
907
- const w = d.dynamic[j], { prefix: E, suffix: O } = w;
908
- if (E || O) {
907
+ const w = d.dynamic[j], { prefix: E, suffix: L } = w;
908
+ if (E || L) {
909
909
  const k = w.caseSensitive ? C : _ ??= C.toLowerCase();
910
- if (E && !k.startsWith(E) || O && !k.endsWith(O)) continue;
910
+ if (E && !k.startsWith(E) || L && !k.endsWith(L)) continue;
911
911
  }
912
912
  c.push({
913
913
  node: w,
@@ -1191,7 +1191,7 @@ function we(e) {
1191
1191
  const ln = (e) => {
1192
1192
  if (!e.rendered)
1193
1193
  return e.rendered = !0, e.onReady?.();
1194
- }, xi = (e) => e.stores.matchesId.get().some((t) => e.stores.matchStores.get(t)?.get()._forcePending), Os = (e, t) => !!(e.preload && !e.router.stores.matchStores.has(t)), it = (e, t, s = !0) => {
1194
+ }, xi = (e) => e.stores.matchesId.get().some((t) => e.stores.matchStores.get(t)?.get()._forcePending), Ls = (e, t) => !!(e.preload && !e.router.stores.matchStores.has(t)), it = (e, t, s = !0) => {
1195
1195
  const n = { ...e.router.options.context ?? {} }, r = s ? t : t - 1;
1196
1196
  for (let o = 0; o <= r; o++) {
1197
1197
  const i = e.matches[o];
@@ -1248,7 +1248,7 @@ const ln = (e) => {
1248
1248
  }, fo = (e, t, s, n) => {
1249
1249
  if (n._nonReactive.pendingTimeout !== void 0) return;
1250
1250
  const r = s.options.pendingMs ?? e.router.options.defaultPendingMs;
1251
- if (e.onReady && !Os(e, t) && (s.options.loader || s.options.beforeLoad || mo(s)) && typeof r == "number" && r !== 1 / 0 && (s.options.pendingComponent ?? e.router.options?.defaultPendingComponent)) {
1251
+ if (e.onReady && !Ls(e, t) && (s.options.loader || s.options.beforeLoad || mo(s)) && typeof r == "number" && r !== 1 / 0 && (s.options.pendingComponent ?? e.router.options?.defaultPendingComponent)) {
1252
1252
  const o = setTimeout(() => {
1253
1253
  ln(e);
1254
1254
  }, r);
@@ -1296,7 +1296,7 @@ const ln = (e) => {
1296
1296
  const h = {
1297
1297
  ...it(e, s, !1),
1298
1298
  ...r.__routeContext
1299
- }, { search: m, params: p, cause: g } = r, b = Os(e, t), x = {
1299
+ }, { search: m, params: p, cause: g } = r, b = Ls(e, t), x = {
1300
1300
  search: m,
1301
1301
  abortController: l,
1302
1302
  params: p,
@@ -1366,7 +1366,7 @@ const ln = (e) => {
1366
1366
  styles: o?.styles
1367
1367
  }));
1368
1368
  }, ho = (e, t, s, n, r) => {
1369
- const o = t[n - 1], { params: i, loaderDeps: c, abortController: l, cause: u } = e.router.getMatch(s), f = it(e, n), d = Os(e, s);
1369
+ const o = t[n - 1], { params: i, loaderDeps: c, abortController: l, cause: u } = e.router.getMatch(s), f = it(e, n), d = Ls(e, s);
1370
1370
  return {
1371
1371
  params: i,
1372
1372
  deps: c,
@@ -1463,7 +1463,7 @@ const ln = (e) => {
1463
1463
  if (!e.router.getMatch(r)) return e.matches[s];
1464
1464
  Qn(e, r, s);
1465
1465
  } else {
1466
- const m = e.router.getMatch(r), p = e.router.stores.matchesId.get()[s], g = (p && e.router.stores.matchStores.get(p) || null)?.routeId === o ? p : e.router.stores.matches.get().find((x) => x.routeId === o)?.id, b = Os(e, r);
1466
+ const m = e.router.getMatch(r), p = e.router.stores.matchesId.get()[s], g = (p && e.router.stores.matchStores.get(p) || null)?.routeId === o ? p : e.router.stores.matches.get().find((x) => x.routeId === o)?.id, b = Ls(e, r);
1467
1467
  if (m._nonReactive.loaderPromise) {
1468
1468
  if (m.status === "success" && !e.sync && !m.preload && f) return m;
1469
1469
  await m._nonReactive.loaderPromise;
@@ -1651,7 +1651,7 @@ function Ni(e, t) {
1651
1651
  locationHref: m.get().href,
1652
1652
  resolvedLocationHref: p.get()?.href,
1653
1653
  status: u.get()
1654
- })), O = n(() => ({
1654
+ })), L = n(() => ({
1655
1655
  status: u.get(),
1656
1656
  loadedAt: f.get(),
1657
1657
  isLoading: d.get(),
@@ -1693,7 +1693,7 @@ function Ni(e, t) {
1693
1693
  matchStores: i,
1694
1694
  pendingMatchStores: c,
1695
1695
  cachedMatchStores: l,
1696
- __store: O,
1696
+ __store: L,
1697
1697
  getRouteMatchStore: A,
1698
1698
  setMatches: z,
1699
1699
  setPending: J,
@@ -1872,11 +1872,11 @@ function _i(e) {
1872
1872
  let b, x;
1873
1873
  const y = () => {
1874
1874
  b && (j._ignoreSubscribers = !0, (b.isPush ? t.history.pushState : t.history.replaceState)(b.state, "", b.href), j._ignoreSubscribers = !1, b = void 0, x = void 0, f = void 0);
1875
- }, S = (w, E, O) => {
1875
+ }, S = (w, E, L) => {
1876
1876
  const k = c(E);
1877
- x || (f = u), u = js(E, O), b = {
1877
+ x || (f = u), u = js(E, L), b = {
1878
1878
  href: k,
1879
- state: O,
1879
+ state: L,
1880
1880
  isPush: b?.isPush || w === "push"
1881
1881
  }, x || (x = Promise.resolve().then(() => y()));
1882
1882
  }, N = (w) => {
@@ -1886,7 +1886,7 @@ function _i(e) {
1886
1886
  h = !1;
1887
1887
  return;
1888
1888
  }
1889
- const w = l(), E = w.state[Ge] - u.state[Ge], O = E === 1, k = E === -1, A = !O && !k || d;
1889
+ const w = l(), E = w.state[Ge] - u.state[Ge], L = E === 1, k = E === -1, A = !L && !k || d;
1890
1890
  d = !1;
1891
1891
  const Z = A ? "GO" : k ? "BACK" : "FORWARD", z = A ? {
1892
1892
  type: "GO",
@@ -1913,8 +1913,8 @@ function _i(e) {
1913
1913
  return;
1914
1914
  }
1915
1915
  let E = !1;
1916
- const O = o();
1917
- if (typeof document < "u" && O.length) for (const k of O) {
1916
+ const L = o();
1917
+ if (typeof document < "u" && L.length) for (const k of L) {
1918
1918
  const A = k.enableBeforeUnload ?? !0;
1919
1919
  if (A === !0) {
1920
1920
  E = !0;
@@ -2045,11 +2045,11 @@ var Ei = class {
2045
2045
  return {
2046
2046
  href: l + y + f,
2047
2047
  publicHref: l + y + f,
2048
- pathname: Ot(l).path,
2048
+ pathname: Lt(l).path,
2049
2049
  external: !1,
2050
2050
  searchStr: y,
2051
2051
  search: Xe(n?.search, x),
2052
- hash: Ot(f.slice(1)).path,
2052
+ hash: Lt(f.slice(1)).path,
2053
2053
  state: tt(n?.state, h)
2054
2054
  };
2055
2055
  }
@@ -2057,11 +2057,11 @@ var Ei = class {
2057
2057
  return p.search = b, {
2058
2058
  href: p.href.replace(p.origin, ""),
2059
2059
  publicHref: d,
2060
- pathname: Ot(p.pathname).path,
2060
+ pathname: Lt(p.pathname).path,
2061
2061
  external: !!this.rewrite && p.origin !== this.origin,
2062
2062
  searchStr: b,
2063
2063
  search: Xe(n?.search, g),
2064
- hash: Ot(p.hash.slice(1)).path,
2064
+ hash: Lt(p.hash.slice(1)).path,
2065
2065
  state: tt(n?.state, h)
2066
2066
  };
2067
2067
  }, o = r(s), { __tempLocation: i, __tempKey: c } = o.state;
@@ -2118,7 +2118,7 @@ var Ei = class {
2118
2118
  } catch {
2119
2119
  }
2120
2120
  }
2121
- const x = s.leaveParams ? m : Ot(Jn({
2121
+ const x = s.leaveParams ? m : Lt(Jn({
2122
2122
  path: m,
2123
2123
  params: p,
2124
2124
  decoder: this.pathParamsDecoder,
@@ -2142,7 +2142,7 @@ var Ei = class {
2142
2142
  }
2143
2143
  }), y = k;
2144
2144
  }
2145
- y = Li({
2145
+ y = Oi({
2146
2146
  search: y,
2147
2147
  dest: o,
2148
2148
  destRoutes: b,
@@ -2152,10 +2152,10 @@ var Ei = class {
2152
2152
  let _ = o.state === !0 ? i.state : o.state ? et(o.state, i.state) : {};
2153
2153
  _ = tt(i.state, _);
2154
2154
  const j = `${x}${S}${C}`;
2155
- let w, E, O = !1;
2155
+ let w, E, L = !1;
2156
2156
  if (this.rewrite) {
2157
2157
  const k = new URL(j, this.origin), A = po(this.rewrite, k);
2158
- w = k.href.replace(k.origin, ""), A.origin !== this.origin ? (E = A.href, O = !0) : E = A.pathname + A.search + A.hash;
2158
+ w = k.href.replace(k.origin, ""), A.origin !== this.origin ? (E = A.href, L = !0) : E = A.pathname + A.search + A.hash;
2159
2159
  } else
2160
2160
  w = Ya(j), E = w;
2161
2161
  return {
@@ -2166,7 +2166,7 @@ var Ei = class {
2166
2166
  searchStr: S,
2167
2167
  state: _,
2168
2168
  hash: N ?? "",
2169
- external: O,
2169
+ external: L,
2170
2170
  unmaskOnReload: o.unmaskOnReload
2171
2171
  };
2172
2172
  }, r = (o = {}, i) => {
@@ -2553,8 +2553,8 @@ var Ei = class {
2553
2553
  }
2554
2554
  Object.assign(r, j);
2555
2555
  const E = _ ? "stay" : "enter";
2556
- let O;
2557
- if (C) O = {
2556
+ let L;
2557
+ if (C) L = {
2558
2558
  ...C,
2559
2559
  cause: E,
2560
2560
  params: _?.params ?? r,
@@ -2564,7 +2564,7 @@ var Ei = class {
2564
2564
  };
2565
2565
  else {
2566
2566
  const A = d.options.loader || d.options.beforeLoad || d.lazyFn || mo(d) ? "pending" : "success";
2567
- O = {
2567
+ L = {
2568
2568
  id: N,
2569
2569
  ssr: d.options.ssr,
2570
2570
  index: f,
@@ -2598,13 +2598,13 @@ var Ei = class {
2598
2598
  fullPath: d.fullPath
2599
2599
  };
2600
2600
  }
2601
- t?.preload || (O.globalNotFound = c === d.id), O.searchError = g;
2601
+ t?.preload || (L.globalNotFound = c === d.id), L.searchError = g;
2602
2602
  const k = this.getParentContext(h);
2603
- O.context = {
2603
+ L.context = {
2604
2604
  ...k,
2605
- ...O.__routeContext,
2606
- ...O.__beforeLoadContext
2607
- }, l[f] = O;
2605
+ ...L.__routeContext,
2606
+ ...L.__beforeLoadContext
2607
+ }, l[f] = L;
2608
2608
  }
2609
2609
  for (let f = 0; f < l.length; f++) {
2610
2610
  const d = l[f], h = this.looseRoutesById[d.routeId], m = this.getMatch(d.id), p = u.get(d.routeId);
@@ -2709,10 +2709,10 @@ function Ti({ pathname: e, routesById: t, processedTree: s }) {
2709
2709
  foundRoute: o
2710
2710
  };
2711
2711
  }
2712
- function Li({ search: e, dest: t, destRoutes: s, _includeValidateSearch: n }) {
2713
- return Oi(s)(e, t, n ?? !1);
2712
+ function Oi({ search: e, dest: t, destRoutes: s, _includeValidateSearch: n }) {
2713
+ return Li(s)(e, t, n ?? !1);
2714
2714
  }
2715
- function Oi(e) {
2715
+ function Li(e) {
2716
2716
  let t, s;
2717
2717
  const n = [];
2718
2718
  for (const o of e) {
@@ -3612,7 +3612,7 @@ function Eo(e) {
3612
3612
  });
3613
3613
  }
3614
3614
  function cc(e, t) {
3615
- const s = _e(), n = Va(t), { activeProps: r, inactiveProps: o, activeOptions: i, to: c, preload: l, preloadDelay: u, preloadIntentProximity: f, hashScrollIntoView: d, replace: h, startTransition: m, resetScroll: p, viewTransition: g, children: b, target: x, disabled: y, style: S, className: N, onClick: C, onBlur: _, onFocus: j, onMouseEnter: w, onMouseLeave: E, onTouchStart: O, ignoreBlocker: k, params: A, search: Z, hash: z, state: J, mask: Y, reloadDocument: Q, unsafeRelative: he, from: me, _fromLocation: T, ...R } = e, F = bo(), H = $.useMemo(() => e, [
3615
+ const s = _e(), n = Va(t), { activeProps: r, inactiveProps: o, activeOptions: i, to: c, preload: l, preloadDelay: u, preloadIntentProximity: f, hashScrollIntoView: d, replace: h, startTransition: m, resetScroll: p, viewTransition: g, children: b, target: x, disabled: y, style: S, className: N, onClick: C, onBlur: _, onFocus: j, onMouseEnter: w, onMouseLeave: E, onTouchStart: L, ignoreBlocker: k, params: A, search: Z, hash: z, state: J, mask: Y, reloadDocument: Q, unsafeRelative: he, from: me, _fromLocation: T, ...R } = e, F = bo(), H = $.useMemo(() => e, [
3616
3616
  s,
3617
3617
  e.from,
3618
3618
  e._fromLocation,
@@ -3691,7 +3691,7 @@ function cc(e, t) {
3691
3691
  ...S,
3692
3692
  ...le.style,
3693
3693
  ...te.style
3694
- }, [ke, B] = $.useState(!1), pe = $.useRef(!1), ye = e.reloadDocument || V ? !1 : l ?? s.options.defaultPreload, Ee = u ?? s.options.defaultPreloadDelay ?? 0, Le = $.useCallback(() => {
3694
+ }, [ke, B] = $.useState(!1), pe = $.useRef(!1), ye = e.reloadDocument || V ? !1 : l ?? s.options.defaultPreload, Ee = u ?? s.options.defaultPreloadDelay ?? 0, Oe = $.useCallback(() => {
3695
3695
  s.preloadRoute({
3696
3696
  ...H,
3697
3697
  _builtLocation: W
@@ -3704,12 +3704,12 @@ function cc(e, t) {
3704
3704
  W
3705
3705
  ]);
3706
3706
  za(n, $.useCallback((se) => {
3707
- se?.isIntersecting && Le();
3708
- }, [Le]), hc, { disabled: !!y || ye !== "viewport" }), $.useEffect(() => {
3709
- pe.current || !y && ye === "render" && (Le(), pe.current = !0);
3707
+ se?.isIntersecting && Oe();
3708
+ }, [Oe]), hc, { disabled: !!y || ye !== "viewport" }), $.useEffect(() => {
3709
+ pe.current || !y && ye === "render" && (Oe(), pe.current = !0);
3710
3710
  }, [
3711
3711
  y,
3712
- Le,
3712
+ Oe,
3713
3713
  ye
3714
3714
  ]);
3715
3715
  const $s = (se) => {
@@ -3746,22 +3746,22 @@ function cc(e, t) {
3746
3746
  ...j && { onFocus: j },
3747
3747
  ...w && { onMouseEnter: w },
3748
3748
  ...E && { onMouseLeave: E },
3749
- ...O && { onTouchStart: O }
3749
+ ...L && { onTouchStart: L }
3750
3750
  };
3751
3751
  const ze = (se) => {
3752
3752
  if (y || ye !== "intent") return;
3753
3753
  if (!Ee) {
3754
- Le();
3754
+ Oe();
3755
3755
  return;
3756
3756
  }
3757
3757
  const ve = se.currentTarget;
3758
3758
  if (Mt.has(ve)) return;
3759
3759
  const Je = setTimeout(() => {
3760
- Mt.delete(ve), Le();
3760
+ Mt.delete(ve), Oe();
3761
3761
  }, Ee);
3762
3762
  Mt.set(ve, Je);
3763
3763
  }, Ma = (se) => {
3764
- y || ye !== "intent" || Le();
3764
+ y || ye !== "intent" || Oe();
3765
3765
  }, Un = (se) => {
3766
3766
  if (y || !ye || !Ee) return;
3767
3767
  const ve = se.currentTarget, Je = Mt.get(ve);
@@ -3778,7 +3778,7 @@ function cc(e, t) {
3778
3778
  onFocus: gt([j, ze]),
3779
3779
  onMouseEnter: gt([w, ze]),
3780
3780
  onMouseLeave: gt([E, Un]),
3781
- onTouchStart: gt([O, Ma]),
3781
+ onTouchStart: gt([L, Ma]),
3782
3782
  disabled: !!y,
3783
3783
  target: x,
3784
3784
  ...Ne && { style: Ne },
@@ -4172,12 +4172,12 @@ var Ac = (e) => ({
4172
4172
  createMutableStore: hr,
4173
4173
  createReadonlyStore: hr,
4174
4174
  batch: wo
4175
- }), Lo = (e) => new Tc(e), Tc = class extends Ei {
4175
+ }), Oo = (e) => new Tc(e), Tc = class extends Ei {
4176
4176
  constructor(e) {
4177
4177
  super(e, Ac);
4178
4178
  }
4179
4179
  };
4180
- function Lc({ router: e, children: t, ...s }) {
4180
+ function Oc({ router: e, children: t, ...s }) {
4181
4181
  no(s) && e.update({
4182
4182
  ...e.options,
4183
4183
  ...s,
@@ -4192,14 +4192,14 @@ function Lc({ router: e, children: t, ...s }) {
4192
4192
  });
4193
4193
  return e.options.Wrap ? /* @__PURE__ */ a.jsx(e.options.Wrap, { children: n }) : n;
4194
4194
  }
4195
- function Oc({ router: e, ...t }) {
4196
- return /* @__PURE__ */ a.jsx(Lc, {
4195
+ function Lc({ router: e, ...t }) {
4196
+ return /* @__PURE__ */ a.jsx(Oc, {
4197
4197
  router: e,
4198
4198
  ...t,
4199
4199
  children: /* @__PURE__ */ a.jsx(Ec, {})
4200
4200
  });
4201
4201
  }
4202
- function Oo(e, t) {
4202
+ function Lo(e, t) {
4203
4203
  return function() {
4204
4204
  return e.apply(t, arguments);
4205
4205
  };
@@ -4315,7 +4315,7 @@ const sl = (e, t, s, { allOwnKeys: n } = {}) => (Xt(
4315
4315
  // Null-proto descriptor so a polluted Object.prototype.get cannot
4316
4316
  // hijack defineProperty's accessor-vs-data resolution.
4317
4317
  __proto__: null,
4318
- value: Oo(r, s),
4318
+ value: Lo(r, s),
4319
4319
  writable: !0,
4320
4320
  enumerable: !0,
4321
4321
  configurable: !0
@@ -4568,7 +4568,7 @@ function Tl(e) {
4568
4568
  t[n[1]] = n[2];
4569
4569
  return t;
4570
4570
  }
4571
- const Ll = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
4571
+ const Ol = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
4572
4572
  function en(e, t, s, n, r) {
4573
4573
  if (v.isFunction(n))
4574
4574
  return n.call(this, t, s);
@@ -4579,7 +4579,7 @@ function en(e, t, s, n, r) {
4579
4579
  return n.test(t);
4580
4580
  }
4581
4581
  }
4582
- function Ol(e) {
4582
+ function Ll(e) {
4583
4583
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, s, n) => s.toUpperCase() + n);
4584
4584
  }
4585
4585
  function Il(e, t) {
@@ -4612,7 +4612,7 @@ let be = class {
4612
4612
  const i = (c, l) => v.forEach(c, (u, f) => o(u, f, l));
4613
4613
  if (v.isPlainObject(t) || t instanceof this.constructor)
4614
4614
  i(t, s);
4615
- else if (v.isString(t) && (t = t.trim()) && !Ll(t))
4615
+ else if (v.isString(t) && (t = t.trim()) && !Ol(t))
4616
4616
  i(Cl(t), s);
4617
4617
  else if (v.isObject(t) && v.isSafeIterable(t)) {
4618
4618
  let c = /* @__PURE__ */ Object.create(null), l, u;
@@ -4678,7 +4678,7 @@ let be = class {
4678
4678
  s[i] = bs(r), delete s[o];
4679
4679
  return;
4680
4680
  }
4681
- const c = t ? Ol(o) : String(o).trim();
4681
+ const c = t ? Ll(o) : String(o).trim();
4682
4682
  c !== o && delete s[o], s[c] = bs(r), n[c] = !0;
4683
4683
  }), this;
4684
4684
  }
@@ -5700,10 +5700,10 @@ function Sd(e) {
5700
5700
  }
5701
5701
  return o;
5702
5702
  }
5703
- const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeURIComponent(e).replace(
5703
+ const On = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeURIComponent(e).replace(
5704
5704
  /%([0-9A-F]{2})/gi,
5705
5705
  (t, s) => String.fromCharCode(parseInt(s, 16))
5706
- ), Lr = (e) => {
5706
+ ), Or = (e) => {
5707
5707
  if (!v.isString(e))
5708
5708
  return e;
5709
5709
  try {
@@ -5711,7 +5711,7 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5711
5711
  } catch {
5712
5712
  return e;
5713
5713
  }
5714
- }, Or = (e, ...t) => {
5714
+ }, Lr = (e, ...t) => {
5715
5715
  try {
5716
5716
  return !!e(...t);
5717
5717
  } catch {
@@ -5736,7 +5736,7 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5736
5736
  const { fetch: r, Request: o, Response: i } = e, c = r ? is(r) : typeof fetch == "function", l = is(o), u = is(i);
5737
5737
  if (!c)
5738
5738
  return !1;
5739
- const f = c && is(s), d = c && (typeof n == "function" ? /* @__PURE__ */ ((x) => (y) => x.encode(y))(new n()) : async (x) => new Uint8Array(await new o(x).arrayBuffer())), h = l && f && Or(() => {
5739
+ const f = c && is(s), d = c && (typeof n == "function" ? /* @__PURE__ */ ((x) => (y) => x.encode(y))(new n()) : async (x) => new Uint8Array(await new o(x).arrayBuffer())), h = l && f && Lr(() => {
5740
5740
  let x = !1;
5741
5741
  const y = new o(fe.origin, {
5742
5742
  body: new s(),
@@ -5746,7 +5746,7 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5746
5746
  }
5747
5747
  }), S = y.headers.has("Content-Type");
5748
5748
  return y.body != null && y.body.cancel(), x && !S;
5749
- }), m = u && f && Or(() => v.isReadableStream(new i("").body)), p = {
5749
+ }), m = u && f && Lr(() => v.isReadableStream(new i("").body)), p = {
5750
5750
  stream: m && ((x) => x.body)
5751
5751
  };
5752
5752
  c && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((x) => {
@@ -5789,7 +5789,7 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5789
5789
  timeout: j,
5790
5790
  onDownloadProgress: w,
5791
5791
  onUploadProgress: E,
5792
- responseType: O,
5792
+ responseType: L,
5793
5793
  headers: k,
5794
5794
  withCredentials: A = "same-origin",
5795
5795
  fetchOptions: Z,
@@ -5798,7 +5798,7 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5798
5798
  } = ea(x);
5799
5799
  const Y = v.isNumber(z) && z > -1, Q = v.isNumber(J) && J > -1, he = (U) => v.hasOwnProp(x, U) ? x[U] : void 0;
5800
5800
  let me = r || fetch;
5801
- O = O ? (O + "").toLowerCase() : "text";
5801
+ L = L ? (L + "").toLowerCase() : "text";
5802
5802
  let T = xd(
5803
5803
  [C, _ && _.toAbortSignal()],
5804
5804
  j
@@ -5826,7 +5826,7 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5826
5826
  if (Rd(y)) {
5827
5827
  const B = new URL(y, fe.origin);
5828
5828
  if (!U && (B.username || B.password)) {
5829
- const pe = Lr(B.username), ye = Lr(B.password);
5829
+ const pe = Or(B.username), ye = Or(B.password);
5830
5830
  U = {
5831
5831
  username: pe,
5832
5832
  password: ye
@@ -5889,7 +5889,7 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5889
5889
  const B = k.getContentType();
5890
5890
  B && /^multipart\/form-data/i.test(B) && !/boundary=/i.test(B) && k.delete("content-type");
5891
5891
  }
5892
- k.set("User-Agent", "axios/" + Ln, !1);
5892
+ k.set("User-Agent", "axios/" + On, !1);
5893
5893
  const le = {
5894
5894
  ...Z,
5895
5895
  signal: T,
@@ -5912,7 +5912,7 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5912
5912
  R
5913
5913
  );
5914
5914
  }
5915
- const Ne = m && (O === "stream" || O === "response");
5915
+ const Ne = m && (L === "stream" || L === "response");
5916
5916
  if (m && te.body && (w || Y || Ne && F)) {
5917
5917
  const B = {};
5918
5918
  ["status", "statusText", "headers"].forEach((ze) => {
@@ -5922,9 +5922,9 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5922
5922
  pe,
5923
5923
  ks(kr(w), !0)
5924
5924
  ) || [];
5925
- let Le = 0;
5925
+ let Oe = 0;
5926
5926
  const $s = (ze) => {
5927
- if (Y && (Le = ze, Le > z))
5927
+ if (Y && (Oe = ze, Oe > z))
5928
5928
  throw new P(
5929
5929
  "maxContentLength size of " + z + " exceeded",
5930
5930
  P.ERR_BAD_RESPONSE,
@@ -5940,8 +5940,8 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
5940
5940
  B
5941
5941
  );
5942
5942
  }
5943
- O = O || "text";
5944
- let ke = await p[v.findKey(p, O) || "text"](
5943
+ L = L || "text";
5944
+ let ke = await p[v.findKey(p, L) || "text"](
5945
5945
  te,
5946
5946
  x
5947
5947
  );
@@ -6008,14 +6008,14 @@ const Ln = "1.18.1", Tr = 64 * 1024, { isFunction: is } = v, jd = (e) => encodeU
6008
6008
  return u;
6009
6009
  };
6010
6010
  ta();
6011
- const On = {
6011
+ const Ln = {
6012
6012
  http: Ul,
6013
6013
  xhr: gd,
6014
6014
  fetch: {
6015
6015
  get: ta
6016
6016
  }
6017
6017
  };
6018
- v.forEach(On, (e, t) => {
6018
+ v.forEach(Ln, (e, t) => {
6019
6019
  if (e) {
6020
6020
  try {
6021
6021
  Object.defineProperty(e, "name", { __proto__: null, value: t });
@@ -6033,7 +6033,7 @@ function kd(e, t) {
6033
6033
  for (let i = 0; i < s; i++) {
6034
6034
  n = e[i];
6035
6035
  let c;
6036
- if (r = n, !_d(n) && (r = On[(c = String(n)).toLowerCase()], r === void 0))
6036
+ if (r = n, !_d(n) && (r = Ln[(c = String(n)).toLowerCase()], r === void 0))
6037
6037
  throw new P(`Unknown adapter '${c}'`);
6038
6038
  if (r && (v.isFunction(r) || (r = r.get(t))))
6039
6039
  break;
@@ -6063,7 +6063,7 @@ const sa = {
6063
6063
  * Exposes all known adapters
6064
6064
  * @type {Object<string, Function|Object>}
6065
6065
  */
6066
- adapters: On
6066
+ adapters: Ln
6067
6067
  };
6068
6068
  function nn(e) {
6069
6069
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
@@ -6107,7 +6107,7 @@ const Fs = {};
6107
6107
  const Dr = {};
6108
6108
  Fs.transitional = function(t, s, n) {
6109
6109
  function r(o, i) {
6110
- return "[Axios v" + Ln + "] Transitional option '" + o + "'" + i + (n ? ". " + n : "");
6110
+ return "[Axios v" + On + "] Transitional option '" + o + "'" + i + (n ? ". " + n : "");
6111
6111
  }
6112
6112
  return (o, i, c) => {
6113
6113
  if (t === !1)
@@ -6460,7 +6460,7 @@ Object.entries(yn).forEach(([e, t]) => {
6460
6460
  yn[t] = e;
6461
6461
  });
6462
6462
  function ra(e) {
6463
- const t = new ct(e), s = Oo(ct.prototype.request, t);
6463
+ const t = new ct(e), s = Lo(ct.prototype.request, t);
6464
6464
  return v.extend(s, ct.prototype, t, { allOwnKeys: !0 }), v.extend(s, t, null, { allOwnKeys: !0 }), s.create = function(r) {
6465
6465
  return ra(ft(e, r));
6466
6466
  }, s;
@@ -6470,7 +6470,7 @@ ae.Axios = ct;
6470
6470
  ae.CanceledError = Qt;
6471
6471
  ae.CancelToken = Pd;
6472
6472
  ae.isCancel = Xo;
6473
- ae.VERSION = Ln;
6473
+ ae.VERSION = On;
6474
6474
  ae.toFormData = Ds;
6475
6475
  ae.AxiosError = P;
6476
6476
  ae.Cancel = ae.CanceledError;
@@ -6504,7 +6504,7 @@ const {
6504
6504
  mergeConfig: kh,
6505
6505
  create: Eh
6506
6506
  } = ae, ne = ae.create({ baseURL: "/api/v1/cost" });
6507
- function Ld(e, t) {
6507
+ function Od(e, t) {
6508
6508
  ne.defaults.baseURL = `${e.replace(/\/$/, "")}/cost`, t ? ne.defaults.headers.common.Authorization = `Bearer ${t}` : delete ne.defaults.headers.common.Authorization;
6509
6509
  }
6510
6510
  function Ph(e) {
@@ -6516,7 +6516,7 @@ function Ph(e) {
6516
6516
  return t;
6517
6517
  });
6518
6518
  }
6519
- const Od = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Id = (e) => e.replace(
6519
+ const Ld = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Id = (e) => e.replace(
6520
6520
  /^([A-Z])|[\s-_]+(\w)/g,
6521
6521
  (t, s, n) => n ? n.toUpperCase() : s.toLowerCase()
6522
6522
  ), Fr = (e) => {
@@ -6573,7 +6573,7 @@ const ee = (e, t) => {
6573
6573
  ref: o,
6574
6574
  iconNode: t,
6575
6575
  className: oa(
6576
- `lucide-${Od(Fr(e))}`,
6576
+ `lucide-${Ld(Fr(e))}`,
6577
6577
  `lucide-${e}`,
6578
6578
  n
6579
6579
  ),
@@ -6826,11 +6826,11 @@ const Cu = (e, t) => {
6826
6826
  const r = e.length;
6827
6827
  for (let o = 0; o < r; o++) {
6828
6828
  const i = e[o];
6829
- Lu(i, t, s, n);
6829
+ Ou(i, t, s, n);
6830
6830
  }
6831
- }, Lu = (e, t, s, n) => {
6831
+ }, Ou = (e, t, s, n) => {
6832
6832
  if (typeof e == "string") {
6833
- Ou(e, t, s);
6833
+ Lu(e, t, s);
6834
6834
  return;
6835
6835
  }
6836
6836
  if (typeof e == "function") {
@@ -6838,7 +6838,7 @@ const Cu = (e, t) => {
6838
6838
  return;
6839
6839
  }
6840
6840
  Mu(e, t, s, n);
6841
- }, Ou = (e, t, s) => {
6841
+ }, Lu = (e, t, s) => {
6842
6842
  const n = e === "" ? t : ya(t, e);
6843
6843
  n.classGroupId = s;
6844
6844
  }, Iu = (e, t, s, n) => {
@@ -7044,12 +7044,12 @@ const Cu = (e, t) => {
7044
7044
  }, Ku = [], ce = (e) => {
7045
7045
  const t = (s) => s[e] || Ku;
7046
7046
  return t.isThemeGetter = !0, t;
7047
- }, wa = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Sa = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yu = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ju = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Zu = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Qu = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ef = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ve = (e) => Yu.test(e), q = (e) => !!e && !Number.isNaN(Number(e)), Oe = (e) => !!e && Number.isInteger(Number(e)), rn = (e) => e.endsWith("%") && q(e.slice(0, -1)), Fe = (e) => Ju.test(e), ja = () => !0, tf = (e) => (
7047
+ }, wa = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Sa = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yu = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ju = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Zu = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Qu = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ef = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ve = (e) => Yu.test(e), q = (e) => !!e && !Number.isNaN(Number(e)), Le = (e) => !!e && Number.isInteger(Number(e)), rn = (e) => e.endsWith("%") && q(e.slice(0, -1)), Fe = (e) => Ju.test(e), ja = () => !0, tf = (e) => (
7048
7048
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
7049
7049
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
7050
7050
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
7051
7051
  Xu.test(e) && !Zu.test(e)
7052
- ), Fn = () => !1, sf = (e) => Qu.test(e), nf = (e) => ef.test(e), rf = (e) => !L(e) && !I(e), of = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), af = (e) => Ye(e, Ca, Fn), L = (e) => wa.test(e), Ze = (e) => Ye(e, _a, tf), Vr = (e) => Ye(e, pf, q), cf = (e) => Ye(e, Ea, ja), lf = (e) => Ye(e, ka, Fn), Wr = (e) => Ye(e, Ra, Fn), df = (e) => Ye(e, Na, nf), cs = (e) => Ye(e, Pa, sf), I = (e) => Sa.test(e), Ft = (e) => pt(e, _a), uf = (e) => pt(e, ka), Hr = (e) => pt(e, Ra), ff = (e) => pt(e, Ca), hf = (e) => pt(e, Na), ls = (e) => pt(e, Pa, !0), mf = (e) => pt(e, Ea, !0), Ye = (e, t, s) => {
7052
+ ), Fn = () => !1, sf = (e) => Qu.test(e), nf = (e) => ef.test(e), rf = (e) => !O(e) && !I(e), of = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), af = (e) => Ye(e, Ca, Fn), O = (e) => wa.test(e), Ze = (e) => Ye(e, _a, tf), Vr = (e) => Ye(e, pf, q), cf = (e) => Ye(e, Ea, ja), lf = (e) => Ye(e, ka, Fn), Wr = (e) => Ye(e, Ra, Fn), df = (e) => Ye(e, Na, nf), cs = (e) => Ye(e, Pa, sf), I = (e) => Sa.test(e), Ft = (e) => pt(e, _a), uf = (e) => pt(e, ka), Hr = (e) => pt(e, Ra), ff = (e) => pt(e, Ca), hf = (e) => pt(e, Na), ls = (e) => pt(e, Pa, !0), mf = (e) => pt(e, Ea, !0), Ye = (e, t, s) => {
7053
7053
  const n = wa.exec(e);
7054
7054
  return n ? n[1] ? t(n[1]) : s(n[2]) : !1;
7055
7055
  }, pt = (e, t, s = !1) => {
@@ -7074,14 +7074,14 @@ const Cu = (e, t) => {
7074
7074
  "bottom-left",
7075
7075
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
7076
7076
  "left-bottom"
7077
- ], C = () => [...N(), I, L], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], j = () => ["auto", "contain", "none"], w = () => [I, L, l], E = () => [Ve, "full", "auto", ...w()], O = () => [Oe, "none", "subgrid", I, L], k = () => ["auto", {
7078
- span: ["full", Oe, I, L]
7079
- }, Oe, I, L], A = () => [Oe, "auto", I, L], Z = () => ["auto", "min", "max", "fr", I, L], z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], J = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ...w()], Q = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], he = () => [Ve, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...w()], me = () => [Ve, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...w()], T = () => [e, I, L], R = () => [...N(), Hr, Wr, {
7080
- position: [I, L]
7077
+ ], C = () => [...N(), I, O], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], j = () => ["auto", "contain", "none"], w = () => [I, O, l], E = () => [Ve, "full", "auto", ...w()], L = () => [Le, "none", "subgrid", I, O], k = () => ["auto", {
7078
+ span: ["full", Le, I, O]
7079
+ }, Le, I, O], A = () => [Le, "auto", I, O], Z = () => ["auto", "min", "max", "fr", I, O], z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], J = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ...w()], Q = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], he = () => [Ve, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...w()], me = () => [Ve, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...w()], T = () => [e, I, O], R = () => [...N(), Hr, Wr, {
7080
+ position: [I, O]
7081
7081
  }], F = () => ["no-repeat", {
7082
7082
  repeat: ["", "x", "y", "space", "round"]
7083
7083
  }], H = () => ["auto", "cover", "contain", ff, af, {
7084
- size: [I, L]
7084
+ size: [I, O]
7085
7085
  }], G = () => [rn, Ft, Ze], W = () => [
7086
7086
  // Deprecated since Tailwind CSS v4.0.0
7087
7087
  "",
@@ -7089,15 +7089,15 @@ const Cu = (e, t) => {
7089
7089
  "full",
7090
7090
  u,
7091
7091
  I,
7092
- L
7092
+ O
7093
7093
  ], U = () => ["", q, Ft, Ze], M = () => ["solid", "dashed", "dotted", "double"], X = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => [q, rn, Hr, Wr], ie = () => [
7094
7094
  // Deprecated since Tailwind CSS v4.0.0
7095
7095
  "",
7096
7096
  "none",
7097
7097
  p,
7098
7098
  I,
7099
- L
7100
- ], le = () => ["none", q, I, L], te = () => ["none", q, I, L], Ce = () => [q, I, L], Ne = () => [Ve, "full", ...w()];
7099
+ O
7100
+ ], le = () => ["none", q, I, O], te = () => ["none", q, I, O], Ce = () => [q, I, O], Ne = () => [Ve, "full", ...w()];
7101
7101
  return {
7102
7102
  cacheSize: 500,
7103
7103
  theme: {
@@ -7130,7 +7130,7 @@ const Cu = (e, t) => {
7130
7130
  * @see https://tailwindcss.com/docs/aspect-ratio
7131
7131
  */
7132
7132
  aspect: [{
7133
- aspect: ["auto", "square", Ve, L, I, b]
7133
+ aspect: ["auto", "square", Ve, O, I, b]
7134
7134
  }],
7135
7135
  /**
7136
7136
  * Container
@@ -7143,7 +7143,7 @@ const Cu = (e, t) => {
7143
7143
  * @see https://tailwindcss.com/docs/responsive-design#container-queries
7144
7144
  */
7145
7145
  "container-type": [{
7146
- "@container": ["", "normal", "size", I, L]
7146
+ "@container": ["", "normal", "size", I, O]
7147
7147
  }],
7148
7148
  /**
7149
7149
  * Container Name
@@ -7155,7 +7155,7 @@ const Cu = (e, t) => {
7155
7155
  * @see https://tailwindcss.com/docs/columns
7156
7156
  */
7157
7157
  columns: [{
7158
- columns: [q, L, I, c]
7158
+ columns: [q, O, I, c]
7159
7159
  }],
7160
7160
  /**
7161
7161
  * Break After
@@ -7381,7 +7381,7 @@ const Cu = (e, t) => {
7381
7381
  * @see https://tailwindcss.com/docs/z-index
7382
7382
  */
7383
7383
  z: [{
7384
- z: [Oe, "auto", I, L]
7384
+ z: [Le, "auto", I, O]
7385
7385
  }],
7386
7386
  // ------------------------
7387
7387
  // --- Flexbox and Grid ---
@@ -7412,35 +7412,35 @@ const Cu = (e, t) => {
7412
7412
  * @see https://tailwindcss.com/docs/flex
7413
7413
  */
7414
7414
  flex: [{
7415
- flex: [q, Ve, "auto", "initial", "none", L]
7415
+ flex: [q, Ve, "auto", "initial", "none", O]
7416
7416
  }],
7417
7417
  /**
7418
7418
  * Flex Grow
7419
7419
  * @see https://tailwindcss.com/docs/flex-grow
7420
7420
  */
7421
7421
  grow: [{
7422
- grow: ["", q, I, L]
7422
+ grow: ["", q, I, O]
7423
7423
  }],
7424
7424
  /**
7425
7425
  * Flex Shrink
7426
7426
  * @see https://tailwindcss.com/docs/flex-shrink
7427
7427
  */
7428
7428
  shrink: [{
7429
- shrink: ["", q, I, L]
7429
+ shrink: ["", q, I, O]
7430
7430
  }],
7431
7431
  /**
7432
7432
  * Order
7433
7433
  * @see https://tailwindcss.com/docs/order
7434
7434
  */
7435
7435
  order: [{
7436
- order: [Oe, "first", "last", "none", I, L]
7436
+ order: [Le, "first", "last", "none", I, O]
7437
7437
  }],
7438
7438
  /**
7439
7439
  * Grid Template Columns
7440
7440
  * @see https://tailwindcss.com/docs/grid-template-columns
7441
7441
  */
7442
7442
  "grid-cols": [{
7443
- "grid-cols": O()
7443
+ "grid-cols": L()
7444
7444
  }],
7445
7445
  /**
7446
7446
  * Grid Column Start / End
@@ -7468,7 +7468,7 @@ const Cu = (e, t) => {
7468
7468
  * @see https://tailwindcss.com/docs/grid-template-rows
7469
7469
  */
7470
7470
  "grid-rows": [{
7471
- "grid-rows": O()
7471
+ "grid-rows": L()
7472
7472
  }],
7473
7473
  /**
7474
7474
  * Grid Row Start / End
@@ -7922,7 +7922,7 @@ const Cu = (e, t) => {
7922
7922
  * @see https://tailwindcss.com/docs/font-stretch
7923
7923
  */
7924
7924
  "font-stretch": [{
7925
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", rn, L]
7925
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", rn, O]
7926
7926
  }],
7927
7927
  /**
7928
7928
  * Font Family
@@ -7936,7 +7936,7 @@ const Cu = (e, t) => {
7936
7936
  * @see https://tailwindcss.com/docs/font-feature-settings
7937
7937
  */
7938
7938
  "font-features": [{
7939
- "font-features": [L]
7939
+ "font-features": [O]
7940
7940
  }],
7941
7941
  /**
7942
7942
  * Font Variant Numeric
@@ -7973,7 +7973,7 @@ const Cu = (e, t) => {
7973
7973
  * @see https://tailwindcss.com/docs/letter-spacing
7974
7974
  */
7975
7975
  tracking: [{
7976
- tracking: [r, I, L]
7976
+ tracking: [r, I, O]
7977
7977
  }],
7978
7978
  /**
7979
7979
  * Line Clamp
@@ -7998,7 +7998,7 @@ const Cu = (e, t) => {
7998
7998
  * @see https://tailwindcss.com/docs/list-style-image
7999
7999
  */
8000
8000
  "list-image": [{
8001
- "list-image": ["none", I, L]
8001
+ "list-image": ["none", I, O]
8002
8002
  }],
8003
8003
  /**
8004
8004
  * List Style Position
@@ -8012,7 +8012,7 @@ const Cu = (e, t) => {
8012
8012
  * @see https://tailwindcss.com/docs/list-style-type
8013
8013
  */
8014
8014
  "list-style-type": [{
8015
- list: ["disc", "decimal", "none", I, L]
8015
+ list: ["disc", "decimal", "none", I, O]
8016
8016
  }],
8017
8017
  /**
8018
8018
  * Text Alignment
@@ -8067,7 +8067,7 @@ const Cu = (e, t) => {
8067
8067
  * @see https://tailwindcss.com/docs/text-underline-offset
8068
8068
  */
8069
8069
  "underline-offset": [{
8070
- "underline-offset": [q, "auto", I, L]
8070
+ "underline-offset": [q, "auto", I, O]
8071
8071
  }],
8072
8072
  /**
8073
8073
  * Text Transform
@@ -8098,14 +8098,14 @@ const Cu = (e, t) => {
8098
8098
  * @see https://tailwindcss.com/docs/tab-size
8099
8099
  */
8100
8100
  "tab-size": [{
8101
- tab: [Oe, I, L]
8101
+ tab: [Le, I, O]
8102
8102
  }],
8103
8103
  /**
8104
8104
  * Vertical Alignment
8105
8105
  * @see https://tailwindcss.com/docs/vertical-align
8106
8106
  */
8107
8107
  "vertical-align": [{
8108
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", I, L]
8108
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", I, O]
8109
8109
  }],
8110
8110
  /**
8111
8111
  * Whitespace
@@ -8140,7 +8140,7 @@ const Cu = (e, t) => {
8140
8140
  * @see https://tailwindcss.com/docs/content
8141
8141
  */
8142
8142
  content: [{
8143
- content: ["none", I, L]
8143
+ content: ["none", I, O]
8144
8144
  }],
8145
8145
  // -------------------
8146
8146
  // --- Backgrounds ---
@@ -8195,9 +8195,9 @@ const Cu = (e, t) => {
8195
8195
  bg: ["none", {
8196
8196
  linear: [{
8197
8197
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
8198
- }, Oe, I, L],
8199
- radial: ["", I, L],
8200
- conic: [Oe, I, L]
8198
+ }, Le, I, O],
8199
+ radial: ["", I, O],
8200
+ conic: [Le, I, O]
8201
8201
  }, hf, df]
8202
8202
  }],
8203
8203
  /**
@@ -8568,7 +8568,7 @@ const Cu = (e, t) => {
8568
8568
  * @see https://tailwindcss.com/docs/outline-offset
8569
8569
  */
8570
8570
  "outline-offset": [{
8571
- "outline-offset": [q, I, L]
8571
+ "outline-offset": [q, I, O]
8572
8572
  }],
8573
8573
  /**
8574
8574
  * Outline Width
@@ -8694,7 +8694,7 @@ const Cu = (e, t) => {
8694
8694
  * @see https://tailwindcss.com/docs/opacity
8695
8695
  */
8696
8696
  opacity: [{
8697
- opacity: [q, I, L]
8697
+ opacity: [q, I, O]
8698
8698
  }],
8699
8699
  /**
8700
8700
  * Mix Blend Mode
@@ -8816,7 +8816,7 @@ const Cu = (e, t) => {
8816
8816
  "mask-y-to": T()
8817
8817
  }],
8818
8818
  "mask-image-radial": [{
8819
- "mask-radial": [I, L]
8819
+ "mask-radial": [I, O]
8820
8820
  }],
8821
8821
  "mask-image-radial-from-pos": [{
8822
8822
  "mask-radial-from": V()
@@ -8904,7 +8904,7 @@ const Cu = (e, t) => {
8904
8904
  * @see https://tailwindcss.com/docs/mask-image
8905
8905
  */
8906
8906
  "mask-image": [{
8907
- mask: ["none", I, L]
8907
+ mask: ["none", I, O]
8908
8908
  }],
8909
8909
  // ---------------
8910
8910
  // --- Filters ---
@@ -8919,7 +8919,7 @@ const Cu = (e, t) => {
8919
8919
  "",
8920
8920
  "none",
8921
8921
  I,
8922
- L
8922
+ O
8923
8923
  ]
8924
8924
  }],
8925
8925
  /**
@@ -8934,14 +8934,14 @@ const Cu = (e, t) => {
8934
8934
  * @see https://tailwindcss.com/docs/brightness
8935
8935
  */
8936
8936
  brightness: [{
8937
- brightness: [q, I, L]
8937
+ brightness: [q, I, O]
8938
8938
  }],
8939
8939
  /**
8940
8940
  * Contrast
8941
8941
  * @see https://tailwindcss.com/docs/contrast
8942
8942
  */
8943
8943
  contrast: [{
8944
- contrast: [q, I, L]
8944
+ contrast: [q, I, O]
8945
8945
  }],
8946
8946
  /**
8947
8947
  * Drop Shadow
@@ -8969,35 +8969,35 @@ const Cu = (e, t) => {
8969
8969
  * @see https://tailwindcss.com/docs/grayscale
8970
8970
  */
8971
8971
  grayscale: [{
8972
- grayscale: ["", q, I, L]
8972
+ grayscale: ["", q, I, O]
8973
8973
  }],
8974
8974
  /**
8975
8975
  * Hue Rotate
8976
8976
  * @see https://tailwindcss.com/docs/hue-rotate
8977
8977
  */
8978
8978
  "hue-rotate": [{
8979
- "hue-rotate": [q, I, L]
8979
+ "hue-rotate": [q, I, O]
8980
8980
  }],
8981
8981
  /**
8982
8982
  * Invert
8983
8983
  * @see https://tailwindcss.com/docs/invert
8984
8984
  */
8985
8985
  invert: [{
8986
- invert: ["", q, I, L]
8986
+ invert: ["", q, I, O]
8987
8987
  }],
8988
8988
  /**
8989
8989
  * Saturate
8990
8990
  * @see https://tailwindcss.com/docs/saturate
8991
8991
  */
8992
8992
  saturate: [{
8993
- saturate: [q, I, L]
8993
+ saturate: [q, I, O]
8994
8994
  }],
8995
8995
  /**
8996
8996
  * Sepia
8997
8997
  * @see https://tailwindcss.com/docs/sepia
8998
8998
  */
8999
8999
  sepia: [{
9000
- sepia: ["", q, I, L]
9000
+ sepia: ["", q, I, O]
9001
9001
  }],
9002
9002
  /**
9003
9003
  * Backdrop Filter
@@ -9009,7 +9009,7 @@ const Cu = (e, t) => {
9009
9009
  "",
9010
9010
  "none",
9011
9011
  I,
9012
- L
9012
+ O
9013
9013
  ]
9014
9014
  }],
9015
9015
  /**
@@ -9024,56 +9024,56 @@ const Cu = (e, t) => {
9024
9024
  * @see https://tailwindcss.com/docs/backdrop-brightness
9025
9025
  */
9026
9026
  "backdrop-brightness": [{
9027
- "backdrop-brightness": [q, I, L]
9027
+ "backdrop-brightness": [q, I, O]
9028
9028
  }],
9029
9029
  /**
9030
9030
  * Backdrop Contrast
9031
9031
  * @see https://tailwindcss.com/docs/backdrop-contrast
9032
9032
  */
9033
9033
  "backdrop-contrast": [{
9034
- "backdrop-contrast": [q, I, L]
9034
+ "backdrop-contrast": [q, I, O]
9035
9035
  }],
9036
9036
  /**
9037
9037
  * Backdrop Grayscale
9038
9038
  * @see https://tailwindcss.com/docs/backdrop-grayscale
9039
9039
  */
9040
9040
  "backdrop-grayscale": [{
9041
- "backdrop-grayscale": ["", q, I, L]
9041
+ "backdrop-grayscale": ["", q, I, O]
9042
9042
  }],
9043
9043
  /**
9044
9044
  * Backdrop Hue Rotate
9045
9045
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
9046
9046
  */
9047
9047
  "backdrop-hue-rotate": [{
9048
- "backdrop-hue-rotate": [q, I, L]
9048
+ "backdrop-hue-rotate": [q, I, O]
9049
9049
  }],
9050
9050
  /**
9051
9051
  * Backdrop Invert
9052
9052
  * @see https://tailwindcss.com/docs/backdrop-invert
9053
9053
  */
9054
9054
  "backdrop-invert": [{
9055
- "backdrop-invert": ["", q, I, L]
9055
+ "backdrop-invert": ["", q, I, O]
9056
9056
  }],
9057
9057
  /**
9058
9058
  * Backdrop Opacity
9059
9059
  * @see https://tailwindcss.com/docs/backdrop-opacity
9060
9060
  */
9061
9061
  "backdrop-opacity": [{
9062
- "backdrop-opacity": [q, I, L]
9062
+ "backdrop-opacity": [q, I, O]
9063
9063
  }],
9064
9064
  /**
9065
9065
  * Backdrop Saturate
9066
9066
  * @see https://tailwindcss.com/docs/backdrop-saturate
9067
9067
  */
9068
9068
  "backdrop-saturate": [{
9069
- "backdrop-saturate": [q, I, L]
9069
+ "backdrop-saturate": [q, I, O]
9070
9070
  }],
9071
9071
  /**
9072
9072
  * Backdrop Sepia
9073
9073
  * @see https://tailwindcss.com/docs/backdrop-sepia
9074
9074
  */
9075
9075
  "backdrop-sepia": [{
9076
- "backdrop-sepia": ["", q, I, L]
9076
+ "backdrop-sepia": ["", q, I, O]
9077
9077
  }],
9078
9078
  // --------------
9079
9079
  // --- Tables ---
@@ -9128,7 +9128,7 @@ const Cu = (e, t) => {
9128
9128
  * @see https://tailwindcss.com/docs/transition-property
9129
9129
  */
9130
9130
  transition: [{
9131
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", I, L]
9131
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", I, O]
9132
9132
  }],
9133
9133
  /**
9134
9134
  * Transition Behavior
@@ -9142,28 +9142,28 @@ const Cu = (e, t) => {
9142
9142
  * @see https://tailwindcss.com/docs/transition-duration
9143
9143
  */
9144
9144
  duration: [{
9145
- duration: [q, "initial", I, L]
9145
+ duration: [q, "initial", I, O]
9146
9146
  }],
9147
9147
  /**
9148
9148
  * Transition Timing Function
9149
9149
  * @see https://tailwindcss.com/docs/transition-timing-function
9150
9150
  */
9151
9151
  ease: [{
9152
- ease: ["linear", "initial", x, I, L]
9152
+ ease: ["linear", "initial", x, I, O]
9153
9153
  }],
9154
9154
  /**
9155
9155
  * Transition Delay
9156
9156
  * @see https://tailwindcss.com/docs/transition-delay
9157
9157
  */
9158
9158
  delay: [{
9159
- delay: [q, I, L]
9159
+ delay: [q, I, O]
9160
9160
  }],
9161
9161
  /**
9162
9162
  * Animation
9163
9163
  * @see https://tailwindcss.com/docs/animation
9164
9164
  */
9165
9165
  animate: [{
9166
- animate: ["none", y, I, L]
9166
+ animate: ["none", y, I, O]
9167
9167
  }],
9168
9168
  // ------------------
9169
9169
  // --- Transforms ---
@@ -9180,7 +9180,7 @@ const Cu = (e, t) => {
9180
9180
  * @see https://tailwindcss.com/docs/perspective
9181
9181
  */
9182
9182
  perspective: [{
9183
- perspective: [g, I, L]
9183
+ perspective: [g, I, O]
9184
9184
  }],
9185
9185
  /**
9186
9186
  * Perspective Origin
@@ -9276,7 +9276,7 @@ const Cu = (e, t) => {
9276
9276
  * @see https://tailwindcss.com/docs/transform
9277
9277
  */
9278
9278
  transform: [{
9279
- transform: [I, L, "", "none", "gpu", "cpu"]
9279
+ transform: [I, O, "", "none", "gpu", "cpu"]
9280
9280
  }],
9281
9281
  /**
9282
9282
  * Transform Origin
@@ -9330,7 +9330,7 @@ const Cu = (e, t) => {
9330
9330
  * @see https://tailwindcss.com/docs/zoom
9331
9331
  */
9332
9332
  zoom: [{
9333
- zoom: [Oe, I, L]
9333
+ zoom: [Le, I, O]
9334
9334
  }],
9335
9335
  // ---------------------
9336
9336
  // --- Interactivity ---
@@ -9368,7 +9368,7 @@ const Cu = (e, t) => {
9368
9368
  * @see https://tailwindcss.com/docs/cursor
9369
9369
  */
9370
9370
  cursor: [{
9371
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", I, L]
9371
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", I, O]
9372
9372
  }],
9373
9373
  /**
9374
9374
  * Field Sizing
@@ -9646,7 +9646,7 @@ const Cu = (e, t) => {
9646
9646
  * @see https://tailwindcss.com/docs/will-change
9647
9647
  */
9648
9648
  "will-change": [{
9649
- "will-change": ["auto", "scroll", "contents", "transform", I, L]
9649
+ "will-change": ["auto", "scroll", "contents", "transform", I, O]
9650
9650
  }],
9651
9651
  // -----------
9652
9652
  // --- SVG ---
@@ -9827,8 +9827,8 @@ function Sf({ tenantId: e = "default", children: t }) {
9827
9827
  try {
9828
9828
  const m = ((await oe.getSources()).sources || []).filter((p) => !!p.managementAccountId);
9829
9829
  r(m), i((p) => {
9830
- const b = window.localStorage.getItem(s) || "" || p, x = m.some((y) => y.managementAccountId === b) ? b : m[0]?.managementAccountId || "";
9831
- return x ? window.localStorage.setItem(s, x) : window.localStorage.removeItem(s), x;
9830
+ const b = window.localStorage.getItem(s) || "" || p, x = m.find((S) => S.status === "CONNECTED") || m[0], y = m.some((S) => S.managementAccountId === b) ? b : x?.managementAccountId || "";
9831
+ return y ? window.localStorage.setItem(s, y) : window.localStorage.removeItem(s), y;
9832
9832
  });
9833
9833
  } catch {
9834
9834
  r([]), i("");
@@ -9949,7 +9949,7 @@ function Nf({ title: e, items: t, currency: s }) {
9949
9949
  ] })
9950
9950
  ] });
9951
9951
  }
9952
- const La = "min-h-32 transition-all duration-200 ease-out hover:-translate-y-1 hover:scale-[1.01] hover:border-primary/30 hover:shadow-lg";
9952
+ const Oa = "min-h-32 transition-all duration-200 ease-out hover:-translate-y-1 hover:scale-[1.01] hover:border-primary/30 hover:shadow-lg";
9953
9953
  function on({ title: e, icon: t, items: s, currency: n }) {
9954
9954
  const [r, o] = D("chart"), i = s.slice(0, 6), c = Math.max(...i.map((l) => l.amount), 1);
9955
9955
  return /* @__PURE__ */ a.jsxs(de, { className: "min-w-0", children: [
@@ -9981,7 +9981,7 @@ function on({ title: e, icon: t, items: s, currency: n }) {
9981
9981
  }
9982
9982
  function Cf() {
9983
9983
  return /* @__PURE__ */ a.jsxs("div", { "aria-live": "polite", "aria-busy": "true", className: "contents", children: [
9984
- /* @__PURE__ */ a.jsx("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,240px),1fr))] gap-4", children: Array.from({ length: 4 }, (e, t) => /* @__PURE__ */ a.jsxs(de, { className: La, children: [
9984
+ /* @__PURE__ */ a.jsx("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,240px),1fr))] gap-4", children: Array.from({ length: 4 }, (e, t) => /* @__PURE__ */ a.jsxs(de, { className: Oa, children: [
9985
9985
  /* @__PURE__ */ a.jsx(je, { className: "pb-2", children: /* @__PURE__ */ a.jsx("div", { className: "h-3 w-24 animate-pulse rounded bg-muted" }) }),
9986
9986
  /* @__PURE__ */ a.jsxs(ue, { children: [
9987
9987
  /* @__PURE__ */ a.jsx("div", { className: "h-6 w-3/4 animate-pulse rounded bg-muted" }),
@@ -10020,7 +10020,7 @@ Cost - ${K(n.amount, e.currency)}` }) : "-", helper: l, icon: /* @__PURE__ */ a.
10020
10020
  Account Id - ${r.accountId || r.key || "Unknown"}
10021
10021
  Cost - ${K(r.amount, e.currency)}` }) : "-", helper: l, icon: /* @__PURE__ */ a.jsx(Ps, {}) }
10022
10022
  ];
10023
- return /* @__PURE__ */ a.jsx("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,240px),1fr))] gap-4", children: u.map((f) => /* @__PURE__ */ a.jsxs(de, { className: La, children: [
10023
+ return /* @__PURE__ */ a.jsx("div", { className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,240px),1fr))] gap-4", children: u.map((f) => /* @__PURE__ */ a.jsxs(de, { className: Oa, children: [
10024
10024
  /* @__PURE__ */ a.jsxs(je, { className: "flex flex-row items-center justify-between pb-2", children: [
10025
10025
  /* @__PURE__ */ a.jsx(Ae, { className: "text-xs font-medium text-muted-foreground", children: f.label }),
10026
10026
  /* @__PURE__ */ a.jsx("span", { className: "text-muted-foreground [&>svg]:h-4 [&>svg]:w-4", children: f.icon })
@@ -10043,9 +10043,9 @@ function kf() {
10043
10043
  const [Z, z] = _.split("-").map(Number), J = _ === t ? e.getDate() : new Date(Z, z, 0).getDate();
10044
10044
  E = { period: C, start: `${_}-01`, end: `${_}-${String(J).padStart(2, "0")}` };
10045
10045
  }
10046
- const O = j ? { managementAccountId: j } : void 0, k = await oe.getDataStatus(O);
10046
+ const L = j ? { managementAccountId: j } : void 0, k = await oe.getDataStatus(L);
10047
10047
  if (w === b.current && u(k), !k.ready) return;
10048
- const A = await oe.getOverview({ ...E, ...O });
10048
+ const A = await oe.getOverview({ ...E, ...L });
10049
10049
  w === b.current && n(A);
10050
10050
  } catch (E) {
10051
10051
  w === b.current && c(E?.response?.data?.error || E.message || "Failed to load AWS costs");
@@ -10230,7 +10230,7 @@ function Tf() {
10230
10230
  /* @__PURE__ */ a.jsx("div", { className: "h-64 animate-pulse rounded-xl border bg-muted/40" })
10231
10231
  ] });
10232
10232
  }
10233
- const Ke = 10, wn = /* @__PURE__ */ new Date(), Lf = new Date(Date.UTC(wn.getUTCFullYear(), wn.getUTCMonth() - 2, 1)).toISOString().slice(0, 10), Of = wn.toISOString().slice(0, 10), Ut = { services: [], regions: [], accountIds: [], tagKey: "", tagValues: [] }, lt = {
10233
+ const Ke = 10, wn = /* @__PURE__ */ new Date(), Of = new Date(Date.UTC(wn.getUTCFullYear(), wn.getUTCMonth() - 2, 1)).toISOString().slice(0, 10), Lf = wn.toISOString().slice(0, 10), Ut = { services: [], regions: [], accountIds: [], tagKey: "", tagValues: [] }, lt = {
10234
10234
  service: { tab: "Services", title: "Service Cost Summary", pdfTitle: "Service Cost Report", top: "Top service cost", count: "Service count", item: "Service", empty: "No service cost data found." },
10235
10235
  account: { tab: "Accounts", title: "Account Cost Summary", pdfTitle: "Account Cost Report", top: "Top account cost", count: "Account count", item: "Linked account", empty: "No linked account cost data found." },
10236
10236
  region: { tab: "Regions", title: "Regional Cost Summary", pdfTitle: "Region Cost Report", top: "Top region cost", count: "Region count", item: "Region", empty: "No regional cost data found." },
@@ -10292,7 +10292,7 @@ function Jr({ values: e }) {
10292
10292
  ] })
10293
10293
  ] });
10294
10294
  }
10295
- function Oa({ page: e, pages: t, total: s, onChange: n }) {
10295
+ function La({ page: e, pages: t, total: s, onChange: n }) {
10296
10296
  const r = s ? (e - 1) * Ke + 1 : 0, o = Math.min(e * Ke, s);
10297
10297
  return /* @__PURE__ */ a.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 border-t px-4 py-4 text-xs text-muted-foreground", children: [
10298
10298
  /* @__PURE__ */ a.jsxs("span", { children: [
@@ -10369,7 +10369,7 @@ function Mf({ groupBy: e, report: t }) {
10369
10369
  /* @__PURE__ */ a.jsx("td", { className: "px-4 text-center", children: /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => c(g), title: "View cost details", className: "text-primary hover:opacity-70", children: /* @__PURE__ */ a.jsx(ru, { className: "h-4 w-4" }) }) })
10370
10370
  ] }, g.key || g.label)) : /* @__PURE__ */ a.jsx("tr", { children: /* @__PURE__ */ a.jsx("td", { colSpan: p, className: "py-12 text-center text-muted-foreground", children: f.empty }) }) })
10371
10371
  ] }) }),
10372
- /* @__PURE__ */ a.jsx(Oa, { page: r, pages: h, total: d.length, onChange: o }),
10372
+ /* @__PURE__ */ a.jsx(La, { page: r, pages: h, total: d.length, onChange: o }),
10373
10373
  i && /* @__PURE__ */ a.jsx("div", { className: "fixed inset-0 z-50 flex items-center justify-center bg-black/40 p-4", onClick: () => c(null), children: /* @__PURE__ */ a.jsxs("div", { className: "max-h-[80vh] w-full max-w-2xl overflow-auto rounded-xl bg-card p-6 shadow-2xl", onClick: (g) => g.stopPropagation(), children: [
10374
10374
  /* @__PURE__ */ a.jsxs("div", { className: "flex justify-between", children: [
10375
10375
  /* @__PURE__ */ a.jsxs("div", { children: [
@@ -10449,7 +10449,7 @@ function Df({ rows: e, groupBy: t, comparison: s, granularity: n }) {
10449
10449
  ] })
10450
10450
  ] }, m.key)) : /* @__PURE__ */ a.jsx("tr", { children: /* @__PURE__ */ a.jsx("td", { colSpan: 5, className: "py-12 text-center text-muted-foreground", children: "No comparison data found." }) }) })
10451
10451
  ] }) }),
10452
- /* @__PURE__ */ a.jsx(Oa, { page: i, pages: u, total: l.length, onChange: c })
10452
+ /* @__PURE__ */ a.jsx(La, { page: i, pages: u, total: l.length, onChange: c })
10453
10453
  ] });
10454
10454
  }
10455
10455
  function Ff(e) {
@@ -10523,7 +10523,7 @@ function Ff(e) {
10523
10523
  ] });
10524
10524
  }
10525
10525
  function Uf() {
10526
- const { managementAccountId: e, loading: t } = Pt(), [s, n] = D("service"), [r, o] = D("standard"), [i, c] = D(Lf), [l, u] = D(Of), [f, d] = D("monthly"), [h, m] = D("Name"), [p, g] = D({ services: [], regions: [], accounts: [], tagKeys: [], tagValues: [] }), [b, x] = D(Ut), [y, S] = D(Ut), [N, C] = D(null), [_, j] = D(null), [w, E] = D(!0), [O, k] = D(!1), [A, Z] = D(null), [z, J] = D(null), Y = Sn(0), Q = Kt(() => _ ? If(_) : [], [_]), he = Yr(l, f), me = (M, X, V, ie) => ({
10526
+ const { managementAccountId: e, loading: t } = Pt(), [s, n] = D("service"), [r, o] = D("standard"), [i, c] = D(Of), [l, u] = D(Lf), [f, d] = D("monthly"), [h, m] = D("Name"), [p, g] = D({ services: [], regions: [], accounts: [], tagKeys: [], tagValues: [] }), [b, x] = D(Ut), [y, S] = D(Ut), [N, C] = D(null), [_, j] = D(null), [w, E] = D(!0), [L, k] = D(!1), [A, Z] = D(null), [z, J] = D(null), Y = Sn(0), Q = Kt(() => _ ? If(_) : [], [_]), he = Yr(l, f), me = (M, X, V, ie) => ({
10527
10527
  start: X,
10528
10528
  end: V,
10529
10529
  groupBy: ie,
@@ -10583,7 +10583,7 @@ function Uf() {
10583
10583
  report: N,
10584
10584
  comparison: _,
10585
10585
  loading: w || t,
10586
- filtersLoading: O,
10586
+ filtersLoading: L,
10587
10587
  error: A,
10588
10588
  dataStatus: z,
10589
10589
  comparedRows: Q,
@@ -10915,7 +10915,7 @@ function Kf() {
10915
10915
  } finally {
10916
10916
  S(null);
10917
10917
  }
10918
- }, O = async () => {
10918
+ }, L = async () => {
10919
10919
  if (l) {
10920
10920
  S(`remove-${l.connectionId}`), C(null);
10921
10921
  try {
@@ -11039,7 +11039,7 @@ function Kf() {
11039
11039
  /* @__PURE__ */ a.jsxs("div", { className: "mt-5 flex justify-end gap-2", children: [
11040
11040
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => u(null), disabled: !!y, className: "rounded-md border px-4 py-2 text-sm font-medium hover:bg-muted", children: "Cancel" }),
11041
11041
  /* @__PURE__ */ a.jsxs("button", { type: "button", onClick: () => {
11042
- O();
11042
+ L();
11043
11043
  }, disabled: !!y, className: "flex items-center gap-2 rounded-md bg-destructive px-4 py-2 text-sm font-medium text-destructive-foreground disabled:opacity-50", children: [
11044
11044
  y === `remove-${l.connectionId}` && /* @__PURE__ */ a.jsx(rt, { className: "h-4 w-4 animate-spin" }),
11045
11045
  "Remove"
@@ -11112,14 +11112,19 @@ function Zf() {
11112
11112
  const { managementAccountId: e, loading: t } = Pt(), [s, n] = D(null), [r, o] = D(null), [i, c] = D(null), [l, u] = D([]), [f, d] = D(!0), [h, m] = D(!1), [p, g] = D(null), [b, x] = D(null), y = Sn(!0), S = dt(async (j = !1) => {
11113
11113
  j || d(!0);
11114
11114
  try {
11115
- const [w, E, O, k] = await Promise.all([
11115
+ const w = await oe.getDataStatus({ managementAccountId: e });
11116
+ if (!y.current) return;
11117
+ if (o(w), !w.ready) {
11118
+ n(null), c(null), u([]), x(null);
11119
+ return;
11120
+ }
11121
+ const [E, L, k] = await Promise.all([
11116
11122
  oe.getAnalysisStatus({ managementAccountId: e }),
11117
- oe.getDataStatus({ managementAccountId: e }),
11118
11123
  oe.getAnalysisSchedule({ managementAccountId: e }),
11119
11124
  oe.getAnalysisReports({ managementAccountId: e })
11120
11125
  ]);
11121
11126
  if (!y.current) return;
11122
- n(w), o(E), c(O), u(k), x(null);
11127
+ n(E), c(L), u(k), x(null);
11123
11128
  } catch (w) {
11124
11129
  y.current && x(w?.response?.data?.error || w?.message || "Unable to load scheduled AI reports");
11125
11130
  } finally {
@@ -11146,8 +11151,8 @@ function Zf() {
11146
11151
  }
11147
11152
  }, download: async (j) => {
11148
11153
  try {
11149
- const w = await oe.downloadAnalysisPdf(j.id), E = URL.createObjectURL(w), O = document.createElement("a");
11150
- O.href = E, O.download = `meyi-cost-analysis-${j.period.Start}.pdf`, O.click(), URL.revokeObjectURL(E);
11154
+ const w = await oe.downloadAnalysisPdf(j.id), E = URL.createObjectURL(w), L = document.createElement("a");
11155
+ L.href = E, L.download = `meyi-cost-analysis-${j.period.Start}.pdf`, L.click(), URL.revokeObjectURL(E);
11151
11156
  } catch (w) {
11152
11157
  x(w?.response?.data?.error || w?.message || "Unable to download the PDF report");
11153
11158
  }
@@ -11295,20 +11300,20 @@ function Ia() {
11295
11300
  return At.addChildren([nh, ah, rh, ih, oh]);
11296
11301
  }
11297
11302
  function Ah(e = "/cost") {
11298
- return Lo({
11303
+ return Oo({
11299
11304
  routeTree: Ia(),
11300
11305
  basepath: e
11301
11306
  });
11302
11307
  }
11303
11308
  function Th({ apiBase: e, token: t, basePath: s = "/cost", userRole: n = "user", tenantId: r = "default" }) {
11304
- Ld(e, t);
11309
+ Od(e, t);
11305
11310
  const o = Pe.useMemo(
11306
- () => Lo({ routeTree: Ia(), basepath: s }),
11311
+ () => Oo({ routeTree: Ia(), basepath: s }),
11307
11312
  [s]
11308
11313
  );
11309
- return /* @__PURE__ */ a.jsx(vf, { value: n, children: /* @__PURE__ */ a.jsx(Sf, { tenantId: r, children: /* @__PURE__ */ a.jsx(Oc, { router: o }) }) });
11314
+ return /* @__PURE__ */ a.jsx(vf, { value: n, children: /* @__PURE__ */ a.jsx(Sf, { tenantId: r, children: /* @__PURE__ */ a.jsx(Lc, { router: o }) }) });
11310
11315
  }
11311
- const Lh = [
11316
+ const Oh = [
11312
11317
  {
11313
11318
  title: "Overview",
11314
11319
  url: "/",
@@ -11344,8 +11349,8 @@ export {
11344
11349
  Th as CostPage,
11345
11350
  ne as api,
11346
11351
  Ph as attachAuthInterceptors,
11347
- Ld as configureApi,
11348
- Lh as costNavItems,
11352
+ Od as configureApi,
11353
+ Oh as costNavItems,
11349
11354
  Ah as createCostRouter,
11350
11355
  Ia as createRouteTree
11351
11356
  };