@versini/sassysaint 8.39.11 → 8.40.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.
- package/dist/chunks/{AboutChangelog.CfI8B3Xr.js → AboutChangelog.sxwJVJMw.js} +2 -2
- package/dist/chunks/{AboutEntry.U7i1nOgP.js → AboutEntry.BQ81lUub.js} +6 -6
- package/dist/chunks/App.B9gc6fg7.js +14162 -0
- package/dist/chunks/{Chart.CEWRx_BY.js → Chart.C49WdExM.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.C5AYAvuO.js → ChatBubbleAssistant.BGAdbVxr.js} +22 -22
- package/dist/chunks/{HistoryEntry.CvxEv8I5.js → HistoryEntry.B9fK7Ffl.js} +42 -42
- package/dist/chunks/{LNWAZHJI.Byd_ikEk.js → LNWAZHJI.CdnUhcqc.js} +1 -1
- package/dist/chunks/{ProfileEntry.BIzVmteC.js → ProfileEntry.CfrDx_1j.js} +2 -2
- package/dist/chunks/{SettingsEntry.BaeL60-Z.js → SettingsEntry.D75eEHLZ.js} +2 -2
- package/dist/chunks/{UsageEntry.BjWC97Vl.js → UsageEntry.In0ugMi8.js} +3 -3
- package/dist/chunks/{index.CD5H4iBB.js → index.BKnr6q_J.js} +1 -1
- package/dist/chunks/{index.Cd4F4k1l.js → index.Cl7AhqCZ.js} +1 -1
- package/dist/chunks/{index.DuXItDG_.js → index.CrPLofea.js} +626 -594
- package/dist/chunks/{index.DxlR3DIQ.js → index.D3As27U8.js} +2 -2
- package/dist/chunks/{index.CxgbmPIM.js → index.DBcnZQzl.js} +1 -1
- package/dist/chunks/{index.Dj49vSed.js → index.uP1AYao7.js} +3 -3
- package/dist/chunks/{useMarkdown.DmhrTtGF.js → useMarkdown.4lWqmQ_l.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/chunks/App.DMY0Cxus.js +0 -10334
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as y, jsxs as X, Fragment as pr } from "react/jsx-runtime";
|
2
2
|
import * as te from "react";
|
3
|
-
import fe, { createContext as cn, useReducer as ln, useCallback as ue, useRef as W, useEffect as Z, useSyncExternalStore as
|
3
|
+
import fe, { createContext as cn, useReducer as ln, useCallback as ue, useRef as W, useEffect as Z, useSyncExternalStore as xs, useContext as gr, useLayoutEffect as gt, useState as le, useMemo as Rt, useId as un, Suspense as $s, lazy as Ds } from "react";
|
4
4
|
import g from "clsx";
|
5
5
|
var _t = class {
|
6
6
|
constructor() {
|
@@ -21,19 +21,19 @@ var _t = class {
|
|
21
21
|
}, Ct = typeof window > "u" || "Deno" in globalThis;
|
22
22
|
function re() {
|
23
23
|
}
|
24
|
-
function
|
24
|
+
function Ms(e, t) {
|
25
25
|
return typeof e == "function" ? e(t) : e;
|
26
26
|
}
|
27
|
-
function
|
27
|
+
function Ls(e) {
|
28
28
|
return typeof e == "number" && e >= 0 && e !== 1 / 0;
|
29
29
|
}
|
30
|
-
function
|
30
|
+
function Us(e, t) {
|
31
31
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
32
32
|
}
|
33
33
|
function Zt(e, t) {
|
34
34
|
return typeof e == "function" ? e(t) : e;
|
35
35
|
}
|
36
|
-
function
|
36
|
+
function Fs(e, t) {
|
37
37
|
return typeof e == "function" ? e(t) : e;
|
38
38
|
}
|
39
39
|
function Nr(e, t) {
|
@@ -99,7 +99,7 @@ function er(e, t) {
|
|
99
99
|
}
|
100
100
|
return t;
|
101
101
|
}
|
102
|
-
function
|
102
|
+
function su(e, t) {
|
103
103
|
if (!t || Object.keys(e).length !== Object.keys(t).length)
|
104
104
|
return !1;
|
105
105
|
for (const r in e)
|
@@ -122,12 +122,12 @@ function tr(e) {
|
|
122
122
|
function $r(e) {
|
123
123
|
return Object.prototype.toString.call(e) === "[object Object]";
|
124
124
|
}
|
125
|
-
function
|
125
|
+
function Ks(e) {
|
126
126
|
return new Promise((t) => {
|
127
127
|
setTimeout(t, e);
|
128
128
|
});
|
129
129
|
}
|
130
|
-
function
|
130
|
+
function Hs(e, t, r) {
|
131
131
|
if (typeof r.structuralSharing == "function")
|
132
132
|
return r.structuralSharing(e, t);
|
133
133
|
if (r.structuralSharing !== !1) {
|
@@ -143,11 +143,11 @@ function Ks(e, t, r) {
|
|
143
143
|
}
|
144
144
|
return t;
|
145
145
|
}
|
146
|
-
function
|
146
|
+
function Bs(e, t, r = 0) {
|
147
147
|
const n = [...e, t];
|
148
148
|
return r && n.length > r ? n.slice(1) : n;
|
149
149
|
}
|
150
|
-
function
|
150
|
+
function Vs(e, t, r = 0) {
|
151
151
|
const n = [t, ...e];
|
152
152
|
return r && n.length > r ? n.slice(0, -1) : n;
|
153
153
|
}
|
@@ -157,10 +157,10 @@ function dn(e, t) {
|
|
157
157
|
`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
|
158
158
|
), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === bt ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
159
159
|
}
|
160
|
-
function
|
160
|
+
function iu(e, t) {
|
161
161
|
return typeof e == "function" ? e(...t) : !!e;
|
162
162
|
}
|
163
|
-
var
|
163
|
+
var js = class extends _t {
|
164
164
|
#e;
|
165
165
|
#t;
|
166
166
|
#r;
|
@@ -197,7 +197,7 @@ var Vs = class extends _t {
|
|
197
197
|
isFocused() {
|
198
198
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
199
199
|
}
|
200
|
-
}, fn = new
|
200
|
+
}, fn = new js(), Ws = class extends _t {
|
201
201
|
#e = !0;
|
202
202
|
#t;
|
203
203
|
#r;
|
@@ -228,8 +228,8 @@ var Vs = class extends _t {
|
|
228
228
|
isOnline() {
|
229
229
|
return this.#e;
|
230
230
|
}
|
231
|
-
}, je = new
|
232
|
-
function
|
231
|
+
}, je = new Ws();
|
232
|
+
function Gs() {
|
233
233
|
let e, t;
|
234
234
|
const r = new Promise((s, i) => {
|
235
235
|
e = s, t = i;
|
@@ -251,7 +251,7 @@ function Ws() {
|
|
251
251
|
}), t(s);
|
252
252
|
}, r;
|
253
253
|
}
|
254
|
-
function
|
254
|
+
function qs(e) {
|
255
255
|
return Math.min(1e3 * 2 ** e, 3e4);
|
256
256
|
}
|
257
257
|
function hn(e) {
|
@@ -264,7 +264,7 @@ var mn = class extends Error {
|
|
264
264
|
};
|
265
265
|
function yn(e) {
|
266
266
|
let t = !1, r = 0, n;
|
267
|
-
const s =
|
267
|
+
const s = Gs(), i = () => s.status !== "pending", o = (p) => {
|
268
268
|
i() || (f(new mn(p)), e.abort?.());
|
269
269
|
}, a = () => {
|
270
270
|
t = !0;
|
@@ -293,12 +293,12 @@ function yn(e) {
|
|
293
293
|
Promise.resolve(p).then(l).catch((w) => {
|
294
294
|
if (i())
|
295
295
|
return;
|
296
|
-
const k = e.retry ?? (Ct ? 0 : 3), S = e.retryDelay ??
|
296
|
+
const k = e.retry ?? (Ct ? 0 : 3), S = e.retryDelay ?? qs, O = typeof S == "function" ? S(r, w) : S, _ = k === !0 || typeof k == "number" && r < k || typeof k == "function" && k(r, w);
|
297
297
|
if (t || !_) {
|
298
298
|
f(w);
|
299
299
|
return;
|
300
300
|
}
|
301
|
-
r++, e.onFail?.(r, w),
|
301
|
+
r++, e.onFail?.(r, w), Ks(O).then(() => d() ? void 0 : h()).then(() => {
|
302
302
|
t ? f(w) : m();
|
303
303
|
});
|
304
304
|
});
|
@@ -314,13 +314,13 @@ function yn(e) {
|
|
314
314
|
start: () => (u() ? m() : h().then(m), s)
|
315
315
|
};
|
316
316
|
}
|
317
|
-
var
|
318
|
-
function
|
317
|
+
var Js = (e) => setTimeout(e, 0);
|
318
|
+
function zs() {
|
319
319
|
let e = [], t = 0, r = (a) => {
|
320
320
|
a();
|
321
321
|
}, n = (a) => {
|
322
322
|
a();
|
323
|
-
}, s =
|
323
|
+
}, s = Js;
|
324
324
|
const i = (a) => {
|
325
325
|
t ? e.push(a) : s(() => {
|
326
326
|
r(a);
|
@@ -374,13 +374,13 @@ function Js() {
|
|
374
374
|
}
|
375
375
|
};
|
376
376
|
}
|
377
|
-
var Q =
|
377
|
+
var Q = zs(), pn = class {
|
378
378
|
#e;
|
379
379
|
destroy() {
|
380
380
|
this.clearGcTimeout();
|
381
381
|
}
|
382
382
|
scheduleGc() {
|
383
|
-
this.clearGcTimeout(),
|
383
|
+
this.clearGcTimeout(), Ls(this.gcTime) && (this.#e = setTimeout(() => {
|
384
384
|
this.optionalRemove();
|
385
385
|
}, this.gcTime));
|
386
386
|
}
|
@@ -393,7 +393,7 @@ var Q = Js(), pn = class {
|
|
393
393
|
clearGcTimeout() {
|
394
394
|
this.#e && (clearTimeout(this.#e), this.#e = void 0);
|
395
395
|
}
|
396
|
-
},
|
396
|
+
}, Qs = class extends pn {
|
397
397
|
#e;
|
398
398
|
#t;
|
399
399
|
#r;
|
@@ -402,7 +402,7 @@ var Q = Js(), pn = class {
|
|
402
402
|
#o;
|
403
403
|
#a;
|
404
404
|
constructor(e) {
|
405
|
-
super(), this.#a = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#s = e.client, this.#r = this.#s.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e =
|
405
|
+
super(), this.#a = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#s = e.client, this.#r = this.#s.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Xs(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
|
406
406
|
}
|
407
407
|
get meta() {
|
408
408
|
return this.options.meta;
|
@@ -417,7 +417,7 @@ var Q = Js(), pn = class {
|
|
417
417
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
418
418
|
}
|
419
419
|
setData(e, t) {
|
420
|
-
const r =
|
420
|
+
const r = Hs(this.state.data, e, this.options);
|
421
421
|
return this.#i({
|
422
422
|
data: r,
|
423
423
|
type: "success",
|
@@ -440,7 +440,7 @@ var Q = Js(), pn = class {
|
|
440
440
|
}
|
441
441
|
isActive() {
|
442
442
|
return this.observers.some(
|
443
|
-
(e) =>
|
443
|
+
(e) => Fs(e.options.enabled, this) !== !1
|
444
444
|
);
|
445
445
|
}
|
446
446
|
isDisabled() {
|
@@ -457,7 +457,7 @@ var Q = Js(), pn = class {
|
|
457
457
|
) : this.state.data === void 0 || this.state.isInvalidated;
|
458
458
|
}
|
459
459
|
isStaleByTime(e = 0) {
|
460
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
460
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Us(this.state.dataUpdatedAt, e);
|
461
461
|
}
|
462
462
|
onFocus() {
|
463
463
|
this.observers.find((t) => t.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#n?.continue();
|
@@ -600,7 +600,7 @@ var Q = Js(), pn = class {
|
|
600
600
|
case "fetch":
|
601
601
|
return {
|
602
602
|
...r,
|
603
|
-
...
|
603
|
+
...Ys(r.data, this.options),
|
604
604
|
fetchMeta: e.meta ?? null
|
605
605
|
};
|
606
606
|
case "success":
|
@@ -650,7 +650,7 @@ var Q = Js(), pn = class {
|
|
650
650
|
});
|
651
651
|
}
|
652
652
|
};
|
653
|
-
function
|
653
|
+
function Ys(e, t) {
|
654
654
|
return {
|
655
655
|
fetchFailureCount: 0,
|
656
656
|
fetchFailureReason: null,
|
@@ -661,7 +661,7 @@ function Qs(e, t) {
|
|
661
661
|
}
|
662
662
|
};
|
663
663
|
}
|
664
|
-
function
|
664
|
+
function Xs(e) {
|
665
665
|
const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, r = t !== void 0, n = r ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
666
666
|
return {
|
667
667
|
data: t,
|
@@ -678,7 +678,7 @@ function Ys(e) {
|
|
678
678
|
fetchStatus: "idle"
|
679
679
|
};
|
680
680
|
}
|
681
|
-
var
|
681
|
+
var Zs = class extends _t {
|
682
682
|
constructor(e = {}) {
|
683
683
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
684
684
|
}
|
@@ -686,7 +686,7 @@ var Xs = class extends _t {
|
|
686
686
|
build(e, t, r) {
|
687
687
|
const n = t.queryKey, s = t.queryHash ?? br(n, t);
|
688
688
|
let i = this.get(s);
|
689
|
-
return i || (i = new
|
689
|
+
return i || (i = new Qs({
|
690
690
|
client: e,
|
691
691
|
queryKey: n,
|
692
692
|
queryHash: s,
|
@@ -749,12 +749,12 @@ var Xs = class extends _t {
|
|
749
749
|
});
|
750
750
|
});
|
751
751
|
}
|
752
|
-
},
|
752
|
+
}, ei = class extends pn {
|
753
753
|
#e;
|
754
754
|
#t;
|
755
755
|
#r;
|
756
756
|
constructor(e) {
|
757
|
-
super(), this.mutationId = e.mutationId, this.#t = e.mutationCache, this.#e = [], this.state = e.state ||
|
757
|
+
super(), this.mutationId = e.mutationId, this.#t = e.mutationCache, this.#e = [], this.state = e.state || ti(), this.setOptions(e.options), this.scheduleGc();
|
758
758
|
}
|
759
759
|
setOptions(e) {
|
760
760
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
@@ -926,7 +926,7 @@ var Xs = class extends _t {
|
|
926
926
|
});
|
927
927
|
}
|
928
928
|
};
|
929
|
-
function
|
929
|
+
function ti() {
|
930
930
|
return {
|
931
931
|
context: void 0,
|
932
932
|
data: void 0,
|
@@ -939,7 +939,7 @@ function ei() {
|
|
939
939
|
submittedAt: 0
|
940
940
|
};
|
941
941
|
}
|
942
|
-
var
|
942
|
+
var ri = class extends _t {
|
943
943
|
constructor(e = {}) {
|
944
944
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#r = 0;
|
945
945
|
}
|
@@ -947,7 +947,7 @@ var ti = class extends _t {
|
|
947
947
|
#t;
|
948
948
|
#r;
|
949
949
|
build(e, t, r) {
|
950
|
-
const n = new
|
950
|
+
const n = new ei({
|
951
951
|
mutationCache: this,
|
952
952
|
mutationId: ++this.#r,
|
953
953
|
options: e.defaultMutationOptions(t),
|
@@ -1058,14 +1058,14 @@ function Dr(e) {
|
|
1058
1058
|
meta: t.options.meta
|
1059
1059
|
};
|
1060
1060
|
return l(q), q;
|
1061
|
-
})(), S = await f(k), { maxPages: O } = t.options, _ = b ?
|
1061
|
+
})(), S = await f(k), { maxPages: O } = t.options, _ = b ? Vs : Bs;
|
1062
1062
|
return {
|
1063
1063
|
pages: _(m.pages, S, O),
|
1064
1064
|
pageParams: _(m.pageParams, p, O)
|
1065
1065
|
};
|
1066
1066
|
};
|
1067
1067
|
if (s && i.length) {
|
1068
|
-
const m = s === "backward", p = m ?
|
1068
|
+
const m = s === "backward", p = m ? ni : Mr, b = {
|
1069
1069
|
pages: i,
|
1070
1070
|
pageParams: o
|
1071
1071
|
}, w = p(n, b);
|
@@ -1103,10 +1103,10 @@ function Mr(e, { pages: t, pageParams: r }) {
|
|
1103
1103
|
r
|
1104
1104
|
) : void 0;
|
1105
1105
|
}
|
1106
|
-
function
|
1106
|
+
function ni(e, { pages: t, pageParams: r }) {
|
1107
1107
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, r[0], r) : void 0;
|
1108
1108
|
}
|
1109
|
-
var
|
1109
|
+
var si = class {
|
1110
1110
|
#e;
|
1111
1111
|
#t;
|
1112
1112
|
#r;
|
@@ -1116,7 +1116,7 @@ var ni = class {
|
|
1116
1116
|
#a;
|
1117
1117
|
#i;
|
1118
1118
|
constructor(e = {}) {
|
1119
|
-
this.#e = e.queryCache || new
|
1119
|
+
this.#e = e.queryCache || new Zs(), this.#t = e.mutationCache || new ri(), this.#r = e.defaultOptions || {}, this.#s = /* @__PURE__ */ new Map(), this.#n = /* @__PURE__ */ new Map(), this.#o = 0;
|
1120
1120
|
}
|
1121
1121
|
mount() {
|
1122
1122
|
this.#o++, this.#o === 1 && (this.#a = fn.subscribe(async (e) => {
|
@@ -1158,7 +1158,7 @@ var ni = class {
|
|
1158
1158
|
setQueryData(e, t, r) {
|
1159
1159
|
const n = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(
|
1160
1160
|
n.queryHash
|
1161
|
-
)?.state.data, o =
|
1161
|
+
)?.state.data, o = Ms(t, i);
|
1162
1162
|
if (o !== void 0)
|
1163
1163
|
return this.#e.build(this, n).setData(o, { ...r, manual: !0 });
|
1164
1164
|
}
|
@@ -1311,20 +1311,20 @@ var ni = class {
|
|
1311
1311
|
}
|
1312
1312
|
}, gn = te.createContext(
|
1313
1313
|
void 0
|
1314
|
-
),
|
1314
|
+
), ii = (e) => {
|
1315
1315
|
const t = te.useContext(gn);
|
1316
1316
|
if (e)
|
1317
1317
|
return e;
|
1318
1318
|
if (!t)
|
1319
1319
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
1320
1320
|
return t;
|
1321
|
-
},
|
1321
|
+
}, ai = ({
|
1322
1322
|
client: e,
|
1323
1323
|
children: t
|
1324
1324
|
}) => (te.useEffect(() => (e.mount(), () => {
|
1325
1325
|
e.unmount();
|
1326
|
-
}), [e]), /* @__PURE__ */ y(gn.Provider, { value: e, children: t })),
|
1327
|
-
equals:
|
1326
|
+
}), [e]), /* @__PURE__ */ y(gn.Provider, { value: e, children: t })), oi = (e, t) => e === t, wt = Symbol("solid-proxy"), bn = typeof Proxy == "function", vt = {
|
1327
|
+
equals: oi
|
1328
1328
|
}, wn = kn, he = 1, Et = 2, vn = {
|
1329
1329
|
owned: null,
|
1330
1330
|
cleanups: null,
|
@@ -1355,7 +1355,7 @@ function Y(e, t) {
|
|
1355
1355
|
}, n = (s) => (typeof s == "function" && (s = s(r.value)), In(r, s));
|
1356
1356
|
return [An.bind(r), n];
|
1357
1357
|
}
|
1358
|
-
function
|
1358
|
+
function ci(e, t, r) {
|
1359
1359
|
const n = Pt(e, t, !0, he);
|
1360
1360
|
De(n);
|
1361
1361
|
}
|
@@ -1364,7 +1364,7 @@ function Te(e, t, r) {
|
|
1364
1364
|
De(n);
|
1365
1365
|
}
|
1366
1366
|
function En(e, t, r) {
|
1367
|
-
wn =
|
1367
|
+
wn = gi;
|
1368
1368
|
const n = Pt(e, t, !1, he);
|
1369
1369
|
(!r || !r.render) && (n.user = !0), de ? de.push(n) : De(n);
|
1370
1370
|
}
|
@@ -1373,10 +1373,10 @@ function K(e, t, r) {
|
|
1373
1373
|
const n = Pt(e, t, !0, 0);
|
1374
1374
|
return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, De(n), An.bind(n);
|
1375
1375
|
}
|
1376
|
-
function
|
1376
|
+
function li(e) {
|
1377
1377
|
return e && typeof e == "object" && "then" in e;
|
1378
1378
|
}
|
1379
|
-
function
|
1379
|
+
function ui(e, t, r) {
|
1380
1380
|
let n, s, i;
|
1381
1381
|
n = !0, s = e, i = {};
|
1382
1382
|
let o = null, a = Ut, c = !1, d = "initialValue" in i, u = typeof n == "function" && K(n);
|
@@ -1422,7 +1422,7 @@ function li(e, t, r) {
|
|
1422
1422
|
if (N !== void 0) {
|
1423
1423
|
O(o, void 0, ft(N), v);
|
1424
1424
|
return;
|
1425
|
-
} else if (!
|
1425
|
+
} else if (!li(E))
|
1426
1426
|
return O(o, E, void 0, v), E;
|
1427
1427
|
return o = E, "v" in E ? (E.s === 1 ? O(o, E.v, void 0, v) : O(o, void 0, ft(E.v), v), E) : (c = !0, queueMicrotask(() => c = !1), ae(() => {
|
1428
1428
|
S(d ? "refreshing" : "pending"), w();
|
@@ -1451,12 +1451,12 @@ function li(e, t, r) {
|
|
1451
1451
|
}
|
1452
1452
|
});
|
1453
1453
|
let L = I;
|
1454
|
-
return u ?
|
1454
|
+
return u ? ci(() => (L = I, z(!1))) : z(!1), [q, {
|
1455
1455
|
refetch: (R) => Sn(L, () => z(R)),
|
1456
1456
|
mutate: h
|
1457
1457
|
}];
|
1458
1458
|
}
|
1459
|
-
function
|
1459
|
+
function au(e) {
|
1460
1460
|
return ae(e, !1);
|
1461
1461
|
}
|
1462
1462
|
function G(e) {
|
@@ -1469,7 +1469,7 @@ function G(e) {
|
|
1469
1469
|
x = t;
|
1470
1470
|
}
|
1471
1471
|
}
|
1472
|
-
function
|
1472
|
+
function ou(e, t, r) {
|
1473
1473
|
const n = Array.isArray(e);
|
1474
1474
|
let s, i = r && r.defer;
|
1475
1475
|
return (o) => {
|
@@ -1484,13 +1484,13 @@ function Jl(e, t, r) {
|
|
1484
1484
|
return s = a, c;
|
1485
1485
|
};
|
1486
1486
|
}
|
1487
|
-
function
|
1487
|
+
function di(e) {
|
1488
1488
|
En(() => G(e));
|
1489
1489
|
}
|
1490
1490
|
function We(e) {
|
1491
1491
|
return I === null || (I.cleanups === null ? I.cleanups = [e] : I.cleanups.push(e)), e;
|
1492
1492
|
}
|
1493
|
-
function
|
1493
|
+
function fi() {
|
1494
1494
|
return I;
|
1495
1495
|
}
|
1496
1496
|
function Sn(e, t) {
|
@@ -1504,7 +1504,7 @@ function Sn(e, t) {
|
|
1504
1504
|
I = r, x = n;
|
1505
1505
|
}
|
1506
1506
|
}
|
1507
|
-
function
|
1507
|
+
function hi(e) {
|
1508
1508
|
const t = x, r = I;
|
1509
1509
|
return Promise.resolve().then(() => {
|
1510
1510
|
x = t, I = r;
|
@@ -1512,19 +1512,19 @@ function fi(e) {
|
|
1512
1512
|
return ae(e, !1), x = I = null, n ? n.done : void 0;
|
1513
1513
|
});
|
1514
1514
|
}
|
1515
|
-
var [
|
1516
|
-
function
|
1517
|
-
return [
|
1515
|
+
var [mi, cu] = /* @__PURE__ */ Y(!1);
|
1516
|
+
function lu() {
|
1517
|
+
return [mi, hi];
|
1518
1518
|
}
|
1519
|
-
function
|
1519
|
+
function uu(e, t) {
|
1520
1520
|
const r = Symbol("context");
|
1521
1521
|
return {
|
1522
1522
|
id: r,
|
1523
|
-
Provider:
|
1523
|
+
Provider: bi(r),
|
1524
1524
|
defaultValue: e
|
1525
1525
|
};
|
1526
1526
|
}
|
1527
|
-
function
|
1527
|
+
function du(e) {
|
1528
1528
|
let t;
|
1529
1529
|
return I && I.context && (t = I.context[e.id]) !== void 0 ? t : e.defaultValue;
|
1530
1530
|
}
|
@@ -1563,9 +1563,9 @@ function De(e) {
|
|
1563
1563
|
if (!e.fn) return;
|
1564
1564
|
Ge(e);
|
1565
1565
|
const t = Nt;
|
1566
|
-
|
1566
|
+
yi(e, e.value, t);
|
1567
1567
|
}
|
1568
|
-
function
|
1568
|
+
function yi(e, t, r) {
|
1569
1569
|
let n;
|
1570
1570
|
const s = I, i = x;
|
1571
1571
|
x = I = e;
|
@@ -1615,12 +1615,12 @@ function ae(e, t) {
|
|
1615
1615
|
t || (J = []), de ? r = !0 : de = [], Nt++;
|
1616
1616
|
try {
|
1617
1617
|
const n = e();
|
1618
|
-
return
|
1618
|
+
return pi(r), n;
|
1619
1619
|
} catch (n) {
|
1620
1620
|
r || (de = null), J = null, wr(n);
|
1621
1621
|
}
|
1622
1622
|
}
|
1623
|
-
function
|
1623
|
+
function pi(e) {
|
1624
1624
|
if (J && (kn(J), J = null), e) return;
|
1625
1625
|
const t = de;
|
1626
1626
|
de = null, t.length && ae(() => wn(t), !1);
|
@@ -1628,7 +1628,7 @@ function yi(e) {
|
|
1628
1628
|
function kn(e) {
|
1629
1629
|
for (let t = 0; t < e.length; t++) St(e[t]);
|
1630
1630
|
}
|
1631
|
-
function
|
1631
|
+
function gi(e) {
|
1632
1632
|
let t, r = 0;
|
1633
1633
|
for (t = 0; t < e.length; t++) {
|
1634
1634
|
const n = e[t];
|
@@ -1696,7 +1696,7 @@ function rr(e) {
|
|
1696
1696
|
}
|
1697
1697
|
return e;
|
1698
1698
|
}
|
1699
|
-
function
|
1699
|
+
function bi(e, t) {
|
1700
1700
|
return function(n) {
|
1701
1701
|
let s;
|
1702
1702
|
return Te(() => s = G(() => (I.context = {
|
@@ -1709,7 +1709,7 @@ var nr = Symbol("fallback");
|
|
1709
1709
|
function At(e) {
|
1710
1710
|
for (let t = 0; t < e.length; t++) e[t]();
|
1711
1711
|
}
|
1712
|
-
function
|
1712
|
+
function wi(e, t, r = {}) {
|
1713
1713
|
let n = [], s = [], i = [], o = 0, a = t.length > 1 ? [] : null;
|
1714
1714
|
return We(() => At(i)), () => {
|
1715
1715
|
let c = e() || [], d = c.length, u, l;
|
@@ -1744,7 +1744,7 @@ function bi(e, t, r = {}) {
|
|
1744
1744
|
}
|
1745
1745
|
};
|
1746
1746
|
}
|
1747
|
-
function
|
1747
|
+
function vi(e, t, r = {}) {
|
1748
1748
|
let n = [], s = [], i = [], o = [], a = 0, c;
|
1749
1749
|
return We(() => At(i)), () => {
|
1750
1750
|
const d = e() || [], u = d.length;
|
@@ -1764,7 +1764,7 @@ function wi(e, t, r = {}) {
|
|
1764
1764
|
}
|
1765
1765
|
};
|
1766
1766
|
}
|
1767
|
-
function
|
1767
|
+
function Ei(e, t) {
|
1768
1768
|
return G(() => e(t || {}));
|
1769
1769
|
}
|
1770
1770
|
function tt() {
|
@@ -1797,13 +1797,13 @@ var sr = {
|
|
1797
1797
|
function Ft(e) {
|
1798
1798
|
return (e = typeof e == "function" ? e() : e) ? e : {};
|
1799
1799
|
}
|
1800
|
-
function
|
1800
|
+
function Si() {
|
1801
1801
|
for (let e = 0, t = this.length; e < t; ++e) {
|
1802
1802
|
const r = this[e]();
|
1803
1803
|
if (r !== void 0) return r;
|
1804
1804
|
}
|
1805
1805
|
}
|
1806
|
-
function
|
1806
|
+
function Ti(...e) {
|
1807
1807
|
let t = !1;
|
1808
1808
|
for (let o = 0; o < e.length; o++) {
|
1809
1809
|
const a = e[o];
|
@@ -1841,7 +1841,7 @@ function Si(...e) {
|
|
1841
1841
|
n[u] = l.get ? {
|
1842
1842
|
enumerable: !0,
|
1843
1843
|
configurable: !0,
|
1844
|
-
get:
|
1844
|
+
get: Si.bind(r[u] = [l.get.bind(a)])
|
1845
1845
|
} : l.value !== void 0 ? l : void 0;
|
1846
1846
|
else {
|
1847
1847
|
const f = r[u];
|
@@ -1856,7 +1856,7 @@ function Si(...e) {
|
|
1856
1856
|
}
|
1857
1857
|
return s;
|
1858
1858
|
}
|
1859
|
-
function
|
1859
|
+
function Ai(e, ...t) {
|
1860
1860
|
if (bn && wt in e) {
|
1861
1861
|
const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((o) => new Proxy({
|
1862
1862
|
get(a) {
|
@@ -1891,11 +1891,11 @@ function Ti(e, ...t) {
|
|
1891
1891
|
}
|
1892
1892
|
return [...n, r];
|
1893
1893
|
}
|
1894
|
-
function
|
1894
|
+
function Ii(e) {
|
1895
1895
|
let t, r;
|
1896
1896
|
const n = (s) => {
|
1897
1897
|
if (!t) {
|
1898
|
-
const [o] =
|
1898
|
+
const [o] = ui(() => (r || (r = e())).then((a) => a.default));
|
1899
1899
|
t = o;
|
1900
1900
|
}
|
1901
1901
|
let i;
|
@@ -1903,24 +1903,24 @@ function Ai(e) {
|
|
1903
1903
|
};
|
1904
1904
|
return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
|
1905
1905
|
}
|
1906
|
-
var
|
1907
|
-
function
|
1908
|
-
return `cl-${
|
1906
|
+
var ki = 0;
|
1907
|
+
function fu() {
|
1908
|
+
return `cl-${ki++}`;
|
1909
1909
|
}
|
1910
1910
|
var Rn = (e) => `Stale read from <${e}>.`;
|
1911
|
-
function
|
1911
|
+
function hu(e) {
|
1912
1912
|
const t = "fallback" in e && {
|
1913
1913
|
fallback: () => e.fallback
|
1914
1914
|
};
|
1915
|
-
return K(
|
1915
|
+
return K(wi(() => e.each, e.children, t || void 0));
|
1916
1916
|
}
|
1917
|
-
function
|
1917
|
+
function mu(e) {
|
1918
1918
|
const t = "fallback" in e && {
|
1919
1919
|
fallback: () => e.fallback
|
1920
1920
|
};
|
1921
|
-
return K(
|
1921
|
+
return K(vi(() => e.each, e.children, t || void 0));
|
1922
1922
|
}
|
1923
|
-
function
|
1923
|
+
function yu(e) {
|
1924
1924
|
const t = e.keyed, r = K(() => e.when, void 0, void 0), n = t ? r : K(r, void 0, {
|
1925
1925
|
equals: (s, i) => !s == !i
|
1926
1926
|
});
|
@@ -1936,7 +1936,7 @@ function ru(e) {
|
|
1936
1936
|
return e.fallback;
|
1937
1937
|
}, void 0, void 0);
|
1938
1938
|
}
|
1939
|
-
function
|
1939
|
+
function pu(e) {
|
1940
1940
|
const t = Tn(() => e.children), r = K(() => {
|
1941
1941
|
const n = t(), s = Array.isArray(n) ? n : [n];
|
1942
1942
|
let i = () => {
|
@@ -1959,13 +1959,13 @@ function nu(e) {
|
|
1959
1959
|
})) : a;
|
1960
1960
|
}, void 0, void 0);
|
1961
1961
|
}
|
1962
|
-
function
|
1962
|
+
function gu(e) {
|
1963
1963
|
return e;
|
1964
1964
|
}
|
1965
|
-
var
|
1965
|
+
var Oi = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], Ri = /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...Oi]), _i = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), Ci = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
1966
1966
|
className: "class",
|
1967
1967
|
htmlFor: "for"
|
1968
|
-
}),
|
1968
|
+
}), Ni = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
1969
1969
|
class: "className",
|
1970
1970
|
novalidate: {
|
1971
1971
|
$: "noValidate",
|
@@ -1994,11 +1994,11 @@ var ki = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "contr
|
|
1994
1994
|
TEXTAREA: 1
|
1995
1995
|
}
|
1996
1996
|
});
|
1997
|
-
function
|
1998
|
-
const r =
|
1997
|
+
function Pi(e, t) {
|
1998
|
+
const r = Ni[e];
|
1999
1999
|
return typeof r == "object" ? r[t] ? r.$ : void 0 : r;
|
2000
2000
|
}
|
2001
|
-
var
|
2001
|
+
var xi = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]), $i = /* @__PURE__ */ new Set([
|
2002
2002
|
"altGlyph",
|
2003
2003
|
"altGlyphDef",
|
2004
2004
|
"altGlyphItem",
|
@@ -2076,11 +2076,11 @@ var Pi = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextme
|
|
2076
2076
|
"use",
|
2077
2077
|
"view",
|
2078
2078
|
"vkern"
|
2079
|
-
]),
|
2079
|
+
]), Di = {
|
2080
2080
|
xlink: "http://www.w3.org/1999/xlink",
|
2081
2081
|
xml: "http://www.w3.org/XML/1998/namespace"
|
2082
|
-
},
|
2083
|
-
function
|
2082
|
+
}, bu = (e) => K(() => e());
|
2083
|
+
function Mi(e, t, r) {
|
2084
2084
|
let n = r.length, s = t.length, i = n, o = 0, a = 0, c = t[s - 1].nextSibling, d = null;
|
2085
2085
|
for (; o < s || a < i; ) {
|
2086
2086
|
if (t[o] === r[a]) {
|
@@ -2120,7 +2120,7 @@ function Di(e, t, r) {
|
|
2120
2120
|
}
|
2121
2121
|
}
|
2122
2122
|
var Ue = "_$DX_DELEGATE";
|
2123
|
-
function
|
2123
|
+
function Li(e, t, r, n = {}) {
|
2124
2124
|
let s;
|
2125
2125
|
return Se((i) => {
|
2126
2126
|
s = i, t === document ? e() : ar(t, e(), t.firstChild ? null : void 0, r);
|
@@ -2128,7 +2128,7 @@ function Mi(e, t, r, n = {}) {
|
|
2128
2128
|
s(), t.textContent = "";
|
2129
2129
|
};
|
2130
2130
|
}
|
2131
|
-
function
|
2131
|
+
function wu(e, t, r, n) {
|
2132
2132
|
let s;
|
2133
2133
|
const i = () => {
|
2134
2134
|
const a = document.createElement("template");
|
@@ -2136,14 +2136,14 @@ function au(e, t, r, n) {
|
|
2136
2136
|
}, o = () => (s || (s = i())).cloneNode(!0);
|
2137
2137
|
return o.cloneNode = o, o;
|
2138
2138
|
}
|
2139
|
-
function
|
2139
|
+
function Ui(e, t = window.document) {
|
2140
2140
|
const r = t[Ue] || (t[Ue] = /* @__PURE__ */ new Set());
|
2141
2141
|
for (let n = 0, s = e.length; n < s; n++) {
|
2142
2142
|
const i = e[n];
|
2143
2143
|
r.has(i) || (r.add(i), t.addEventListener(i, _n));
|
2144
2144
|
}
|
2145
2145
|
}
|
2146
|
-
function
|
2146
|
+
function vu(e = window.document) {
|
2147
2147
|
if (e[Ue]) {
|
2148
2148
|
for (let t of e[Ue].keys()) e.removeEventListener(t, _n);
|
2149
2149
|
delete e[Ue];
|
@@ -2152,16 +2152,16 @@ function ou(e = window.document) {
|
|
2152
2152
|
function ir(e, t, r) {
|
2153
2153
|
r == null ? e.removeAttribute(t) : e.setAttribute(t, r);
|
2154
2154
|
}
|
2155
|
-
function
|
2155
|
+
function Fi(e, t, r, n) {
|
2156
2156
|
n == null ? e.removeAttributeNS(t, r) : e.setAttributeNS(t, r, n);
|
2157
2157
|
}
|
2158
|
-
function
|
2158
|
+
function Ki(e, t, r) {
|
2159
2159
|
r ? e.setAttribute(t, "") : e.removeAttribute(t);
|
2160
2160
|
}
|
2161
|
-
function
|
2161
|
+
function Hi(e, t) {
|
2162
2162
|
t == null ? e.removeAttribute("class") : e.className = t;
|
2163
2163
|
}
|
2164
|
-
function
|
2164
|
+
function Bi(e, t, r, n) {
|
2165
2165
|
if (n)
|
2166
2166
|
Array.isArray(r) ? (e[`$$${t}`] = r[0], e[`$$${t}Data`] = r[1]) : e[`$$${t}`] = r;
|
2167
2167
|
else if (Array.isArray(r)) {
|
@@ -2169,7 +2169,7 @@ function Hi(e, t, r, n) {
|
|
2169
2169
|
e.addEventListener(t, r[0] = (i) => s.call(e, r[1], i));
|
2170
2170
|
} else e.addEventListener(t, r, typeof r != "function" && r);
|
2171
2171
|
}
|
2172
|
-
function
|
2172
|
+
function Vi(e, t, r = {}) {
|
2173
2173
|
const n = Object.keys(t || {}), s = Object.keys(r);
|
2174
2174
|
let i, o;
|
2175
2175
|
for (i = 0, o = s.length; i < o; i++) {
|
@@ -2182,7 +2182,7 @@ function Bi(e, t, r = {}) {
|
|
2182
2182
|
}
|
2183
2183
|
return r;
|
2184
2184
|
}
|
2185
|
-
function
|
2185
|
+
function ji(e, t, r) {
|
2186
2186
|
if (!t) return r ? ir(e, "style") : t;
|
2187
2187
|
const n = e.style;
|
2188
2188
|
if (typeof t == "string") return n.cssText = t;
|
@@ -2194,18 +2194,18 @@ function Vi(e, t, r) {
|
|
2194
2194
|
s = t[i], s !== r[i] && (n.setProperty(i, s), r[i] = s);
|
2195
2195
|
return r;
|
2196
2196
|
}
|
2197
|
-
function
|
2197
|
+
function Wi(e, t = {}, r, n) {
|
2198
2198
|
const s = {};
|
2199
|
-
return n || Te(() => s.children = qe(e, t.children, s.children)), Te(() => typeof t.ref == "function" &&
|
2199
|
+
return n || Te(() => s.children = qe(e, t.children, s.children)), Te(() => typeof t.ref == "function" && Gi(t.ref, e)), Te(() => qi(e, t, r, !0, s, !0)), s;
|
2200
2200
|
}
|
2201
|
-
function
|
2201
|
+
function Gi(e, t, r) {
|
2202
2202
|
return G(() => e(t, r));
|
2203
2203
|
}
|
2204
2204
|
function ar(e, t, r, n) {
|
2205
2205
|
if (r !== void 0 && !n && (n = []), typeof t != "function") return qe(e, t, n, r);
|
2206
2206
|
Te((s) => qe(e, t(), s, r), n);
|
2207
2207
|
}
|
2208
|
-
function
|
2208
|
+
function qi(e, t, r, n, s = {}, i = !1) {
|
2209
2209
|
t || (t = {});
|
2210
2210
|
for (const o in s)
|
2211
2211
|
if (!(o in t)) {
|
@@ -2219,7 +2219,7 @@ function Gi(e, t, r, n, s = {}, i = !1) {
|
|
2219
2219
|
s[o] = Ur(e, o, a, s[o], r, i, t);
|
2220
2220
|
}
|
2221
2221
|
}
|
2222
|
-
function
|
2222
|
+
function Ji(e) {
|
2223
2223
|
return e.toLowerCase().replace(/-([a-z])/g, (t, r) => r.toUpperCase());
|
2224
2224
|
}
|
2225
2225
|
function Lr(e, t, r) {
|
@@ -2228,8 +2228,8 @@ function Lr(e, t, r) {
|
|
2228
2228
|
}
|
2229
2229
|
function Ur(e, t, r, n, s, i, o) {
|
2230
2230
|
let a, c, d, u, l;
|
2231
|
-
if (t === "style") return
|
2232
|
-
if (t === "classList") return
|
2231
|
+
if (t === "style") return ji(e, r, n);
|
2232
|
+
if (t === "classList") return Vi(e, r, n);
|
2233
2233
|
if (r === n) return n;
|
2234
2234
|
if (t === "ref")
|
2235
2235
|
i || r(e);
|
@@ -2240,21 +2240,21 @@ function Ur(e, t, r, n, s, i, o) {
|
|
2240
2240
|
const f = t.slice(10);
|
2241
2241
|
n && e.removeEventListener(f, n, !0), r && e.addEventListener(f, r, !0);
|
2242
2242
|
} else if (t.slice(0, 2) === "on") {
|
2243
|
-
const f = t.slice(2).toLowerCase(), h =
|
2243
|
+
const f = t.slice(2).toLowerCase(), h = xi.has(f);
|
2244
2244
|
if (!h && n) {
|
2245
2245
|
const m = Array.isArray(n) ? n[0] : n;
|
2246
2246
|
e.removeEventListener(f, m);
|
2247
2247
|
}
|
2248
|
-
(h || r) && (
|
2248
|
+
(h || r) && (Bi(e, f, r, h), h && Ui([f]));
|
2249
2249
|
} else if (t.slice(0, 5) === "attr:")
|
2250
2250
|
ir(e, t.slice(5), r);
|
2251
2251
|
else if (t.slice(0, 5) === "bool:")
|
2252
|
-
|
2253
|
-
else if ((l = t.slice(0, 5) === "prop:") || (d =
|
2254
|
-
l && (t = t.slice(5), c = !0), t === "class" || t === "className" ?
|
2252
|
+
Ki(e, t.slice(5), r);
|
2253
|
+
else if ((l = t.slice(0, 5) === "prop:") || (d = _i.has(t)) || !s && ((u = Pi(t, e.tagName)) || (c = Ri.has(t))) || (a = e.nodeName.includes("-") || "is" in o))
|
2254
|
+
l && (t = t.slice(5), c = !0), t === "class" || t === "className" ? Hi(e, r) : a && !c && !d ? e[Ji(t)] = r : e[u || t] = r;
|
2255
2255
|
else {
|
2256
|
-
const f = s && t.indexOf(":") > -1 &&
|
2257
|
-
f ?
|
2256
|
+
const f = s && t.indexOf(":") > -1 && Di[t.split(":")[0]];
|
2257
|
+
f ? Fi(e, f, t, r) : ir(e, Ci[t] || t, r);
|
2258
2258
|
}
|
2259
2259
|
return r;
|
2260
2260
|
}
|
@@ -2319,7 +2319,7 @@ function qe(e, t, r, n, s) {
|
|
2319
2319
|
return Te(() => r = qe(e, a, r, n, !0)), () => r;
|
2320
2320
|
if (a.length === 0) {
|
2321
2321
|
if (r = ke(e, r, n), o) return r;
|
2322
|
-
} else c ? r.length === 0 ? Fr(e, a, n) :
|
2322
|
+
} else c ? r.length === 0 ? Fr(e, a, n) : Mi(e, r, a) : (r && ke(e), Fr(e, a));
|
2323
2323
|
r = a;
|
2324
2324
|
} else if (t.nodeType) {
|
2325
2325
|
if (Array.isArray(r)) {
|
@@ -2370,14 +2370,14 @@ function ke(e, t, r, n) {
|
|
2370
2370
|
} else e.insertBefore(s, r);
|
2371
2371
|
return [s];
|
2372
2372
|
}
|
2373
|
-
var
|
2373
|
+
var zi = "http://www.w3.org/2000/svg";
|
2374
2374
|
function Cn(e, t = !1) {
|
2375
|
-
return t ? document.createElementNS(
|
2375
|
+
return t ? document.createElementNS(zi, e) : document.createElement(e);
|
2376
2376
|
}
|
2377
|
-
function
|
2377
|
+
function Eu(e) {
|
2378
2378
|
const {
|
2379
2379
|
useShadow: t
|
2380
|
-
} = e, r = document.createTextNode(""), n = () => e.mount || document.body, s =
|
2380
|
+
} = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = fi();
|
2381
2381
|
let i;
|
2382
2382
|
return En(() => {
|
2383
2383
|
i || (i = Sn(s, () => K(() => e.children)));
|
@@ -2400,7 +2400,7 @@ function cu(e) {
|
|
2400
2400
|
render: !0
|
2401
2401
|
}), r;
|
2402
2402
|
}
|
2403
|
-
function
|
2403
|
+
function Qi(e, t) {
|
2404
2404
|
const r = K(e);
|
2405
2405
|
return K(() => {
|
2406
2406
|
const n = r();
|
@@ -2408,16 +2408,16 @@ function zi(e, t) {
|
|
2408
2408
|
case "function":
|
2409
2409
|
return G(() => n(t));
|
2410
2410
|
case "string":
|
2411
|
-
const s =
|
2412
|
-
return
|
2411
|
+
const s = $i.has(n), i = Cn(n, s);
|
2412
|
+
return Wi(i, t, s), i;
|
2413
2413
|
}
|
2414
2414
|
});
|
2415
2415
|
}
|
2416
|
-
function
|
2417
|
-
const [, t] =
|
2418
|
-
return
|
2416
|
+
function Su(e) {
|
2417
|
+
const [, t] = Ai(e, ["component"]);
|
2418
|
+
return Qi(() => e.component, t);
|
2419
2419
|
}
|
2420
|
-
var
|
2420
|
+
var Yi = class {
|
2421
2421
|
constructor() {
|
2422
2422
|
this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
|
2423
2423
|
}
|
@@ -2435,7 +2435,7 @@ var Qi = class {
|
|
2435
2435
|
}
|
2436
2436
|
}, Nn = class {
|
2437
2437
|
constructor(e) {
|
2438
|
-
this.generateIdentifier = e, this.kv = new
|
2438
|
+
this.generateIdentifier = e, this.kv = new Yi();
|
2439
2439
|
}
|
2440
2440
|
register(e, t) {
|
2441
2441
|
this.kv.getByValue(e) || (t || (t = this.generateIdentifier(e)), this.kv.set(t, e));
|
@@ -2449,7 +2449,7 @@ var Qi = class {
|
|
2449
2449
|
getValue(e) {
|
2450
2450
|
return this.kv.getByKey(e);
|
2451
2451
|
}
|
2452
|
-
},
|
2452
|
+
}, Xi = class extends Nn {
|
2453
2453
|
constructor() {
|
2454
2454
|
super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
|
2455
2455
|
}
|
@@ -2460,7 +2460,7 @@ var Qi = class {
|
|
2460
2460
|
return this.classToAllowedProps.get(e);
|
2461
2461
|
}
|
2462
2462
|
};
|
2463
|
-
function
|
2463
|
+
function Zi(e) {
|
2464
2464
|
if ("values" in Object)
|
2465
2465
|
return Object.values(e);
|
2466
2466
|
const t = [];
|
@@ -2468,8 +2468,8 @@ function Xi(e) {
|
|
2468
2468
|
e.hasOwnProperty(r) && t.push(e[r]);
|
2469
2469
|
return t;
|
2470
2470
|
}
|
2471
|
-
function
|
2472
|
-
const r =
|
2471
|
+
function ea(e, t) {
|
2472
|
+
const r = Zi(e);
|
2473
2473
|
if ("find" in r)
|
2474
2474
|
return r.find(t);
|
2475
2475
|
const n = r;
|
@@ -2492,7 +2492,7 @@ function Kr(e, t) {
|
|
2492
2492
|
return n;
|
2493
2493
|
}
|
2494
2494
|
}
|
2495
|
-
var
|
2495
|
+
var ta = class {
|
2496
2496
|
constructor() {
|
2497
2497
|
this.transfomers = {};
|
2498
2498
|
}
|
@@ -2500,12 +2500,12 @@ var ea = class {
|
|
2500
2500
|
this.transfomers[e.name] = e;
|
2501
2501
|
}
|
2502
2502
|
findApplicable(e) {
|
2503
|
-
return
|
2503
|
+
return ea(this.transfomers, (t) => t.isApplicable(e));
|
2504
2504
|
}
|
2505
2505
|
findByName(e) {
|
2506
2506
|
return this.transfomers[e];
|
2507
2507
|
}
|
2508
|
-
},
|
2508
|
+
}, ra = (e) => Object.prototype.toString.call(e).slice(8, -1), Pn = (e) => typeof e > "u", na = (e) => e === null, Je = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, cr = (e) => Je(e) && Object.keys(e).length === 0, we = (e) => Array.isArray(e), sa = (e) => typeof e == "string", ia = (e) => typeof e == "number" && !isNaN(e), aa = (e) => typeof e == "boolean", oa = (e) => e instanceof RegExp, ze = (e) => e instanceof Map, Qe = (e) => e instanceof Set, xn = (e) => ra(e) === "Symbol", ca = (e) => e instanceof Date && !isNaN(e.valueOf()), la = (e) => e instanceof Error, Hr = (e) => typeof e == "number" && isNaN(e), ua = (e) => aa(e) || na(e) || Pn(e) || ia(e) || sa(e) || xn(e), da = (e) => typeof e == "bigint", fa = (e) => e === 1 / 0 || e === -1 / 0, ha = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), ma = (e) => e instanceof URL, $n = (e) => e.replace(/\./g, "\\."), Kt = (e) => e.map(String).map($n).join("."), Fe = (e) => {
|
2509
2509
|
const t = [];
|
2510
2510
|
let r = "";
|
2511
2511
|
for (let s = 0; s < e.length; s++) {
|
@@ -2534,9 +2534,9 @@ function ne(e, t, r, n) {
|
|
2534
2534
|
var Dn = [
|
2535
2535
|
ne(Pn, "undefined", () => null, () => {
|
2536
2536
|
}),
|
2537
|
-
ne(
|
2538
|
-
ne(
|
2539
|
-
ne(
|
2537
|
+
ne(da, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : e),
|
2538
|
+
ne(ca, "Date", (e) => e.toISOString(), (e) => new Date(e)),
|
2539
|
+
ne(la, "Error", (e, t) => {
|
2540
2540
|
const r = {
|
2541
2541
|
name: e.name,
|
2542
2542
|
message: e.message
|
@@ -2550,7 +2550,7 @@ var Dn = [
|
|
2550
2550
|
r[n] = e[n];
|
2551
2551
|
}), r;
|
2552
2552
|
}),
|
2553
|
-
ne(
|
2553
|
+
ne(oa, "regexp", (e) => "" + e, (e) => {
|
2554
2554
|
const t = e.slice(1, e.lastIndexOf("/")), r = e.slice(e.lastIndexOf("/") + 1);
|
2555
2555
|
return new RegExp(t, r);
|
2556
2556
|
}),
|
@@ -2563,9 +2563,9 @@ var Dn = [
|
|
2563
2563
|
(e) => new Set(e)
|
2564
2564
|
),
|
2565
2565
|
ne(ze, "map", (e) => [...e.entries()], (e) => new Map(e)),
|
2566
|
-
ne((e) => Hr(e) ||
|
2566
|
+
ne((e) => Hr(e) || fa(e), "number", (e) => Hr(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
|
2567
2567
|
ne((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
|
2568
|
-
ne(
|
2568
|
+
ne(ma, "URL", (e) => e.toString(), (e) => new URL(e))
|
2569
2569
|
];
|
2570
2570
|
function xt(e, t, r, n) {
|
2571
2571
|
return {
|
@@ -2580,7 +2580,7 @@ var Mn = xt((e, t) => xn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
|
|
2580
2580
|
if (!n)
|
2581
2581
|
throw new Error("Trying to deserialize unknown symbol");
|
2582
2582
|
return n;
|
2583
|
-
}),
|
2583
|
+
}), ya = [
|
2584
2584
|
Int8Array,
|
2585
2585
|
Uint8Array,
|
2586
2586
|
Int16Array,
|
@@ -2590,8 +2590,8 @@ var Mn = xt((e, t) => xn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
|
|
2590
2590
|
Float32Array,
|
2591
2591
|
Float64Array,
|
2592
2592
|
Uint8ClampedArray
|
2593
|
-
].reduce((e, t) => (e[t.name] = t, e), {}), Ln = xt(
|
2594
|
-
const r =
|
2593
|
+
].reduce((e, t) => (e[t.name] = t, e), {}), Ln = xt(ha, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
|
2594
|
+
const r = ya[t[1]];
|
2595
2595
|
if (!r)
|
2596
2596
|
throw new Error("Trying to deserialize unknown typed array");
|
2597
2597
|
return new r(e);
|
@@ -2617,8 +2617,8 @@ var Fn = xt(Un, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
|
|
2617
2617
|
if (!n)
|
2618
2618
|
throw new Error("Trying to deserialize unknown custom value");
|
2619
2619
|
return n.deserialize(e);
|
2620
|
-
}),
|
2621
|
-
const r = Kr(
|
2620
|
+
}), pa = [Fn, Mn, Kn, Ln], Br = (e, t) => {
|
2621
|
+
const r = Kr(pa, (s) => s.isApplicable(e, t));
|
2622
2622
|
if (r)
|
2623
2623
|
return {
|
2624
2624
|
value: r.transform(e, t),
|
@@ -2634,7 +2634,7 @@ var Fn = xt(Un, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
|
|
2634
2634
|
Dn.forEach((e) => {
|
2635
2635
|
Hn[e.annotation] = e;
|
2636
2636
|
});
|
2637
|
-
var
|
2637
|
+
var ga = (e, t, r) => {
|
2638
2638
|
if (we(t))
|
2639
2639
|
switch (t[0]) {
|
2640
2640
|
case "symbol":
|
@@ -2670,7 +2670,7 @@ function Bn(e) {
|
|
2670
2670
|
if (ht(e, "constructor"))
|
2671
2671
|
throw new Error("constructor is not allowed as a property");
|
2672
2672
|
}
|
2673
|
-
var
|
2673
|
+
var ba = (e, t) => {
|
2674
2674
|
Bn(t);
|
2675
2675
|
for (let r = 0; r < t.length; r++) {
|
2676
2676
|
const n = t[r];
|
@@ -2751,14 +2751,14 @@ function ur(e, t, r = []) {
|
|
2751
2751
|
ur(i, t, [...r, ...Fe(o)]);
|
2752
2752
|
}), t(n, r);
|
2753
2753
|
}
|
2754
|
-
function
|
2754
|
+
function wa(e, t, r) {
|
2755
2755
|
return ur(t, (n, s) => {
|
2756
|
-
e = lr(e, s, (i) =>
|
2756
|
+
e = lr(e, s, (i) => ga(i, n, r));
|
2757
2757
|
}), e;
|
2758
2758
|
}
|
2759
|
-
function
|
2759
|
+
function va(e, t) {
|
2760
2760
|
function r(n, s) {
|
2761
|
-
const i =
|
2761
|
+
const i = ba(e, Fe(s));
|
2762
2762
|
n.map(Fe).forEach((o) => {
|
2763
2763
|
e = lr(e, o, () => i);
|
2764
2764
|
});
|
@@ -2772,12 +2772,12 @@ function wa(e, t) {
|
|
2772
2772
|
xe(t, r);
|
2773
2773
|
return e;
|
2774
2774
|
}
|
2775
|
-
var
|
2776
|
-
function
|
2775
|
+
var Ea = (e, t) => Je(e) || we(e) || ze(e) || Qe(e) || Un(e, t);
|
2776
|
+
function Sa(e, t, r) {
|
2777
2777
|
const n = r.get(e);
|
2778
2778
|
n ? n.push(t) : r.set(e, [t]);
|
2779
2779
|
}
|
2780
|
-
function
|
2780
|
+
function Ta(e, t) {
|
2781
2781
|
const r = {};
|
2782
2782
|
let n;
|
2783
2783
|
return e.forEach((s) => {
|
@@ -2789,16 +2789,16 @@ function Sa(e, t) {
|
|
2789
2789
|
}), n ? cr(r) ? [n] : [n, r] : cr(r) ? void 0 : r;
|
2790
2790
|
}
|
2791
2791
|
var Vn = (e, t, r, n, s = [], i = [], o = /* @__PURE__ */ new Map()) => {
|
2792
|
-
const a =
|
2792
|
+
const a = ua(e);
|
2793
2793
|
if (!a) {
|
2794
|
-
|
2794
|
+
Sa(e, s, t);
|
2795
2795
|
const h = o.get(e);
|
2796
2796
|
if (h)
|
2797
2797
|
return n ? {
|
2798
2798
|
transformedValue: null
|
2799
2799
|
} : h;
|
2800
2800
|
}
|
2801
|
-
if (!
|
2801
|
+
if (!Ea(e, r)) {
|
2802
2802
|
const h = Br(e, r), m = h ? {
|
2803
2803
|
transformedValue: h.value,
|
2804
2804
|
annotations: [h.type]
|
@@ -2835,13 +2835,13 @@ function jn(e) {
|
|
2835
2835
|
function Vr(e) {
|
2836
2836
|
return jn(e) === "Array";
|
2837
2837
|
}
|
2838
|
-
function
|
2838
|
+
function Aa(e) {
|
2839
2839
|
if (jn(e) !== "Object")
|
2840
2840
|
return !1;
|
2841
2841
|
const t = Object.getPrototypeOf(e);
|
2842
2842
|
return !!t && t.constructor === Object && t === Object.prototype;
|
2843
2843
|
}
|
2844
|
-
function
|
2844
|
+
function Ia(e, t, r, n, s) {
|
2845
2845
|
const i = {}.propertyIsEnumerable.call(n, t) ? "enumerable" : "nonenumerable";
|
2846
2846
|
i === "enumerable" && (e[t] = r), s && i === "nonenumerable" && Object.defineProperty(e, t, {
|
2847
2847
|
value: r,
|
@@ -2853,14 +2853,14 @@ function Aa(e, t, r, n, s) {
|
|
2853
2853
|
function dr(e, t = {}) {
|
2854
2854
|
if (Vr(e))
|
2855
2855
|
return e.map((s) => dr(s, t));
|
2856
|
-
if (!
|
2856
|
+
if (!Aa(e))
|
2857
2857
|
return e;
|
2858
2858
|
const r = Object.getOwnPropertyNames(e), n = Object.getOwnPropertySymbols(e);
|
2859
2859
|
return [...r, ...n].reduce((s, i) => {
|
2860
2860
|
if (Vr(t.props) && !t.props.includes(i))
|
2861
2861
|
return s;
|
2862
2862
|
const o = e[i], a = dr(o, t);
|
2863
|
-
return
|
2863
|
+
return Ia(s, i, a, e, t.nonenumerable), s;
|
2864
2864
|
}, {});
|
2865
2865
|
}
|
2866
2866
|
var C = class {
|
@@ -2868,7 +2868,7 @@ var C = class {
|
|
2868
2868
|
* @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
|
2869
2869
|
*/
|
2870
2870
|
constructor({ dedupe: e = !1 } = {}) {
|
2871
|
-
this.classRegistry = new
|
2871
|
+
this.classRegistry = new Xi(), this.symbolRegistry = new Nn((t) => t.description ?? ""), this.customTransformerRegistry = new ta(), this.allowedErrorProps = [], this.dedupe = e;
|
2872
2872
|
}
|
2873
2873
|
serialize(e) {
|
2874
2874
|
const t = /* @__PURE__ */ new Map(), r = Vn(e, t, this, this.dedupe), n = {
|
@@ -2878,7 +2878,7 @@ var C = class {
|
|
2878
2878
|
...n.meta,
|
2879
2879
|
values: r.annotations
|
2880
2880
|
});
|
2881
|
-
const s =
|
2881
|
+
const s = Ta(t, this.dedupe);
|
2882
2882
|
return s && (n.meta = {
|
2883
2883
|
...n.meta,
|
2884
2884
|
referentialEqualities: s
|
@@ -2887,7 +2887,7 @@ var C = class {
|
|
2887
2887
|
deserialize(e) {
|
2888
2888
|
const { json: t, meta: r } = e;
|
2889
2889
|
let n = dr(t);
|
2890
|
-
return r?.values && (n =
|
2890
|
+
return r?.values && (n = wa(n, r.values, this)), r?.referentialEqualities && (n = va(n, r.referentialEqualities)), n;
|
2891
2891
|
}
|
2892
2892
|
stringify(e) {
|
2893
2893
|
return JSON.stringify(this.serialize(e));
|
@@ -2920,44 +2920,44 @@ C.registerClass = C.defaultInstance.registerClass.bind(C.defaultInstance);
|
|
2920
2920
|
C.registerSymbol = C.defaultInstance.registerSymbol.bind(C.defaultInstance);
|
2921
2921
|
C.registerCustom = C.defaultInstance.registerCustom.bind(C.defaultInstance);
|
2922
2922
|
C.allowErrorProps = C.defaultInstance.allowErrorProps.bind(C.defaultInstance);
|
2923
|
-
var
|
2924
|
-
function
|
2923
|
+
var ka = C.serialize, Tu = C.stringify;
|
2924
|
+
function Au(e) {
|
2925
2925
|
return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
|
2926
2926
|
}
|
2927
|
-
function
|
2927
|
+
function Iu(e, t) {
|
2928
2928
|
return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
|
2929
2929
|
}
|
2930
|
-
function
|
2930
|
+
function ku({
|
2931
2931
|
queryState: e,
|
2932
2932
|
observerCount: t,
|
2933
2933
|
isStale: r
|
2934
2934
|
}) {
|
2935
2935
|
return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
|
2936
2936
|
}
|
2937
|
-
function
|
2937
|
+
function Ou({
|
2938
2938
|
status: e,
|
2939
2939
|
isPaused: t
|
2940
2940
|
}) {
|
2941
2941
|
return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
|
2942
2942
|
}
|
2943
|
-
function
|
2943
|
+
function Ru(e) {
|
2944
2944
|
return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
|
2945
2945
|
}
|
2946
|
-
var
|
2946
|
+
var _u = (e, t = !1) => {
|
2947
2947
|
const {
|
2948
2948
|
json: r
|
2949
|
-
} =
|
2949
|
+
} = ka(e);
|
2950
2950
|
return JSON.stringify(r, null, t ? 2 : void 0);
|
2951
|
-
}, rt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3,
|
2952
|
-
status: Oa,
|
2953
|
-
"query hash": ka,
|
2954
|
-
"last updated": Wn
|
2955
|
-
}, nt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Gn = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Ra = (e, t) => nt(e) === nt(t) ? Gn(e, t) : nt(e) > nt(t) ? 1 : -1, bu = {
|
2951
|
+
}, rt = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, Oa = (e, t) => e.queryHash.localeCompare(t.queryHash), Wn = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Ra = (e, t) => rt(e) === rt(t) ? Wn(e, t) : rt(e) > rt(t) ? 1 : -1, Cu = {
|
2956
2952
|
status: Ra,
|
2953
|
+
"query hash": Oa,
|
2954
|
+
"last updated": Wn
|
2955
|
+
}, nt = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Gn = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, _a = (e, t) => nt(e) === nt(t) ? Gn(e, t) : nt(e) > nt(t) ? 1 : -1, Nu = {
|
2956
|
+
status: _a,
|
2957
2957
|
"last updated": Gn
|
2958
|
-
},
|
2958
|
+
}, Pu = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), xu = () => {
|
2959
2959
|
const [e, t] = Y("dark");
|
2960
|
-
return
|
2960
|
+
return di(() => {
|
2961
2961
|
const r = window.matchMedia("(prefers-color-scheme: dark)");
|
2962
2962
|
t(r.matches ? "dark" : "light");
|
2963
2963
|
const n = (s) => {
|
@@ -3025,11 +3025,11 @@ var pu = (e, t = !1) => {
|
|
3025
3025
|
return r[n] = it(r[n], s), r;
|
3026
3026
|
}
|
3027
3027
|
return e;
|
3028
|
-
},
|
3028
|
+
}, Ca = (e, t) => {
|
3029
3029
|
if (!e || document.querySelector("#_goober") || t?.querySelector("#_goober")) return;
|
3030
3030
|
const n = document.createElement("style"), s = document.createTextNode("");
|
3031
3031
|
n.appendChild(s), n.id = "_goober", n.setAttribute("nonce", e), t ? t.appendChild(n) : document.head.appendChild(n);
|
3032
|
-
},
|
3032
|
+
}, Na = class {
|
3033
3033
|
#e;
|
3034
3034
|
#t;
|
3035
3035
|
#r;
|
@@ -3078,10 +3078,10 @@ var pu = (e, t = !1) => {
|
|
3078
3078
|
mount(e) {
|
3079
3079
|
if (this.#n)
|
3080
3080
|
throw new Error("Devtools is already mounted");
|
3081
|
-
const t =
|
3081
|
+
const t = Li(() => {
|
3082
3082
|
const r = this, [n] = this.#i, [s] = this.#c, [i] = this.#l, [o] = this.#u, [a] = this.#f, [c] = this.#e;
|
3083
3083
|
let d;
|
3084
|
-
return this.#d ? d = this.#d : (d =
|
3084
|
+
return this.#d ? d = this.#d : (d = Ii(() => import("./LNWAZHJI.CdnUhcqc.js")), this.#d = d), Ca(this.#o, this.#a), Ei(d, Ti({
|
3085
3085
|
get queryFlavor() {
|
3086
3086
|
return r.#r;
|
3087
3087
|
},
|
@@ -3123,8 +3123,8 @@ var pu = (e, t = !1) => {
|
|
3123
3123
|
this.#h?.(), this.#n = !1;
|
3124
3124
|
}
|
3125
3125
|
};
|
3126
|
-
function
|
3127
|
-
const t =
|
3126
|
+
function Pa(e) {
|
3127
|
+
const t = ii(e.client), r = te.useRef(null), {
|
3128
3128
|
buttonPosition: n,
|
3129
3129
|
position: s,
|
3130
3130
|
initialIsOpen: i,
|
@@ -3133,7 +3133,7 @@ function Na(e) {
|
|
3133
3133
|
shadowDOMTarget: c,
|
3134
3134
|
hideDisabledQueries: d
|
3135
3135
|
} = e, [u] = te.useState(
|
3136
|
-
new
|
3136
|
+
new Na({
|
3137
3137
|
client: t,
|
3138
3138
|
queryFlavor: "React Query",
|
3139
3139
|
version: "5",
|
@@ -3161,9 +3161,9 @@ function Na(e) {
|
|
3161
3161
|
u.unmount();
|
3162
3162
|
}), [u]), /* @__PURE__ */ y("div", { dir: "ltr", className: "tsqd-parent-container", ref: r });
|
3163
3163
|
}
|
3164
|
-
var
|
3164
|
+
var xa = process.env.NODE_ENV !== "development" ? function() {
|
3165
3165
|
return null;
|
3166
|
-
} :
|
3166
|
+
} : Pa, $a = Object.defineProperty, Da = (e, t, r) => t in e ? $a(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $ = (e, t, r) => Da(e, typeof t != "symbol" ? t + "" : t, r);
|
3167
3167
|
/*!
|
3168
3168
|
@versini/auth-common v4.5.0
|
3169
3169
|
© 2025 gizmette.com
|
@@ -3191,7 +3191,7 @@ const Ke = {
|
|
3191
3191
|
NONCE_KEY: "_nonce",
|
3192
3192
|
AUTH_TYPE_KEY: "auth_type",
|
3193
3193
|
ISSUER: "gizmette.com"
|
3194
|
-
},
|
3194
|
+
}, Ma = `-----BEGIN PUBLIC KEY-----
|
3195
3195
|
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
|
3196
3196
|
w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
|
3197
3197
|
i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
|
@@ -3205,14 +3205,14 @@ awIDAQAB
|
|
3205
3205
|
LOGIN: "login",
|
3206
3206
|
REFRESH: "refresh"
|
3207
3207
|
}, at = new TextEncoder(), $e = new TextDecoder();
|
3208
|
-
function
|
3208
|
+
function La(...e) {
|
3209
3209
|
const t = e.reduce((s, { length: i }) => s + i, 0), r = new Uint8Array(t);
|
3210
3210
|
let n = 0;
|
3211
3211
|
for (const s of e)
|
3212
3212
|
r.set(s, n), n += s.length;
|
3213
3213
|
return r;
|
3214
3214
|
}
|
3215
|
-
function
|
3215
|
+
function Ua(e) {
|
3216
3216
|
if (Uint8Array.fromBase64)
|
3217
3217
|
return Uint8Array.fromBase64(e);
|
3218
3218
|
const t = atob(e), r = new Uint8Array(t.length);
|
@@ -3228,7 +3228,7 @@ function He(e) {
|
|
3228
3228
|
let t = e;
|
3229
3229
|
t instanceof Uint8Array && (t = $e.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
|
3230
3230
|
try {
|
3231
|
-
return
|
3231
|
+
return Ua(t);
|
3232
3232
|
} catch {
|
3233
3233
|
throw new TypeError("The input to be decoded is not correctly encoded.");
|
3234
3234
|
}
|
@@ -3291,7 +3291,7 @@ function Me(e, t) {
|
|
3291
3291
|
function Ht(e) {
|
3292
3292
|
return parseInt(e.name.slice(4), 10);
|
3293
3293
|
}
|
3294
|
-
function
|
3294
|
+
function Fa(e) {
|
3295
3295
|
switch (e) {
|
3296
3296
|
case "ES256":
|
3297
3297
|
return "P-256";
|
@@ -3303,11 +3303,11 @@ function Ua(e) {
|
|
3303
3303
|
throw new Error("unreachable");
|
3304
3304
|
}
|
3305
3305
|
}
|
3306
|
-
function
|
3306
|
+
function Ka(e, t) {
|
3307
3307
|
if (!e.usages.includes(t))
|
3308
3308
|
throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
|
3309
3309
|
}
|
3310
|
-
function
|
3310
|
+
function Ha(e, t, r) {
|
3311
3311
|
switch (t) {
|
3312
3312
|
case "HS256":
|
3313
3313
|
case "HS384":
|
@@ -3350,7 +3350,7 @@ function Ka(e, t, r) {
|
|
3350
3350
|
case "ES512": {
|
3351
3351
|
if (!Me(e.algorithm, "ECDSA"))
|
3352
3352
|
throw ce("ECDSA");
|
3353
|
-
const n =
|
3353
|
+
const n = Fa(t);
|
3354
3354
|
if (e.algorithm.namedCurve !== n)
|
3355
3355
|
throw ce(n, "algorithm.namedCurve");
|
3356
3356
|
break;
|
@@ -3358,7 +3358,7 @@ function Ka(e, t, r) {
|
|
3358
3358
|
default:
|
3359
3359
|
throw new TypeError("CryptoKey does not support this operation");
|
3360
3360
|
}
|
3361
|
-
|
3361
|
+
Ka(e, r);
|
3362
3362
|
}
|
3363
3363
|
function Qn(e, t, ...r) {
|
3364
3364
|
var n;
|
@@ -3368,7 +3368,7 @@ function Qn(e, t, ...r) {
|
|
3368
3368
|
} else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
|
3369
3369
|
return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (n = t.constructor) != null && n.name && (e += ` Received an instance of ${t.constructor.name}`), e;
|
3370
3370
|
}
|
3371
|
-
const
|
3371
|
+
const Ba = (e, ...t) => Qn("Key must be ", e, ...t);
|
3372
3372
|
function Yn(e, t, ...r) {
|
3373
3373
|
return Qn(`Key for the ${e} algorithm must be `, t, ...r);
|
3374
3374
|
}
|
@@ -3378,7 +3378,7 @@ function Xn(e) {
|
|
3378
3378
|
function Zn(e) {
|
3379
3379
|
return e?.[Symbol.toStringTag] === "KeyObject";
|
3380
3380
|
}
|
3381
|
-
const es = (e) => Xn(e) || Zn(e),
|
3381
|
+
const es = (e) => Xn(e) || Zn(e), Va = (...e) => {
|
3382
3382
|
const t = e.filter(Boolean);
|
3383
3383
|
if (t.length === 0 || t.length === 1)
|
3384
3384
|
return !0;
|
@@ -3397,11 +3397,11 @@ const es = (e) => Xn(e) || Zn(e), Ba = (...e) => {
|
|
3397
3397
|
}
|
3398
3398
|
return !0;
|
3399
3399
|
};
|
3400
|
-
function
|
3400
|
+
function ja(e) {
|
3401
3401
|
return typeof e == "object" && e !== null;
|
3402
3402
|
}
|
3403
3403
|
const Ye = (e) => {
|
3404
|
-
if (!
|
3404
|
+
if (!ja(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
3405
3405
|
return !1;
|
3406
3406
|
if (Object.getPrototypeOf(e) === null)
|
3407
3407
|
return !0;
|
@@ -3409,7 +3409,7 @@ const Ye = (e) => {
|
|
3409
3409
|
for (; Object.getPrototypeOf(t) !== null; )
|
3410
3410
|
t = Object.getPrototypeOf(t);
|
3411
3411
|
return Object.getPrototypeOf(e) === t;
|
3412
|
-
},
|
3412
|
+
}, Wa = (e, t) => {
|
3413
3413
|
if (e.startsWith("RS") || e.startsWith("PS")) {
|
3414
3414
|
const { modulusLength: r } = t.algorithm;
|
3415
3415
|
if (typeof r != "number" || r < 2048)
|
@@ -3422,7 +3422,7 @@ const Ye = (e) => {
|
|
3422
3422
|
return !1;
|
3423
3423
|
const s = e.subarray(n, n + t.length);
|
3424
3424
|
return s.length !== t.length ? !1 : s.every((i, o) => i === t[o]) || mt(e, t, n + 1);
|
3425
|
-
},
|
3425
|
+
}, Ga = (e) => {
|
3426
3426
|
switch (!0) {
|
3427
3427
|
case mt(e, [42, 134, 72, 206, 61, 3, 1, 7]):
|
3428
3428
|
return "P-256";
|
@@ -3433,7 +3433,7 @@ const Ye = (e) => {
|
|
3433
3433
|
default:
|
3434
3434
|
return;
|
3435
3435
|
}
|
3436
|
-
},
|
3436
|
+
}, qa = async (e, t, r, n, s) => {
|
3437
3437
|
let i, o;
|
3438
3438
|
const a = new Uint8Array(atob(r.replace(e, "")).split("").map((c) => c.charCodeAt(0)));
|
3439
3439
|
switch (n) {
|
@@ -3469,7 +3469,7 @@ const Ye = (e) => {
|
|
3469
3469
|
case "ECDH-ES+A128KW":
|
3470
3470
|
case "ECDH-ES+A192KW":
|
3471
3471
|
case "ECDH-ES+A256KW": {
|
3472
|
-
const c =
|
3472
|
+
const c = Ga(a);
|
3473
3473
|
i = c != null && c.startsWith("P-") ? { name: "ECDH", namedCurve: c } : { name: "X25519" }, o = [];
|
3474
3474
|
break;
|
3475
3475
|
}
|
@@ -3481,8 +3481,8 @@ const Ye = (e) => {
|
|
3481
3481
|
throw new ge('Invalid or unsupported "alg" (Algorithm) value');
|
3482
3482
|
}
|
3483
3483
|
return crypto.subtle.importKey(t, a, i, !0, o);
|
3484
|
-
},
|
3485
|
-
function
|
3484
|
+
}, Ja = (e, t, r) => qa(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
|
3485
|
+
function za(e) {
|
3486
3486
|
let t, r;
|
3487
3487
|
switch (e.kty) {
|
3488
3488
|
case "RSA": {
|
@@ -3555,18 +3555,18 @@ function Ja(e) {
|
|
3555
3555
|
}
|
3556
3556
|
return { algorithm: t, keyUsages: r };
|
3557
3557
|
}
|
3558
|
-
const
|
3558
|
+
const Qa = async (e) => {
|
3559
3559
|
if (!e.alg)
|
3560
3560
|
throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
|
3561
|
-
const { algorithm: t, keyUsages: r } =
|
3561
|
+
const { algorithm: t, keyUsages: r } = za(e), n = { ...e };
|
3562
3562
|
return delete n.alg, delete n.use, crypto.subtle.importKey("jwk", n, t, e.ext ?? !e.d, e.key_ops ?? r);
|
3563
3563
|
};
|
3564
|
-
async function
|
3564
|
+
async function Ya(e, t, r) {
|
3565
3565
|
if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
|
3566
3566
|
throw new TypeError('"spki" must be SPKI formatted string');
|
3567
|
-
return
|
3567
|
+
return Ja(e, t);
|
3568
3568
|
}
|
3569
|
-
const
|
3569
|
+
const Xa = (e, t, r, n, s) => {
|
3570
3570
|
if (s.crit !== void 0 && n?.crit === void 0)
|
3571
3571
|
throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
|
3572
3572
|
if (!n || n.crit === void 0)
|
@@ -3584,7 +3584,7 @@ const Ya = (e, t, r, n, s) => {
|
|
3584
3584
|
throw new e(`Extension Header Parameter "${o}" MUST be integrity protected`);
|
3585
3585
|
}
|
3586
3586
|
return new Set(n.crit);
|
3587
|
-
},
|
3587
|
+
}, Za = (e, t) => {
|
3588
3588
|
if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
|
3589
3589
|
throw new TypeError(`"${e}" option must be an array of strings`);
|
3590
3590
|
if (t)
|
@@ -3593,13 +3593,13 @@ const Ya = (e, t, r, n, s) => {
|
|
3593
3593
|
function vr(e) {
|
3594
3594
|
return Ye(e) && typeof e.kty == "string";
|
3595
3595
|
}
|
3596
|
-
function
|
3596
|
+
function eo(e) {
|
3597
3597
|
return e.kty !== "oct" && typeof e.d == "string";
|
3598
3598
|
}
|
3599
|
-
function
|
3599
|
+
function to(e) {
|
3600
3600
|
return e.kty !== "oct" && typeof e.d > "u";
|
3601
3601
|
}
|
3602
|
-
function
|
3602
|
+
function ro(e) {
|
3603
3603
|
return e.kty === "oct" && typeof e.k == "string";
|
3604
3604
|
}
|
3605
3605
|
let be;
|
@@ -3608,9 +3608,9 @@ const jr = async (e, t, r, n = !1) => {
|
|
3608
3608
|
let s = be.get(e);
|
3609
3609
|
if (s != null && s[r])
|
3610
3610
|
return s[r];
|
3611
|
-
const i = await
|
3611
|
+
const i = await Qa({ ...t, alg: r });
|
3612
3612
|
return n && Object.freeze(e), s ? s[r] = i : be.set(e, { [r]: i }), i;
|
3613
|
-
},
|
3613
|
+
}, no = (e, t) => {
|
3614
3614
|
var r;
|
3615
3615
|
be || (be = /* @__PURE__ */ new WeakMap());
|
3616
3616
|
let n = be.get(e);
|
@@ -3696,7 +3696,7 @@ const jr = async (e, t, r, n = !1) => {
|
|
3696
3696
|
if (!o)
|
3697
3697
|
throw new TypeError("given KeyObject instance cannot be used for this algorithm");
|
3698
3698
|
return n ? n[t] = o : be.set(e, { [t]: o }), o;
|
3699
|
-
},
|
3699
|
+
}, so = async (e, t) => {
|
3700
3700
|
if (e instanceof Uint8Array || Xn(e))
|
3701
3701
|
return e;
|
3702
3702
|
if (Zn(e)) {
|
@@ -3704,7 +3704,7 @@ const jr = async (e, t, r, n = !1) => {
|
|
3704
3704
|
return e.export();
|
3705
3705
|
if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
|
3706
3706
|
try {
|
3707
|
-
return
|
3707
|
+
return no(e, t);
|
3708
3708
|
} catch (n) {
|
3709
3709
|
if (n instanceof TypeError)
|
3710
3710
|
throw n;
|
@@ -3759,10 +3759,10 @@ const jr = async (e, t, r, n = !1) => {
|
|
3759
3759
|
throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${i}" when present`);
|
3760
3760
|
}
|
3761
3761
|
return !0;
|
3762
|
-
},
|
3762
|
+
}, io = (e, t, r) => {
|
3763
3763
|
if (!(t instanceof Uint8Array)) {
|
3764
3764
|
if (vr(t)) {
|
3765
|
-
if (
|
3765
|
+
if (ro(t) && hr(e, t, r))
|
3766
3766
|
return;
|
3767
3767
|
throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
|
3768
3768
|
}
|
@@ -3771,17 +3771,17 @@ const jr = async (e, t, r, n = !1) => {
|
|
3771
3771
|
if (t.type !== "secret")
|
3772
3772
|
throw new TypeError(`${Ne(t)} instances for symmetric algorithms must be of type "secret"`);
|
3773
3773
|
}
|
3774
|
-
},
|
3774
|
+
}, ao = (e, t, r) => {
|
3775
3775
|
if (vr(t))
|
3776
3776
|
switch (r) {
|
3777
3777
|
case "decrypt":
|
3778
3778
|
case "sign":
|
3779
|
-
if (
|
3779
|
+
if (eo(t) && hr(e, t, r))
|
3780
3780
|
return;
|
3781
3781
|
throw new TypeError("JSON Web Key for this operation be a private JWK");
|
3782
3782
|
case "encrypt":
|
3783
3783
|
case "verify":
|
3784
|
-
if (
|
3784
|
+
if (to(t) && hr(e, t, r))
|
3785
3785
|
return;
|
3786
3786
|
throw new TypeError("JSON Web Key for this operation be a public JWK");
|
3787
3787
|
}
|
@@ -3803,9 +3803,9 @@ const jr = async (e, t, r, n = !1) => {
|
|
3803
3803
|
case "encrypt":
|
3804
3804
|
throw new TypeError(`${Ne(t)} instances for asymmetric algorithm encryption must be of type "public"`);
|
3805
3805
|
}
|
3806
|
-
},
|
3807
|
-
e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ?
|
3808
|
-
},
|
3806
|
+
}, oo = (e, t, r) => {
|
3807
|
+
e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? io(e, t, r) : ao(e, t, r);
|
3808
|
+
}, co = (e, t) => {
|
3809
3809
|
const r = `SHA-${e.slice(-3)}`;
|
3810
3810
|
switch (e) {
|
3811
3811
|
case "HS256":
|
@@ -3830,24 +3830,24 @@ const jr = async (e, t, r, n = !1) => {
|
|
3830
3830
|
default:
|
3831
3831
|
throw new ge(`alg ${e} is not supported either by JOSE or your javascript runtime`);
|
3832
3832
|
}
|
3833
|
-
},
|
3833
|
+
}, lo = async (e, t, r) => {
|
3834
3834
|
if (t instanceof Uint8Array) {
|
3835
3835
|
if (!e.startsWith("HS"))
|
3836
|
-
throw new TypeError(
|
3836
|
+
throw new TypeError(Ba(t, "CryptoKey", "KeyObject", "JSON Web Key"));
|
3837
3837
|
return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
|
3838
3838
|
}
|
3839
|
-
return
|
3840
|
-
},
|
3841
|
-
const s = await
|
3842
|
-
|
3843
|
-
const i =
|
3839
|
+
return Ha(t, e, r), t;
|
3840
|
+
}, uo = async (e, t, r, n) => {
|
3841
|
+
const s = await lo(e, t, "verify");
|
3842
|
+
Wa(e, s);
|
3843
|
+
const i = co(e, s.algorithm);
|
3844
3844
|
try {
|
3845
3845
|
return await crypto.subtle.verify(i, s, r, n);
|
3846
3846
|
} catch {
|
3847
3847
|
return !1;
|
3848
3848
|
}
|
3849
3849
|
};
|
3850
|
-
async function
|
3850
|
+
async function fo(e, t, r) {
|
3851
3851
|
if (!Ye(e))
|
3852
3852
|
throw new F("Flattened JWS must be an object");
|
3853
3853
|
if (e.protected === void 0 && e.header === void 0)
|
@@ -3868,19 +3868,19 @@ async function uo(e, t, r) {
|
|
3868
3868
|
} catch {
|
3869
3869
|
throw new F("JWS Protected Header is invalid");
|
3870
3870
|
}
|
3871
|
-
if (!
|
3871
|
+
if (!Va(n, e.header))
|
3872
3872
|
throw new F("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
|
3873
3873
|
const s = {
|
3874
3874
|
...n,
|
3875
3875
|
...e.header
|
3876
|
-
}, i =
|
3876
|
+
}, i = Xa(F, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, n, s);
|
3877
3877
|
let o = !0;
|
3878
3878
|
if (i.has("b64") && (o = n.b64, typeof o != "boolean"))
|
3879
3879
|
throw new F('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
|
3880
3880
|
const { alg: a } = s;
|
3881
3881
|
if (typeof a != "string" || !a)
|
3882
3882
|
throw new F('JWS "alg" (Algorithm) Header Parameter missing or invalid');
|
3883
|
-
const c = r &&
|
3883
|
+
const c = r && Za("algorithms", r.algorithms);
|
3884
3884
|
if (c && !c.has(a))
|
3885
3885
|
throw new Jn('"alg" (Algorithm) Header Parameter value not allowed');
|
3886
3886
|
if (o) {
|
@@ -3889,16 +3889,16 @@ async function uo(e, t, r) {
|
|
3889
3889
|
} else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
|
3890
3890
|
throw new F("JWS Payload must be a string or an Uint8Array instance");
|
3891
3891
|
let d = !1;
|
3892
|
-
typeof t == "function" && (t = await t(n, e), d = !0),
|
3893
|
-
const u =
|
3892
|
+
typeof t == "function" && (t = await t(n, e), d = !0), oo(a, t, "verify");
|
3893
|
+
const u = La(at.encode(e.protected ?? ""), at.encode("."), typeof e.payload == "string" ? at.encode(e.payload) : e.payload);
|
3894
3894
|
let l;
|
3895
3895
|
try {
|
3896
3896
|
l = He(e.signature);
|
3897
3897
|
} catch {
|
3898
3898
|
throw new F("Failed to base64url decode the signature");
|
3899
3899
|
}
|
3900
|
-
const f = await
|
3901
|
-
if (!await
|
3900
|
+
const f = await so(t, a);
|
3901
|
+
if (!await uo(a, f, l, u))
|
3902
3902
|
throw new zn();
|
3903
3903
|
let h;
|
3904
3904
|
if (o)
|
@@ -3911,17 +3911,17 @@ async function uo(e, t, r) {
|
|
3911
3911
|
const m = { payload: h };
|
3912
3912
|
return e.protected !== void 0 && (m.protectedHeader = n), e.header !== void 0 && (m.unprotectedHeader = e.header), d ? { ...m, key: f } : m;
|
3913
3913
|
}
|
3914
|
-
async function
|
3914
|
+
async function ho(e, t, r) {
|
3915
3915
|
if (e instanceof Uint8Array && (e = $e.decode(e)), typeof e != "string")
|
3916
3916
|
throw new F("Compact JWS must be a string or Uint8Array");
|
3917
3917
|
const { 0: n, 1: s, 2: i, length: o } = e.split(".");
|
3918
3918
|
if (o !== 3)
|
3919
3919
|
throw new F("Invalid Compact JWS");
|
3920
|
-
const a = await
|
3920
|
+
const a = await fo({ payload: s, protected: n, signature: i }, t, r), c = { payload: a.payload, protectedHeader: a.protectedHeader };
|
3921
3921
|
return typeof t == "function" ? { ...c, key: a.key } : c;
|
3922
3922
|
}
|
3923
|
-
const
|
3924
|
-
const t =
|
3923
|
+
const mo = (e) => Math.floor(e.getTime() / 1e3), ts = 60, rs = ts * 60, Er = rs * 24, yo = Er * 7, po = Er * 365.25, go = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Wr = (e) => {
|
3924
|
+
const t = go.exec(e);
|
3925
3925
|
if (!t || t[4] && t[1])
|
3926
3926
|
throw new TypeError("Invalid time period format");
|
3927
3927
|
const r = parseFloat(t[2]), n = t[3].toLowerCase();
|
@@ -3956,15 +3956,15 @@ const ho = (e) => Math.floor(e.getTime() / 1e3), ts = 60, rs = ts * 60, Er = rs
|
|
3956
3956
|
case "week":
|
3957
3957
|
case "weeks":
|
3958
3958
|
case "w":
|
3959
|
-
s = Math.round(r *
|
3959
|
+
s = Math.round(r * yo);
|
3960
3960
|
break;
|
3961
3961
|
default:
|
3962
|
-
s = Math.round(r *
|
3962
|
+
s = Math.round(r * po);
|
3963
3963
|
break;
|
3964
3964
|
}
|
3965
3965
|
return t[1] === "-" || t[4] === "ago" ? -s : s;
|
3966
|
-
}, Gr = (e) => e.toLowerCase().replace(/^application\//, ""),
|
3967
|
-
function
|
3966
|
+
}, Gr = (e) => e.toLowerCase().replace(/^application\//, ""), bo = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
|
3967
|
+
function wo(e, t, r = {}) {
|
3968
3968
|
let n;
|
3969
3969
|
try {
|
3970
3970
|
n = JSON.parse($e.decode(t));
|
@@ -3984,7 +3984,7 @@ function bo(e, t, r = {}) {
|
|
3984
3984
|
throw new ee('unexpected "iss" claim value', n, "iss", "check_failed");
|
3985
3985
|
if (a && n.sub !== a)
|
3986
3986
|
throw new ee('unexpected "sub" claim value', n, "sub", "check_failed");
|
3987
|
-
if (c && !
|
3987
|
+
if (c && !bo(n.aud, typeof c == "string" ? [c] : c))
|
3988
3988
|
throw new ee('unexpected "aud" claim value', n, "aud", "check_failed");
|
3989
3989
|
let l;
|
3990
3990
|
switch (typeof r.clockTolerance) {
|
@@ -4000,7 +4000,7 @@ function bo(e, t, r = {}) {
|
|
4000
4000
|
default:
|
4001
4001
|
throw new TypeError("Invalid clockTolerance option type");
|
4002
4002
|
}
|
4003
|
-
const { currentDate: f } = r, h =
|
4003
|
+
const { currentDate: f } = r, h = mo(f || /* @__PURE__ */ new Date());
|
4004
4004
|
if ((n.iat !== void 0 || d) && typeof n.iat != "number")
|
4005
4005
|
throw new ee('"iat" claim must be a number', n, "iat", "invalid");
|
4006
4006
|
if (n.nbf !== void 0) {
|
@@ -4024,15 +4024,15 @@ function bo(e, t, r = {}) {
|
|
4024
4024
|
}
|
4025
4025
|
return n;
|
4026
4026
|
}
|
4027
|
-
async function
|
4027
|
+
async function vo(e, t, r) {
|
4028
4028
|
var n;
|
4029
|
-
const s = await
|
4029
|
+
const s = await ho(e, t, r);
|
4030
4030
|
if ((n = s.protectedHeader.crit) != null && n.includes("b64") && s.protectedHeader.b64 === !1)
|
4031
4031
|
throw new se("JWTs MUST NOT use unencoded payload");
|
4032
|
-
const i = { payload:
|
4032
|
+
const i = { payload: wo(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
|
4033
4033
|
return typeof t == "function" ? { ...i, key: s.key } : i;
|
4034
4034
|
}
|
4035
|
-
function
|
4035
|
+
function Eo(e) {
|
4036
4036
|
if (typeof e != "string")
|
4037
4037
|
throw new se("JWTs must use Compact JWS serialization, JWT must be a string");
|
4038
4038
|
const { 1: t, length: r } = e.split(".");
|
@@ -4060,66 +4060,66 @@ function vo(e) {
|
|
4060
4060
|
}
|
4061
4061
|
const Xe = async (e) => {
|
4062
4062
|
try {
|
4063
|
-
const t = j.ALG, r = await
|
4064
|
-
return await
|
4063
|
+
const t = j.ALG, r = await Ya(Ma, t);
|
4064
|
+
return await vo(e, r, {
|
4065
4065
|
issuer: j.ISSUER
|
4066
4066
|
});
|
4067
4067
|
} catch {
|
4068
4068
|
return;
|
4069
4069
|
}
|
4070
|
-
},
|
4070
|
+
}, So = (e) => {
|
4071
4071
|
try {
|
4072
|
-
return
|
4072
|
+
return Eo(e);
|
4073
4073
|
} catch {
|
4074
4074
|
return;
|
4075
4075
|
}
|
4076
4076
|
}, H = [];
|
4077
4077
|
for (let e = 0; e < 256; ++e)
|
4078
4078
|
H.push((e + 256).toString(16).slice(1));
|
4079
|
-
function
|
4079
|
+
function To(e, t = 0) {
|
4080
4080
|
return (H[e[t + 0]] + H[e[t + 1]] + H[e[t + 2]] + H[e[t + 3]] + "-" + H[e[t + 4]] + H[e[t + 5]] + "-" + H[e[t + 6]] + H[e[t + 7]] + "-" + H[e[t + 8]] + H[e[t + 9]] + "-" + H[e[t + 10]] + H[e[t + 11]] + H[e[t + 12]] + H[e[t + 13]] + H[e[t + 14]] + H[e[t + 15]]).toLowerCase();
|
4081
4081
|
}
|
4082
4082
|
let Bt;
|
4083
|
-
const
|
4084
|
-
function
|
4083
|
+
const Ao = new Uint8Array(16);
|
4084
|
+
function Io() {
|
4085
4085
|
if (!Bt) {
|
4086
4086
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
4087
4087
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
4088
4088
|
Bt = crypto.getRandomValues.bind(crypto);
|
4089
4089
|
}
|
4090
|
-
return Bt(
|
4090
|
+
return Bt(Ao);
|
4091
4091
|
}
|
4092
|
-
const
|
4092
|
+
const ko = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), qr = { randomUUID: ko };
|
4093
4093
|
function Jr(e, t, r) {
|
4094
4094
|
var n;
|
4095
4095
|
if (qr.randomUUID && !e)
|
4096
4096
|
return qr.randomUUID();
|
4097
4097
|
e = e || {};
|
4098
|
-
const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ??
|
4098
|
+
const s = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? Io();
|
4099
4099
|
if (s.length < 16)
|
4100
4100
|
throw new Error("Random bytes length must be >= 16");
|
4101
|
-
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128,
|
4101
|
+
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, To(s);
|
4102
4102
|
}
|
4103
|
-
const zr = globalThis.crypto,
|
4103
|
+
const zr = globalThis.crypto, Oo = (e) => `${Jr()}${Jr()}`.slice(0, e), Ro = (e) => btoa(
|
4104
4104
|
[...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
|
4105
4105
|
);
|
4106
|
-
async function
|
4106
|
+
async function _o(e) {
|
4107
4107
|
if (!zr.subtle)
|
4108
4108
|
throw new Error(
|
4109
4109
|
"crypto.subtle is available only in secure contexts (HTTPS)."
|
4110
4110
|
);
|
4111
4111
|
const t = new TextEncoder().encode(e), r = await zr.subtle.digest("SHA-256", t);
|
4112
|
-
return
|
4112
|
+
return Ro(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
4113
4113
|
}
|
4114
|
-
async function
|
4115
|
-
const t =
|
4114
|
+
async function Co(e) {
|
4115
|
+
const t = Oo(43), r = await _o(t);
|
4116
4116
|
return {
|
4117
4117
|
code_verifier: t,
|
4118
4118
|
code_challenge: r
|
4119
4119
|
};
|
4120
4120
|
}
|
4121
4121
|
const ns = cn(null);
|
4122
|
-
var
|
4122
|
+
var No = Object.defineProperty, Po = (e, t, r) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t, r) => Po(e, typeof t != "symbol" ? t + "" : t, r);
|
4123
4123
|
/*!
|
4124
4124
|
@versini/auth-provider v8.0.4
|
4125
4125
|
© 2025 gizmette.com
|
@@ -4147,9 +4147,9 @@ function It(e) {
|
|
4147
4147
|
return i;
|
4148
4148
|
}
|
4149
4149
|
function Sr() {
|
4150
|
-
return
|
4150
|
+
return xo.stubThis(globalThis?.PublicKeyCredential !== void 0 && typeof globalThis.PublicKeyCredential == "function");
|
4151
4151
|
}
|
4152
|
-
const
|
4152
|
+
const xo = {
|
4153
4153
|
stubThis: (e) => e
|
4154
4154
|
};
|
4155
4155
|
function ss(e) {
|
@@ -4181,7 +4181,7 @@ let V = class extends Error {
|
|
4181
4181
|
}), this.name = s ?? n.name, this.code = r;
|
4182
4182
|
}
|
4183
4183
|
};
|
4184
|
-
function
|
4184
|
+
function $o({ error: e, options: t }) {
|
4185
4185
|
const { publicKey: r } = t;
|
4186
4186
|
if (!r)
|
4187
4187
|
throw Error("options was missing required publicKey property");
|
@@ -4267,7 +4267,7 @@ function xo({ error: e, options: t }) {
|
|
4267
4267
|
}
|
4268
4268
|
return e;
|
4269
4269
|
}
|
4270
|
-
class
|
4270
|
+
class Do {
|
4271
4271
|
constructor() {
|
4272
4272
|
Object.defineProperty(this, "controller", {
|
4273
4273
|
enumerable: !0,
|
@@ -4291,12 +4291,12 @@ class $o {
|
|
4291
4291
|
}
|
4292
4292
|
}
|
4293
4293
|
}
|
4294
|
-
const as = new
|
4294
|
+
const as = new Do(), Mo = ["cross-platform", "platform"];
|
4295
4295
|
function os(e) {
|
4296
|
-
if (e && !(
|
4296
|
+
if (e && !(Mo.indexOf(e) < 0))
|
4297
4297
|
return e;
|
4298
4298
|
}
|
4299
|
-
async function
|
4299
|
+
async function Lo(e) {
|
4300
4300
|
!e.optionsJSON && e.challenge && (console.warn("startRegistration() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
|
4301
4301
|
const { optionsJSON: t, useAutoRegister: r = !1 } = e;
|
4302
4302
|
if (!Sr())
|
@@ -4315,7 +4315,7 @@ async function Mo(e) {
|
|
4315
4315
|
try {
|
4316
4316
|
i = await navigator.credentials.create(s);
|
4317
4317
|
} catch (m) {
|
4318
|
-
throw
|
4318
|
+
throw $o({ error: m, options: s });
|
4319
4319
|
}
|
4320
4320
|
if (!i)
|
4321
4321
|
throw new Error("Registration was not completed");
|
@@ -4364,7 +4364,7 @@ function jt(e, t) {
|
|
4364
4364
|
console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
|
4365
4365
|
`, t);
|
4366
4366
|
}
|
4367
|
-
function
|
4367
|
+
function Uo() {
|
4368
4368
|
if (!Sr())
|
4369
4369
|
return Wt.stubThis(new Promise((t) => t(!1)));
|
4370
4370
|
const e = globalThis.PublicKeyCredential;
|
@@ -4373,7 +4373,7 @@ function Lo() {
|
|
4373
4373
|
const Wt = {
|
4374
4374
|
stubThis: (e) => e
|
4375
4375
|
};
|
4376
|
-
function
|
4376
|
+
function Fo({ error: e, options: t }) {
|
4377
4377
|
const { publicKey: r } = t;
|
4378
4378
|
if (!r)
|
4379
4379
|
throw Error("options was missing required publicKey property");
|
@@ -4414,7 +4414,7 @@ function Uo({ error: e, options: t }) {
|
|
4414
4414
|
}
|
4415
4415
|
return e;
|
4416
4416
|
}
|
4417
|
-
async function
|
4417
|
+
async function Ko(e) {
|
4418
4418
|
!e.optionsJSON && e.challenge && (console.warn("startAuthentication() was not called correctly. It will try to continue with the provided options, but this call should be refactored to use the expected call structure instead. See https://simplewebauthn.dev/docs/packages/browser#typeerror-cannot-read-properties-of-undefined-reading-challenge for more information."), e = { optionsJSON: e });
|
4419
4419
|
const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: n = !0 } = e;
|
4420
4420
|
if (!Sr())
|
@@ -4427,7 +4427,7 @@ async function Fo(e) {
|
|
4427
4427
|
allowCredentials: s
|
4428
4428
|
}, o = {};
|
4429
4429
|
if (r) {
|
4430
|
-
if (!await
|
4430
|
+
if (!await Uo())
|
4431
4431
|
throw Error("Browser does not support WebAuthn autofill");
|
4432
4432
|
if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1 && n)
|
4433
4433
|
throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
|
@@ -4438,7 +4438,7 @@ async function Fo(e) {
|
|
4438
4438
|
try {
|
4439
4439
|
a = await navigator.credentials.get(o);
|
4440
4440
|
} catch (h) {
|
4441
|
-
throw
|
4441
|
+
throw Fo({ error: h, options: o });
|
4442
4442
|
}
|
4443
4443
|
if (!a)
|
4444
4444
|
throw new Error("Authentication was not completed");
|
@@ -4466,18 +4466,18 @@ const Qr = (e, t) => {
|
|
4466
4466
|
typeof t == "function" ? t() : t
|
4467
4467
|
);
|
4468
4468
|
window.localStorage.setItem(e, r), cs(e, r);
|
4469
|
-
},
|
4469
|
+
}, Ho = (e) => {
|
4470
4470
|
window.localStorage.removeItem(e), cs(e, null);
|
4471
|
-
}, Yr = (e) => window.localStorage.getItem(e),
|
4471
|
+
}, Yr = (e) => window.localStorage.getItem(e), Bo = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
|
4472
4472
|
function ot({
|
4473
4473
|
key: e,
|
4474
4474
|
initialValue: t
|
4475
4475
|
}) {
|
4476
|
-
const r =
|
4476
|
+
const r = xs(Bo, () => Yr(e)), n = ue(
|
4477
4477
|
(o) => {
|
4478
4478
|
try {
|
4479
4479
|
const a = typeof o == "function" ? o(JSON.parse(r)) : o;
|
4480
|
-
a == null ?
|
4480
|
+
a == null ? Ho(e) : Qr(e, a);
|
4481
4481
|
} catch (a) {
|
4482
4482
|
console.warn(a);
|
4483
4483
|
}
|
@@ -4499,30 +4499,30 @@ function ot({
|
|
4499
4499
|
const B = [];
|
4500
4500
|
for (let e = 0; e < 256; ++e)
|
4501
4501
|
B.push((e + 256).toString(16).slice(1));
|
4502
|
-
function
|
4502
|
+
function Vo(e, t = 0) {
|
4503
4503
|
return (B[e[t + 0]] + B[e[t + 1]] + B[e[t + 2]] + B[e[t + 3]] + "-" + B[e[t + 4]] + B[e[t + 5]] + "-" + B[e[t + 6]] + B[e[t + 7]] + "-" + B[e[t + 8]] + B[e[t + 9]] + "-" + B[e[t + 10]] + B[e[t + 11]] + B[e[t + 12]] + B[e[t + 13]] + B[e[t + 14]] + B[e[t + 15]]).toLowerCase();
|
4504
4504
|
}
|
4505
4505
|
let Gt;
|
4506
|
-
const
|
4507
|
-
function
|
4506
|
+
const jo = new Uint8Array(16);
|
4507
|
+
function Wo() {
|
4508
4508
|
if (!Gt) {
|
4509
4509
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
4510
4510
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
4511
4511
|
Gt = crypto.getRandomValues.bind(crypto);
|
4512
4512
|
}
|
4513
|
-
return Gt(
|
4513
|
+
return Gt(jo);
|
4514
4514
|
}
|
4515
|
-
const
|
4515
|
+
const Go = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Xr = { randomUUID: Go };
|
4516
4516
|
function qt(e, t, r) {
|
4517
4517
|
if (Xr.randomUUID && !e)
|
4518
4518
|
return Xr.randomUUID();
|
4519
4519
|
e = e || {};
|
4520
|
-
const n = e.random ?? e.rng?.() ??
|
4520
|
+
const n = e.random ?? e.rng?.() ?? Wo();
|
4521
4521
|
if (n.length < 16)
|
4522
4522
|
throw new Error("Random bytes length must be >= 16");
|
4523
|
-
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128,
|
4523
|
+
return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, Vo(n);
|
4524
4524
|
}
|
4525
|
-
const Oe = "Your session has expired. For your security, please log in again to continue.",
|
4525
|
+
const Oe = "Your session has expired. For your security, please log in again to continue.", qo = "Your session has been successfully terminated.", Jt = "Login failed. Please try again.", Jo = "Error getting access token, please re-authenticate.", zo = "You forgot to wrap your component in <AuthProvider>.", ct = "@@auth@@", Le = "LOADING", yt = "LOGIN", ls = "LOGOUT", Ze = "success", oe = "failure", us = "include", ds = "POST", fs = "application/json", lt = {
|
4526
4526
|
GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
|
4527
4527
|
$clientId: String!,
|
4528
4528
|
$username: String!,
|
@@ -4677,21 +4677,21 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4677
4677
|
} catch (s) {
|
4678
4678
|
return console.error(s), { status: oe, data: [] };
|
4679
4679
|
}
|
4680
|
-
},
|
4680
|
+
}, Qo = process.env.NODE_ENV === "production", Yo = !Qo, hs = {
|
4681
4681
|
isLoading: !0,
|
4682
4682
|
isAuthenticated: !1,
|
4683
4683
|
user: void 0,
|
4684
4684
|
logoutReason: "",
|
4685
4685
|
debug: !1,
|
4686
4686
|
authenticationType: ""
|
4687
|
-
},
|
4687
|
+
}, Xo = (e) => {
|
4688
4688
|
try {
|
4689
|
-
const t =
|
4689
|
+
const t = So(e);
|
4690
4690
|
return t ? t[j.USER_ID_KEY] : "";
|
4691
4691
|
} catch {
|
4692
4692
|
return "";
|
4693
4693
|
}
|
4694
|
-
},
|
4694
|
+
}, Zo = async ({
|
4695
4695
|
userId: e,
|
4696
4696
|
clientId: t,
|
4697
4697
|
domain: r,
|
@@ -4716,7 +4716,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4716
4716
|
status: oe
|
4717
4717
|
};
|
4718
4718
|
}
|
4719
|
-
},
|
4719
|
+
}, ec = async ({
|
4720
4720
|
username: e,
|
4721
4721
|
password: t,
|
4722
4722
|
clientId: r,
|
@@ -4761,7 +4761,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4761
4761
|
status: !1
|
4762
4762
|
};
|
4763
4763
|
}
|
4764
|
-
},
|
4764
|
+
}, tc = async ({
|
4765
4765
|
nonce: e,
|
4766
4766
|
clientId: t,
|
4767
4767
|
code_challenge: r,
|
@@ -4791,7 +4791,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4791
4791
|
data: ""
|
4792
4792
|
};
|
4793
4793
|
}
|
4794
|
-
},
|
4794
|
+
}, rc = async ({
|
4795
4795
|
clientId: e,
|
4796
4796
|
userId: t,
|
4797
4797
|
nonce: r,
|
@@ -4828,7 +4828,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
4828
4828
|
};
|
4829
4829
|
}
|
4830
4830
|
};
|
4831
|
-
class
|
4831
|
+
class nc {
|
4832
4832
|
constructor(t = null, r = null) {
|
4833
4833
|
Vt(this, "refreshTokenPromise", null), Vt(this, "accessToken"), Vt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
|
4834
4834
|
}
|
@@ -4861,7 +4861,7 @@ class rc {
|
|
4861
4861
|
}) {
|
4862
4862
|
const o = await Xe(this.refreshToken);
|
4863
4863
|
if (o && o.payload[j.USER_ID_KEY] !== "") {
|
4864
|
-
const a = await
|
4864
|
+
const a = await rc({
|
4865
4865
|
endpoint: t,
|
4866
4866
|
clientId: r,
|
4867
4867
|
userId: n,
|
@@ -4884,7 +4884,7 @@ class rc {
|
|
4884
4884
|
}
|
4885
4885
|
}
|
4886
4886
|
const Ce = () => {
|
4887
|
-
throw new Error(
|
4887
|
+
throw new Error(zo);
|
4888
4888
|
}, ms = cn({
|
4889
4889
|
isAuthenticated: !1,
|
4890
4890
|
isLoading: !1,
|
@@ -4896,18 +4896,18 @@ const Ce = () => {
|
|
4896
4896
|
loginWithPasskey: Ce,
|
4897
4897
|
logoutReason: "",
|
4898
4898
|
authenticationType: ""
|
4899
|
-
}),
|
4899
|
+
}), sc = () => ({
|
4900
4900
|
...gr(ms)
|
4901
|
-
}),
|
4901
|
+
}), ic = (e) => ue(
|
4902
4902
|
(...t) => {
|
4903
4903
|
e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
|
4904
4904
|
},
|
4905
4905
|
[e]
|
4906
|
-
),
|
4906
|
+
), ac = fe.createContext({
|
4907
4907
|
state: hs,
|
4908
4908
|
dispatch: () => {
|
4909
4909
|
}
|
4910
|
-
}),
|
4910
|
+
}), oc = (e, t) => t?.type === Le ? {
|
4911
4911
|
...e,
|
4912
4912
|
isLoading: t.payload.isLoading
|
4913
4913
|
} : t?.type === yt ? {
|
@@ -4924,8 +4924,8 @@ const Ce = () => {
|
|
4924
4924
|
user: void 0,
|
4925
4925
|
authenticationType: "",
|
4926
4926
|
logoutReason: t.payload.logoutReason
|
4927
|
-
} : e,
|
4928
|
-
const t =
|
4927
|
+
} : e, cc = ({ children: e }) => {
|
4928
|
+
const t = sc();
|
4929
4929
|
return /* @__PURE__ */ y(ns.Provider, { value: t, children: e });
|
4930
4930
|
}, Zr = ({
|
4931
4931
|
children: e,
|
@@ -4933,12 +4933,12 @@ const Ce = () => {
|
|
4933
4933
|
clientId: r,
|
4934
4934
|
domain: n = "",
|
4935
4935
|
debug: s = !1,
|
4936
|
-
endpoint: i =
|
4936
|
+
endpoint: i = Yo ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
|
4937
4937
|
}) => {
|
4938
|
-
const [o, a] = ln(
|
4938
|
+
const [o, a] = ln(oc, {
|
4939
4939
|
...hs,
|
4940
4940
|
debug: s
|
4941
|
-
}), c =
|
4941
|
+
}), c = ic(s), d = W(!1), [u, l, , f] = ot({
|
4942
4942
|
key: `${ct}::${r}::@@user@@`
|
4943
4943
|
}), [h, m, , p] = ot({
|
4944
4944
|
key: `${ct}::${r}::@@access@@`
|
@@ -4948,7 +4948,7 @@ const Ce = () => {
|
|
4948
4948
|
}
|
4949
4949
|
), [S, O, , _] = ot({
|
4950
4950
|
key: `${ct}::${r}::@@nonce@@`
|
4951
|
-
}), q = new
|
4951
|
+
}), q = new nc(h, b), z = ue(() => {
|
4952
4952
|
c("removeLocalStorage: removing local storage"), f(), p(), k(), _();
|
4953
4953
|
}, [
|
4954
4954
|
p,
|
@@ -4972,10 +4972,10 @@ const Ce = () => {
|
|
4972
4972
|
), R = ue(
|
4973
4973
|
async (T) => {
|
4974
4974
|
c("invalidateAndLogout: invalidating and logging out");
|
4975
|
-
const { user: P } = o, A = P?.userId ||
|
4975
|
+
const { user: P } = o, A = P?.userId || Xo(u);
|
4976
4976
|
A || c(
|
4977
4977
|
"invalidateAndLogout: user cannot be identified, logging out without userId"
|
4978
|
-
), await
|
4978
|
+
), await Zo({
|
4979
4979
|
userId: A,
|
4980
4980
|
clientId: r,
|
4981
4981
|
domain: n,
|
@@ -5022,14 +5022,14 @@ const Ce = () => {
|
|
5022
5022
|
a({ type: Le, payload: { isLoading: !0 } }), z();
|
5023
5023
|
const A = qt();
|
5024
5024
|
O(A), c("login: Logging in with password");
|
5025
|
-
const { code_verifier: ye, code_challenge: pe } = await
|
5025
|
+
const { code_verifier: ye, code_challenge: pe } = await Co(), Cr = await tc({
|
5026
5026
|
endpoint: i,
|
5027
5027
|
nonce: A,
|
5028
5028
|
clientId: r,
|
5029
5029
|
code_challenge: pe
|
5030
5030
|
});
|
5031
5031
|
if (Cr.status) {
|
5032
|
-
const Ie = await
|
5032
|
+
const Ie = await ec({
|
5033
5033
|
endpoint: i,
|
5034
5034
|
username: T,
|
5035
5035
|
password: P,
|
@@ -5056,7 +5056,7 @@ const Ce = () => {
|
|
5056
5056
|
}
|
5057
5057
|
return !1;
|
5058
5058
|
}, N = async (T) => {
|
5059
|
-
T?.preventDefault(), await R(
|
5059
|
+
T?.preventDefault(), await R(qo);
|
5060
5060
|
}, E = async () => {
|
5061
5061
|
const { isAuthenticated: T, user: P } = o;
|
5062
5062
|
try {
|
@@ -5085,7 +5085,7 @@ const Ce = () => {
|
|
5085
5085
|
} catch {
|
5086
5086
|
return c(
|
5087
5087
|
"getAccessToken: exception occurred, invalidating and logging out"
|
5088
|
-
), await R(
|
5088
|
+
), await R(Jo), "";
|
5089
5089
|
}
|
5090
5090
|
}, U = () => o.isAuthenticated && u ? u : "", me = async () => {
|
5091
5091
|
const { user: T } = o;
|
@@ -5102,7 +5102,7 @@ const Ce = () => {
|
|
5102
5102
|
});
|
5103
5103
|
if (P.status)
|
5104
5104
|
try {
|
5105
|
-
const A = await
|
5105
|
+
const A = await Lo({
|
5106
5106
|
optionsJSON: P.data
|
5107
5107
|
});
|
5108
5108
|
return P = await _e({
|
@@ -5149,7 +5149,7 @@ const Ce = () => {
|
|
5149
5149
|
});
|
5150
5150
|
if (A.status)
|
5151
5151
|
try {
|
5152
|
-
const ye = await
|
5152
|
+
const ye = await Ko({
|
5153
5153
|
optionsJSON: A.data
|
5154
5154
|
});
|
5155
5155
|
return A = await _e({
|
@@ -5195,7 +5195,7 @@ const Ce = () => {
|
|
5195
5195
|
}
|
5196
5196
|
return !1;
|
5197
5197
|
};
|
5198
|
-
return /* @__PURE__ */ y(
|
5198
|
+
return /* @__PURE__ */ y(ac.Provider, { value: { state: o, dispatch: a }, children: /* @__PURE__ */ y(
|
5199
5199
|
ms.Provider,
|
5200
5200
|
{
|
5201
5201
|
value: {
|
@@ -5207,7 +5207,7 @@ const Ce = () => {
|
|
5207
5207
|
registeringForPasskey: me,
|
5208
5208
|
loginWithPasskey: Ae
|
5209
5209
|
},
|
5210
|
-
children: /* @__PURE__ */ y(
|
5210
|
+
children: /* @__PURE__ */ y(cc, { children: e })
|
5211
5211
|
}
|
5212
5212
|
) });
|
5213
5213
|
};
|
@@ -5229,25 +5229,25 @@ const ys = () => {
|
|
5229
5229
|
if (!e)
|
5230
5230
|
throw new Error("useAuth must be used within an AuthHookProvider");
|
5231
5231
|
return e;
|
5232
|
-
},
|
5232
|
+
}, Vu = "I'm having trouble right now. Please try again later.", ju = "action-search", Wu = "action-sort", Gu = "action-toggle-prompt", qu = "action-reset-prompt", ps = "sassy-saint-", Ju = "details", zu = "search", Qu = "sort", Yu = "sort-timestamp", Xu = "sort-token-usage", Zu = "private-disclosure", ed = "reasoning-disclosure", gs = "service-worker", en = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", td = 10, rd = 30, nd = "av-prompt", sd = "av-prompt-editable", id = "size-5 sm:size-4", ad = 30, od = 15, cd = 130, ld = 16, ud = 24, dd = 76;
|
5233
5233
|
let zt = null;
|
5234
5234
|
function Tr() {
|
5235
5235
|
return "serviceWorker" in navigator;
|
5236
5236
|
}
|
5237
|
-
function
|
5237
|
+
function lc() {
|
5238
5238
|
const e = localStorage.getItem(
|
5239
5239
|
ps + gs
|
5240
5240
|
);
|
5241
5241
|
return e === null ? !1 : e === "true";
|
5242
5242
|
}
|
5243
|
-
function
|
5243
|
+
function uc(e) {
|
5244
5244
|
localStorage.setItem(
|
5245
5245
|
ps + gs,
|
5246
5246
|
e.toString()
|
5247
5247
|
);
|
5248
5248
|
}
|
5249
5249
|
async function bs() {
|
5250
|
-
if (!
|
5250
|
+
if (!lc())
|
5251
5251
|
return !1;
|
5252
5252
|
if (!Tr())
|
5253
5253
|
return console.warn("[SW] Service workers not supported"), !1;
|
@@ -5268,7 +5268,7 @@ async function bs() {
|
|
5268
5268
|
return console.error("[SW] Service worker registration failed:", e), !1;
|
5269
5269
|
}
|
5270
5270
|
}
|
5271
|
-
async function
|
5271
|
+
async function dc() {
|
5272
5272
|
if (!Tr())
|
5273
5273
|
return !1;
|
5274
5274
|
try {
|
@@ -5278,19 +5278,19 @@ async function uc() {
|
|
5278
5278
|
return console.error("[SW] Service worker un-registration failed:", e), !1;
|
5279
5279
|
}
|
5280
5280
|
}
|
5281
|
-
async function
|
5282
|
-
if (
|
5281
|
+
async function fd(e) {
|
5282
|
+
if (uc(e), e)
|
5283
5283
|
await bs();
|
5284
5284
|
else {
|
5285
5285
|
try {
|
5286
|
-
Tr() && await
|
5286
|
+
Tr() && await fc();
|
5287
5287
|
} catch (t) {
|
5288
5288
|
console.warn("[SW] Failed to invalidate cache:", t);
|
5289
5289
|
}
|
5290
|
-
await
|
5290
|
+
await dc(), window.location.reload();
|
5291
5291
|
}
|
5292
5292
|
}
|
5293
|
-
async function
|
5293
|
+
async function fc() {
|
5294
5294
|
try {
|
5295
5295
|
if ("caches" in window) {
|
5296
5296
|
const e = await caches.keys();
|
@@ -5314,7 +5314,7 @@ async function dc() {
|
|
5314
5314
|
}
|
5315
5315
|
}
|
5316
5316
|
const tn = (e) => Number.isFinite(e) ? e : 0;
|
5317
|
-
function
|
5317
|
+
function hc(e) {
|
5318
5318
|
return {
|
5319
5319
|
days: Math.trunc(e / 864e5),
|
5320
5320
|
hours: Math.trunc(e / 36e5 % 24),
|
@@ -5325,7 +5325,7 @@ function fc(e) {
|
|
5325
5325
|
nanoseconds: Math.trunc(tn(e * 1e6) % 1e3)
|
5326
5326
|
};
|
5327
5327
|
}
|
5328
|
-
function
|
5328
|
+
function mc(e) {
|
5329
5329
|
return {
|
5330
5330
|
days: e / 86400000n,
|
5331
5331
|
hours: e / 3600000n % 24n,
|
@@ -5336,20 +5336,20 @@ function hc(e) {
|
|
5336
5336
|
nanoseconds: 0n
|
5337
5337
|
};
|
5338
5338
|
}
|
5339
|
-
function
|
5339
|
+
function yc(e) {
|
5340
5340
|
switch (typeof e) {
|
5341
5341
|
case "number": {
|
5342
5342
|
if (Number.isFinite(e))
|
5343
|
-
return
|
5343
|
+
return hc(e);
|
5344
5344
|
break;
|
5345
5345
|
}
|
5346
5346
|
case "bigint":
|
5347
|
-
return
|
5347
|
+
return mc(e);
|
5348
5348
|
}
|
5349
5349
|
throw new TypeError("Expected a finite number or bigint");
|
5350
5350
|
}
|
5351
|
-
const
|
5352
|
-
function
|
5351
|
+
const pc = (e) => e === 0 || e === 0n, gc = (e, t) => t === 1 || t === 1n ? e : `${e}s`, bc = 1e-7, wc = 24n * 60n * 60n * 1000n;
|
5352
|
+
function vc(e, t) {
|
5353
5353
|
const r = typeof e == "bigint";
|
5354
5354
|
if (!r && !Number.isFinite(e))
|
5355
5355
|
throw new TypeError("Expected a finite number or bigint");
|
@@ -5358,18 +5358,18 @@ function wc(e, t) {
|
|
5358
5358
|
e = e < 0 ? -e : e, t.colonNotation && (t.compact = !1, t.formatSubMilliseconds = !1, t.separateMilliseconds = !1, t.verbose = !1), t.compact && (t.unitCount = 1, t.secondsDecimalDigits = 0, t.millisecondsDecimalDigits = 0);
|
5359
5359
|
let s = [];
|
5360
5360
|
const i = (u, l) => {
|
5361
|
-
const f = Math.floor(u * 10 ** l +
|
5361
|
+
const f = Math.floor(u * 10 ** l + bc);
|
5362
5362
|
return (Math.round(f) / 10 ** l).toFixed(l);
|
5363
5363
|
}, o = (u, l, f, h) => {
|
5364
|
-
if (!((s.length === 0 || !t.colonNotation) &&
|
5364
|
+
if (!((s.length === 0 || !t.colonNotation) && pc(u) && !(t.colonNotation && f === "m"))) {
|
5365
5365
|
if (h ??= String(u), t.colonNotation) {
|
5366
5366
|
const m = h.includes(".") ? h.split(".")[0].length : h.length, p = s.length > 0 ? 2 : 1;
|
5367
5367
|
h = "0".repeat(Math.max(0, p - m)) + h;
|
5368
5368
|
} else
|
5369
|
-
h += t.verbose ? " " +
|
5369
|
+
h += t.verbose ? " " + gc(l, u) : f;
|
5370
5370
|
s.push(h);
|
5371
5371
|
}
|
5372
|
-
}, a =
|
5372
|
+
}, a = yc(e), c = BigInt(a.days);
|
5373
5373
|
if (t.hideYearAndDays ? o(BigInt(c) * 24n + BigInt(a.hours), "hour", "h") : (t.hideYear ? o(c, "day", "d") : (o(c / 365n, "year", "y"), o(c % 365n, "day", "d")), o(Number(a.hours), "hour", "h")), o(Number(a.minutes), "minute", "m"), !t.hideSeconds)
|
5374
5374
|
if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3) {
|
5375
5375
|
const u = Number(a.seconds), l = Number(a.milliseconds), f = Number(a.microseconds), h = Number(a.nanoseconds);
|
@@ -5385,7 +5385,7 @@ function wc(e, t) {
|
|
5385
5385
|
);
|
5386
5386
|
}
|
5387
5387
|
} else {
|
5388
|
-
const u = (r ? Number(e %
|
5388
|
+
const u = (r ? Number(e % wc) : e) / 1e3 % 60, l = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, f = i(u, l), h = t.keepDecimalsOnWholeSeconds ? f : f.replace(/\.0+$/, "");
|
5389
5389
|
o(Number.parseFloat(h), "second", "s", h);
|
5390
5390
|
}
|
5391
5391
|
if (s.length === 0)
|
@@ -5401,17 +5401,17 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
|
|
5401
5401
|
min: s,
|
5402
5402
|
sec: i
|
5403
5403
|
};
|
5404
|
-
},
|
5404
|
+
}, Ec = (e) => {
|
5405
5405
|
if (!e && e !== 0)
|
5406
5406
|
return "N/A";
|
5407
5407
|
const t = Ir(e, !1);
|
5408
5408
|
return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
|
5409
|
-
},
|
5409
|
+
}, Sc = (e) => {
|
5410
5410
|
if (!e && e !== 0)
|
5411
5411
|
return "N/A";
|
5412
5412
|
const t = Ir(e, !0);
|
5413
5413
|
return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
|
5414
|
-
},
|
5414
|
+
}, Tc = async () => {
|
5415
5415
|
const e = {
|
5416
5416
|
/**
|
5417
5417
|
* A boolean value that indicates the application would
|
@@ -5459,18 +5459,18 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
|
|
5459
5459
|
e
|
5460
5460
|
);
|
5461
5461
|
});
|
5462
|
-
},
|
5462
|
+
}, Ac = (e) => window.btoa(
|
5463
5463
|
encodeURIComponent(e).replace(
|
5464
5464
|
/%([0-9A-F]{2})/g,
|
5465
5465
|
function(r, n) {
|
5466
5466
|
return String.fromCharCode(+`0x${n}`);
|
5467
5467
|
}
|
5468
5468
|
)
|
5469
|
-
),
|
5469
|
+
), Ic = (e) => decodeURIComponent(
|
5470
5470
|
window.atob(e).split("").map(function(t) {
|
5471
5471
|
return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
|
5472
5472
|
}).join("")
|
5473
|
-
),
|
5473
|
+
), kc = (e, t, r) => t ? Object.keys(t).map((n) => /* @__PURE__ */ y("dl", { className: "my-0", children: /* @__PURE__ */ X("div", { className: "flex items-center justify-between", children: [
|
5474
5474
|
/* @__PURE__ */ y(
|
5475
5475
|
"dt",
|
5476
5476
|
{
|
@@ -5492,7 +5492,7 @@ const ws = process.env.NODE_ENV === "production", Ar = !ws, vs = Ar ? "gizmette.
|
|
5492
5492
|
}
|
5493
5493
|
)
|
5494
5494
|
] }) }, `${e}-${n}`)) : null;
|
5495
|
-
function
|
5495
|
+
function Oc({
|
5496
5496
|
data: e,
|
5497
5497
|
formatter: t = (r) => r
|
5498
5498
|
}) {
|
@@ -5504,12 +5504,12 @@ function kc({
|
|
5504
5504
|
);
|
5505
5505
|
return t(n ? n / r.length : 0);
|
5506
5506
|
}
|
5507
|
-
const
|
5507
|
+
const Rc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, _c = new Intl.NumberFormat("en", {
|
5508
5508
|
style: "decimal",
|
5509
5509
|
signDisplay: "never",
|
5510
5510
|
minimumFractionDigits: 0,
|
5511
5511
|
maximumFractionDigits: 0
|
5512
|
-
}),
|
5512
|
+
}), Cc = (e) => e > 0 ? vc(e, {
|
5513
5513
|
secondsDecimalDigits: 2,
|
5514
5514
|
unitCount: 2
|
5515
5515
|
}) : "N/A", Es = ({
|
@@ -5523,18 +5523,18 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5523
5523
|
t
|
5524
5524
|
), Ss = ({
|
5525
5525
|
extraClass: e
|
5526
|
-
} = {}) => g("px-2 sm:px-0", e),
|
5526
|
+
} = {}) => g("px-2 sm:px-0", e), Nc = (e, t) => t === 1 ? e : `${e}s`, Pc = (e, t) => {
|
5527
5527
|
let r;
|
5528
5528
|
return (...n) => {
|
5529
5529
|
window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
|
5530
5530
|
};
|
5531
|
-
}, Ts = () => !!window?.__VERSINI_CALLISTO_TAURI__, As = () => window.innerWidth < 403,
|
5531
|
+
}, Ts = () => !!window?.__VERSINI_CALLISTO_TAURI__, As = () => window.innerWidth < 403, xc = () => {
|
5532
5532
|
const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = As(), n = navigator.maxTouchPoints > 1;
|
5533
5533
|
return e && t && r && n;
|
5534
|
-
},
|
5534
|
+
}, $c = (e) => {
|
5535
5535
|
const t = e.replace(/([A-Z])/g, " $1");
|
5536
5536
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
5537
|
-
},
|
5537
|
+
}, Dc = ({
|
5538
5538
|
autoClose: e = 3e3,
|
5539
5539
|
containerId: t,
|
5540
5540
|
position: r = "top-center",
|
@@ -5558,7 +5558,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5558
5558
|
theme: c,
|
5559
5559
|
transition: d,
|
5560
5560
|
icon: u
|
5561
|
-
}),
|
5561
|
+
}), hd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: vs, convertCamelCaseToReadable: $c, convertDDToDMS: Ir, convertLatitudeToDMS: Ec, convertLongitudeToDMS: Sc, debounce: Pc, durationFormatter: Cc, extractAverage: Oc, getCurrentGeoLocation: Tc, getMainPaddingClass: Ss, getMessageContaintWrapperClass: Es, isDev: Ar, isLastMessageFromRole: Rc, isProbablyMobile: As, isProbablyiPhone: xc, isProd: ws, isTauri: Ts, numberFormatter: _c, obfuscate: Ac, pluralize: Nc, renderDataAsList: kc, toastOptions: Dc, unObfuscate: Ic }, Symbol.toStringTag, { value: "Module" })), rn = "av-button", Mt = "icon", kr = "button", mr = "link", Mc = ({
|
5562
5562
|
type: e,
|
5563
5563
|
size: t,
|
5564
5564
|
labelRight: r,
|
@@ -5594,7 +5594,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5594
5594
|
"h-12": t === "large" && i && (r || n)
|
5595
5595
|
});
|
5596
5596
|
}
|
5597
|
-
},
|
5597
|
+
}, Lc = ({
|
5598
5598
|
type: e,
|
5599
5599
|
size: t,
|
5600
5600
|
labelRight: r,
|
@@ -5617,7 +5617,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5617
5617
|
[o]: t === "large" && (r || n)
|
5618
5618
|
});
|
5619
5619
|
}
|
5620
|
-
},
|
5620
|
+
}, Uc = ({
|
5621
5621
|
mode: e,
|
5622
5622
|
noBackground: t,
|
5623
5623
|
truncate: r,
|
@@ -5653,7 +5653,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5653
5653
|
return g("not-prose text-copy-lighter", {
|
5654
5654
|
truncate: r
|
5655
5655
|
});
|
5656
|
-
},
|
5656
|
+
}, Fc = ({
|
5657
5657
|
mode: e,
|
5658
5658
|
noBackground: t,
|
5659
5659
|
variant: r
|
@@ -5683,13 +5683,13 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5683
5683
|
if (r === "selected")
|
5684
5684
|
return "bg-action-selected-dark";
|
5685
5685
|
}
|
5686
|
-
},
|
5686
|
+
}, Kc = ({
|
5687
5687
|
radius: e
|
5688
5688
|
}) => g({
|
5689
5689
|
"rounded-full": e === "large",
|
5690
5690
|
"rounded-md": e === "medium",
|
5691
5691
|
"rounded-xs": e === "small"
|
5692
|
-
}),
|
5692
|
+
}), Hc = ({
|
5693
5693
|
mode: e,
|
5694
5694
|
disabled: t,
|
5695
5695
|
variant: r
|
@@ -5727,7 +5727,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5727
5727
|
});
|
5728
5728
|
if (r === "selected")
|
5729
5729
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
5730
|
-
},
|
5730
|
+
}, Bc = ({
|
5731
5731
|
mode: e,
|
5732
5732
|
disabled: t,
|
5733
5733
|
variant: r
|
@@ -5765,7 +5765,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5765
5765
|
});
|
5766
5766
|
if (r === "selected")
|
5767
5767
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
5768
|
-
},
|
5768
|
+
}, Vc = ({
|
5769
5769
|
mode: e,
|
5770
5770
|
noBorder: t,
|
5771
5771
|
variant: r
|
@@ -5795,14 +5795,14 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5795
5795
|
});
|
5796
5796
|
if (r === "selected")
|
5797
5797
|
return "border border-border-selected-dark";
|
5798
|
-
},
|
5798
|
+
}, jc = ({
|
5799
5799
|
focusMode: e
|
5800
5800
|
}) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
5801
5801
|
"focus:outline-focus-dark": e === "dark",
|
5802
5802
|
"focus:outline-focus-light": e === "light",
|
5803
5803
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
5804
5804
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
5805
|
-
}),
|
5805
|
+
}), Wc = ({
|
5806
5806
|
mode: e,
|
5807
5807
|
raw: t,
|
5808
5808
|
iconClassName: r,
|
@@ -5829,7 +5829,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5829
5829
|
} : n === "selected" && (s = {
|
5830
5830
|
"text-copy-lighter": !0
|
5831
5831
|
}), g(s, r);
|
5832
|
-
},
|
5832
|
+
}, Gc = ({
|
5833
5833
|
animated: e
|
5834
5834
|
}) => g({
|
5835
5835
|
"transition-opacity duration-300 ease-in-out": e
|
@@ -5853,15 +5853,15 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5853
5853
|
animated: b
|
5854
5854
|
}) => (f || (f = "primary"), r ? g(rn, t) : g(
|
5855
5855
|
rn,
|
5856
|
-
|
5856
|
+
Uc({
|
5857
5857
|
mode: n,
|
5858
5858
|
variant: f,
|
5859
5859
|
noBackground: l,
|
5860
5860
|
truncate: h
|
5861
5861
|
}),
|
5862
|
-
|
5863
|
-
|
5864
|
-
|
5862
|
+
Fc({ mode: n, noBackground: l, variant: f }),
|
5863
|
+
Kc({ radius: p }),
|
5864
|
+
Mc({
|
5865
5865
|
type: e,
|
5866
5866
|
size: a,
|
5867
5867
|
labelRight: d,
|
@@ -5869,11 +5869,11 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5869
5869
|
align: m,
|
5870
5870
|
animated: b
|
5871
5871
|
}),
|
5872
|
-
|
5873
|
-
|
5874
|
-
|
5875
|
-
Kc({ mode: n, variant: f, disabled: i }),
|
5872
|
+
Lc({ type: e, size: a, labelRight: d, labelLeft: u }),
|
5873
|
+
Vc({ mode: n, variant: f, noBorder: c }),
|
5874
|
+
jc({ focusMode: s }),
|
5876
5875
|
Hc({ mode: n, variant: f, disabled: i }),
|
5876
|
+
Bc({ mode: n, variant: f, disabled: i }),
|
5877
5877
|
{
|
5878
5878
|
"w-full": o,
|
5879
5879
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
@@ -5882,7 +5882,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5882
5882
|
"transition-[width] duration-300 ease-in": e === Mt && b
|
5883
5883
|
}),
|
5884
5884
|
t
|
5885
|
-
)),
|
5885
|
+
)), qc = (e, t, r) => {
|
5886
5886
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
5887
5887
|
}, Or = fe.forwardRef((e, t) => {
|
5888
5888
|
const { onClick: r, noInternalClick: n = !1, ...s } = e;
|
@@ -5891,7 +5891,7 @@ const Oc = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
5891
5891
|
{
|
5892
5892
|
ref: t,
|
5893
5893
|
onClick: (i) => {
|
5894
|
-
|
5894
|
+
qc(i, n, r);
|
5895
5895
|
},
|
5896
5896
|
...s
|
5897
5897
|
}
|
@@ -5941,13 +5941,13 @@ const ks = fe.forwardRef(
|
|
5941
5941
|
}
|
5942
5942
|
);
|
5943
5943
|
ks.displayName = "Button";
|
5944
|
-
function
|
5944
|
+
function Jc() {
|
5945
5945
|
const e = W(!1);
|
5946
5946
|
return Z(() => (e.current = !0, () => {
|
5947
5947
|
e.current = !1;
|
5948
5948
|
}), []), ue(() => e.current, []);
|
5949
5949
|
}
|
5950
|
-
function
|
5950
|
+
function zc(e) {
|
5951
5951
|
return Rt(() => e.every((t) => t == null) ? () => {
|
5952
5952
|
} : (t) => {
|
5953
5953
|
e.forEach((r) => {
|
@@ -5955,7 +5955,7 @@ function Jc(e) {
|
|
5955
5955
|
});
|
5956
5956
|
}, [...e]);
|
5957
5957
|
}
|
5958
|
-
const
|
5958
|
+
const Qc = {
|
5959
5959
|
x: 0,
|
5960
5960
|
y: 0,
|
5961
5961
|
width: 0,
|
@@ -5966,7 +5966,7 @@ const zc = {
|
|
5966
5966
|
right: 0
|
5967
5967
|
};
|
5968
5968
|
function Qt(e) {
|
5969
|
-
const t =
|
5969
|
+
const t = Jc(), r = W(0), n = W(null), [s, i] = le(Qc), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
|
5970
5970
|
const c = a[0];
|
5971
5971
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
5972
5972
|
n.current && t() && i(c.contentRect);
|
@@ -5983,14 +5983,14 @@ const ut = {
|
|
5983
5983
|
// w-8
|
5984
5984
|
large: 48
|
5985
5985
|
// w-12
|
5986
|
-
},
|
5986
|
+
}, Yc = {
|
5987
5987
|
small: 16,
|
5988
5988
|
// px-2 x 2
|
5989
5989
|
medium: 24,
|
5990
5990
|
// px-3 x 2
|
5991
5991
|
large: 32
|
5992
5992
|
// px-4 x 2
|
5993
|
-
},
|
5993
|
+
}, Xc = 2, Zc = 300, kt = fe.forwardRef(
|
5994
5994
|
({
|
5995
5995
|
children: e,
|
5996
5996
|
disabled: t = !1,
|
@@ -6031,15 +6031,15 @@ const ut = {
|
|
6031
6031
|
radius: b,
|
6032
6032
|
variant: w,
|
6033
6033
|
animated: S
|
6034
|
-
}), z =
|
6034
|
+
}), z = Wc({ mode: r, raw: a, iconClassName: k, variant: w }), L = Gc({ animated: S }), R = "flex items-center justify-center relative w-full h-full overflow-hidden", [v, N] = Qt(), [E, U] = Qt(), [me, Ae] = Qt(), T = W(0), P = W(null), A = W(null), ye = zc([_, P]);
|
6035
6035
|
return gt(() => {
|
6036
|
-
me && me.current && S && (T.current = Ae.width +
|
6036
|
+
me && me.current && S && (T.current = Ae.width + Yc[l] + (c ? 0 : Xc), P.current && !P.current.style.width && (P.current.style.width = `${ut[l]}px`));
|
6037
6037
|
}, [Ae, me, l, c, S]), gt(() => {
|
6038
6038
|
if (P && P.current && S) {
|
6039
6039
|
let pe = ut[l];
|
6040
6040
|
f && v && N.width > 0 ? pe = N.width + T.current : h && E && U.width > 0 && (pe = U.width + T.current), A.current && clearTimeout(A.current), pe !== parseInt(P.current.style.width || "0", 10) && (v.current && (v.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"), P.current.style.width = `${pe}px`, pe > ut[l] && (A.current = setTimeout(() => {
|
6041
6041
|
v.current && f && (v.current.style.opacity = "1"), E.current && h && (E.current.style.opacity = "1"), A.current = null;
|
6042
|
-
},
|
6042
|
+
}, Zc * 0.8))), pe === ut[l] && (v.current && (v.current.style.opacity = "0"), E.current && (E.current.style.opacity = "0"));
|
6043
6043
|
}
|
6044
6044
|
}, [
|
6045
6045
|
N,
|
@@ -6116,7 +6116,7 @@ try {
|
|
6116
6116
|
});
|
6117
6117
|
} catch {
|
6118
6118
|
}
|
6119
|
-
const
|
6119
|
+
const el = fe.forwardRef(
|
6120
6120
|
({
|
6121
6121
|
children: e,
|
6122
6122
|
mode: t = "system",
|
@@ -6156,13 +6156,13 @@ const Zc = fe.forwardRef(
|
|
6156
6156
|
) });
|
6157
6157
|
}
|
6158
6158
|
);
|
6159
|
-
|
6159
|
+
el.displayName = "ButtonSort";
|
6160
6160
|
const pt = "av-card";
|
6161
|
-
function
|
6161
|
+
function tl(e) {
|
6162
6162
|
const t = un();
|
6163
6163
|
return `${e}${t}`;
|
6164
6164
|
}
|
6165
|
-
const
|
6165
|
+
const rl = ({
|
6166
6166
|
className: e,
|
6167
6167
|
headerClassName: t,
|
6168
6168
|
bodyClassName: r,
|
@@ -6202,7 +6202,7 @@ const tl = ({
|
|
6202
6202
|
footer: u
|
6203
6203
|
};
|
6204
6204
|
};
|
6205
|
-
function
|
6205
|
+
function nl({
|
6206
6206
|
id: e,
|
6207
6207
|
content: t,
|
6208
6208
|
userAriaLabelledby: r,
|
@@ -6210,7 +6210,7 @@ function rl({
|
|
6210
6210
|
}) {
|
6211
6211
|
return typeof t == "string" ? /* @__PURE__ */ y("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ y("div", { className: n, children: t }) : t ? /* @__PURE__ */ y("div", { className: n, id: e, children: t }) : null;
|
6212
6212
|
}
|
6213
|
-
const
|
6213
|
+
const sl = ({
|
6214
6214
|
header: e,
|
6215
6215
|
headerClassName: t,
|
6216
6216
|
footer: r,
|
@@ -6225,7 +6225,7 @@ const nl = ({
|
|
6225
6225
|
...l
|
6226
6226
|
}) => {
|
6227
6227
|
let f = null, h = null;
|
6228
|
-
const m = typeof e == "string", p =
|
6228
|
+
const m = typeof e == "string", p = tl(pt), b = rl({
|
6229
6229
|
className: i,
|
6230
6230
|
headerClassName: t,
|
6231
6231
|
bodyClassName: o,
|
@@ -6244,7 +6244,7 @@ const nl = ({
|
|
6244
6244
|
...l,
|
6245
6245
|
children: [
|
6246
6246
|
/* @__PURE__ */ y(
|
6247
|
-
|
6247
|
+
nl,
|
6248
6248
|
{
|
6249
6249
|
...f && { id: f },
|
6250
6250
|
content: e,
|
@@ -6314,7 +6314,7 @@ try {
|
|
6314
6314
|
});
|
6315
6315
|
} catch {
|
6316
6316
|
}
|
6317
|
-
const
|
6317
|
+
const il = ({
|
6318
6318
|
className: e,
|
6319
6319
|
viewBox: t,
|
6320
6320
|
title: r,
|
@@ -6331,7 +6331,7 @@ const sl = ({
|
|
6331
6331
|
...s,
|
6332
6332
|
children: /* @__PURE__ */ y("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
|
6333
6333
|
}
|
6334
|
-
),
|
6334
|
+
), al = ({
|
6335
6335
|
className: e,
|
6336
6336
|
viewBox: t,
|
6337
6337
|
title: r,
|
@@ -6357,7 +6357,7 @@ const sl = ({
|
|
6357
6357
|
/* @__PURE__ */ y("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
|
6358
6358
|
]
|
6359
6359
|
}
|
6360
|
-
),
|
6360
|
+
), ol = ({
|
6361
6361
|
className: e,
|
6362
6362
|
viewBox: t,
|
6363
6363
|
title: r,
|
@@ -6393,7 +6393,7 @@ const sl = ({
|
|
6393
6393
|
]
|
6394
6394
|
}
|
6395
6395
|
);
|
6396
|
-
},
|
6396
|
+
}, cl = ({
|
6397
6397
|
className: e,
|
6398
6398
|
viewBox: t,
|
6399
6399
|
title: r,
|
@@ -6433,7 +6433,7 @@ try {
|
|
6433
6433
|
});
|
6434
6434
|
} catch {
|
6435
6435
|
}
|
6436
|
-
const
|
6436
|
+
const ll = "av-main", ul = ({
|
6437
6437
|
children: e,
|
6438
6438
|
className: t,
|
6439
6439
|
raw: r = !1,
|
@@ -6442,7 +6442,7 @@ const cl = "av-main", ll = ({
|
|
6442
6442
|
...i
|
6443
6443
|
}) => {
|
6444
6444
|
const o = g(
|
6445
|
-
|
6445
|
+
ll,
|
6446
6446
|
{
|
6447
6447
|
"mt-2 sm:mt-3": !r && !n,
|
6448
6448
|
"p-2": !r && !s,
|
@@ -6465,10 +6465,10 @@ try {
|
|
6465
6465
|
});
|
6466
6466
|
} catch {
|
6467
6467
|
}
|
6468
|
-
const
|
6468
|
+
const dl = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createContext({
|
6469
6469
|
columnGap: 0,
|
6470
6470
|
rowGap: 0
|
6471
|
-
}),
|
6471
|
+
}), fl = ({
|
6472
6472
|
children: e,
|
6473
6473
|
className: t,
|
6474
6474
|
columnGap: r = 1,
|
@@ -6494,7 +6494,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
|
|
6494
6494
|
marginLeft: r * -1 * Ot + "rem",
|
6495
6495
|
marginTop: n * -1 * Ot + "rem"
|
6496
6496
|
}, l = g(
|
6497
|
-
|
6497
|
+
dl,
|
6498
6498
|
"box-border flex flex-wrap"
|
6499
6499
|
), f = { columnGap: r, rowGap: n };
|
6500
6500
|
return t ? /* @__PURE__ */ y("div", { className: t, children: /* @__PURE__ */ y("div", { className: l, style: u, ...d, children: /* @__PURE__ */ y(yr.Provider, { value: f, children: e }) }) }) : /* @__PURE__ */ y("div", { className: l, style: u, ...d, children: /* @__PURE__ */ y(yr.Provider, { value: f, children: e }) });
|
@@ -6571,7 +6571,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
|
|
6571
6571
|
"lg:basis-full": e === 12 && t === "lg",
|
6572
6572
|
"xl:basis-full": e === 12 && t === "xl",
|
6573
6573
|
"2xl:basis-full": e === 12 && t === "2xl"
|
6574
|
-
}),
|
6574
|
+
}), hl = ({
|
6575
6575
|
className: e,
|
6576
6576
|
span: t
|
6577
6577
|
}) => {
|
@@ -6603,7 +6603,7 @@ const ul = "av-flexgrid", dt = "av-flexgrid-item", Ot = 0.25, yr = fe.createCont
|
|
6603
6603
|
const { columnGap: s, rowGap: i } = gr(yr), o = {
|
6604
6604
|
paddingLeft: s * Ot + "rem",
|
6605
6605
|
paddingTop: i * Ot + "rem"
|
6606
|
-
}, a =
|
6606
|
+
}, a = hl({
|
6607
6607
|
className: t,
|
6608
6608
|
span: r
|
6609
6609
|
});
|
@@ -6622,14 +6622,14 @@ try {
|
|
6622
6622
|
});
|
6623
6623
|
} catch {
|
6624
6624
|
}
|
6625
|
-
const Os = "av-text-input",
|
6626
|
-
function
|
6625
|
+
const Os = "av-text-input", ml = "av-text-input-wrapper", Xt = "av-text-input-helper-text";
|
6626
|
+
function yl() {
|
6627
6627
|
const e = W(!1);
|
6628
6628
|
return Z(() => (e.current = !0, () => {
|
6629
6629
|
e.current = !1;
|
6630
6630
|
}), []), ue(() => e.current, []);
|
6631
6631
|
}
|
6632
|
-
const
|
6632
|
+
const pl = {
|
6633
6633
|
x: 0,
|
6634
6634
|
y: 0,
|
6635
6635
|
width: 0,
|
@@ -6639,8 +6639,8 @@ const yl = {
|
|
6639
6639
|
bottom: 0,
|
6640
6640
|
right: 0
|
6641
6641
|
};
|
6642
|
-
function
|
6643
|
-
const t =
|
6642
|
+
function gl(e) {
|
6643
|
+
const t = yl(), r = W(0), n = W(null), [s, i] = le(pl), o = Rt(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((a) => {
|
6644
6644
|
const c = a[0];
|
6645
6645
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
6646
6646
|
n.current && t() && i(c.contentRect);
|
@@ -6650,7 +6650,7 @@ function pl(e) {
|
|
6650
6650
|
o?.disconnect(), r.current && cancelAnimationFrame(r.current);
|
6651
6651
|
}), [o, e]), [n, s];
|
6652
6652
|
}
|
6653
|
-
function
|
6653
|
+
function bl(e) {
|
6654
6654
|
const t = un();
|
6655
6655
|
if (!e)
|
6656
6656
|
return t;
|
@@ -6661,7 +6661,7 @@ function gl(e) {
|
|
6661
6661
|
return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
|
6662
6662
|
}
|
6663
6663
|
}
|
6664
|
-
const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT",
|
6664
|
+
const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", wl = {
|
6665
6665
|
alert: null,
|
6666
6666
|
alertdialog: null,
|
6667
6667
|
log: "polite",
|
@@ -6669,7 +6669,7 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
|
|
6669
6669
|
progressbar: null,
|
6670
6670
|
status: "polite",
|
6671
6671
|
timer: "assertive"
|
6672
|
-
},
|
6672
|
+
}, vl = (e, t) => {
|
6673
6673
|
switch (t?.type) {
|
6674
6674
|
case Rs:
|
6675
6675
|
return {
|
@@ -6684,7 +6684,7 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
|
|
6684
6684
|
default:
|
6685
6685
|
return e;
|
6686
6686
|
}
|
6687
|
-
},
|
6687
|
+
}, El = ({
|
6688
6688
|
onAnnouncementClear: e,
|
6689
6689
|
dispatch: t
|
6690
6690
|
}) => {
|
@@ -6702,13 +6702,13 @@ const Rs = "SET_ANNOUNCEMENT", _s = "CLEAR_ANNOUNCEMENT", bl = {
|
|
6702
6702
|
type: Rs,
|
6703
6703
|
payload: e
|
6704
6704
|
}), t && (r.current = setTimeout(
|
6705
|
-
() =>
|
6705
|
+
() => El({
|
6706
6706
|
onAnnouncementClear: n,
|
6707
6707
|
dispatch: s
|
6708
6708
|
}),
|
6709
6709
|
t
|
6710
6710
|
));
|
6711
|
-
},
|
6711
|
+
}, Sl = ({
|
6712
6712
|
children: e,
|
6713
6713
|
announcementTimeoutRef: t,
|
6714
6714
|
announcementDelay: r,
|
@@ -6742,12 +6742,12 @@ function Cs({
|
|
6742
6742
|
visible: a,
|
6743
6743
|
...c
|
6744
6744
|
}) {
|
6745
|
-
const d = W(null), u = W(null), [l, f] = ln(
|
6745
|
+
const d = W(null), u = W(null), [l, f] = ln(vl, {
|
6746
6746
|
announcement: null
|
6747
6747
|
});
|
6748
6748
|
let h = r;
|
6749
|
-
typeof h > "u" && (h = n ?
|
6750
|
-
|
6749
|
+
typeof h > "u" && (h = n ? wl[n] : "assertive"), Z(() => {
|
6750
|
+
Sl({
|
6751
6751
|
announcementTimeoutRef: d,
|
6752
6752
|
announcementDelay: s,
|
6753
6753
|
children: e,
|
@@ -6789,21 +6789,21 @@ try {
|
|
6789
6789
|
});
|
6790
6790
|
} catch {
|
6791
6791
|
}
|
6792
|
-
const
|
6792
|
+
const Tl = ({
|
6793
6793
|
mode: e
|
6794
6794
|
}) => g({
|
6795
6795
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
6796
6796
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
6797
6797
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
6798
6798
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
6799
|
-
}),
|
6799
|
+
}), Al = ({
|
6800
6800
|
focusMode: e
|
6801
6801
|
}) => g("focus:outline focus:outline-2 focus:outline-offset-2", {
|
6802
6802
|
"focus:outline-focus-dark": e === "dark",
|
6803
6803
|
"focus:outline-focus-light": e === "light",
|
6804
6804
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
6805
6805
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
6806
|
-
}),
|
6806
|
+
}), Il = ({
|
6807
6807
|
noBorder: e,
|
6808
6808
|
error: t
|
6809
6809
|
}) => g("border-2", {
|
@@ -6811,7 +6811,7 @@ const Sl = ({
|
|
6811
6811
|
"focus:border-border-dark": !e && t,
|
6812
6812
|
"border-border-error-dark": !e && t,
|
6813
6813
|
"border-transparent": e
|
6814
|
-
}),
|
6814
|
+
}), kl = ({
|
6815
6815
|
disabled: e,
|
6816
6816
|
raw: t,
|
6817
6817
|
error: r,
|
@@ -6835,7 +6835,7 @@ const Sl = ({
|
|
6835
6835
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
|
6836
6836
|
"text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
|
6837
6837
|
});
|
6838
|
-
},
|
6838
|
+
}, Ol = ({
|
6839
6839
|
error: e,
|
6840
6840
|
raw: t,
|
6841
6841
|
mode: r,
|
@@ -6862,7 +6862,7 @@ const Sl = ({
|
|
6862
6862
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
6863
6863
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
|
6864
6864
|
});
|
6865
|
-
},
|
6865
|
+
}, Rl = ({
|
6866
6866
|
className: e,
|
6867
6867
|
inputClassName: t,
|
6868
6868
|
raw: r,
|
@@ -6876,7 +6876,7 @@ const Sl = ({
|
|
6876
6876
|
}) => {
|
6877
6877
|
const u = r ? e : g(
|
6878
6878
|
"relative flex w-full flex-col justify-center",
|
6879
|
-
|
6879
|
+
ml,
|
6880
6880
|
e
|
6881
6881
|
);
|
6882
6882
|
let l = "";
|
@@ -6901,19 +6901,19 @@ const Sl = ({
|
|
6901
6901
|
Os,
|
6902
6902
|
l,
|
6903
6903
|
"rounded-md text-base px-4",
|
6904
|
-
|
6905
|
-
|
6906
|
-
|
6904
|
+
Tl({ mode: o }),
|
6905
|
+
Al({ focusMode: a }),
|
6906
|
+
Il({ noBorder: s, error: i }),
|
6907
6907
|
{
|
6908
6908
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
6909
6909
|
},
|
6910
6910
|
t
|
6911
|
-
), h = r ? void 0 : "sr-only", m =
|
6911
|
+
), h = r ? void 0 : "sr-only", m = kl({
|
6912
6912
|
disabled: n,
|
6913
6913
|
raw: r,
|
6914
6914
|
error: i,
|
6915
6915
|
mode: o
|
6916
|
-
}), p =
|
6916
|
+
}), p = Ol({
|
6917
6917
|
error: i,
|
6918
6918
|
raw: r,
|
6919
6919
|
mode: o,
|
@@ -6949,13 +6949,13 @@ const Sl = ({
|
|
6949
6949
|
size: w = "md",
|
6950
6950
|
...k
|
6951
6951
|
}, S) => {
|
6952
|
-
const [O, _] =
|
6952
|
+
const [O, _] = gl(), [q, z] = le(0), L = bl({ id: e, prefix: `${Os}-` }), R = `${t} error, ${m}`, v = W(null), N = W(null), E = {
|
6953
6953
|
xs: { label: "-25px", helperText: "30px" },
|
6954
6954
|
sm: { label: "-29px", helperText: "34px" },
|
6955
6955
|
md: { label: "-33px", helperText: "38px" },
|
6956
6956
|
lg: { label: "-15px", helperText: "22px" },
|
6957
6957
|
xl: { label: "-19px", helperText: "25px" }
|
6958
|
-
}, U =
|
6958
|
+
}, U = Rl({
|
6959
6959
|
className: i,
|
6960
6960
|
inputClassName: o,
|
6961
6961
|
error: n,
|
@@ -7033,7 +7033,7 @@ const Sl = ({
|
|
7033
7033
|
}
|
7034
7034
|
);
|
7035
7035
|
Rr.displayName = "TextInput";
|
7036
|
-
function
|
7036
|
+
function _l(e) {
|
7037
7037
|
return Rt(() => e.every((t) => t == null) ? () => {
|
7038
7038
|
} : (t) => {
|
7039
7039
|
e.forEach((r) => {
|
@@ -7041,7 +7041,7 @@ function Rl(e) {
|
|
7041
7041
|
});
|
7042
7042
|
}, [...e]);
|
7043
7043
|
}
|
7044
|
-
const
|
7044
|
+
const Cl = 500, Nl = 5e3, Pl = 2e4, Ns = fe.forwardRef(
|
7045
7045
|
({
|
7046
7046
|
name: e,
|
7047
7047
|
disabled: t,
|
@@ -7058,19 +7058,19 @@ const _l = 500, Cl = 5e3, Nl = 2e4, Ns = fe.forwardRef(
|
|
7058
7058
|
const [f, h] = le(!0), [m, p] = le({
|
7059
7059
|
message: null,
|
7060
7060
|
politeness: null
|
7061
|
-
}), b = W(!0), w = W(null), k = W(null), S =
|
7061
|
+
}), b = W(!0), w = W(null), k = W(null), S = _l([l, k]), O = f ? "Show" : "Hide", _ = () => {
|
7062
7062
|
w.current && clearTimeout(w.current), b.current || (w.current = setTimeout(() => {
|
7063
7063
|
b.current = !0, h(!0), p({
|
7064
|
-
announcementTimeout:
|
7064
|
+
announcementTimeout: Nl,
|
7065
7065
|
politeness: "polite",
|
7066
7066
|
message: `${r} hiding characters`
|
7067
7067
|
}), s && s(!0);
|
7068
|
-
},
|
7068
|
+
}, Pl));
|
7069
7069
|
}, q = (N) => {
|
7070
7070
|
N.preventDefault();
|
7071
7071
|
const E = !b.current;
|
7072
7072
|
b.current = E, _(), h(E), p({
|
7073
|
-
announcementTimeout:
|
7073
|
+
announcementTimeout: Cl,
|
7074
7074
|
politeness: "assertive",
|
7075
7075
|
message: E ? "Characters hidden" : "Characters showing"
|
7076
7076
|
}), s && s(E);
|
@@ -7135,9 +7135,30 @@ try {
|
|
7135
7135
|
});
|
7136
7136
|
} catch {
|
7137
7137
|
}
|
7138
|
-
const
|
7139
|
-
|
7140
|
-
|
7138
|
+
const md = "user", yd = "assistant", pd = "data", Ps = "OpenAI", xl = "Anthropic", $l = "Google", Dl = "Perplexity", gd = Ps, Ml = "claude-sonnet-4", Ll = "claude-3", Ul = "gpt-4", Fl = "o3", Kl = "o4", Hl = "gemini", Bl = "sonar", Vl = {
|
7139
|
+
[xl]: [
|
7140
|
+
Ml,
|
7141
|
+
Ll
|
7142
|
+
],
|
7143
|
+
[Ps]: [
|
7144
|
+
Ul,
|
7145
|
+
Fl,
|
7146
|
+
Kl
|
7147
|
+
],
|
7148
|
+
[$l]: [Hl],
|
7149
|
+
[Dl]: [Bl]
|
7150
|
+
}, jl = "sassy:advanced:reasoning", bd = {
|
7151
|
+
REASONING: jl
|
7152
|
+
}, wd = "x-callisto-chat-id", vd = (e) => {
|
7153
|
+
for (const [t, r] of Object.entries(
|
7154
|
+
Vl
|
7155
|
+
))
|
7156
|
+
if (r.some((n) => e.startsWith(n)))
|
7157
|
+
return t;
|
7158
|
+
return null;
|
7159
|
+
}, Ed = "timestamp", Sd = "tokenUsage", D = "Callisto", Wl = "ASK! ME! ANYTHING!", Gl = "Log in", ql = "Sign in with a Passkey", Td = "Log out", Jl = "Password", Ad = "Usage", Id = "Profile", kd = "Settings", Od = "Chat history", Rd = "About", _r = "Type your message here.", _d = _r, Cd = `${_r}
|
7160
|
+
Press Enter to send it or Shift+Enter for new line.`, Nd = `${_r}
|
7161
|
+
Press Ctrl+Enter to send it or Enter for new line.`, Pd = "{{clipboard}}", M = "Review important details.", xd = [
|
7141
7162
|
`Sometimes, ${D} just makes stuff up. ${M}`,
|
7142
7163
|
`${D} may invent facts on the fly. ${M}`,
|
7143
7164
|
`${D} may be confidently wrong. ${M}`,
|
@@ -7158,17 +7179,17 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7158
7179
|
`Sometimes, ${D} howls at the moon. ${M}`,
|
7159
7180
|
`${D} may dig up imaginary bones. ${M}`,
|
7160
7181
|
`${D} may sniff out nonsense. ${M}`
|
7161
|
-
],
|
7182
|
+
], $d = "Prompts are pre-filled menus available on the main screen, to help you quickly start requests. If you select the 'Private Chat' checkbox, the corresponding chat will not be saved. If you select the 'Clipboard Access' checkbox, your clipboard content (if any) will be provided to the request.", Dd = "Default provider set to", Md = "Chat successfully deleted!", Ld = "Chat successfully saved!", Ud = "av-sassy", Fd = {
|
7162
7183
|
0: ["January", "February", "March"],
|
7163
7184
|
3: ["April", "May", "June"],
|
7164
7185
|
6: ["July", "August", "September"],
|
7165
7186
|
9: ["October", "November", "December"]
|
7166
|
-
},
|
7187
|
+
}, Kd = {
|
7167
7188
|
0: ["Jan", "Feb", "Mar"],
|
7168
7189
|
3: ["Apr", "May", "Jun"],
|
7169
7190
|
6: ["Jul", "Aug", "Sep"],
|
7170
7191
|
9: ["Oct", "Nov", "Dec"]
|
7171
|
-
},
|
7192
|
+
}, Hd = {
|
7172
7193
|
PREFERENCES: {
|
7173
7194
|
TITLE: "User profile",
|
7174
7195
|
NAME: "Name",
|
@@ -7208,7 +7229,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7208
7229
|
SEND_ON_ENTER: "The following option allows you to choose whether you want to send a message when you press Enter or if you want to use Ctrl+Enter (Cmd+Enter on Mac). If you choose to send a message on Enter, you will need use Shift+Enter to insert a new line.",
|
7209
7230
|
USE_MEMORY: "The following option allows you to choose whether you want to enable memory for your chats. When enabled, Callisto will remember your previous interactions and use them to provide more relevant responses."
|
7210
7231
|
}
|
7211
|
-
},
|
7232
|
+
}, zl = ({ className: e }) => /* @__PURE__ */ X(
|
7212
7233
|
"div",
|
7213
7234
|
{
|
7214
7235
|
className: g(
|
@@ -7216,14 +7237,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7216
7237
|
"flex items-center justify-center text-slate-300"
|
7217
7238
|
),
|
7218
7239
|
children: [
|
7219
|
-
/* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(
|
7240
|
+
/* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(il, {}) }),
|
7220
7241
|
/* @__PURE__ */ X("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
7221
7242
|
/* @__PURE__ */ y("h1", { children: D }),
|
7222
|
-
/* @__PURE__ */ y("h2", { children:
|
7243
|
+
/* @__PURE__ */ y("h2", { children: Wl })
|
7223
7244
|
] })
|
7224
7245
|
]
|
7225
7246
|
}
|
7226
|
-
),
|
7247
|
+
), Ql = () => {
|
7227
7248
|
const { login: e, logoutReason: t, loginWithPasskey: r } = ys(), [n, s] = le(""), [i, o] = le(""), [a, c] = le(!0), [d, u] = le({
|
7228
7249
|
username: "",
|
7229
7250
|
password: ""
|
@@ -7237,7 +7258,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7237
7258
|
}), Z(() => {
|
7238
7259
|
t && o(t);
|
7239
7260
|
}, [t]), /* @__PURE__ */ X(
|
7240
|
-
|
7261
|
+
ul,
|
7241
7262
|
{
|
7242
7263
|
className: Ss({
|
7243
7264
|
extraClass: "mt-5"
|
@@ -7251,10 +7272,10 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7251
7272
|
className: Es({
|
7252
7273
|
extraClass: "rounded-md"
|
7253
7274
|
}),
|
7254
|
-
children: /* @__PURE__ */ y(
|
7275
|
+
children: /* @__PURE__ */ y(zl, {})
|
7255
7276
|
}
|
7256
7277
|
),
|
7257
|
-
/* @__PURE__ */ y("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ y(
|
7278
|
+
/* @__PURE__ */ y("form", { className: "mt-5", onSubmit: l, children: /* @__PURE__ */ y(fl, { alignHorizontal: "center", children: /* @__PURE__ */ y(Ee, { span: 6, children: /* @__PURE__ */ X(sl, { mode: "dark", children: [
|
7258
7279
|
/* @__PURE__ */ y(Ee, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ y("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
|
7259
7280
|
/* @__PURE__ */ y(Ee, { span: 12, children: /* @__PURE__ */ y(
|
7260
7281
|
Rr,
|
@@ -7288,14 +7309,14 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7288
7309
|
mode: "dark",
|
7289
7310
|
focusMode: "light",
|
7290
7311
|
name: "password",
|
7291
|
-
label:
|
7312
|
+
label: Jl,
|
7292
7313
|
rightElement: /* @__PURE__ */ y(
|
7293
7314
|
kt,
|
7294
7315
|
{
|
7295
7316
|
focusMode: "light",
|
7296
7317
|
mode: "dark",
|
7297
7318
|
label: a ? "Show" : "Hide",
|
7298
|
-
children: a ? /* @__PURE__ */ y(
|
7319
|
+
children: a ? /* @__PURE__ */ y(cl, {}) : /* @__PURE__ */ y(al, {})
|
7299
7320
|
}
|
7300
7321
|
),
|
7301
7322
|
onMaskChange: c,
|
@@ -7318,7 +7339,7 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7318
7339
|
noBorder: !0,
|
7319
7340
|
type: "submit",
|
7320
7341
|
className: "mt-7",
|
7321
|
-
children:
|
7342
|
+
children: Gl
|
7322
7343
|
}
|
7323
7344
|
) }),
|
7324
7345
|
!Ts() && /* @__PURE__ */ X(pr, { children: [
|
@@ -7331,9 +7352,9 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7331
7352
|
focusMode: "light",
|
7332
7353
|
fullWidth: !0,
|
7333
7354
|
className: "mb-4",
|
7334
|
-
labelRight:
|
7355
|
+
labelRight: ql,
|
7335
7356
|
onClick: r,
|
7336
|
-
children: /* @__PURE__ */ y(
|
7357
|
+
children: /* @__PURE__ */ y(ol, { size: "size-7" })
|
7337
7358
|
}
|
7338
7359
|
) })
|
7339
7360
|
] })
|
@@ -7341,19 +7362,19 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7341
7362
|
]
|
7342
7363
|
}
|
7343
7364
|
);
|
7344
|
-
},
|
7365
|
+
}, Yl = new URL(document.location.href).searchParams, an = !!Yl.get("debug") || !1, Xl = Ds(() => import(
|
7345
7366
|
/* webpackChunkName: "LazyApp" */
|
7346
|
-
"./App.
|
7347
|
-
).then((e) => e.App)),
|
7367
|
+
"./App.B9gc6fg7.js"
|
7368
|
+
).then((e) => e.App)), Zl = new si(), on = ({
|
7348
7369
|
isComponent: e,
|
7349
7370
|
headerHeight: t
|
7350
7371
|
}) => {
|
7351
7372
|
const { isAuthenticated: r, isLoading: n } = ys();
|
7352
|
-
return n ? /* @__PURE__ */ y("div", {}) : r ? /* @__PURE__ */ y(
|
7353
|
-
/* @__PURE__ */ y(
|
7354
|
-
/* @__PURE__ */ y(
|
7355
|
-
] }) }) : /* @__PURE__ */ y(
|
7356
|
-
},
|
7373
|
+
return n ? /* @__PURE__ */ y("div", {}) : r ? /* @__PURE__ */ y($s, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ X(ai, { client: Zl, children: [
|
7374
|
+
/* @__PURE__ */ y(xa, {}),
|
7375
|
+
/* @__PURE__ */ y(Xl, { isComponent: e, headerHeight: t })
|
7376
|
+
] }) }) : /* @__PURE__ */ y(Ql, {});
|
7377
|
+
}, eu = ({
|
7357
7378
|
isComponent: e = !1,
|
7358
7379
|
headerHeight: t = 0,
|
7359
7380
|
domain: r = vs
|
@@ -7370,8 +7391,8 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7370
7391
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
7371
7392
|
children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t })
|
7372
7393
|
}
|
7373
|
-
) : /* @__PURE__ */ y(Zr, { clientId: en, domain: r, debug: an, children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t }) })),
|
7374
|
-
|
7394
|
+
) : /* @__PURE__ */ y(Zr, { clientId: en, domain: r, debug: an, children: /* @__PURE__ */ y(on, { isComponent: e, headerHeight: t }) })), Bd = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
|
7395
|
+
eu,
|
7375
7396
|
{
|
7376
7397
|
isComponent: !0,
|
7377
7398
|
domain: e,
|
@@ -7379,142 +7400,153 @@ Press Ctrl+Enter to send it or Enter for new line.`, dd = "{{clipboard}}", M = "
|
|
7379
7400
|
}
|
7380
7401
|
);
|
7381
7402
|
export {
|
7382
|
-
|
7383
|
-
|
7384
|
-
|
7385
|
-
|
7386
|
-
|
7387
|
-
|
7388
|
-
|
7403
|
+
Rd as ABOUT_TITLE,
|
7404
|
+
qu as ACTION_RESET_PROMPT,
|
7405
|
+
ju as ACTION_SEARCH,
|
7406
|
+
Wu as ACTION_SORT,
|
7407
|
+
Gu as ACTION_TOGGLE_PROMPT,
|
7408
|
+
Ud as APP_CLASSNAME,
|
7409
|
+
Sd as Ae,
|
7389
7410
|
ks as C,
|
7390
|
-
|
7391
|
-
|
7392
|
-
|
7393
|
-
|
7394
|
-
|
7395
|
-
|
7396
|
-
|
7397
|
-
|
7411
|
+
Hd as CARDS,
|
7412
|
+
Pd as CLIPBOARD_PROMPT,
|
7413
|
+
id as DEFAULT_ICON_ACTION_SIZE,
|
7414
|
+
Su as Dynamic,
|
7415
|
+
$l as E,
|
7416
|
+
Vu as ERROR_MESSAGE,
|
7417
|
+
bd as Ee,
|
7418
|
+
xd as FOOTER_DISCLAIMERS,
|
7419
|
+
hu as For,
|
7420
|
+
Od as HISTORY_TITLE,
|
7398
7421
|
Lt as I,
|
7399
|
-
|
7400
|
-
|
7401
|
-
|
7402
|
-
|
7403
|
-
|
7404
|
-
|
7405
|
-
|
7406
|
-
|
7407
|
-
|
7408
|
-
|
7409
|
-
|
7422
|
+
rd as INFINITE_SCROLL_LIMIT,
|
7423
|
+
td as INFINITE_SCROLL_THRESHOLD,
|
7424
|
+
ld as INPUT_BOTTOM_OFFSET,
|
7425
|
+
dd as INPUT_BOTTOM_OFFSET_EXTRA,
|
7426
|
+
ud as INPUT_BOTTOM_OFFSET_IPHONE,
|
7427
|
+
Nd as INPUT_PLACEHOLDER_TEXT_CMD_ENTER,
|
7428
|
+
Cd as INPUT_PLACEHOLDER_TEXT_ENTER,
|
7429
|
+
_d as INPUT_PLACEHOLDER_TEXT_MOBILE,
|
7430
|
+
mu as Index,
|
7431
|
+
fl as L,
|
7432
|
+
Ju as LOCAL_STORAGE_CHAT_DETAILS,
|
7410
7433
|
ps as LOCAL_STORAGE_PREFIX,
|
7411
|
-
|
7412
|
-
|
7413
|
-
|
7434
|
+
Zu as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
7435
|
+
ed as LOCAL_STORAGE_REASONING_DISCLOSURE,
|
7436
|
+
zu as LOCAL_STORAGE_SEARCH,
|
7414
7437
|
gs as LOCAL_STORAGE_SERVICE_WORKER,
|
7415
|
-
|
7416
|
-
|
7417
|
-
|
7418
|
-
|
7419
|
-
|
7420
|
-
|
7421
|
-
|
7422
|
-
|
7423
|
-
|
7424
|
-
|
7425
|
-
|
7426
|
-
|
7427
|
-
|
7428
|
-
|
7429
|
-
|
7430
|
-
ru as Show,
|
7438
|
+
Qu as LOCAL_STORAGE_SORT,
|
7439
|
+
Yu as LOCAL_STORAGE_SORT_TIMESTAMP,
|
7440
|
+
Xu as LOCAL_STORAGE_SORT_TOKEN_USAGE,
|
7441
|
+
Td as LOG_OUT,
|
7442
|
+
zl as Logo,
|
7443
|
+
gu as Match,
|
7444
|
+
Id as PROFILE_TITLE,
|
7445
|
+
$d as PROMPTS_DESCRIPTION,
|
7446
|
+
nd as PROMPT_CLASSNAME,
|
7447
|
+
sd as PROMPT_EDITABLE_AREA_CLASSNAME,
|
7448
|
+
Eu as Portal,
|
7449
|
+
sl as S,
|
7450
|
+
kd as SETTINGS_TITLE,
|
7451
|
+
Bd as SassySaint,
|
7452
|
+
yu as Show,
|
7431
7453
|
_t as Subscribable,
|
7432
|
-
|
7433
|
-
|
7434
|
-
|
7435
|
-
|
7436
|
-
|
7437
|
-
|
7438
|
-
|
7439
|
-
|
7440
|
-
|
7441
|
-
|
7442
|
-
|
7443
|
-
|
7444
|
-
|
7445
|
-
|
7446
|
-
|
7447
|
-
|
7448
|
-
|
7449
|
-
|
7450
|
-
|
7454
|
+
pu as Switch,
|
7455
|
+
Md as TOAST_CHAT_DELETED,
|
7456
|
+
Ld as TOAST_CHAT_SAVED,
|
7457
|
+
Dd as TOAST_PROVIDER_CHANGED,
|
7458
|
+
Fd as TRIMESTERS,
|
7459
|
+
Kd as TRIMESTERS_SHORT,
|
7460
|
+
od as UI_BUTTON_SCROLL_BUFFER,
|
7461
|
+
cd as UI_DEFAULT_MAIN_HEIGHT,
|
7462
|
+
ad as UI_FOOTER_BUFFER,
|
7463
|
+
Ad as USAGE_TITLE,
|
7464
|
+
Ps as a,
|
7465
|
+
Bi as addEventListener,
|
7466
|
+
au as batch,
|
7467
|
+
yd as c,
|
7468
|
+
Hi as className,
|
7469
|
+
vu as clearDelegatedEvents,
|
7470
|
+
$c as convertCamelCaseToReadable,
|
7471
|
+
Pu as convertRemToPixels,
|
7472
|
+
Ei as createComponent,
|
7473
|
+
ci as createComputed,
|
7474
|
+
uu as createContext,
|
7451
7475
|
En as createEffect,
|
7452
7476
|
K as createMemo,
|
7453
7477
|
Te as createRenderEffect,
|
7454
7478
|
Se as createRoot,
|
7455
7479
|
Y as createSignal,
|
7456
|
-
|
7457
|
-
|
7458
|
-
|
7480
|
+
fu as createUniqueId,
|
7481
|
+
vd as de,
|
7482
|
+
Pc as debounce,
|
7483
|
+
Ui as delegateEvents,
|
7459
7484
|
it as deleteNestedDataByPath,
|
7460
|
-
|
7461
|
-
|
7485
|
+
_u as displayValue,
|
7486
|
+
Ys as fetchState,
|
7462
7487
|
fn as focusManager,
|
7463
|
-
|
7488
|
+
Tc as getCurrentGeoLocation,
|
7464
7489
|
Ss as getMainPaddingClass,
|
7465
7490
|
Es as getMessageContaintWrapperClass,
|
7466
|
-
|
7467
|
-
|
7468
|
-
|
7469
|
-
|
7470
|
-
|
7471
|
-
|
7472
|
-
|
7491
|
+
Ou as getMutationStatusColor,
|
7492
|
+
xu as getPreferredColorScheme,
|
7493
|
+
ku as getQueryStatusColor,
|
7494
|
+
Ru as getQueryStatusColorByLabel,
|
7495
|
+
Au as getQueryStatusLabel,
|
7496
|
+
Iu as getSidedProp,
|
7497
|
+
fd as handleServiceWorkerToggle,
|
7498
|
+
xl as i,
|
7473
7499
|
ar as insert,
|
7474
7500
|
As as isProbablyMobile,
|
7475
|
-
|
7501
|
+
xc as isProbablyiPhone,
|
7476
7502
|
Ct as isServer,
|
7477
|
-
|
7503
|
+
lc as isServiceWorkerEnabled,
|
7478
7504
|
Ts as isTauri,
|
7479
|
-
|
7505
|
+
Ls as isValidTimeout,
|
7480
7506
|
Ee as j,
|
7481
|
-
|
7482
|
-
|
7483
|
-
|
7484
|
-
|
7507
|
+
ol as l,
|
7508
|
+
bu as memo,
|
7509
|
+
Ti as mergeProps,
|
7510
|
+
Nu as mutationSortFns,
|
7485
7511
|
ys as n,
|
7512
|
+
gd as ne,
|
7486
7513
|
re as noop,
|
7487
7514
|
Q as notifyManager,
|
7488
|
-
|
7489
|
-
|
7490
|
-
|
7515
|
+
_c as numberFormatter,
|
7516
|
+
Ac as obfuscate,
|
7517
|
+
ou as on,
|
7491
7518
|
We as onCleanup,
|
7492
|
-
|
7493
|
-
|
7494
|
-
|
7495
|
-
|
7496
|
-
|
7497
|
-
|
7498
|
-
|
7499
|
-
|
7519
|
+
di as onMount,
|
7520
|
+
D as pe,
|
7521
|
+
Rr as pe$1,
|
7522
|
+
Gs as pendingThenable,
|
7523
|
+
Nc as pluralize,
|
7524
|
+
ul as r,
|
7525
|
+
pd as re,
|
7526
|
+
kc as renderDataAsList,
|
7527
|
+
Hs as replaceData,
|
7528
|
+
Fs as resolveEnabled,
|
7500
7529
|
Zt as resolveStaleTime,
|
7501
|
-
|
7530
|
+
md as s,
|
7531
|
+
ka as serialize,
|
7502
7532
|
ir as setAttribute,
|
7503
|
-
|
7504
|
-
|
7505
|
-
|
7506
|
-
|
7507
|
-
|
7508
|
-
|
7509
|
-
|
7510
|
-
|
7533
|
+
su as shallowEqualObjects,
|
7534
|
+
iu as shouldThrowError,
|
7535
|
+
Cu as sortFns,
|
7536
|
+
Ai as splitProps,
|
7537
|
+
Wi as spread,
|
7538
|
+
Tu as stringify,
|
7539
|
+
wu as template,
|
7540
|
+
Us as timeUntilStale,
|
7511
7541
|
kt as ue,
|
7512
|
-
|
7542
|
+
Ed as ue$1,
|
7543
|
+
Ic as unObfuscate,
|
7513
7544
|
G as untrack,
|
7514
7545
|
st as updateNestedDataByPath,
|
7515
|
-
|
7516
|
-
|
7517
|
-
|
7518
|
-
|
7519
|
-
|
7546
|
+
Gi as use,
|
7547
|
+
du as useContext,
|
7548
|
+
ii as useQueryClient,
|
7549
|
+
lu as useTransition,
|
7550
|
+
hd as utilities,
|
7551
|
+
wd as ye
|
7520
7552
|
};
|