@meyicloud/meyi-cost-ui 1.7.0 → 1.7.1

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
@@ -45,7 +45,7 @@ function vc() {
45
45
  return "Suspense";
46
46
  case C:
47
47
  return "SuspenseList";
48
- case T:
48
+ case O:
49
49
  return "Activity";
50
50
  }
51
51
  if (typeof E == "object")
@@ -222,7 +222,7 @@ React keys must be passed directly to JSX without using spread:
222
222
  function h(E) {
223
223
  return typeof E == "object" && E !== null && E.$$typeof === g;
224
224
  }
225
- var m = Pe, g = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), x = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), v = /* @__PURE__ */ Symbol.for("react.consumer"), N = /* @__PURE__ */ Symbol.for("react.context"), j = /* @__PURE__ */ Symbol.for("react.forward_ref"), k = /* @__PURE__ */ Symbol.for("react.suspense"), C = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), _ = /* @__PURE__ */ Symbol.for("react.lazy"), T = /* @__PURE__ */ Symbol.for("react.activity"), P = /* @__PURE__ */ Symbol.for("react.client.reference"), M = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, $ = Array.isArray, J = console.createTask ? console.createTask : function() {
225
+ var m = Pe, g = /* @__PURE__ */ Symbol.for("react.transitional.element"), p = /* @__PURE__ */ Symbol.for("react.portal"), x = /* @__PURE__ */ Symbol.for("react.fragment"), b = /* @__PURE__ */ Symbol.for("react.strict_mode"), y = /* @__PURE__ */ Symbol.for("react.profiler"), v = /* @__PURE__ */ Symbol.for("react.consumer"), N = /* @__PURE__ */ Symbol.for("react.context"), j = /* @__PURE__ */ Symbol.for("react.forward_ref"), k = /* @__PURE__ */ Symbol.for("react.suspense"), C = /* @__PURE__ */ Symbol.for("react.suspense_list"), R = /* @__PURE__ */ Symbol.for("react.memo"), _ = /* @__PURE__ */ Symbol.for("react.lazy"), O = /* @__PURE__ */ Symbol.for("react.activity"), P = /* @__PURE__ */ Symbol.for("react.client.reference"), M = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, $ = Array.isArray, J = console.createTask ? console.createTask : function() {
226
226
  return null;
227
227
  };
228
228
  m = {
@@ -311,7 +311,7 @@ const Cc = () => /* @__PURE__ */ Object.create(null), rt = (e, t) => it(e, t, Cc
311
311
  function it(e, t, n = () => ({}), r = 0) {
312
312
  if (e === t) return e;
313
313
  if (r > 500) return t;
314
- const s = t, o = Os(e) && Os(s);
314
+ const s = t, o = Ts(e) && Ts(s);
315
315
  if (!o && !(Vn(e) && Vn(s))) return s;
316
316
  const i = o ? e : Ps(e);
317
317
  if (!i) return s;
@@ -356,7 +356,7 @@ function Vn(e) {
356
356
  function As(e) {
357
357
  return Object.prototype.toString.call(e) === "[object Object]";
358
358
  }
359
- function Os(e) {
359
+ function Ts(e) {
360
360
  return Array.isArray(e) && e.length === Object.keys(e).length;
361
361
  }
362
362
  function dt(e, t, n) {
@@ -398,7 +398,7 @@ function Lt(e) {
398
398
  function rn(e) {
399
399
  return !!(e && typeof e == "object" && typeof e.then == "function");
400
400
  }
401
- function Ts(e, t) {
401
+ function Os(e, t) {
402
402
  for (let n = e.length - 1; n >= 0; n--) {
403
403
  const r = e[n];
404
404
  if (t(r)) return r;
@@ -676,12 +676,12 @@ function xr(e, t, n, r, s) {
676
676
  suffix: s
677
677
  };
678
678
  }
679
- function Oc(e, t) {
679
+ function Tc(e, t) {
680
680
  const n = ct("/"), r = new Uint16Array(6);
681
681
  for (const s of e) sr(!1, r, s, 1, n, 0);
682
682
  Ye(n), t.masksTree = n, t.flatCache = sn(1e3);
683
683
  }
684
- function Tc(e, t) {
684
+ function Oc(e, t) {
685
685
  e ||= "/";
686
686
  const n = t.flatCache.get(e);
687
687
  if (n) return n;
@@ -849,12 +849,12 @@ function Uc(e, t, n, r) {
849
849
  }
850
850
  }
851
851
  if (l.wildcard) for (let C = l.wildcard.length - 1; C >= 0; C--) {
852
- const R = l.wildcard[C], { prefix: _, suffix: T } = R;
852
+ const R = l.wildcard[C], { prefix: _, suffix: O } = R;
853
853
  if (!(_ && (N || !(R.caseSensitive ? j : k ??= j.toLowerCase()).startsWith(_)))) {
854
- if (T) {
854
+ if (O) {
855
855
  if (N) continue;
856
- const P = t.slice(h).join("/").slice(-T.length);
857
- if ((R.caseSensitive ? P : P.toLowerCase()) !== T) continue;
856
+ const P = t.slice(h).join("/").slice(-O.length);
857
+ if ((R.caseSensitive ? P : P.toLowerCase()) !== O) continue;
858
858
  }
859
859
  c.push({
860
860
  node: R,
@@ -872,9 +872,9 @@ function Uc(e, t, n, r) {
872
872
  if (l.optional) {
873
873
  const C = m | 1 << g, R = g + 1;
874
874
  for (let _ = l.optional.length - 1; _ >= 0; _--) {
875
- const T = l.optional[_];
875
+ const O = l.optional[_];
876
876
  c.push({
877
- node: T,
877
+ node: O,
878
878
  index: h,
879
879
  skipped: C,
880
880
  depth: R,
@@ -886,13 +886,13 @@ function Uc(e, t, n, r) {
886
886
  });
887
887
  }
888
888
  if (!N) for (let _ = l.optional.length - 1; _ >= 0; _--) {
889
- const T = l.optional[_], { prefix: P, suffix: M } = T;
889
+ const O = l.optional[_], { prefix: P, suffix: M } = O;
890
890
  if (P || M) {
891
- const A = T.caseSensitive ? j : k ??= j.toLowerCase();
891
+ const A = O.caseSensitive ? j : k ??= j.toLowerCase();
892
892
  if (P && !A.startsWith(P) || M && !A.endsWith(M)) continue;
893
893
  }
894
894
  c.push({
895
- node: T,
895
+ node: O,
896
896
  index: h + 1,
897
897
  skipped: m,
898
898
  depth: R,
@@ -905,10 +905,10 @@ function Uc(e, t, n, r) {
905
905
  }
906
906
  }
907
907
  if (!N && l.dynamic && j) for (let C = l.dynamic.length - 1; C >= 0; C--) {
908
- const R = l.dynamic[C], { prefix: _, suffix: T } = R;
909
- if (_ || T) {
908
+ const R = l.dynamic[C], { prefix: _, suffix: O } = R;
909
+ if (_ || O) {
910
910
  const P = R.caseSensitive ? j : k ??= j.toLowerCase();
911
- if (_ && !P.startsWith(_) || T && !P.endsWith(T)) continue;
911
+ if (_ && !P.startsWith(_) || O && !P.endsWith(O)) continue;
912
912
  }
913
913
  c.push({
914
914
  node: R,
@@ -1652,7 +1652,7 @@ function ol(e, t) {
1652
1652
  locationHref: m.get().href,
1653
1653
  resolvedLocationHref: g.get()?.href,
1654
1654
  status: d.get()
1655
- })), T = r(() => ({
1655
+ })), O = r(() => ({
1656
1656
  status: d.get(),
1657
1657
  loadedAt: f.get(),
1658
1658
  isLoading: l.get(),
@@ -1694,7 +1694,7 @@ function ol(e, t) {
1694
1694
  matchStores: i,
1695
1695
  pendingMatchStores: c,
1696
1696
  cachedMatchStores: u,
1697
- __store: T,
1697
+ __store: O,
1698
1698
  getRouteMatchStore: M,
1699
1699
  setMatches: $,
1700
1700
  setPending: J,
@@ -1873,11 +1873,11 @@ function il(e) {
1873
1873
  let x, b;
1874
1874
  const y = () => {
1875
1875
  x && (C._ignoreSubscribers = !0, (x.isPush ? t.history.pushState : t.history.replaceState)(x.state, "", x.href), C._ignoreSubscribers = !1, x = void 0, b = void 0, f = void 0);
1876
- }, v = (R, _, T) => {
1876
+ }, v = (R, _, O) => {
1877
1877
  const P = c(_);
1878
- b || (f = d), d = Gn(_, T), x = {
1878
+ b || (f = d), d = Gn(_, O), x = {
1879
1879
  href: P,
1880
- state: T,
1880
+ state: O,
1881
1881
  isPush: x?.isPush || R === "push"
1882
1882
  }, b || (b = Promise.resolve().then(() => y()));
1883
1883
  }, N = (R) => {
@@ -1887,7 +1887,7 @@ function il(e) {
1887
1887
  h = !1;
1888
1888
  return;
1889
1889
  }
1890
- const R = u(), _ = R.state[Ze] - d.state[Ze], T = _ === 1, P = _ === -1, M = !T && !P || l;
1890
+ const R = u(), _ = R.state[Ze] - d.state[Ze], O = _ === 1, P = _ === -1, M = !O && !P || l;
1891
1891
  l = !1;
1892
1892
  const A = M ? "GO" : P ? "BACK" : "FORWARD", $ = M ? {
1893
1893
  type: "GO",
@@ -1914,8 +1914,8 @@ function il(e) {
1914
1914
  return;
1915
1915
  }
1916
1916
  let _ = !1;
1917
- const T = o();
1918
- if (typeof document < "u" && T.length) for (const P of T) {
1917
+ const O = o();
1918
+ if (typeof document < "u" && O.length) for (const P of O) {
1919
1919
  const M = P.enableBeforeUnload ?? !0;
1920
1920
  if (M === !0) {
1921
1921
  _ = !0;
@@ -1981,7 +1981,7 @@ function Gn(e, t) {
1981
1981
  function cs() {
1982
1982
  return (Math.random() + 1).toString(36).substring(7);
1983
1983
  }
1984
- function Ot(e, t) {
1984
+ function Tt(e, t) {
1985
1985
  const n = t, r = e;
1986
1986
  return {
1987
1987
  fromLocation: n,
@@ -2026,7 +2026,7 @@ var ll = class {
2026
2026
  const n = Dc(this.routeTree, this.options.caseSensitive, (r, s) => {
2027
2027
  r.init({ originalIndex: s });
2028
2028
  });
2029
- return this.options.routeMasks && Oc(this.options.routeMasks, n.processedTree), n;
2029
+ return this.options.routeMasks && Tc(this.options.routeMasks, n.processedTree), n;
2030
2030
  }, this.subscribe = (n, r) => {
2031
2031
  const s = {
2032
2032
  eventType: n,
@@ -2101,7 +2101,7 @@ var ll = class {
2101
2101
  const r = (o = {}) => {
2102
2102
  const i = o._fromLocation || this.pendingBuiltLocation || this.latestLocation, c = this.matchRoutesLightweight(i);
2103
2103
  if (o.from && process.env.NODE_ENV !== "production" && o._isNavigate) {
2104
- const P = this.getMatchedRoutes(o.from).matchedRoutes, M = Ts(c.matchedRoutes, ($) => Gs($.fullPath, o.from)), A = Ts(P, ($) => Gs($.fullPath, c.fullPath));
2104
+ const P = this.getMatchedRoutes(o.from).matchedRoutes, M = Os(c.matchedRoutes, ($) => Gs($.fullPath, o.from)), A = Os(P, ($) => Gs($.fullPath, c.fullPath));
2105
2105
  !M && !A && console.warn(`Could not find match for from: ${o.from}`);
2106
2106
  }
2107
2107
  const u = o.unsafeRelative === "path" ? i.pathname : o.from ?? c.fullPath, d = o.to ? `${o.to}` : void 0, f = c.search, l = Object.assign(/* @__PURE__ */ Object.create(null), c.params), h = d?.charCodeAt(0) === 47 ? "/" : this.resolvePathWithBase(u, "."), m = d ? this.resolvePathWithBase(h, d) : h, g = o.params === !1 || o.params === null ? /* @__PURE__ */ Object.create(null) : (o.params ?? !0) === !0 ? l : Object.assign(l, at(o.params, l)), p = this.routesByPath[ze(m)];
@@ -2153,10 +2153,10 @@ var ll = class {
2153
2153
  let k = o.state === !0 ? i.state : o.state ? at(o.state, i.state) : {};
2154
2154
  k = it(i.state, k);
2155
2155
  const C = `${b}${v}${j}`;
2156
- let R, _, T = !1;
2156
+ let R, _, O = !1;
2157
2157
  if (this.rewrite) {
2158
2158
  const P = new URL(C, this.origin), M = va(this.rewrite, P);
2159
- R = P.href.replace(P.origin, ""), M.origin !== this.origin ? (_ = M.href, T = !0) : _ = M.pathname + M.search + M.hash;
2159
+ R = P.href.replace(P.origin, ""), M.origin !== this.origin ? (_ = M.href, O = !0) : _ = M.pathname + M.search + M.hash;
2160
2160
  } else
2161
2161
  R = _c(C), _ = R;
2162
2162
  return {
@@ -2167,7 +2167,7 @@ var ll = class {
2167
2167
  searchStr: v,
2168
2168
  state: k,
2169
2169
  hash: N ?? "",
2170
- external: T,
2170
+ external: O,
2171
2171
  unmaskOnReload: o.unmaskOnReload
2172
2172
  };
2173
2173
  }, s = (o = {}, i) => {
@@ -2176,7 +2176,7 @@ var ll = class {
2176
2176
  if (!u) {
2177
2177
  const d = /* @__PURE__ */ Object.create(null);
2178
2178
  if (this.options.routeMasks) {
2179
- const f = Tc(c.pathname, this.processedTree);
2179
+ const f = Oc(c.pathname, this.processedTree);
2180
2180
  if (f) {
2181
2181
  Object.assign(d, f.rawParams);
2182
2182
  const { from: l, params: h, ...m } = f.route, g = h === !1 || h === null ? /* @__PURE__ */ Object.create(null) : (h ?? !0) === !0 ? d : Object.assign(d, at(h, d));
@@ -2309,7 +2309,7 @@ var ll = class {
2309
2309
  this.startTransition(async () => {
2310
2310
  try {
2311
2311
  this.beforeLoad(), r ? Hr.set(this.latestLocation, r) : Hr.delete(this.latestLocation);
2312
- const f = this.latestLocation, l = Ot(f, this.stores.resolvedLocation.get());
2312
+ const f = this.latestLocation, l = Tt(f, this.stores.resolvedLocation.get());
2313
2313
  this.stores.redirect.get() || this.emit({
2314
2314
  type: "onBeforeNavigate",
2315
2315
  ...l
@@ -2368,7 +2368,7 @@ var ll = class {
2368
2368
  if (this.shouldViewTransition = void 0, r && typeof document < "u" && "startViewTransition" in document && typeof document.startViewTransition == "function") {
2369
2369
  let s;
2370
2370
  if (typeof r == "object" && this.isViewTransitionTypesSupported) {
2371
- const o = this.latestLocation, i = this.stores.resolvedLocation.get(), c = typeof r.types == "function" ? r.types(Ot(o, i)) : r.types;
2371
+ const o = this.latestLocation, i = this.stores.resolvedLocation.get(), c = typeof r.types == "function" ? r.types(Tt(o, i)) : r.types;
2372
2372
  if (c === !1) {
2373
2373
  n();
2374
2374
  return;
@@ -2554,8 +2554,8 @@ var ll = class {
2554
2554
  }
2555
2555
  Object.assign(s, C);
2556
2556
  const _ = k ? "stay" : "enter";
2557
- let T;
2558
- if (j) T = {
2557
+ let O;
2558
+ if (j) O = {
2559
2559
  ...j,
2560
2560
  cause: _,
2561
2561
  params: k?.params ?? s,
@@ -2565,7 +2565,7 @@ var ll = class {
2565
2565
  };
2566
2566
  else {
2567
2567
  const M = l.options.loader || l.options.beforeLoad || l.lazyFn || ya(l) ? "pending" : "success";
2568
- T = {
2568
+ O = {
2569
2569
  id: N,
2570
2570
  ssr: l.options.ssr,
2571
2571
  index: f,
@@ -2599,13 +2599,13 @@ var ll = class {
2599
2599
  fullPath: l.fullPath
2600
2600
  };
2601
2601
  }
2602
- t?.preload || (T.globalNotFound = c === l.id), T.searchError = p;
2602
+ t?.preload || (O.globalNotFound = c === l.id), O.searchError = p;
2603
2603
  const P = this.getParentContext(h);
2604
- T.context = {
2604
+ O.context = {
2605
2605
  ...P,
2606
- ...T.__routeContext,
2607
- ...T.__beforeLoadContext
2608
- }, u[f] = T;
2606
+ ...O.__routeContext,
2607
+ ...O.__beforeLoadContext
2608
+ }, u[f] = O;
2609
2609
  }
2610
2610
  for (let f = 0; f < u.length; f++) {
2611
2611
  const l = u[f], h = this.looseRoutesById[l.routeId], m = this.getMatch(l.id), g = d.get(l.routeId);
@@ -3197,7 +3197,7 @@ function Pl(e, t, n) {
3197
3197
  }
3198
3198
  const Gr = [];
3199
3199
  let Fn = 0;
3200
- const { link: Xs, unlink: Al, propagate: Ol, checkDirty: Ca, shallowPropagate: Zs } = /* @__PURE__ */ _l({
3200
+ const { link: Xs, unlink: Al, propagate: Tl, checkDirty: Ca, shallowPropagate: Zs } = /* @__PURE__ */ _l({
3201
3201
  update(e) {
3202
3202
  return e._update();
3203
3203
  },
@@ -3244,7 +3244,7 @@ function Qs(e, t) {
3244
3244
  return Me !== void 0 && Xs(s, Me, Fn), s._snapshot;
3245
3245
  },
3246
3246
  subscribe(o) {
3247
- const i = Pl(o), c = { current: !1 }, u = Tl(() => {
3247
+ const i = Pl(o), c = { current: !1 }, u = Ol(() => {
3248
3248
  s.get(), c.current ? i.next?.(s._snapshot) : c.current = !0;
3249
3249
  });
3250
3250
  return {
@@ -3280,11 +3280,11 @@ function Qs(e, t) {
3280
3280
  }) : s.set = function(o) {
3281
3281
  if (s._update(o)) {
3282
3282
  const i = s.subs;
3283
- i !== void 0 && (Ol(i), Zs(i), Ea());
3283
+ i !== void 0 && (Tl(i), Zs(i), Ea());
3284
3284
  }
3285
3285
  }, s;
3286
3286
  }
3287
- function Tl(e) {
3287
+ function Ol(e) {
3288
3288
  const t = () => {
3289
3289
  const r = Me;
3290
3290
  Me = n, ++Fn, n.depsTail = void 0, n.flags = se.Watching | se.RecursedCheck;
@@ -3590,7 +3590,7 @@ function Aa(e) {
3590
3590
  }
3591
3591
  });
3592
3592
  }
3593
- function Oa(e) {
3593
+ function Ta(e) {
3594
3594
  return vt({
3595
3595
  from: e.from,
3596
3596
  strict: e.strict,
@@ -3599,7 +3599,7 @@ function Oa(e) {
3599
3599
  select: (t) => e.select ? e.select(t.search) : t.search
3600
3600
  });
3601
3601
  }
3602
- function Ta(e) {
3602
+ function Oa(e) {
3603
3603
  const t = Ee();
3604
3604
  return S.useCallback((n) => t.navigate({
3605
3605
  ...n,
@@ -3613,7 +3613,7 @@ function La(e) {
3613
3613
  });
3614
3614
  }
3615
3615
  function zl(e, t) {
3616
- const n = Ee(), r = Rc(t), { activeProps: s, inactiveProps: o, activeOptions: i, to: c, preload: u, preloadDelay: d, preloadIntentProximity: f, hashScrollIntoView: l, replace: h, startTransition: m, resetScroll: g, viewTransition: p, children: x, target: b, disabled: y, style: v, className: N, onClick: j, onBlur: k, onFocus: C, onMouseEnter: R, onMouseLeave: _, onTouchStart: T, ignoreBlocker: P, params: M, search: A, hash: $, state: J, mask: Y, reloadDocument: Q, unsafeRelative: he, from: me, _fromLocation: L, ...E } = e, B = Ra(), q = S.useMemo(() => e, [
3616
+ const n = Ee(), r = Rc(t), { activeProps: s, inactiveProps: o, activeOptions: i, to: c, preload: u, preloadDelay: d, preloadIntentProximity: f, hashScrollIntoView: l, replace: h, startTransition: m, resetScroll: g, viewTransition: p, children: x, target: b, disabled: y, style: v, className: N, onClick: j, onBlur: k, onFocus: C, onMouseEnter: R, onMouseLeave: _, onTouchStart: O, ignoreBlocker: P, params: M, search: A, hash: $, state: J, mask: Y, reloadDocument: Q, unsafeRelative: he, from: me, _fromLocation: L, ...E } = e, B = Ra(), q = S.useMemo(() => e, [
3617
3617
  n,
3618
3618
  e.from,
3619
3619
  e._fromLocation,
@@ -3747,7 +3747,7 @@ function zl(e, t) {
3747
3747
  ...C && { onFocus: C },
3748
3748
  ...R && { onMouseEnter: R },
3749
3749
  ..._ && { onMouseLeave: _ },
3750
- ...T && { onTouchStart: T }
3750
+ ...O && { onTouchStart: O }
3751
3751
  };
3752
3752
  const qe = (ne) => {
3753
3753
  if (y || ye !== "intent") return;
@@ -3779,7 +3779,7 @@ function zl(e, t) {
3779
3779
  onFocus: Rt([C, qe]),
3780
3780
  onMouseEnter: Rt([R, qe]),
3781
3781
  onMouseLeave: Rt([_, Cs]),
3782
- onTouchStart: Rt([T, gc]),
3782
+ onTouchStart: Rt([O, gc]),
3783
3783
  disabled: !!y,
3784
3784
  target: b,
3785
3785
  ...Ce && { style: Ce },
@@ -3840,7 +3840,7 @@ var Xl = class extends Sa {
3840
3840
  }), this.useRouteContext = (t) => La({
3841
3841
  ...t,
3842
3842
  from: this.id
3843
- }), this.useSearch = (t) => Oa({
3843
+ }), this.useSearch = (t) => Ta({
3844
3844
  select: t?.select,
3845
3845
  structuralSharing: t?.structuralSharing,
3846
3846
  from: this.id
@@ -3854,7 +3854,7 @@ var Xl = class extends Sa {
3854
3854
  }), this.useLoaderData = (t) => _a({
3855
3855
  ...t,
3856
3856
  from: this.id
3857
- }), this.useNavigate = () => Ta({ from: this.fullPath }), this.Link = Pe.forwardRef((t, n) => /* @__PURE__ */ a.jsx(Jn, {
3857
+ }), this.useNavigate = () => Oa({ from: this.fullPath }), this.Link = Pe.forwardRef((t, n) => /* @__PURE__ */ a.jsx(Jn, {
3858
3858
  ref: n,
3859
3859
  from: this.fullPath,
3860
3860
  ...t
@@ -3876,7 +3876,7 @@ var Zl = class extends Nl {
3876
3876
  }), this.useRouteContext = (t) => La({
3877
3877
  ...t,
3878
3878
  from: this.id
3879
- }), this.useSearch = (t) => Oa({
3879
+ }), this.useSearch = (t) => Ta({
3880
3880
  select: t?.select,
3881
3881
  structuralSharing: t?.structuralSharing,
3882
3882
  from: this.id
@@ -3890,7 +3890,7 @@ var Zl = class extends Nl {
3890
3890
  }), this.useLoaderData = (t) => _a({
3891
3891
  ...t,
3892
3892
  from: this.id
3893
- }), this.useNavigate = () => Ta({ from: this.fullPath }), this.Link = Pe.forwardRef((t, n) => /* @__PURE__ */ a.jsx(Jn, {
3893
+ }), this.useNavigate = () => Oa({ from: this.fullPath }), this.Link = Pe.forwardRef((t, n) => /* @__PURE__ */ a.jsx(Jn, {
3894
3894
  ref: n,
3895
3895
  from: this.fullPath,
3896
3896
  ...t
@@ -3991,7 +3991,7 @@ function iu() {
3991
3991
  const n = e.stores.resolvedLocation.get(), r = t.current;
3992
3992
  n && (!r || r.href !== n.href) && e.emit({
3993
3993
  type: "onRendered",
3994
- ...Ot(e.stores.location.get(), r ?? n)
3994
+ ...Tt(e.stores.location.get(), r ?? n)
3995
3995
  }), t.current = n;
3996
3996
  }, [Ne(e.stores.resolvedLocation, (n) => n?.state.__TSR_key), e]), null;
3997
3997
  }
@@ -4117,7 +4117,7 @@ function cu() {
4117
4117
  }, [e]), tn(() => {
4118
4118
  i && !s && e.emit({
4119
4119
  type: "onLoad",
4120
- ...Ot(e.stores.location.get(), e.stores.resolvedLocation.get())
4120
+ ...Tt(e.stores.location.get(), e.stores.resolvedLocation.get())
4121
4121
  });
4122
4122
  }, [
4123
4123
  i,
@@ -4126,7 +4126,7 @@ function cu() {
4126
4126
  ]), tn(() => {
4127
4127
  f && !d && e.emit({
4128
4128
  type: "onBeforeRouteMount",
4129
- ...Ot(e.stores.location.get(), e.stores.resolvedLocation.get())
4129
+ ...Tt(e.stores.location.get(), e.stores.resolvedLocation.get())
4130
4130
  });
4131
4131
  }, [
4132
4132
  d,
@@ -4134,7 +4134,7 @@ function cu() {
4134
4134
  e
4135
4135
  ]), tn(() => {
4136
4136
  if (u && !c) {
4137
- const l = Ot(e.stores.location.get(), e.stores.resolvedLocation.get());
4137
+ const l = Tt(e.stores.location.get(), e.stores.resolvedLocation.get());
4138
4138
  e.emit({
4139
4139
  type: "onResolved",
4140
4140
  ...l
@@ -4219,11 +4219,11 @@ const { toString: pu } = Object.prototype, { getPrototypeOf: It } = Object, { it
4219
4219
  }, gu = (e, t) => e != null && an(e, t) ? e[t] : void 0, ds = /* @__PURE__ */ ((e) => (t) => {
4220
4220
  const n = pu.call(t);
4221
4221
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
4222
- })(/* @__PURE__ */ Object.create(null)), Oe = (e) => (e = e.toLowerCase(), (t) => ds(t) === e), ir = (e) => (t) => typeof t === e, { isArray: bt } = Array, Mt = ir("undefined");
4222
+ })(/* @__PURE__ */ Object.create(null)), Te = (e) => (e = e.toLowerCase(), (t) => ds(t) === e), ir = (e) => (t) => typeof t === e, { isArray: bt } = Array, Mt = ir("undefined");
4223
4223
  function $t(e) {
4224
4224
  return e !== null && !Mt(e) && e.constructor !== null && !Mt(e.constructor) && Se(e.constructor.isBuffer) && e.constructor.isBuffer(e);
4225
4225
  }
4226
- const Ba = Oe("ArrayBuffer");
4226
+ const Ba = Te("ArrayBuffer");
4227
4227
  function xu(e) {
4228
4228
  let t;
4229
4229
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ba(e.buffer), t;
@@ -4244,7 +4244,7 @@ const bu = ir("string"), Se = ir("function"), za = ir("number"), Bt = (e) => e !
4244
4244
  } catch {
4245
4245
  return !1;
4246
4246
  }
4247
- }, wu = Oe("Date"), Su = Oe("File"), Ru = (e) => !!(e && typeof e.uri < "u"), Nu = (e) => e && typeof e.getParts < "u", Cu = Oe("Blob"), ju = Oe("FileList"), Eu = (e) => Bt(e) && Se(e.pipe);
4247
+ }, wu = Te("Date"), Su = Te("File"), Ru = (e) => !!(e && typeof e.uri < "u"), Nu = (e) => e && typeof e.getParts < "u", Cu = Te("Blob"), ju = Te("FileList"), Eu = (e) => Bt(e) && Se(e.pipe);
4248
4248
  function ku() {
4249
4249
  return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {};
4250
4250
  }
@@ -4256,12 +4256,12 @@ const io = ku(), co = typeof io.FormData < "u" ? io.FormData : void 0, _u = (e)
4256
4256
  const n = ds(e);
4257
4257
  return n === "formdata" || // detect form-data instance
4258
4258
  n === "object" && Se(e.toString) && e.toString() === "[object FormData]";
4259
- }, Pu = Oe("URLSearchParams"), [Au, Ou, Tu, Lu] = [
4259
+ }, Pu = Te("URLSearchParams"), [Au, Tu, Ou, Lu] = [
4260
4260
  "ReadableStream",
4261
4261
  "Request",
4262
4262
  "Response",
4263
4263
  "Headers"
4264
- ].map(Oe), Iu = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
4264
+ ].map(Te), Iu = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
4265
4265
  function hn(e, t, { allOwnKeys: n = !1 } = {}) {
4266
4266
  if (e === null || typeof e > "u")
4267
4267
  return;
@@ -4376,9 +4376,9 @@ const Mu = (e, t, n, { allOwnKeys: r } = {}) => (hn(
4376
4376
  for (; (n = e.exec(t)) !== null; )
4377
4377
  r.push(n);
4378
4378
  return r;
4379
- }, Hu = Oe("HTMLFormElement"), qu = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, s) {
4379
+ }, Hu = Te("HTMLFormElement"), qu = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(n, r, s) {
4380
4380
  return r.toUpperCase() + s;
4381
- }), { propertyIsEnumerable: Gu } = Object.prototype, Ku = Oe("RegExp"), Ha = (e, t) => {
4381
+ }), { propertyIsEnumerable: Gu } = Object.prototype, Ku = Te("RegExp"), Ha = (e, t) => {
4382
4382
  const n = Object.getOwnPropertyDescriptors(e), r = {};
4383
4383
  hn(n, (s, o) => {
4384
4384
  let i;
@@ -4430,7 +4430,7 @@ const ed = (e) => {
4430
4430
  return r;
4431
4431
  };
4432
4432
  return n(e);
4433
- }, td = Oe("AsyncFunction"), nd = (e) => e && (Bt(e) || Se(e)) && Se(e.then) && Se(e.catch), qa = ((e, t) => e ? setImmediate : t ? ((n, r) => (lt.addEventListener(
4433
+ }, td = Te("AsyncFunction"), nd = (e) => e && (Bt(e) || Se(e)) && Se(e.then) && Se(e.catch), qa = ((e, t) => e ? setImmediate : t ? ((n, r) => (lt.addEventListener(
4434
4434
  "message",
4435
4435
  ({ source: s, data: o }) => {
4436
4436
  s === lt && o === n && r.length && r.shift()();
@@ -4451,8 +4451,8 @@ const ed = (e) => {
4451
4451
  isPlainObject: Un,
4452
4452
  isEmptyObject: vu,
4453
4453
  isReadableStream: Au,
4454
- isRequest: Ou,
4455
- isResponse: Tu,
4454
+ isRequest: Tu,
4455
+ isResponse: Ou,
4456
4456
  isHeaders: Lu,
4457
4457
  isUndefined: Mt,
4458
4458
  isDate: wu,
@@ -4474,7 +4474,7 @@ const ed = (e) => {
4474
4474
  inherits: Fu,
4475
4475
  toFlatObject: Uu,
4476
4476
  kindOf: ds,
4477
- kindOfTest: Oe,
4477
+ kindOfTest: Te,
4478
4478
  endsWith: $u,
4479
4479
  toArray: Bu,
4480
4480
  forEachEntry: Wu,
@@ -4777,7 +4777,7 @@ function bd(e, t) {
4777
4777
  };
4778
4778
  return s(e);
4779
4779
  }
4780
- let O = class Ya extends Error {
4780
+ let T = class Ya extends Error {
4781
4781
  static from(t, n, r, s, o, i) {
4782
4782
  const c = new Ya(t.message, n || t.code, r, s, o);
4783
4783
  return Object.defineProperty(c, "cause", {
@@ -4831,20 +4831,20 @@ let O = class Ya extends Error {
4831
4831
  };
4832
4832
  }
4833
4833
  };
4834
- O.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
4835
- O.ERR_BAD_OPTION = "ERR_BAD_OPTION";
4836
- O.ECONNABORTED = "ECONNABORTED";
4837
- O.ETIMEDOUT = "ETIMEDOUT";
4838
- O.ECONNREFUSED = "ECONNREFUSED";
4839
- O.ERR_NETWORK = "ERR_NETWORK";
4840
- O.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
4841
- O.ERR_DEPRECATED = "ERR_DEPRECATED";
4842
- O.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
4843
- O.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
4844
- O.ERR_CANCELED = "ERR_CANCELED";
4845
- O.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
4846
- O.ERR_INVALID_URL = "ERR_INVALID_URL";
4847
- O.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
4834
+ T.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
4835
+ T.ERR_BAD_OPTION = "ERR_BAD_OPTION";
4836
+ T.ECONNABORTED = "ECONNABORTED";
4837
+ T.ETIMEDOUT = "ETIMEDOUT";
4838
+ T.ECONNREFUSED = "ECONNREFUSED";
4839
+ T.ERR_NETWORK = "ERR_NETWORK";
4840
+ T.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
4841
+ T.ERR_DEPRECATED = "ERR_DEPRECATED";
4842
+ T.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
4843
+ T.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
4844
+ T.ERR_CANCELED = "ERR_CANCELED";
4845
+ T.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
4846
+ T.ERR_INVALID_URL = "ERR_INVALID_URL";
4847
+ T.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
4848
4848
  const yd = null, Ja = 100;
4849
4849
  function Xr(e) {
4850
4850
  return w.isPlainObject(e) || w.isArray(e);
@@ -4888,21 +4888,21 @@ function cr(e, t, n) {
4888
4888
  if (w.isBoolean(b))
4889
4889
  return b.toString();
4890
4890
  if (!d && w.isBlob(b))
4891
- throw new O("Blob is not supported. Use a Buffer instead.");
4891
+ throw new T("Blob is not supported. Use a Buffer instead.");
4892
4892
  if (w.isArrayBuffer(b) || w.isTypedArray(b)) {
4893
4893
  if (d && typeof c == "function")
4894
4894
  return new c([b]);
4895
4895
  if (typeof Buffer < "u")
4896
4896
  return Buffer.from(b);
4897
- throw new O("Blob is not supported. Use a Buffer instead.", O.ERR_NOT_SUPPORT);
4897
+ throw new T("Blob is not supported. Use a Buffer instead.", T.ERR_NOT_SUPPORT);
4898
4898
  }
4899
4899
  return b;
4900
4900
  }
4901
4901
  function h(b) {
4902
4902
  if (b > u)
4903
- throw new O(
4903
+ throw new T(
4904
4904
  "Object is too deeply nested (" + b + " levels). Max depth: " + u,
4905
- O.ERR_FORM_DATA_DEPTH_EXCEEDED
4905
+ T.ERR_FORM_DATA_DEPTH_EXCEEDED
4906
4906
  );
4907
4907
  }
4908
4908
  function m(b, y) {
@@ -5089,19 +5089,19 @@ function Ad(e, t) {
5089
5089
  const ho = Ja;
5090
5090
  function ei(e) {
5091
5091
  if (e > ho)
5092
- throw new O(
5092
+ throw new T(
5093
5093
  "FormData field is too deeply nested (" + e + " levels). Max depth: " + ho,
5094
- O.ERR_FORM_DATA_DEPTH_EXCEEDED
5094
+ T.ERR_FORM_DATA_DEPTH_EXCEEDED
5095
5095
  );
5096
5096
  }
5097
- function Od(e) {
5097
+ function Td(e) {
5098
5098
  const t = [], n = /\w+|\[(\w*)]/g;
5099
5099
  let r;
5100
5100
  for (; (r = n.exec(e)) !== null; )
5101
5101
  ei(t.length), t.push(r[0] === "[]" ? "" : r[1] || r[0]);
5102
5102
  return t;
5103
5103
  }
5104
- function Td(e) {
5104
+ function Od(e) {
5105
5105
  const t = {}, n = Object.keys(e);
5106
5106
  let r;
5107
5107
  const s = n.length;
@@ -5116,12 +5116,12 @@ function ti(e) {
5116
5116
  let i = n[o++];
5117
5117
  if (i === "__proto__") return !0;
5118
5118
  const c = Number.isFinite(+i), u = o >= n.length;
5119
- return i = !i && w.isArray(s) ? s.length : i, u ? (w.hasOwnProp(s, i) ? s[i] = w.isArray(s[i]) ? s[i].concat(r) : [s[i], r] : s[i] = r, !c) : ((!w.hasOwnProp(s, i) || !w.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && w.isArray(s[i]) && (s[i] = Td(s[i])), !c);
5119
+ return i = !i && w.isArray(s) ? s.length : i, u ? (w.hasOwnProp(s, i) ? s[i] = w.isArray(s[i]) ? s[i].concat(r) : [s[i], r] : s[i] = r, !c) : ((!w.hasOwnProp(s, i) || !w.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && w.isArray(s[i]) && (s[i] = Od(s[i])), !c);
5120
5120
  }
5121
5121
  if (w.isFormData(e) && w.isFunction(e.entries)) {
5122
5122
  const n = {};
5123
5123
  return w.forEachEntry(e, (r, s) => {
5124
- t(Od(r), s, n, 0);
5124
+ t(Td(r), s, n, 0);
5125
5125
  }), n;
5126
5126
  }
5127
5127
  return null;
@@ -5179,7 +5179,7 @@ const mn = {
5179
5179
  return JSON.parse(t, Nt(this, "parseReviver"));
5180
5180
  } catch (u) {
5181
5181
  if (c)
5182
- throw u.name === "SyntaxError" ? O.from(u, O.ERR_BAD_RESPONSE, this, null, Nt(this, "response")) : u;
5182
+ throw u.name === "SyntaxError" ? T.from(u, T.ERR_BAD_RESPONSE, this, null, Nt(this, "response")) : u;
5183
5183
  }
5184
5184
  }
5185
5185
  return t;
@@ -5221,7 +5221,7 @@ function Pr(e, t) {
5221
5221
  function ni(e) {
5222
5222
  return !!(e && e.__CANCEL__);
5223
5223
  }
5224
- let pn = class extends O {
5224
+ let pn = class extends T {
5225
5225
  /**
5226
5226
  * A `CanceledError` is an object that is thrown when an operation is canceled.
5227
5227
  *
@@ -5232,14 +5232,14 @@ let pn = class extends O {
5232
5232
  * @returns {CanceledError} The created error.
5233
5233
  */
5234
5234
  constructor(t, n, r) {
5235
- super(t ?? "canceled", O.ERR_CANCELED, n, r), this.name = "CanceledError", this.__CANCEL__ = !0;
5235
+ super(t ?? "canceled", T.ERR_CANCELED, n, r), this.name = "CanceledError", this.__CANCEL__ = !0;
5236
5236
  }
5237
5237
  };
5238
5238
  function ri(e, t, n) {
5239
5239
  const r = n.config.validateStatus;
5240
- !n.status || !r || r(n.status) ? e(n) : t(new O(
5240
+ !n.status || !r || r(n.status) ? e(n) : t(new T(
5241
5241
  "Request failed with status code " + n.status,
5242
- n.status >= 400 && n.status < 500 ? O.ERR_BAD_REQUEST : O.ERR_BAD_RESPONSE,
5242
+ n.status >= 400 && n.status < 500 ? T.ERR_BAD_REQUEST : T.ERR_BAD_RESPONSE,
5243
5243
  n.config,
5244
5244
  n.request,
5245
5245
  n
@@ -5367,9 +5367,9 @@ function Hd(e) {
5367
5367
  }
5368
5368
  function go(e, t) {
5369
5369
  if (typeof e == "string" && zd.test(Hd(e)))
5370
- throw new O(
5370
+ throw new T(
5371
5371
  'Invalid URL: missing "//" after protocol',
5372
- O.ERR_INVALID_URL,
5372
+ T.ERR_INVALID_URL,
5373
5373
  t
5374
5374
  );
5375
5375
  }
@@ -5498,7 +5498,7 @@ function oi(e) {
5498
5498
  "Basic " + btoa(h + ":" + (m ? Kd(m) : ""))
5499
5499
  );
5500
5500
  } catch (g) {
5501
- throw O.from(g, O.ERR_BAD_OPTION_VALUE, e);
5501
+ throw T.from(g, T.ERR_BAD_OPTION_VALUE, e);
5502
5502
  }
5503
5503
  }
5504
5504
  if (w.isFormData(r) && (fe.hasStandardBrowserEnv || fe.hasStandardBrowserWebWorkerEnv || w.isReactNative(r) ? c.setContentType(void 0) : w.isFunction(r.getHeaders) && Gd(c, r.getHeaders(), n("formDataHeaderPolicy"))), fe.hasStandardBrowserEnv && (w.isFunction(s) && (s = s(t)), s === !0 || s == null && Fd(t.url))) {
@@ -5544,17 +5544,17 @@ const Yd = typeof XMLHttpRequest < "u", Jd = Yd && function(e) {
5544
5544
  "onloadend" in x ? x.onloadend = b : x.onreadystatechange = function() {
5545
5545
  !x || x.readyState !== 4 || x.status === 0 && !(x.responseURL && x.responseURL.startsWith("file:")) || setTimeout(b);
5546
5546
  }, x.onabort = function() {
5547
- x && (r(new O("Request aborted", O.ECONNABORTED, e, x)), p(), x = null);
5547
+ x && (r(new T("Request aborted", T.ECONNABORTED, e, x)), p(), x = null);
5548
5548
  }, x.onerror = function(N) {
5549
- const j = N && N.message ? N.message : "Network Error", k = new O(j, O.ERR_NETWORK, e, x);
5549
+ const j = N && N.message ? N.message : "Network Error", k = new T(j, T.ERR_NETWORK, e, x);
5550
5550
  k.event = N || null, r(k), p(), x = null;
5551
5551
  }, x.ontimeout = function() {
5552
5552
  let N = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
5553
5553
  const j = s.transitional || ms;
5554
5554
  s.timeoutErrorMessage && (N = s.timeoutErrorMessage), r(
5555
- new O(
5555
+ new T(
5556
5556
  N,
5557
- j.clarifyTimeoutError ? O.ETIMEDOUT : O.ECONNABORTED,
5557
+ j.clarifyTimeoutError ? T.ETIMEDOUT : T.ECONNABORTED,
5558
5558
  e,
5559
5559
  x
5560
5560
  )
@@ -5567,9 +5567,9 @@ const Yd = typeof XMLHttpRequest < "u", Jd = Yd && function(e) {
5567
5567
  const y = Id(s.url);
5568
5568
  if (y && !fe.protocols.includes(y)) {
5569
5569
  r(
5570
- new O(
5570
+ new T(
5571
5571
  "Unsupported protocol " + y + ":",
5572
- O.ERR_BAD_REQUEST,
5572
+ T.ERR_BAD_REQUEST,
5573
5573
  e
5574
5574
  )
5575
5575
  ), p();
@@ -5587,12 +5587,12 @@ const Yd = typeof XMLHttpRequest < "u", Jd = Yd && function(e) {
5587
5587
  r = !0, i();
5588
5588
  const d = u instanceof Error ? u : this.reason;
5589
5589
  n.abort(
5590
- d instanceof O ? d : new pn(d instanceof Error ? d.message : d)
5590
+ d instanceof T ? d : new pn(d instanceof Error ? d.message : d)
5591
5591
  );
5592
5592
  }
5593
5593
  };
5594
5594
  let o = t && setTimeout(() => {
5595
- o = null, s(new O(`timeout of ${t}ms exceeded`, O.ETIMEDOUT));
5595
+ o = null, s(new T(`timeout of ${t}ms exceeded`, T.ETIMEDOUT));
5596
5596
  }, t);
5597
5597
  const i = () => {
5598
5598
  e && (o && clearTimeout(o), o = null, e.forEach((u) => {
@@ -5755,9 +5755,9 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5755
5755
  let N = y && y[b];
5756
5756
  if (N)
5757
5757
  return N.call(y);
5758
- throw new O(
5758
+ throw new T(
5759
5759
  `Response type '${b}' is not supported`,
5760
- O.ERR_NOT_SUPPORT,
5760
+ T.ERR_NOT_SUPPORT,
5761
5761
  v
5762
5762
  );
5763
5763
  });
@@ -5790,7 +5790,7 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5790
5790
  timeout: C,
5791
5791
  onDownloadProgress: R,
5792
5792
  onUploadProgress: _,
5793
- responseType: T,
5793
+ responseType: O,
5794
5794
  headers: P,
5795
5795
  withCredentials: M = "same-origin",
5796
5796
  fetchOptions: A,
@@ -5799,7 +5799,7 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5799
5799
  } = oi(b);
5800
5800
  const Y = w.isNumber($) && $ > -1, Q = w.isNumber(J) && J > -1, he = (z) => w.hasOwnProp(b, z) ? b[z] : void 0;
5801
5801
  let me = s || fetch;
5802
- T = T ? (T + "").toLowerCase() : "text";
5802
+ O = O ? (O + "").toLowerCase() : "text";
5803
5803
  let L = Xd(
5804
5804
  [j, k && k.toAbortSignal()],
5805
5805
  C
@@ -5808,9 +5808,9 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5808
5808
  L.unsubscribe();
5809
5809
  });
5810
5810
  let q, K = null;
5811
- const H = () => new O(
5811
+ const H = () => new T(
5812
5812
  "Request body larger than maxBodyLength limit",
5813
- O.ERR_BAD_REQUEST,
5813
+ T.ERR_BAD_REQUEST,
5814
5814
  b,
5815
5815
  E
5816
5816
  );
@@ -5839,9 +5839,9 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5839
5839
  "Authorization",
5840
5840
  "Basic " + btoa(rf((z.username || "") + ":" + (z.password || "")))
5841
5841
  )), Y && typeof y == "string" && y.startsWith("data:") && nf(y) > $)
5842
- throw new O(
5842
+ throw new T(
5843
5843
  "maxContentLength size of " + $ + " exceeded",
5844
- O.ERR_BAD_RESPONSE,
5844
+ T.ERR_BAD_RESPONSE,
5845
5845
  b,
5846
5846
  E
5847
5847
  );
@@ -5878,9 +5878,9 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5878
5878
  } else if (Z && !u && f && v !== "get" && v !== "head")
5879
5879
  N = V(N);
5880
5880
  else if (Z && u && !h && v !== "get" && v !== "head")
5881
- throw new O(
5881
+ throw new T(
5882
5882
  "Stream request bodies are not supported by the current fetch implementation",
5883
- O.ERR_NOT_SUPPORT,
5883
+ T.ERR_NOT_SUPPORT,
5884
5884
  b,
5885
5885
  E
5886
5886
  );
@@ -5906,14 +5906,14 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5906
5906
  if (Y) {
5907
5907
  const W = w.toFiniteNumber(je.getContentLength());
5908
5908
  if (W != null && W > $)
5909
- throw new O(
5909
+ throw new T(
5910
5910
  "maxContentLength size of " + $ + " exceeded",
5911
- O.ERR_BAD_RESPONSE,
5911
+ T.ERR_BAD_RESPONSE,
5912
5912
  b,
5913
5913
  E
5914
5914
  );
5915
5915
  }
5916
- const Ce = m && (T === "stream" || T === "response");
5916
+ const Ce = m && (O === "stream" || O === "response");
5917
5917
  if (m && te.body && (R || Y || Ce && B)) {
5918
5918
  const W = {};
5919
5919
  ["status", "statusText", "headers"].forEach((qe) => {
@@ -5926,9 +5926,9 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5926
5926
  let Le = 0;
5927
5927
  const mr = (qe) => {
5928
5928
  if (Y && (Le = qe, Le > $))
5929
- throw new O(
5929
+ throw new T(
5930
5930
  "maxContentLength size of " + $ + " exceeded",
5931
- O.ERR_BAD_RESPONSE,
5931
+ T.ERR_BAD_RESPONSE,
5932
5932
  b,
5933
5933
  E
5934
5934
  );
@@ -5941,17 +5941,17 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5941
5941
  W
5942
5942
  );
5943
5943
  }
5944
- T = T || "text";
5945
- let ke = await g[w.findKey(g, T) || "text"](
5944
+ O = O || "text";
5945
+ let ke = await g[w.findKey(g, O) || "text"](
5946
5946
  te,
5947
5947
  b
5948
5948
  );
5949
5949
  if (Y && !m && !Ce) {
5950
5950
  let W;
5951
5951
  if (ke != null && (typeof ke.byteLength == "number" ? W = ke.byteLength : typeof ke.size == "number" ? W = ke.size : typeof ke == "string" && (W = typeof r == "function" ? new r().encode(ke).byteLength : ke.length)), typeof W == "number" && W > $)
5952
- throw new O(
5952
+ throw new T(
5953
5953
  "maxContentLength size of " + $ + " exceeded",
5954
- O.ERR_BAD_RESPONSE,
5954
+ T.ERR_BAD_RESPONSE,
5955
5955
  b,
5956
5956
  E
5957
5957
  );
@@ -5967,7 +5967,7 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5967
5967
  });
5968
5968
  });
5969
5969
  } catch (z) {
5970
- if (B && B(), L && L.aborted && L.reason instanceof O) {
5970
+ if (B && B(), L && L.aborted && L.reason instanceof T) {
5971
5971
  const F = L.reason;
5972
5972
  throw F.config = b, E && (F.request = E), z !== F && Object.defineProperty(F, "cause", {
5973
5973
  __proto__: null,
@@ -5979,12 +5979,12 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5979
5979
  }
5980
5980
  if (K)
5981
5981
  throw E && !K.request && (K.request = E), K;
5982
- if (z instanceof O)
5982
+ if (z instanceof T)
5983
5983
  throw E && !z.request && (z.request = E), z;
5984
5984
  if (z && z.name === "TypeError" && /Load failed|fetch/i.test(z.message)) {
5985
- const F = new O(
5985
+ const F = new T(
5986
5986
  "Network Error",
5987
- O.ERR_NETWORK,
5987
+ T.ERR_NETWORK,
5988
5988
  b,
5989
5989
  E,
5990
5990
  z && z.response
@@ -5997,7 +5997,7 @@ const gs = "1.18.1", yo = 64 * 1024, { isFunction: Rn } = w, rf = (e) => encodeU
5997
5997
  configurable: !0
5998
5998
  }), F;
5999
5999
  }
6000
- throw O.from(z, z && z.code, b, E, z && z.response);
6000
+ throw T.from(z, z && z.code, b, E, z && z.response);
6001
6001
  }
6002
6002
  };
6003
6003
  }, af = /* @__PURE__ */ new Map(), ai = (e) => {
@@ -6035,7 +6035,7 @@ function lf(e, t) {
6035
6035
  r = e[i];
6036
6036
  let c;
6037
6037
  if (s = r, !cf(r) && (s = xs[(c = String(r)).toLowerCase()], s === void 0))
6038
- throw new O(`Unknown adapter '${c}'`);
6038
+ throw new T(`Unknown adapter '${c}'`);
6039
6039
  if (s && (w.isFunction(s) || (s = s.get(t))))
6040
6040
  break;
6041
6041
  o[c || "#" + i] = s;
@@ -6047,9 +6047,9 @@ function lf(e, t) {
6047
6047
  let c = n ? i.length > 1 ? `since :
6048
6048
  ` + i.map(So).join(`
6049
6049
  `) : " " + So(i[0]) : "as no adapter specified";
6050
- throw new O(
6050
+ throw new T(
6051
6051
  "There is no suitable adapter to dispatch the request " + c,
6052
- O.ERR_NOT_SUPPORT
6052
+ T.ERR_NOT_SUPPORT
6053
6053
  );
6054
6054
  }
6055
6055
  return s;
@@ -6112,9 +6112,9 @@ lr.transitional = function(t, n, r) {
6112
6112
  }
6113
6113
  return (o, i, c) => {
6114
6114
  if (t === !1)
6115
- throw new O(
6115
+ throw new T(
6116
6116
  s(i, " has been removed" + (n ? " in " + n : "")),
6117
- O.ERR_DEPRECATED
6117
+ T.ERR_DEPRECATED
6118
6118
  );
6119
6119
  return n && !No[i] && (No[i] = !0, console.warn(
6120
6120
  s(
@@ -6129,7 +6129,7 @@ lr.spelling = function(t) {
6129
6129
  };
6130
6130
  function uf(e, t, n) {
6131
6131
  if (typeof e != "object" || e === null)
6132
- throw new O("options must be an object", O.ERR_BAD_OPTION_VALUE);
6132
+ throw new T("options must be an object", T.ERR_BAD_OPTION_VALUE);
6133
6133
  const r = Object.keys(e);
6134
6134
  let s = r.length;
6135
6135
  for (; s-- > 0; ) {
@@ -6137,14 +6137,14 @@ function uf(e, t, n) {
6137
6137
  if (i) {
6138
6138
  const c = e[o], u = c === void 0 || i(c, o, e);
6139
6139
  if (u !== !0)
6140
- throw new O(
6140
+ throw new T(
6141
6141
  "option " + o + " must be " + u,
6142
- O.ERR_BAD_OPTION_VALUE
6142
+ T.ERR_BAD_OPTION_VALUE
6143
6143
  );
6144
6144
  continue;
6145
6145
  }
6146
6146
  if (n !== !0)
6147
- throw new O("Unknown option " + o, O.ERR_BAD_OPTION);
6147
+ throw new T("Unknown option " + o, T.ERR_BAD_OPTION);
6148
6148
  }
6149
6149
  }
6150
6150
  const Bn = {
@@ -6473,7 +6473,7 @@ ae.CancelToken = df;
6473
6473
  ae.isCancel = ni;
6474
6474
  ae.VERSION = gs;
6475
6475
  ae.toFormData = cr;
6476
- ae.AxiosError = O;
6476
+ ae.AxiosError = T;
6477
6477
  ae.Cancel = ae.CanceledError;
6478
6478
  ae.all = function(t) {
6479
6479
  return Promise.all(t);
@@ -6489,8 +6489,8 @@ ae.default = ae;
6489
6489
  const {
6490
6490
  Axios: Pg,
6491
6491
  AxiosError: Ag,
6492
- CanceledError: Og,
6493
- isCancel: Tg,
6492
+ CanceledError: Tg,
6493
+ isCancel: Og,
6494
6494
  CancelToken: Lg,
6495
6495
  VERSION: Ig,
6496
6496
  all: Mg,
@@ -6621,10 +6621,10 @@ const Pf = [
6621
6621
  const Af = [
6622
6622
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
6623
6623
  ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
6624
- ], Of = ee("circle-check", Af);
6625
- const Tf = [
6624
+ ], Tf = ee("circle-check", Af);
6625
+ const Of = [
6626
6626
  ["path", { d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z", key: "p7xjir" }]
6627
- ], er = ee("cloud", Tf);
6627
+ ], er = ee("cloud", Of);
6628
6628
  const Lf = [
6629
6629
  ["ellipse", { cx: "12", cy: "5", rx: "9", ry: "3", key: "msslwz" }],
6630
6630
  ["path", { d: "M3 5V19A9 3 0 0 0 21 19V5", key: "1wlel7" }],
@@ -7045,18 +7045,18 @@ const ih = (e, t) => {
7045
7045
  }, _h = [], ce = (e) => {
7046
7046
  const t = (n) => n[e] || _h;
7047
7047
  return t.isThemeGetter = !0, t;
7048
- }, ji = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ei = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ph = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ah = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Oh = /\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$/, Th = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Lh = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ih = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => Ph.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), Ie = (e) => !!e && Number.isInteger(Number(e)), Or = (e) => e.endsWith("%") && G(e.slice(0, -1)), $e = (e) => Ah.test(e), ki = () => !0, Mh = (e) => (
7048
+ }, ji = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ei = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ph = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Ah = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Th = /\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$/, Oh = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Lh = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ih = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => Ph.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), Ie = (e) => !!e && Number.isInteger(Number(e)), Tr = (e) => e.endsWith("%") && G(e.slice(0, -1)), $e = (e) => Ah.test(e), ki = () => !0, Mh = (e) => (
7049
7049
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
7050
7050
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
7051
7051
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
7052
- Oh.test(e) && !Th.test(e)
7053
- ), ws = () => !1, Dh = (e) => Lh.test(e), Fh = (e) => Ih.test(e), Uh = (e) => !I(e) && !D(e), $h = (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)), Bh = (e) => tt(e, Ai, ws), I = (e) => ji.test(e), st = (e) => tt(e, Oi, Mh), Po = (e) => tt(e, Yh, G), zh = (e) => tt(e, Li, ki), Wh = (e) => tt(e, Ti, ws), Ao = (e) => tt(e, _i, ws), Vh = (e) => tt(e, Pi, Fh), Nn = (e) => tt(e, Ii, Dh), D = (e) => Ei.test(e), Xt = (e) => wt(e, Oi), Hh = (e) => wt(e, Ti), Oo = (e) => wt(e, _i), qh = (e) => wt(e, Ai), Gh = (e) => wt(e, Pi), Cn = (e) => wt(e, Ii, !0), Kh = (e) => wt(e, Li, !0), tt = (e, t, n) => {
7052
+ Th.test(e) && !Oh.test(e)
7053
+ ), ws = () => !1, Dh = (e) => Lh.test(e), Fh = (e) => Ih.test(e), Uh = (e) => !I(e) && !D(e), $h = (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)), Bh = (e) => tt(e, Ai, ws), I = (e) => ji.test(e), st = (e) => tt(e, Ti, Mh), Po = (e) => tt(e, Yh, G), zh = (e) => tt(e, Li, ki), Wh = (e) => tt(e, Oi, ws), Ao = (e) => tt(e, _i, ws), Vh = (e) => tt(e, Pi, Fh), Nn = (e) => tt(e, Ii, Dh), D = (e) => Ei.test(e), Xt = (e) => wt(e, Ti), Hh = (e) => wt(e, Oi), To = (e) => wt(e, _i), qh = (e) => wt(e, Ai), Gh = (e) => wt(e, Pi), Cn = (e) => wt(e, Ii, !0), Kh = (e) => wt(e, Li, !0), tt = (e, t, n) => {
7054
7054
  const r = ji.exec(e);
7055
7055
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
7056
7056
  }, wt = (e, t, n = !1) => {
7057
7057
  const r = Ei.exec(e);
7058
7058
  return r ? r[1] ? t(r[1]) : n : !1;
7059
- }, _i = (e) => e === "position" || e === "percentage", Pi = (e) => e === "image" || e === "url", Ai = (e) => e === "length" || e === "size" || e === "bg-size", Oi = (e) => e === "length", Yh = (e) => e === "number", Ti = (e) => e === "family-name", Li = (e) => e === "number" || e === "weight", Ii = (e) => e === "shadow", Jh = () => {
7059
+ }, _i = (e) => e === "position" || e === "percentage", Pi = (e) => e === "image" || e === "url", Ai = (e) => e === "length" || e === "size" || e === "bg-size", Ti = (e) => e === "length", Yh = (e) => e === "number", Oi = (e) => e === "family-name", Li = (e) => e === "number" || e === "weight", Ii = (e) => e === "shadow", Jh = () => {
7060
7060
  const e = ce("color"), t = ce("font"), n = ce("text"), r = ce("font-weight"), s = ce("tracking"), o = ce("leading"), i = ce("breakpoint"), c = ce("container"), u = ce("spacing"), d = ce("radius"), f = ce("shadow"), l = ce("inset-shadow"), h = ce("text-shadow"), m = ce("drop-shadow"), g = ce("blur"), p = ce("perspective"), x = ce("aspect"), b = ce("ease"), y = ce("animate"), v = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [
7061
7061
  "center",
7062
7062
  "top",
@@ -7075,15 +7075,15 @@ const ih = (e, t) => {
7075
7075
  "bottom-left",
7076
7076
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
7077
7077
  "left-bottom"
7078
- ], j = () => [...N(), D, I], k = () => ["auto", "hidden", "clip", "visible", "scroll"], C = () => ["auto", "contain", "none"], R = () => [D, I, u], _ = () => [Ge, "full", "auto", ...R()], T = () => [Ie, "none", "subgrid", D, I], P = () => ["auto", {
7078
+ ], j = () => [...N(), D, I], k = () => ["auto", "hidden", "clip", "visible", "scroll"], C = () => ["auto", "contain", "none"], R = () => [D, I, u], _ = () => [Ge, "full", "auto", ...R()], O = () => [Ie, "none", "subgrid", D, I], P = () => ["auto", {
7079
7079
  span: ["full", Ie, D, I]
7080
- }, Ie, D, I], M = () => [Ie, "auto", D, I], A = () => ["auto", "min", "max", "fr", D, I], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], J = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ...R()], Q = () => [Ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], he = () => [Ge, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...R()], me = () => [Ge, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...R()], L = () => [e, D, I], E = () => [...N(), Oo, Ao, {
7080
+ }, Ie, D, I], M = () => [Ie, "auto", D, I], A = () => ["auto", "min", "max", "fr", D, I], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], J = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ...R()], Q = () => [Ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...R()], he = () => [Ge, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...R()], me = () => [Ge, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...R()], L = () => [e, D, I], E = () => [...N(), To, Ao, {
7081
7081
  position: [D, I]
7082
7082
  }], B = () => ["no-repeat", {
7083
7083
  repeat: ["", "x", "y", "space", "round"]
7084
7084
  }], q = () => ["auto", "cover", "contain", qh, Bh, {
7085
7085
  size: [D, I]
7086
- }], K = () => [Or, Xt, st], H = () => [
7086
+ }], K = () => [Tr, Xt, st], H = () => [
7087
7087
  // Deprecated since Tailwind CSS v4.0.0
7088
7088
  "",
7089
7089
  "none",
@@ -7091,7 +7091,7 @@ const ih = (e, t) => {
7091
7091
  d,
7092
7092
  D,
7093
7093
  I
7094
- ], z = () => ["", G, Xt, st], F = () => ["solid", "dashed", "dotted", "double"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => [G, Or, Oo, Ao], ie = () => [
7094
+ ], z = () => ["", G, Xt, st], F = () => ["solid", "dashed", "dotted", "double"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], V = () => [G, Tr, To, Ao], ie = () => [
7095
7095
  // Deprecated since Tailwind CSS v4.0.0
7096
7096
  "",
7097
7097
  "none",
@@ -7441,7 +7441,7 @@ const ih = (e, t) => {
7441
7441
  * @see https://tailwindcss.com/docs/grid-template-columns
7442
7442
  */
7443
7443
  "grid-cols": [{
7444
- "grid-cols": T()
7444
+ "grid-cols": O()
7445
7445
  }],
7446
7446
  /**
7447
7447
  * Grid Column Start / End
@@ -7469,7 +7469,7 @@ const ih = (e, t) => {
7469
7469
  * @see https://tailwindcss.com/docs/grid-template-rows
7470
7470
  */
7471
7471
  "grid-rows": [{
7472
- "grid-rows": T()
7472
+ "grid-rows": O()
7473
7473
  }],
7474
7474
  /**
7475
7475
  * Grid Row Start / End
@@ -7923,7 +7923,7 @@ const ih = (e, t) => {
7923
7923
  * @see https://tailwindcss.com/docs/font-stretch
7924
7924
  */
7925
7925
  "font-stretch": [{
7926
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Or, I]
7926
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Tr, I]
7927
7927
  }],
7928
7928
  /**
7929
7929
  * Font Family
@@ -9912,7 +9912,7 @@ function rm({ points: e, currency: t = "USD" }) {
9912
9912
  ] })
9913
9913
  ] });
9914
9914
  }
9915
- const To = (e) => e.length > 16 ? `${e.slice(0, 14)}...` : e, sm = (e, t) => new Intl.NumberFormat("en-US", {
9915
+ const Oo = (e) => e.length > 16 ? `${e.slice(0, 14)}...` : e, sm = (e, t) => new Intl.NumberFormat("en-US", {
9916
9916
  style: "currency",
9917
9917
  currency: t || "USD",
9918
9918
  notation: "compact",
@@ -9939,8 +9939,8 @@ function om({ title: e, items: t, currency: n }) {
9939
9939
  ] }),
9940
9940
  /* @__PURE__ */ a.jsx("rect", { x: m - f / 2, y: p, width: f, height: g, rx: "4", className: "fill-primary opacity-80 transition-opacity hover:opacity-100" }),
9941
9941
  /* @__PURE__ */ a.jsx("text", { x: m, y: Math.max(p - 8, 16), textAnchor: "middle", fill: "currentColor", fontSize: "11", fontWeight: "600", children: X(l.amount, n) }),
9942
- /* @__PURE__ */ a.jsx("text", { x: m, y: 278, textAnchor: "middle", fill: "currentColor", opacity: "0.72", fontSize: "11", children: To(l.label) }),
9943
- l.accountId && /* @__PURE__ */ a.jsx("text", { x: m, y: 295, textAnchor: "middle", fill: "currentColor", opacity: "0.55", fontSize: "9", children: To(l.accountId) })
9942
+ /* @__PURE__ */ a.jsx("text", { x: m, y: 278, textAnchor: "middle", fill: "currentColor", opacity: "0.72", fontSize: "11", children: Oo(l.label) }),
9943
+ l.accountId && /* @__PURE__ */ a.jsx("text", { x: m, y: 295, textAnchor: "middle", fill: "currentColor", opacity: "0.55", fontSize: "9", children: Oo(l.accountId) })
9944
9944
  ] }, l.key || l.label);
9945
9945
  }),
9946
9946
  /* @__PURE__ */ a.jsxs("text", { x: "18", y: o.top + c / 2, transform: `rotate(-90 18 ${o.top + c / 2})`, textAnchor: "middle", fill: "currentColor", opacity: "0.65", fontSize: "11", children: [
@@ -9951,7 +9951,7 @@ function om({ title: e, items: t, currency: n }) {
9951
9951
  ] });
9952
9952
  }
9953
9953
  const Fi = "min-h-32 transition-all duration-200 ease-out hover:-translate-y-1 hover:scale-[1.01] hover:border-primary/30 hover:shadow-lg";
9954
- function Tr({ title: e, icon: t, items: n, currency: r }) {
9954
+ function Or({ title: e, icon: t, items: n, currency: r }) {
9955
9955
  const [s, o] = U("chart"), i = n.slice(0, 6), c = Math.max(...i.map((u) => u.amount), 1);
9956
9956
  return /* @__PURE__ */ a.jsxs(ue, { className: "min-w-0", children: [
9957
9957
  /* @__PURE__ */ a.jsxs(Re, { className: "flex flex-row items-center justify-between gap-3 pb-3", children: [
@@ -10044,9 +10044,9 @@ function cm() {
10044
10044
  const [A, $] = k.split("-").map(Number), J = k === t ? e.getDate() : new Date(A, $, 0).getDate();
10045
10045
  _ = { period: j, start: `${k}-01`, end: `${k}-${String(J).padStart(2, "0")}` };
10046
10046
  }
10047
- const T = C ? { managementAccountId: C } : void 0, P = await oe.getDataStatus(T);
10047
+ const O = C ? { managementAccountId: C } : void 0, P = await oe.getDataStatus(O);
10048
10048
  if (R === x.current && d(P), !P.ready) return;
10049
- const M = await oe.getOverview({ ..._, ...T });
10049
+ const M = await oe.getOverview({ ..._, ...O });
10050
10050
  R === x.current && r(M);
10051
10051
  } catch (_) {
10052
10052
  R === x.current && c(_?.response?.data?.error || _.message || "Failed to load AWS costs");
@@ -10107,9 +10107,9 @@ function lm() {
10107
10107
  /* @__PURE__ */ a.jsx(de, { children: /* @__PURE__ */ a.jsx(rm, { points: e.trends.map((f) => ({ key: f.month, label: s === "yearly" ? f.month.slice(0, 4) : (/* @__PURE__ */ new Date(`${f.month}T00:00:00Z`)).toLocaleDateString(void 0, { month: "short", year: "2-digit" }), value: f.amount })), currency: e.currency }) })
10108
10108
  ] }),
10109
10109
  /* @__PURE__ */ a.jsxs("div", { className: "grid gap-4 lg:grid-cols-2", children: [
10110
- /* @__PURE__ */ a.jsx(Tr, { title: "Top services", icon: /* @__PURE__ */ a.jsx(xi, { className: "h-4 w-4" }), items: e.topServices, currency: e.currency }),
10111
- /* @__PURE__ */ a.jsx(Tr, { title: "AWS accounts", icon: /* @__PURE__ */ a.jsx(di, { className: "h-4 w-4" }), items: e.topAccounts, currency: e.currency }),
10112
- /* @__PURE__ */ a.jsx(Tr, { title: "Regional distribution", icon: /* @__PURE__ */ a.jsx(Gf, { className: "h-4 w-4" }), items: e.topRegions, currency: e.currency })
10110
+ /* @__PURE__ */ a.jsx(Or, { title: "Top services", icon: /* @__PURE__ */ a.jsx(xi, { className: "h-4 w-4" }), items: e.topServices, currency: e.currency }),
10111
+ /* @__PURE__ */ a.jsx(Or, { title: "AWS accounts", icon: /* @__PURE__ */ a.jsx(di, { className: "h-4 w-4" }), items: e.topAccounts, currency: e.currency }),
10112
+ /* @__PURE__ */ a.jsx(Or, { title: "Regional distribution", icon: /* @__PURE__ */ a.jsx(Gf, { className: "h-4 w-4" }), items: e.topRegions, currency: e.currency })
10113
10113
  ] })
10114
10114
  ] }) : null
10115
10115
  ] });
@@ -10528,7 +10528,7 @@ function bm(e) {
10528
10528
  ] });
10529
10529
  }
10530
10530
  function ym() {
10531
- const { managementAccountId: e, loading: t } = Wt(), [n, r] = U("service"), [s, o] = U("standard"), [i, c] = U(hm), [u, d] = U(mm), [f, l] = U("monthly"), [h, m] = U("Name"), [g, p] = U({ services: [], regions: [], accounts: [], tagKeys: [], tagValues: [] }), [x, b] = U(Zt), [y, v] = U(Zt), [N, j] = U(null), [k, C] = U(null), [R, _] = U(!0), [T, P] = U(!1), [M, A] = U(null), [$, J] = U(null), Y = os(0), Q = un(() => k ? pm(k) : [], [k]), he = Mo(u, f), me = (F, Z, V, ie) => ({
10531
+ const { managementAccountId: e, loading: t } = Wt(), [n, r] = U("service"), [s, o] = U("standard"), [i, c] = U(hm), [u, d] = U(mm), [f, l] = U("monthly"), [h, m] = U("Name"), [g, p] = U({ services: [], regions: [], accounts: [], tagKeys: [], tagValues: [] }), [x, b] = U(Zt), [y, v] = U(Zt), [N, j] = U(null), [k, C] = U(null), [R, _] = U(!0), [O, P] = U(!1), [M, A] = U(null), [$, J] = U(null), Y = os(0), Q = un(() => k ? pm(k) : [], [k]), he = Mo(u, f), me = (F, Z, V, ie) => ({
10532
10532
  start: Z,
10533
10533
  end: V,
10534
10534
  groupBy: ie,
@@ -10588,7 +10588,7 @@ function ym() {
10588
10588
  report: N,
10589
10589
  comparison: k,
10590
10590
  loading: R || t,
10591
- filtersLoading: T,
10591
+ filtersLoading: O,
10592
10592
  error: M,
10593
10593
  dataStatus: $,
10594
10594
  comparedRows: Q,
@@ -10901,7 +10901,7 @@ function km() {
10901
10901
  } finally {
10902
10902
  j(null);
10903
10903
  }
10904
- }, T = async (A) => {
10904
+ }, O = async (A) => {
10905
10905
  j(`download-${A}`), C(null);
10906
10906
  try {
10907
10907
  const $ = await oe.downloadSourceTemplate(A), J = URL.createObjectURL($), Y = document.createElement("a");
@@ -10987,13 +10987,13 @@ function km() {
10987
10987
  ] }),
10988
10988
  /* @__PURE__ */ a.jsx("td", { className: "px-4 py-3", children: /* @__PURE__ */ a.jsxs("div", { className: "flex justify-end gap-2", children: [
10989
10989
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => {
10990
- T(A.connectionId);
10990
+ O(A.connectionId);
10991
10991
  }, disabled: !!N, className: "rounded-md border p-2 hover:bg-muted disabled:opacity-50", title: "Download CloudFormation template", "aria-label": "Download CloudFormation template", children: N === `download-${A.connectionId}` ? /* @__PURE__ */ a.jsx(ut, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ a.jsx(bs, { className: "h-4 w-4" }) }),
10992
10992
  /* @__PURE__ */ a.jsx("a", { href: jm(A), target: "_blank", rel: "noreferrer", className: "rounded-md border p-2 hover:bg-muted", title: `Open AWS CloudFormation as ${A.stackName || `MeyiConnect-${A.connectionId}-Management`}`, "aria-label": "Open AWS CloudFormation", children: /* @__PURE__ */ a.jsx(pi, { className: "h-4 w-4" }) }),
10993
10993
  /* @__PURE__ */ a.jsxs("button", { type: "button", onClick: () => {
10994
10994
  P(A.connectionId);
10995
10995
  }, disabled: !!N || A.status === "CONNECTED", className: "flex items-center gap-2 rounded-md border px-3 py-2 font-medium hover:bg-muted disabled:opacity-50", children: [
10996
- N === `verify-${A.connectionId}` ? /* @__PURE__ */ a.jsx(ut, { className: "h-4 w-4 animate-spin" }) : A.status === "CONNECTED" ? /* @__PURE__ */ a.jsx(Of, { className: "h-4 w-4 text-emerald-600" }) : /* @__PURE__ */ a.jsx(Dt, { className: "h-4 w-4" }),
10996
+ N === `verify-${A.connectionId}` ? /* @__PURE__ */ a.jsx(ut, { className: "h-4 w-4 animate-spin" }) : A.status === "CONNECTED" ? /* @__PURE__ */ a.jsx(Tf, { className: "h-4 w-4 text-emerald-600" }) : /* @__PURE__ */ a.jsx(Dt, { className: "h-4 w-4" }),
10997
10997
  A.status === "CONNECTED" ? "Connected" : "Verify"
10998
10998
  ] }),
10999
10999
  /* @__PURE__ */ a.jsx("button", { type: "button", onClick: () => l(A), disabled: !!N, className: "rounded-md border p-2 text-destructive hover:bg-destructive/10 disabled:opacity-50", title: "Remove Cost source", "aria-label": "Remove Cost source", children: /* @__PURE__ */ a.jsx(yi, { className: "h-4 w-4" }) })
@@ -11056,7 +11056,11 @@ function km() {
11056
11056
  ":"
11057
11057
  ] }),
11058
11058
  /* @__PURE__ */ a.jsxs("ol", { className: "mt-3 list-decimal space-y-2 pl-5 text-sm", children: [
11059
- h.stackSetName && /* @__PURE__ */ a.jsxs("li", { children: [
11059
+ h.membersStackName ? /* @__PURE__ */ a.jsxs("li", { children: [
11060
+ "Stacks: delete ",
11061
+ /* @__PURE__ */ a.jsx("span", { className: "font-mono", children: h.membersStackName }),
11062
+ ". This removes the member StackSet and its stack instances."
11063
+ ] }) : h.stackSetName && /* @__PURE__ */ a.jsxs("li", { children: [
11060
11064
  "StackSets: open ",
11061
11065
  /* @__PURE__ */ a.jsx("span", { className: "font-mono", children: h.stackSetName }),
11062
11066
  ", delete its stack instances, then delete the StackSet."
@@ -11072,7 +11076,7 @@ function km() {
11072
11076
  ] });
11073
11077
  }
11074
11078
  const _m = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], Pm = [10, 20, 50], Am = ["UTC", "Asia/Kolkata", "America/New_York", "America/Los_Angeles", "Europe/London", "Europe/Berlin", "Asia/Singapore", "Asia/Tokyo", "Australia/Sydney"];
11075
- function Om({ open: e, schedule: t, saving: n, onClose: r, onSave: s }) {
11079
+ function Tm({ open: e, schedule: t, saving: n, onClose: r, onSave: s }) {
11076
11080
  const [o, i] = U(t);
11077
11081
  if (Ue(() => i(t), [t, e]), !e) return null;
11078
11082
  const c = (u) => i((d) => ({ ...d, frequency: u }));
@@ -11150,7 +11154,7 @@ function Uo(e, t) {
11150
11154
  return e(t);
11151
11155
  e != null && (e.current = t);
11152
11156
  }
11153
- function Tm(...e) {
11157
+ function Om(...e) {
11154
11158
  return (t) => {
11155
11159
  let n = !1;
11156
11160
  const r = e.map((s) => {
@@ -11167,7 +11171,7 @@ function Tm(...e) {
11167
11171
  };
11168
11172
  }
11169
11173
  function St(...e) {
11170
- return S.useCallback(Tm(...e), e);
11174
+ return S.useCallback(Om(...e), e);
11171
11175
  }
11172
11176
  function Lm(e, t = []) {
11173
11177
  let n = [];
@@ -11424,13 +11428,13 @@ var Qm = "DismissableLayer", ns = "dismissableLayer.update", ep = "dismissableLa
11424
11428
  return;
11425
11429
  const M = P.target;
11426
11430
  [...f.branches].some(($) => $.contains(M)) || (i?.(P), c?.(P), P.defaultPrevented || u?.());
11427
- }, m), _ = l ? v === x.length - 1 : !1, T = ln((P) => {
11431
+ }, m), _ = l ? v === x.length - 1 : !1, O = ln((P) => {
11428
11432
  P.key === "Escape" && (s?.(P), !P.defaultPrevented && u && (P.preventDefault(), u()));
11429
11433
  });
11430
11434
  return S.useEffect(() => {
11431
11435
  if (_)
11432
- return m.addEventListener("keydown", T, { capture: !0 }), () => m.removeEventListener("keydown", T, { capture: !0 });
11433
- }, [m, _, T]), S.useEffect(() => {
11436
+ return m.addEventListener("keydown", O, { capture: !0 }), () => m.removeEventListener("keydown", O, { capture: !0 });
11437
+ }, [m, _, O]), S.useEffect(() => {
11434
11438
  if (l)
11435
11439
  return n && (f.layersWithOutsidePointerEventsDisabled.size === 0 && (Bo = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), f.layersWithOutsidePointerEventsDisabled.add(l)), f.layers.add(l), zo(), () => {
11436
11440
  n && (f.layersWithOutsidePointerEventsDisabled.delete(l), f.layersWithOutsidePointerEventsDisabled.size === 0 && (m.body.style.pointerEvents = Bo));
@@ -11993,7 +11997,7 @@ var Ap = function() {
11993
11997
  if (typeof __webpack_nonce__ < "u")
11994
11998
  return __webpack_nonce__;
11995
11999
  };
11996
- function Op() {
12000
+ function Tp() {
11997
12001
  if (!document)
11998
12002
  return null;
11999
12003
  var e = document.createElement("style");
@@ -12001,7 +12005,7 @@ function Op() {
12001
12005
  var t = Ap();
12002
12006
  return t && e.setAttribute("nonce", t), e;
12003
12007
  }
12004
- function Tp(e, t) {
12008
+ function Op(e, t) {
12005
12009
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
12006
12010
  }
12007
12011
  function Lp(e) {
@@ -12012,7 +12016,7 @@ var Ip = function() {
12012
12016
  var e = 0, t = null;
12013
12017
  return {
12014
12018
  add: function(n) {
12015
- e == 0 && (t = Op()) && (Tp(t, n), Lp(t)), e++;
12019
+ e == 0 && (t = Tp()) && (Op(t, n), Lp(t)), e++;
12016
12020
  },
12017
12021
  remove: function() {
12018
12022
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
@@ -12053,14 +12057,14 @@ var Ip = function() {
12053
12057
  right: t[2],
12054
12058
  gap: Math.max(0, r - n + t[2] - t[0])
12055
12059
  };
12056
- }, $p = Ji(), Tt = "data-scroll-locked", Bp = function(e, t, n, r) {
12060
+ }, $p = Ji(), Ot = "data-scroll-locked", Bp = function(e, t, n, r) {
12057
12061
  var s = e.left, o = e.top, i = e.right, c = e.gap;
12058
12062
  return n === void 0 && (n = "margin"), `
12059
12063
  .`.concat(Sp, ` {
12060
12064
  overflow: hidden `).concat(r, `;
12061
12065
  padding-right: `).concat(c, "px ").concat(r, `;
12062
12066
  }
12063
- body[`).concat(Tt, `] {
12067
+ body[`).concat(Ot, `] {
12064
12068
  overflow: hidden `).concat(r, `;
12065
12069
  overscroll-behavior: contain;
12066
12070
  `).concat([
@@ -12093,18 +12097,18 @@ var Ip = function() {
12093
12097
  margin-right: 0 `).concat(r, `;
12094
12098
  }
12095
12099
 
12096
- body[`).concat(Tt, `] {
12100
+ body[`).concat(Ot, `] {
12097
12101
  `).concat(Rp, ": ").concat(c, `px;
12098
12102
  }
12099
12103
  `);
12100
12104
  }, Jo = function() {
12101
- var e = parseInt(document.body.getAttribute(Tt) || "0", 10);
12105
+ var e = parseInt(document.body.getAttribute(Ot) || "0", 10);
12102
12106
  return isFinite(e) ? e : 0;
12103
12107
  }, zp = function() {
12104
12108
  S.useEffect(function() {
12105
- return document.body.setAttribute(Tt, (Jo() + 1).toString()), function() {
12109
+ return document.body.setAttribute(Ot, (Jo() + 1).toString()), function() {
12106
12110
  var e = Jo() - 1;
12107
- e <= 0 ? document.body.removeAttribute(Tt) : document.body.setAttribute(Tt, e.toString());
12111
+ e <= 0 ? document.body.removeAttribute(Ot) : document.body.setAttribute(Ot, e.toString());
12108
12112
  };
12109
12113
  }, []);
12110
12114
  }, Wp = function(e) {
@@ -12189,7 +12193,7 @@ var jt = rs ? { passive: !1 } : !1, Vp = function(e) {
12189
12193
  u && (t.contains(c) || t === c)
12190
12194
  );
12191
12195
  return (f && Math.abs(l) < 1 || !f && Math.abs(h) < 1) && (d = !0), d;
12192
- }, On = function(e) {
12196
+ }, Tn = function(e) {
12193
12197
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
12194
12198
  }, Zo = function(e) {
12195
12199
  return [e.deltaX, e.deltaY];
@@ -12223,11 +12227,11 @@ function eg(e) {
12223
12227
  var c = S.useCallback(function(p, x) {
12224
12228
  if ("touches" in p && p.touches.length === 2 || p.type === "wheel" && p.ctrlKey)
12225
12229
  return !i.current.allowPinchZoom;
12226
- var b = On(p), y = n.current, v = "deltaX" in p ? p.deltaX : y[0] - b[0], N = "deltaY" in p ? p.deltaY : y[1] - b[1], j, k = p.target, C = Math.abs(v) > Math.abs(N) ? "h" : "v";
12230
+ var b = Tn(p), y = n.current, v = "deltaX" in p ? p.deltaX : y[0] - b[0], N = "deltaY" in p ? p.deltaY : y[1] - b[1], j, k = p.target, C = Math.abs(v) > Math.abs(N) ? "h" : "v";
12227
12231
  if ("touches" in p && C === "h" && k.type === "range")
12228
12232
  return !1;
12229
- var R = window.getSelection(), _ = R && R.anchorNode, T = _ ? _ === k || _.contains(k) : !1;
12230
- if (T)
12233
+ var R = window.getSelection(), _ = R && R.anchorNode, O = _ ? _ === k || _.contains(k) : !1;
12234
+ if (O)
12231
12235
  return !1;
12232
12236
  var P = Xo(C, k);
12233
12237
  if (!P)
@@ -12241,7 +12245,7 @@ function eg(e) {
12241
12245
  }, []), u = S.useCallback(function(p) {
12242
12246
  var x = p;
12243
12247
  if (!(!Et.length || Et[Et.length - 1] !== o)) {
12244
- var b = "deltaY" in x ? Zo(x) : On(x), y = t.current.filter(function(j) {
12248
+ var b = "deltaY" in x ? Zo(x) : Tn(x), y = t.current.filter(function(j) {
12245
12249
  return j.name === x.type && (j.target === x.target || x.target === j.shadowParent) && Xp(j.delta, b);
12246
12250
  })[0];
12247
12251
  if (y && y.should) {
@@ -12263,11 +12267,11 @@ function eg(e) {
12263
12267
  });
12264
12268
  }, 1);
12265
12269
  }, []), f = S.useCallback(function(p) {
12266
- n.current = On(p), r.current = void 0;
12270
+ n.current = Tn(p), r.current = void 0;
12267
12271
  }, []), l = S.useCallback(function(p) {
12268
12272
  d(p.type, Zo(p), p.target, c(p, e.lockRef.current));
12269
12273
  }, []), h = S.useCallback(function(p) {
12270
- d(p.type, On(p), p.target, c(p, e.lockRef.current));
12274
+ d(p.type, Tn(p), p.target, c(p, e.lockRef.current));
12271
12275
  }, []);
12272
12276
  S.useEffect(function() {
12273
12277
  return Et.push(o), e.setCallbacks({
@@ -12303,7 +12307,7 @@ var rg = function(e) {
12303
12307
  return null;
12304
12308
  var t = Array.isArray(e) ? e[0] : e;
12305
12309
  return t.ownerDocument.body;
12306
- }, kt = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap(), Ln = {}, $r = 0, tc = function(e) {
12310
+ }, kt = /* @__PURE__ */ new WeakMap(), On = /* @__PURE__ */ new WeakMap(), Ln = {}, $r = 0, tc = function(e) {
12307
12311
  return e && (e.host || tc(e.parentNode));
12308
12312
  }, sg = function(e, t) {
12309
12313
  return t.map(function(n) {
@@ -12328,7 +12332,7 @@ var rg = function(e) {
12328
12332
  else
12329
12333
  try {
12330
12334
  var m = h.getAttribute(r), g = m !== null && m !== "false", p = (kt.get(h) || 0) + 1, x = (o.get(h) || 0) + 1;
12331
- kt.set(h, p), o.set(h, x), i.push(h), p === 1 && g && Tn.set(h, !0), x === 1 && h.setAttribute(n, "true"), g || h.setAttribute(r, "true");
12335
+ kt.set(h, p), o.set(h, x), i.push(h), p === 1 && g && On.set(h, !0), x === 1 && h.setAttribute(n, "true"), g || h.setAttribute(r, "true");
12332
12336
  } catch (b) {
12333
12337
  console.error("aria-hidden: cannot operate on ", h, b);
12334
12338
  }
@@ -12337,8 +12341,8 @@ var rg = function(e) {
12337
12341
  return f(t), c.clear(), $r++, function() {
12338
12342
  i.forEach(function(l) {
12339
12343
  var h = kt.get(l) - 1, m = o.get(l) - 1;
12340
- kt.set(l, h), o.set(l, m), h || (Tn.has(l) || l.removeAttribute(r), Tn.delete(l)), m || l.removeAttribute(n);
12341
- }), $r--, $r || (kt = /* @__PURE__ */ new WeakMap(), kt = /* @__PURE__ */ new WeakMap(), Tn = /* @__PURE__ */ new WeakMap(), Ln = {});
12344
+ kt.set(l, h), o.set(l, m), h || (On.has(l) || l.removeAttribute(r), On.delete(l)), m || l.removeAttribute(n);
12345
+ }), $r--, $r || (kt = /* @__PURE__ */ new WeakMap(), kt = /* @__PURE__ */ new WeakMap(), On = /* @__PURE__ */ new WeakMap(), Ln = {});
12342
12346
  };
12343
12347
  }, ag = function(e, t, n) {
12344
12348
  n === void 0 && (n = "data-aria-hidden");
@@ -12346,7 +12350,7 @@ var rg = function(e) {
12346
12350
  return s ? (r.push.apply(r, Array.from(s.querySelectorAll("[aria-live], script"))), og(r, s, n, "aria-hidden")) : function() {
12347
12351
  return null;
12348
12352
  };
12349
- }, hr = "Dialog", [nc] = Lm(hr), [ig, Te] = nc(hr), rc = (e) => {
12353
+ }, hr = "Dialog", [nc] = Lm(hr), [ig, Oe] = nc(hr), rc = (e) => {
12350
12354
  const {
12351
12355
  __scopeDialog: t,
12352
12356
  children: n,
@@ -12380,7 +12384,7 @@ var rg = function(e) {
12380
12384
  rc.displayName = hr;
12381
12385
  var sc = "DialogTrigger", cg = S.forwardRef(
12382
12386
  (e, t) => {
12383
- const { __scopeDialog: n, ...r } = e, s = Te(sc, n), o = St(t, s.triggerRef);
12387
+ const { __scopeDialog: n, ...r } = e, s = Oe(sc, n), o = St(t, s.triggerRef);
12384
12388
  return /* @__PURE__ */ a.jsx(
12385
12389
  He.button,
12386
12390
  {
@@ -12400,20 +12404,20 @@ cg.displayName = sc;
12400
12404
  var Rs = "DialogPortal", [lg, oc] = nc(Rs, {
12401
12405
  forceMount: void 0
12402
12406
  }), ac = (e) => {
12403
- const { __scopeDialog: t, forceMount: n, children: r, container: s } = e, o = Te(Rs, t);
12407
+ const { __scopeDialog: t, forceMount: n, children: r, container: s } = e, o = Oe(Rs, t);
12404
12408
  return /* @__PURE__ */ a.jsx(lg, { scope: t, forceMount: n, children: S.Children.map(r, (i) => /* @__PURE__ */ a.jsx(dr, { present: n || o.open, children: /* @__PURE__ */ a.jsx(qi, { asChild: !0, container: s, children: i }) })) });
12405
12409
  };
12406
12410
  ac.displayName = Rs;
12407
12411
  var rr = "DialogOverlay", ic = S.forwardRef(
12408
12412
  (e, t) => {
12409
- const n = oc(rr, e.__scopeDialog), { forceMount: r = n.forceMount, ...s } = e, o = Te(rr, e.__scopeDialog);
12413
+ const n = oc(rr, e.__scopeDialog), { forceMount: r = n.forceMount, ...s } = e, o = Oe(rr, e.__scopeDialog);
12410
12414
  return o.modal ? /* @__PURE__ */ a.jsx(dr, { present: r || o.open, children: /* @__PURE__ */ a.jsx(dg, { ...s, ref: t }) }) : null;
12411
12415
  }
12412
12416
  );
12413
12417
  ic.displayName = rr;
12414
12418
  var ug = /* @__PURE__ */ Bi("DialogOverlay.RemoveScroll"), dg = S.forwardRef(
12415
12419
  (e, t) => {
12416
- const { __scopeDialog: n, ...r } = e, s = Te(rr, n), o = sp(), i = St(t, o);
12420
+ const { __scopeDialog: n, ...r } = e, s = Oe(rr, n), o = sp(), i = St(t, o);
12417
12421
  return (
12418
12422
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
12419
12423
  // ie. when `Overlay` and `Content` are siblings
@@ -12430,14 +12434,14 @@ var ug = /* @__PURE__ */ Bi("DialogOverlay.RemoveScroll"), dg = S.forwardRef(
12430
12434
  }
12431
12435
  ), Ut = "DialogContent", cc = S.forwardRef(
12432
12436
  (e, t) => {
12433
- const n = oc(Ut, e.__scopeDialog), { forceMount: r = n.forceMount, ...s } = e, o = Te(Ut, e.__scopeDialog);
12437
+ const n = oc(Ut, e.__scopeDialog), { forceMount: r = n.forceMount, ...s } = e, o = Oe(Ut, e.__scopeDialog);
12434
12438
  return /* @__PURE__ */ a.jsx(dr, { present: r || o.open, children: o.modal ? /* @__PURE__ */ a.jsx(fg, { ...s, ref: t }) : /* @__PURE__ */ a.jsx(hg, { ...s, ref: t }) });
12435
12439
  }
12436
12440
  );
12437
12441
  cc.displayName = Ut;
12438
12442
  var fg = S.forwardRef(
12439
12443
  (e, t) => {
12440
- const n = Te(Ut, e.__scopeDialog), r = S.useRef(null), s = St(t, n.contentRef, r);
12444
+ const n = Oe(Ut, e.__scopeDialog), r = S.useRef(null), s = St(t, n.contentRef, r);
12441
12445
  return S.useEffect(() => {
12442
12446
  const o = r.current;
12443
12447
  if (o) return ag(o);
@@ -12464,7 +12468,7 @@ var fg = S.forwardRef(
12464
12468
  }
12465
12469
  ), hg = S.forwardRef(
12466
12470
  (e, t) => {
12467
- const n = Te(Ut, e.__scopeDialog), r = S.useRef(!1), s = S.useRef(!1);
12471
+ const n = Oe(Ut, e.__scopeDialog), r = S.useRef(!1), s = S.useRef(!1);
12468
12472
  return /* @__PURE__ */ a.jsx(
12469
12473
  lc,
12470
12474
  {
@@ -12485,7 +12489,7 @@ var fg = S.forwardRef(
12485
12489
  }
12486
12490
  ), lc = S.forwardRef(
12487
12491
  (e, t) => {
12488
- const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: s, onCloseAutoFocus: o, ...i } = e, c = Te(Ut, n);
12492
+ const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: s, onCloseAutoFocus: o, ...i } = e, c = Oe(Ut, n);
12489
12493
  return vp(), /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsx(
12490
12494
  Vi,
12491
12495
  {
@@ -12513,21 +12517,21 @@ var fg = S.forwardRef(
12513
12517
  }
12514
12518
  ), uc = "DialogTitle", dc = S.forwardRef(
12515
12519
  (e, t) => {
12516
- const { __scopeDialog: n, ...r } = e, s = Te(uc, n);
12520
+ const { __scopeDialog: n, ...r } = e, s = Oe(uc, n);
12517
12521
  return /* @__PURE__ */ a.jsx(He.h2, { id: s.titleId, ...r, ref: t });
12518
12522
  }
12519
12523
  );
12520
12524
  dc.displayName = uc;
12521
12525
  var fc = "DialogDescription", hc = S.forwardRef(
12522
12526
  (e, t) => {
12523
- const { __scopeDialog: n, ...r } = e, s = Te(fc, n);
12527
+ const { __scopeDialog: n, ...r } = e, s = Oe(fc, n);
12524
12528
  return /* @__PURE__ */ a.jsx(He.p, { id: s.descriptionId, ...r, ref: t });
12525
12529
  }
12526
12530
  );
12527
12531
  hc.displayName = fc;
12528
12532
  var mc = "DialogClose", ss = S.forwardRef(
12529
12533
  (e, t) => {
12530
- const { __scopeDialog: n, ...r } = e, s = Te(mc, n);
12534
+ const { __scopeDialog: n, ...r } = e, s = Oe(mc, n);
12531
12535
  return /* @__PURE__ */ a.jsx(
12532
12536
  He.button,
12533
12537
  {
@@ -12605,13 +12609,13 @@ function gg() {
12605
12609
  r(null), c(null), d([]), b(null);
12606
12610
  return;
12607
12611
  }
12608
- const [_, T, P] = await Promise.all([
12612
+ const [_, O, P] = await Promise.all([
12609
12613
  oe.getAnalysisStatus({ managementAccountId: e }),
12610
12614
  oe.getAnalysisSchedule({ managementAccountId: e }),
12611
12615
  oe.getAnalysisReports({ managementAccountId: e })
12612
12616
  ]);
12613
12617
  if (!y.current) return;
12614
- r(_), c(T), d(P), b(null);
12618
+ r(_), c(O), d(P), b(null);
12615
12619
  } catch (R) {
12616
12620
  y.current && b(R?.response?.data?.error || R?.message || "Unable to load scheduled AI reports");
12617
12621
  } finally {
@@ -12638,8 +12642,8 @@ function gg() {
12638
12642
  }
12639
12643
  }, download: async (C) => {
12640
12644
  try {
12641
- const R = await oe.downloadAnalysisPdf(C.id), _ = URL.createObjectURL(R), T = document.createElement("a");
12642
- T.href = _, T.download = `meyi-cost-analysis-${C.period.Start}.pdf`, T.click(), URL.revokeObjectURL(_);
12645
+ const R = await oe.downloadAnalysisPdf(C.id), _ = URL.createObjectURL(R), O = document.createElement("a");
12646
+ O.href = _, O.download = `meyi-cost-analysis-${C.period.Start}.pdf`, O.click(), URL.revokeObjectURL(_);
12643
12647
  } catch (R) {
12644
12648
  b(R?.response?.data?.error || R?.message || "Unable to download the PDF report");
12645
12649
  }
@@ -12765,7 +12769,7 @@ function yg() {
12765
12769
  /* @__PURE__ */ a.jsx("p", { className: "mt-2 max-w-lg text-sm text-muted-foreground", children: "The first report will appear here after the configured schedule runs." })
12766
12770
  ] }) })
12767
12771
  ] }),
12768
- e.schedule && /* @__PURE__ */ a.jsx(Om, { open: n, schedule: e.schedule, saving: e.saving, onClose: () => r(!1), onSave: e.saveSchedule }),
12772
+ e.schedule && /* @__PURE__ */ a.jsx(Tm, { open: n, schedule: e.schedule, saving: e.saving, onClose: () => r(!1), onSave: e.saveSchedule }),
12769
12773
  /* @__PURE__ */ a.jsx(pg, { report: s, onClose: () => o(null) })
12770
12774
  ] });
12771
12775
  }