@vuetify/one 1.0.9 → 1.0.10

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/index.js CHANGED
@@ -1,79 +1,42 @@
1
- import { defineComponent as V, openBlock as d, createBlock as _, normalizeStyle as Fe, createSlots as G, withCtx as i, createCommentVNode as w, renderSlot as P, reactive as Je, toRefs as Qe, ref as Z, shallowRef as U, computed as A, watch as W, unref as e, createElementVNode as v, toDisplayString as C, createVNode as s, withModifiers as je, mergeModels as Xe, useModel as pe, createElementBlock as x, Fragment as F, createTextVNode as j, renderList as te, mergeProps as ce, onBeforeMount as Ze, onMounted as Ne, resolveComponent as Oe, withDirectives as Se, vShow as Be, normalizeClass as Ke, pushScopeId as et, popScopeId as tt } from "vue";
2
- import { VBtn as Q } from "vuetify/lib/components/VBtn/index.mjs";
3
- import { VProgressCircular as ot } from "vuetify/lib/components/VProgressCircular/index.mjs";
4
- import { defineStore as K } from "pinia";
5
- import { merge as ye } from "lodash-es";
6
- import { mdiDiscord as ze, mdiGithub as Te, mdiSync as st, mdiSyncOff as nt, mdiLogoutVariant as it, mdiCheck as ee, mdiHome as at, mdiTextBox as rt, mdiSpaceInvaders as Re, mdiWhiteBalanceSunny as lt, mdiWeatherNight as ct, mdiDesktopTowerMonitor as ut, mdiImageFilterHdr as dt, mdiRocketLaunchOutline as pt, mdiContrastCircle as mt, mdiCog as ft, mdiCogOutline as vt, mdiFileDocument as _t, mdiCreditCardSettingsOutline as ht, mdiRocketOutline as gt, mdiCheckCircleOutline as se, mdiCreditCard as bt, mdiReload as yt, mdiPlaylistCheck as Vt, mdiCreditCardOutline as kt, mdiHandHeart as $t, mdiInformationOutline as De, mdiMedal as Ve, mdiChartLine as xt, mdiHandHeartOutline as wt, mdiEmailOpenOutline as St, mdiEmailVariant as Ct, mdiOpenInNew as Lt, mdiBell as It, mdiInboxOutline as At, mdiInboxFullOutline as Dt, mdiBellOutline as Ut, mdiViewDashboardOutline as Ft, mdiTrashCan as jt, mdiBug as Nt, mdiArrowULeftBottom as Ot, mdiLogin as Bt, mdiShieldStarOutline as zt, mdiReddit as Tt } from "@mdi/js";
7
- import { VListItem as me, VList as oe, VListItemTitle as Rt } from "vuetify/lib/components/VList/index.mjs";
8
- import { VAvatar as ue } from "vuetify/lib/components/VAvatar/index.mjs";
9
- import { VCard as T, VCardText as J } from "vuetify/lib/components/VCard/index.mjs";
10
- import { VSheet as Ht } from "vuetify/lib/components/VSheet/index.mjs";
11
- import { VSwitch as He } from "vuetify/lib/components/VSwitch/index.mjs";
12
- import { VFadeTransition as Ce, VExpandTransition as ie, VExpandXTransition as Mt } from "vuetify/lib/components/transitions/index.mjs";
13
- import { useDisplay as fe, useTheme as Pt, useDate as ve } from "vuetify";
14
- import { VDialog as Et } from "vuetify/lib/components/VDialog/index.mjs";
15
- import { VDivider as R } from "vuetify/lib/components/VDivider/index.mjs";
16
- import { VIcon as N } from "vuetify/lib/components/VIcon/index.mjs";
17
- import { VLabel as xe } from "vuetify/lib/components/VLabel/index.mjs";
1
+ import { reactive as Xe, toRefs as Ze, ref as K, shallowRef as F, computed as L, defineComponent as V, openBlock as d, createBlock as v, withCtx as i, renderSlot as B, normalizeStyle as Be, createSlots as G, createCommentVNode as $, watch as W, unref as e, createElementVNode as _, toDisplayString as C, createVNode as o, withModifiers as ze, mergeModels as Ke, useModel as me, createElementBlock as w, Fragment as N, createTextVNode as j, renderList as oe, mergeProps as Q, onBeforeMount as et, onMounted as Te, resolveComponent as Re, withDirectives as Le, vShow as He, normalizeClass as tt, pushScopeId as ot, popScopeId as st } from "vue";
2
+ import { defineStore as ee } from "pinia";
3
+ import { merge as ke } from "lodash-es";
4
+ import { VBadge as Me } from "vuetify/lib/components/VBadge/index.mjs";
5
+ import { VBtn as Z } from "vuetify/lib/components/VBtn/index.mjs";
6
+ import { VProgressCircular as nt } from "vuetify/lib/components/VProgressCircular/index.mjs";
7
+ import { mdiDiscord as Ie, mdiGithub as Ae, mdiSync as it, mdiSyncOff as at, mdiLogoutVariant as rt, mdiCheck as te, mdiHome as lt, mdiTextBox as ct, mdiSpaceInvaders as Pe, mdiWhiteBalanceSunny as ut, mdiWeatherNight as dt, mdiDesktopTowerMonitor as pt, mdiImageFilterHdr as mt, mdiRocketLaunchOutline as ft, mdiContrastCircle as vt, mdiCog as _t, mdiCogOutline as ht, mdiFileDocument as gt, mdiCreditCardSettingsOutline as bt, mdiRocketOutline as yt, mdiCheckCircleOutline as ie, mdiCreditCard as Vt, mdiReload as kt, mdiPlaylistCheck as $t, mdiCreditCardOutline as xt, mdiHandHeart as wt, mdiInformationOutline as je, mdiMedal as $e, mdiChartLine as St, mdiHandHeartOutline as Ct, mdiEmailOpenOutline as Lt, mdiEmailVariant as It, mdiOpenInNew as At, mdiBell as Dt, mdiInboxOutline as Ut, mdiInboxFullOutline as Ft, mdiBellOutline as Nt, mdiViewDashboardOutline as jt, mdiTrashCan as Ot, mdiBug as Bt, mdiCrown as zt, mdiArrowULeftBottom as Tt, mdiLogin as Rt, mdiShieldStarOutline as Ht, mdiReddit as Mt } from "@mdi/js";
8
+ import { VListItem as fe, VList as se, VListItemTitle as Pt } from "vuetify/lib/components/VList/index.mjs";
9
+ import { VAvatar as de } from "vuetify/lib/components/VAvatar/index.mjs";
10
+ import { VCard as R, VCardText as X } from "vuetify/lib/components/VCard/index.mjs";
11
+ import { VSheet as Ee } from "vuetify/lib/components/VSheet/index.mjs";
12
+ import { VSwitch as We } from "vuetify/lib/components/VSwitch/index.mjs";
13
+ import { VFadeTransition as De, VExpandTransition as re, VExpandXTransition as Et } from "vuetify/lib/components/transitions/index.mjs";
14
+ import { useDisplay as ve, useTheme as Wt, useDate as _e } from "vuetify";
15
+ import { VDialog as Gt } from "vuetify/lib/components/VDialog/index.mjs";
16
+ import { VDivider as H } from "vuetify/lib/components/VDivider/index.mjs";
17
+ import { VIcon as U } from "vuetify/lib/components/VIcon/index.mjs";
18
+ import { VLabel as Se } from "vuetify/lib/components/VLabel/index.mjs";
18
19
  import { VChip as q } from "vuetify/lib/components/VChip/index.mjs";
19
- import { VChipGroup as Wt } from "vuetify/lib/components/VChipGroup/index.mjs";
20
- import { VSelect as Gt } from "vuetify/lib/components/VSelect/index.mjs";
21
- import { VRow as _e, VCol as ne } from "vuetify/lib/components/VGrid/index.mjs";
22
- import { VHover as Me } from "vuetify/lib/components/VHover/index.mjs";
23
- import { VImg as Le } from "vuetify/lib/components/VImg/index.mjs";
24
- import { VItemGroup as Pe, VItem as we } from "vuetify/lib/components/VItemGroup/index.mjs";
25
- import { VLayout as Ie } from "vuetify/lib/components/VLayout/index.mjs";
26
- import { VMain as Ae } from "vuetify/lib/components/VMain/index.mjs";
27
- import { VDataTableVirtual as qt } from "vuetify/lib/components/VDataTable/index.mjs";
28
- import { VSkeletonLoader as Ue } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
29
- import { VWindow as Ee, VWindowItem as de } from "vuetify/lib/components/VWindow/index.mjs";
30
- import { VTimeline as Yt, VTimelineItem as ke } from "vuetify/lib/components/VTimeline/index.mjs";
31
- import { VResponsive as Jt } from "vuetify/lib/components/VResponsive/index.mjs";
32
- import { VTooltip as Qt } from "vuetify/lib/components/VTooltip/index.mjs";
33
- import { VNavigationDrawer as Xt } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
34
- import { VBadge as Zt } from "vuetify/lib/components/VBadge/index.mjs";
20
+ import { VChipGroup as qt } from "vuetify/lib/components/VChipGroup/index.mjs";
21
+ import { VSelect as Yt } from "vuetify/lib/components/VSelect/index.mjs";
22
+ import { VRow as he, VCol as ae } from "vuetify/lib/components/VGrid/index.mjs";
23
+ import { VHover as Ge } from "vuetify/lib/components/VHover/index.mjs";
24
+ import { VImg as Ue } from "vuetify/lib/components/VImg/index.mjs";
25
+ import { VItemGroup as qe, VItem as Ce } from "vuetify/lib/components/VItemGroup/index.mjs";
26
+ import { VLayout as Fe } from "vuetify/lib/components/VLayout/index.mjs";
27
+ import { VMain as Ne } from "vuetify/lib/components/VMain/index.mjs";
28
+ import { VDataTableVirtual as Jt } from "vuetify/lib/components/VDataTable/index.mjs";
29
+ import { VSkeletonLoader as Oe } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
30
+ import { VWindow as Ye, VWindowItem as pe } from "vuetify/lib/components/VWindow/index.mjs";
31
+ import { VTimeline as Qt, VTimelineItem as xe } from "vuetify/lib/components/VTimeline/index.mjs";
32
+ import { VResponsive as Xt } from "vuetify/lib/components/VResponsive/index.mjs";
33
+ import { VTooltip as ne } from "vuetify/lib/components/VTooltip/index.mjs";
34
+ import { VNavigationDrawer as Zt } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
35
35
  import { Ripple as Kt } from "vuetify/lib/directives/index.mjs";
36
36
  import { VColorPicker as eo } from "vuetify/lib/components/VColorPicker/index.mjs";
37
37
  import { VMenu as to } from "vuetify/lib/components/VMenu/index.mjs";
38
38
  import { VFooter as oo } from "vuetify/lib/components/VFooter/index.mjs";
