@vuetify/one 1.1.6 → 1.1.8

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +13 -9
  2. package/dist/index.js +1335 -1193
  3. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1,29 +1,29 @@
1
- import { reactive as ft, watch as N, toRefs as vt, ref as H, shallowRef as D, computed as S, defineComponent as k, openBlock as p, createBlock as f, unref as t, createSlots as G, withCtx as a, createElementVNode as h, toDisplayString as I, createVNode as o, createTextVNode as B, renderSlot as M, normalizeStyle as Qe, createCommentVNode as $, withModifiers as Te, mergeModels as _t, useModel as ie, createElementBlock as w, Fragment as U, onBeforeMount as ht, nextTick as fe, renderList as oe, mergeProps as R, resolveComponent as Me, withDirectives as xe, vShow as Pe, onMounted as gt, normalizeClass as bt, pushScopeId as yt, popScopeId as Vt } from "vue";
1
+ import { reactive as ft, watch as U, toRefs as vt, ref as T, shallowRef as B, computed as L, defineComponent as $, openBlock as p, createBlock as _, unref as t, createSlots as q, withCtx as a, createElementVNode as g, toDisplayString as I, createVNode as o, createTextVNode as N, renderSlot as P, normalizeStyle as Qe, createCommentVNode as x, withModifiers as je, mergeModels as _t, useModel as ie, createElementBlock as S, Fragment as D, onBeforeMount as ht, nextTick as fe, renderList as oe, mergeProps as R, resolveComponent as Me, withDirectives as xe, vShow as Pe, onMounted as gt, normalizeClass as bt, pushScopeId as yt, popScopeId as Vt } from "vue";
2
2
  import { useRouter as Re, useRoute as kt } from "vue-router";
3
3
  import { defineStore as X } from "pinia";
4
4
  import { merge as Oe } from "lodash-es";
5
- import { mdiDiscord as He, mdiGithub as Ee, mdiSync as $t, mdiSyncOff as xt, mdiLogoutVariant as wt, mdiFullscreenExit as St, mdiFullscreen as Lt, mdiCheck as re, mdiHome as Ct, mdiTextBox as It, mdiSelect as At, mdiSpaceInvaders as Je, mdiImageFilterHdr as Xe, mdiRocketLaunchOutline as Ke, mdiWhiteBalanceSunny as Dt, mdiWeatherNight as Ut, mdiDesktopTowerMonitor as Bt, mdiContrastCircle as Nt, mdiCog as Ot, mdiCogOutline as Ft, mdiFileDocument as zt, mdiCreditCardSettingsOutline as jt, mdiRocketOutline as Tt, mdiCheckCircleOutline as pe, mdiCreditCard as Mt, mdiReload as Pt, mdiPlaylistCheck as Rt, mdiCreditCardOutline as Ht, mdiMedal as We, mdiOpenInNew as ve, mdiHandHeart as Et, mdiChartLine as Wt, mdiHandHeartOutline as Gt, mdiEmailOpenOutline as et, mdiEmailVariant as tt, mdiBell as qt, mdiInboxOutline as Zt, mdiInboxFullOutline as Yt, mdiBillboard as Qt, mdiBellOutline as Jt, mdiViewDashboardOutline as Xt, mdiSpider as Kt, mdiCrown as eo, mdiArrowULeftBottom as to, mdiLogin as oo, mdiShieldStarOutline as so, mdiReddit as no } from "@mdi/js";
5
+ import { mdiDiscord as He, mdiGithub as Ee, mdiSync as $t, mdiSyncOff as xt, mdiLogoutVariant as wt, mdiFullscreenExit as St, mdiFullscreen as Lt, mdiCheck as re, mdiHome as Ct, mdiTextBox as It, mdiSelect as At, mdiSpaceInvaders as Je, mdiImageFilterHdr as Xe, mdiRocketLaunchOutline as Ke, mdiWhiteBalanceSunny as Dt, mdiWeatherNight as Bt, mdiDesktopTowerMonitor as Nt, mdiContrastCircle as Ut, mdiCog as Ot, mdiCogOutline as Ft, mdiFileDocument as zt, mdiCreditCardSettingsOutline as Tt, mdiRocketOutline as jt, mdiCheckCircleOutline as pe, mdiCreditCard as Mt, mdiReload as Pt, mdiPlaylistCheck as Rt, mdiCreditCardOutline as Ht, mdiMedal as We, mdiOpenInNew as ve, mdiHandHeart as Et, mdiChartLine as Wt, mdiHandHeartOutline as Gt, mdiEmailOpenOutline as et, mdiEmailVariant as tt, mdiBell as qt, mdiInboxOutline as Zt, mdiInboxFullOutline as Yt, mdiBillboard as Qt, mdiBellOutline as Jt, mdiViewDashboardOutline as Xt, mdiSpider as Kt, mdiCrown as eo, mdiArrowULeftBottom as to, mdiLogin as oo, mdiShieldStarOutline as no, mdiReddit as so } from "@mdi/js";
6
6
  import { VListItem as _e, VList as ee, VListItemTitle as ot, VListItemSubtitle as ao } from "vuetify/lib/components/VList/index.mjs";
7
- import { VAvatar as se } from "vuetify/lib/components/VAvatar/index.mjs";
8
- import { VCard as P, VCardTitle as io, VCardSubtitle as ro, VCardText as K } from "vuetify/lib/components/VCard/index.mjs";
9
- import { VDialog as st } from "vuetify/lib/components/VDialog/index.mjs";
7
+ import { VAvatar as ne } from "vuetify/lib/components/VAvatar/index.mjs";
8
+ import { VCard as H, VCardTitle as io, VCardSubtitle as ro, VCardText as K } from "vuetify/lib/components/VCard/index.mjs";
9
+ import { VDialog as nt } from "vuetify/lib/components/VDialog/index.mjs";
10
10
  import { VBadge as Ge } from "vuetify/lib/components/VBadge/index.mjs";
11
- import { VBtn as E } from "vuetify/lib/components/VBtn/index.mjs";
11
+ import { VBtn as W } from "vuetify/lib/components/VBtn/index.mjs";
12
12
  import { VProgressCircular as lo } from "vuetify/lib/components/VProgressCircular/index.mjs";
13
13
  import { VSheet as qe } from "vuetify/lib/components/VSheet/index.mjs";
14
- import { VSwitch as nt } from "vuetify/lib/components/VSwitch/index.mjs";
14
+ import { VSwitch as st } from "vuetify/lib/components/VSwitch/index.mjs";
15
15
  import { VFadeTransition as we, VExpandTransition as he, VExpandXTransition as co } from "vuetify/lib/components/transitions/index.mjs";
16
16
  import { useDisplay as le, useTheme as uo, useDate as Se } from "vuetify";
17
- import { VDivider as W } from "vuetify/lib/components/VDivider/index.mjs";
17
+ import { VDivider as E } from "vuetify/lib/components/VDivider/index.mjs";
18
18
  import { VIcon as A } from "vuetify/lib/components/VIcon/index.mjs";
19
19
  import { VLabel as ze } from "vuetify/lib/components/VLabel/index.mjs";
20
- import { VChip as q } from "vuetify/lib/components/VChip/index.mjs";
20
+ import { VChip as G } from "vuetify/lib/components/VChip/index.mjs";
21
21
  import { VChipGroup as po } from "vuetify/lib/components/VChipGroup/index.mjs";
22
22
  import { VSelect as mo } from "vuetify/lib/components/VSelect/index.mjs";
23
23
  import { VRow as Le, VCol as me } from "vuetify/lib/components/VGrid/index.mjs";
24
24
  import { VHover as Ce } from "vuetify/lib/components/VHover/index.mjs";
25
25
  import { VImg as ge } from "vuetify/lib/components/VImg/index.mjs";
26
- import { VItemGroup as at, VItem as je } from "vuetify/lib/components/VItemGroup/index.mjs";
26
+ import { VItemGroup as at, VItem as Te } from "vuetify/lib/components/VItemGroup/index.mjs";
27
27
  import { VLayout as Ie } from "vuetify/lib/components/VLayout/index.mjs";
28
28
  import { VMain as Ae } from "vuetify/lib/components/VMain/index.mjs";
29
29
  import { VDataTableVirtual as fo } from "vuetify/lib/components/VDataTable/index.mjs";
@@ -43,15 +43,15 @@ const be = X("http", {
43
43
  url: ""
44
44
  }),
