@versini/sassysaint 8.9.3 → 8.9.4
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/{App.DTAb_Xgt.js → App.C_nc4ZLL.js} +2348 -2334
- package/dist/chunks/{Chart.DUSJxRrp.js → Chart.BJNElYmc.js} +1 -1
- package/dist/chunks/{ChatBubbleAssistant.Co9iqvwS.js → ChatBubbleAssistant.DmEWiOdU.js} +6 -6
- package/dist/chunks/{J3FDRF32.BEzoA_mT.js → J3FDRF32.KfcTr4qd.js} +1 -1
- package/dist/chunks/{index.tN4E7dTT.js → index.BaebVHws.js} +1 -1
- package/dist/chunks/{index.DJH24J0V.js → index.BwyiXARe.js} +303 -304
- package/dist/chunks/{index.BhIMTZp9.js → index.C36W7oNu.js} +1 -1
- package/dist/chunks/{index.BVZ_6yIu.js → index.CXGdE3-N.js} +2 -2
- package/dist/chunks/{index.CHT_oi37.js → index.Ci0IxYzA.js} +1 -1
- package/dist/chunks/{index.ChP6CS44.js → index.Deih4w5y.js} +3 -3
- package/dist/components/SassySaint/SassySaint.js +2 -3
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
@@ -12,7 +12,6 @@ var Qt = (e, t, r, n) => ({
|
|
12
12
|
}
|
13
13
|
});
|
14
14
|
import { jsx as y, jsxs as re, Fragment as hr } from "react/jsx-runtime";
|
15
|
-
import "../style.js";
|
16
15
|
import * as oe from "react";
|
17
16
|
import _e, { createContext as Di, useReducer as ys, useRef as z, useCallback as ke, useEffect as we, useContext as ps, useSyncExternalStore as Li, useLayoutEffect as mr, useMemo as Rr, useState as Ie, useId as gs, lazy as Mi, Suspense as $i } from "react";
|
18
17
|
import b from "clsx";
|
@@ -113,7 +112,7 @@ function Zr(e, t) {
|
|
113
112
|
}
|
114
113
|
return t;
|
115
114
|
}
|
116
|
-
function
|
115
|
+
function Ou(e, t) {
|
117
116
|
if (!t || Object.keys(e).length !== Object.keys(t).length)
|
118
117
|
return !1;
|
119
118
|
for (const r in e)
|
@@ -1522,7 +1521,7 @@ function da(e, t, r) {
|
|
1522
1521
|
}
|
1523
1522
|
];
|
1524
1523
|
}
|
1525
|
-
function
|
1524
|
+
function Nu(e) {
|
1526
1525
|
return Ee(e, !1);
|
1527
1526
|
}
|
1528
1527
|
function q(e) {
|
@@ -1536,7 +1535,7 @@ function q(e) {
|
|
1536
1535
|
M = t;
|
1537
1536
|
}
|
1538
1537
|
}
|
1539
|
-
function
|
1538
|
+
function Cu(e, t, r) {
|
1540
1539
|
const n = Array.isArray(e);
|
1541
1540
|
let s, i = r && r.defer;
|
1542
1541
|
return (a) => {
|
@@ -1581,11 +1580,11 @@ function ma(e) {
|
|
1581
1580
|
return Ee(e, !1), M = x = null, n ? n.done : void 0;
|
1582
1581
|
});
|
1583
1582
|
}
|
1584
|
-
var [ya,
|
1585
|
-
function
|
1583
|
+
var [ya, Pu] = /* @__PURE__ */ te(!1);
|
1584
|
+
function xu() {
|
1586
1585
|
return [ya, ma];
|
1587
1586
|
}
|
1588
|
-
function
|
1587
|
+
function Du(e, t) {
|
1589
1588
|
const r = Symbol("context");
|
1590
1589
|
return {
|
1591
1590
|
id: r,
|
@@ -1593,7 +1592,7 @@ function Mu(e, t) {
|
|
1593
1592
|
defaultValue: e
|
1594
1593
|
};
|
1595
1594
|
}
|
1596
|
-
function
|
1595
|
+
function Lu(e) {
|
1597
1596
|
let t;
|
1598
1597
|
return x && x.context && (t = x.context[e.id]) !== void 0 ? t : e.defaultValue;
|
1599
1598
|
}
|
@@ -2034,23 +2033,23 @@ function ka(e) {
|
|
2034
2033
|
return n.preload = () => r || ((r = e()).then((s) => t = () => s.default), r), n;
|
2035
2034
|
}
|
2036
2035
|
var Ra = 0;
|
2037
|
-
function
|
2036
|
+
function Mu() {
|
2038
2037
|
return I.context ? I.getNextContextId() : `cl-${Ra++}`;
|
2039
2038
|
}
|
2040
2039
|
var Ds = (e) => `Stale read from <${e}>.`;
|
2041
|
-
function
|
2040
|
+
function $u(e) {
|
2042
2041
|
const t = "fallback" in e && {
|
2043
2042
|
fallback: () => e.fallback
|
2044
2043
|
};
|
2045
2044
|
return se(Ea(() => e.each, e.children, t || void 0));
|
2046
2045
|
}
|
2047
|
-
function
|
2046
|
+
function Uu(e) {
|
2048
2047
|
const t = "fallback" in e && {
|
2049
2048
|
fallback: () => e.fallback
|
2050
2049
|
};
|
2051
2050
|
return se(Sa(() => e.each, e.children, t || void 0));
|
2052
2051
|
}
|
2053
|
-
function
|
2052
|
+
function Ku(e) {
|
2054
2053
|
const t = e.keyed, r = se(() => e.when, void 0, {
|
2055
2054
|
equals: (n, s) => t ? n === s : !n == !s
|
2056
2055
|
});
|
@@ -2075,7 +2074,7 @@ function Fu(e) {
|
|
2075
2074
|
void 0
|
2076
2075
|
);
|
2077
2076
|
}
|
2078
|
-
function
|
2077
|
+
function Hu(e) {
|
2079
2078
|
let t = !1;
|
2080
2079
|
const r = (i, a) => (t ? i[1] === a[1] : !i[1] == !a[1]) && i[2] === a[2], n = Os(() => e.children), s = se(
|
2081
2080
|
() => {
|
@@ -2113,7 +2112,7 @@ function Vu(e) {
|
|
2113
2112
|
void 0
|
2114
2113
|
);
|
2115
2114
|
}
|
2116
|
-
function
|
2115
|
+
function Fu(e) {
|
2117
2116
|
return e;
|
2118
2117
|
}
|
2119
2118
|
var _a = [
|
@@ -2347,7 +2346,7 @@ function Ua(e, t, r, n = {}) {
|
|
2347
2346
|
s(), t.textContent = "";
|
2348
2347
|
};
|
2349
2348
|
}
|
2350
|
-
function
|
2349
|
+
function Vu(e, t, r) {
|
2351
2350
|
let n;
|
2352
2351
|
const s = () => {
|
2353
2352
|
const a = document.createElement("template");
|
@@ -2362,7 +2361,7 @@ function Ka(e, t = window.document) {
|
|
2362
2361
|
r.has(i) || (r.add(i), t.addEventListener(i, Ls));
|
2363
2362
|
}
|
2364
2363
|
}
|
2365
|
-
function
|
2364
|
+
function Bu(e = window.document) {
|
2366
2365
|
if (e[Ct]) {
|
2367
2366
|
for (let t of e[Ct].keys())
|
2368
2367
|
e.removeEventListener(t, Ls);
|
@@ -2666,7 +2665,7 @@ var Xa = "http://www.w3.org/2000/svg";
|
|
2666
2665
|
function Ms(e, t = !1) {
|
2667
2666
|
return t ? document.createElementNS(Xa, e) : document.createElement(e);
|
2668
2667
|
}
|
2669
|
-
function
|
2668
|
+
function Gu(e) {
|
2670
2669
|
const { useShadow: t } = e, r = document.createTextNode(""), n = () => e.mount || document.body, s = Dn();
|
2671
2670
|
let i, a = !!I.context;
|
2672
2671
|
return _s(
|
@@ -2694,7 +2693,7 @@ function qu(e) {
|
|
2694
2693
|
}
|
2695
2694
|
), r;
|
2696
2695
|
}
|
2697
|
-
function
|
2696
|
+
function ju(e) {
|
2698
2697
|
const [t, r] = Ia(e, ["component"]), n = se(() => t.component);
|
2699
2698
|
return se(() => {
|
2700
2699
|
const s = n();
|
@@ -3208,42 +3207,42 @@ D.registerClass = D.defaultInstance.registerClass.bind(D.defaultInstance);
|
|
3208
3207
|
D.registerSymbol = D.defaultInstance.registerSymbol.bind(D.defaultInstance);
|
3209
3208
|
D.registerCustom = D.defaultInstance.registerCustom.bind(D.defaultInstance);
|
3210
3209
|
D.allowErrorProps = D.defaultInstance.allowErrorProps.bind(D.defaultInstance);
|
3211
|
-
var Oo = D.serialize,
|
3212
|
-
function
|
3210
|
+
var Oo = D.serialize, qu = D.stringify;
|
3211
|
+
function Wu(e) {
|
3213
3212
|
return e.state.fetchStatus === "fetching" ? "fetching" : e.getObserversCount() ? e.state.fetchStatus === "paused" ? "paused" : e.isStale() ? "stale" : "fresh" : "inactive";
|
3214
3213
|
}
|
3215
|
-
function
|
3214
|
+
function Ju(e, t) {
|
3216
3215
|
return `${e}${t.charAt(0).toUpperCase() + t.slice(1)}`;
|
3217
3216
|
}
|
3218
|
-
function
|
3217
|
+
function Yu({
|
3219
3218
|
queryState: e,
|
3220
3219
|
observerCount: t,
|
3221
3220
|
isStale: r
|
3222
3221
|
}) {
|
3223
3222
|
return e.fetchStatus === "fetching" ? "blue" : t ? e.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
|
3224
3223
|
}
|
3225
|
-
function
|
3224
|
+
function zu({
|
3226
3225
|
status: e,
|
3227
3226
|
isPaused: t
|
3228
3227
|
}) {
|
3229
3228
|
return t ? "purple" : e === "error" ? "red" : e === "pending" ? "yellow" : e === "success" ? "green" : "gray";
|
3230
3229
|
}
|
3231
|
-
function
|
3230
|
+
function Qu(e) {
|
3232
3231
|
return e === "fresh" ? "green" : e === "stale" ? "yellow" : e === "paused" ? "purple" : e === "inactive" ? "gray" : "blue";
|
3233
3232
|
}
|
3234
|
-
var
|
3233
|
+
var Xu = (e, t = !1) => {
|
3235
3234
|
const {
|
3236
3235
|
json: r
|
3237
3236
|
} = Oo(e);
|
3238
3237
|
return JSON.stringify(r, null, t ? 2 : void 0);
|
3239
|
-
}, er = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, No = (e, t) => e.queryHash.localeCompare(t.queryHash), Qs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Co = (e, t) => er(e) === er(t) ? Qs(e, t) : er(e) > er(t) ? 1 : -1,
|
3238
|
+
}, er = (e) => e.state.fetchStatus !== "idle" ? 0 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3, No = (e, t) => e.queryHash.localeCompare(t.queryHash), Qs = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Co = (e, t) => er(e) === er(t) ? Qs(e, t) : er(e) > er(t) ? 1 : -1, Zu = {
|
3240
3239
|
status: Co,
|
3241
3240
|
"query hash": No,
|
3242
3241
|
"last updated": Qs
|
3243
|
-
}, tr = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Xs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Po = (e, t) => tr(e) === tr(t) ? Xs(e, t) : tr(e) > tr(t) ? 1 : -1,
|
3242
|
+
}, tr = (e) => e.state.isPaused ? 0 : e.state.status === "error" ? 2 : e.state.status === "pending" ? 1 : 3, Xs = (e, t) => e.state.submittedAt < t.state.submittedAt ? 1 : -1, Po = (e, t) => tr(e) === tr(t) ? Xs(e, t) : tr(e) > tr(t) ? 1 : -1, ed = {
|
3244
3243
|
status: Po,
|
3245
3244
|
"last updated": Xs
|
3246
|
-
},
|
3245
|
+
}, td = (e) => e * parseFloat(getComputedStyle(document.documentElement).fontSize), rd = () => {
|
3247
3246
|
const [e, t] = te("dark");
|
3248
3247
|
return fa(() => {
|
3249
3248
|
const r = window.matchMedia("(prefers-color-scheme: dark)");
|
@@ -3368,7 +3367,7 @@ var ed = (e, t = !1) => {
|
|
3368
3367
|
const t = Ua(() => {
|
3369
3368
|
const r = this, [n] = f(this, wt), [s] = f(this, Et), [i] = f(this, St), [a] = f(this, vt), [o] = f(this, gt);
|
3370
3369
|
let c;
|
3371
|
-
return f(this, At) ? c = f(this, At) : (c = ka(() => import("./J3FDRF32.
|
3370
|
+
return f(this, At) ? c = f(this, At) : (c = ka(() => import("./J3FDRF32.KfcTr4qd.js")), w(this, At, c)), xo(f(this, Wt), f(this, bt)), va(c, Ta({
|
3372
3371
|
get queryFlavor() {
|
3373
3372
|
return f(r, jt);
|
3374
3373
|
},
|
@@ -4641,7 +4640,7 @@ async function jc(e) {
|
|
4641
4640
|
code_challenge: r
|
4642
4641
|
};
|
4643
4642
|
}
|
4644
|
-
const
|
4643
|
+
const ld = async (e, t) => {
|
4645
4644
|
var r;
|
4646
4645
|
const n = await kt(e);
|
4647
4646
|
if (!n || !Array.isArray((r = n.payload) == null ? void 0 : r[V.SCOPES_KEY]))
|
@@ -5396,54 +5395,12 @@ const ll = (e) => ke(
|
|
5396
5395
|
children: e
|
5397
5396
|
}
|
5398
5397
|
) });
|
5399
|
-
}, Ai = (e = vi) => ps(e),
|
5398
|
+
}, Ai = (e = vi) => ps(e), ud = "user", dd = "assistant", fd = "data", hd = "I'm having trouble right now. Please try again later.", md = "OpenAI", yd = "OpenAI", pd = "Anthropic", gd = "action-search", bd = "action-sort", wd = "action-toggle-prompt", Ed = "action-reset-prompt", Sd = "sassy-saint-", vd = "details", Ad = "search", Td = "sort", Id = "private-disclosure", kd = "reasoning-disclosure", es = "b44c68f0-e5b3-4a1d-a3e3-df8632b0223b", Rd = 10, _d = 30, Od = "av-prompt", Nd = "av-prompt-editable", Cd = "size-5 sm:size-4", Pd = 30, xd = 10, Dd = 130, Ld = {
|
5400
5399
|
PLAN_FREE: "sassy:free",
|
5401
5400
|
PLAN_PLUS: "sassy:plus",
|
5402
5401
|
PLAN_ADVANCED: "sassy:advanced",
|
5403
5402
|
REASONING: "sassy:advanced:reasoning"
|
5404
|
-
}, fl =
|
5405
|
-
PREFERENCES: {
|
5406
|
-
TITLE: "User profile",
|
5407
|
-
NAME: "Name",
|
5408
|
-
EMAIL: "Email",
|
5409
|
-
LOCATION: "Location",
|
5410
|
-
PASSKEY_TITLE: "Passkey",
|
5411
|
-
PASSKEY_INSTRUCTIONS: "Log in password-free with a passkey (facial recognition or fingerprint authentication).",
|
5412
|
-
PASSKEY_BUTTON: "Create a Passkey"
|
5413
|
-
},
|
5414
|
-
CURRENT_STATISTICS: {
|
5415
|
-
TITLE: "Current chat statistics",
|
5416
|
-
MODEL_NAME: "GPT model",
|
5417
|
-
TOKENS_USED: "Tokens used",
|
5418
|
-
REMAINING_TOKENS: "Remaining tokens",
|
5419
|
-
PROCESSING_TIME: "Average response time"
|
5420
|
-
},
|
5421
|
-
MAIN_STATISTICS: {
|
5422
|
-
TITLE: "Lifetime statistics",
|
5423
|
-
TOTAL: "Total chat session",
|
5424
|
-
TOTAL_PRIVATE: "Private chat",
|
5425
|
-
TOTAL_DELETED: "Deleted chat",
|
5426
|
-
PROCESSING_TIME: "Average response time",
|
5427
|
-
USAGE: `${(/* @__PURE__ */ new Date()).getFullYear()} token usage`
|
5428
|
-
},
|
5429
|
-
HISTORY: {
|
5430
|
-
TITLE: "Chat history"
|
5431
|
-
},
|
5432
|
-
ABOUT: {
|
5433
|
-
TITLE_CLIENT: "Client details",
|
5434
|
-
TITLE_SERVER: "Server details",
|
5435
|
-
VERSION: "Version",
|
5436
|
-
BUILD_TIMESTAMP: "Build date",
|
5437
|
-
PROVIDER: "Available AI model"
|
5438
|
-
},
|
5439
|
-
SETTINGS_PROMPTS: {
|
5440
|
-
TITLE: "Prompts"
|
5441
|
-
},
|
5442
|
-
SETTINGS_DETAILS: {
|
5443
|
-
TITLE: "Chat Details",
|
5444
|
-
INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
|
5445
|
-
}
|
5446
|
-
}, gl = process.env.NODE_ENV === "production", Ii = !gl, bl = Ii ? "gizmette.local.com" : "gizmette.com", Xd = async () => {
|
5403
|
+
}, fl = process.env.NODE_ENV === "production", Ti = !fl, hl = Ti ? "gizmette.local.com" : "gizmette.com", Md = async () => {
|
5447
5404
|
const e = {
|
5448
5405
|
/**
|
5449
5406
|
* A boolean value that indicates the application would
|
@@ -5492,21 +5449,21 @@ const ll = (e) => ke(
|
|
5492
5449
|
e
|
5493
5450
|
);
|
5494
5451
|
});
|
5495
|
-
},
|
5452
|
+
}, $d = (e) => window.btoa(
|
5496
5453
|
encodeURIComponent(e).replace(
|
5497
5454
|
/%([0-9A-F]{2})/g,
|
5498
5455
|
function(r, n) {
|
5499
5456
|
return String.fromCharCode(+`0x${n}`);
|
5500
5457
|
}
|
5501
5458
|
)
|
5502
|
-
),
|
5459
|
+
), Ud = (e) => decodeURIComponent(
|
5503
5460
|
window.atob(e).split("").map(function(t) {
|
5504
5461
|
return `%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`;
|
5505
5462
|
}).join("")
|
5506
|
-
),
|
5463
|
+
), Kd = (e, t) => t ? Object.keys(t).map((r) => /* @__PURE__ */ y("dl", { className: "my-0", children: /* @__PURE__ */ re("div", { className: "flex items-center justify-between", children: [
|
5507
5464
|
/* @__PURE__ */ y("dt", { className: "my-1 inline-block font-bold text-copy-dark dark:text-copy-lighter", children: r }),
|
5508
5465
|
/* @__PURE__ */ y("dd", { className: "my-1 inline-block", children: t[r] })
|
5509
|
-
] }) }, `${e}-${r}`)) : null,
|
5466
|
+
] }) }, `${e}-${r}`)) : null, ml = ({
|
5510
5467
|
isAuthenticated: e,
|
5511
5468
|
extraClass: t
|
5512
5469
|
}) => b(
|
@@ -5515,20 +5472,20 @@ const ll = (e) => ke(
|
|
5515
5472
|
"flex-1 overflow-y-auto",
|
5516
5473
|
e ? "pt-0" : "pt-10",
|
5517
5474
|
t
|
5518
|
-
),
|
5475
|
+
), yl = ({
|
5519
5476
|
extraClass: e
|
5520
|
-
} = {}) => b(
|
5477
|
+
} = {}) => b("px-2 sm:px-0", e), Hd = (e, t) => t === 1 ? e : `${e}s`, Fd = (e, t) => {
|
5521
5478
|
let r;
|
5522
5479
|
return (...n) => {
|
5523
5480
|
window.clearTimeout(r), r = window.setTimeout(() => e(...n), t);
|
5524
5481
|
};
|
5525
|
-
},
|
5526
|
-
const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r =
|
5482
|
+
}, pl = () => !!(window != null && window.__VERSINI_CALLISTO_ELECTRON__), gl = () => window.innerWidth < 403, Vd = () => {
|
5483
|
+
const e = ["iPhone Simulator", "iPhone"].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || window.indexedDB !== null, t = /iPhone/.test(navigator.userAgent), r = gl(), n = navigator.maxTouchPoints > 1;
|
5527
5484
|
return e && t && r && n;
|
5528
|
-
},
|
5485
|
+
}, Bd = (e) => {
|
5529
5486
|
const t = e.replace(/([A-Z])/g, " $1");
|
5530
5487
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
5531
|
-
},
|
5488
|
+
}, Gd = ({
|
5532
5489
|
autoClose: e = 3e3,
|
5533
5490
|
containerId: t,
|
5534
5491
|
position: r = "top-center",
|
@@ -5553,14 +5510,14 @@ const ll = (e) => ke(
|
|
5553
5510
|
transition: l,
|
5554
5511
|
icon: d
|
5555
5512
|
});
|
5556
|
-
function
|
5513
|
+
function jd(e, t) {
|
5557
5514
|
for (const [r, n] of Object.entries(e))
|
5558
5515
|
for (const s of n)
|
5559
5516
|
if (new RegExp(`^${s}(-.+|[a-zA-Z0-9]+)?$`).test(t))
|
5560
5517
|
return r;
|
5561
5518
|
return null;
|
5562
5519
|
}
|
5563
|
-
const ts = "av-button", Mr = "icon", Sn = "button", yn = "link",
|
5520
|
+
const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", bl = ({
|
5564
5521
|
type: e,
|
5565
5522
|
size: t,
|
5566
5523
|
labelRight: r,
|
@@ -5596,7 +5553,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5596
5553
|
"h-12": t === "large" && i && (r || n)
|
5597
5554
|
});
|
5598
5555
|
}
|
5599
|
-
},
|
5556
|
+
}, wl = ({
|
5600
5557
|
type: e,
|
5601
5558
|
size: t,
|
5602
5559
|
labelRight: r,
|
@@ -5619,7 +5576,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5619
5576
|
[a]: t === "large" && (r || n)
|
5620
5577
|
});
|
5621
5578
|
}
|
5622
|
-
},
|
5579
|
+
}, El = ({
|
5623
5580
|
mode: e,
|
5624
5581
|
noBackground: t,
|
5625
5582
|
truncate: r,
|
@@ -5655,7 +5612,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5655
5612
|
return b("not-prose text-copy-lighter", {
|
5656
5613
|
truncate: r
|
5657
5614
|
});
|
5658
|
-
},
|
5615
|
+
}, Sl = ({
|
5659
5616
|
mode: e,
|
5660
5617
|
noBackground: t,
|
5661
5618
|
variant: r
|
@@ -5685,13 +5642,13 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5685
5642
|
if (r === "selected")
|
5686
5643
|
return "bg-action-selected-dark";
|
5687
5644
|
}
|
5688
|
-
},
|
5645
|
+
}, vl = ({
|
5689
5646
|
radius: e
|
5690
5647
|
}) => b({
|
5691
5648
|
"rounded-full": e === "large",
|
5692
5649
|
"rounded-md": e === "medium",
|
5693
5650
|
"rounded-xs": e === "small"
|
5694
|
-
}),
|
5651
|
+
}), Al = ({
|
5695
5652
|
mode: e,
|
5696
5653
|
disabled: t,
|
5697
5654
|
variant: r
|
@@ -5721,7 +5678,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5721
5678
|
});
|
5722
5679
|
if (r === "selected")
|
5723
5680
|
return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
|
5724
|
-
},
|
5681
|
+
}, Tl = ({
|
5725
5682
|
mode: e,
|
5726
5683
|
disabled: t,
|
5727
5684
|
variant: r
|
@@ -5751,7 +5708,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5751
5708
|
});
|
5752
5709
|
if (r === "selected")
|
5753
5710
|
return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
|
5754
|
-
},
|
5711
|
+
}, Il = ({
|
5755
5712
|
mode: e,
|
5756
5713
|
noBorder: t,
|
5757
5714
|
variant: r
|
@@ -5781,14 +5738,14 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5781
5738
|
});
|
5782
5739
|
if (r === "selected")
|
5783
5740
|
return "border border-border-selected-dark";
|
5784
|
-
},
|
5741
|
+
}, kl = ({
|
5785
5742
|
focusMode: e
|
5786
5743
|
}) => b("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
5787
5744
|
"focus:outline-focus-dark": e === "dark",
|
5788
5745
|
"focus:outline-focus-light": e === "light",
|
5789
5746
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
5790
5747
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
5791
|
-
}),
|
5748
|
+
}), Rl = ({
|
5792
5749
|
mode: e,
|
5793
5750
|
raw: t,
|
5794
5751
|
iconClassName: r
|
@@ -5800,11 +5757,11 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5800
5757
|
"dark:text-copy-accent-dark": e === "system"
|
5801
5758
|
},
|
5802
5759
|
r
|
5803
|
-
),
|
5760
|
+
), _l = ({
|
5804
5761
|
animated: e
|
5805
5762
|
}) => b({
|
5806
5763
|
"transition-opacity duration-300 ease-in": e
|
5807
|
-
}),
|
5764
|
+
}), Ii = ({
|
5808
5765
|
type: e,
|
5809
5766
|
className: t,
|
5810
5767
|
raw: r,
|
@@ -5824,15 +5781,15 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5824
5781
|
animated: E
|
5825
5782
|
}) => (h || (h = "primary"), r ? b(ts, t) : b(
|
5826
5783
|
ts,
|
5827
|
-
|
5784
|
+
El({
|
5828
5785
|
mode: n,
|
5829
5786
|
variant: h,
|
5830
5787
|
noBackground: u,
|
5831
5788
|
truncate: m
|
5832
5789
|
}),
|
5833
|
-
|
5834
|
-
|
5835
|
-
|
5790
|
+
Sl({ mode: n, noBackground: u, variant: h }),
|
5791
|
+
vl({ radius: g }),
|
5792
|
+
bl({
|
5836
5793
|
type: e,
|
5837
5794
|
size: o,
|
5838
5795
|
labelRight: l,
|
@@ -5840,11 +5797,11 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5840
5797
|
align: p,
|
5841
5798
|
animated: E
|
5842
5799
|
}),
|
5843
|
-
|
5844
|
-
|
5845
|
-
|
5846
|
-
|
5847
|
-
|
5800
|
+
wl({ type: e, size: o, labelRight: l, labelLeft: d }),
|
5801
|
+
Il({ mode: n, variant: h, noBorder: c }),
|
5802
|
+
kl({ focusMode: s }),
|
5803
|
+
Al({ mode: n, variant: h, disabled: i }),
|
5804
|
+
Tl({ mode: n, variant: h, disabled: i }),
|
5848
5805
|
{
|
5849
5806
|
"w-full": a,
|
5850
5807
|
"disabled:cursor-not-allowed disabled:opacity-50": i
|
@@ -5853,7 +5810,7 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5853
5810
|
"transition-[width] duration-300 ease-in-out": e === Mr && E
|
5854
5811
|
}),
|
5855
5812
|
t
|
5856
|
-
)),
|
5813
|
+
)), Ol = (e, t, r) => {
|
5857
5814
|
var n;
|
5858
5815
|
!t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e == null ? void 0 : e.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
|
5859
5816
|
}, vn = _e.forwardRef((e, t) => {
|
@@ -5863,14 +5820,14 @@ const ts = "av-button", Mr = "icon", Sn = "button", yn = "link", Al = ({
|
|
5863
5820
|
{
|
5864
5821
|
ref: t,
|
5865
5822
|
onClick: (i) => {
|
5866
|
-
|
5823
|
+
Ol(i, n, r);
|
5867
5824
|
},
|
5868
5825
|
...s
|
5869
5826
|
}
|
5870
5827
|
);
|
5871
5828
|
});
|
5872
5829
|
vn.displayName = "BaseButton";
|
5873
|
-
const
|
5830
|
+
const ki = _e.forwardRef(
|
5874
5831
|
({
|
5875
5832
|
children: e,
|
5876
5833
|
disabled: t = !1,
|
@@ -5886,7 +5843,7 @@ const Ri = _e.forwardRef(
|
|
5886
5843
|
radius: u = "large",
|
5887
5844
|
...h
|
5888
5845
|
}, m) => {
|
5889
|
-
const p =
|
5846
|
+
const p = Ii({
|
5890
5847
|
type: Sn,
|
5891
5848
|
mode: r,
|
5892
5849
|
focusMode: n,
|
@@ -5912,14 +5869,14 @@ const Ri = _e.forwardRef(
|
|
5912
5869
|
);
|
5913
5870
|
}
|
5914
5871
|
);
|
5915
|
-
|
5916
|
-
function
|
5872
|
+
ki.displayName = "Button";
|
5873
|
+
function Nl() {
|
5917
5874
|
const e = z(!1);
|
5918
5875
|
return we(() => (e.current = !0, () => {
|
5919
5876
|
e.current = !1;
|
5920
5877
|
}), []), ke(() => e.current, []);
|
5921
5878
|
}
|
5922
|
-
function
|
5879
|
+
function Cl(e) {
|
5923
5880
|
return Rr(() => e.every((t) => t == null) ? () => {
|
5924
5881
|
} : (t) => {
|
5925
5882
|
e.forEach((r) => {
|
@@ -5927,7 +5884,7 @@ function Ml(e) {
|
|
5927
5884
|
});
|
5928
5885
|
}, e);
|
5929
5886
|
}
|
5930
|
-
const
|
5887
|
+
const Pl = {
|
5931
5888
|
x: 0,
|
5932
5889
|
y: 0,
|
5933
5890
|
width: 0,
|
@@ -5938,7 +5895,7 @@ const $l = {
|
|
5938
5895
|
right: 0
|
5939
5896
|
};
|
5940
5897
|
function zr(e) {
|
5941
|
-
const t =
|
5898
|
+
const t = Nl(), r = z(0), n = z(null), [s, i] = Ie(Pl), a = Rr(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
5942
5899
|
const c = o[0];
|
5943
5900
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
5944
5901
|
n.current && t() && i(c.contentRect);
|
@@ -5948,21 +5905,21 @@ function zr(e) {
|
|
5948
5905
|
a == null || a.disconnect(), r.current && cancelAnimationFrame(r.current);
|
5949
5906
|
}), [a, e]), [n, s];
|
5950
5907
|
}
|
5951
|
-
const
|
5908
|
+
const xl = {
|
5952
5909
|
small: 24,
|
5953
5910
|
// w-6
|
5954
5911
|
medium: 32,
|
5955
5912
|
// w-8
|
5956
5913
|
large: 48
|
5957
5914
|
// w-12
|
5958
|
-
},
|
5915
|
+
}, Dl = {
|
5959
5916
|
small: 8 * 2,
|
5960
5917
|
// px-2 x 2
|
5961
5918
|
medium: 12 * 2,
|
5962
5919
|
// px-3 x 2
|
5963
5920
|
large: 16 * 2
|
5964
5921
|
// px-4 x 2
|
5965
|
-
},
|
5922
|
+
}, Ll = 2, Ir = _e.forwardRef(
|
5966
5923
|
({
|
5967
5924
|
children: e,
|
5968
5925
|
disabled: t = !1,
|
@@ -5986,7 +5943,7 @@ const Ul = {
|
|
5986
5943
|
animated: v = !1,
|
5987
5944
|
...N
|
5988
5945
|
}, R) => {
|
5989
|
-
const U =
|
5946
|
+
const U = Ii({
|
5990
5947
|
type: Mr,
|
5991
5948
|
mode: r,
|
5992
5949
|
focusMode: n,
|
@@ -6003,11 +5960,11 @@ const Ul = {
|
|
6003
5960
|
radius: E,
|
6004
5961
|
variant: O,
|
6005
5962
|
animated: v
|
6006
|
-
}), F =
|
5963
|
+
}), F = Rl({ mode: r, raw: o, iconClassName: C }), _ = _l({ animated: v }), [T, P] = zr(), [k, K] = zr(), [X, fe] = zr(), Ne = z(0), S = z(null), $ = Cl([R, S]);
|
6007
5964
|
return mr(() => {
|
6008
|
-
X && X.current && v && (Ne.current = fe.width +
|
5965
|
+
X && X.current && v && (Ne.current = fe.width + Dl[u] + (c ? 0 : Ll));
|
6009
5966
|
}, [fe, X, u, c, v]), mr(() => {
|
6010
|
-
S && S.current && v && (h && T && P.width > 0 ? (T.current && (T.current.style.opacity = "100"), S.current.style.width = `${P.width + Ne.current}px`) : m && K.width > 0 ? (k.current && (k.current.style.opacity = "100"), S.current.style.width = `${K.width + Ne.current}px`) : (T.current && (T.current.style.opacity = "0"), k.current && (k.current.style.opacity = "0"), S.current.style.width = `${
|
5967
|
+
S && S.current && v && (h && T && P.width > 0 ? (T.current && (T.current.style.opacity = "100"), S.current.style.width = `${P.width + Ne.current}px`) : m && K.width > 0 ? (k.current && (k.current.style.opacity = "100"), S.current.style.width = `${K.width + Ne.current}px`) : (T.current && (T.current.style.opacity = "0"), k.current && (k.current.style.opacity = "0"), S.current.style.width = `${xl[u]}px`));
|
6011
5968
|
}, [
|
6012
5969
|
P,
|
6013
5970
|
h,
|
@@ -6070,7 +6027,7 @@ try {
|
|
6070
6027
|
});
|
6071
6028
|
} catch {
|
6072
6029
|
}
|
6073
|
-
const
|
6030
|
+
const Ml = _e.forwardRef(
|
6074
6031
|
({
|
6075
6032
|
children: e,
|
6076
6033
|
mode: t = "system",
|
@@ -6108,7 +6065,7 @@ const Fl = _e.forwardRef(
|
|
6108
6065
|
) });
|
6109
6066
|
}
|
6110
6067
|
);
|
6111
|
-
|
6068
|
+
Ml.displayName = "ButtonSort";
|
6112
6069
|
/*!
|
6113
6070
|
@versini/ui-card v4.0.0
|
6114
6071
|
© 2025 gizmette.com
|
@@ -6123,11 +6080,11 @@ try {
|
|
6123
6080
|
} catch {
|
6124
6081
|
}
|
6125
6082
|
const fr = "av-card";
|
6126
|
-
function
|
6083
|
+
function $l(e) {
|
6127
6084
|
const t = gs();
|
6128
6085
|
return `${e}${t}`;
|
6129
6086
|
}
|
6130
|
-
const
|
6087
|
+
const Ul = ({
|
6131
6088
|
className: e,
|
6132
6089
|
headerClassName: t,
|
6133
6090
|
bodyClassName: r,
|
@@ -6167,7 +6124,7 @@ const Bl = ({
|
|
6167
6124
|
footer: d
|
6168
6125
|
};
|
6169
6126
|
};
|
6170
|
-
function
|
6127
|
+
function Kl({
|
6171
6128
|
id: e,
|
6172
6129
|
content: t,
|
6173
6130
|
userAriaLabelledby: r,
|
@@ -6175,7 +6132,7 @@ function Gl({
|
|
6175
6132
|
}) {
|
6176
6133
|
return typeof t == "string" ? /* @__PURE__ */ y("h2", { id: e, className: n, children: t }) : r ? /* @__PURE__ */ y("div", { className: n, children: t }) : t ? /* @__PURE__ */ y("div", { className: n, id: e, children: t }) : null;
|
6177
6134
|
}
|
6178
|
-
const
|
6135
|
+
const Hl = ({
|
6179
6136
|
header: e,
|
6180
6137
|
headerClassName: t,
|
6181
6138
|
footer: r,
|
@@ -6190,7 +6147,7 @@ const jl = ({
|
|
6190
6147
|
...u
|
6191
6148
|
}) => {
|
6192
6149
|
let h = null, m = null;
|
6193
|
-
const p = typeof e == "string", g =
|
6150
|
+
const p = typeof e == "string", g = $l(fr), E = Ul({
|
6194
6151
|
className: i,
|
6195
6152
|
headerClassName: t,
|
6196
6153
|
bodyClassName: a,
|
@@ -6209,7 +6166,7 @@ const jl = ({
|
|
6209
6166
|
...u,
|
6210
6167
|
children: [
|
6211
6168
|
/* @__PURE__ */ y(
|
6212
|
-
|
6169
|
+
Kl,
|
6213
6170
|
{
|
6214
6171
|
...h && { id: h },
|
6215
6172
|
content: e,
|
@@ -6265,7 +6222,7 @@ try {
|
|
6265
6222
|
});
|
6266
6223
|
} catch {
|
6267
6224
|
}
|
6268
|
-
const
|
6225
|
+
const Fl = ({
|
6269
6226
|
className: e,
|
6270
6227
|
viewBox: t,
|
6271
6228
|
title: r,
|
@@ -6282,7 +6239,7 @@ const ql = ({
|
|
6282
6239
|
...s,
|
6283
6240
|
children: /* @__PURE__ */ y("path", { d: "M927.943 30.81c0-2.381-1.191-5.954-3.573-7.145-7.146-4.763-19.055-1.19-26.2 0-17.864 2.382-34.537 4.764-53.592 4.764-26.2 0-53.591-1.19-79.791-4.764-23.819-3.572-44.064-10.718-69.074-3.572-35.727 9.527-58.355 38.109-57.164 75.028 1.191 21.436-2.382 38.109-9.527 57.164-7.146 17.864-15.482 20.245-32.155 20.245-115.52 0-229.848-1.19-345.367 0h-63.119c-29.773 0-59.546 5.955-89.319 0-21.436-4.763-42.873-15.482-58.355-30.964-3.573-3.572-10.718-14.29-14.29-14.29-4.765 1.19-4.765 15.481-4.765 19.054 0 15.482 5.955 30.964 5.955 46.446s-7.145 28.582-11.91 42.873c-4.763 16.673-4.763 33.346-2.381 50.019 4.764 27.39 9.527 55.973 11.91 84.555 2.381 25.01 2.381 48.828 4.763 73.837 2.382 20.246 3.573 29.773 29.773 33.346 30.964 4.764 30.964-5.955 38.11-26.2 9.527-25.01 17.863-51.21 27.39-76.22 8.337-19.054 15.482-60.736 67.883-40.49 28.582 10.718 58.355 16.672 88.128 25.009 32.155 8.336 65.5 16.673 97.655 22.627 65.501 13.1 132.193 20.246 200.075 23.819 7.146 0 11.91 0 16.673 5.954 17.864 22.628-3.573 63.119 41.682 70.265 40.491 5.954 40.491-22.628 45.255-47.637 2.382-14.291 4.764-27.391 8.337-40.492 1.19-5.954 5.954-11.909 10.718-15.481 55.973-33.346 88.128-98.847 78.6-164.347-1.19-10.719-4.763-21.437-3.572-33.346 2.382-23.819 32.155-33.346 50.018-42.873 22.628-13.1 47.637-25.01 66.692-42.873 13.1-11.91 23.818-27.392 29.773-44.064 3.573-5.955 5.955-14.292 4.764-20.246M737.395 190.395c-2.381 25.01-13.1 36.919-35.727 41.682-40.491 8.337-66.692-19.054-54.783-58.355 8.337-26.2 17.864-51.21 29.773-75.028 11.91-23.818 22.628-23.818 36.919-1.19 17.864 28.581 27.391 59.545 23.818 92.891m38.11-109.564c-7.146 0-13.1-5.955-13.1-13.1 0-7.146 5.954-13.1 13.1-13.1 7.145 0 13.1 5.954 13.1 13.1 0 7.145-5.955 13.1-13.1 13.1" })
|
6284
6241
|
}
|
6285
|
-
),
|
6242
|
+
), Vl = ({
|
6286
6243
|
className: e,
|
6287
6244
|
viewBox: t,
|
6288
6245
|
title: r,
|
@@ -6308,7 +6265,7 @@ const ql = ({
|
|
6308
6265
|
/* @__PURE__ */ y("path", { d: "M5.1 9.2C13.3-1.2 28.4-3.1 38.8 5.1l592 464c10.4 8.2 12.3 23.3 4.1 33.7s-23.3 12.3-33.7 4.1l-592-464C-1.2 34.7-3.1 19.6 5.1 9.2" })
|
6309
6266
|
]
|
6310
6267
|
}
|
6311
|
-
),
|
6268
|
+
), Bl = ({
|
6312
6269
|
className: e,
|
6313
6270
|
viewBox: t,
|
6314
6271
|
title: r,
|
@@ -6344,7 +6301,7 @@ const ql = ({
|
|
6344
6301
|
]
|
6345
6302
|
}
|
6346
6303
|
);
|
6347
|
-
},
|
6304
|
+
}, Gl = ({
|
6348
6305
|
className: e,
|
6349
6306
|
viewBox: t,
|
6350
6307
|
title: r,
|
@@ -6397,7 +6354,7 @@ try {
|
|
6397
6354
|
});
|
6398
6355
|
} catch {
|
6399
6356
|
}
|
6400
|
-
const
|
6357
|
+
const jl = "av-main", ql = ({
|
6401
6358
|
children: e,
|
6402
6359
|
className: t,
|
6403
6360
|
raw: r = !1,
|
@@ -6406,7 +6363,7 @@ const zl = "av-main", Ql = ({
|
|
6406
6363
|
...i
|
6407
6364
|
}) => {
|
6408
6365
|
const a = b(
|
6409
|
-
|
6366
|
+
jl,
|
6410
6367
|
{
|
6411
6368
|
"mt-2 sm:mt-3": !r && !n,
|
6412
6369
|
"p-2": !r && !s,
|
@@ -6415,10 +6372,10 @@ const zl = "av-main", Ql = ({
|
|
6415
6372
|
t
|
6416
6373
|
);
|
6417
6374
|
return /* @__PURE__ */ y("main", { className: a, ...i, children: e });
|
6418
|
-
},
|
6375
|
+
}, Wl = "av-flexgrid", lr = "av-flexgrid-item", kr = 0.25, pn = _e.createContext({
|
6419
6376
|
columnGap: 0,
|
6420
6377
|
rowGap: 0
|
6421
|
-
}),
|
6378
|
+
}), Jl = ({
|
6422
6379
|
children: e,
|
6423
6380
|
className: t,
|
6424
6381
|
columnGap: r = 1,
|
@@ -6444,7 +6401,7 @@ const zl = "av-main", Ql = ({
|
|
6444
6401
|
marginLeft: r * -1 * kr + "rem",
|
6445
6402
|
marginTop: n * -1 * kr + "rem"
|
6446
6403
|
}, u = b(
|
6447
|
-
|
6404
|
+
Wl,
|
6448
6405
|
"box-border flex flex-wrap"
|
6449
6406
|
), h = { columnGap: r, rowGap: n };
|
6450
6407
|
return t ? /* @__PURE__ */ y("div", { className: t, children: /* @__PURE__ */ y("div", { className: u, style: d, ...l, children: /* @__PURE__ */ y(pn.Provider, { value: h, children: e }) }) }) : /* @__PURE__ */ y("div", { className: u, style: d, ...l, children: /* @__PURE__ */ y(pn.Provider, { value: h, children: e }) });
|
@@ -6521,7 +6478,7 @@ const zl = "av-main", Ql = ({
|
|
6521
6478
|
"lg:basis-full": e === 12 && t === "lg",
|
6522
6479
|
"xl:basis-full": e === 12 && t === "xl",
|
6523
6480
|
"2xl:basis-full": e === 12 && t === "2xl"
|
6524
|
-
}),
|
6481
|
+
}), Yl = ({
|
6525
6482
|
className: e,
|
6526
6483
|
span: t
|
6527
6484
|
}) => {
|
@@ -6553,7 +6510,7 @@ const zl = "av-main", Ql = ({
|
|
6553
6510
|
const { columnGap: s, rowGap: i } = ps(pn), a = {
|
6554
6511
|
paddingLeft: s * kr + "rem",
|
6555
6512
|
paddingTop: i * kr + "rem"
|
6556
|
-
}, o =
|
6513
|
+
}, o = Yl({
|
6557
6514
|
className: t,
|
6558
6515
|
span: r
|
6559
6516
|
});
|
@@ -6572,14 +6529,14 @@ try {
|
|
6572
6529
|
});
|
6573
6530
|
} catch {
|
6574
6531
|
}
|
6575
|
-
const
|
6576
|
-
function
|
6532
|
+
const Ri = "av-text-input", zl = "av-text-input-wrapper", Xr = "av-text-input-helper-text";
|
6533
|
+
function Ql() {
|
6577
6534
|
const e = z(!1);
|
6578
6535
|
return we(() => (e.current = !0, () => {
|
6579
6536
|
e.current = !1;
|
6580
6537
|
}), []), ke(() => e.current, []);
|
6581
6538
|
}
|
6582
|
-
const
|
6539
|
+
const Xl = {
|
6583
6540
|
x: 0,
|
6584
6541
|
y: 0,
|
6585
6542
|
width: 0,
|
@@ -6589,8 +6546,8 @@ const nu = {
|
|
6589
6546
|
bottom: 0,
|
6590
6547
|
right: 0
|
6591
6548
|
};
|
6592
|
-
function
|
6593
|
-
const t =
|
6549
|
+
function Zl(e) {
|
6550
|
+
const t = Ql(), r = z(0), n = z(null), [s, i] = Ie(Xl), a = Rr(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((o) => {
|
6594
6551
|
const c = o[0];
|
6595
6552
|
c && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
|
6596
6553
|
n.current && t() && i(c.contentRect);
|
@@ -6600,7 +6557,7 @@ function su(e) {
|
|
6600
6557
|
a == null || a.disconnect(), r.current && cancelAnimationFrame(r.current);
|
6601
6558
|
}), [a, e]), [n, s];
|
6602
6559
|
}
|
6603
|
-
function
|
6560
|
+
function eu(e) {
|
6604
6561
|
const t = gs();
|
6605
6562
|
if (!e)
|
6606
6563
|
return t;
|
@@ -6611,7 +6568,7 @@ function iu(e) {
|
|
6611
6568
|
return typeof r == "number" || typeof r == "string" ? `${n}${r}` : `${n}${t}`;
|
6612
6569
|
}
|
6613
6570
|
}
|
6614
|
-
const
|
6571
|
+
const _i = "SET_ANNOUNCEMENT", Oi = "CLEAR_ANNOUNCEMENT", tu = {
|
6615
6572
|
alert: null,
|
6616
6573
|
alertdialog: null,
|
6617
6574
|
log: "polite",
|
@@ -6619,14 +6576,14 @@ const Oi = "SET_ANNOUNCEMENT", Ni = "CLEAR_ANNOUNCEMENT", au = {
|
|
6619
6576
|
progressbar: null,
|
6620
6577
|
status: "polite",
|
6621
6578
|
timer: "assertive"
|
6622
|
-
},
|
6579
|
+
}, ru = (e, t) => {
|
6623
6580
|
switch (t == null ? void 0 : t.type) {
|
6624
|
-
case
|
6581
|
+
case _i:
|
6625
6582
|
return {
|
6626
6583
|
...e,
|
6627
6584
|
announcement: t.payload
|
6628
6585
|
};
|
6629
|
-
case
|
6586
|
+
case Oi:
|
6630
6587
|
return {
|
6631
6588
|
...e,
|
6632
6589
|
announcement: null
|
@@ -6634,12 +6591,12 @@ const Oi = "SET_ANNOUNCEMENT", Ni = "CLEAR_ANNOUNCEMENT", au = {
|
|
6634
6591
|
default:
|
6635
6592
|
return e;
|
6636
6593
|
}
|
6637
|
-
},
|
6594
|
+
}, nu = ({
|
6638
6595
|
onAnnouncementClear: e,
|
6639
6596
|
dispatch: t
|
6640
6597
|
}) => {
|
6641
6598
|
t({
|
6642
|
-
type:
|
6599
|
+
type: Oi
|
6643
6600
|
}), typeof e == "function" && e();
|
6644
6601
|
}, ns = ({
|
6645
6602
|
children: e,
|
@@ -6649,16 +6606,16 @@ const Oi = "SET_ANNOUNCEMENT", Ni = "CLEAR_ANNOUNCEMENT", au = {
|
|
6649
6606
|
dispatch: s
|
6650
6607
|
}) => {
|
6651
6608
|
clearTimeout(r.current), e !== null && s({
|
6652
|
-
type:
|
6609
|
+
type: _i,
|
6653
6610
|
payload: e
|
6654
6611
|
}), t && (r.current = setTimeout(
|
6655
|
-
() =>
|
6612
|
+
() => nu({
|
6656
6613
|
onAnnouncementClear: n,
|
6657
6614
|
dispatch: s
|
6658
6615
|
}),
|
6659
6616
|
t
|
6660
6617
|
));
|
6661
|
-
},
|
6618
|
+
}, su = ({
|
6662
6619
|
children: e,
|
6663
6620
|
announcementTimeoutRef: t,
|
6664
6621
|
announcementDelay: r,
|
@@ -6681,7 +6638,7 @@ const Oi = "SET_ANNOUNCEMENT", Ni = "CLEAR_ANNOUNCEMENT", au = {
|
|
6681
6638
|
dispatch: a
|
6682
6639
|
});
|
6683
6640
|
};
|
6684
|
-
function
|
6641
|
+
function Ni({
|
6685
6642
|
children: e,
|
6686
6643
|
className: t,
|
6687
6644
|
politeness: r,
|
@@ -6692,12 +6649,12 @@ function Ci({
|
|
6692
6649
|
visible: o,
|
6693
6650
|
...c
|
6694
6651
|
}) {
|
6695
|
-
const l = z(null), d = z(null), [u, h] = ys(
|
6652
|
+
const l = z(null), d = z(null), [u, h] = ys(ru, {
|
6696
6653
|
announcement: null
|
6697
6654
|
});
|
6698
6655
|
let m = r;
|
6699
|
-
typeof m > "u" && (m = n ?
|
6700
|
-
|
6656
|
+
typeof m > "u" && (m = n ? tu[n] : "assertive"), we(() => {
|
6657
|
+
su({
|
6701
6658
|
announcementTimeoutRef: l,
|
6702
6659
|
announcementDelay: s,
|
6703
6660
|
children: e,
|
@@ -6739,21 +6696,21 @@ try {
|
|
6739
6696
|
});
|
6740
6697
|
} catch {
|
6741
6698
|
}
|
6742
|
-
const
|
6699
|
+
const iu = ({
|
6743
6700
|
mode: e
|
6744
6701
|
}) => b({
|
6745
6702
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
6746
6703
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
6747
6704
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
6748
6705
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
6749
|
-
}),
|
6706
|
+
}), au = ({
|
6750
6707
|
focusMode: e
|
6751
6708
|
}) => b("focus:outline focus:outline-2 focus:outline-offset-2", {
|
6752
6709
|
"focus:outline-focus-dark": e === "dark",
|
6753
6710
|
"focus:outline-focus-light": e === "light",
|
6754
6711
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
6755
6712
|
"focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
|
6756
|
-
}),
|
6713
|
+
}), ou = ({
|
6757
6714
|
noBorder: e,
|
6758
6715
|
error: t
|
6759
6716
|
}) => b("border-2", {
|
@@ -6761,7 +6718,7 @@ const uu = ({
|
|
6761
6718
|
"focus:border-border-dark": !e && t,
|
6762
6719
|
"border-border-error-dark": !e && t,
|
6763
6720
|
"border-transparent": e
|
6764
|
-
}),
|
6721
|
+
}), cu = ({
|
6765
6722
|
disabled: e,
|
6766
6723
|
raw: t,
|
6767
6724
|
error: r,
|
@@ -6785,7 +6742,7 @@ const uu = ({
|
|
6785
6742
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
|
6786
6743
|
"text-copy-lighter dark:text-copy-error-dark": n === "alt-system"
|
6787
6744
|
});
|
6788
|
-
},
|
6745
|
+
}, lu = ({
|
6789
6746
|
error: e,
|
6790
6747
|
raw: t,
|
6791
6748
|
mode: r,
|
@@ -6812,7 +6769,7 @@ const uu = ({
|
|
6812
6769
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": r === "system",
|
6813
6770
|
"dark:text-copy-error-dark text-copy-error-light bg-surface-darker": r === "alt-system"
|
6814
6771
|
});
|
6815
|
-
},
|
6772
|
+
}, uu = ({
|
6816
6773
|
className: e,
|
6817
6774
|
inputClassName: t,
|
6818
6775
|
raw: r,
|
@@ -6826,7 +6783,7 @@ const uu = ({
|
|
6826
6783
|
}) => {
|
6827
6784
|
const d = r ? e : b(
|
6828
6785
|
"relative flex w-full flex-col justify-center",
|
6829
|
-
|
6786
|
+
zl,
|
6830
6787
|
e
|
6831
6788
|
);
|
6832
6789
|
let u = "";
|
@@ -6848,22 +6805,22 @@ const uu = ({
|
|
6848
6805
|
break;
|
6849
6806
|
}
|
6850
6807
|
const h = r ? b(t) : b(
|
6851
|
-
|
6808
|
+
Ri,
|
6852
6809
|
u,
|
6853
6810
|
"rounded-md text-base px-4",
|
6854
|
-
|
6855
|
-
|
6856
|
-
|
6811
|
+
iu({ mode: a }),
|
6812
|
+
au({ focusMode: o }),
|
6813
|
+
ou({ noBorder: s, error: i }),
|
6857
6814
|
{
|
6858
6815
|
"disabled:cursor-not-allowed disabled:opacity-50": n
|
6859
6816
|
},
|
6860
6817
|
t
|
6861
|
-
), m = r ? void 0 : "sr-only", p =
|
6818
|
+
), m = r ? void 0 : "sr-only", p = cu({
|
6862
6819
|
disabled: n,
|
6863
6820
|
raw: r,
|
6864
6821
|
error: i,
|
6865
6822
|
mode: a
|
6866
|
-
}), g =
|
6823
|
+
}), g = lu({
|
6867
6824
|
error: i,
|
6868
6825
|
raw: r,
|
6869
6826
|
mode: a,
|
@@ -6899,13 +6856,13 @@ const uu = ({
|
|
6899
6856
|
size: O = "md",
|
6900
6857
|
...C
|
6901
6858
|
}, v) => {
|
6902
|
-
const [N, R] =
|
6859
|
+
const [N, R] = Zl(), [U, F] = Ie(0), _ = eu({ id: e, prefix: `${Ri}-` }), T = `${t} error, ${p}`, P = z(null), k = z(null), K = {
|
6903
6860
|
xs: { label: "-25px", helperText: "30px" },
|
6904
6861
|
sm: { label: "-29px", helperText: "34px" },
|
6905
6862
|
md: { label: "-33px", helperText: "38px" },
|
6906
6863
|
lg: { label: "-15px", helperText: "22px" },
|
6907
6864
|
xl: { label: "-19px", helperText: "25px" }
|
6908
|
-
}, X =
|
6865
|
+
}, X = uu({
|
6909
6866
|
className: i,
|
6910
6867
|
inputClassName: a,
|
6911
6868
|
error: n,
|
@@ -6979,12 +6936,12 @@ const uu = ({
|
|
6979
6936
|
children: g
|
6980
6937
|
}
|
6981
6938
|
),
|
6982
|
-
n && p && /* @__PURE__ */ y(
|
6939
|
+
n && p && /* @__PURE__ */ y(Ni, { politeness: "polite", clearAnnouncementDelay: 500, children: T })
|
6983
6940
|
] });
|
6984
6941
|
}
|
6985
6942
|
);
|
6986
6943
|
An.displayName = "TextInput";
|
6987
|
-
function
|
6944
|
+
function du(e) {
|
6988
6945
|
return Rr(() => e.every((t) => t == null) ? () => {
|
6989
6946
|
} : (t) => {
|
6990
6947
|
e.forEach((r) => {
|
@@ -6992,7 +6949,7 @@ function pu(e) {
|
|
6992
6949
|
});
|
6993
6950
|
}, e);
|
6994
6951
|
}
|
6995
|
-
const
|
6952
|
+
const fu = 500, hu = 5e3, mu = 2e4, Ci = _e.forwardRef(
|
6996
6953
|
({
|
6997
6954
|
name: e,
|
6998
6955
|
disabled: t,
|
@@ -7009,19 +6966,19 @@ const gu = 500, bu = 5e3, wu = 2e4, Pi = _e.forwardRef(
|
|
7009
6966
|
const [h, m] = Ie(!0), [p, g] = Ie({
|
7010
6967
|
message: null,
|
7011
6968
|
politeness: null
|
7012
|
-
}), E = z(!0), O = z(null), C = z(null), v =
|
6969
|
+
}), E = z(!0), O = z(null), C = z(null), v = du([u, C]), N = h ? "Show" : "Hide", R = () => {
|
7013
6970
|
O.current && clearTimeout(O.current), E.current || (O.current = setTimeout(() => {
|
7014
6971
|
E.current = !0, m(!0), g({
|
7015
|
-
announcementTimeout:
|
6972
|
+
announcementTimeout: hu,
|
7016
6973
|
politeness: "polite",
|
7017
6974
|
message: `${r} hiding characters`
|
7018
6975
|
}), s && s(!0);
|
7019
|
-
},
|
6976
|
+
}, mu));
|
7020
6977
|
}, U = (k) => {
|
7021
6978
|
k.preventDefault();
|
7022
6979
|
const K = !E.current;
|
7023
6980
|
E.current = K, R(), m(K), g({
|
7024
|
-
announcementTimeout:
|
6981
|
+
announcementTimeout: fu,
|
7025
6982
|
politeness: "assertive",
|
7026
6983
|
message: K ? "Characters hidden" : "Characters showing"
|
7027
6984
|
}), s && s(K);
|
@@ -7062,7 +7019,7 @@ const gu = 500, bu = 5e3, wu = 2e4, Pi = _e.forwardRef(
|
|
7062
7019
|
}
|
7063
7020
|
),
|
7064
7021
|
/* @__PURE__ */ y(
|
7065
|
-
|
7022
|
+
Ni,
|
7066
7023
|
{
|
7067
7024
|
role: "status",
|
7068
7025
|
politeness: p.politeness,
|
@@ -7073,7 +7030,7 @@ const gu = 500, bu = 5e3, wu = 2e4, Pi = _e.forwardRef(
|
|
7073
7030
|
] });
|
7074
7031
|
}
|
7075
7032
|
);
|
7076
|
-
|
7033
|
+
Ci.displayName = "TextInputMask";
|
7077
7034
|
/*!
|
7078
7035
|
@versini/ui-textinput v4.0.0
|
7079
7036
|
© 2025 gizmette.com
|
@@ -7087,13 +7044,55 @@ try {
|
|
7087
7044
|
});
|
7088
7045
|
} catch {
|
7089
7046
|
}
|
7090
|
-
const
|
7091
|
-
|
7047
|
+
const yu = "ASK! ME! ANYTHING!", Pi = "Callisto", pu = "Log in", gu = "Sign in with a Passkey", qd = "Log out", bu = "Password", Wd = "Usage", Jd = "Profile", Yd = "Settings", zd = "Chat history", Qd = "About", Xd = "Type your question here", Zd = "{{clipboard}}", ef = `Sometimes, ${Pi} hallucinates. Review important details.`, tf = "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.", rf = "Default provider set to", nf = "Chat successfully deleted!", sf = "Chat successfully saved!", af = "av-sassy", of = {
|
7048
|
+
PREFERENCES: {
|
7049
|
+
TITLE: "User profile",
|
7050
|
+
NAME: "Name",
|
7051
|
+
EMAIL: "Email",
|
7052
|
+
LOCATION: "Location",
|
7053
|
+
PASSKEY_TITLE: "Passkey",
|
7054
|
+
PASSKEY_INSTRUCTIONS: "Log in password-free with a passkey (facial recognition or fingerprint authentication).",
|
7055
|
+
PASSKEY_BUTTON: "Create a Passkey"
|
7056
|
+
},
|
7057
|
+
CURRENT_STATISTICS: {
|
7058
|
+
TITLE: "Current chat statistics",
|
7059
|
+
MODEL_NAME: "GPT model",
|
7060
|
+
TOKENS_USED: "Tokens used",
|
7061
|
+
REMAINING_TOKENS: "Remaining tokens",
|
7062
|
+
PROCESSING_TIME: "Average response time"
|
7063
|
+
},
|
7064
|
+
MAIN_STATISTICS: {
|
7065
|
+
TITLE: "Lifetime statistics",
|
7066
|
+
TOTAL: "Total chat session",
|
7067
|
+
TOTAL_PRIVATE: "Private chat",
|
7068
|
+
TOTAL_DELETED: "Deleted chat",
|
7069
|
+
PROCESSING_TIME: "Average response time",
|
7070
|
+
USAGE: `${(/* @__PURE__ */ new Date()).getFullYear()} token usage`
|
7071
|
+
},
|
7072
|
+
HISTORY: {
|
7073
|
+
TITLE: "Chat history"
|
7074
|
+
},
|
7075
|
+
ABOUT: {
|
7076
|
+
TITLE_CLIENT: "Client details",
|
7077
|
+
TITLE_SERVER: "Server details",
|
7078
|
+
VERSION: "Version",
|
7079
|
+
BUILD_TIMESTAMP: "Build date",
|
7080
|
+
PROVIDER: "Available AI model"
|
7081
|
+
},
|
7082
|
+
SETTINGS_PROMPTS: {
|
7083
|
+
TITLE: "Prompts"
|
7084
|
+
},
|
7085
|
+
SETTINGS_DETAILS: {
|
7086
|
+
TITLE: "Chat Details",
|
7087
|
+
INSTRUCTION: "This option adds individual statistics for each messages under their respective bubbles, such as model name, and more."
|
7088
|
+
}
|
7089
|
+
}, wu = () => /* @__PURE__ */ re("div", { className: "flex items-center justify-center text-slate-300", children: [
|
7090
|
+
/* @__PURE__ */ y("div", { className: "basis-1/4", children: /* @__PURE__ */ y(Fl, {}) }),
|
7092
7091
|
/* @__PURE__ */ re("div", { className: "prose prose-sm prose-light md:prose-base prose-h1:mb-0 prose-h2:mt-0", children: [
|
7093
|
-
/* @__PURE__ */ y("h1", { children:
|
7094
|
-
/* @__PURE__ */ y("h2", { children:
|
7092
|
+
/* @__PURE__ */ y("h1", { children: Pi }),
|
7093
|
+
/* @__PURE__ */ y("h2", { children: yu })
|
7095
7094
|
] })
|
7096
|
-
] }),
|
7095
|
+
] }), Eu = () => {
|
7097
7096
|
const { login: e, logoutReason: t, loginWithPasskey: r } = Ai(), [n, s] = Ie(""), [i, a] = Ie(""), [o, c] = Ie(!0), [l, d] = Ie({
|
7098
7097
|
username: "",
|
7099
7098
|
password: ""
|
@@ -7109,9 +7108,9 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7109
7108
|
}), we(() => {
|
7110
7109
|
t && a(t);
|
7111
7110
|
}, [t]), /* @__PURE__ */ y(hr, { children: /* @__PURE__ */ re(
|
7112
|
-
|
7111
|
+
ql,
|
7113
7112
|
{
|
7114
|
-
className:
|
7113
|
+
className: yl({
|
7115
7114
|
extraClass: "mt-5"
|
7116
7115
|
}),
|
7117
7116
|
noMargin: !0,
|
@@ -7120,13 +7119,13 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7120
7119
|
/* @__PURE__ */ y(
|
7121
7120
|
"div",
|
7122
7121
|
{
|
7123
|
-
className:
|
7122
|
+
className: ml({
|
7124
7123
|
extraClass: "rounded-md"
|
7125
7124
|
}),
|
7126
|
-
children: /* @__PURE__ */ y(
|
7125
|
+
children: /* @__PURE__ */ y(wu, {})
|
7127
7126
|
}
|
7128
7127
|
),
|
7129
|
-
/* @__PURE__ */ y("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ y(
|
7128
|
+
/* @__PURE__ */ y("form", { className: "mt-5", onSubmit: u, children: /* @__PURE__ */ y(Jl, { alignHorizontal: "center", children: /* @__PURE__ */ y(He, { span: 6, children: /* @__PURE__ */ re(Hl, { mode: "dark", children: [
|
7130
7129
|
/* @__PURE__ */ y(He, { span: 12, className: "mt-7", children: i && /* @__PURE__ */ y("div", { className: "p-2 text-sm text-center text-copy-error-light bg-surface-darker", children: i }) }),
|
7131
7130
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
|
7132
7131
|
An,
|
@@ -7150,7 +7149,7 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7150
7149
|
}
|
7151
7150
|
) }),
|
7152
7151
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
|
7153
|
-
|
7152
|
+
Ci,
|
7154
7153
|
{
|
7155
7154
|
className: "mt-7",
|
7156
7155
|
required: !0,
|
@@ -7160,14 +7159,14 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7160
7159
|
mode: "dark",
|
7161
7160
|
focusMode: "light",
|
7162
7161
|
name: "password",
|
7163
|
-
label:
|
7162
|
+
label: bu,
|
7164
7163
|
rightElement: /* @__PURE__ */ y(
|
7165
7164
|
Ir,
|
7166
7165
|
{
|
7167
7166
|
focusMode: "light",
|
7168
7167
|
mode: "dark",
|
7169
7168
|
label: o ? "Show" : "Hide",
|
7170
|
-
children: o ? /* @__PURE__ */ y(
|
7169
|
+
children: o ? /* @__PURE__ */ y(Gl, {}) : /* @__PURE__ */ y(Vl, {})
|
7171
7170
|
}
|
7172
7171
|
),
|
7173
7172
|
onMaskChange: c,
|
@@ -7182,7 +7181,7 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7182
7181
|
}
|
7183
7182
|
) }),
|
7184
7183
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
|
7185
|
-
|
7184
|
+
ki,
|
7186
7185
|
{
|
7187
7186
|
mode: "light",
|
7188
7187
|
focusMode: "light",
|
@@ -7190,10 +7189,10 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7190
7189
|
noBorder: !0,
|
7191
7190
|
type: "submit",
|
7192
7191
|
className: "mt-7",
|
7193
|
-
children:
|
7192
|
+
children: pu
|
7194
7193
|
}
|
7195
7194
|
) }),
|
7196
|
-
!
|
7195
|
+
!pl() && /* @__PURE__ */ re(hr, { children: [
|
7197
7196
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y("div", { className: "text-center text-copy-light mt-2 mb-2", children: "or" }) }),
|
7198
7197
|
/* @__PURE__ */ y(He, { span: 12, children: /* @__PURE__ */ y(
|
7199
7198
|
Ir,
|
@@ -7203,9 +7202,9 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7203
7202
|
focusMode: "light",
|
7204
7203
|
fullWidth: !0,
|
7205
7204
|
className: "mb-4",
|
7206
|
-
labelRight:
|
7205
|
+
labelRight: gu,
|
7207
7206
|
onClick: r,
|
7208
|
-
children: /* @__PURE__ */ y(
|
7207
|
+
children: /* @__PURE__ */ y(Bl, { size: "size-7" })
|
7209
7208
|
}
|
7210
7209
|
) })
|
7211
7210
|
] })
|
@@ -7213,23 +7212,23 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7213
7212
|
]
|
7214
7213
|
}
|
7215
7214
|
) });
|
7216
|
-
},
|
7215
|
+
}, Su = new URL(document.location.href).searchParams, ss = !!Su.get("debug") || !1, vu = Mi(() => import(
|
7217
7216
|
/* webpackChunkName: "LazyApp" */
|
7218
|
-
"./App.
|
7219
|
-
).then((e) => e.App)),
|
7217
|
+
"./App.C_nc4ZLL.js"
|
7218
|
+
).then((e) => e.App)), Au = new ia(), is = ({
|
7220
7219
|
isComponent: e,
|
7221
7220
|
headerHeight: t
|
7222
7221
|
}) => {
|
7223
7222
|
const { isAuthenticated: r } = Ai();
|
7224
|
-
return r ? /* @__PURE__ */ y($i, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ re(oa, { client:
|
7223
|
+
return r ? /* @__PURE__ */ y($i, { fallback: /* @__PURE__ */ y("div", {}), children: /* @__PURE__ */ re(oa, { client: Au, children: [
|
7225
7224
|
/* @__PURE__ */ y(Mo, {}),
|
7226
|
-
/* @__PURE__ */ y(
|
7227
|
-
] }) }) : /* @__PURE__ */ y(
|
7228
|
-
},
|
7225
|
+
/* @__PURE__ */ y(vu, { isComponent: e, headerHeight: t })
|
7226
|
+
] }) }) : /* @__PURE__ */ y(Eu, {});
|
7227
|
+
}, Tu = ({
|
7229
7228
|
isComponent: e = !1,
|
7230
7229
|
headerHeight: t = 0,
|
7231
|
-
domain: r =
|
7232
|
-
}) =>
|
7230
|
+
domain: r = hl
|
7231
|
+
}) => Ti ? /* @__PURE__ */ y(
|
7233
7232
|
Zn,
|
7234
7233
|
{
|
7235
7234
|
clientId: es,
|
@@ -7238,8 +7237,8 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7238
7237
|
endpoint: process.env.PUBLIC_AUTH_SERVER_URL,
|
7239
7238
|
children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t })
|
7240
7239
|
}
|
7241
|
-
) : /* @__PURE__ */ y(Zn, { clientId: es, domain: r, debug: ss, children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t }) }),
|
7242
|
-
|
7240
|
+
) : /* @__PURE__ */ y(Zn, { clientId: es, domain: r, debug: ss, children: /* @__PURE__ */ y(is, { isComponent: e, headerHeight: t }) }), cf = ({ domain: e, headerHeight: t }) => /* @__PURE__ */ y(
|
7241
|
+
Tu,
|
7243
7242
|
{
|
7244
7243
|
isComponent: !0,
|
7245
7244
|
domain: e,
|
@@ -7247,136 +7246,136 @@ const Eu = () => /* @__PURE__ */ re("div", { className: "flex items-center justi
|
|
7247
7246
|
}
|
7248
7247
|
);
|
7249
7248
|
export {
|
7250
|
-
|
7251
|
-
|
7252
|
-
|
7253
|
-
|
7254
|
-
|
7255
|
-
|
7256
|
-
|
7257
|
-
|
7258
|
-
|
7259
|
-
|
7260
|
-
|
7261
|
-
|
7262
|
-
|
7263
|
-
|
7264
|
-
|
7265
|
-
|
7266
|
-
|
7267
|
-
|
7249
|
+
Qd as ABOUT_TITLE,
|
7250
|
+
Ed as ACTION_RESET_PROMPT,
|
7251
|
+
gd as ACTION_SEARCH,
|
7252
|
+
bd as ACTION_SORT,
|
7253
|
+
wd as ACTION_TOGGLE_PROMPT,
|
7254
|
+
af as APP_CLASSNAME,
|
7255
|
+
Pi as APP_NAME,
|
7256
|
+
ki as C,
|
7257
|
+
of as CARDS,
|
7258
|
+
Zd as CLIPBOARD_PROMPT,
|
7259
|
+
md as DEFAULT_AI_PROVIDER,
|
7260
|
+
Cd as DEFAULT_ICON_ACTION_SIZE,
|
7261
|
+
ju as Dynamic,
|
7262
|
+
hd as ERROR_MESSAGE,
|
7263
|
+
ef as FOOTER_DISCLAIMER,
|
7264
|
+
$u as For,
|
7265
|
+
Ld as GRANTS,
|
7266
|
+
zd as HISTORY_TITLE,
|
7268
7267
|
$r as I,
|
7269
|
-
|
7270
|
-
|
7271
|
-
|
7272
|
-
|
7273
|
-
|
7274
|
-
|
7275
|
-
|
7276
|
-
|
7277
|
-
|
7278
|
-
|
7279
|
-
|
7280
|
-
|
7281
|
-
|
7282
|
-
|
7268
|
+
ql as I$1,
|
7269
|
+
_d as INFINITE_SCROLL_LIMIT,
|
7270
|
+
Rd as INFINITE_SCROLL_THRESHOLD,
|
7271
|
+
Xd as INPUT_PLACEHOLDER_TEXT,
|
7272
|
+
Uu as Index,
|
7273
|
+
Jl as L,
|
7274
|
+
vd as LOCAL_STORAGE_CHAT_DETAILS,
|
7275
|
+
Sd as LOCAL_STORAGE_PREFIX,
|
7276
|
+
Id as LOCAL_STORAGE_PRIVATE_DISCLOSURE,
|
7277
|
+
kd as LOCAL_STORAGE_REASONING_DISCLOSURE,
|
7278
|
+
Ad as LOCAL_STORAGE_SEARCH,
|
7279
|
+
Td as LOCAL_STORAGE_SORT,
|
7280
|
+
qd as LOG_OUT,
|
7281
|
+
wu as Logo,
|
7283
7282
|
ot as M,
|
7284
|
-
|
7285
|
-
|
7286
|
-
|
7287
|
-
|
7288
|
-
|
7289
|
-
|
7290
|
-
|
7291
|
-
|
7292
|
-
|
7293
|
-
|
7294
|
-
|
7295
|
-
|
7296
|
-
|
7297
|
-
|
7298
|
-
|
7283
|
+
Fu as Match,
|
7284
|
+
Jd as PROFILE_TITLE,
|
7285
|
+
tf as PROMPTS_DESCRIPTION,
|
7286
|
+
Od as PROMPT_CLASSNAME,
|
7287
|
+
Nd as PROMPT_EDITABLE_AREA_CLASSNAME,
|
7288
|
+
pd as PROVIDER_ANTHROPIC,
|
7289
|
+
yd as PROVIDER_OPENAI,
|
7290
|
+
Gu as Portal,
|
7291
|
+
dd as ROLE_ASSISTANT,
|
7292
|
+
fd as ROLE_INTERNAL,
|
7293
|
+
ud as ROLE_USER,
|
7294
|
+
Hl as S,
|
7295
|
+
Yd as SETTINGS_TITLE,
|
7296
|
+
cf as SassySaint,
|
7297
|
+
Ku as Show,
|
7299
7298
|
_r as Subscribable,
|
7300
|
-
|
7301
|
-
|
7302
|
-
|
7303
|
-
|
7304
|
-
|
7305
|
-
|
7306
|
-
|
7307
|
-
|
7299
|
+
Hu as Switch,
|
7300
|
+
nf as TOAST_CHAT_DELETED,
|
7301
|
+
sf as TOAST_CHAT_SAVED,
|
7302
|
+
rf as TOAST_PROVIDER_CHANGED,
|
7303
|
+
xd as UI_BUTTON_SCROLL_BUFFER,
|
7304
|
+
Dd as UI_DEFAULT_MAIN_HEIGHT,
|
7305
|
+
Pd as UI_FOOTER_BUFFER,
|
7306
|
+
Wd as USAGE_TITLE,
|
7308
7307
|
Ba as addEventListener,
|
7309
|
-
|
7308
|
+
Nu as batch,
|
7310
7309
|
Va as className,
|
7311
|
-
|
7312
|
-
|
7313
|
-
|
7310
|
+
Bu as clearDelegatedEvents,
|
7311
|
+
Bd as convertCamelCaseToReadable,
|
7312
|
+
td as convertRemToPixels,
|
7314
7313
|
va as createComponent,
|
7315
7314
|
la as createComputed,
|
7316
|
-
|
7315
|
+
Du as createContext,
|
7317
7316
|
_s as createEffect,
|
7318
7317
|
se as createMemo,
|
7319
7318
|
Je as createRenderEffect,
|
7320
7319
|
We as createRoot,
|
7321
7320
|
te as createSignal,
|
7322
|
-
|
7323
|
-
|
7321
|
+
Mu as createUniqueId,
|
7322
|
+
Fd as debounce,
|
7324
7323
|
Ka as delegateEvents,
|
7325
7324
|
nr as deleteNestedDataByPath,
|
7326
|
-
|
7325
|
+
Xu as displayValue,
|
7327
7326
|
An as fe,
|
7328
7327
|
Xi as fetchState,
|
7329
|
-
|
7328
|
+
jd as findProvider,
|
7330
7329
|
ws as focusManager,
|
7331
|
-
|
7332
|
-
|
7333
|
-
|
7334
|
-
|
7335
|
-
|
7336
|
-
|
7337
|
-
|
7338
|
-
|
7339
|
-
|
7330
|
+
Md as getCurrentGeoLocation,
|
7331
|
+
yl as getMainPaddingClass,
|
7332
|
+
ml as getMessageContaintWrapperClass,
|
7333
|
+
zu as getMutationStatusColor,
|
7334
|
+
rd as getPreferredColorScheme,
|
7335
|
+
Yu as getQueryStatusColor,
|
7336
|
+
Qu as getQueryStatusColorByLabel,
|
7337
|
+
Wu as getQueryStatusLabel,
|
7338
|
+
Ju as getSidedProp,
|
7340
7339
|
on as insert,
|
7341
|
-
|
7342
|
-
|
7343
|
-
|
7340
|
+
pl as isElectron,
|
7341
|
+
gl as isProbablyMobile,
|
7342
|
+
Vd as isProbablyiPhone,
|
7344
7343
|
Or as isServer,
|
7345
7344
|
Ki as isValidTimeout,
|
7346
7345
|
He as j,
|
7347
|
-
|
7346
|
+
Bl as l,
|
7348
7347
|
Ta as mergeProps,
|
7349
|
-
|
7348
|
+
ed as mutationSortFns,
|
7350
7349
|
ce as noop,
|
7351
7350
|
ee as notifyManager,
|
7352
|
-
|
7353
|
-
|
7351
|
+
$d as obfuscate,
|
7352
|
+
Cu as on,
|
7354
7353
|
Mt as onCleanup,
|
7355
7354
|
fa as onMount,
|
7356
7355
|
Ji as pendingThenable,
|
7357
|
-
|
7356
|
+
Hd as pluralize,
|
7358
7357
|
Ir as re,
|
7359
|
-
|
7358
|
+
Kd as renderDataAsList,
|
7360
7359
|
Bi as replaceData,
|
7361
7360
|
Fi as resolveEnabled,
|
7362
7361
|
kn as resolveStaleTime,
|
7363
7362
|
Oo as serialize,
|
7364
7363
|
an as setAttribute,
|
7365
|
-
|
7366
|
-
|
7367
|
-
|
7364
|
+
Ou as shallowEqualObjects,
|
7365
|
+
ld as sn,
|
7366
|
+
Zu as sortFns,
|
7368
7367
|
Ia as splitProps,
|
7369
7368
|
qa as spread,
|
7370
|
-
|
7371
|
-
|
7369
|
+
qu as stringify,
|
7370
|
+
Vu as template,
|
7372
7371
|
Hi as timeUntilStale,
|
7373
|
-
|
7372
|
+
Gd as toastOptions,
|
7374
7373
|
Ai as un,
|
7375
|
-
|
7374
|
+
Ud as unObfuscate,
|
7376
7375
|
q as untrack,
|
7377
7376
|
rr as updateNestedDataByPath,
|
7378
7377
|
Wa as use,
|
7379
|
-
|
7378
|
+
Lu as useContext,
|
7380
7379
|
aa as useQueryClient,
|
7381
|
-
|
7380
|
+
xu as useTransition
|
7382
7381
|
};
|