@versini/sassysaint 8.90.2 → 8.91.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.Bzj36blr.js → AboutChangelog.DghwIbGm.js} +3 -3
- package/dist/chunks/AboutEntry.RlLAPOEe.js +89 -0
- package/dist/chunks/{App.BLhkVXVz.js → App.DkMgrvIO.js} +635 -613
- package/dist/chunks/{Chart.Ck03N8tk.js → Chart.v7akUZT3.js} +2 -2
- package/dist/chunks/ChatBubbleAssistant.Bu1x35ya.js +71 -0
- package/dist/chunks/{ChatBubbleUser.D0_zGRN6.js → ChatBubbleUser.DiGyPZ2b.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.DffhDAId.js → ChatHistoryTable.BgPyiv-W.js} +8 -8
- package/dist/chunks/{HistoryEntry.CyZKhE-r.js → HistoryEntry.BhfYcwPP.js} +38 -37
- package/dist/chunks/{ProfileEntry.CKZk7T66.js → ProfileEntry.FFqtFIdd.js} +21 -20
- package/dist/chunks/{SettingsEntry.Bmq54xRJ.js → SettingsEntry.BI15jO5w.js} +25 -24
- package/dist/chunks/{UsageEntry.CUOJVTSh.js → UsageEntry.DB1Dgup7.js} +26 -25
- package/dist/chunks/{UserMemoriesPanel.CewUKKEO.js → UserMemoriesPanel.CGE_KomO.js} +13 -12
- package/dist/chunks/{index.Cdezl5BS.js → index.8SDxHLuq.js} +638 -642
- package/dist/chunks/{index.CGkK3Bq7.js → index.BE8w381j.js} +1 -1
- package/dist/chunks/{index.Ds35lAgW.js → index.BRlTWyjo.js} +2 -2
- package/dist/chunks/{index.BnVRcTCh.js → index.C7z08Bcn.js} +1 -1
- package/dist/chunks/{index.DA-sTqbx.js → index.CEi6RNum.js} +1 -1
- package/dist/chunks/{index.25VgFBJF.js → index.CRj1aLR-.js} +1 -1
- package/dist/chunks/{index.D6Jf67I7.js → index.DBoCLIQA.js} +1 -1
- package/dist/chunks/{index.B2fv-jn6.js → index.eCKoB2IJ.js} +3 -3
- package/dist/chunks/{index.XVjKijS9.js → index.mhC0_M_t.js} +1 -1
- package/dist/chunks/{useMarkdown.CAyTbBaF.js → useMarkdown.fdak3xWv.js} +6 -6
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/dist/style.css +2 -2
- package/package.json +3 -3
- package/dist/chunks/AboutEntry.SY2SIeDZ.js +0 -69
- package/dist/chunks/ChatBubbleAssistant.DtgiothS.js +0 -82
|
@@ -4,7 +4,7 @@ import ee, { createContext as Vt, useReducer as Kr, useCallback as M, useRef as
|
|
|
4
4
|
import m from "clsx";
|
|
5
5
|
let sn = "standard";
|
|
6
6
|
var k, U = ((k = {})[k.NewChat = 0] = "NewChat", k[k.Prompts = 1] = "Prompts", k[k.Attachment = 2] = "Attachment", k[k.PrivateChat = 3] = "PrivateChat", k[k.Reasoning = 4] = "Reasoning", k[k.Send = 5] = "Send", k[k.Header = 6] = "Header", k[k.Provider = 7] = "Provider", k[k.Logo = 8] = "Logo", k[k.Placeholder = 9] = "Placeholder", k[k.Footer = 10] = "Footer", k);
|
|
7
|
-
let
|
|
7
|
+
let Cc = "user", Oc = "assistant", yt = "OpenAI", Gt = "Anthropic", zt = "Google", nn = "Perplexity", an = yt, on = [yt, Gt, zt], Gr = "gpt-5", zr = "gpt-5-mini", qr = "gpt-5-nano", Wr = "gpt-4.1-nano", jr = "claude-haiku-4-5", Qr = "claude-sonnet-4-5", Jr = "gemini-2.5-flash", Yr = "gemini-3-pro-preview", Xr = "sonar", Zr = "sonar-pro", kc = { [Gr]: "GPT-5", [zr]: "GPT-5 Mini", [qr]: "GPT-5 Nano", [Wr]: "GPT-4.1 Nano", [jr]: "Claude Haiku 4.5", [Qr]: "Claude Sonnet 4.5", [Jr]: "Gemini 2.5 Flash", [Yr]: "Gemini 3 Pro", [Xr]: "Sonar", [Zr]: "Sonar Pro" }, es = { [yt]: [Wr, Gr, zr, qr], [Gt]: [jr, Qr], [zt]: [Jr, Yr], [nn]: [Xr, Zr] }, Pc = "x-diggidy-chat-id", Nc = "timestamp", Mc = "tokenUsage", L = "Diggidy", xc = { TOOL: { MEMORIES: "getUserMemories" }, ADDON: { ATTACHMENTS: "addon:attachments", REASONING: "addon:reasoning" } }, Lc = (e) => {
|
|
8
8
|
if (!e || e.length === 0) return [];
|
|
9
9
|
let t = /* @__PURE__ */ new Set();
|
|
10
10
|
for (let r of e) for (let [s, n] of Object.entries(es)) n.includes(r) && (s === yt || s === Gt || s === zt) && t.add(s);
|
|
@@ -17,20 +17,17 @@ let Oc = "user", kc = "assistant", Pc = "data", yt = "OpenAI", Gt = "Anthropic",
|
|
|
17
17
|
break;
|
|
18
18
|
}
|
|
19
19
|
return t;
|
|
20
|
-
},
|
|
20
|
+
}, Dc = (e) => {
|
|
21
21
|
for (let t of cn(e).values()) if (t.length > 1) return !0;
|
|
22
22
|
return !1;
|
|
23
|
-
},
|
|
24
|
-
function ln(e) {
|
|
25
|
-
return e ? new Set(e) : null;
|
|
26
|
-
}
|
|
27
|
-
function un(e, t, r) {
|
|
23
|
+
}, $c = (e, t) => !!e && !!t && t.length !== 0 && t.includes(e);
|
|
24
|
+
function ln(e, t, r) {
|
|
28
25
|
if (!t || Array.isArray(t) && t.length === 0) return !0;
|
|
29
|
-
let s = e instanceof Set ? e :
|
|
26
|
+
let s = e instanceof Set ? e : e ? new Set(e) : null;
|
|
30
27
|
return !!s && s.size !== 0 && (typeof t == "string" ? s.has(t) : r?.any === !0 ? t.some((n) => s.has(n)) : t.every((n) => s.has(n)));
|
|
31
28
|
}
|
|
32
|
-
var
|
|
33
|
-
const
|
|
29
|
+
var Uc = "subtle";
|
|
30
|
+
const un = {
|
|
34
31
|
[U.NewChat]: "fill-[#7A9BC4]",
|
|
35
32
|
[U.Prompts]: "fill-[#B8A4D5]",
|
|
36
33
|
[U.Attachment]: "fill-[#D4B896]",
|
|
@@ -40,8 +37,8 @@ const dn = {
|
|
|
40
37
|
[U.Header]: "text-copy-medium",
|
|
41
38
|
[U.Provider]: "fill-copy-medium",
|
|
42
39
|
[U.Placeholder]: "placeholder:text-copy-medium/70"
|
|
43
|
-
},
|
|
44
|
-
[U.NewChat]: "fill-[#
|
|
40
|
+
}, dn = {
|
|
41
|
+
[U.NewChat]: "fill-[#91BBED] dark:fill-[#7A9BC4]",
|
|
45
42
|
[U.Prompts]: "fill-[#B89FDC] dark:fill-[#B8A4D5]",
|
|
46
43
|
[U.Attachment]: "fill-[#D7B286] dark:fill-[#D4B896]",
|
|
47
44
|
[U.PrivateChat]: "fill-[#DA8787] dark:fill-[#DA8787]",
|
|
@@ -68,7 +65,7 @@ var De = class {
|
|
|
68
65
|
}
|
|
69
66
|
onUnsubscribe() {
|
|
70
67
|
}
|
|
71
|
-
},
|
|
68
|
+
}, hn = {
|
|
72
69
|
// We need the wrapper function syntax below instead of direct references to
|
|
73
70
|
// global setTimeout etc.
|
|
74
71
|
//
|
|
@@ -83,14 +80,14 @@ var De = class {
|
|
|
83
80
|
clearTimeout: (e) => clearTimeout(e),
|
|
84
81
|
setInterval: (e, t) => setInterval(e, t),
|
|
85
82
|
clearInterval: (e) => clearInterval(e)
|
|
86
|
-
},
|
|
83
|
+
}, fn = class {
|
|
87
84
|
// We cannot have TimeoutManager<T> as we must instantiate it with a concrete
|
|
88
85
|
// type at app boot; and if we leave that type, then any new timer provider
|
|
89
86
|
// would need to support ReturnType<typeof setTimeout>, which is infeasible.
|
|
90
87
|
//
|
|
91
88
|
// We settle for type safety for the TimeoutProvider type, and accept that
|
|
92
89
|
// this class is unsafe internally to allow for extension.
|
|
93
|
-
#e =
|
|
90
|
+
#e = hn;
|
|
94
91
|
#t = !1;
|
|
95
92
|
setTimeoutProvider(e) {
|
|
96
93
|
process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error(
|
|
@@ -110,14 +107,14 @@ var De = class {
|
|
|
110
107
|
clearInterval(e) {
|
|
111
108
|
this.#e.clearInterval(e);
|
|
112
109
|
}
|
|
113
|
-
}, ve = new
|
|
114
|
-
function
|
|
110
|
+
}, ve = new fn();
|
|
111
|
+
function pn(e) {
|
|
115
112
|
setTimeout(e, 0);
|
|
116
113
|
}
|
|
117
114
|
var Te = typeof window > "u" || "Deno" in globalThis;
|
|
118
115
|
function Z() {
|
|
119
116
|
}
|
|
120
|
-
function
|
|
117
|
+
function yn(e, t) {
|
|
121
118
|
return typeof e == "function" ? e(t) : e;
|
|
122
119
|
}
|
|
123
120
|
function Mt(e) {
|
|
@@ -180,7 +177,7 @@ function Ie(e) {
|
|
|
180
177
|
function Be(e, t) {
|
|
181
178
|
return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((r) => Be(e[r], t[r])) : !1;
|
|
182
179
|
}
|
|
183
|
-
var
|
|
180
|
+
var mn = Object.prototype.hasOwnProperty;
|
|
184
181
|
function xt(e, t) {
|
|
185
182
|
if (e === t)
|
|
186
183
|
return e;
|
|
@@ -191,7 +188,7 @@ function xt(e, t) {
|
|
|
191
188
|
for (let f = 0; f < i; f++) {
|
|
192
189
|
const d = r ? f : a[f], h = e[d], u = t[d];
|
|
193
190
|
if (h === u) {
|
|
194
|
-
o[d] = h, (r ? f < n :
|
|
191
|
+
o[d] = h, (r ? f < n : mn.call(e, d)) && l++;
|
|
195
192
|
continue;
|
|
196
193
|
}
|
|
197
194
|
if (h === null || u === null || typeof h != "object" || typeof u != "object") {
|
|
@@ -226,7 +223,7 @@ function Lt(e) {
|
|
|
226
223
|
function cr(e) {
|
|
227
224
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
228
225
|
}
|
|
229
|
-
function
|
|
226
|
+
function gn(e) {
|
|
230
227
|
return new Promise((t) => {
|
|
231
228
|
ve.setTimeout(t, e);
|
|
232
229
|
});
|
|
@@ -247,11 +244,11 @@ function Dt(e, t, r) {
|
|
|
247
244
|
}
|
|
248
245
|
return t;
|
|
249
246
|
}
|
|
250
|
-
function
|
|
247
|
+
function En(e, t, r = 0) {
|
|
251
248
|
const s = [...e, t];
|
|
252
249
|
return r && s.length > r ? s.slice(1) : s;
|
|
253
250
|
}
|
|
254
|
-
function
|
|
251
|
+
function wn(e, t, r = 0) {
|
|
255
252
|
const s = [t, ...e];
|
|
256
253
|
return r && s.length > r ? s.slice(0, -1) : s;
|
|
257
254
|
}
|
|
@@ -264,7 +261,7 @@ function rs(e, t) {
|
|
|
264
261
|
function ss(e, t) {
|
|
265
262
|
return typeof e == "function" ? e(...t) : !!e;
|
|
266
263
|
}
|
|
267
|
-
var
|
|
264
|
+
var Sn = class extends De {
|
|
268
265
|
#e;
|
|
269
266
|
#t;
|
|
270
267
|
#r;
|
|
@@ -301,7 +298,7 @@ var bn = class extends De {
|
|
|
301
298
|
isFocused() {
|
|
302
299
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
303
300
|
}
|
|
304
|
-
}, Wt = new
|
|
301
|
+
}, Wt = new Sn();
|
|
305
302
|
function $t() {
|
|
306
303
|
let e, t;
|
|
307
304
|
const r = new Promise((n, a) => {
|
|
@@ -324,13 +321,13 @@ function $t() {
|
|
|
324
321
|
}), t(n);
|
|
325
322
|
}, r;
|
|
326
323
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
324
|
+
var bn = pn;
|
|
325
|
+
function vn() {
|
|
329
326
|
let e = [], t = 0, r = (o) => {
|
|
330
327
|
o();
|
|
331
328
|
}, s = (o) => {
|
|
332
329
|
o();
|
|
333
|
-
}, n =
|
|
330
|
+
}, n = bn;
|
|
334
331
|
const a = (o) => {
|
|
335
332
|
t ? e.push(o) : n(() => {
|
|
336
333
|
r(o);
|
|
@@ -384,7 +381,7 @@ function Tn() {
|
|
|
384
381
|
}
|
|
385
382
|
};
|
|
386
383
|
}
|
|
387
|
-
var F =
|
|
384
|
+
var F = vn(), Tn = class extends De {
|
|
388
385
|
#e = !0;
|
|
389
386
|
#t;
|
|
390
387
|
#r;
|
|
@@ -415,8 +412,8 @@ var F = Tn(), In = class extends De {
|
|
|
415
412
|
isOnline() {
|
|
416
413
|
return this.#e;
|
|
417
414
|
}
|
|
418
|
-
}, ot = new
|
|
419
|
-
function
|
|
415
|
+
}, ot = new Tn();
|
|
416
|
+
function In(e) {
|
|
420
417
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
421
418
|
}
|
|
422
419
|
function ns(e) {
|
|
@@ -461,12 +458,12 @@ function as(e) {
|
|
|
461
458
|
Promise.resolve(g).then(h).catch((b) => {
|
|
462
459
|
if (a())
|
|
463
460
|
return;
|
|
464
|
-
const x = e.retry ?? (Te ? 0 : 3), R = e.retryDelay ??
|
|
461
|
+
const x = e.retry ?? (Te ? 0 : 3), R = e.retryDelay ?? In, Y = typeof R == "function" ? R(r, b) : R, P = x === !0 || typeof x == "number" && r < x || typeof x == "function" && x(r, b);
|
|
465
462
|
if (t || !P) {
|
|
466
463
|
u(b);
|
|
467
464
|
return;
|
|
468
465
|
}
|
|
469
|
-
r++, e.onFail?.(r, b),
|
|
466
|
+
r++, e.onFail?.(r, b), gn(Y).then(() => f() ? void 0 : p()).then(() => {
|
|
470
467
|
t ? u(b) : y();
|
|
471
468
|
});
|
|
472
469
|
});
|
|
@@ -501,7 +498,7 @@ var is = class {
|
|
|
501
498
|
clearGcTimeout() {
|
|
502
499
|
this.#e && (ve.clearTimeout(this.#e), this.#e = void 0);
|
|
503
500
|
}
|
|
504
|
-
},
|
|
501
|
+
}, _n = class extends is {
|
|
505
502
|
#e;
|
|
506
503
|
#t;
|
|
507
504
|
#r;
|
|
@@ -801,7 +798,7 @@ function ur(e) {
|
|
|
801
798
|
fetchStatus: "idle"
|
|
802
799
|
};
|
|
803
800
|
}
|
|
804
|
-
var
|
|
801
|
+
var An = class extends De {
|
|
805
802
|
constructor(e, t) {
|
|
806
803
|
super(), this.options = t, this.#e = e, this.#a = null, this.#o = $t(), this.bindMethods(), this.setOptions(t);
|
|
807
804
|
}
|
|
@@ -871,7 +868,7 @@ var Rn = class extends De {
|
|
|
871
868
|
}
|
|
872
869
|
getOptimisticResult(e) {
|
|
873
870
|
const t = this.#e.getQueryCache().build(this.#e, e), r = this.createResult(t, e);
|
|
874
|
-
return
|
|
871
|
+
return Cn(this, r) && (this.#n = r, this.#i = this.options, this.#s = this.#t.state), r;
|
|
875
872
|
}
|
|
876
873
|
getCurrentResult() {
|
|
877
874
|
return this.#n;
|
|
@@ -1069,11 +1066,11 @@ var Rn = class extends De {
|
|
|
1069
1066
|
});
|
|
1070
1067
|
}
|
|
1071
1068
|
};
|
|
1072
|
-
function
|
|
1069
|
+
function Rn(e, t) {
|
|
1073
1070
|
return re(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
1074
1071
|
}
|
|
1075
1072
|
function dr(e, t) {
|
|
1076
|
-
return
|
|
1073
|
+
return Rn(e, t) || e.state.data !== void 0 && Ht(e, t, t.refetchOnMount);
|
|
1077
1074
|
}
|
|
1078
1075
|
function Ht(e, t, r) {
|
|
1079
1076
|
if (re(t.enabled, e) !== !1 && we(t.staleTime, e) !== "static") {
|
|
@@ -1088,7 +1085,7 @@ function hr(e, t, r, s) {
|
|
|
1088
1085
|
function jt(e, t) {
|
|
1089
1086
|
return re(t.enabled, e) !== !1 && e.isStaleByTime(we(t.staleTime, e));
|
|
1090
1087
|
}
|
|
1091
|
-
function
|
|
1088
|
+
function Cn(e, t) {
|
|
1092
1089
|
return !at(e.getCurrentResult(), t);
|
|
1093
1090
|
}
|
|
1094
1091
|
function fr(e) {
|
|
@@ -1119,14 +1116,14 @@ function fr(e) {
|
|
|
1119
1116
|
meta: t.options.meta
|
|
1120
1117
|
};
|
|
1121
1118
|
return h(se), se;
|
|
1122
|
-
})(), R = await u(x), { maxPages: Y } = t.options, P = w ?
|
|
1119
|
+
})(), R = await u(x), { maxPages: Y } = t.options, P = w ? wn : En;
|
|
1123
1120
|
return {
|
|
1124
1121
|
pages: P(y.pages, R, Y),
|
|
1125
1122
|
pageParams: P(y.pageParams, g, Y)
|
|
1126
1123
|
};
|
|
1127
1124
|
};
|
|
1128
1125
|
if (n && a.length) {
|
|
1129
|
-
const y = n === "backward", g = y ?
|
|
1126
|
+
const y = n === "backward", g = y ? On : pr, w = {
|
|
1130
1127
|
pages: a,
|
|
1131
1128
|
pageParams: i
|
|
1132
1129
|
}, b = g(s, w);
|
|
@@ -1164,10 +1161,10 @@ function pr(e, { pages: t, pageParams: r }) {
|
|
|
1164
1161
|
r
|
|
1165
1162
|
) : void 0;
|
|
1166
1163
|
}
|
|
1167
|
-
function
|
|
1164
|
+
function On(e, { pages: t, pageParams: r }) {
|
|
1168
1165
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, r[0], r) : void 0;
|
|
1169
1166
|
}
|
|
1170
|
-
var
|
|
1167
|
+
var kn = class extends is {
|
|
1171
1168
|
#e;
|
|
1172
1169
|
#t;
|
|
1173
1170
|
#r;
|
|
@@ -1383,7 +1380,7 @@ function cs() {
|
|
|
1383
1380
|
submittedAt: 0
|
|
1384
1381
|
};
|
|
1385
1382
|
}
|
|
1386
|
-
var
|
|
1383
|
+
var Pn = class extends De {
|
|
1387
1384
|
constructor(e = {}) {
|
|
1388
1385
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#r = 0;
|
|
1389
1386
|
}
|
|
@@ -1391,7 +1388,7 @@ var Nn = class extends De {
|
|
|
1391
1388
|
#t;
|
|
1392
1389
|
#r;
|
|
1393
1390
|
build(e, t, r) {
|
|
1394
|
-
const s = new
|
|
1391
|
+
const s = new kn({
|
|
1395
1392
|
client: e,
|
|
1396
1393
|
mutationCache: this,
|
|
1397
1394
|
mutationId: ++this.#r,
|
|
@@ -1475,7 +1472,7 @@ var Nn = class extends De {
|
|
|
1475
1472
|
function We(e) {
|
|
1476
1473
|
return e.options.scope?.id;
|
|
1477
1474
|
}
|
|
1478
|
-
var
|
|
1475
|
+
var Nn = class extends De {
|
|
1479
1476
|
#e;
|
|
1480
1477
|
#t = void 0;
|
|
1481
1478
|
#r;
|
|
@@ -1558,7 +1555,7 @@ var Mn = class extends De {
|
|
|
1558
1555
|
});
|
|
1559
1556
|
});
|
|
1560
1557
|
}
|
|
1561
|
-
},
|
|
1558
|
+
}, Mn = class extends De {
|
|
1562
1559
|
constructor(e = {}) {
|
|
1563
1560
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1564
1561
|
}
|
|
@@ -1566,7 +1563,7 @@ var Mn = class extends De {
|
|
|
1566
1563
|
build(e, t, r) {
|
|
1567
1564
|
const s = t.queryKey, n = t.queryHash ?? qt(s, t);
|
|
1568
1565
|
let a = this.get(n);
|
|
1569
|
-
return a || (a = new
|
|
1566
|
+
return a || (a = new _n({
|
|
1570
1567
|
client: e,
|
|
1571
1568
|
queryKey: s,
|
|
1572
1569
|
queryHash: n,
|
|
@@ -1629,7 +1626,7 @@ var Mn = class extends De {
|
|
|
1629
1626
|
});
|
|
1630
1627
|
});
|
|
1631
1628
|
}
|
|
1632
|
-
},
|
|
1629
|
+
}, xn = class {
|
|
1633
1630
|
#e;
|
|
1634
1631
|
#t;
|
|
1635
1632
|
#r;
|
|
@@ -1639,7 +1636,7 @@ var Mn = class extends De {
|
|
|
1639
1636
|
#o;
|
|
1640
1637
|
#a;
|
|
1641
1638
|
constructor(e = {}) {
|
|
1642
|
-
this.#e = e.queryCache || new
|
|
1639
|
+
this.#e = e.queryCache || new Mn(), this.#t = e.mutationCache || new Pn(), this.#r = e.defaultOptions || {}, this.#n = /* @__PURE__ */ new Map(), this.#s = /* @__PURE__ */ new Map(), this.#i = 0;
|
|
1643
1640
|
}
|
|
1644
1641
|
mount() {
|
|
1645
1642
|
this.#i++, this.#i === 1 && (this.#o = Wt.subscribe(async (e) => {
|
|
@@ -1681,7 +1678,7 @@ var Mn = class extends De {
|
|
|
1681
1678
|
setQueryData(e, t, r) {
|
|
1682
1679
|
const s = this.defaultQueryOptions({ queryKey: e }), a = this.#e.get(
|
|
1683
1680
|
s.queryHash
|
|
1684
|
-
)?.state.data, i =
|
|
1681
|
+
)?.state.data, i = yn(t, a);
|
|
1685
1682
|
if (i !== void 0)
|
|
1686
1683
|
return this.#e.build(this, s).setData(i, { ...r, manual: !0 });
|
|
1687
1684
|
}
|
|
@@ -1839,13 +1836,13 @@ var Mn = class extends De {
|
|
|
1839
1836
|
if (!t)
|
|
1840
1837
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1841
1838
|
return t;
|
|
1842
|
-
},
|
|
1839
|
+
}, Ln = ({
|
|
1843
1840
|
client: e,
|
|
1844
1841
|
children: t
|
|
1845
1842
|
}) => (J.useEffect(() => (e.mount(), () => {
|
|
1846
1843
|
e.unmount();
|
|
1847
|
-
}), [e]), /* @__PURE__ */ c(ls.Provider, { value: e, children: t })),
|
|
1848
|
-
function
|
|
1844
|
+
}), [e]), /* @__PURE__ */ c(ls.Provider, { value: e, children: t })), Dn = J.createContext(!1), $n = () => J.useContext(Dn);
|
|
1845
|
+
function Un() {
|
|
1849
1846
|
let e = !1;
|
|
1850
1847
|
return {
|
|
1851
1848
|
clearReset: () => {
|
|
@@ -1857,19 +1854,19 @@ function Hn() {
|
|
|
1857
1854
|
isReset: () => e
|
|
1858
1855
|
};
|
|
1859
1856
|
}
|
|
1860
|
-
var
|
|
1857
|
+
var Hn = J.createContext(Un()), Fn = () => J.useContext(Hn), Bn = (e, t) => {
|
|
1861
1858
|
(e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
|
|
1862
|
-
},
|
|
1859
|
+
}, Kn = (e) => {
|
|
1863
1860
|
J.useEffect(() => {
|
|
1864
1861
|
e.clearReset();
|
|
1865
1862
|
}, [e]);
|
|
1866
|
-
},
|
|
1863
|
+
}, Vn = ({
|
|
1867
1864
|
result: e,
|
|
1868
1865
|
errorResetBoundary: t,
|
|
1869
1866
|
throwOnError: r,
|
|
1870
1867
|
query: s,
|
|
1871
1868
|
suspense: n
|
|
1872
|
-
}) => e.isError && !t.isReset() && !e.isFetching && s && (n && e.data === void 0 || ss(r, [e.error, s])),
|
|
1869
|
+
}) => e.isError && !t.isReset() && !e.isFetching && s && (n && e.data === void 0 || ss(r, [e.error, s])), Gn = (e) => {
|
|
1873
1870
|
if (e.suspense) {
|
|
1874
1871
|
const r = (n) => n === "static" ? n : Math.max(n ?? 1e3, 1e3), s = e.staleTime;
|
|
1875
1872
|
e.staleTime = typeof s == "function" ? (...n) => r(s(...n)) : r(s), typeof e.gcTime == "number" && (e.gcTime = Math.max(
|
|
@@ -1877,20 +1874,20 @@ var Fn = J.createContext(Hn()), Bn = () => J.useContext(Fn), Kn = (e, t) => {
|
|
|
1877
1874
|
1e3
|
|
1878
1875
|
));
|
|
1879
1876
|
}
|
|
1880
|
-
},
|
|
1877
|
+
}, zn = (e, t) => e.isLoading && e.isFetching && !t, qn = (e, t) => e?.suspense && t.isPending, yr = (e, t, r) => t.fetchOptimistic(e).catch(() => {
|
|
1881
1878
|
r.clearReset();
|
|
1882
1879
|
});
|
|
1883
|
-
function
|
|
1880
|
+
function Wn(e, t, r) {
|
|
1884
1881
|
if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e)))
|
|
1885
1882
|
throw new Error(
|
|
1886
1883
|
'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
|
|
1887
1884
|
);
|
|
1888
|
-
const s =
|
|
1885
|
+
const s = $n(), n = Fn(), a = le(), i = a.defaultQueryOptions(e);
|
|
1889
1886
|
a.getDefaultOptions().queries?._experimental_beforeQuery?.(
|
|
1890
1887
|
i
|
|
1891
1888
|
), process.env.NODE_ENV !== "production" && (i.queryFn || console.error(
|
|
1892
1889
|
`[${i.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
|
|
1893
|
-
)), i._optimisticResults = s ? "isRestoring" : "optimistic",
|
|
1890
|
+
)), i._optimisticResults = s ? "isRestoring" : "optimistic", Gn(i), Bn(i, n), Kn(n);
|
|
1894
1891
|
const o = !a.getQueryCache().get(i.queryHash), [l] = J.useState(
|
|
1895
1892
|
() => new t(
|
|
1896
1893
|
a,
|
|
@@ -1909,9 +1906,9 @@ function jn(e, t, r) {
|
|
|
1909
1906
|
() => l.getCurrentResult()
|
|
1910
1907
|
), J.useEffect(() => {
|
|
1911
1908
|
l.setOptions(i);
|
|
1912
|
-
}, [i, l]),
|
|
1909
|
+
}, [i, l]), qn(i, f))
|
|
1913
1910
|
throw yr(i, l, n);
|
|
1914
|
-
if (
|
|
1911
|
+
if (Vn({
|
|
1915
1912
|
result: f,
|
|
1916
1913
|
errorResetBoundary: n,
|
|
1917
1914
|
throwOnError: i.throwOnError,
|
|
@@ -1922,7 +1919,7 @@ function jn(e, t, r) {
|
|
|
1922
1919
|
return a.getDefaultOptions().queries?._experimental_afterQuery?.(
|
|
1923
1920
|
i,
|
|
1924
1921
|
f
|
|
1925
|
-
), i.experimental_prefetchInRender && !Te &&
|
|
1922
|
+
), i.experimental_prefetchInRender && !Te && zn(f, s) && (o ? (
|
|
1926
1923
|
// Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
|
|
1927
1924
|
yr(i, l, n)
|
|
1928
1925
|
) : (
|
|
@@ -1933,11 +1930,11 @@ function jn(e, t, r) {
|
|
|
1933
1930
|
}), i.notifyOnChangeProps ? f : l.trackResult(f);
|
|
1934
1931
|
}
|
|
1935
1932
|
function pe(e, t) {
|
|
1936
|
-
return
|
|
1933
|
+
return Wn(e, An);
|
|
1937
1934
|
}
|
|
1938
1935
|
function Se(e, t) {
|
|
1939
1936
|
const r = le(), [s] = J.useState(
|
|
1940
|
-
() => new
|
|
1937
|
+
() => new Nn(
|
|
1941
1938
|
r,
|
|
1942
1939
|
e
|
|
1943
1940
|
)
|
|
@@ -1963,13 +1960,13 @@ function Se(e, t) {
|
|
|
1963
1960
|
return { ...n, mutate: a, mutateAsync: n.mutate };
|
|
1964
1961
|
}
|
|
1965
1962
|
/*!
|
|
1966
|
-
@versini/auth-common v4.
|
|
1963
|
+
@versini/auth-common v4.6.0
|
|
1967
1964
|
© 2025 gizmette.com
|
|
1968
1965
|
*/
|
|
1969
1966
|
try {
|
|
1970
1967
|
window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
|
|
1971
|
-
version: "4.
|
|
1972
|
-
buildTime: "
|
|
1968
|
+
version: "4.6.0",
|
|
1969
|
+
buildTime: "11/23/2025 02:59 PM EST",
|
|
1973
1970
|
homepage: "https://github.com/aversini/auth-client",
|
|
1974
1971
|
license: "MIT"
|
|
1975
1972
|
});
|
|
@@ -1989,7 +1986,7 @@ const Ue = {
|
|
|
1989
1986
|
NONCE_KEY: "_nonce",
|
|
1990
1987
|
AUTH_TYPE_KEY: "auth_type",
|
|
1991
1988
|
ISSUER: "gizmette.com"
|
|
1992
|
-
},
|
|
1989
|
+
}, jn = `-----BEGIN PUBLIC KEY-----
|
|
1993
1990
|
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
|
|
1994
1991
|
w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
|
|
1995
1992
|
i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
|
|
@@ -2003,7 +2000,7 @@ awIDAQAB
|
|
|
2003
2000
|
LOGIN: "login",
|
|
2004
2001
|
REFRESH: "refresh"
|
|
2005
2002
|
}, je = new TextEncoder(), Le = new TextDecoder();
|
|
2006
|
-
function
|
|
2003
|
+
function Qn(...e) {
|
|
2007
2004
|
const t = e.reduce((n, { length: a }) => n + a, 0), r = new Uint8Array(t);
|
|
2008
2005
|
let s = 0;
|
|
2009
2006
|
for (const n of e)
|
|
@@ -2055,7 +2052,7 @@ let _e = class extends Error {
|
|
|
2055
2052
|
constructor(t, r, s = "unspecified", n = "unspecified") {
|
|
2056
2053
|
super(t, { cause: { claim: s, reason: n, payload: r } }), this.claim = s, this.reason = n, this.payload = r;
|
|
2057
2054
|
}
|
|
2058
|
-
},
|
|
2055
|
+
}, Jn = class extends _e {
|
|
2059
2056
|
static code = "ERR_JOSE_ALG_NOT_ALLOWED";
|
|
2060
2057
|
code = "ERR_JOSE_ALG_NOT_ALLOWED";
|
|
2061
2058
|
}, fe = class extends _e {
|
|
@@ -2070,7 +2067,7 @@ class de extends _e {
|
|
|
2070
2067
|
static code = "ERR_JWT_INVALID";
|
|
2071
2068
|
code = "ERR_JWT_INVALID";
|
|
2072
2069
|
}
|
|
2073
|
-
class
|
|
2070
|
+
class Yn extends _e {
|
|
2074
2071
|
static code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
|
|
2075
2072
|
code = "ERR_JWS_SIGNATURE_VERIFICATION_FAILED";
|
|
2076
2073
|
constructor(t = "signature verification failed", r) {
|
|
@@ -2086,7 +2083,7 @@ function Ce(e, t) {
|
|
|
2086
2083
|
function wt(e) {
|
|
2087
2084
|
return parseInt(e.name.slice(4), 10);
|
|
2088
2085
|
}
|
|
2089
|
-
function
|
|
2086
|
+
function Xn(e) {
|
|
2090
2087
|
switch (e) {
|
|
2091
2088
|
case "ES256":
|
|
2092
2089
|
return "P-256";
|
|
@@ -2098,11 +2095,11 @@ function Zn(e) {
|
|
|
2098
2095
|
throw new Error("unreachable");
|
|
2099
2096
|
}
|
|
2100
2097
|
}
|
|
2101
|
-
function
|
|
2098
|
+
function Zn(e, t) {
|
|
2102
2099
|
if (!e.usages.includes(t))
|
|
2103
2100
|
throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
|
|
2104
2101
|
}
|
|
2105
|
-
function
|
|
2102
|
+
function ea(e, t, r) {
|
|
2106
2103
|
switch (t) {
|
|
2107
2104
|
case "HS256":
|
|
2108
2105
|
case "HS384":
|
|
@@ -2152,7 +2149,7 @@ function ta(e, t, r) {
|
|
|
2152
2149
|
case "ES512": {
|
|
2153
2150
|
if (!Ce(e.algorithm, "ECDSA"))
|
|
2154
2151
|
throw ae("ECDSA");
|
|
2155
|
-
const s =
|
|
2152
|
+
const s = Xn(t);
|
|
2156
2153
|
if (e.algorithm.namedCurve !== s)
|
|
2157
2154
|
throw ae(s, "algorithm.namedCurve");
|
|
2158
2155
|
break;
|
|
@@ -2160,7 +2157,7 @@ function ta(e, t, r) {
|
|
|
2160
2157
|
default:
|
|
2161
2158
|
throw new TypeError("CryptoKey does not support this operation");
|
|
2162
2159
|
}
|
|
2163
|
-
|
|
2160
|
+
Zn(e, r);
|
|
2164
2161
|
}
|
|
2165
2162
|
function hs(e, t, ...r) {
|
|
2166
2163
|
if (r = r.filter(Boolean), r.length > 2) {
|
|
@@ -2169,7 +2166,7 @@ function hs(e, t, ...r) {
|
|
|
2169
2166
|
} else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
|
|
2170
2167
|
return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && t.constructor?.name && (e += ` Received an instance of ${t.constructor.name}`), e;
|
|
2171
2168
|
}
|
|
2172
|
-
const
|
|
2169
|
+
const ta = (e, ...t) => hs("Key must be ", e, ...t);
|
|
2173
2170
|
function fs(e, t, ...r) {
|
|
2174
2171
|
return hs(`Key for the ${e} algorithm must be `, t, ...r);
|
|
2175
2172
|
}
|
|
@@ -2179,7 +2176,7 @@ function ps(e) {
|
|
|
2179
2176
|
function ys(e) {
|
|
2180
2177
|
return e?.[Symbol.toStringTag] === "KeyObject";
|
|
2181
2178
|
}
|
|
2182
|
-
const ms = (e) => ps(e) || ys(e),
|
|
2179
|
+
const ms = (e) => ps(e) || ys(e), ra = (...e) => {
|
|
2183
2180
|
const t = e.filter(Boolean);
|
|
2184
2181
|
if (t.length === 0 || t.length === 1)
|
|
2185
2182
|
return !0;
|
|
@@ -2198,11 +2195,11 @@ const ms = (e) => ps(e) || ys(e), sa = (...e) => {
|
|
|
2198
2195
|
}
|
|
2199
2196
|
return !0;
|
|
2200
2197
|
};
|
|
2201
|
-
function
|
|
2198
|
+
function sa(e) {
|
|
2202
2199
|
return typeof e == "object" && e !== null;
|
|
2203
2200
|
}
|
|
2204
2201
|
const Ke = (e) => {
|
|
2205
|
-
if (!
|
|
2202
|
+
if (!sa(e) || Object.prototype.toString.call(e) !== "[object Object]")
|
|
2206
2203
|
return !1;
|
|
2207
2204
|
if (Object.getPrototypeOf(e) === null)
|
|
2208
2205
|
return !0;
|
|
@@ -2210,7 +2207,7 @@ const Ke = (e) => {
|
|
|
2210
2207
|
for (; Object.getPrototypeOf(t) !== null; )
|
|
2211
2208
|
t = Object.getPrototypeOf(t);
|
|
2212
2209
|
return Object.getPrototypeOf(e) === t;
|
|
2213
|
-
},
|
|
2210
|
+
}, na = (e, t) => {
|
|
2214
2211
|
if (e.startsWith("RS") || e.startsWith("PS")) {
|
|
2215
2212
|
const { modulusLength: r } = t.algorithm;
|
|
2216
2213
|
if (typeof r != "number" || r < 2048)
|
|
@@ -2223,7 +2220,7 @@ const Ke = (e) => {
|
|
|
2223
2220
|
if (e[r] !== t[r])
|
|
2224
2221
|
return !1;
|
|
2225
2222
|
return !0;
|
|
2226
|
-
},
|
|
2223
|
+
}, aa = (e) => ({ data: e, pos: 0 }), ct = (e) => {
|
|
2227
2224
|
const t = e.data[e.pos++];
|
|
2228
2225
|
if (t & 128) {
|
|
2229
2226
|
const r = t & 127;
|
|
@@ -2239,18 +2236,18 @@ const Ke = (e) => {
|
|
|
2239
2236
|
}, gs = (e, t) => {
|
|
2240
2237
|
const r = e.data.subarray(e.pos, e.pos + t);
|
|
2241
2238
|
return e.pos += t, r;
|
|
2242
|
-
},
|
|
2239
|
+
}, ia = (e) => {
|
|
2243
2240
|
lt(e, 6, "Expected algorithm OID");
|
|
2244
2241
|
const t = ct(e);
|
|
2245
2242
|
return gs(e, t);
|
|
2246
2243
|
};
|
|
2247
|
-
function
|
|
2244
|
+
function oa(e) {
|
|
2248
2245
|
lt(e, 48, "Invalid SPKI structure"), ct(e), lt(e, 48, "Expected algorithm identifier");
|
|
2249
2246
|
const t = ct(e);
|
|
2250
2247
|
return { algIdStart: e.pos, algIdLength: t };
|
|
2251
2248
|
}
|
|
2252
|
-
const
|
|
2253
|
-
const t =
|
|
2249
|
+
const ca = (e) => {
|
|
2250
|
+
const t = ia(e);
|
|
2254
2251
|
if (St(t, [43, 101, 110]))
|
|
2255
2252
|
return "X25519";
|
|
2256
2253
|
if (!St(t, [42, 134, 72, 206, 61, 2, 1]))
|
|
@@ -2265,7 +2262,7 @@ const la = (e) => {
|
|
|
2265
2262
|
if (St(s, a))
|
|
2266
2263
|
return n;
|
|
2267
2264
|
throw new Error("Unsupported named curve");
|
|
2268
|
-
},
|
|
2265
|
+
}, la = async (e, t, r, s) => {
|
|
2269
2266
|
let n, a;
|
|
2270
2267
|
const i = () => ["verify"], o = () => ["encrypt", "wrapKey"];
|
|
2271
2268
|
switch (r) {
|
|
@@ -2320,15 +2317,15 @@ const la = (e) => {
|
|
|
2320
2317
|
throw new fe('Invalid or unsupported "alg" (Algorithm) value');
|
|
2321
2318
|
}
|
|
2322
2319
|
return crypto.subtle.importKey(e, t, n, s?.extractable ?? !0, a);
|
|
2323
|
-
},
|
|
2324
|
-
const s =
|
|
2320
|
+
}, ua = (e, t) => ds(e.replace(t, "")), da = (e, t, r) => {
|
|
2321
|
+
const s = ua(e, /(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g);
|
|
2325
2322
|
let n = r;
|
|
2326
2323
|
return t?.startsWith?.("ECDH-ES") && (n ||= {}, n.getNamedCurve = (a) => {
|
|
2327
|
-
const i =
|
|
2328
|
-
return
|
|
2329
|
-
}),
|
|
2324
|
+
const i = aa(a);
|
|
2325
|
+
return oa(i), ca(i);
|
|
2326
|
+
}), la("spki", s, t, n);
|
|
2330
2327
|
};
|
|
2331
|
-
function
|
|
2328
|
+
function ha(e) {
|
|
2332
2329
|
let t, r;
|
|
2333
2330
|
switch (e.kty) {
|
|
2334
2331
|
case "AKP": {
|
|
@@ -2413,18 +2410,18 @@ function fa(e) {
|
|
|
2413
2410
|
}
|
|
2414
2411
|
return { algorithm: t, keyUsages: r };
|
|
2415
2412
|
}
|
|
2416
|
-
const
|
|
2413
|
+
const fa = async (e) => {
|
|
2417
2414
|
if (!e.alg)
|
|
2418
2415
|
throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
|
|
2419
|
-
const { algorithm: t, keyUsages: r } =
|
|
2416
|
+
const { algorithm: t, keyUsages: r } = ha(e), s = { ...e };
|
|
2420
2417
|
return s.kty !== "AKP" && delete s.alg, delete s.use, crypto.subtle.importKey("jwk", s, t, e.ext ?? !(e.d || e.priv), e.key_ops ?? r);
|
|
2421
2418
|
};
|
|
2422
|
-
async function
|
|
2419
|
+
async function pa(e, t, r) {
|
|
2423
2420
|
if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
|
|
2424
2421
|
throw new TypeError('"spki" must be SPKI formatted string');
|
|
2425
|
-
return
|
|
2422
|
+
return da(e, t, r);
|
|
2426
2423
|
}
|
|
2427
|
-
const
|
|
2424
|
+
const ya = (e, t, r, s, n) => {
|
|
2428
2425
|
if (n.crit !== void 0 && s?.crit === void 0)
|
|
2429
2426
|
throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
|
|
2430
2427
|
if (!s || s.crit === void 0)
|
|
@@ -2442,7 +2439,7 @@ const ma = (e, t, r, s, n) => {
|
|
|
2442
2439
|
throw new e(`Extension Header Parameter "${i}" MUST be integrity protected`);
|
|
2443
2440
|
}
|
|
2444
2441
|
return new Set(s.crit);
|
|
2445
|
-
},
|
|
2442
|
+
}, ma = (e, t) => {
|
|
2446
2443
|
if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
|
|
2447
2444
|
throw new TypeError(`"${e}" option must be an array of strings`);
|
|
2448
2445
|
if (t)
|
|
@@ -2451,13 +2448,13 @@ const ma = (e, t, r, s, n) => {
|
|
|
2451
2448
|
function Qt(e) {
|
|
2452
2449
|
return Ke(e) && typeof e.kty == "string";
|
|
2453
2450
|
}
|
|
2454
|
-
function
|
|
2451
|
+
function ga(e) {
|
|
2455
2452
|
return e.kty !== "oct" && (e.kty === "AKP" && typeof e.priv == "string" || typeof e.d == "string");
|
|
2456
2453
|
}
|
|
2457
|
-
function
|
|
2454
|
+
function Ea(e) {
|
|
2458
2455
|
return e.kty !== "oct" && typeof e.d > "u" && typeof e.priv > "u";
|
|
2459
2456
|
}
|
|
2460
|
-
function
|
|
2457
|
+
function wa(e) {
|
|
2461
2458
|
return e.kty === "oct" && typeof e.k == "string";
|
|
2462
2459
|
}
|
|
2463
2460
|
let xe;
|
|
@@ -2466,9 +2463,9 @@ const gr = async (e, t, r, s = !1) => {
|
|
|
2466
2463
|
let n = xe.get(e);
|
|
2467
2464
|
if (n?.[r])
|
|
2468
2465
|
return n[r];
|
|
2469
|
-
const a = await
|
|
2466
|
+
const a = await fa({ ...t, alg: r });
|
|
2470
2467
|
return s && Object.freeze(e), n ? n[r] = a : xe.set(e, { [r]: a }), a;
|
|
2471
|
-
},
|
|
2468
|
+
}, Sa = (e, t) => {
|
|
2472
2469
|
xe ||= /* @__PURE__ */ new WeakMap();
|
|
2473
2470
|
let r = xe.get(e);
|
|
2474
2471
|
if (r?.[t])
|
|
@@ -2564,7 +2561,7 @@ const gr = async (e, t, r, s = !1) => {
|
|
|
2564
2561
|
if (!a)
|
|
2565
2562
|
throw new TypeError("given KeyObject instance cannot be used for this algorithm");
|
|
2566
2563
|
return r ? r[t] = a : xe.set(e, { [t]: a }), a;
|
|
2567
|
-
},
|
|
2564
|
+
}, ba = async (e, t) => {
|
|
2568
2565
|
if (e instanceof Uint8Array || ps(e))
|
|
2569
2566
|
return e;
|
|
2570
2567
|
if (ys(e)) {
|
|
@@ -2572,7 +2569,7 @@ const gr = async (e, t, r, s = !1) => {
|
|
|
2572
2569
|
return e.export();
|
|
2573
2570
|
if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
|
|
2574
2571
|
try {
|
|
2575
|
-
return
|
|
2572
|
+
return Sa(e, t);
|
|
2576
2573
|
} catch (s) {
|
|
2577
2574
|
if (s instanceof TypeError)
|
|
2578
2575
|
throw s;
|
|
@@ -2626,10 +2623,10 @@ const gr = async (e, t, r, s = !1) => {
|
|
|
2626
2623
|
throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${s}" when present`);
|
|
2627
2624
|
}
|
|
2628
2625
|
return !0;
|
|
2629
|
-
},
|
|
2626
|
+
}, va = (e, t, r) => {
|
|
2630
2627
|
if (!(t instanceof Uint8Array)) {
|
|
2631
2628
|
if (Qt(t)) {
|
|
2632
|
-
if (
|
|
2629
|
+
if (wa(t) && Ft(e, t, r))
|
|
2633
2630
|
return;
|
|
2634
2631
|
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');
|
|
2635
2632
|
}
|
|
@@ -2638,17 +2635,17 @@ const gr = async (e, t, r, s = !1) => {
|
|
|
2638
2635
|
if (t.type !== "secret")
|
|
2639
2636
|
throw new TypeError(`${Me(t)} instances for symmetric algorithms must be of type "secret"`);
|
|
2640
2637
|
}
|
|
2641
|
-
},
|
|
2638
|
+
}, Ta = (e, t, r) => {
|
|
2642
2639
|
if (Qt(t))
|
|
2643
2640
|
switch (r) {
|
|
2644
2641
|
case "decrypt":
|
|
2645
2642
|
case "sign":
|
|
2646
|
-
if (
|
|
2643
|
+
if (ga(t) && Ft(e, t, r))
|
|
2647
2644
|
return;
|
|
2648
2645
|
throw new TypeError("JSON Web Key for this operation be a private JWK");
|
|
2649
2646
|
case "encrypt":
|
|
2650
2647
|
case "verify":
|
|
2651
|
-
if (
|
|
2648
|
+
if (Ea(t) && Ft(e, t, r))
|
|
2652
2649
|
return;
|
|
2653
2650
|
throw new TypeError("JSON Web Key for this operation be a public JWK");
|
|
2654
2651
|
}
|
|
@@ -2670,9 +2667,9 @@ const gr = async (e, t, r, s = !1) => {
|
|
|
2670
2667
|
case "encrypt":
|
|
2671
2668
|
throw new TypeError(`${Me(t)} instances for asymmetric algorithm encryption must be of type "public"`);
|
|
2672
2669
|
}
|
|
2673
|
-
},
|
|
2674
|
-
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) ?
|
|
2675
|
-
},
|
|
2670
|
+
}, Ia = (e, t, r) => {
|
|
2671
|
+
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) ? va(e, t, r) : Ta(e, t, r);
|
|
2672
|
+
}, _a = (e, t) => {
|
|
2676
2673
|
const r = `SHA-${e.slice(-3)}`;
|
|
2677
2674
|
switch (e) {
|
|
2678
2675
|
case "HS256":
|
|
@@ -2701,24 +2698,24 @@ const gr = async (e, t, r, s = !1) => {
|
|
|
2701
2698
|
default:
|
|
2702
2699
|
throw new fe(`alg ${e} is not supported either by JOSE or your javascript runtime`);
|
|
2703
2700
|
}
|
|
2704
|
-
},
|
|
2701
|
+
}, Aa = async (e, t, r) => {
|
|
2705
2702
|
if (t instanceof Uint8Array) {
|
|
2706
2703
|
if (!e.startsWith("HS"))
|
|
2707
|
-
throw new TypeError(
|
|
2704
|
+
throw new TypeError(ta(t, "CryptoKey", "KeyObject", "JSON Web Key"));
|
|
2708
2705
|
return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
|
|
2709
2706
|
}
|
|
2710
|
-
return
|
|
2711
|
-
},
|
|
2712
|
-
const n = await
|
|
2713
|
-
|
|
2714
|
-
const a =
|
|
2707
|
+
return ea(t, e, r), t;
|
|
2708
|
+
}, Ra = async (e, t, r, s) => {
|
|
2709
|
+
const n = await Aa(e, t, "verify");
|
|
2710
|
+
na(e, n);
|
|
2711
|
+
const a = _a(e, n.algorithm);
|
|
2715
2712
|
try {
|
|
2716
2713
|
return await crypto.subtle.verify(a, n, r, s);
|
|
2717
2714
|
} catch {
|
|
2718
2715
|
return !1;
|
|
2719
2716
|
}
|
|
2720
2717
|
};
|
|
2721
|
-
async function
|
|
2718
|
+
async function Ca(e, t, r) {
|
|
2722
2719
|
if (!Ke(e))
|
|
2723
2720
|
throw new W("Flattened JWS must be an object");
|
|
2724
2721
|
if (e.protected === void 0 && e.header === void 0)
|
|
@@ -2739,38 +2736,38 @@ async function Oa(e, t, r) {
|
|
|
2739
2736
|
} catch {
|
|
2740
2737
|
throw new W("JWS Protected Header is invalid");
|
|
2741
2738
|
}
|
|
2742
|
-
if (!
|
|
2739
|
+
if (!ra(s, e.header))
|
|
2743
2740
|
throw new W("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
|
|
2744
2741
|
const n = {
|
|
2745
2742
|
...s,
|
|
2746
2743
|
...e.header
|
|
2747
|
-
}, a =
|
|
2744
|
+
}, a = ya(W, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, s, n);
|
|
2748
2745
|
let i = !0;
|
|
2749
2746
|
if (a.has("b64") && (i = s.b64, typeof i != "boolean"))
|
|
2750
2747
|
throw new W('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
|
|
2751
2748
|
const { alg: o } = n;
|
|
2752
2749
|
if (typeof o != "string" || !o)
|
|
2753
2750
|
throw new W('JWS "alg" (Algorithm) Header Parameter missing or invalid');
|
|
2754
|
-
const l = r &&
|
|
2751
|
+
const l = r && ma("algorithms", r.algorithms);
|
|
2755
2752
|
if (l && !l.has(o))
|
|
2756
|
-
throw new
|
|
2753
|
+
throw new Jn('"alg" (Algorithm) Header Parameter value not allowed');
|
|
2757
2754
|
if (i) {
|
|
2758
2755
|
if (typeof e.payload != "string")
|
|
2759
2756
|
throw new W("JWS Payload must be a string");
|
|
2760
2757
|
} else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
|
|
2761
2758
|
throw new W("JWS Payload must be a string or an Uint8Array instance");
|
|
2762
2759
|
let f = !1;
|
|
2763
|
-
typeof t == "function" && (t = await t(s, e), f = !0),
|
|
2764
|
-
const d =
|
|
2760
|
+
typeof t == "function" && (t = await t(s, e), f = !0), Ia(o, t, "verify");
|
|
2761
|
+
const d = Qn(je.encode(e.protected ?? ""), je.encode("."), typeof e.payload == "string" ? je.encode(e.payload) : e.payload);
|
|
2765
2762
|
let h;
|
|
2766
2763
|
try {
|
|
2767
2764
|
h = He(e.signature);
|
|
2768
2765
|
} catch {
|
|
2769
2766
|
throw new W("Failed to base64url decode the signature");
|
|
2770
2767
|
}
|
|
2771
|
-
const u = await
|
|
2772
|
-
if (!await
|
|
2773
|
-
throw new
|
|
2768
|
+
const u = await ba(t, o);
|
|
2769
|
+
if (!await Ra(o, u, h, d))
|
|
2770
|
+
throw new Yn();
|
|
2774
2771
|
let p;
|
|
2775
2772
|
if (i)
|
|
2776
2773
|
try {
|
|
@@ -2782,17 +2779,17 @@ async function Oa(e, t, r) {
|
|
|
2782
2779
|
const y = { payload: p };
|
|
2783
2780
|
return e.protected !== void 0 && (y.protectedHeader = s), e.header !== void 0 && (y.unprotectedHeader = e.header), f ? { ...y, key: u } : y;
|
|
2784
2781
|
}
|
|
2785
|
-
async function
|
|
2782
|
+
async function Oa(e, t, r) {
|
|
2786
2783
|
if (e instanceof Uint8Array && (e = Le.decode(e)), typeof e != "string")
|
|
2787
2784
|
throw new W("Compact JWS must be a string or Uint8Array");
|
|
2788
2785
|
const { 0: s, 1: n, 2: a, length: i } = e.split(".");
|
|
2789
2786
|
if (i !== 3)
|
|
2790
2787
|
throw new W("Invalid Compact JWS");
|
|
2791
|
-
const o = await
|
|
2788
|
+
const o = await Ca({ payload: n, protected: s, signature: a }, t, r), l = { payload: o.payload, protectedHeader: o.protectedHeader };
|
|
2792
2789
|
return typeof t == "function" ? { ...l, key: o.key } : l;
|
|
2793
2790
|
}
|
|
2794
|
-
const
|
|
2795
|
-
const t =
|
|
2791
|
+
const ka = (e) => Math.floor(e.getTime() / 1e3), Es = 60, ws = Es * 60, Jt = ws * 24, Pa = Jt * 7, Na = Jt * 365.25, Ma = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, Er = (e) => {
|
|
2792
|
+
const t = Ma.exec(e);
|
|
2796
2793
|
if (!t || t[4] && t[1])
|
|
2797
2794
|
throw new TypeError("Invalid time period format");
|
|
2798
2795
|
const r = parseFloat(t[2]), s = t[3].toLowerCase();
|
|
@@ -2827,15 +2824,15 @@ const Pa = (e) => Math.floor(e.getTime() / 1e3), Es = 60, ws = Es * 60, Jt = ws
|
|
|
2827
2824
|
case "week":
|
|
2828
2825
|
case "weeks":
|
|
2829
2826
|
case "w":
|
|
2830
|
-
n = Math.round(r *
|
|
2827
|
+
n = Math.round(r * Pa);
|
|
2831
2828
|
break;
|
|
2832
2829
|
default:
|
|
2833
|
-
n = Math.round(r *
|
|
2830
|
+
n = Math.round(r * Na);
|
|
2834
2831
|
break;
|
|
2835
2832
|
}
|
|
2836
2833
|
return t[1] === "-" || t[4] === "ago" ? -n : n;
|
|
2837
|
-
}, wr = (e) => e.includes("/") ? e.toLowerCase() : `application/${e.toLowerCase()}`,
|
|
2838
|
-
function
|
|
2834
|
+
}, wr = (e) => e.includes("/") ? e.toLowerCase() : `application/${e.toLowerCase()}`, xa = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
|
|
2835
|
+
function La(e, t, r = {}) {
|
|
2839
2836
|
let s;
|
|
2840
2837
|
try {
|
|
2841
2838
|
s = JSON.parse(Le.decode(t));
|
|
@@ -2855,7 +2852,7 @@ function Da(e, t, r = {}) {
|
|
|
2855
2852
|
throw new ne('unexpected "iss" claim value', s, "iss", "check_failed");
|
|
2856
2853
|
if (o && s.sub !== o)
|
|
2857
2854
|
throw new ne('unexpected "sub" claim value', s, "sub", "check_failed");
|
|
2858
|
-
if (l && !
|
|
2855
|
+
if (l && !xa(s.aud, typeof l == "string" ? [l] : l))
|
|
2859
2856
|
throw new ne('unexpected "aud" claim value', s, "aud", "check_failed");
|
|
2860
2857
|
let h;
|
|
2861
2858
|
switch (typeof r.clockTolerance) {
|
|
@@ -2871,7 +2868,7 @@ function Da(e, t, r = {}) {
|
|
|
2871
2868
|
default:
|
|
2872
2869
|
throw new TypeError("Invalid clockTolerance option type");
|
|
2873
2870
|
}
|
|
2874
|
-
const { currentDate: u } = r, p =
|
|
2871
|
+
const { currentDate: u } = r, p = ka(u || /* @__PURE__ */ new Date());
|
|
2875
2872
|
if ((s.iat !== void 0 || f) && typeof s.iat != "number")
|
|
2876
2873
|
throw new ne('"iat" claim must be a number', s, "iat", "invalid");
|
|
2877
2874
|
if (s.nbf !== void 0) {
|
|
@@ -2895,14 +2892,14 @@ function Da(e, t, r = {}) {
|
|
|
2895
2892
|
}
|
|
2896
2893
|
return s;
|
|
2897
2894
|
}
|
|
2898
|
-
async function
|
|
2899
|
-
const s = await
|
|
2895
|
+
async function Da(e, t, r) {
|
|
2896
|
+
const s = await Oa(e, t, r);
|
|
2900
2897
|
if (s.protectedHeader.crit?.includes("b64") && s.protectedHeader.b64 === !1)
|
|
2901
2898
|
throw new de("JWTs MUST NOT use unencoded payload");
|
|
2902
|
-
const n = { payload:
|
|
2899
|
+
const n = { payload: La(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
|
|
2903
2900
|
return typeof t == "function" ? { ...n, key: s.key } : n;
|
|
2904
2901
|
}
|
|
2905
|
-
function
|
|
2902
|
+
function $a(e) {
|
|
2906
2903
|
if (typeof e != "string")
|
|
2907
2904
|
throw new de("JWTs must use Compact JWS serialization, JWT must be a string");
|
|
2908
2905
|
const { 1: t, length: r } = e.split(".");
|
|
@@ -2930,73 +2927,73 @@ function Ua(e) {
|
|
|
2930
2927
|
}
|
|
2931
2928
|
const Ve = async (e) => {
|
|
2932
2929
|
try {
|
|
2933
|
-
const t = Q.ALG, r = await
|
|
2934
|
-
return await
|
|
2930
|
+
const t = Q.ALG, r = await pa(jn, t);
|
|
2931
|
+
return await Da(e, r, {
|
|
2935
2932
|
issuer: Q.ISSUER
|
|
2936
2933
|
});
|
|
2937
2934
|
} catch {
|
|
2938
2935
|
return;
|
|
2939
2936
|
}
|
|
2940
|
-
},
|
|
2937
|
+
}, Ua = (e) => {
|
|
2941
2938
|
try {
|
|
2942
|
-
return
|
|
2939
|
+
return $a(e);
|
|
2943
2940
|
} catch {
|
|
2944
2941
|
return;
|
|
2945
2942
|
}
|
|
2946
2943
|
}, z = [];
|
|
2947
2944
|
for (let e = 0; e < 256; ++e)
|
|
2948
2945
|
z.push((e + 256).toString(16).slice(1));
|
|
2949
|
-
function
|
|
2946
|
+
function Ha(e, t = 0) {
|
|
2950
2947
|
return (z[e[t + 0]] + z[e[t + 1]] + z[e[t + 2]] + z[e[t + 3]] + "-" + z[e[t + 4]] + z[e[t + 5]] + "-" + z[e[t + 6]] + z[e[t + 7]] + "-" + z[e[t + 8]] + z[e[t + 9]] + "-" + z[e[t + 10]] + z[e[t + 11]] + z[e[t + 12]] + z[e[t + 13]] + z[e[t + 14]] + z[e[t + 15]]).toLowerCase();
|
|
2951
2948
|
}
|
|
2952
2949
|
let bt;
|
|
2953
|
-
const
|
|
2954
|
-
function
|
|
2950
|
+
const Fa = new Uint8Array(16);
|
|
2951
|
+
function Ba() {
|
|
2955
2952
|
if (!bt) {
|
|
2956
2953
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
2957
2954
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
2958
2955
|
bt = crypto.getRandomValues.bind(crypto);
|
|
2959
2956
|
}
|
|
2960
|
-
return bt(
|
|
2957
|
+
return bt(Fa);
|
|
2961
2958
|
}
|
|
2962
|
-
const
|
|
2959
|
+
const Ka = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Sr = { randomUUID: Ka };
|
|
2963
2960
|
function br(e, t, r) {
|
|
2964
2961
|
if (Sr.randomUUID && !e)
|
|
2965
2962
|
return Sr.randomUUID();
|
|
2966
2963
|
e = e || {};
|
|
2967
|
-
const s = e.random ?? e.rng?.() ??
|
|
2964
|
+
const s = e.random ?? e.rng?.() ?? Ba();
|
|
2968
2965
|
if (s.length < 16)
|
|
2969
2966
|
throw new Error("Random bytes length must be >= 16");
|
|
2970
|
-
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128,
|
|
2967
|
+
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, Ha(s);
|
|
2971
2968
|
}
|
|
2972
|
-
const vr = globalThis.crypto,
|
|
2969
|
+
const vr = globalThis.crypto, Va = (e) => `${br()}${br()}`.slice(0, e), Ga = (e) => btoa(
|
|
2973
2970
|
[...new Uint8Array(e)].map((t) => String.fromCharCode(t)).join("")
|
|
2974
2971
|
);
|
|
2975
|
-
async function
|
|
2972
|
+
async function za(e) {
|
|
2976
2973
|
if (!vr.subtle)
|
|
2977
2974
|
throw new Error(
|
|
2978
2975
|
"crypto.subtle is available only in secure contexts (HTTPS)."
|
|
2979
2976
|
);
|
|
2980
2977
|
const t = new TextEncoder().encode(e), r = await vr.subtle.digest("SHA-256", t);
|
|
2981
|
-
return
|
|
2978
|
+
return Ga(r).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
2982
2979
|
}
|
|
2983
|
-
async function
|
|
2984
|
-
const r =
|
|
2980
|
+
async function qa(e) {
|
|
2981
|
+
const r = Va(43), s = await za(r);
|
|
2985
2982
|
return {
|
|
2986
2983
|
code_verifier: r,
|
|
2987
2984
|
code_challenge: s
|
|
2988
2985
|
};
|
|
2989
2986
|
}
|
|
2990
2987
|
const Ss = Vt(null);
|
|
2991
|
-
var
|
|
2988
|
+
var Wa = Object.defineProperty, ja = (e, t, r) => t in e ? Wa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t, r) => ja(e, typeof t != "symbol" ? t + "" : t, r);
|
|
2992
2989
|
/*!
|
|
2993
|
-
@versini/auth-provider v8.0
|
|
2990
|
+
@versini/auth-provider v8.1.0
|
|
2994
2991
|
© 2025 gizmette.com
|
|
2995
2992
|
*/
|
|
2996
2993
|
try {
|
|
2997
2994
|
window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
|
|
2998
|
-
version: "8.0
|
|
2999
|
-
buildTime: "
|
|
2995
|
+
version: "8.1.0",
|
|
2996
|
+
buildTime: "11/26/2025 08:59 PM EST",
|
|
3000
2997
|
homepage: "https://github.com/aversini/auth-client",
|
|
3001
2998
|
license: "MIT"
|
|
3002
2999
|
});
|
|
@@ -3016,9 +3013,9 @@ function ut(e) {
|
|
|
3016
3013
|
return a;
|
|
3017
3014
|
}
|
|
3018
3015
|
function Yt() {
|
|
3019
|
-
return
|
|
3016
|
+
return Qa.stubThis(globalThis?.PublicKeyCredential !== void 0 && typeof globalThis.PublicKeyCredential == "function");
|
|
3020
3017
|
}
|
|
3021
|
-
const
|
|
3018
|
+
const Qa = {
|
|
3022
3019
|
stubThis: (e) => e
|
|
3023
3020
|
};
|
|
3024
3021
|
function bs(e) {
|
|
@@ -3050,7 +3047,7 @@ class j extends Error {
|
|
|
3050
3047
|
}), this.name = n ?? s.name, this.code = r;
|
|
3051
3048
|
}
|
|
3052
3049
|
}
|
|
3053
|
-
function
|
|
3050
|
+
function Ja({ error: e, options: t }) {
|
|
3054
3051
|
const { publicKey: r } = t;
|
|
3055
3052
|
if (!r)
|
|
3056
3053
|
throw Error("options was missing required publicKey property");
|
|
@@ -3136,7 +3133,7 @@ function Ya({ error: e, options: t }) {
|
|
|
3136
3133
|
}
|
|
3137
3134
|
return e;
|
|
3138
3135
|
}
|
|
3139
|
-
class
|
|
3136
|
+
class Ya {
|
|
3140
3137
|
constructor() {
|
|
3141
3138
|
Object.defineProperty(this, "controller", {
|
|
3142
3139
|
enumerable: !0,
|
|
@@ -3160,12 +3157,12 @@ class Xa {
|
|
|
3160
3157
|
}
|
|
3161
3158
|
}
|
|
3162
3159
|
}
|
|
3163
|
-
const Ts = new
|
|
3160
|
+
const Ts = new Ya(), Xa = ["cross-platform", "platform"];
|
|
3164
3161
|
function Is(e) {
|
|
3165
|
-
if (e && !(
|
|
3162
|
+
if (e && !(Xa.indexOf(e) < 0))
|
|
3166
3163
|
return e;
|
|
3167
3164
|
}
|
|
3168
|
-
async function
|
|
3165
|
+
async function Za(e) {
|
|
3169
3166
|
!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 });
|
|
3170
3167
|
const { optionsJSON: t, useAutoRegister: r = !1 } = e;
|
|
3171
3168
|
if (!Yt())
|
|
@@ -3184,7 +3181,7 @@ async function ei(e) {
|
|
|
3184
3181
|
try {
|
|
3185
3182
|
a = await navigator.credentials.create(n);
|
|
3186
3183
|
} catch (y) {
|
|
3187
|
-
throw
|
|
3184
|
+
throw Ja({ error: y, options: n });
|
|
3188
3185
|
}
|
|
3189
3186
|
if (!a)
|
|
3190
3187
|
throw new Error("Registration was not completed");
|
|
@@ -3233,7 +3230,7 @@ function Tt(e, t) {
|
|
|
3233
3230
|
console.warn(`The browser extension that intercepted this WebAuthn API call incorrectly implemented ${e}. You should report this error to them.
|
|
3234
3231
|
`, t);
|
|
3235
3232
|
}
|
|
3236
|
-
function
|
|
3233
|
+
function ei() {
|
|
3237
3234
|
if (!Yt())
|
|
3238
3235
|
return It.stubThis(new Promise((t) => t(!1)));
|
|
3239
3236
|
const e = globalThis.PublicKeyCredential;
|
|
@@ -3242,7 +3239,7 @@ function ti() {
|
|
|
3242
3239
|
const It = {
|
|
3243
3240
|
stubThis: (e) => e
|
|
3244
3241
|
};
|
|
3245
|
-
function
|
|
3242
|
+
function ti({ error: e, options: t }) {
|
|
3246
3243
|
const { publicKey: r } = t;
|
|
3247
3244
|
if (!r)
|
|
3248
3245
|
throw Error("options was missing required publicKey property");
|
|
@@ -3283,7 +3280,7 @@ function ri({ error: e, options: t }) {
|
|
|
3283
3280
|
}
|
|
3284
3281
|
return e;
|
|
3285
3282
|
}
|
|
3286
|
-
async function
|
|
3283
|
+
async function ri(e) {
|
|
3287
3284
|
!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 });
|
|
3288
3285
|
const { optionsJSON: t, useBrowserAutofill: r = !1, verifyBrowserAutofillInput: s = !0 } = e;
|
|
3289
3286
|
if (!Yt())
|
|
@@ -3296,7 +3293,7 @@ async function si(e) {
|
|
|
3296
3293
|
allowCredentials: n
|
|
3297
3294
|
}, i = {};
|
|
3298
3295
|
if (r) {
|
|
3299
|
-
if (!await
|
|
3296
|
+
if (!await ei())
|
|
3300
3297
|
throw Error("Browser does not support WebAuthn autofill");
|
|
3301
3298
|
if (document.querySelectorAll("input[autocomplete$='webauthn']").length < 1 && s)
|
|
3302
3299
|
throw Error('No <input> with "webauthn" as the only or last value in its `autocomplete` attribute was detected');
|
|
@@ -3307,7 +3304,7 @@ async function si(e) {
|
|
|
3307
3304
|
try {
|
|
3308
3305
|
o = await navigator.credentials.get(i);
|
|
3309
3306
|
} catch (p) {
|
|
3310
|
-
throw
|
|
3307
|
+
throw ti({ error: p, options: i });
|
|
3311
3308
|
}
|
|
3312
3309
|
if (!o)
|
|
3313
3310
|
throw new Error("Authentication was not completed");
|
|
@@ -3335,18 +3332,18 @@ const Tr = (e, t) => {
|
|
|
3335
3332
|
typeof t == "function" ? t() : t
|
|
3336
3333
|
);
|
|
3337
3334
|
window.localStorage.setItem(e, r), _s(e, r);
|
|
3338
|
-
},
|
|
3335
|
+
}, si = (e) => {
|
|
3339
3336
|
window.localStorage.removeItem(e), _s(e, null);
|
|
3340
|
-
}, Ir = (e) => window.localStorage.getItem(e),
|
|
3337
|
+
}, Ir = (e) => window.localStorage.getItem(e), ni = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
|
|
3341
3338
|
function Qe({
|
|
3342
3339
|
key: e,
|
|
3343
3340
|
initialValue: t
|
|
3344
3341
|
}) {
|
|
3345
|
-
const r = Vr(
|
|
3342
|
+
const r = Vr(ni, () => Ir(e)), s = M(
|
|
3346
3343
|
(i) => {
|
|
3347
3344
|
try {
|
|
3348
3345
|
const o = typeof i == "function" ? i(JSON.parse(r)) : i;
|
|
3349
|
-
o == null ?
|
|
3346
|
+
o == null ? si(e) : Tr(e, o);
|
|
3350
3347
|
} catch (o) {
|
|
3351
3348
|
console.warn(o);
|
|
3352
3349
|
}
|
|
@@ -3368,30 +3365,30 @@ function Qe({
|
|
|
3368
3365
|
const q = [];
|
|
3369
3366
|
for (let e = 0; e < 256; ++e)
|
|
3370
3367
|
q.push((e + 256).toString(16).slice(1));
|
|
3371
|
-
function
|
|
3368
|
+
function ai(e, t = 0) {
|
|
3372
3369
|
return (q[e[t + 0]] + q[e[t + 1]] + q[e[t + 2]] + q[e[t + 3]] + "-" + q[e[t + 4]] + q[e[t + 5]] + "-" + q[e[t + 6]] + q[e[t + 7]] + "-" + q[e[t + 8]] + q[e[t + 9]] + "-" + q[e[t + 10]] + q[e[t + 11]] + q[e[t + 12]] + q[e[t + 13]] + q[e[t + 14]] + q[e[t + 15]]).toLowerCase();
|
|
3373
3370
|
}
|
|
3374
3371
|
let _t;
|
|
3375
|
-
const
|
|
3376
|
-
function
|
|
3372
|
+
const ii = new Uint8Array(16);
|
|
3373
|
+
function oi() {
|
|
3377
3374
|
if (!_t) {
|
|
3378
3375
|
if (typeof crypto > "u" || !crypto.getRandomValues)
|
|
3379
3376
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
3380
3377
|
_t = crypto.getRandomValues.bind(crypto);
|
|
3381
3378
|
}
|
|
3382
|
-
return _t(
|
|
3379
|
+
return _t(ii);
|
|
3383
3380
|
}
|
|
3384
|
-
const
|
|
3381
|
+
const ci = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), _r = { randomUUID: ci };
|
|
3385
3382
|
function At(e, t, r) {
|
|
3386
3383
|
if (_r.randomUUID && !e)
|
|
3387
3384
|
return _r.randomUUID();
|
|
3388
3385
|
e = e || {};
|
|
3389
|
-
const s = e.random ?? e.rng?.() ??
|
|
3386
|
+
const s = e.random ?? e.rng?.() ?? oi();
|
|
3390
3387
|
if (s.length < 16)
|
|
3391
3388
|
throw new Error("Random bytes length must be >= 16");
|
|
3392
|
-
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128,
|
|
3389
|
+
return s[6] = s[6] & 15 | 64, s[8] = s[8] & 63 | 128, ai(s);
|
|
3393
3390
|
}
|
|
3394
|
-
const Oe = "Your session has expired. For your security, please log in again to continue.",
|
|
3391
|
+
const Oe = "Your session has expired. For your security, please log in again to continue.", li = "Your session has been successfully terminated.", Rt = "Login failed. Please try again.", ui = "Error getting access token, please re-authenticate.", di = "You forgot to wrap your component in <AuthProvider>.", Je = "@@auth@@", $e = "LOADING", tt = "LOGIN", As = "LOGOUT", qe = "success", ce = "failure", Rs = "include", Cs = "POST", Os = "application/json", Ye = {
|
|
3395
3392
|
GET_REGISTRATION_OPTIONS: `mutation GetPasskeyRegistrationOptions(
|
|
3396
3393
|
$clientId: String!,
|
|
3397
3394
|
$username: String!,
|
|
@@ -3546,21 +3543,21 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
|
3546
3543
|
} catch (n) {
|
|
3547
3544
|
return console.error(n), { status: ce, data: [] };
|
|
3548
3545
|
}
|
|
3549
|
-
},
|
|
3546
|
+
}, hi = process.env.NODE_ENV === "production", fi = !hi, ks = {
|
|
3550
3547
|
isLoading: !0,
|
|
3551
3548
|
isAuthenticated: !1,
|
|
3552
3549
|
user: void 0,
|
|
3553
3550
|
logoutReason: "",
|
|
3554
3551
|
debug: !1,
|
|
3555
3552
|
authenticationType: ""
|
|
3556
|
-
},
|
|
3553
|
+
}, pi = (e) => {
|
|
3557
3554
|
try {
|
|
3558
|
-
const t =
|
|
3555
|
+
const t = Ua(e);
|
|
3559
3556
|
return t ? t[Q.USER_ID_KEY] : "";
|
|
3560
3557
|
} catch {
|
|
3561
3558
|
return "";
|
|
3562
3559
|
}
|
|
3563
|
-
},
|
|
3560
|
+
}, yi = async ({
|
|
3564
3561
|
userId: e,
|
|
3565
3562
|
clientId: t,
|
|
3566
3563
|
domain: r,
|
|
@@ -3585,7 +3582,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
|
3585
3582
|
status: ce
|
|
3586
3583
|
};
|
|
3587
3584
|
}
|
|
3588
|
-
},
|
|
3585
|
+
}, mi = async ({
|
|
3589
3586
|
username: e,
|
|
3590
3587
|
password: t,
|
|
3591
3588
|
clientId: r,
|
|
@@ -3630,7 +3627,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
|
3630
3627
|
status: !1
|
|
3631
3628
|
};
|
|
3632
3629
|
}
|
|
3633
|
-
},
|
|
3630
|
+
}, gi = async ({
|
|
3634
3631
|
nonce: e,
|
|
3635
3632
|
clientId: t,
|
|
3636
3633
|
code_challenge: r,
|
|
@@ -3660,7 +3657,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
|
3660
3657
|
data: ""
|
|
3661
3658
|
};
|
|
3662
3659
|
}
|
|
3663
|
-
},
|
|
3660
|
+
}, Ei = async ({
|
|
3664
3661
|
clientId: e,
|
|
3665
3662
|
userId: t,
|
|
3666
3663
|
nonce: r,
|
|
@@ -3697,7 +3694,7 @@ const Oe = "Your session has expired. For your security, please log in again to
|
|
|
3697
3694
|
};
|
|
3698
3695
|
}
|
|
3699
3696
|
};
|
|
3700
|
-
class
|
|
3697
|
+
class wi {
|
|
3701
3698
|
constructor(t = null, r = null) {
|
|
3702
3699
|
vt(this, "refreshTokenPromise", null), vt(this, "accessToken"), vt(this, "refreshToken"), this.accessToken = t || "", this.refreshToken = r || "";
|
|
3703
3700
|
}
|
|
@@ -3730,7 +3727,7 @@ class Si {
|
|
|
3730
3727
|
}) {
|
|
3731
3728
|
const i = await Ve(this.refreshToken);
|
|
3732
3729
|
if (i && i.payload[Q.USER_ID_KEY] !== "") {
|
|
3733
|
-
const o = await
|
|
3730
|
+
const o = await Ei({
|
|
3734
3731
|
endpoint: t,
|
|
3735
3732
|
clientId: r,
|
|
3736
3733
|
userId: s,
|
|
@@ -3753,7 +3750,7 @@ class Si {
|
|
|
3753
3750
|
}
|
|
3754
3751
|
}
|
|
3755
3752
|
const Ne = () => {
|
|
3756
|
-
throw new Error(
|
|
3753
|
+
throw new Error(di);
|
|
3757
3754
|
}, Ps = Vt({
|
|
3758
3755
|
isAuthenticated: !1,
|
|
3759
3756
|
isLoading: !1,
|
|
@@ -3765,18 +3762,18 @@ const Ne = () => {
|
|
|
3765
3762
|
loginWithPasskey: Ne,
|
|
3766
3763
|
logoutReason: "",
|
|
3767
3764
|
authenticationType: ""
|
|
3768
|
-
}),
|
|
3765
|
+
}), Si = () => ({
|
|
3769
3766
|
...ze(Ps)
|
|
3770
|
-
}),
|
|
3767
|
+
}), bi = (e) => M(
|
|
3771
3768
|
(...t) => {
|
|
3772
3769
|
e && console.info(`==> [Auth ${Date.now()}]: `, ...t);
|
|
3773
3770
|
},
|
|
3774
3771
|
[e]
|
|
3775
|
-
),
|
|
3772
|
+
), vi = ee.createContext({
|
|
3776
3773
|
state: ks,
|
|
3777
3774
|
dispatch: () => {
|
|
3778
3775
|
}
|
|
3779
|
-
}),
|
|
3776
|
+
}), Ti = (e, t) => t?.type === $e ? {
|
|
3780
3777
|
...e,
|
|
3781
3778
|
isLoading: t.payload.isLoading
|
|
3782
3779
|
} : t?.type === tt ? {
|
|
@@ -3793,8 +3790,8 @@ const Ne = () => {
|
|
|
3793
3790
|
user: void 0,
|
|
3794
3791
|
authenticationType: "",
|
|
3795
3792
|
logoutReason: t.payload.logoutReason
|
|
3796
|
-
} : e,
|
|
3797
|
-
const t =
|
|
3793
|
+
} : e, Ii = ({ children: e }) => {
|
|
3794
|
+
const t = Si();
|
|
3798
3795
|
return /* @__PURE__ */ c(Ss.Provider, { value: t, children: e });
|
|
3799
3796
|
}, Ar = ({
|
|
3800
3797
|
children: e,
|
|
@@ -3802,12 +3799,12 @@ const Ne = () => {
|
|
|
3802
3799
|
clientId: r,
|
|
3803
3800
|
domain: s = "",
|
|
3804
3801
|
debug: n = !1,
|
|
3805
|
-
endpoint: a =
|
|
3802
|
+
endpoint: a = fi ? "https://auth.gizmette.local.com:3003" : "https://mylogin.gizmette.com/auth"
|
|
3806
3803
|
}) => {
|
|
3807
|
-
const [i, o] = Kr(
|
|
3804
|
+
const [i, o] = Kr(Ti, {
|
|
3808
3805
|
...ks,
|
|
3809
3806
|
debug: n
|
|
3810
|
-
}), l =
|
|
3807
|
+
}), l = bi(n), f = B(!1), [d, h, , u] = Qe({
|
|
3811
3808
|
key: `${Je}::${r}::@@user@@`
|
|
3812
3809
|
}), [p, y, , g] = Qe({
|
|
3813
3810
|
key: `${Je}::${r}::@@access@@`
|
|
@@ -3817,7 +3814,7 @@ const Ne = () => {
|
|
|
3817
3814
|
}
|
|
3818
3815
|
), [R, Y, , P] = Qe({
|
|
3819
3816
|
key: `${Je}::${r}::@@nonce@@`
|
|
3820
|
-
}), se = new
|
|
3817
|
+
}), se = new wi(p, w), N = M(() => {
|
|
3821
3818
|
l("removeLocalStorage: removing local storage"), u(), g(), x(), P();
|
|
3822
3819
|
}, [
|
|
3823
3820
|
g,
|
|
@@ -3841,10 +3838,10 @@ const Ne = () => {
|
|
|
3841
3838
|
), G = M(
|
|
3842
3839
|
async (v) => {
|
|
3843
3840
|
l("invalidateAndLogout: invalidating and logging out");
|
|
3844
|
-
const { user: _ } = i, T = _?.userId ||
|
|
3841
|
+
const { user: _ } = i, T = _?.userId || pi(d);
|
|
3845
3842
|
T || l(
|
|
3846
3843
|
"invalidateAndLogout: user cannot be identified, logging out without userId"
|
|
3847
|
-
), await
|
|
3844
|
+
), await yi({
|
|
3848
3845
|
userId: T,
|
|
3849
3846
|
clientId: r,
|
|
3850
3847
|
domain: s,
|
|
@@ -3891,14 +3888,14 @@ const Ne = () => {
|
|
|
3891
3888
|
o({ type: $e, payload: { isLoading: !0 } }), N();
|
|
3892
3889
|
const T = At();
|
|
3893
3890
|
Y(T), l("login: Logging in with password");
|
|
3894
|
-
const { code_verifier: ge, code_challenge: Ee } = await
|
|
3891
|
+
const { code_verifier: ge, code_challenge: Ee } = await qa(), nr = await gi({
|
|
3895
3892
|
endpoint: a,
|
|
3896
3893
|
nonce: T,
|
|
3897
3894
|
clientId: r,
|
|
3898
3895
|
code_challenge: Ee
|
|
3899
3896
|
});
|
|
3900
3897
|
if (nr.status) {
|
|
3901
|
-
const Re = await
|
|
3898
|
+
const Re = await mi({
|
|
3902
3899
|
endpoint: a,
|
|
3903
3900
|
username: v,
|
|
3904
3901
|
password: _,
|
|
@@ -3925,7 +3922,7 @@ const Ne = () => {
|
|
|
3925
3922
|
}
|
|
3926
3923
|
return !1;
|
|
3927
3924
|
}, C = async (v) => {
|
|
3928
|
-
v?.preventDefault(), await G(
|
|
3925
|
+
v?.preventDefault(), await G(li);
|
|
3929
3926
|
}, D = async () => {
|
|
3930
3927
|
const { isAuthenticated: v, user: _ } = i;
|
|
3931
3928
|
try {
|
|
@@ -3954,7 +3951,7 @@ const Ne = () => {
|
|
|
3954
3951
|
} catch {
|
|
3955
3952
|
return l(
|
|
3956
3953
|
"getAccessToken: exception occurred, invalidating and logging out"
|
|
3957
|
-
), await G(
|
|
3954
|
+
), await G(ui), "";
|
|
3958
3955
|
}
|
|
3959
3956
|
}, te = () => i.isAuthenticated && d ? d : "", me = async () => {
|
|
3960
3957
|
const { user: v } = i;
|
|
@@ -3971,7 +3968,7 @@ const Ne = () => {
|
|
|
3971
3968
|
});
|
|
3972
3969
|
if (_.status)
|
|
3973
3970
|
try {
|
|
3974
|
-
const T = await
|
|
3971
|
+
const T = await Za({
|
|
3975
3972
|
optionsJSON: _.data
|
|
3976
3973
|
});
|
|
3977
3974
|
return _ = await Pe({
|
|
@@ -4018,7 +4015,7 @@ const Ne = () => {
|
|
|
4018
4015
|
});
|
|
4019
4016
|
if (T.status)
|
|
4020
4017
|
try {
|
|
4021
|
-
const ge = await
|
|
4018
|
+
const ge = await ri({
|
|
4022
4019
|
optionsJSON: T.data
|
|
4023
4020
|
});
|
|
4024
4021
|
return T = await Pe({
|
|
@@ -4064,7 +4061,7 @@ const Ne = () => {
|
|
|
4064
4061
|
}
|
|
4065
4062
|
return !1;
|
|
4066
4063
|
};
|
|
4067
|
-
return /* @__PURE__ */ c(
|
|
4064
|
+
return /* @__PURE__ */ c(vi.Provider, { value: { state: i, dispatch: o }, children: /* @__PURE__ */ c(
|
|
4068
4065
|
Ps.Provider,
|
|
4069
4066
|
{
|
|
4070
4067
|
value: {
|
|
@@ -4076,18 +4073,18 @@ const Ne = () => {
|
|
|
4076
4073
|
registeringForPasskey: me,
|
|
4077
4074
|
loginWithPasskey: Ae
|
|
4078
4075
|
},
|
|
4079
|
-
children: /* @__PURE__ */ c(
|
|
4076
|
+
children: /* @__PURE__ */ c(Ii, { children: e })
|
|
4080
4077
|
}
|
|
4081
4078
|
) });
|
|
4082
4079
|
};
|
|
4083
4080
|
/*!
|
|
4084
|
-
@versini/auth-provider v8.0
|
|
4081
|
+
@versini/auth-provider v8.1.0
|
|
4085
4082
|
© 2025 gizmette.com
|
|
4086
4083
|
*/
|
|
4087
4084
|
try {
|
|
4088
4085
|
window.__VERSINI_AUTH_CLIENT__ || (window.__VERSINI_AUTH_CLIENT__ = {
|
|
4089
|
-
version: "8.0
|
|
4090
|
-
buildTime: "
|
|
4086
|
+
version: "8.1.0",
|
|
4087
|
+
buildTime: "11/26/2025 08:59 PM EST",
|
|
4091
4088
|
homepage: "https://github.com/aversini/auth-client",
|
|
4092
4089
|
license: "MIT"
|
|
4093
4090
|
});
|
|
@@ -4098,7 +4095,7 @@ const Ns = () => {
|
|
|
4098
4095
|
if (!e)
|
|
4099
4096
|
throw new Error("useAuth must be used within an AuthHookProvider");
|
|
4100
4097
|
return e;
|
|
4101
|
-
},
|
|
4098
|
+
}, Gc = "I'm having trouble right now. Please try again later.", zc = "action-search", qc = "action-sort", Wc = "action-toggle-prompt", jc = "action-reset-prompt", Ms = "sassy-saint-", Qc = "search", Jc = "sort", Yc = "sort-timestamp", Xc = "sort-token-usage", Zc = "sort-memory-direction", el = "sort-memory-column", tl = "favorites-only", rl = "private-disclosure", sl = "reasoning-disclosure", xs = "service-worker", nl = "chat-id", al = "sassysaint-oled-mode", il = "sassysaint-full-screen", Rr = "data-oled-mode", Cr = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", ol = 20, cl = 30, ll = "av-prompt", ul = "av-prompt-editable", dl = "size-5 sm:size-4", hl = 30, fl = 15, pl = 130, yl = 160, ml = 16, gl = 24, El = 76, wl = 76;
|
|
4102
4099
|
let Ct = null, he = !1;
|
|
4103
4100
|
typeof window < "u" && "serviceWorker" in navigator && navigator.serviceWorker.addEventListener("controllerchange", () => {
|
|
4104
4101
|
he && (he = !1, window.location.reload());
|
|
@@ -4112,7 +4109,7 @@ function Bt() {
|
|
|
4112
4109
|
);
|
|
4113
4110
|
return e === null ? !1 : e === "true";
|
|
4114
4111
|
}
|
|
4115
|
-
function
|
|
4112
|
+
function _i(e) {
|
|
4116
4113
|
localStorage.setItem(
|
|
4117
4114
|
Ms + xs,
|
|
4118
4115
|
e.toString()
|
|
@@ -4138,7 +4135,7 @@ async function Ls() {
|
|
|
4138
4135
|
return console.error("[SW] Service worker registration failed:", e), !1;
|
|
4139
4136
|
}
|
|
4140
4137
|
}
|
|
4141
|
-
async function
|
|
4138
|
+
async function Ai() {
|
|
4142
4139
|
if (!Xt())
|
|
4143
4140
|
return !1;
|
|
4144
4141
|
try {
|
|
@@ -4148,8 +4145,8 @@ async function Ri() {
|
|
|
4148
4145
|
return console.error("[SW] Service worker un-registration failed:", e), !1;
|
|
4149
4146
|
}
|
|
4150
4147
|
}
|
|
4151
|
-
async function
|
|
4152
|
-
if (
|
|
4148
|
+
async function Sl(e) {
|
|
4149
|
+
if (_i(e), e) {
|
|
4153
4150
|
he = !0;
|
|
4154
4151
|
try {
|
|
4155
4152
|
sessionStorage.setItem("sw-toggle-pending", "enabled");
|
|
@@ -4170,14 +4167,14 @@ async function vl(e) {
|
|
|
4170
4167
|
} catch {
|
|
4171
4168
|
}
|
|
4172
4169
|
try {
|
|
4173
|
-
Xt() && await
|
|
4170
|
+
Xt() && await Ri();
|
|
4174
4171
|
} catch (t) {
|
|
4175
4172
|
console.warn("[SW] Failed to invalidate cache:", t);
|
|
4176
4173
|
}
|
|
4177
|
-
await
|
|
4174
|
+
await Ai(), window.location.reload();
|
|
4178
4175
|
}
|
|
4179
4176
|
}
|
|
4180
|
-
async function
|
|
4177
|
+
async function Ri() {
|
|
4181
4178
|
try {
|
|
4182
4179
|
if ("caches" in window) {
|
|
4183
4180
|
const e = await caches.keys();
|
|
@@ -4203,7 +4200,7 @@ async function Ci() {
|
|
|
4203
4200
|
function Ot() {
|
|
4204
4201
|
return "unknown";
|
|
4205
4202
|
}
|
|
4206
|
-
async function
|
|
4203
|
+
async function bl(e = {}) {
|
|
4207
4204
|
const { urlLimitPerCache: t } = e;
|
|
4208
4205
|
if (!("caches" in window))
|
|
4209
4206
|
return { version: Ot(), caches: [], totalItems: 0 };
|
|
@@ -4231,7 +4228,7 @@ async function Tl(e = {}) {
|
|
|
4231
4228
|
}
|
|
4232
4229
|
}
|
|
4233
4230
|
const Or = (e) => Number.isFinite(e) ? e : 0;
|
|
4234
|
-
function
|
|
4231
|
+
function Ci(e) {
|
|
4235
4232
|
return {
|
|
4236
4233
|
days: Math.trunc(e / 864e5),
|
|
4237
4234
|
hours: Math.trunc(e / 36e5 % 24),
|
|
@@ -4242,7 +4239,7 @@ function Oi(e) {
|
|
|
4242
4239
|
nanoseconds: Math.trunc(Or(e * 1e6) % 1e3)
|
|
4243
4240
|
};
|
|
4244
4241
|
}
|
|
4245
|
-
function
|
|
4242
|
+
function Oi(e) {
|
|
4246
4243
|
return {
|
|
4247
4244
|
days: e / 86400000n,
|
|
4248
4245
|
hours: e / 3600000n % 24n,
|
|
@@ -4253,20 +4250,20 @@ function ki(e) {
|
|
|
4253
4250
|
nanoseconds: 0n
|
|
4254
4251
|
};
|
|
4255
4252
|
}
|
|
4256
|
-
function
|
|
4253
|
+
function ki(e) {
|
|
4257
4254
|
switch (typeof e) {
|
|
4258
4255
|
case "number": {
|
|
4259
4256
|
if (Number.isFinite(e))
|
|
4260
|
-
return
|
|
4257
|
+
return Ci(e);
|
|
4261
4258
|
break;
|
|
4262
4259
|
}
|
|
4263
4260
|
case "bigint":
|
|
4264
|
-
return
|
|
4261
|
+
return Oi(e);
|
|
4265
4262
|
}
|
|
4266
4263
|
throw new TypeError("Expected a finite number or bigint");
|
|
4267
4264
|
}
|
|
4268
|
-
const
|
|
4269
|
-
function
|
|
4265
|
+
const Pi = (e) => e === 0 || e === 0n, Ni = (e, t) => t === 1 || t === 1n ? e : `${e}s`, Mi = 1e-7, xi = 24n * 60n * 60n * 1000n;
|
|
4266
|
+
function Li(e, t) {
|
|
4270
4267
|
const r = typeof e == "bigint";
|
|
4271
4268
|
if (!r && !Number.isFinite(e))
|
|
4272
4269
|
throw new TypeError("Expected a finite number or bigint");
|
|
@@ -4275,18 +4272,18 @@ function Di(e, t) {
|
|
|
4275
4272
|
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);
|
|
4276
4273
|
let n = [];
|
|
4277
4274
|
const a = (d, h) => {
|
|
4278
|
-
const u = Math.floor(d * 10 ** h +
|
|
4275
|
+
const u = Math.floor(d * 10 ** h + Mi);
|
|
4279
4276
|
return (Math.round(u) / 10 ** h).toFixed(h);
|
|
4280
4277
|
}, i = (d, h, u, p) => {
|
|
4281
|
-
if (!((n.length === 0 || !t.colonNotation) &&
|
|
4278
|
+
if (!((n.length === 0 || !t.colonNotation) && Pi(d) && !(t.colonNotation && u === "m"))) {
|
|
4282
4279
|
if (p ??= String(d), t.colonNotation) {
|
|
4283
4280
|
const y = p.includes(".") ? p.split(".")[0].length : p.length, g = n.length > 0 ? 2 : 1;
|
|
4284
4281
|
p = "0".repeat(Math.max(0, g - y)) + p;
|
|
4285
4282
|
} else
|
|
4286
|
-
p += t.verbose ? " " +
|
|
4283
|
+
p += t.verbose ? " " + Ni(h, d) : u;
|
|
4287
4284
|
n.push(p);
|
|
4288
4285
|
}
|
|
4289
|
-
}, o =
|
|
4286
|
+
}, o = ki(e), l = BigInt(o.days);
|
|
4290
4287
|
if (t.hideYearAndDays ? i(BigInt(l) * 24n + BigInt(o.hours), "hour", "h") : (t.hideYear ? i(l, "day", "d") : (i(l / 365n, "year", "y"), i(l % 365n, "day", "d")), i(Number(o.hours), "hour", "h")), i(Number(o.minutes), "minute", "m"), !t.hideSeconds)
|
|
4291
4288
|
if (t.separateMilliseconds || t.formatSubMilliseconds || !t.colonNotation && e < 1e3 && !t.subSecondsAsDecimals) {
|
|
4292
4289
|
const d = Number(o.seconds), h = Number(o.milliseconds), u = Number(o.microseconds), p = Number(o.nanoseconds);
|
|
@@ -4302,7 +4299,7 @@ function Di(e, t) {
|
|
|
4302
4299
|
);
|
|
4303
4300
|
}
|
|
4304
4301
|
} else {
|
|
4305
|
-
const d = (r ? Number(e %
|
|
4302
|
+
const d = (r ? Number(e % xi) : e) / 1e3 % 60, h = typeof t.secondsDecimalDigits == "number" ? t.secondsDecimalDigits : 1, u = a(d, h), p = t.keepDecimalsOnWholeSeconds ? u : u.replace(/\.0+$/, "");
|
|
4306
4303
|
i(Number.parseFloat(p), "second", "s", p);
|
|
4307
4304
|
}
|
|
4308
4305
|
if (n.length === 0)
|
|
@@ -4318,17 +4315,17 @@ const Ds = process.env.NODE_ENV === "production", dt = !Ds, $s = dt ? "gizmette.
|
|
|
4318
4315
|
min: n,
|
|
4319
4316
|
sec: a
|
|
4320
4317
|
};
|
|
4321
|
-
},
|
|
4318
|
+
}, Di = (e) => {
|
|
4322
4319
|
if (!e && e !== 0)
|
|
4323
4320
|
return "N/A";
|
|
4324
4321
|
const t = Zt(e, !1);
|
|
4325
4322
|
return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
|
|
4326
|
-
},
|
|
4323
|
+
}, $i = (e) => {
|
|
4327
4324
|
if (!e && e !== 0)
|
|
4328
4325
|
return "N/A";
|
|
4329
4326
|
const t = Zt(e, !0);
|
|
4330
4327
|
return `${t.deg}° ${t.min}' ${t.sec}" ${t.dir}`;
|
|
4331
|
-
},
|
|
4328
|
+
}, Ui = async () => {
|
|
4332
4329
|
const e = {
|
|
4333
4330
|
/**
|
|
4334
4331
|
* A boolean value that indicates the application would like to receive the
|
|
@@ -4371,18 +4368,18 @@ const Ds = process.env.NODE_ENV === "production", dt = !Ds, $s = dt ? "gizmette.
|
|
|
4371
4368
|
e
|
|
4372
4369
|
);
|
|
4373
4370
|
});
|
|
4374
|
-
},
|
|
4371
|
+
}, Hi = (e) => window.btoa(
|
|
4375
4372
|
encodeURIComponent(e).replace(
|
|
4376
4373
|
/%([0-9A-F]{2})/g,
|
|
4377
4374
|
function(r, s) {
|
|
4378
4375
|
return String.fromCharCode(+`0x${s}`);
|
|
4379
4376
|
}
|
|
4380
4377
|
)
|
|
4381
|
-
),
|
|
4378
|
+
), Fi = (e) => decodeURIComponent(
|
|
4382
4379
|
window.atob(e).split("").map(function(t) {
|
|
4383
4380
|
return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
|
|
4384
4381
|
}).join("")
|
|
4385
|
-
),
|
|
4382
|
+
), Bi = (e, t, r) => t ? Object.keys(t).map((s) => /* @__PURE__ */ c("dl", { className: "my-0", children: /* @__PURE__ */ E("div", { className: "flex items-center justify-between", children: [
|
|
4386
4383
|
/* @__PURE__ */ c(
|
|
4387
4384
|
"dt",
|
|
4388
4385
|
{
|
|
@@ -4404,7 +4401,7 @@ const Ds = process.env.NODE_ENV === "production", dt = !Ds, $s = dt ? "gizmette.
|
|
|
4404
4401
|
}
|
|
4405
4402
|
)
|
|
4406
4403
|
] }) }, `${e}-${s}`)) : null;
|
|
4407
|
-
function
|
|
4404
|
+
function Ki({
|
|
4408
4405
|
data: e,
|
|
4409
4406
|
formatter: t = (r) => r
|
|
4410
4407
|
}) {
|
|
@@ -4416,12 +4413,12 @@ function Vi({
|
|
|
4416
4413
|
);
|
|
4417
4414
|
return t(s ? s / r.length : 0);
|
|
4418
4415
|
}
|
|
4419
|
-
const
|
|
4416
|
+
const Vi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length - 1].message.role === e, Gi = new Intl.NumberFormat("en", {
|
|
4420
4417
|
style: "decimal",
|
|
4421
4418
|
signDisplay: "never",
|
|
4422
4419
|
minimumFractionDigits: 0,
|
|
4423
4420
|
maximumFractionDigits: 0
|
|
4424
|
-
}),
|
|
4421
|
+
}), zi = (e) => e > 0 ? Li(e, {
|
|
4425
4422
|
secondsDecimalDigits: 2,
|
|
4426
4423
|
unitCount: 2
|
|
4427
4424
|
}) : "N/A", Us = ({
|
|
@@ -4444,21 +4441,21 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4444
4441
|
"md:max-w-svw": t
|
|
4445
4442
|
},
|
|
4446
4443
|
e
|
|
4447
|
-
),
|
|
4444
|
+
), qi = (e, t) => t === 1 ? e : `${e}s`, Wi = (e, t) => {
|
|
4448
4445
|
let r;
|
|
4449
4446
|
return (...s) => {
|
|
4450
4447
|
window.clearTimeout(r), r = window.setTimeout(() => e(...s), t);
|
|
4451
4448
|
};
|
|
4452
|
-
}, Fs = () => !!window?.__VERSINI_DIGGIDY_TAURI__, Bs = () => window.innerWidth < 403, Ks = () => window.innerWidth >= 403 && window.innerWidth <= 1220,
|
|
4449
|
+
}, Fs = () => !!window?.__VERSINI_DIGGIDY_TAURI__, Bs = () => window.innerWidth < 403, Ks = () => window.innerWidth >= 403 && window.innerWidth <= 1220, ji = () => {
|
|
4453
4450
|
const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = Bs(), s = navigator.maxTouchPoints > 1;
|
|
4454
4451
|
return e && t && r && s;
|
|
4455
|
-
},
|
|
4452
|
+
}, Qi = () => {
|
|
4456
4453
|
const e = ["iPad Simulator", "iPad"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = Ks(), r = navigator.maxTouchPoints > 1;
|
|
4457
4454
|
return e && t && r;
|
|
4458
|
-
},
|
|
4455
|
+
}, Ji = () => window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === !0, Yi = (e) => {
|
|
4459
4456
|
const t = e.replace(/([A-Z])/g, " $1");
|
|
4460
4457
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
4461
|
-
},
|
|
4458
|
+
}, Xi = ({
|
|
4462
4459
|
autoClose: e = 3e3,
|
|
4463
4460
|
containerId: t,
|
|
4464
4461
|
position: r = "top-center",
|
|
@@ -4482,9 +4479,9 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4482
4479
|
theme: l,
|
|
4483
4480
|
transition: f,
|
|
4484
4481
|
icon: d
|
|
4485
|
-
}),
|
|
4482
|
+
}), Zi = (e, t) => t === "ready" && !!e && e.length > 0, eo = (e) => {
|
|
4486
4483
|
e ? document.documentElement.setAttribute(Rr, "true") : document.documentElement.removeAttribute(Rr);
|
|
4487
|
-
},
|
|
4484
|
+
}, vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, DOMAIN: $s, applyOledMode: eo, canEvaluateModels: Zi, convertCamelCaseToReadable: Yi, convertDDToDMS: Zt, convertLatitudeToDMS: Di, convertLongitudeToDMS: $i, debounce: Wi, durationFormatter: zi, extractAverage: Ki, getCurrentGeoLocation: Ui, getLayoutPaddingClass: Hs, getMessageContaintWrapperClass: Us, isDev: dt, isLastMessageFromRole: Vi, isPWAMode: Ji, isProbablyMobile: Bs, isProbablyTablet: Ks, isProbablyiPad: Qi, isProbablyiPhone: ji, isProd: Ds, isTauri: Fs, numberFormatter: Gi, obfuscate: Hi, pluralize: qi, renderDataAsList: Bi, toastOptions: Xi, unObfuscate: Fi }, Symbol.toStringTag, { value: "Module" })), H = {
|
|
4488
4485
|
GET_LOCATION: `query GetLocation($latitude: Float!, $longitude: Float!) {
|
|
4489
4486
|
location(latitude: $latitude, longitude: $longitude) {
|
|
4490
4487
|
country
|
|
@@ -4809,12 +4806,12 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4809
4806
|
schema: H.RESTORE_MEMORY,
|
|
4810
4807
|
method: "restoreMemory"
|
|
4811
4808
|
}
|
|
4812
|
-
},
|
|
4809
|
+
}, to = process.env.PUBLIC_SASSY_API_SERVER_URL, ht = async ({
|
|
4813
4810
|
query: e,
|
|
4814
4811
|
data: t,
|
|
4815
4812
|
headers: r = {},
|
|
4816
4813
|
...s
|
|
4817
|
-
}) => await fetch(`${
|
|
4814
|
+
}) => await fetch(`${to}/graphql`, {
|
|
4818
4815
|
method: "POST",
|
|
4819
4816
|
credentials: "include",
|
|
4820
4817
|
headers: {
|
|
@@ -4859,7 +4856,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4859
4856
|
} catch (r) {
|
|
4860
4857
|
throw console.error(r), r;
|
|
4861
4858
|
}
|
|
4862
|
-
},
|
|
4859
|
+
}, Tl = async ({
|
|
4863
4860
|
provider: e,
|
|
4864
4861
|
model: t,
|
|
4865
4862
|
accessToken: r,
|
|
@@ -4874,7 +4871,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4874
4871
|
type: V.SET_USER_PREFERENCES,
|
|
4875
4872
|
params: n
|
|
4876
4873
|
});
|
|
4877
|
-
},
|
|
4874
|
+
}, Il = async ({
|
|
4878
4875
|
plan: e,
|
|
4879
4876
|
accessToken: t,
|
|
4880
4877
|
username: r
|
|
@@ -4895,13 +4892,13 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4895
4892
|
USAGE: "usage",
|
|
4896
4893
|
USER_MEMORIES: "userMemories",
|
|
4897
4894
|
EXPIRED_MEMORIES: "expiredMemories"
|
|
4898
|
-
},
|
|
4895
|
+
}, _l = () => pe({
|
|
4899
4896
|
queryKey: [K.CAPABILITIES],
|
|
4900
4897
|
queryFn: async () => await ye({
|
|
4901
4898
|
type: V.GET_SERVER_CAPABILITIES,
|
|
4902
4899
|
noAuth: !0
|
|
4903
4900
|
})
|
|
4904
|
-
}),
|
|
4901
|
+
}), Al = () => pe({
|
|
4905
4902
|
queryKey: [K.CHANGELOGS],
|
|
4906
4903
|
queryFn: async () => await ye({
|
|
4907
4904
|
type: V.GET_CHANGELOGS,
|
|
@@ -4910,7 +4907,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4910
4907
|
client: !0
|
|
4911
4908
|
}
|
|
4912
4909
|
})
|
|
4913
|
-
}),
|
|
4910
|
+
}), ro = ({
|
|
4914
4911
|
user: e,
|
|
4915
4912
|
getAccessToken: t
|
|
4916
4913
|
}) => pe({
|
|
@@ -4922,7 +4919,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4922
4919
|
type: V.GET_USER_PREFERENCES,
|
|
4923
4920
|
getAccessToken: t
|
|
4924
4921
|
})
|
|
4925
|
-
}),
|
|
4922
|
+
}), Rl = ({
|
|
4926
4923
|
user: e,
|
|
4927
4924
|
getAccessToken: t
|
|
4928
4925
|
}) => pe({
|
|
@@ -4934,7 +4931,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4934
4931
|
type: V.GET_CHATS_STATS,
|
|
4935
4932
|
getAccessToken: t
|
|
4936
4933
|
})
|
|
4937
|
-
}),
|
|
4934
|
+
}), Cl = ({
|
|
4938
4935
|
user: e,
|
|
4939
4936
|
searchString: t,
|
|
4940
4937
|
sortDirection: r,
|
|
@@ -4958,7 +4955,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4958
4955
|
type: V.GET_CHATS,
|
|
4959
4956
|
getAccessToken: n
|
|
4960
4957
|
})
|
|
4961
|
-
}),
|
|
4958
|
+
}), Ol = ({
|
|
4962
4959
|
chatId: e,
|
|
4963
4960
|
getAccessToken: t,
|
|
4964
4961
|
enabled: r = !0
|
|
@@ -4970,7 +4967,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4970
4967
|
type: V.GET_CHAT,
|
|
4971
4968
|
getAccessToken: t
|
|
4972
4969
|
})
|
|
4973
|
-
}),
|
|
4970
|
+
}), kl = ({
|
|
4974
4971
|
getAccessToken: e
|
|
4975
4972
|
}) => {
|
|
4976
4973
|
const t = le();
|
|
@@ -4994,7 +4991,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
4994
4991
|
t.invalidateQueries({ queryKey: [K.CHATS, s.userId] });
|
|
4995
4992
|
}
|
|
4996
4993
|
});
|
|
4997
|
-
},
|
|
4994
|
+
}, Pl = ({
|
|
4998
4995
|
getAccessToken: e
|
|
4999
4996
|
}) => {
|
|
5000
4997
|
const t = le();
|
|
@@ -5011,7 +5008,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5011
5008
|
t.invalidateQueries({ queryKey: [K.CHATS, s.userId] });
|
|
5012
5009
|
}
|
|
5013
5010
|
});
|
|
5014
|
-
},
|
|
5011
|
+
}, Nl = ({
|
|
5015
5012
|
getAccessToken: e
|
|
5016
5013
|
}) => {
|
|
5017
5014
|
const t = le();
|
|
@@ -5028,7 +5025,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5028
5025
|
t.invalidateQueries({ queryKey: [K.CHATS, s.userId] });
|
|
5029
5026
|
}
|
|
5030
5027
|
});
|
|
5031
|
-
},
|
|
5028
|
+
}, Ml = ({
|
|
5032
5029
|
user: e,
|
|
5033
5030
|
month: t,
|
|
5034
5031
|
year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
|
|
@@ -5046,7 +5043,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5046
5043
|
type: V.GET_USAGE,
|
|
5047
5044
|
getAccessToken: s
|
|
5048
5045
|
})
|
|
5049
|
-
}),
|
|
5046
|
+
}), xl = ({
|
|
5050
5047
|
user: e,
|
|
5051
5048
|
query: t,
|
|
5052
5049
|
getAccessToken: r,
|
|
@@ -5059,7 +5056,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5059
5056
|
type: V.GET_USER_MEMORIES,
|
|
5060
5057
|
getAccessToken: r
|
|
5061
5058
|
})
|
|
5062
|
-
}),
|
|
5059
|
+
}), Ll = ({
|
|
5063
5060
|
getAccessToken: e
|
|
5064
5061
|
}) => {
|
|
5065
5062
|
const t = le();
|
|
@@ -5083,7 +5080,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5083
5080
|
});
|
|
5084
5081
|
}
|
|
5085
5082
|
});
|
|
5086
|
-
},
|
|
5083
|
+
}, Dl = ({
|
|
5087
5084
|
getAccessToken: e
|
|
5088
5085
|
}) => {
|
|
5089
5086
|
const t = le();
|
|
@@ -5107,7 +5104,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5107
5104
|
});
|
|
5108
5105
|
}
|
|
5109
5106
|
});
|
|
5110
|
-
},
|
|
5107
|
+
}, $l = ({
|
|
5111
5108
|
getAccessToken: e
|
|
5112
5109
|
}) => {
|
|
5113
5110
|
const t = le();
|
|
@@ -5126,7 +5123,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5126
5123
|
});
|
|
5127
5124
|
}
|
|
5128
5125
|
});
|
|
5129
|
-
},
|
|
5126
|
+
}, Ul = ({
|
|
5130
5127
|
getAccessToken: e
|
|
5131
5128
|
}) => {
|
|
5132
5129
|
const t = le();
|
|
@@ -5145,7 +5142,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5145
5142
|
});
|
|
5146
5143
|
}
|
|
5147
5144
|
});
|
|
5148
|
-
},
|
|
5145
|
+
}, Hl = ({
|
|
5149
5146
|
user: e,
|
|
5150
5147
|
query: t,
|
|
5151
5148
|
getAccessToken: r,
|
|
@@ -5158,7 +5155,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5158
5155
|
type: V.GET_EXPIRED_MEMORIES,
|
|
5159
5156
|
getAccessToken: r
|
|
5160
5157
|
})
|
|
5161
|
-
}),
|
|
5158
|
+
}), Fl = ({
|
|
5162
5159
|
getAccessToken: e
|
|
5163
5160
|
}) => {
|
|
5164
5161
|
const t = le();
|
|
@@ -5225,7 +5222,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5225
5222
|
allowedModels: [],
|
|
5226
5223
|
version: null,
|
|
5227
5224
|
status: "idle"
|
|
5228
|
-
},
|
|
5225
|
+
}, so = ({
|
|
5229
5226
|
user: e,
|
|
5230
5227
|
getAccessToken: t,
|
|
5231
5228
|
children: r
|
|
@@ -5255,7 +5252,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5255
5252
|
A(() => {
|
|
5256
5253
|
s.status === "idle" && i();
|
|
5257
5254
|
}, [i, s.status]);
|
|
5258
|
-
const o =
|
|
5255
|
+
const o = ro({ user: e, getAccessToken: t });
|
|
5259
5256
|
A(() => {
|
|
5260
5257
|
o.isLoading && s.status === "idle" && n((h) => ({ ...h, status: "loading" }));
|
|
5261
5258
|
}, [o.isLoading, s.status]), A(() => {
|
|
@@ -5315,7 +5312,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5315
5312
|
}, [a]), d = Fe(
|
|
5316
5313
|
() => ({
|
|
5317
5314
|
...s,
|
|
5318
|
-
check: (h, u) => s.status !== "ready" ? !1 :
|
|
5315
|
+
check: (h, u) => s.status !== "ready" ? !1 : ln(s.capabilities, h, { any: u?.any }),
|
|
5319
5316
|
loadFromProfile: l,
|
|
5320
5317
|
reset: f
|
|
5321
5318
|
}),
|
|
@@ -5323,7 +5320,7 @@ const Gi = (e, t) => t && t.messages.length > 0 && t.messages[t.messages.length
|
|
|
5323
5320
|
);
|
|
5324
5321
|
return /* @__PURE__ */ c(Vs.Provider, { value: d, children: r });
|
|
5325
5322
|
};
|
|
5326
|
-
function
|
|
5323
|
+
function Bl() {
|
|
5327
5324
|
const e = ze(Vs);
|
|
5328
5325
|
if (!e)
|
|
5329
5326
|
throw new Error("useEntitlements must be used within EntitlementsProvider");
|
|
@@ -5373,7 +5370,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5373
5370
|
e
|
|
5374
5371
|
]
|
|
5375
5372
|
});
|
|
5376
|
-
},
|
|
5373
|
+
}, Kl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5377
5374
|
defaultViewBox: "0 0 448 512",
|
|
5378
5375
|
size: "size-5",
|
|
5379
5376
|
viewBox: t,
|
|
@@ -5383,7 +5380,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5383
5380
|
children: /* @__PURE__ */ c("path", {
|
|
5384
5381
|
d: "M240 64c0-8.8-7.2-16-16-16s-16 7.2-16 16v176H32c-8.8 0-16 7.2-16 16s7.2 16 16 16h176v176c0 8.8 7.2 16 16 16s16-7.2 16-16V272h176c8.8 0 16-7.2 16-16s-7.2-16-16-16H240z"
|
|
5385
5382
|
})
|
|
5386
|
-
}),
|
|
5383
|
+
}), Vl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5387
5384
|
defaultViewBox: "0 0 24 24",
|
|
5388
5385
|
size: "size-5",
|
|
5389
5386
|
viewBox: t,
|
|
@@ -5393,7 +5390,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5393
5390
|
children: /* @__PURE__ */ c("path", {
|
|
5394
5391
|
d: "M17.304 3.541h-3.672l6.696 16.918H24Zm-10.608 0L0 20.459h3.744l1.37-3.553h7.005l1.369 3.553h3.744L10.536 3.541Zm-.371 10.223L8.616 7.82l2.291 5.945Z"
|
|
5395
5392
|
})
|
|
5396
|
-
}),
|
|
5393
|
+
}), Gl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5397
5394
|
defaultViewBox: "0 0 512 512",
|
|
5398
5395
|
size: "size-5",
|
|
5399
5396
|
viewBox: t,
|
|
@@ -5409,7 +5406,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5409
5406
|
d: "M32 0h160c17.7 0 32 14.3 32 32s-14.3 32-32 32h-82.7l233.3 233.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L64 109.3V192c0 17.7-14.3 32-32 32S0 209.7 0 192V32C0 14.3 14.3 0 32 0"
|
|
5410
5407
|
})
|
|
5411
5408
|
]
|
|
5412
|
-
}),
|
|
5409
|
+
}), zl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5413
5410
|
defaultViewBox: "0 0 448 512",
|
|
5414
5411
|
size: "size-5",
|
|
5415
5412
|
viewBox: t,
|
|
@@ -5425,7 +5422,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5425
5422
|
d: "M64 0C28.7 0 0 28.7 0 64v384c0 35.3 28.7 64 64 64h368c8.8 0 16-7.2 16-16s-7.2-16-16-16h-16v-66.7c18.6-6.6 32-24.4 32-45.3V48c0-26.5-21.5-48-48-48zm320 416v64H64c-17.7 0-32-14.3-32-32s14.3-32 32-32zM64 384c-11.7 0-22.6 3.1-32 8.6V64c0-17.7 14.3-32 32-32h336c8.8 0 16 7.2 16 16v320c0 8.8-7.2 16-16 16zm201.9-213.1-16.5 38.6-38.6 16.5c-19.4 8.3-19.4 35.8 0 44.1l38.6 16.5 16.5 38.6c8.3 19.4 35.8 19.4 44.1 0l16.5-38.6 38.6-16.5c19.4-8.3 19.4-35.8 0-44.1l-38.6-16.5-16.5-38.6c-8.3-19.4-35.8-19.4-44.1 0m22.1 29.7 11.7 27.3c1.6 3.8 4.6 6.8 8.4 8.4l27.3 11.7-27.3 11.7c-3.8 1.6-6.8 4.6-8.4 8.4L288 295.4l-11.7-27.3c-1.6-3.8-4.6-6.8-8.4-8.4L240.6 248l27.3-11.7c3.8-1.6 6.8-4.6 8.4-8.4zm-135-78.8 7-14 7 14c1.5 3.1 4.1 5.6 7.2 7.2l14 7-14 7c-3.1 1.5-5.6 4.1-7.2 7.2l-7 14-7-14c-1.5-3.1-4.1-5.6-7.2-7.2l-14-7 14-7c3.1-1.5 5.6-4.1 7.2-7.2m28.5-42.7c-8.8-17.7-34.1-17.7-42.9 0l-11.8 23.6-23.6 11.8c-17.7 8.8-17.7 34.1 0 42.9l23.6 11.8 11.8 23.6c8.8 17.7 34.1 17.7 42.9 0l11.8-23.6 23.6-11.8c17.7-8.8 17.7-34.1 0-42.9l-23.6-11.8-11.8-23.5z"
|
|
5426
5423
|
})
|
|
5427
5424
|
]
|
|
5428
|
-
}),
|
|
5425
|
+
}), ql = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5429
5426
|
defaultViewBox: "0 0 448 512",
|
|
5430
5427
|
size: "size-5",
|
|
5431
5428
|
viewBox: t,
|
|
@@ -5441,7 +5438,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5441
5438
|
d: "M368 96c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V144c0-26.5-21.5-48-48-48zM48 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48z"
|
|
5442
5439
|
})
|
|
5443
5440
|
]
|
|
5444
|
-
}),
|
|
5441
|
+
}), Wl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5445
5442
|
defaultViewBox: "0 0 384 512",
|
|
5446
5443
|
size: "size-5",
|
|
5447
5444
|
viewBox: t,
|
|
@@ -5452,7 +5449,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5452
5449
|
d: "M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256l105.3-105.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3z",
|
|
5453
5450
|
opacity: s ? "1" : "0.4"
|
|
5454
5451
|
})
|
|
5455
|
-
}),
|
|
5452
|
+
}), jl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5456
5453
|
defaultViewBox: "0 0 384 512",
|
|
5457
5454
|
size: "size-5",
|
|
5458
5455
|
viewBox: t,
|
|
@@ -5462,7 +5459,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5462
5459
|
children: /* @__PURE__ */ c("path", {
|
|
5463
5460
|
d: "M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256l132.5-132.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.6 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6z"
|
|
5464
5461
|
})
|
|
5465
|
-
}),
|
|
5462
|
+
}), no = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5466
5463
|
defaultViewBox: "0 0 448 512",
|
|
5467
5464
|
size: "size-5",
|
|
5468
5465
|
viewBox: t,
|
|
@@ -5478,7 +5475,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5478
5475
|
d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z"
|
|
5479
5476
|
})
|
|
5480
5477
|
]
|
|
5481
|
-
}),
|
|
5478
|
+
}), ao = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5482
5479
|
defaultViewBox: "0 0 512 512",
|
|
5483
5480
|
size: "size-5",
|
|
5484
5481
|
viewBox: t,
|
|
@@ -5488,7 +5485,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5488
5485
|
children: /* @__PURE__ */ c("path", {
|
|
5489
5486
|
d: "M64 464h224c8.8 0 16-7.2 16-16v-64h48v64c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64h64v48H64c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m160-160h224c8.8 0 16-7.2 16-16V64c0-8.8-7.2-16-16-16H224c-8.8 0-16 7.2-16 16v224c0 8.8 7.2 16 16 16m-64-16V64c0-35.3 28.7-64 64-64h224c35.3 0 64 28.7 64 64v224c0 35.3-28.7 64-64 64H224c-35.3 0-64-28.7-64-64"
|
|
5490
5487
|
})
|
|
5491
|
-
}),
|
|
5488
|
+
}), Ql = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5492
5489
|
defaultViewBox: "0 0 448 512",
|
|
5493
5490
|
size: "size-5",
|
|
5494
5491
|
viewBox: t,
|
|
@@ -5504,7 +5501,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5504
5501
|
d: "M163.8 0c-12.1 0-23.2 6.8-28.6 17.7L128 32H32C14.3 32 0 46.3 0 64s14.3 32 32 32h384c17.7 0 32-14.3 32-32s-14.3-32-32-32h-96l-7.2-14.3C307.4 6.8 296.3 0 284.2 0z"
|
|
5505
5502
|
})
|
|
5506
5503
|
]
|
|
5507
|
-
}),
|
|
5504
|
+
}), io = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5508
5505
|
defaultViewBox: "0 0 1200 500",
|
|
5509
5506
|
size: "w-full",
|
|
5510
5507
|
viewBox: t,
|
|
@@ -5514,7 +5511,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5514
5511
|
children: /* @__PURE__ */ c("path", {
|
|
5515
5512
|
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"
|
|
5516
5513
|
})
|
|
5517
|
-
}),
|
|
5514
|
+
}), Jl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5518
5515
|
defaultViewBox: "0 0 512 512",
|
|
5519
5516
|
size: "size-5",
|
|
5520
5517
|
viewBox: t,
|
|
@@ -5530,7 +5527,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5530
5527
|
d: "m392.4 21.7-30.1 30 97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2l-18.7-18.6c-21.9-21.9-57.3-21.9-79.2 0m-52.7 52.6L172.4 241.7c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5l167.3-167.4z"
|
|
5531
5528
|
})
|
|
5532
5529
|
]
|
|
5533
|
-
}),
|
|
5530
|
+
}), Yl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5534
5531
|
defaultViewBox: "0 0 512 512",
|
|
5535
5532
|
size: "size-5",
|
|
5536
5533
|
viewBox: t,
|
|
@@ -5546,7 +5543,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5546
5543
|
d: "m454.6 45.3 12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0M189 265.6l171-171 57.4 57.4-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1 15.1-65.7c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4.4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1l220.3-220.4c25-25 25-65.5 0-90.5l-12.1-12.2c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144v288c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V304c0-8.8-7.2-16-16-16s-16 7.2-16 16v128c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h128c8.8 0 16-7.2 16-16s-7.2-16-16-16z"
|
|
5547
5544
|
})
|
|
5548
5545
|
]
|
|
5549
|
-
}),
|
|
5546
|
+
}), Xl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5550
5547
|
defaultViewBox: "0 0 640 512",
|
|
5551
5548
|
size: "size-5",
|
|
5552
5549
|
viewBox: t,
|
|
@@ -5562,7 +5559,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5562
5559
|
d: "m557.2 235.7-29.4 29.4 71 71 29.4-29.4c15.6-15.6 15.6-40.9 0-56.6l-14.4-14.4c-15.6-15.6-40.9-15.6-56.6 0m-52 52L375.9 417c-4.1 4.1-7 9.2-8.4 14.9l-15 60.1c-1.4 5.5.2 11.2 4.2 15.2s9.7 5.6 15.2 4.2l60.1-15c5.6-1.4 10.8-4.3 14.9-8.4l129.2-129.3-71-71z"
|
|
5563
5560
|
})
|
|
5564
5561
|
]
|
|
5565
|
-
}),
|
|
5562
|
+
}), Zl = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5566
5563
|
defaultViewBox: "0 0 24 24",
|
|
5567
5564
|
size: "size-5",
|
|
5568
5565
|
viewBox: t,
|
|
@@ -5572,7 +5569,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5572
5569
|
children: /* @__PURE__ */ c("path", {
|
|
5573
5570
|
d: "M11.04 19.32Q12 21.51 12 24q0-2.49.93-4.68.96-2.19 2.58-3.81t3.81-2.55Q21.51 12 24 12q-2.49 0-4.68-.93a12.3 12.3 0 0 1-3.81-2.58 12.3 12.3 0 0 1-2.58-3.81Q12 2.49 12 0q0 2.49-.96 4.68-.93 2.19-2.55 3.81a12.3 12.3 0 0 1-3.81 2.58Q2.49 12 0 12q2.49 0 4.68.96 2.19.93 3.81 2.55t2.55 3.81"
|
|
5574
5571
|
})
|
|
5575
|
-
}),
|
|
5572
|
+
}), oo = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5576
5573
|
defaultViewBox: "0 0 640 512",
|
|
5577
5574
|
size: "size-5",
|
|
5578
5575
|
viewBox: t,
|
|
@@ -5588,7 +5585,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5588
5585
|
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"
|
|
5589
5586
|
})
|
|
5590
5587
|
]
|
|
5591
|
-
}),
|
|
5588
|
+
}), eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5592
5589
|
defaultViewBox: "0 0 512 512",
|
|
5593
5590
|
size: "size-5",
|
|
5594
5591
|
viewBox: t,
|
|
@@ -5604,7 +5601,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5604
5601
|
d: "M256 128c13.3 0 24 10.7 24 24v94.1l65 65c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-72-72c-4.5-4.5-7-10.6-7-17V152c0-13.3 10.7-24 24-24z"
|
|
5605
5602
|
})
|
|
5606
5603
|
]
|
|
5607
|
-
}),
|
|
5604
|
+
}), tu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5608
5605
|
defaultViewBox: "0 0 512 512",
|
|
5609
5606
|
size: "size-5",
|
|
5610
5607
|
viewBox: t,
|
|
@@ -5620,7 +5617,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5620
5617
|
d: "M256 128a32 32 0 1 1 0 64 32 32 0 1 1 0-64m-64 120c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-80c-13.3 0-24-10.7-24-24s10.7-24 24-24h24v-64h-24c-13.3 0-24-10.7-24-24"
|
|
5621
5618
|
})
|
|
5622
5619
|
]
|
|
5623
|
-
}),
|
|
5620
|
+
}), ru = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5624
5621
|
defaultViewBox: "0 0 384 512",
|
|
5625
5622
|
size: "size-5",
|
|
5626
5623
|
viewBox: t,
|
|
@@ -5636,7 +5633,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5636
5633
|
d: "M310.3 258.1c16.2-23.3 25.7-51.5 25.7-82.1 0-79.5-64.5-144-144-144S48 96.5 48 176c0 30.6 9.5 58.8 25.7 82.1 4.1 5.9 8.8 12.3 13.6 19 12.7 17.5 27.1 37.2 38 57.1 8.9 16.2 13.7 33.3 16.2 49.9L109 384c-2.2-12-5.9-23.7-11.8-34.5-9.9-18-22.2-34.9-34.5-51.8-5.2-7.1-10.4-14.2-15.4-21.4C27.6 247.9 16 213.3 16 176 16 78.8 94.8 0 192 0s176 78.8 176 176c0 37.3-11.6 71.9-31.4 100.3-5 7.2-10.2 14.3-15.4 21.4-12.3 16.8-24.6 33.7-34.5 51.8-5.9 10.8-9.6 22.5-11.8 34.5h-32.4c2.5-16.6 7.3-33.7 16.2-49.9 10.9-20 25.3-39.7 38-57.1 4.9-6.7 9.5-13 13.6-19zM192 96c-44.2 0-80 35.8-80 80 0 8.8-7.2 16-16 16s-16-7.2-16-16c0-61.9 50.1-112 112-112 8.8 0 16 7.2 16 16s-7.2 16-16 16m-45.3 352c6.6 18.6 24.4 32 45.3 32s38.7-13.4 45.3-32h-90.5zM112 432v-5.3c0-5.9 4.8-10.7 10.7-10.7h138.7c5.9 0 10.7 4.8 10.7 10.7v5.3c0 44.2-35.8 80-80 80s-80-35.8-80-80z"
|
|
5637
5634
|
})
|
|
5638
5635
|
]
|
|
5639
|
-
}),
|
|
5636
|
+
}), su = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5640
5637
|
defaultViewBox: "0 0 448 512",
|
|
5641
5638
|
size: "size-5",
|
|
5642
5639
|
viewBox: t,
|
|
@@ -5652,7 +5649,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5652
5649
|
d: "M224 32c53 0 96 43 96 96v64H128v-64c0-53 43-96 96-96M96 128v64H80c-44.2 0-80 35.8-80 80v160c0 44.2 35.8 80 80 80h288c44.2 0 80-35.8 80-80V272c0-44.2-35.8-80-80-80h-16v-64C352 57.3 294.7 0 224 0S96 57.3 96 128m-16 96h288c26.5 0 48 21.5 48 48v160c0 26.5-21.5 48-48 48H80c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48m160 88c0-8.8-7.2-16-16-16s-16 7.2-16 16v80c0 8.8 7.2 16 16 16s16-7.2 16-16z"
|
|
5653
5650
|
})
|
|
5654
5651
|
]
|
|
5655
|
-
}),
|
|
5652
|
+
}), nu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5656
5653
|
defaultViewBox: "0 0 576 512",
|
|
5657
5654
|
size: "size-5",
|
|
5658
5655
|
viewBox: t,
|
|
@@ -5668,7 +5665,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5668
5665
|
d: "M419.2 227.2 316.7 124.7 46.1 395.4c-18.7 18.7-18.7 49.1 0 67.9l34.6 34.6c18.7 18.7 49.1 18.7 67.9 0z"
|
|
5669
5666
|
})
|
|
5670
5667
|
]
|
|
5671
|
-
}),
|
|
5668
|
+
}), au = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5672
5669
|
defaultViewBox: "0 0 448 512",
|
|
5673
5670
|
size: "size-5",
|
|
5674
5671
|
viewBox: t,
|
|
@@ -5684,7 +5681,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5684
5681
|
d: "M438.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L370.7 256 233.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"
|
|
5685
5682
|
})
|
|
5686
5683
|
]
|
|
5687
|
-
}),
|
|
5684
|
+
}), iu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5688
5685
|
defaultViewBox: "0 0 24 24",
|
|
5689
5686
|
size: "size-5",
|
|
5690
5687
|
viewBox: t,
|
|
@@ -5694,7 +5691,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5694
5691
|
children: /* @__PURE__ */ c("path", {
|
|
5695
5692
|
d: "M22.282 9.821a5.99 5.99 0 0 0-.516-4.91 6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a5.99 5.99 0 0 0-3.998 2.9 6.05 6.05 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.05 6.05 0 0 0 6.515 2.9A5.99 5.99 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206 6 6 0 0 0 3.997-2.9 6.06 6.06 0 0 0-.747-7.073zM13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667zm2.01-3.023-.141-.085-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08-4.778 2.758a.8.8 0 0 0-.393.681zm1.097-2.365 2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5Z"
|
|
5696
5693
|
})
|
|
5697
|
-
}),
|
|
5694
|
+
}), co = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => {
|
|
5698
5695
|
const a = s ? "1" : "0.4";
|
|
5699
5696
|
return /* @__PURE__ */ E(S, {
|
|
5700
5697
|
defaultViewBox: "0 0 190 190",
|
|
@@ -5717,7 +5714,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5717
5714
|
})
|
|
5718
5715
|
]
|
|
5719
5716
|
});
|
|
5720
|
-
},
|
|
5717
|
+
}, ou = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5721
5718
|
defaultViewBox: "0 0 576 512",
|
|
5722
5719
|
size: "size-5",
|
|
5723
5720
|
viewBox: t,
|
|
@@ -5733,7 +5730,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5733
5730
|
d: "M176 256a64 64 0 1 0 0-128 64 64 0 1 0 0 128m-32 32c-44.2 0-80 35.8-80 80 0 8.8 7.2 16 16 16h192c8.8 0 16-7.2 16-16 0-44.2-35.8-80-80-80z"
|
|
5734
5731
|
})
|
|
5735
5732
|
]
|
|
5736
|
-
}),
|
|
5733
|
+
}), cu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5737
5734
|
defaultViewBox: "0 0 576 512",
|
|
5738
5735
|
size: "size-5",
|
|
5739
5736
|
viewBox: t,
|
|
@@ -5749,7 +5746,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5749
5746
|
d: "M566.6 265.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l73.4 73.3 169.4-169.3c12.5-12.5 32.8-12.5 45.3 0z"
|
|
5750
5747
|
})
|
|
5751
5748
|
]
|
|
5752
|
-
}),
|
|
5749
|
+
}), lu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5753
5750
|
defaultViewBox: "0 0 512 512",
|
|
5754
5751
|
size: "size-5",
|
|
5755
5752
|
viewBox: t,
|
|
@@ -5765,7 +5762,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5765
5762
|
d: "M64 128c-35.3 0-64 28.7-64 64v256c0 35.3 28.7 64 64 64h256c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64zm32 64h192c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32s14.3-32 32-32"
|
|
5766
5763
|
})
|
|
5767
5764
|
]
|
|
5768
|
-
}),
|
|
5765
|
+
}), uu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5769
5766
|
defaultViewBox: "0 0 512 512",
|
|
5770
5767
|
size: "size-5",
|
|
5771
5768
|
viewBox: t,
|
|
@@ -5781,7 +5778,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5781
5778
|
d: "m406.1 16-39.7 39.7 89.3 89.3 39.8-38.9c19.1-18.7 19.2-49.4.4-68.2l-22-21.9C455.1-2.8 424.7-2.7 406 16zm-62.4 62.4L200.5 221.8c-7 7-12.3 15.6-15.4 25l-23.8 71.3c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l71.5-23.9c9.2-3.1 17.6-8.2 24.5-15l145.1-142.1z"
|
|
5782
5779
|
})
|
|
5783
5780
|
]
|
|
5784
|
-
}),
|
|
5781
|
+
}), du = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5785
5782
|
defaultViewBox: "0 0 512 512",
|
|
5786
5783
|
size: "size-5",
|
|
5787
5784
|
viewBox: t,
|
|
@@ -5797,7 +5794,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5797
5794
|
d: "m330.7 376 126.7 126.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L376 330.7c-12.7 17.3-28 32.6-45.3 45.3"
|
|
5798
5795
|
})
|
|
5799
5796
|
]
|
|
5800
|
-
}),
|
|
5797
|
+
}), hu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5801
5798
|
defaultViewBox: "0 0 512 512",
|
|
5802
5799
|
size: "size-5",
|
|
5803
5800
|
viewBox: t,
|
|
@@ -5813,7 +5810,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5813
5810
|
d: "M256 160a96 96 0 1 0 0 192 96 96 0 1 0 0-192"
|
|
5814
5811
|
})
|
|
5815
5812
|
]
|
|
5816
|
-
}),
|
|
5813
|
+
}), fu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5817
5814
|
defaultViewBox: "0 0 512 512",
|
|
5818
5815
|
size: "size-5",
|
|
5819
5816
|
viewBox: t,
|
|
@@ -5829,7 +5826,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5829
5826
|
d: "M511.6 36.9c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256C5.5 266.3-.7 277.8.1 290s8.4 22.9 19.6 27.6L160 376v93c0 23.8 19.3 43 43 43 13.1 0 25.4-5.9 33.6-16.1l52.8-66h.1l114.2 47.6c9.1 3.8 19.4 3.2 28-1.6s14.5-13.3 16-23l64-416zm-253 380.2-47 58.8c-2.1 2.6-5.3 4.1-8.6 4.1-6.1 0-11-4.9-11-11v-79.7zm43.1-16.7-96.6-40.3 269-289.6L416 448l-114.2-47.6zM450.5 48.8 173.6 347 32 288z"
|
|
5830
5827
|
})
|
|
5831
5828
|
]
|
|
5832
|
-
}),
|
|
5829
|
+
}), pu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5833
5830
|
defaultViewBox: "0 0 448 512",
|
|
5834
5831
|
size: "size-5",
|
|
5835
5832
|
viewBox: t,
|
|
@@ -5839,7 +5836,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5839
5836
|
children: /* @__PURE__ */ c("path", {
|
|
5840
5837
|
d: "M432 256a48 48 0 1 1-96 0 48 48 0 1 1 96 0m-160 0a48 48 0 1 1-96 0 48 48 0 1 1 96 0M64 304a48 48 0 1 1 0-96 48 48 0 1 1 0 96"
|
|
5841
5838
|
})
|
|
5842
|
-
}),
|
|
5839
|
+
}), lo = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5843
5840
|
defaultViewBox: "0 0 576 512",
|
|
5844
5841
|
size: "size-5",
|
|
5845
5842
|
viewBox: t,
|
|
@@ -5855,7 +5852,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5855
5852
|
d: "M224 256c35.3 0 64-28.7 64-64 0-7.1-1.2-13.9-3.3-20.3-1.8-5.5 1.6-11.9 7.4-11.7 40.8 1.7 77.5 29.6 88.6 71.1 13.7 51.2-16.7 103.9-67.9 117.6S208.9 332 195.2 280.8c-1.9-6.9-2.9-13.9-3.2-20.7-.3-5.8 6.1-9.2 11.7-7.4 6.4 2.1 13.2 3.3 20.3 3.3"
|
|
5856
5853
|
})
|
|
5857
5854
|
]
|
|
5858
|
-
}),
|
|
5855
|
+
}), yu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5859
5856
|
defaultViewBox: "0 0 512 512",
|
|
5860
5857
|
size: "size-5",
|
|
5861
5858
|
viewBox: t,
|
|
@@ -5871,7 +5868,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5871
5868
|
d: "M128 416a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0m80-160a32 32 0 1 1 64 0 32 32 0 1 1-64 0m112 0a80 80 0 1 0-160 0 80 80 0 1 0 160 0M192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64m0-112a80 80 0 1 0 0 160 80 80 0 1 0 0-160"
|
|
5872
5869
|
})
|
|
5873
5870
|
]
|
|
5874
|
-
}),
|
|
5871
|
+
}), mu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5875
5872
|
defaultViewBox: "0 0 512 512",
|
|
5876
5873
|
size: "size-5",
|
|
5877
5874
|
viewBox: t,
|
|
@@ -5887,7 +5884,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5887
5884
|
d: "M270.3 112.9c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81.1 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.9 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81-11.8-36.2-73.4z"
|
|
5888
5885
|
})
|
|
5889
5886
|
]
|
|
5890
|
-
}),
|
|
5887
|
+
}), gu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5891
5888
|
defaultViewBox: "0 0 512 512",
|
|
5892
5889
|
size: "size-5",
|
|
5893
5890
|
viewBox: t,
|
|
@@ -5903,7 +5900,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5903
5900
|
d: "M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448m0 480a256 256 0 1 0 0-512 256 256 0 1 0 0 512m14.3-399.1c-2.7-5.5-8.3-8.9-14.3-8.9s-11.7 3.5-14.3 8.9l-36.2 73.4-81 11.8c-6 .9-11 5.1-12.9 10.9s-.3 12.2 4 16.4l58.6 57.2-13.8 80.7c-1 6 1.4 12.1 6.4 15.6s11.5 4.1 16.8 1.2l72.4-38 72.5 38.1c5.4 2.8 11.9 2.4 16.9-1.2s7.4-9.6 6.4-15.6L338 282.7l58.6-57.2c4.4-4.3 5.9-10.6 4-16.4s-6.9-10-12.9-10.9l-81.1-11.8-36.2-73.4zm-40 95.1 25.7-51.8 25.6 51.9c2.3 4.7 6.8 8 12 8.8l57.3 8.3-41.5 40.4c-3.8 3.7-5.5 9-4.6 14.2l9.8 57.1-51.2-26.9c-4.7-2.5-10.2-2.5-14.9 0l-51.2 26.9 9.8-57.1c.9-5.2-.8-10.5-4.6-14.2L161 225.1l57.3-8.3c5.2-.8 9.7-4 12-8.8"
|
|
5904
5901
|
})
|
|
5905
5902
|
]
|
|
5906
|
-
}),
|
|
5903
|
+
}), Eu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ E(S, {
|
|
5907
5904
|
defaultViewBox: "0 0 448 512",
|
|
5908
5905
|
size: "size-5",
|
|
5909
5906
|
viewBox: t,
|
|
@@ -5919,7 +5916,7 @@ const S = ({ children: e, fill: t, viewBox: r, className: s, defaultViewBox: n,
|
|
|
5919
5916
|
d: "M224 32c-53 0-96 43-96 96v64h240c44.2 0 80 35.8 80 80v160c0 44.2-35.8 80-80 80H80c-44.2 0-80-35.8-80-80V272c0-44.2 35.8-80 80-80h16v-64C96 57.3 153.3 0 224 0c58 0 107 38.6 122.7 91.4 2.5 8.5-2.3 17.4-10.8 19.9s-17.4-2.3-19.9-10.8C304.2 60.9 267.5 32 224 32M80 224c-26.5 0-48 21.5-48 48v160c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V272c0-26.5-21.5-48-48-48zm184 144h-80c-8.8 0-16-7.2-16-16s7.2-16 16-16h80c8.8 0 16 7.2 16 16s-7.2 16-16 16"
|
|
5920
5917
|
})
|
|
5921
5918
|
]
|
|
5922
|
-
}),
|
|
5919
|
+
}), wu = ({ className: e, viewBox: t, title: r, monotone: s, ...n }) => /* @__PURE__ */ c(S, {
|
|
5923
5920
|
defaultViewBox: "0 0 512 512",
|
|
5924
5921
|
size: "size-5",
|
|
5925
5922
|
viewBox: t,
|
|
@@ -5948,7 +5945,7 @@ const Pr = [
|
|
|
5948
5945
|
"mousedown",
|
|
5949
5946
|
"touchstart"
|
|
5950
5947
|
];
|
|
5951
|
-
function
|
|
5948
|
+
function Su(e, t, r) {
|
|
5952
5949
|
const s = B(null);
|
|
5953
5950
|
return A(() => {
|
|
5954
5951
|
const n = (a) => {
|
|
@@ -5969,7 +5966,7 @@ function vu(e, t, r) {
|
|
|
5969
5966
|
}
|
|
5970
5967
|
const kt = 50, Nr = 120;
|
|
5971
5968
|
let oe = null, Xe = 0;
|
|
5972
|
-
const
|
|
5969
|
+
const uo = () => {
|
|
5973
5970
|
if (typeof window > "u" || oe && document.body.contains(oe))
|
|
5974
5971
|
return;
|
|
5975
5972
|
const e = document.querySelector('label[data-haptic-singleton="true"]');
|
|
@@ -5982,21 +5979,21 @@ const ho = () => {
|
|
|
5982
5979
|
t.type = "checkbox", t.setAttribute("switch", ""), t.style.display = "none", t.setAttribute("aria-hidden", "true"), t.dataset.hapticSingleton = "true";
|
|
5983
5980
|
const r = document.createElement("label");
|
|
5984
5981
|
r.style.display = "none", r.setAttribute("aria-hidden", "true"), r.dataset.hapticSingleton = "true", r.appendChild(t), document.body.appendChild(r), oe = r;
|
|
5985
|
-
},
|
|
5982
|
+
}, ho = () => {
|
|
5986
5983
|
oe && document.body && document.body.contains(oe) && document.body.removeChild(oe), oe = null;
|
|
5987
|
-
},
|
|
5984
|
+
}, bu = () => {
|
|
5988
5985
|
const e = B(/* @__PURE__ */ new Set());
|
|
5989
5986
|
A(() => {
|
|
5990
5987
|
Xe++;
|
|
5991
5988
|
try {
|
|
5992
|
-
|
|
5989
|
+
uo();
|
|
5993
5990
|
} catch (s) {
|
|
5994
5991
|
throw Xe--, s;
|
|
5995
5992
|
}
|
|
5996
5993
|
return () => {
|
|
5997
5994
|
for (const s of e.current)
|
|
5998
5995
|
clearTimeout(s);
|
|
5999
|
-
e.current.clear(), Xe--, Xe === 0 &&
|
|
5996
|
+
e.current.clear(), Xe--, Xe === 0 && ho();
|
|
6000
5997
|
};
|
|
6001
5998
|
}, []);
|
|
6002
5999
|
const t = M(() => {
|
|
@@ -6031,7 +6028,7 @@ const ho = () => {
|
|
|
6031
6028
|
])
|
|
6032
6029
|
};
|
|
6033
6030
|
};
|
|
6034
|
-
function
|
|
6031
|
+
function fo(e) {
|
|
6035
6032
|
const t = e.toLowerCase().split("+").map((a) => a.trim()), r = {
|
|
6036
6033
|
alt: t.includes("alt"),
|
|
6037
6034
|
ctrl: t.includes("ctrl"),
|
|
@@ -6050,7 +6047,7 @@ function po(e) {
|
|
|
6050
6047
|
key: n
|
|
6051
6048
|
};
|
|
6052
6049
|
}
|
|
6053
|
-
function
|
|
6050
|
+
function po(e, t) {
|
|
6054
6051
|
const { alt: r, ctrl: s, meta: n, mod: a, shift: i, key: o } = e, { altKey: l, ctrlKey: f, metaKey: d, shiftKey: h, key: u } = t;
|
|
6055
6052
|
if (r !== l)
|
|
6056
6053
|
return !1;
|
|
@@ -6062,9 +6059,9 @@ function yo(e, t) {
|
|
|
6062
6059
|
return i !== h ? !1 : !!(o && (u.toLowerCase() === o.toLowerCase() || t.code.replace("Key", "").toLowerCase() === o.toLowerCase()));
|
|
6063
6060
|
}
|
|
6064
6061
|
function Gs(e) {
|
|
6065
|
-
return (t) =>
|
|
6062
|
+
return (t) => po(fo(e), t);
|
|
6066
6063
|
}
|
|
6067
|
-
function
|
|
6064
|
+
function vu(e) {
|
|
6068
6065
|
return (t) => {
|
|
6069
6066
|
const r = "nativeEvent" in t ? t.nativeEvent : t;
|
|
6070
6067
|
e.forEach(([s, n, a = {
|
|
@@ -6074,10 +6071,10 @@ function Iu(e) {
|
|
|
6074
6071
|
});
|
|
6075
6072
|
};
|
|
6076
6073
|
}
|
|
6077
|
-
function
|
|
6074
|
+
function yo(e, t, r = !1) {
|
|
6078
6075
|
return e.target instanceof HTMLElement ? (r || !e.target.isContentEditable) && !t.includes(e.target.tagName) : !0;
|
|
6079
6076
|
}
|
|
6080
|
-
function
|
|
6077
|
+
function Tu(e, t = [
|
|
6081
6078
|
"INPUT",
|
|
6082
6079
|
"TEXTAREA",
|
|
6083
6080
|
"SELECT"
|
|
@@ -6087,7 +6084,7 @@ function _u(e, t = [
|
|
|
6087
6084
|
e.forEach(([a, i, o = {
|
|
6088
6085
|
preventDefault: !0
|
|
6089
6086
|
}]) => {
|
|
6090
|
-
Gs(a)(n) &&
|
|
6087
|
+
Gs(a)(n) && yo(n, t, r) && (o.preventDefault && n.preventDefault(), i(n));
|
|
6091
6088
|
});
|
|
6092
6089
|
};
|
|
6093
6090
|
return document.documentElement.addEventListener("keydown", s), () => document.documentElement.removeEventListener("keydown", s);
|
|
@@ -6097,7 +6094,7 @@ function _u(e, t = [
|
|
|
6097
6094
|
r
|
|
6098
6095
|
]);
|
|
6099
6096
|
}
|
|
6100
|
-
function
|
|
6097
|
+
function Iu(e, t) {
|
|
6101
6098
|
const [r, s] = X(!1), n = B(null), a = B(null), i = M(() => {
|
|
6102
6099
|
s((l) => (!l && (!n.current || n.current === -1) && (n.current = window.setInterval(a.current, t)), !0));
|
|
6103
6100
|
}, [
|
|
@@ -6116,7 +6113,7 @@ function Au(e, t) {
|
|
|
6116
6113
|
active: r
|
|
6117
6114
|
};
|
|
6118
6115
|
}
|
|
6119
|
-
function
|
|
6116
|
+
function _u() {
|
|
6120
6117
|
const e = B(null), [t, r] = X(!1);
|
|
6121
6118
|
return {
|
|
6122
6119
|
ref: M((n) => {
|
|
@@ -6125,7 +6122,7 @@ function Ru() {
|
|
|
6125
6122
|
inViewport: t
|
|
6126
6123
|
};
|
|
6127
6124
|
}
|
|
6128
|
-
function
|
|
6125
|
+
function mo() {
|
|
6129
6126
|
const e = B(!1);
|
|
6130
6127
|
return A(() => (e.current = !0, () => {
|
|
6131
6128
|
e.current = !1;
|
|
@@ -6140,14 +6137,14 @@ function zs(e, t) {
|
|
|
6140
6137
|
const Mr = (e, t) => {
|
|
6141
6138
|
const r = JSON.stringify(typeof t == "function" ? t() : t);
|
|
6142
6139
|
window.localStorage.setItem(e, r), zs(e, r);
|
|
6143
|
-
},
|
|
6140
|
+
}, go = (e) => {
|
|
6144
6141
|
window.localStorage.removeItem(e), zs(e, null);
|
|
6145
|
-
}, xr = (e) => window.localStorage.getItem(e),
|
|
6146
|
-
function
|
|
6147
|
-
const s = Vr(
|
|
6142
|
+
}, xr = (e) => window.localStorage.getItem(e), Eo = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
|
|
6143
|
+
function Au({ key: e, initialValue: t }) {
|
|
6144
|
+
const s = Vr(Eo, () => xr(e)), n = M((o) => {
|
|
6148
6145
|
try {
|
|
6149
6146
|
const l = typeof o == "function" ? o(JSON.parse(s)) : o;
|
|
6150
|
-
l == null ?
|
|
6147
|
+
l == null ? go(e) : Mr(e, l);
|
|
6151
6148
|
} catch (l) {
|
|
6152
6149
|
console.warn(l);
|
|
6153
6150
|
}
|
|
@@ -6190,7 +6187,7 @@ function qs(e) {
|
|
|
6190
6187
|
...e
|
|
6191
6188
|
]);
|
|
6192
6189
|
}
|
|
6193
|
-
const
|
|
6190
|
+
const wo = {
|
|
6194
6191
|
x: 0,
|
|
6195
6192
|
y: 0,
|
|
6196
6193
|
width: 0,
|
|
@@ -6201,7 +6198,7 @@ const So = {
|
|
|
6201
6198
|
right: 0
|
|
6202
6199
|
};
|
|
6203
6200
|
function rt(e) {
|
|
6204
|
-
const t =
|
|
6201
|
+
const t = mo(), r = B(0), s = B(null), [n, a] = X(wo), i = Fe(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
|
6205
6202
|
const l = o[0];
|
|
6206
6203
|
l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
|
6207
6204
|
s.current && t() && a(l.contentRect);
|
|
@@ -6219,7 +6216,7 @@ function rt(e) {
|
|
|
6219
6216
|
n
|
|
6220
6217
|
];
|
|
6221
6218
|
}
|
|
6222
|
-
function
|
|
6219
|
+
function Ru({ value: e, defaultValue: t, finalValue: r, onChange: s = () => {
|
|
6223
6220
|
}, initialControlledDelay: n = 0 }) {
|
|
6224
6221
|
const [a, i] = X(!1), [o, l] = X(t !== void 0 ? t : r), f = (d) => {
|
|
6225
6222
|
l(d), s?.(d);
|
|
@@ -6263,7 +6260,7 @@ function Lr(e, t) {
|
|
|
6263
6260
|
t
|
|
6264
6261
|
]);
|
|
6265
6262
|
}
|
|
6266
|
-
function
|
|
6263
|
+
function Cu() {
|
|
6267
6264
|
const [e, t] = X({
|
|
6268
6265
|
width: 0,
|
|
6269
6266
|
height: 0
|
|
@@ -6275,7 +6272,7 @@ function ku() {
|
|
|
6275
6272
|
}, []);
|
|
6276
6273
|
return Lr("resize", r), Lr("orientationchange", r), A(r, []), e;
|
|
6277
6274
|
}
|
|
6278
|
-
function
|
|
6275
|
+
function Ou() {
|
|
6279
6276
|
const [e, t] = X({
|
|
6280
6277
|
width: 0,
|
|
6281
6278
|
height: 0
|
|
@@ -6308,20 +6305,20 @@ try {
|
|
|
6308
6305
|
});
|
|
6309
6306
|
} catch {
|
|
6310
6307
|
}
|
|
6311
|
-
const Dr = "av-button",
|
|
6308
|
+
const Dr = "av-button", So = (e, t, r) => {
|
|
6312
6309
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
|
6313
6310
|
}, er = /* @__PURE__ */ ee.forwardRef((e, t) => {
|
|
6314
6311
|
const { onClick: r, noInternalClick: s = !1, ...n } = e;
|
|
6315
6312
|
return /* @__PURE__ */ c("button", {
|
|
6316
6313
|
ref: t,
|
|
6317
6314
|
onClick: (a) => {
|
|
6318
|
-
|
|
6315
|
+
So(a, s, r);
|
|
6319
6316
|
},
|
|
6320
6317
|
...n
|
|
6321
6318
|
});
|
|
6322
6319
|
});
|
|
6323
6320
|
er.displayName = "BaseButton";
|
|
6324
|
-
const Et = "icon", tr = "button", ft = "link",
|
|
6321
|
+
const Et = "icon", tr = "button", ft = "link", bo = ({ type: e, size: t, labelRight: r, labelLeft: s, align: n, animated: a }) => {
|
|
6325
6322
|
const i = "max-h-8 py-0 px-2", o = "max-h-9 h-8 px-3", l = "max-h-12 py-2 px-4";
|
|
6326
6323
|
switch (e) {
|
|
6327
6324
|
case tr:
|
|
@@ -6350,7 +6347,7 @@ const Et = "icon", tr = "button", ft = "link", vo = ({ type: e, size: t, labelRi
|
|
|
6350
6347
|
"h-12": t === "large" && a && (r || s)
|
|
6351
6348
|
});
|
|
6352
6349
|
}
|
|
6353
|
-
},
|
|
6350
|
+
}, vo = ({ type: e, size: t, labelRight: r, labelLeft: s }) => {
|
|
6354
6351
|
const n = "text-sm font-medium", a = "text-base font-medium", i = "text-lg font-medium";
|
|
6355
6352
|
switch (e) {
|
|
6356
6353
|
case tr:
|
|
@@ -6368,7 +6365,7 @@ const Et = "icon", tr = "button", ft = "link", vo = ({ type: e, size: t, labelRi
|
|
|
6368
6365
|
[i]: t === "large" && (r || s)
|
|
6369
6366
|
});
|
|
6370
6367
|
}
|
|
6371
|
-
},
|
|
6368
|
+
}, To = ({ mode: e, noBackground: t, truncate: r, variant: s }) => {
|
|
6372
6369
|
if (t)
|
|
6373
6370
|
return "not-prose";
|
|
6374
6371
|
if (s === "primary")
|
|
@@ -6399,7 +6396,7 @@ const Et = "icon", tr = "button", ft = "link", vo = ({ type: e, size: t, labelRi
|
|
|
6399
6396
|
return m("not-prose text-copy-lighter", {
|
|
6400
6397
|
truncate: r
|
|
6401
6398
|
});
|
|
6402
|
-
},
|
|
6399
|
+
}, Io = ({ mode: e, noBackground: t, variant: r }) => {
|
|
6403
6400
|
if (!t) {
|
|
6404
6401
|
if (r === "primary")
|
|
6405
6402
|
return m({
|
|
@@ -6425,11 +6422,11 @@ const Et = "icon", tr = "button", ft = "link", vo = ({ type: e, size: t, labelRi
|
|
|
6425
6422
|
if (r === "selected")
|
|
6426
6423
|
return "bg-action-selected-dark";
|
|
6427
6424
|
}
|
|
6428
|
-
},
|
|
6425
|
+
}, _o = ({ radius: e }) => m({
|
|
6429
6426
|
"rounded-full": e === "large",
|
|
6430
6427
|
"rounded-md": e === "medium",
|
|
6431
6428
|
"rounded-xs": e === "small"
|
|
6432
|
-
}),
|
|
6429
|
+
}), Ao = ({ mode: e, disabled: t, variant: r }) => {
|
|
6433
6430
|
if (t)
|
|
6434
6431
|
return "";
|
|
6435
6432
|
if (r === "primary")
|
|
@@ -6463,7 +6460,7 @@ const Et = "icon", tr = "button", ft = "link", vo = ({ type: e, size: t, labelRi
|
|
|
6463
6460
|
});
|
|
6464
6461
|
if (r === "selected")
|
|
6465
6462
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
|
6466
|
-
},
|
|
6463
|
+
}, Ro = ({ mode: e, disabled: t, variant: r }) => {
|
|
6467
6464
|
if (t)
|
|
6468
6465
|
return "";
|
|
6469
6466
|
if (r === "primary")
|
|
@@ -6497,7 +6494,7 @@ const Et = "icon", tr = "button", ft = "link", vo = ({ type: e, size: t, labelRi
|
|
|
6497
6494
|
});
|
|
6498
6495
|
if (r === "selected")
|
|
6499
6496
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
|
6500
|
-
},
|
|
6497
|
+
}, Co = ({ mode: e, noBorder: t, variant: r }) => {
|
|
6501
6498
|
if (t)
|
|
6502
6499
|
return "border border-transparent";
|
|
6503
6500
|
if (r === "primary")
|
|
@@ -6523,12 +6520,12 @@ const Et = "icon", tr = "button", ft = "link", vo = ({ type: e, size: t, labelRi
|
|
|
6523
6520
|
});
|
|
6524
6521
|
if (r === "selected")
|
|
6525
6522
|
return "border border-border-selected-dark";
|
|
6526
|
-
},
|
|
6523
|
+
}, Oo = ({ focusMode: e }) => m("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
|
6527
6524
|
"focus:outline-focus-dark": e === "dark",
|
|
6528
6525
|
"focus:outline-focus-light": e === "light",
|
|
6529
6526
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
|
6530
6527
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
|
6531
|
-
}),
|
|
6528
|
+
}), ko = ({ mode: e, raw: t, iconClassName: r, variant: s = "primary" }) => {
|
|
6532
6529
|
if (t)
|
|
6533
6530
|
return "";
|
|
6534
6531
|
let n = {};
|
|
@@ -6550,42 +6547,42 @@ const Et = "icon", tr = "button", ft = "link", vo = ({ type: e, size: t, labelRi
|
|
|
6550
6547
|
} : s === "selected" && (n = {
|
|
6551
6548
|
"text-copy-lighter": !0
|
|
6552
6549
|
}), m(n, r);
|
|
6553
|
-
},
|
|
6550
|
+
}, Po = ({ animated: e }) => m({
|
|
6554
6551
|
"transition-opacity duration-300 ease-in-out": e
|
|
6555
|
-
}), rr = ({ type: e, className: t, raw: r, mode: s, focusMode: n, disabled: a, fullWidth: i, size: o, noBorder: l, labelRight: f, labelLeft: d, noBackground: h, variant: u, truncate: p, align: y, radius: g, animated: w }) => (u || (u = "primary"), r ? m(Dr, t) : m(Dr,
|
|
6552
|
+
}), rr = ({ type: e, className: t, raw: r, mode: s, focusMode: n, disabled: a, fullWidth: i, size: o, noBorder: l, labelRight: f, labelLeft: d, noBackground: h, variant: u, truncate: p, align: y, radius: g, animated: w }) => (u || (u = "primary"), r ? m(Dr, t) : m(Dr, To({
|
|
6556
6553
|
mode: s,
|
|
6557
6554
|
variant: u,
|
|
6558
6555
|
noBackground: h,
|
|
6559
6556
|
truncate: p
|
|
6560
|
-
}),
|
|
6557
|
+
}), Io({
|
|
6561
6558
|
mode: s,
|
|
6562
6559
|
noBackground: h,
|
|
6563
6560
|
variant: u
|
|
6564
|
-
}),
|
|
6561
|
+
}), _o({
|
|
6565
6562
|
radius: g
|
|
6566
|
-
}),
|
|
6563
|
+
}), bo({
|
|
6567
6564
|
type: e,
|
|
6568
6565
|
size: o,
|
|
6569
6566
|
labelRight: f,
|
|
6570
6567
|
labelLeft: d,
|
|
6571
6568
|
align: y,
|
|
6572
6569
|
animated: w
|
|
6573
|
-
}),
|
|
6570
|
+
}), vo({
|
|
6574
6571
|
type: e,
|
|
6575
6572
|
size: o,
|
|
6576
6573
|
labelRight: f,
|
|
6577
6574
|
labelLeft: d
|
|
6578
|
-
}),
|
|
6575
|
+
}), Co({
|
|
6579
6576
|
mode: s,
|
|
6580
6577
|
variant: u,
|
|
6581
6578
|
noBorder: l
|
|
6582
|
-
}),
|
|
6579
|
+
}), Oo({
|
|
6583
6580
|
focusMode: n
|
|
6584
|
-
}),
|
|
6581
|
+
}), Ao({
|
|
6585
6582
|
mode: s,
|
|
6586
6583
|
variant: u,
|
|
6587
6584
|
disabled: a
|
|
6588
|
-
}),
|
|
6585
|
+
}), Ro({
|
|
6589
6586
|
mode: s,
|
|
6590
6587
|
variant: u,
|
|
6591
6588
|
disabled: a
|
|
@@ -6622,11 +6619,11 @@ const Ze = {
|
|
|
6622
6619
|
small: 24,
|
|
6623
6620
|
medium: 32,
|
|
6624
6621
|
large: 48
|
|
6625
|
-
},
|
|
6622
|
+
}, No = {
|
|
6626
6623
|
small: 16,
|
|
6627
6624
|
medium: 24,
|
|
6628
6625
|
large: 32
|
|
6629
|
-
},
|
|
6626
|
+
}, Mo = 2, xo = 300, Ge = /* @__PURE__ */ ee.forwardRef(({ children: e, disabled: t = !1, mode: r = "system", focusMode: s = "system", fullWidth: n = !1, className: a, type: i = "button", raw: o = !1, noBorder: l = !1, "aria-label": f, label: d, size: h = "medium", labelRight: u, labelLeft: p, noBackground: y = !1, align: g = "center", radius: w = "large", variant: b = "secondary", iconClassName: x, animated: R = !1, ...Y }, P) => {
|
|
6630
6627
|
const se = rr({
|
|
6631
6628
|
type: Et,
|
|
6632
6629
|
mode: r,
|
|
@@ -6644,19 +6641,19 @@ const Ze = {
|
|
|
6644
6641
|
radius: w,
|
|
6645
6642
|
variant: b,
|
|
6646
6643
|
animated: R
|
|
6647
|
-
}), N =
|
|
6644
|
+
}), N = ko({
|
|
6648
6645
|
mode: r,
|
|
6649
6646
|
raw: o,
|
|
6650
6647
|
iconClassName: x,
|
|
6651
6648
|
variant: b
|
|
6652
|
-
}), I =
|
|
6649
|
+
}), I = Po({
|
|
6653
6650
|
animated: R
|
|
6654
6651
|
}), G = "flex items-center justify-center relative w-full h-full overflow-hidden", [O, C] = rt(), [D, te] = rt(), [me, Ae] = rt(), v = B(0), _ = B(null), T = B(null), ge = qs([
|
|
6655
6652
|
P,
|
|
6656
6653
|
_
|
|
6657
6654
|
]);
|
|
6658
6655
|
return nt(() => {
|
|
6659
|
-
me && me.current && R && (v.current = Ae.width +
|
|
6656
|
+
me && me.current && R && (v.current = Ae.width + No[h] + (l ? 0 : Mo), _.current && !_.current.style.width && (_.current.style.width = `${Ze[h]}px`));
|
|
6660
6657
|
}, [
|
|
6661
6658
|
Ae,
|
|
6662
6659
|
me,
|
|
@@ -6668,7 +6665,7 @@ const Ze = {
|
|
|
6668
6665
|
let Ee = Ze[h];
|
|
6669
6666
|
u && O && C.width > 0 ? Ee = C.width + v.current : p && D && te.width > 0 && (Ee = te.width + v.current), T.current && clearTimeout(T.current), Ee !== parseInt(_.current.style.width || "0", 10) && (O.current && (O.current.style.opacity = "0"), D.current && (D.current.style.opacity = "0"), _.current.style.width = `${Ee}px`, Ee > Ze[h] && (T.current = setTimeout(() => {
|
|
6670
6667
|
O.current && u && (O.current.style.opacity = "1"), D.current && p && (D.current.style.opacity = "1"), T.current = null;
|
|
6671
|
-
},
|
|
6668
|
+
}, xo * 0.8))), Ee === Ze[h] && (O.current && (O.current.style.opacity = "0"), D.current && (D.current.style.opacity = "0"));
|
|
6672
6669
|
}
|
|
6673
6670
|
}, [
|
|
6674
6671
|
C,
|
|
@@ -6725,7 +6722,7 @@ const Ze = {
|
|
|
6725
6722
|
})
|
|
6726
6723
|
});
|
|
6727
6724
|
Ge.displayName = "ButtonIcon";
|
|
6728
|
-
const
|
|
6725
|
+
const Lo = /* @__PURE__ */ ee.forwardRef(({ copyToClipboard: e, ...t }, r) => {
|
|
6729
6726
|
const [s, n] = X(!1), a = () => {
|
|
6730
6727
|
typeof e == "string" && (navigator.clipboard.writeText(e), n(!0)), typeof e == "function" && (navigator.clipboard.writeText(e()), n(!0));
|
|
6731
6728
|
};
|
|
@@ -6745,15 +6742,15 @@ const Do = /* @__PURE__ */ ee.forwardRef(({ copyToClipboard: e, ...t }, r) => {
|
|
|
6745
6742
|
label: s ? "Copied to clipboard" : "Copy to clipboard",
|
|
6746
6743
|
onClick: a,
|
|
6747
6744
|
disabled: s,
|
|
6748
|
-
children: s ? /* @__PURE__ */ c(
|
|
6745
|
+
children: s ? /* @__PURE__ */ c(no, {
|
|
6749
6746
|
size: "size-3"
|
|
6750
|
-
}) : /* @__PURE__ */ c(
|
|
6747
|
+
}) : /* @__PURE__ */ c(ao, {
|
|
6751
6748
|
size: "size-3"
|
|
6752
6749
|
})
|
|
6753
6750
|
});
|
|
6754
6751
|
});
|
|
6755
|
-
|
|
6756
|
-
const
|
|
6752
|
+
Lo.displayName = "ButtonCopy";
|
|
6753
|
+
const Do = /* @__PURE__ */ ee.forwardRef(({ children: e, mode: t = "system", focusMode: r = "system", fullWidth: s = !1, className: n, size: a = "small", raw: i = !1, noBorder: o = !1, target: l, truncate: f = !1, noNewWindowIcon: d = !1, radius: h = "large", ...u }, p) => {
|
|
6757
6754
|
const y = rr({
|
|
6758
6755
|
type: ft,
|
|
6759
6756
|
mode: t,
|
|
@@ -6810,8 +6807,8 @@ const $o = /* @__PURE__ */ ee.forwardRef(({ children: e, mode: t = "system", foc
|
|
|
6810
6807
|
})
|
|
6811
6808
|
});
|
|
6812
6809
|
});
|
|
6813
|
-
|
|
6814
|
-
const
|
|
6810
|
+
Do.displayName = "ButtonLink";
|
|
6811
|
+
const $o = /* @__PURE__ */ ee.forwardRef(({ children: e, mode: t = "system", className: r, active: s = !1, ...n }, a) => {
|
|
6815
6812
|
const i = s ? m("relative", "focus-within:static", "focus-within:after:border-transparent", "after:absolute", "after:content-['']", "after:border-b-2", "after:bottom-[-4px]", "after:left-0", "after:right-0", {
|
|
6816
6813
|
"after:border-table-dark": t === "dark",
|
|
6817
6814
|
"after:border-table-light": t === "light",
|
|
@@ -6832,7 +6829,7 @@ const Uo = /* @__PURE__ */ ee.forwardRef(({ children: e, mode: t = "system", cla
|
|
|
6832
6829
|
})
|
|
6833
6830
|
});
|
|
6834
6831
|
});
|
|
6835
|
-
|
|
6832
|
+
$o.displayName = "ButtonSort";
|
|
6836
6833
|
/*!
|
|
6837
6834
|
@versini/ui-card v5.1.1
|
|
6838
6835
|
© 2025 gizmette.com
|
|
@@ -6846,7 +6843,7 @@ try {
|
|
|
6846
6843
|
});
|
|
6847
6844
|
} catch {
|
|
6848
6845
|
}
|
|
6849
|
-
const st = "av-card",
|
|
6846
|
+
const st = "av-card", Uo = ({ className: e, headerClassName: t, bodyClassName: r, footerClassName: s, mode: n, compact: a, noBorder: i }) => {
|
|
6850
6847
|
const o = m(st, "rounded-md", {
|
|
6851
6848
|
"border-none": i,
|
|
6852
6849
|
"border-2": !i,
|
|
@@ -6873,7 +6870,7 @@ const st = "av-card", Ho = ({ className: e, headerClassName: t, bodyClassName: r
|
|
|
6873
6870
|
footer: d
|
|
6874
6871
|
};
|
|
6875
6872
|
};
|
|
6876
|
-
function
|
|
6873
|
+
function Ho({ id: e, content: t, userAriaLabelledby: r, className: s }) {
|
|
6877
6874
|
return typeof t == "string" ? /* @__PURE__ */ c("h2", {
|
|
6878
6875
|
id: e,
|
|
6879
6876
|
className: s,
|
|
@@ -6887,9 +6884,9 @@ function Fo({ id: e, content: t, userAriaLabelledby: r, className: s }) {
|
|
|
6887
6884
|
children: t
|
|
6888
6885
|
}) : null;
|
|
6889
6886
|
}
|
|
6890
|
-
const
|
|
6887
|
+
const Fo = ({ header: e, headerClassName: t, footer: r, footerClassName: s, children: n, className: a, bodyClassName: i, "aria-labelledby": o, mode: l = "system", compact: f = !1, noBorder: d = !1, ...h }) => {
|
|
6891
6888
|
let u = null, p = null;
|
|
6892
|
-
const y = typeof e == "string", g = Ws(st), w =
|
|
6889
|
+
const y = typeof e == "string", g = Ws(st), w = Uo({
|
|
6893
6890
|
className: a,
|
|
6894
6891
|
headerClassName: t,
|
|
6895
6892
|
bodyClassName: i,
|
|
@@ -6907,7 +6904,7 @@ const Bo = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
|
|
|
6907
6904
|
className: w.body,
|
|
6908
6905
|
...h,
|
|
6909
6906
|
children: [
|
|
6910
|
-
/* @__PURE__ */ c(
|
|
6907
|
+
/* @__PURE__ */ c(Ho, {
|
|
6911
6908
|
...u && {
|
|
6912
6909
|
id: u
|
|
6913
6910
|
},
|
|
@@ -6925,10 +6922,10 @@ const Bo = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
|
|
|
6925
6922
|
]
|
|
6926
6923
|
})
|
|
6927
6924
|
});
|
|
6928
|
-
},
|
|
6925
|
+
}, Bo = "av-flexgrid", et = "av-flexgrid-item", pt = 0.25, Kt = ee.createContext({
|
|
6929
6926
|
columnGap: 0,
|
|
6930
6927
|
rowGap: 0
|
|
6931
|
-
}),
|
|
6928
|
+
}), Ko = ({
|
|
6932
6929
|
children: e,
|
|
6933
6930
|
className: t,
|
|
6934
6931
|
columnGap: r = 1,
|
|
@@ -6954,7 +6951,7 @@ const Bo = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
|
|
|
6954
6951
|
marginLeft: r * -1 * pt + "rem",
|
|
6955
6952
|
marginTop: s * -1 * pt + "rem"
|
|
6956
6953
|
}, h = m(
|
|
6957
|
-
|
|
6954
|
+
Bo,
|
|
6958
6955
|
"box-border flex flex-wrap"
|
|
6959
6956
|
), u = { columnGap: r, rowGap: s };
|
|
6960
6957
|
return t ? /* @__PURE__ */ c("div", { className: t, children: /* @__PURE__ */ c("div", { className: h, style: d, ...f, children: /* @__PURE__ */ c(Kt.Provider, { value: u, children: e }) }) }) : /* @__PURE__ */ c("div", { className: h, style: d, ...f, children: /* @__PURE__ */ c(Kt.Provider, { value: u, children: e }) });
|
|
@@ -7031,7 +7028,7 @@ const Bo = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
|
|
|
7031
7028
|
"lg:basis-full": e === 12 && t === "lg",
|
|
7032
7029
|
"xl:basis-full": e === 12 && t === "xl",
|
|
7033
7030
|
"2xl:basis-full": e === 12 && t === "2xl"
|
|
7034
|
-
}),
|
|
7031
|
+
}), Vo = ({
|
|
7035
7032
|
className: e,
|
|
7036
7033
|
span: t
|
|
7037
7034
|
}) => {
|
|
@@ -7063,7 +7060,7 @@ const Bo = ({ header: e, headerClassName: t, footer: r, footerClassName: s, chil
|
|
|
7063
7060
|
const { columnGap: n, rowGap: a } = ze(Kt), i = {
|
|
7064
7061
|
paddingLeft: n * pt + "rem",
|
|
7065
7062
|
paddingTop: a * pt + "rem"
|
|
7066
|
-
}, o =
|
|
7063
|
+
}, o = Vo({
|
|
7067
7064
|
className: t,
|
|
7068
7065
|
span: r
|
|
7069
7066
|
});
|
|
@@ -7095,7 +7092,7 @@ try {
|
|
|
7095
7092
|
});
|
|
7096
7093
|
} catch {
|
|
7097
7094
|
}
|
|
7098
|
-
const Qs = "SET_ANNOUNCEMENT", Js = "CLEAR_ANNOUNCEMENT",
|
|
7095
|
+
const Qs = "SET_ANNOUNCEMENT", Js = "CLEAR_ANNOUNCEMENT", Go = {
|
|
7099
7096
|
alert: null,
|
|
7100
7097
|
alertdialog: null,
|
|
7101
7098
|
log: "polite",
|
|
@@ -7103,7 +7100,7 @@ const Qs = "SET_ANNOUNCEMENT", Js = "CLEAR_ANNOUNCEMENT", zo = {
|
|
|
7103
7100
|
progressbar: null,
|
|
7104
7101
|
status: "polite",
|
|
7105
7102
|
timer: "assertive"
|
|
7106
|
-
},
|
|
7103
|
+
}, zo = (e, t) => {
|
|
7107
7104
|
switch (t?.type) {
|
|
7108
7105
|
case Qs:
|
|
7109
7106
|
return {
|
|
@@ -7118,7 +7115,7 @@ const Qs = "SET_ANNOUNCEMENT", Js = "CLEAR_ANNOUNCEMENT", zo = {
|
|
|
7118
7115
|
default:
|
|
7119
7116
|
return e;
|
|
7120
7117
|
}
|
|
7121
|
-
},
|
|
7118
|
+
}, qo = ({ onAnnouncementClear: e, dispatch: t }) => {
|
|
7122
7119
|
t({
|
|
7123
7120
|
type: Js
|
|
7124
7121
|
}), typeof e == "function" && e();
|
|
@@ -7126,11 +7123,11 @@ const Qs = "SET_ANNOUNCEMENT", Js = "CLEAR_ANNOUNCEMENT", zo = {
|
|
|
7126
7123
|
clearTimeout(r.current), e !== null && n({
|
|
7127
7124
|
type: Qs,
|
|
7128
7125
|
payload: e
|
|
7129
|
-
}), t && (r.current = setTimeout(() =>
|
|
7126
|
+
}), t && (r.current = setTimeout(() => qo({
|
|
7130
7127
|
onAnnouncementClear: s,
|
|
7131
7128
|
dispatch: n
|
|
7132
7129
|
}), t));
|
|
7133
|
-
},
|
|
7130
|
+
}, Wo = ({ children: e, announcementTimeoutRef: t, announcementDelay: r, clearAnnouncementDelay: s, clearAnnouncementTimeoutRef: n, onAnnouncementClear: a, dispatch: i }) => {
|
|
7134
7131
|
clearTimeout(t.current), r ? t.current = setTimeout(Ur, r, {
|
|
7135
7132
|
children: e,
|
|
7136
7133
|
clearAnnouncementDelay: s,
|
|
@@ -7146,12 +7143,12 @@ const Qs = "SET_ANNOUNCEMENT", Js = "CLEAR_ANNOUNCEMENT", zo = {
|
|
|
7146
7143
|
});
|
|
7147
7144
|
};
|
|
7148
7145
|
function Ys({ children: e, className: t, politeness: r, role: s = null, announcementDelay: n, clearAnnouncementDelay: a, onAnnouncementClear: i, visible: o, ...l }) {
|
|
7149
|
-
const f = B(null), d = B(null), [h, u] = Kr(
|
|
7146
|
+
const f = B(null), d = B(null), [h, u] = Kr(zo, {
|
|
7150
7147
|
announcement: null
|
|
7151
7148
|
});
|
|
7152
7149
|
let p = r;
|
|
7153
|
-
typeof p > "u" && (p = s ?
|
|
7154
|
-
|
|
7150
|
+
typeof p > "u" && (p = s ? Go[s] : "assertive"), A(() => {
|
|
7151
|
+
Wo({
|
|
7155
7152
|
announcementTimeoutRef: f,
|
|
7156
7153
|
announcementDelay: n,
|
|
7157
7154
|
children: e,
|
|
@@ -7192,22 +7189,22 @@ try {
|
|
|
7192
7189
|
});
|
|
7193
7190
|
} catch {
|
|
7194
7191
|
}
|
|
7195
|
-
const Xs = "av-text-input",
|
|
7192
|
+
const Xs = "av-text-input", jo = "av-text-input-wrapper", Nt = "av-text-input-helper-text", Qo = ({ mode: e }) => m({
|
|
7196
7193
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
|
7197
7194
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
|
7198
7195
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
|
7199
7196
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
|
7200
|
-
}),
|
|
7197
|
+
}), Jo = ({ focusMode: e }) => m("focus:outline focus:outline-2 focus:outline-offset-2", {
|
|
7201
7198
|
"focus:outline-focus-dark": e === "dark",
|
|
7202
7199
|
"focus:outline-focus-light": e === "light",
|
|
7203
7200
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
|
7204
7201
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
|
7205
|
-
}),
|
|
7202
|
+
}), Yo = ({ noBorder: e, error: t }) => m("border-2", {
|
|
7206
7203
|
"border-border-dark": !e && !t,
|
|
7207
7204
|
"focus:border-border-dark": !e && t,
|
|
7208
7205
|
"border-border-error-dark": !e && t,
|
|
7209
7206
|
"border-transparent": e
|
|
7210
|
-
}),
|
|
7207
|
+
}), Xo = ({ disabled: e, raw: t, error: r, mode: s }) => {
|
|
7211
7208
|
if (t)
|
|
7212
7209
|
return "";
|
|
7213
7210
|
if (e)
|
|
@@ -7226,7 +7223,7 @@ const Xs = "av-text-input", Qo = "av-text-input-wrapper", Nt = "av-text-input-he
|
|
|
7226
7223
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": s === "system",
|
|
7227
7224
|
"text-copy-lighter dark:text-copy-error-dark": s === "alt-system"
|
|
7228
7225
|
});
|
|
7229
|
-
},
|
|
7226
|
+
}, Zo = ({ error: e, raw: t, mode: r, disabled: s }) => {
|
|
7230
7227
|
if (t)
|
|
7231
7228
|
return "";
|
|
7232
7229
|
if (s)
|
|
@@ -7245,8 +7242,8 @@ const Xs = "av-text-input", Qo = "av-text-input-wrapper", Nt = "av-text-input-he
|
|
|
7245
7242
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
|
7246
7243
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
|
|
7247
7244
|
});
|
|
7248
|
-
},
|
|
7249
|
-
const d = r ? e : m("relative flex w-full flex-col justify-center",
|
|
7245
|
+
}, ec = ({ className: e, inputClassName: t, raw: r, disabled: s, noBorder: n, error: a, mode: i, focusMode: o, size: l, rightElementClassName: f }) => {
|
|
7246
|
+
const d = r ? e : m("relative flex w-full flex-col justify-center", jo, e);
|
|
7250
7247
|
let h = "";
|
|
7251
7248
|
switch (l) {
|
|
7252
7249
|
case "xs":
|
|
@@ -7265,21 +7262,21 @@ const Xs = "av-text-input", Qo = "av-text-input-wrapper", Nt = "av-text-input-he
|
|
|
7265
7262
|
h = "h-12";
|
|
7266
7263
|
break;
|
|
7267
7264
|
}
|
|
7268
|
-
const u = r ? m(t) : m(Xs, h, "rounded-md text-base px-4",
|
|
7265
|
+
const u = r ? m(t) : m(Xs, h, "rounded-md text-base px-4", Qo({
|
|
7269
7266
|
mode: i
|
|
7270
|
-
}),
|
|
7267
|
+
}), Jo({
|
|
7271
7268
|
focusMode: o
|
|
7272
|
-
}),
|
|
7269
|
+
}), Yo({
|
|
7273
7270
|
noBorder: n,
|
|
7274
7271
|
error: a
|
|
7275
7272
|
}), {
|
|
7276
7273
|
"disabled:cursor-not-allowed disabled:opacity-50": s
|
|
7277
|
-
}, t), p = r ? void 0 : "sr-only", y =
|
|
7274
|
+
}, t), p = r ? void 0 : "sr-only", y = Xo({
|
|
7278
7275
|
disabled: s,
|
|
7279
7276
|
raw: r,
|
|
7280
7277
|
error: a,
|
|
7281
7278
|
mode: i
|
|
7282
|
-
}), g =
|
|
7279
|
+
}), g = Zo({
|
|
7283
7280
|
error: a,
|
|
7284
7281
|
raw: r,
|
|
7285
7282
|
mode: i,
|
|
@@ -7318,7 +7315,7 @@ const Xs = "av-text-input", Qo = "av-text-input-wrapper", Nt = "av-text-input-he
|
|
|
7318
7315
|
label: "-19px",
|
|
7319
7316
|
helperText: "25px"
|
|
7320
7317
|
}
|
|
7321
|
-
}, te =
|
|
7318
|
+
}, te = ec({
|
|
7322
7319
|
className: a,
|
|
7323
7320
|
inputClassName: i,
|
|
7324
7321
|
error: s,
|
|
@@ -7396,7 +7393,7 @@ const Xs = "av-text-input", Qo = "av-text-input-wrapper", Nt = "av-text-input-he
|
|
|
7396
7393
|
});
|
|
7397
7394
|
});
|
|
7398
7395
|
sr.displayName = "TextInput";
|
|
7399
|
-
const
|
|
7396
|
+
const tc = 500, rc = 5e3, sc = 2e4, Zs = /* @__PURE__ */ ee.forwardRef(({ name: e, disabled: t, label: r, labelHidden: s, onMaskChange: n, onChange: a, onBlur: i, onFocus: o, onTextInputMaskBlur: l, rightElement: f, ...d }, h) => {
|
|
7400
7397
|
const [u, p] = X(!0), [y, g] = X({
|
|
7401
7398
|
message: null,
|
|
7402
7399
|
politeness: null
|
|
@@ -7406,16 +7403,16 @@ const rc = 500, sc = 5e3, nc = 2e4, Zs = /* @__PURE__ */ ee.forwardRef(({ name:
|
|
|
7406
7403
|
]), Y = u ? "Show" : "Hide", P = () => {
|
|
7407
7404
|
b.current && clearTimeout(b.current), w.current || (b.current = setTimeout(() => {
|
|
7408
7405
|
w.current = !0, p(!0), g({
|
|
7409
|
-
announcementTimeout:
|
|
7406
|
+
announcementTimeout: rc,
|
|
7410
7407
|
politeness: "polite",
|
|
7411
7408
|
message: `${r} hiding characters`
|
|
7412
7409
|
}), n && n(!0);
|
|
7413
|
-
},
|
|
7410
|
+
}, sc));
|
|
7414
7411
|
}, se = (C) => {
|
|
7415
7412
|
C.preventDefault();
|
|
7416
7413
|
const D = !w.current;
|
|
7417
7414
|
w.current = D, P(), p(D), g({
|
|
7418
|
-
announcementTimeout:
|
|
7415
|
+
announcementTimeout: tc,
|
|
7419
7416
|
politeness: "assertive",
|
|
7420
7417
|
message: D ? "Characters hidden" : "Characters showing"
|
|
7421
7418
|
}), n && n(D);
|
|
@@ -7462,7 +7459,7 @@ const rc = 500, sc = 5e3, nc = 2e4, Zs = /* @__PURE__ */ ee.forwardRef(({ name:
|
|
|
7462
7459
|
});
|
|
7463
7460
|
});
|
|
7464
7461
|
Zs.displayName = "TextInputMask";
|
|
7465
|
-
const
|
|
7462
|
+
const nc = "ASK! ME! ANYTHING!", ac = "Log in with a password", ic = "Log in with a Passkey", ku = "Log out", oc = "Password", Pu = "Usage", Nu = "Profile", Mu = "Settings", xu = "Chat history", Lu = "About", Du = "Type your message...", $u = "How can I help you this morning?", Uu = "How can I help you this afternoon?", Hu = "How can I help you this evening?", Fu = "How can I help you tonight?", Bu = "How can I help you today?", Ku = "How can I help you?", Vu = "{{clipboard}}", $ = "Review important details.", Gu = [
|
|
7466
7463
|
`Sometimes, ${L} just makes stuff up. ${$}`,
|
|
7467
7464
|
`${L} may invent facts on the fly. ${$}`,
|
|
7468
7465
|
`${L} may be confidently wrong. ${$}`,
|
|
@@ -7483,17 +7480,17 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7483
7480
|
`Sometimes, ${L} howls at the moon. ${$}`,
|
|
7484
7481
|
`${L} may dig up imaginary bones. ${$}`,
|
|
7485
7482
|
`${L} may sniff out nonsense. ${$}`
|
|
7486
|
-
],
|
|
7483
|
+
], zu = "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.", qu = "Default provider set to", Wu = "Chat successfully deleted!", ju = "Caching enabled. Assets are now stored locally.", Qu = "Caching disabled. Local asset cache cleared.", Ju = "av-sassy", Yu = {
|
|
7487
7484
|
0: ["January", "February", "March"],
|
|
7488
7485
|
3: ["April", "May", "June"],
|
|
7489
7486
|
6: ["July", "August", "September"],
|
|
7490
7487
|
9: ["October", "November", "December"]
|
|
7491
|
-
},
|
|
7488
|
+
}, Xu = {
|
|
7492
7489
|
0: ["Jan", "Feb", "Mar"],
|
|
7493
7490
|
3: ["Apr", "May", "Jun"],
|
|
7494
7491
|
6: ["Jul", "Aug", "Sep"],
|
|
7495
7492
|
9: ["Oct", "Nov", "Dec"]
|
|
7496
|
-
},
|
|
7493
|
+
}, Zu = {
|
|
7497
7494
|
PREFERENCES: {
|
|
7498
7495
|
TITLE: "User profile",
|
|
7499
7496
|
USERNAME: "Username",
|
|
@@ -7545,38 +7542,38 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7545
7542
|
SEND_ON_ENTER: "This 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.",
|
|
7546
7543
|
USE_MEMORY: "This option allows you to choose whether you want to enable memory for your chats. When enabled, Diggidy will remember your previous interactions and use them to provide more relevant responses."
|
|
7547
7544
|
}
|
|
7548
|
-
},
|
|
7545
|
+
}, cc = {
|
|
7549
7546
|
ASC: "asc",
|
|
7550
7547
|
DESC: "desc"
|
|
7551
|
-
},
|
|
7548
|
+
}, ed = "FOOTER_BOTTOM", lc = "FOOTER_TOP", uc = "APP_SET_FOOTER_POSITION", dc = "APP_SET_FOOTER_HEIGHT", hc = "APP_SET_OLED_MODE", fc = "APP_SET_FULL_SCREEN", pc = "APP_SET_THEME_MODE", yc = "APP_SET_THEME_PALETTE", td = (e, t) => {
|
|
7552
7549
|
switch (t.type) {
|
|
7553
|
-
case
|
|
7550
|
+
case uc:
|
|
7554
7551
|
return {
|
|
7555
7552
|
...e,
|
|
7556
7553
|
footerPosition: t.payload.footerPosition,
|
|
7557
7554
|
footerOffset: t.payload.footerOffset
|
|
7558
7555
|
};
|
|
7559
|
-
case
|
|
7556
|
+
case dc:
|
|
7560
7557
|
return {
|
|
7561
7558
|
...e,
|
|
7562
7559
|
footerHeight: t.payload.footerHeight
|
|
7563
7560
|
};
|
|
7564
|
-
case
|
|
7561
|
+
case hc:
|
|
7565
7562
|
return {
|
|
7566
7563
|
...e,
|
|
7567
7564
|
oledMode: t.payload.oledMode
|
|
7568
7565
|
};
|
|
7569
|
-
case
|
|
7566
|
+
case fc:
|
|
7570
7567
|
return {
|
|
7571
7568
|
...e,
|
|
7572
7569
|
fullScreen: t.payload.fullScreen
|
|
7573
7570
|
};
|
|
7574
|
-
case
|
|
7571
|
+
case pc:
|
|
7575
7572
|
return {
|
|
7576
7573
|
...e,
|
|
7577
7574
|
themeMode: t.payload.themeMode
|
|
7578
7575
|
};
|
|
7579
|
-
case
|
|
7576
|
+
case yc:
|
|
7580
7577
|
return {
|
|
7581
7578
|
...e,
|
|
7582
7579
|
themePalette: t.payload.themePalette
|
|
@@ -7584,19 +7581,19 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7584
7581
|
default:
|
|
7585
7582
|
return e;
|
|
7586
7583
|
}
|
|
7587
|
-
},
|
|
7584
|
+
}, rd = ee.createContext({
|
|
7588
7585
|
state: {
|
|
7589
7586
|
searchString: "",
|
|
7590
7587
|
sortedCell: "",
|
|
7591
|
-
sortDirection:
|
|
7588
|
+
sortDirection: cc.DESC
|
|
7592
7589
|
},
|
|
7593
7590
|
dispatch: () => {
|
|
7594
7591
|
}
|
|
7595
|
-
}),
|
|
7592
|
+
}), sd = ee.createContext({
|
|
7596
7593
|
state: { prompt: "", lastTriggeredTimestamp: 0 },
|
|
7597
7594
|
dispatch: () => {
|
|
7598
7595
|
}
|
|
7599
|
-
}),
|
|
7596
|
+
}), nd = ee.createContext({
|
|
7600
7597
|
state: {
|
|
7601
7598
|
provider: an,
|
|
7602
7599
|
privateChat: !1,
|
|
@@ -7616,9 +7613,9 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7616
7613
|
},
|
|
7617
7614
|
setInitialMessages: () => {
|
|
7618
7615
|
}
|
|
7619
|
-
}),
|
|
7616
|
+
}), mc = ee.createContext({
|
|
7620
7617
|
state: {
|
|
7621
|
-
footerPosition:
|
|
7618
|
+
footerPosition: lc,
|
|
7622
7619
|
footerHeight: 0,
|
|
7623
7620
|
footerOffset: 0,
|
|
7624
7621
|
oledMode: !1,
|
|
@@ -7627,30 +7624,30 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7627
7624
|
},
|
|
7628
7625
|
dispatch: () => {
|
|
7629
7626
|
}
|
|
7630
|
-
}),
|
|
7627
|
+
}), gc = (e) => {
|
|
7631
7628
|
const t = document.documentElement;
|
|
7632
7629
|
Array.from(t.style).filter((r) => r.startsWith("--av-")).forEach((r) => t.style.removeProperty(r)), e && Object.entries(e).forEach(([r, s]) => {
|
|
7633
7630
|
t.style.setProperty(r, s);
|
|
7634
7631
|
});
|
|
7635
|
-
},
|
|
7632
|
+
}, Ec = () => {
|
|
7636
7633
|
const {
|
|
7637
7634
|
state: { oledMode: e, themePalette: t }
|
|
7638
|
-
} = ze(
|
|
7635
|
+
} = ze(mc), r = Fe(() => {
|
|
7639
7636
|
if (t)
|
|
7640
7637
|
return e ? t.oled : t.normal;
|
|
7641
7638
|
}, [t, e]);
|
|
7642
7639
|
return A(() => {
|
|
7643
|
-
r?.cssVariables &&
|
|
7640
|
+
r?.cssVariables && gc(r.cssVariables);
|
|
7644
7641
|
}, [r]), [M(
|
|
7645
7642
|
(n) => r?.colors[n] || "",
|
|
7646
7643
|
[r]
|
|
7647
7644
|
), U];
|
|
7648
|
-
},
|
|
7645
|
+
}, wc = ({
|
|
7649
7646
|
className: e,
|
|
7650
7647
|
isCapabilitiesSuccess: t,
|
|
7651
7648
|
capabilities: r
|
|
7652
7649
|
}) => {
|
|
7653
|
-
const [s, n] =
|
|
7650
|
+
const [s, n] = Ec(), a = s(n.Logo) || "prose-h1:text-copy-medium prose-h2:text-copy-medium text-copy-medium";
|
|
7654
7651
|
return /* @__PURE__ */ E(
|
|
7655
7652
|
"div",
|
|
7656
7653
|
{
|
|
@@ -7660,7 +7657,7 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7660
7657
|
"flex items-center justify-center"
|
|
7661
7658
|
),
|
|
7662
7659
|
children: [
|
|
7663
|
-
/* @__PURE__ */ c("div", { className: m("basis-1/4", a), children: /* @__PURE__ */ c(
|
|
7660
|
+
/* @__PURE__ */ c("div", { className: m("basis-1/4", a), children: /* @__PURE__ */ c(io, {}) }),
|
|
7664
7661
|
/* @__PURE__ */ E(
|
|
7665
7662
|
"div",
|
|
7666
7663
|
{
|
|
@@ -7675,14 +7672,14 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7675
7672
|
),
|
|
7676
7673
|
children: [
|
|
7677
7674
|
/* @__PURE__ */ c("h1", { children: L }),
|
|
7678
|
-
/* @__PURE__ */ c("h2", { children:
|
|
7675
|
+
/* @__PURE__ */ c("h2", { children: nc })
|
|
7679
7676
|
]
|
|
7680
7677
|
}
|
|
7681
7678
|
)
|
|
7682
7679
|
]
|
|
7683
7680
|
}
|
|
7684
7681
|
);
|
|
7685
|
-
},
|
|
7682
|
+
}, Sc = () => {
|
|
7686
7683
|
const { login: e, logoutReason: t, loginWithPasskey: r } = Ns(), [s, n] = X(""), [a, i] = X(""), [o, l] = X(!0), [f, d] = X({
|
|
7687
7684
|
username: "",
|
|
7688
7685
|
password: ""
|
|
@@ -7702,10 +7699,10 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7702
7699
|
className: Us({
|
|
7703
7700
|
extraClass: "rounded-md pb-10"
|
|
7704
7701
|
}),
|
|
7705
|
-
children: /* @__PURE__ */ c(
|
|
7702
|
+
children: /* @__PURE__ */ c(wc, {})
|
|
7706
7703
|
}
|
|
7707
7704
|
),
|
|
7708
|
-
/* @__PURE__ */ c("form", { className: "mt-5", onSubmit: h, children: /* @__PURE__ */ c(
|
|
7705
|
+
/* @__PURE__ */ c("form", { className: "mt-5", onSubmit: h, children: /* @__PURE__ */ c(Ko, { alignHorizontal: "center", children: /* @__PURE__ */ c(be, { span: 6, children: /* @__PURE__ */ E(Fo, { mode: "dark", children: [
|
|
7709
7706
|
/* @__PURE__ */ c(be, { span: 12, className: "mt-7", children: a && /* @__PURE__ */ c("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: a }) }),
|
|
7710
7707
|
/* @__PURE__ */ c(be, { span: 12, children: /* @__PURE__ */ c(
|
|
7711
7708
|
sr,
|
|
@@ -7739,14 +7736,14 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7739
7736
|
mode: "dark",
|
|
7740
7737
|
focusMode: "light",
|
|
7741
7738
|
name: "password",
|
|
7742
|
-
label:
|
|
7739
|
+
label: oc,
|
|
7743
7740
|
rightElement: /* @__PURE__ */ c(
|
|
7744
7741
|
Ge,
|
|
7745
7742
|
{
|
|
7746
7743
|
focusMode: "light",
|
|
7747
7744
|
mode: "dark",
|
|
7748
7745
|
label: o ? "Show" : "Hide",
|
|
7749
|
-
children: o ? /* @__PURE__ */ c(
|
|
7746
|
+
children: o ? /* @__PURE__ */ c(lo, {}) : /* @__PURE__ */ c(oo, {})
|
|
7750
7747
|
}
|
|
7751
7748
|
),
|
|
7752
7749
|
onMaskChange: l,
|
|
@@ -7769,7 +7766,7 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7769
7766
|
noBorder: !0,
|
|
7770
7767
|
type: "submit",
|
|
7771
7768
|
className: "mt-7",
|
|
7772
|
-
children:
|
|
7769
|
+
children: ac
|
|
7773
7770
|
}
|
|
7774
7771
|
) }),
|
|
7775
7772
|
!Fs() && /* @__PURE__ */ E(Br, { children: [
|
|
@@ -7782,31 +7779,31 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7782
7779
|
focusMode: "light",
|
|
7783
7780
|
fullWidth: !0,
|
|
7784
7781
|
className: "mb-4",
|
|
7785
|
-
labelRight:
|
|
7782
|
+
labelRight: ic,
|
|
7786
7783
|
onClick: r,
|
|
7787
|
-
children: /* @__PURE__ */ c(
|
|
7784
|
+
children: /* @__PURE__ */ c(co, { size: "size-7" })
|
|
7788
7785
|
}
|
|
7789
7786
|
) })
|
|
7790
7787
|
] })
|
|
7791
7788
|
] }) }) }) })
|
|
7792
7789
|
] });
|
|
7793
|
-
},
|
|
7790
|
+
}, bc = new URL(document.location.href).searchParams, Hr = !!bc.get("debug") || !1, vc = rn(() => import(
|
|
7794
7791
|
/* webpackChunkName: "LazyApp" */
|
|
7795
|
-
"./App.
|
|
7796
|
-
).then((e) => e.App)),
|
|
7792
|
+
"./App.DkMgrvIO.js"
|
|
7793
|
+
).then((e) => e.App)), Tc = new xn(), Fr = ({
|
|
7797
7794
|
isComponent: e,
|
|
7798
7795
|
headerHeight: t
|
|
7799
7796
|
}) => {
|
|
7800
7797
|
const { isAuthenticated: r, isLoading: s, user: n, getAccessToken: a } = Ns();
|
|
7801
|
-
return s ? /* @__PURE__ */ c("div", {}) : r ? /* @__PURE__ */ c(tn, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(
|
|
7802
|
-
|
|
7798
|
+
return s ? /* @__PURE__ */ c("div", {}) : r ? /* @__PURE__ */ c(tn, { fallback: /* @__PURE__ */ c("div", {}), children: /* @__PURE__ */ c(Ln, { client: Tc, children: /* @__PURE__ */ c(
|
|
7799
|
+
so,
|
|
7803
7800
|
{
|
|
7804
7801
|
user: n?.username,
|
|
7805
7802
|
getAccessToken: a,
|
|
7806
|
-
children: /* @__PURE__ */ c(
|
|
7803
|
+
children: /* @__PURE__ */ c(vc, { isComponent: e, headerHeight: t })
|
|
7807
7804
|
}
|
|
7808
|
-
) }) }) : /* @__PURE__ */ c(
|
|
7809
|
-
},
|
|
7805
|
+
) }) }) : /* @__PURE__ */ c(Sc, {});
|
|
7806
|
+
}, Ic = ({
|
|
7810
7807
|
isComponent: e = !1,
|
|
7811
7808
|
headerHeight: t = 0,
|
|
7812
7809
|
domain: r = $s,
|
|
@@ -7827,209 +7824,208 @@ const ac = "ASK! ME! ANYTHING!", ic = "Log in with a password", oc = "Log in wit
|
|
|
7827
7824
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
|
7828
7825
|
children: /* @__PURE__ */ c(Fr, { isComponent: e, headerHeight: t })
|
|
7829
7826
|
}
|
|
7830
|
-
) : /* @__PURE__ */ c(Ar, { clientId: Cr, domain: r, debug: Hr, children: /* @__PURE__ */ c(Fr, { isComponent: e, headerHeight: t }) })),
|
|
7831
|
-
|
|
7827
|
+
) : /* @__PURE__ */ c(Ar, { clientId: Cr, domain: r, debug: Hr, children: /* @__PURE__ */ c(Fr, { isComponent: e, headerHeight: t }) })), ad = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ c(
|
|
7828
|
+
Ic,
|
|
7832
7829
|
{
|
|
7833
7830
|
isComponent: !0,
|
|
7834
7831
|
domain: e,
|
|
7835
7832
|
headerHeight: t,
|
|
7836
|
-
extraProps: [
|
|
7833
|
+
extraProps: [un, dn]
|
|
7837
7834
|
}
|
|
7838
7835
|
);
|
|
7839
7836
|
export {
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
xc as B,
|
|
7837
|
+
Lu as ABOUT_TITLE,
|
|
7838
|
+
jc as ACTION_RESET_PROMPT,
|
|
7839
|
+
zc as ACTION_SEARCH,
|
|
7840
|
+
qc as ACTION_SORT,
|
|
7841
|
+
Wc as ACTION_TOGGLE_PROMPT,
|
|
7842
|
+
Ju as APP_CLASSNAME,
|
|
7843
|
+
dc as APP_SET_FOOTER_HEIGHT,
|
|
7844
|
+
uc as APP_SET_FOOTER_POSITION,
|
|
7845
|
+
fc as APP_SET_FULL_SCREEN,
|
|
7846
|
+
hc as APP_SET_OLED_MODE,
|
|
7847
|
+
pc as APP_SET_THEME_MODE,
|
|
7848
|
+
yc as APP_SET_THEME_PALETTE,
|
|
7849
|
+
mc as AppContext,
|
|
7854
7850
|
js as Button,
|
|
7855
|
-
|
|
7851
|
+
Lo as ButtonCopy,
|
|
7856
7852
|
Ge as ButtonIcon,
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
El as
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
Gl as
|
|
7885
|
-
zl as
|
|
7886
|
-
ql as
|
|
7887
|
-
Wl as
|
|
7888
|
-
jl as
|
|
7889
|
-
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
Yl as
|
|
7894
|
-
Xl as
|
|
7895
|
-
Zl as
|
|
7896
|
-
eu as
|
|
7897
|
-
tu as
|
|
7898
|
-
ru as
|
|
7899
|
-
su as
|
|
7900
|
-
nu as
|
|
7901
|
-
au as
|
|
7902
|
-
iu as
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
lu as
|
|
7907
|
-
uu as
|
|
7908
|
-
du as
|
|
7909
|
-
hu as
|
|
7910
|
-
fu as
|
|
7911
|
-
pu as
|
|
7912
|
-
yu as
|
|
7913
|
-
mu as
|
|
7914
|
-
gu as
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
|
|
7923
|
-
ol as LOCAL_STORAGE_OLED_MODE,
|
|
7853
|
+
$o as ButtonSort_private,
|
|
7854
|
+
Zu as CARDS,
|
|
7855
|
+
Vu as CLIPBOARD_PROMPT,
|
|
7856
|
+
Fo as Card,
|
|
7857
|
+
nd as ChatContext,
|
|
7858
|
+
dl as DEFAULT_ICON_ACTION_SIZE,
|
|
7859
|
+
Gc as ERROR_MESSAGE,
|
|
7860
|
+
ed as FOOTER_BOTTOM,
|
|
7861
|
+
Gu as FOOTER_DISCLAIMERS,
|
|
7862
|
+
lc as FOOTER_TOP,
|
|
7863
|
+
xu as HISTORY_TITLE,
|
|
7864
|
+
rd as HistoryContext,
|
|
7865
|
+
cl as INFINITE_SCROLL_LIMIT,
|
|
7866
|
+
ol as INFINITE_SCROLL_THRESHOLD,
|
|
7867
|
+
ml as INPUT_BOTTOM_OFFSET,
|
|
7868
|
+
wl as INPUT_BOTTOM_OFFSET_EXTRA,
|
|
7869
|
+
El as INPUT_BOTTOM_OFFSET_IPAD,
|
|
7870
|
+
gl as INPUT_BOTTOM_OFFSET_IPHONE,
|
|
7871
|
+
Uu as INPUT_PLACEHOLDER_TEXT_AFTERNOON,
|
|
7872
|
+
Ku as INPUT_PLACEHOLDER_TEXT_DEFAULT,
|
|
7873
|
+
Hu as INPUT_PLACEHOLDER_TEXT_EVENING,
|
|
7874
|
+
Du as INPUT_PLACEHOLDER_TEXT_IN_SESSION,
|
|
7875
|
+
$u as INPUT_PLACEHOLDER_TEXT_MORNING,
|
|
7876
|
+
Fu as INPUT_PLACEHOLDER_TEXT_NIGHT,
|
|
7877
|
+
Bu as INPUT_PLACEHOLDER_TEXT_TODAY,
|
|
7878
|
+
Kl as IconAddLight,
|
|
7879
|
+
Vl as IconAnthropic,
|
|
7880
|
+
Gl as IconBack,
|
|
7881
|
+
zl as IconBookSparklesLight,
|
|
7882
|
+
ql as IconChart,
|
|
7883
|
+
Wl as IconClose,
|
|
7884
|
+
jl as IconCloseLight,
|
|
7885
|
+
no as IconCopied,
|
|
7886
|
+
ao as IconCopy,
|
|
7887
|
+
Ql as IconDelete,
|
|
7888
|
+
Jl as IconEdit,
|
|
7889
|
+
Yl as IconEditLight,
|
|
7890
|
+
Xl as IconEditUser,
|
|
7891
|
+
Zl as IconGoogleGemini,
|
|
7892
|
+
eu as IconHistory,
|
|
7893
|
+
tu as IconInfo,
|
|
7894
|
+
ru as IconLightBulbLight,
|
|
7895
|
+
su as IconLockedLight,
|
|
7896
|
+
nu as IconMagic,
|
|
7897
|
+
au as IconNext,
|
|
7898
|
+
iu as IconOpenAI,
|
|
7899
|
+
co as IconPasskey,
|
|
7900
|
+
ou as IconProfile,
|
|
7901
|
+
cu as IconProofread,
|
|
7902
|
+
lu as IconRestore,
|
|
7903
|
+
uu as IconRewrite,
|
|
7904
|
+
du as IconSearch,
|
|
7905
|
+
hu as IconSelected,
|
|
7906
|
+
fu as IconSendLight,
|
|
7907
|
+
pu as IconSettings,
|
|
7908
|
+
yu as IconSliders,
|
|
7909
|
+
mu as IconStarInCircle,
|
|
7910
|
+
gu as IconStarInCircleLight,
|
|
7911
|
+
wu as IconUnSelected,
|
|
7912
|
+
Eu as IconUnlockedLight,
|
|
7913
|
+
Uc as K,
|
|
7914
|
+
Ko as L,
|
|
7915
|
+
nl as LOCAL_STORAGE_CHAT_ID,
|
|
7916
|
+
tl as LOCAL_STORAGE_FAVORITES_ONLY,
|
|
7917
|
+
il as LOCAL_STORAGE_FULL_SCREEN,
|
|
7918
|
+
al as LOCAL_STORAGE_OLED_MODE,
|
|
7924
7919
|
Ms as LOCAL_STORAGE_PREFIX,
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
7920
|
+
rl as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
|
7921
|
+
sl as LOCAL_STORAGE_REASONING_DISCLOSURE,
|
|
7922
|
+
Qc as LOCAL_STORAGE_SEARCH,
|
|
7923
|
+
Jc as LOCAL_STORAGE_SORT,
|
|
7924
|
+
el as LOCAL_STORAGE_SORT_MEMORY_COLUMN,
|
|
7925
|
+
Zc as LOCAL_STORAGE_SORT_MEMORY_DIRECTION,
|
|
7926
|
+
Yc as LOCAL_STORAGE_SORT_TIMESTAMP,
|
|
7927
|
+
Xc as LOCAL_STORAGE_SORT_TOKEN_USAGE,
|
|
7928
|
+
ku as LOG_OUT,
|
|
7934
7929
|
Ys as LiveRegion,
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
ad as PromptsContext,
|
|
7942
|
-
zt as R,
|
|
7930
|
+
wc as Logo,
|
|
7931
|
+
Nu as PROFILE_TITLE,
|
|
7932
|
+
zu as PROMPTS_DESCRIPTION,
|
|
7933
|
+
ll as PROMPT_CLASSNAME,
|
|
7934
|
+
ul as PROMPT_EDITABLE_AREA_CLASSNAME,
|
|
7935
|
+
sd as PromptsContext,
|
|
7943
7936
|
V as SERVICE_TYPES,
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7937
|
+
Mu as SETTINGS_TITLE,
|
|
7938
|
+
ad as SassySaint,
|
|
7939
|
+
Qu as TOAST_CACHE_DISABLED,
|
|
7940
|
+
ju as TOAST_CACHE_ENABLED,
|
|
7941
|
+
Wu as TOAST_CHAT_DELETED,
|
|
7942
|
+
qu as TOAST_PROVIDER_CHANGED,
|
|
7943
|
+
Yu as TRIMESTERS,
|
|
7944
|
+
Xu as TRIMESTERS_SHORT,
|
|
7952
7945
|
sr as TextInput,
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7946
|
+
Pc as U,
|
|
7947
|
+
fl as UI_BUTTON_SCROLL_BUFFER,
|
|
7948
|
+
pl as UI_DEFAULT_MAIN_HEIGHT,
|
|
7949
|
+
yl as UI_DEFAULT_MAIN_HEIGHT_IPHONE,
|
|
7950
|
+
hl as UI_FOOTER_BUFFER,
|
|
7951
|
+
Pu as USAGE_TITLE,
|
|
7952
|
+
L as V,
|
|
7953
|
+
Dc as W,
|
|
7954
|
+
yt as a,
|
|
7955
|
+
td as appReducer,
|
|
7956
|
+
eo as applyOledMode,
|
|
7957
|
+
Zi as canEvaluateModels,
|
|
7958
|
+
Yi as convertCamelCaseToReadable,
|
|
7959
|
+
Wi as debounce,
|
|
7967
7960
|
sn as e,
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
Iu as getHotkeyHandler,
|
|
7961
|
+
cc as e$1,
|
|
7962
|
+
bl as getCacheInfo,
|
|
7963
|
+
Ui as getCurrentGeoLocation,
|
|
7964
|
+
vu as getHotkeyHandler,
|
|
7973
7965
|
Hs as getLayoutPaddingClass,
|
|
7974
7966
|
Us as getMessageContaintWrapperClass,
|
|
7975
7967
|
ue as graphQLRequest,
|
|
7976
|
-
|
|
7977
|
-
|
|
7968
|
+
Sl as handleServiceWorkerToggle,
|
|
7969
|
+
Gt as i,
|
|
7978
7970
|
dt as isDev,
|
|
7979
|
-
|
|
7971
|
+
Ji as isPWAMode,
|
|
7980
7972
|
Bs as isProbablyMobile,
|
|
7981
|
-
|
|
7982
|
-
|
|
7973
|
+
Qi as isProbablyiPad,
|
|
7974
|
+
ji as isProbablyiPhone,
|
|
7983
7975
|
Bt as isServiceWorkerEnabled,
|
|
7984
7976
|
Fs as isTauri,
|
|
7985
7977
|
Ue as it,
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7978
|
+
be as j,
|
|
7979
|
+
$c as j$1,
|
|
7980
|
+
Lc as k,
|
|
7989
7981
|
Ns as n,
|
|
7990
|
-
|
|
7982
|
+
Cc as n$1,
|
|
7983
|
+
Gi as numberFormatter,
|
|
7991
7984
|
Oc as o,
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
Bl as
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
7985
|
+
Hi as obfuscate,
|
|
7986
|
+
kc as p,
|
|
7987
|
+
qi as pluralize,
|
|
7988
|
+
Bi as renderDataAsList,
|
|
7989
|
+
zt as s,
|
|
7990
|
+
to as serverUrl,
|
|
7991
|
+
Tl as setNewProvider,
|
|
7992
|
+
Il as setUserPlan,
|
|
7993
|
+
Fi as unObfuscate,
|
|
7994
|
+
Al as useChangelogs,
|
|
7995
|
+
Ol as useChat,
|
|
7996
|
+
Cl as useChatsHistory,
|
|
7997
|
+
Ml as useChatsUsage,
|
|
7998
|
+
Su as useClickOutside,
|
|
7999
|
+
$l as useDeleteAllActiveMemories,
|
|
8000
|
+
Ul as useDeleteAllExpiredMemories,
|
|
8001
|
+
Pl as useDeleteChat,
|
|
8002
|
+
Dl as useDeleteMemory,
|
|
8003
|
+
Bl as useEntitlements,
|
|
8004
|
+
Hl as useExpiredMemories,
|
|
8005
|
+
bu as useHaptic,
|
|
8006
|
+
Tu as useHotkeys,
|
|
8007
|
+
_u as useInViewport,
|
|
8008
|
+
Iu as useInterval,
|
|
8009
|
+
Au as useLocalStorage,
|
|
8016
8010
|
qs as useMergeRefs,
|
|
8017
8011
|
le as useQueryClient,
|
|
8018
8012
|
rt as useResizeObserver,
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8013
|
+
Fl as useRestoreMemory,
|
|
8014
|
+
kl as useSaveChat,
|
|
8015
|
+
_l as useServerCapabilities,
|
|
8016
|
+
Ec as useTheme,
|
|
8017
|
+
Nl as useToggleFavoriteChat,
|
|
8018
|
+
Ru as useUncontrolled,
|
|
8025
8019
|
Ws as useUniqueId,
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8020
|
+
Ll as useUpdateMemory,
|
|
8021
|
+
Rl as useUserChatStats,
|
|
8022
|
+
xl as useUserMemories,
|
|
8023
|
+
ro as useUserPreferences,
|
|
8024
|
+
Cu as useViewportSize,
|
|
8025
|
+
Ou as useVisualViewportSize,
|
|
8026
|
+
vl as utilities,
|
|
8027
|
+
Mc as v,
|
|
8028
|
+
xc as w,
|
|
8029
|
+
cn as x,
|
|
8030
|
+
Nc as y
|
|
8035
8031
|
};
|