zudoku 0.1.1-dev.43 → 0.1.1-dev.45

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.
Files changed (42) hide show
  1. package/dist/lib/components/Layout.js +2 -1
  2. package/dist/lib/components/Layout.js.map +1 -1
  3. package/dist/lib/components/Select.d.ts +13 -0
  4. package/dist/lib/components/Select.js +27 -0
  5. package/dist/lib/components/Select.js.map +1 -0
  6. package/dist/lib/components/Spinner.d.ts +3 -0
  7. package/dist/lib/components/Spinner.js +4 -0
  8. package/dist/lib/components/Spinner.js.map +1 -0
  9. package/dist/lib/components/navigation/SideNavigation.js +1 -1
  10. package/dist/lib/components/navigation/SideNavigation.js.map +1 -1
  11. package/dist/lib/components/navigation/SideNavigationWrapper.d.ts +1 -1
  12. package/dist/lib/components/navigation/SideNavigationWrapper.js +1 -1
  13. package/dist/lib/components/navigation/SideNavigationWrapper.js.map +1 -1
  14. package/dist/lib/plugins/api-key/CreateApiKey.js +37 -0
  15. package/dist/lib/plugins/api-key/CreateApiKey.js.map +1 -0
  16. package/dist/lib/plugins/api-key/SettingsApiKeys.js +1 -1
  17. package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +1 -1
  18. package/dist/lib/plugins/api-key/index.d.ts +1 -1
  19. package/dist/lib/plugins/api-key/index.js +1 -1
  20. package/dist/lib/plugins/api-key/index.js.map +1 -1
  21. package/dist/lib/plugins/openapi/OperationList.js +2 -0
  22. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  23. package/dist/lib/plugins/openapi/playground/Playground.js +3 -2
  24. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  25. package/lib/{util-CnHdxZvn.js → Spinner-2oXmSf81.js} +280 -269
  26. package/lib/zudoku.components.js +91 -85
  27. package/lib/zudoku.plugins.js +14257 -11873
  28. package/package.json +3 -2
  29. package/src/app/main.css +1 -0
  30. package/src/lib/components/Layout.tsx +9 -3
  31. package/src/lib/components/Select.tsx +157 -0
  32. package/src/lib/components/Spinner.tsx +5 -0
  33. package/src/lib/components/navigation/SideNavigation.tsx +1 -1
  34. package/src/lib/components/navigation/SideNavigationWrapper.tsx +7 -3
  35. package/src/lib/plugins/api-key/{CreateApiKeys.tsx → CreateApiKey.tsx} +43 -27
  36. package/src/lib/plugins/api-key/SettingsApiKeys.tsx +10 -9
  37. package/src/lib/plugins/api-key/index.tsx +2 -2
  38. package/src/lib/plugins/openapi/OperationList.tsx +3 -0
  39. package/src/lib/plugins/openapi/playground/Playground.tsx +2 -1
  40. package/dist/lib/plugins/api-key/CreateApiKeys.js +0 -37
  41. package/dist/lib/plugins/api-key/CreateApiKeys.js.map +0 -1
  42. /package/dist/lib/plugins/api-key/{CreateApiKeys.d.ts → CreateApiKey.d.ts} +0 -0
@@ -6,7 +6,7 @@ var Hi = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writ
6
6
  var dt = (e, t, r) => Hi(e, typeof t != "symbol" ? t + "" : t, r), Mn = (e, t, r) => t.has(e) || Ga("Cannot " + r);