45
45
  actions: {
46
- async fetch(d, e = {}) {
47
- const i = await fetch(`${this.url}${d}`, {
46
+ async fetch(c, e = {}) {
47
+ const i = await fetch(`${this.url}${c}`, {
48
48
  credentials: "include",
49
49
  ...e
50
50
  });
51
51
  return i.status === 204 ? i : i.json();
52
52
  },
53
- async post(d, e, i = {}) {
54
- return this.fetch(d, {
53
+ async post(c, e, i = {}) {
54
+ return this.fetch(c, {
55
55
  method: "POST",
56
56
  headers: {
57
57
  "Content-Type": "application/json"
@@ -60,11 +60,18 @@ const be = X("http", {
60
60
  ...i
61
61
  });
62
62
  },
63
- async get(d, e = {}) {
64
- return this.fetch(d, e);
63
+ async form(c, e, i = {}) {
64
+ return this.fetch(c, {
65
+ method: "POST",
66
+ body: e,
67
+ ...i
68
+ });
69
+ },
70
+ async get(c, e = {}) {
71
+ return this.fetch(c, e);
65
72
  },
66
- async delete(d, e = {}) {
67
- return this.fetch(d, {
73
+ async delete(c, e = {}) {
74
+ return this.fetch(c, {
68
75
  method: "DELETE",
69
76
  ...e
70
77
  });
@@ -108,88 +115,88 @@ const be = X("http", {
108
115
  jobs: null
109
116
  }
110
117
  }
111
- }, O = X("user", () => {
112
- const d = ft(Oe({}, $e));
113
- N(d, i);
118
+ }, F = X("user", () => {
119
+ const c = ft(Oe({}, $e));
120
+ U(c, i);
114
121
  function e() {
115
122
  if (!Fe)
116
123
  return;
117
- const r = localStorage.getItem("vuetify@user"), n = r ? JSON.parse(r) : {};
118
- let l = n.v === d.v;
119
- n.v || (n.pwaRefresh = !0, typeof n.api == "boolean" && (n.api = n.api ? "inline" : "link-only"), typeof n.rtl == "boolean" && (n.direction = n.rtl ? "rtl" : "ltr", delete n.rtl), typeof n.theme == "object" && (n.mixedTheme = n.theme.mixed, n.theme = n.theme.system ? "system" : n.theme.dark ? "dark" : "light"), Array.isArray(n.notifications) && (n.notifications = { read: n.notifications }), typeof n.last == "object" && (n.notifications.last = n.last, delete n.last)), n.v === 1 && (Array.isArray(n.composition) && (n.composition = "composition"), Array.isArray(n.notifications.last.banner) || (n.notifications = n.notifications || {}, n.notifications.last = n.notifications.last || {}, n.notifications.last.banner = [])), n.v === 2 && (n.syncSettings = !0, n.disableAds = !1, n.v = 3), n.v === 3 && (n.quickbar = !1), n.v === 4 && (n.suits = $e.suits, n.notifications.banners = $e.notifications.banners, l = !0), n.v = d.v, Object.assign(d, Oe(d, n)), l && i();
124
+ const l = localStorage.getItem("vuetify@user"), s = l ? JSON.parse(l) : {};
125
+ let r = s.v === c.v;
126
+ s.v || (s.pwaRefresh = !0, typeof s.api == "boolean" && (s.api = s.api ? "inline" : "link-only"), typeof s.rtl == "boolean" && (s.direction = s.rtl ? "rtl" : "ltr", delete s.rtl), typeof s.theme == "object" && (s.mixedTheme = s.theme.mixed, s.theme = s.theme.system ? "system" : s.theme.dark ? "dark" : "light"), Array.isArray(s.notifications) && (s.notifications = { read: s.notifications }), typeof s.last == "object" && (s.notifications.last = s.last, delete s.last)), s.v === 1 && (Array.isArray(s.composition) && (s.composition = "composition"), Array.isArray(s.notifications.last.banner) || (s.notifications = s.notifications || {}, s.notifications.last = s.notifications.last || {}, s.notifications.last.banner = [])), s.v === 2 && (s.syncSettings = !0, s.disableAds = !1, s.v = 3), s.v === 3 && (s.quickbar = !1), s.v === 4 && (s.suits = $e.suits, s.notifications.banners = $e.notifications.banners, r = !0), s.v = c.v, Object.assign(c, Oe(c, s)), r && i();
120
127
  }
121
128
  function i() {
122
- Fe && localStorage.setItem("vuetify@user", JSON.stringify(d, null, 2));
129
+ Fe && localStorage.setItem("vuetify@user", JSON.stringify(c, null, 2));
123
130
  }
124
- function s() {
125
- Fe && (Object.assign(d, Oe({}, $e)), i());
131
+ function n() {
132
+ Fe && (Object.assign(c, Oe({}, $e)), i());
126
133
  }
127
134
  return e(), {
128
- ...vt(d),
135
+ ...vt(c),
129
136
  load: e,
130
137
  save: i,
131
- reset: s
138
+ reset: n
132
139
  };
133
- }), F = X("auth", () => {
134
- const d = H(!1), e = H(null), i = be(), s = O(), r = Re(), n = D(!1), l = S(() => {
135
- var _, y;
136
- return !i.url || ((_ = e.value) == null ? void 0 : _.isAdmin) || !!((y = e.value) != null && y.sponsorships.some((x) => x.isActive));
140
+ }), z = X("auth", () => {
141
+ const c = T(!1), e = T(null), i = be(), n = F(), l = Re(), s = B(!1), r = L(() => {
142
+ var m, v;
143
+ return !i.url || ((m = e.value) == null ? void 0 : m.isAdmin) || !!((v = e.value) != null && v.sponsorships.some((V) => V.isActive));
137
144
  });
138
- let c = !!L();
139
- N(e, (_) => {
140
- if (!(_ != null && _.settings))
145
+ let u = !!w();
146
+ U(e, (m) => {
147
+ if (!(m != null && m.settings))
141
148
  return;
142
- const y = localStorage.getItem("vuetify@user") || "{}";
143
- JSON.stringify(_.settings, null, 2) !== y && (c = !0, Object.assign(s, _.settings));
144
- }), s.$subscribe(() => {
145
- c || v(), c = !1;
149
+ const v = localStorage.getItem("vuetify@user") || "{}";
150
+ JSON.stringify(m.settings, null, 2) !== v && (u = !0, Object.assign(n, m.settings));
151
+ }), n.$subscribe(() => {
152
+ u || f(), u = !1;
146
153
  });
147
- async function v() {
148
- if (!(!e.value || !s.syncSettings))
154
+ async function f() {
155
+ if (!(!e.value || !n.syncSettings))
149
156
  try {
150
- await i.post("/user/settings", { settings: s.$state });
151
- } catch (_) {
152
- console.error(_);
157
+ await i.post("/user/settings", { settings: n.$state });
158
+ } catch (m) {
159
+ console.error(m);
153
160
  }
154
161
  }
155
- async function u(_ = !1) {
156
- if (u.promise)
157
- return u.promise;
158
- n.value = !0, u.promise = fetch(`${i.url}/auth/verify`, {
162
+ async function d(m = !1) {
163
+ if (d.promise)
164
+ return d.promise;
165
+ s.value = !0, d.promise = fetch(`${i.url}/auth/verify`, {
159
166
  credentials: "include",
160
- headers: _ ? {
167
+ headers: m ? {
161
168
  "Cache-Control": "no-cache"
162
169
  } : void 0
163
170
  }).then(
164
- async (y) => {
165
- y.ok ? e.value = (await y.json()).user : y.status === 401 ? e.value = null : console.error(y.statusText);
171
+ async (v) => {
172
+ v.ok ? e.value = (await v.json()).user : v.status === 401 ? e.value = null : console.error(v.statusText);
166
173
  },
167
174
  () => {
168
175
  }
169
176
  ).finally(() => {
170
- n.value = !1, u.promise = null;
177
+ s.value = !1, d.promise = null;
171
178
  });
172
179
  }
173
- u.promise = null;
174
- async function m(_ = "github") {
175
- n.value = !0;
176
- const y = `${i.url}/auth/${_}/redirect`, x = 400, z = 600, T = window.screenX + (window.innerWidth - x) / 2, te = window.screenY + (window.innerHeight - z) / 2, Z = window.open(
180
+ d.promise = null;
181
+ async function h(m = "github") {
182
+ s.value = !0;
183
+ const v = `${i.url}/auth/${m}/redirect`, V = 400, O = 600, M = window.screenX + (window.innerWidth - V) / 2, te = window.screenY + (window.innerHeight - O) / 2, Z = window.open(
177
184
  "",
178
185
  "vuetify:authorize:popup",
179
- `popup,left=${T},top=${te},width=${x},height=${z},resizable`
186
+ `popup,left=${M},top=${te},width=${V},height=${O},resizable`
180
187
  );
181
188
  if (!Z) {
182
189
  console.error("Failed to open popup");
183
190
  return;
184
191
  }
185
- Z.location.href = y;
192
+ Z.location.href = v;
186
193
  let ke = -1, ce = -1;
187
- function ue(g) {
194
+ function ue(b) {
188
195
  var C;
189
- g.origin === i.url && ((C = g.data) == null ? void 0 : C.type) === "auth-response" && (g.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", _), e.value = g.data.body.user, r.push("/user/dashboard/"), v()) : console.error(g.data.message), ae());
196
+ b.origin === i.url && ((C = b.data) == null ? void 0 : C.type) === "auth-response" && (b.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", m), e.value = b.data.body.user, l.push("/user/dashboard/"), f()) : console.error(b.data.message), ae());
190
197
  }
191
198
  function ae() {
192
- window.removeEventListener("message", ue), window.clearInterval(ke), window.clearTimeout(ce), Z == null || Z.close(), n.value = !1;
199
+ window.removeEventListener("message", ue), window.clearInterval(ke), window.clearTimeout(ce), Z == null || Z.close(), s.value = !1;
193
200
  }
194
201
  window.addEventListener("message", ue), ke = window.setInterval(() => {
195
202
  !Z || Z.closed ? (console.error("Auth popup closed"), ae()) : Z.postMessage({ type: "auth-request" }, "*");
@@ -197,51 +204,51 @@ const be = X("http", {
197
204
  ae(), console.error("Auth timed out");
198
205
  }, 120 * 1e3);
199
206
  }
200
- async function b(_) {
201
- n.value = !0;
202
- const y = _ ? `/auth/${_}/logout` : "/auth/logout";
207
+ async function k(m) {
208
+ s.value = !0;
209
+ const v = m ? `/auth/${m}/logout` : "/auth/logout";
203
210
  try {
204
- await i.post(y), await u(!0), e.value = null;
205
- } catch (x) {
206
- console.error(x);
211
+ await i.post(v), await d(!0), e.value = null;
212
+ } catch (V) {
213
+ console.error(V);
207
214
  } finally {
208
- r.push("/"), n.value = !1;
215
+ l.push("/"), s.value = !1;
209
216
  }
210
217
  }
211
- function V(_) {
212
- var y;
213
- return (y = e.value) == null ? void 0 : y.identities.find((x) => x.provider === _);
218
+ function y(m) {
219
+ var v;
220
+ return (v = e.value) == null ? void 0 : v.identities.find((V) => V.provider === m);
214
221
  }
215
- function L() {
222
+ function w() {
216
223
  return localStorage.getItem("vuetify@lastLoginProvider");
217
224
  }
218
- return u(), {
225
+ return d(), {
219
226
  user: e,
220
227
  url: i.url,
221
- dialog: d,
222
- isLoading: n,
223
- findIdentity: V,
224
- verify: u,
225
- login: m,
226
- logout: b,
227
- isSubscriber: l,
228
- lastLoginProvider: L,
229
- sync: v
228
+ dialog: c,
229
+ isLoading: s,
230
+ findIdentity: y,
231
+ verify: d,
232
+ login: h,
233
+ logout: k,
234
+ isSubscriber: r,
235
+ lastLoginProvider: w,
236
+ sync: f
230
237
  };
231
- }), $o = { class: "text-body-2" }, xo = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), rt = /* @__PURE__ */ k({
238
+ }), $o = { class: "text-body-2" }, xo = /* @__PURE__ */ g("div", { class: "text-caption mt-n1" }, "Last Used", -1), rt = /* @__PURE__ */ $({
232
239
  __name: "VoAuthDiscord",
233
- setup(d) {
234
- const e = F(), i = S(() => e.user && e.findIdentity("discord")), s = S(() => e.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
235
- return (r, n) => (p(), f(_e, {
240
+ setup(c) {
241
+ const e = z(), i = L(() => e.user && e.findIdentity("discord")), n = L(() => e.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
242
+ return (l, s) => (p(), _(_e, {
236
243
  "prepend-icon": `svg:${t(He)}`,
237
244
  "base-color": "#5865F2",
238
245
  rounded: "pill",
239
246
  variant: "flat",
240
247
  slim: "",
241
- onClick: n[0] || (n[0] = (l) => t(e).login("discord"))
242
- }, G({
248
+ onClick: s[0] || (s[0] = (r) => t(e).login("discord"))
249
+ }, q({
243
250
  title: a(() => [
244
- h("span", $o, I(s.value), 1)
251
+ g("span", $o, I(n.value), 1)
245
252
  ]),
246
253
  _: 2
247
254
  }, [
@@ -254,20 +261,20 @@ const be = X("http", {
254
261
  } : void 0
255
262
  ]), 1032, ["prepend-icon"]));
256
263
  }
257
- }), wo = { class: "text-body-2" }, So = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), lt = /* @__PURE__ */ k({
264
+ }), wo = { class: "text-body-2" }, So = /* @__PURE__ */ g("div", { class: "text-caption mt-n1" }, "Last Used", -1), lt = /* @__PURE__ */ $({
258
265
  __name: "VoAuthGithub",
259
- setup(d) {
260
- const e = F(), i = S(() => e.user && e.findIdentity("github")), s = S(() => e.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
261
- return (r, n) => (p(), f(_e, {
266
+ setup(c) {
267
+ const e = z(), i = L(() => e.user && e.findIdentity("github")), n = L(() => e.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
268
+ return (l, s) => (p(), _(_e, {
262
269
  "prepend-icon": `svg:${t(Ee)}`,
263
270
  "base-color": "#2a2a2a",
264
271
  rounded: "pill",
265
272
  variant: "flat",
266
273
  slim: "",
267
- onClick: n[0] || (n[0] = (l) => t(e).login("github"))
268
- }, G({
274
+ onClick: s[0] || (s[0] = (r) => t(e).login("github"))
275
+ }, q({
269
276
  title: a(() => [
270
- h("span", wo, I(s.value), 1)
277
+ g("span", wo, I(n.value), 1)
271
278
  ]),
272
279
  _: 2
273
280
  }, [
@@ -280,35 +287,35 @@ const be = X("http", {
280
287
  } : void 0
281
288
  ]), 1032, ["prepend-icon"]));
282
289
  }
283
- }), Lo = { class: "text-center" }, Co = { class: "text-center mb-6" }, Io = { class: "font-weight-light mb-2" }, Ao = /* @__PURE__ */ h("span", { class: "font-weight-bold" }, "Vuetify One", -1), ct = /* @__PURE__ */ k({
290
+ }), Lo = { class: "text-center" }, Co = { class: "text-center mb-6" }, Io = { class: "font-weight-light mb-2" }, Ao = /* @__PURE__ */ g("span", { class: "font-weight-bold" }, "Vuetify One", -1), ct = /* @__PURE__ */ $({
284
291
  __name: "VoAuthCard",
285
- setup(d) {
286
- const e = F();
287
- return (i, s) => {
288
- const r = lt, n = rt;
289
- return p(), f(P, {
292
+ setup(c) {
293
+ const e = z();
294
+ return (i, n) => {
295
+ const l = lt, s = rt;
296
+ return p(), _(H, {
290
297
  class: "pt-6 pb-8 px-4 px-sm-8 mx-auto",
291
298
  "max-width": "480"
292
299
  }, {
293
300
  default: a(() => [
294
- h("div", Lo, [
295
- o(se, {
301
+ g("div", Lo, [
302
+ o(ne, {
296
303
  image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
297
304
  class: "mx-auto",
298
305
  size: "64"
299
306
  }, null, 8, ["image"])
300
307
  ]),
301
- h("div", Co, [
308
+ g("div", Co, [
302
309
  o(io, { class: "text-h5 mb-1 text-md-h4" }, {
303
310
  default: a(() => [
304
- h("div", Io, I(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
311
+ g("div", Io, I(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
305
312
  Ao
306
313
  ]),
307
314
  _: 1
308
315
  }),
309
316
  o(ro, { class: "text-wrap" }, {
310
317
  default: a(() => [
311
- B(" Login with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
318
+ N(" Login with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
312
319
  ]),
313
320
  _: 1
314
321
  })
@@ -319,8 +326,8 @@ const be = X("http", {
319
326
  width: "100%"
320
327
  }, {
321
328
  default: a(() => [
322
- o(r, { class: "mb-3" }),
323
- o(n)
329
+ o(l, { class: "mb-3" }),
330
+ o(s)
324
331
  ]),
325
332
  _: 1
326
333
  })
@@ -329,31 +336,80 @@ const be = X("http", {
329
336
  });
330
337
  };
331
338
  }
332
- }), ut = /* @__PURE__ */ k({
339
+ }), ut = /* @__PURE__ */ $({
333
340
  __name: "VoAuthDialog",
334
- setup(d) {
335
- const e = F();
336
- return (i, s) => {
337
- const r = ct;
338
- return p(), f(st, {
341
+ setup(c) {
342
+ const e = z();
343
+ return (i, n) => {
344
+ const l = ct;
345
+ return p(), _(nt, {
339
346
  modelValue: t(e).dialog,
340
- "onUpdate:modelValue": s[0] || (s[0] = (n) => t(e).dialog = n),
347
+ "onUpdate:modelValue": n[0] || (n[0] = (s) => t(e).dialog = s),
341
348
  "max-width": "480"
342
349
  }, {
343
350
  default: a(() => [
344
- o(r)
351
+ o(l)
345
352
  ]),
346
353
  _: 1
347
354
  }, 8, ["modelValue"]);
348
355
  };
349
356
  }
350
357
  }), De = X("notifications", () => {
351
- const d = be(), e = O(), i = H([]), s = D(!1), r = S(() => i.value.filter((c) => !e.notifications.read.includes(c.slug))), n = S(() => i.value.filter((c) => e.notifications.read.includes(c.slug)));
352
- async function l() {
358
+ const c = be(), e = F(), i = T([]), n = T([]), l = T(), s = B(!1), r = L(() => i.value.filter((m) => !e.notifications.read.includes(m.slug))), u = L(() => i.value.filter((m) => e.notifications.read.includes(m.slug)));
359
+ async function f() {
353
360
  try {
354
361
  s.value = !0;
355
- const c = await d.get("/one/notifications");
356
- i.value = c.notifications;
362
+ const m = await c.get("/one/notifications");
363
+ i.value = m.notifications;
364
+ } catch {
365
+ } finally {
366
+ s.value = !1;
367
+ }
368
+ return i.value;
369
+ }
370
+ async function d(m) {
371
+ try {
372
+ s.value = !0;
373
+ const v = await c.get(`/one/admin/notifications/${m}`);
374
+ return l.value = v.notification, v.notification;
375
+ } catch {
376
+ } finally {
377
+ s.value = !1;
378
+ }
379
+ }
380
+ async function h(m) {
381
+ try {
382
+ s.value = !0;
383
+ const v = await c.form(
384
+ "/one/admin/notifications",
385
+ m
386
+ );
387
+ return l.value = v.notification, v.notification;
388
+ } catch {
389
+ } finally {
390
+ s.value = !1;
391
+ }
392
+ }
393
+ async function k(m, v) {
394
+ try {
395
+ s.value = !0;
396
+ const V = await c.form(
397
+ `/one/admin/notifications/${m}`,
398
+ v
399
+ );
400
+ return l.value = V.notification, V.notification;
401
+ } catch {
402
+ } finally {
403
+ s.value = !1;
404
+ }
405
+ }
406
+ async function y() {
407
+ }
408
+ async function w() {
409
+ try {
410
+ s.value = !0;
411
+ const m = await c.get("/one/admin/notifications");
412
+ n.value = m.notifications;
357
413
  } catch {
358
414
  } finally {
359
415
  s.value = !1;
@@ -363,35 +419,42 @@ const be = X("http", {
363
419
  return {
364
420
  isLoading: s,
365
421
  all: i,
366
- get: l,
367
- read: n,
422
+ aall: n,
423
+ admin: w,
424
+ record: l,
425
+ index: f,
426
+ show: d,
427
+ store: h,
428
+ update: k,
429
+ destroy: y,
430
+ read: u,
368
431
  unread: r
369
432
  };
370
- }), Do = /* @__PURE__ */ k({
433
+ }), Do = /* @__PURE__ */ $({
371
434
  __name: "VoNotificationsTotalBadge",
372
- setup(d) {
373
- const e = F(), i = De(), s = O(), r = S(() => s.notifications.show ? i.unread.length : 0);
374
- return (n, l) => (p(), f(Ge, {
375
- content: r.value,
435
+ setup(c) {
436
+ const e = z(), i = De(), n = F(), l = L(() => n.notifications.show ? i.unread.length : 0);
437
+ return (s, r) => (p(), _(Ge, {
438
+ content: l.value,
376
439
  dot: !!t(e).user,
377
- "model-value": r.value > 0,
440
+ "model-value": l.value > 0,
378
441
  color: "error",
379
442
  location: "start top"
380
443
  }, {
381
444
  default: a(() => [
382
- M(n.$slots, "default")
445
+ P(s.$slots, "default")
383
446
  ]),
384
447
  _: 3
385
448
  }, 8, ["content", "dot", "model-value"]));
386
449
  }
387
- }), ne = /* @__PURE__ */ k({
450
+ }), se = /* @__PURE__ */ $({
388
451
  __name: "VoBtn",
389
452
  props: {
390
453
  readonly: { type: Boolean }
391
454
  },
392
- setup(d) {
393
- const e = d;
394
- return (i, s) => (p(), f(E, {
455
+ setup(c) {
456
+ const e = c;
457
+ return (i, n) => (p(), _(W, {
395
458
  style: Qe({
396
459
  pointerEvents: e.readonly ? "none" : void 0
397
460
  }),
@@ -400,41 +463,41 @@ const be = X("http", {
400
463
  color: "primary",
401
464
  size: "small",
402
465
  variant: "flat"
403
- }, G({
466
+ }, q({
404
467
  loader: a(() => [
405
- i.$slots.loader ? $("", !0) : (p(), f(lo, {
468
+ i.$slots.loader ? x("", !0) : (p(), _(lo, {
406
469
  key: 0,
407
470
  indeterminate: "disable-shrink",
408
471
  size: "16",
409
472
  width: "2"
410
473
  })),
411
- M(i.$slots, "loader")
474
+ P(i.$slots, "loader")
412
475
  ]),
413
476
  _: 2
414
477
  }, [
415
478
  i.$slots.default ? {
416
479
  name: "default",
417
480
  fn: a(() => [
418
- M(i.$slots, "default")
481
+ P(i.$slots, "default")
419
482
  ]),
420
483
  key: "0"
421
484
  } : void 0
422
485
  ]), 1032, ["style", "tabindex"]));
423
486
  }
424
- }), Uo = { class: "pa-4 d-flex flex-column ga-4" }, dt = /* @__PURE__ */ k({
487
+ }), Bo = { class: "pa-4 d-flex flex-column ga-4" }, dt = /* @__PURE__ */ $({
425
488
  __name: "VoAuthListItem",
426
- setup(d) {
427
- const e = F(), i = O(), s = D(!e.user && !e.isLoading);
428
- N(() => e.user, (n) => {
429
- s.value = !n;
489
+ setup(c) {
490
+ const e = z(), i = F(), n = B(!e.user && !e.isLoading);
491
+ U(() => e.user, (s) => {
492
+ n.value = !s;
430
493
  });
431
- function r() {
432
- e.user && (s.value = !s.value);
494
+ function l() {
495
+ e.user && (n.value = !n.value);
433
496
  }
434
- return (n, l) => {
435
- const c = lt, v = rt;
436
- return p(), f(P, {
437
- variant: s.value ? "tonal" : "text",
497
+ return (s, r) => {
498
+ const u = lt, f = rt;
499
+ return p(), _(H, {
500
+ variant: n.value ? "tonal" : "text",
438
501
  class: "ma-2",
439
502
  rounded: "lg"
440
503
  }, {
@@ -449,29 +512,29 @@ const be = X("http", {
449
512
  rounded: "b-0",
450
513
  nav: "",
451
514
  slim: "",
452
- onClick: r
515
+ onClick: l
453
516
  }, {
454
517
  append: a(() => [
455
518
  o(we, null, {
456
519
  default: a(() => [
457
- t(e).user && (s.value || !t(i).syncSettings) ? (p(), f(nt, {
520
+ t(e).user && (n.value || !t(i).syncSettings) ? (p(), _(st, {
458
521
  key: 0,
459
522
  modelValue: t(i).syncSettings,
460
- "onUpdate:modelValue": l[0] || (l[0] = (u) => t(i).syncSettings = u),
523
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => t(i).syncSettings = d),
461
524
  color: t(i).syncSettings ? "success" : void 0,
462
525
  density: "compact",
463
526
  "hide-details": "",
464
527
  inset: "",
465
- onClick: l[1] || (l[1] = Te(() => {
528
+ onClick: r[1] || (r[1] = je(() => {
466
529
  }, ["stop"]))
467
530
  }, {
468
531
  thumb: a(() => [
469
- o(se, {
532
+ o(ne, {
470
533
  color: t(i).syncSettings ? "success" : void 0
471
534
  }, null, 8, ["color"])
472
535
  ]),
473
536
  _: 1
474
- }, 8, ["modelValue", "color"])) : $("", !0)
537
+ }, 8, ["modelValue", "color"])) : x("", !0)
475
538
  ]),
476
539
  _: 1
477
540
  })
@@ -480,23 +543,23 @@ const be = X("http", {
480
543
  }, 8, ["link", "prepend-icon", "title"]),
481
544
  o(he, null, {
482
545
  default: a(() => [
483
- !t(e).user && !t(e).isLoading || s.value ? (p(), f(qe, {
546
+ !t(e).user && !t(e).isLoading || n.value ? (p(), _(qe, {
484
547
  key: 0,
485
548
  border: "t",
486
549
  color: "transparent"
487
550
  }, {
488
551
  default: a(() => [
489
- h("div", Uo, [
490
- o(c, {
491
- onClick: l[2] || (l[2] = (u) => s.value = !1)
552
+ g("div", Bo, [
553
+ o(u, {
554
+ onClick: r[2] || (r[2] = (d) => n.value = !1)
492
555
  }),
493
- o(v, {
494
- onClick: l[3] || (l[3] = (u) => s.value = !1)
556
+ o(f, {
557
+ onClick: r[3] || (r[3] = (d) => n.value = !1)
495
558
  })
496
559
  ])
497
560
  ]),
498
561
  _: 1
499
- })) : $("", !0)
562
+ })) : x("", !0)
500
563
  ]),
501
564
  _: 1
502
565
  })
@@ -508,59 +571,59 @@ const be = X("http", {
508
571
  }, 8, ["variant"]);
509
572
  };
510
573
  }
511
- }), Y = /* @__PURE__ */ k({
574
+ }), Y = /* @__PURE__ */ $({
512
575
  __name: "VoListItem",
513
- setup(d) {
514
- return (e, i) => (p(), f(_e, { slim: "" }, G({
576
+ setup(c) {
577
+ return (e, i) => (p(), _(_e, { slim: "" }, q({
515
578
  default: a(() => [
516
- M(e.$slots, "default")
579
+ P(e.$slots, "default")
517
580
  ]),
518
581
  _: 2
519
582
  }, [
520
583
  e.$slots.prepend ? {
521
584
  name: "prepend",
522
585
  fn: a(() => [
523
- M(e.$slots, "prepend")
586
+ P(e.$slots, "prepend")
524
587
  ]),
525
588
  key: "0"
526
589
  } : void 0,
527
590
  e.$slots.title ? {
528
591
  name: "title",
529
592
  fn: a(() => [
530
- M(e.$slots, "title")
593
+ P(e.$slots, "title")
531
594
  ]),
532
595
  key: "1"
533
596
  } : void 0,
534
597
  e.$slots.append ? {
535
598
  name: "append",
536
599
  fn: a(() => [
537
- M(e.$slots, "append")
600
+ P(e.$slots, "append")
538
601
  ]),
539
602
  key: "2"
540
603
  } : void 0
541
604
  ]), 1024));
542
605
  }
543
- }), Bo = /* @__PURE__ */ k({
606
+ }), No = /* @__PURE__ */ $({
544
607
  __name: "VoAuthLogoutListItem",
545
- setup(d) {
546
- const e = F(), i = D(!1);
547
- async function s() {
608
+ setup(c) {
609
+ const e = z(), i = B(!1);
610
+ async function n() {
548
611
  i.value = !0, await e.logout(), i.value = !1;
549
612
  }
550
- return (r, n) => {
551
- const l = Y;
552
- return p(), f(l, {
613
+ return (l, s) => {
614
+ const r = Y;
615
+ return p(), _(r, {
553
616
  disabled: i.value,
554
617
  loading: i.value,
555
618
  "prepend-icon": `svg:${t(wt)}`,
556
619
  class: "mb-0",
557
620
  title: "Logout",
558
621
  link: "",
559
- onClick: s
622
+ onClick: n
560
623
  }, null, 8, ["disabled", "loading", "prepend-icon"]);
561
624
  };
562
625
  }
563
- }), Ue = /* @__PURE__ */ k({
626
+ }), Be = /* @__PURE__ */ $({
564
627
  __name: "VoDialog",
565
628
  props: /* @__PURE__ */ _t({
566
629
  prependIcon: {},
@@ -570,60 +633,60 @@ const be = X("http", {
570
633
  modelModifiers: {}
571
634
  }),
572
635
  emits: ["update:modelValue"],
573
- setup(d) {
574
- const e = ie(d, "modelValue"), i = le(), s = D(!1);
575
- return (r, n) => (p(), f(st, {
636
+ setup(c) {
637
+ const e = ie(c, "modelValue"), i = le(), n = B(!1);
638
+ return (l, s) => (p(), _(nt, {
576
639
  modelValue: e.value,
577
- "onUpdate:modelValue": n[2] || (n[2] = (l) => e.value = l),
578
- fullscreen: s.value || t(i).xs.value,
579
- "max-height": s.value || t(i).xs.value ? "100%" : 800,
580
- "max-width": s.value || t(i).xs.value ? "100%" : 800,
640
+ "onUpdate:modelValue": s[2] || (s[2] = (r) => e.value = r),
641
+ fullscreen: n.value || t(i).xs.value,
642
+ "max-height": n.value || t(i).xs.value ? "100%" : 800,
643
+ "max-width": n.value || t(i).xs.value ? "100%" : 800,
581
644
  activator: "parent",
582
645
  height: "100%"
583
646
  }, {
584
- default: a(({ isActive: l }) => [
585
- o(P, {
586
- "prepend-icon": r.prependIcon,
587
- title: r.title,
647
+ default: a(({ isActive: r }) => [
648
+ o(H, {
649
+ "prepend-icon": l.prependIcon,
650
+ title: l.title,
588
651
  class: "overflow-hidden",
589
652
  height: "inherit"
590
- }, G({
653
+ }, q({
591
654
  append: a(() => [
592
- M(r.$slots, "append"),
593
- t(i).xs.value ? $("", !0) : (p(), f(E, {
655
+ P(l.$slots, "append"),
656
+ t(i).xs.value ? x("", !0) : (p(), _(W, {
594
657
  key: 0,
595
- icon: `svg:${s.value ? t(St) : t(Lt)}`,
658
+ icon: `svg:${n.value ? t(St) : t(Lt)}`,
596
659
  class: "me-2",
597
660
  density: "comfortable",
598
661
  size: "small",
599
662
  variant: "text",
600
- onClick: n[0] || (n[0] = (c) => s.value = !s.value)
663
+ onClick: s[0] || (s[0] = (u) => n.value = !n.value)
601
664
  }, null, 8, ["icon"])),
602
- o(E, {
665
+ o(W, {
603
666
  density: "comfortable",
604
667
  icon: "$close",
605
668
  size: "small",
606
669
  variant: "text",
607
- onClick: n[1] || (n[1] = (c) => e.value = !e.value)
670
+ onClick: s[1] || (s[1] = (u) => e.value = !e.value)
608
671
  })
609
672
  ]),
610
673
  default: a(() => [
611
- o(W, { class: "mt-4" }),
612
- M(r.$slots, "default")
674
+ o(E, { class: "mt-4" }),
675
+ P(l.$slots, "default")
613
676
  ]),
614
677
  _: 2
615
678
  }, [
616
- r.$slots.prepend ? {
679
+ l.$slots.prepend ? {
617
680
  name: "prepend",
618
681
  fn: a(() => [
619
- M(r.$slots, "prepend")
682
+ P(l.$slots, "prepend")
620
683
  ]),
621
684
  key: "0"
622
685
  } : void 0,
623
- r.$slots.actions ? {
686
+ l.$slots.actions ? {
624
687
  name: "actions",
625
688
  fn: a(() => [
626
- M(r.$slots, "actions", { isActive: l })
689
+ P(l.$slots, "actions", { isActive: r })
627
690
  ]),
628
691
  key: "1"
629
692
  } : void 0
@@ -632,19 +695,19 @@ const be = X("http", {
632
695
  _: 3
633
696
  }, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
634
697
  }
635
- }), pt = /* @__PURE__ */ k({
698
+ }), pt = /* @__PURE__ */ $({
636
699
  __name: "VoSwitch",
637
700
  props: {
638
701
  disabled: { type: Boolean }
639
702
  },
640
- setup(d) {
641
- return (e, i) => (p(), f(nt, {
703
+ setup(c) {
704
+ return (e, i) => (p(), _(st, {
642
705
  disabled: e.disabled,
643
706
  "true-icon": `svg:${t(re)}`,
644
707
  color: "primary",
645
708
  density: "compact",
646
709
  inset: ""
647
- }, G({
710
+ }, q({
648
711
  thumb: a(() => [
649
712
  o(A, {
650
713
  color: e.disabled ? void 0 : "primary"
@@ -655,39 +718,39 @@ const be = X("http", {
655
718
  e.$slots.label ? {
656
719
  name: "label",
657
720
  fn: a(() => [
658
- M(e.$slots, "label")
721
+ P(e.$slots, "label")
659
722
  ]),
660
723
  key: "0"
661
724
  } : void 0
662
725
  ]), 1032, ["disabled", "true-icon"]));
663
726
  }
664
- }), No = {
727
+ }), Uo = {
665
728
  key: 1,
666
729
  class: "mb-3 text-caption text-medium-emphasis"
667
- }, ye = /* @__PURE__ */ k({
730
+ }, ye = /* @__PURE__ */ $({
668
731
  __name: "VoDialogSubheader",
669
732
  props: {
670
733
  title: {},
671
734
  text: {}
672
735
  },
673
- setup(d) {
674
- return (e, i) => (p(), w(U, null, [
675
- e.title ? (p(), f(ze, {
736
+ setup(c) {
737
+ return (e, i) => (p(), S(D, null, [
738
+ e.title ? (p(), _(ze, {
676
739
  key: 0,
677
740
  class: "font-weight-black"
678
741
  }, {
679
742
  default: a(() => [
680
- B(I(e.title), 1)
743
+ N(I(e.title), 1)
681
744
  ]),
682
745
  _: 1
683
- })) : $("", !0),
684
- e.text ? (p(), w("div", No, I(e.text), 1)) : $("", !0)
746
+ })) : x("", !0),
747
+ e.text ? (p(), S("div", Uo, I(e.text), 1)) : x("", !0)
685
748
  ], 64));
686
749
  }
687
- }), Oo = { key: 0 }, Fo = /* @__PURE__ */ k({
750
+ }), Oo = { key: 0 }, Fo = /* @__PURE__ */ $({
688
751
  __name: "VoSettingsPageSuitOption",
689
- setup(d) {
690
- const e = O(), i = [
752
+ setup(c) {
753
+ const e = F(), i = [
691
754
  {
692
755
  title: "Choose a page suit",
693
756
  value: "",
@@ -710,22 +773,22 @@ const be = X("http", {
710
773
  value: "nebula"
711
774
  }
712
775
  ];
713
- return (s, r) => {
714
- const n = pt, l = ye;
715
- return p(), w(U, null, [
716
- o(n, {
776
+ return (n, l) => {
777
+ const s = pt, r = ye;
778
+ return p(), S(D, null, [
779
+ o(s, {
717
780
  modelValue: t(e).suits.show,
718
- "onUpdate:modelValue": r[0] || (r[0] = (c) => t(e).suits.show = c),
781
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => t(e).suits.show = u),
719
782
  class: "mb-2",
720
783
  label: "Enable Page suits",
721
784
  messages: "Customize layout elements with a unique background, styled after one of our themed releases."
722
785
  }, null, 8, ["modelValue"]),
723
786
  o(he, null, {
724
787
  default: a(() => [
725
- t(e).suits.show ? (p(), w("div", Oo, [
788
+ t(e).suits.show ? (p(), S("div", Oo, [
726
789
  o(mo, {
727
790
  modelValue: t(e).suits.suit,
728
- "onUpdate:modelValue": r[1] || (r[1] = (c) => t(e).suits.suit = c),
791
+ "onUpdate:modelValue": l[1] || (l[1] = (u) => t(e).suits.suit = u),
729
792
  items: i,
730
793
  density: "compact",
731
794
  placeholder: "Choose a page suit",
@@ -735,26 +798,26 @@ const be = X("http", {
735
798
  "item-props": "",
736
799
  "single-line": ""
737
800
  }, {
738
- selection: a(({ item: c }) => [
801
+ selection: a(({ item: u }) => [
739
802
  o(A, {
740
- icon: c.props.prependIcon,
803
+ icon: u.props.prependIcon,
741
804
  size: "x-small",
742
805
  start: ""
743
806
  }, null, 8, ["icon"]),
744
- B(" " + I(c.title), 1)
807
+ N(" " + I(u.title), 1)
745
808
  ]),
746
809
  _: 1
747
810
  }, 8, ["modelValue"]),
748
- o(l, { text: "Select your suit elements to display the background image:" }),
811
+ o(r, { text: "Select your suit elements to display the background image:" }),
749
812
  o(po, {
750
813
  modelValue: t(e).suits.elements,
751
- "onUpdate:modelValue": r[2] || (r[2] = (c) => t(e).suits.elements = c),
814
+ "onUpdate:modelValue": l[2] || (l[2] = (u) => t(e).suits.elements = u),
752
815
  color: "primary",
753
816
  filter: "",
754
817
  multiple: ""
755
818
  }, {
756
819
  default: a(() => [
757
- o(q, {
820
+ o(G, {
758
821
  "append-icon": `svg:${t(Ct)}`,
759
822
  "filter-icon": "$success",
760
823
  text: "App Bar",
@@ -762,7 +825,7 @@ const be = X("http", {
762
825
  variant: "flat"
763
826
  }, {
764
827
  append: a(() => [
765
- o(W, {
828
+ o(E, {
766
829
  class: "ms-2 border-opacity-50",
767
830
  vertical: ""
768
831
  }),
@@ -770,7 +833,7 @@ const be = X("http", {
770
833
  ]),
771
834
  _: 1
772
835
  }, 8, ["append-icon"]),
773
- o(q, {
836
+ o(G, {
774
837
  "append-icon": `svg:${t(It)}`,
775
838
  "filter-icon": "$success",
776
839
  text: "Navigation Drawer",
@@ -778,7 +841,7 @@ const be = X("http", {
778
841
  variant: "flat"
779
842
  }, {
780
843
  append: a(() => [
781
- o(W, {
844
+ o(E, {
782
845
  class: "ms-2 border-opacity-50",
783
846
  vertical: ""
784
847
  }),
@@ -786,7 +849,7 @@ const be = X("http", {
786
849
  ]),
787
850
  _: 1
788
851
  }, 8, ["append-icon"]),
789
- o(q, {
852
+ o(G, {
790
853
  "append-icon": "$info",
791
854
  "filter-icon": "$success",
792
855
  text: "Footer",
@@ -794,7 +857,7 @@ const be = X("http", {
794
857
  variant: "flat"
795
858
  }, {
796
859
  append: a(() => [
797
- o(W, {
860
+ o(E, {
798
861
  class: "ms-2 border-opacity-50",
799
862
  vertical: ""
800
863
  }),
@@ -805,7 +868,7 @@ const be = X("http", {
805
868
  ]),
806
869
  _: 1
807
870
  }, 8, ["modelValue"])
808
- ])) : $("", !0)
871
+ ])) : x("", !0)
809
872
  ]),
810
873
  _: 1
811
874
  })
@@ -814,36 +877,36 @@ const be = X("http", {
814
877
  }
815
878
  });
816
879
  function Ve() {
817
- const d = kt();
818
- return S(
819
- () => d.query
880
+ const c = kt();
881
+ return L(
882
+ () => c.query
820
883
  );
821
884
  }
822
885
  const j = X("one", () => {
823
- const d = Ve(), e = d.value.session_id, i = Re(), s = F(), r = be(), n = D(!1), l = H(!1), c = H(), v = H([]), u = S(() => {
824
- var g;
825
- return (g = c.value) == null ? void 0 : g.items[0].plan.interval;
826
- }), m = S(() => {
827
- var g;
828
- return (g = s.user) == null ? void 0 : g.sponsorships.find((C) => C.platform === "stripe" && C.tierName.startsWith("sub_"));
829
- }), b = S(() => {
830
- var g;
831
- return !!((g = m.value) != null && g.tierName);
832
- }), V = S(() => {
833
- var g;
834
- return (g = m.value) == null ? void 0 : g.isActive;
835
- }), L = S(() => {
836
- var g;
837
- return (g = s.user) == null ? void 0 : g.sponsorships.find((C) => C.platform === "github");
838
- }), _ = S(() => {
839
- var g;
840
- return (g = s.user) == null ? void 0 : g.sponsorships.find((C) => C.platform === "discord");
841
- }), y = S(() => {
842
- var g;
843
- return (g = s.user) == null ? void 0 : g.sponsorships.find((C) => C.platform === "patreon");
844
- }), x = S(() => {
845
- var g;
846
- return (g = s.user) == null ? void 0 : g.sponsorships.reduce((C, Q) => {
886
+ const c = Ve(), e = c.value.session_id, i = Re(), n = z(), l = be(), s = B(!1), r = T(!1), u = T(), f = T([]), d = L(() => {
887
+ var b;
888
+ return (b = u.value) == null ? void 0 : b.items[0].plan.interval;
889
+ }), h = L(() => {
890
+ var b;
891
+ return (b = n.user) == null ? void 0 : b.sponsorships.find((C) => C.platform === "stripe" && C.tierName.startsWith("sub_"));
892
+ }), k = L(() => {
893
+ var b;
894
+ return !!((b = h.value) != null && b.tierName);
895
+ }), y = L(() => {
896
+ var b;
897
+ return (b = h.value) == null ? void 0 : b.isActive;
898
+ }), w = L(() => {
899
+ var b;
900
+ return (b = n.user) == null ? void 0 : b.sponsorships.find((C) => C.platform === "github");
901
+ }), m = L(() => {
902
+ var b;
903
+ return (b = n.user) == null ? void 0 : b.sponsorships.find((C) => C.platform === "discord");
904
+ }), v = L(() => {
905
+ var b;
906
+ return (b = n.user) == null ? void 0 : b.sponsorships.find((C) => C.platform === "patreon");
907
+ }), V = L(() => {
908
+ var b;
909
+ return (b = n.user) == null ? void 0 : b.sponsorships.reduce((C, Q) => {
847
910
  if (!Q.isActive || Q.interval === "once" || Q.platform === "stripe")
848
911
  return C;
849
912
  const mt = Q.interval === "month" ? Q.amount : Q.amount / 12;
@@ -851,109 +914,109 @@ const j = X("one", () => {
851
914
  }, 0);
852
915
  });
853
916
  ht(async () => {
854
- e && await z();
855
- }), N(l, (g) => {
856
- g && ae();
857
- }), N(d, (g) => {
858
- if (g.one !== "subscribe" || s.user)
917
+ e && await O();
918
+ }), U(r, (b) => {
919
+ b && ae();
920
+ }), U(c, (b) => {
921
+ if (b.one !== "subscribe" || n.user)
859
922
  return;
860
- console.log(g.one), s.dialog = !0;
861
- const C = N(() => s.user, (Q) => {
862
- Q && (s.dialog = !1, C());
923
+ console.log(b.one), n.dialog = !0;
924
+ const C = U(() => n.user, (Q) => {
925
+ Q && (n.dialog = !1, C());
863
926
  });
864
- }, { immediate: !0 }), N(V, (g, C) => {
865
- g === !1 && C !== !0 || ce();
927
+ }, { immediate: !0 }), U(y, (b, C) => {
928
+ b === !1 && C !== !0 || ce();
866
929
  });
867
- async function z() {
930
+ async function O() {
868
931
  try {
869
- n.value = !0;
870
- const g = await r.post("/one/activate", { sessionId: e });
871
- s.user = g.user;
932
+ s.value = !0;
933
+ const b = await l.post("/one/activate", { sessionId: e });
934
+ n.user = b.user;
872
935
  const C = new URL(window.location.href);
873
936
  C.searchParams.delete("session_id"), history.pushState(null, "", C.toString()), ue();
874
937
  } catch {
875
938
  } finally {
876
- n.value = !1;
939
+ s.value = !1;
877
940
  }
878
941
  }
879
- async function T() {
880
- window.open(`${r.url}/one/manage`, "_blank");
942
+ async function M() {
943
+ window.open(`${l.url}/one/manage`, "_blank");
881
944
  }
882
- async function te(g) {
883
- n.value = !0, window.location.href = `${r.url}/one/subscribe?interval=${g}`;
945
+ async function te(b) {
946
+ s.value = !0, window.location.href = `${l.url}/one/subscribe?interval=${b}`;
884
947
  }
885
948
  async function Z() {
886
- var g;
887
- if (m.value)
949
+ var b;
950
+ if (h.value)
888
951
  try {
889
- n.value = !0;
890
- const C = await r.post(
891
- `/one/cancel?subscriptionId=${(g = m.value) == null ? void 0 : g.tierName}`
952
+ s.value = !0;
953
+ const C = await l.post(
954
+ `/one/cancel?subscriptionId=${(b = h.value) == null ? void 0 : b.tierName}`
892
955
  );
893
- s.user = C.user;
956
+ n.user = C.user;
894
957
  } catch {
895
958
  } finally {
896
- n.value = !1;
959
+ s.value = !1;
897
960
  }
898
961
  }
899
- async function ke(g) {
900
- if (m.value)
962
+ async function ke(b) {
963
+ if (h.value)
901
964
  try {
902
- n.value = !0;
903
- const C = await r.post("/one/modify", {
904
- subscriptionId: m.value.tierName,
905
- interval: g
965
+ s.value = !0;
966
+ const C = await l.post("/one/modify", {
967
+ subscriptionId: h.value.tierName,
968
+ interval: b
906
969
  });
907
- s.user = C.user;
970
+ n.user = C.user;
908
971
  } catch {
909
972
  } finally {
910
- n.value = !1;
973
+ s.value = !1;
911
974
  }
912
975
  }
913
976
  async function ce() {
914
- var g;
915
- if (m.value)
977
+ var b;
978
+ if (h.value)
916
979
  try {
917
- n.value = !0;
918
- const C = await r.post(
919
- `/one/verify?subscriptionId=${(g = m.value) == null ? void 0 : g.tierName}`
980
+ s.value = !0;
981
+ const C = await l.post(
982
+ `/one/verify?subscriptionId=${(b = h.value) == null ? void 0 : b.tierName}`
920
983
  );
921
- s.user = C.user;
984
+ n.user = C.user;
922
985
  } catch {
923
986
  } finally {
924
- n.value = !1;
987
+ s.value = !1;
925
988
  }
926
989
  }
927
990
  async function ue() {
928
991
  try {
929
- n.value = !0;
930
- const g = await r.get("/one/info");
931
- return c.value = g.subscription, v.value = g.invoices, g;
992
+ s.value = !0;
993
+ const b = await l.get("/one/info");
994
+ return u.value = b.subscription, f.value = b.invoices, b;
932
995
  } catch {
933
996
  } finally {
934
- n.value = !1;
997
+ s.value = !1;
935
998
  }
936
999
  }
937
1000
  function ae() {
938
1001
  i.push({ query: {} });
939
1002
  }
940
1003
  return {
941
- info: c,
942
- interval: u,
943
- invoices: v,
1004
+ info: u,
1005
+ interval: d,
1006
+ invoices: f,
944
1007
  sessionId: e,
945
- subscription: m,
946
- monthlyTotal: x,
947
- hasBilling: b,
948
- isLoading: n,
949
- isOpen: l,
950
- isSubscriber: V,
951
- github: L,
952
- patreon: y,
953
- discord: _,
954
- activate: z,
1008
+ subscription: h,
1009
+ monthlyTotal: V,
1010
+ hasBilling: k,
1011
+ isLoading: s,
1012
+ isOpen: r,
1013
+ isSubscriber: y,
1014
+ github: w,
1015
+ patreon: v,
1016
+ discord: m,
1017
+ activate: O,
955
1018
  cancel: Z,
956
- manage: T,
1019
+ manage: M,
957
1020
  modify: ke,
958
1021
  resetQuery: ae,
959
1022
  subscribe: te,
@@ -1004,9 +1067,9 @@ function zo() {
1004
1067
  polaris: {
1005
1068
  dark: !0,
1006
1069
  colors: {
1007
- background: "#2a0e12",
1008
- primary: "#e73c00",
1009
- surface: "#4e221b",
1070
+ background: "#1f0a0d",
1071
+ primary: "#972800",
1072
+ surface: "#29110e",
1010
1073
  info: "#e7810d",
1011
1074
  accent: "#b35000",
1012
1075
  success: "#486a2b",
@@ -1043,13 +1106,13 @@ function zo() {
1043
1106
  dark: !0,
1044
1107
  colors: {
1045
1108
  background: "#0f172a",
1046
- primary: "#1e3a8a",
1109
+ primary: "#3462e3",
1047
1110
  surface: "#1e293b",
1048
1111
  info: "#64748b",
1049
1112
  accent: "#0ea5e9",
1050
1113
  success: "#14b8a6",
1051
1114
  "surface-light": "#2e3d59",
1052
- "surface-bright": "#3357b7",
1115
+ "surface-bright": "#6077b5",
1053
1116
  "surface-variant": "#334155",
1054
1117
  "on-surface-variant": "#FFFFFF",
1055
1118
  "primary-darken-1": "#1c2d60",
@@ -1117,107 +1180,107 @@ function zo() {
1117
1180
  }
1118
1181
  };
1119
1182
  }
1120
- const Be = X("settings", () => {
1121
- const d = "https://cdn.vuetifyjs.com/docs/images/one/", e = F(), i = O(), s = uo(), r = zo(), n = {
1183
+ const Ne = X("settings", () => {
1184
+ const c = "https://cdn.vuetifyjs.com/docs/images/one/", e = z(), i = F(), n = uo(), l = zo(), s = {
1122
1185
  blackguard: {
1123
- "app-bar": d + "suits/blackguard/blackguard-app-bar.png",
1124
- drawer: d + "suits/blackguard/blackguard-app-drawer.png",
1125
- footer: d + "suits/blackguard/blackguard-app-footer.png"
1186
+ "app-bar": c + "suits/blackguard/blackguard-app-bar.png",
1187
+ drawer: c + "suits/blackguard/blackguard-app-drawer.png",
1188
+ footer: c + "suits/blackguard/blackguard-app-footer.png"
1126
1189
  },
1127
1190
  polaris: {
1128
- "app-bar": d + "suits/polaris/polaris-app-bar.png",
1129
- drawer: d + "suits/polaris/polaris-app-drawer.png",
1130
- footer: d + "suits/polaris/polaris-app-footer.png"
1191
+ "app-bar": c + "suits/polaris/polaris-app-bar.png",
1192
+ drawer: c + "suits/polaris/polaris-app-drawer.png",
1193
+ footer: c + "suits/polaris/polaris-app-footer.png"
1131
1194
  },
1132
1195
  nebula: {
1133
- "app-bar": d + "suits/nebula/nebula-app-bar.png",
1134
- drawer: d + "suits/nebula/nebula-app-drawer.png",
1135
- footer: d + "suits/nebula/nebula-app-footer.png"
1196
+ "app-bar": c + "suits/nebula/nebula-app-bar.png",
1197
+ drawer: c + "suits/nebula/nebula-app-drawer.png",
1198
+ footer: c + "suits/nebula/nebula-app-footer.png"
1136
1199
  }
1137
- }, l = S(() => {
1200
+ }, r = L(() => {
1138
1201
  if (!i.suits.suit || !i.suits.show || !e.isSubscriber)
1139
1202
  return {};
1140
- const c = n[i.suits.suit.toLowerCase()], v = {};
1141
- for (const u of i.suits.elements)
1142
- v[u] = c[u];
1143
- return v;
1203
+ const u = s[i.suits.suit.toLowerCase()], f = {};
1204
+ for (const d of i.suits.elements)
1205
+ f[d] = u[d];
1206
+ return f;
1144
1207
  });
1145
- return s.themes.value = {
1146
- ...s.themes.value,
1147
- ...r
1148
- }, N(() => i.theme, (c) => {
1149
- c === "system" ? s.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : (s.global.name.value = c, i.suits.suit = n[c] ? c : ""), i.theme = c;
1208
+ return n.themes.value = {
1209
+ ...n.themes.value,
1210
+ ...l
1211
+ }, U(() => i.theme, (u) => {
1212
+ u === "system" ? n.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : (n.global.name.value = u, i.suits.suit = s[u] ? u : ""), i.theme = u;
1150
1213
  }, { immediate: !0 }), {
1151
- suit: l,
1152
- CDN_URL: d
1214
+ suit: r,
1215
+ CDN_URL: c
1153
1216
  };
1154
- }), jo = /* @__PURE__ */ k({
1217
+ }), To = /* @__PURE__ */ $({
1155
1218
  __name: "VoSettingsDialog",
1156
1219
  props: {
1157
1220
  modelValue: { type: Boolean },
1158
1221
  modelModifiers: {}
1159
1222
  },
1160
1223
  emits: ["update:modelValue"],
1161
- setup(d) {
1162
- const e = ie(d, "modelValue"), i = F(), s = j(), r = Be(), n = O(), l = [
1224
+ setup(c) {
1225
+ const e = ie(c, "modelValue"), i = z(), n = j(), l = Ne(), s = F(), r = [
1163
1226
  {
1164
1227
  title: "Light",
1165
1228
  subtitle: "A standard light theme.",
1166
- image: r.CDN_URL + "themes/light.png",
1229
+ image: l.CDN_URL + "themes/light.png",
1167
1230
  prependIcon: `svg:${Dt}`,
1168
1231
  value: "light"
1169
1232
  },
1170
1233
  {
1171
1234
  title: "Dark",
1172
1235
  subtitle: "A standard dark theme.",
1173
- image: r.CDN_URL + "themes/dark.png",
1174
- prependIcon: `svg:${Ut}`,
1236
+ image: l.CDN_URL + "themes/dark.png",
1237
+ prependIcon: `svg:${Bt}`,
1175
1238
  value: "dark"
1176
1239
  },
1177
1240
  {
1178
1241
  title: "System",
1179
1242
  subtitle: "A theme based on the system preference.",
1180
- image: r.CDN_URL + "themes/system.png",
1181
- prependIcon: `svg:${Bt}`,
1243
+ image: l.CDN_URL + "themes/system.png",
1244
+ prependIcon: `svg:${Nt}`,
1182
1245
  value: "system"
1183
1246
  },
1184
1247
  {
1185
1248
  title: "Blackguard",
1186
1249
  subtitle: "A theme for v3.4 Blackguard.",
1187
- image: r.CDN_URL + "themes/blackguard.png",
1250
+ image: l.CDN_URL + "themes/blackguard.png",
1188
1251
  prependIcon: `svg:${Je}`,
1189
1252
  value: "blackguard"
1190
1253
  },
1191
1254
  {
1192
1255
  title: "Polaris",
1193
1256
  subtitle: "A theme for v3.5 Polaris.",
1194
- image: r.CDN_URL + "themes/polaris.png",
1257
+ image: l.CDN_URL + "themes/polaris.png",
1195
1258
  prependIcon: `svg:${Xe}`,
1196
1259
  value: "polaris"
1197
1260
  },
1198
1261
  {
1199
1262
  title: "Nebula",
1200
1263
  subtitle: "A theme for v3.6 Nebula.",
1201
- image: r.CDN_URL + "themes/nebula.png",
1264
+ image: l.CDN_URL + "themes/nebula.png",
1202
1265
  prependIcon: `svg:${Ke}`,
1203
1266
  value: "nebula"
1204
1267
  },
1205
1268
  {
1206
1269
  title: "High Contrast",
1207
1270
  subtitle: "A theme for high contrast.",
1208
- image: r.CDN_URL + "themes/high-contrast.png",
1209
- prependIcon: `svg:${Nt}`,
1271
+ image: l.CDN_URL + "themes/high-contrast.png",
1272
+ prependIcon: `svg:${Ut}`,
1210
1273
  value: "highContrast",
1211
1274
  disabled: !0
1212
1275
  }
1213
- ], c = Ve();
1214
- return N(c, async () => {
1215
- c.value.one === "settings" && (s.isOpen = !0, await fe(), e.value = !0);
1216
- }, { immediate: !0 }), (v, u) => {
1217
- const m = ye, b = Fo, V = pt, L = Ue;
1218
- return p(), f(L, {
1276
+ ], u = Ve();
1277
+ return U(u, async () => {
1278
+ u.value.one === "settings" && (n.isOpen = !0, await fe(), e.value = !0);
1279
+ }, { immediate: !0 }), (f, d) => {
1280
+ const h = ye, k = Fo, y = pt, w = Be;
1281
+ return p(), _(w, {
1219
1282
  modelValue: e.value,
1220
- "onUpdate:modelValue": u[5] || (u[5] = (_) => e.value = _),
1283
+ "onUpdate:modelValue": d[5] || (d[5] = (m) => e.value = m),
1221
1284
  "prepend-icon": `svg:${t(Ot)}`,
1222
1285
  title: "Settings"
1223
1286
  }, {
@@ -1228,45 +1291,45 @@ const Be = X("settings", () => {
1228
1291
  default: a(() => [
1229
1292
  o(K, { class: "px-7" }, {
1230
1293
  default: a(() => [
1231
- o(m, {
1294
+ o(h, {
1232
1295
  text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
1233
1296
  title: "Theme"
1234
1297
  }),
1235
1298
  o(at, {
1236
- modelValue: t(n).theme,
1237
- "onUpdate:modelValue": u[0] || (u[0] = (_) => t(n).theme = _),
1299
+ modelValue: t(s).theme,
1300
+ "onUpdate:modelValue": d[0] || (d[0] = (m) => t(s).theme = m),
1238
1301
  mandatory: ""
1239
1302
  }, {
1240
1303
  default: a(() => [
1241
1304
  o(Le, { dense: "" }, {
1242
1305
  default: a(() => [
1243
- (p(), w(U, null, oe(l, (_, y) => o(me, {
1244
- key: y,
1306
+ (p(), S(D, null, oe(r, (m, v) => o(me, {
1307
+ key: v,
1245
1308
  cols: "12",
1246
1309
  md: "6"
1247
1310
  }, {
1248
1311
  default: a(() => [
1249
- o(je, {
1250
- value: _.value
1312
+ o(Te, {
1313
+ value: m.value
1251
1314
  }, {
1252
- default: a(({ toggle: x, isSelected: z }) => [
1315
+ default: a(({ toggle: V, isSelected: O }) => [
1253
1316
  o(Ce, null, {
1254
- default: a(({ props: T, isHovering: te }) => [
1255
- o(P, R({
1256
- color: z ? "primary" : "surface-variant",
1257
- disabled: _.disabled,
1258
- image: _.image,
1259
- "prepend-icon": _.prependIcon,
1260
- ripple: !_.disabled,
1261
- subtitle: _.disabled ? "In Development" : _.subtitle,
1262
- title: _.title,
1317
+ default: a(({ props: M, isHovering: te }) => [
1318
+ o(H, R({
1319
+ color: O ? "primary" : "surface-variant",
1320
+ disabled: m.disabled,
1321
+ image: m.image,
1322
+ "prepend-icon": m.prependIcon,
1323
+ ripple: !m.disabled,
1324
+ subtitle: m.disabled ? "In Development" : m.subtitle,
1325
+ title: m.title,
1263
1326
  height: "76",
1264
1327
  variant: "tonal"
1265
- }, T, { onClick: x }), {
1328
+ }, M, { onClick: V }), {
1266
1329
  image: a(() => [
1267
1330
  o(ge, {
1268
1331
  style: Qe({
1269
- filter: z || te ? "none" : "grayscale(100%)"
1332
+ filter: O || te ? "none" : "grayscale(100%)"
1270
1333
  })
1271
1334
  }, null, 8, ["style"])
1272
1335
  ]),
@@ -1287,65 +1350,65 @@ const Be = X("settings", () => {
1287
1350
  ]),
1288
1351
  _: 1
1289
1352
  }, 8, ["modelValue"]),
1290
- t(i).isSubscriber ? (p(), w(U, { key: 0 }, [
1291
- o(W, { class: "mt-6 mb-4" }),
1292
- o(b)
1293
- ], 64)) : $("", !0)
1353
+ t(i).isSubscriber ? (p(), S(D, { key: 0 }, [
1354
+ o(E, { class: "mt-6 mb-4" }),
1355
+ o(k)
1356
+ ], 64)) : x("", !0)
1294
1357
  ]),
1295
1358
  _: 1
1296
1359
  }),
1297
- o(W),
1360
+ o(E),
1298
1361
  o(K, { class: "px-7" }, {
1299
1362
  default: a(() => [
1300
- o(m, {
1363
+ o(h, {
1301
1364
  text: "These options change your browsing experience within Vuetify properties",
1302
1365
  title: "Experience"
1303
1366
  }),
1304
- t(i).isSubscriber ? (p(), f(V, {
1367
+ t(i).isSubscriber ? (p(), _(y, {
1305
1368
  key: 0,
1306
- modelValue: t(n).disableAds,
1307
- "onUpdate:modelValue": u[1] || (u[1] = (_) => t(n).disableAds = _),
1369
+ modelValue: t(s).disableAds,
1370
+ "onUpdate:modelValue": d[1] || (d[1] = (m) => t(s).disableAds = m),
1308
1371
  class: "mb-2",
1309
1372
  label: "Disable Ads",
1310
1373
  messages: "Disable traditional advertisements on all documentation pages."
1311
- }, null, 8, ["modelValue"])) : $("", !0),
1312
- o(V, {
1313
- modelValue: t(n).quickbar,
1314
- "onUpdate:modelValue": u[2] || (u[2] = (_) => t(n).quickbar = _),
1374
+ }, null, 8, ["modelValue"])) : x("", !0),
1375
+ o(y, {
1376
+ modelValue: t(s).quickbar,
1377
+ "onUpdate:modelValue": d[2] || (d[2] = (m) => t(s).quickbar = m),
1315
1378
  label: "Enable Quick Actions",
1316
1379
  messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
1317
1380
  }, null, 8, ["modelValue"])
1318
1381
  ]),
1319
1382
  _: 1
1320
1383
  }),
1321
- o(W),
1322
- t(i).isSubscriber ? (p(), f(K, {
1384
+ o(E),
1385
+ t(i).isSubscriber ? (p(), _(K, {
1323
1386
  key: 0,
1324
1387
  class: "px-7"
1325
1388
  }, {
1326
1389
  default: a(() => [
1327
- o(m, {
1390
+ o(h, {
1328
1391
  text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
1329
1392
  title: "Communication"
1330
1393
  }),
1331
- o(V, {
1332
- modelValue: t(n).notifications.show,
1333
- "onUpdate:modelValue": u[3] || (u[3] = (_) => t(n).notifications.show = _),
1394
+ o(y, {
1395
+ modelValue: t(s).notifications.show,
1396
+ "onUpdate:modelValue": d[3] || (d[3] = (m) => t(s).notifications.show = m),
1334
1397
  class: "mb-2",
1335
1398
  label: "Enable Notifications",
1336
1399
  messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
1337
1400
  }, null, 8, ["modelValue"]),
1338
- t(n).notifications.show ? (p(), f(V, {
1401
+ t(s).notifications.show ? (p(), _(y, {
1339
1402
  key: 0,
1340
- modelValue: t(n).notifications.banners,
1341
- "onUpdate:modelValue": u[4] || (u[4] = (_) => t(n).notifications.banners = _),
1403
+ modelValue: t(s).notifications.banners,
1404
+ "onUpdate:modelValue": d[4] || (d[4] = (m) => t(s).notifications.banners = m),
1342
1405
  class: "mb-2",
1343
1406
  label: "Enable Banners",
1344
1407
  messages: "Banners are located at the top of the screen and provide a callout for important information."
1345
- }, null, 8, ["modelValue"])) : $("", !0)
1408
+ }, null, 8, ["modelValue"])) : x("", !0)
1346
1409
  ]),
1347
1410
  _: 1
1348
- })) : $("", !0)
1411
+ })) : x("", !0)
1349
1412
  ]),
1350
1413
  _: 1
1351
1414
  })
@@ -1357,43 +1420,43 @@ const Be = X("settings", () => {
1357
1420
  }, 8, ["modelValue", "prepend-icon"]);
1358
1421
  };
1359
1422
  }
1360
- }), To = /* @__PURE__ */ k({
1423
+ }), jo = /* @__PURE__ */ $({
1361
1424
  __name: "VoSettingsListItem",
1362
- setup(d) {
1363
- const e = D(!1);
1364
- return (i, s) => {
1365
- const r = jo, n = Y;
1366
- return p(), f(n, {
1425
+ setup(c) {
1426
+ const e = B(!1);
1427
+ return (i, n) => {
1428
+ const l = To, s = Y;
1429
+ return p(), _(s, {
1367
1430
  active: e.value,
1368
1431
  "prepend-icon": `svg:${t(Ft)}`,
1369
1432
  title: "Settings",
1370
1433
  link: ""
1371
1434
  }, {
1372
1435
  default: a(() => [
1373
- o(r, {
1436
+ o(l, {
1374
1437
  modelValue: e.value,
1375
- "onUpdate:modelValue": s[0] || (s[0] = (l) => e.value = l)
1438
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r)
1376
1439
  }, null, 8, ["modelValue"])
1377
1440
  ]),
1378
1441
  _: 1
1379
1442
  }, 8, ["active", "prepend-icon"]);
1380
1443
  };
1381
1444
  }
1382
- }), Mo = { class: "text-caption" }, Po = /* @__PURE__ */ k({
1445
+ }), Mo = { class: "text-caption" }, Po = /* @__PURE__ */ $({
1383
1446
  __name: "VoSubscriptionInvoices",
1384
- setup(d) {
1447
+ setup(c) {
1385
1448
  const e = Se(), i = j();
1386
- return (s, r) => {
1387
- const n = ye;
1388
- return p(), f(Le, null, {
1449
+ return (n, l) => {
1450
+ const s = ye;
1451
+ return p(), _(Le, null, {
1389
1452
  default: a(() => [
1390
1453
  o(me, { cols: "12" }, {
1391
1454
  default: a(() => [
1392
- o(n, {
1455
+ o(s, {
1393
1456
  text: "View and download your invoice history.",
1394
1457
  title: "Invoice History"
1395
1458
  }),
1396
- o(P, {
1459
+ o(H, {
1397
1460
  height: "450",
1398
1461
  rounded: "lg",
1399
1462
  border: ""
@@ -1404,15 +1467,15 @@ const Be = X("settings", () => {
1404
1467
  loading: t(i).isLoading,
1405
1468
  sticky: ""
1406
1469
  }, {
1407
- "item.date": a(({ item: l }) => [
1408
- h("div", Mo, I(t(e).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
1470
+ "item.date": a(({ item: r }) => [
1471
+ g("div", Mo, I(t(e).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
1409
1472
  ]),
1410
- "item.amount": a(({ item: l }) => [
1411
- B(" $" + I(l.amount / 100), 1)
1473
+ "item.amount": a(({ item: r }) => [
1474
+ N(" $" + I(r.amount / 100), 1)
1412
1475
  ]),
1413
- "item.status": a(({ item: l }) => [
1414
- o(q, {
1415
- text: l.status,
1476
+ "item.status": a(({ item: r }) => [
1477
+ o(G, {
1478
+ text: r.status,
1416
1479
  border: "success sm",
1417
1480
  class: "text-capitalize",
1418
1481
  color: "success",
@@ -1421,9 +1484,9 @@ const Be = X("settings", () => {
1421
1484
  label: ""
1422
1485
  }, null, 8, ["text"])
1423
1486
  ]),
1424
- "item.pdf": a(({ item: l }) => [
1425
- o(E, {
1426
- href: l.pdf,
1487
+ "item.pdf": a(({ item: r }) => [
1488
+ o(W, {
1489
+ href: r.pdf,
1427
1490
  icon: `svg:${t(zt)}`,
1428
1491
  size: "small",
1429
1492
  target: "_blank",
@@ -1446,89 +1509,89 @@ const Be = X("settings", () => {
1446
1509
  }), Ro = { class: "d-flex align-center" }, Ho = {
1447
1510
  key: "status",
1448
1511
  class: "text-capitalize hidden-sm-and-down"
1449
- }, Eo = /* @__PURE__ */ h("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), Wo = { class: "me-1" }, Go = { class: "text-medium-emphasis text-caption" }, qo = { class: "d-flex align-start justify-space-between text-caption py-2" }, Zo = { class: "font-weight-bold" }, Yo = { class: "font-weight-bold" }, Qo = /* @__PURE__ */ k({
1512
+ }, Eo = /* @__PURE__ */ g("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), Wo = { class: "me-1" }, Go = { class: "text-medium-emphasis text-caption" }, qo = { class: "d-flex align-start justify-space-between text-caption py-2" }, Zo = { class: "font-weight-bold" }, Yo = { class: "font-weight-bold" }, Qo = /* @__PURE__ */ $({
1450
1513
  __name: "VoSubscriptionStatus",
1451
1514
  emits: ["change:subscription"],
1452
- setup(d, { emit: e }) {
1453
- const i = Se(), s = j(), r = e, n = S(() => {
1454
- if (!s.info)
1515
+ setup(c, { emit: e }) {
1516
+ const i = Se(), n = j(), l = e, s = L(() => {
1517
+ if (!n.info)
1455
1518
  return;
1456
- const c = new Date(s.info.currentPeriodEnd * 1e3);
1457
- return i.format(c, "keyboardDate");
1519
+ const u = new Date(n.info.currentPeriodEnd * 1e3);
1520
+ return i.format(u, "keyboardDate");
1458
1521
  });
1459
- async function l() {
1460
- s.interval && (s.isLoading = !0, s.subscribe(s.interval));
1522
+ async function r() {
1523
+ n.interval && (n.isLoading = !0, n.subscribe(n.interval));
1461
1524
  }
1462
- return (c, v) => {
1463
- const u = ne;
1464
- return p(), f(Le, null, {
1525
+ return (u, f) => {
1526
+ const d = se;
1527
+ return p(), _(Le, null, {
1465
1528
  default: a(() => [
1466
1529
  o(me, { cols: "12" }, {
1467
1530
  default: a(() => {
1468
- var m, b;
1531
+ var h, k;
1469
1532
  return [
1470
- o(P, {
1533
+ o(H, {
1471
1534
  "prepend-icon": "$vuetify",
1472
1535
  rounded: "lg",
1473
1536
  title: "Subscription Status",
1474
1537
  border: "",
1475
1538
  flat: ""
1476
- }, G({
1539
+ }, q({
1477
1540
  append: a(() => {
1478
- var V;
1541
+ var y;
1479
1542
  return [
1480
- t(s).hasBilling && ((V = t(s).info) == null ? void 0 : V.status) === "canceled" ? (p(), f(u, {
1543
+ t(n).hasBilling && ((y = t(n).info) == null ? void 0 : y.status) === "canceled" ? (p(), _(d, {
1481
1544
  key: 0,
1482
- loading: t(s).isLoading,
1545
+ loading: t(n).isLoading,
1483
1546
  class: "me-2",
1484
1547
  color: "success",
1485
1548
  "prepend-icon": "$success",
1486
1549
  text: "Activate",
1487
1550
  variant: "outlined",
1488
- onClick: l
1489
- }, null, 8, ["loading"])) : $("", !0),
1490
- t(s).hasBilling ? (p(), f(u, {
1551
+ onClick: r
1552
+ }, null, 8, ["loading"])) : x("", !0),
1553
+ t(n).hasBilling ? (p(), _(d, {
1491
1554
  key: 1,
1492
- loading: t(s).isLoading,
1493
- "prepend-icon": `svg:${t(jt)}`,
1555
+ loading: t(n).isLoading,
1556
+ "prepend-icon": `svg:${t(Tt)}`,
1494
1557
  text: "Billing",
1495
- onClick: t(s).manage
1496
- }, null, 8, ["loading", "prepend-icon", "onClick"])) : $("", !0)
1558
+ onClick: t(n).manage
1559
+ }, null, 8, ["loading", "prepend-icon", "onClick"])) : x("", !0)
1497
1560
  ];
1498
1561
  }),
1499
1562
  _: 2
1500
1563
  }, [
1501
- t(s).info ? {
1564
+ t(n).info ? {
1502
1565
  name: "subtitle",
1503
1566
  fn: a(() => [
1504
- h("div", Ro, [
1505
- h("span", Ho, I(t(s).info.status), 1),
1506
- t(s).info.items.length ? (p(), w(U, { key: 0 }, [
1567
+ g("div", Ro, [
1568
+ g("span", Ho, I(t(n).info.status), 1),
1569
+ t(n).info.items.length ? (p(), S(D, { key: 0 }, [
1507
1570
  Eo,
1508
- h("span", Wo, [
1509
- B(" $" + I(t(s).info.items[0].plan.amount / 100), 1),
1510
- h("span", Go, "/" + I(t(s).interval), 1)
1571
+ g("span", Wo, [
1572
+ N(" $" + I(t(n).info.items[0].plan.amount / 100), 1),
1573
+ g("span", Go, "/" + I(t(n).interval), 1)
1511
1574
  ]),
1512
- o(u, {
1575
+ o(d, {
1513
1576
  size: "x-small",
1514
1577
  text: "(Change Subscription)",
1515
1578
  variant: "text",
1516
- onClick: v[0] || (v[0] = (V) => r("change:subscription"))
1579
+ onClick: f[0] || (f[0] = (y) => l("change:subscription"))
1517
1580
  })
1518
- ], 64)) : $("", !0)
1581
+ ], 64)) : x("", !0)
1519
1582
  ])
1520
1583
  ]),
1521
1584
  key: "0"
1522
1585
  } : {
1523
1586
  name: "subtitle",
1524
1587
  fn: a(() => [
1525
- h("div", { class: "d-flex align-center" }, [
1588
+ g("div", { class: "d-flex align-center" }, [
1526
1589
  o(Ye, {
1527
1590
  height: "16",
1528
1591
  type: "ossein",
1529
1592
  width: "40"
1530
1593
  }),
1531
- h("span", { class: "mx-1" }, "—"),
1594
+ g("span", { class: "mx-1" }, "—"),
1532
1595
  o(Ye, {
1533
1596
  height: "16",
1534
1597
  type: "ossein",
@@ -1539,16 +1602,16 @@ const Be = X("settings", () => {
1539
1602
  key: "1"
1540
1603
  }
1541
1604
  ]), 1024),
1542
- h("div", qo, [
1543
- h("div", null, [
1544
- ((m = t(s).info) == null ? void 0 : m.status) === "active" ? (p(), w(U, { key: 0 }, [
1545
- B(" Your plan renews on "),
1546
- h("span", Zo, I(t(i).format(n.value, "fullDateWithWeekday")), 1),
1547
- B(". ")
1548
- ], 64)) : (p(), w(U, { key: 1 }, [
1549
- B(" Your plan ends on "),
1550
- h("span", Yo, I(t(i).format((b = t(s).info) == null ? void 0 : b.currentPeriodEnd, "fullDateWithWeekday")), 1),
1551
- B(". ")
1605
+ g("div", qo, [
1606
+ g("div", null, [
1607
+ ((h = t(n).info) == null ? void 0 : h.status) === "active" ? (p(), S(D, { key: 0 }, [
1608
+ N(" Your plan renews on "),
1609
+ g("span", Zo, I(t(i).format(s.value, "fullDateWithWeekday")), 1),
1610
+ N(". ")
1611
+ ], 64)) : (p(), S(D, { key: 1 }, [
1612
+ N(" Your plan ends on "),
1613
+ g("span", Yo, I(t(i).format((k = t(n).info) == null ? void 0 : k.currentPeriodEnd, "fullDateWithWeekday")), 1),
1614
+ N(". ")
1552
1615
  ], 64))
1553
1616
  ])
1554
1617
  ])
@@ -1561,9 +1624,9 @@ const Be = X("settings", () => {
1561
1624
  });
1562
1625
  };
1563
1626
  }
1564
- }), Jo = /* @__PURE__ */ h("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Xo = ["innerHTML"], Ko = /* @__PURE__ */ h("br", null, null, -1), es = /* @__PURE__ */ h("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), ts = ["innerHTML"], os = /* @__PURE__ */ k({
1627
+ }), Jo = /* @__PURE__ */ g("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Xo = ["innerHTML"], Ko = /* @__PURE__ */ g("br", null, null, -1), en = /* @__PURE__ */ g("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), tn = ["innerHTML"], on = /* @__PURE__ */ $({
1565
1628
  __name: "VoSubscriptionPerks",
1566
- setup(d) {
1629
+ setup(c) {
1567
1630
  const e = [
1568
1631
  "Ad Free Experience on all Vuetify properties",
1569
1632
  'Save and share code snippets with <a href="https://vbin.io/" target="_blank">VBin</a>',
@@ -1574,15 +1637,15 @@ const Be = X("settings", () => {
1574
1637
  'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
1575
1638
  'Save and share your playgrounds with <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>',
1576
1639
  "Receive a special label on GitHub created issues and pull requests"
1577
- ], s = D(!1), r = j();
1578
- return N(s, async (n) => {
1579
- n && r.subscriptionInfo();
1580
- }), (n, l) => {
1581
- const c = Y;
1582
- return p(), w(U, null, [
1640
+ ], n = B(!1), l = j();
1641
+ return U(n, async (s) => {
1642
+ s && l.subscriptionInfo();
1643
+ }), (s, r) => {
1644
+ const u = Y;
1645
+ return p(), S(D, null, [
1583
1646
  o(ze, { class: "font-weight-black" }, {
1584
1647
  default: a(() => [
1585
- B("Perks")
1648
+ N("Perks")
1586
1649
  ]),
1587
1650
  _: 1
1588
1651
  }),
@@ -1594,8 +1657,8 @@ const Be = X("settings", () => {
1594
1657
  nav: ""
1595
1658
  }, {
1596
1659
  default: a(() => [
1597
- (p(), w(U, null, oe(e, (v, u) => o(c, {
1598
- key: u,
1660
+ (p(), S(D, null, oe(e, (f, d) => o(u, {
1661
+ key: d,
1599
1662
  "prepend-icon": `svg:${t(re)}`,
1600
1663
  class: "mb-0"
1601
1664
  }, {
@@ -1607,7 +1670,7 @@ const Be = X("settings", () => {
1607
1670
  })
1608
1671
  ]),
1609
1672
  title: a(() => [
1610
- h("div", { innerHTML: v }, null, 8, Xo)
1673
+ g("div", { innerHTML: f }, null, 8, Xo)
1611
1674
  ]),
1612
1675
  _: 2
1613
1676
  }, 1032, ["prepend-icon"])), 64))
@@ -1617,11 +1680,11 @@ const Be = X("settings", () => {
1617
1680
  Ko,
1618
1681
  o(ze, { class: "font-weight-black" }, {
1619
1682
  default: a(() => [
1620
- B("Up Next")
1683
+ N("Up Next")
1621
1684
  ]),
1622
1685
  _: 1
1623
1686
  }),
1624
- es,
1687
+ en,
1625
1688
  o(ee, {
1626
1689
  lines: !1,
1627
1690
  class: "py-0",
@@ -1629,9 +1692,9 @@ const Be = X("settings", () => {
1629
1692
  nav: ""
1630
1693
  }, {
1631
1694
  default: a(() => [
1632
- (p(), w(U, null, oe(i, (v, u) => o(c, {
1633
- key: u,
1634
- "prepend-icon": `svg:${t(Tt)}`,
1695
+ (p(), S(D, null, oe(i, (f, d) => o(u, {
1696
+ key: d,
1697
+ "prepend-icon": `svg:${t(jt)}`,
1635
1698
  class: "mb-0"
1636
1699
  }, {
1637
1700
  prepend: a(() => [
@@ -1641,7 +1704,7 @@ const Be = X("settings", () => {
1641
1704
  })
1642
1705
  ]),
1643
1706
  title: a(() => [
1644
- h("div", { innerHTML: v }, null, 8, ts)
1707
+ g("div", { innerHTML: f }, null, 8, tn)
1645
1708
  ]),
1646
1709
  _: 2
1647
1710
  }, 1032, ["prepend-icon"])), 64))
@@ -1651,7 +1714,7 @@ const Be = X("settings", () => {
1651
1714
  ], 64);
1652
1715
  };
1653
1716
  }
1654
- }), ss = /* @__PURE__ */ k({
1717
+ }), nn = /* @__PURE__ */ $({
1655
1718
  __name: "VoSubscriptionSubscribe",
1656
1719
  props: {
1657
1720
  modelValue: {
@@ -1660,15 +1723,15 @@ const Be = X("settings", () => {
1660
1723
  modelModifiers: {}
1661
1724
  },
1662
1725
  emits: ["update:modelValue"],
1663
- setup(d) {
1664
- const e = D(!1), i = ie(d, "modelValue"), s = j();
1665
- return N(e, async (r) => {
1666
- r && s.subscriptionInfo();
1667
- }), N(() => s.interval, (r) => {
1668
- i.value = r;
1669
- }, { immediate: !0 }), (r, n) => (p(), f(at, {
1726
+ setup(c) {
1727
+ const e = B(!1), i = ie(c, "modelValue"), n = j();
1728
+ return U(e, async (l) => {
1729
+ l && n.subscriptionInfo();
1730
+ }), U(() => n.interval, (l) => {
1731
+ i.value = l;
1732
+ }, { immediate: !0 }), (l, s) => (p(), _(at, {
1670
1733
  modelValue: i.value,
1671
- "onUpdate:modelValue": n[0] || (n[0] = (l) => i.value = l),
1734
+ "onUpdate:modelValue": s[0] || (s[0] = (r) => i.value = r),
1672
1735
  mandatory: ""
1673
1736
  }, {
1674
1737
  default: a(() => [
@@ -1679,17 +1742,17 @@ const Be = X("settings", () => {
1679
1742
  md: "6"
1680
1743
  }, {
1681
1744
  default: a(() => [
1682
- o(je, { value: "month" }, {
1683
- default: a(({ toggle: l, isSelected: c }) => [
1684
- o(P, {
1685
- border: c ? "sm primary opacity-100" : "sm",
1686
- color: c ? "primary" : void 0,
1687
- "prepend-icon": c ? `svg:${t(pe)}` : "$radioOff",
1688
- variant: c ? "tonal" : "text",
1745
+ o(Te, { value: "month" }, {
1746
+ default: a(({ toggle: r, isSelected: u }) => [
1747
+ o(H, {
1748
+ border: u ? "sm primary opacity-100" : "sm",
1749
+ color: u ? "primary" : void 0,
1750
+ "prepend-icon": u ? `svg:${t(pe)}` : "$radioOff",
1751
+ variant: u ? "tonal" : "text",
1689
1752
  rounded: "lg",
1690
1753
  subtitle: "$2.99/month",
1691
1754
  title: "Monthly",
1692
- onClick: l
1755
+ onClick: r
1693
1756
  }, {
1694
1757
  prepend: a(() => [
1695
1758
  o(A, { class: "mt-n6" })
@@ -1707,23 +1770,23 @@ const Be = X("settings", () => {
1707
1770
  md: "6"
1708
1771
  }, {
1709
1772
  default: a(() => [
1710
- o(je, { value: "year" }, {
1711
- default: a(({ toggle: l, isSelected: c }) => [
1712
- o(P, {
1713
- border: c ? "sm primary opacity-100" : "sm",
1714
- color: c ? "primary" : void 0,
1715
- "prepend-icon": c ? `svg:${t(pe)}` : "$radioOff",
1716
- variant: c ? "tonal" : "text",
1773
+ o(Te, { value: "year" }, {
1774
+ default: a(({ toggle: r, isSelected: u }) => [
1775
+ o(H, {
1776
+ border: u ? "sm primary opacity-100" : "sm",
1777
+ color: u ? "primary" : void 0,
1778
+ "prepend-icon": u ? `svg:${t(pe)}` : "$radioOff",
1779
+ variant: u ? "tonal" : "text",
1717
1780
  rounded: "lg",
1718
1781
  subtitle: "$29.99/year",
1719
1782
  title: "Yearly",
1720
- onClick: l
1783
+ onClick: r
1721
1784
  }, {
1722
1785
  prepend: a(() => [
1723
1786
  o(A, { class: "mt-n6" })
1724
1787
  ]),
1725
1788
  append: a(() => [
1726
- o(q, {
1789
+ o(G, {
1727
1790
  class: "mt-n6",
1728
1791
  color: "success",
1729
1792
  size: "small",
@@ -1746,67 +1809,67 @@ const Be = X("settings", () => {
1746
1809
  _: 1
1747
1810
  }, 8, ["modelValue"]));
1748
1811
  }
1749
- }), ns = { class: "px-3" }, as = /* @__PURE__ */ h("br", null, null, -1), is = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, rs = /* @__PURE__ */ k({
1812
+ }), sn = { class: "px-3" }, an = /* @__PURE__ */ g("br", null, null, -1), rn = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, ln = /* @__PURE__ */ $({
1750
1813
  __name: "VoSubscriptionDialog",
1751
1814
  props: {
1752
1815
  modelValue: { type: Boolean },
1753
1816
  modelModifiers: {}
1754
1817
  },
1755
1818
  emits: ["update:modelValue"],
1756
- setup(d) {
1757
- function e(u) {
1758
- return new Promise((m) => setTimeout(m, u));
1819
+ setup(c) {
1820
+ function e(d) {
1821
+ return new Promise((h) => setTimeout(h, d));
1759
1822
  }
1760
- const i = ie(d, "modelValue"), s = j(), r = Ve(), n = D(s.interval), l = D(s.hasBilling ? "status" : "subscribe"), c = D(!1);
1761
- N(n, (u) => {
1762
- !s.isSubscriber || !s.interval || (c.value = u !== s.interval);
1763
- }), N(i, async (u) => {
1764
- !u || !s.isSubscriber || s.subscriptionInfo();
1765
- }), N(r, async () => {
1766
- !s.sessionId && !["subscribe", "status"].includes(r.value.one) || (l.value = s.sessionId || r.value.one === "status" ? "status" : "subscribe", s.isOpen = !0, await fe(), i.value = !0);
1823
+ const i = ie(c, "modelValue"), n = j(), l = Ve(), s = B(n.interval), r = B(n.hasBilling ? "status" : "subscribe"), u = B(!1);
1824
+ U(s, (d) => {
1825
+ !n.isSubscriber || !n.interval || (u.value = d !== n.interval);
1826
+ }), U(i, async (d) => {
1827
+ !d || !n.isSubscriber || n.subscriptionInfo();
1828
+ }), U(l, async () => {
1829
+ !n.sessionId && !["subscribe", "status"].includes(l.value.one) || (r.value = n.sessionId || l.value.one === "status" ? "status" : "subscribe", n.isOpen = !0, await fe(), i.value = !0);
1767
1830
  }, { immediate: !0 });
1768
- async function v() {
1769
- await s.modify(n.value), await s.subscriptionInfo(), c.value = null, await e(3e3), l.value = "status", await e(300), c.value = !1;
1831
+ async function f() {
1832
+ await n.modify(s.value), await n.subscriptionInfo(), u.value = null, await e(3e3), r.value = "status", await e(300), u.value = !1;
1770
1833
  }
1771
- return (u, m) => {
1772
- const b = ye, V = ss, L = os, _ = Qo, y = Po, x = ne, z = Ue;
1773
- return p(), f(z, {
1834
+ return (d, h) => {
1835
+ const k = ye, y = nn, w = on, m = Qo, v = Po, V = se, O = Be;
1836
+ return p(), _(O, {
1774
1837
  modelValue: i.value,
1775
- "onUpdate:modelValue": m[4] || (m[4] = (T) => i.value = T),
1838
+ "onUpdate:modelValue": h[4] || (h[4] = (M) => i.value = M),
1776
1839
  "prepend-icon": `svg:${t(Mt)}`,
1777
1840
  title: "Subscriptions"
1778
- }, G({
1841
+ }, q({
1779
1842
  default: a(() => [
1780
1843
  o(Ie, null, {
1781
1844
  default: a(() => [
1782
1845
  o(Ae, { scrollable: "" }, {
1783
1846
  default: a(() => [
1784
- h("div", ns, [
1847
+ g("div", sn, [
1785
1848
  o(K, null, {
1786
1849
  default: a(() => [
1787
- o(b, {
1850
+ o(k, {
1788
1851
  text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
1789
1852
  title: "Vuetify One"
1790
1853
  }),
1791
- o(it, { "model-value": l.value }, {
1854
+ o(it, { "model-value": r.value }, {
1792
1855
  default: a(() => [
1793
1856
  o(de, { value: "subscribe" }, {
1794
1857
  default: a(() => [
1795
- o(V, {
1796
- modelValue: n.value,
1797
- "onUpdate:modelValue": m[0] || (m[0] = (T) => n.value = T)
1858
+ o(y, {
1859
+ modelValue: s.value,
1860
+ "onUpdate:modelValue": h[0] || (h[0] = (M) => s.value = M)
1798
1861
  }, null, 8, ["modelValue"]),
1799
- as,
1800
- o(L)
1862
+ an,
1863
+ o(w)
1801
1864
  ]),
1802
1865
  _: 1
1803
1866
  }),
1804
1867
  o(de, { value: "status" }, {
1805
1868
  default: a(() => [
1806
- o(_, {
1807
- "onChange:subscription": m[1] || (m[1] = (T) => l.value = "subscribe")
1869
+ o(m, {
1870
+ "onChange:subscription": h[1] || (h[1] = (M) => r.value = "subscribe")
1808
1871
  }),
1809
- o(y)
1872
+ o(v)
1810
1873
  ]),
1811
1874
  _: 1
1812
1875
  })
@@ -1826,37 +1889,37 @@ const Be = X("settings", () => {
1826
1889
  ]),
1827
1890
  _: 2
1828
1891
  }, [
1829
- l.value === "subscribe" ? {
1892
+ r.value === "subscribe" ? {
1830
1893
  name: "actions",
1831
1894
  fn: a(() => [
1832
- h("div", is, [
1833
- c.value !== !1 ? (p(), f(x, {
1895
+ g("div", rn, [
1896
+ u.value !== !1 ? (p(), _(V, {
1834
1897
  key: 0,
1835
- loading: t(s).isLoading,
1836
- "prepend-icon": `svg:${c.value !== null ? t(Pt) : t(pe)}`,
1837
- readonly: c.value === null,
1838
- text: c.value !== null ? "Modify Subscription" : "Success",
1898
+ loading: t(n).isLoading,
1899
+ "prepend-icon": `svg:${u.value !== null ? t(Pt) : t(pe)}`,
1900
+ readonly: u.value === null,
1901
+ text: u.value !== null ? "Modify Subscription" : "Success",
1839
1902
  color: "success",
1840
1903
  size: "default",
1841
1904
  block: "",
1842
- onClick: v
1843
- }, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(s).isSubscriber ? (p(), f(x, {
1905
+ onClick: f
1906
+ }, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(n).isSubscriber ? (p(), _(V, {
1844
1907
  key: 2,
1845
1908
  "prepend-icon": `svg:${t(Rt)}`,
1846
1909
  size: "default",
1847
1910
  text: "Manage Subscription",
1848
1911
  block: "",
1849
- onClick: m[3] || (m[3] = (T) => l.value = "status")
1850
- }, null, 8, ["prepend-icon"])) : (p(), f(x, {
1912
+ onClick: h[3] || (h[3] = (M) => r.value = "status")
1913
+ }, null, 8, ["prepend-icon"])) : (p(), _(V, {
1851
1914
  key: 1,
1852
- color: n.value ? "primary" : "disabled",
1853
- disabled: !n.value,
1854
- loading: t(s).isLoading,
1915
+ color: s.value ? "primary" : "disabled",
1916
+ disabled: !s.value,
1917
+ loading: t(n).isLoading,
1855
1918
  "prepend-icon": "$vuetify",
1856
1919
  size: "default",
1857
1920
  text: "Activate Subscription",
1858
1921
  block: "",
1859
- onClick: m[2] || (m[2] = (T) => t(s).subscribe(n.value))
1922
+ onClick: h[2] || (h[2] = (M) => t(n).subscribe(s.value))
1860
1923
  }, null, 8, ["color", "disabled", "loading"]))
1861
1924
  ])
1862
1925
  ]),
@@ -1865,43 +1928,43 @@ const Be = X("settings", () => {
1865
1928
  ]), 1032, ["modelValue", "prepend-icon"]);
1866
1929
  };
1867
1930
  }
1868
- }), ls = /* @__PURE__ */ k({
1931
+ }), cn = /* @__PURE__ */ $({
1869
1932
  __name: "VoSubscriptionListItem",
1870
- setup(d) {
1871
- const e = D(!1);
1872
- return (i, s) => {
1873
- const r = rs, n = Y;
1874
- return p(), f(n, {
1933
+ setup(c) {
1934
+ const e = B(!1);
1935
+ return (i, n) => {
1936
+ const l = ln, s = Y;
1937
+ return p(), _(s, {
1875
1938
  active: e.value,
1876
1939
  "prepend-icon": `svg:${t(Ht)}`,
1877
1940
  title: "Subscriptions",
1878
1941
  link: ""
1879
1942
  }, {
1880
1943
  default: a(() => [
1881
- o(r, {
1944
+ o(l, {
1882
1945
  modelValue: e.value,
1883
- "onUpdate:modelValue": s[0] || (s[0] = (l) => e.value = l)
1946
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r)
1884
1947
  }, null, 8, ["modelValue"])
1885
1948
  ]),
1886
1949
  _: 1
1887
1950
  }, 8, ["active", "prepend-icon"]);
1888
1951
  };
1889
1952
  }
1890
- }), cs = { class: "ps-16" }, us = /* @__PURE__ */ k({
1953
+ }), un = { class: "ps-16" }, dn = /* @__PURE__ */ $({
1891
1954
  __name: "VoSponsorshipsTimelineItemPatreon",
1892
- setup(d) {
1893
- const e = j(), i = Be();
1894
- return (s, r) => {
1895
- var l, c;
1896
- const n = ne;
1897
- return p(), f(Ze, {
1898
- "dot-color": (l = t(e).patreon) != null && l.isActive ? "success" : "transparent",
1899
- icon: (c = t(e).patreon) != null && c.isActive ? `svg:${t(re)}` : void 0,
1955
+ setup(c) {
1956
+ const e = j(), i = Ne();
1957
+ return (n, l) => {
1958
+ var r, u;
1959
+ const s = se;
1960
+ return p(), _(Ze, {
1961
+ "dot-color": (r = t(e).patreon) != null && r.isActive ? "success" : "transparent",
1962
+ icon: (u = t(e).patreon) != null && u.isActive ? `svg:${t(re)}` : void 0,
1900
1963
  size: "x-small",
1901
1964
  width: "100%"
1902
1965
  }, {
1903
1966
  default: a(() => [
1904
- o(P, {
1967
+ o(H, {
1905
1968
  "prepend-avatar": t(i).CDN_URL + "/logos/patreon.png",
1906
1969
  rounded: "lg",
1907
1970
  subtitle: "Support Vuetify through Patreon.",
@@ -1910,11 +1973,11 @@ const Be = X("settings", () => {
1910
1973
  border: ""
1911
1974
  }, {
1912
1975
  append: a(() => {
1913
- var v;
1976
+ var f;
1914
1977
  return [
1915
- h("div", cs, [
1916
- o(n, {
1917
- text: (v = t(e).patreon) != null && v.isActive ? "Active" : "Coming Soon",
1978
+ g("div", un, [
1979
+ o(s, {
1980
+ text: (f = t(e).patreon) != null && f.isActive ? "Active" : "Coming Soon",
1918
1981
  color: "surface-variant",
1919
1982
  readonly: ""
1920
1983
  }, null, 8, ["text"])
@@ -1922,13 +1985,13 @@ const Be = X("settings", () => {
1922
1985
  ];
1923
1986
  }),
1924
1987
  default: a(() => {
1925
- var v;
1988
+ var f;
1926
1989
  return [
1927
- (v = t(e).patreon) != null && v.isActive ? (p(), w(U, { key: 0 }, [
1928
- o(W),
1990
+ (f = t(e).patreon) != null && f.isActive ? (p(), S(D, { key: 0 }, [
1991
+ o(E),
1929
1992
  o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1930
1993
  default: a(() => [
1931
- o(q, {
1994
+ o(G, {
1932
1995
  "prepend-icon": `svg:${t(We)}`,
1933
1996
  text: t(e).patreon.tierName,
1934
1997
  color: "success",
@@ -1938,7 +2001,7 @@ const Be = X("settings", () => {
1938
2001
  ]),
1939
2002
  _: 1
1940
2003
  })
1941
- ], 64)) : $("", !0)
2004
+ ], 64)) : x("", !0)
1942
2005
  ];
1943
2006
  }),
1944
2007
  _: 1
@@ -1948,21 +2011,21 @@ const Be = X("settings", () => {
1948
2011
  }, 8, ["dot-color", "icon"]);
1949
2012
  };
1950
2013
  }
1951
- }), ds = { class: "ps-16" }, ps = /* @__PURE__ */ k({
2014
+ }), pn = { class: "ps-16" }, mn = /* @__PURE__ */ $({
1952
2015
  __name: "VoSponsorshipsTimelineItemDiscord",
1953
- setup(d) {
1954
- const e = j(), i = Be();
1955
- return (s, r) => {
1956
- var l, c;
1957
- const n = ne;
1958
- return p(), f(Ze, {
1959
- "dot-color": (l = t(e).discord) != null && l.isActive ? "success" : "transparent",
1960
- icon: (c = t(e).discord) != null && c.isActive ? `svg:${t(re)}` : void 0,
2016
+ setup(c) {
2017
+ const e = j(), i = Ne();
2018
+ return (n, l) => {
2019
+ var r, u;
2020
+ const s = se;
2021
+ return p(), _(Ze, {
2022
+ "dot-color": (r = t(e).discord) != null && r.isActive ? "success" : "transparent",
2023
+ icon: (u = t(e).discord) != null && u.isActive ? `svg:${t(re)}` : void 0,
1961
2024
  size: "x-small",
1962
2025
  width: "100%"
1963
2026
  }, {
1964
2027
  default: a(() => [
1965
- o(P, {
2028
+ o(H, {
1966
2029
  "prepend-avatar": t(i).CDN_URL + "/logos/discord.png",
1967
2030
  rounded: "lg",
1968
2031
  subtitle: "Support Vuetify through Discord.",
@@ -1971,29 +2034,29 @@ const Be = X("settings", () => {
1971
2034
  border: ""
1972
2035
  }, {
1973
2036
  append: a(() => {
1974
- var v, u, m, b, V, L;
2037
+ var f, d, h, k, y, w;
1975
2038
  return [
1976
- h("div", ds, [
1977
- o(n, {
1978
- color: (v = t(e).discord) != null && v.isActive ? "success" : "primary",
1979
- href: (u = t(e).discord) != null && u.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
1980
- "prepend-icon": `svg:${(m = t(e).discord) != null && m.isActive ? t(pe) : t(ve)}`,
1981
- readonly: (b = t(e).discord) == null ? void 0 : b.isActive,
1982
- target: (V = t(e).discord) != null && V.isActive ? void 0 : "_blank",
1983
- text: (L = t(e).discord) != null && L.isActive ? "Active" : "Info",
2039
+ g("div", pn, [
2040
+ o(s, {
2041
+ color: (f = t(e).discord) != null && f.isActive ? "success" : "primary",
2042
+ href: (d = t(e).discord) != null && d.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
2043
+ "prepend-icon": `svg:${(h = t(e).discord) != null && h.isActive ? t(pe) : t(ve)}`,
2044
+ readonly: (k = t(e).discord) == null ? void 0 : k.isActive,
2045
+ target: (y = t(e).discord) != null && y.isActive ? void 0 : "_blank",
2046
+ text: (w = t(e).discord) != null && w.isActive ? "Active" : "Info",
1984
2047
  width: "88"
1985
2048
  }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1986
2049
  ])
1987
2050
  ];
1988
2051
  }),
1989
2052
  default: a(() => {
1990
- var v;
2053
+ var f;
1991
2054
  return [
1992
- (v = t(e).discord) != null && v.isActive ? (p(), w(U, { key: 0 }, [
1993
- o(W),
2055
+ (f = t(e).discord) != null && f.isActive ? (p(), S(D, { key: 0 }, [
2056
+ o(E),
1994
2057
  o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1995
2058
  default: a(() => [
1996
- o(q, {
2059
+ o(G, {
1997
2060
  "prepend-icon": `svg:${t(We)}`,
1998
2061
  text: t(e).discord.tierName,
1999
2062
  color: "surface-variant",
@@ -2004,7 +2067,7 @@ const Be = X("settings", () => {
2004
2067
  ]),
2005
2068
  _: 1
2006
2069
  })
2007
- ], 64)) : $("", !0)
2070
+ ], 64)) : x("", !0)
2008
2071
  ];
2009
2072
  }),
2010
2073
  _: 1
@@ -2014,21 +2077,21 @@ const Be = X("settings", () => {
2014
2077
  }, 8, ["dot-color", "icon"]);
2015
2078
  };
2016
2079
  }
2017
- }), ms = { class: "ps-16" }, fs = /* @__PURE__ */ k({
2080
+ }), fn = { class: "ps-16" }, vn = /* @__PURE__ */ $({
2018
2081
  __name: "VoSponsorshipsTimelineItemGithub",
2019
- setup(d) {
2020
- const e = j(), i = Be();
2021
- return (s, r) => {
2022
- var l, c;
2023
- const n = ne;
2024
- return p(), f(Ze, {
2025
- "dot-color": (l = t(e).github) != null && l.isActive ? "success" : "transparent",
2026
- icon: (c = t(e).github) != null && c.isActive ? `svg:${t(re)}` : void 0,
2082
+ setup(c) {
2083
+ const e = j(), i = Ne();
2084
+ return (n, l) => {
2085
+ var r, u;
2086
+ const s = se;
2087
+ return p(), _(Ze, {
2088
+ "dot-color": (r = t(e).github) != null && r.isActive ? "success" : "transparent",
2089
+ icon: (u = t(e).github) != null && u.isActive ? `svg:${t(re)}` : void 0,
2027
2090
  size: "x-small",
2028
2091
  width: "100%"
2029
2092
  }, {
2030
2093
  default: a(() => [
2031
- o(P, {
2094
+ o(H, {
2032
2095
  "prepend-avatar": t(i).CDN_URL + "/logos/github.png",
2033
2096
  rounded: "lg",
2034
2097
  subtitle: "Support Vuetify through GitHub sponsors.",
@@ -2037,29 +2100,29 @@ const Be = X("settings", () => {
2037
2100
  border: ""
2038
2101
  }, {
2039
2102
  append: a(() => {
2040
- var v, u, m, b, V, L;
2103
+ var f, d, h, k, y, w;
2041
2104
  return [
2042
- h("div", ms, [
2043
- o(n, {
2044
- color: (v = t(e).github) != null && v.isActive ? "success" : "primary",
2045
- href: (u = t(e).github) != null && u.isActive ? void 0 : "https://github.com/sponsors/johnleider",
2046
- "prepend-icon": `svg:${(m = t(e).github) != null && m.isActive ? t(pe) : t(ve)}`,
2047
- readonly: (b = t(e).github) == null ? void 0 : b.isActive,
2048
- target: (V = t(e).github) != null && V.isActive ? void 0 : "_blank",
2049
- text: (L = t(e).github) != null && L.isActive ? "Active" : "Info",
2105
+ g("div", fn, [
2106
+ o(s, {
2107
+ color: (f = t(e).github) != null && f.isActive ? "success" : "primary",
2108
+ href: (d = t(e).github) != null && d.isActive ? void 0 : "https://github.com/sponsors/johnleider",
2109
+ "prepend-icon": `svg:${(h = t(e).github) != null && h.isActive ? t(pe) : t(ve)}`,
2110
+ readonly: (k = t(e).github) == null ? void 0 : k.isActive,
2111
+ target: (y = t(e).github) != null && y.isActive ? void 0 : "_blank",
2112
+ text: (w = t(e).github) != null && w.isActive ? "Active" : "Info",
2050
2113
  width: "88"
2051
2114
  }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
2052
2115
  ])
2053
2116
  ];
2054
2117
  }),
2055
2118
  default: a(() => {
2056
- var v;
2119
+ var f;
2057
2120
  return [
2058
- (v = t(e).github) != null && v.isActive ? (p(), w(U, { key: 0 }, [
2059
- o(W),
2121
+ (f = t(e).github) != null && f.isActive ? (p(), S(D, { key: 0 }, [
2122
+ o(E),
2060
2123
  o(K, { class: "d-flex justify-space-between align-center flex-wrap" }, {
2061
2124
  default: a(() => [
2062
- o(q, {
2125
+ o(G, {
2063
2126
  "prepend-icon": `svg:${t(We)}`,
2064
2127
  text: t(e).github.tierName,
2065
2128
  color: "surface-variant",
@@ -2070,7 +2133,7 @@ const Be = X("settings", () => {
2070
2133
  ]),
2071
2134
  _: 1
2072
2135
  })
2073
- ], 64)) : $("", !0)
2136
+ ], 64)) : x("", !0)
2074
2137
  ];
2075
2138
  }),
2076
2139
  _: 1
@@ -2080,12 +2143,12 @@ const Be = X("settings", () => {
2080
2143
  }, 8, ["dot-color", "icon"]);
2081
2144
  };
2082
2145
  }
2083
- }), vs = /* @__PURE__ */ k({
2146
+ }), _n = /* @__PURE__ */ $({
2084
2147
  __name: "VoSponsorshipsTimeline",
2085
- setup(d) {
2148
+ setup(c) {
2086
2149
  return (e, i) => {
2087
- const s = fs, r = ps, n = us;
2088
- return p(), f(vo, {
2150
+ const n = vn, l = mn, s = dn;
2151
+ return p(), _(vo, {
2089
2152
  class: "justify-start ms-n7",
2090
2153
  "line-inset": "12",
2091
2154
  side: "end",
@@ -2093,34 +2156,34 @@ const Be = X("settings", () => {
2093
2156
  "truncate-line": "both"
2094
2157
  }, {
2095
2158
  default: a(() => [
2096
- o(s),
2097
- o(r),
2098
- o(n)
2159
+ o(n),
2160
+ o(l),
2161
+ o(s)
2099
2162
  ]),
2100
2163
  _: 1
2101
2164
  });
2102
2165
  };
2103
2166
  }
2104
- }), _s = { class: "px-3 pb-5 d-flex flex-column" }, hs = { class: "py-4" }, gs = /* @__PURE__ */ h("div", { class: "text-caption text-medium-emphasis" }, [
2105
- /* @__PURE__ */ B(" A total of $2.99 or more unlocks "),
2106
- /* @__PURE__ */ h("span", { class: "font-weight-black" }, "all"),
2107
- /* @__PURE__ */ B(" Vuetify One benefits ")
2108
- ], -1), bs = /* @__PURE__ */ k({
2167
+ }), hn = { class: "px-3 pb-5 d-flex flex-column" }, gn = { class: "py-4" }, bn = /* @__PURE__ */ g("div", { class: "text-caption text-medium-emphasis" }, [
2168
+ /* @__PURE__ */ N(" A total of $2.99 or more unlocks "),
2169
+ /* @__PURE__ */ g("span", { class: "font-weight-black" }, "all"),
2170
+ /* @__PURE__ */ N(" Vuetify One benefits ")
2171
+ ], -1), yn = /* @__PURE__ */ $({
2109
2172
  __name: "VoSponsorshipsDialog",
2110
2173
  props: {
2111
2174
  modelValue: { type: Boolean },
2112
2175
  modelModifiers: {}
2113
2176
  },
2114
2177
  emits: ["update:modelValue"],
2115
- setup(d) {
2116
- const e = ie(d, "modelValue"), i = Ve(), s = F(), r = j();
2117
- return N(i, async () => {
2118
- i.value.one === "sponsorships" && (r.isOpen = !0, await fe(), e.value = !0);
2119
- }, { immediate: !0 }), (n, l) => {
2120
- const c = ye, v = vs, u = Me("v-empty-state"), m = Ue;
2121
- return p(), f(m, {
2178
+ setup(c) {
2179
+ const e = ie(c, "modelValue"), i = Ve(), n = z(), l = j();
2180
+ return U(i, async () => {
2181
+ i.value.one === "sponsorships" && (l.isOpen = !0, await fe(), e.value = !0);
2182
+ }, { immediate: !0 }), (s, r) => {
2183
+ const u = ye, f = _n, d = Me("v-empty-state"), h = Be;
2184
+ return p(), _(h, {
2122
2185
  modelValue: e.value,
2123
- "onUpdate:modelValue": l[0] || (l[0] = (b) => e.value = b),
2186
+ "onUpdate:modelValue": r[0] || (r[0] = (k) => e.value = k),
2124
2187
  "prepend-icon": `svg:${t(Et)}`,
2125
2188
  title: "Sponsorships"
2126
2189
  }, {
@@ -2129,18 +2192,18 @@ const Be = X("settings", () => {
2129
2192
  default: a(() => [
2130
2193
  o(Ae, { scrollable: "" }, {
2131
2194
  default: a(() => [
2132
- h("div", _s, [
2195
+ g("div", hn, [
2133
2196
  o(K, null, {
2134
2197
  default: a(() => [
2135
- o(c, {
2198
+ o(u, {
2136
2199
  text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
2137
2200
  title: "Support Vuetify"
2138
2201
  }),
2139
- o(v)
2202
+ o(f)
2140
2203
  ]),
2141
2204
  _: 1
2142
2205
  }),
2143
- o(u, {
2206
+ o(d, {
2144
2207
  icon: `svg:${t(Wt)}`,
2145
2208
  class: "mt-auto",
2146
2209
  "min-height": "auto",
@@ -2151,16 +2214,16 @@ const Be = X("settings", () => {
2151
2214
  o(A, { color: "success" })
2152
2215
  ]),
2153
2216
  headline: a(() => [
2154
- h("div", hs, [
2155
- t(s).isSubscriber ? (p(), w(U, { key: 0 }, [
2156
- B(" $" + I(parseFloat(String(t(r).monthlyTotal)).toFixed(2)), 1)
2157
- ], 64)) : (p(), w(U, { key: 1 }, [
2158
- B(" $0.00 ")
2217
+ g("div", gn, [
2218
+ t(n).isSubscriber ? (p(), S(D, { key: 0 }, [
2219
+ N(" $" + I(parseFloat(String(t(l).monthlyTotal)).toFixed(2)), 1)
2220
+ ], 64)) : (p(), S(D, { key: 1 }, [
2221
+ N(" $0.00 ")
2159
2222
  ], 64))
2160
2223
  ])
2161
2224
  ]),
2162
2225
  text: a(() => [
2163
- gs
2226
+ bn
2164
2227
  ]),
2165
2228
  _: 1
2166
2229
  }, 8, ["icon"])
@@ -2176,51 +2239,51 @@ const Be = X("settings", () => {
2176
2239
  }, 8, ["modelValue", "prepend-icon"]);
2177
2240
  };
2178
2241
  }
2179
- }), ys = /* @__PURE__ */ k({
2242
+ }), Vn = /* @__PURE__ */ $({
2180
2243
  __name: "VoSponsorshipsListItem",
2181
- setup(d) {
2182
- const e = D(!1);
2183
- return (i, s) => {
2184
- const r = bs, n = Y;
2185
- return p(), f(n, {
2244
+ setup(c) {
2245
+ const e = B(!1);
2246
+ return (i, n) => {
2247
+ const l = yn, s = Y;
2248
+ return p(), _(s, {
2186
2249
  active: e.value,
2187
2250
  "prepend-icon": `svg:${t(Gt)}`,
2188
2251
  title: "Sponsorships",
2189
2252
  link: ""
2190
2253
  }, {
2191
2254
  default: a(() => [
2192
- o(r, {
2255
+ o(l, {
2193
2256
  modelValue: e.value,
2194
- "onUpdate:modelValue": s[0] || (s[0] = (l) => e.value = l)
2257
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r)
2195
2258
  }, null, 8, ["modelValue"])
2196
2259
  ]),
2197
2260
  _: 1
2198
2261
  }, 8, ["active", "prepend-icon"]);
2199
2262
  };
2200
2263
  }
2201
- }), Vs = /* @__PURE__ */ k({
2264
+ }), kn = /* @__PURE__ */ $({
2202
2265
  __name: "VoStudioListItem",
2203
- setup(d) {
2266
+ setup(c) {
2204
2267
  const e = [
2205
2268
  ["M12.435 14.3194L12 21L6.87046 12.2799L12.435 14.3194Z", 1],
2206
2269
  ["M22 4L12.435 14.3194L6.87046 12.2799L9.26479 7.61064L12.435 14.3194L12 21L22 4Z", 0.5],
2207
2270
  ["M12.435 14.3194L22 4L9.26479 7.61064L12.435 14.3194Z", 1],
2208
2271
  ["M2 4L6.87046 12.2799L9.26479 7.61064L2 4Z", 1]
2209
2272
  ];
2210
- return (i, s) => {
2211
- const r = Y;
2212
- return p(), f(r, {
2273
+ return (i, n) => {
2274
+ const l = Y;
2275
+ return p(), _(l, {
2213
2276
  "prepend-icon": e,
2214
2277
  class: "cursor-default",
2215
2278
  title: "Vuetify Studio"
2216
2279
  }, {
2217
2280
  append: a(() => [
2218
- o(q, {
2281
+ o(G, {
2219
2282
  size: "x-small",
2220
2283
  label: ""
2221
2284
  }, {
2222
2285
  default: a(() => [
2223
- B("COMING SOON")
2286
+ N("COMING SOON")
2224
2287
  ]),
2225
2288
  _: 1
2226
2289
  })
@@ -2229,81 +2292,84 @@ const Be = X("settings", () => {
2229
2292
  });
2230
2293
  };
2231
2294
  }
2232
- }), ks = {
2295
+ }), $n = {
2233
2296
  key: 0,
2234
2297
  class: "pt-16"
2235
- }, $s = /* @__PURE__ */ h("div", { class: "text-medium-emphasis" }, " All caught up ", -1), xs = {
2298
+ }, xn = /* @__PURE__ */ g("div", { class: "text-medium-emphasis" }, " All caught up ", -1), wn = {
2236
2299
  key: 1,
2237
2300
  class: "pa-5"
2238
- }, ws = { class: "text-subtitle-1 font-weight-bold" }, Ss = { class: "text-caption font-weight-bold text-medium-emphasis" }, Ls = { class: "text-disabled text-caption mt-2 mb-3" }, Cs = /* @__PURE__ */ k({
2301
+ }, Sn = { class: "text-subtitle-1 font-weight-bold" }, Ln = { class: "text-caption font-weight-bold text-medium-emphasis" }, Cn = { class: "text-disabled text-caption mt-2 mb-3" }, In = /* @__PURE__ */ $({
2239
2302
  __name: "VoNotificationsBannerList",
2240
2303
  props: {
2241
2304
  items: {}
2242
2305
  },
2243
- setup(d) {
2244
- const e = Se(), i = le(), s = O();
2245
- function r(l) {
2246
- return s.notifications.last.banner.includes(l);
2306
+ setup(c) {
2307
+ const e = Se(), i = le(), n = F();
2308
+ function l(r) {
2309
+ return n.notifications.last.banner.includes(r);
2247
2310
  }
2248
- function n(l) {
2249
- r(l.slug) ? s.notifications.last.banner = s.notifications.last.banner.filter((c) => c !== l.slug) : s.notifications.last.banner.push(l.slug);
2311
+ function s(r) {
2312
+ l(r.slug) ? n.notifications.last.banner = n.notifications.last.banner.filter((u) => u !== r.slug) : n.notifications.last.banner.push(r.slug);
2250
2313
  }
2251
- return (l, c) => {
2252
- const v = Me("v-empty-state");
2253
- return p(), f(ee, {
2314
+ return (r, u) => {
2315
+ const f = Me("v-empty-state");
2316
+ return p(), _(ee, {
2254
2317
  class: "py-0",
2255
2318
  height: "100%",
2256
2319
  lines: "three"
2257
2320
  }, {
2258
2321
  default: a(() => [
2259
- l.items.length ? (p(), w("div", xs, [
2260
- (p(!0), w(U, null, oe(l.items, (u) => {
2261
- var m;
2262
- return p(), w("div", {
2263
- key: u.slug,
2322
+ r.items.length ? (p(), S("div", wn, [
2323
+ (p(!0), S(D, null, oe(r.items, (d) => {
2324
+ var h;
2325
+ return p(), S("div", {
2326
+ key: d.slug,
2264
2327
  class: "mb-4"
2265
2328
  }, [
2266
- o(P, {
2267
- color: u.metadata.color,
2268
- image: (m = u.metadata.images.bg) == null ? void 0 : m.url,
2269
- title: u.title,
2329
+ o(H, {
2330
+ color: d.metadata.color,
2331
+ image: (h = d.metadata.images.bg) == null ? void 0 : h.url,
2332
+ title: d.title,
2270
2333
  rounded: "b-0",
2271
2334
  flat: ""
2272
2335
  }, {
2273
- prepend: a(() => [
2274
- o(se, {
2275
- image: u.metadata.images.logo.url
2276
- }, null, 8, ["image"])
2277
- ]),
2336
+ prepend: a(() => {
2337
+ var k;
2338
+ return [
2339
+ o(ne, {
2340
+ image: (k = d.metadata.images.logo) == null ? void 0 : k.url
2341
+ }, null, 8, ["image"])
2342
+ ];
2343
+ }),
2278
2344
  image: a(() => [
2279
2345
  o(ge, { position: "right" })
2280
2346
  ]),
2281
2347
  _: 2
2282
2348
  }, 1032, ["color", "image", "title"]),
2283
2349
  o(Ce, null, {
2284
- default: a(({ props: b, isHovering: V }) => [
2285
- o(qe, R(b, {
2350
+ default: a(({ props: k, isHovering: y }) => [
2351
+ o(qe, R(k, {
2286
2352
  class: "px-8 pt-2 pb-4 position-relative",
2287
2353
  rounded: "b",
2288
2354
  border: ""
2289
2355
  }), {
2290
2356
  default: a(() => [
2291
2357
  o(J, {
2292
- text: r(u.slug) ? "Mark as unread" : "Mark as read",
2358
+ text: l(d.slug) ? "Mark as unread" : "Mark as read",
2293
2359
  location: "bottom"
2294
2360
  }, {
2295
- activator: a(({ props: L }) => [
2361
+ activator: a(({ props: w }) => [
2296
2362
  o(we, { "hide-on-leave": "" }, {
2297
2363
  default: a(() => [
2298
- xe(o(E, R(L, {
2299
- icon: `svg:${r(u.slug) ? t(tt) : t(et)}`,
2364
+ xe(o(W, R(w, {
2365
+ icon: `svg:${l(d.slug) ? t(tt) : t(et)}`,
2300
2366
  class: "ms-auto float-right",
2301
2367
  size: "small",
2302
2368
  variant: "text",
2303
2369
  "mdi-email-variant": "",
2304
- onClick: (_) => n(u)
2370
+ onClick: (m) => s(d)
2305
2371
  }), null, 16, ["icon", "onClick"]), [
2306
- [Pe, V || t(i).mobile.value]
2372
+ [Pe, y || t(i).mobile.value]
2307
2373
  ])
2308
2374
  ]),
2309
2375
  _: 2
@@ -2311,16 +2377,16 @@ const Be = X("settings", () => {
2311
2377
  ]),
2312
2378
  _: 2
2313
2379
  }, 1032, ["text"]),
2314
- h("div", ws, I(u.metadata.text), 1),
2315
- h("div", Ss, I(t(e).format(u.created_at, "fullDateWithWeekday")), 1),
2316
- h("div", Ls, I(u.metadata.subtext), 1),
2317
- o(q, R({
2318
- href: u.metadata.link.startsWith("http") ? u.metadata.link : void 0,
2319
- target: u.metadata.link.startsWith("http") ? "_blank" : void 0,
2320
- to: u.metadata.link.startsWith("http") ? void 0 : u.metadata.link
2380
+ g("div", Sn, I(d.metadata.text), 1),
2381
+ g("div", Ln, I(t(e).format(d.created_at, "fullDateWithWeekday")), 1),
2382
+ g("div", Cn, I(d.metadata.subtext), 1),
2383
+ o(G, R({
2384
+ href: d.metadata.link.startsWith("http") ? d.metadata.link : void 0,
2385
+ target: d.metadata.link.startsWith("http") ? "_blank" : void 0,
2386
+ to: d.metadata.link.startsWith("http") ? void 0 : d.metadata.link
2321
2387
  }, {
2322
2388
  "append-icon": `svg:${t(ve)}`,
2323
- text: u.metadata.link_text,
2389
+ text: d.metadata.link_text,
2324
2390
  size: "small",
2325
2391
  variant: "text",
2326
2392
  border: "",
@@ -2339,8 +2405,8 @@ const Be = X("settings", () => {
2339
2405
  }, 1024)
2340
2406
  ]);
2341
2407
  }), 128))
2342
- ])) : (p(), w("div", ks, [
2343
- o(v, {
2408
+ ])) : (p(), S("div", $n, [
2409
+ o(f, {
2344
2410
  icon: "$vuetify",
2345
2411
  size: "256"
2346
2412
  }, {
@@ -2348,7 +2414,7 @@ const Be = X("settings", () => {
2348
2414
  o(A, { color: "medium-emphasis" })
2349
2415
  ]),
2350
2416
  title: a(() => [
2351
- $s
2417
+ xn
2352
2418
  ]),
2353
2419
  _: 1
2354
2420
  })
@@ -2358,106 +2424,127 @@ const Be = X("settings", () => {
2358
2424
  });
2359
2425
  };
2360
2426
  }
2361
- }), Is = {
2362
- key: 0,
2363
- class: "pt-16"
2364
- }, As = /* @__PURE__ */ h("div", { class: "text-medium-emphasis" }, " All caught up ", -1), Ds = { class: "ps-3 text-subtitle-2 pe-2" }, Us = { class: "text-truncate" }, Bs = { class: "text-caption font-weight-bold text-medium-emphasis" }, Ns = { class: "text-disabled text-caption my-2" }, Os = /* @__PURE__ */ k({
2365
- __name: "VoNotificationsList",
2427
+ }), An = { class: "ps-3 text-subtitle-2 pe-2" }, Dn = { class: "text-truncate" }, Bn = { class: "text-caption font-weight-bold text-medium-emphasis" }, Nn = { class: "text-disabled text-caption my-2" }, Un = /* @__PURE__ */ $({
2428
+ __name: "VoNotificationsListItem",
2366
2429
  props: {
2367
- items: {}
2430
+ demo: { type: Boolean },
2431
+ notification: {}
2368
2432
  },
2369
- setup(d) {
2370
- const e = Se(), i = le(), s = O();
2371
- function r(l) {
2372
- return s.notifications.read.includes(l);
2433
+ setup(c) {
2434
+ const e = c, i = F(), n = Se(), l = le(), s = L(() => {
2435
+ const f = e.notification.metadata ?? { action: "" };
2436
+ return {
2437
+ href: f.action.startsWith("http") ? f.action : void 0,
2438
+ target: f.action.startsWith("http") ? "_blank" : void 0,
2439
+ to: f.action.startsWith("http") ? void 0 : f.action,
2440
+ ...e.notification.metadata.attributes,
2441
+ onClick() {
2442
+ u(e.notification);
2443
+ }
2444
+ };
2445
+ });
2446
+ function r(f) {
2447
+ return i.notifications.read.includes(f);
2373
2448
  }
2374
- function n(l) {
2375
- r(l.slug) ? s.notifications.read = s.notifications.read.filter((c) => c !== l.slug) : s.notifications.read.push(l.slug);
2449
+ function u(f) {
2450
+ e.demo || (r(f.slug) ? i.notifications.read = i.notifications.read.filter((d) => d !== f.slug) : i.notifications.read.push(f.slug));
2376
2451
  }
2377
- return (l, c) => {
2378
- const v = Me("v-empty-state"), u = Y;
2379
- return p(), f(ee, {
2380
- class: "py-0",
2381
- height: "100%",
2382
- lines: "three"
2383
- }, {
2384
- default: a(() => [
2385
- l.items.length ? (p(!0), w(U, { key: 1 }, oe(l.items, (m, b) => (p(), f(Ce, {
2386
- key: m.slug
2387
- }, {
2388
- default: a(({ isHovering: V, props: L }) => [
2389
- o(u, R(L, {
2390
- border: b !== 0 && "t",
2391
- class: "py-4 mb-0"
2392
- }), {
2393
- prepend: a(() => [
2394
- h("div", Ds, I(m.metadata.emoji), 1)
2395
- ]),
2396
- append: a(() => [
2397
- o(_o, {
2398
- class: "mt-n3",
2399
- width: "56"
2452
+ return (f, d) => {
2453
+ const h = Y;
2454
+ return p(), _(Ce, null, {
2455
+ default: a(({ isHovering: k, props: y }) => [
2456
+ o(h, R(y, { class: "py-4 mb-0" }), {
2457
+ prepend: a(() => [
2458
+ g("div", An, I(f.notification.metadata.emoji), 1)
2459
+ ]),
2460
+ append: a(() => [
2461
+ o(_o, {
2462
+ class: "mt-n3",
2463
+ width: "56"
2464
+ }, {
2465
+ default: a(() => [
2466
+ o(J, {
2467
+ text: r(f.notification.slug) ? "Mark as unread" : "Mark as read",
2468
+ location: "bottom"
2400
2469
  }, {
2401
- default: a(() => [
2402
- o(J, {
2403
- text: r(m.slug) ? "Mark as unread" : "Mark as read",
2404
- location: "bottom"
2405
- }, {
2406
- activator: a(({ props: _ }) => [
2407
- o(we, { "hide-on-leave": "" }, {
2408
- default: a(() => [
2409
- xe(o(E, R(_, {
2410
- icon: `svg:${r(m.slug) ? t(tt) : t(et)}`,
2411
- class: "ms-auto",
2412
- size: "small",
2413
- variant: "text",
2414
- "mdi-email-variant": "",
2415
- onClick: (y) => n(m)
2416
- }), null, 16, ["icon", "onClick"]), [
2417
- [Pe, V || t(i).mobile.value]
2418
- ])
2419
- ]),
2420
- _: 2
2421
- }, 1024)
2470
+ activator: a(({ props: w }) => [
2471
+ o(we, { "hide-on-leave": "" }, {
2472
+ default: a(() => [
2473
+ xe(o(W, R(w, {
2474
+ icon: `svg:${r(f.notification.slug) ? t(tt) : t(et)}`,
2475
+ class: "ms-auto",
2476
+ size: "small",
2477
+ variant: "text",
2478
+ "mdi-email-variant": "",
2479
+ onClick: d[0] || (d[0] = (m) => u(f.notification))
2480
+ }), null, 16, ["icon"]), [
2481
+ [Pe, k || t(l).mobile.value]
2482
+ ])
2422
2483
  ]),
2423
2484
  _: 2
2424
- }, 1032, ["text"])
2485
+ }, 1024)
2425
2486
  ]),
2426
2487
  _: 2
2427
- }, 1024)
2488
+ }, 1032, ["text"])
2428
2489
  ]),
2490
+ _: 2
2491
+ }, 1024)
2492
+ ]),
2493
+ default: a(() => [
2494
+ o(ot, { class: "text-wrap text-h6 mb-1" }, {
2429
2495
  default: a(() => [
2430
- o(ot, { class: "text-wrap text-h6 mb-1" }, {
2431
- default: a(() => [
2432
- h("div", Us, I(m.title), 1)
2433
- ]),
2434
- _: 2
2435
- }, 1024),
2436
- h("div", Bs, I(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
2437
- h("div", Ns, I(m.metadata.text), 1),
2438
- o(q, {
2439
- "append-icon": `svg:${t(ve)}`,
2440
- href: m.metadata.action,
2441
- text: m.metadata.action_text,
2442
- size: "small",
2443
- target: "_blank",
2444
- variant: "text",
2445
- border: "",
2446
- label: "",
2447
- onClick: (_) => n(m)
2448
- }, {
2449
- append: a(() => [
2450
- o(A, { size: "12" })
2451
- ]),
2452
- _: 2
2453
- }, 1032, ["append-icon", "href", "text", "onClick"])
2496
+ g("div", Dn, I(f.notification.title), 1)
2454
2497
  ]),
2455
- _: 2
2456
- }, 1040, ["border"])
2498
+ _: 1
2499
+ }),
2500
+ g("div", Bn, I(t(n).format(f.notification.created_at, "fullDateWithWeekday")), 1),
2501
+ g("div", Nn, I(f.notification.metadata.text), 1),
2502
+ o(G, R({
2503
+ "append-icon": `svg:${t(ve)}`,
2504
+ text: f.notification.metadata.action_text
2505
+ }, s.value, {
2506
+ size: "small",
2507
+ variant: "text",
2508
+ border: "",
2509
+ label: ""
2510
+ }), {
2511
+ append: a(() => [
2512
+ o(A, { size: "12" })
2513
+ ]),
2514
+ _: 1
2515
+ }, 16, ["append-icon", "text"])
2457
2516
  ]),
2458
2517
  _: 2
2459
- }, 1024))), 128)) : (p(), w("div", Is, [
2460
- o(v, {
2518
+ }, 1040)
2519
+ ]),
2520
+ _: 1
2521
+ });
2522
+ };
2523
+ }
2524
+ }), On = {
2525
+ key: 0,
2526
+ class: "pt-16"
2527
+ }, Fn = /* @__PURE__ */ g("div", { class: "text-medium-emphasis" }, " All caught up ", -1), zn = /* @__PURE__ */ $({
2528
+ __name: "VoNotificationsList",
2529
+ props: {
2530
+ items: {}
2531
+ },
2532
+ setup(c) {
2533
+ return (e, i) => {
2534
+ const n = Me("v-empty-state"), l = Un;
2535
+ return p(), _(ee, {
2536
+ class: "py-0",
2537
+ height: "100%",
2538
+ lines: "three"
2539
+ }, {
2540
+ default: a(() => [
2541
+ e.items.length ? (p(!0), S(D, { key: 1 }, oe(e.items, (s, r) => (p(), S(D, {
2542
+ key: s.slug
2543
+ }, [
2544
+ r !== 0 ? (p(), _(E, { key: 0 })) : x("", !0),
2545
+ o(l, { notification: s }, null, 8, ["notification"])
2546
+ ], 64))), 128)) : (p(), S("div", On, [
2547
+ o(n, {
2461
2548
  icon: "$vuetify",
2462
2549
  size: "256"
2463
2550
  }, {
@@ -2465,7 +2552,7 @@ const Be = X("settings", () => {
2465
2552
  o(A, { color: "medium-emphasis" })
2466
2553
  ]),
2467
2554
  title: a(() => [
2468
- As
2555
+ Fn
2469
2556
  ]),
2470
2557
  _: 1
2471
2558
  })
@@ -2475,63 +2562,116 @@ const Be = X("settings", () => {
2475
2562
  });
2476
2563
  };
2477
2564
  }
2478
- }), Fs = X("site", () => {
2479
- const d = H([]), e = H();
2565
+ }), Tn = X("site", () => {
2566
+ const c = T([]), e = T();
2480
2567
  return {
2481
- id: d,
2568
+ id: c,
2482
2569
  url: e
2483
2570
  };
2484
- }), Ne = X("banners", () => {
2485
- const d = be(), e = Fs(), i = O(), s = H([]), r = D(!1), n = S(() => l.value ? l.value : s.value.find(({
2486
- slug: v,
2571
+ }), Ue = X("banners", () => {
2572
+ const c = be(), e = Tn(), i = F(), n = T([]), l = T([]), s = T(), r = B(!1), u = L(() => s.value ? s.value : f.value ? f.value : n.value.find(({
2573
+ slug: m,
2487
2574
  metadata: {
2488
- site: u,
2489
- active: m
2575
+ site: v,
2576
+ active: V
2490
2577
  }
2491
- }) => !m || i.notifications.last.banner.includes(v) ? !1 : u.includes("dev") && !1 || u.includes("*") ? !0 : u.some((b) => e.id.includes(b)))), l = S(() => s.value.find(({
2578
+ }) => !V || i.notifications.last.banner.includes(m) ? !1 : v.includes("dev") && !1 || v.includes("*") ? !0 : v.some((O) => e.id.includes(O)))), f = L(() => n.value.find(({
2492
2579
  metadata: {
2493
- site: v,
2494
- active: u
2580
+ site: m,
2581
+ active: v
2495
2582
  }
2496
- }) => u ? v.includes("server") : !1));
2497
- async function c() {
2583
+ }) => v ? m.includes("server") : !1));
2584
+ async function d() {
2498
2585
  try {
2499
2586
  r.value = !0;
2500
- const v = await d.get("/one/banners");
2501
- s.value = v.banners;
2587
+ const m = await c.get("/one/banners");
2588
+ n.value = m.banners;
2502
2589
  } catch {
2503
2590
  } finally {
2504
2591
  r.value = !1;
2505
2592
  }
2506
- return s.value;
2593
+ return n.value;
2594
+ }
2595
+ async function h(m) {
2596
+ try {
2597
+ r.value = !0;
2598
+ const v = await c.get(`/one/admin/banners/${m}/edit`);
2599
+ return s.value = v.banner, v.banner;
2600
+ } catch {
2601
+ } finally {
2602
+ r.value = !1;
2603
+ }
2604
+ }
2605
+ async function k(m, v) {
2606
+ try {
2607
+ r.value = !0;
2608
+ const V = await c.form(
2609
+ `/one/admin/banners/${m}/edit`,
2610
+ v
2611
+ );
2612
+ return s.value = V.banner, V.banner;
2613
+ } catch {
2614
+ } finally {
2615
+ r.value = !1;
2616
+ }
2617
+ }
2618
+ async function y(m) {
2619
+ try {
2620
+ r.value = !0;
2621
+ const v = await c.form(
2622
+ "/one/admin/banners",
2623
+ m
2624
+ );
2625
+ return s.value = v.banner, v.banner;
2626
+ } catch {
2627
+ } finally {
2628
+ r.value = !1;
2629
+ }
2630
+ }
2631
+ async function w() {
2632
+ try {
2633
+ r.value = !0;
2634
+ const m = await c.get("/one/admin/banners");
2635
+ l.value = m.banners;
2636
+ } catch {
2637
+ } finally {
2638
+ r.value = !1;
2639
+ }
2640
+ return n.value;
2507
2641
  }
2508
2642
  return {
2509
- all: s,
2643
+ all: n,
2644
+ aall: l,
2510
2645
  isLoading: r,
2511
- server: l,
2512
- banner: n,
2513
- get: c
2646
+ server: f,
2647
+ banner: u,
2648
+ record: s,
2649
+ admin: w,
2650
+ get: d,
2651
+ create: y,
2652
+ edit: h,
2653
+ save: k
2514
2654
  };
2515
- }), zs = { class: "text-caption" }, js = { class: "text-caption" }, Ts = /* @__PURE__ */ k({
2655
+ }), jn = { class: "text-caption" }, Mn = { class: "text-caption" }, Pn = /* @__PURE__ */ $({
2516
2656
  __name: "VoNotificationsDialog",
2517
2657
  props: {
2518
2658
  modelValue: { type: Boolean },
2519
2659
  modelModifiers: {}
2520
2660
  },
2521
2661
  emits: ["update:modelValue"],
2522
- setup(d) {
2523
- const e = le(), i = Ve(), s = Ne(), r = De(), n = j(), l = D(["read"]), c = ie(d, "modelValue");
2524
- return N(i, async () => {
2662
+ setup(c) {
2663
+ const e = le(), i = Ve(), n = Ue(), l = De(), s = j(), r = B(["read"]), u = ie(c, "modelValue");
2664
+ return U(i, async () => {
2525
2665
  if (i.value.one !== "notifications") {
2526
- c.value && (c.value = !1);
2666
+ u.value && (u.value = !1);
2527
2667
  return;
2528
2668
  }
2529
- n.isOpen = !0, await fe(), c.value = !0;
2530
- }, { immediate: !0 }), (v, u) => {
2531
- const m = Y, b = Os, V = Cs, L = Ue;
2532
- return p(), f(L, {
2533
- modelValue: c.value,
2534
- "onUpdate:modelValue": u[2] || (u[2] = (_) => c.value = _),
2669
+ s.isOpen = !0, await fe(), u.value = !0;
2670
+ }, { immediate: !0 }), (f, d) => {
2671
+ const h = Y, k = zn, y = In, w = Be;
2672
+ return p(), _(w, {
2673
+ modelValue: u.value,
2674
+ "onUpdate:modelValue": d[2] || (d[2] = (m) => u.value = m),
2535
2675
  "prepend-icon": `svg:${t(qt)}`,
2536
2676
  title: "Notifications"
2537
2677
  }, {
@@ -2545,41 +2685,41 @@ const Be = X("settings", () => {
2545
2685
  }, {
2546
2686
  default: a(() => [
2547
2687
  o(ee, {
2548
- selected: l.value,
2549
- "onUpdate:selected": u[0] || (u[0] = (_) => l.value = _),
2688
+ selected: r.value,
2689
+ "onUpdate:selected": d[0] || (d[0] = (m) => r.value = m),
2550
2690
  class: "px-4 pt-4",
2551
2691
  density: "compact",
2552
2692
  mandatory: "",
2553
2693
  nav: ""
2554
2694
  }, {
2555
2695
  default: a(() => [
2556
- o(m, {
2696
+ o(h, {
2557
2697
  "prepend-icon": `svg:${t(Zt)}`,
2558
2698
  title: "Unread",
2559
2699
  value: "read"
2560
- }, G({ _: 2 }, [
2561
- t(r).unread.length > 0 ? {
2700
+ }, q({ _: 2 }, [
2701
+ t(l).unread.length > 0 ? {
2562
2702
  name: "append",
2563
2703
  fn: a(() => [
2564
- h("span", zs, I(t(r).unread.length), 1)
2704
+ g("span", jn, I(t(l).unread.length), 1)
2565
2705
  ]),
2566
2706
  key: "0"
2567
2707
  } : void 0
2568
2708
  ]), 1032, ["prepend-icon"]),
2569
- o(m, {
2709
+ o(h, {
2570
2710
  "prepend-icon": `svg:${t(Yt)}`,
2571
2711
  title: "Read",
2572
2712
  value: "unread"
2573
- }, G({ _: 2 }, [
2574
- t(r).read.length > 0 ? {
2713
+ }, q({ _: 2 }, [
2714
+ t(l).read.length > 0 ? {
2575
2715
  name: "append",
2576
2716
  fn: a(() => [
2577
- h("span", js, I(t(r).read.length), 1)
2717
+ g("span", Mn, I(t(l).read.length), 1)
2578
2718
  ]),
2579
2719
  key: "0"
2580
2720
  } : void 0
2581
2721
  ]), 1032, ["prepend-icon"]),
2582
- t(s).all.length > 0 ? (p(), f(m, {
2722
+ t(n).all.length > 0 ? (p(), _(h, {
2583
2723
  key: 0,
2584
2724
  "prepend-icon": `svg:${t(Qt)}`,
2585
2725
  title: "Banners",
@@ -2592,7 +2732,7 @@ const Be = X("settings", () => {
2592
2732
  })
2593
2733
  ]),
2594
2734
  _: 1
2595
- }, 8, ["prepend-icon"])) : $("", !0)
2735
+ }, 8, ["prepend-icon"])) : x("", !0)
2596
2736
  ]),
2597
2737
  _: 1
2598
2738
  }, 8, ["selected"])
@@ -2602,30 +2742,30 @@ const Be = X("settings", () => {
2602
2742
  o(Ae, { scrollable: "" }, {
2603
2743
  default: a(() => [
2604
2744
  o(it, {
2605
- modelValue: l.value,
2606
- "onUpdate:modelValue": u[1] || (u[1] = (_) => l.value = _)
2745
+ modelValue: r.value,
2746
+ "onUpdate:modelValue": d[1] || (d[1] = (m) => r.value = m)
2607
2747
  }, {
2608
2748
  default: a(() => [
2609
2749
  o(de, { value: "read" }, {
2610
2750
  default: a(() => [
2611
- o(b, {
2612
- items: t(r).unread
2751
+ o(k, {
2752
+ items: t(l).unread
2613
2753
  }, null, 8, ["items"])
2614
2754
  ]),
2615
2755
  _: 1
2616
2756
  }),
2617
2757
  o(de, { value: "unread" }, {
2618
2758
  default: a(() => [
2619
- o(b, {
2620
- items: t(r).read
2759
+ o(k, {
2760
+ items: t(l).read
2621
2761
  }, null, 8, ["items"])
2622
2762
  ]),
2623
2763
  _: 1
2624
2764
  }),
2625
2765
  o(de, { value: "banners" }, {
2626
2766
  default: a(() => [
2627
- o(V, {
2628
- items: t(s).all
2767
+ o(y, {
2768
+ items: t(n).all
2629
2769
  }, null, 8, ["items"])
2630
2770
  ]),
2631
2771
  _: 1
@@ -2644,48 +2784,48 @@ const Be = X("settings", () => {
2644
2784
  }, 8, ["modelValue", "prepend-icon"]);
2645
2785
  };
2646
2786
  }
2647
- }), Ms = /* @__PURE__ */ k({
2787
+ }), Rn = /* @__PURE__ */ $({
2648
2788
  __name: "VoNotificationsBadge",
2649
- setup(d) {
2650
- const e = De(), i = O();
2651
- return (s, r) => (p(), f(Ge, {
2789
+ setup(c) {
2790
+ const e = De(), i = F();
2791
+ return (n, l) => (p(), _(Ge, {
2652
2792
  content: t(e).unread.length,
2653
2793
  "model-value": t(i).notifications.show && t(e).unread.length > 0,
2654
2794
  color: "error"
2655
2795
  }, {
2656
2796
  default: a(() => [
2657
- M(s.$slots, "default")
2797
+ P(n.$slots, "default")
2658
2798
  ]),
2659
2799
  _: 3
2660
2800
  }, 8, ["content", "model-value"]));
2661
2801
  }
2662
- }), Ps = /* @__PURE__ */ k({
2663
- __name: "VoNotificationsListItem",
2664
- setup(d) {
2665
- const e = Ne(), i = O(), s = De(), r = D(!1);
2802
+ }), Hn = /* @__PURE__ */ $({
2803
+ __name: "VoNotificationsNavItem",
2804
+ setup(c) {
2805
+ const e = Ue(), i = F(), n = De(), l = B(!1);
2666
2806
  return gt(async () => {
2667
- s.get(), e.get();
2668
- }), (n, l) => {
2669
- const c = Ms, v = Ts, u = Y;
2670
- return t(i).notifications.show ? (p(), f(u, {
2807
+ n.index(), e.get();
2808
+ }), (s, r) => {
2809
+ const u = Rn, f = Pn, d = Y;
2810
+ return t(i).notifications.show ? (p(), _(d, {
2671
2811
  key: 0,
2672
- active: r.value,
2812
+ active: l.value,
2673
2813
  "prepend-icon": `svg:${t(Jt)}`,
2674
2814
  title: "Notifications",
2675
2815
  link: ""
2676
- }, G({
2816
+ }, q({
2677
2817
  default: a(() => [
2678
- o(v, {
2679
- modelValue: r.value,
2680
- "onUpdate:modelValue": l[0] || (l[0] = (m) => r.value = m)
2818
+ o(f, {
2819
+ modelValue: l.value,
2820
+ "onUpdate:modelValue": r[0] || (r[0] = (h) => l.value = h)
2681
2821
  }, null, 8, ["modelValue"])
2682
2822
  ]),
2683
2823
  _: 2
2684
2824
  }, [
2685
- t(s).unread.length ? {
2825
+ t(n).unread.length ? {
2686
2826
  name: "prepend",
2687
2827
  fn: a(() => [
2688
- o(c, null, {
2828
+ o(u, null, {
2689
2829
  default: a(() => [
2690
2830
  o(A)
2691
2831
  ]),
@@ -2694,61 +2834,61 @@ const Be = X("settings", () => {
2694
2834
  ]),
2695
2835
  key: "0"
2696
2836
  } : void 0
2697
- ]), 1032, ["active", "prepend-icon"])) : $("", !0);
2837
+ ]), 1032, ["active", "prepend-icon"])) : x("", !0);
2698
2838
  };
2699
2839
  }
2700
- }), Rs = /* @__PURE__ */ k({
2840
+ }), En = /* @__PURE__ */ $({
2701
2841
  __name: "VoDashboardListItem",
2702
- setup(d) {
2842
+ setup(c) {
2703
2843
  const e = j();
2704
- return (i, s) => {
2705
- const r = Y;
2706
- return p(), f(r, {
2844
+ return (i, n) => {
2845
+ const l = Y;
2846
+ return p(), _(l, {
2707
2847
  "prepend-icon": `svg:${t(Xt)}`,
2708
2848
  title: "Dashboard",
2709
2849
  to: "/user/dashboard",
2710
- onClick: s[0] || (s[0] = (n) => t(e).isOpen = !1)
2850
+ onClick: n[0] || (n[0] = (s) => t(e).isOpen = !1)
2711
2851
  }, null, 8, ["prepend-icon"]);
2712
2852
  };
2713
2853
  }
2714
- }), Hs = /* @__PURE__ */ k({
2854
+ }), Wn = /* @__PURE__ */ $({
2715
2855
  __name: "VoUserList",
2716
- setup(d) {
2717
- const e = F();
2718
- return (i, s) => {
2719
- const r = Rs, n = Ps, l = Vs, c = ys, v = ls, u = To, m = Bo;
2720
- return p(), f(ee, {
2856
+ setup(c) {
2857
+ const e = z();
2858
+ return (i, n) => {
2859
+ const l = En, s = Hn, r = kn, u = Vn, f = cn, d = jo, h = No;
2860
+ return p(), _(ee, {
2721
2861
  density: "compact",
2722
2862
  nav: "",
2723
2863
  slim: ""
2724
2864
  }, {
2725
2865
  default: a(() => [
2726
- o(r),
2727
- o(n),
2728
2866
  o(l),
2729
- o(c),
2730
- t(e).user ? (p(), f(v, { key: 0 })) : $("", !0),
2867
+ o(s),
2868
+ o(r),
2731
2869
  o(u),
2732
- t(e).user ? (p(), f(m, { key: 1 })) : $("", !0)
2870
+ t(e).user ? (p(), _(f, { key: 0 })) : x("", !0),
2871
+ o(d),
2872
+ t(e).user ? (p(), _(h, { key: 1 })) : x("", !0)
2733
2873
  ]),
2734
2874
  _: 1
2735
2875
  });
2736
2876
  };
2737
2877
  }
2738
- }), Es = { key: 0 }, Ws = { class: "d-flex align-center justify-center pa-1 ga-2" }, Gs = /* @__PURE__ */ k({
2878
+ }), Gn = { key: 0 }, qn = { class: "d-flex align-center justify-center pa-1 ga-2" }, Zn = /* @__PURE__ */ $({
2739
2879
  __name: "VoUserQuickActions",
2740
- setup(d) {
2741
- const e = O(), i = [
2880
+ setup(c) {
2881
+ const e = F(), i = [
2742
2882
  ["M18.9112 5.03206L3.68692 8.88953C3.68692 8.88953 2.00252 6.21666 2 6.21428C2.02517 6.20794 18.6159 2.00476 18.6394 2L18.8944 4.8489L18.9095 5.01937L18.9112 5.03285V5.03206Z", 0.6],
2743
2883
  ["M19.4556 10.9994C19.4556 10.9994 7.06082 14.1417 7.05915 14.1386L5.3739 11.4641C5.41836 11.453 18.4582 8.14817 18.4993 8.13945L19.1838 7.9658L19.4556 10.9994Z", 1],
2744
2884
  "M20 17.0652C19.9916 17.0675 14.6826 18.4123 14.6742 18.4147C14.6994 17.3633 14.3353 16.3579 13.712 15.5563L19.7274 14.0331L20 17.066V17.0652Z",
2745
2885
  ["M12.353 16.0368C9.07567 12.843 3.90082 17.0493 6.66818 20.5975C9.94136 24.3844 15.773 19.6984 12.353 16.0368ZM11.1267 19.4129C10.2224 20.7664 7.79139 20.1099 7.82746 18.4686C8.04976 15.4897 12.7112 16.8495 11.1267 19.4129Z", 0.6]
2746
2886
  ];
2747
- return (s, r) => (p(), f(he, null, {
2887
+ return (n, l) => (p(), _(he, null, {
2748
2888
  default: a(() => [
2749
- t(e).quickbar ? (p(), w("div", Es, [
2750
- h("div", Ws, [
2751
- o(E, {
2889
+ t(e).quickbar ? (p(), S("div", Gn, [
2890
+ g("div", qn, [
2891
+ o(W, {
2752
2892
  color: t(e).colors.one,
2753
2893
  class: "text-caption",
2754
2894
  density: "comfortable",
@@ -2766,7 +2906,7 @@ const Be = X("settings", () => {
2766
2906
  ]),
2767
2907
  _: 1
2768
2908
  }, 8, ["color"]),
2769
- o(E, {
2909
+ o(W, {
2770
2910
  color: t(e).colors.one,
2771
2911
  icon: i,
2772
2912
  class: "text-caption",
@@ -2784,7 +2924,7 @@ const Be = X("settings", () => {
2784
2924
  ]),
2785
2925
  _: 1
2786
2926
  }, 8, ["color"]),
2787
- o(E, {
2927
+ o(W, {
2788
2928
  color: t(e).colors.one,
2789
2929
  icon: `svg:${t(Kt)}`,
2790
2930
  class: "text-caption",
@@ -2803,16 +2943,16 @@ const Be = X("settings", () => {
2803
2943
  _: 1
2804
2944
  }, 8, ["color", "icon"])
2805
2945
  ])
2806
- ])) : $("", !0)
2946
+ ])) : x("", !0)
2807
2947
  ]),
2808
2948
  _: 1
2809
2949
  }));
2810
2950
  }
2811
- }), qs = { class: "mb-2" }, Zs = { key: 0 }, Ys = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Qs = { class: "text-h6" }, Js = /* @__PURE__ */ k({
2951
+ }), Yn = { class: "mb-2" }, Qn = { key: 0 }, Jn = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Xn = { class: "text-h6" }, Kn = /* @__PURE__ */ $({
2812
2952
  __name: "VoUserAvatar",
2813
- setup(d) {
2814
- const e = F(), i = O(), s = D(!1), r = S(() => {
2815
- const c = [
2953
+ setup(c) {
2954
+ const e = z(), i = F(), n = B(!1), l = L(() => {
2955
+ const u = [
2816
2956
  "https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
2817
2957
  "https://cdn.vuetifyjs.com/docs/images/avatars/grass.png",
2818
2958
  "https://cdn.vuetifyjs.com/docs/images/avatars/wood.png",
@@ -2828,18 +2968,18 @@ const Be = X("settings", () => {
2828
2968
  "https://cdn.vuetifyjs.com/docs/images/avatars/meteor.png",
2829
2969
  "https://cdn.vuetifyjs.com/docs/images/avatars/tada.png"
2830
2970
  ];
2831
- return e.user && c.unshift(e.user.picture), c;
2971
+ return e.user && u.unshift(e.user.picture), u;
2832
2972
  });
2833
- function n(c) {
2834
- i.avatar = c;
2973
+ function s(u) {
2974
+ i.avatar = u;
2835
2975
  }
2836
- function l() {
2837
- e.isSubscriber && (s.value = !s.value);
2976
+ function r() {
2977
+ e.isSubscriber && (n.value = !n.value);
2838
2978
  }
2839
- return (c, v) => {
2840
- var u;
2841
- return p(), w("div", null, [
2842
- xe((p(), f(se, {
2979
+ return (u, f) => {
2980
+ var d;
2981
+ return p(), S("div", null, [
2982
+ xe((p(), _(ne, {
2843
2983
  class: bt([
2844
2984
  "border-md border-opacity-100 border-surface-variant",
2845
2985
  {
@@ -2849,14 +2989,14 @@ const Be = X("settings", () => {
2849
2989
  color: "surface",
2850
2990
  size: "72",
2851
2991
  text: "Foobar",
2852
- onClick: Te(l, ["prevent", "stop"])
2992
+ onClick: je(r, ["prevent", "stop"])
2853
2993
  }, {
2854
2994
  default: a(() => [
2855
- t(e).user && t(i).avatar ? (p(), f(ge, {
2995
+ t(e).user && t(i).avatar ? (p(), _(ge, {
2856
2996
  key: 0,
2857
2997
  src: t(i).avatar,
2858
2998
  alt: "User avatar"
2859
- }, null, 8, ["src"])) : (p(), f(A, {
2999
+ }, null, 8, ["src"])) : (p(), _(A, {
2860
3000
  key: 1,
2861
3001
  class: "mt-1",
2862
3002
  icon: "$vuetify",
@@ -2867,27 +3007,27 @@ const Be = X("settings", () => {
2867
3007
  }, 8, ["class"])), [
2868
3008
  [go, t(e).isSubscriber]
2869
3009
  ]),
2870
- h("div", qs, [
3010
+ g("div", Yn, [
2871
3011
  o(he, null, {
2872
3012
  default: a(() => [
2873
- s.value ? (p(), w("div", Zs, [
2874
- o(P, {
3013
+ n.value ? (p(), S("div", Qn, [
3014
+ o(H, {
2875
3015
  class: "pt-6 pb-1",
2876
3016
  rounded: "0",
2877
3017
  flat: ""
2878
3018
  }, {
2879
3019
  default: a(() => [
2880
- h("div", Ys, [
2881
- (p(!0), w(U, null, oe(r.value, (m, b) => (p(), f(E, {
2882
- key: b,
2883
- active: t(i).avatar === m,
3020
+ g("div", Jn, [
3021
+ (p(!0), S(D, null, oe(l.value, (h, k) => (p(), _(W, {
3022
+ key: k,
3023
+ active: t(i).avatar === h,
2884
3024
  variant: "flat",
2885
3025
  icon: "",
2886
- onClick: (V) => n(m)
3026
+ onClick: (y) => s(h)
2887
3027
  }, {
2888
3028
  default: a(() => [
2889
- o(se, {
2890
- image: m,
3029
+ o(ne, {
3030
+ image: h,
2891
3031
  eager: ""
2892
3032
  }, null, 8, ["image"])
2893
3033
  ]),
@@ -2897,23 +3037,23 @@ const Be = X("settings", () => {
2897
3037
  ]),
2898
3038
  _: 1
2899
3039
  })
2900
- ])) : $("", !0)
3040
+ ])) : x("", !0)
2901
3041
  ]),
2902
3042
  _: 1
2903
3043
  })
2904
3044
  ]),
2905
- h("div", Qs, I(((u = t(e).user) == null ? void 0 : u.name) ?? "Guest"), 1)
3045
+ g("div", Xn, I(((d = t(e).user) == null ? void 0 : d.name) ?? "Guest"), 1)
2906
3046
  ]);
2907
3047
  };
2908
3048
  }
2909
- }), Xs = /* @__PURE__ */ k({
3049
+ }), es = /* @__PURE__ */ $({
2910
3050
  __name: "VoUserBadges",
2911
- setup(d) {
2912
- const e = F(), i = j(), s = S(() => {
2913
- var r;
2914
- return i.github || i.discord || i.isSubscriber || ((r = e.user) == null ? void 0 : r.isAdmin);
3051
+ setup(c) {
3052
+ const e = z(), i = j(), n = L(() => {
3053
+ var l;
3054
+ return i.github || i.discord || i.isSubscriber || ((l = e.user) == null ? void 0 : l.isAdmin);
2915
3055
  });
2916
- return (r, n) => s.value ? (p(), f(qe, {
3056
+ return (l, s) => n.value ? (p(), _(qe, {
2917
3057
  key: 0,
2918
3058
  class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
2919
3059
  color: "rgba(0,0,0,.54)",
@@ -2921,78 +3061,78 @@ const Be = X("settings", () => {
2921
3061
  style: { left: "0" }
2922
3062
  }, {
2923
3063
  default: a(() => {
2924
- var l;
3064
+ var r;
2925
3065
  return [
2926
- (l = t(e).user) != null && l.isAdmin ? (p(), f(J, {
3066
+ (r = t(e).user) != null && r.isAdmin ? (p(), _(J, {
2927
3067
  key: 0,
2928
3068
  location: "bottom",
2929
3069
  text: "Vuetify Administrator"
2930
3070
  }, {
2931
- activator: a(({ props: c }) => [
3071
+ activator: a(({ props: u }) => [
2932
3072
  o(A, R({
2933
3073
  color: "blue",
2934
3074
  icon: "$vuetify"
2935
- }, c, { size: "16" }), null, 16)
3075
+ }, u, { size: "16" }), null, 16)
2936
3076
  ]),
2937
3077
  _: 1
2938
- })) : $("", !0),
2939
- t(i).isSubscriber ? (p(), f(J, {
3078
+ })) : x("", !0),
3079
+ t(i).isSubscriber ? (p(), _(J, {
2940
3080
  key: 1,
2941
3081
  location: "bottom",
2942
3082
  text: "Vuetify One Subscriber"
2943
3083
  }, {
2944
- activator: a(({ props: c }) => [
3084
+ activator: a(({ props: u }) => [
2945
3085
  o(A, R({
2946
3086
  icon: `svg:${t(eo)}`,
2947
3087
  color: "amber-darken-2"
2948
- }, c, { size: "16" }), null, 16, ["icon"])
3088
+ }, u, { size: "16" }), null, 16, ["icon"])
2949
3089
  ]),
2950
3090
  _: 1
2951
- })) : $("", !0),
2952
- t(i).github ? (p(), f(J, {
3091
+ })) : x("", !0),
3092
+ t(i).github ? (p(), _(J, {
2953
3093
  key: 2,
2954
3094
  location: "bottom",
2955
3095
  text: "GitHub Sponsor"
2956
3096
  }, {
2957
- activator: a(({ props: c }) => [
3097
+ activator: a(({ props: u }) => [
2958
3098
  o(A, R({
2959
3099
  icon: `svg:${t(Ee)}`,
2960
3100
  color: "white"
2961
- }, c, { size: "16" }), null, 16, ["icon"])
3101
+ }, u, { size: "16" }), null, 16, ["icon"])
2962
3102
  ]),
2963
3103
  _: 1
2964
- })) : $("", !0),
2965
- t(i).discord ? (p(), f(J, {
3104
+ })) : x("", !0),
3105
+ t(i).discord ? (p(), _(J, {
2966
3106
  key: 3,
2967
3107
  location: "bottom",
2968
3108
  text: "Discord Subscriber"
2969
3109
  }, {
2970
- activator: a(({ props: c }) => [
3110
+ activator: a(({ props: u }) => [
2971
3111
  o(A, R({
2972
3112
  icon: `svg:${t(He)}`,
2973
3113
  color: "white"
2974
- }, c, { size: "16" }), null, 16, ["icon"])
3114
+ }, u, { size: "16" }), null, 16, ["icon"])
2975
3115
  ]),
2976
3116
  _: 1
2977
- })) : $("", !0)
3117
+ })) : x("", !0)
2978
3118
  ];
2979
3119
  }),
2980
3120
  _: 1
2981
- })) : $("", !0);
3121
+ })) : x("", !0);
2982
3122
  }
2983
- }), Ks = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, en = {
3123
+ }), ts = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, os = {
2984
3124
  key: "reset",
2985
3125
  class: "align-self-end"
2986
- }, tn = /* @__PURE__ */ k({
3126
+ }, ns = /* @__PURE__ */ $({
2987
3127
  __name: "VoUserColors",
2988
- setup(d) {
2989
- const e = F(), i = O(), s = D(!1);
2990
- function r() {
3128
+ setup(c) {
3129
+ const e = z(), i = F(), n = B(!1);
3130
+ function l() {
2991
3131
  i.colors.one = "surface-light";
2992
3132
  }
2993
- return (n, l) => {
2994
- const c = Xs, v = ne;
2995
- return p(), w(U, null, [
3133
+ return (s, r) => {
3134
+ const u = es, f = se;
3135
+ return p(), S(D, null, [
2996
3136
  o(ge, {
2997
3137
  color: t(e).user ? t(i).colors.one : "surface-light",
2998
3138
  "content-class": "d-flex align-start justify-end pa-2",
@@ -3002,35 +3142,35 @@ const Be = X("settings", () => {
3002
3142
  flat: ""
3003
3143
  }, {
3004
3144
  default: a(() => [
3005
- h("div", Ks, [
3006
- o(c),
3007
- t(e).isSubscriber ? (p(), f(v, {
3145
+ g("div", ts, [
3146
+ o(u),
3147
+ t(e).isSubscriber ? (p(), _(f, {
3008
3148
  key: 0,
3009
- active: s.value,
3010
- icon: s.value ? `svg:${t(re)}` : "$edit",
3011
- variant: s.value ? "text" : "plain",
3149
+ active: n.value,
3150
+ icon: n.value ? `svg:${t(re)}` : "$edit",
3151
+ variant: n.value ? "text" : "plain",
3012
3152
  class: "align-self-end",
3013
3153
  color: "inherit",
3014
3154
  density: "comfortable",
3015
3155
  title: "Edit One Header Color",
3016
- onClick: l[0] || (l[0] = (u) => s.value = !s.value)
3156
+ onClick: r[0] || (r[0] = (d) => n.value = !n.value)
3017
3157
  }, {
3018
3158
  default: a(() => [
3019
3159
  o(we, { "leave-absolute": "" }, {
3020
3160
  default: a(() => [
3021
- (p(), f(A, {
3022
- key: String(s.value)
3161
+ (p(), _(A, {
3162
+ key: String(n.value)
3023
3163
  }))
3024
3164
  ]),
3025
3165
  _: 1
3026
3166
  })
3027
3167
  ]),
3028
3168
  _: 1
3029
- }, 8, ["active", "icon", "variant"])) : $("", !0),
3169
+ }, 8, ["active", "icon", "variant"])) : x("", !0),
3030
3170
  o(co, null, {
3031
3171
  default: a(() => [
3032
- xe(h("div", en, [
3033
- o(v, {
3172
+ xe(g("div", os, [
3173
+ o(f, {
3034
3174
  disabled: t(i).colors.one === "surface-light",
3035
3175
  icon: `svg:${t(to)}`,
3036
3176
  class: "ms-2 me-1",
@@ -3038,10 +3178,10 @@ const Be = X("settings", () => {
3038
3178
  density: "comfortable",
3039
3179
  title: "Revert to Default",
3040
3180
  variant: "text",
3041
- onClick: r
3181
+ onClick: l
3042
3182
  }, null, 8, ["disabled", "icon"])
3043
3183
  ], 512), [
3044
- [Pe, s.value]
3184
+ [Pe, n.value]
3045
3185
  ])
3046
3186
  ]),
3047
3187
  _: 1
@@ -3052,7 +3192,7 @@ const Be = X("settings", () => {
3052
3192
  }, 8, ["color"]),
3053
3193
  o(he, null, {
3054
3194
  default: a(() => [
3055
- s.value ? (p(), f(bo, {
3195
+ n.value ? (p(), _(bo, {
3056
3196
  key: 0,
3057
3197
  "model-value": t(i).colors.one !== "surface-light" ? t(i).colors.one : void 0,
3058
3198
  elevation: "0",
@@ -3064,28 +3204,28 @@ const Be = X("settings", () => {
3064
3204
  "hide-inputs": "",
3065
3205
  "hide-sliders": "",
3066
3206
  "show-swatches": "",
3067
- "onUpdate:modelValue": l[1] || (l[1] = (u) => t(i).colors.one = u)
3068
- }, null, 8, ["model-value"])) : $("", !0)
3207
+ "onUpdate:modelValue": r[1] || (r[1] = (d) => t(i).colors.one = d)
3208
+ }, null, 8, ["model-value"])) : x("", !0)
3069
3209
  ]),
3070
3210
  _: 1
3071
3211
  })
3072
3212
  ], 64);
3073
3213
  };
3074
3214
  }
3075
- }), on = { class: "text-center mt-n9 mb-4" }, sn = /* @__PURE__ */ k({
3215
+ }), ss = { class: "text-center mt-n9 mb-4" }, as = /* @__PURE__ */ $({
3076
3216
  __name: "VoUserMenu",
3077
- setup(d) {
3078
- const e = Ne(), i = j(), s = H();
3079
- return N(() => e.banner, async () => {
3080
- var r, n;
3081
- await new Promise((l) => setTimeout(l, 300)), i.isOpen && ((n = (r = s.value) == null ? void 0 : r.updateLocation) == null || n.call(r));
3082
- }, { flush: "pre" }), (r, n) => {
3083
- const l = tn, c = Js, v = Gs, u = Hs, m = dt;
3084
- return p(), f(t(yo), {
3217
+ setup(c) {
3218
+ const e = Ue(), i = j(), n = T();
3219
+ return U(() => e.banner, async () => {
3220
+ var l, s;
3221
+ await new Promise((r) => setTimeout(r, 300)), i.isOpen && ((s = (l = n.value) == null ? void 0 : l.updateLocation) == null || s.call(l));
3222
+ }, { flush: "pre" }), (l, s) => {
3223
+ const r = ns, u = Kn, f = Zn, d = Wn, h = dt;
3224
+ return p(), _(t(yo), {
3085
3225
  ref_key: "menu",
3086
- ref: s,
3226
+ ref: n,
3087
3227
  modelValue: t(i).isOpen,
3088
- "onUpdate:modelValue": n[0] || (n[0] = (b) => t(i).isOpen = b),
3228
+ "onUpdate:modelValue": s[0] || (s[0] = (k) => t(i).isOpen = k),
3089
3229
  "close-on-click": !1,
3090
3230
  "close-on-content-click": !1,
3091
3231
  activator: "parent",
@@ -3093,21 +3233,21 @@ const Be = X("settings", () => {
3093
3233
  eager: ""
3094
3234
  }, {
3095
3235
  default: a(() => [
3096
- o(P, {
3236
+ o(H, {
3097
3237
  rounded: "lg",
3098
3238
  width: "280",
3099
3239
  border: ""
3100
3240
  }, {
3101
3241
  default: a(() => [
3102
- o(l),
3103
- h("div", on, [
3104
- o(c),
3105
- o(v)
3242
+ o(r),
3243
+ g("div", ss, [
3244
+ o(u),
3245
+ o(f)
3106
3246
  ]),
3107
- o(W),
3108
- o(u),
3109
- o(W),
3110
- o(m)
3247
+ o(E),
3248
+ o(d),
3249
+ o(E),
3250
+ o(h)
3111
3251
  ]),
3112
3252
  _: 1
3113
3253
  })
@@ -3116,27 +3256,27 @@ const Be = X("settings", () => {
3116
3256
  }, 8, ["modelValue"]);
3117
3257
  };
3118
3258
  }
3119
- }), nn = { key: 0 }, an = /* @__PURE__ */ k({
3259
+ }), is = { key: 0 }, rs = /* @__PURE__ */ $({
3120
3260
  __name: "VoAuthBtn",
3121
3261
  props: {
3122
3262
  external: Boolean
3123
3263
  },
3124
- setup(d) {
3125
- const e = F(), i = j(), s = O(), { lgAndUp: r, mdAndDown: n } = le(), l = S(() => i.isOpen || !e.user ? s.colors.one === "surface-light" ? "primary" : s.colors.one : "surface-light");
3126
- return (c, v) => {
3127
- const u = sn, m = ne, b = Do, V = ut;
3128
- return p(), w(U, null, [
3129
- o(b, {
3264
+ setup(c) {
3265
+ const e = z(), i = j(), n = F(), { lgAndUp: l, mdAndDown: s } = le(), r = L(() => i.isOpen || !e.user ? n.colors.one === "surface-light" ? "primary" : n.colors.one : "surface-light");
3266
+ return (u, f) => {
3267
+ const d = as, h = se, k = Do, y = ut;
3268
+ return p(), S(D, null, [
3269
+ o(k, {
3130
3270
  "offset-y": t(e).user ? 5 : 0
3131
3271
  }, {
3132
3272
  default: a(() => [
3133
- o(m, R({
3134
- [`${t(r) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(oo)}`
3273
+ o(h, R({
3274
+ [`${t(l) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(oo)}`
3135
3275
  }, {
3136
- color: t(i).isOpen ? l.value : "surface-variant",
3276
+ color: r.value,
3137
3277
  icon: t(e).user || t(e).isLoading,
3138
3278
  loading: t(e).isLoading,
3139
- rounded: t(n),
3279
+ rounded: t(s),
3140
3280
  variant: t(e).user ? "outlined" : "flat",
3141
3281
  class: "vo-auth-btn",
3142
3282
  size: "default",
@@ -3144,152 +3284,154 @@ const Be = X("settings", () => {
3144
3284
  active: ""
3145
3285
  }), {
3146
3286
  default: a(() => [
3147
- t(e).user ? $("", !0) : (p(), w("span", nn, "Login")),
3148
- t(e).user ? (p(), f(se, {
3287
+ t(e).user ? x("", !0) : (p(), S("span", is, "Login")),
3288
+ t(e).user ? (p(), _(ne, {
3149
3289
  key: 1,
3150
- image: t(s).avatar || t(e).user.picture || ""
3151
- }, null, 8, ["image"])) : $("", !0),
3152
- o(u)
3290
+ image: t(n).avatar || t(e).user.picture || ""
3291
+ }, null, 8, ["image"])) : x("", !0),
3292
+ o(d)
3153
3293
  ]),
3154
3294
  _: 1
3155
3295
  }, 16, ["color", "icon", "loading", "rounded", "variant"])
3156
3296
  ]),
3157
3297
  _: 1
3158
3298
  }, 8, ["offset-y"]),
3159
- o(V)
3299
+ o(y)
3160
3300
  ], 64);
3161
3301
  };
3162
3302
  }
3163
- }), rn = /* @__PURE__ */ k({
3303
+ }), ls = /* @__PURE__ */ $({
3164
3304
  __name: "VoNotificationsBanner",
3165
- setup(d) {
3166
- const { mdAndUp: e } = le(), i = Re(), s = O(), r = Ne(), n = S(() => r.banner), l = S(() => {
3167
- var b, V;
3168
- return ((b = n.value) == null ? void 0 : b.metadata.height) || ((V = n.value) != null && V.metadata.subtext ? 88 : 48);
3169
- }), c = S(() => !n.value || !s.notifications.last.banner.includes(n.value.slug));
3170
- function v() {
3171
- n.value && s.notifications.last.banner.push(n.value.slug);
3305
+ props: {
3306
+ demo: { type: Boolean }
3307
+ },
3308
+ setup(c) {
3309
+ const e = c, { mdAndUp: i } = le(), n = Re(), l = F(), s = Ue(), r = L(() => s.banner), u = L(() => {
3310
+ var y, w;
3311
+ return ((y = r.value) == null ? void 0 : y.metadata.height) || ((w = r.value) != null && w.metadata.subtext ? 88 : 48);
3312
+ }), f = L(() => e.demo ? !0 : !r.value || !l.notifications.last.banner.includes(r.value.slug));
3313
+ function d() {
3314
+ r.value && l.notifications.last.banner.push(r.value.slug);
3172
3315
  }
3173
- async function u(b) {
3174
- var _;
3175
- if (!n.value)
3316
+ async function h(y) {
3317
+ var v;
3318
+ if (!r.value)
3176
3319
  return;
3177
- v(), await fe();
3178
- const V = ((_ = n.value) == null ? void 0 : _.metadata) ?? { link: "" };
3179
- if (V.link.indexOf("?one=") === -1)
3320
+ d(), await fe();
3321
+ const w = ((v = r.value) == null ? void 0 : v.metadata) ?? { link: "" };
3322
+ if (w.link.indexOf("?one=") === -1)
3180
3323
  return;
3181
- b.preventDefault(), b.stopPropagation();
3182
- const L = V.link.split("?one=")[1];
3183
- i.push({ query: { one: L } });
3324
+ y.preventDefault(), y.stopPropagation();
3325
+ const m = w.link.split("?one=")[1];
3326
+ n.push({ query: { one: m } });
3184
3327
  }
3185
- const m = S(() => {
3186
- var V, L;
3187
- const b = ((V = n.value) == null ? void 0 : V.metadata) ?? { link: "" };
3328
+ const k = L(() => {
3329
+ var w, m;
3330
+ const y = ((w = r.value) == null ? void 0 : w.metadata) ?? { link: "" };
3188
3331
  return {
3189
- href: b.link.startsWith("http") ? b.link : void 0,
3190
- target: b.link.startsWith("http") ? "_blank" : void 0,
3191
- to: b.link.startsWith("http") ? void 0 : b.link,
3192
- ...(L = n.value) == null ? void 0 : L.metadata.attributes,
3193
- onClick: u
3332
+ href: y.link.startsWith("http") ? y.link : void 0,
3333
+ target: y.link.startsWith("http") ? "_blank" : void 0,
3334
+ to: y.link.startsWith("http") ? void 0 : y.link,
3335
+ ...(m = r.value) == null ? void 0 : m.metadata.attributes,
3336
+ onClick: h
3194
3337
  };
3195
3338
  });
3196
- return (b, V) => {
3197
- var L;
3198
- return n.value ? (p(), f(Vo, {
3339
+ return (y, w) => {
3340
+ var m;
3341
+ return r.value ? (p(), _(Vo, {
3199
3342
  key: 0,
3200
- color: n.value.metadata.color,
3201
- height: l.value,
3202
- image: (L = n.value.metadata.images.bg) == null ? void 0 : L.url,
3203
- "model-value": c.value,
3343
+ color: r.value.metadata.color,
3344
+ height: u.value,
3345
+ image: (m = r.value.metadata.images.bg) == null ? void 0 : m.url,
3346
+ "model-value": f.value,
3204
3347
  flat: ""
3205
3348
  }, {
3206
3349
  default: a(() => [
3207
- o(_e, R(m.value, {
3350
+ o(_e, R(k.value, {
3208
3351
  active: !1,
3209
- class: "flex-grow-1",
3352
+ class: "flex-grow-1 py-6",
3210
3353
  lines: "two",
3211
- onClick: u
3212
- }), G({
3354
+ onClick: h
3355
+ }), {
3356
+ prepend: a(() => [
3357
+ r.value.metadata.images.logo ? (p(), _(ne, {
3358
+ key: 0,
3359
+ image: r.value.metadata.images.logo.url,
3360
+ icon: "$vuetify",
3361
+ size: "x-large",
3362
+ tile: ""
3363
+ }, null, 8, ["image"])) : x("", !0)
3364
+ ]),
3213
3365
  append: a(() => [
3214
- t(e) && n.value.metadata.link && n.value.metadata.link_text ? (p(), f(Ce, { key: 0 }, {
3215
- default: a(({ isHovering: _, props: y }) => [
3216
- o(E, R({
3217
- ...y,
3218
- ...m.value
3366
+ t(i) && r.value.metadata.link && r.value.metadata.link_text ? (p(), _(Ce, { key: 0 }, {
3367
+ default: a(({ isHovering: v, props: V }) => [
3368
+ o(W, R({
3369
+ ...V,
3370
+ ...k.value
3219
3371
  }, {
3220
3372
  "append-icon": `svg:${t(ve)}`,
3221
- color: n.value.metadata.link_color,
3222
- elevation: _ ? 8 : 0,
3223
- title: n.value.metadata.link_text,
3373
+ color: r.value.metadata.link_color,
3374
+ elevation: v ? 8 : 0,
3375
+ title: r.value.metadata.link_text,
3224
3376
  class: "text-none me-2",
3225
3377
  variant: "elevated",
3226
- onClick: u
3378
+ onClick: h
3227
3379
  }), {
3228
3380
  default: a(() => [
3229
- B(I(n.value.metadata.link_text), 1)
3381
+ N(I(r.value.metadata.link_text), 1)
3230
3382
  ]),
3231
3383
  _: 2
3232
3384
  }, 1040, ["append-icon", "color", "elevation", "title"])
3233
3385
  ]),
3234
3386
  _: 1
3235
- })) : $("", !0),
3236
- n.value.metadata.closable ? (p(), f(E, {
3387
+ })) : x("", !0),
3388
+ r.value.metadata.closable ? (p(), _(W, {
3237
3389
  key: 1,
3390
+ disabled: y.demo,
3238
3391
  class: "ms-6 me-2",
3239
3392
  density: "comfortable",
3240
3393
  icon: "$clear",
3241
3394
  size: "small",
3242
3395
  variant: "plain",
3243
- onClick: Te(v, ["prevent", "stop"])
3244
- })) : $("", !0)
3396
+ onClick: je(d, ["prevent", "stop"])
3397
+ }, null, 8, ["disabled"])) : x("", !0)
3245
3398
  ]),
3246
3399
  default: a(() => [
3247
- n.value.metadata.text ? (p(), f(ot, {
3400
+ r.value.metadata.text ? (p(), _(ot, {
3248
3401
  key: 0,
3249
3402
  class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
3250
3403
  }, {
3251
3404
  default: a(() => [
3252
- B(I(n.value.metadata.text), 1)
3405
+ N(I(r.value.metadata.text), 1)
3253
3406
  ]),
3254
3407
  _: 1
3255
- })) : $("", !0),
3256
- n.value.metadata.subtext ? (p(), f(ao, { key: 1 }, {
3408
+ })) : x("", !0),
3409
+ r.value.metadata.subtext ? (p(), _(ao, { key: 1 }, {
3257
3410
  default: a(() => [
3258
- B(I(n.value.metadata.subtext), 1)
3411
+ N(I(r.value.metadata.subtext), 1)
3259
3412
  ]),
3260
3413
  _: 1
3261
- })) : $("", !0)
3414
+ })) : x("", !0)
3262
3415
  ]),
3263
- _: 2
3264
- }, [
3265
- n.value.metadata.images.logo ? {
3266
- name: "prepend",
3267
- fn: a(() => [
3268
- o(se, {
3269
- image: n.value.metadata.images.logo.url,
3270
- size: "x-large"
3271
- }, null, 8, ["image"])
3272
- ]),
3273
- key: "0"
3274
- } : void 0
3275
- ]), 1040)
3416
+ _: 1
3417
+ }, 16)
3276
3418
  ]),
3277
3419
  _: 1
3278
- }, 8, ["color", "height", "image", "model-value"])) : $("", !0);
3420
+ }, 8, ["color", "height", "image", "model-value"])) : x("", !0);
3279
3421
  };
3280
3422
  }
3281
- }), ln = (d) => (yt("data-v-40687c9d"), d = d(), Vt(), d), cn = {
3423
+ }), cs = (c) => (yt("data-v-40687c9d"), c = c(), Vt(), c), us = {
3282
3424
  key: 0,
3283
3425
  class: "v-footer__image"
3284
- }, un = ["href", "title"], dn = {
3426
+ }, ds = ["href", "title"], ps = {
3285
3427
  class: "text-caption text-disabled",
3286
3428
  style: { position: "absolute", right: "16px" }
3287
- }, pn = /* @__PURE__ */ ln(() => /* @__PURE__ */ h("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), mn = /* @__PURE__ */ k({
3429
+ }, ms = /* @__PURE__ */ cs(() => /* @__PURE__ */ g("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), fs = /* @__PURE__ */ $({
3288
3430
  __name: "VoFooter",
3289
3431
  props: {
3290
3432
  image: {}
3291
3433
  },
3292
- setup(d) {
3434
+ setup(c) {
3293
3435
  const e = [
3294
3436
  {
3295
3437
  title: "Vuetify Documentation",
@@ -3298,7 +3440,7 @@ const Be = X("settings", () => {
3298
3440
  },
3299
3441
  {
3300
3442
  title: "Vuetify Support",
3301
- icon: `svg:${so}`,
3443
+ icon: `svg:${no}`,
3302
3444
  href: "https://support.vuetifyjs.com/"
3303
3445
  },
3304
3446
  {
@@ -3318,155 +3460,155 @@ const Be = X("settings", () => {
3318
3460
  },
3319
3461
  {
3320
3462
  title: "Vuetify Reddit",
3321
- icon: `svg:${no}`,
3463
+ icon: `svg:${so}`,
3322
3464
  href: "https://reddit.com/r/vuetifyjs"
3323
3465
  }
3324
3466
  ];
3325
- return (i, s) => (p(), f(ko, {
3467
+ return (i, n) => (p(), _(ko, {
3326
3468
  class: "vo-footer",
3327
3469
  height: "40"
3328
3470
  }, {
3329
3471
  default: a(() => [
3330
- i.image || i.$slots.image ? (p(), w("div", cn, [
3331
- i.$slots.image ? M(i.$slots, "image", { key: 0 }, void 0, !0) : (p(), f(ge, {
3472
+ i.image || i.$slots.image ? (p(), S("div", us, [
3473
+ i.$slots.image ? P(i.$slots, "image", { key: 0 }, void 0, !0) : (p(), _(ge, {
3332
3474
  key: 1,
3333
3475
  src: i.image,
3334
3476
  position: "left",
3335
3477
  cover: ""
3336
3478
  }, null, 8, ["src"]))
3337
- ])) : $("", !0),
3338
- (p(), w(U, null, oe(e, (r) => h("a", {
3339
- key: r.title,
3340
- href: r.href,
3341
- title: r.title,
3479
+ ])) : x("", !0),
3480
+ (p(), S(D, null, oe(e, (l) => g("a", {
3481
+ key: l.title,
3482
+ href: l.href,
3483
+ title: l.title,
3342
3484
  class: "d-inline-block mx-2 social-link",
3343
3485
  rel: "noopener noreferrer",
3344
3486
  target: "_blank"
3345
3487
  }, [
3346
3488
  o(A, {
3347
- icon: r.icon,
3348
- size: r.icon === "$vuetify" ? 24 : 16
3489
+ icon: l.icon,
3490
+ size: l.icon === "$vuetify" ? 24 : 16
3349
3491
  }, null, 8, ["icon", "size"])
3350
- ], 8, un)), 64)),
3351
- h("div", dn, [
3352
- B(" © 2016-" + I((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
3353
- pn
3492
+ ], 8, ds)), 64)),
3493
+ g("div", ps, [
3494
+ N(" © 2016-" + I((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
3495
+ ms
3354
3496
  ])
3355
3497
  ]),
3356
3498
  _: 3
3357
3499
  }));
3358
3500
  }
3359
- }), fn = (d, e) => {
3360
- const i = d.__vccOpts || d;
3361
- for (const [s, r] of e)
3362
- i[s] = r;
3501
+ }), vs = (c, e) => {
3502
+ const i = c.__vccOpts || c;
3503
+ for (const [n, l] of e)
3504
+ i[n] = l;
3363
3505
  return i;
3364
- }, vn = /* @__PURE__ */ fn(mn, [["__scopeId", "data-v-40687c9d"]]), oa = X("bins", () => {
3365
- const d = F(), e = be(), i = H([]), s = H(), r = D(!1), n = D(-1), l = S(() => !d.user || !s.value ? !1 : d.user.id === s.value.owner.id), c = S(() => i.value.filter((y) => y.favorite)), v = S(() => i.value.filter((y) => y.pinned));
3366
- N(s, () => {
3367
- window.clearTimeout(n.value), n.value = window.setTimeout(() => {
3368
- !s.value || !l.value || V(s.value, s.value.id);
3506
+ }, _s = /* @__PURE__ */ vs(fs, [["__scopeId", "data-v-40687c9d"]]), na = X("bins", () => {
3507
+ const c = z(), e = be(), i = T([]), n = T(), l = B(!1), s = B(-1), r = L(() => !c.user || !n.value ? !1 : c.user.id === n.value.owner.id), u = L(() => i.value.filter((v) => v.favorite)), f = L(() => i.value.filter((v) => v.pinned));
3508
+ U(n, () => {
3509
+ window.clearTimeout(s.value), s.value = window.setTimeout(() => {
3510
+ !n.value || !r.value || y(n.value, n.value.id);
3369
3511
  }, 100);
3370
3512
  }, { deep: !0 });
3371
- async function u() {
3513
+ async function d() {
3372
3514
  try {
3373
- r.value = !0;
3374
- const y = await e.get("/one/bins");
3375
- i.value = y.bins;
3515
+ l.value = !0;
3516
+ const v = await e.get("/one/bins");
3517
+ i.value = v.bins;
3376
3518
  } catch {
3377
3519
  } finally {
3378
- r.value = !1;
3520
+ l.value = !1;
3379
3521
  }
3380
3522
  return i.value;
3381
3523
  }
3382
- async function m(y) {
3524
+ async function h(v) {
3383
3525
  try {
3384
- r.value = !0, await e.delete(`/one/bins/${y}`), i.value = i.value.filter((x) => x.id !== y);
3526
+ l.value = !0, await e.delete(`/one/bins/${v}`), i.value = i.value.filter((V) => V.id !== v);
3385
3527
  } catch {
3386
3528
  } finally {
3387
- r.value = !1;
3529
+ l.value = !1;
3388
3530
  }
3389
3531
  return !0;
3390
3532
  }
3391
- async function b(y) {
3533
+ async function k(v) {
3392
3534
  try {
3393
- r.value = !0;
3394
- const x = await e.post("/one/bins", { bin: y });
3395
- return i.value.push(x.bin), s.value = x.bin, x;
3535
+ l.value = !0;
3536
+ const V = await e.post("/one/bins", { bin: v });
3537
+ return i.value.push(V.bin), n.value = V.bin, V;
3396
3538
  } catch {
3397
3539
  } finally {
3398
- r.value = !1;
3540
+ l.value = !1;
3399
3541
  }
3400
- return { bin: y };
3542
+ return { bin: v };
3401
3543
  }
3402
- async function V(y, x) {
3544
+ async function y(v, V) {
3403
3545
  try {
3404
- r.value = !0;
3405
- const z = await e.post(`/one/bins/${x}`, { bin: y }), T = i.value.findIndex((te) => te.id === x);
3406
- i.value.splice(T, 1, z.bin);
3546
+ l.value = !0;
3547
+ const O = await e.post(`/one/bins/${V}`, { bin: v }), M = i.value.findIndex((te) => te.id === V);
3548
+ i.value.splice(M, 1, O.bin);
3407
3549
  } catch {
3408
3550
  } finally {
3409
- r.value = !1;
3551
+ l.value = !1;
3410
3552
  }
3411
- return { bin: y };
3553
+ return { bin: v };
3412
3554
  }
3413
- async function L(y, x) {
3555
+ async function w(v, V) {
3414
3556
  try {
3415
- r.value = !0;
3416
- const z = x ? await V(y, x) : await b(y);
3417
- s.value = z.bin;
3557
+ l.value = !0;
3558
+ const O = V ? await y(v, V) : await k(v);
3559
+ n.value = O.bin;
3418
3560
  } catch {
3419
3561
  } finally {
3420
- r.value = !1;
3562
+ l.value = !1;
3421
3563
  }
3422
- return { bin: y };
3564
+ return { bin: v };
3423
3565
  }
3424
- async function _(y) {
3566
+ async function m(v) {
3425
3567
  try {
3426
- r.value = !0;
3427
- const x = await e.get(`/one/bins/${y}`);
3428
- s.value = x.bin;
3568
+ l.value = !0;
3569
+ const V = await e.get(`/one/bins/${v}`);
3570
+ n.value = V.bin;
3429
3571
  } catch {
3430
3572
  } finally {
3431
- r.value = !1;
3573
+ l.value = !1;
3432
3574
  }
3433
- return { bin: s.value };
3575
+ return { bin: n.value };
3434
3576
  }
3435
3577
  return {
3436
- isLoading: r,
3437
- isOwner: l,
3438
- pinned: v,
3439
- favorites: c,
3578
+ isLoading: l,
3579
+ isOwner: r,
3580
+ pinned: f,
3581
+ favorites: u,
3440
3582
  all: i,
3441
- create: b,
3442
- delete: m,
3443
- current: s,
3444
- find: _,
3445
- get: u,
3446
- update: V,
3447
- updateOrCreate: L
3583
+ create: k,
3584
+ delete: h,
3585
+ current: n,
3586
+ find: m,
3587
+ get: d,
3588
+ update: y,
3589
+ updateOrCreate: w
3448
3590
  };
3449
3591
  });
3450
3592
  function sa() {
3451
- function d(e) {
3452
- e.component("VoAuthBtn", an), e.component("VoAuthCard", ct), e.component("VoAuthDialog", ut), e.component("VoAuthListItem", dt), e.component("VoNotificationsBanner", rn), e.component("VoFooter", vn);
3593
+ function c(e) {
3594
+ e.component("VoAuthBtn", rs), e.component("VoAuthCard", ct), e.component("VoAuthDialog", ut), e.component("VoAuthListItem", dt), e.component("VoNotificationsBanner", ls), e.component("VoFooter", _s);
3453
3595
  }
3454
- return { install: d };
3596
+ return { install: c };
3455
3597
  }
3456
- function na(d, e) {
3598
+ function aa(c, e) {
3457
3599
  return function(i) {
3458
- const s = i.store;
3459
- s.url = e, s.$id === "site" && (s.id = d);
3600
+ const n = i.store;
3601
+ n.url = e, n.$id === "site" && (n.id = c);
3460
3602
  };
3461
3603
  }
3462
3604
  export {
3463
3605
  sa as createOne,
3464
- na as one,
3465
- F as useAuthStore,
3466
- Ne as useBannersStore,
3467
- oa as useBinsStore,
3606
+ aa as one,
3607
+ z as useAuthStore,
3608
+ Ue as useBannersStore,
3609
+ na as useBinsStore,
3468
3610
  be as useHttpStore,
3469
3611
  j as useOneStore,
3470
- Be as useSettingsStore,
3471
- O as useUserStore
3612
+ Ne as useSettingsStore,
3613
+ F as useUserStore
3472
3614
  };