39
- const ae = /* @__PURE__ */ V({
40
- __name: "VoBtn",
41
- props: {
42
- readonly: { type: Boolean }
43
- },
44
- setup(u) {
45
- const t = u;
46
- return (a, o) => (d(), _(Q, {
47
- style: Fe({
48
- pointerEvents: t.readonly ? "none" : void 0
49
- }),
50
- tabindex: t.readonly ? -1 : void 0,
51
- class: "text-none font-weight-regular",
52
- color: "primary",
53
- size: "small",
54
- variant: "flat"
55
- }, G({
56
- loader: i(() => [
57
- a.$slots.loader ? w("", !0) : (d(), _(ot, {
58
- key: 0,
59
- indeterminate: "disable-shrink",
60
- size: "16",
61
- width: "2"
62
- })),
63
- P(a.$slots, "loader")
64
- ]),
65
- _: 2
66
- }, [
67
- a.$slots.default ? {
68
- name: "default",
69
- fn: i(() => [
70
- P(a.$slots, "default")
71
- ]),
72
- key: "0"
73
- } : void 0
74
- ]), 1032, ["style", "tabindex"]));
75
- }
76
- }), he = K("http", {
39
+ const ge = ee("http", {
77
40
  state: () => ({
78
41
  url: ""
79
42
  }),
@@ -105,7 +68,7 @@ const ae = /* @__PURE__ */ V({
105
68
  });
106
69
  }
107
70
  }
108
- }), $e = typeof window < "u", le = {
71
+ }), we = typeof window < "u", ue = {
109
72
  v: 5,
110
73
  api: "link-only",
111
74
  avatar: "",
@@ -143,29 +106,102 @@ const ae = /* @__PURE__ */ V({
143
106
  jobs: null
144
107
  }
145
108
  }
146
- }, H = K("user", () => {
147
- const u = Je(ye({}, le));
109
+ }, M = ee("user", () => {
110
+ const u = Xe(ke({}, ue));
148
111
  function t() {
149
- if (!$e)
112
+ if (!we)
150
113
  return;
151
114
  const n = localStorage.getItem("vuetify@user"), r = n ? JSON.parse(n) : {};
152
- let l = r.v === u.v;
153
- r.v || (r.pwaRefresh = !0, typeof r.api == "boolean" && (r.api = r.api ? "inline" : "link-only"), typeof r.rtl == "boolean" && (r.direction = r.rtl ? "rtl" : "ltr", delete r.rtl), typeof r.theme == "object" && (r.mixedTheme = r.theme.mixed, r.theme = r.theme.system ? "system" : r.theme.dark ? "dark" : "light"), Array.isArray(r.notifications) && (r.notifications = { read: r.notifications }), typeof r.last == "object" && (r.notifications.last = r.last, delete r.last)), r.v === 1 && (Array.isArray(r.composition) && (r.composition = "composition"), Array.isArray(r.notifications.last.banner) || (r.notifications = r.notifications || {}, r.notifications.last = r.notifications.last || {}, r.notifications.last.banner = [])), r.v === 2 && (r.syncSettings = !0, r.disableAds = !1, r.v = 3), r.v === 3 && (r.quickbar = !1), r.v === 4 && (r.suits = le.suits, r.notifications.banners = le.notifications.banners, l = !0), r.v = u.v, Object.assign(u, ye(u, r)), l && a();
115
+ let c = r.v === u.v;
116
+ r.v || (r.pwaRefresh = !0, typeof r.api == "boolean" && (r.api = r.api ? "inline" : "link-only"), typeof r.rtl == "boolean" && (r.direction = r.rtl ? "rtl" : "ltr", delete r.rtl), typeof r.theme == "object" && (r.mixedTheme = r.theme.mixed, r.theme = r.theme.system ? "system" : r.theme.dark ? "dark" : "light"), Array.isArray(r.notifications) && (r.notifications = { read: r.notifications }), typeof r.last == "object" && (r.notifications.last = r.last, delete r.last)), r.v === 1 && (Array.isArray(r.composition) && (r.composition = "composition"), Array.isArray(r.notifications.last.banner) || (r.notifications = r.notifications || {}, r.notifications.last = r.notifications.last || {}, r.notifications.last.banner = [])), r.v === 2 && (r.syncSettings = !0, r.disableAds = !1, r.v = 3), r.v === 3 && (r.quickbar = !1), r.v === 4 && (r.suits = ue.suits, r.notifications.banners = ue.notifications.banners, c = !0), r.v = u.v, Object.assign(u, ke(u, r)), c && a();
154
117
  }
155
118
  function a() {
156
- $e && localStorage.setItem("vuetify@user", JSON.stringify(u, null, 2));
119
+ we && localStorage.setItem("vuetify@user", JSON.stringify(u, null, 2));
157
120
  }
158
- function o() {
159
- $e && (Object.assign(u, ye({}, le)), a());
121
+ function s() {
122
+ we && (Object.assign(u, ke({}, ue)), a());
160
123
  }
161
124
  return t(), {
162
- ...Qe(u),
125
+ ...Ze(u),
163
126
  load: t,
164
127
  save: a,
165
- reset: o
128
+ reset: s
129
+ };
130
+ }), be = ee("notifications", () => {
131
+ const u = ge(), t = M(), a = K([]), s = F(!1), n = L(() => a.value.filter((l) => !t.notifications.read.includes(l.slug))), r = L(() => a.value.filter((l) => t.notifications.read.includes(l.slug)));
132
+ async function c() {
133
+ try {
134
+ s.value = !0;
135
+ const l = await u.get("/one/notifications");
136
+ a.value = l.notifications;
137
+ } catch {
138
+ } finally {
139
+ s.value = !1;
140
+ }
141
+ return a.value;
142
+ }
143
+ return {
144
+ isLoading: s,
145
+ all: a,
146
+ get: c,
147
+ read: r,
148
+ unread: n
166
149
  };
167
- }), B = K("auth", () => {
168
- const u = Z(null), t = he(), a = H(), o = U(!1), n = A(() => {
150
+ }), so = /* @__PURE__ */ V({
151
+ __name: "VoNotificationsTotalBadge",
152
+ setup(u) {
153
+ const t = be(), a = L(() => t.unread.length);
154
+ return (s, n) => (d(), v(Me, {
155
+ content: a.value,
156
+ "model-value": a.value > 0,
157
+ color: "error",
158
+ location: "start top"
159
+ }, {
160
+ default: i(() => [
161
+ B(s.$slots, "default")
162
+ ]),
163
+ _: 3
164
+ }, 8, ["content", "model-value"]));
165
+ }
166
+ }), le = /* @__PURE__ */ V({
167
+ __name: "VoBtn",
168
+ props: {
169
+ readonly: { type: Boolean }
170
+ },
171
+ setup(u) {
172
+ const t = u;
173
+ return (a, s) => (d(), v(Z, {
174
+ style: Be({
175
+ pointerEvents: t.readonly ? "none" : void 0
176
+ }),
177
+ tabindex: t.readonly ? -1 : void 0,
178
+ class: "text-none font-weight-regular",
179
+ color: "primary",
180
+ size: "small",
181
+ variant: "flat"
182
+ }, G({
183
+ loader: i(() => [
184
+ a.$slots.loader ? $("", !0) : (d(), v(nt, {
185
+ key: 0,
186
+ indeterminate: "disable-shrink",
187
+ size: "16",
188
+ width: "2"
189
+ })),
190
+ B(a.$slots, "loader")
191
+ ]),
192
+ _: 2
193
+ }, [
194
+ a.$slots.default ? {
195
+ name: "default",
196
+ fn: i(() => [
197
+ B(a.$slots, "default")
198
+ ]),
199
+ key: "0"
200
+ } : void 0
201
+ ]), 1032, ["style", "tabindex"]));
202
+ }
203
+ }), z = ee("auth", () => {
204
+ const u = K(null), t = ge(), a = M(), s = F(!1), n = L(() => {
169
205
  var m, k;
170
206
  return !t.url || ((m = u.value) == null ? void 0 : m.isAdmin) || !!((k = u.value) != null && k.sponsorships.some((D) => D.isActive));
171
207
  });
@@ -176,19 +212,19 @@ const ae = /* @__PURE__ */ V({
176
212
  const k = localStorage.getItem("vuetify@user") || "{}";
177
213
  JSON.stringify(m.settings, null, 2) !== k && (r = !0, Object.assign(a, m.settings));
178
214
  }), a.$subscribe(() => {
179
- r || l(), r = !1;
215
+ r || c(), r = !1;
180
216
  });
181
- async function l() {
217
+ async function c() {
182
218
  try {
183
219
  await t.post("/user/settings", { settings: a.$state });
184
220
  } catch (m) {
185
221
  console.error(m);
186
222
  }
187
223
  }
188
- async function c(m = !1) {
189
- if (c.promise)
190
- return c.promise;
191
- o.value = !0, c.promise = fetch(`${t.url}/auth/verify`, {
224
+ async function l(m = !1) {
225
+ if (l.promise)
226
+ return l.promise;
227
+ s.value = !0, l.promise = fetch(`${t.url}/auth/verify`, {
192
228
  credentials: "include",
193
229
  headers: m ? {
194
230
  "Cache-Control": "no-cache"
@@ -200,16 +236,16 @@ const ae = /* @__PURE__ */ V({
200
236
  () => {
201
237
  }
202
238
  ).finally(() => {
203
- o.value = !1, c.promise = null;
239
+ s.value = !1, l.promise = null;
204
240
  });
205
241
  }
206
- c.promise = null;
242
+ l.promise = null;
207
243
  async function h(m = "github") {
208
- o.value = !0;
209
- const k = `${t.url}/auth/${m}/redirect`, D = 400, g = 600, $ = window.screenX + (window.innerWidth - D) / 2, I = window.screenY + (window.innerHeight - g) / 2, O = window.open(
244
+ s.value = !0;
245
+ const k = `${t.url}/auth/${m}/redirect`, D = 400, b = 600, x = window.screenX + (window.innerWidth - D) / 2, A = window.screenY + (window.innerHeight - b) / 2, O = window.open(
210
246
  "",
211
247
  "vuetify:authorize:popup",
212
- `popup,left=${$},top=${I},width=${D},height=${g},resizable`
248
+ `popup,left=${x},top=${A},width=${D},height=${b},resizable`
213
249
  );
214
250
  if (!O) {
215
251
  console.error("Failed to open popup");
@@ -217,124 +253,124 @@ const ae = /* @__PURE__ */ V({
217
253
  }
218
254
  O.location.href = k;
219
255
  let S = -1, E = -1;
220
- function M(f) {
221
- var b;
222
- f.origin === t.url && ((b = f.data) == null ? void 0 : b.type) === "auth-response" && (f.data.status === "success" ? (u.value || localStorage.setItem("vuetify@lastLoginProvider", m), u.value = f.data.body.user) : console.error(f.data.message), z());
256
+ function P(f) {
257
+ var y;
258
+ f.origin === t.url && ((y = f.data) == null ? void 0 : y.type) === "auth-response" && (f.data.status === "success" ? (u.value || localStorage.setItem("vuetify@lastLoginProvider", m), u.value = f.data.body.user) : console.error(f.data.message), T());
223
259
  }
224
- function z() {
225
- window.removeEventListener("message", M), window.clearInterval(S), window.clearTimeout(E), O == null || O.close(), o.value = !1;
260
+ function T() {
261
+ window.removeEventListener("message", P), window.clearInterval(S), window.clearTimeout(E), O == null || O.close(), s.value = !1;
226
262
  }
227
- window.addEventListener("message", M), S = window.setInterval(() => {
228
- !O || O.closed ? (console.error("Auth popup closed"), z()) : O.postMessage({ type: "auth-request" }, "*");
263
+ window.addEventListener("message", P), S = window.setInterval(() => {
264
+ !O || O.closed ? (console.error("Auth popup closed"), T()) : O.postMessage({ type: "auth-request" }, "*");
229
265
  }, 1e3), E = window.setTimeout(() => {
230
- z(), console.error("Auth timed out");
266
+ T(), console.error("Auth timed out");
231
267
  }, 120 * 1e3);
232
268
  }
233
269
  async function p(m) {
234
- o.value = !0;
270
+ s.value = !0;
235
271
  const k = m ? `/auth/${m}/logout` : "/auth/logout";
236
272
  try {
237
- await t.post(k), await c(!0), u.value = null;
273
+ await t.post(k), await l(!0), u.value = null;
238
274
  } catch (D) {
239
275
  console.error(D);
240
276
  } finally {
241
- o.value = !1;
277
+ s.value = !1;
242
278
  }
243
279
  }
244
- function y(m) {
280
+ function g(m) {
245
281
  var k;
246
282
  return (k = u.value) == null ? void 0 : k.identities.find((D) => D.provider === m);
247
283
  }
248
- function L() {
284
+ function I() {
249
285
  return localStorage.getItem("vuetify@lastLoginProvider");
250
286
  }
251
- return L() && c(), {
287
+ return I() && l(), {
252
288
  user: u,
253
289
  url: t.url,
254
- isLoading: o,
255
- findIdentity: y,
256
- verify: c,
290
+ isLoading: s,
291
+ findIdentity: g,
292
+ verify: l,
257
293
  login: h,
258
294
  logout: p,
259
295
  isSubscriber: n,
260
- lastLoginProvider: L,
261
- sync: l
296
+ lastLoginProvider: I,
297
+ sync: c
262
298
  };
263
- }), so = { class: "text-body-2" }, no = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), io = /* @__PURE__ */ V({
299
+ }), no = { class: "text-body-2" }, io = /* @__PURE__ */ _("div", { class: "text-caption mt-n1" }, "Last Used", -1), ao = /* @__PURE__ */ V({
264
300
  __name: "VoAuthDiscord",
265
301
  setup(u) {
266
- const t = B(), a = A(() => t.user && t.findIdentity("discord")), o = A(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Log in with Discord");
267
- return (n, r) => (d(), _(me, {
268
- "prepend-icon": `svg:${e(ze)}`,
302
+ const t = z(), a = L(() => t.user && t.findIdentity("discord")), s = L(() => t.user ? a.value ? "Connected to Discord" : "Connect Discord" : "Log in with Discord");
303
+ return (n, r) => (d(), v(fe, {
304
+ "prepend-icon": `svg:${e(Ie)}`,
269
305
  "base-color": "#5865F2",
270
306
  rounded: "pill",
271
307
  variant: "flat",
272
308
  slim: "",
273
- onClick: r[0] || (r[0] = (l) => e(t).login("discord"))
309
+ onClick: r[0] || (r[0] = (c) => e(t).login("discord"))
274
310
  }, G({
275
311
  title: i(() => [
276
- v("span", so, C(o.value), 1)
312
+ _("span", no, C(s.value), 1)
277
313
  ]),
278
314
  _: 2
279
315
  }, [
280
316
  !e(t).user && e(t).lastLoginProvider() === "discord" ? {
281
317
  name: "subtitle",
282
318
  fn: i(() => [
283
- no
319
+ io
284
320
  ]),
285
321
  key: "0"
286
322
  } : void 0
287
323
  ]), 1032, ["prepend-icon"]));
288
324
  }
289
- }), ao = { class: "text-body-2" }, ro = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), lo = /* @__PURE__ */ V({
325
+ }), ro = { class: "text-body-2" }, lo = /* @__PURE__ */ _("div", { class: "text-caption mt-n1" }, "Last Used", -1), co = /* @__PURE__ */ V({
290
326
  __name: "VoAuthGithub",
291
327
  setup(u) {
292
- const t = B(), a = A(() => t.user && t.findIdentity("github")), o = A(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Log in with GitHub");
293
- return (n, r) => (d(), _(me, {
294
- "prepend-icon": `svg:${e(Te)}`,
328
+ const t = z(), a = L(() => t.user && t.findIdentity("github")), s = L(() => t.user ? a.value ? "Connected to GitHub" : "Connect GitHub" : "Log in with GitHub");
329
+ return (n, r) => (d(), v(fe, {
330
+ "prepend-icon": `svg:${e(Ae)}`,
295
331
  "base-color": "#2a2a2a",
296
332
  rounded: "pill",
297
333
  variant: "flat",
298
334
  slim: "",
299
- onClick: r[0] || (r[0] = (l) => e(t).login("github"))
335
+ onClick: r[0] || (r[0] = (c) => e(t).login("github"))
300
336
  }, G({
301
337
  title: i(() => [
302
- v("span", ao, C(o.value), 1)
338
+ _("span", ro, C(s.value), 1)
303
339
  ]),
304
340
  _: 2
305
341
  }, [
306
342
  !e(t).user && e(t).lastLoginProvider() === "github" ? {
307
343
  name: "subtitle",
308
344
  fn: i(() => [
309
- ro
345
+ lo
310
346
  ]),
311
347
  key: "0"
312
348
  } : void 0
313
349
  ]), 1032, ["prepend-icon"]));
314
350
  }
315
- }), co = { class: "pa-4 d-flex flex-column ga-4" }, uo = /* @__PURE__ */ V({
351
+ }), uo = { class: "pa-4 d-flex flex-column ga-4" }, po = /* @__PURE__ */ V({
316
352
  __name: "VoAuthListItem",
317
353
  setup(u) {
318
- const t = B(), a = H(), o = U(!t.user && !t.isLoading);
354
+ const t = z(), a = M(), s = F(!t.user && !t.isLoading);
319
355
  W(() => t.user, (r) => {
320
- o.value = !r;
356
+ s.value = !r;
321
357
  });
322
358
  function n() {
323
- t.user && (o.value = !o.value);
359
+ t.user && (s.value = !s.value);
324
360
  }
325
- return (r, l) => {
326
- const c = lo, h = io;
327
- return d(), _(T, {
328
- variant: o.value ? "tonal" : "text",
361
+ return (r, c) => {
362
+ const l = co, h = ao;
363
+ return d(), v(R, {
364
+ variant: s.value ? "tonal" : "text",
329
365
  class: "ma-2",
330
366
  rounded: "lg"
331
367
  }, {
332
368
  default: i(() => [
333
- s(oe, { class: "py-0" }, {
369
+ o(se, { class: "py-0" }, {
334
370
  default: i(() => [
335
- s(me, {
371
+ o(fe, {
336
372
  link: !!e(t).user,
337
- "prepend-icon": `svg:${e(t).user && e(a).syncSettings ? e(st) : e(nt)}`,
373
+ "prepend-icon": `svg:${e(t).user && e(a).syncSettings ? e(it) : e(at)}`,
338
374
  title: e(t).user && e(a).syncSettings ? "Sync is on" : "Sync is paused",
339
375
  class: "mb-0",
340
376
  rounded: "b-0",
@@ -343,51 +379,51 @@ const ae = /* @__PURE__ */ V({
343
379
  onClick: n
344
380
  }, {
345
381
  append: i(() => [
346
- s(Ce, null, {
382
+ o(De, null, {
347
383
  default: i(() => [
348
- e(t).user && (o.value || !e(a).syncSettings) ? (d(), _(He, {
384
+ e(t).user && (s.value || !e(a).syncSettings) ? (d(), v(We, {
349
385
  key: 0,
350
386
  modelValue: e(a).syncSettings,
351
- "onUpdate:modelValue": l[0] || (l[0] = (p) => e(a).syncSettings = p),
387
+ "onUpdate:modelValue": c[0] || (c[0] = (p) => e(a).syncSettings = p),
352
388
  color: e(a).syncSettings ? "success" : void 0,
353
389
  density: "compact",
354
390
  "hide-details": "",
355
391
  inset: "",
356
- onClick: l[1] || (l[1] = je(() => {
392
+ onClick: c[1] || (c[1] = ze(() => {
357
393
  }, ["stop"]))
358
394
  }, {
359
395
  thumb: i(() => [
360
- s(ue, {
396
+ o(de, {
361
397
  color: e(a).syncSettings ? "success" : void 0
362
398
  }, null, 8, ["color"])
363
399
  ]),
364
400
  _: 1
365
- }, 8, ["modelValue", "color"])) : w("", !0)
401
+ }, 8, ["modelValue", "color"])) : $("", !0)
366
402
  ]),
367
403
  _: 1
368
404
  })
369
405
  ]),
370
406
  _: 1
371
407
  }, 8, ["link", "prepend-icon", "title"]),
372
- s(ie, null, {
408
+ o(re, null, {
373
409
  default: i(() => [
374
- !e(t).user && !e(t).isLoading || o.value ? (d(), _(Ht, {
410
+ !e(t).user && !e(t).isLoading || s.value ? (d(), v(Ee, {
375
411
  key: 0,
376
412
  border: "t",
377
413
  color: "transparent"
378
414
  }, {
379
415
  default: i(() => [
380
- v("div", co, [
381
- s(c, {
382
- onClick: l[2] || (l[2] = (p) => o.value = !1)
416
+ _("div", uo, [
417
+ o(l, {
418
+ onClick: c[2] || (c[2] = (p) => s.value = !1)
383
419
  }),
384
- s(h, {
385
- onClick: l[3] || (l[3] = (p) => o.value = !1)
420
+ o(h, {
421
+ onClick: c[3] || (c[3] = (p) => s.value = !1)
386
422
  })
387
423
  ])
388
424
  ]),
389
425
  _: 1
390
- })) : w("", !0)
426
+ })) : $("", !0)
391
427
  ]),
392
428
  _: 1
393
429
  })
@@ -402,58 +438,58 @@ const ae = /* @__PURE__ */ V({
402
438
  }), Y = /* @__PURE__ */ V({
403
439
  __name: "VoListItem",
404
440
  setup(u) {
405
- return (t, a) => (d(), _(me, { slim: "" }, G({
441
+ return (t, a) => (d(), v(fe, { slim: "" }, G({
406
442
  default: i(() => [
407
- P(t.$slots, "default")
443
+ B(t.$slots, "default")
408
444
  ]),
409
445
  _: 2
410
446
  }, [
411
447
  t.$slots.prepend ? {
412
448
  name: "prepend",
413
449
  fn: i(() => [
414
- P(t.$slots, "prepend")
450
+ B(t.$slots, "prepend")
415
451
  ]),
416
452
  key: "0"
417
453
  } : void 0,
418
454
  t.$slots.title ? {
419
455
  name: "title",
420
456
  fn: i(() => [
421
- P(t.$slots, "title")
457
+ B(t.$slots, "title")
422
458
  ]),
423
459
  key: "1"
424
460
  } : void 0,
425
461
  t.$slots.append ? {
426
462
  name: "append",
427
463
  fn: i(() => [
428
- P(t.$slots, "append")
464
+ B(t.$slots, "append")
429
465
  ]),
430
466
  key: "2"
431
467
  } : void 0
432
468
  ]), 1024));
433
469
  }
434
- }), po = /* @__PURE__ */ V({
470
+ }), mo = /* @__PURE__ */ V({
435
471
  __name: "VoAuthLogoutListItem",
436
472
  setup(u) {
437
- const t = B(), a = U(!1);
438
- async function o() {
473
+ const t = z(), a = F(!1);
474
+ async function s() {
439
475
  a.value = !0, await t.logout(), a.value = !1;
440
476
  }
441
477
  return (n, r) => {
442
- const l = Y;
443
- return d(), _(l, {
478
+ const c = Y;
479
+ return d(), v(c, {
444
480
  disabled: a.value,
445
481
  loading: a.value,
446
- "prepend-icon": `svg:${e(it)}`,
482
+ "prepend-icon": `svg:${e(rt)}`,
447
483
  class: "mb-0",
448
484
  title: "Logout",
449
485
  link: "",
450
- onClick: o
486
+ onClick: s
451
487
  }, null, 8, ["disabled", "loading", "prepend-icon"]);
452
488
  };
453
489
  }
454
- }), ge = /* @__PURE__ */ V({
490
+ }), ye = /* @__PURE__ */ V({
455
491
  __name: "VoDialog",
456
- props: /* @__PURE__ */ Xe({
492
+ props: /* @__PURE__ */ Ke({
457
493
  prependIcon: {},
458
494
  title: {}
459
495
  }, {
@@ -462,8 +498,8 @@ const ae = /* @__PURE__ */ V({
462
498
  }),
463
499
  emits: ["update:modelValue"],
464
500
  setup(u) {
465
- const t = pe(u, "modelValue"), a = fe();
466
- return (o, n) => (d(), _(Et, {
501
+ const t = me(u, "modelValue"), a = ve();
502
+ return (s, n) => (d(), v(Gt, {
467
503
  modelValue: t.value,
468
504
  "onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r),
469
505
  fullscreen: e(a).xs.value,
@@ -473,39 +509,39 @@ const ae = /* @__PURE__ */ V({
473
509
  height: "100%"
474
510
  }, {
475
511
  default: i(({ isActive: r }) => [
476
- s(T, {
477
- "prepend-icon": o.prependIcon,
478
- title: o.title,
512
+ o(R, {
513
+ "prepend-icon": s.prependIcon,
514
+ title: s.title,
479
515
  class: "overflow-hidden",
480
516
  height: "inherit"
481
517
  }, G({
482
518
  append: i(() => [
483
- P(o.$slots, "append"),
484
- s(Q, {
519
+ B(s.$slots, "append"),
520
+ o(Z, {
485
521
  density: "comfortable",
486
522
  icon: "$close",
487
523
  size: "small",
488
524
  variant: "text",
489
- onClick: n[0] || (n[0] = (l) => t.value = !t.value)
525
+ onClick: n[0] || (n[0] = (c) => t.value = !t.value)
490
526
  })
491
527
  ]),
492
528
  default: i(() => [
493
- s(R, { class: "mt-4" }),
494
- P(o.$slots, "default")
529
+ o(H, { class: "mt-4" }),
530
+ B(s.$slots, "default")
495
531
  ]),
496
532
  _: 2
497
533
  }, [
498
- o.$slots.prepend ? {
534
+ s.$slots.prepend ? {
499
535
  name: "prepend",
500
536
  fn: i(() => [
501
- P(o.$slots, "prepend")
537
+ B(s.$slots, "prepend")
502
538
  ]),
503
539
  key: "0"
504
540
  } : void 0,
505
- o.$slots.actions ? {
541
+ s.$slots.actions ? {
506
542
  name: "actions",
507
543
  fn: i(() => [
508
- P(o.$slots, "actions", { isActive: r })
544
+ B(s.$slots, "actions", { isActive: r })
509
545
  ]),
510
546
  key: "1"
511
547
  } : void 0
@@ -514,21 +550,21 @@ const ae = /* @__PURE__ */ V({
514
550
  _: 3
515
551
  }, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
516
552
  }
517
- }), We = /* @__PURE__ */ V({
553
+ }), Je = /* @__PURE__ */ V({
518
554
  __name: "VoSwitch",
519
555
  props: {
520
556
  disabled: { type: Boolean }
521
557
  },
522
558
  setup(u) {
523
- return (t, a) => (d(), _(He, {
559
+ return (t, a) => (d(), v(We, {
524
560
  disabled: t.disabled,
525
- "true-icon": `svg:${e(ee)}`,
561
+ "true-icon": `svg:${e(te)}`,
526
562
  color: "primary",
527
563
  density: "compact",
528
564
  inset: ""
529
565
  }, G({
530
566
  thumb: i(() => [
531
- s(N, {
567
+ o(U, {
532
568
  color: t.disabled ? void 0 : "primary"
533
569
  }, null, 8, ["color"])
534
570
  ]),
@@ -537,24 +573,24 @@ const ae = /* @__PURE__ */ V({
537
573
  t.$slots.label ? {
538
574
  name: "label",
539
575
  fn: i(() => [
540
- P(t.$slots, "label")
576
+ B(t.$slots, "label")
541
577
  ]),
542
578
  key: "0"
543
579
  } : void 0
544
580
  ]), 1032, ["disabled", "true-icon"]));
545
581
  }
546
- }), mo = {
582
+ }), fo = {
547
583
  key: 1,
548
584
  class: "mb-3 text-caption text-medium-emphasis"
549
- }, re = /* @__PURE__ */ V({
585
+ }, ce = /* @__PURE__ */ V({
550
586
  __name: "VoDialogSubheader",
551
587
  props: {
552
588
  title: {},
553
589
  text: {}
554
590
  },
555
591
  setup(u) {
556
- return (t, a) => (d(), x(F, null, [
557
- t.title ? (d(), _(xe, {
592
+ return (t, a) => (d(), w(N, null, [
593
+ t.title ? (d(), v(Se, {
558
594
  key: 0,
559
595
  class: "font-weight-black"
560
596
  }, {
@@ -562,18 +598,22 @@ const ae = /* @__PURE__ */ V({
562
598
  j(C(t.title), 1)
563
599
  ]),
564
600
  _: 1
565
- })) : w("", !0),
566
- t.text ? (d(), x("div", mo, C(t.text), 1)) : w("", !0)
601
+ })) : $("", !0),
602
+ t.text ? (d(), w("div", fo, C(t.text), 1)) : $("", !0)
567
603
  ], 64));
568
604
  }
569
- }), fo = { key: 0 }, vo = /* @__PURE__ */ V({
605
+ }), vo = { key: 0 }, _o = /* @__PURE__ */ V({
570
606
  __name: "VoSettingsPageSuitOption",
571
607
  setup(u) {
572
- B();
573
- const t = H(), a = [
608
+ const t = M(), a = [
609
+ {
610
+ title: "Choose a page suit",
611
+ value: "",
612
+ disabled: !0
613
+ },
574
614
  {
575
615
  title: "Blackguard",
576
- prependIcon: `svg:${Re}`,
616
+ prependIcon: `svg:${Pe}`,
577
617
  value: "blackguard"
578
618
  }
579
619
  // {
@@ -587,83 +627,83 @@ const ae = /* @__PURE__ */ V({
587
627
  // value: 'nebula',
588
628
  // },
589
629
  ];
590
- return (o, n) => {
591
- const r = We, l = re;
592
- return d(), x(F, null, [
593
- s(r, {
630
+ return (s, n) => {
631
+ const r = Je, c = ce;
632
+ return d(), w(N, null, [
633
+ o(r, {
594
634
  modelValue: e(t).suits.show,
595
- "onUpdate:modelValue": n[0] || (n[0] = (c) => e(t).suits.show = c),
635
+ "onUpdate:modelValue": n[0] || (n[0] = (l) => e(t).suits.show = l),
596
636
  class: "mb-2",
597
637
  label: "Enable Page suits",
598
638
  messages: "Customize layout elements with a unique background, styled after one of our themed releases."
599
639
  }, null, 8, ["modelValue"]),
600
- s(ie, null, {
640
+ o(re, null, {
601
641
  default: i(() => [
602
- e(t).suits.show ? (d(), x("div", fo, [
603
- s(Gt, {
642
+ e(t).suits.show ? (d(), w("div", vo, [
643
+ o(Yt, {
604
644
  modelValue: e(t).suits.suit,
605
- "onUpdate:modelValue": n[1] || (n[1] = (c) => e(t).suits.suit = c),
645
+ "onUpdate:modelValue": n[1] || (n[1] = (l) => e(t).suits.suit = l),
606
646
  items: a,
607
647
  density: "compact",
608
- placeholder: "Choose page suit",
648
+ placeholder: "Choose a page suit",
609
649
  style: { "max-width": "300px" },
610
650
  variant: "outlined",
611
651
  clearable: "",
612
652
  "item-props": "",
613
653
  "single-line": ""
614
654
  }, {
615
- selection: i(({ item: c }) => [
616
- s(N, {
617
- icon: c.props.prependIcon,
655
+ selection: i(({ item: l }) => [
656
+ o(U, {
657
+ icon: l.props.prependIcon,
618
658
  size: "x-small",
619
659
  start: ""
620
660
  }, null, 8, ["icon"]),
621
- j(" " + C(c.title), 1)
661
+ j(" " + C(l.title), 1)
622
662
  ]),
623
663
  _: 1
624
664
  }, 8, ["modelValue"]),
625
- s(l, { text: "Select your suit elements to display the background image:" }),
626
- s(Wt, {
665
+ o(c, { text: "Select your suit elements to display the background image:" }),
666
+ o(qt, {
627
667
  modelValue: e(t).suits.elements,
628
- "onUpdate:modelValue": n[2] || (n[2] = (c) => e(t).suits.elements = c),
668
+ "onUpdate:modelValue": n[2] || (n[2] = (l) => e(t).suits.elements = l),
629
669
  color: "primary",
630
670
  filter: "",
631
671
  multiple: ""
632
672
  }, {
633
673
  default: i(() => [
634
- s(q, {
635
- "append-icon": `svg:${e(at)}`,
674
+ o(q, {
675
+ "append-icon": `svg:${e(lt)}`,
636
676
  "filter-icon": "$success",
637
677
  text: "App Bar",
638
678
  value: "app-bar",
639
679
  variant: "flat"
640
680
  }, {
641
681
  append: i(() => [
642
- s(R, {
682
+ o(H, {
643
683
  class: "ms-2 border-opacity-50",
644
684
  vertical: ""
645
685
  }),
646
- s(N, { size: "x-small" })
686
+ o(U, { size: "x-small" })
647
687
  ]),
648
688
  _: 1
649
689
  }, 8, ["append-icon"]),
650
- s(q, {
651
- "append-icon": `svg:${e(rt)}`,
690
+ o(q, {
691
+ "append-icon": `svg:${e(ct)}`,
652
692
  "filter-icon": "$success",
653
693
  text: "Navigation Drawer",
654
694
  value: "drawer",
655
695
  variant: "flat"
656
696
  }, {
657
697
  append: i(() => [
658
- s(R, {
698
+ o(H, {
659
699
  class: "ms-2 border-opacity-50",
660
700
  vertical: ""
661
701
  }),
662
- s(N, { size: "x-small" })
702
+ o(U, { size: "x-small" })
663
703
  ]),
664
704
  _: 1
665
705
  }, 8, ["append-icon"]),
666
- s(q, {
706
+ o(q, {
667
707
  "append-icon": "$info",
668
708
  "filter-icon": "$success",
669
709
  text: "Footer",
@@ -671,18 +711,18 @@ const ae = /* @__PURE__ */ V({
671
711
  variant: "flat"
672
712
  }, {
673
713
  append: i(() => [
674
- s(R, {
714
+ o(H, {
675
715
  class: "ms-2 border-opacity-50",
676
716
  vertical: ""
677
717
  }),
678
- s(N, { size: "x-small" })
718
+ o(U, { size: "x-small" })
679
719
  ]),
680
720
  _: 1
681
721
  })
682
722
  ]),
683
723
  _: 1
684
724
  }, 8, ["modelValue"])
685
- ])) : w("", !0)
725
+ ])) : $("", !0)
686
726
  ]),
687
727
  _: 1
688
728
  })
@@ -690,7 +730,7 @@ const ae = /* @__PURE__ */ V({
690
730
  };
691
731
  }
692
732
  });
693
- function _o() {
733
+ function ho() {
694
734
  return {
695
735
  blackguard: {
696
736
  dark: !0,
@@ -806,8 +846,8 @@ function _o() {
806
846
  }
807
847
  };
808
848
  }
809
- const Ge = K("settings", () => {
810
- const u = "https://cdn.vuetifyjs.com/docs/images/one/", t = B(), a = H(), o = Pt(), n = _o(), r = {
849
+ const Qe = ee("settings", () => {
850
+ const u = "https://cdn.vuetifyjs.com/docs/images/one/", t = z(), a = M(), s = Wt(), n = ho(), r = {
811
851
  blackguard: {
812
852
  "app-bar": u + "suits/blackguard/blackguard-app-bar.png",
813
853
  drawer: u + "suits/blackguard/blackguard-app-drawer.png",
@@ -823,24 +863,24 @@ const Ge = K("settings", () => {
823
863
  // 'drawer': '',
824
864
  // footer: '',
825
865
  // },
826
- }, l = A(() => {
866
+ }, c = L(() => {
827
867
  if (!a.suits.suit || !a.suits.show || !t.isSubscriber)
828
868
  return {};
829
- const c = r[a.suits.suit.toLowerCase()], h = {};
869
+ const l = r[a.suits.suit.toLowerCase()], h = {};
830
870
  for (const p of a.suits.elements)
831
- h[p] = c[p];
871
+ h[p] = l[p];
832
872
  return h;
833
873
  });
834
- return o.themes.value = {
835
- ...o.themes.value,
874
+ return s.themes.value = {
875
+ ...s.themes.value,
836
876
  ...n
837
- }, W(() => a.theme, (c) => {
838
- c === "system" ? o.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : o.global.name.value = c, a.theme = c;
877
+ }, W(() => a.theme, (l) => {
878
+ l === "system" ? s.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : s.global.name.value = l, a.theme = l;
839
879
  }, { immediate: !0 }), {
840
- suit: l,
880
+ suit: c,
841
881
  CDN_URL: u
842
882
  };
843
- }), ho = /* @__PURE__ */ V({
883
+ }), go = /* @__PURE__ */ V({
844
884
  __name: "VoSettingsDialog",
845
885
  props: {
846
886
  modelValue: { type: Boolean },
@@ -848,100 +888,100 @@ const Ge = K("settings", () => {
848
888
  },
849
889
  emits: ["update:modelValue"],
850
890
  setup(u) {
851
- const t = pe(u, "modelValue"), a = B(), o = Ge(), n = H(), r = [
891
+ const t = me(u, "modelValue"), a = z(), s = Qe(), n = M(), r = [
852
892
  {
853
893
  title: "Light",
854
894
  subtitle: "A standard light theme.",
855
- image: o.CDN_URL + "themes/light.png",
856
- prependIcon: `svg:${lt}`,
895
+ image: s.CDN_URL + "themes/light.png",
896
+ prependIcon: `svg:${ut}`,
857
897
  value: "light"
858
898
  },
859
899
  {
860
900
  title: "Dark",
861
901
  subtitle: "A standard dark theme.",
862
- image: o.CDN_URL + "themes/dark.png",
863
- prependIcon: `svg:${ct}`,
902
+ image: s.CDN_URL + "themes/dark.png",
903
+ prependIcon: `svg:${dt}`,
864
904
  value: "dark"
865
905
  },
866
906
  {
867
907
  title: "System",
868
908
  subtitle: "A theme based on the system preference.",
869
- image: o.CDN_URL + "themes/system.png",
870
- prependIcon: `svg:${ut}`,
909
+ image: s.CDN_URL + "themes/system.png",
910
+ prependIcon: `svg:${pt}`,
871
911
  value: "system"
872
912
  },
873
913
  {
874
914
  title: "Blackguard",
875
915
  subtitle: "A theme for v3.4 Blackguard.",
876
- image: o.CDN_URL + "themes/blackguard.png",
877
- prependIcon: `svg:${Re}`,
916
+ image: s.CDN_URL + "themes/blackguard.png",
917
+ prependIcon: `svg:${Pe}`,
878
918
  value: "blackguard"
879
919
  },
880
920
  {
881
921
  title: "Polaris",
882
922
  subtitle: "A theme for v3.5 Polaris.",
883
- image: o.CDN_URL + "themes/polaris.png",
884
- prependIcon: `svg:${dt}`,
923
+ image: s.CDN_URL + "themes/polaris.png",
924
+ prependIcon: `svg:${mt}`,
885
925
  value: "polaris",
886
926
  disabled: !0
887
927
  },
888
928
  {
889
929
  title: "Nebula",
890
930
  subtitle: "A theme for v3.6 Nebula.",
891
- image: o.CDN_URL + "themes/nebula.png",
892
- prependIcon: `svg:${pt}`,
931
+ image: s.CDN_URL + "themes/nebula.png",
932
+ prependIcon: `svg:${ft}`,
893
933
  value: "nebula",
894
934
  disabled: !0
895
935
  },
896
936
  {
897
937
  title: "High Contrast",
898
938
  subtitle: "A theme for high contrast.",
899
- image: o.CDN_URL + "themes/high-contrast.png",
900
- prependIcon: `svg:${mt}`,
939
+ image: s.CDN_URL + "themes/high-contrast.png",
940
+ prependIcon: `svg:${vt}`,
901
941
  value: "highContrast",
902
942
  disabled: !0
903
943
  }
904
944
  ];
905
- return (l, c) => {
906
- const h = re, p = vo, y = We, L = ge;
907
- return d(), _(L, {
945
+ return (c, l) => {
946
+ const h = ce, p = _o, g = Je, I = ye;
947
+ return d(), v(I, {
908
948
  modelValue: t.value,
909
- "onUpdate:modelValue": c[5] || (c[5] = (m) => t.value = m),
910
- "prepend-icon": `svg:${e(ft)}`,
949
+ "onUpdate:modelValue": l[5] || (l[5] = (m) => t.value = m),
950
+ "prepend-icon": `svg:${e(_t)}`,
911
951
  title: "Settings"
912
952
  }, {
913
953
  default: i(() => [
914
- s(Ie, null, {
954
+ o(Fe, null, {
915
955
  default: i(() => [
916
- s(Ae, { scrollable: "" }, {
956
+ o(Ne, { scrollable: "" }, {
917
957
  default: i(() => [
918
- s(J, { class: "px-7" }, {
958
+ o(X, { class: "px-7" }, {
919
959
  default: i(() => [
920
- s(h, {
960
+ o(h, {
921
961
  text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
922
962
  title: "Theme"
923
963
  }),
924
- s(Pe, {
964
+ o(qe, {
925
965
  modelValue: e(n).theme,
926
- "onUpdate:modelValue": c[0] || (c[0] = (m) => e(n).theme = m),
966
+ "onUpdate:modelValue": l[0] || (l[0] = (m) => e(n).theme = m),
927
967
  mandatory: ""
928
968
  }, {
929
969
  default: i(() => [
930
- s(_e, { dense: "" }, {
970
+ o(he, { dense: "" }, {
931
971
  default: i(() => [
932
- (d(), x(F, null, te(r, (m, k) => s(ne, {
972
+ (d(), w(N, null, oe(r, (m, k) => o(ae, {
933
973
  key: k,
934
974
  cols: "6"
935
975
  }, {
936
976
  default: i(() => [
937
- s(we, {
977
+ o(Ce, {
938
978
  value: m.value
939
979
  }, {
940
- default: i(({ toggle: D, isSelected: g }) => [
941
- s(Me, null, {
942
- default: i(({ props: $, isHovering: I }) => [
943
- s(T, ce({
944
- color: g ? "primary" : "surface-variant",
980
+ default: i(({ toggle: D, isSelected: b }) => [
981
+ o(Ge, null, {
982
+ default: i(({ props: x, isHovering: A }) => [
983
+ o(R, Q({
984
+ color: b ? "primary" : "surface-variant",
945
985
  disabled: m.disabled,
946
986
  image: m.image,
947
987
  "prepend-icon": m.prependIcon,
@@ -950,11 +990,11 @@ const Ge = K("settings", () => {
950
990
  title: m.title,
951
991
  height: "76",
952
992
  variant: "tonal"
953
- }, $, { onClick: D }), {
993
+ }, x, { onClick: D }), {
954
994
  image: i(() => [
955
- s(Le, {
956
- style: Fe({
957
- filter: g || I ? "none" : "grayscale(100%)"
995
+ o(Ue, {
996
+ style: Be({
997
+ filter: b || A ? "none" : "grayscale(100%)"
958
998
  })
959
999
  }, null, 8, ["style"])
960
1000
  ]),
@@ -975,65 +1015,65 @@ const Ge = K("settings", () => {
975
1015
  ]),
976
1016
  _: 1
977
1017
  }, 8, ["modelValue"]),
978
- e(a).isSubscriber ? (d(), x(F, { key: 0 }, [
979
- s(R, { class: "mt-6 mb-4" }),
980
- s(p)
981
- ], 64)) : w("", !0)
1018
+ e(a).isSubscriber ? (d(), w(N, { key: 0 }, [
1019
+ o(H, { class: "mt-6 mb-4" }),
1020
+ o(p)
1021
+ ], 64)) : $("", !0)
982
1022
  ]),
983
1023
  _: 1
984
1024
  }),
985
- s(R),
986
- s(J, { class: "px-7" }, {
1025
+ o(H),
1026
+ o(X, { class: "px-7" }, {
987
1027
  default: i(() => [
988
- s(h, {
1028
+ o(h, {
989
1029
  text: "These options change your browsing experience within Vuetify properties",
990
1030
  title: "Experience"
991
1031
  }),
992
- e(a).isSubscriber ? (d(), _(y, {
1032
+ e(a).isSubscriber ? (d(), v(g, {
993
1033
  key: 0,
994
1034
  modelValue: e(n).disableAds,
995
- "onUpdate:modelValue": c[1] || (c[1] = (m) => e(n).disableAds = m),
1035
+ "onUpdate:modelValue": l[1] || (l[1] = (m) => e(n).disableAds = m),
996
1036
  class: "mb-2",
997
1037
  label: "Disable Ads",
998
1038
  messages: "Disable traditional advertisements on all documentation pages."
999
- }, null, 8, ["modelValue"])) : w("", !0),
1000
- s(y, {
1039
+ }, null, 8, ["modelValue"])) : $("", !0),
1040
+ o(g, {
1001
1041
  modelValue: e(n).quickbar,
1002
- "onUpdate:modelValue": c[2] || (c[2] = (m) => e(n).quickbar = m),
1042
+ "onUpdate:modelValue": l[2] || (l[2] = (m) => e(n).quickbar = m),
1003
1043
  label: "Enable Quick Actions",
1004
1044
  messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
1005
1045
  }, null, 8, ["modelValue"])
1006
1046
  ]),
1007
1047
  _: 1
1008
1048
  }),
1009
- s(R),
1010
- e(a).isSubscriber ? (d(), _(J, {
1049
+ o(H),
1050
+ e(a).isSubscriber ? (d(), v(X, {
1011
1051
  key: 0,
1012
1052
  class: "px-7"
1013
1053
  }, {
1014
1054
  default: i(() => [
1015
- s(h, {
1055
+ o(h, {
1016
1056
  text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
1017
1057
  title: "Communication"
1018
1058
  }),
1019
- s(y, {
1059
+ o(g, {
1020
1060
  modelValue: e(n).notifications.show,
1021
- "onUpdate:modelValue": c[3] || (c[3] = (m) => e(n).notifications.show = m),
1061
+ "onUpdate:modelValue": l[3] || (l[3] = (m) => e(n).notifications.show = m),
1022
1062
  class: "mb-2",
1023
1063
  label: "Enable Notifications",
1024
1064
  messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
1025
1065
  }, null, 8, ["modelValue"]),
1026
- e(n).notifications.show ? (d(), _(y, {
1066
+ e(n).notifications.show ? (d(), v(g, {
1027
1067
  key: 0,
1028
1068
  modelValue: e(n).notifications.banners,
1029
- "onUpdate:modelValue": c[4] || (c[4] = (m) => e(n).notifications.banners = m),
1069
+ "onUpdate:modelValue": l[4] || (l[4] = (m) => e(n).notifications.banners = m),
1030
1070
  class: "mb-2",
1031
1071
  label: "Enable Banners",
1032
1072
  messages: "Banners are located at the top of the screen and provide a callout for important information."
1033
- }, null, 8, ["modelValue"])) : w("", !0)
1073
+ }, null, 8, ["modelValue"])) : $("", !0)
1034
1074
  ]),
1035
1075
  _: 1
1036
- })) : w("", !0)
1076
+ })) : $("", !0)
1037
1077
  ]),
1038
1078
  _: 1
1039
1079
  })
@@ -1045,86 +1085,86 @@ const Ge = K("settings", () => {
1045
1085
  }, 8, ["modelValue", "prepend-icon"]);
1046
1086
  };
1047
1087
  }
1048
- }), go = /* @__PURE__ */ V({
1088
+ }), bo = /* @__PURE__ */ V({
1049
1089
  __name: "VoSettingsListItem",
1050
1090
  setup(u) {
1051
- const t = U(!1);
1052
- return (a, o) => {
1053
- const n = ho, r = Y;
1054
- return d(), _(r, {
1091
+ const t = F(!1);
1092
+ return (a, s) => {
1093
+ const n = go, r = Y;
1094
+ return d(), v(r, {
1055
1095
  active: t.value,
1056
- "prepend-icon": `svg:${e(vt)}`,
1096
+ "prepend-icon": `svg:${e(ht)}`,
1057
1097
  title: "Settings",
1058
1098
  link: ""
1059
1099
  }, {
1060
1100
  default: i(() => [
1061
- s(n, {
1101
+ o(n, {
1062
1102
  modelValue: t.value,
1063
- "onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l)
1103
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => t.value = c)
1064
1104
  }, null, 8, ["modelValue"])
1065
1105
  ]),
1066
1106
  _: 1
1067
1107
  }, 8, ["active", "prepend-icon"]);
1068
1108
  };
1069
1109
  }
1070
- }), X = K("one", () => {
1071
- const t = new URLSearchParams(window.location.search).get("session_id"), a = B(), o = he(), n = U(!1), r = Z(!1), l = Z(), c = Z([]), h = A(() => {
1110
+ }), J = ee("one", () => {
1111
+ const t = new URLSearchParams(window.location.search).get("session_id"), a = z(), s = ge(), n = F(!1), r = K(!1), c = K(), l = K([]), h = L(() => {
1072
1112
  var f;
1073
- return (f = l.value) == null ? void 0 : f.items[0].plan.interval;
1074
- }), p = A(() => {
1113
+ return (f = c.value) == null ? void 0 : f.items[0].plan.interval;
1114
+ }), p = L(() => {
1075
1115
  var f;
1076
- return (f = a.user) == null ? void 0 : f.sponsorships.find((b) => b.platform === "stripe" && b.tierName.startsWith("sub_"));
1077
- }), y = A(() => {
1116
+ return (f = a.user) == null ? void 0 : f.sponsorships.find((y) => y.platform === "stripe" && y.tierName.startsWith("sub_"));
1117
+ }), g = L(() => {
1078
1118
  var f;
1079
1119
  return !!((f = p.value) != null && f.tierName);
1080
- }), L = A(() => {
1120
+ }), I = L(() => {
1081
1121
  var f;
1082
1122
  return (f = p.value) == null ? void 0 : f.isActive;
1083
- }), m = A(() => {
1123
+ }), m = L(() => {
1084
1124
  var f;
1085
- return (f = a.user) == null ? void 0 : f.sponsorships.find((b) => b.platform === "github");
1086
- }), k = A(() => {
1125
+ return (f = a.user) == null ? void 0 : f.sponsorships.find((y) => y.platform === "github");
1126
+ }), k = L(() => {
1087
1127
  var f;
1088
- return (f = a.user) == null ? void 0 : f.sponsorships.find((b) => b.platform === "discord");
1089
- }), D = A(() => {
1128
+ return (f = a.user) == null ? void 0 : f.sponsorships.find((y) => y.platform === "discord");
1129
+ }), D = L(() => {
1090
1130
  var f;
1091
- return (f = a.user) == null ? void 0 : f.sponsorships.find((b) => b.platform === "patreon");
1092
- }), g = A(() => {
1131
+ return (f = a.user) == null ? void 0 : f.sponsorships.find((y) => y.platform === "patreon");
1132
+ }), b = L(() => {
1093
1133
  var f;
1094
- return (f = a.user) == null ? void 0 : f.sponsorships.reduce((b, be) => (be.platform !== "stripe" && (b += be.amount), b), 0);
1134
+ return (f = a.user) == null ? void 0 : f.sponsorships.reduce((y, Ve) => (Ve.platform !== "stripe" && (y += Ve.amount), y), 0);
1095
1135
  });
1096
- Ze(async () => {
1097
- t && await $();
1098
- }), W(L, (f, b) => {
1099
- f === !1 && b !== !0 || M();
1136
+ et(async () => {
1137
+ t && await x();
1138
+ }), W(I, (f, y) => {
1139
+ f === !1 && y !== !0 || P();
1100
1140
  });
1101
- async function $() {
1141
+ async function x() {
1102
1142
  try {
1103
1143
  n.value = !0;
1104
- const f = await o.post("/one/activate", { sessionId: t });
1144
+ const f = await s.post("/one/activate", { sessionId: t });
1105
1145
  a.user = f.user;
1106
- const b = new URL(window.location.href);
1107
- b.searchParams.delete("session_id"), history.pushState(null, "", b.toString()), z();
1146
+ const y = new URL(window.location.href);
1147
+ y.searchParams.delete("session_id"), history.pushState(null, "", y.toString()), T();
1108
1148
  } catch {
1109
1149
  } finally {
1110
1150
  n.value = !1;
1111
1151
  }
1112
1152
  }
1113
- async function I() {
1114
- window.open(`${o.url}/one/manage`, "_blank");
1153
+ async function A() {
1154
+ window.open(`${s.url}/one/manage`, "_blank");
1115
1155
  }
1116
1156
  async function O(f) {
1117
- n.value = !0, window.location.href = `${o.url}/one/subscribe?interval=${f}`;
1157
+ n.value = !0, window.location.href = `${s.url}/one/subscribe?interval=${f}`;
1118
1158
  }
1119
1159
  async function S() {
1120
1160
  var f;
1121
1161
  if (p.value)
1122
1162
  try {
1123
1163
  n.value = !0;
1124
- const b = await o.post(
1164
+ const y = await s.post(
1125
1165
  `/one/cancel?subscriptionId=${(f = p.value) == null ? void 0 : f.tierName}`
1126
1166
  );
1127
- a.user = b.user;
1167
+ a.user = y.user;
1128
1168
  } catch {
1129
1169
  } finally {
1130
1170
  n.value = !1;
@@ -1134,96 +1174,96 @@ const Ge = K("settings", () => {
1134
1174
  if (p.value)
1135
1175
  try {
1136
1176
  n.value = !0;
1137
- const b = await o.post("/one/modify", {
1177
+ const y = await s.post("/one/modify", {
1138
1178
  subscriptionId: p.value.tierName,
1139
1179
  interval: f
1140
1180
  });
1141
- a.user = b.user;
1181
+ a.user = y.user;
1142
1182
  } catch {
1143
1183
  } finally {
1144
1184
  n.value = !1;
1145
1185
  }
1146
1186
  }
1147
- async function M() {
1187
+ async function P() {
1148
1188
  var f;
1149
1189
  if (p.value)
1150
1190
  try {
1151
1191
  n.value = !0;
1152
- const b = await o.post(
1192
+ const y = await s.post(
1153
1193
  `/one/verify?subscriptionId=${(f = p.value) == null ? void 0 : f.tierName}`
1154
1194
  );
1155
- a.user = b.user;
1195
+ a.user = y.user;
1156
1196
  } catch {
1157
1197
  } finally {
1158
1198
  n.value = !1;
1159
1199
  }
1160
1200
  }
1161
- async function z() {
1201
+ async function T() {
1162
1202
  try {
1163
1203
  n.value = !0;
1164
- const f = await o.get("/one/info");
1165
- return l.value = f.subscription, c.value = f.invoices, f;
1204
+ const f = await s.get("/one/info");
1205
+ return c.value = f.subscription, l.value = f.invoices, f;
1166
1206
  } catch {
1167
1207
  } finally {
1168
1208
  n.value = !1;
1169
1209
  }
1170
1210
  }
1171
1211
  return {
1172
- info: l,
1212
+ info: c,
1173
1213
  interval: h,
1174
- invoices: c,
1214
+ invoices: l,
1175
1215
  sessionId: t,
1176
1216
  subscription: p,
1177
- monthlyTotal: g,
1178
- hasBilling: y,
1217
+ monthlyTotal: b,
1218
+ hasBilling: g,
1179
1219
  isLoading: n,
1180
1220
  isOpen: r,
1181
- isSubscriber: L,
1221
+ isSubscriber: I,
1182
1222
  github: m,
1183
1223
  patreon: D,
1184
1224
  discord: k,
1185
- activate: $,
1225
+ activate: x,
1186
1226
  cancel: S,
1187
- manage: I,
1227
+ manage: A,
1188
1228
  modify: E,
1189
1229
  subscribe: O,
1190
- subscriptionInfo: z,
1191
- verify: M
1230
+ subscriptionInfo: T,
1231
+ verify: P
1192
1232
  };
1193
- }), bo = { class: "text-caption" }, yo = /* @__PURE__ */ V({
1233
+ }), yo = { class: "text-caption" }, Vo = /* @__PURE__ */ V({
1194
1234
  __name: "VoSubscriptionInvoices",
1195
1235
  setup(u) {
1196
- const t = ve(), a = X();
1197
- return (o, n) => {
1198
- const r = re;
1199
- return d(), _(_e, null, {
1236
+ const t = _e(), a = J();
1237
+ return (s, n) => {
1238
+ const r = ce;
1239
+ return d(), v(he, null, {
1200
1240
  default: i(() => [
1201
- s(ne, { cols: "12" }, {
1241
+ o(ae, { cols: "12" }, {
1202
1242
  default: i(() => [
1203
- s(r, {
1243
+ o(r, {
1204
1244
  text: "View and download your invoice history.",
1205
1245
  title: "Invoice History"
1206
1246
  }),
1207
- s(T, {
1247
+ o(R, {
1208
1248
  height: "450",
1209
1249
  rounded: "lg",
1210
1250
  border: ""
1211
1251
  }, {
1212
1252
  default: i(() => [
1213
- s(qt, {
1253
+ o(Jt, {
1214
1254
  items: e(a).invoices,
1215
1255
  loading: e(a).isLoading,
1216
1256
  sticky: ""
1217
1257
  }, {
1218
- "item.date": i(({ item: l }) => [
1219
- v("div", bo, C(e(t).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
1258
+ "item.date": i(({ item: c }) => [
1259
+ _("div", yo, C(e(t).format(new Date(c.date * 1e3), "fullDateWithWeekday")), 1)
1220
1260
  ]),
1221
- "item.amount": i(({ item: l }) => [
1222
- j(" $" + C(l.amount / 100), 1)
1261
+ "item.amount": i(({ item: c }) => [
1262
+ j(" $" + C(c.amount / 100), 1)
1223
1263
  ]),
1224
- "item.status": i(({ item: l }) => [
1225
- s(q, {
1226
- text: l.status,
1264
+ "item.status": i(({ item: c }) => [
1265
+ o(q, {
1266
+ text: c.status,
1227
1267
  border: "success sm",
1228
1268
  class: "text-capitalize",
1229
1269
  color: "success",
@@ -1232,10 +1272,10 @@ const Ge = K("settings", () => {
1232
1272
  label: ""
1233
1273
  }, null, 8, ["text"])
1234
1274
  ]),
1235
- "item.pdf": i(({ item: l }) => [
1236
- s(Q, {
1237
- href: l.pdf,
1238
- icon: `svg:${e(_t)}`,
1275
+ "item.pdf": i(({ item: c }) => [
1276
+ o(Z, {
1277
+ href: c.pdf,
1278
+ icon: `svg:${e(gt)}`,
1239
1279
  size: "small",
1240
1280
  target: "_blank",
1241
1281
  variant: "text"
@@ -1254,31 +1294,31 @@ const Ge = K("settings", () => {
1254
1294
  });
1255
1295
  };
1256
1296
  }
1257
- }), Vo = { class: "d-flex align-center" }, ko = {
1297
+ }), ko = { class: "d-flex align-center" }, $o = {
1258
1298
  key: "status",
1259
1299
  class: "text-capitalize hidden-sm-and-down"
1260
- }, $o = /* @__PURE__ */ v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), xo = { class: "me-1" }, wo = { class: "text-medium-emphasis text-caption" }, So = { class: "d-flex align-start justify-space-between text-caption py-2" }, Co = { class: "font-weight-bold" }, Lo = { class: "font-weight-bold" }, Io = /* @__PURE__ */ V({
1300
+ }, xo = /* @__PURE__ */ _("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), wo = { class: "me-1" }, So = { class: "text-medium-emphasis text-caption" }, Co = { class: "d-flex align-start justify-space-between text-caption py-2" }, Lo = { class: "font-weight-bold" }, Io = { class: "font-weight-bold" }, Ao = /* @__PURE__ */ V({
1261
1301
  __name: "VoSubscriptionStatus",
1262
1302
  emits: ["change:subscription"],
1263
1303
  setup(u, { emit: t }) {
1264
- const a = ve(), o = X(), n = t, r = A(() => {
1265
- if (!o.info)
1304
+ const a = _e(), s = J(), n = t, r = L(() => {
1305
+ if (!s.info)
1266
1306
  return;
1267
- const c = new Date(o.info.currentPeriodEnd * 1e3);
1268
- return a.format(c, "keyboardDate");
1307
+ const l = new Date(s.info.currentPeriodEnd * 1e3);
1308
+ return a.format(l, "keyboardDate");
1269
1309
  });
1270
- async function l() {
1271
- o.interval && (o.isLoading = !0, o.subscribe(o.interval));
1310
+ async function c() {
1311
+ s.interval && (s.isLoading = !0, s.subscribe(s.interval));
1272
1312
  }
1273
- return (c, h) => {
1274
- const p = ae;
1275
- return d(), _(_e, null, {
1313
+ return (l, h) => {
1314
+ const p = le;
1315
+ return d(), v(he, null, {
1276
1316
  default: i(() => [
1277
- s(ne, { cols: "12" }, {
1317
+ o(ae, { cols: "12" }, {
1278
1318
  default: i(() => {
1279
- var y, L;
1319
+ var g, I;
1280
1320
  return [
1281
- s(T, {
1321
+ o(R, {
1282
1322
  "prepend-icon": "$vuetify",
1283
1323
  rounded: "lg",
1284
1324
  title: "Subscription Status",
@@ -1288,59 +1328,59 @@ const Ge = K("settings", () => {
1288
1328
  append: i(() => {
1289
1329
  var m;
1290
1330
  return [
1291
- e(o).hasBilling && ((m = e(o).info) == null ? void 0 : m.status) === "canceled" ? (d(), _(p, {
1331
+ e(s).hasBilling && ((m = e(s).info) == null ? void 0 : m.status) === "canceled" ? (d(), v(p, {
1292
1332
  key: 0,
1293
- loading: e(o).isLoading,
1333
+ loading: e(s).isLoading,
1294
1334
  class: "me-2",
1295
1335
  color: "success",
1296
1336
  "prepend-icon": "$success",
1297
1337
  text: "Activate",
1298
1338
  variant: "outlined",
1299
- onClick: l
1300
- }, null, 8, ["loading"])) : w("", !0),
1301
- e(o).hasBilling ? (d(), _(p, {
1339
+ onClick: c
1340
+ }, null, 8, ["loading"])) : $("", !0),
1341
+ e(s).hasBilling ? (d(), v(p, {
1302
1342
  key: 1,
1303
- loading: e(o).isLoading,
1304
- "prepend-icon": `svg:${e(ht)}`,
1343
+ loading: e(s).isLoading,
1344
+ "prepend-icon": `svg:${e(bt)}`,
1305
1345
  text: "Billing",
1306
- onClick: e(o).manage
1307
- }, null, 8, ["loading", "prepend-icon", "onClick"])) : w("", !0)
1346
+ onClick: e(s).manage
1347
+ }, null, 8, ["loading", "prepend-icon", "onClick"])) : $("", !0)
1308
1348
  ];
1309
1349
  }),
1310
1350
  _: 2
1311
1351
  }, [
1312
- e(o).info ? {
1352
+ e(s).info ? {
1313
1353
  name: "subtitle",
1314
1354
  fn: i(() => [
1315
- v("div", Vo, [
1316
- v("span", ko, C(e(o).info.status), 1),
1317
- e(o).info.items.length ? (d(), x(F, { key: 0 }, [
1318
- $o,
1319
- v("span", xo, [
1320
- j(" $" + C(e(o).info.items[0].plan.amount / 100), 1),
1321
- v("span", wo, "/" + C(e(o).interval), 1)
1355
+ _("div", ko, [
1356
+ _("span", $o, C(e(s).info.status), 1),
1357
+ e(s).info.items.length ? (d(), w(N, { key: 0 }, [
1358
+ xo,
1359
+ _("span", wo, [
1360
+ j(" $" + C(e(s).info.items[0].plan.amount / 100), 1),
1361
+ _("span", So, "/" + C(e(s).interval), 1)
1322
1362
  ]),
1323
- s(p, {
1363
+ o(p, {
1324
1364
  size: "x-small",
1325
1365
  text: "(Change Subscription)",
1326
1366
  variant: "text",
1327
1367
  onClick: h[0] || (h[0] = (m) => n("change:subscription"))
1328
1368
  })
1329
- ], 64)) : w("", !0)
1369
+ ], 64)) : $("", !0)
1330
1370
  ])
1331
1371
  ]),
1332
1372
  key: "0"
1333
1373
  } : {
1334
1374
  name: "subtitle",
1335
1375
  fn: i(() => [
1336
- v("div", { class: "d-flex align-center" }, [
1337
- s(Ue, {
1376
+ _("div", { class: "d-flex align-center" }, [
1377
+ o(Oe, {
1338
1378
  height: "16",
1339
1379
  type: "ossein",
1340
1380
  width: "40"
1341
1381
  }),
1342
- v("span", { class: "mx-1" }, "—"),
1343
- s(Ue, {
1382
+ _("span", { class: "mx-1" }, "—"),
1383
+ o(Oe, {
1344
1384
  height: "16",
1345
1385
  type: "ossein",
1346
1386
  width: "80"
@@ -1350,15 +1390,15 @@ const Ge = K("settings", () => {
1350
1390
  key: "1"
1351
1391
  }
1352
1392
  ]), 1024),
1353
- v("div", So, [
1354
- v("div", null, [
1355
- ((y = e(o).info) == null ? void 0 : y.status) === "active" ? (d(), x(F, { key: 0 }, [
1393
+ _("div", Co, [
1394
+ _("div", null, [
1395
+ ((g = e(s).info) == null ? void 0 : g.status) === "active" ? (d(), w(N, { key: 0 }, [
1356
1396
  j(" Your plan renews on "),
1357
- v("span", Co, C(e(a).format(r.value, "fullDateWithWeekday")), 1),
1397
+ _("span", Lo, C(e(a).format(r.value, "fullDateWithWeekday")), 1),
1358
1398
  j(". ")
1359
- ], 64)) : (d(), x(F, { key: 1 }, [
1399
+ ], 64)) : (d(), w(N, { key: 1 }, [
1360
1400
  j(" Your plan ends on "),
1361
- v("span", Lo, C(e(a).format((L = e(o).info) == null ? void 0 : L.currentPeriodEnd, "fullDateWithWeekday")), 1),
1401
+ _("span", Io, C(e(a).format((I = e(s).info) == null ? void 0 : I.currentPeriodEnd, "fullDateWithWeekday")), 1),
1362
1402
  j(". ")
1363
1403
  ], 64))
1364
1404
  ])
@@ -1372,7 +1412,7 @@ const Ge = K("settings", () => {
1372
1412
  });
1373
1413
  };
1374
1414
  }
1375
- }), Ao = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Do = ["innerHTML"], Uo = /* @__PURE__ */ v("br", null, null, -1), Fo = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), jo = ["innerHTML"], No = /* @__PURE__ */ V({
1415
+ }), Do = /* @__PURE__ */ _("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Uo = ["innerHTML"], Fo = /* @__PURE__ */ _("br", null, null, -1), No = /* @__PURE__ */ _("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), jo = ["innerHTML"], Oo = /* @__PURE__ */ V({
1376
1416
  __name: "VoSubscriptionPerks",
1377
1417
  setup(u) {
1378
1418
  const t = [
@@ -1385,74 +1425,74 @@ const Ge = K("settings", () => {
1385
1425
  'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
1386
1426
  'Save and share your playgrounds with <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>',
1387
1427
  "Receive a special label on GitHub created issues and pull requests"
1388
- ], o = U(!1), n = X();
1389
- return W(o, async (r) => {
1428
+ ], s = F(!1), n = J();
1429
+ return W(s, async (r) => {
1390
1430
  r && n.subscriptionInfo();
1391
- }), (r, l) => {
1392
- const c = Y;
1393
- return d(), x(F, null, [
1394
- s(xe, { class: "font-weight-black" }, {
1431
+ }), (r, c) => {
1432
+ const l = Y;
1433
+ return d(), w(N, null, [
1434
+ o(Se, { class: "font-weight-black" }, {
1395
1435
  default: i(() => [
1396
1436
  j("Perks")
1397
1437
  ]),
1398
1438
  _: 1
1399
1439
  }),
1400
- Ao,
1401
- s(oe, {
1440
+ Do,
1441
+ o(se, {
1402
1442
  lines: !1,
1403
1443
  class: "py-0",
1404
1444
  density: "compact",
1405
1445
  nav: ""
1406
1446
  }, {
1407
1447
  default: i(() => [
1408
- (d(), x(F, null, te(t, (h, p) => s(c, {
1448
+ (d(), w(N, null, oe(t, (h, p) => o(l, {
1409
1449
  key: p,
1410
- "prepend-icon": `svg:${e(ee)}`,
1450
+ "prepend-icon": `svg:${e(te)}`,
1411
1451
  class: "mb-0"
1412
1452
  }, {
1413
1453
  prepend: i(() => [
1414
- s(N, {
1454
+ o(U, {
1415
1455
  class: "mx-n2",
1416
1456
  color: "success",
1417
1457
  size: "small"
1418
1458
  })
1419
1459
  ]),
1420
1460
  title: i(() => [
1421
- v("div", { innerHTML: h }, null, 8, Do)
1461
+ _("div", { innerHTML: h }, null, 8, Uo)
1422
1462
  ]),
1423
1463
  _: 2
1424
1464
  }, 1032, ["prepend-icon"])), 64))
1425
1465
  ]),
1426
1466
  _: 1
1427
1467
  }),
1428
- Uo,
1429
- s(xe, { class: "font-weight-black" }, {
1468
+ Fo,
1469
+ o(Se, { class: "font-weight-black" }, {
1430
1470
  default: i(() => [
1431
1471
  j("Up Next")
1432
1472
  ]),
1433
1473
  _: 1
1434
1474
  }),
1435
- Fo,
1436
- s(oe, {
1475
+ No,
1476
+ o(se, {
1437
1477
  lines: !1,
1438
1478
  class: "py-0",
1439
1479
  density: "compact",
1440
1480
  nav: ""
1441
1481
  }, {
1442
1482
  default: i(() => [
1443
- (d(), x(F, null, te(a, (h, p) => s(c, {
1483
+ (d(), w(N, null, oe(a, (h, p) => o(l, {
1444
1484
  key: p,
1445
- "prepend-icon": `svg:${e(gt)}`,
1485
+ "prepend-icon": `svg:${e(yt)}`,
1446
1486
  class: "mb-0"
1447
1487
  }, {
1448
1488
  prepend: i(() => [
1449
- s(N, {
1489
+ o(U, {
1450
1490
  class: "mx-n2",
1451
1491
  size: "small"
1452
1492
  })
1453
1493
  ]),
1454
1494
  title: i(() => [
1455
- v("div", { innerHTML: h }, null, 8, jo)
1495
+ _("div", { innerHTML: h }, null, 8, jo)
1456
1496
  ]),
1457
1497
  _: 2
1458
1498
  }, 1032, ["prepend-icon"])), 64))
@@ -1462,7 +1502,7 @@ const Ge = K("settings", () => {
1462
1502
  ], 64);
1463
1503
  };
1464
1504
  }
1465
- }), Oo = /* @__PURE__ */ V({
1505
+ }), Bo = /* @__PURE__ */ V({
1466
1506
  __name: "VoSubscriptionSubscribe",
1467
1507
  props: {
1468
1508
  modelValue: {
@@ -1472,37 +1512,37 @@ const Ge = K("settings", () => {
1472
1512
  },
1473
1513
  emits: ["update:modelValue"],
1474
1514
  setup(u) {
1475
- const t = U(!1), a = pe(u, "modelValue"), o = X();
1515
+ const t = F(!1), a = me(u, "modelValue"), s = J();
1476
1516
  return W(t, async (n) => {
1477
- n && o.subscriptionInfo();
1478
- }), W(() => o.interval, (n) => {
1517
+ n && s.subscriptionInfo();
1518
+ }), W(() => s.interval, (n) => {
1479
1519
  a.value = n;
1480
- }, { immediate: !0 }), (n, r) => (d(), _(Pe, {
1520
+ }, { immediate: !0 }), (n, r) => (d(), v(qe, {
1481
1521
  modelValue: a.value,
1482
- "onUpdate:modelValue": r[0] || (r[0] = (l) => a.value = l)
1522
+ "onUpdate:modelValue": r[0] || (r[0] = (c) => a.value = c)
1483
1523
  }, {
1484
1524
  default: i(() => [
1485
- s(_e, null, {
1525
+ o(he, null, {
1486
1526
  default: i(() => [
1487
- s(ne, {
1527
+ o(ae, {
1488
1528
  cols: "12",
1489
1529
  md: "6"
1490
1530
  }, {
1491
1531
  default: i(() => [
1492
- s(we, { value: "month" }, {
1493
- default: i(({ toggle: l, isSelected: c }) => [
1494
- s(T, {
1495
- border: c ? "sm primary opacity-100" : "sm",
1496
- color: c ? "primary" : void 0,
1497
- "prepend-icon": c ? `svg:${e(se)}` : "$radioOff",
1498
- variant: c ? "tonal" : "text",
1532
+ o(Ce, { value: "month" }, {
1533
+ default: i(({ toggle: c, isSelected: l }) => [
1534
+ o(R, {
1535
+ border: l ? "sm primary opacity-100" : "sm",
1536
+ color: l ? "primary" : void 0,
1537
+ "prepend-icon": l ? `svg:${e(ie)}` : "$radioOff",
1538
+ variant: l ? "tonal" : "text",
1499
1539
  rounded: "lg",
1500
1540
  subtitle: "$2.99/month",
1501
1541
  title: "Monthly",
1502
- onClick: l
1542
+ onClick: c
1503
1543
  }, {
1504
1544
  prepend: i(() => [
1505
- s(N, { class: "mt-n6" })
1545
+ o(U, { class: "mt-n6" })
1506
1546
  ]),
1507
1547
  _: 2
1508
1548
  }, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
@@ -1512,28 +1552,28 @@ const Ge = K("settings", () => {
1512
1552
  ]),
1513
1553
  _: 1
1514
1554
  }),
1515
- s(ne, {
1555
+ o(ae, {
1516
1556
  cols: "12",
1517
1557
  md: "6"
1518
1558
  }, {
1519
1559
  default: i(() => [
1520
- s(we, { value: "year" }, {
1521
- default: i(({ toggle: l, isSelected: c }) => [
1522
- s(T, {
1523
- border: c ? "sm primary opacity-100" : "sm",
1524
- color: c ? "primary" : void 0,
1525
- "prepend-icon": c ? `svg:${e(se)}` : "$radioOff",
1526
- variant: c ? "tonal" : "text",
1560
+ o(Ce, { value: "year" }, {
1561
+ default: i(({ toggle: c, isSelected: l }) => [
1562
+ o(R, {
1563
+ border: l ? "sm primary opacity-100" : "sm",
1564
+ color: l ? "primary" : void 0,
1565
+ "prepend-icon": l ? `svg:${e(ie)}` : "$radioOff",
1566
+ variant: l ? "tonal" : "text",
1527
1567
  rounded: "lg",
1528
1568
  subtitle: "$29.99/year",
1529
1569
  title: "Yearly",
1530
- onClick: l
1570
+ onClick: c
1531
1571
  }, {
1532
1572
  prepend: i(() => [
1533
- s(N, { class: "mt-n6" })
1573
+ o(U, { class: "mt-n6" })
1534
1574
  ]),
1535
1575
  append: i(() => [
1536
- s(q, {
1576
+ o(q, {
1537
1577
  class: "mt-n6",
1538
1578
  color: "success",
1539
1579
  size: "small",
@@ -1556,7 +1596,7 @@ const Ge = K("settings", () => {
1556
1596
  _: 1
1557
1597
  }, 8, ["modelValue"]));
1558
1598
  }
1559
- }), Bo = { class: "px-3 h-screen" }, zo = /* @__PURE__ */ v("br", null, null, -1), To = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Ro = /* @__PURE__ */ V({
1599
+ }), zo = { class: "px-3 h-screen" }, To = /* @__PURE__ */ _("br", null, null, -1), Ro = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Ho = /* @__PURE__ */ V({
1560
1600
  __name: "VoSubscriptionDialog",
1561
1601
  props: {
1562
1602
  modelValue: { type: Boolean },
@@ -1567,52 +1607,52 @@ const Ge = K("settings", () => {
1567
1607
  function t(h) {
1568
1608
  return new Promise((p) => setTimeout(p, h));
1569
1609
  }
1570
- const a = pe(u, "modelValue"), o = X(), n = U(o.interval), r = U(o.hasBilling ? "status" : "subscribe"), l = U(!1);
1610
+ const a = me(u, "modelValue"), s = J(), n = F(s.interval), r = F(s.hasBilling ? "status" : "subscribe"), c = F(!1);
1571
1611
  W(n, (h) => {
1572
- !o.isSubscriber || !o.interval || (l.value = h !== o.interval);
1612
+ !s.isSubscriber || !s.interval || (c.value = h !== s.interval);
1573
1613
  }), W(a, async (h) => {
1574
- !h || !o.isSubscriber || o.subscriptionInfo();
1575
- }), Ne(() => {
1576
- o.sessionId && (r.value = "status", a.value = !0);
1614
+ !h || !s.isSubscriber || s.subscriptionInfo();
1615
+ }), Te(() => {
1616
+ s.sessionId && (r.value = "status", a.value = !0);
1577
1617
  });
1578
- async function c() {
1579
- await o.modify(n.value), await o.subscriptionInfo(), l.value = null, await t(3e3), r.value = "status", await t(300), l.value = !1;
1618
+ async function l() {
1619
+ await s.modify(n.value), await s.subscriptionInfo(), c.value = null, await t(3e3), r.value = "status", await t(300), c.value = !1;
1580
1620
  }
1581
1621
  return (h, p) => {
1582
- const y = re, L = Oo, m = No, k = Io, D = yo, g = ae, $ = ge;
1583
- return d(), _($, {
1622
+ const g = ce, I = Bo, m = Oo, k = Ao, D = Vo, b = le, x = ye;
1623
+ return d(), v(x, {
1584
1624
  modelValue: a.value,
1585
- "onUpdate:modelValue": p[4] || (p[4] = (I) => a.value = I),
1586
- "prepend-icon": `svg:${e(bt)}`,
1625
+ "onUpdate:modelValue": p[4] || (p[4] = (A) => a.value = A),
1626
+ "prepend-icon": `svg:${e(Vt)}`,
1587
1627
  title: "Subscriptions"
1588
1628
  }, G({
1589
1629
  default: i(() => [
1590
- v("div", Bo, [
1591
- s(J, null, {
1630
+ _("div", zo, [
1631
+ o(X, null, {
1592
1632
  default: i(() => [
1593
- s(y, {
1633
+ o(g, {
1594
1634
  text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
1595
1635
  title: "Vuetify One"
1596
1636
  }),
1597
- s(Ee, { "model-value": r.value }, {
1637
+ o(Ye, { "model-value": r.value }, {
1598
1638
  default: i(() => [
1599
- s(de, { value: "subscribe" }, {
1639
+ o(pe, { value: "subscribe" }, {
1600
1640
  default: i(() => [
1601
- s(L, {
1641
+ o(I, {
1602
1642
  modelValue: n.value,
1603
- "onUpdate:modelValue": p[0] || (p[0] = (I) => n.value = I)
1643
+ "onUpdate:modelValue": p[0] || (p[0] = (A) => n.value = A)
1604
1644
  }, null, 8, ["modelValue"]),
1605
- zo,
1606
- s(m)
1645
+ To,
1646
+ o(m)
1607
1647
  ]),
1608
1648
  _: 1
1609
1649
  }),
1610
- s(de, { value: "status" }, {
1650
+ o(pe, { value: "status" }, {
1611
1651
  default: i(() => [
1612
- s(k, {
1613
- "onChange:subscription": p[1] || (p[1] = (I) => r.value = "subscribe")
1652
+ o(k, {
1653
+ "onChange:subscription": p[1] || (p[1] = (A) => r.value = "subscribe")
1614
1654
  }),
1615
- s(D)
1655
+ o(D)
1616
1656
  ]),
1617
1657
  _: 1
1618
1658
  })
@@ -1629,34 +1669,34 @@ const Ge = K("settings", () => {
1629
1669
  r.value === "subscribe" ? {
1630
1670
  name: "actions",
1631
1671
  fn: i(() => [
1632
- v("div", To, [
1633
- l.value !== !1 ? (d(), _(g, {
1672
+ _("div", Ro, [
1673
+ c.value !== !1 ? (d(), v(b, {
1634
1674
  key: 0,
1635
- loading: e(o).isLoading,
1636
- "prepend-icon": `svg:${l.value !== null ? e(yt) : e(se)}`,
1637
- readonly: l.value === null,
1638
- text: l.value !== null ? "Modify Subscription" : "Success",
1675
+ loading: e(s).isLoading,
1676
+ "prepend-icon": `svg:${c.value !== null ? e(kt) : e(ie)}`,
1677
+ readonly: c.value === null,
1678
+ text: c.value !== null ? "Modify Subscription" : "Success",
1639
1679
  color: "success",
1640
1680
  size: "default",
1641
1681
  block: "",
1642
- onClick: c
1643
- }, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(o).isSubscriber ? (d(), _(g, {
1682
+ onClick: l
1683
+ }, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(s).isSubscriber ? (d(), v(b, {
1644
1684
  key: 2,
1645
- "prepend-icon": `svg:${e(Vt)}`,
1685
+ "prepend-icon": `svg:${e($t)}`,
1646
1686
  size: "default",
1647
1687
  text: "Manage Subscription",
1648
1688
  block: "",
1649
- onClick: p[3] || (p[3] = (I) => r.value = "status")
1650
- }, null, 8, ["prepend-icon"])) : (d(), _(g, {
1689
+ onClick: p[3] || (p[3] = (A) => r.value = "status")
1690
+ }, null, 8, ["prepend-icon"])) : (d(), v(b, {
1651
1691
  key: 1,
1652
1692
  color: n.value ? "primary" : "disabled",
1653
1693
  disabled: !n.value,
1654
- loading: e(o).isLoading,
1694
+ loading: e(s).isLoading,
1655
1695
  "prepend-icon": "$vuetify",
1656
1696
  size: "default",
1657
1697
  text: "Activate Subscription",
1658
1698
  block: "",
1659
- onClick: p[2] || (p[2] = (I) => e(o).subscribe(n.value))
1699
+ onClick: p[2] || (p[2] = (A) => e(s).subscribe(n.value))
1660
1700
  }, null, 8, ["color", "disabled", "loading"]))
1661
1701
  ])
1662
1702
  ]),
@@ -1665,59 +1705,59 @@ const Ge = K("settings", () => {
1665
1705
  ]), 1032, ["modelValue", "prepend-icon"]);
1666
1706
  };
1667
1707
  }
1668
- }), Ho = /* @__PURE__ */ V({
1708
+ }), Mo = /* @__PURE__ */ V({
1669
1709
  __name: "VoSubscriptionListItem",
1670
1710
  setup(u) {
1671
- const t = U(!1);
1672
- return (a, o) => {
1673
- const n = Ro, r = Y;
1674
- return d(), _(r, {
1711
+ const t = F(!1);
1712
+ return (a, s) => {
1713
+ const n = Ho, r = Y;
1714
+ return d(), v(r, {
1675
1715
  active: t.value,
1676
- "prepend-icon": `svg:${e(kt)}`,
1716
+ "prepend-icon": `svg:${e(xt)}`,
1677
1717
  title: "Subscriptions",
1678
1718
  link: ""
1679
1719
  }, {
1680
1720
  default: i(() => [
1681
- s(n, {
1721
+ o(n, {
1682
1722
  modelValue: t.value,
1683
- "onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l)
1723
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => t.value = c)
1684
1724
  }, null, 8, ["modelValue"])
1685
1725
  ]),
1686
1726
  _: 1
1687
1727
  }, 8, ["active", "prepend-icon"]);
1688
1728
  };
1689
1729
  }
1690
- }), Mo = { class: "px-3 pb-5 d-flex flex-column" }, Po = { class: "ps-16" }, Eo = { class: "text-caption text-end" }, Wo = { class: "font-weight-bold" }, Go = { class: "ps-16" }, qo = { class: "text-caption text-end" }, Yo = { class: "font-weight-bold" }, Jo = { class: "ps-16" }, Qo = { class: "text-caption text-end" }, Xo = { class: "font-weight-bold" }, Zo = { class: "py-4" }, Ko = /* @__PURE__ */ v("div", { class: "text-caption text-medium-emphasis" }, [
1730
+ }), Po = { class: "px-3 pb-5 d-flex flex-column" }, Eo = { class: "ps-16" }, Wo = { class: "text-caption text-end" }, Go = { class: "font-weight-bold" }, qo = { class: "ps-16" }, Yo = { class: "text-caption text-end" }, Jo = { class: "font-weight-bold" }, Qo = { class: "ps-16" }, Xo = { class: "text-caption text-end" }, Zo = { class: "font-weight-bold" }, Ko = { class: "py-4" }, es = /* @__PURE__ */ _("div", { class: "text-caption text-medium-emphasis" }, [
1691
1731
  /* @__PURE__ */ j(" A total of $2.99 or more unlocks "),
1692
- /* @__PURE__ */ v("span", { class: "font-weight-black" }, "all"),
1732
+ /* @__PURE__ */ _("span", { class: "font-weight-black" }, "all"),
1693
1733
  /* @__PURE__ */ j(" Vuetify One benefits ")
1694
- ], -1), es = /* @__PURE__ */ V({
1734
+ ], -1), ts = /* @__PURE__ */ V({
1695
1735
  __name: "VoSponsorshipsDialog",
1696
1736
  setup(u) {
1697
- const t = ve(), a = fe(), o = B(), n = X(), r = Ge();
1698
- function l(c) {
1699
- return t.format(c, "fullDateWithWeekday");
1737
+ const t = _e(), a = ve(), s = z(), n = J(), r = Qe();
1738
+ function c(l) {
1739
+ return t.format(l, "fullDateWithWeekday");
1700
1740
  }
1701
- return (c, h) => {
1702
- const p = re, y = ae, L = Oe("v-empty-state"), m = ge;
1703
- return d(), _(m, {
1741
+ return (l, h) => {
1742
+ const p = ce, g = le, I = Re("v-empty-state"), m = ye;
1743
+ return d(), v(m, {
1704
1744
  "max-height": e(a).xs.value ? void 0 : 820,
1705
- "prepend-icon": `svg:${e($t)}`,
1745
+ "prepend-icon": `svg:${e(wt)}`,
1706
1746
  title: "Sponsorships"
1707
1747
  }, {
1708
1748
  default: i(() => [
1709
- s(Ie, null, {
1749
+ o(Fe, null, {
1710
1750
  default: i(() => [
1711
- s(Ae, { scrollable: "" }, {
1751
+ o(Ne, { scrollable: "" }, {
1712
1752
  default: i(() => [
1713
- v("div", Mo, [
1714
- s(J, null, {
1753
+ _("div", Po, [
1754
+ o(X, null, {
1715
1755
  default: i(() => [
1716
- s(p, {
1756
+ o(p, {
1717
1757
  text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
1718
1758
  title: "Support Vuetify"
1719
1759
  }),
1720
- s(Yt, {
1760
+ o(Qt, {
1721
1761
  class: "justify-start ms-n7",
1722
1762
  "line-inset": "12",
1723
1763
  side: "end",
@@ -1725,16 +1765,16 @@ const Ge = K("settings", () => {
1725
1765
  "truncate-line": "both"
1726
1766
  }, {
1727
1767
  default: i(() => {
1728
- var k, D, g, $, I, O;
1768
+ var k, D, b, x, A, O;
1729
1769
  return [
1730
- s(ke, {
1770
+ o(xe, {
1731
1771
  "dot-color": (k = e(n).github) != null && k.isActive ? "success" : "transparent",
1732
- icon: (D = e(n).github) != null && D.isActive ? `svg:${e(ee)}` : void 0,
1772
+ icon: (D = e(n).github) != null && D.isActive ? `svg:${e(te)}` : void 0,
1733
1773
  size: "x-small",
1734
1774
  width: "100%"
1735
1775
  }, {
1736
1776
  default: i(() => [
1737
- s(T, {
1777
+ o(R, {
1738
1778
  "prepend-avatar": e(r).CDN_URL + "/logos/github.png",
1739
1779
  rounded: "lg",
1740
1780
  subtitle: "Support Vuetify through GitHub sponsors.",
@@ -1743,16 +1783,16 @@ const Ge = K("settings", () => {
1743
1783
  border: ""
1744
1784
  }, {
1745
1785
  append: i(() => {
1746
- var S, E, M, z, f, b;
1786
+ var S, E, P, T, f, y;
1747
1787
  return [
1748
- v("div", Po, [
1749
- s(y, {
1788
+ _("div", Eo, [
1789
+ o(g, {
1750
1790
  color: (S = e(n).github) != null && S.isActive ? "success" : "primary",
1751
1791
  href: (E = e(n).github) != null && E.isActive ? void 0 : "https://github.com/sponsors/johnleider",
1752
- "prepend-icon": `svg:${(M = e(n).github) != null && M.isActive ? e(se) : e(De)}`,
1753
- readonly: (z = e(n).github) == null ? void 0 : z.isActive,
1792
+ "prepend-icon": `svg:${(P = e(n).github) != null && P.isActive ? e(ie) : e(je)}`,
1793
+ readonly: (T = e(n).github) == null ? void 0 : T.isActive,
1754
1794
  target: (f = e(n).github) != null && f.isActive ? void 0 : "_blank",
1755
- text: (b = e(n).github) != null && b.isActive ? "Active" : "Info",
1795
+ text: (y = e(n).github) != null && y.isActive ? "Active" : "Info",
1756
1796
  width: "88"
1757
1797
  }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1758
1798
  ])
@@ -1761,26 +1801,26 @@ const Ge = K("settings", () => {
1761
1801
  default: i(() => {
1762
1802
  var S;
1763
1803
  return [
1764
- (S = e(n).github) != null && S.isActive ? (d(), x(F, { key: 0 }, [
1765
- s(R),
1766
- s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1804
+ (S = e(n).github) != null && S.isActive ? (d(), w(N, { key: 0 }, [
1805
+ o(H),
1806
+ o(X, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1767
1807
  default: i(() => [
1768
- s(q, {
1769
- "prepend-icon": `svg:${e(Ve)}`,
1808
+ o(q, {
1809
+ "prepend-icon": `svg:${e($e)}`,
1770
1810
  text: e(n).github.tierName,
1771
1811
  color: "surface-variant",
1772
1812
  size: "small",
1773
1813
  variant: "text",
1774
1814
  label: ""
1775
1815
  }, null, 8, ["prepend-icon", "text"]),
1776
- v("div", Eo, [
1816
+ _("div", Wo, [
1777
1817
  j(" Sponsor since "),
1778
- v("span", Wo, C(l(e(n).github.createdAt)), 1)
1818
+ _("span", Go, C(c(e(n).github.createdAt)), 1)
1779
1819
  ])
1780
1820
  ]),
1781
1821
  _: 1
1782
1822
  })
1783
- ], 64)) : w("", !0)
1823
+ ], 64)) : $("", !0)
1784
1824
  ];
1785
1825
  }),
1786
1826
  _: 1
@@ -1788,14 +1828,14 @@ const Ge = K("settings", () => {
1788
1828
  ]),
1789
1829
  _: 1
1790
1830
  }, 8, ["dot-color", "icon"]),
1791
- s(ke, {
1792
- "dot-color": (g = e(n).discord) != null && g.isActive ? "success" : "transparent",
1793
- icon: ($ = e(n).discord) != null && $.isActive ? `svg:${e(ee)}` : void 0,
1831
+ o(xe, {
1832
+ "dot-color": (b = e(n).discord) != null && b.isActive ? "success" : "transparent",
1833
+ icon: (x = e(n).discord) != null && x.isActive ? `svg:${e(te)}` : void 0,
1794
1834
  size: "x-small",
1795
1835
  width: "100%"
1796
1836
  }, {
1797
1837
  default: i(() => [
1798
- s(T, {
1838
+ o(R, {
1799
1839
  "prepend-avatar": e(r).CDN_URL + "/logos/discord.png",
1800
1840
  rounded: "lg",
1801
1841
  subtitle: "Support Vuetify through Discord.",
@@ -1804,16 +1844,16 @@ const Ge = K("settings", () => {
1804
1844
  border: ""
1805
1845
  }, {
1806
1846
  append: i(() => {
1807
- var S, E, M, z, f, b;
1847
+ var S, E, P, T, f, y;
1808
1848
  return [
1809
- v("div", Go, [
1810
- s(y, {
1849
+ _("div", qo, [
1850
+ o(g, {
1811
1851
  color: (S = e(n).discord) != null && S.isActive ? "success" : "primary",
1812
1852
  href: (E = e(n).discord) != null && E.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
1813
- "prepend-icon": `svg:${(M = e(n).discord) != null && M.isActive ? e(se) : e(De)}`,
1814
- readonly: (z = e(n).discord) == null ? void 0 : z.isActive,
1853
+ "prepend-icon": `svg:${(P = e(n).discord) != null && P.isActive ? e(ie) : e(je)}`,
1854
+ readonly: (T = e(n).discord) == null ? void 0 : T.isActive,
1815
1855
  target: (f = e(n).discord) != null && f.isActive ? void 0 : "_blank",
1816
- text: (b = e(n).discord) != null && b.isActive ? "Active" : "Info",
1856
+ text: (y = e(n).discord) != null && y.isActive ? "Active" : "Info",
1817
1857
  width: "88"
1818
1858
  }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1819
1859
  ])
@@ -1822,26 +1862,26 @@ const Ge = K("settings", () => {
1822
1862
  default: i(() => {
1823
1863
  var S;
1824
1864
  return [
1825
- (S = e(n).discord) != null && S.isActive ? (d(), x(F, { key: 0 }, [
1826
- s(R),
1827
- s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1865
+ (S = e(n).discord) != null && S.isActive ? (d(), w(N, { key: 0 }, [
1866
+ o(H),
1867
+ o(X, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1828
1868
  default: i(() => [
1829
- s(q, {
1830
- "prepend-icon": `svg:${e(Ve)}`,
1869
+ o(q, {
1870
+ "prepend-icon": `svg:${e($e)}`,
1831
1871
  text: e(n).discord.tierName,
1832
1872
  color: "surface-variant",
1833
1873
  size: "small",
1834
1874
  variant: "text",
1835
1875
  label: ""
1836
1876
  }, null, 8, ["prepend-icon", "text"]),
1837
- v("div", qo, [
1877
+ _("div", Yo, [
1838
1878
  j(" Subscriber since "),
1839
- v("span", Yo, C(l(e(n).discord.createdAt)), 1)
1879
+ _("span", Jo, C(c(e(n).discord.createdAt)), 1)
1840
1880
  ])
1841
1881
  ]),
1842
1882
  _: 1
1843
1883
  })
1844
- ], 64)) : w("", !0)
1884
+ ], 64)) : $("", !0)
1845
1885
  ];
1846
1886
  }),
1847
1887
  _: 1
@@ -1849,14 +1889,14 @@ const Ge = K("settings", () => {
1849
1889
  ]),
1850
1890
  _: 1
1851
1891
  }, 8, ["dot-color", "icon"]),
1852
- s(ke, {
1853
- "dot-color": (I = e(n).patreon) != null && I.isActive ? "success" : "transparent",
1854
- icon: (O = e(n).patreon) != null && O.isActive ? `svg:${e(ee)}` : void 0,
1892
+ o(xe, {
1893
+ "dot-color": (A = e(n).patreon) != null && A.isActive ? "success" : "transparent",
1894
+ icon: (O = e(n).patreon) != null && O.isActive ? `svg:${e(te)}` : void 0,
1855
1895
  size: "x-small",
1856
1896
  width: "100%"
1857
1897
  }, {
1858
1898
  default: i(() => [
1859
- s(T, {
1899
+ o(R, {
1860
1900
  "prepend-avatar": e(r).CDN_URL + "/logos/patreon.png",
1861
1901
  rounded: "lg",
1862
1902
  subtitle: "Support Vuetify through Patreon.",
@@ -1867,8 +1907,8 @@ const Ge = K("settings", () => {
1867
1907
  append: i(() => {
1868
1908
  var S;
1869
1909
  return [
1870
- v("div", Jo, [
1871
- s(y, {
1910
+ _("div", Qo, [
1911
+ o(g, {
1872
1912
  text: (S = e(n).patreon) != null && S.isActive ? "Active" : "Coming Soon",
1873
1913
  color: "surface-variant",
1874
1914
  readonly: ""
@@ -1879,25 +1919,25 @@ const Ge = K("settings", () => {
1879
1919
  default: i(() => {
1880
1920
  var S;
1881
1921
  return [
1882
- (S = e(n).patreon) != null && S.isActive ? (d(), x(F, { key: 0 }, [
1883
- s(R),
1884
- s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1922
+ (S = e(n).patreon) != null && S.isActive ? (d(), w(N, { key: 0 }, [
1923
+ o(H),
1924
+ o(X, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1885
1925
  default: i(() => [
1886
- s(q, {
1887
- "prepend-icon": `svg:${e(Ve)}`,
1926
+ o(q, {
1927
+ "prepend-icon": `svg:${e($e)}`,
1888
1928
  text: e(n).patreon.tierName,
1889
1929
  color: "success",
1890
1930
  variant: "text",
1891
1931
  label: ""
1892
1932
  }, null, 8, ["prepend-icon", "text"]),
1893
- v("div", Qo, [
1933
+ _("div", Xo, [
1894
1934
  j(" Sponsor since "),
1895
- v("span", Xo, C(l(e(n).patreon.createdAt)), 1)
1935
+ _("span", Zo, C(c(e(n).patreon.createdAt)), 1)
1896
1936
  ])
1897
1937
  ]),
1898
1938
  _: 1
1899
1939
  })
1900
- ], 64)) : w("", !0)
1940
+ ], 64)) : $("", !0)
1901
1941
  ];
1902
1942
  }),
1903
1943
  _: 1
@@ -1912,27 +1952,27 @@ const Ge = K("settings", () => {
1912
1952
  ]),
1913
1953
  _: 1
1914
1954
  }),
1915
- s(L, {
1916
- icon: `svg:${e(xt)}`,
1955
+ o(I, {
1956
+ icon: `svg:${e(St)}`,
1917
1957
  class: "mt-auto",
1918
1958
  "min-height": "auto",
1919
1959
  size: "64",
1920
1960
  title: "Your Monthly Contributions"
1921
1961
  }, {
1922
1962
  media: i(() => [
1923
- s(N, { color: "success" })
1963
+ o(U, { color: "success" })
1924
1964
  ]),
1925
1965
  headline: i(() => [
1926
- v("div", Zo, [
1927
- e(o).isSubscriber ? (d(), x(F, { key: 0 }, [
1966
+ _("div", Ko, [
1967
+ e(s).isSubscriber ? (d(), w(N, { key: 0 }, [
1928
1968
  j(" $" + C(parseFloat(String(e(n).monthlyTotal)).toFixed(2)), 1)
1929
- ], 64)) : (d(), x(F, { key: 1 }, [
1969
+ ], 64)) : (d(), w(N, { key: 1 }, [
1930
1970
  j(" $0.00 ")
1931
1971
  ], 64))
1932
1972
  ])
1933
1973
  ]),
1934
1974
  text: i(() => [
1935
- Ko
1975
+ es
1936
1976
  ]),
1937
1977
  _: 1
1938
1978
  }, 8, ["icon"])
@@ -1948,85 +1988,85 @@ const Ge = K("settings", () => {
1948
1988
  }, 8, ["max-height", "prepend-icon"]);
1949
1989
  };
1950
1990
  }
1951
- }), ts = /* @__PURE__ */ V({
1991
+ }), os = /* @__PURE__ */ V({
1952
1992
  __name: "VoSponsorshipsListItem",
1953
1993
  setup(u) {
1954
- const t = U(!1);
1955
- return (a, o) => {
1956
- const n = es, r = Y;
1957
- return d(), _(r, {
1994
+ const t = F(!1);
1995
+ return (a, s) => {
1996
+ const n = ts, r = Y;
1997
+ return d(), v(r, {
1958
1998
  active: t.value,
1959
- "prepend-icon": `svg:${e(wt)}`,
1999
+ "prepend-icon": `svg:${e(Ct)}`,
1960
2000
  title: "Sponsorships",
1961
2001
  link: ""
1962
2002
  }, {
1963
2003
  default: i(() => [
1964
- s(n, {
2004
+ o(n, {
1965
2005
  modelValue: t.value,
1966
- "onUpdate:modelValue": o[0] || (o[0] = (l) => t.value = l)
2006
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => t.value = c)
1967
2007
  }, null, 8, ["modelValue"])
1968
2008
  ]),
1969
2009
  _: 1
1970
2010
  }, 8, ["active", "prepend-icon"]);
1971
2011
  };
1972
2012
  }
1973
- }), os = {
2013
+ }), ss = {
1974
2014
  key: 0,
1975
2015
  class: "pt-16"
1976
- }, ss = /* @__PURE__ */ v("div", { class: "text-medium-emphasis" }, " All caught up ", -1), ns = { class: "ps-3 text-subtitle-2 pe-2" }, is = { class: "text-truncate" }, as = { class: "text-caption font-weight-bold text-medium-emphasis" }, rs = { class: "text-disabled text-caption my-2" }, ls = /* @__PURE__ */ V({
2016
+ }, ns = /* @__PURE__ */ _("div", { class: "text-medium-emphasis" }, " All caught up ", -1), is = { class: "ps-3 text-subtitle-2 pe-2" }, as = { class: "text-truncate" }, rs = { class: "text-caption font-weight-bold text-medium-emphasis" }, ls = { class: "text-disabled text-caption my-2" }, cs = /* @__PURE__ */ V({
1977
2017
  __name: "VoNotificationsList",
1978
2018
  props: {
1979
2019
  items: {}
1980
2020
  },
1981
2021
  setup(u) {
1982
- const t = H(), a = ve();
1983
- function o(r) {
2022
+ const t = M(), a = _e();
2023
+ function s(r) {
1984
2024
  return t.notifications.read.includes(r);
1985
2025
  }
1986
2026
  function n(r) {
1987
- o(r.slug) ? t.notifications.read = t.notifications.read.filter((l) => l !== r.slug) : t.notifications.read.push(r.slug);
2027
+ s(r.slug) ? t.notifications.read = t.notifications.read.filter((c) => c !== r.slug) : t.notifications.read.push(r.slug);
1988
2028
  }
1989
- return (r, l) => {
1990
- const c = Oe("v-empty-state"), h = Y;
1991
- return d(), _(oe, {
2029
+ return (r, c) => {
2030
+ const l = Re("v-empty-state"), h = Y;
2031
+ return d(), v(se, {
1992
2032
  class: "py-0",
1993
2033
  height: "100%",
1994
2034
  lines: "three"
1995
2035
  }, {
1996
2036
  default: i(() => [
1997
- r.items.length ? (d(!0), x(F, { key: 1 }, te(r.items, (p, y) => (d(), _(Me, {
2037
+ r.items.length ? (d(!0), w(N, { key: 1 }, oe(r.items, (p, g) => (d(), v(Ge, {
1998
2038
  key: p.slug
1999
2039
  }, {
2000
- default: i(({ isHovering: L, props: m }) => [
2001
- s(h, ce(m, {
2002
- border: y !== 0 && "t",
2040
+ default: i(({ isHovering: I, props: m }) => [
2041
+ o(h, Q(m, {
2042
+ border: g !== 0 && "t",
2003
2043
  class: "py-4 mb-0"
2004
2044
  }), {
2005
2045
  prepend: i(() => [
2006
- v("div", ns, C(p.metadata.emoji), 1)
2046
+ _("div", is, C(p.metadata.emoji), 1)
2007
2047
  ]),
2008
2048
  append: i(() => [
2009
- s(Jt, {
2049
+ o(Xt, {
2010
2050
  class: "mt-n3",
2011
2051
  width: "56"
2012
2052
  }, {
2013
2053
  default: i(() => [
2014
- s(Qt, {
2015
- text: o(p.slug) ? "Mark as unread" : "Mark as read",
2054
+ o(ne, {
2055
+ text: s(p.slug) ? "Mark as unread" : "Mark as read",
2016
2056
  location: "bottom"
2017
2057
  }, {
2018
2058
  activator: i(({ props: k }) => [
2019
- s(Ce, { "hide-on-leave": "" }, {
2059
+ o(De, { "hide-on-leave": "" }, {
2020
2060
  default: i(() => [
2021
- Se(s(Q, ce(k, {
2022
- icon: `svg:${o(p.slug) ? e(Ct) : e(St)}`,
2061
+ Le(o(Z, Q(k, {
2062
+ icon: `svg:${s(p.slug) ? e(It) : e(Lt)}`,
2023
2063
  class: "ms-auto",
2024
2064
  size: "small",
2025
2065
  variant: "text",
2026
2066
  "mdi-email-variant": "",
2027
2067
  onClick: (D) => n(p)
2028
2068
  }), null, 16, ["icon", "onClick"]), [
2029
- [Be, L]
2069
+ [He, I]
2030
2070
  ])
2031
2071
  ]),
2032
2072
  _: 2
@@ -2039,16 +2079,16 @@ const Ge = K("settings", () => {
2039
2079
  }, 1024)
2040
2080
  ]),
2041
2081
  default: i(() => [
2042
- s(Rt, { class: "text-wrap text-h6 mb-1" }, {
2082
+ o(Pt, { class: "text-wrap text-h6 mb-1" }, {
2043
2083
  default: i(() => [
2044
- v("div", is, C(p.title), 1)
2084
+ _("div", as, C(p.title), 1)
2045
2085
  ]),
2046
2086
  _: 2
2047
2087
  }, 1024),
2048
- v("div", as, C(e(a).format(p.created_at, "fullDateWithWeekday")), 1),
2049
- v("div", rs, C(p.metadata.text), 1),
2050
- s(q, {
2051
- "append-icon": `svg:${e(Lt)}`,
2088
+ _("div", rs, C(e(a).format(p.created_at, "fullDateWithWeekday")), 1),
2089
+ _("div", ls, C(p.metadata.text), 1),
2090
+ o(q, {
2091
+ "append-icon": `svg:${e(At)}`,
2052
2092
  href: p.metadata.action,
2053
2093
  text: p.metadata.action_text,
2054
2094
  size: "small",
@@ -2059,7 +2099,7 @@ const Ge = K("settings", () => {
2059
2099
  onClick: (k) => n(p)
2060
2100
  }, {
2061
2101
  append: i(() => [
2062
- s(N, { size: "12" })
2102
+ o(U, { size: "12" })
2063
2103
  ]),
2064
2104
  _: 2
2065
2105
  }, 1032, ["append-icon", "href", "text", "onClick"])
@@ -2068,16 +2108,16 @@ const Ge = K("settings", () => {
2068
2108
  }, 1040, ["border"])
2069
2109
  ]),
2070
2110
  _: 2
2071
- }, 1024))), 128)) : (d(), x("div", os, [
2072
- s(c, {
2111
+ }, 1024))), 128)) : (d(), w("div", ss, [
2112
+ o(l, {
2073
2113
  icon: "$vuetify",
2074
2114
  size: "256"
2075
2115
  }, {
2076
2116
  media: i(() => [
2077
- s(N, { color: "medium-emphasis" })
2117
+ o(U, { color: "medium-emphasis" })
2078
2118
  ]),
2079
2119
  title: i(() => [
2080
- ss
2120
+ ns
2081
2121
  ]),
2082
2122
  _: 1
2083
2123
  })
@@ -2087,71 +2127,51 @@ const Ge = K("settings", () => {
2087
2127
  });
2088
2128
  };
2089
2129
  }
2090
- }), qe = K("notifications", () => {
2091
- const u = he(), t = H(), a = Z([]), o = U(!1), n = A(() => a.value.filter((c) => !t.notifications.read.includes(c.slug))), r = A(() => a.value.filter((c) => t.notifications.read.includes(c.slug)));
2092
- async function l() {
2093
- try {
2094
- o.value = !0;
2095
- const c = await u.get("/one/notifications");
2096
- a.value = c.notifications;
2097
- } catch {
2098
- } finally {
2099
- o.value = !1;
2100
- }
2101
- return a.value;
2102
- }
2103
- return {
2104
- isLoading: o,
2105
- all: a,
2106
- get: l,
2107
- read: r,
2108
- unread: n
2109
- };
2110
- }), cs = { class: "text-caption" }, us = /* @__PURE__ */ V({
2130
+ }), us = { class: "text-caption" }, ds = /* @__PURE__ */ V({
2111
2131
  __name: "VoNotificationsDialog",
2112
2132
  setup(u) {
2113
- const t = qe(), a = fe(), o = U(["0"]), n = U(!1);
2114
- return (r, l) => {
2115
- const c = Y, h = ls, p = ge;
2116
- return d(), _(p, {
2133
+ const t = be(), a = ve(), s = F(["0"]), n = F(!1);
2134
+ return (r, c) => {
2135
+ const l = Y, h = cs, p = ye;
2136
+ return d(), v(p, {
2117
2137
  modelValue: n.value,
2118
- "onUpdate:modelValue": l[2] || (l[2] = (y) => n.value = y),
2119
- "prepend-icon": `svg:${e(It)}`,
2138
+ "onUpdate:modelValue": c[2] || (c[2] = (g) => n.value = g),
2139
+ "prepend-icon": `svg:${e(Dt)}`,
2120
2140
  title: "Notifications"
2121
2141
  }, {
2122
2142
  default: i(() => [
2123
- s(Ie, null, {
2143
+ o(Fe, null, {
2124
2144
  default: i(() => [
2125
- s(Xt, {
2145
+ o(Zt, {
2126
2146
  location: e(a).mobile.value ? "top" : "start",
2127
2147
  width: e(a).mobile.value ? 128 : 168,
2128
2148
  permanent: ""
2129
2149
  }, {
2130
2150
  default: i(() => [
2131
- s(oe, {
2132
- selected: o.value,
2133
- "onUpdate:selected": l[0] || (l[0] = (y) => o.value = y),
2151
+ o(se, {
2152
+ selected: s.value,
2153
+ "onUpdate:selected": c[0] || (c[0] = (g) => s.value = g),
2134
2154
  class: "px-4 pt-4",
2135
2155
  density: "compact",
2136
2156
  mandatory: "",
2137
2157
  nav: ""
2138
2158
  }, {
2139
2159
  default: i(() => [
2140
- s(c, {
2141
- "prepend-icon": `svg:${e(At)}`,
2160
+ o(l, {
2161
+ "prepend-icon": `svg:${e(Ut)}`,
2142
2162
  title: "Unread",
2143
2163
  value: "0"
2144
2164
  }, G({ _: 2 }, [
2145
2165
  e(t).unread.length > 0 ? {
2146
2166
  name: "append",
2147
2167
  fn: i(() => [
2148
- v("span", cs, C(e(t).unread.length), 1)
2168
+ _("span", us, C(e(t).unread.length), 1)
2149
2169
  ]),
2150
2170
  key: "0"
2151
2171
  } : void 0
2152
2172
  ]), 1032, ["prepend-icon"]),
2153
- s(c, {
2154
- "prepend-icon": `svg:${e(Dt)}`,
2173
+ o(l, {
2174
+ "prepend-icon": `svg:${e(Ft)}`,
2155
2175
  title: "Read",
2156
2176
  value: "1",
2157
2177
  "mdi-archive-outline": ""
@@ -2162,24 +2182,24 @@ const Ge = K("settings", () => {
2162
2182
  ]),
2163
2183
  _: 1
2164
2184
  }, 8, ["location", "width"]),
2165
- s(Ae, { scrollable: "" }, {
2185
+ o(Ne, { scrollable: "" }, {
2166
2186
  default: i(() => [
2167
- s(Ee, {
2168
- modelValue: o.value,
2169
- "onUpdate:modelValue": l[1] || (l[1] = (y) => o.value = y)
2187
+ o(Ye, {
2188
+ modelValue: s.value,
2189
+ "onUpdate:modelValue": c[1] || (c[1] = (g) => s.value = g)
2170
2190
  }, {
2171
2191
  default: i(() => [
2172
- s(de, { value: "0" }, {
2192
+ o(pe, { value: "0" }, {
2173
2193
  default: i(() => [
2174
- s(h, {
2194
+ o(h, {
2175
2195
  items: e(t).unread
2176
2196
  }, null, 8, ["items"])
2177
2197
  ]),
2178
2198
  _: 1
2179
2199
  }),
2180
- s(de, { value: "1" }, {
2200
+ o(pe, { value: "1" }, {
2181
2201
  default: i(() => [
2182
- s(h, {
2202
+ o(h, {
2183
2203
  items: e(t).read
2184
2204
  }, null, 8, ["items"])
2185
2205
  ]),
@@ -2199,25 +2219,40 @@ const Ge = K("settings", () => {
2199
2219
  }, 8, ["modelValue", "prepend-icon"]);
2200
2220
  };
2201
2221
  }
2202
- }), ds = /* @__PURE__ */ V({
2222
+ }), ps = /* @__PURE__ */ V({
2223
+ __name: "VoNotificationsBadge",
2224
+ setup(u) {
2225
+ const t = be();
2226
+ return (a, s) => (d(), v(Me, {
2227
+ content: e(t).unread.length,
2228
+ "model-value": e(t).unread.length > 0,
2229
+ color: "error"
2230
+ }, {
2231
+ default: i(() => [
2232
+ B(a.$slots, "default")
2233
+ ]),
2234
+ _: 3
2235
+ }, 8, ["content", "model-value"]));
2236
+ }
2237
+ }), ms = /* @__PURE__ */ V({
2203
2238
  __name: "VoNotificationsListItem",
2204
2239
  setup(u) {
2205
- const t = H(), a = qe(), o = U(!1);
2206
- return Ne(async () => {
2240
+ const t = M(), a = be(), s = F(!1);
2241
+ return Te(async () => {
2207
2242
  await a.get();
2208
2243
  }), (n, r) => {
2209
- const l = us, c = Y;
2210
- return e(t).notifications.show ? (d(), _(c, {
2244
+ const c = ps, l = ds, h = Y;
2245
+ return e(t).notifications.show ? (d(), v(h, {
2211
2246
  key: 0,
2212
- active: o.value,
2213
- "prepend-icon": `svg:${e(Ut)}`,
2247
+ active: s.value,
2248
+ "prepend-icon": `svg:${e(Nt)}`,
2214
2249
  title: "Notifications",
2215
2250
  link: ""
2216
2251
  }, G({
2217
2252
  default: i(() => [
2218
- s(l, {
2219
- modelValue: o.value,
2220
- "onUpdate:modelValue": r[0] || (r[0] = (h) => o.value = h)
2253
+ o(l, {
2254
+ modelValue: s.value,
2255
+ "onUpdate:modelValue": r[0] || (r[0] = (p) => s.value = p)
2221
2256
  }, null, 8, ["modelValue"])
2222
2257
  ]),
2223
2258
  _: 2
@@ -2225,65 +2260,62 @@ const Ge = K("settings", () => {
2225
2260
  e(a).unread.length ? {
2226
2261
  name: "prepend",
2227
2262
  fn: i(() => [
2228
- s(Zt, {
2229
- content: e(a).unread.length,
2230
- color: "error"
2231
- }, {
2263
+ o(c, null, {
2232
2264
  default: i(() => [
2233
- s(N)
2265
+ o(U)
2234
2266
  ]),
2235
2267
  _: 1
2236
- }, 8, ["content"])
2268
+ })
2237
2269
  ]),
2238
2270
  key: "0"
2239
2271
  } : void 0
2240
- ]), 1032, ["active", "prepend-icon"])) : w("", !0);
2272
+ ]), 1032, ["active", "prepend-icon"])) : $("", !0);
2241
2273
  };
2242
2274
  }
2243
- }), ps = /* @__PURE__ */ V({
2275
+ }), fs = /* @__PURE__ */ V({
2244
2276
  __name: "VoDashboardListItem",
2245
2277
  setup(u) {
2246
2278
  return (t, a) => {
2247
- const o = Y;
2248
- return d(), _(o, {
2249
- "prepend-icon": `svg:${e(Ft)}`,
2279
+ const s = Y;
2280
+ return d(), v(s, {
2281
+ "prepend-icon": `svg:${e(jt)}`,
2250
2282
  title: "Dashboard",
2251
2283
  to: "/user/dashboard"
2252
2284
  }, null, 8, ["prepend-icon"]);
2253
2285
  };
2254
2286
  }
2255
- }), ms = /* @__PURE__ */ V({
2287
+ }), vs = /* @__PURE__ */ V({
2256
2288
  __name: "VoUserList",
2257
2289
  setup(u) {
2258
- const t = B();
2259
- return (a, o) => {
2260
- const n = ps, r = ds, l = ts, c = Ho, h = go, p = po;
2261
- return d(), _(oe, {
2290
+ const t = z();
2291
+ return (a, s) => {
2292
+ const n = fs, r = ms, c = os, l = Mo, h = bo, p = mo;
2293
+ return d(), v(se, {
2262
2294
  density: "compact",
2263
2295
  nav: "",
2264
2296
  slim: ""
2265
2297
  }, {
2266
2298
  default: i(() => [
2267
- s(n),
2268
- s(r),
2269
- s(l),
2270
- e(t).user ? (d(), _(c, { key: 0 })) : w("", !0),
2271
- s(h),
2272
- e(t).user ? (d(), _(p, { key: 1 })) : w("", !0)
2299
+ o(n),
2300
+ o(r),
2301
+ o(c),
2302
+ e(t).user ? (d(), v(l, { key: 0 })) : $("", !0),
2303
+ o(h),
2304
+ e(t).user ? (d(), v(p, { key: 1 })) : $("", !0)
2273
2305
  ]),
2274
2306
  _: 1
2275
2307
  });
2276
2308
  };
2277
2309
  }
2278
- }), fs = { key: 0 }, vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, _s = /* @__PURE__ */ V({
2310
+ }), _s = { key: 0 }, hs = { class: "d-flex align-center justify-center pa-1 ga-2" }, gs = /* @__PURE__ */ V({
2279
2311
  __name: "VoUserQuickActions",
2280
2312
  setup(u) {
2281
- const t = H();
2282
- return (a, o) => (d(), _(ie, null, {
2313
+ const t = M();
2314
+ return (a, s) => (d(), v(re, null, {
2283
2315
  default: i(() => [
2284
- e(t).quickbar ? (d(), x("div", fs, [
2285
- v("div", vs, [
2286
- s(Q, {
2316
+ e(t).quickbar ? (d(), w("div", _s, [
2317
+ _("div", hs, [
2318
+ o(Z, {
2287
2319
  color: e(t).colors.one,
2288
2320
  class: "text-caption",
2289
2321
  density: "comfortable",
@@ -2291,33 +2323,33 @@ const Ge = K("settings", () => {
2291
2323
  icon: "$vuetify-play",
2292
2324
  target: "_blank"
2293
2325
  }, null, 8, ["color"]),
2294
- s(Q, {
2326
+ o(Z, {
2295
2327
  color: e(t).colors.one,
2296
- icon: `svg:${e(jt)}`,
2328
+ icon: `svg:${e(Ot)}`,
2297
2329
  class: "text-caption",
2298
2330
  density: "comfortable",
2299
2331
  href: "https://bin.vuetifyjs.com",
2300
2332
  target: "_blank"
2301
2333
  }, null, 8, ["color", "icon"]),
2302
- s(Q, {
2334
+ o(Z, {
2303
2335
  color: e(t).colors.one,
2304
- icon: `svg:${e(Nt)}`,
2336
+ icon: `svg:${e(Bt)}`,
2305
2337
  class: "text-caption",
2306
2338
  density: "comfortable",
2307
2339
  href: "https://issues.vuetifyjs.com",
2308
2340
  target: "_blank"
2309
2341
  }, null, 8, ["color", "icon"])
2310
2342
  ])
2311
- ])) : w("", !0)
2343
+ ])) : $("", !0)
2312
2344
  ]),
2313
2345
  _: 1
2314
2346
  }));
2315
2347
  }
2316
- }), hs = { class: "mb-2" }, gs = { key: 0 }, bs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, ys = { class: "text-h6" }, Vs = /* @__PURE__ */ V({
2348
+ }), bs = { class: "mb-2" }, ys = { key: 0 }, Vs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, ks = { class: "text-h6" }, $s = /* @__PURE__ */ V({
2317
2349
  __name: "VoUserAvatar",
2318
2350
  setup(u) {
2319
- const t = B(), a = H(), o = U(!1), n = A(() => {
2320
- const c = [
2351
+ const t = z(), a = M(), s = F(!1), n = L(() => {
2352
+ const l = [
2321
2353
  "https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
2322
2354
  "https://cdn.vuetifyjs.com/docs/images/avatars/grass.png",
2323
2355
  "https://cdn.vuetifyjs.com/docs/images/avatars/wood.png",
@@ -2333,19 +2365,19 @@ const Ge = K("settings", () => {
2333
2365
  "https://cdn.vuetifyjs.com/docs/images/avatars/meteor.png",
2334
2366
  "https://cdn.vuetifyjs.com/docs/images/avatars/tada.png"
2335
2367
  ];
2336
- return t.user && c.unshift(t.user.picture), c;
2368
+ return t.user && l.unshift(t.user.picture), l;
2337
2369
  });
2338
- function r(c) {
2339
- a.avatar = c;
2370
+ function r(l) {
2371
+ a.avatar = l;
2340
2372
  }
2341
- function l() {
2342
- t.isSubscriber && (o.value = !o.value);
2373
+ function c() {
2374
+ t.isSubscriber && (s.value = !s.value);
2343
2375
  }
2344
- return (c, h) => {
2376
+ return (l, h) => {
2345
2377
  var p;
2346
- return d(), x("div", null, [
2347
- Se((d(), _(ue, {
2348
- class: Ke([
2378
+ return d(), w("div", null, [
2379
+ Le((d(), v(de, {
2380
+ class: tt([
2349
2381
  "border-md border-opacity-100 border-surface-variant",
2350
2382
  {
2351
2383
  "cursor-pointer": e(t).isSubscriber
@@ -2354,14 +2386,14 @@ const Ge = K("settings", () => {
2354
2386
  color: "surface",
2355
2387
  size: "72",
2356
2388
  text: "Foobar",
2357
- onClick: je(l, ["prevent", "stop"])
2389
+ onClick: ze(c, ["prevent", "stop"])
2358
2390
  }, {
2359
2391
  default: i(() => [
2360
- e(t).user && e(a).avatar ? (d(), _(Le, {
2392
+ e(t).user && e(a).avatar ? (d(), v(Ue, {
2361
2393
  key: 0,
2362
2394
  src: e(a).avatar,
2363
2395
  alt: "User avatar"
2364
- }, null, 8, ["src"])) : (d(), _(N, {
2396
+ }, null, 8, ["src"])) : (d(), v(U, {
2365
2397
  key: 1,
2366
2398
  class: "mt-1",
2367
2399
  icon: "$vuetify",
@@ -2372,27 +2404,27 @@ const Ge = K("settings", () => {
2372
2404
  }, 8, ["class"])), [
2373
2405
  [Kt, e(t).isSubscriber]
2374
2406
  ]),
2375
- v("div", hs, [
2376
- s(ie, null, {
2407
+ _("div", bs, [
2408
+ o(re, null, {
2377
2409
  default: i(() => [
2378
- o.value ? (d(), x("div", gs, [
2379
- s(T, {
2410
+ s.value ? (d(), w("div", ys, [
2411
+ o(R, {
2380
2412
  class: "pt-6 pb-1",
2381
2413
  rounded: "0",
2382
2414
  flat: ""
2383
2415
  }, {
2384
2416
  default: i(() => [
2385
- v("div", bs, [
2386
- (d(!0), x(F, null, te(n.value, (y, L) => (d(), _(Q, {
2387
- key: L,
2388
- active: e(a).avatar === y,
2417
+ _("div", Vs, [
2418
+ (d(!0), w(N, null, oe(n.value, (g, I) => (d(), v(Z, {
2419
+ key: I,
2420
+ active: e(a).avatar === g,
2389
2421
  variant: "flat",
2390
2422
  icon: "",
2391
- onClick: (m) => r(y)
2423
+ onClick: (m) => r(g)
2392
2424
  }, {
2393
2425
  default: i(() => [
2394
- s(ue, {
2395
- image: y,
2426
+ o(de, {
2427
+ image: g,
2396
2428
  eager: ""
2397
2429
  }, null, 8, ["image"])
2398
2430
  ]),
@@ -2402,27 +2434,30 @@ const Ge = K("settings", () => {
2402
2434
  ]),
2403
2435
  _: 1
2404
2436
  })
2405
- ])) : w("", !0)
2437
+ ])) : $("", !0)
2406
2438
  ]),
2407
2439
  _: 1
2408
2440
  })
2409
2441
  ]),
2410
- v("div", ys, C(((p = e(t).user) == null ? void 0 : p.name) ?? "Guest"), 1)
2442
+ _("div", ks, C(((p = e(t).user) == null ? void 0 : p.name) ?? "Guest"), 1)
2411
2443
  ]);
2412
2444
  };
2413
2445
  }
2414
- }), ks = { class: "d-flex" }, $s = { key: "reset" }, xs = /* @__PURE__ */ V({
2446
+ }), xs = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, ws = {
2447
+ key: "reset",
2448
+ class: "align-self-end"
2449
+ }, Ss = /* @__PURE__ */ V({
2415
2450
  __name: "VoUserColors",
2416
2451
  setup(u) {
2417
- const t = B(), a = H(), o = U(!1);
2418
- function n() {
2419
- a.colors.one = "surface-light";
2452
+ const t = z(), a = J(), s = M(), n = F(!1);
2453
+ function r() {
2454
+ s.colors.one = "surface-light";
2420
2455
  }
2421
- return (r, l) => {
2422
- const c = ae;
2423
- return d(), x(F, null, [
2424
- s(Le, {
2425
- color: e(t).user ? e(a).colors.one : "surface-light",
2456
+ return (c, l) => {
2457
+ const h = le;
2458
+ return d(), w(N, null, [
2459
+ o(Ue, {
2460
+ color: e(t).user ? e(s).colors.one : "surface-light",
2426
2461
  "content-class": "d-flex align-start justify-end pa-2",
2427
2462
  height: "88",
2428
2463
  rounded: "0",
@@ -2430,40 +2465,110 @@ const Ge = K("settings", () => {
2430
2465
  flat: ""
2431
2466
  }, {
2432
2467
  default: i(() => [
2433
- v("div", ks, [
2434
- e(t).isSubscriber ? (d(), _(c, {
2468
+ _("div", xs, [
2469
+ o(Ee, {
2470
+ class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
2471
+ color: "rgba(0,0,0,.36)",
2472
+ rounded: "lg",
2473
+ style: { left: "0" }
2474
+ }, {
2475
+ default: i(() => {
2476
+ var p;
2477
+ return [
2478
+ (p = e(t).user) != null && p.isAdmin ? (d(), v(ne, {
2479
+ key: 0,
2480
+ location: "bottom",
2481
+ text: "Vuetify Administrator"
2482
+ }, {
2483
+ activator: i(({ props: g }) => [
2484
+ o(U, Q({
2485
+ color: "blue",
2486
+ icon: "$vuetify"
2487
+ }, g, { size: "16" }), null, 16)
2488
+ ]),
2489
+ _: 1
2490
+ })) : $("", !0),
2491
+ e(a).isSubscriber ? (d(), v(ne, {
2492
+ key: 1,
2493
+ location: "bottom",
2494
+ text: "Vuetify One Subscriber"
2495
+ }, {
2496
+ activator: i(({ props: g }) => [
2497
+ o(U, Q({
2498
+ icon: `svg:${e(zt)}`,
2499
+ color: "amber-darken-2"
2500
+ }, g, { size: "16" }), null, 16, ["icon"])
2501
+ ]),
2502
+ _: 1
2503
+ })) : $("", !0),
2504
+ e(a).github ? (d(), v(ne, {
2505
+ key: 2,
2506
+ location: "bottom",
2507
+ text: "GitHub Sponsor"
2508
+ }, {
2509
+ activator: i(({ props: g }) => [
2510
+ o(U, Q({
2511
+ icon: `svg:${e(Ae)}`,
2512
+ color: "medium-emphasis"
2513
+ }, g, { size: "16" }), null, 16, ["icon"])
2514
+ ]),
2515
+ _: 1
2516
+ })) : $("", !0),
2517
+ e(a).discord ? (d(), v(ne, {
2518
+ key: 3,
2519
+ location: "bottom",
2520
+ text: "Discord Subscriber"
2521
+ }, {
2522
+ activator: i(({ props: g }) => [
2523
+ o(U, Q({
2524
+ icon: `svg:${e(Ie)}`,
2525
+ color: "medium-emphasis"
2526
+ }, g, { size: "16" }), null, 16, ["icon"])
2527
+ ]),
2528
+ _: 1
2529
+ })) : $("", !0)
2530
+ ];
2531
+ }),
2532
+ _: 1
2533
+ }),
2534
+ e(t).isSubscriber ? (d(), v(h, {
2435
2535
  key: 0,
2436
- active: o.value,
2437
- icon: o.value ? `svg:${e(ee)}` : "$edit",
2438
- variant: o.value ? "text" : "plain",
2536
+ active: n.value,
2537
+ icon: n.value ? `svg:${e(te)}` : "$edit",
2538
+ variant: n.value ? "text" : "plain",
2539
+ class: "align-self-end",
2439
2540
  color: "inherit",
2440
- onClick: l[0] || (l[0] = (h) => o.value = !o.value)
2541
+ density: "comfortable",
2542
+ title: "Edit One Header Color",
2543
+ onClick: l[0] || (l[0] = (p) => n.value = !n.value)
2441
2544
  }, {
2442
2545
  default: i(() => [
2443
- s(Ce, { "leave-absolute": "" }, {
2546
+ o(De, { "leave-absolute": "" }, {
2444
2547
  default: i(() => [
2445
- (d(), _(N, {
2446
- key: String(o.value)
2548
+ (d(), v(U, {
2549
+ key: String(n.value)
2447
2550
  }))
2448
2551
  ]),
2449
2552
  _: 1
2450
2553
  })
2451
2554
  ]),
2452
2555
  _: 1
2453
- }, 8, ["active", "icon", "variant"])) : w("", !0),
2454
- s(Mt, null, {
2556
+ }, 8, ["active", "icon", "variant"])) : $("", !0),
2557
+ o(Et, null, {
2455
2558
  default: i(() => [
2456
- Se(v("div", $s, [
2457
- s(c, {
2458
- disabled: e(a).colors.one === "surface-light",
2459
- icon: `svg:${e(Ot)}`,
2460
- class: "ms-1",
2559
+ Le(_("div", ws, [
2560
+ o(h, {
2561
+ disabled: e(s).colors.one === "surface-light",
2562
+ icon: `svg:${e(Tt)}`,
2563
+ class: "ms-2 me-1",
2461
2564
  color: "inherit",
2565
+ density: "comfortable",
2566
+ title: "Revert to Default",
2462
2567
  variant: "text",
2463
- onClick: n
2568
+ onClick: r
2464
2569
  }, null, 8, ["disabled", "icon"])
2465
2570
  ], 512), [
2466
- [Be, o.value]
2571
+ [He, n.value]
2467
2572
  ])
2468
2573
  ]),
2469
2574
  _: 1
@@ -2472,11 +2577,11 @@ const Ge = K("settings", () => {
2472
2577
  ]),
2473
2578
  _: 1
2474
2579
  }, 8, ["color"]),
2475
- s(ie, null, {
2580
+ o(re, null, {
2476
2581
  default: i(() => [
2477
- o.value ? (d(), _(eo, {
2582
+ n.value ? (d(), v(eo, {
2478
2583
  key: 0,
2479
- "model-value": e(a).colors.one !== "surface-light" ? e(a).colors.one : void 0,
2584
+ "model-value": e(s).colors.one !== "surface-light" ? e(s).colors.one : void 0,
2480
2585
  elevation: "0",
2481
2586
  height: "250",
2482
2587
  rounded: "0",
@@ -2486,23 +2591,23 @@ const Ge = K("settings", () => {
2486
2591
  "hide-inputs": "",
2487
2592
  "hide-sliders": "",
2488
2593
  "show-swatches": "",
2489
- "onUpdate:modelValue": l[1] || (l[1] = (h) => e(a).colors.one = h)
2490
- }, null, 8, ["model-value"])) : w("", !0)
2594
+ "onUpdate:modelValue": l[1] || (l[1] = (p) => e(s).colors.one = p)
2595
+ }, null, 8, ["model-value"])) : $("", !0)
2491
2596
  ]),
2492
2597
  _: 1
2493
2598
  })
2494
2599
  ], 64);
2495
2600
  };
2496
2601
  }
2497
- }), ws = { class: "text-center mt-n9 mb-4" }, Ss = /* @__PURE__ */ V({
2602
+ }), Cs = { class: "text-center mt-n9 mb-4" }, Ls = /* @__PURE__ */ V({
2498
2603
  __name: "VoUserMenu",
2499
2604
  setup(u) {
2500
- const t = X();
2501
- return (a, o) => {
2502
- const n = xs, r = Vs, l = _s, c = ms, h = uo;
2503
- return d(), _(to, {
2605
+ const t = J();
2606
+ return (a, s) => {
2607
+ const n = Ss, r = $s, c = gs, l = vs, h = po;
2608
+ return d(), v(to, {
2504
2609
  modelValue: e(t).isOpen,
2505
- "onUpdate:modelValue": o[0] || (o[0] = (p) => e(t).isOpen = p),
2610
+ "onUpdate:modelValue": s[0] || (s[0] = (p) => e(t).isOpen = p),
2506
2611
  "close-on-click": !1,
2507
2612
  "close-on-content-click": !1,
2508
2613
  activator: "parent",
@@ -2510,21 +2615,21 @@ const Ge = K("settings", () => {
2510
2615
  eager: ""
2511
2616
  }, {
2512
2617
  default: i(() => [
2513
- s(T, {
2618
+ o(R, {
2514
2619
  rounded: "lg",
2515
2620
  width: "280",
2516
2621
  border: ""
2517
2622
  }, {
2518
2623
  default: i(() => [
2519
- s(n),
2520
- v("div", ws, [
2521
- s(r),
2522
- s(l)
2624
+ o(n),
2625
+ _("div", Cs, [
2626
+ o(r),
2627
+ o(c)
2523
2628
  ]),
2524
- s(R),
2525
- s(c),
2526
- s(R),
2527
- s(h)
2629
+ o(H),
2630
+ o(l),
2631
+ o(H),
2632
+ o(h)
2528
2633
  ]),
2529
2634
  _: 1
2530
2635
  })
@@ -2533,49 +2638,51 @@ const Ge = K("settings", () => {
2533
2638
  }, 8, ["modelValue"]);
2534
2639
  };
2535
2640
  }
2536
- }), Cs = { key: 0 }, Ls = /* @__PURE__ */ V({
2641
+ }), Is = { key: 0 }, As = /* @__PURE__ */ V({
2537
2642
  __name: "VoAuthBtn",
2538
2643
  props: {
2539
2644
  external: Boolean
2540
2645
  },
2541
2646
  setup(u) {
2542
- const t = B(), a = X(), o = H(), { lgAndUp: n, mdAndDown: r } = fe();
2543
- return (l, c) => {
2544
- const h = Ss, p = ae;
2545
- return d(), _(p, ce({
2546
- [`${e(n) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(Bt)}`
2647
+ const t = z(), a = J(), s = M(), { lgAndUp: n, mdAndDown: r } = ve();
2648
+ return (c, l) => {
2649
+ const h = Ls, p = le, g = so;
2650
+ return d(), v(g, {
2651
+ "offset-y": e(t).user ? 5 : 0
2547
2652
  }, {
2548
- color: e(a).isOpen || !e(t).user ? "primary" : "surface-light",
2549
- icon: e(t).user || e(t).isLoading,
2550
- loading: e(t).isLoading,
2551
- rounded: e(r),
2552
- variant: e(t).user ? "outlined" : "flat",
2553
- class: "vo-auth-btn",
2554
- size: "default",
2555
- active: ""
2556
- }), {
2557
2653
  default: i(() => [
2558
- e(t).user ? w("", !0) : (d(), x("span", Cs, "Login")),
2559
- e(t).user ? (d(), _(ue, {
2560
- key: 1,
2561
- image: e(o).avatar || e(t).user.picture || ""
2562
- }, null, 8, ["image"])) : w("", !0),
2563
- s(h)
2654
+ o(p, Q({
2655
+ [`${e(n) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(Rt)}`
2656
+ }, {
2657
+ color: e(a).isOpen || !e(t).user ? "primary" : "surface-light",
2658
+ icon: e(t).user || e(t).isLoading,
2659
+ loading: e(t).isLoading,
2660
+ rounded: e(r),
2661
+ variant: e(t).user ? "outlined" : "flat",
2662
+ class: "vo-auth-btn",
2663
+ size: "default",
2664
+ style: { transition: ".2s ease" },
2665
+ active: ""
2666
+ }), {
2667
+ default: i(() => [
2668
+ e(t).user ? $("", !0) : (d(), w("span", Is, "Login")),
2669
+ e(t).user ? (d(), v(de, {
2670
+ key: 1,
2671
+ image: e(s).avatar || e(t).user.picture || ""
2672
+ }, null, 8, ["image"])) : $("", !0),
2673
+ o(h)
2674
+ ]),
2675
+ _: 1
2676
+ }, 16, ["color", "icon", "loading", "rounded", "variant"])
2564
2677
  ]),
2565
2678
  _: 1
2566
- }, 16, ["color", "icon", "loading", "rounded", "variant"]);
2679
+ }, 8, ["offset-y"]);
2567
2680
  };
2568
2681
  }
2569
- });
2570
- const Ye = (u, t) => {
2571
- const a = u.__vccOpts || u;
2572
- for (const [o, n] of t)
2573
- a[o] = n;
2574
- return a;
2575
- }, Is = /* @__PURE__ */ Ye(Ls, [["__scopeId", "data-v-f6db0114"]]), As = (u) => (et("data-v-86d0e524"), u = u(), tt(), u), Ds = ["href", "title"], Us = {
2682
+ }), Ds = (u) => (ot("data-v-86d0e524"), u = u(), st(), u), Us = ["href", "title"], Fs = {
2576
2683
  class: "text-caption text-disabled",
2577
2684
  style: { position: "absolute", right: "16px" }
2578
- }, Fs = /* @__PURE__ */ As(() => /* @__PURE__ */ v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), js = /* @__PURE__ */ V({
2685
+ }, Ns = /* @__PURE__ */ Ds(() => /* @__PURE__ */ _("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), js = /* @__PURE__ */ V({
2579
2686
  __name: "VoFooter",
2580
2687
  setup(u) {
2581
2688
  const t = [
@@ -2586,7 +2693,7 @@ const Ye = (u, t) => {
2586
2693
  },
2587
2694
  {
2588
2695
  title: "Vuetify Support",
2589
- icon: `svg:${zt}`,
2696
+ icon: `svg:${Ht}`,
2590
2697
  href: "https://support.vuetifyjs.com/"
2591
2698
  },
2592
2699
  {
@@ -2596,26 +2703,26 @@ const Ye = (u, t) => {
2596
2703
  },
2597
2704
  {
2598
2705
  title: "Vuetify GitHub",
2599
- icon: `svg:${Te}`,
2706
+ icon: `svg:${Ae}`,
2600
2707
  href: "https://github.com/vuetifyjs/vuetify"
2601
2708
  },
2602
2709
  {
2603
2710
  title: "Vuetify Discord",
2604
- icon: `svg:${ze}`,
2711
+ icon: `svg:${Ie}`,
2605
2712
  href: "https://community.vuetifyjs.com/"
2606
2713
  },
2607
2714
  {
2608
2715
  title: "Vuetify Reddit",
2609
- icon: `svg:${Tt}`,
2716
+ icon: `svg:${Mt}`,
2610
2717
  href: "https://reddit.com/r/vuetifyjs"
2611
2718
  }
2612
2719
  ];
2613
- return (a, o) => (d(), _(oo, {
2720
+ return (a, s) => (d(), v(oo, {
2614
2721
  class: "vo-footer",
2615
2722
  height: "40"
2616
2723
  }, {
2617
2724
  default: i(() => [
2618
- (d(), x(F, null, te(t, (n) => v("a", {
2725
+ (d(), w(N, null, oe(t, (n) => _("a", {
2619
2726
  key: n.title,
2620
2727
  href: n.href,
2621
2728
  title: n.title,
@@ -2623,122 +2730,127 @@ const Ye = (u, t) => {
2623
2730
  rel: "noopener noreferrer",
2624
2731
  target: "_blank"
2625
2732
  }, [
2626
- s(N, {
2733
+ o(U, {
2627
2734
  icon: n.icon,
2628
2735
  size: n.icon === "$vuetify" ? 24 : 16
2629
2736
  }, null, 8, ["icon", "size"])
2630
- ], 8, Ds)), 64)),
2631
- v("div", Us, [
2737
+ ], 8, Us)), 64)),
2738
+ _("div", Fs, [
2632
2739
  j(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
2633
- Fs
2740
+ Ns
2634
2741
  ])
2635
2742
  ]),
2636
2743
  _: 1
2637
2744
  }));
2638
2745
  }
2639
2746
  });
2640
- const Ns = /* @__PURE__ */ Ye(js, [["__scopeId", "data-v-86d0e524"]]), Vn = K("bins", () => {
2641
- const u = B(), t = he(), a = Z([]), o = Z(), n = U(!1), r = U(-1), l = A(() => !u.user || !o.value ? !1 : u.user.id === o.value.owner.id), c = A(() => a.value.filter((g) => g.favorite)), h = A(() => a.value.filter((g) => g.pinned));
2642
- W(o, () => {
2747
+ const Os = (u, t) => {
2748
+ const a = u.__vccOpts || u;
2749
+ for (const [s, n] of t)
2750
+ a[s] = n;
2751
+ return a;
2752
+ }, Bs = /* @__PURE__ */ Os(js, [["__scopeId", "data-v-86d0e524"]]), $n = ee("bins", () => {
2753
+ const u = z(), t = ge(), a = K([]), s = K(), n = F(!1), r = F(-1), c = L(() => !u.user || !s.value ? !1 : u.user.id === s.value.owner.id), l = L(() => a.value.filter((b) => b.favorite)), h = L(() => a.value.filter((b) => b.pinned));
2754
+ W(s, () => {
2643
2755
  window.clearTimeout(r.value), r.value = window.setTimeout(() => {
2644
- !o.value || !l.value || m(o.value, o.value.id);
2756
+ !s.value || !c.value || m(s.value, s.value.id);
2645
2757
  }, 100);
2646
2758
  }, { deep: !0 });
2647
2759
  async function p() {
2648
2760
  try {
2649
2761
  n.value = !0;
2650
- const g = await t.get("/one/bins");
2651
- a.value = g.bins;
2762
+ const b = await t.get("/one/bins");
2763
+ a.value = b.bins;
2652
2764
  } catch {
2653
2765
  } finally {
2654
2766
  n.value = !1;
2655
2767
  }
2656
2768
  return a.value;
2657
2769
  }
2658
- async function y(g) {
2770
+ async function g(b) {
2659
2771
  try {
2660
- n.value = !0, await t.delete(`/one/bins/${g}`), a.value = a.value.filter(($) => $.id !== g);
2772
+ n.value = !0, await t.delete(`/one/bins/${b}`), a.value = a.value.filter((x) => x.id !== b);
2661
2773
  } catch {
2662
2774
  } finally {
2663
2775
  n.value = !1;
2664
2776
  }
2665
2777
  return !0;
2666
2778
  }
2667
- async function L(g) {
2779
+ async function I(b) {
2668
2780
  try {
2669
2781
  n.value = !0;
2670
- const $ = await t.post("/one/bins", { bin: g });
2671
- return a.value.push($.bin), o.value = $.bin, $;
2782
+ const x = await t.post("/one/bins", { bin: b });
2783
+ return a.value.push(x.bin), s.value = x.bin, x;
2672
2784
  } catch {
2673
2785
  } finally {
2674
2786
  n.value = !1;
2675
2787
  }
2676
- return { bin: g };
2788
+ return { bin: b };
2677
2789
  }
2678
- async function m(g, $) {
2790
+ async function m(b, x) {
2679
2791
  try {
2680
2792
  n.value = !0;
2681
- const I = await t.post(`/one/bins/${$}`, { bin: g }), O = a.value.findIndex((S) => S.id === $);
2682
- a.value.splice(O, 1, I.bin);
2793
+ const A = await t.post(`/one/bins/${x}`, { bin: b }), O = a.value.findIndex((S) => S.id === x);
2794
+ a.value.splice(O, 1, A.bin);
2683
2795
  } catch {
2684
2796
  } finally {
2685
2797
  n.value = !1;
2686
2798
  }
2687
- return { bin: g };
2799
+ return { bin: b };
2688
2800
  }
2689
- async function k(g, $) {
2801
+ async function k(b, x) {
2690
2802
  try {
2691
2803
  n.value = !0;
2692
- const I = $ ? await m(g, $) : await L(g);
2693
- o.value = I.bin;
2804
+ const A = x ? await m(b, x) : await I(b);
2805
+ s.value = A.bin;
2694
2806
  } catch {
2695
2807
  } finally {
2696
2808
  n.value = !1;
2697
2809
  }
2698
- return { bin: g };
2810
+ return { bin: b };
2699
2811
  }
2700
- async function D(g) {
2812
+ async function D(b) {
2701
2813
  try {
2702
2814
  n.value = !0;
2703
- const $ = await t.get(`/one/bins/${g}`);
2704
- o.value = $.bin;
2815
+ const x = await t.get(`/one/bins/${b}`);
2816
+ s.value = x.bin;
2705
2817
  } catch {
2706
2818
  } finally {
2707
2819
  n.value = !1;
2708
2820
  }
2709
- return { bin: o.value };
2821
+ return { bin: s.value };
2710
2822
  }
2711
2823
  return {
2712
2824
  isLoading: n,
2713
- isOwner: l,
2825
+ isOwner: c,
2714
2826
  pinned: h,
2715
- favorites: c,
2827
+ favorites: l,
2716
2828
  all: a,
2717
- create: L,
2718
- delete: y,
2719
- current: o,
2829
+ create: I,
2830
+ delete: g,
2831
+ current: s,
2720
2832
  find: D,
2721
2833
  get: p,
2722
2834
  update: m,
2723
2835
  updateOrCreate: k
2724
2836
  };
2725
2837
  });
2726
- function kn() {
2838
+ function xn() {
2727
2839
  function u(t) {
2728
- t.component("VoAuthBtn", Is), t.component("VoFooter", Ns);
2840
+ t.component("VoAuthBtn", As), t.component("VoFooter", Bs);
2729
2841
  }
2730
2842
  return { install: u };
2731
2843
  }
2732
- function $n(u) {
2844
+ function wn(u) {
2733
2845
  u.store.url = "https://api.vuetifyjs.com";
2734
2846
  }
2735
2847
  export {
2736
- kn as createOne,
2737
- $n as one,
2738
- B as useAuthStore,
2739
- Vn as useBinsStore,
2740
- he as useHttpStore,
2741
- X as useOneStore,
2742
- Ge as useSettingsStore,
2743
- H as useUserStore
2848
+ xn as createOne,
2849
+ wn as one,
2850
+ z as useAuthStore,
2851
+ $n as useBinsStore,
2852
+ ge as useHttpStore,
2853
+ J as useOneStore,
2854
+ Qe as useSettingsStore,
2855
+ M as useUserStore
2744
2856
  };