zudoku 0.34.4 → 0.35.0

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 (124) hide show
  1. package/dist/config/config.d.ts +13 -8
  2. package/dist/config/validators/common.d.ts +977 -111
  3. package/dist/config/validators/common.js +26 -1
  4. package/dist/config/validators/common.js.map +1 -1
  5. package/dist/config/validators/validate.d.ts +357 -42
  6. package/dist/lib/authentication/providers/clerk.d.ts +2 -2
  7. package/dist/lib/authentication/providers/supabase.d.ts +4 -0
  8. package/dist/lib/authentication/providers/supabase.js +112 -0
  9. package/dist/lib/authentication/providers/supabase.js.map +1 -0
  10. package/dist/lib/components/Header.js +3 -3
  11. package/dist/lib/components/Header.js.map +1 -1
  12. package/dist/lib/components/InlineCode.js +1 -1
  13. package/dist/lib/components/InlineCode.js.map +1 -1
  14. package/dist/lib/components/Layout.js +4 -10
  15. package/dist/lib/components/Layout.js.map +1 -1
  16. package/dist/lib/components/Main.d.ts +2 -0
  17. package/dist/lib/components/Main.js +15 -0
  18. package/dist/lib/components/Main.js.map +1 -0
  19. package/dist/lib/components/context/ViewportAnchorContext.d.ts +2 -4
  20. package/dist/lib/components/context/ViewportAnchorContext.js +2 -4
  21. package/dist/lib/components/context/ViewportAnchorContext.js.map +1 -1
  22. package/dist/lib/components/index.d.ts +2 -1
  23. package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
  24. package/dist/lib/components/navigation/Sidebar.js +2 -4
  25. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  26. package/dist/lib/components/navigation/SidebarWrapper.d.ts +8 -6
  27. package/dist/lib/components/navigation/SidebarWrapper.js +1 -2
  28. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  29. package/dist/lib/core/RouteGuard.js +2 -1
  30. package/dist/lib/core/RouteGuard.js.map +1 -1
  31. package/dist/lib/oas/graphql/index.js +34 -0
  32. package/dist/lib/oas/graphql/index.js.map +1 -1
  33. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
  34. package/dist/lib/plugins/markdown/MdxPage.js +1 -1
  35. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  36. package/dist/lib/plugins/openapi/OperationList.js +2 -1
  37. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  38. package/dist/lib/plugins/openapi/Sidecar.js +9 -4
  39. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  40. package/dist/lib/plugins/openapi/SimpleSelect.js +1 -1
  41. package/dist/lib/plugins/openapi/SimpleSelect.js.map +1 -1
  42. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  43. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  44. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  45. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +6 -0
  46. package/dist/lib/plugins/openapi/graphql/graphql.js +2 -0
  47. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  48. package/dist/lib/plugins/openapi/index.d.ts +1 -1
  49. package/dist/lib/plugins/openapi/index.js +8 -8
  50. package/dist/lib/plugins/openapi/index.js.map +1 -1
  51. package/dist/lib/plugins/openapi/interfaces.d.ts +7 -10
  52. package/dist/lib/ui/Callout.d.ts +2 -1
  53. package/dist/lib/ui/Callout.js +3 -2
  54. package/dist/lib/ui/Callout.js.map +1 -1
  55. package/dist/lib/util/MdxComponents.d.ts +2 -1
  56. package/dist/vite/plugin-api.js +5 -9
  57. package/dist/vite/plugin-api.js.map +1 -1
  58. package/lib/{Callout-B_sEhkYd.js → Callout-B2vsR09t.js} +70 -52
  59. package/lib/{Callout-B_sEhkYd.js.map → Callout-B2vsR09t.js.map} +1 -1
  60. package/lib/Drawer-kDAfOq_2.js +1133 -0
  61. package/lib/Drawer-kDAfOq_2.js.map +1 -0
  62. package/lib/{Markdown-DZXjQjpH.js → Markdown-D1Y3cd9l.js} +4471 -3315
  63. package/lib/Markdown-D1Y3cd9l.js.map +1 -0
  64. package/lib/{MdxPage-52vRwa_7.js → MdxPage-CUL_SQzW.js} +9 -9
  65. package/lib/MdxPage-CUL_SQzW.js.map +1 -0
  66. package/lib/{OasProvider-CDyf845G.js → OasProvider-DEL8ulKm.js} +2 -2
  67. package/lib/{OasProvider-CDyf845G.js.map → OasProvider-DEL8ulKm.js.map} +1 -1
  68. package/lib/{OperationList-DdCWaqeE.js → OperationList-D6goKbzX.js} +179 -179
  69. package/lib/OperationList-D6goKbzX.js.map +1 -0
  70. package/lib/{SlotletProvider-TydSHROc.js → SlotletProvider-iDmNlxD5.js} +2 -2
  71. package/lib/{SlotletProvider-TydSHROc.js.map → SlotletProvider-iDmNlxD5.js.map} +1 -1
  72. package/lib/{createServer-DmusVVsi.js → createServer-BNBGpbLa.js} +1764 -1734
  73. package/lib/{createServer-DmusVVsi.js.map → createServer-BNBGpbLa.js.map} +1 -1
  74. package/lib/{index-BO-sA1cw.js → index-PKytqmuw.js} +348 -346
  75. package/lib/index-PKytqmuw.js.map +1 -0
  76. package/lib/prism-bash.min-HHIMdNJ_.js.map +1 -1
  77. package/lib/prism-csharp.min-bQAo2pmx.js.map +1 -1
  78. package/lib/prism-java.min-BpvsOuIa.js.map +1 -1
  79. package/lib/prism-javascript.min-CEqHqgbm.js.map +1 -1
  80. package/lib/prism-json.min-B1GJqK1k.js.map +1 -1
  81. package/lib/prism-markdown.min-C0Qn0m-5.js.map +1 -1
  82. package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
  83. package/lib/prism-objectivec.min-BXSWqpJJ.js.map +1 -1
  84. package/lib/prism-ruby.min-Dx9KO9ds.js.map +1 -1
  85. package/lib/prism-typescript.min-CD7H2IYQ.js.map +1 -1
  86. package/lib/ui/Callout.js +39 -21
  87. package/lib/ui/Callout.js.map +1 -1
  88. package/lib/ui/Drawer.js +14 -1129
  89. package/lib/ui/Drawer.js.map +1 -1
  90. package/lib/zudoku.auth-clerk.js.map +1 -1
  91. package/lib/zudoku.components.js +675 -621
  92. package/lib/zudoku.components.js.map +1 -1
  93. package/lib/zudoku.plugin-api-catalog.js +1 -1
  94. package/lib/zudoku.plugin-api-keys.js +1 -1
  95. package/lib/zudoku.plugin-custom-pages.js +1 -1
  96. package/lib/zudoku.plugin-markdown.js +1 -1
  97. package/lib/zudoku.plugin-openapi.js +1 -1
  98. package/lib/zudoku.plugin-search-pagefind.js +1 -1
  99. package/package.json +11 -6
  100. package/src/app/main.css +5 -3
  101. package/src/lib/authentication/providers/clerk.tsx +2 -2
  102. package/src/lib/authentication/providers/supabase.tsx +151 -0
  103. package/src/lib/components/Header.tsx +10 -6
  104. package/src/lib/components/InlineCode.tsx +1 -1
  105. package/src/lib/components/Layout.tsx +5 -40
  106. package/src/lib/components/Main.tsx +47 -0
  107. package/src/lib/components/context/ViewportAnchorContext.tsx +3 -9
  108. package/src/lib/components/navigation/Sidebar.tsx +7 -9
  109. package/src/lib/components/navigation/SidebarWrapper.tsx +13 -15
  110. package/src/lib/core/RouteGuard.tsx +2 -1
  111. package/src/lib/oas/graphql/index.ts +35 -0
  112. package/src/lib/plugins/markdown/MdxPage.tsx +2 -2
  113. package/src/lib/plugins/openapi/OperationList.tsx +3 -2
  114. package/src/lib/plugins/openapi/Sidecar.tsx +11 -4
  115. package/src/lib/plugins/openapi/SimpleSelect.tsx +1 -1
  116. package/src/lib/plugins/openapi/graphql/gql.ts +3 -3
  117. package/src/lib/plugins/openapi/graphql/graphql.ts +8 -0
  118. package/src/lib/plugins/openapi/index.tsx +10 -11
  119. package/src/lib/plugins/openapi/interfaces.ts +11 -15
  120. package/src/lib/ui/Callout.tsx +28 -10
  121. package/lib/Markdown-DZXjQjpH.js.map +0 -1
  122. package/lib/MdxPage-52vRwa_7.js.map +0 -1
  123. package/lib/OperationList-DdCWaqeE.js.map +0 -1
  124. package/lib/index-BO-sA1cw.js.map +0 -1
