zudoku 0.3.0-dev.50 → 0.3.0-dev.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/core/DevPortalContext.d.ts +1 -6
- package/dist/lib/core/DevPortalContext.js +2 -6
- package/dist/lib/core/DevPortalContext.js.map +1 -1
- package/lib/{hook-DCYGmylw.js → hook-CGFJQf_n.js} +2 -2
- package/lib/{hook-DCYGmylw.js.map → hook-CGFJQf_n.js.map} +1 -1
- package/lib/{state-D36MLDHk.js → state-DKdaQzvh.js} +1 -2
- package/lib/{state-D36MLDHk.js.map → state-DKdaQzvh.js.map} +1 -1
- package/lib/zudoku.auth-auth0.js +1 -1
- package/lib/zudoku.auth-clerk.js +1 -1
- package/lib/zudoku.auth-openid.js +1 -1
- package/lib/zudoku.components.js +92 -94
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +1 -1
- package/package.json +1 -1
- package/src/lib/core/DevPortalContext.ts +2 -12
package/lib/zudoku.components.js
CHANGED
|
@@ -14,17 +14,16 @@ var L = (t, e, r, a) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import { c as U, d as Ye, R as Je, N as J, a as Xe, u as We, M as Ge, T as Ze, V as et, b as W, e as F, f as tt, C as rt, L as at } from "./Markdown-Dbzrtopg.js";
|
|
17
|
-
import { E as Ee, u as st, R as nt } from "./hook-
|
|
17
|
+
import { E as Ee, u as st, R as nt } from "./hook-CGFJQf_n.js";
|
|
18
18
|
import { j as n, d as it, u as T, O as ot } from "./jsx-runtime-CJZJivg2.js";
|
|
19
19
|
import { H as Pe, a as je, M as lt, A as ct, u as ut } from "./AnchorLink-CZUp-F0P.js";
|
|
20
20
|
import ht, { StrictMode as Se, createContext as Ne, Component as dt, createElement as he, isValidElement as ft, memo as Ce, useMemo as V, useEffect as I, Fragment as pt, useRef as K, useState as mt, forwardRef as gt, Suspense as vt } from "react";
|
|
21
21
|
import { g as G } from "./_commonjsHelpers-BVfed4GL.js";
|
|
22
22
|
import { r as yt } from "./router-CBw2vqJE.js";
|
|
23
23
|
import { S as Oe, h as Ae, Q as bt, n as g, m as de, a as fe, b as P, e as xt, c as wt, d as Et, f as Pt, o as pe, r as me, g as jt, i as ge, p as ve, s as St, u as Z, j as Nt, D as Ct, k as Ot, l as At } from "./DevPortalProvider-Do9oJqme.js";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { c as ee, i as X, j as De, a as Dt } from "./util-_jwUlTBU.js";
|
|
24
|
+
import { M as Rt } from "./index-CXXn0D4E.js";
|
|
25
|
+
import { R as Re, T as ke, C as Me, S as kt } from "./Spinner-BSk0ImmP.js";
|
|
26
|
+
import { c as ee, i as X, j as De, a as Mt } from "./util-_jwUlTBU.js";
|
|
28
27
|
/**
|
|
29
28
|
* @license lucide-react v0.378.0 - ISC
|
|
30
29
|
*
|
|
@@ -40,7 +39,7 @@ const _e = U("ChevronRight", [
|
|
|
40
39
|
* This source code is licensed under the ISC license.
|
|
41
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
42
41
|
*/
|
|
43
|
-
const
|
|
42
|
+
const Dt = U("ExternalLink", [
|
|
44
43
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
45
44
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
46
45
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
@@ -51,7 +50,7 @@ const _t = U("ExternalLink", [
|
|
|
51
50
|
* This source code is licensed under the ISC license.
|
|
52
51
|
* See the LICENSE file in the root directory of this source tree.
|
|
53
52
|
*/
|
|
54
|
-
const
|
|
53
|
+
const _t = U("MoonStar", [
|
|
55
54
|
["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9", key: "4ay0iu" }],
|
|
56
55
|
["path", { d: "M20 3v4", key: "1olli1" }],
|
|
57
56
|
["path", { d: "M22 5h-4", key: "1gvqau" }]
|
|
@@ -62,7 +61,7 @@ const Tt = U("MoonStar", [
|
|
|
62
61
|
* This source code is licensed under the ISC license.
|
|
63
62
|
* See the LICENSE file in the root directory of this source tree.
|
|
64
63
|
*/
|
|
65
|
-
const
|
|
64
|
+
const Tt = U("Sun", [
|
|
66
65
|
["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
|
|
67
66
|
["path", { d: "M12 2v2", key: "tus03m" }],
|
|
68
67
|
["path", { d: "M12 20v2", key: "1lh1kg" }],
|
|
@@ -73,14 +72,14 @@ const Ft = U("Sun", [
|
|
|
73
72
|
["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
|
|
74
73
|
["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
|
|
75
74
|
]);
|
|
76
|
-
function
|
|
75
|
+
function Ft({ error: t }) {
|
|
77
76
|
return /* @__PURE__ */ n.jsx(Ee, { error: t });
|
|
78
77
|
}
|
|
79
78
|
var q = {};
|
|
80
|
-
const
|
|
79
|
+
const Qt = /* @__PURE__ */ G(yt), It = /* @__PURE__ */ G(it), qt = /* @__PURE__ */ G(Ye);
|
|
81
80
|
Object.defineProperty(q, "__esModule", { value: !0 });
|
|
82
|
-
var
|
|
83
|
-
function
|
|
81
|
+
var Ht = ht, E = Qt, te = It, j = qt;
|
|
82
|
+
function Lt(t) {
|
|
84
83
|
if (t && t.__esModule) return t;
|
|
85
84
|
var e = /* @__PURE__ */ Object.create(null);
|
|
86
85
|
return t && Object.keys(t).forEach(function(r) {
|
|
@@ -95,8 +94,8 @@ function Bt(t) {
|
|
|
95
94
|
}
|
|
96
95
|
}), e.default = t, Object.freeze(e);
|
|
97
96
|
}
|
|
98
|
-
var x = /* @__PURE__ */
|
|
99
|
-
function
|
|
97
|
+
var x = /* @__PURE__ */ Lt(Ht);
|
|
98
|
+
function Bt({
|
|
100
99
|
basename: t,
|
|
101
100
|
children: e,
|
|
102
101
|
location: r = "/",
|
|
@@ -120,7 +119,7 @@ function zt({
|
|
|
120
119
|
static: !0
|
|
121
120
|
});
|
|
122
121
|
}
|
|
123
|
-
function
|
|
122
|
+
function zt({
|
|
124
123
|
context: t,
|
|
125
124
|
router: e,
|
|
126
125
|
hydrate: r = !0,
|
|
@@ -138,9 +137,9 @@ function Ut({
|
|
|
138
137
|
let u = {
|
|
139
138
|
loaderData: t.loaderData,
|
|
140
139
|
actionData: t.actionData,
|
|
141
|
-
errors:
|
|
140
|
+
errors: Kt(t.errors)
|
|
142
141
|
};
|
|
143
|
-
i = `window.__staticRouterHydrationData = JSON.parse(${
|
|
142
|
+
i = `window.__staticRouterHydrationData = JSON.parse(${Wt(JSON.stringify(JSON.stringify(u)))});`;
|
|
144
143
|
}
|
|
145
144
|
let {
|
|
146
145
|
state: c
|
|
@@ -164,7 +163,7 @@ function Ut({
|
|
|
164
163
|
future: {
|
|
165
164
|
v7_relativeSplatPath: e.future.v7_relativeSplatPath
|
|
166
165
|
}
|
|
167
|
-
}, /* @__PURE__ */ x.createElement(
|
|
166
|
+
}, /* @__PURE__ */ x.createElement(Ut, {
|
|
168
167
|
routes: e.routes,
|
|
169
168
|
future: e.future,
|
|
170
169
|
state: c
|
|
@@ -176,14 +175,14 @@ function Ut({
|
|
|
176
175
|
}
|
|
177
176
|
}) : null);
|
|
178
177
|
}
|
|
179
|
-
function
|
|
178
|
+
function Ut({
|
|
180
179
|
routes: t,
|
|
181
180
|
future: e,
|
|
182
181
|
state: r
|
|
183
182
|
}) {
|
|
184
183
|
return te.UNSAFE_useRoutesImpl(t, void 0, r, e);
|
|
185
184
|
}
|
|
186
|
-
function
|
|
185
|
+
function Kt(t) {
|
|
187
186
|
if (!t) return null;
|
|
188
187
|
let e = Object.entries(t), r = {};
|
|
189
188
|
for (let [a, s] of e)
|
|
@@ -222,13 +221,13 @@ function Te() {
|
|
|
222
221
|
}
|
|
223
222
|
};
|
|
224
223
|
}
|
|
225
|
-
function
|
|
224
|
+
function $t(t, e) {
|
|
226
225
|
return E.createStaticHandler(t, {
|
|
227
226
|
...e,
|
|
228
227
|
mapRouteProperties: te.UNSAFE_mapRouteProperties
|
|
229
228
|
});
|
|
230
229
|
}
|
|
231
|
-
function
|
|
230
|
+
function Vt(t, e, r = {}) {
|
|
232
231
|
let a = {}, s = E.UNSAFE_convertRoutesToDataRoutes(t, te.UNSAFE_mapRouteProperties, void 0, a), o = e.matches.map((c) => {
|
|
233
232
|
let u = a[c.route.id] || c.route;
|
|
234
233
|
return {
|
|
@@ -324,35 +323,35 @@ function Fe(t) {
|
|
|
324
323
|
function Qe(t) {
|
|
325
324
|
let e = typeof t == "string" ? t : j.createPath(t);
|
|
326
325
|
e = e.replace(/ $/, "%20");
|
|
327
|
-
let r =
|
|
326
|
+
let r = Yt.test(e) ? new URL(e) : new URL(e, "http://localhost");
|
|
328
327
|
return {
|
|
329
328
|
pathname: r.pathname,
|
|
330
329
|
search: r.search,
|
|
331
330
|
hash: r.hash
|
|
332
331
|
};
|
|
333
332
|
}
|
|
334
|
-
const
|
|
333
|
+
const Yt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Jt = {
|
|
335
334
|
"&": "\\u0026",
|
|
336
335
|
">": "\\u003e",
|
|
337
336
|
"<": "\\u003c",
|
|
338
337
|
"\u2028": "\\u2028",
|
|
339
338
|
"\u2029": "\\u2029"
|
|
340
|
-
},
|
|
341
|
-
function
|
|
342
|
-
return t.replace(
|
|
339
|
+
}, Xt = /[&><\u2028\u2029]/g;
|
|
340
|
+
function Wt(t) {
|
|
341
|
+
return t.replace(Xt, (e) => Jt[e]);
|
|
343
342
|
}
|
|
344
|
-
q.StaticRouter =
|
|
345
|
-
var
|
|
346
|
-
q.createStaticHandler =
|
|
347
|
-
q.createStaticRouter =
|
|
348
|
-
const
|
|
343
|
+
q.StaticRouter = Bt;
|
|
344
|
+
var Gt = q.StaticRouterProvider = zt;
|
|
345
|
+
q.createStaticHandler = $t;
|
|
346
|
+
q.createStaticRouter = Vt;
|
|
347
|
+
const Zt = ({
|
|
349
348
|
router: t
|
|
350
|
-
}) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { children: /* @__PURE__ */ n.jsx(Je, { router: t }) }) }),
|
|
349
|
+
}) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { children: /* @__PURE__ */ n.jsx(Je, { router: t }) }) }), er = ({
|
|
351
350
|
router: t,
|
|
352
351
|
context: e,
|
|
353
352
|
helmetContext: r
|
|
354
|
-
}) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { context: r, children: /* @__PURE__ */ n.jsx(
|
|
355
|
-
var w, be,
|
|
353
|
+
}) => /* @__PURE__ */ n.jsx(Se, { children: /* @__PURE__ */ n.jsx(Pe, { context: r, children: /* @__PURE__ */ n.jsx(Gt, { router: t, context: e }) }) });
|
|
354
|
+
var w, be, tr = (be = class extends Oe {
|
|
356
355
|
constructor(e = {}) {
|
|
357
356
|
super();
|
|
358
357
|
y(this, w);
|
|
@@ -424,7 +423,7 @@ var w, be, rr = (be = class extends Oe {
|
|
|
424
423
|
});
|
|
425
424
|
});
|
|
426
425
|
}
|
|
427
|
-
}, w = new WeakMap(), be), m, Q, xe,
|
|
426
|
+
}, w = new WeakMap(), be), m, Q, xe, rr = (xe = class extends Oe {
|
|
428
427
|
constructor(e = {}) {
|
|
429
428
|
super();
|
|
430
429
|
y(this, m);
|
|
@@ -432,7 +431,7 @@ var w, be, rr = (be = class extends Oe {
|
|
|
432
431
|
this.config = e, d(this, m, /* @__PURE__ */ new Map()), d(this, Q, Date.now());
|
|
433
432
|
}
|
|
434
433
|
build(e, r, a) {
|
|
435
|
-
const s = new
|
|
434
|
+
const s = new Rt({
|
|
436
435
|
mutationCache: this,
|
|
437
436
|
mutationId: ++L(this, Q)._,
|
|
438
437
|
options: e.defaultMutationOptions(r),
|
|
@@ -502,7 +501,7 @@ function B(t) {
|
|
|
502
501
|
var e;
|
|
503
502
|
return ((e = t.options.scope) == null ? void 0 : e.id) ?? String(t.mutationId);
|
|
504
503
|
}
|
|
505
|
-
function
|
|
504
|
+
function ar(t) {
|
|
506
505
|
return {
|
|
507
506
|
onFetch: (e, r) => {
|
|
508
507
|
const a = async () => {
|
|
@@ -538,7 +537,7 @@ function sr(t) {
|
|
|
538
537
|
};
|
|
539
538
|
let R;
|
|
540
539
|
if (o && i.length) {
|
|
541
|
-
const b = o === "backward", S = b ?
|
|
540
|
+
const b = o === "backward", S = b ? sr : ye, A = {
|
|
542
541
|
pages: i,
|
|
543
542
|
pageParams: c
|
|
544
543
|
}, H = S(s, A);
|
|
@@ -581,7 +580,7 @@ function ye(t, { pages: e, pageParams: r }) {
|
|
|
581
580
|
r
|
|
582
581
|
);
|
|
583
582
|
}
|
|
584
|
-
function
|
|
583
|
+
function sr(t, { pages: e, pageParams: r }) {
|
|
585
584
|
var a;
|
|
586
585
|
return (a = t.getPreviousPageParam) == null ? void 0 : a.call(
|
|
587
586
|
t,
|
|
@@ -591,7 +590,7 @@ function nr(t, { pages: e, pageParams: r }) {
|
|
|
591
590
|
r
|
|
592
591
|
);
|
|
593
592
|
}
|
|
594
|
-
var h, N, C, k, M, O, D, _, we,
|
|
593
|
+
var h, N, C, k, M, O, D, _, we, nr = (we = class {
|
|
595
594
|
constructor(t = {}) {
|
|
596
595
|
y(this, h);
|
|
597
596
|
y(this, N);
|
|
@@ -601,7 +600,7 @@ var h, N, C, k, M, O, D, _, we, ir = (we = class {
|
|
|
601
600
|
y(this, O);
|
|
602
601
|
y(this, D);
|
|
603
602
|
y(this, _);
|
|
604
|
-
d(this, h, t.queryCache || new
|
|
603
|
+
d(this, h, t.queryCache || new tr()), d(this, N, t.mutationCache || new rr()), d(this, C, t.defaultOptions || {}), d(this, k, /* @__PURE__ */ new Map()), d(this, M, /* @__PURE__ */ new Map()), d(this, O, 0);
|
|
605
604
|
}
|
|
606
605
|
mount() {
|
|
607
606
|
L(this, O)._++, l(this, O) === 1 && (d(this, D, Pt.subscribe(async (t) => {
|
|
@@ -720,7 +719,7 @@ var h, N, C, k, M, O, D, _, we, ir = (we = class {
|
|
|
720
719
|
return this.fetchQuery(t).then(P).catch(P);
|
|
721
720
|
}
|
|
722
721
|
fetchInfiniteQuery(t) {
|
|
723
|
-
return t.behavior =
|
|
722
|
+
return t.behavior = ar(t.pages), this.fetchQuery(t);
|
|
724
723
|
}
|
|
725
724
|
prefetchInfiniteQuery(t) {
|
|
726
725
|
return this.fetchInfiniteQuery(t).then(P).catch(P);
|
|
@@ -792,11 +791,11 @@ var h, N, C, k, M, O, D, _, we, ir = (we = class {
|
|
|
792
791
|
l(this, h).clear(), l(this, N).clear();
|
|
793
792
|
}
|
|
794
793
|
}, h = new WeakMap(), N = new WeakMap(), C = new WeakMap(), k = new WeakMap(), M = new WeakMap(), O = new WeakMap(), D = new WeakMap(), _ = new WeakMap(), we);
|
|
795
|
-
const
|
|
794
|
+
const ir = Ne(null), Y = {
|
|
796
795
|
didCatch: !1,
|
|
797
796
|
error: null
|
|
798
797
|
};
|
|
799
|
-
class
|
|
798
|
+
class or extends dt {
|
|
800
799
|
constructor(e) {
|
|
801
800
|
super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Y;
|
|
802
801
|
}
|
|
@@ -829,7 +828,7 @@ class lr extends dt {
|
|
|
829
828
|
} = this.state, {
|
|
830
829
|
resetKeys: s
|
|
831
830
|
} = this.props;
|
|
832
|
-
if (a && r.error !== null &&
|
|
831
|
+
if (a && r.error !== null && lr(e.resetKeys, s)) {
|
|
833
832
|
var o, i;
|
|
834
833
|
(o = (i = this.props).onReset) === null || o === void 0 || o.call(i, {
|
|
835
834
|
next: s,
|
|
@@ -863,7 +862,7 @@ class lr extends dt {
|
|
|
863
862
|
else
|
|
864
863
|
throw i;
|
|
865
864
|
}
|
|
866
|
-
return he(
|
|
865
|
+
return he(ir.Provider, {
|
|
867
866
|
value: {
|
|
868
867
|
didCatch: o,
|
|
869
868
|
error: i,
|
|
@@ -872,23 +871,22 @@ class lr extends dt {
|
|
|
872
871
|
}, c);
|
|
873
872
|
}
|
|
874
873
|
}
|
|
875
|
-
function
|
|
874
|
+
function lr() {
|
|
876
875
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
877
876
|
return t.length !== e.length || t.some((r, a) => !Object.is(r, e[a]));
|
|
878
877
|
}
|
|
879
|
-
const
|
|
880
|
-
class
|
|
878
|
+
const cr = (t) => "getRoutes" in t && typeof t.getRoutes == "function", ur = (t) => "initialize" in t && typeof t.initialize == "function", hr = (t) => "getHead" in t && typeof t.getHead == "function", dr = (t) => "getIdentities" in t && typeof t.getIdentities == "function", Ie = new nr();
|
|
879
|
+
class fr {
|
|
881
880
|
constructor(e) {
|
|
882
881
|
v(this, "plugins", []);
|
|
883
882
|
v(this, "navigation");
|
|
884
883
|
v(this, "meta");
|
|
885
884
|
v(this, "page");
|
|
886
885
|
v(this, "authentication");
|
|
887
|
-
v(this, "state");
|
|
888
886
|
v(this, "navigationPlugins");
|
|
889
887
|
v(this, "initialize", async () => {
|
|
890
888
|
await Promise.all([
|
|
891
|
-
this.plugins.filter(
|
|
889
|
+
this.plugins.filter(ur).map((e) => {
|
|
892
890
|
var r;
|
|
893
891
|
return (r = e.initialize) == null ? void 0 : r.call(e, this);
|
|
894
892
|
})
|
|
@@ -898,7 +896,7 @@ class mr {
|
|
|
898
896
|
await Ie.invalidateQueries({ queryKey: e });
|
|
899
897
|
});
|
|
900
898
|
v(this, "getApiIdentities", async () => (await Promise.all(
|
|
901
|
-
this.plugins.filter(
|
|
899
|
+
this.plugins.filter(dr).map((r) => r.getIdentities(this))
|
|
902
900
|
)).flat());
|
|
903
901
|
v(this, "getNavigation", async (e) => (await Promise.all(
|
|
904
902
|
this.navigationPlugins.map(
|
|
@@ -908,19 +906,19 @@ class mr {
|
|
|
908
906
|
}
|
|
909
907
|
)
|
|
910
908
|
)).flatMap((a) => a ?? []));
|
|
911
|
-
this
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
909
|
+
v(this, "signRequest", async (e) => {
|
|
910
|
+
if (!this.authentication)
|
|
911
|
+
throw new Error("No authentication provider configured");
|
|
912
|
+
const r = await this.authentication.getAccessToken();
|
|
913
|
+
return e.headers.set("Authorization", `Bearer ${r}`), e;
|
|
914
|
+
});
|
|
915
|
+
this.plugins = e.plugins ?? [], this.navigation = e.navigation, this.navigationPlugins = this.plugins.filter(cr), this.authentication = e.authentication, this.meta = e.metadata, this.page = e.page;
|
|
918
916
|
}
|
|
919
917
|
}
|
|
920
|
-
function
|
|
918
|
+
function pr({ error: t, resetErrorBoundary: e }) {
|
|
921
919
|
return /* @__PURE__ */ n.jsx(Ee, { error: t });
|
|
922
920
|
}
|
|
923
|
-
const
|
|
921
|
+
const mr = () => {
|
|
924
922
|
const { navigation: t } = Z();
|
|
925
923
|
return t.length <= 1 ? null : /* @__PURE__ */ n.jsx("nav", { className: "border-b border-border text-sm px-12 h-[--top-nav-height]", children: /* @__PURE__ */ n.jsx("ul", { className: "flex flex-row items-center gap-8", children: t.map((e) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsx(
|
|
926
924
|
J,
|
|
@@ -934,7 +932,7 @@ const vr = () => {
|
|
|
934
932
|
}
|
|
935
933
|
) }, e.label)) }) });
|
|
936
934
|
}, qe = Ce(function() {
|
|
937
|
-
const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: c } = st(), { page: u } = Z(), f = e ?
|
|
935
|
+
const [e, r] = We(), { isAuthenticated: a, profile: s, isAuthEnabled: o, login: i, logout: c } = st(), { page: u } = Z(), f = e ? _t : Tt;
|
|
938
936
|
return /* @__PURE__ */ n.jsx("header", { className: "fixed top-0 w-full z-10 bg-background/80 backdrop-blur", children: /* @__PURE__ */ n.jsxs("div", { className: "max-w-screen-2xl mx-auto", children: [
|
|
939
937
|
/* @__PURE__ */ n.jsxs("div", { className: "grid grid-cols-[calc(var(--side-nav-width))_1fr] lg:gap-12 items-center border-b border-border px-12 h-[--top-header-height]", children: [
|
|
940
938
|
/* @__PURE__ */ n.jsxs("div", { className: "flex items-center gap-3.5", children: [
|
|
@@ -977,11 +975,11 @@ const vr = () => {
|
|
|
977
975
|
] })
|
|
978
976
|
] })
|
|
979
977
|
] }),
|
|
980
|
-
/* @__PURE__ */ n.jsx(
|
|
978
|
+
/* @__PURE__ */ n.jsx(mr, {})
|
|
981
979
|
] }) });
|
|
982
980
|
}), He = {
|
|
983
981
|
Header: qe
|
|
984
|
-
},
|
|
982
|
+
}, gr = Ne(He), vr = gr.Provider, yr = ({
|
|
985
983
|
children: t,
|
|
986
984
|
...e
|
|
987
985
|
}) => {
|
|
@@ -992,21 +990,21 @@ const vr = () => {
|
|
|
992
990
|
), a = V(
|
|
993
991
|
() => ({ ...Ge, ...e.mdxComponents }),
|
|
994
992
|
[e.mdxComponents]
|
|
995
|
-
), s = V(() => new
|
|
993
|
+
), s = V(() => new fr(e), [e]);
|
|
996
994
|
I(() => {
|
|
997
995
|
s.initialize();
|
|
998
996
|
}, [s]);
|
|
999
|
-
const o = (i = e.plugins) == null ? void 0 : i.filter(
|
|
997
|
+
const o = (i = e.plugins) == null ? void 0 : i.filter(hr).map((c, u) => {
|
|
1000
998
|
var f;
|
|
1001
999
|
return /* @__PURE__ */ n.jsx(pt, { children: (f = c.getHead) == null ? void 0 : f.call(c) }, u);
|
|
1002
1000
|
});
|
|
1003
1001
|
return /* @__PURE__ */ n.jsxs(Nt, { client: Ie, children: [
|
|
1004
1002
|
/* @__PURE__ */ n.jsx(je, { children: o }),
|
|
1005
|
-
/* @__PURE__ */ n.jsx(Ct, { value: s, children: /* @__PURE__ */ n.jsx(lt, { components: a, children: /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(
|
|
1003
|
+
/* @__PURE__ */ n.jsx(Ct, { value: s, children: /* @__PURE__ */ n.jsx(lt, { components: a, children: /* @__PURE__ */ n.jsx(Ze, { children: /* @__PURE__ */ n.jsx(vr, { value: r, children: /* @__PURE__ */ n.jsx(et, { children: t }) }) }) }) })
|
|
1006
1004
|
] });
|
|
1007
|
-
},
|
|
1005
|
+
}, br = Ce(yr), Le = (t) => /* @__PURE__ */ n.jsx(or, { FallbackComponent: pr, children: /* @__PURE__ */ n.jsx(br, { ...t }) });
|
|
1008
1006
|
Le.displayName = "DevPortal";
|
|
1009
|
-
const
|
|
1007
|
+
const xr = () => {
|
|
1010
1008
|
const t = T(), { setActiveAnchor: e } = W();
|
|
1011
1009
|
I(() => {
|
|
1012
1010
|
if (!t.hash) return;
|
|
@@ -1023,7 +1021,7 @@ const Er = () => {
|
|
|
1023
1021
|
});
|
|
1024
1022
|
return s.observe(document.body, { childList: !0, subtree: !0 }), () => s.disconnect();
|
|
1025
1023
|
}, [t.hash, e]);
|
|
1026
|
-
},
|
|
1024
|
+
}, wr = () => {
|
|
1027
1025
|
const t = T(), e = K(t.pathname);
|
|
1028
1026
|
I(() => {
|
|
1029
1027
|
e.current !== t.pathname && (window.scrollTo(0, 0), e.current = t.pathname);
|
|
@@ -1051,7 +1049,7 @@ const Er = () => {
|
|
|
1051
1049
|
}
|
|
1052
1050
|
}
|
|
1053
1051
|
}
|
|
1054
|
-
),
|
|
1052
|
+
), Er = "data-anchor", ze = ({
|
|
1055
1053
|
category: t,
|
|
1056
1054
|
item: e,
|
|
1057
1055
|
activeAnchor: r,
|
|
@@ -1063,7 +1061,7 @@ const Er = () => {
|
|
|
1063
1061
|
path: o,
|
|
1064
1062
|
defaultOpen: () => ee(e, i.pathname, o)
|
|
1065
1063
|
});
|
|
1066
|
-
if (
|
|
1064
|
+
if (Mt(e)) {
|
|
1067
1065
|
const p = F(
|
|
1068
1066
|
"flex items-center gap-2",
|
|
1069
1067
|
z({
|
|
@@ -1079,7 +1077,7 @@ const Er = () => {
|
|
|
1079
1077
|
rel: "noopener noreferrer",
|
|
1080
1078
|
children: [
|
|
1081
1079
|
e.label,
|
|
1082
|
-
/* @__PURE__ */ n.jsx(
|
|
1080
|
+
/* @__PURE__ */ n.jsx(Dt, { size: 14 })
|
|
1083
1081
|
]
|
|
1084
1082
|
}
|
|
1085
1083
|
) : /* @__PURE__ */ n.jsx(J, { className: p, to: e.href, children: e.label });
|
|
@@ -1131,7 +1129,7 @@ const Er = () => {
|
|
|
1131
1129
|
ct,
|
|
1132
1130
|
{
|
|
1133
1131
|
to: e.path,
|
|
1134
|
-
[
|
|
1132
|
+
[Er]: e.path,
|
|
1135
1133
|
className: z({
|
|
1136
1134
|
isActive: e.path.slice(1) === r,
|
|
1137
1135
|
isMuted: e.muted
|
|
@@ -1146,7 +1144,7 @@ const Er = () => {
|
|
|
1146
1144
|
children: f
|
|
1147
1145
|
}
|
|
1148
1146
|
) });
|
|
1149
|
-
},
|
|
1147
|
+
}, Pr = ({
|
|
1150
1148
|
category: t
|
|
1151
1149
|
}) => {
|
|
1152
1150
|
const { activeAnchor: e } = W(), r = Ot(), a = T(), s = t.collapsible ?? !0, [o, i] = Be({
|
|
@@ -1194,7 +1192,7 @@ const Er = () => {
|
|
|
1194
1192
|
},
|
|
1195
1193
|
t.label
|
|
1196
1194
|
);
|
|
1197
|
-
},
|
|
1195
|
+
}, jr = gt(function({ children: e, className: r, pushMainContent: a }, s) {
|
|
1198
1196
|
return /* @__PURE__ */ n.jsx(
|
|
1199
1197
|
"nav",
|
|
1200
1198
|
{
|
|
@@ -1207,19 +1205,19 @@ const Er = () => {
|
|
|
1207
1205
|
children: e
|
|
1208
1206
|
}
|
|
1209
1207
|
);
|
|
1210
|
-
}),
|
|
1208
|
+
}), Sr = () => {
|
|
1211
1209
|
const t = K(null), e = At();
|
|
1212
1210
|
return /* @__PURE__ */ n.jsx(
|
|
1213
|
-
|
|
1211
|
+
jr,
|
|
1214
1212
|
{
|
|
1215
1213
|
ref: t,
|
|
1216
1214
|
pushMainContent: e.data.items.length > 0,
|
|
1217
|
-
children: e.data.items.map((r) => /* @__PURE__ */ n.jsx(
|
|
1215
|
+
children: e.data.items.map((r) => /* @__PURE__ */ n.jsx(Pr, { category: r }, r.label))
|
|
1218
1216
|
}
|
|
1219
1217
|
);
|
|
1220
|
-
},
|
|
1218
|
+
}, Nr = ({ children: t }) => {
|
|
1221
1219
|
const e = T(), { setActiveAnchor: r } = W(), { meta: a } = Z();
|
|
1222
|
-
|
|
1220
|
+
xr(), wr();
|
|
1223
1221
|
const s = K(e.pathname);
|
|
1224
1222
|
return I(() => {
|
|
1225
1223
|
e.pathname !== s.current && r(""), s.current = e.pathname;
|
|
@@ -1232,9 +1230,9 @@ const Er = () => {
|
|
|
1232
1230
|
/* @__PURE__ */ n.jsx("div", { className: "max-w-screen-2xl mx-auto pt-[--header-height] px-10 lg:px-12 h-full", children: /* @__PURE__ */ n.jsxs(
|
|
1233
1231
|
vt,
|
|
1234
1232
|
{
|
|
1235
|
-
fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(
|
|
1233
|
+
fallback: /* @__PURE__ */ n.jsx("div", { className: "grid h-full place-items-center", children: /* @__PURE__ */ n.jsx(kt, {}) }),
|
|
1236
1234
|
children: [
|
|
1237
|
-
/* @__PURE__ */ n.jsx(
|
|
1235
|
+
/* @__PURE__ */ n.jsx(Sr, {}),
|
|
1238
1236
|
/* @__PURE__ */ n.jsx(
|
|
1239
1237
|
"main",
|
|
1240
1238
|
{
|
|
@@ -1251,16 +1249,16 @@ const Er = () => {
|
|
|
1251
1249
|
}
|
|
1252
1250
|
) })
|
|
1253
1251
|
] });
|
|
1254
|
-
},
|
|
1252
|
+
}, qr = ut, Hr = rt, Lr = Le, Br = Nr, zr = at, Ur = nt, Kr = Ft, $r = Zt, Vr = er;
|
|
1255
1253
|
export {
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1254
|
+
$r as Bootstrap,
|
|
1255
|
+
Vr as BootstrapStatic,
|
|
1256
|
+
Hr as Callout,
|
|
1257
|
+
Lr as DevPortal,
|
|
1258
|
+
Br as Layout,
|
|
1259
|
+
zr as Link,
|
|
1260
|
+
Ur as RouterError,
|
|
1261
|
+
Kr as ServerError,
|
|
1262
|
+
qr as useMDXComponents
|
|
1265
1263
|
};
|
|
1266
1264
|
//# sourceMappingURL=zudoku.components.js.map
|