7
7
  var C = (e, t, r) => (Mn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), ae = (e, t, r) => t.has(e) ? Ga("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), W = (e, t, r, n) => (Mn(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), re = (e, t, r) => (Mn(e, t, "access private method"), r);
8
8
  import * as x from "react";
9
- import De, { Component as Ea, createContext as xa, useState as bn, useRef as fr, useEffect as Lr, useMemo as qn, useCallback as Ir, useContext as Sa, createElement as hn, forwardRef as Uo } from "react";
9
+ import De, { Component as Ea, createContext as xa, useState as bn, useRef as pr, useEffect as Lr, useMemo as qn, useCallback as Ir, useContext as Sa, createElement as hn, forwardRef as Uo } from "react";
10
10
  import * as Ra from "react-dom";
11
11
  const Kn = {}, $o = De.createContext(Kn);
12
12
  function Wi(e) {
@@ -18,7 +18,7 @@ function Wi(e) {
18
18
  [t, e]
19
19
  );
20
20
  }
21
- function ef(e) {
21
+ function tf(e) {
22
22
  let t;
23
23
  return e.disableParentContext ? t = typeof e.components == "function" ? e.components(Kn) : e.components || Kn : t = Wi(e.components), De.createElement(
24
24
  $o.Provider,
@@ -26,11 +26,11 @@ function ef(e) {
26
26
  e.children
27
27
  );
28
28
  }
29
- var tf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
29
+ var rf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
30
30
  function ka(e) {
31
31
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
32
32
  }
33
- function rf(e) {
33
+ function nf(e) {
34
34
  if (e.__esModule) return e;
35
35
  var t = e.default;
36
36
  if (typeof t == "function") {
@@ -251,16 +251,16 @@ function Ki() {
251
251
  ` + Qe + f;
252
252
  }
253
253
  }
254
- var lt = !1, Kt;
254
+ var lt = !1, Yt;
255
255
  {
256
256
  var _n = typeof WeakMap == "function" ? WeakMap : Map;
257
- Kt = new _n();
257
+ Yt = new _n();
258
258
  }
259
259
  function Ee(f, w) {
260
260
  if (!f || lt)
261
261
  return "";
262
262
  {
263
- var _ = Kt.get(f);
263
+ var _ = Yt.get(f);
264
264
  if (_ !== void 0)
265
265
  return _;
266
266
  }
@@ -315,7 +315,7 @@ function Ki() {
315
315
  if (X--, Z--, Z < 0 || $[X] !== q[Z]) {
316
316
  var xe = `
317
317
  ` + $[X].replace(" at new ", " at ");
318
- return f.displayName && xe.includes("<anonymous>") && (xe = xe.replace("<anonymous>", f.displayName)), typeof f == "function" && Kt.set(f, xe), xe;
318
+ return f.displayName && xe.includes("<anonymous>") && (xe = xe.replace("<anonymous>", f.displayName)), typeof f == "function" && Yt.set(f, xe), xe;
319
319
  }
320
320
  while (X >= 1 && Z >= 0);
321
321
  break;
@@ -325,7 +325,7 @@ function Ki() {
325
325
  lt = !1, Ce.current = z, Ue(), Error.prepareStackTrace = D;
326
326
  }
327
327
  var Te = f ? f.displayName || f.name : "", Fe = Te ? Xe(Te) : "";
328
- return typeof f == "function" && Kt.set(f, Fe), Fe;
328
+ return typeof f == "function" && Yt.set(f, Fe), Fe;
329
329
  }
330
330
  function gt(f, w, _) {
331
331
  return Ee(f, !1);
@@ -334,7 +334,7 @@ function Ki() {
334
334
  var w = f.prototype;
335
335
  return !!(w && w.isReactComponent);
336
336
  }
337
- function Yt(f, w, _) {
337
+ function Zt(f, w, _) {
338
338
  if (f == null)
339
339
  return "";
340
340
  if (typeof f == "function")
@@ -352,11 +352,11 @@ function Ki() {
352
352
  case l:
353
353
  return gt(f.render);
354
354
  case c:
355
- return Yt(f.type, w, _);
355
+ return Zt(f.type, w, _);
356
356
  case p: {
357
357
  var F = f, D = F._payload, z = F._init;
358
358
  try {
359
- return Yt(z(D), w, _);
359
+ return Zt(z(D), w, _);
360
360
  } catch {
361
361
  }
362
362
  }
@@ -366,7 +366,7 @@ function Ki() {
366
366
  var Le = Object.prototype.hasOwnProperty, Hr = {}, Wr = E.ReactDebugCurrentFrame;
367
367
  function Ot(f) {
368
368
  if (f) {
369
- var w = f._owner, _ = Yt(f.type, f._source, w ? w.type : null);
369
+ var w = f._owner, _ = Zt(f.type, f._source, w ? w.type : null);
370
370
  Wr.setExtraStackFrame(_);
371
371
  } else
372
372
  Wr.setExtraStackFrame(null);
@@ -515,7 +515,7 @@ function Ki() {
515
515
  var bt = E.ReactCurrentOwner, xr = E.ReactDebugCurrentFrame;
516
516
  function tt(f) {
517
517
  if (f) {
518
- var w = f._owner, _ = Yt(f.type, f._source, w ? w.type : null);
518
+ var w = f._owner, _ = Zt(f.type, f._source, w ? w.type : null);
519
519
  xr.setExtraStackFrame(_);
520
520
  } else
521
521
  xr.setExtraStackFrame(null);
@@ -553,7 +553,7 @@ Check the top-level render call using <` + _ + ">.");
553
553
  return w;
554
554
  }
555
555
  }
556
- function Zt(f, w) {
556
+ function Qt(f, w) {
557
557
  {
558
558
  if (!f._store || f._store.validated || f.key != null)
559
559
  return;
@@ -573,7 +573,7 @@ Check the top-level render call using <` + _ + ">.");
573
573
  if (vr(f))
574
574
  for (var _ = 0; _ < f.length; _++) {
575
575
  var F = f[_];
576
- Pt(F) && Zt(F, w);
576
+ Pt(F) && Qt(F, w);
577
577
  }
578
578
  else if (Pt(f))
579
579
  f._store && (f._store.validated = !0);
@@ -581,7 +581,7 @@ Check the top-level render call using <` + _ + ">.");
581
581
  var D = m(f);
582
582
  if (typeof D == "function" && D !== f.entries)
583
583
  for (var z = D.call(f), j; !(j = z.next()).done; )
584
- Pt(j.value) && Zt(j.value, w);
584
+ Pt(j.value) && Qt(j.value, w);
585
585
  }
586
586
  }
587
587
  }
@@ -651,8 +651,8 @@ Check the top-level render call using <` + _ + ">.");
651
651
  Dt(xe, f);
652
652
  }
653
653
  if (Le.call(w, "key")) {
654
- var Fe = te(f), ye = Object.keys(w).filter(function(Qt) {
655
- return Qt !== "key";
654
+ var Fe = te(f), ye = Object.keys(w).filter(function(Xt) {
655
+ return Xt !== "key";
656
656
  }), rt = ye.length > 0 ? "{key: someKey, " + ye.join(": ..., ") + ": ...}" : "{key: someKey}";
657
657
  if (!y[Fe + rt]) {
658
658
  var Be = ye.length > 0 ? "{" + ye.join(": ..., ") + ": ...}" : "{}";
@@ -694,10 +694,10 @@ var K = Yn.exports, Ca = class {
694
694
  }
695
695
  onUnsubscribe() {
696
696
  }
697
- }, pr = typeof window > "u" || "Deno" in globalThis;
697
+ }, hr = typeof window > "u" || "Deno" in globalThis;
698
698
  function Zn() {
699
699
  }
700
- function nf(e, t) {
700
+ function af(e, t) {
701
701
  return typeof e == "function" ? e(t) : e;
702
702
  }
703
703
  function Qn(e) {
@@ -712,7 +712,7 @@ function ln(e, t) {
712
712
  function qe(e, t) {
713
713
  return typeof e == "function" ? e(t) : e;
714
714
  }
715
- function af(e, t) {
715
+ function of(e, t) {
716
716
  const {
717
717
  type: r = "all",
718
718
  exact: n,
@@ -735,7 +735,7 @@ function af(e, t) {
735
735
  }
736
736
  return !(typeof s == "boolean" && t.isStale() !== s || a && a !== t.state.fetchStatus || i && !i(t));
737
737
  }
738
- function of(e, t) {
738
+ function sf(e, t) {
739
739
  const { exact: r, status: n, predicate: a, mutationKey: i } = e;
740
740
  if (i) {
741
741
  if (!t.options.mutationKey)
@@ -806,24 +806,24 @@ function Zi(e) {
806
806
  function ta(e, t, r) {
807
807
  return typeof r.structuralSharing == "function" ? r.structuralSharing(e, t) : r.structuralSharing !== !1 ? zo(e, t) : t;
808
808
  }
809
- function sf(e, t, r = 0) {
809
+ function lf(e, t, r = 0) {
810
810
  const n = [...e, t];
811
811
  return r && n.length > r ? n.slice(1) : n;
812
812
  }
813
- function lf(e, t, r = 0) {
813
+ function uf(e, t, r = 0) {
814
814
  const n = [t, ...e];
815
815
  return r && n.length > r ? n.slice(0, -1) : n;
816
816
  }
817
817
  var ra = Symbol(), Qi = (e, t) => (process.env.NODE_ENV !== "production" && e.queryFn === ra && console.error(
818
818
  `Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
819
- ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === ra ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn), $t, Rt, nr, Do, Xi = (Do = class extends Ca {
819
+ ), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === ra ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn), $t, Rt, ar, Do, Xi = (Do = class extends Ca {
820
820
  constructor() {
821
821
  super();
822
822
  ae(this, $t);
823
823
  ae(this, Rt);
824
- ae(this, nr);
825
- W(this, nr, (t) => {
826
- if (!pr && window.addEventListener) {
824
+ ae(this, ar);
825
+ W(this, ar, (t) => {
826
+ if (!hr && window.addEventListener) {
827
827
  const r = () => t();
828
828
  return window.addEventListener("visibilitychange", r, !1), () => {
829
829
  window.removeEventListener("visibilitychange", r);
@@ -832,7 +832,7 @@ var ra = Symbol(), Qi = (e, t) => (process.env.NODE_ENV !== "production" && e.qu
832
832
  });
833
833
  }
834
834
  onSubscribe() {
835
- C(this, Rt) || this.setEventListener(C(this, nr));
835
+ C(this, Rt) || this.setEventListener(C(this, ar));
836
836
  }
837
837
  onUnsubscribe() {
838
838
  var t;
@@ -840,7 +840,7 @@ var ra = Symbol(), Qi = (e, t) => (process.env.NODE_ENV !== "production" && e.qu
840
840
  }
841
841
  setEventListener(t) {
842
842
  var r;
843
- W(this, nr, t), (r = C(this, Rt)) == null || r.call(this), W(this, Rt, t((n) => {
843
+ W(this, ar, t), (r = C(this, Rt)) == null || r.call(this), W(this, Rt, t((n) => {
844
844
  typeof n == "boolean" ? this.setFocused(n) : this.onFocus();
845
845
  }));
846
846
  }
@@ -857,14 +857,14 @@ var ra = Symbol(), Qi = (e, t) => (process.env.NODE_ENV !== "production" && e.qu
857
857
  var t;
858
858
  return typeof C(this, $t) == "boolean" ? C(this, $t) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
859
859
  }
860
- }, $t = new WeakMap(), Rt = new WeakMap(), nr = new WeakMap(), Do), Vo = new Xi(), ar, kt, or, No, Ji = (No = class extends Ca {
860
+ }, $t = new WeakMap(), Rt = new WeakMap(), ar = new WeakMap(), Do), Vo = new Xi(), or, kt, ir, No, Ji = (No = class extends Ca {
861
861
  constructor() {
862
862
  super();
863
- ae(this, ar, !0);
863
+ ae(this, or, !0);
864
864
  ae(this, kt);
865
- ae(this, or);
866
- W(this, or, (t) => {
867
- if (!pr && window.addEventListener) {
865
+ ae(this, ir);
866
+ W(this, ir, (t) => {
867
+ if (!hr && window.addEventListener) {
868
868
  const r = () => t(!0), n = () => t(!1);
869
869
  return window.addEventListener("online", r, !1), window.addEventListener("offline", n, !1), () => {
870
870
  window.removeEventListener("online", r), window.removeEventListener("offline", n);
@@ -873,7 +873,7 @@ var ra = Symbol(), Qi = (e, t) => (process.env.NODE_ENV !== "production" && e.qu
873
873
  });
874
874
  }
875
875
  onSubscribe() {
876
- C(this, kt) || this.setEventListener(C(this, or));
876
+ C(this, kt) || this.setEventListener(C(this, ir));
877
877
  }
878
878
  onUnsubscribe() {
879
879
  var t;
@@ -881,17 +881,17 @@ var ra = Symbol(), Qi = (e, t) => (process.env.NODE_ENV !== "production" && e.qu
881
881
  }
882
882
  setEventListener(t) {
883
883
  var r;
884
- W(this, or, t), (r = C(this, kt)) == null || r.call(this), W(this, kt, t(this.setOnline.bind(this)));
884
+ W(this, ir, t), (r = C(this, kt)) == null || r.call(this), W(this, kt, t(this.setOnline.bind(this)));
885
885
  }
886
886
  setOnline(t) {
887
- C(this, ar) !== t && (W(this, ar, t), this.listeners.forEach((n) => {
887
+ C(this, or) !== t && (W(this, or, t), this.listeners.forEach((n) => {
888
888
  n(t);
889
889
  }));
890
890
  }
891
891
  isOnline() {
892
- return C(this, ar);
892
+ return C(this, or);
893
893
  }
894
- }, ar = new WeakMap(), kt = new WeakMap(), or = new WeakMap(), No), Go = new Ji();
894
+ }, or = new WeakMap(), kt = new WeakMap(), ir = new WeakMap(), No), Go = new Ji();
895
895
  function es(e) {
896
896
  return Math.min(1e3 * 2 ** e, 3e4);
897
897
  }
@@ -945,7 +945,7 @@ function qo(e) {
945
945
  var N;
946
946
  if (n)
947
947
  return;
948
- const P = e.retry ?? (pr ? 0 : 3), U = e.retryDelay ?? es, k = typeof U == "function" ? U(r, T) : U, M = P === !0 || typeof P == "number" && r < P || typeof P == "function" && P(r, T);
948
+ const P = e.retry ?? (hr ? 0 : 3), U = e.retryDelay ?? es, k = typeof U == "function" ? U(r, T) : U, M = P === !0 || typeof P == "number" && r < P || typeof P == "function" && P(r, T);
949
949
  if (t || !M) {
950
950
  g(T);
951
951
  return;
@@ -1028,23 +1028,23 @@ var vn = ts(), Bt, Lo, Ko = (Lo = class {
1028
1028
  updateGcTime(e) {
1029
1029
  this.gcTime = Math.max(
1030
1030
  this.gcTime || 0,
1031
- e ?? (pr ? 1 / 0 : 5 * 60 * 1e3)
1031
+ e ?? (hr ? 1 / 0 : 5 * 60 * 1e3)
1032
1032
  );
1033
1033
  }
1034
1034
  clearGcTimeout() {
1035
1035
  C(this, Bt) && (clearTimeout(C(this, Bt)), W(this, Bt, void 0));
1036
1036
  }
1037
- }, Bt = new WeakMap(), Lo), ir, sr, Ve, Re, $r, zt, He, pt, Io, uf = (Io = class extends Ko {
1037
+ }, Bt = new WeakMap(), Lo), sr, lr, Ve, Re, $r, zt, He, pt, Io, cf = (Io = class extends Ko {
1038
1038
  constructor(t) {
1039
1039
  super();
1040
1040
  ae(this, He);
1041
- ae(this, ir);
1042
1041
  ae(this, sr);
1042
+ ae(this, lr);
1043
1043
  ae(this, Ve);
1044
1044
  ae(this, Re);
1045
1045
  ae(this, $r);
1046
1046
  ae(this, zt);
1047
- W(this, zt, !1), W(this, $r, t.defaultOptions), this.setOptions(t.options), this.observers = [], W(this, Ve, t.cache), this.queryKey = t.queryKey, this.queryHash = t.queryHash, W(this, ir, t.state || rs(this.options)), this.state = C(this, ir), this.scheduleGc();
1047
+ W(this, zt, !1), W(this, $r, t.defaultOptions), this.setOptions(t.options), this.observers = [], W(this, Ve, t.cache), this.queryKey = t.queryKey, this.queryHash = t.queryHash, W(this, sr, t.state || rs(this.options)), this.state = C(this, sr), this.scheduleGc();
1048
1048
  }
1049
1049
  get meta() {
1050
1050
  return this.options.meta;
@@ -1080,7 +1080,7 @@ var vn = ts(), Bt, Lo, Ko = (Lo = class {
1080
1080
  super.destroy(), this.cancel({ silent: !0 });
1081
1081
  }
1082
1082
  reset() {
1083
- this.destroy(), this.setState(C(this, ir));
1083
+ this.destroy(), this.setState(C(this, sr));
1084
1084
  }
1085
1085
  isActive() {
1086
1086
  return this.observers.some(
@@ -1160,7 +1160,7 @@ var vn = ts(), Bt, Lo, Ko = (Lo = class {
1160
1160
  a(o), (l = this.options.behavior) == null || l.onFetch(
1161
1161
  o,
1162
1162
  this
1163
- ), W(this, sr, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((u = o.fetchOptions) == null ? void 0 : u.meta)) && re(this, He, pt).call(this, { type: "fetch", meta: (d = o.fetchOptions) == null ? void 0 : d.meta });
1163
+ ), W(this, lr, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((u = o.fetchOptions) == null ? void 0 : u.meta)) && re(this, He, pt).call(this, { type: "fetch", meta: (d = o.fetchOptions) == null ? void 0 : d.meta });
1164
1164
  const s = (c) => {
1165
1165
  var p, R, g, h;
1166
1166
  jn(c) && c.silent || re(this, He, pt).call(this, {
@@ -1212,7 +1212,7 @@ var vn = ts(), Bt, Lo, Ko = (Lo = class {
1212
1212
  canRun: () => !0
1213
1213
  })), C(this, Re).start();
1214
1214
  }
1215
- }, ir = new WeakMap(), sr = new WeakMap(), Ve = new WeakMap(), Re = new WeakMap(), $r = new WeakMap(), zt = new WeakMap(), He = new WeakSet(), pt = function(t) {
1215
+ }, sr = new WeakMap(), lr = new WeakMap(), Ve = new WeakMap(), Re = new WeakMap(), $r = new WeakMap(), zt = new WeakMap(), He = new WeakSet(), pt = function(t) {
1216
1216
  const r = (n) => {
1217
1217
  switch (t.type) {
1218
1218
  case "failed":
@@ -1254,7 +1254,7 @@ var vn = ts(), Bt, Lo, Ko = (Lo = class {
1254
1254
  };
1255
1255
  case "error":
1256
1256
  const a = t.error;
1257
- return jn(a) && a.revert && C(this, sr) ? { ...C(this, sr), fetchStatus: "idle" } : {
1257
+ return jn(a) && a.revert && C(this, lr) ? { ...C(this, lr), fetchStatus: "idle" } : {
1258
1258
  ...n,
1259
1259
  error: a,
1260
1260
  errorUpdateCount: n.errorUpdateCount + 1,
@@ -1310,7 +1310,7 @@ function rs(e) {
1310
1310
  fetchStatus: "idle"
1311
1311
  };
1312
1312
  }
1313
- var nt, Ae, Vt, at, xt, Mo, cf = (Mo = class extends Ko {
1313
+ var nt, Ae, Vt, at, xt, Mo, df = (Mo = class extends Ko {
1314
1314
  constructor(t) {
1315
1315
  super();
1316
1316
  ae(this, at);
@@ -1507,7 +1507,7 @@ function ns() {
1507
1507
  submittedAt: 0
1508
1508
  };
1509
1509
  }
1510
- var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa, ia, sa, la, ua, Zo, jo, as = (jo = class extends Ca {
1510
+ var Pe, ne, Br, _e, Gt, ur, ot, zr, cr, dr, Ht, Wt, Ct, fr, ie, Pr, na, aa, oa, ia, sa, la, ua, Zo, jo, as = (jo = class extends Ca {
1511
1511
  constructor(t, r) {
1512
1512
  super();
1513
1513
  ae(this, ie);
@@ -1516,17 +1516,17 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1516
1516
  ae(this, Br);
1517
1517
  ae(this, _e);
1518
1518
  ae(this, Gt);
1519
- ae(this, lr);
1519
+ ae(this, ur);
1520
1520
  ae(this, ot);
1521
1521
  ae(this, zr);
1522
- ae(this, ur);
1522
+ ae(this, cr);
1523
1523
  // This property keeps track of the last query with defined data.
1524
1524
  // It will be used to pass the previous data and query to the placeholder function between renders.
1525
- ae(this, cr);
1525
+ ae(this, dr);
1526
1526
  ae(this, Ht);
1527
1527
  ae(this, Wt);
1528
1528
  ae(this, Ct);
1529
- ae(this, dr, /* @__PURE__ */ new Set());
1529
+ ae(this, fr, /* @__PURE__ */ new Set());
1530
1530
  this.options = r, W(this, Pe, t), W(this, ot, null), this.bindMethods(), this.setOptions(r);
1531
1531
  }
1532
1532
  bindMethods() {
@@ -1578,7 +1578,7 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1578
1578
  }
1579
1579
  getOptimisticResult(t) {
1580
1580
  const r = C(this, Pe).getQueryCache().build(C(this, Pe), t), n = this.createResult(r, t);
1581
- return is(this, n) && (W(this, _e, n), W(this, lr, this.options), W(this, Gt, C(this, ne).state)), n;
1581
+ return is(this, n) && (W(this, _e, n), W(this, ur, this.options), W(this, Gt, C(this, ne).state)), n;
1582
1582
  }
1583
1583
  getCurrentResult() {
1584
1584
  return C(this, _e);
@@ -1594,7 +1594,7 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1594
1594
  }), n;
1595
1595
  }
1596
1596
  trackProp(t) {
1597
- C(this, dr).add(t);
1597
+ C(this, fr).add(t);
1598
1598
  }
1599
1599
  getCurrentQuery() {
1600
1600
  return C(this, ne);
@@ -1616,7 +1616,7 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1616
1616
  }
1617
1617
  createResult(t, r) {
1618
1618
  var M;
1619
- const n = C(this, ne), a = this.options, i = C(this, _e), o = C(this, Gt), s = C(this, lr), u = t !== n ? t.state : C(this, Br), { state: d } = t;
1619
+ const n = C(this, ne), a = this.options, i = C(this, _e), o = C(this, Gt), s = C(this, ur), u = t !== n ? t.state : C(this, Br), { state: d } = t;
1620
1620
  let c = { ...d }, p = !1, R;
1621
1621
  if (r._optimisticResults) {
1622
1622
  const N = this.hasListeners(), L = !N && Ya(t, r), ee = N && Za(t, n, r, a);
@@ -1628,10 +1628,10 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1628
1628
  let { error: g, errorUpdatedAt: h, status: m } = c;
1629
1629
  if (r.select && c.data !== void 0)
1630
1630
  if (i && c.data === (o == null ? void 0 : o.data) && r.select === C(this, zr))
1631
- R = C(this, ur);
1631
+ R = C(this, cr);
1632
1632
  else
1633
1633
  try {
1634
- W(this, zr, r.select), R = r.select(c.data), R = ta(i == null ? void 0 : i.data, R, r), W(this, ur, R), W(this, ot, null);
1634
+ W(this, zr, r.select), R = r.select(c.data), R = ta(i == null ? void 0 : i.data, R, r), W(this, cr, R), W(this, ot, null);
1635
1635
  } catch (N) {
1636
1636
  W(this, ot, N);
1637
1637
  }
@@ -1642,8 +1642,8 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1642
1642
  if (i != null && i.isPlaceholderData && r.placeholderData === (s == null ? void 0 : s.placeholderData))
1643
1643
  N = i.data;
1644
1644
  else if (N = typeof r.placeholderData == "function" ? r.placeholderData(
1645
- (M = C(this, cr)) == null ? void 0 : M.state.data,
1646
- C(this, cr)
1645
+ (M = C(this, dr)) == null ? void 0 : M.state.data,
1646
+ C(this, dr)
1647
1647
  ) : r.placeholderData, r.select && N !== void 0)
1648
1648
  try {
1649
1649
  N = r.select(N), W(this, ot, null);
@@ -1656,7 +1656,7 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1656
1656
  r
1657
1657
  ), p = !0);
1658
1658
  }
1659
- C(this, ot) && (g = C(this, ot), R = C(this, ur), h = Date.now(), m = "error");
1659
+ C(this, ot) && (g = C(this, ot), R = C(this, cr), h = Date.now(), m = "error");
1660
1660
  const E = c.fetchStatus === "fetching", b = m === "pending", T = m === "error", P = b && E, U = R !== void 0;
1661
1661
  return {
1662
1662
  status: m,
@@ -1687,17 +1687,17 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1687
1687
  }
1688
1688
  updateResult(t) {
1689
1689
  const r = C(this, _e), n = this.createResult(C(this, ne), this.options);
1690
- if (W(this, Gt, C(this, ne).state), W(this, lr, this.options), C(this, Gt).data !== void 0 && W(this, cr, C(this, ne)), Jn(n, r))
1690
+ if (W(this, Gt, C(this, ne).state), W(this, ur, this.options), C(this, Gt).data !== void 0 && W(this, dr, C(this, ne)), Jn(n, r))
1691
1691
  return;
1692
1692
  W(this, _e, n);
1693
1693
  const a = {}, i = () => {
1694
1694
  if (!r)
1695
1695
  return !0;
1696
1696
  const { notifyOnChangeProps: o } = this.options, s = typeof o == "function" ? o() : o;
1697
- if (s === "all" || !s && !C(this, dr).size)
1697
+ if (s === "all" || !s && !C(this, fr).size)
1698
1698
  return !0;
1699
1699
  const l = new Set(
1700
- s ?? C(this, dr)
1700
+ s ?? C(this, fr)
1701
1701
  );
1702
1702
  return this.options.throwOnError && l.add("error"), Object.keys(C(this, _e)).some((u) => {
1703
1703
  const d = u;
@@ -1709,7 +1709,7 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1709
1709
  onQueryUpdate() {
1710
1710
  this.updateResult(), this.hasListeners() && re(this, ie, ia).call(this);
1711
1711
  }
1712
- }, Pe = new WeakMap(), ne = new WeakMap(), Br = new WeakMap(), _e = new WeakMap(), Gt = new WeakMap(), lr = new WeakMap(), ot = new WeakMap(), zr = new WeakMap(), ur = new WeakMap(), cr = new WeakMap(), Ht = new WeakMap(), Wt = new WeakMap(), Ct = new WeakMap(), dr = new WeakMap(), ie = new WeakSet(), Pr = function(t) {
1712
+ }, Pe = new WeakMap(), ne = new WeakMap(), Br = new WeakMap(), _e = new WeakMap(), Gt = new WeakMap(), ur = new WeakMap(), ot = new WeakMap(), zr = new WeakMap(), cr = new WeakMap(), dr = new WeakMap(), Ht = new WeakMap(), Wt = new WeakMap(), Ct = new WeakMap(), fr = new WeakMap(), ie = new WeakSet(), Pr = function(t) {
1713
1713
  re(this, ie, ua).call(this);
1714
1714
  let r = C(this, ne).fetch(
1715
1715
  this.options,
@@ -1722,7 +1722,7 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1722
1722
  this.options.staleTime,
1723
1723
  C(this, ne)
1724
1724
  );
1725
- if (pr || C(this, _e).isStale || !Qn(t))
1725
+ if (hr || C(this, _e).isStale || !Qn(t))
1726
1726
  return;
1727
1727
  const n = Bo(C(this, _e).dataUpdatedAt, t) + 1;
1728
1728
  W(this, Ht, setTimeout(() => {
@@ -1731,7 +1731,7 @@ var Pe, ne, Br, _e, Gt, lr, ot, zr, ur, cr, Ht, Wt, Ct, dr, ie, Pr, na, aa, oa,
1731
1731
  }, aa = function() {
1732
1732
  return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(C(this, ne)) : this.options.refetchInterval) ?? !1;
1733
1733
  }, oa = function(t) {
1734
- re(this, ie, la).call(this), W(this, Ct, t), !(pr || qe(this.options.enabled, C(this, ne)) === !1 || !Qn(C(this, Ct)) || C(this, Ct) === 0) && W(this, Wt, setInterval(() => {
1734
+ re(this, ie, la).call(this), W(this, Ct, t), !(hr || qe(this.options.enabled, C(this, ne)) === !1 || !Qn(C(this, Ct)) || C(this, Ct) === 0) && W(this, Wt, setInterval(() => {
1735
1735
  (this.options.refetchIntervalInBackground || Vo.isFocused()) && re(this, ie, Pr).call(this);
1736
1736
  }, C(this, Ct)));
1737
1737
  }, ia = function() {
@@ -1785,7 +1785,7 @@ var Qo = x.createContext(
1785
1785
  if (!t)
1786
1786
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
1787
1787
  return t;
1788
- }, df = ({
1788
+ }, ff = ({
1789
1789
  client: e,
1790
1790
  children: t
1791
1791
  }) => (x.useEffect(() => (e.mount(), () => {
@@ -1808,7 +1808,7 @@ var cs = x.createContext(us()), ds = () => x.useContext(cs);
1808
1808
  function fs(e, t) {
1809
1809
  return typeof e == "function" ? e(...t) : !!e;
1810
1810
  }
1811
- function ff() {
1811
+ function pf() {
1812
1812
  }
1813
1813
  var ps = (e, t) => {
1814
1814
  (e.suspense || e.throwOnError) && (t.isReset() || (e.retryOnMount = !1));
@@ -2017,14 +2017,14 @@ var ei = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
2017
2017
  }, Fs = Object.entries(_a).reduce(
2018
2018
  (e, [t, r]) => (e[r] = t, e),
2019
2019
  {}
2020
- ), Ke = "data-rh", tr = {
2020
+ ), Ke = "data-rh", rr = {
2021
2021
  DEFAULT_TITLE: "defaultTitle",
2022
2022
  DEFER: "defer",
2023
2023
  ENCODE_SPECIAL_CHARACTERS: "encodeSpecialCharacters",
2024
2024
  ON_CHANGE_CLIENT_STATE: "onChangeClientState",
2025
2025
  TITLE_TEMPLATE: "titleTemplate",
2026
2026
  PRIORITIZE_SEO_TAGS: "prioritizeSeoTags"
2027
- }, rr = (e, t) => {
2027
+ }, nr = (e, t) => {
2028
2028
  for (let r = e.length - 1; r >= 0; r -= 1) {
2029
2029
  const n = e[r];
2030
2030
  if (Object.prototype.hasOwnProperty.call(n, t))
@@ -2032,17 +2032,17 @@ var ei = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
2032
2032
  }
2033
2033
  return null;
2034
2034
  }, Ps = (e) => {
2035
- let t = rr(
2035
+ let t = nr(
2036
2036
  e,
2037
2037
  "title"
2038
2038
  /* TITLE */
2039
2039
  );
2040
- const r = rr(e, tr.TITLE_TEMPLATE);
2040
+ const r = nr(e, rr.TITLE_TEMPLATE);
2041
2041
  if (Array.isArray(t) && (t = t.join("")), r && t)
2042
2042
  return r.replace(/%s/g, () => t);
2043
- const n = rr(e, tr.DEFAULT_TITLE);
2043
+ const n = nr(e, rr.DEFAULT_TITLE);
2044
2044
  return t || n || void 0;
2045
- }, Ds = (e) => rr(e, tr.ON_CHANGE_CLIENT_STATE) || (() => {
2045
+ }, Ds = (e) => nr(e, rr.ON_CHANGE_CLIENT_STATE) || (() => {
2046
2046
  }), $n = (e, t) => t.filter((r) => typeof r[e] < "u").map((r) => r[e]).reduce((r, n) => ({ ...r, ...n }), {}), Ns = (e, t) => t.filter((r) => typeof r.base < "u").map((r) => r.base).reverse().reduce((r, n) => {
2047
2047
  if (!r.length) {
2048
2048
  const a = Object.keys(n);
@@ -2094,8 +2094,8 @@ var ei = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
2094
2094
  /* HREF */
2095
2095
  ], e),
2096
2096
  bodyAttributes: $n("bodyAttributes", e),
2097
- defer: rr(e, tr.DEFER),
2098
- encode: rr(e, tr.ENCODE_SPECIAL_CHARACTERS),
2097
+ defer: nr(e, rr.DEFER),
2098
+ encode: nr(e, rr.ENCODE_SPECIAL_CHARACTERS),
2099
2099
  htmlAttributes: $n("htmlAttributes", e),
2100
2100
  linkTags: kr(
2101
2101
  "link",
@@ -2138,7 +2138,7 @@ var ei = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
2138
2138
  ], e),
2139
2139
  title: Ps(e),
2140
2140
  titleAttributes: $n("titleAttributes", e),
2141
- prioritizeSeoTags: Is(e, tr.PRIORITIZE_SEO_TAGS)
2141
+ prioritizeSeoTags: Is(e, rr.PRIORITIZE_SEO_TAGS)
2142
2142
  }), ti = (e) => Array.isArray(e) ? e.join("") : e, js = (e, t) => {
2143
2143
  const r = Object.keys(e);
2144
2144
  for (let n = 0; n < r.length; n += 1)
@@ -2311,7 +2311,7 @@ var ei = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
2311
2311
  render() {
2312
2312
  return /* @__PURE__ */ De.createElement(oi.Provider, { value: this.helmetData.value }, this.props.children);
2313
2313
  }
2314
- }, dt(qt, "canUseDOM", ai), qt), Xt = (e, t) => {
2314
+ }, dt(qt, "canUseDOM", ai), qt), Jt = (e, t) => {
2315
2315
  const r = document.head || document.querySelector(
2316
2316
  "head"
2317
2317
  /* HEAD */
@@ -2369,12 +2369,12 @@ var ei = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
2369
2369
  } = e;
2370
2370
  ha("body", n), ha("html", a), Ws(c, p);
2371
2371
  const R = {
2372
- baseTag: Xt("base", r),
2373
- linkTags: Xt("link", i),
2374
- metaTags: Xt("meta", o),
2375
- noscriptTags: Xt("noscript", s),
2376
- scriptTags: Xt("script", u),
2377
- styleTags: Xt("style", d)
2372
+ baseTag: Jt("base", r),
2373
+ linkTags: Jt("link", i),
2374
+ metaTags: Jt("meta", o),
2375
+ noscriptTags: Jt("noscript", s),
2376
+ scriptTags: Jt("script", u),
2377
+ styleTags: Jt("style", d)
2378
2378
  }, g = {}, h = {};
2379
2379
  Object.keys(R).forEach((m) => {
2380
2380
  const { newTags: E, oldTags: b } = R[m];
@@ -2548,7 +2548,7 @@ var ei = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
2548
2548
  encodeSpecialCharacters: !0,
2549
2549
  prioritizeSeoTags: !1
2550
2550
  }), Wn);
2551
- const hf = Ys, gf = ii;
2551
+ const gf = Ys, yf = ii;
2552
2552
  /**
2553
2553
  * @remix-run/router v1.17.1
2554
2554
  *
@@ -2866,12 +2866,12 @@ function dl(e, t, r) {
2866
2866
  routesMeta: n
2867
2867
  } = e, a = {}, i = "/", o = [];
2868
2868
  for (let s = 0; s < n.length; ++s) {
2869
- let l = n[s], u = s === n.length - 1, d = i === "/" ? t : t.slice(i.length) || "/", c = hr({
2869
+ let l = n[s], u = s === n.length - 1, d = i === "/" ? t : t.slice(i.length) || "/", c = gr({
2870
2870
  path: l.relativePath,
2871
2871
  caseSensitive: l.caseSensitive,
2872
2872
  end: u
2873
2873
  }, d), p = l.route;
2874
- if (!c && u && r && !n[n.length - 1].route.index && (c = hr({
2874
+ if (!c && u && r && !n[n.length - 1].route.index && (c = gr({
2875
2875
  path: l.relativePath,
2876
2876
  caseSensitive: l.caseSensitive,
2877
2877
  end: !1
@@ -2887,7 +2887,7 @@ function dl(e, t, r) {
2887
2887
  }
2888
2888
  return o;
2889
2889
  }
2890
- function hr(e, t) {
2890
+ function gr(e, t) {
2891
2891
  typeof e == "string" && (e = {
2892
2892
  path: e,
2893
2893
  caseSensitive: !1,
@@ -3054,7 +3054,7 @@ function Cl(e) {
3054
3054
  [S.id]: y
3055
3055
  };
3056
3056
  }
3057
- b && d && Zt(b, o, e.history.location.pathname).active && (b = null);
3057
+ b && d && Qt(b, o, e.history.location.pathname).active && (b = null);
3058
3058
  let P;
3059
3059
  if (!b)
3060
3060
  P = !1, b = [];
@@ -3135,7 +3135,7 @@ function Cl(e) {
3135
3135
  initialHydration: !0
3136
3136
  }), U;
3137
3137
  }
3138
- function Kt() {
3138
+ function Yt() {
3139
3139
  p && p(), G && G(), R.clear(), L && L.abort(), k.fetchers.forEach((y, v) => mt(v)), k.blockers.forEach((y, v) => Zr(v));
3140
3140
  }
3141
3141
  function _n(y) {
@@ -3245,7 +3245,7 @@ function Cl(e) {
3245
3245
  flushSync: z
3246
3246
  });
3247
3247
  }
3248
- function Yt() {
3248
+ function Zt() {
3249
3249
  if (ut(), Ee({
3250
3250
  revalidation: "loading"
3251
3251
  }), k.navigation.state !== "submitting") {
@@ -3262,7 +3262,7 @@ function Cl(e) {
3262
3262
  }
3263
3263
  async function Le(y, v, S) {
3264
3264
  L && L.abort(), L = null, M = y, te = (S && S.startUninterruptedRevalidation) === !0, Jr(k.location, k.matches), N = (S && S.preventScrollReset) === !0, ee = (S && S.enableViewTransition) === !0;
3265
- let A = s || o, I = S && S.overrideNavigation, B = Lt(A, v, l), f = (S && S.flushSync) === !0, w = Zt(B, A, v.pathname);
3265
+ let A = s || o, I = S && S.overrideNavigation, B = Lt(A, v, l), f = (S && S.flushSync) === !0, w = Qt(B, A, v.pathname);
3266
3266
  if (w.active && w.matches && (B = w.matches), !B) {
3267
3267
  let {
3268
3268
  error: q,
@@ -3289,7 +3289,7 @@ function Cl(e) {
3289
3289
  return;
3290
3290
  }
3291
3291
  L = new AbortController();
3292
- let _ = Jt(e.history, v, L.signal, S && S.submission), F;
3292
+ let _ = er(e.history, v, L.signal, S && S.submission), F;
3293
3293
  if (S && S.pendingError)
3294
3294
  F = [Nr(B).route.id, {
3295
3295
  type: ue.error,
@@ -3315,7 +3315,7 @@ function Cl(e) {
3315
3315
  return;
3316
3316
  }
3317
3317
  }
3318
- B = q.matches || B, F = q.pendingActionResult, I = Gn(v, S.submission), f = !1, w.active = !1, _ = Jt(e.history, _.url, _.signal);
3318
+ B = q.matches || B, F = q.pendingActionResult, I = Gn(v, S.submission), f = !1, w.active = !1, _ = er(e.history, _.url, _.signal);
3319
3319
  }
3320
3320
  let {
3321
3321
  shortCircuited: D,
@@ -3532,7 +3532,7 @@ function Cl(e) {
3532
3532
  [he]: Ie
3533
3533
  });
3534
3534
  });
3535
- let Qt = Kr(), tn = Yr(Se), rn = Qt || tn || Z.length > 0;
3535
+ let Xt = Kr(), tn = Yr(Se), rn = Xt || tn || Z.length > 0;
3536
3536
  return pe({
3537
3537
  matches: S,
3538
3538
  loaderData: rt,
@@ -3559,7 +3559,7 @@ function Cl(e) {
3559
3559
  if (n)
3560
3560
  throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");
3561
3561
  oe.has(y) && et(y);
3562
- let I = (A && A.unstable_flushSync) === !0, B = s || o, f = ga(k.location, k.matches, l, c.v7_prependBasename, S, c.v7_relativeSplatPath, v, A == null ? void 0 : A.relative), w = Lt(B, f, l), _ = Zt(w, B, f);
3562
+ let I = (A && A.unstable_flushSync) === !0, B = s || o, f = ga(k.location, k.matches, l, c.v7_prependBasename, S, c.v7_relativeSplatPath, v, A == null ? void 0 : A.relative), w = Lt(B, f, l), _ = Qt(w, B, f);
3563
3563
  if (_.active && _.matches && (w = _.matches), !w) {
3564
3564
  $e(y, v, Oe(404, {
3565
3565
  pathname: f
@@ -3610,7 +3610,7 @@ function Cl(e) {
3610
3610
  Je(y, Vl(w, F), {
3611
3611
  flushSync: f
3612
3612
  });
3613
- let D = new AbortController(), z = Jt(e.history, S, D.signal, w);
3613
+ let D = new AbortController(), z = er(e.history, S, D.signal, w);
3614
3614
  if (B) {
3615
3615
  let le = await Dt(I, S, z.signal);
3616
3616
  if (le.type === "aborted")
@@ -3664,7 +3664,7 @@ function Cl(e) {
3664
3664
  throw Oe(400, {
3665
3665
  type: "defer-action"
3666
3666
  });
3667
- let X = k.navigation.location || k.location, Z = Jt(e.history, X, D.signal), xe = s || o, Te = k.navigation.state !== "idle" ? Lt(xe, k.navigation.location, l) : k.matches;
3667
+ let X = k.navigation.location || k.location, Z = er(e.history, X, D.signal), xe = s || o, Te = k.navigation.state !== "idle" ? Lt(xe, k.navigation.location, l) : k.matches;
3668
3668
  V(Te, "Didn't find any matches after fetcher action");
3669
3669
  let Fe = ++fe;
3670
3670
  ge.set(y, Fe);
@@ -3677,15 +3677,15 @@ function Cl(e) {
3677
3677
  }), Ee({
3678
3678
  fetchers: new Map(k.fetchers)
3679
3679
  });
3680
- let Qt = () => Be.forEach((le) => et(le.key));
3681
- D.signal.addEventListener("abort", Qt);
3680
+ let Xt = () => Be.forEach((le) => et(le.key));
3681
+ D.signal.addEventListener("abort", Xt);
3682
3682
  let {
3683
3683
  loaderResults: tn,
3684
3684
  fetcherResults: rn
3685
3685
  } = await wr(k.matches, Te, rt, Be, Z);
3686
3686
  if (D.signal.aborted)
3687
3687
  return;
3688
- D.signal.removeEventListener("abort", Qt), ge.delete(y), oe.delete(y), Be.forEach((le) => oe.delete(le.key));
3688
+ D.signal.removeEventListener("abort", Xt), ge.delete(y), oe.delete(y), Be.forEach((le) => oe.delete(le.key));
3689
3689
  let J = yo([...tn, ...rn]);
3690
3690
  if (J) {
3691
3691
  if (J.idx >= rt.length) {
@@ -3718,7 +3718,7 @@ function Cl(e) {
3718
3718
  Je(y, Ar(w, _ ? _.data : void 0), {
3719
3719
  flushSync: f
3720
3720
  });
3721
- let F = new AbortController(), D = Jt(e.history, S, F.signal);
3721
+ let F = new AbortController(), D = er(e.history, S, F.signal);
3722
3722
  if (B) {
3723
3723
  let q = await Dt(I, S, D.signal);
3724
3724
  if (q.type === "aborted")
@@ -3841,7 +3841,7 @@ function Cl(e) {
3841
3841
  async function wr(y, v, S, A, I) {
3842
3842
  let [B, ...f] = await Promise.all([S.length ? yt("loader", I, S, v) : [], ...A.map((w) => {
3843
3843
  if (w.matches && w.match && w.controller) {
3844
- let _ = Jt(e.history, w.path, w.controller.signal);
3844
+ let _ = er(e.history, w.path, w.controller.signal);
3845
3845
  return yt("loader", _, [w.match], w.matches).then((F) => F[0]);
3846
3846
  } else
3847
3847
  return Promise.resolve({
@@ -4017,7 +4017,7 @@ function Cl(e) {
4017
4017
  }
4018
4018
  return null;
4019
4019
  }
4020
- function Zt(y, v, S) {
4020
+ function Qt(y, v, S) {
4021
4021
  if (d)
4022
4022
  if (y) {
4023
4023
  let A = y[y.length - 1].route;
@@ -4113,14 +4113,14 @@ function Cl(e) {
4113
4113
  enableScrollRestoration: Qr,
4114
4114
  navigate: Gr,
4115
4115
  fetch: Fn,
4116
- revalidate: Yt,
4116
+ revalidate: Zt,
4117
4117
  // Passthrough to history-aware createHref used by useHref so we get proper
4118
4118
  // hash-aware URLs in DOM paths
4119
4119
  createHref: (y) => e.history.createHref(y),
4120
4120
  encodeLocation: (y) => e.history.encodeLocation(y),
4121
4121
  getFetcher: Er,
4122
4122
  deleteFetcher: Dn,
4123
- dispose: Kt,
4123
+ dispose: Yt,
4124
4124
  getBlocker: Nn,
4125
4125
  deleteBlocker: Zr,
4126
4126
  patchRoutes: In,
@@ -4548,7 +4548,7 @@ function uo(e, t, r) {
4548
4548
  }
4549
4549
  return e;
4550
4550
  }
4551
- function Jt(e, t, r, n) {
4551
+ function er(e, t, r, n) {
4552
4552
  let a = e.createURL(hi(t)).toString(), i = {
4553
4553
  signal: r
4554
4554
  };
@@ -4928,8 +4928,8 @@ function gn() {
4928
4928
  return e;
4929
4929
  }, gn.apply(this, arguments);
4930
4930
  }
4931
- const gr = /* @__PURE__ */ x.createContext(null);
4932
- process.env.NODE_ENV !== "production" && (gr.displayName = "DataRouter");
4931
+ const yr = /* @__PURE__ */ x.createContext(null);
4932
+ process.env.NODE_ENV !== "production" && (yr.displayName = "DataRouter");
4933
4933
  const Sn = /* @__PURE__ */ x.createContext(null);
4934
4934
  process.env.NODE_ENV !== "production" && (Sn.displayName = "DataRouterState");
4935
4935
  const Wl = /* @__PURE__ */ x.createContext(null);
@@ -4950,7 +4950,7 @@ function ql(e, t) {
4950
4950
  let {
4951
4951
  relative: r
4952
4952
  } = t === void 0 ? {} : t;
4953
- yr() || (process.env.NODE_ENV !== "production" ? V(
4953
+ mr() || (process.env.NODE_ENV !== "production" ? V(
4954
4954
  !1,
4955
4955
  // TODO: This error is probably because they somehow have 2 versions of the
4956
4956
  // router loaded. We can help them understand how to avoid that.
@@ -4972,11 +4972,11 @@ function ql(e, t) {
4972
4972
  hash: i
4973
4973
  });
4974
4974
  }
4975
- function yr() {
4975
+ function mr() {
4976
4976
  return x.useContext(Rn) != null;
4977
4977
  }
4978
4978
  function ht() {
4979
- return yr() || (process.env.NODE_ENV !== "production" ? V(
4979
+ return mr() || (process.env.NODE_ENV !== "production" ? V(
4980
4980
  !1,
4981
4981
  // TODO: This error is probably because they somehow have 2 versions of the
4982
4982
  // router loaded. We can help them understand how to avoid that.
@@ -4994,13 +4994,13 @@ function vi() {
4994
4994
  return e ? lu() : Kl();
4995
4995
  }
4996
4996
  function Kl() {
4997
- yr() || (process.env.NODE_ENV !== "production" ? V(
4997
+ mr() || (process.env.NODE_ENV !== "production" ? V(
4998
4998
  !1,
4999
4999
  // TODO: This error is probably because they somehow have 2 versions of the
5000
5000
  // router loaded. We can help them understand how to avoid that.
5001
5001
  "useNavigate() may be used only in the context of a <Router> component."
5002
5002
  ) : V(!1));
5003
- let e = x.useContext(gr), {
5003
+ let e = x.useContext(yr), {
5004
5004
  basename: t,
5005
5005
  future: r,
5006
5006
  navigator: n
@@ -5041,7 +5041,7 @@ function Vr(e, t) {
5041
5041
  return x.useMemo(() => En(e, JSON.parse(o), i, r === "path"), [e, o, i, r]);
5042
5042
  }
5043
5043
  function Ql(e, t, r, n) {
5044
- yr() || (process.env.NODE_ENV !== "production" ? V(
5044
+ mr() || (process.env.NODE_ENV !== "production" ? V(
5045
5045
  !1,
5046
5046
  // TODO: This error is probably because they somehow have 2 versions of the
5047
5047
  // router loaded. We can help them understand how to avoid that.
@@ -5144,7 +5144,7 @@ function tu(e) {
5144
5144
  routeContext: t,
5145
5145
  match: r,
5146
5146
  children: n
5147
- } = e, a = x.useContext(gr);
5147
+ } = e, a = x.useContext(yr);
5148
5148
  return a && a.static && a.staticContext && (r.route.errorElement || r.route.ErrorBoundary) && (a.staticContext._deepestRenderedBoundaryId = r.route.id), /* @__PURE__ */ x.createElement(Ze.Provider, {
5149
5149
  value: t
5150
5150
  }, n);
@@ -5216,7 +5216,7 @@ function Na(e) {
5216
5216
  return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
5217
5217
  }
5218
5218
  function nu(e) {
5219
- let t = x.useContext(gr);
5219
+ let t = x.useContext(yr);
5220
5220
  return t || (process.env.NODE_ENV !== "production" ? V(!1, Na(e)) : V(!1)), t;
5221
5221
  }
5222
5222
  function au(e) {
@@ -5255,14 +5255,14 @@ const vo = {};
5255
5255
  function Ei(e, t, r) {
5256
5256
  !t && !vo[e] && (vo[e] = !0, process.env.NODE_ENV !== "production" && we(!1, r));
5257
5257
  }
5258
- function yf(e) {
5258
+ function mf(e) {
5259
5259
  let {
5260
5260
  to: t,
5261
5261
  replace: r,
5262
5262
  state: n,
5263
5263
  relative: a
5264
5264
  } = e;
5265
- yr() || (process.env.NODE_ENV !== "production" ? V(
5265
+ mr() || (process.env.NODE_ENV !== "production" ? V(
5266
5266
  !1,
5267
5267
  // TODO: This error is probably because they somehow have 2 versions of
5268
5268
  // the router loaded. We can help them understand how to avoid that.
@@ -5284,7 +5284,7 @@ function yf(e) {
5284
5284
  relative: a
5285
5285
  }), [u, c, a, r, n]), null;
5286
5286
  }
5287
- function mf(e) {
5287
+ function bf(e) {
5288
5288
  return Zl(e.context);
5289
5289
  }
5290
5290
  function uu(e) {
@@ -5297,7 +5297,7 @@ function uu(e) {
5297
5297
  static: o = !1,
5298
5298
  future: s
5299
5299
  } = e;
5300
- yr() && (process.env.NODE_ENV !== "production" ? V(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.") : V(!1));
5300
+ mr() && (process.env.NODE_ENV !== "production" ? V(!1, "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.") : V(!1));
5301
5301
  let l = t.replace(/^\/*/, "/"), u = x.useMemo(() => ({
5302
5302
  basename: l,
5303
5303
  navigator: i,
@@ -5457,7 +5457,7 @@ try {
5457
5457
  window.__reactRouterVersion = xu;
5458
5458
  } catch {
5459
5459
  }
5460
- function bf(e, t) {
5460
+ function vf(e, t) {
5461
5461
  return Cl({
5462
5462
  basename: void 0,
5463
5463
  future: At({}, void 0, {
@@ -5529,7 +5529,7 @@ class Au {
5529
5529
  });
5530
5530
  }
5531
5531
  }
5532
- function vf(e) {
5532
+ function wf(e) {
5533
5533
  let {
5534
5534
  fallbackElement: t,
5535
5535
  router: r,
@@ -5630,7 +5630,7 @@ function vf(e) {
5630
5630
  static: !1,
5631
5631
  basename: U
5632
5632
  }), [r, P, U]);
5633
- return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(gr.Provider, {
5633
+ return /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(yr.Provider, {
5634
5634
  value: k
5635
5635
  }, /* @__PURE__ */ x.createElement(Sn.Provider, {
5636
5636
  value: a
@@ -5794,7 +5794,7 @@ function Nu(e) {
5794
5794
  return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
5795
5795
  }
5796
5796
  function Si(e) {
5797
- let t = x.useContext(gr);
5797
+ let t = x.useContext(yr);
5798
5798
  return t || (process.env.NODE_ENV !== "production" ? V(!1, Nu(e)) : V(!1)), t;
5799
5799
  }
5800
5800
  function Lu(e, t) {
@@ -5896,7 +5896,7 @@ function Bu(e, t) {
5896
5896
  if (!r.isTransitioning)
5897
5897
  return !1;
5898
5898
  let i = Ye(r.currentLocation.pathname, n) || r.currentLocation.pathname, o = Ye(r.nextLocation.pathname, n) || r.nextLocation.pathname;
5899
- return hr(a.pathname, o) != null || hr(a.pathname, i) != null;
5899
+ return gr(a.pathname, o) != null || gr(a.pathname, i) != null;
5900
5900
  }
5901
5901
  function Ri(e) {
5902
5902
  var t, r, n = "";
@@ -6162,13 +6162,13 @@ function ft(e) {
6162
6162
  return jt(e) || rc.has(e) || tc.test(e);
6163
6163
  }
6164
6164
  function wt(e) {
6165
- return mr(e, "length", gc);
6165
+ return br(e, "length", gc);
6166
6166
  }
6167
6167
  function jt(e) {
6168
6168
  return !!e && !Number.isNaN(Number(e));
6169
6169
  }
6170
6170
  function on(e) {
6171
- return mr(e, "number", jt);
6171
+ return br(e, "number", jt);
6172
6172
  }
6173
6173
  function Or(e) {
6174
6174
  return !!e && Number.isInteger(Number(e));
@@ -6184,22 +6184,22 @@ function Et(e) {
6184
6184
  }
6185
6185
  const uc = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
6186
6186
  function cc(e) {
6187
- return mr(e, uc, _i);
6187
+ return br(e, uc, _i);
6188
6188
  }
6189
6189
  function dc(e) {
6190
- return mr(e, "position", _i);
6190
+ return br(e, "position", _i);
6191
6191
  }
6192
6192
  const fc = /* @__PURE__ */ new Set(["image", "url"]);
6193
6193
  function pc(e) {
6194
- return mr(e, fc, mc);
6194
+ return br(e, fc, mc);
6195
6195
  }
6196
6196
  function hc(e) {
6197
- return mr(e, "", yc);
6197
+ return br(e, "", yc);
6198
6198
  }
6199
6199
  function Fr() {
6200
6200
  return !0;
6201
6201
  }
6202
- function mr(e, t, r) {
6202
+ function br(e, t, r) {
6203
6203
  const n = Ai.exec(e);
6204
6204
  return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
6205
6205
  }
@@ -8245,7 +8245,7 @@ const Oi = xa(
8245
8245
  );
8246
8246
  return e;
8247
8247
  }, Ec = () => {
8248
- const e = fr(null), { observe: t, unobserve: r } = wc();
8248
+ const e = pr(null), { observe: t, unobserve: r } = wc();
8249
8249
  return Lr(() => {
8250
8250
  const a = e.current;
8251
8251
  if (a)
@@ -8253,10 +8253,10 @@ const Oi = xa(
8253
8253
  }, [t, r]), { ref: Ir((a) => {
8254
8254
  a && (e.current = a);
8255
8255
  }, []) };
8256
- }, wf = ({
8256
+ }, Ef = ({
8257
8257
  children: e
8258
8258
  }) => {
8259
- const [t, r] = bn(""), n = fr(null), a = fr(/* @__PURE__ */ new Set());
8259
+ const [t, r] = bn(""), n = pr(null), a = pr(/* @__PURE__ */ new Set());
8260
8260
  Lr(() => (n.current = new IntersectionObserver(
8261
8261
  (s) => {
8262
8262
  for (const l of s)
@@ -8312,7 +8312,7 @@ const Oi = xa(
8312
8312
  default:
8313
8313
  return "h1";
8314
8314
  }
8315
- }, er = ({
8315
+ }, tr = ({
8316
8316
  level: e,
8317
8317
  children: t,
8318
8318
  id: r,
@@ -10856,7 +10856,7 @@ var Dc = {
10856
10856
  }, Co = hd, gd = (e, t) => {
10857
10857
  const [r, n] = bn(
10858
10858
  Co(t, e)
10859
- ), a = fr(), i = fr();
10859
+ ), a = pr(), i = pr();
10860
10860
  return Lr(() => {
10861
10861
  (t !== a.current || e !== i.current) && (a.current = t, i.current = e, n(Co(t, e)));
10862
10862
  }, [e, t]), r;
@@ -10937,7 +10937,7 @@ var Dc = {
10937
10937
  }
10938
10938
  return To(s), l;
10939
10939
  }, _o = vd, wd = ({ prism: e, code: t, grammar: r, language: n }) => {
10940
- const a = fr(e);
10940
+ const a = pr(e);
10941
10941
  return qn(() => {
10942
10942
  if (r == null)
10943
10943
  return _o([t]);
@@ -11046,7 +11046,7 @@ const kd = Uo(
11046
11046
  * This source code is licensed under the ISC license.
11047
11047
  * See the LICENSE file in the root directory of this source tree.
11048
11048
  */
11049
- const br = (e, t) => {
11049
+ const Kt = (e, t) => {
11050
11050
  const r = Uo(
11051
11051
  ({ className: n, ...a }, i) => hn(kd, {
11052
11052
  ref: i,
@@ -11063,14 +11063,14 @@ const br = (e, t) => {
11063
11063
  * This source code is licensed under the ISC license.
11064
11064
  * See the LICENSE file in the root directory of this source tree.
11065
11065
  */
11066
- const Cd = br("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
11066
+ const Cd = Kt("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
11067
11067
  /**
11068
11068
  * @license lucide-react v0.378.0 - ISC
11069
11069
  *
11070
11070
  * This source code is licensed under the ISC license.
11071
11071
  * See the LICENSE file in the root directory of this source tree.
11072
11072
  */
11073
- const Td = br("Copy", [
11073
+ const Td = Kt("Copy", [
11074
11074
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
11075
11075
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
11076
11076
  ]);
@@ -11080,7 +11080,7 @@ const Td = br("Copy", [
11080
11080
  * This source code is licensed under the ISC license.
11081
11081
  * See the LICENSE file in the root directory of this source tree.
11082
11082
  */
11083
- const Oo = br("Info", [
11083
+ const Oo = Kt("Info", [
11084
11084
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
11085
11085
  ["path", { d: "M12 16v-4", key: "1dtifu" }],
11086
11086
  ["path", { d: "M12 8h.01", key: "e9boi3" }]
@@ -11091,7 +11091,7 @@ const Oo = br("Info", [
11091
11091
  * This source code is licensed under the ISC license.
11092
11092
  * See the LICENSE file in the root directory of this source tree.
11093
11093
  */
11094
- const Ad = br("Lightbulb", [
11094
+ const Ad = Kt("Lightbulb", [
11095
11095
  [
11096
11096
  "path",
11097
11097
  {
@@ -11108,7 +11108,16 @@ const Ad = br("Lightbulb", [
11108
11108
  * This source code is licensed under the ISC license.
11109
11109
  * See the LICENSE file in the root directory of this source tree.
11110
11110
  */
11111
- const _d = br("ShieldAlert", [
11111
+ const _d = Kt("LoaderCircle", [
11112
+ ["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
11113
+ ]);
11114
+ /**
11115
+ * @license lucide-react v0.378.0 - ISC
11116
+ *
11117
+ * This source code is licensed under the ISC license.
11118
+ * See the LICENSE file in the root directory of this source tree.
11119
+ */
11120
+ const Od = Kt("ShieldAlert", [
11112
11121
  [
11113
11122
  "path",
11114
11123
  {
@@ -11125,7 +11134,7 @@ const _d = br("ShieldAlert", [
11125
11134
  * This source code is licensed under the ISC license.
11126
11135
  * See the LICENSE file in the root directory of this source tree.
11127
11136
  */
11128
- const Od = br("TriangleAlert", [
11137
+ const Fd = Kt("TriangleAlert", [
11129
11138
  [
11130
11139
  "path",
11131
11140
  {
@@ -11139,12 +11148,12 @@ const Od = br("TriangleAlert", [
11139
11148
  !1,
11140
11149
  () => {
11141
11150
  }
11142
- ]), Fd = () => {
11151
+ ]), Pd = () => {
11143
11152
  const e = Sa(Ii);
11144
11153
  if (!e)
11145
11154
  throw new Error("useTheme must be used within a ThemeProvider");
11146
11155
  return e;
11147
- }, Ef = (e) => {
11156
+ }, xf = (e) => {
11148
11157
  const [t, r] = bn(!1);
11149
11158
  Lr(() => {
11150
11159
  const i = localStorage.getItem("theme"), o = window.matchMedia("(prefers-color-scheme: dark)"), s = i === "dark" || !i && o.matches;
@@ -11157,11 +11166,11 @@ const Od = br("TriangleAlert", [
11157
11166
  return /* @__PURE__ */ K.jsx(Ii.Provider, { value: a, ...e });
11158
11167
  };
11159
11168
  globalThis.Prism = O, import("./prism-bash.min-DadFsM4Z.js"), import("./prism-ruby.min-C7LwcKyz.js"), import("./prism-markup-templating-DZrrEs0A.js"), import("./prism-php.min-o7FpoMP_.js"), import("./prism-json.min-B1GJqK1k.js"), import("./prism-java.min-d5iT_mOd.js");
11160
- const Pd = ({
11169
+ const Dd = ({
11161
11170
  copyable: e = !0,
11162
11171
  ...t
11163
11172
  }) => {
11164
- const [r] = Fd(), [n, a] = bn(!1);
11173
+ const [r] = Pd(), [n, a] = bn(!1);
11165
11174
  return t.code ? /* @__PURE__ */ K.jsx(xd, { theme: r ? ba.vsDark : ba.github, ...t, children: ({ className: i, style: o, tokens: s, getLineProps: l, getTokenProps: u }) => /* @__PURE__ */ K.jsxs(
11166
11175
  "pre",
11167
11176
  {
@@ -11195,7 +11204,7 @@ const Pd = ({
11195
11204
  ]
11196
11205
  }
11197
11206
  ) }) : null;
11198
- }, Dd = {
11207
+ }, Nd = {
11199
11208
  note: {
11200
11209
  border: "border-gray-300 dark:border-zinc-800",
11201
11210
  bg: "bg-gray-100 dark:bg-zinc-800/50",
@@ -11226,7 +11235,7 @@ const Pd = ({
11226
11235
  iconColor: "text-yellow-500 dark:text-yellow-300",
11227
11236
  titleColor: "text-yellow-600 dark:text-yellow-300",
11228
11237
  textColor: "text-yellow-700 dark:text-yellow-200",
11229
- Icon: Od
11238
+ Icon: Fd
11230
11239
  },
11231
11240
  danger: {
11232
11241
  border: "border-rose-400 dark:border-rose-800",
@@ -11234,10 +11243,10 @@ const Pd = ({
11234
11243
  iconColor: "text-rose-400 dark:text-rose-300",
11235
11244
  titleColor: "text-rose-800 dark:text-rose-300",
11236
11245
  textColor: "text-rose-700 dark:text-rose-100",
11237
- Icon: _d
11246
+ Icon: Od
11238
11247
  }
11239
11248
  }, Nt = ({ type: e, children: t, title: r, className: n }) => {
11240
- const { border: a, bg: i, iconColor: o, titleColor: s, textColor: l, Icon: u } = Dd[e];
11249
+ const { border: a, bg: i, iconColor: o, titleColor: s, textColor: l, Icon: u } = Nd[e];
11241
11250
  return /* @__PURE__ */ K.jsxs(
11242
11251
  "div",
11243
11252
  {
@@ -11264,14 +11273,14 @@ const Pd = ({
11264
11273
  ]
11265
11274
  }
11266
11275
  );
11267
- }, xf = {
11276
+ }, Sf = {
11268
11277
  img: (e) => /\.(mp4|webm|mov|avi)$/.test(e.src ?? "") ? /* @__PURE__ */ K.jsx("video", { src: e.src, controls: !0, playsInline: !0, autoPlay: !0, loop: !0 }) : /* @__PURE__ */ K.jsx("img", { ...e, className: "rounded-md" }),
11269
- h1: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(er, { level: 1, id: t, children: e }),
11270
- h2: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(er, { level: 2, id: t, children: e }),
11271
- h3: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(er, { level: 3, id: t, children: e }),
11272
- h4: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(er, { level: 4, id: t, children: e }),
11273
- h5: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(er, { level: 5, id: t, children: e }),
11274
- h6: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(er, { level: 6, id: t, children: e }),
11278
+ h1: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(tr, { level: 1, id: t, children: e }),
11279
+ h2: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(tr, { level: 2, id: t, children: e }),
11280
+ h3: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(tr, { level: 3, id: t, children: e }),
11281
+ h4: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(tr, { level: 4, id: t, children: e }),
11282
+ h5: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(tr, { level: 5, id: t, children: e }),
11283
+ h6: ({ children: e, id: t }) => /* @__PURE__ */ K.jsx(tr, { level: 6, id: t, children: e }),
11275
11284
  a: ({ href: e, ...t }) => e && !e.startsWith("http") ? /* @__PURE__ */ K.jsx(Cn, { to: e, relative: "path", ...t }) : /* @__PURE__ */ K.jsx("a", { href: e, target: "_blank", ...t }),
11276
11285
  Callout: Nt,
11277
11286
  tip: (e) => /* @__PURE__ */ K.jsx(Nt, { type: "tip", ...e }),
@@ -11285,7 +11294,7 @@ const Pd = ({
11285
11294
  if (!r.inline) {
11286
11295
  const a = e == null ? void 0 : e.match(/language?-(\w+)/);
11287
11296
  return /* @__PURE__ */ K.jsx(
11288
- Pd,
11297
+ Dd,
11289
11298
  {
11290
11299
  language: (a == null ? void 0 : a[1]) ?? "markup",
11291
11300
  className: "rounded-xl overflow-x-auto p-4 border border-border dark:!bg-foreground/10 dark:border-transparent",
@@ -11313,11 +11322,11 @@ function Mi(e) {
11313
11322
  else for (t in e) e[t] && (n && (n += " "), n += t);
11314
11323
  return n;
11315
11324
  }
11316
- function Nd() {
11325
+ function Ld() {
11317
11326
  for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = Mi(e)) && (n && (n += " "), n += t);
11318
11327
  return n;
11319
11328
  }
11320
- const Fo = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Po = Nd, Sf = (e, t) => (r) => {
11329
+ const Fo = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Po = Ld, Rf = (e, t) => (r) => {
11321
11330
  var n;
11322
11331
  if ((t == null ? void 0 : t.variants) == null) return Po(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
11323
11332
  const { variants: a, defaultVariants: i } = t, o = Object.keys(a).map((u) => {
@@ -11348,24 +11357,24 @@ const Fo = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Po =
11348
11357
  return Po(e, o, l, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
11349
11358
  }, ji = xa(
11350
11359
  void 0
11351
- ), Rf = ji.Provider, Ba = () => {
11360
+ ), kf = ji.Provider, Ba = () => {
11352
11361
  const e = Sa(ji);
11353
11362
  if (!e)
11354
11363
  throw new Error("useDevPortal must be used within a DevPortalProvider.");
11355
11364
  return e;
11356
- }, kf = () => {
11365
+ }, Cf = () => {
11357
11366
  const { getApiIdentities: e } = Ba();
11358
11367
  return Jo({
11359
11368
  queryFn: e,
11360
11369
  queryKey: ["api-identities"]
11361
11370
  });
11362
- }, Ld = () => {
11371
+ }, Id = () => {
11363
11372
  const { navigation: e } = Ba(), t = ht();
11364
11373
  return e.find(
11365
- (r) => hr({ path: r.path, end: !1 }, t.pathname)
11374
+ (r) => gr({ path: r.path, end: !1 }, t.pathname)
11366
11375
  );
11367
- }, Cf = () => {
11368
- const { getNavigation: e } = Ba(), t = Ld(), r = (t == null ? void 0 : t.path) ?? "";
11376
+ }, Tf = () => {
11377
+ const { getNavigation: e } = Ba(), t = Id(), r = (t == null ? void 0 : t.path) ?? "";
11369
11378
  return Jo({
11370
11379
  queryFn: async () => ({
11371
11380
  items: [...(t == null ? void 0 : t.categories) ?? [], ...await e(r)],
@@ -11374,13 +11383,13 @@ const Fo = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Po =
11374
11383
  queryKey: ["navigation", r]
11375
11384
  });
11376
11385
  };
11377
- function Tf(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
11386
+ function Af(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
11378
11387
  return function(a) {
11379
11388
  if (e == null || e(a), r === !1 || !a.defaultPrevented)
11380
11389
  return t == null ? void 0 : t(a);
11381
11390
  };
11382
11391
  }
11383
- function Af(e, t) {
11392
+ function _f(e, t) {
11384
11393
  const r = x.createContext(t);
11385
11394
  function n(i) {
11386
11395
  const { children: o, ...s } = i, l = x.useMemo(() => s, Object.values(s));
@@ -11394,7 +11403,7 @@ function Af(e, t) {
11394
11403
  }
11395
11404
  return n.displayName = e + "Provider", [n, a];
11396
11405
  }
11397
- function _f(e, t = []) {
11406
+ function Of(e, t = []) {
11398
11407
  let r = [];
11399
11408
  function n(i, o) {
11400
11409
  const s = x.createContext(o), l = r.length;
@@ -11421,9 +11430,9 @@ function _f(e, t = []) {
11421
11430
  );
11422
11431
  };
11423
11432
  };
11424
- return a.scopeName = e, [n, Id(a, ...t)];
11433
+ return a.scopeName = e, [n, Md(a, ...t)];
11425
11434
  }
11426
- function Id(...e) {
11435
+ function Md(...e) {
11427
11436
  const t = e[0];
11428
11437
  if (e.length === 1) return t;
11429
11438
  const r = () => {
@@ -11450,13 +11459,13 @@ function Ui(e) {
11450
11459
  return (n = t.current) == null ? void 0 : n.call(t, ...r);
11451
11460
  }, []);
11452
11461
  }
11453
- function Of({
11462
+ function Ff({
11454
11463
  prop: e,
11455
11464
  defaultProp: t,
11456
11465
  onChange: r = () => {
11457
11466
  }
11458
11467
  }) {
11459
- const [n, a] = Md({ defaultProp: t, onChange: r }), i = e !== void 0, o = i ? e : n, s = Ui(r), l = x.useCallback(
11468
+ const [n, a] = jd({ defaultProp: t, onChange: r }), i = e !== void 0, o = i ? e : n, s = Ui(r), l = x.useCallback(
11460
11469
  (u) => {
11461
11470
  if (i) {
11462
11471
  const c = typeof u == "function" ? u(e) : u;
@@ -11468,7 +11477,7 @@ function Of({
11468
11477
  );
11469
11478
  return [o, l];
11470
11479
  }
11471
- function Md({
11480
+ function jd({
11472
11481
  defaultProp: e,
11473
11482
  onChange: t
11474
11483
  }) {
@@ -11479,17 +11488,17 @@ function Md({
11479
11488
  }
11480
11489
  var va = globalThis != null && globalThis.document ? x.useLayoutEffect : () => {
11481
11490
  };
11482
- function jd(e, t) {
11491
+ function Ud(e, t) {
11483
11492
  typeof e == "function" ? e(t) : e != null && (e.current = t);
11484
11493
  }
11485
11494
  function $i(...e) {
11486
- return (t) => e.forEach((r) => jd(r, t));
11495
+ return (t) => e.forEach((r) => Ud(r, t));
11487
11496
  }
11488
- function Ud(...e) {
11497
+ function $d(...e) {
11489
11498
  return x.useCallback($i(...e), e);
11490
11499
  }
11491
11500
  var Bi = x.forwardRef((e, t) => {
11492
- const { children: r, ...n } = e, a = x.Children.toArray(r), i = a.find(Bd);
11501
+ const { children: r, ...n } = e, a = x.Children.toArray(r), i = a.find(zd);
11493
11502
  if (i) {
11494
11503
  const o = i.props.children, s = a.map((l) => l === i ? x.Children.count(o) > 1 ? x.Children.only(null) : x.isValidElement(o) ? o.props.children : null : l);
11495
11504
  return /* @__PURE__ */ K.jsx(wa, { ...n, ref: t, children: x.isValidElement(o) ? x.cloneElement(o, void 0, s) : null });
@@ -11500,9 +11509,9 @@ Bi.displayName = "Slot";
11500
11509
  var wa = x.forwardRef((e, t) => {
11501
11510
  const { children: r, ...n } = e;
11502
11511
  if (x.isValidElement(r)) {
11503
- const a = Vd(r);
11512
+ const a = Gd(r);
11504
11513
  return x.cloneElement(r, {
11505
- ...zd(n, r.props),
11514
+ ...Vd(n, r.props),
11506
11515
  // @ts-ignore
11507
11516
  ref: t ? $i(t, a) : a
11508
11517
  });
@@ -11510,11 +11519,11 @@ var wa = x.forwardRef((e, t) => {
11510
11519
  return x.Children.count(r) > 1 ? x.Children.only(null) : null;
11511
11520
  });
11512
11521
  wa.displayName = "SlotClone";
11513
- var $d = ({ children: e }) => /* @__PURE__ */ K.jsx(K.Fragment, { children: e });
11514
- function Bd(e) {
11515
- return x.isValidElement(e) && e.type === $d;
11522
+ var Bd = ({ children: e }) => /* @__PURE__ */ K.jsx(K.Fragment, { children: e });
11523
+ function zd(e) {
11524
+ return x.isValidElement(e) && e.type === Bd;
11516
11525
  }
11517
- function zd(e, t) {
11526
+ function Vd(e, t) {
11518
11527
  const r = { ...t };
11519
11528
  for (const n in t) {
11520
11529
  const a = e[n], i = t[n];
@@ -11524,12 +11533,12 @@ function zd(e, t) {
11524
11533
  }
11525
11534
  return { ...e, ...r };
11526
11535
  }
11527
- function Vd(e) {
11536
+ function Gd(e) {
11528
11537
  var n, a;
11529
11538
  let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
11530
11539
  return r ? e.ref : (t = (a = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : a.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
11531
11540
  }
11532
- var Gd = [
11541
+ var Hd = [
11533
11542
  "a",
11534
11543
  "button",
11535
11544
  "div",
@@ -11546,26 +11555,26 @@ var Gd = [
11546
11555
  "span",
11547
11556
  "svg",
11548
11557
  "ul"
11549
- ], Ff = Gd.reduce((e, t) => {
11558
+ ], Pf = Hd.reduce((e, t) => {
11550
11559
  const r = x.forwardRef((n, a) => {
11551
11560
  const { asChild: i, ...o } = n, s = i ? Bi : t;
11552
11561
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ K.jsx(s, { ...o, ref: a });
11553
11562
  });
11554
11563
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
11555
11564
  }, {});
11556
- function Pf(e, t) {
11565
+ function Df(e, t) {
11557
11566
  e && Ra.flushSync(() => e.dispatchEvent(t));
11558
11567
  }
11559
- function Hd(e, t) {
11568
+ function Wd(e, t) {
11560
11569
  return x.useReducer((r, n) => t[r][n] ?? r, e);
11561
11570
  }
11562
- var Wd = (e) => {
11563
- const { present: t, children: r } = e, n = qd(t), a = typeof r == "function" ? r({ present: n.isPresent }) : x.Children.only(r), i = Ud(n.ref, Kd(a));
11571
+ var qd = (e) => {
11572
+ const { present: t, children: r } = e, n = Kd(t), a = typeof r == "function" ? r({ present: n.isPresent }) : x.Children.only(r), i = $d(n.ref, Yd(a));
11564
11573
  return typeof r == "function" || n.isPresent ? x.cloneElement(a, { ref: i }) : null;
11565
11574
  };
11566
- Wd.displayName = "Presence";
11567
- function qd(e) {
11568
- const [t, r] = x.useState(), n = x.useRef({}), a = x.useRef(e), i = x.useRef("none"), o = e ? "mounted" : "unmounted", [s, l] = Hd(o, {
11575
+ qd.displayName = "Presence";
11576
+ function Kd(e) {
11577
+ const [t, r] = x.useState(), n = x.useRef({}), a = x.useRef(e), i = x.useRef("none"), o = e ? "mounted" : "unmounted", [s, l] = Wd(o, {
11569
11578
  mounted: {
11570
11579
  UNMOUNT: "unmounted",
11571
11580
  ANIMATION_OUT: "unmountSuspended"
@@ -11610,30 +11619,30 @@ function qd(e) {
11610
11619
  function sn(e) {
11611
11620
  return (e == null ? void 0 : e.animationName) || "none";
11612
11621
  }
11613
- function Kd(e) {
11622
+ function Yd(e) {
11614
11623
  var n, a;
11615
11624
  let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
11616
11625
  return r ? e.ref : (t = (a = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : a.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
11617
11626
  }
11618
- var Yd = x.useId || (() => {
11619
- }), Zd = 0;
11620
- function Df(e) {
11621
- const [t, r] = x.useState(Yd());
11627
+ var Zd = x.useId || (() => {
11628
+ }), Qd = 0;
11629
+ function Nf(e) {
11630
+ const [t, r] = x.useState(Zd());
11622
11631
  return va(() => {
11623
- e || r((n) => n ?? String(Zd++));
11624
- }, [e]), e || (t ? `radix-${t}` : "");
11632
+ r((n) => n ?? String(Qd++));
11633
+ }, [e]), t ? `radix-${t}` : "";
11625
11634
  }
11626
- const Qd = (...e) => {
11635
+ const Xd = (...e) => {
11627
11636
  const t = e.filter((r) => !!r).map((r) => r.replace(/(^\/+|\/+$)/g, "")).join("/");
11628
11637
  return t ? `/${t}` : "";
11629
- }, Nf = (e) => {
11638
+ }, Lf = (e) => {
11630
11639
  const t = ht(), r = typeof e.to == "string" ? e.to : e.to.hash, n = (a) => {
11631
11640
  var i;
11632
11641
  !(r != null && r.startsWith("#")) || r !== t.hash || (a.preventDefault(), (i = document.getElementById(r.slice(1))) == null || i.scrollIntoView());
11633
11642
  };
11634
11643
  return /* @__PURE__ */ K.jsx(Cn, { onClick: n, ...e });
11635
11644
  }, za = (e, t, r, n = []) => {
11636
- const a = zi(e) ? Qd(r, e.path) : r, i = t(e, a, n);
11645
+ const a = zi(e) ? Xd(r, e.path) : r, i = t(e, a, n);
11637
11646
  if (i !== void 0) return i;
11638
11647
  if ("children" in e && e.children) {
11639
11648
  const o = [...n, e];
@@ -11647,95 +11656,97 @@ const Qd = (...e) => {
11647
11656
  if (l !== void 0) return l;
11648
11657
  }
11649
11658
  }
11650
- }, Lf = (e, t) => {
11659
+ }, If = (e, t) => {
11651
11660
  if (e.categories)
11652
11661
  for (const r of e.categories) {
11653
11662
  const n = za(r, t, e.path);
11654
11663
  if (n !== void 0) return n;
11655
11664
  }
11656
- }, zi = (e) => "path" in e, If = (e) => "href" in e, Mf = (e, t, r) => !!za(
11665
+ }, zi = (e) => "path" in e, Mf = (e) => "href" in e, jf = (e, t, r) => !!za(
11657
11666
  e,
11658
11667
  (n, a) => {
11659
- if (zi(n) && hr(a, t))
11668
+ if (zi(n) && gr(a, t))
11660
11669
  return !0;
11661
11670
  },
11662
11671
  r
11663
- );
11672
+ ), Uf = ({ size: e = 16 }) => /* @__PURE__ */ K.jsx(_d, { size: e, className: "animate-spin" });
11664
11673
  export {
11665
- Ef as $,
11666
- Tf as A,
11667
- Wd as B,
11668
- Ud as C,
11674
+ tf as $,
11675
+ Af as A,
11676
+ qd as B,
11677
+ $d as C,
11669
11678
  va as D,
11670
- Mf as E,
11679
+ jf as E,
11671
11680
  zi as F,
11672
- Qd as G,
11673
- If as H,
11681
+ Xd as G,
11682
+ Mf as H,
11674
11683
  Ut as I,
11675
- Nf as J,
11676
- Sf as K,
11677
- Ld as L,
11678
- cf as M,
11684
+ Lf as J,
11685
+ Rf as K,
11686
+ Id as L,
11687
+ df as M,
11679
11688
  Pu as N,
11680
- Cf as O,
11681
- Ff as P,
11682
- uf as Q,
11683
- hf as R,
11689
+ Tf as O,
11690
+ Pf as P,
11691
+ cf as Q,
11692
+ gf as R,
11684
11693
  Ca as S,
11685
- mf as T,
11694
+ Uf as T,
11686
11695
  bf as U,
11687
11696
  vf as V,
11688
- xf as W,
11689
- df as X,
11690
- gf as Y,
11691
- Rf as Z,
11692
- ef as _,
11693
- of as a,
11694
- wf as a0,
11695
- Wi as a1,
11696
- Cn as a2,
11697
- Jn as a3,
11698
- ns as a4,
11699
- ss as a5,
11700
- ff as a6,
11701
- fs as a7,
11702
- Bi as a8,
11703
- Jo as a9,
11704
- vi as aa,
11705
- tf as ab,
11706
- Lf as ac,
11707
- er as ad,
11708
- yf as ae,
11709
- Ui as af,
11710
- Pf as ag,
11711
- Af as ah,
11712
- kf as ai,
11713
- Pd as aj,
11714
- rf as ak,
11715
- hr as al,
11697
+ wf as W,
11698
+ Sf as X,
11699
+ ff as Y,
11700
+ yf as Z,
11701
+ kf as _,
11702
+ sf as a,
11703
+ xf as a0,
11704
+ Ef as a1,
11705
+ Wi as a2,
11706
+ Cn as a3,
11707
+ Jn as a4,
11708
+ ns as a5,
11709
+ ss as a6,
11710
+ pf as a7,
11711
+ fs as a8,
11712
+ Bi as a9,
11713
+ Jo as aa,
11714
+ Ui as ab,
11715
+ Df as ac,
11716
+ Cd as ad,
11717
+ vi as ae,
11718
+ rf as af,
11719
+ If as ag,
11720
+ tr as ah,
11721
+ mf as ai,
11722
+ _f as aj,
11723
+ Cf as ak,
11724
+ Dd as al,
11725
+ nf as am,
11726
+ gr as an,
11716
11727
  Zn as b,
11717
- lf as c,
11718
- sf as d,
11728
+ uf as c,
11729
+ lf as d,
11719
11730
  Qi as e,
11720
11731
  Vo as f,
11721
- nf as g,
11732
+ af as g,
11722
11733
  Yi as h,
11723
11734
  Xn as i,
11724
11735
  ka as j,
11725
- br as k,
11736
+ Kt as k,
11726
11737
  K as l,
11727
- af as m,
11738
+ of as m,
11728
11739
  vn as n,
11729
11740
  Go as o,
11730
11741
  Ta as p,
11731
11742
  Po as q,
11732
11743
  ln as r,
11733
11744
  ra as s,
11734
- Fd as t,
11745
+ Pd as t,
11735
11746
  Ba as u,
11736
11747
  ht as v,
11737
11748
  wc as w,
11738
- _f as x,
11739
- Of as y,
11740
- Df as z
11749
+ Of as x,
11750
+ Ff as y,
11751
+ Nf as z
11741
11752
  };