@@ -1,73 +1,73 @@
1
- var ut = Object.defineProperty;
2
- var xe = (t) => {
1
+ var dt = Object.defineProperty;
2
+ var ye = (t) => {
3
3
  throw TypeError(t);
4
4
  };
5
- var dt = (t, e, r) => e in t ? ut(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
- var j = (t, e, r) => dt(t, typeof e != "symbol" ? e + "" : e, r), ve = (t, e, r) => e.has(t) || xe("Cannot " + r);
7
- var l = (t, e, r) => (ve(t, e, "read from private field"), r ? r.call(t) : e.get(t)), w = (t, e, r) => e.has(t) ? xe("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), y = (t, e, r, n) => (ve(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r);
8
- var _ = (t, e, r, n) => ({
5
+ var ht = (t, e, s) => e in t ? dt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s;
6
+ var j = (t, e, s) => ht(t, typeof e != "symbol" ? e + "" : e, s), ve = (t, e, s) => e.has(t) || ye("Cannot " + s);
7
+ var l = (t, e, s) => (ve(t, e, "read from private field"), s ? s.call(t) : e.get(t)), w = (t, e, s) => e.has(t) ? ye("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), v = (t, e, s, n) => (ve(t, e, "write to private field"), n ? n.call(t, s) : e.set(t, s), s);
8
+ var W = (t, e, s, n) => ({
9
9
  set _(a) {
10
- y(t, e, a, r);
10
+ v(t, e, a, s);
11
11
  },
12
12
  get _() {
13
13
  return l(t, e, n);
14
14
  }
15
15
  });
16
- import { a as Fe, H as le, M as ht, u as ft } from "./index.esm-CltAN0Tf.js";
16
+ import { a as ze, H as ce, M as ft, u as mt } from "./index.esm-CltAN0Tf.js";
17
17
  import { z as He, J as gt } from "./index-DwT-v3zK.js";
18
- import { a as mt, u as ee, m as pt, O as ce, R as xt, S as vt, g as ue, h as yt, L as de } from "./chunk-HA7DTUK3-ZGg2W6yV.js";
19
- import { e as z, a as E, f as Le, t as bt, j as ae, b as jt, Z as wt, g as Pt, C as Ct } from "./hook-CfCFKZ-2.js";
20
- import { j as s } from "./jsx-runtime-CYK1ROHF.js";
21
- import { S as ze, i as Be, j as kt, n as P, m as ye, l as be, o as M, p as St, q as Nt, r as Dt, t as Et, v as je, w as we, x as Mt, h as Pe, y as Ce, e as Ot, u as At, d as qt, z as Ke } from "./useQuery-CQUwWR9i.js";
22
- import { D as Tt, a as It, c as Qt, b as Rt, d as Ft } from "./Dialog-sbgekbjb.js";
23
- import { Z as $e } from "./invariant-Caa8-XvF.js";
18
+ import { a as pt, u as te, m as xt, O as ue, R as yt, S as vt, g as de, h as bt, L as he } from "./chunk-HA7DTUK3-ZGg2W6yV.js";
19
+ import { e as K, a as O, f as Le, t as jt, j as ie, b as wt, Z as Pt, g as Ct, C as Nt } from "./hook-CfCFKZ-2.js";
20
+ import { j as r } from "./jsx-runtime-CYK1ROHF.js";
21
+ import { S as Be, i as Ke, j as kt, n as P, m as be, l as je, o as A, p as Dt, q as St, r as Et, t as Ot, v as we, w as Pe, x as Mt, h as Ce, y as Ne, e as At, u as Tt, d as qt, z as $e } from "./useQuery-CQUwWR9i.js";
22
+ import { D as It, a as Qt, c as Rt, b as Ft, d as zt } from "./Dialog-sbgekbjb.js";
23
+ import { Z as Ue } from "./invariant-Caa8-XvF.js";
24
24
  import { u as Ht, o as Lt } from "./objectEntries-BS7aAgOm.js";
25
- import { E as Ue, S, a as zt, R as Bt } from "./SlotletProvider-TydSHROc.js";
26
- import { Button as Kt } from "./ui/Button.js";
27
- import { Callout as $t } from "./ui/Callout.js";
28
- import { M as Ut } from "./mutation-B81DztCT.js";
29
- import * as U from "react";
30
- import Zt, { createContext as he, StrictMode as Ze, useRef as te, useEffect as I, useState as B, useCallback as Yt, Suspense as fe, memo as Ye, forwardRef as Vt, Component as Xt, createElement as ke, useMemo as re, useContext as _t } from "react";
31
- import * as Gt from "react-dom";
25
+ import { E as Ze, S as k, a as Bt, R as Kt } from "./SlotletProvider-iDmNlxD5.js";
26
+ import { Button as $t } from "./ui/Button.js";
27
+ import { Callout as Ut } from "./ui/Callout.js";
28
+ import { M as Zt } from "./mutation-B81DztCT.js";
29
+ import * as q from "react";
30
+ import Yt, { createContext as fe, StrictMode as Ye, useRef as se, useEffect as F, useState as $, useCallback as Vt, Suspense as me, memo as Ve, Component as Xt, createElement as ke, useMemo as re, useContext as Gt } from "react";
31
+ import * as Wt from "react-dom";
32
32
  import { C as ge } from "./ClientOnly-E7hGysn1.js";
33
- import { CircleXIcon as Wt, SearchIcon as Jt, SunIcon as er, MoonIcon as tr, MenuIcon as rr, PanelLeftIcon as sr } from "lucide-react";
34
- import { Drawer as Ve, DrawerTrigger as Xe, DrawerContent as _e, DrawerTitle as Ge } from "./ui/Drawer.js";
35
- import { c as Q } from "./cn-qaFjX9_3.js";
36
- import { s as nr, S as Se, u as ar, a as ir, H as or, P as lr, b as cr, V as ur, M as dr } from "./Markdown-DZXjQjpH.js";
37
- import { B as ie, S as We } from "./Spinner-1KrEmx1V.js";
38
- import { isSearchPlugin as hr, isProfileMenuPlugin as fr, isNavigationPlugin as gr, isEventConsumerPlugin as mr, needsInitialization as pr, isApiIdentityPlugin as xr, isMdxProviderPlugin as vr, hasHead as yr } from "./zudoku.plugins.js";
39
- import { DropdownMenu as br, DropdownMenuTrigger as jr, DropdownMenuContent as wr, DropdownMenuLabel as Pr, DropdownMenuSeparator as se, DropdownMenuSub as Cr, DropdownMenuSubTrigger as kr, DropdownMenuPortal as Sr, DropdownMenuSubContent as Nr, DropdownMenuItem as Dr } from "./ui/DropdownMenu.js";
40
- import { j as Ne } from "./joinUrl-10po2Jdj.js";
41
- import { VisuallyHidden as Je } from "@radix-ui/react-visually-hidden";
42
- import { a as Er } from "./index-CPNSgwSb.js";
43
- import { C as Mr } from "./CategoryHeading-DpB47wvk.js";
44
- var D, Ie, Or = (Ie = class extends ze {
33
+ import { s as _t, S as De, u as Jt, a as es, H as ts, P as ss, b as rs, V as ns, M as as } from "./Markdown-D1Y3cd9l.js";
34
+ import { B as oe, S as Xe } from "./Spinner-1KrEmx1V.js";
35
+ import { c as E } from "./cn-qaFjX9_3.js";
36
+ import { isSearchPlugin as is, isProfileMenuPlugin as os, isNavigationPlugin as ls, isEventConsumerPlugin as cs, needsInitialization as us, isApiIdentityPlugin as ds, isMdxProviderPlugin as hs, hasHead as fs } from "./zudoku.plugins.js";
37
+ import { DropdownMenu as ms, DropdownMenuTrigger as gs, DropdownMenuContent as ps, DropdownMenuLabel as xs, DropdownMenuSeparator as ne, DropdownMenuSub as ys, DropdownMenuSubTrigger as vs, DropdownMenuPortal as bs, DropdownMenuSubContent as js, DropdownMenuItem as ws } from "./ui/DropdownMenu.js";
38
+ import { j as Se } from "./joinUrl-10po2Jdj.js";
39
+ import { CircleXIcon as Ps, SearchIcon as Cs, SunIcon as Ns, MoonIcon as ks, MenuIcon as Ds, PanelLeftIcon as Ss } from "lucide-react";
40
+ import { VisuallyHidden as Ge } from "@radix-ui/react-visually-hidden";
41
+ import { D as Es, a as Os, b as We, c as _e, d as M } from "./Drawer-kDAfOq_2.js";
42
+ import { a as Ms } from "./index-CPNSgwSb.js";
43
+ import { C as As } from "./CategoryHeading-DpB47wvk.js";
44
+ var S, Qe, Ts = (Qe = class extends Be {
45
45
  constructor(e = {}) {
46
46
  super();
47
- w(this, D);
48
- this.config = e, y(this, D, /* @__PURE__ */ new Map());
47
+ w(this, S);
48
+ this.config = e, v(this, S, /* @__PURE__ */ new Map());
49
49
  }
50
- build(e, r, n) {
51
- const a = r.queryKey, i = r.queryHash ?? Be(a, r);
52
- let o = this.get(i);
53
- return o || (o = new kt({
50
+ build(e, s, n) {
51
+ const a = s.queryKey, o = s.queryHash ?? Ke(a, s);
52
+ let i = this.get(o);
53
+ return i || (i = new kt({
54
54
  client: e,
55
55
  queryKey: a,
56
- queryHash: i,
57
- options: e.defaultQueryOptions(r),
56
+ queryHash: o,
57
+ options: e.defaultQueryOptions(s),
58
58
  state: n,
59
59
  defaultOptions: e.getQueryDefaults(a)
60
- }), this.add(o)), o;
60
+ }), this.add(i)), i;
61
61
  }
62
62
  add(e) {
63
- l(this, D).has(e.queryHash) || (l(this, D).set(e.queryHash, e), this.notify({
63
+ l(this, S).has(e.queryHash) || (l(this, S).set(e.queryHash, e), this.notify({
64
64
  type: "added",
65
65
  query: e
66
66
  }));
67
67
  }
68
68
  remove(e) {
69
- const r = l(this, D).get(e.queryHash);
70
- r && (e.destroy(), r === e && l(this, D).delete(e.queryHash), this.notify({ type: "removed", query: e }));
69
+ const s = l(this, S).get(e.queryHash);
70
+ s && (e.destroy(), s === e && l(this, S).delete(e.queryHash), this.notify({ type: "removed", query: e }));
71
71
  }
72
72
  clear() {
73
73
  P.batch(() => {
@@ -77,25 +77,25 @@ var D, Ie, Or = (Ie = class extends ze {
77
77
  });
78
78
  }
79
79
  get(e) {
80
- return l(this, D).get(e);
80
+ return l(this, S).get(e);
81
81
  }
82
82
  getAll() {
83
- return [...l(this, D).values()];
83
+ return [...l(this, S).values()];
84
84
  }
85
85
  find(e) {
86
- const r = { exact: !0, ...e };
86
+ const s = { exact: !0, ...e };
87
87
  return this.getAll().find(
88
- (n) => ye(r, n)
88
+ (n) => be(s, n)
89
89
  );
90
90
  }
91
91
  findAll(e = {}) {
92
- const r = this.getAll();
93
- return Object.keys(e).length > 0 ? r.filter((n) => ye(e, n)) : r;
92
+ const s = this.getAll();
93
+ return Object.keys(e).length > 0 ? s.filter((n) => be(e, n)) : s;
94
94
  }
95
95
  notify(e) {
96
96
  P.batch(() => {
97
- this.listeners.forEach((r) => {
98
- r(e);
97
+ this.listeners.forEach((s) => {
98
+ s(e);
99
99
  });
100
100
  });
101
101
  }
@@ -113,51 +113,51 @@ var D, Ie, Or = (Ie = class extends ze {
113
113
  });
114
114
  });
115
115
  }
116
- }, D = new WeakMap(), Ie), O, k, Y, Qe, Ar = (Qe = class extends ze {
116
+ }, S = new WeakMap(), Qe), T, N, V, Re, qs = (Re = class extends Be {
117
117
  constructor(e = {}) {
118
118
  super();
119
- w(this, O);
120
- w(this, k);
121
- w(this, Y);
122
- this.config = e, y(this, O, /* @__PURE__ */ new Set()), y(this, k, /* @__PURE__ */ new Map()), y(this, Y, 0);
119
+ w(this, T);
120
+ w(this, N);
121
+ w(this, V);
122
+ this.config = e, v(this, T, /* @__PURE__ */ new Set()), v(this, N, /* @__PURE__ */ new Map()), v(this, V, 0);
123
123
  }
124
- build(e, r, n) {
125
- const a = new Ut({
124
+ build(e, s, n) {
125
+ const a = new Zt({
126
126
  mutationCache: this,
127
- mutationId: ++_(this, Y)._,
128
- options: e.defaultMutationOptions(r),
127
+ mutationId: ++W(this, V)._,
128
+ options: e.defaultMutationOptions(s),
129
129
  state: n
130
130
  });
131
131
  return this.add(a), a;
132
132
  }
133
133
  add(e) {
134
- l(this, O).add(e);
135
- const r = G(e);
136
- if (typeof r == "string") {
137
- const n = l(this, k).get(r);
138
- n ? n.push(e) : l(this, k).set(r, [e]);
134
+ l(this, T).add(e);
135
+ const s = _(e);
136
+ if (typeof s == "string") {
137
+ const n = l(this, N).get(s);
138
+ n ? n.push(e) : l(this, N).set(s, [e]);
139
139
  }
140
140
  this.notify({ type: "added", mutation: e });
141
141
  }
142
142
  remove(e) {
143
- if (l(this, O).delete(e)) {
144
- const r = G(e);
145
- if (typeof r == "string") {
146
- const n = l(this, k).get(r);
143
+ if (l(this, T).delete(e)) {
144
+ const s = _(e);
145
+ if (typeof s == "string") {
146
+ const n = l(this, N).get(s);
147
147
  if (n)
148
148
  if (n.length > 1) {
149
149
  const a = n.indexOf(e);
150
150
  a !== -1 && n.splice(a, 1);
151
- } else n[0] === e && l(this, k).delete(r);
151
+ } else n[0] === e && l(this, N).delete(s);
152
152
  }
153
153
  }
154
154
  this.notify({ type: "removed", mutation: e });
155
155
  }
156
156
  canRun(e) {
157
- const r = G(e);
158
- if (typeof r == "string") {
159
- const n = l(this, k).get(r), a = n == null ? void 0 : n.find(
160
- (i) => i.state.status === "pending"
157
+ const s = _(e);
158
+ if (typeof s == "string") {
159
+ const n = l(this, N).get(s), a = n == null ? void 0 : n.find(
160
+ (o) => o.state.status === "pending"
161
161
  );
162
162
  return !a || a === e;
163
163
  } else
@@ -165,109 +165,109 @@ var D, Ie, Or = (Ie = class extends ze {
165
165
  }
166
166
  runNext(e) {
167
167
  var n;
168
- const r = G(e);
169
- if (typeof r == "string") {
170
- const a = (n = l(this, k).get(r)) == null ? void 0 : n.find((i) => i !== e && i.state.isPaused);
168
+ const s = _(e);
169
+ if (typeof s == "string") {
170
+ const a = (n = l(this, N).get(s)) == null ? void 0 : n.find((o) => o !== e && o.state.isPaused);
171
171
  return (a == null ? void 0 : a.continue()) ?? Promise.resolve();
172
172
  } else
173
173
  return Promise.resolve();
174
174
  }
175
175
  clear() {
176
176
  P.batch(() => {
177
- l(this, O).forEach((e) => {
177
+ l(this, T).forEach((e) => {
178
178
  this.notify({ type: "removed", mutation: e });
179
- }), l(this, O).clear(), l(this, k).clear();
179
+ }), l(this, T).clear(), l(this, N).clear();
180
180
  });
181
181
  }
182
182
  getAll() {
183
- return Array.from(l(this, O));
183
+ return Array.from(l(this, T));
184
184
  }
185
185
  find(e) {
186
- const r = { exact: !0, ...e };
186
+ const s = { exact: !0, ...e };
187
187
  return this.getAll().find(
188
- (n) => be(r, n)
188
+ (n) => je(s, n)
189
189
  );
190
190
  }
191
191
  findAll(e = {}) {
192
- return this.getAll().filter((r) => be(e, r));
192
+ return this.getAll().filter((s) => je(e, s));
193
193
  }
194
194
  notify(e) {
195
195
  P.batch(() => {
196
- this.listeners.forEach((r) => {
197
- r(e);
196
+ this.listeners.forEach((s) => {
197
+ s(e);
198
198
  });
199
199
  });
200
200
  }
201
201
  resumePausedMutations() {
202
- const e = this.getAll().filter((r) => r.state.isPaused);
202
+ const e = this.getAll().filter((s) => s.state.isPaused);
203
203
  return P.batch(
204
204
  () => Promise.all(
205
- e.map((r) => r.continue().catch(M))
205
+ e.map((s) => s.continue().catch(A))
206
206
  )
207
207
  );
208
208
  }
209
- }, O = new WeakMap(), k = new WeakMap(), Y = new WeakMap(), Qe);
210
- function G(t) {
209
+ }, T = new WeakMap(), N = new WeakMap(), V = new WeakMap(), Re);
210
+ function _(t) {
211
211
  var e;
212
212
  return (e = t.options.scope) == null ? void 0 : e.id;
213
213
  }
214
- function De(t) {
214
+ function Ee(t) {
215
215
  return {
216
- onFetch: (e, r) => {
217
- var m, g, h, f, v;
218
- const n = e.options, a = (h = (g = (m = e.fetchOptions) == null ? void 0 : m.meta) == null ? void 0 : g.fetchMore) == null ? void 0 : h.direction, i = ((f = e.state.data) == null ? void 0 : f.pages) || [], o = ((v = e.state.data) == null ? void 0 : v.pageParams) || [];
216
+ onFetch: (e, s) => {
217
+ var x, m, h, f, y;
218
+ const n = e.options, a = (h = (m = (x = e.fetchOptions) == null ? void 0 : x.meta) == null ? void 0 : m.fetchMore) == null ? void 0 : h.direction, o = ((f = e.state.data) == null ? void 0 : f.pages) || [], i = ((y = e.state.data) == null ? void 0 : y.pageParams) || [];
219
219
  let u = { pages: [], pageParams: [] }, d = 0;
220
220
  const c = async () => {
221
- let x = !1;
221
+ let p = !1;
222
222
  const C = (b) => {
223
223
  Object.defineProperty(b, "signal", {
224
224
  enumerable: !0,
225
- get: () => (e.signal.aborted ? x = !0 : e.signal.addEventListener("abort", () => {
226
- x = !0;
225
+ get: () => (e.signal.aborted ? p = !0 : e.signal.addEventListener("abort", () => {
226
+ p = !0;
227
227
  }), e.signal)
228
228
  });
229
- }, V = St(e.options, e.fetchOptions), K = async (b, N, $) => {
230
- if (x)
229
+ }, X = Dt(e.options, e.fetchOptions), U = async (b, D, Z) => {
230
+ if (p)
231
231
  return Promise.reject();
232
- if (N == null && b.pages.length)
232
+ if (D == null && b.pages.length)
233
233
  return Promise.resolve(b);
234
- const X = {
234
+ const G = {
235
235
  client: e.client,
236
236
  queryKey: e.queryKey,
237
- pageParam: N,
238
- direction: $ ? "backward" : "forward",
237
+ pageParam: D,
238
+ direction: Z ? "backward" : "forward",
239
239
  meta: e.options.meta
240
240
  };
241
- C(X);
242
- const ct = await V(
243
- X
244
- ), { maxPages: me } = e.options, pe = $ ? Nt : Dt;
241
+ C(G);
242
+ const ut = await X(
243
+ G
244
+ ), { maxPages: pe } = e.options, xe = Z ? St : Et;
245
245
  return {
246
- pages: pe(b.pages, ct, me),
247
- pageParams: pe(b.pageParams, N, me)
246
+ pages: xe(b.pages, ut, pe),
247
+ pageParams: xe(b.pageParams, D, pe)
248
248
  };
249
249
  };
250
- if (a && i.length) {
251
- const b = a === "backward", N = b ? qr : Ee, $ = {
252
- pages: i,
253
- pageParams: o
254
- }, X = N(n, $);
255
- u = await K($, X, b);
250
+ if (a && o.length) {
251
+ const b = a === "backward", D = b ? Is : Oe, Z = {
252
+ pages: o,
253
+ pageParams: i
254
+ }, G = D(n, Z);
255
+ u = await U(Z, G, b);
256
256
  } else {
257
- const b = t ?? i.length;
257
+ const b = t ?? o.length;
258
258
  do {
259
- const N = d === 0 ? o[0] ?? n.initialPageParam : Ee(n, u);
260
- if (d > 0 && N == null)
259
+ const D = d === 0 ? i[0] ?? n.initialPageParam : Oe(n, u);
260
+ if (d > 0 && D == null)
261
261
  break;
262
- u = await K(u, N), d++;
262
+ u = await U(u, D), d++;
263
263
  } while (d < b);
264
264
  }
265
265
  return u;
266
266
  };
267
267
  e.options.persister ? e.fetchFn = () => {
268
- var x, C;
269
- return (C = (x = e.options).persister) == null ? void 0 : C.call(
270
- x,
268
+ var p, C;
269
+ return (C = (p = e.options).persister) == null ? void 0 : C.call(
270
+ p,
271
271
  c,
272
272
  {
273
273
  client: e.client,
@@ -275,316 +275,315 @@ function De(t) {
275
275
  meta: e.options.meta,
276
276
  signal: e.signal
277
277
  },
278
- r
278
+ s
279
279
  );
280
280
  } : e.fetchFn = c;
281
281
  }
282
282
  };
283
283
  }
284
- function Ee(t, { pages: e, pageParams: r }) {
284
+ function Oe(t, { pages: e, pageParams: s }) {
285
285
  const n = e.length - 1;
286
286
  return e.length > 0 ? t.getNextPageParam(
287
287
  e[n],
288
288
  e,
289
- r[n],
290
- r
289
+ s[n],
290
+ s
291
291
  ) : void 0;
292
292
  }
293
- function qr(t, { pages: e, pageParams: r }) {
293
+ function Is(t, { pages: e, pageParams: s }) {
294
294
  var n;
295
- return e.length > 0 ? (n = t.getPreviousPageParam) == null ? void 0 : n.call(t, e[0], e, r[0], r) : void 0;
295
+ return e.length > 0 ? (n = t.getPreviousPageParam) == null ? void 0 : n.call(t, e[0], e, s[0], s) : void 0;
296
296
  }
297
- var p, A, q, R, F, T, H, L, Re, Tr = (Re = class {
297
+ var g, I, Q, z, H, R, L, B, Fe, Qs = (Fe = class {
298
298
  constructor(t = {}) {
299
- w(this, p);
300
- w(this, A);
301
- w(this, q);
302
- w(this, R);
303
- w(this, F);
304
- w(this, T);
299
+ w(this, g);
300
+ w(this, I);
301
+ w(this, Q);
302
+ w(this, z);
305
303
  w(this, H);
304
+ w(this, R);
306
305
  w(this, L);
307
- y(this, p, t.queryCache || new Or()), y(this, A, t.mutationCache || new Ar()), y(this, q, t.defaultOptions || {}), y(this, R, /* @__PURE__ */ new Map()), y(this, F, /* @__PURE__ */ new Map()), y(this, T, 0);
306
+ w(this, B);
307
+ v(this, g, t.queryCache || new Ts()), v(this, I, t.mutationCache || new qs()), v(this, Q, t.defaultOptions || {}), v(this, z, /* @__PURE__ */ new Map()), v(this, H, /* @__PURE__ */ new Map()), v(this, R, 0);
308
308
  }
309
309
  mount() {
310
- _(this, T)._++, l(this, T) === 1 && (y(this, H, Et.subscribe(async (t) => {
311
- t && (await this.resumePausedMutations(), l(this, p).onFocus());
312
- })), y(this, L, je.subscribe(async (t) => {
313
- t && (await this.resumePausedMutations(), l(this, p).onOnline());
310
+ W(this, R)._++, l(this, R) === 1 && (v(this, L, Ot.subscribe(async (t) => {
311
+ t && (await this.resumePausedMutations(), l(this, g).onFocus());
312
+ })), v(this, B, we.subscribe(async (t) => {
313
+ t && (await this.resumePausedMutations(), l(this, g).onOnline());
314
314
  })));
315
315
  }
316
316
  unmount() {
317
317
  var t, e;
318
- _(this, T)._--, l(this, T) === 0 && ((t = l(this, H)) == null || t.call(this), y(this, H, void 0), (e = l(this, L)) == null || e.call(this), y(this, L, void 0));
318
+ W(this, R)._--, l(this, R) === 0 && ((t = l(this, L)) == null || t.call(this), v(this, L, void 0), (e = l(this, B)) == null || e.call(this), v(this, B, void 0));
319
319
  }
320
320
  isFetching(t) {
321
- return l(this, p).findAll({ ...t, fetchStatus: "fetching" }).length;
321
+ return l(this, g).findAll({ ...t, fetchStatus: "fetching" }).length;
322
322
  }
323
323
  isMutating(t) {
324
- return l(this, A).findAll({ ...t, status: "pending" }).length;
324
+ return l(this, I).findAll({ ...t, status: "pending" }).length;
325
325
  }
326
326
  getQueryData(t) {
327
- var r;
327
+ var s;
328
328
  const e = this.defaultQueryOptions({ queryKey: t });
329
- return (r = l(this, p).get(e.queryHash)) == null ? void 0 : r.state.data;
329
+ return (s = l(this, g).get(e.queryHash)) == null ? void 0 : s.state.data;
330
330
  }
331
331
  ensureQueryData(t) {
332
- const e = this.defaultQueryOptions(t), r = l(this, p).build(this, e), n = r.state.data;
333
- return n === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && r.isStaleByTime(we(e.staleTime, r)) && this.prefetchQuery(e), Promise.resolve(n));
332
+ const e = this.defaultQueryOptions(t), s = l(this, g).build(this, e), n = s.state.data;
333
+ return n === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && s.isStaleByTime(Pe(e.staleTime, s)) && this.prefetchQuery(e), Promise.resolve(n));
334
334
  }
335
335
  getQueriesData(t) {
336
- return l(this, p).findAll(t).map(({ queryKey: e, state: r }) => {
337
- const n = r.data;
336
+ return l(this, g).findAll(t).map(({ queryKey: e, state: s }) => {
337
+ const n = s.data;
338
338
  return [e, n];
339
339
  });
340
340
  }
341
- setQueryData(t, e, r) {
342
- const n = this.defaultQueryOptions({ queryKey: t }), a = l(this, p).get(
341
+ setQueryData(t, e, s) {
342
+ const n = this.defaultQueryOptions({ queryKey: t }), a = l(this, g).get(
343
343
  n.queryHash
344
- ), i = a == null ? void 0 : a.state.data, o = Mt(e, i);
345
- if (o !== void 0)
346
- return l(this, p).build(this, n).setData(o, { ...r, manual: !0 });
344
+ ), o = a == null ? void 0 : a.state.data, i = Mt(e, o);
345
+ if (i !== void 0)
346
+ return l(this, g).build(this, n).setData(i, { ...s, manual: !0 });
347
347
  }
348
- setQueriesData(t, e, r) {
348
+ setQueriesData(t, e, s) {
349
349
  return P.batch(
350
- () => l(this, p).findAll(t).map(({ queryKey: n }) => [
350
+ () => l(this, g).findAll(t).map(({ queryKey: n }) => [
351
351
  n,
352
- this.setQueryData(n, e, r)
352
+ this.setQueryData(n, e, s)
353
353
  ])
354
354
  );
355
355
  }
356
356
  getQueryState(t) {
357
- var r;
357
+ var s;
358
358
  const e = this.defaultQueryOptions({ queryKey: t });
359
- return (r = l(this, p).get(
359
+ return (s = l(this, g).get(
360
360
  e.queryHash
361
- )) == null ? void 0 : r.state;
361
+ )) == null ? void 0 : s.state;
362
362
  }
363
363
  removeQueries(t) {
364
- const e = l(this, p);
364
+ const e = l(this, g);
365
365
  P.batch(() => {
366
- e.findAll(t).forEach((r) => {
367
- e.remove(r);
366
+ e.findAll(t).forEach((s) => {
367
+ e.remove(s);
368
368
  });
369
369
  });
370
370
  }
371
371
  resetQueries(t, e) {
372
- const r = l(this, p), n = {
372
+ const s = l(this, g), n = {
373
373
  type: "active",
374
374
  ...t
375
375
  };
376
- return P.batch(() => (r.findAll(t).forEach((a) => {
376
+ return P.batch(() => (s.findAll(t).forEach((a) => {
377
377
  a.reset();
378
378
  }), this.refetchQueries(n, e)));
379
379
  }
380
380
  cancelQueries(t, e = {}) {
381
- const r = { revert: !0, ...e }, n = P.batch(
382
- () => l(this, p).findAll(t).map((a) => a.cancel(r))
381
+ const s = { revert: !0, ...e }, n = P.batch(
382
+ () => l(this, g).findAll(t).map((a) => a.cancel(s))
383
383
  );
384
- return Promise.all(n).then(M).catch(M);
384
+ return Promise.all(n).then(A).catch(A);
385
385
  }
386
386
  invalidateQueries(t, e = {}) {
387
387
  return P.batch(() => {
388
- if (l(this, p).findAll(t).forEach((n) => {
388
+ if (l(this, g).findAll(t).forEach((n) => {
389
389
  n.invalidate();
390
390
  }), (t == null ? void 0 : t.refetchType) === "none")
391
391
  return Promise.resolve();
392
- const r = {
392
+ const s = {
393
393
  ...t,
394
394
  type: (t == null ? void 0 : t.refetchType) ?? (t == null ? void 0 : t.type) ?? "active"
395
395
  };
396
- return this.refetchQueries(r, e);
396
+ return this.refetchQueries(s, e);
397
397
  });
398
398
  }
399
399
  refetchQueries(t, e = {}) {
400
- const r = {
400
+ const s = {
401
401
  ...e,
402
402
  cancelRefetch: e.cancelRefetch ?? !0
403
403
  }, n = P.batch(
404
- () => l(this, p).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
405
- let i = a.fetch(void 0, r);
406
- return r.throwOnError || (i = i.catch(M)), a.state.fetchStatus === "paused" ? Promise.resolve() : i;
404
+ () => l(this, g).findAll(t).filter((a) => !a.isDisabled()).map((a) => {
405
+ let o = a.fetch(void 0, s);
406
+ return s.throwOnError || (o = o.catch(A)), a.state.fetchStatus === "paused" ? Promise.resolve() : o;
407
407
  })
408
408
  );
409
- return Promise.all(n).then(M);
409
+ return Promise.all(n).then(A);
410
410
  }
411
411
  fetchQuery(t) {
412
412
  const e = this.defaultQueryOptions(t);
413
413
  e.retry === void 0 && (e.retry = !1);
414
- const r = l(this, p).build(this, e);
415
- return r.isStaleByTime(
416
- we(e.staleTime, r)
417
- ) ? r.fetch(e) : Promise.resolve(r.state.data);
414
+ const s = l(this, g).build(this, e);
415
+ return s.isStaleByTime(
416
+ Pe(e.staleTime, s)
417
+ ) ? s.fetch(e) : Promise.resolve(s.state.data);
418
418
  }
419
419
  prefetchQuery(t) {
420
- return this.fetchQuery(t).then(M).catch(M);
420
+ return this.fetchQuery(t).then(A).catch(A);
421
421
  }
422
422
  fetchInfiniteQuery(t) {
423
- return t.behavior = De(t.pages), this.fetchQuery(t);
423
+ return t.behavior = Ee(t.pages), this.fetchQuery(t);
424
424
  }
425
425
  prefetchInfiniteQuery(t) {
426
- return this.fetchInfiniteQuery(t).then(M).catch(M);
426
+ return this.fetchInfiniteQuery(t).then(A).catch(A);
427
427
  }
428
428
  ensureInfiniteQueryData(t) {
429
- return t.behavior = De(t.pages), this.ensureQueryData(t);
429
+ return t.behavior = Ee(t.pages), this.ensureQueryData(t);
430
430
  }
431
431
  resumePausedMutations() {
432
- return je.isOnline() ? l(this, A).resumePausedMutations() : Promise.resolve();
432
+ return we.isOnline() ? l(this, I).resumePausedMutations() : Promise.resolve();
433
433
  }
434
434
  getQueryCache() {
435
- return l(this, p);
435
+ return l(this, g);
436
436
  }
437
437
  getMutationCache() {
438
- return l(this, A);
438
+ return l(this, I);
439
439
  }
440
440
  getDefaultOptions() {
441
- return l(this, q);
441
+ return l(this, Q);
442
442
  }
443
443
  setDefaultOptions(t) {
444
- y(this, q, t);
444
+ v(this, Q, t);
445
445
  }
446
446
  setQueryDefaults(t, e) {
447
- l(this, R).set(Pe(t), {
447
+ l(this, z).set(Ce(t), {
448
448
  queryKey: t,
449
449
  defaultOptions: e
450
450
  });
451
451
  }
452
452
  getQueryDefaults(t) {
453
- const e = [...l(this, R).values()], r = {};
453
+ const e = [...l(this, z).values()], s = {};
454
454
  return e.forEach((n) => {
455
- Ce(t, n.queryKey) && Object.assign(r, n.defaultOptions);
456
- }), r;
455
+ Ne(t, n.queryKey) && Object.assign(s, n.defaultOptions);
456
+ }), s;
457
457
  }
458
458
  setMutationDefaults(t, e) {
459
- l(this, F).set(Pe(t), {
459
+ l(this, H).set(Ce(t), {
460
460
  mutationKey: t,
461
461
  defaultOptions: e
462
462
  });
463
463
  }
464
464
  getMutationDefaults(t) {
465
- const e = [...l(this, F).values()];
466
- let r = {};
465
+ const e = [...l(this, H).values()];
466
+ let s = {};
467
467
  return e.forEach((n) => {
468
- Ce(t, n.mutationKey) && (r = { ...r, ...n.defaultOptions });
469
- }), r;
468
+ Ne(t, n.mutationKey) && (s = { ...s, ...n.defaultOptions });
469
+ }), s;
470
470
  }
471
471
  defaultQueryOptions(t) {
472
472
  if (t._defaulted)
473
473
  return t;
474
474
  const e = {
475
- ...l(this, q).queries,
475
+ ...l(this, Q).queries,
476
476
  ...this.getQueryDefaults(t.queryKey),
477
477
  ...t,
478
478
  _defaulted: !0
479
479
  };
480
- return e.queryHash || (e.queryHash = Be(
480
+ return e.queryHash || (e.queryHash = Ke(
481
481
  e.queryKey,
482
482
  e
483
- )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Ot && (e.enabled = !1), e;
483
+ )), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === At && (e.enabled = !1), e;
484
484
  }
485
485
  defaultMutationOptions(t) {
486
486
  return t != null && t._defaulted ? t : {
487
- ...l(this, q).mutations,
487
+ ...l(this, Q).mutations,
488
488
  ...(t == null ? void 0 : t.mutationKey) && this.getMutationDefaults(t.mutationKey),
489
489
  ...t,
490
490
  _defaulted: !0
491
491
  };
492
492
  }
493
493
  clear() {
494
- l(this, p).clear(), l(this, A).clear();
494
+ l(this, g).clear(), l(this, I).clear();
495
495
  }
496
- }, p = new WeakMap(), A = new WeakMap(), q = new WeakMap(), R = new WeakMap(), F = new WeakMap(), T = new WeakMap(), H = new WeakMap(), L = new WeakMap(), Re);
497
- function Ir(t) {
496
+ }, g = new WeakMap(), I = new WeakMap(), Q = new WeakMap(), z = new WeakMap(), H = new WeakMap(), R = new WeakMap(), L = new WeakMap(), B = new WeakMap(), Fe);
497
+ function Rs(t) {
498
498
  return t;
499
499
  }
500
- function Me(t, e, r) {
500
+ function Me(t, e, s) {
501
501
  var d, c;
502
502
  if (typeof e != "object" || e === null)
503
503
  return;
504
- const n = t.getMutationCache(), a = t.getQueryCache(), i = ((d = r == null ? void 0 : r.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ?? Ir, o = e.mutations || [], u = e.queries || [];
505
- o.forEach(({ state: m, ...g }) => {
504
+ const n = t.getMutationCache(), a = t.getQueryCache(), o = ((d = s == null ? void 0 : s.defaultOptions) == null ? void 0 : d.deserializeData) ?? ((c = t.getDefaultOptions().hydrate) == null ? void 0 : c.deserializeData) ?? Rs, i = e.mutations || [], u = e.queries || [];
505
+ i.forEach(({ state: x, ...m }) => {
506
506
  var h, f;
507
507
  n.build(
508
508
  t,
509
509
  {
510
510
  ...(h = t.getDefaultOptions().hydrate) == null ? void 0 : h.mutations,
511
- ...(f = r == null ? void 0 : r.defaultOptions) == null ? void 0 : f.mutations,
512
- ...g
511
+ ...(f = s == null ? void 0 : s.defaultOptions) == null ? void 0 : f.mutations,
512
+ ...m
513
513
  },
514
- m
514
+ x
515
515
  );
516
- }), u.forEach(({ queryKey: m, state: g, queryHash: h, meta: f, promise: v }) => {
517
- var V, K;
518
- let x = a.get(h);
519
- const C = g.data === void 0 ? g.data : i(g.data);
520
- if (x) {
521
- if (x.state.dataUpdatedAt < g.dataUpdatedAt) {
522
- const { fetchStatus: b, ...N } = g;
523
- x.setState({
524
- ...N,
516
+ }), u.forEach(({ queryKey: x, state: m, queryHash: h, meta: f, promise: y }) => {
517
+ var X, U;
518
+ let p = a.get(h);
519
+ const C = m.data === void 0 ? m.data : o(m.data);
520
+ if (p) {
521
+ if (p.state.dataUpdatedAt < m.dataUpdatedAt) {
522
+ const { fetchStatus: b, ...D } = m;
523
+ p.setState({
524
+ ...D,
525
525
  data: C
526
526
  });
527
527
  }
528
528
  } else
529
- x = a.build(
529
+ p = a.build(
530
530
  t,
531
531
  {
532
- ...(V = t.getDefaultOptions().hydrate) == null ? void 0 : V.queries,
533
- ...(K = r == null ? void 0 : r.defaultOptions) == null ? void 0 : K.queries,
534
- queryKey: m,
532
+ ...(X = t.getDefaultOptions().hydrate) == null ? void 0 : X.queries,
533
+ ...(U = s == null ? void 0 : s.defaultOptions) == null ? void 0 : U.queries,
534
+ queryKey: x,
535
535
  queryHash: h,
536
536
  meta: f
537
537
  },
538
538
  // Reset fetch status to idle to avoid
539
539
  // query being stuck in fetching state upon hydration
540
540
  {
541
- ...g,
541
+ ...m,
542
542
  data: C,
543
543
  fetchStatus: "idle"
544
544
  }
545
545
  );
546
- if (v) {
547
- const b = Promise.resolve(v).then(i);
548
- x.fetch(void 0, { initialPromise: b });
546
+ if (y) {
547
+ const b = Promise.resolve(y).then(o);
548
+ p.fetch(void 0, { initialPromise: b });
549
549
  }
550
550
  });
551
551
  }
552
- var Oe = (t, e) => typeof t == "object" && t !== null && e in t, Qr = ({
552
+ var Ae = (t, e) => typeof t == "object" && t !== null && e in t, Fs = ({
553
553
  children: t,
554
554
  options: e = {},
555
- state: r,
555
+ state: s,
556
556
  queryClient: n
557
557
  }) => {
558
- const a = At(n), [i, o] = U.useState(), u = U.useRef(e);
559
- return u.current = e, U.useMemo(() => {
560
- if (r) {
561
- if (typeof r != "object")
558
+ const a = Tt(n), [o, i] = q.useState(), u = q.useRef(e);
559
+ return u.current = e, q.useMemo(() => {
560
+ if (s) {
561
+ if (typeof s != "object")
562
562
  return;
563
- const d = a.getQueryCache(), c = r.queries || [], m = [], g = [];
563
+ const d = a.getQueryCache(), c = s.queries || [], x = [], m = [];
564
564
  for (const h of c) {
565
565
  const f = d.get(h.queryHash);
566
566
  if (!f)
567
- m.push(h);
567
+ x.push(h);
568
568
  else {
569
- const v = h.state.dataUpdatedAt > f.state.dataUpdatedAt || // RSC special serialized then-able chunks
570
- Oe(h.promise, "status") && Oe(f.promise, "status") && h.promise.status !== f.promise.status, x = i == null ? void 0 : i.find(
569
+ const y = h.state.dataUpdatedAt > f.state.dataUpdatedAt || // RSC special serialized then-able chunks
570
+ Ae(h.promise, "status") && Ae(f.promise, "status") && h.promise.status !== f.promise.status, p = o == null ? void 0 : o.find(
571
571
  (C) => C.queryHash === h.queryHash
572
572
  );
573
- v && (!x || h.state.dataUpdatedAt > x.state.dataUpdatedAt) && g.push(h);
573
+ y && (!p || h.state.dataUpdatedAt > p.state.dataUpdatedAt) && m.push(h);
574
574
  }
575
575
  }
576
- m.length > 0 && Me(a, { queries: m }, u.current), g.length > 0 && o(
577
- (h) => h ? [...h, ...g] : g
576
+ x.length > 0 && Me(a, { queries: x }, u.current), m.length > 0 && i(
577
+ (h) => h ? [...h, ...m] : m
578
578
  );
579
579
  }
580
- }, [a, i, r]), U.useEffect(() => {
581
- i && (Me(a, { queries: i }, u.current), o(void 0));
582
- }, [a, i]), t;
580
+ }, [a, o, s]), q.useEffect(() => {
581
+ o && (Me(a, { queries: o }, u.current), i(void 0));
582
+ }, [a, o]), t;
583
583
  };
584
- const Rr = () => {
585
- var o;
586
- const t = z(), e = E(), r = mt(), n = ee(), a = Ht(n.pathname), i = (o = e.options.protectedRoutes) == null ? void 0 : o.some(
587
- (u) => pt({ path: u, end: !0 }, n.pathname)
584
+ const zs = () => {
585
+ const t = K(), e = O(), s = pt(), n = te(), a = Ht(n.pathname), { protectedRoutes: o = [] } = e.options, i = o.some(
586
+ (u) => xt({ path: u, end: !0 }, n.pathname)
588
587
  );
589
588
  if (qt({
590
589
  queryKey: ["login-redirect"],
@@ -596,28 +595,28 @@ const Rr = () => {
596
595
  },
597
596
  enabled: typeof window < "u" && i && !t.isPending && !t.isAuthenticated
598
597
  }), i && !t.isAuthenticated)
599
- return /* @__PURE__ */ s.jsx(
600
- Tt,
598
+ return /* @__PURE__ */ r.jsx(
599
+ It,
601
600
  {
602
601
  open: !0,
603
602
  onOpenChange: (u) => {
604
- u || r(-1);
603
+ u || s(-1);
605
604
  },
606
- children: /* @__PURE__ */ s.jsxs(It, { children: [
607
- /* @__PURE__ */ s.jsx(Qt, { children: /* @__PURE__ */ s.jsx(Rt, { children: "Logging you in..." }) }),
608
- /* @__PURE__ */ s.jsx(Ft, { children: "Please wait while we log you in." })
605
+ children: /* @__PURE__ */ r.jsxs(Qt, { children: [
606
+ /* @__PURE__ */ r.jsx(Rt, { children: /* @__PURE__ */ r.jsx(Ft, { children: "Logging you in..." }) }),
607
+ /* @__PURE__ */ r.jsx(zt, { children: "Please wait while we log you in." })
609
608
  ] })
610
609
  }
611
610
  );
612
611
  if (i && !t.isAuthEnabled)
613
- throw new $e("Authentication is not enabled", {
612
+ throw new Ue("Authentication is not enabled", {
614
613
  title: "Authentication is not enabled",
615
614
  developerHint: "To use protectedRoutes you need authentication to be enabled"
616
615
  });
617
- return /* @__PURE__ */ s.jsx(ce, {});
616
+ return /* @__PURE__ */ r.jsx(ue, {});
618
617
  };
619
- function Fr({ error: t }) {
620
- return /* @__PURE__ */ s.jsx(Ue, { error: t });
618
+ function Hs({ error: t }) {
619
+ return /* @__PURE__ */ r.jsx(Ze, { error: t });
621
620
  }
622
621
  /**
623
622
  * react-router v7.2.0
@@ -629,79 +628,79 @@ function Fr({ error: t }) {
629
628
  *
630
629
  * @license MIT
631
630
  */
632
- function Hr(t) {
633
- return /* @__PURE__ */ U.createElement(xt, { flushSync: Gt.flushSync, ...t });
631
+ function Ls(t) {
632
+ return /* @__PURE__ */ q.createElement(yt, { flushSync: Wt.flushSync, ...t });
634
633
  }
635
- const oe = he({ stagger: !1 }), Lr = new Tr({
634
+ const le = fe({ stagger: !1 }), Bs = new Qs({
636
635
  defaultOptions: {
637
636
  queries: {
638
637
  staleTime: 1e3 * 60 * 5
639
638
  }
640
639
  }
641
- }), zr = ({
640
+ }), Ks = ({
642
641
  router: t,
643
642
  hydrate: e = !1
644
- }) => /* @__PURE__ */ s.jsx(Ze, { children: /* @__PURE__ */ s.jsx(Ke, { client: Lr, children: /* @__PURE__ */ s.jsx(Qr, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ s.jsx(Fe, { children: /* @__PURE__ */ s.jsx(oe.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ s.jsx(Hr, { router: t }) }) }) }) }) }), Br = ({
643
+ }) => /* @__PURE__ */ r.jsx(Ye, { children: /* @__PURE__ */ r.jsx($e, { client: Bs, children: /* @__PURE__ */ r.jsx(Fs, { state: e ? window.DATA : void 0, children: /* @__PURE__ */ r.jsx(ze, { children: /* @__PURE__ */ r.jsx(le.Provider, { value: { stagger: !e }, children: /* @__PURE__ */ r.jsx(Ls, { router: t }) }) }) }) }) }), $s = ({
645
644
  router: t,
646
645
  context: e,
647
- queryClient: r,
646
+ queryClient: s,
648
647
  helmetContext: n
649
- }) => /* @__PURE__ */ s.jsx(Ze, { children: /* @__PURE__ */ s.jsx(Ke, { client: r, children: /* @__PURE__ */ s.jsx(Fe, { context: n, children: /* @__PURE__ */ s.jsx(vt, { router: t, context: e }) }) }) });
650
- var Z = { exports: {} }, Kr = Z.exports, Ae;
651
- function $r() {
652
- return Ae || (Ae = 1, function(t, e) {
653
- (function(r, n) {
654
- n(e, Zt);
655
- })(Kr, function(r, n) {
648
+ }) => /* @__PURE__ */ r.jsx(Ye, { children: /* @__PURE__ */ r.jsx($e, { client: s, children: /* @__PURE__ */ r.jsx(ze, { context: n, children: /* @__PURE__ */ r.jsx(vt, { router: t, context: e }) }) }) });
649
+ var Y = { exports: {} }, Us = Y.exports, Te;
650
+ function Zs() {
651
+ return Te || (Te = 1, function(t, e) {
652
+ (function(s, n) {
653
+ n(e, Yt);
654
+ })(Us, function(s, n) {
656
655
  const a = {
657
656
  delay: 500,
658
657
  minDuration: 200,
659
658
  ssr: !0
660
659
  };
661
- function i() {
660
+ function o() {
662
661
  const [u, d] = n.useState(!0);
663
662
  return n.useEffect(() => {
664
663
  d(!1);
665
664
  }, []), u;
666
665
  }
667
- function o(u, d) {
666
+ function i(u, d) {
668
667
  d = Object.assign({}, a, d);
669
- const c = i() && d.ssr, m = c && u ? "DISPLAY" : "IDLE", [g, h] = n.useState(m), f = n.useRef(null);
668
+ const c = o() && d.ssr, x = c && u ? "DISPLAY" : "IDLE", [m, h] = n.useState(x), f = n.useRef(null);
670
669
  return n.useEffect(() => {
671
- if (u && (g === "IDLE" || c)) {
670
+ if (u && (m === "IDLE" || c)) {
672
671
  clearTimeout(f.current);
673
- const v = c ? 0 : d.delay;
672
+ const y = c ? 0 : d.delay;
674
673
  f.current = setTimeout(() => {
675
674
  if (!u)
676
675
  return h("IDLE");
677
676
  f.current = setTimeout(() => {
678
677
  h("EXPIRE");
679
678
  }, d.minDuration), h("DISPLAY");
680
- }, v), c || h("DELAY");
679
+ }, y), c || h("DELAY");
681
680
  }
682
- !u && g !== "DISPLAY" && (clearTimeout(f.current), h("IDLE"));
683
- }, [u, g, d.delay, d.minDuration, c]), n.useEffect(() => () => clearTimeout(f.current), []), g === "DISPLAY" || g === "EXPIRE";
681
+ !u && m !== "DISPLAY" && (clearTimeout(f.current), h("IDLE"));
682
+ }, [u, m, d.delay, d.minDuration, c]), n.useEffect(() => () => clearTimeout(f.current), []), m === "DISPLAY" || m === "EXPIRE";
684
683
  }
685
- r.defaultOptions = a, r.useSpinDelay = o;
684
+ s.defaultOptions = a, s.useSpinDelay = i;
686
685
  });
687
- }(Z, Z.exports)), Z.exports;
686
+ }(Y, Y.exports)), Y.exports;
688
687
  }
689
- var Ur = $r();
690
- const Zr = () => {
691
- const t = ee(), e = te(t.pathname);
692
- I(() => {
693
- const r = e.current !== t.pathname, n = t.hash !== "";
694
- r && !n && window.scrollTo(0, 0), e.current = t.pathname;
688
+ var Ys = Zs();
689
+ const Vs = () => {
690
+ const t = te(), e = se(t.pathname);
691
+ F(() => {
692
+ const s = e.current !== t.pathname, n = t.hash !== "";
693
+ s && !n && window.scrollTo(0, 0), e.current = t.pathname;
695
694
  }, [t.pathname, t.hash]);
696
695
  };
697
- function Yr({
696
+ function Xs({
698
697
  className: t,
699
698
  ...e
700
699
  }) {
701
- return /* @__PURE__ */ s.jsx(
700
+ return /* @__PURE__ */ r.jsx(
702
701
  "div",
703
702
  {
704
- className: Q("animate-pulse rounded-md bg-muted", t),
703
+ className: E("animate-pulse rounded-md bg-muted", t),
705
704
  ...e
706
705
  }
707
706
  );
@@ -712,71 +711,71 @@ const qe = {
712
711
  tip: "bg-green-600",
713
712
  caution: "bg-orange-500",
714
713
  danger: "bg-rose-500"
715
- }, Vr = () => {
716
- const { page: t } = E(), [e, r] = B(!0);
714
+ }, Gs = () => {
715
+ const { page: t } = O(), [e, s] = $(!0);
717
716
  if (!(t != null && t.banner) || !e)
718
- return /* @__PURE__ */ s.jsx("style", { children: ":root { --banner-height: 0px; }" });
717
+ return /* @__PURE__ */ r.jsx("style", { children: ":root { --banner-height: 0px; }" });
719
718
  const n = t.banner.color && t.banner.color in qe ? qe[t.banner.color] : t.banner.color ? void 0 : "bg-primary", a = n ? {} : { backgroundColor: t.banner.color };
720
- return /* @__PURE__ */ s.jsxs(
719
+ return /* @__PURE__ */ r.jsxs(
721
720
  "div",
722
721
  {
723
- className: Q(
722
+ className: E(
724
723
  "relative text-primary-foreground text-sm font-medium px-4 py-2 flex gap-2 items-center",
725
724
  n
726
725
  ),
727
726
  "data-pagefind-ignore": "all",
728
727
  style: a,
729
728
  children: [
730
- /* @__PURE__ */ s.jsx("div", { className: "w-full", children: t.banner.message }),
731
- t.banner.dismissible && /* @__PURE__ */ s.jsx(
729
+ /* @__PURE__ */ r.jsx("div", { className: "w-full", children: t.banner.message }),
730
+ t.banner.dismissible && /* @__PURE__ */ r.jsx(
732
731
  "button",
733
732
  {
734
733
  type: "button",
735
734
  className: "md:absolute md:right-4 -m-1.5 p-1.5 hover:bg-accent-foreground/10 rounded-md",
736
- onClick: () => r(!1),
737
- children: /* @__PURE__ */ s.jsx(Wt, { size: 16 })
735
+ onClick: () => s(!1),
736
+ children: /* @__PURE__ */ r.jsx(Ps, { size: 16 })
738
737
  }
739
738
  )
740
739
  ]
741
740
  }
742
741
  );
743
- }, et = ({ className: t }) => {
744
- const e = E(), [r, n] = B(!1), a = Yt(() => n(!1), []);
745
- I(() => {
746
- if (r)
742
+ }, Je = ({ className: t }) => {
743
+ const e = O(), [s, n] = $(!1), a = Vt(() => n(!1), []);
744
+ F(() => {
745
+ if (s)
747
746
  return;
748
- function o(u) {
747
+ function i(u) {
749
748
  u.key === "k" && (u.metaKey || u.ctrlKey) && (u.preventDefault(), n(!0));
750
749
  }
751
- return window.addEventListener("keydown", o), () => {
752
- window.removeEventListener("keydown", o);
750
+ return window.addEventListener("keydown", i), () => {
751
+ window.removeEventListener("keydown", i);
753
752
  };
754
- }, [r, n]);
755
- const i = e.plugins.find(hr);
756
- return i ? /* @__PURE__ */ s.jsxs("div", { className: t, children: [
757
- /* @__PURE__ */ s.jsxs(
753
+ }, [s, n]);
754
+ const o = e.plugins.find(is);
755
+ return o ? /* @__PURE__ */ r.jsxs("div", { className: t, children: [
756
+ /* @__PURE__ */ r.jsxs(
758
757
  "button",
759
758
  {
760
759
  type: "button",
761
760
  onClick: () => n(!0),
762
761
  className: "flex items-center border border-input hover:bg-accent hover:text-accent-foreground p-4 relative h-8 justify-start rounded-lg bg-background text-sm text-muted-foreground shadow-none w-full sm:w-72",
763
762
  children: [
764
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
765
- /* @__PURE__ */ s.jsx(Jt, { size: 14 }),
763
+ /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-2 flex-grow", children: [
764
+ /* @__PURE__ */ r.jsx(Cs, { size: 14 }),
766
765
  "Search"
767
766
  ] }),
768
- /* @__PURE__ */ s.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
767
+ /* @__PURE__ */ r.jsx("kbd", { className: "absolute right-[0.3rem] top-[0.3rem] hidden h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[11px] font-medium opacity-100 sm:flex", children: "⌘K" })
769
768
  ]
770
769
  }
771
770
  ),
772
- /* @__PURE__ */ s.jsx(fe, { fallback: null, children: i.renderSearch({
773
- isOpen: r,
771
+ /* @__PURE__ */ r.jsx(me, { fallback: null, children: o.renderSearch({
772
+ isOpen: s,
774
773
  onClose: a
775
774
  }) })
776
775
  ] }) : null;
777
- }, tt = () => {
776
+ }, et = () => {
778
777
  const { resolvedTheme: t, setTheme: e } = He();
779
- return /* @__PURE__ */ s.jsx(ge, { fallback: /* @__PURE__ */ s.jsx(ie, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ s.jsxs(
778
+ return /* @__PURE__ */ r.jsx(ge, { fallback: /* @__PURE__ */ r.jsx(oe, { variant: "ghost", size: "icon" }), children: /* @__PURE__ */ r.jsxs(
780
779
  "button",
781
780
  {
782
781
  type: "button",
@@ -784,86 +783,86 @@ const qe = {
784
783
  onClick: () => e(t === "dark" ? "light" : "dark"),
785
784
  "aria-label": t === "dark" ? "Switch to light mode" : "Switch to dark mode",
786
785
  children: [
787
- /* @__PURE__ */ s.jsx(
786
+ /* @__PURE__ */ r.jsx(
788
787
  "div",
789
788
  {
790
- className: Q(
789
+ className: E(
791
790
  "border border-transparent rounded-full p-0.5 [&>svg>circle]:transition-colors [&>svg>path]:transition-transform transition-all [&>svg>path]:duration-200 [&>svg>circle]:duration-500 [&>svg>circle]:fill-transparent",
792
791
  t === "light" && "border-border bg-muted",
793
792
  t === "dark" && "group-hover:[&>svg>path]:scale-110 group-hover:[&>svg>path]:-translate-x-[1px] group-hover:[&>svg>path]:-translate-y-[1px] group-hover:rotate-[15deg] "
794
793
  ),
795
- children: /* @__PURE__ */ s.jsx(er, { size: 16 })
794
+ children: /* @__PURE__ */ r.jsx(Ns, { size: 16 })
796
795
  }
797
796
  ),
798
- /* @__PURE__ */ s.jsx(
797
+ /* @__PURE__ */ r.jsx(
799
798
  "div",
800
799
  {
801
- className: Q(
800
+ className: E(
802
801
  "border border-transparent rounded-full p-0.5 transition-transform transform-gpu duration-500",
803
802
  t === "dark" && "border-border bg-muted [&>svg>path]:fill-white [&>svg>path]:stroke-transparent",
804
803
  t === "light" && "group-hover:rotate-[-10deg] [&>svg>path]:stroke-currentColor"
805
804
  ),
806
- children: /* @__PURE__ */ s.jsx(tr, { size: 16 })
805
+ children: /* @__PURE__ */ r.jsx(ks, { size: 16 })
807
806
  }
808
807
  )
809
808
  ]
810
809
  }
811
810
  ) });
812
- }, rt = (t) => (e) => e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", Xr = () => {
813
- const { topNavigation: t } = E(), { isAuthenticated: e } = z();
814
- return t.length <= 1 ? /* @__PURE__ */ s.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ s.jsx(fe, { children: /* @__PURE__ */ s.jsxs("div", { className: " items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm", children: [
815
- /* @__PURE__ */ s.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ s.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.filter(rt(e)).map((r) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(st, { ...r }) }, r.id)) }) }),
816
- /* @__PURE__ */ s.jsx(S, { name: "top-navigation-side" })
811
+ }, tt = (t) => (e) => e.display === "auth" && t || e.display === "anon" && !t || !e.display || e.display === "always", Ws = () => {
812
+ const { topNavigation: t } = O(), { isAuthenticated: e } = K();
813
+ return t.length <= 1 ? /* @__PURE__ */ r.jsx("style", { children: ":root { --top-nav-height: 0px; }" }) : /* @__PURE__ */ r.jsx(me, { children: /* @__PURE__ */ r.jsxs("div", { className: " items-center justify-between px-8 h-[--top-nav-height] hidden lg:flex text-sm", children: [
814
+ /* @__PURE__ */ r.jsx("nav", { className: "text-sm", children: /* @__PURE__ */ r.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.filter(tt(e)).map((s) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(st, { ...s }) }, s.id)) }) }),
815
+ /* @__PURE__ */ r.jsx(k, { name: "top-navigation-side" })
817
816
  ] }) });
818
817
  }, st = ({
819
818
  id: t,
820
819
  label: e,
821
- default: r
820
+ default: s
822
821
  }) => {
823
822
  var c;
824
- const { sidebars: n } = E(), a = n[t], i = Le(), o = !!ue().location, u = ((c = i.topNavItem) == null ? void 0 : c.id) === t && !o, d = r ?? (a ? bt(a, (m) => {
825
- if (m.type === "doc") return ae(m.id);
826
- }) : ae(t));
823
+ const { sidebars: n } = O(), a = n[t], o = Le(), i = !!de().location, u = ((c = o.topNavItem) == null ? void 0 : c.id) === t && !i, d = s ?? (a ? jt(a, (x) => {
824
+ if (x.type === "doc") return ie(x.id);
825
+ }) : ie(t));
827
826
  if (!d)
828
- throw new $e("Page not found.", {
827
+ throw new Ue("Page not found.", {
829
828
  developerHint: `No links found in top navigation for '${t}'. Check that the sidebar isn't empty or that a default link is set.`
830
829
  });
831
830
  return (
832
831
  // We don't use isActive here because it has to be inside the sidebar,
833
832
  // the top nav id doesn't necessarily start with the sidebar id
834
- /* @__PURE__ */ s.jsx(
835
- yt,
833
+ /* @__PURE__ */ r.jsx(
834
+ bt,
836
835
  {
837
- className: ({ isPending: m }) => Er(
836
+ className: ({ isPending: x }) => Ms(
838
837
  "block lg:py-3.5 font-medium -mb-px",
839
- u || m ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
838
+ u || x ? "border-primary text-foreground" : "border-transparent text-foreground/75 hover:text-foreground hover:border-accent-foreground/25"
840
839
  ),
841
840
  to: d,
842
841
  children: e
843
842
  }
844
843
  )
845
844
  );
846
- }, _r = () => {
847
- const { topNavigation: t } = E(), { isAuthenticated: e } = z(), [r, n] = B(!1);
848
- return /* @__PURE__ */ s.jsxs(
849
- Ve,
845
+ }, _s = () => {
846
+ const { topNavigation: t } = O(), { isAuthenticated: e } = K(), [s, n] = $(!1);
847
+ return /* @__PURE__ */ r.jsxs(
848
+ Es,
850
849
  {
851
850
  direction: "right",
852
- open: r,
851
+ open: s,
853
852
  onOpenChange: (a) => n(a),
854
853
  children: [
855
- /* @__PURE__ */ s.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ s.jsx(Xe, { className: "lg:hidden", children: /* @__PURE__ */ s.jsx(rr, { size: 22 }) }) }),
856
- /* @__PURE__ */ s.jsx(
857
- _e,
854
+ /* @__PURE__ */ r.jsx("div", { className: "flex lg:hidden justify-self-end", children: /* @__PURE__ */ r.jsx(Os, { className: "lg:hidden", children: /* @__PURE__ */ r.jsx(Ds, { size: 22 }) }) }),
855
+ /* @__PURE__ */ r.jsx(
856
+ We,
858
857
  {
859
858
  className: "lg:hidden h-[100dvh] right-0 left-auto w-[320px] rounded-none",
860
859
  "aria-describedby": void 0,
861
- children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
862
- /* @__PURE__ */ s.jsx(Je, { children: /* @__PURE__ */ s.jsx(Ge, { children: "Navigation" }) }),
863
- /* @__PURE__ */ s.jsx(et, { className: "flex p-4" }),
864
- /* @__PURE__ */ s.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
865
- /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx(tt, {}) }),
866
- t.filter(rt(e)).map((a) => /* @__PURE__ */ s.jsx("li", { children: /* @__PURE__ */ s.jsx("button", { onClick: () => n(!1), children: /* @__PURE__ */ s.jsx(st, { ...a }) }) }, a.label))
860
+ children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
861
+ /* @__PURE__ */ r.jsx(Ge, { children: /* @__PURE__ */ r.jsx(_e, { children: "Navigation" }) }),
862
+ /* @__PURE__ */ r.jsx(Je, { className: "flex p-4" }),
863
+ /* @__PURE__ */ r.jsxs("ul", { className: "flex flex-col items-center gap-4 p-4", children: [
864
+ /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx(et, {}) }),
865
+ t.filter(tt(e)).map((a) => /* @__PURE__ */ r.jsx("li", { children: /* @__PURE__ */ r.jsx("button", { onClick: () => n(!1), children: /* @__PURE__ */ r.jsx(st, { ...a }) }) }, a.label))
867
866
  ] })
868
867
  ] })
869
868
  }
@@ -871,138 +870,196 @@ const qe = {
871
870
  ]
872
871
  }
873
872
  );
874
- }, J = ({ item: t }) => t.children ? /* @__PURE__ */ s.jsxs(Cr, { children: [
875
- /* @__PURE__ */ s.jsx(kr, { children: t.label }),
876
- /* @__PURE__ */ s.jsx(Sr, { children: /* @__PURE__ */ s.jsx(Nr, { children: t.children.map((e, r) => (
873
+ }, ee = ({ item: t }) => t.children ? /* @__PURE__ */ r.jsxs(ys, { children: [
874
+ /* @__PURE__ */ r.jsx(vs, { children: t.label }),
875
+ /* @__PURE__ */ r.jsx(bs, { children: /* @__PURE__ */ r.jsx(js, { children: t.children.map((e, s) => (
877
876
  // eslint-disable-next-line react/no-array-index-key
878
- /* @__PURE__ */ s.jsx(J, { item: e }, r)
877
+ /* @__PURE__ */ r.jsx(ee, { item: e }, s)
879
878
  )) }) })
880
- ] }, t.label) : /* @__PURE__ */ s.jsx(de, { to: t.path ?? "", children: /* @__PURE__ */ s.jsxs(Dr, { className: "flex gap-2", children: [
881
- t.icon && /* @__PURE__ */ s.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
879
+ ] }, t.label) : /* @__PURE__ */ r.jsx(he, { to: t.path ?? "", children: /* @__PURE__ */ r.jsxs(ws, { className: "flex gap-2", children: [
880
+ t.icon && /* @__PURE__ */ r.jsx(t.icon, { size: 16, strokeWidth: 1, absoluteStrokeWidth: !0 }),
882
881
  t.label
883
- ] }, t.label) }), nt = Ye(function() {
884
- const e = z(), { isAuthenticated: r, profile: n, isAuthEnabled: a } = z(), i = E(), { page: o, plugins: u } = i, d = u.filter((c) => fr(c)).flatMap((c) => c.getProfileMenuItems(i)).sort((c) => c.weight ?? 0);
885
- return /* @__PURE__ */ s.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
886
- /* @__PURE__ */ s.jsx(Vr, {}),
887
- /* @__PURE__ */ s.jsx("div", { className: "border-b", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl 2xl:border-x mx-auto grid grid-cols-[1fr_auto] lg:grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center px-4 lg:px-8 h-[--top-header-height]", children: [
888
- /* @__PURE__ */ s.jsx("div", { className: "flex", children: /* @__PURE__ */ s.jsx(de, { to: "/", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-3.5", children: [
889
- (o == null ? void 0 : o.logo) && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
890
- /* @__PURE__ */ s.jsx(
882
+ ] }, t.label) }), rt = Ve(function() {
883
+ const e = K(), { isAuthenticated: s, profile: n, isAuthEnabled: a } = K(), o = O(), { page: i, plugins: u } = o, d = u.filter((c) => os(c)).flatMap((c) => c.getProfileMenuItems(o)).sort((c) => c.weight ?? 0);
884
+ return /* @__PURE__ */ r.jsxs("header", { className: "sticky lg:top-0 z-10 bg-background/80 backdrop-blur w-full", children: [
885
+ /* @__PURE__ */ r.jsx(Gs, {}),
886
+ /* @__PURE__ */ r.jsx("div", { className: "border-b", children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl 2xl:border-x mx-auto flex relative items-center justify-between px-4 lg:px-8 h-[--top-header-height]", children: [
887
+ /* @__PURE__ */ r.jsx("div", { className: "flex", children: /* @__PURE__ */ r.jsx(he, { to: "/", children: /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3.5", children: [
888
+ (i == null ? void 0 : i.logo) && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
889
+ /* @__PURE__ */ r.jsx(
891
890
  "img",
892
891
  {
893
- src: /https?:\/\//.test(o.logo.src.light) ? o.logo.src.light : Ne(
892
+ src: /https?:\/\//.test(i.logo.src.light) ? i.logo.src.light : Se(
894
893
  "/",
895
- o.logo.src.light
894
+ i.logo.src.light
896
895
  ),
897
- alt: o.logo.alt ?? o.pageTitle,
898
- style: { width: o.logo.width },
896
+ alt: i.logo.alt ?? i.pageTitle,
897
+ style: { width: i.logo.width },
899
898
  className: "h-10 dark:hidden",
900
899
  loading: "lazy"
901
900
  }
902
901
  ),
903
- /* @__PURE__ */ s.jsx(
902
+ /* @__PURE__ */ r.jsx(
904
903
  "img",
905
904
  {
906
- src: /https?:\/\//.test(o.logo.src.dark) ? o.logo.src.dark : Ne(
905
+ src: /https?:\/\//.test(i.logo.src.dark) ? i.logo.src.dark : Se(
907
906
  "/",
908
- o.logo.src.dark
907
+ i.logo.src.dark
909
908
  ),
910
- alt: o.logo.alt ?? o.pageTitle,
911
- style: { width: o.logo.width },
909
+ alt: i.logo.alt ?? i.pageTitle,
910
+ style: { width: i.logo.width },
912
911
  className: "h-10 hidden dark:block",
913
912
  loading: "lazy"
914
913
  }
915
914
  )
916
915
  ] }),
917
- /* @__PURE__ */ s.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: o == null ? void 0 : o.pageTitle })
916
+ /* @__PURE__ */ r.jsx("span", { className: "font-bold text-2xl text-foreground/85 tracking-wide", children: i == null ? void 0 : i.pageTitle })
918
917
  ] }) }) }),
919
- /* @__PURE__ */ s.jsxs("div", { className: "grid grid-cols-1 lg:grid-cols-[--sidecar-grid-cols] items-center gap-8", children: [
920
- /* @__PURE__ */ s.jsx("div", { className: "w-full justify-center hidden lg:flex", children: /* @__PURE__ */ s.jsx(et, {}) }),
921
- /* @__PURE__ */ s.jsx(_r, {}),
922
- /* @__PURE__ */ s.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
923
- /* @__PURE__ */ s.jsx(S, { name: "head-navigation-start" }),
924
- a && /* @__PURE__ */ s.jsx(
918
+ /* @__PURE__ */ r.jsx("div", { className: "absolute inset-x-0 justify-center items-center hidden lg:flex w-full pointer-events-none", children: /* @__PURE__ */ r.jsx(Je, { className: "pointer-events-auto" }) }),
919
+ /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-8", children: [
920
+ /* @__PURE__ */ r.jsx(_s, {}),
921
+ /* @__PURE__ */ r.jsxs("div", { className: "hidden lg:flex items-center justify-self-end text-sm gap-2", children: [
922
+ /* @__PURE__ */ r.jsx(k, { name: "head-navigation-start" }),
923
+ a && /* @__PURE__ */ r.jsx(
925
924
  ge,
926
925
  {
927
- fallback: /* @__PURE__ */ s.jsx(Yr, { className: "rounded h-5 w-24 mr-4" }),
928
- children: r ? Object.values(d).length > 0 && /* @__PURE__ */ s.jsxs(br, { modal: !1, children: [
929
- /* @__PURE__ */ s.jsx(jr, { asChild: !0, children: /* @__PURE__ */ s.jsx(ie, { variant: "ghost", children: n != null && n.name ? `${n.name}` : "My Account" }) }),
930
- /* @__PURE__ */ s.jsxs(wr, { className: "w-56", children: [
931
- /* @__PURE__ */ s.jsxs(Pr, { children: [
926
+ fallback: /* @__PURE__ */ r.jsx(Xs, { className: "rounded h-5 w-24 mr-4" }),
927
+ children: s ? Object.values(d).length > 0 && /* @__PURE__ */ r.jsxs(ms, { modal: !1, children: [
928
+ /* @__PURE__ */ r.jsx(gs, { asChild: !0, children: /* @__PURE__ */ r.jsx(oe, { variant: "ghost", children: n != null && n.name ? `${n.name}` : "My Account" }) }),
929
+ /* @__PURE__ */ r.jsxs(ps, { className: "w-56", children: [
930
+ /* @__PURE__ */ r.jsxs(xs, { children: [
932
931
  n != null && n.name ? `${n.name}` : "My Account",
933
- (n == null ? void 0 : n.email) && /* @__PURE__ */ s.jsx("div", { className: "font-normal text-muted-foreground", children: n.email })
932
+ (n == null ? void 0 : n.email) && /* @__PURE__ */ r.jsx("div", { className: "font-normal text-muted-foreground", children: n.email })
934
933
  ] }),
935
- d.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ s.jsx(se, {}),
936
- d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ s.jsx(J, { item: c }, c.label)),
934
+ d.filter((c) => c.category === "top").length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
935
+ d.filter((c) => c.category === "top").map((c) => /* @__PURE__ */ r.jsx(ee, { item: c }, c.label)),
937
936
  d.filter(
938
937
  (c) => !c.category || c.category === "middle"
939
- ).length > 0 && /* @__PURE__ */ s.jsx(se, {}),
938
+ ).length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
940
939
  d.filter(
941
940
  (c) => !c.category || c.category === "middle"
942
- ).map((c) => /* @__PURE__ */ s.jsx(J, { item: c }, c.label)),
943
- d.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ s.jsx(se, {}),
944
- d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ s.jsx(J, { item: c }, c.label))
941
+ ).map((c) => /* @__PURE__ */ r.jsx(ee, { item: c }, c.label)),
942
+ d.filter((c) => c.category === "bottom").length > 0 && /* @__PURE__ */ r.jsx(ne, {}),
943
+ d.filter((c) => c.category === "bottom").map((c) => /* @__PURE__ */ r.jsx(ee, { item: c }, c.label))
945
944
  ] })
946
- ] }) : /* @__PURE__ */ s.jsx(ie, { variant: "ghost", onClick: () => e.login(), children: "Login" })
945
+ ] }) : /* @__PURE__ */ r.jsx(oe, { variant: "ghost", onClick: () => e.login(), children: "Login" })
947
946
  }
948
947
  ),
949
- /* @__PURE__ */ s.jsx(S, { name: "head-navigation-end" }),
950
- /* @__PURE__ */ s.jsx(tt, {})
948
+ /* @__PURE__ */ r.jsx(k, { name: "head-navigation-end" }),
949
+ /* @__PURE__ */ r.jsx(et, {})
951
950
  ] })
952
951
  ] })
953
952
  ] }) }),
954
- /* @__PURE__ */ s.jsx("div", { className: "border-b hidden lg:block", children: /* @__PURE__ */ s.jsxs("div", { className: "max-w-screen-2xl mx-auto 2xl:border-x", children: [
955
- /* @__PURE__ */ s.jsx(S, { name: "top-navigation-before" }),
956
- /* @__PURE__ */ s.jsx(Xr, {}),
957
- /* @__PURE__ */ s.jsx(S, { name: "top-navigation-after" })
953
+ /* @__PURE__ */ r.jsx("div", { className: "border-b hidden lg:block", children: /* @__PURE__ */ r.jsxs("div", { className: "max-w-screen-2xl mx-auto 2xl:border-x", children: [
954
+ /* @__PURE__ */ r.jsx(k, { name: "top-navigation-before" }),
955
+ /* @__PURE__ */ r.jsx(Ws, {}),
956
+ /* @__PURE__ */ r.jsx(k, { name: "top-navigation-after" })
958
957
  ] }) })
959
958
  ] });
960
- }), at = Vt(({ children: t, className: e, pushMainContent: r }, n) => /* @__PURE__ */ s.jsx(
961
- "nav",
959
+ }), nt = ({
960
+ shouldScaleBackground: t = !0,
961
+ ...e
962
+ }) => /* @__PURE__ */ r.jsx(
963
+ M.Root,
962
964
  {
963
- "data-navigation": String(r),
964
- className: Q(
965
- "scrollbar peer hidden lg:flex flex-col fixed text-sm overflow-y-auto shrink-0 border-r pr-6",
966
- "-mx-[--padding-nav-item] pb-20 pt-[--padding-content-top]",
967
- "w-[--side-nav-width] h-[calc(100%-var(--header-height))] scroll-pt-2 gap-2",
968
- !r && "border-r-0",
969
- e
970
- ),
971
- ref: n,
972
- children: t
965
+ shouldScaleBackground: t,
966
+ ...e
967
+ }
968
+ );
969
+ nt.displayName = "Drawer";
970
+ const Js = M.Trigger, er = M.Portal, at = q.forwardRef(({ className: t, ...e }, s) => /* @__PURE__ */ r.jsx(
971
+ M.Overlay,
972
+ {
973
+ ref: s,
974
+ className: E("fixed inset-0 z-50 bg-black/80", t),
975
+ ...e
973
976
  }
974
977
  ));
975
- at.displayName = "SidebarWrapper";
976
- const Gr = ({
977
- onRequestClose: t
978
- }) => {
979
- const e = te(null), r = Le();
980
- return I(() => {
981
- var a;
982
- const n = (a = e.current) == null ? void 0 : a.querySelector('[aria-current="page"]');
983
- nr(n ?? null);
984
- }, []), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
985
- /* @__PURE__ */ s.jsxs(
986
- at,
978
+ at.displayName = M.Overlay.displayName;
979
+ const tr = q.forwardRef(
980
+ ({ className: t, children: e, hideBar: s = !0, ...n }, a) => /* @__PURE__ */ r.jsxs(er, { children: [
981
+ /* @__PURE__ */ r.jsx(at, {}),
982
+ /* @__PURE__ */ r.jsxs(
983
+ M.Content,
987
984
  {
988
- ref: e,
989
- pushMainContent: r.sidebar.length > 0,
985
+ ref: a,
986
+ className: E(
987
+ "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
988
+ t
989
+ ),
990
+ ...n,
990
991
  children: [
991
- /* @__PURE__ */ s.jsx(S, { name: "zudoku-before-navigation" }),
992
- r.sidebar.map((n) => /* @__PURE__ */ s.jsx(Se, { item: n }, n.label)),
993
- /* @__PURE__ */ s.jsx(S, { name: "zudoku-after-navigation" })
992
+ !s && /* @__PURE__ */ r.jsx("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
993
+ e
994
994
  ]
995
995
  }
996
+ )
997
+ ] })
998
+ );
999
+ tr.displayName = "DrawerContent";
1000
+ const sr = q.forwardRef(({ className: t, ...e }, s) => /* @__PURE__ */ r.jsx(
1001
+ M.Title,
1002
+ {
1003
+ ref: s,
1004
+ className: E(
1005
+ "text-lg font-semibold leading-none tracking-tight",
1006
+ t
996
1007
  ),
997
- /* @__PURE__ */ s.jsx(
998
- _e,
1008
+ ...e
1009
+ }
1010
+ ));
1011
+ sr.displayName = M.Title.displayName;
1012
+ const rr = q.forwardRef(({ className: t, ...e }, s) => /* @__PURE__ */ r.jsx(
1013
+ M.Description,
1014
+ {
1015
+ ref: s,
1016
+ className: E("text-sm text-muted-foreground", t),
1017
+ ...e
1018
+ }
1019
+ ));
1020
+ rr.displayName = M.Description.displayName;
1021
+ const it = ({
1022
+ children: t,
1023
+ className: e,
1024
+ ref: s
1025
+ }) => /* @__PURE__ */ r.jsx(
1026
+ "nav",
1027
+ {
1028
+ className: E(
1029
+ "hidden lg:flex h-full scrollbar peer flex-col overflow-y-auto shrink-0 text-sm border-r pr-6",
1030
+ "sticky top-[--header-height] h-[calc(100vh-var(--header-height))]",
1031
+ "-mx-[--padding-nav-item] max-w-[--side-nav-width] pb-20 pt-[--padding-content-top] scroll-pt-2 gap-2",
1032
+ e
1033
+ ),
1034
+ ref: s,
1035
+ children: t
1036
+ }
1037
+ );
1038
+ it.displayName = "SidebarWrapper";
1039
+ const nr = ({
1040
+ onRequestClose: t,
1041
+ sidebar: e
1042
+ }) => {
1043
+ const s = se(null);
1044
+ return F(() => {
1045
+ var a;
1046
+ const n = (a = s.current) == null ? void 0 : a.querySelector('[aria-current="page"]');
1047
+ _t(n ?? null);
1048
+ }, []), /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1049
+ /* @__PURE__ */ r.jsxs(it, { ref: s, children: [
1050
+ /* @__PURE__ */ r.jsx(k, { name: "zudoku-before-navigation" }),
1051
+ e.map((n) => /* @__PURE__ */ r.jsx(De, { item: n }, n.label)),
1052
+ /* @__PURE__ */ r.jsx(k, { name: "zudoku-after-navigation" })
1053
+ ] }),
1054
+ /* @__PURE__ */ r.jsx(
1055
+ We,
999
1056
  {
1000
1057
  className: "lg:hidden h-[100dvh] left-0 w-[320px] rounded-none",
1001
1058
  "aria-describedby": void 0,
1002
- children: /* @__PURE__ */ s.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
1003
- /* @__PURE__ */ s.jsx(Je, { children: /* @__PURE__ */ s.jsx(Ge, { children: "Sidebar" }) }),
1004
- r.sidebar.map((n) => /* @__PURE__ */ s.jsx(
1005
- Se,
1059
+ children: /* @__PURE__ */ r.jsxs("div", { className: "p-4 overflow-y-auto overscroll-none", children: [
1060
+ /* @__PURE__ */ r.jsx(Ge, { children: /* @__PURE__ */ r.jsx(_e, { children: "Sidebar" }) }),
1061
+ e.map((n) => /* @__PURE__ */ r.jsx(
1062
+ De,
1006
1063
  {
1007
1064
  item: n,
1008
1065
  onRequestClose: t
@@ -1013,81 +1070,78 @@ const Gr = ({
1013
1070
  }
1014
1071
  )
1015
1072
  ] });
1016
- }, Te = () => /* @__PURE__ */ s.jsx("main", { className: "grid h-[calc(100vh-var(--header-height))] place-items-center", children: /* @__PURE__ */ s.jsx(We, {}) }), Wr = ({ children: t }) => {
1017
- const e = ee(), { setActiveAnchor: r } = ar(), { meta: n, authentication: a } = E();
1018
- ir(), Zr();
1019
- const i = te(e.pathname);
1020
- I(() => {
1021
- var m;
1022
- (m = a == null ? void 0 : a.onPageLoad) == null || m.call(a);
1023
- }, [a]), I(() => {
1024
- e.pathname !== i.current && r(""), i.current = e.pathname;
1025
- }, [e.pathname, r]);
1026
- const o = !!ue().location, u = Ur.useSpinDelay(o, {
1073
+ }, ar = ({ children: t }) => {
1074
+ const [e, s] = $(!1), { sidebar: n } = Le(), a = n.length > 0;
1075
+ return /* @__PURE__ */ r.jsxs(
1076
+ nt,
1077
+ {
1078
+ direction: "left",
1079
+ open: e,
1080
+ onOpenChange: (o) => s(o),
1081
+ children: [
1082
+ a && /* @__PURE__ */ r.jsx(
1083
+ nr,
1084
+ {
1085
+ onRequestClose: () => s(!1),
1086
+ sidebar: n
1087
+ }
1088
+ ),
1089
+ a && /* @__PURE__ */ r.jsx("div", { className: "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b", children: /* @__PURE__ */ r.jsxs(Js, { className: "flex items-center gap-2", children: [
1090
+ /* @__PURE__ */ r.jsx(Ss, { size: 16, strokeWidth: 1.5 }),
1091
+ /* @__PURE__ */ r.jsx("span", { className: "text-sm", children: "Menu" })
1092
+ ] }) }),
1093
+ /* @__PURE__ */ r.jsxs(
1094
+ "main",
1095
+ {
1096
+ "data-pagefind-body": !0,
1097
+ className: E(
1098
+ "h-auto dark:border-white/10 translate-x-0",
1099
+ a ? "lg:pl-12" : "col-span-full"
1100
+ ),
1101
+ children: [
1102
+ /* @__PURE__ */ r.jsx(k, { name: "zudoku-before-content" }),
1103
+ t,
1104
+ /* @__PURE__ */ r.jsx(k, { name: "zudoku-after-content" })
1105
+ ]
1106
+ }
1107
+ )
1108
+ ]
1109
+ }
1110
+ );
1111
+ }, Ie = () => /* @__PURE__ */ r.jsx("main", { className: "col-span-full grid place-items-center", children: /* @__PURE__ */ r.jsx(Xe, {}) }), ir = ({ children: t }) => {
1112
+ const e = te(), { setActiveAnchor: s } = Jt(), { meta: n, authentication: a } = O();
1113
+ es(), Vs();
1114
+ const o = se(e.pathname);
1115
+ F(() => {
1116
+ var d;
1117
+ (d = a == null ? void 0 : a.onPageLoad) == null || d.call(a);
1118
+ }, [a]), F(() => {
1119
+ e.pathname !== o.current && s(""), o.current = e.pathname;
1120
+ }, [e.pathname, s]);
1121
+ const i = !!de().location, u = Ys.useSpinDelay(i, {
1027
1122
  delay: 300,
1028
1123
  minDuration: 500
1029
- }), [d, c] = B(!1);
1030
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1124
+ });
1125
+ return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1031
1126
  !1,
1032
- /* @__PURE__ */ s.jsxs(le, { titleTemplate: n == null ? void 0 : n.title, children: [
1033
- (n == null ? void 0 : n.description) && /* @__PURE__ */ s.jsx("meta", { name: "description", content: n.description }),
1034
- (n == null ? void 0 : n.favicon) && /* @__PURE__ */ s.jsx("link", { rel: "icon", href: n.favicon })
1127
+ /* @__PURE__ */ r.jsxs(ce, { titleTemplate: n == null ? void 0 : n.title, children: [
1128
+ (n == null ? void 0 : n.description) && /* @__PURE__ */ r.jsx("meta", { name: "description", content: n.description }),
1129
+ (n == null ? void 0 : n.favicon) && /* @__PURE__ */ r.jsx("link", { rel: "icon", href: n.favicon })
1035
1130
  ] }),
1036
- /* @__PURE__ */ s.jsx(S, { name: "layout-before-head" }),
1037
- /* @__PURE__ */ s.jsx(nt, {}),
1038
- /* @__PURE__ */ s.jsx(S, { name: "layout-after-head" }),
1039
- /* @__PURE__ */ s.jsx("div", { className: "w-full min-h-[calc(100vh-var(--header-height))] max-w-screen-2xl mx-auto px-4 lg:px-8 2xl:border-x", children: u ? /* @__PURE__ */ s.jsx(Te, {}) : /* @__PURE__ */ s.jsx(fe, { fallback: /* @__PURE__ */ s.jsx(Te, {}), children: /* @__PURE__ */ s.jsxs(
1040
- Ve,
1041
- {
1042
- direction: "left",
1043
- open: d,
1044
- onOpenChange: (m) => c(m),
1045
- children: [
1046
- /* @__PURE__ */ s.jsx(Gr, { onRequestClose: () => c(!1) }),
1047
- /* @__PURE__ */ s.jsx(
1048
- "div",
1049
- {
1050
- className: Q(
1051
- "lg:hidden -mx-4 px-4 py-2 sticky bg-background/80 backdrop-blur z-10 top-0 left-0 right-0 border-b",
1052
- "peer-data-[navigation=false]:hidden"
1053
- ),
1054
- children: /* @__PURE__ */ s.jsxs(Xe, { className: "flex items-center gap-2", children: [
1055
- /* @__PURE__ */ s.jsx(sr, { size: 16, strokeWidth: 1.5 }),
1056
- /* @__PURE__ */ s.jsx("span", { className: "text-sm", children: "Menu" })
1057
- ] })
1058
- }
1059
- ),
1060
- /* @__PURE__ */ s.jsxs(
1061
- "main",
1062
- {
1063
- "data-pagefind-body": !0,
1064
- className: Q(
1065
- "h-full dark:border-white/10 translate-x-0",
1066
- "lg:overflow-visible",
1067
- // This works in tandem with the `SidebarWrapper` component
1068
- "lg:peer-data-[navigation=true]:w-[calc(100%-var(--side-nav-width))]",
1069
- "lg:peer-data-[navigation=true]:translate-x-[--side-nav-width] lg:peer-data-[navigation=true]:pl-12"
1070
- ),
1071
- children: [
1072
- /* @__PURE__ */ s.jsx(S, { name: "zudoku-before-content" }),
1073
- t ?? /* @__PURE__ */ s.jsx(ce, {}),
1074
- /* @__PURE__ */ s.jsx(S, { name: "zudoku-after-content" })
1075
- ]
1076
- }
1077
- )
1078
- ]
1079
- }
1080
- ) }) })
1131
+ /* @__PURE__ */ r.jsx(k, { name: "layout-before-head" }),
1132
+ /* @__PURE__ */ r.jsx(rt, {}),
1133
+ /* @__PURE__ */ r.jsx(k, { name: "layout-after-head" }),
1134
+ /* @__PURE__ */ r.jsx("div", { className: "grid lg:grid-cols-[var(--side-nav-width)_1fr] max-w-screen-2xl w-full lg:mx-auto px-4 lg:px-8 2xl:border-x", children: u ? /* @__PURE__ */ r.jsx(Ie, {}) : /* @__PURE__ */ r.jsx(me, { fallback: /* @__PURE__ */ r.jsx(Ie, {}), children: /* @__PURE__ */ r.jsx(ar, { children: t ?? /* @__PURE__ */ r.jsx(ue, {}) }) }) })
1081
1135
  ] });
1082
- }, Jr = ({
1136
+ }, or = ({
1083
1137
  title: t = "An error occurred",
1084
1138
  message: e,
1085
- category: r
1086
- }) => /* @__PURE__ */ s.jsxs("div", { className: lr + " h-full pt-[--padding-content-top]", children: [
1087
- r && /* @__PURE__ */ s.jsx(Mr, { children: r }),
1088
- t && /* @__PURE__ */ s.jsx(or, { level: 1, className: "flex gap-3.5 items-center", children: t }),
1089
- /* @__PURE__ */ s.jsx("p", { children: e })
1090
- ] }), es = (t) => {
1139
+ category: s
1140
+ }) => /* @__PURE__ */ r.jsxs("div", { className: ss + " h-full pt-[--padding-content-top]", children: [
1141
+ s && /* @__PURE__ */ r.jsx(As, { children: s }),
1142
+ t && /* @__PURE__ */ r.jsx(ts, { level: 1, className: "flex gap-3.5 items-center", children: t }),
1143
+ /* @__PURE__ */ r.jsx("p", { children: e })
1144
+ ] }), lr = (t) => {
1091
1145
  switch (t) {
1092
1146
  case 400:
1093
1147
  return {
@@ -1150,23 +1204,23 @@ const Gr = ({
1150
1204
  message: "Something went wrong while processing your request."
1151
1205
  };
1152
1206
  }
1153
- }, ts = ({ statusCode: t, message: e }) => {
1154
- const r = es(t);
1155
- return /* @__PURE__ */ s.jsx(
1156
- Jr,
1207
+ }, cr = ({ statusCode: t, message: e }) => {
1208
+ const s = lr(t);
1209
+ return /* @__PURE__ */ r.jsx(
1210
+ or,
1157
1211
  {
1158
- title: r.title,
1159
- message: e ?? r.message,
1212
+ title: s.title,
1213
+ message: e ?? s.message,
1160
1214
  category: t
1161
1215
  }
1162
1216
  );
1163
- }, rs = he(null), ne = {
1217
+ }, ur = fe(null), ae = {
1164
1218
  didCatch: !1,
1165
1219
  error: null
1166
1220
  };
1167
- class ss extends Xt {
1221
+ class dr extends Xt {
1168
1222
  constructor(e) {
1169
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ne;
1223
+ super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = ae;
1170
1224
  }
1171
1225
  static getDerivedStateFromError(e) {
1172
1226
  return {
@@ -1179,86 +1233,86 @@ class ss extends Xt {
1179
1233
  error: e
1180
1234
  } = this.state;
1181
1235
  if (e !== null) {
1182
- for (var r, n, a = arguments.length, i = new Array(a), o = 0; o < a; o++)
1183
- i[o] = arguments[o];
1184
- (r = (n = this.props).onReset) === null || r === void 0 || r.call(n, {
1185
- args: i,
1236
+ for (var s, n, a = arguments.length, o = new Array(a), i = 0; i < a; i++)
1237
+ o[i] = arguments[i];
1238
+ (s = (n = this.props).onReset) === null || s === void 0 || s.call(n, {
1239
+ args: o,
1186
1240
  reason: "imperative-api"
1187
- }), this.setState(ne);
1241
+ }), this.setState(ae);
1188
1242
  }
1189
1243
  }
1190
- componentDidCatch(e, r) {
1244
+ componentDidCatch(e, s) {
1191
1245
  var n, a;
1192
- (n = (a = this.props).onError) === null || n === void 0 || n.call(a, e, r);
1246
+ (n = (a = this.props).onError) === null || n === void 0 || n.call(a, e, s);
1193
1247
  }
1194
- componentDidUpdate(e, r) {
1248
+ componentDidUpdate(e, s) {
1195
1249
  const {
1196
1250
  didCatch: n
1197
1251
  } = this.state, {
1198
1252
  resetKeys: a
1199
1253
  } = this.props;
1200
- if (n && r.error !== null && ns(e.resetKeys, a)) {
1201
- var i, o;
1202
- (i = (o = this.props).onReset) === null || i === void 0 || i.call(o, {
1254
+ if (n && s.error !== null && hr(e.resetKeys, a)) {
1255
+ var o, i;
1256
+ (o = (i = this.props).onReset) === null || o === void 0 || o.call(i, {
1203
1257
  next: a,
1204
1258
  prev: e.resetKeys,
1205
1259
  reason: "keys"
1206
- }), this.setState(ne);
1260
+ }), this.setState(ae);
1207
1261
  }
1208
1262
  }
1209
1263
  render() {
1210
1264
  const {
1211
1265
  children: e,
1212
- fallbackRender: r,
1266
+ fallbackRender: s,
1213
1267
  FallbackComponent: n,
1214
1268
  fallback: a
1215
1269
  } = this.props, {
1216
- didCatch: i,
1217
- error: o
1270
+ didCatch: o,
1271
+ error: i
1218
1272
  } = this.state;
1219
1273
  let u = e;
1220
- if (i) {
1274
+ if (o) {
1221
1275
  const d = {
1222
- error: o,
1276
+ error: i,
1223
1277
  resetErrorBoundary: this.resetErrorBoundary
1224
1278
  };
1225
- if (typeof r == "function")
1226
- u = r(d);
1279
+ if (typeof s == "function")
1280
+ u = s(d);
1227
1281
  else if (n)
1228
1282
  u = ke(n, d);
1229
1283
  else if (a !== void 0)
1230
1284
  u = a;
1231
1285
  else
1232
- throw o;
1286
+ throw i;
1233
1287
  }
1234
- return ke(rs.Provider, {
1288
+ return ke(ur.Provider, {
1235
1289
  value: {
1236
- didCatch: i,
1237
- error: o,
1290
+ didCatch: o,
1291
+ error: i,
1238
1292
  resetErrorBoundary: this.resetErrorBoundary
1239
1293
  }
1240
1294
  }, u);
1241
1295
  }
1242
1296
  }
1243
- function ns() {
1297
+ function hr() {
1244
1298
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
1245
- return t.length !== e.length || t.some((r, n) => !Object.is(r, e[n]));
1299
+ return t.length !== e.length || t.some((s, n) => !Object.is(s, e[n]));
1246
1300
  }
1247
- let as = () => ({
1301
+ let fr = () => ({
1248
1302
  emit(t, ...e) {
1249
- for (let r = this.events[t] || [], n = 0, a = r.length; n < a; n++)
1250
- r[n](...e);
1303
+ for (let s = this.events[t] || [], n = 0, a = s.length; n < a; n++)
1304
+ s[n](...e);
1251
1305
  },
1252
1306
  events: {},
1253
1307
  on(t, e) {
1254
- var r;
1255
- return ((r = this.events)[t] || (r[t] = [])).push(e), () => {
1308
+ var s;
1309
+ return ((s = this.events)[t] || (s[t] = [])).push(e), () => {
1256
1310
  var n;
1257
1311
  this.events[t] = (n = this.events[t]) == null ? void 0 : n.filter((a) => e !== a);
1258
1312
  };
1259
1313
  }
1260
1314
  });
1261
- class is {
1315
+ class mr {
1262
1316
  constructor(e) {
1263
1317
  j(this, "plugins");
1264
1318
  j(this, "sidebars");
@@ -1267,127 +1321,127 @@ class is {
1267
1321
  j(this, "page");
1268
1322
  j(this, "authentication");
1269
1323
  j(this, "navigationPlugins");
1270
- j(this, "emitter", as());
1324
+ j(this, "emitter", fr());
1271
1325
  j(this, "initialize", async () => {
1272
1326
  await Promise.all(
1273
- this.plugins.filter(pr).map((e) => {
1274
- var r;
1275
- return (r = e.initialize) == null ? void 0 : r.call(e, this);
1327
+ this.plugins.filter(us).map((e) => {
1328
+ var s;
1329
+ return (s = e.initialize) == null ? void 0 : s.call(e, this);
1276
1330
  })
1277
1331
  );
1278
1332
  });
1279
1333
  j(this, "getApiIdentities", async () => (await Promise.all(
1280
- this.plugins.filter(xr).map((r) => r.getIdentities(this))
1334
+ this.plugins.filter(ds).map((s) => s.getIdentities(this))
1281
1335
  )).flat());
1282
- j(this, "emitEvent", (e, ...r) => this.emitter.emit(e, ...r));
1336
+ j(this, "emitEvent", (e, ...s) => this.emitter.emit(e, ...s));
1283
1337
  j(this, "getPluginSidebar", async (e) => (await Promise.all(
1284
1338
  this.navigationPlugins.map(
1285
1339
  (n) => {
1286
1340
  var a;
1287
- return (a = n.getSidebar) == null ? void 0 : a.call(n, ae(e));
1341
+ return (a = n.getSidebar) == null ? void 0 : a.call(n, ie(e));
1288
1342
  }
1289
1343
  )
1290
1344
  )).flatMap((n) => n ?? []));
1291
1345
  j(this, "signRequest", async (e) => {
1292
1346
  if (!this.authentication)
1293
1347
  throw new Error("No authentication provider configured");
1294
- const r = await this.authentication.getAccessToken();
1295
- return e.headers.set("Authorization", `Bearer ${r}`), e;
1348
+ const s = await this.authentication.getAccessToken();
1349
+ return e.headers.set("Authorization", `Bearer ${s}`), e;
1296
1350
  });
1297
- this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(gr), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.plugins.forEach((r) => {
1298
- mr(r) && Lt(r.events).forEach(([n, a]) => {
1351
+ this.options = e, this.plugins = e.plugins ?? [], this.topNavigation = e.topNavigation ?? [], this.sidebars = e.sidebars ?? {}, this.navigationPlugins = this.plugins.filter(ls), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page, this.plugins.forEach((s) => {
1352
+ cs(s) && Lt(s.events).forEach(([n, a]) => {
1299
1353
  this.emitter.on(n, a);
1300
1354
  });
1301
1355
  });
1302
1356
  }
1303
- addEventListener(e, r) {
1304
- return this.emitter.on(e, r);
1357
+ addEventListener(e, s) {
1358
+ return this.emitter.on(e, s);
1305
1359
  }
1306
1360
  }
1307
- function os({ error: t, resetErrorBoundary: e }) {
1308
- return /* @__PURE__ */ s.jsx(Ue, { error: t });
1361
+ function gr({ error: t, resetErrorBoundary: e }) {
1362
+ return /* @__PURE__ */ r.jsx(Ze, { error: t });
1309
1363
  }
1310
- const W = globalThis;
1311
- (!W.requestIdleCallback || !W.cancelIdleCallback) && (W.requestIdleCallback = (t) => setTimeout(t, 1), W.cancelIdleCallback = clearTimeout);
1312
- const it = {
1313
- Header: nt
1314
- }, ls = he(it), cs = ls.Provider, us = () => {
1315
- const t = ee(), e = E(), r = te(void 0);
1316
- return I(() => {
1364
+ const J = globalThis;
1365
+ (!J.requestIdleCallback || !J.cancelIdleCallback) && (J.requestIdleCallback = (t) => setTimeout(t, 1), J.cancelIdleCallback = clearTimeout);
1366
+ const ot = {
1367
+ Header: rt
1368
+ }, pr = fe(ot), xr = pr.Provider, yr = () => {
1369
+ const t = te(), e = O(), s = se(void 0);
1370
+ return F(() => {
1317
1371
  e.emitEvent("location", {
1318
- from: r.current,
1372
+ from: s.current,
1319
1373
  to: t
1320
- }), r.current = t;
1374
+ }), s.current = t;
1321
1375
  }, [e, t]), null;
1322
- }, ds = ({
1376
+ }, vr = ({
1323
1377
  children: t,
1324
1378
  context: e
1325
- }) => (jt({
1379
+ }) => (wt({
1326
1380
  queryFn: async () => (await e.initialize(), !0),
1327
1381
  queryKey: ["zudoku-initialize"]
1328
- }), /* @__PURE__ */ s.jsx(wt.Provider, { value: e, children: t })), ot = Ye(
1382
+ }), /* @__PURE__ */ r.jsx(Pt.Provider, { value: e, children: t })), lt = Ve(
1329
1383
  ({ children: t, ...e }) => {
1330
- var g, h;
1331
- const r = re(
1332
- () => ({ ...it, ...e.overrides }),
1384
+ var m, h;
1385
+ const s = re(
1386
+ () => ({ ...ot, ...e.overrides }),
1333
1387
  [e.overrides]
1334
1388
  ), n = re(() => {
1335
- var v;
1389
+ var y;
1336
1390
  return {
1337
- ...(e.plugins ?? []).filter(vr).flatMap(
1338
- (x) => x.getMdxComponents ? [x.getMdxComponents()] : []
1391
+ ...(e.plugins ?? []).filter(hs).flatMap(
1392
+ (p) => p.getMdxComponents ? [p.getMdxComponents()] : []
1339
1393
  ).reduce(
1340
- (x, C) => ({ ...x, ...C }),
1394
+ (p, C) => ({ ...p, ...C }),
1341
1395
  {}
1342
1396
  ),
1343
- ...cr,
1344
- ...(v = e.mdx) == null ? void 0 : v.components
1397
+ ...rs,
1398
+ ...(y = e.mdx) == null ? void 0 : y.components
1345
1399
  };
1346
- }, [(g = e.mdx) == null ? void 0 : g.components, e.plugins]), { stagger: a } = _t(oe), [i, o] = B(!1), u = re(
1347
- () => i ? { stagger: !0 } : { stagger: a },
1348
- [a, i]
1349
- ), d = ue();
1350
- I(() => {
1351
- i || o(!0);
1352
- }, [i, d.location]);
1353
- const [c] = B(() => new is(e)), m = (h = e.plugins) == null ? void 0 : h.flatMap((f) => {
1354
- var v;
1355
- return yr(f) ? ((v = f.getHead) == null ? void 0 : v.call(f)) ?? [] : [];
1356
- }).map((f, v) => /* @__PURE__ */ s.jsx(le, { children: f }, v));
1357
- return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
1358
- m,
1359
- /* @__PURE__ */ s.jsx(oe.Provider, { value: u, children: /* @__PURE__ */ s.jsxs(ds, { context: c, children: [
1360
- /* @__PURE__ */ s.jsx(us, {}),
1361
- /* @__PURE__ */ s.jsx(ht, { components: n, children: /* @__PURE__ */ s.jsx(gt, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ s.jsx(cs, { value: r, children: /* @__PURE__ */ s.jsx(zt, { slotlets: e.slotlets, children: /* @__PURE__ */ s.jsx(ur, { children: t ?? /* @__PURE__ */ s.jsx(ce, {}) }) }) }) }) })
1400
+ }, [(m = e.mdx) == null ? void 0 : m.components, e.plugins]), { stagger: a } = Gt(le), [o, i] = $(!1), u = re(
1401
+ () => o ? { stagger: !0 } : { stagger: a },
1402
+ [a, o]
1403
+ ), d = de();
1404
+ F(() => {
1405
+ o || i(!0);
1406
+ }, [o, d.location]);
1407
+ const [c] = $(() => new mr(e)), x = (h = e.plugins) == null ? void 0 : h.flatMap((f) => {
1408
+ var y;
1409
+ return fs(f) ? ((y = f.getHead) == null ? void 0 : y.call(f)) ?? [] : [];
1410
+ }).map((f, y) => /* @__PURE__ */ r.jsx(ce, { children: f }, y));
1411
+ return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1412
+ x,
1413
+ /* @__PURE__ */ r.jsx(le.Provider, { value: u, children: /* @__PURE__ */ r.jsxs(vr, { context: c, children: [
1414
+ /* @__PURE__ */ r.jsx(yr, {}),
1415
+ /* @__PURE__ */ r.jsx(ft, { components: n, children: /* @__PURE__ */ r.jsx(gt, { attribute: "class", disableTransitionOnChange: !0, children: /* @__PURE__ */ r.jsx(xr, { value: s, children: /* @__PURE__ */ r.jsx(Bt, { slotlets: e.slotlets, children: /* @__PURE__ */ r.jsx(ns, { children: t ?? /* @__PURE__ */ r.jsx(ue, {}) }) }) }) }) })
1362
1416
  ] }) })
1363
1417
  ] });
1364
1418
  }
1365
1419
  );
1366
- ot.displayName = "ZudokoInner";
1367
- const lt = (t) => /* @__PURE__ */ s.jsx(ss, { FallbackComponent: os, children: /* @__PURE__ */ s.jsx(ot, { ...t }) });
1368
- lt.displayName = "Zudoku";
1369
- const Hs = ft, Ls = Wr, zs = Bt, Bs = Fr, Ks = zr, $s = Br, Us = Rr, Zs = le, Ys = E, Vs = z, Xs = Pt, _s = Ct, Gs = lt, Ws = ts, Js = $t, en = dr, tn = We, rn = ge, sn = Kt, nn = de, an = He;
1420
+ lt.displayName = "ZudokoInner";
1421
+ const ct = (t) => /* @__PURE__ */ r.jsx(dr, { FallbackComponent: gr, children: /* @__PURE__ */ r.jsx(lt, { ...t }) });
1422
+ ct.displayName = "Zudoku";
1423
+ const Yr = mt, Vr = ir, Xr = Kt, Gr = Hs, Wr = Ks, _r = $s, Jr = zs, en = ce, tn = O, sn = K, rn = Ct, nn = Nt, an = ct, on = cr, ln = Ut, cn = as, un = Xe, dn = ge, hn = $t, fn = he, mn = He;
1370
1424
  export {
1371
- Ks as Bootstrap,
1372
- $s as BootstrapStatic,
1373
- sn as Button,
1374
- _s as CACHE_KEYS,
1375
- Js as Callout,
1376
- rn as ClientOnly,
1377
- Zs as Head,
1378
- Ls as Layout,
1379
- nn as Link,
1380
- en as Markdown,
1381
- Us as RouteGuard,
1382
- zs as RouterError,
1383
- Bs as ServerError,
1384
- tn as Spinner,
1385
- Ws as StatusPage,
1386
- Gs as Zudoku,
1387
- Vs as useAuth,
1388
- Xs as useCache,
1389
- Hs as useMDXComponents,
1390
- an as useTheme,
1391
- Ys as useZudoku
1425
+ Wr as Bootstrap,
1426
+ _r as BootstrapStatic,
1427
+ hn as Button,
1428
+ nn as CACHE_KEYS,
1429
+ ln as Callout,
1430
+ dn as ClientOnly,
1431
+ en as Head,
1432
+ Vr as Layout,
1433
+ fn as Link,
1434
+ cn as Markdown,
1435
+ Jr as RouteGuard,
1436
+ Xr as RouterError,
1437
+ Gr as ServerError,
1438
+ un as Spinner,
1439
+ on as StatusPage,
1440
+ an as Zudoku,
1441
+ sn as useAuth,
1442
+ rn as useCache,
1443
+ Yr as useMDXComponents,
1444
+ mn as useTheme,
1445
+ tn as useZudoku
1392
1446
  };
1393
1447
  //# sourceMappingURL=zudoku.components.js.map