@vuetify/one 1.0.4 → 1.0.6

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