@versini/sassysaint 8.99.2 → 8.100.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.u1NxfRZ6.js → AboutChangelog.DA361mHf.js} +3 -3
- package/dist/chunks/AboutEntry.COmeuxq_.js +83 -0
- package/dist/chunks/{App.9OTgQFE5.js → App.BLNMkw5x.js} +331 -329
- package/dist/chunks/{Chart.CTX3yXAp.js → Chart.GBOvQ25I.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.DHiBvqvV.js → ChatBubbleAssistant.De5psmEG.js} +7 -7
- package/dist/chunks/{ChatBubbleUser.BdygOc-M.js → ChatBubbleUser.DF9Axp_4.js} +28 -27
- package/dist/chunks/{ChatHistoryTable.XuPzHnDG.js → ChatHistoryTable.rOFYnFKa.js} +3 -3
- package/dist/chunks/{HistoryEntry.CVgA3SYH.js → HistoryEntry.DnG7vXnm.js} +134 -133
- package/dist/chunks/{UserMemoriesPanel.D9cKoAvT.js → MemoriesEntry.rleSeGKZ.js} +212 -209
- package/dist/chunks/{ProfileEntry.wwU14Mrk.js → ProfileEntry.ZVmjBCNA.js} +76 -72
- package/dist/chunks/{SettingsEntry.CFneilrk.js → SettingsEntry.azCvMpSB.js} +116 -108
- package/dist/chunks/{UsageEntry.CgMVSr_T.js → UsageEntry.CK1PBjs3.js} +77 -76
- package/dist/chunks/{index.CbyVRgN9.js → index.Bil3-QBE.js} +1 -1
- package/dist/chunks/{index.DXbW0hgE.js → index.Bz0fwQT2.js} +1 -1
- package/dist/chunks/{index.IgpP31Km.js → index.CY7OKrvt.js} +3 -3
- package/dist/chunks/{index.CSpbJbbj.js → index.CYzDnVAL.js} +1 -1
- package/dist/chunks/{index.BNtgmlzo.js → index.CgmhTYJp.js} +1 -1
- package/dist/chunks/{index.Dy3lHiSY.js → index.DfrHJ6QJ.js} +1 -1
- package/dist/chunks/{index.CI7wfY6h.js → index.DlepPi73.js} +2 -2
- package/dist/chunks/{index.CqZKR4eS.js → index.Dw8chhdS.js} +1 -1
- package/dist/chunks/{index.BgQcUSpD.js → index.iTnfwVri.js} +1 -1
- package/dist/chunks/{useMarkdown.CnnQWkcw.js → useMarkdown.DhNvct2e.js} +8 -7
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +4 -4
- package/package.json +3 -3
- package/dist/chunks/AboutEntry.2URxdMvt.js +0 -79
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { n as
|
|
3
|
-
import { useCapability as
|
|
4
|
-
import { TextArea as
|
|
5
|
-
import { useContext as
|
|
6
|
-
const
|
|
7
|
-
open:
|
|
2
|
+
import { n as Ve, useEntitlements as Fe, AppContext as We, useUserPreferences as $e, w as ie, useLocalStorage as de, LOCAL_STORAGE_OLED_MODE as ze, LOCAL_STORAGE_FULL_SCREEN as He, e as ue, canEvaluateModels as Ye, W as qe, getCacheInfo as Ke, isServiceWorkerEnabled as Qe, SETTINGS_TITLE as Je, Card as f, CARDS as r, V as Xe, Button as me, PROMPTS_DESCRIPTION as Ze, K as he, L as et, j as fe, applyOledMode as Ee, APP_SET_OLED_MODE as pe, APP_SET_FULL_SCREEN as Se, getCurrentGeoLocation as tt, graphQLRequest as ge, handleServiceWorkerToggle as ot, SERVICE_TYPES as Te } from "./index.CgmhTYJp.js";
|
|
3
|
+
import { useCapability as be, Panel as st, Toggle as l, CancelButton as at } from "./App.BLNMkw5x.js";
|
|
4
|
+
import { TextArea as Ne } from "./index.DfrHJ6QJ.js";
|
|
5
|
+
import { useRef as nt, useContext as rt, useState as s, useMemo as lt, useCallback as ct, useEffect as Ce } from "react";
|
|
6
|
+
const ft = ({
|
|
7
|
+
open: ye,
|
|
8
8
|
onOpenChange: A
|
|
9
9
|
}) => {
|
|
10
|
-
const { getAccessToken: I, user:
|
|
10
|
+
const v = nt(null), { getAccessToken: I, user: R } = Ve(), { allowedModels: w, status: B } = Fe(), { dispatch: g } = rt(We), {
|
|
11
11
|
data: o,
|
|
12
|
-
isSuccess:
|
|
13
|
-
refetch:
|
|
14
|
-
} =
|
|
15
|
-
user:
|
|
12
|
+
isSuccess: Ie,
|
|
13
|
+
refetch: x
|
|
14
|
+
} = $e({
|
|
15
|
+
user: R?.username,
|
|
16
16
|
getAccessToken: I
|
|
17
|
-
}), [
|
|
17
|
+
}), [G, T] = s({
|
|
18
18
|
loadingLocation: !1
|
|
19
|
-
}), [L,
|
|
19
|
+
}), [L, U] = s({
|
|
20
20
|
prompts: []
|
|
21
|
-
}), [
|
|
22
|
-
key: $e,
|
|
23
|
-
initialValue: !1
|
|
24
|
-
}), [u, we] = ie({
|
|
21
|
+
}), [j, V] = s(""), [F, b] = s(""), [W, $] = s(!1), [z, H] = s(!1), [N, Y] = s(!1), [C, q] = s(!1), [K, Q] = s(!1), [D, J] = s(!1), [E, X] = s(null), [Z, ee] = s(!1), [te, oe] = s(!1), se = be(ie.TOOL.MEMORIES), ae = be(ie.ADDON.REASONING), [i, we] = de({
|
|
25
22
|
key: ze,
|
|
26
23
|
initialValue: !1
|
|
27
|
-
}), [
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
}), [u, Le] = de({
|
|
25
|
+
key: He,
|
|
26
|
+
initialValue: !1
|
|
27
|
+
}), [m, M] = s(!1), [p, _] = s(!1), [ne, re] = s(ue), De = lt(() => Ye(w, B) ? qe(w) : !1, [w, B]), Me = (e) => {
|
|
28
|
+
oe(e);
|
|
31
29
|
}, _e = (e) => {
|
|
32
|
-
|
|
30
|
+
$(e);
|
|
33
31
|
}, ke = (e) => {
|
|
34
|
-
|
|
32
|
+
se && H(e);
|
|
35
33
|
}, Oe = (e) => {
|
|
36
|
-
|
|
34
|
+
q(e);
|
|
37
35
|
}, Pe = (e) => {
|
|
38
|
-
Q(e);
|
|
36
|
+
ae && Q(e);
|
|
39
37
|
}, Ae = (e) => {
|
|
40
|
-
|
|
38
|
+
J(e);
|
|
41
39
|
}, ve = (e) => {
|
|
42
|
-
|
|
40
|
+
M(e);
|
|
43
41
|
}, Re = (e) => {
|
|
44
|
-
|
|
45
|
-
}, Be =
|
|
42
|
+
_(e);
|
|
43
|
+
}, Be = (e) => {
|
|
44
|
+
re(e ? he : ue);
|
|
45
|
+
}, xe = async (e) => {
|
|
46
46
|
e.preventDefault();
|
|
47
47
|
try {
|
|
48
|
-
await
|
|
48
|
+
await ge({
|
|
49
49
|
accessToken: await I(),
|
|
50
|
-
type:
|
|
50
|
+
type: Te.SET_USER_PREFERENCES,
|
|
51
51
|
params: {
|
|
52
|
-
user:
|
|
53
|
-
instructions:
|
|
54
|
-
location:
|
|
52
|
+
user: R?.username,
|
|
53
|
+
instructions: j,
|
|
54
|
+
location: F,
|
|
55
55
|
provider: o?.provider,
|
|
56
56
|
/**
|
|
57
57
|
* When nested model selection is disabled, explicitly clear any stored
|
|
@@ -60,62 +60,62 @@ const mt = ({
|
|
|
60
60
|
*/
|
|
61
61
|
model: D && o?.model || "",
|
|
62
62
|
tags: L.prompts,
|
|
63
|
-
sendOnEnter:
|
|
64
|
-
useMemory:
|
|
65
|
-
showDetails:
|
|
66
|
-
showReasoningButton:
|
|
63
|
+
sendOnEnter: W,
|
|
64
|
+
useMemory: z,
|
|
65
|
+
showDetails: te,
|
|
66
|
+
showReasoningButton: K,
|
|
67
67
|
useNestedModelSelection: D,
|
|
68
|
-
themeMode:
|
|
68
|
+
themeMode: ne
|
|
69
69
|
}
|
|
70
|
-
}), C !== N && (await
|
|
71
|
-
type: Ee,
|
|
72
|
-
payload: { oledMode: m }
|
|
73
|
-
})), p !== u && (we(p), g({
|
|
70
|
+
}), C !== N && (await ot(C), Y(C)), m !== i && (we(m), Ee(m), g({
|
|
74
71
|
type: pe,
|
|
72
|
+
payload: { oledMode: m }
|
|
73
|
+
})), p !== u && (Le(p), g({
|
|
74
|
+
type: Se,
|
|
75
75
|
payload: { fullScreen: p }
|
|
76
|
-
})),
|
|
76
|
+
})), x(), T({
|
|
77
77
|
loadingLocation: !1
|
|
78
78
|
});
|
|
79
79
|
} catch {
|
|
80
80
|
}
|
|
81
|
-
},
|
|
81
|
+
}, Ge = async () => {
|
|
82
82
|
T({
|
|
83
83
|
loadingLocation: !0
|
|
84
84
|
}), b("...");
|
|
85
85
|
try {
|
|
86
|
-
const e = Date.now(), a = await
|
|
86
|
+
const e = Date.now(), a = await tt(), y = await ge({
|
|
87
87
|
accessToken: await I(),
|
|
88
|
-
type:
|
|
88
|
+
type: Te.GET_LOCATION,
|
|
89
89
|
params: {
|
|
90
90
|
latitude: a.latitude,
|
|
91
91
|
longitude: a.longitude
|
|
92
92
|
}
|
|
93
93
|
}), h = Date.now() - e;
|
|
94
|
-
h < 2e3 && await new Promise((
|
|
95
|
-
const { city: d, state: c, country: S, displayName: P } = y.data,
|
|
94
|
+
h < 2e3 && await new Promise((je) => setTimeout(je, 2e3 - h));
|
|
95
|
+
const { city: d, state: c, country: S, displayName: P } = y.data, Ue = d && c && S ? `${d}, ${c}, ${S}` : P;
|
|
96
96
|
T({
|
|
97
97
|
loadingLocation: !1
|
|
98
|
-
}), b(
|
|
98
|
+
}), b(Ue);
|
|
99
99
|
} catch {
|
|
100
100
|
T({
|
|
101
101
|
loadingLocation: !1
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
-
},
|
|
105
|
-
m !== i && (M(i),
|
|
106
|
-
type:
|
|
104
|
+
}, le = () => {
|
|
105
|
+
m !== i && (M(i), Ee(i), g({
|
|
106
|
+
type: pe,
|
|
107
107
|
payload: { oledMode: i }
|
|
108
108
|
})), p !== u && (_(u), g({
|
|
109
|
-
type:
|
|
109
|
+
type: Se,
|
|
110
110
|
payload: { fullScreen: u }
|
|
111
|
-
})),
|
|
111
|
+
})), x(), A(!1);
|
|
112
112
|
}, k = ({
|
|
113
113
|
enabled: e = !1,
|
|
114
114
|
privateChat: a = !1,
|
|
115
115
|
clipboardAccess: y = !1,
|
|
116
116
|
...O
|
|
117
117
|
}) => {
|
|
118
|
-
|
|
118
|
+
U((h) => {
|
|
119
119
|
const d = h.prompts, c = {
|
|
120
120
|
...O,
|
|
121
121
|
enabled: e,
|
|
@@ -132,48 +132,56 @@ const mt = ({
|
|
|
132
132
|
prompts: [...d]
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
|
-
},
|
|
135
|
+
}, ce = ct(async () => {
|
|
136
136
|
try {
|
|
137
|
-
|
|
138
|
-
const e = await
|
|
139
|
-
|
|
137
|
+
ee(!0);
|
|
138
|
+
const e = await Ke();
|
|
139
|
+
X(e);
|
|
140
140
|
} catch {
|
|
141
141
|
} finally {
|
|
142
|
-
|
|
142
|
+
ee(!1);
|
|
143
143
|
}
|
|
144
144
|
}, []);
|
|
145
|
-
return
|
|
145
|
+
return Ce(() => {
|
|
146
146
|
if (!o)
|
|
147
147
|
return;
|
|
148
|
-
o.instructions &&
|
|
149
|
-
const e =
|
|
150
|
-
|
|
151
|
-
}, [o, i, u]),
|
|
152
|
-
N ?
|
|
153
|
-
}, [N,
|
|
154
|
-
|
|
148
|
+
o.instructions && V(o.instructions), o.location && b(o.location), o.tags && U({ prompts: o.tags }), o.sendOnEnter !== void 0 && $(o.sendOnEnter), o.useMemory !== void 0 && H(o.useMemory), o.showDetails !== void 0 && oe(o.showDetails), o.showReasoningButton !== void 0 && Q(o.showReasoningButton), o.useNestedModelSelection !== void 0 && J(o.useNestedModelSelection), o.themeMode !== void 0 && re(o.themeMode);
|
|
149
|
+
const e = Qe();
|
|
150
|
+
Y(e), q(e), M(i), _(u);
|
|
151
|
+
}, [o, i, u]), Ce(() => {
|
|
152
|
+
N ? ce() : X(null);
|
|
153
|
+
}, [N, ce]), Ie ? /* @__PURE__ */ n(
|
|
154
|
+
st,
|
|
155
155
|
{
|
|
156
|
-
open:
|
|
157
|
-
onOpenChange:
|
|
158
|
-
title:
|
|
156
|
+
open: ye,
|
|
157
|
+
onOpenChange: le,
|
|
158
|
+
title: Je,
|
|
159
159
|
animation: !0,
|
|
160
160
|
animationType: "fade",
|
|
161
161
|
blurEffect: "large",
|
|
162
|
+
initialFocus: v,
|
|
162
163
|
footer: /* @__PURE__ */ n(
|
|
163
|
-
|
|
164
|
+
et,
|
|
164
165
|
{
|
|
165
166
|
columnGap: 2,
|
|
166
167
|
alignHorizontal: "flex-end",
|
|
167
168
|
className: "pb-8 sm:pb-0",
|
|
168
169
|
children: [
|
|
169
|
-
/* @__PURE__ */ t(
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
/* @__PURE__ */ t(fe, { children: /* @__PURE__ */ t(
|
|
171
|
+
at,
|
|
172
|
+
{
|
|
173
|
+
onOpenChange: le,
|
|
174
|
+
label: "Cancel",
|
|
175
|
+
ref: v
|
|
176
|
+
}
|
|
177
|
+
) }),
|
|
178
|
+
/* @__PURE__ */ t(fe, { children: /* @__PURE__ */ t(
|
|
179
|
+
me,
|
|
172
180
|
{
|
|
173
181
|
mode: "light",
|
|
174
182
|
focusMode: "light",
|
|
175
183
|
onClick: async (e) => {
|
|
176
|
-
A(!1), await
|
|
184
|
+
A(!1), await xe(e);
|
|
177
185
|
},
|
|
178
186
|
children: "Save"
|
|
179
187
|
}
|
|
@@ -199,8 +207,8 @@ const mt = ({
|
|
|
199
207
|
label: "Message Statistics",
|
|
200
208
|
subLabel: r.SETTINGS_DETAILS.DETAILS,
|
|
201
209
|
name: "show-message-statistics",
|
|
202
|
-
onChange:
|
|
203
|
-
checked:
|
|
210
|
+
onChange: Me,
|
|
211
|
+
checked: te
|
|
204
212
|
}
|
|
205
213
|
),
|
|
206
214
|
/* @__PURE__ */ t(
|
|
@@ -213,11 +221,11 @@ const mt = ({
|
|
|
213
221
|
label: "Send Message on Enter",
|
|
214
222
|
subLabel: r.SETTINGS_DETAILS.SEND_ON_ENTER,
|
|
215
223
|
name: "send-message-on-enter",
|
|
216
|
-
onChange:
|
|
217
|
-
checked:
|
|
224
|
+
onChange: _e,
|
|
225
|
+
checked: W
|
|
218
226
|
}
|
|
219
227
|
),
|
|
220
|
-
|
|
228
|
+
se && /* @__PURE__ */ t(
|
|
221
229
|
l,
|
|
222
230
|
{
|
|
223
231
|
noBorder: !0,
|
|
@@ -227,8 +235,8 @@ const mt = ({
|
|
|
227
235
|
label: "Use Memory",
|
|
228
236
|
subLabel: r.SETTINGS_DETAILS.USE_MEMORY,
|
|
229
237
|
name: "use-memory",
|
|
230
|
-
onChange:
|
|
231
|
-
checked:
|
|
238
|
+
onChange: ke,
|
|
239
|
+
checked: z
|
|
232
240
|
}
|
|
233
241
|
)
|
|
234
242
|
]
|
|
@@ -243,11 +251,11 @@ const mt = ({
|
|
|
243
251
|
children: [
|
|
244
252
|
/* @__PURE__ */ n("p", { className: "text-sm", children: [
|
|
245
253
|
"What would you like ",
|
|
246
|
-
/* @__PURE__ */ t("em", { children:
|
|
254
|
+
/* @__PURE__ */ t("em", { children: Xe }),
|
|
247
255
|
" to know about you to provide better responses?"
|
|
248
256
|
] }),
|
|
249
257
|
/* @__PURE__ */ t(
|
|
250
|
-
|
|
258
|
+
Ne,
|
|
251
259
|
{
|
|
252
260
|
mode: "alt-system",
|
|
253
261
|
autoCapitalize: "off",
|
|
@@ -255,9 +263,9 @@ const mt = ({
|
|
|
255
263
|
autoCorrect: "off",
|
|
256
264
|
name: "customInstructions",
|
|
257
265
|
label: "Custom Instructions",
|
|
258
|
-
value:
|
|
266
|
+
value: j,
|
|
259
267
|
onChange: (e) => {
|
|
260
|
-
|
|
268
|
+
V(e.target.value);
|
|
261
269
|
},
|
|
262
270
|
helperText: "Press ENTER to add a new line."
|
|
263
271
|
}
|
|
@@ -274,12 +282,12 @@ const mt = ({
|
|
|
274
282
|
children: [
|
|
275
283
|
/* @__PURE__ */ t("p", { className: "text-sm", children: "You can share your location to receive customized responses based on your area." }),
|
|
276
284
|
/* @__PURE__ */ t(
|
|
277
|
-
|
|
285
|
+
Ne,
|
|
278
286
|
{
|
|
279
287
|
mode: "alt-system",
|
|
280
288
|
name: "location",
|
|
281
289
|
label: "Location",
|
|
282
|
-
value:
|
|
290
|
+
value: F,
|
|
283
291
|
onChange: (e) => {
|
|
284
292
|
b(e.target.value);
|
|
285
293
|
},
|
|
@@ -287,15 +295,15 @@ const mt = ({
|
|
|
287
295
|
}
|
|
288
296
|
),
|
|
289
297
|
/* @__PURE__ */ t(
|
|
290
|
-
|
|
298
|
+
me,
|
|
291
299
|
{
|
|
292
300
|
className: "mt-2",
|
|
293
301
|
size: "small",
|
|
294
302
|
noBorder: !0,
|
|
295
303
|
variant: "secondary",
|
|
296
|
-
disabled:
|
|
297
|
-
onClick:
|
|
298
|
-
children:
|
|
304
|
+
disabled: G.loadingLocation,
|
|
305
|
+
onClick: Ge,
|
|
306
|
+
children: G.loadingLocation ? "Detecting..." : "Auto-detect"
|
|
299
307
|
}
|
|
300
308
|
)
|
|
301
309
|
]
|
|
@@ -308,7 +316,7 @@ const mt = ({
|
|
|
308
316
|
className: "prose-dark dark:prose-lighter mt-4",
|
|
309
317
|
noBorder: !0,
|
|
310
318
|
children: [
|
|
311
|
-
/* @__PURE__ */ t("p", { className: "text-sm", children:
|
|
319
|
+
/* @__PURE__ */ t("p", { className: "text-sm", children: Ze }),
|
|
312
320
|
L.prompts && L.prompts.slice(0, 3).map((e) => /* @__PURE__ */ n(
|
|
313
321
|
f,
|
|
314
322
|
{
|
|
@@ -389,7 +397,7 @@ const mt = ({
|
|
|
389
397
|
className: "prose-dark dark:prose-lighter mt-4 ",
|
|
390
398
|
noBorder: !0,
|
|
391
399
|
children: [
|
|
392
|
-
|
|
400
|
+
ae && /* @__PURE__ */ t(
|
|
393
401
|
l,
|
|
394
402
|
{
|
|
395
403
|
noBorder: !0,
|
|
@@ -399,11 +407,11 @@ const mt = ({
|
|
|
399
407
|
label: "Reasoning Button",
|
|
400
408
|
subLabel: r.SETTINGS_ADVANCED.REASONING_BUTTON_DESCRIPTION,
|
|
401
409
|
name: "show-reasoning-button",
|
|
402
|
-
onChange:
|
|
403
|
-
checked:
|
|
410
|
+
onChange: Pe,
|
|
411
|
+
checked: K
|
|
404
412
|
}
|
|
405
413
|
),
|
|
406
|
-
|
|
414
|
+
De && /* @__PURE__ */ t(
|
|
407
415
|
l,
|
|
408
416
|
{
|
|
409
417
|
noBorder: !0,
|
|
@@ -413,7 +421,7 @@ const mt = ({
|
|
|
413
421
|
label: "Model Selection",
|
|
414
422
|
subLabel: r.SETTINGS_ADVANCED.NESTED_MODEL_SELECTION_DESCRIPTION,
|
|
415
423
|
name: "use-nested-model-selection",
|
|
416
|
-
onChange:
|
|
424
|
+
onChange: Ae,
|
|
417
425
|
checked: D
|
|
418
426
|
}
|
|
419
427
|
),
|
|
@@ -427,7 +435,7 @@ const mt = ({
|
|
|
427
435
|
label: "OLED Mode",
|
|
428
436
|
subLabel: r.SETTINGS_ADVANCED.BACKGROUND_THEME_DESCRIPTION,
|
|
429
437
|
name: "enable-oled-mode",
|
|
430
|
-
onChange:
|
|
438
|
+
onChange: ve,
|
|
431
439
|
checked: m
|
|
432
440
|
}
|
|
433
441
|
),
|
|
@@ -441,8 +449,8 @@ const mt = ({
|
|
|
441
449
|
label: "Alternative Theme",
|
|
442
450
|
subLabel: r.SETTINGS_ADVANCED.THEME_MODE_DESCRIPTION,
|
|
443
451
|
name: "enable-alternative-theme",
|
|
444
|
-
onChange:
|
|
445
|
-
checked:
|
|
452
|
+
onChange: Be,
|
|
453
|
+
checked: ne === he
|
|
446
454
|
}
|
|
447
455
|
),
|
|
448
456
|
/* @__PURE__ */ t(
|
|
@@ -455,7 +463,7 @@ const mt = ({
|
|
|
455
463
|
label: "Full Screen",
|
|
456
464
|
subLabel: r.SETTINGS_ADVANCED.FULL_SCREEN_DESCRIPTION,
|
|
457
465
|
name: "enable-full-screen",
|
|
458
|
-
onChange:
|
|
466
|
+
onChange: Re,
|
|
459
467
|
checked: p
|
|
460
468
|
}
|
|
461
469
|
),
|
|
@@ -469,7 +477,7 @@ const mt = ({
|
|
|
469
477
|
label: "Assets Caching",
|
|
470
478
|
subLabel: r.SETTINGS_ADVANCED.CACHE_DESCRIPTION,
|
|
471
479
|
name: "enable-service-worker",
|
|
472
|
-
onChange:
|
|
480
|
+
onChange: Oe,
|
|
473
481
|
checked: C
|
|
474
482
|
}
|
|
475
483
|
),
|
|
@@ -493,8 +501,8 @@ const mt = ({
|
|
|
493
501
|
},
|
|
494
502
|
a
|
|
495
503
|
)) }) }, e.name)),
|
|
496
|
-
E.totalItems === 0 && !
|
|
497
|
-
] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children:
|
|
504
|
+
E.totalItems === 0 && !Z && /* @__PURE__ */ t("p", { className: "italic m-0 opacity-70", children: "No cached assets yet." })
|
|
505
|
+
] }) : /* @__PURE__ */ t("p", { className: "text-xs opacity-70 m-0", children: Z ? "Loading cache info..." : "No cache info available." })
|
|
498
506
|
] })
|
|
499
507
|
]
|
|
500
508
|
}
|
|
@@ -504,5 +512,5 @@ const mt = ({
|
|
|
504
512
|
) : null;
|
|
505
513
|
};
|
|
506
514
|
export {
|
|
507
|
-
|
|
515
|
+
ft as SettingsPanel
|
|
508
516
|
};
|