@pinia/colada-devtools 0.1.5 → 0.1.7

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 (35) hide show
  1. package/dist/index.js +281 -286
  2. package/dist/index.js.map +1 -1
  3. package/dist-panel/_queryId_-Belc_zp1.js +701 -0
  4. package/dist-panel/_queryId_-Belc_zp1.js.map +1 -0
  5. package/dist-panel/{index-B6c9Loor.js → index-8zera7xN.js} +4 -4
  6. package/dist-panel/{index-B6c9Loor.js.map → index-8zera7xN.js.map} +1 -1
  7. package/dist-panel/index-LWD0-6oX.js +6561 -0
  8. package/dist-panel/index-LWD0-6oX.js.map +1 -0
  9. package/dist-panel/{index-DsbwSvSM.js → index-ahP8xsZT.js} +2 -2
  10. package/dist-panel/{index-DsbwSvSM.js.map → index-ahP8xsZT.js.map} +1 -1
  11. package/dist-panel/index.js +1 -1
  12. package/dist-panel/{loader-BxXz3POc.js → loader-D4fVpj_e.js} +6 -6
  13. package/dist-panel/loader-D4fVpj_e.js.map +1 -0
  14. package/dist-panel/{mouse-pointer-click--GgfMFjw.js → mouse-pointer-click-Ckyof3Oo.js} +4 -4
  15. package/dist-panel/mouse-pointer-click-Ckyof3Oo.js.map +1 -0
  16. package/dist-panel/mutations-D5gH6B6q.js +13 -0
  17. package/dist-panel/mutations-D5gH6B6q.js.map +1 -0
  18. package/dist-panel/queries-55qwqD5F.js +795 -0
  19. package/dist-panel/queries-55qwqD5F.js.map +1 -0
  20. package/dist-panel/{settings-Cl-hr-ie.js → settings-C6gLVIkW.js} +2 -2
  21. package/dist-panel/{settings-Cl-hr-ie.js.map → settings-C6gLVIkW.js.map} +1 -1
  22. package/dist-shared/index.d.ts +27 -0
  23. package/dist-shared/index.js +295 -65
  24. package/dist-shared/index.js.map +1 -1
  25. package/package.json +9 -9
  26. package/dist-panel/_queryId_-Bilvrtoo.js +0 -621
  27. package/dist-panel/_queryId_-Bilvrtoo.js.map +0 -1
  28. package/dist-panel/index-D50XbbDk.js +0 -6492
  29. package/dist-panel/index-D50XbbDk.js.map +0 -1
  30. package/dist-panel/loader-BxXz3POc.js.map +0 -1
  31. package/dist-panel/mouse-pointer-click--GgfMFjw.js.map +0 -1
  32. package/dist-panel/mutations-CNQGJZrN.js +0 -13
  33. package/dist-panel/mutations-CNQGJZrN.js.map +0 -1
  34. package/dist-panel/queries-CSBvC4-S.js +0 -813
  35. package/dist-panel/queries-CSBvC4-S.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,93 +1,91 @@
1
- import { defineComponent as R, ref as F, onMounted as $, renderSlot as s2, createCommentVNode as U, toValue as E, getCurrentScope as V, onScopeDispose as J, useTemplateRef as a2, shallowRef as W, watch as P, onBeforeUnmount as c2, createBlock as D, openBlock as C, Teleport as u2, createElementVNode as Q, nextTick as Y, readonly as K, getCurrentInstance as d2, toRef as f2, customRef as p2, computed as X, unref as G, withCtx as m2, createElementBlock as v2 } from "vue";
1
+ import { defineComponent as R, ref as F, onMounted as $, renderSlot as s2, createCommentVNode as U, toValue as S, getCurrentScope as V, onScopeDispose as J, useTemplateRef as a2, shallowRef as W, watch as P, onBeforeUnmount as c2, createBlock as D, openBlock as C, Teleport as u2, createElementVNode as Q, nextTick as Y, readonly as K, getCurrentInstance as d2, toRef as f2, customRef as p2, computed as X, unref as G, withCtx as m2, createElementBlock as v2 } from "vue";
2
2
  import { useQueryCache as Z } from "@pinia/colada";
3
- import { DEVTOOLS_INFO_KEY as p, DuplexChannel as h2 } from "@pinia/colada-devtools/shared";
3
+ import { DEVTOOLS_INFO_KEY as f, DuplexChannel as h2 } from "@pinia/colada-devtools/shared";
4
4
  const y2 = /* @__PURE__ */ R({
5
5
  __name: "ClientOnly",
6
6
  setup(e) {
7
- const n = F(!1);
7
+ const t = F(!1);
8
8
  return $(() => {
9
- n.value = !0;
10
- }), (t, r) => n.value ? s2(t.$slots, "default", { key: 0 }) : U("", !0);
9
+ t.value = !0;
10
+ }), (n, i) => t.value ? s2(n.$slots, "default", { key: 0 }) : U("", !0);
11
11
  }
12
- }), k = () => performance.timeOrigin + performance.now();
12
+ }), b = () => performance.timeOrigin + performance.now();
13
13
  function g2(e) {
14
- var n;
15
14
  if (!L.has(e)) {
16
15
  L.set(e, !0);
17
16
  for (const t of e.getEntries())
18
- t[n = p] ?? (t[n] = {
17
+ t[f] ??= {
19
18
  count: {
20
19
  total: 0,
21
20
  succeed: 0,
22
21
  errored: 0,
23
22
  cancelled: 0
24
23
  },
25
- updatedAt: k(),
24
+ updatedAt: b(),
26
25
  inactiveAt: 0,
27
26
  simulate: null,
28
27
  history: []
29
- });
30
- e.$onAction(({ name: t, args: r, after: f, onError: h }) => {
31
- var s, a;
28
+ };
29
+ e.$onAction(({ name: t, args: n, after: i, onError: p }) => {
32
30
  if (t === "create")
33
- f((l) => {
34
- l[p] = {
31
+ i((l) => {
32
+ l[f] = {
35
33
  count: {
36
34
  total: 0,
37
35
  succeed: 0,
38
36
  errored: 0,
39
37
  cancelled: 0
40
38
  },
41
- updatedAt: k(),
39
+ updatedAt: b(),
42
40
  inactiveAt: 0,
43
41
  simulate: null,
44
42
  history: []
45
43
  };
46
44
  });
47
45
  else if (t === "fetch") {
48
- const [l] = r;
49
- l[p].count.total++, l[p].updatedAt = k();
50
- const d = k(), v = {
51
- id: (((s = l[p].history.at(0)) == null ? void 0 : s.id) ?? -1) + 1,
46
+ const [l] = n;
47
+ l[f].count.total++, l[f].updatedAt = b();
48
+ const r = b(), s = {
49
+ id: (l[f].history.at(0)?.id ?? -1) + 1,
52
50
  key: l.key,
53
51
  state: l.state.value,
54
- updatedAt: d,
55
- createdAt: d,
52
+ updatedAt: r,
53
+ createdAt: r,
56
54
  fetchTime: null
57
- }, x = E((a = l.options) == null ? void 0 : a.enabled) ?? !0;
58
- x && (v.fetchTime = {
59
- start: d,
55
+ }, d = S(l.options?.enabled) ?? !0;
56
+ d && (s.fetchTime = {
57
+ start: r,
60
58
  end: null
61
- }), l[p].history.unshift(v), l[p].history = l[p].history.slice(0, 10), f(() => {
62
- x && (v.fetchTime.end = k(), l[p].count.succeed++, v.state = l.state.value, v.updatedAt = k());
63
- }), h(() => {
64
- x && (v.fetchTime.end = k(), l[p].count.errored++, v.state = l.state.value, v.updatedAt = k());
59
+ }), l[f].history.unshift(s), l[f].history = l[f].history.slice(0, 10), i(() => {
60
+ d && (s.fetchTime.end = b(), l[f].count.succeed++, s.state = l.state.value, s.updatedAt = b());
61
+ }), p(() => {
62
+ d && (s.fetchTime.end = b(), l[f].count.errored++, s.state = l.state.value, s.updatedAt = b());
65
63
  });
66
64
  } else if (t === "cancel") {
67
- const [l] = r;
68
- l.pending && l[p].count.cancelled++;
65
+ const [l] = n;
66
+ l.pending && l[f].count.cancelled++;
69
67
  } else if (t === "setEntryState") {
70
- const [l] = r;
71
- let d = l[p].history[0];
72
- f(() => {
73
- l[p].updatedAt = k(), d ?? (d = l[p].history[0]), d && (d.state = l.state.value, d.updatedAt = k());
68
+ const [l] = n;
69
+ let r = l[f].history[0];
70
+ i(() => {
71
+ l[f].updatedAt = b(), r ??= l[f].history[0], r && (r.state = l.state.value, r.updatedAt = b());
74
72
  });
75
73
  } else if (t === "untrack") {
76
- const [l] = r;
77
- f(() => {
78
- l.active || (l[p].inactiveAt = k());
74
+ const [l] = n;
75
+ i(() => {
76
+ l.active || (l[f].inactiveAt = b());
79
77
  });
80
78
  } else if (t === "setQueryData") {
81
- const [l] = r;
82
- f(() => {
83
- const d = e.getEntries({ key: l, exact: !0 })[0];
84
- d && !d.active && (d[p].inactiveAt = k());
79
+ const [l] = n;
80
+ i(() => {
81
+ const r = e.getEntries({ key: l, exact: !0 })[0];
82
+ r && !r.active && (r[f].inactiveAt = b());
85
83
  });
86
84
  }
87
85
  });
88
86
  }
89
87
  }
90
- function b(e) {
88
+ function g(e) {
91
89
  return {
92
90
  keyHash: e.keyHash,
93
91
  key: e.key,
@@ -99,166 +97,162 @@ function b(e) {
99
97
  options: e.options && {
100
98
  staleTime: e.options.staleTime,
101
99
  gcTime: e.options.gcTime,
102
- refetchOnMount: E(e.options.refetchOnMount),
103
- refetchOnReconnect: E(e.options.refetchOnReconnect),
104
- refetchOnWindowFocus: E(e.options.refetchOnWindowFocus),
105
- enabled: E(e.options.enabled)
100
+ refetchOnMount: S(e.options.refetchOnMount),
101
+ refetchOnReconnect: S(e.options.refetchOnReconnect),
102
+ refetchOnWindowFocus: S(e.options.refetchOnWindowFocus),
103
+ enabled: S(e.options.enabled)
106
104
  },
107
105
  deps: Array.from(e.deps).map(
108
- (n) => "uid" in n ? {
106
+ (t) => "uid" in t ? {
109
107
  type: "component",
110
- uid: n.uid,
111
- name: n.type.displayName ?? n.type.name
108
+ uid: t.uid,
109
+ name: t.type.displayName ?? t.type.name
112
110
  } : {
113
111
  type: "effect",
114
- active: n.active,
115
- detached: n.detached
112
+ active: t.active,
113
+ detached: t.detached
116
114
  }
117
115
  ),
118
116
  gcTimeout: typeof e.gcTimeout == "number" ? e.gcTimeout : null,
119
- devtools: e[p]
117
+ devtools: e[f]
120
118
  };
121
119
  }
122
120
  const L = /* @__PURE__ */ new WeakMap();
123
- function w2(e, n, t, r) {
124
- e.addEventListener(n, t, r), V() && J(() => {
125
- e.removeEventListener(n, t);
121
+ function w2(e, t, n, i) {
122
+ e.addEventListener(t, n, i), V() && J(() => {
123
+ e.removeEventListener(t, n);
126
124
  });
127
125
  }
128
126
  const b2 = [".isPip", ".port"], x2 = /* @__PURE__ */ R({
129
127
  __name: "PiniaColadaDevtools",
130
128
  emits: ["close"],
131
- setup(e, { emit: n }) {
132
- const t = n, r = Z();
133
- r.$onAction(({ name: i, after: o, onError: m, args: y }) => {
134
- if (i === "remove") {
135
- const [c] = y;
129
+ setup(e, { emit: t }) {
130
+ const n = t, i = Z();
131
+ i.$onAction(({ name: a, after: o, onError: m, args: y }) => {
132
+ if (a === "remove") {
133
+ const [u] = y;
136
134
  o(() => {
137
- s.emit("queries:delete", b(c));
135
+ r.emit("queries:delete", g(u));
138
136
  });
139
- } else if (i === "track" || i === "untrack" || i === "cancel" || i === "invalidate" || i === "fetch" || i === "setEntryState") {
140
- const [c] = y;
141
- if (i === "fetch") {
142
- const w = b(c);
143
- w.asyncStatus = "loading", s.emit("queries:update", w);
137
+ } else if (a === "track" || a === "untrack" || a === "cancel" || a === "invalidate" || a === "fetch" || a === "setEntryState") {
138
+ const [u] = y;
139
+ if (a === "fetch") {
140
+ const x = g(u);
141
+ x.asyncStatus = "loading", r.emit("queries:update", x);
144
142
  }
145
143
  o(() => {
146
- var w;
147
- c[p].simulate = null, s.emit("queries:update", b(c)), i === "fetch" && ((w = c.options) == null ? void 0 : w.staleTime) != null && Number.isFinite(c.options.staleTime) && setTimeout(() => {
148
- s.emit("queries:update", b(c));
149
- }, c.options.staleTime);
144
+ u[f].simulate = null, r.emit("queries:update", g(u)), a === "fetch" && u.options?.staleTime != null && Number.isFinite(u.options.staleTime) && setTimeout(() => {
145
+ r.emit("queries:update", g(u));
146
+ }, u.options.staleTime);
150
147
  }), m(() => {
151
- s.emit("queries:update", b(c));
148
+ r.emit("queries:update", g(u));
152
149
  });
153
- } else if (i === "create")
154
- o((c) => {
155
- s.emit("queries:update", b(c));
150
+ } else if (a === "create")
151
+ o((u) => {
152
+ r.emit("queries:update", g(u));
156
153
  });
157
- else if (i === "setQueryData") {
158
- const [c] = y;
154
+ else if (a === "setQueryData") {
155
+ const [u] = y;
159
156
  o(() => {
160
- const w = r.getEntries({ key: c, exact: !0 })[0];
161
- w && s.emit("queries:update", b(w));
157
+ const x = i.getEntries({ key: u, exact: !0 })[0];
158
+ x && r.emit("queries:update", g(x));
162
159
  });
163
160
  }
164
161
  });
165
- const f = a2("devtools"), h = W(new MessageChannel()), s = new h2(h.value.port1);
162
+ const p = a2("devtools"), l = W(new MessageChannel()), r = new h2(l.value.port1);
166
163
  P(
167
- h,
168
- (i) => {
169
- s.setPort(i.port1);
164
+ l,
165
+ (a) => {
166
+ r.setPort(a.port1);
170
167
  },
171
168
  { flush: "sync" }
172
- ), s.on("queries:refetch", (i) => {
173
- r.invalidateQueries({ key: i, exact: !0, active: null, stale: null });
174
- }), s.on("queries:invalidate", (i) => {
175
- r.invalidateQueries({ key: i, exact: !0 });
176
- }), s.on("queries:reset", (i) => {
177
- const o = r.getEntries({ key: i, exact: !0 })[0];
178
- o && (r.cancel(o), r.setEntryState(o, {
169
+ ), r.on("queries:refetch", (a) => {
170
+ i.invalidateQueries({ key: a, exact: !0, active: null, stale: null });
171
+ }), r.on("queries:invalidate", (a) => {
172
+ i.invalidateQueries({ key: a, exact: !0 });
173
+ }), r.on("queries:reset", (a) => {
174
+ const o = i.getEntries({ key: a, exact: !0 })[0];
175
+ o && (i.cancel(o), i.setEntryState(o, {
179
176
  status: "pending",
180
177
  data: void 0,
181
178
  error: null
182
179
  }));
183
- }), s.on("queries:set:state", (i, o) => {
184
- const m = r.getEntries({ key: i, exact: !0 })[0];
185
- m && (r.setEntryState(m, o), s.emit("queries:update", b(m)));
186
- }), s.on("queries:simulate:loading", (i) => {
187
- const o = r.getEntries({ key: i, exact: !0 })[0];
188
- o && (o.asyncStatus.value = "loading", o[p].simulate = "loading", s.emit("queries:update", b(o)));
189
- }), s.on("queries:simulate:loading:stop", (i) => {
190
- const o = r.getEntries({ key: i, exact: !0 })[0];
191
- o && o[p].simulate === "loading" && (o.asyncStatus.value = "idle", o[p].simulate = null, s.emit("queries:update", b(o)));
192
- }), s.on("queries:simulate:error", (i) => {
193
- const o = r.getEntries({ key: i, exact: !0 })[0];
194
- o && (r.cancel(o), r.setEntryState(o, {
180
+ }), r.on("queries:set:state", (a, o) => {
181
+ const m = i.getEntries({ key: a, exact: !0 })[0];
182
+ m && (i.setEntryState(m, o), r.emit("queries:update", g(m)));
183
+ }), r.on("queries:simulate:loading", (a) => {
184
+ const o = i.getEntries({ key: a, exact: !0 })[0];
185
+ o && (o.asyncStatus.value = "loading", o[f].simulate = "loading", r.emit("queries:update", g(o)));
186
+ }), r.on("queries:simulate:loading:stop", (a) => {
187
+ const o = i.getEntries({ key: a, exact: !0 })[0];
188
+ o && o[f].simulate === "loading" && (o.asyncStatus.value = "idle", o[f].simulate = null, r.emit("queries:update", g(o)));
189
+ }), r.on("queries:simulate:error", (a) => {
190
+ const o = i.getEntries({ key: a, exact: !0 })[0];
191
+ o && (i.cancel(o), i.setEntryState(o, {
195
192
  ...o.state.value,
196
193
  status: "error",
197
194
  error: new Error("Simulated error")
198
- }), o[p].simulate = "error", s.emit("queries:update", b(o)));
199
- }), s.on("queries:simulate:error:stop", (i) => {
200
- const o = r.getEntries({ key: i, exact: !0 })[0];
201
- o && o[p].simulate === "error" && (r.cancel(o), r.setEntryState(o, {
195
+ }), o[f].simulate = "error", r.emit("queries:update", g(o)));
196
+ }), r.on("queries:simulate:error:stop", (a) => {
197
+ const o = i.getEntries({ key: a, exact: !0 })[0];
198
+ o && o[f].simulate === "error" && (i.cancel(o), i.setEntryState(o, {
202
199
  ...o.state.value,
203
200
  status: o.state.value.data !== void 0 ? "success" : "pending",
204
201
  error: null
205
- }), o[p].simulate = null, s.emit("queries:update", b(o)));
202
+ }), o[f].simulate = null, r.emit("queries:update", g(o)));
206
203
  });
207
- const a = W(null);
208
- P(a, () => {
209
- h.value = new MessageChannel();
204
+ const s = W(null);
205
+ P(s, () => {
206
+ l.value = new MessageChannel();
210
207
  }), w2(
211
208
  window,
212
209
  "unload",
213
210
  () => {
214
- var i;
215
- (i = a.value) == null || i.close();
211
+ s.value?.close();
216
212
  },
217
213
  { passive: !0 }
218
214
  ), c2(() => {
219
- var i;
220
- (i = a.value) == null || i.close();
215
+ s.value?.close();
221
216
  });
222
- function l() {
223
- var i;
224
- (i = a.value) == null || i.close(), a.value = null;
225
- }
226
217
  function d() {
227
- const i = f.value;
228
- if (!i || !i.shadowRoot)
218
+ s.value?.close(), s.value = null;
219
+ }
220
+ function v() {
221
+ const a = p.value;
222
+ if (!a || !a.shadowRoot)
229
223
  throw new Error("No devtools elemnt found for Pinia Colada devtools");
230
- const o = i.shadowRoot.getElementById("root");
224
+ const o = a.shadowRoot.getElementById("root");
231
225
  if (!o)
232
226
  throw new Error("No devtools root element found for Pinia Colada devtools");
233
- const m = Math.max(o.offsetWidth, 400), y = Math.max(o.offsetHeight, 400), c = window.open(
227
+ const m = Math.max(o.offsetWidth, 400), y = Math.max(o.offsetHeight, 400), u = window.open(
234
228
  "",
235
229
  "pinia-colada-devtools",
236
230
  `popup,width=${m},height=${y}`
237
231
  );
238
- if (!c)
232
+ if (!u)
239
233
  throw new Error("Failed to open PiP window for Pinia Colada devtools");
240
- a.value = c, c.document.head.innerHTML = "", c.document.body.innerHTML = "", c.document.title = "🍹 Pinia Colada Devtools", c.document.body.style.margin = "0", v(i, c.document), c.addEventListener(
234
+ s.value = u, u.document.head.innerHTML = "", u.document.body.innerHTML = "", u.document.title = "🍹 Pinia Colada Devtools", u.document.body.style.margin = "0", w(a, u.document), u.addEventListener(
241
235
  "unload",
242
236
  () => {
243
- a.value = null;
237
+ s.value = null;
244
238
  },
245
239
  { passive: !0 }
246
240
  );
247
241
  }
248
- function v(i, o = document) {
249
- if (!i || !i.shadowRoot)
242
+ function w(a, o = document) {
243
+ if (!a || !a.shadowRoot)
250
244
  throw new Error("No devtools element found for Pinia Colada devtools");
251
245
  const m = o.getElementById("__pc-tw-properties") ?? o.createElement("style");
252
246
  m.setAttribute("id", "__pc-tw-properties");
253
- const y = [...i.shadowRoot.styleSheets].flatMap((c) => [...c.cssRules]).filter((c) => c instanceof CSSPropertyRule).map((c) => c.cssText).join("");
247
+ const y = [...a.shadowRoot.styleSheets].flatMap((u) => [...u.cssRules]).filter((u) => u instanceof CSSPropertyRule).map((u) => u.cssText).join("");
254
248
  m.textContent = y, o.head.appendChild(m);
255
249
  }
256
- function x() {
257
- a.value ? l() : d();
250
+ function E() {
251
+ s.value ? d() : v();
258
252
  }
259
253
  let O = 0;
260
254
  async function z() {
261
- if (!f.value) {
255
+ if (!p.value) {
262
256
  if (++O > 100)
263
257
  throw new Error("Failed to find devtools element for Pinia Colada devtools");
264
258
  setTimeout(() => {
@@ -266,22 +260,22 @@ const b2 = [".isPip", ".port"], x2 = /* @__PURE__ */ R({
266
260
  }, 100);
267
261
  return;
268
262
  }
269
- v(f.value), s.emit("queries:all", r.getEntries().map(b)), s.emit(
263
+ w(p.value), r.emit("queries:all", i.getEntries().map(g)), r.emit(
270
264
  "mutations:all",
271
265
  // FIXME: add mutations
272
- r.getEntries().map(b)
266
+ i.getEntries().map(g)
273
267
  );
274
268
  }
275
- return (i, o) => (C(), D(u2, {
276
- to: a.value ? a.value.document.body : "body"
269
+ return (a, o) => (C(), D(u2, {
270
+ to: s.value ? s.value.document.body : "body"
277
271
  }, [
278
272
  Q("pinia-colada-devtools-panel", {
279
273
  ref: "devtools",
280
- ".isPip": !!a.value,
281
- ".port": h.value.port2,
282
- onTogglePip: o[0] || (o[0] = (m) => x()),
274
+ ".isPip": !!s.value,
275
+ ".port": l.value.port2,
276
+ onTogglePip: o[0] || (o[0] = (m) => E()),
283
277
  onReady: o[1] || (o[1] = (m) => z()),
284
- onClose: o[2] || (o[2] = (m) => t("close"))
278
+ onClose: o[2] || (o[2] = (m) => n("close"))
285
279
  }, null, 40, b2)
286
280
  ], 8, ["to"]));
287
281
  }
@@ -296,32 +290,32 @@ const E2 = Object.prototype.toString, z2 = (e) => E2.call(e) === "[object Object
296
290
  function _2(...e) {
297
291
  if (e.length !== 1)
298
292
  return f2(...e);
299
- const n = e[0];
300
- return typeof n == "function" ? K(p2(() => ({ get: n, set: O2 }))) : F(n);
293
+ const t = e[0];
294
+ return typeof t == "function" ? K(p2(() => ({ get: t, set: O2 }))) : F(t);
301
295
  }
302
- function C2(e, n) {
303
- function t(...r) {
304
- return new Promise((f, h) => {
305
- Promise.resolve(e(() => n.apply(this, r), { fn: n, thisArg: this, args: r })).then(f).catch(h);
296
+ function C2(e, t) {
297
+ function n(...i) {
298
+ return new Promise((p, l) => {
299
+ Promise.resolve(e(() => t.apply(this, i), { fn: t, thisArg: this, args: i })).then(p).catch(l);
306
300
  });
307
301
  }
308
- return t;
302
+ return n;
309
303
  }
310
304
  const e2 = (e) => e();
311
- function P2(e = e2, n = {}) {
305
+ function P2(e = e2, t = {}) {
312
306
  const {
313
- initialState: t = "active"
314
- } = n, r = _2(t === "active");
315
- function f() {
316
- r.value = !1;
307
+ initialState: n = "active"
308
+ } = t, i = _2(n === "active");
309
+ function p() {
310
+ i.value = !1;
317
311
  }
318
- function h() {
319
- r.value = !0;
312
+ function l() {
313
+ i.value = !0;
320
314
  }
321
- const s = (...a) => {
322
- r.value && e(...a);
315
+ const r = (...s) => {
316
+ i.value && e(...s);
323
317
  };
324
- return { isActive: K(r), pause: f, resume: h, eventFilter: s };
318
+ return { isActive: K(i), pause: p, resume: l, eventFilter: r };
325
319
  }
326
320
  function M(e) {
327
321
  return Array.isArray(e) ? e : [e];
@@ -329,95 +323,95 @@ function M(e) {
329
323
  function T2(e) {
330
324
  return d2();
331
325
  }
332
- function A2(e, n, t = {}) {
326
+ function A2(e, t, n = {}) {
333
327
  const {
334
- eventFilter: r = e2,
335
- ...f
336
- } = t;
328
+ eventFilter: i = e2,
329
+ ...p
330
+ } = n;
337
331
  return P(
338
332
  e,
339
333
  C2(
340
- r,
341
- n
334
+ i,
335
+ t
342
336
  ),
343
- f
337
+ p
344
338
  );
345
339
  }
346
- function G2(e, n, t = {}) {
340
+ function G2(e, t, n = {}) {
347
341
  const {
348
- eventFilter: r,
349
- initialState: f = "active",
350
- ...h
351
- } = t, { eventFilter: s, pause: a, resume: l, isActive: d } = P2(r, { initialState: f });
342
+ eventFilter: i,
343
+ initialState: p = "active",
344
+ ...l
345
+ } = n, { eventFilter: r, pause: s, resume: d, isActive: v } = P2(i, { initialState: p });
352
346
  return { stop: A2(
353
347
  e,
354
- n,
348
+ t,
355
349
  {
356
- ...h,
357
- eventFilter: s
350
+ ...l,
351
+ eventFilter: r
358
352
  }
359
- ), pause: a, resume: l, isActive: d };
353
+ ), pause: s, resume: d, isActive: v };
360
354
  }
361
- function U2(e, n = !0, t) {
362
- T2() ? $(e, t) : n ? e() : Y(e);
355
+ function U2(e, t = !0, n) {
356
+ T2() ? $(e, n) : t ? e() : Y(e);
363
357
  }
364
- function D2(e, n, t) {
358
+ function D2(e, t, n) {
365
359
  return P(
366
360
  e,
367
- n,
361
+ t,
368
362
  {
369
- ...t,
363
+ ...n,
370
364
  immediate: !0
371
365
  }
372
366
  );
373
367
  }
374
368
  const q = S2 ? window : void 0;
375
369
  function q2(e) {
376
- var n;
377
- const t = E(e);
378
- return (n = t == null ? void 0 : t.$el) != null ? n : t;
370
+ var t;
371
+ const n = S(e);
372
+ return (t = n?.$el) != null ? t : n;
379
373
  }
380
374
  function I(...e) {
381
- const n = [], t = () => {
382
- n.forEach((a) => a()), n.length = 0;
383
- }, r = (a, l, d, v) => (a.addEventListener(l, d, v), () => a.removeEventListener(l, d, v)), f = X(() => {
384
- const a = M(E(e[0])).filter((l) => l != null);
385
- return a.every((l) => typeof l != "string") ? a : void 0;
386
- }), h = D2(
375
+ const t = [], n = () => {
376
+ t.forEach((s) => s()), t.length = 0;
377
+ }, i = (s, d, v, w) => (s.addEventListener(d, v, w), () => s.removeEventListener(d, v, w)), p = X(() => {
378
+ const s = M(S(e[0])).filter((d) => d != null);
379
+ return s.every((d) => typeof d != "string") ? s : void 0;
380
+ }), l = D2(
387
381
  () => {
388
- var a, l;
382
+ var s, d;
389
383
  return [
390
- (l = (a = f.value) == null ? void 0 : a.map((d) => q2(d))) != null ? l : [q].filter((d) => d != null),
391
- M(E(f.value ? e[1] : e[0])),
392
- M(G(f.value ? e[2] : e[1])),
384
+ (d = (s = p.value) == null ? void 0 : s.map((v) => q2(v))) != null ? d : [q].filter((v) => v != null),
385
+ M(S(p.value ? e[1] : e[0])),
386
+ M(G(p.value ? e[2] : e[1])),
393
387
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
394
- E(f.value ? e[3] : e[2])
388
+ S(p.value ? e[3] : e[2])
395
389
  ];
396
390
  },
397
- ([a, l, d, v]) => {
398
- if (t(), !(a != null && a.length) || !(l != null && l.length) || !(d != null && d.length))
391
+ ([s, d, v, w]) => {
392
+ if (n(), !s?.length || !d?.length || !v?.length)
399
393
  return;
400
- const x = z2(v) ? { ...v } : v;
401
- n.push(
402
- ...a.flatMap(
403
- (O) => l.flatMap(
404
- (z) => d.map((i) => r(O, z, i, x))
394
+ const E = z2(w) ? { ...w } : w;
395
+ t.push(
396
+ ...s.flatMap(
397
+ (O) => d.flatMap(
398
+ (z) => v.map((a) => i(O, z, a, E))
405
399
  )
406
400
  )
407
401
  );
408
402
  },
409
403
  { flush: "post" }
410
- ), s = () => {
411
- h(), t();
404
+ ), r = () => {
405
+ l(), n();
412
406
  };
413
- return k2(t), s;
407
+ return k2(n), r;
414
408
  }
415
409
  const T = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, A = "__vueuse_ssr_handlers__", R2 = /* @__PURE__ */ F2();
416
410
  function F2() {
417
411
  return A in T || (T[A] = T[A] || {}), T[A];
418
412
  }
419
- function N2(e, n) {
420
- return R2[e] || n;
413
+ function N2(e, t) {
414
+ return R2[e] || t;
421
415
  }
422
416
  function M2(e) {
423
417
  return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
@@ -456,147 +450,148 @@ const W2 = {
456
450
  write: (e) => e.toISOString()
457
451
  }
458
452
  }, H = "vueuse-storage";
459
- function $2(e, n, t, r = {}) {
460
- var f;
453
+ function $2(e, t, n, i = {}) {
454
+ var p;
461
455
  const {
462
- flush: h = "pre",
463
- deep: s = !0,
464
- listenToStorageChanges: a = !0,
465
- writeDefaults: l = !0,
466
- mergeDefaults: d = !1,
467
- shallow: v,
468
- window: x = q,
456
+ flush: l = "pre",
457
+ deep: r = !0,
458
+ listenToStorageChanges: s = !0,
459
+ writeDefaults: d = !0,
460
+ mergeDefaults: v = !1,
461
+ shallow: w,
462
+ window: E = q,
469
463
  eventFilter: O,
470
- onError: z = (u) => {
471
- console.error(u);
464
+ onError: z = (c) => {
465
+ console.error(c);
472
466
  },
473
- initOnMounted: i
474
- } = r, o = (v ? W : F)(n), m = X(() => E(e));
475
- if (!t)
467
+ initOnMounted: a
468
+ } = i, o = (w ? W : F)(t), m = X(() => S(e));
469
+ if (!n)
476
470
  try {
477
- t = N2("getDefaultStorage", () => {
478
- var u;
479
- return (u = q) == null ? void 0 : u.localStorage;
471
+ n = N2("getDefaultStorage", () => {
472
+ var c;
473
+ return (c = q) == null ? void 0 : c.localStorage;
480
474
  })();
481
- } catch (u) {
482
- z(u);
475
+ } catch (c) {
476
+ z(c);
483
477
  }
484
- if (!t)
478
+ if (!n)
485
479
  return o;
486
- const y = E(n), c = M2(y), w = (f = r.serializer) != null ? f : W2[c], { pause: t2, resume: j } = G2(
480
+ const y = S(t), u = M2(y), x = (p = i.serializer) != null ? p : W2[u], { pause: t2, resume: j } = G2(
487
481
  o,
488
- () => i2(o.value),
489
- { flush: h, deep: s, eventFilter: O }
482
+ (c) => i2(c),
483
+ { flush: l, deep: r, eventFilter: O }
490
484
  );
491
- P(m, () => _(), { flush: h });
485
+ P(m, () => _(), { flush: l });
492
486
  let N = !1;
493
- const o2 = (u) => {
494
- i && !N || _(u);
495
- }, n2 = (u) => {
496
- i && !N || l2(u);
487
+ const o2 = (c) => {
488
+ a && !N || _(c);
489
+ }, n2 = (c) => {
490
+ a && !N || l2(c);
497
491
  };
498
- x && a && (t instanceof Storage ? I(x, "storage", o2, { passive: !0 }) : I(x, H, n2)), i ? U2(() => {
492
+ E && s && (n instanceof Storage ? I(E, "storage", o2, { passive: !0 }) : I(E, H, n2)), a ? U2(() => {
499
493
  N = !0, _();
500
494
  }) : _();
501
- function B(u, g) {
502
- if (x) {
503
- const S = {
495
+ function B(c, h) {
496
+ if (E) {
497
+ const k = {
504
498
  key: m.value,
505
- oldValue: u,
506
- newValue: g,
507
- storageArea: t
499
+ oldValue: c,
500
+ newValue: h,
501
+ storageArea: n
508
502
  };
509
- x.dispatchEvent(t instanceof Storage ? new StorageEvent("storage", S) : new CustomEvent(H, {
510
- detail: S
503
+ E.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", k) : new CustomEvent(H, {
504
+ detail: k
511
505
  }));
512
506
  }
513
507
  }
514
- function i2(u) {
508
+ function i2(c) {
515
509
  try {
516
- const g = t.getItem(m.value);
517
- if (u == null)
518
- B(g, null), t.removeItem(m.value);
510
+ const h = n.getItem(m.value);
511
+ if (c == null)
512
+ B(h, null), n.removeItem(m.value);
519
513
  else {
520
- const S = w.write(u);
521
- g !== S && (t.setItem(m.value, S), B(g, S));
514
+ const k = x.write(c);
515
+ h !== k && (n.setItem(m.value, k), B(h, k));
522
516
  }
523
- } catch (g) {
524
- z(g);
517
+ } catch (h) {
518
+ z(h);
525
519
  }
526
520
  }
527
- function r2(u) {
528
- const g = u ? u.newValue : t.getItem(m.value);
529
- if (g == null)
530
- return l && y != null && t.setItem(m.value, w.write(y)), y;
531
- if (!u && d) {
532
- const S = w.read(g);
533
- return typeof d == "function" ? d(S, y) : c === "object" && !Array.isArray(S) ? { ...y, ...S } : S;
534
- } else return typeof g != "string" ? g : w.read(g);
521
+ function r2(c) {
522
+ const h = c ? c.newValue : n.getItem(m.value);
523
+ if (h == null)
524
+ return d && y != null && n.setItem(m.value, x.write(y)), y;
525
+ if (!c && v) {
526
+ const k = x.read(h);
527
+ return typeof v == "function" ? v(k, y) : u === "object" && !Array.isArray(k) ? { ...y, ...k } : k;
528
+ } else return typeof h != "string" ? h : x.read(h);
535
529
  }
536
- function _(u) {
537
- if (!(u && u.storageArea !== t)) {
538
- if (u && u.key == null) {
530
+ function _(c) {
531
+ if (!(c && c.storageArea !== n)) {
532
+ if (c && c.key == null) {
539
533
  o.value = y;
540
534
  return;
541
535
  }
542
- if (!(u && u.key !== m.value)) {
536
+ if (!(c && c.key !== m.value)) {
543
537
  t2();
544
538
  try {
545
- (u == null ? void 0 : u.newValue) !== w.write(o.value) && (o.value = r2(u));
546
- } catch (g) {
547
- z(g);
539
+ const h = x.write(o.value);
540
+ (c === void 0 || c?.newValue !== h) && (o.value = r2(c));
541
+ } catch (h) {
542
+ z(h);
548
543
  } finally {
549
- u ? Y(j) : j();
544
+ c ? Y(j) : j();
550
545
  }
551
546
  }
552
547
  }
553
548
  }
554
- function l2(u) {
555
- _(u.detail);
549
+ function l2(c) {
550
+ _(c.detail);
556
551
  }
557
552
  return o;
558
553
  }
559
- function j2(e, n, t = {}) {
560
- const { window: r = q } = t;
561
- return $2(e, n, r == null ? void 0 : r.localStorage, t);
554
+ function j2(e, t, n = {}) {
555
+ const { window: i = q } = n;
556
+ return $2(e, t, i?.localStorage, n);
562
557
  }
563
- const B2 = "data:image/svg+xml,%3csvg%20fill='none'%20height='898'%20viewBox='0%200%20800%20898'%20width='800'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cfilter%20id='a'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%20height='420.89'%20width='423.181'%20x='188.521'%20y='361.908'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeGaussianBlur%20in='BackgroundImageFix'%20stdDeviation='10'/%3e%3cfeComposite%20in2='SourceAlpha'%20operator='in'%20result='effect1_backgroundBlur_1637_47'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_backgroundBlur_1637_47'%20mode='normal'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='b'%3e%3cstop%20offset='0'%20stop-color='%237fd5e3'/%3e%3cstop%20offset='.770833'%20stop-color='%23aeeff0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20gradientUnits='userSpaceOnUse'%20x1='233.326'%20x2='241.809'%20xlink:href='%23b'%20y1='243.792'%20y2='284.95'/%3e%3clinearGradient%20id='d'%20gradientUnits='userSpaceOnUse'%20x1='277.296'%20x2='304.128'%20y1='275.972'%20y2='302.009'%3e%3cstop%20offset='.385417'%20stop-color='%23ffdb5c'/%3e%3cstop%20offset='1'%20stop-color='%23ecb732'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%3e%3cstop%20offset='0'%20stop-color='%2352ce63'/%3e%3cstop%20offset='1'%20stop-color='%2351a256'/%3e%3c/linearGradient%3e%3clinearGradient%20id='f'%20gradientUnits='userSpaceOnUse'%20x1='233.887'%20x2='230.388'%20xlink:href='%23e'%20y1='136.565'%20y2='147.767'/%3e%3clinearGradient%20id='g'%3e%3cstop%20offset='0'%20stop-color='%238ae99c'/%3e%3cstop%20offset='1'%20stop-color='%2352ce63'/%3e%3c/linearGradient%3e%3clinearGradient%20id='h'%20gradientUnits='userSpaceOnUse'%20x1='256.561'%20x2='245.971'%20xlink:href='%23g'%20y1='138.333'%20y2='152.754'/%3e%3clinearGradient%20id='i'%20gradientUnits='userSpaceOnUse'%20x1='214.536'%20x2='213.733'%20y1='167.529'%20y2='168.196'%3e%3cstop%20offset='0'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3cstop%20offset='.282022'%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cradialGradient%20id='j'%20cx='0'%20cy='0'%20gradientTransform='matrix(1.36208147%201.63937714%20-3.1980157%202.65708103%20190.872%20141.075)'%20gradientUnits='userSpaceOnUse'%20r='1'%3e%3cstop%20offset='.52747'/%3e%3cstop%20offset='.63688'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='k'%20gradientUnits='userSpaceOnUse'%20x1='227.082'%20x2='238.714'%20y1='159.803'%20y2='238.05'%3e%3cstop%20offset='.078125'%20stop-color='%23fff'/%3e%3cstop%20offset='.473958'%20stop-color='%23fffaa5'/%3e%3cstop%20offset='.84375'%20stop-color='%23fffed4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='l'%20gradientUnits='userSpaceOnUse'%20x1='366.94'%20x2='366.161'%20xlink:href='%23e'%20y1='93.3179'%20y2='168.2'/%3e%3clinearGradient%20id='m'%20gradientUnits='userSpaceOnUse'%20x1='617.826'%20x2='542.939'%20xlink:href='%23e'%20y1='189.364'%20y2='188.567'/%3e%3clinearGradient%20id='n'%20gradientUnits='userSpaceOnUse'%20x1='514.204'%20x2='476.049'%20xlink:href='%23g'%20y1='62.4891'%20y2='171.814'/%3e%3clinearGradient%20id='o'%20gradientUnits='userSpaceOnUse'%20x1='451.43'%20x2='376.146'%20y1='255.419'%20y2='495.027'%3e%3cstop%20offset='0'%20stop-color='%23ffe56c'/%3e%3cstop%20offset='1'%20stop-color='%23ffc63a'/%3e%3c/linearGradient%3e%3clinearGradient%20id='p'%20gradientUnits='userSpaceOnUse'%20x1='394.756'%20x2='394.756'%20xlink:href='%23b'%20y1='712.519'%20y2='888'/%3e%3clinearGradient%20id='q'%20gradientUnits='userSpaceOnUse'%20x1='399.85'%20x2='399.85'%20y1='375.856'%20y2='706.195'%3e%3cstop%20offset='.078125'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3cstop%20offset='.276042'%20stop-color='%23fffaa5'/%3e%3cstop%20offset='.84375'%20stop-color='%23fffed4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='r'%20gradientUnits='userSpaceOnUse'%20x1='553.538'%20x2='536.097'%20y1='426.455'%20y2='349.514'%3e%3cstop%20offset='0'%20stop-color='%23ecb732'/%3e%3cstop%20offset='.653943'%20stop-color='%23ffe56c'/%3e%3c/linearGradient%3e%3cpath%20d='m587.128%20385.531c-188.875-56.155-178.038-57.025-366-.69%2027.292%2044.834%2027.992%2084.84%2015.395%20143.469%20159.33%200%20321.213.69%20321.213.69-11.897-44.834-13.996-79.322%2029.392-143.469z'%20fill='%23f0fcfc'%20stroke='%237fd5e3'%20stroke-linejoin='round'%20stroke-width='6'/%3e%3cpath%20d='m226.182%20243.95c1.207%201.485%2012.678-.331%2015.477-3.19-.971%204.681-.049%2027.776%202.27%2029.801%201.926%201.125%2011.494%202.535%2015.481%202.306%202.533.154%203.397%201.7%203.335%202.863-.183%203.42-16.585%208.279-19.54%208.932-3.539.778-22.748%202.743-24.34.112-.244-.795.359-2.949%202.934-4.156%205.603-2.169%2012.681-6.649%2013.617-8.302%201.816-2.15-6.526-25.035-9.234-28.366z'%20fill='url(%23c)'/%3e%3cpath%20d='m229.202%20244.511c.072%202.53%2010.388%2027.359%208.133%2029.281-.724.758-18.017%208.099-14.603%209.002%202.559.677%2021.937%201.143%2033.378-4.442.96-.194%201.649.618%202.569.753-12.996%206.227-18.27%206.471-30.28%206.917-1.998.133-7.604.499-9.221-1.291-1.048-1.161%201.238-3.3%201.776-3.516%201.215-.49%2012.498-6.296%2014.115-8.236%203.369-1.345-6.992-26.883-8.621-28.915%201.328.572%201.742.233%202.754.447z'%20fill='%23fdfffe'/%3e%3cpath%20d='m245.125%20229.52c3.064-16.516%2010.925%2068.722%2073.375%2044.98-4.085%209.807-7.851%2014.032-15%2029-29.416%2015.761-54.974-17.288-61.714-32.604-22.163%2023.228-31.229-63.028%203.339-41.376z'%20fill='url(%23d)'/%3e%3cpath%20d='m237.24%20267.66c.365%201.043%201.506%201.593%202.548%201.228%201.043-.365%201.592-1.506%201.227-2.548zm-2.063-22.409%201.996.128zm1.043-9.251c-1.979-.289-1.979-.289-1.979-.289h-.001v.001.004c-.001.003-.001.007-.002.012-.002.012-.004.028-.007.049-.006.042-.015.105-.027.185-.022.16-.055.392-.095.682-.08.58-.189%201.393-.305%202.324-.232%201.853-.499%204.215-.623%206.156l3.992.255c.116-1.816.37-4.08.6-5.914.114-.912.22-1.707.299-2.275.039-.284.071-.51.093-.665.011-.077.019-.137.025-.177.003-.02.005-.035.006-.045.001-.005.002-.008.002-.011%200-.001%200-.002%200-.002v-.001h.001s-.001%200-1.979-.289zm-3.039%209.124c-.303%204.738.748%2010.42%201.816%2014.792.541%202.212%201.099%204.141%201.522%205.517.212.689.39%201.241.517%201.623.063.191.113.34.148.442.017.051.031.09.04.118.005.013.009.024.011.031.002.004.003.007.003.009.001.001.001.002.001.003%200%200%20.001.001.001.001s0%200%201.888-.66c1.887-.66%201.888-.66%201.888-.66s-.001%200-.001-.001-.001-.003-.001-.005c-.002-.005-.005-.013-.009-.024-.007-.022-.019-.056-.035-.102-.031-.091-.077-.229-.136-.408-.119-.358-.289-.883-.491-1.543-.406-1.32-.942-3.171-1.46-5.291-1.049-4.292-1.973-9.484-1.71-13.587z'%20fill='%23ecb732'/%3e%3cpath%20d='m251.735%20157.143c-18.944.673-29.761%201.26-48.29%206.174l7.698%2010.409%2037.203-5.531z'%20fill='%23f0fcfc'%20stroke='%237fd5e3'%20stroke-linejoin='round'%20stroke-width='2'/%3e%3cpath%20clip-rule='evenodd'%20d='m236.905%20164.814c5.895-1.691%207.114-7.182%206.481-15.018-.633-7.835-6.768-13.931-8.773-13.356s-7.062%209.882-6.429%2017.717%202.826%2012.348%208.721%2010.657z'%20fill='url(%23f)'%20fill-rule='evenodd'/%3e%3cpath%20clip-rule='evenodd'%20d='m239.765%20163.743c4.527%203.325%208.761-.25%2013.416-7.254%204.655-7.005%204.982-16.979%203.442-18.11-1.539-1.131-10.461%202.531-15.117%209.535-4.655%207.005-6.269%2012.504-1.741%2015.829z'%20fill='url(%23h)'%20fill-rule='evenodd'/%3e%3cpath%20d='m189.664%20143.157c.546-1.355%201.074-2.004%202.977-2.68l35.096%2042.471c-1.448.624-2.06%201.27-2.978%202.681z'%20fill='%23000'/%3e%3cpath%20d='m189.664%20143.157c.546-1.355%201.074-2.004%202.977-2.68l35.096%2042.471c-1.448.624-2.06%201.27-2.978%202.681z'%20fill='url(%23i)'/%3e%3cpath%20d='m189.664%20143.157c.546-1.355%201.074-2.004%202.977-2.68l35.096%2042.471c-1.448.624-2.06%201.27-2.978%202.681z'%20fill='url(%23j)'/%3e%3cpath%20d='m203.21%20163.352c17.042%201.234%2033.703-.573%2048.538-6.127-2.89%2011.732-.974%2020.321.043%2023.938%2013.681%2025.929%209.045%2037.199%206.308%2042.43-12.077%2018.707-29.009%2017.121-38.344%209.132-12.411-8.787-14.05-20.348-9.152-45.439-1.242-8.355-3.142-14.687-7.393-23.934z'%20fill='url(%23k)'/%3e%3cpath%20d='m203.21%20163.352c17.042%201.234%2033.703-.573%2048.538-6.127-2.89%2011.732-.974%2020.321.043%2023.938%2013.681%2025.929%209.045%2037.199%206.308%2042.43-12.077%2018.707-29.009%2017.121-38.344%209.132-12.411-8.787-14.05-20.348-9.152-45.439-1.242-8.355-3.142-14.687-7.393-23.934z'%20fill='%23aeeff0'%20fill-opacity='.19'/%3e%3cpath%20d='m203.21%20163.352c17.042%201.234%2033.703-.573%2048.538-6.127-2.89%2011.732-.974%2020.321.043%2023.938%2013.681%2025.929%209.045%2037.199%206.308%2042.43-12.077%2018.707-29.009%2017.121-38.344%209.132-12.411-8.787-14.05-20.348-9.152-45.439-1.242-8.355-3.142-14.687-7.393-23.934z'%20stroke='%237fd5e3'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-miterlimit='3.60929'%20stroke-width='2'/%3e%3cpath%20d='m237.553%20179.428%207.114.03c2.753%209.618%204.634%2014.26%208.807%2024.31-1.669%203.444-3.949%205.03-8.655%205.724-6.286-9.521-7.762-16.177-7.266-30.064z'%20fill='%23fdfee9'%20fill-opacity='.82'/%3e%3cg%20clip-rule='evenodd'%20fill-rule='evenodd'%3e%3cpath%20d='m433.39%20260.331c34.69-21.154%2033.266-56.933%2016.134-103.631s-66.376-72.6719-78.174-65.477c-11.799%207.1949-28.415%2073.33-11.283%20120.028s38.633%2070.234%2073.323%2049.08z'%20fill='url(%23l)'/%3e%3cpath%20d='m457.425%20269.514c13.994%2038.145%2045.087%2032.053%2087.555%206.156s70.995-86.964%2066.235-99.938c-4.76-12.973-59.855-24.326-102.323%201.571s-65.462%2054.066-51.467%2092.211z'%20fill='url(%23m)'/%3e%3cpath%20d='m449.798%20248.545c34.374%2011.996%2055.339-17.616%2073.255-68.949%2017.915-51.332%203.313-112.8622-8.378-116.9425s-62.35%2034.6736-80.265%2086.0055c-17.915%2051.333-18.986%2087.889%2015.388%2099.886z'%20fill='url(%23n)'/%3e%3cpath%20d='m394.608%20499.418c74.042%2016.061%20138.754%207.579%20159.913-89.964%2021.16-97.542-21.524-190.61-95.565-206.671-74.042-16.062-151.405%2050.965-172.564%20148.507-21.16%2097.543%2034.174%20132.066%20108.216%20148.128z'%20fill='url(%23o)'/%3e%3cpath%20d='m522.686%20417.137c-1.544-2.298-4.659-2.909-6.957-1.365l-80.798%2054.292c-2.298%201.544-2.91%204.659-1.365%206.957%201.544%202.299%204.659%202.91%206.957%201.366l80.798-54.292c2.298-1.545%202.909-4.659%201.365-6.958z'%20fill='%23ecb732'/%3e%3cpath%20d='m457.194%20411.286c-2.374%201.425-3.142%204.505-1.717%206.879l32.206%2053.622c1.425%202.373%204.505%203.142%206.879%201.716%202.373-1.425%203.142-4.505%201.716-6.879l-32.205-53.622c-1.426-2.373-4.506-3.142-6.879-1.716z'%20fill='%23ecb732'/%3e%3cpath%20d='m481.033%20244.015c1.498%202.329.825%205.431-1.503%206.929l-53.118%2034.181c-2.328%201.498-5.43.825-6.929-1.504-1.498-2.328-.825-5.43%201.503-6.928l53.118-34.181c2.328-1.498%205.43-.825%206.929%201.503z'%20fill='%23ffc73b'/%3e%3cpath%20d='m461.153%20292.661c2.329-1.499%203.001-4.601%201.503-6.929l-34.18-53.118c-1.499-2.328-4.601-3.001-6.929-1.503-2.328%201.499-3.001%204.601-1.503%206.929l34.18%2053.118c1.499%202.328%204.601%203.001%206.929%201.503z'%20fill='%23ffc73b'/%3e%3c/g%3e%3cpath%20d='m353.029%20341.568c10.219%203.566%2019.848%202.604%2021.507-2.149s-5.281-11.497-15.5-15.063c-10.218-3.567-19.847-2.605-21.506%202.148s5.28%2011.497%2015.499%2015.064z'%20fill='%23eaadcc'/%3e%3cpath%20d='m487.451%20376.393c10.578%202.295%2020.017.166%2021.085-4.753%201.067-4.92-6.643-10.768-17.22-13.063-10.577-2.294-20.017-.166-21.085%204.754-1.067%204.919%206.643%2010.768%2017.22%2013.062z'%20fill='%23eaadcc'/%3e%3cpath%20clip-rule='evenodd'%20d='m308.341%20370.64c2.357-1.451%205.446-.717%206.897%201.641l51.04%2082.891c1.452%202.357.717%205.445-1.64%206.897-2.358%201.452-5.446.718-6.898-1.64l-51.04-82.891c-1.451-2.358-.717-5.446%201.641-6.898z'%20fill='%23ecb732'%20fill-rule='evenodd'/%3e%3cpath%20clip-rule='evenodd'%20d='m370.371%20392.452c1.57%202.281.993%205.402-1.288%206.972l-51.529%2035.458c-2.281%201.569-5.403.992-6.972-1.289-1.57-2.281-.993-5.402%201.288-6.971l51.529-35.458c2.281-1.57%205.403-.993%206.972%201.288z'%20fill='%23ecb732'%20fill-rule='evenodd'/%3e%3cpath%20d='m446.846%20345.706c-2.512%2011.581-17.225%2019.067-28.049%2016.719-10.823-2.348-17.994-14.591-15.482-26.171%201.388-6.396%2012.532-7.545%2023.355-5.197%2010.824%202.348%2021.564%208.254%2020.176%2014.649z'%20fill='%23e77777'/%3e%3cpath%20clip-rule='evenodd'%20d='m350.974%20295.736c-1.403.56-2.087%202.15-1.527%203.553%202.817%207.066%208.43%2011.911%2016.412%2014.622%208.043%202.731%2015.879%202.226%2023.332-1.549%201.347-.683%201.886-2.328%201.204-3.676-.682-1.347-2.328-1.886-3.675-1.203-6.107%203.093-12.416%203.52-19.102%201.25-6.746-2.291-10.968-6.143-13.091-11.469-.56-1.403-2.15-2.087-3.553-1.528z'%20fill='%23755400'%20fill-rule='evenodd'/%3e%3cpath%20clip-rule='evenodd'%20d='m467.183%20331.205c-1.403.559-2.087%202.15-1.528%203.553%202.817%207.065%208.431%2011.911%2016.413%2014.622%208.042%202.731%2015.878%202.225%2023.332-1.55%201.347-.682%201.886-2.328%201.204-3.675-.683-1.347-2.328-1.886-3.675-1.204-6.108%203.093-12.416%203.521-19.102%201.25-6.746-2.291-10.968-6.143-13.092-11.469-.559-1.403-2.15-2.087-3.552-1.527z'%20fill='%23755400'%20fill-rule='evenodd'/%3e%3cpath%20d='m357.784%20712.429c8.796%207.093%2053.534%209.337%2086.6%200-18.895%2018.328-18.562%20108.272%200%20118.509%2016.533%206.225%2049.378%2020.057%2088.742%2022.478%2024.406%202.766%2029.73%209.818%2026.785%2014.524-8.661%2013.832-120.799%2019.879-150.954%2020.056-36.095.2-160.033-7.953-170.268-20.056-.787-3.458%209.431-11.758%2036.985-14.524%2059.047-4.15%2072.889-15.017%2082.11-22.478%2016.726-13.534%2019.726-102.602%200-118.509z'%20fill='url(%23p)'/%3e%3cpath%20d='m386.44%20719.378c-4.391%2010.407%201.999%20124.959-23.881%20130.918-8.589%202.492-90.278%2012.597-70.981%2014.744%2023.978%202.667%20118.162%2013.419%20241.041.22%209.761.016%205.99%202.602%2014.696%203.932-139.349%2014.514-87.658%2019.497-205.751%2011.197-19.762-1.139-69.983-6.298-87.479-11.197-7.888-5.63%2022.31-9.369%2027.994-9.798%2012.838-.982%2050.307-10.225%2069.983-16.796%2032.892-10.983%2020.207-117.687%208.398-127.369%2011.809%203.458%2016.537%202.421%2025.98%204.149z'%20fill='%23fdfffe'/%3e%3cg%20filter='url(%23a)'%3e%3cpath%20d='m220.493%20384.908c166.135%2049.457%20212.377%2048.131%20366.712%200-46.889%2072.44-30.792%20132.268-25.894%20167.26%203.5%2041.29%2044.04%2064.991%2019.596%20113.372-63.349%20125.383-282.733%20125.971-359.714%200-28.111-46%2013.997-59.463%2013.997-113.372%200-51.788%2013.647-126.455-14.697-167.26z'%20fill='url(%23q)'/%3e%3cpath%20d='m220.493%20384.908c166.135%2049.457%20212.377%2048.131%20366.712%200-46.889%2072.44-30.792%20132.268-25.894%20167.26%203.5%2041.29%2044.04%2064.991%2019.596%20113.372-63.349%20125.383-282.733%20125.971-359.714%200-28.111-46%2013.997-59.463%2013.997-113.372%200-51.788%2013.647-126.455-14.697-167.26z'%20fill='%23aeeff0'%20fill-opacity='.19'/%3e%3cpath%20d='m220.493%20384.908c166.135%2049.457%20212.377%2048.131%20366.712%200-46.889%2072.44-30.792%20132.268-25.894%20167.26%203.5%2041.29%2044.04%2064.991%2019.596%20113.372-63.349%20125.383-282.733%20125.971-359.714%200-28.111-46%2013.997-59.463%2013.997-113.372%200-51.788%2013.647-126.455-14.697-167.26z'%20stroke='%237fd5e3'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-miterlimit='3.60929'%20stroke-width='6'/%3e%3c/g%3e%3cpath%20d='m466.834%20529.074%2063.684-9.798c6.603%2081.838-.322%2064.494%2020.296%2095.177-6.998%2013.297-25.894%2049.688-63.685%2031.493-26.365-42.668-11.38-21.251-20.295-116.872z'%20fill='%23f9fef9'/%3e%3cpath%20d='m262.483%20425.499c15.396%2054.586%2016.096%20113.372-7.698%20180.556-18.006%2050.84%2032.276%2098.184%2084.679%20112.673'%20stroke='%23f9fef9'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-opacity='.85'%20stroke-width='12'/%3e%3cpath%20d='m557.837%20340c7.454%201.653%2014.108%205.426%2021.643%2014.157%205.638%206.531%2010.895%2015.712%2012.452%2024.099%201.35%207.267.26%2015.843-5.839%2020.673%200%200-15.924%204.99-24.903%206.233-45.386%206.286-24.42%202.481-32.055%2025.462-5.517%2016.578-40.485-10.033-39.391-24.32%201.732-22.849%2041.613-20.232%2054.766-21.153%206.994-.493%2020.65%201.456%2024.074-4.799%201.085-1.982-4.837-10.368-9.757-12.852z'%20fill='url(%23r)'/%3e%3cpath%20d='m531.746%20392.401c.295%201.711-19.64%204.473-26.98%205.763-7.34%201.291-11.12%206.426-11.415%204.715-.295-1.71%202.518-7.091%209.858-8.382%204.151-.73%208.301-1.572%2012.452-2.096%206.227-1.047%2015.931-.891%2016.085%200z'%20fill='%23ffefa3'/%3e%3c/svg%3e", L2 = "#open-devtools-button{all:unset;display:block;box-sizing:border-box;font-size:16px;position:fixed;right:1em;bottom:1em;overflow:hidden;-webkit-user-select:none;user-select:none;color-scheme:light dark;--bg-color: light-dark(rgb(225, 255, 255), rgb(0, 20, 30));--fg-color: light-dark( rgb(0, 20, 30), rgb(225, 255, 255));padding:5px;border-radius:50%;border:3px solid color-mix(in srgb,var(--bg-color),black 20%);background-color:color-mix(in srgb,var(--bg-color),transparent 50%);box-shadow:0 2px 4px #0000001a,0 1px 3px #0000001a;width:58px;height:58px;z-index:99999;transition:background-color .2s ease-in-out,border .2s ease-in-out,box-shadow .2s ease-in-out}#open-devtools-button:focus{outline:2px solid var(--fg-color);outline-offset:2px}#open-devtools-button:hover,#open-devtools-button:focus{cursor:pointer;border-width:2px;border-color:color-mix(in srgb,var(--fg-color),black 10%);background-color:color-mix(in srgb,var(--bg-color),transparent 10%);box-shadow:0 4px 8px #0000001a,0 2px 4px #0000001a}#open-devtools-button:hover>img,#open-devtools-button:focus>img{transform:scale(3.5) translateY(20%) translate(-5%) rotate(10deg)}#open-devtools-button>img{width:100%;height:100%;pointer-events:none;transition:transform .2s ease-in-out;transform:scale(1.85) translateY(20%)}", I2 = ["src"], H2 = /* @__PURE__ */ R({
558
+ const B2 = "data:image/svg+xml,%3csvg%20fill='none'%20height='898'%20viewBox='0%200%20800%20898'%20width='800'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cfilter%20id='a'%20color-interpolation-filters='sRGB'%20filterUnits='userSpaceOnUse'%20height='420.89'%20width='423.181'%20x='188.521'%20y='361.908'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeGaussianBlur%20in='BackgroundImageFix'%20stdDeviation='10'/%3e%3cfeComposite%20in2='SourceAlpha'%20operator='in'%20result='effect1_backgroundBlur_1637_47'/%3e%3cfeBlend%20in='SourceGraphic'%20in2='effect1_backgroundBlur_1637_47'%20mode='normal'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='b'%3e%3cstop%20offset='0'%20stop-color='%237fd5e3'/%3e%3cstop%20offset='.770833'%20stop-color='%23aeeff0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='c'%20gradientUnits='userSpaceOnUse'%20x1='233.326'%20x2='241.809'%20xlink:href='%23b'%20y1='243.792'%20y2='284.95'/%3e%3clinearGradient%20id='d'%20gradientUnits='userSpaceOnUse'%20x1='277.296'%20x2='304.128'%20y1='275.972'%20y2='302.009'%3e%3cstop%20offset='.385417'%20stop-color='%23ffdb5c'/%3e%3cstop%20offset='1'%20stop-color='%23ecb732'/%3e%3c/linearGradient%3e%3clinearGradient%20id='e'%3e%3cstop%20offset='0'%20stop-color='%2352ce63'/%3e%3cstop%20offset='1'%20stop-color='%2351a256'/%3e%3c/linearGradient%3e%3clinearGradient%20id='f'%20gradientUnits='userSpaceOnUse'%20x1='233.887'%20x2='230.388'%20xlink:href='%23e'%20y1='136.565'%20y2='147.767'/%3e%3clinearGradient%20id='g'%3e%3cstop%20offset='0'%20stop-color='%238ae99c'/%3e%3cstop%20offset='1'%20stop-color='%2352ce63'/%3e%3c/linearGradient%3e%3clinearGradient%20id='h'%20gradientUnits='userSpaceOnUse'%20x1='256.561'%20x2='245.971'%20xlink:href='%23g'%20y1='138.333'%20y2='152.754'/%3e%3clinearGradient%20id='i'%20gradientUnits='userSpaceOnUse'%20x1='214.536'%20x2='213.733'%20y1='167.529'%20y2='168.196'%3e%3cstop%20offset='0'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3cstop%20offset='.282022'%20stop-color='%23fff'/%3e%3cstop%20offset='1'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3cradialGradient%20id='j'%20cx='0'%20cy='0'%20gradientTransform='matrix(1.36208147%201.63937714%20-3.1980157%202.65708103%20190.872%20141.075)'%20gradientUnits='userSpaceOnUse'%20r='1'%3e%3cstop%20offset='.52747'/%3e%3cstop%20offset='.63688'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='k'%20gradientUnits='userSpaceOnUse'%20x1='227.082'%20x2='238.714'%20y1='159.803'%20y2='238.05'%3e%3cstop%20offset='.078125'%20stop-color='%23fff'/%3e%3cstop%20offset='.473958'%20stop-color='%23fffaa5'/%3e%3cstop%20offset='.84375'%20stop-color='%23fffed4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='l'%20gradientUnits='userSpaceOnUse'%20x1='366.94'%20x2='366.161'%20xlink:href='%23e'%20y1='93.3179'%20y2='168.2'/%3e%3clinearGradient%20id='m'%20gradientUnits='userSpaceOnUse'%20x1='617.826'%20x2='542.939'%20xlink:href='%23e'%20y1='189.364'%20y2='188.567'/%3e%3clinearGradient%20id='n'%20gradientUnits='userSpaceOnUse'%20x1='514.204'%20x2='476.049'%20xlink:href='%23g'%20y1='62.4891'%20y2='171.814'/%3e%3clinearGradient%20id='o'%20gradientUnits='userSpaceOnUse'%20x1='451.43'%20x2='376.146'%20y1='255.419'%20y2='495.027'%3e%3cstop%20offset='0'%20stop-color='%23ffe56c'/%3e%3cstop%20offset='1'%20stop-color='%23ffc63a'/%3e%3c/linearGradient%3e%3clinearGradient%20id='p'%20gradientUnits='userSpaceOnUse'%20x1='394.756'%20x2='394.756'%20xlink:href='%23b'%20y1='712.519'%20y2='888'/%3e%3clinearGradient%20id='q'%20gradientUnits='userSpaceOnUse'%20x1='399.85'%20x2='399.85'%20y1='375.856'%20y2='706.195'%3e%3cstop%20offset='.078125'%20stop-color='%23fff'%20stop-opacity='0'/%3e%3cstop%20offset='.276042'%20stop-color='%23fffaa5'/%3e%3cstop%20offset='.84375'%20stop-color='%23fffed4'/%3e%3c/linearGradient%3e%3clinearGradient%20id='r'%20gradientUnits='userSpaceOnUse'%20x1='553.538'%20x2='536.097'%20y1='426.455'%20y2='349.514'%3e%3cstop%20offset='0'%20stop-color='%23ecb732'/%3e%3cstop%20offset='.653943'%20stop-color='%23ffe56c'/%3e%3c/linearGradient%3e%3cpath%20d='m587.128%20385.531c-188.875-56.155-178.038-57.025-366-.69%2027.292%2044.834%2027.992%2084.84%2015.395%20143.469%20159.33%200%20321.213.69%20321.213.69-11.897-44.834-13.996-79.322%2029.392-143.469z'%20fill='%23f0fcfc'%20stroke='%237fd5e3'%20stroke-linejoin='round'%20stroke-width='6'/%3e%3cpath%20d='m226.182%20243.95c1.207%201.485%2012.678-.331%2015.477-3.19-.971%204.681-.049%2027.776%202.27%2029.801%201.926%201.125%2011.494%202.535%2015.481%202.306%202.533.154%203.397%201.7%203.335%202.863-.183%203.42-16.585%208.279-19.54%208.932-3.539.778-22.748%202.743-24.34.112-.244-.795.359-2.949%202.934-4.156%205.603-2.169%2012.681-6.649%2013.617-8.302%201.816-2.15-6.526-25.035-9.234-28.366z'%20fill='url(%23c)'/%3e%3cpath%20d='m229.202%20244.511c.072%202.53%2010.388%2027.359%208.133%2029.281-.724.758-18.017%208.099-14.603%209.002%202.559.677%2021.937%201.143%2033.378-4.442.96-.194%201.649.618%202.569.753-12.996%206.227-18.27%206.471-30.28%206.917-1.998.133-7.604.499-9.221-1.291-1.048-1.161%201.238-3.3%201.776-3.516%201.215-.49%2012.498-6.296%2014.115-8.236%203.369-1.345-6.992-26.883-8.621-28.915%201.328.572%201.742.233%202.754.447z'%20fill='%23fdfffe'/%3e%3cpath%20d='m245.125%20229.52c3.064-16.516%2010.925%2068.722%2073.375%2044.98-4.085%209.807-7.851%2014.032-15%2029-29.416%2015.761-54.974-17.288-61.714-32.604-22.163%2023.228-31.229-63.028%203.339-41.376z'%20fill='url(%23d)'/%3e%3cpath%20d='m237.24%20267.66c.365%201.043%201.506%201.593%202.548%201.228%201.043-.365%201.592-1.506%201.227-2.548zm-2.063-22.409%201.996.128zm1.043-9.251c-1.979-.289-1.979-.289-1.979-.289h-.001v.001.004c-.001.003-.001.007-.002.012-.002.012-.004.028-.007.049-.006.042-.015.105-.027.185-.022.16-.055.392-.095.682-.08.58-.189%201.393-.305%202.324-.232%201.853-.499%204.215-.623%206.156l3.992.255c.116-1.816.37-4.08.6-5.914.114-.912.22-1.707.299-2.275.039-.284.071-.51.093-.665.011-.077.019-.137.025-.177.003-.02.005-.035.006-.045.001-.005.002-.008.002-.011%200-.001%200-.002%200-.002v-.001h.001s-.001%200-1.979-.289zm-3.039%209.124c-.303%204.738.748%2010.42%201.816%2014.792.541%202.212%201.099%204.141%201.522%205.517.212.689.39%201.241.517%201.623.063.191.113.34.148.442.017.051.031.09.04.118.005.013.009.024.011.031.002.004.003.007.003.009.001.001.001.002.001.003%200%200%20.001.001.001.001s0%200%201.888-.66c1.887-.66%201.888-.66%201.888-.66s-.001%200-.001-.001-.001-.003-.001-.005c-.002-.005-.005-.013-.009-.024-.007-.022-.019-.056-.035-.102-.031-.091-.077-.229-.136-.408-.119-.358-.289-.883-.491-1.543-.406-1.32-.942-3.171-1.46-5.291-1.049-4.292-1.973-9.484-1.71-13.587z'%20fill='%23ecb732'/%3e%3cpath%20d='m251.735%20157.143c-18.944.673-29.761%201.26-48.29%206.174l7.698%2010.409%2037.203-5.531z'%20fill='%23f0fcfc'%20stroke='%237fd5e3'%20stroke-linejoin='round'%20stroke-width='2'/%3e%3cpath%20clip-rule='evenodd'%20d='m236.905%20164.814c5.895-1.691%207.114-7.182%206.481-15.018-.633-7.835-6.768-13.931-8.773-13.356s-7.062%209.882-6.429%2017.717%202.826%2012.348%208.721%2010.657z'%20fill='url(%23f)'%20fill-rule='evenodd'/%3e%3cpath%20clip-rule='evenodd'%20d='m239.765%20163.743c4.527%203.325%208.761-.25%2013.416-7.254%204.655-7.005%204.982-16.979%203.442-18.11-1.539-1.131-10.461%202.531-15.117%209.535-4.655%207.005-6.269%2012.504-1.741%2015.829z'%20fill='url(%23h)'%20fill-rule='evenodd'/%3e%3cpath%20d='m189.664%20143.157c.546-1.355%201.074-2.004%202.977-2.68l35.096%2042.471c-1.448.624-2.06%201.27-2.978%202.681z'%20fill='%23000'/%3e%3cpath%20d='m189.664%20143.157c.546-1.355%201.074-2.004%202.977-2.68l35.096%2042.471c-1.448.624-2.06%201.27-2.978%202.681z'%20fill='url(%23i)'/%3e%3cpath%20d='m189.664%20143.157c.546-1.355%201.074-2.004%202.977-2.68l35.096%2042.471c-1.448.624-2.06%201.27-2.978%202.681z'%20fill='url(%23j)'/%3e%3cpath%20d='m203.21%20163.352c17.042%201.234%2033.703-.573%2048.538-6.127-2.89%2011.732-.974%2020.321.043%2023.938%2013.681%2025.929%209.045%2037.199%206.308%2042.43-12.077%2018.707-29.009%2017.121-38.344%209.132-12.411-8.787-14.05-20.348-9.152-45.439-1.242-8.355-3.142-14.687-7.393-23.934z'%20fill='url(%23k)'/%3e%3cpath%20d='m203.21%20163.352c17.042%201.234%2033.703-.573%2048.538-6.127-2.89%2011.732-.974%2020.321.043%2023.938%2013.681%2025.929%209.045%2037.199%206.308%2042.43-12.077%2018.707-29.009%2017.121-38.344%209.132-12.411-8.787-14.05-20.348-9.152-45.439-1.242-8.355-3.142-14.687-7.393-23.934z'%20fill='%23aeeff0'%20fill-opacity='.19'/%3e%3cpath%20d='m203.21%20163.352c17.042%201.234%2033.703-.573%2048.538-6.127-2.89%2011.732-.974%2020.321.043%2023.938%2013.681%2025.929%209.045%2037.199%206.308%2042.43-12.077%2018.707-29.009%2017.121-38.344%209.132-12.411-8.787-14.05-20.348-9.152-45.439-1.242-8.355-3.142-14.687-7.393-23.934z'%20stroke='%237fd5e3'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-miterlimit='3.60929'%20stroke-width='2'/%3e%3cpath%20d='m237.553%20179.428%207.114.03c2.753%209.618%204.634%2014.26%208.807%2024.31-1.669%203.444-3.949%205.03-8.655%205.724-6.286-9.521-7.762-16.177-7.266-30.064z'%20fill='%23fdfee9'%20fill-opacity='.82'/%3e%3cg%20clip-rule='evenodd'%20fill-rule='evenodd'%3e%3cpath%20d='m433.39%20260.331c34.69-21.154%2033.266-56.933%2016.134-103.631s-66.376-72.6719-78.174-65.477c-11.799%207.1949-28.415%2073.33-11.283%20120.028s38.633%2070.234%2073.323%2049.08z'%20fill='url(%23l)'/%3e%3cpath%20d='m457.425%20269.514c13.994%2038.145%2045.087%2032.053%2087.555%206.156s70.995-86.964%2066.235-99.938c-4.76-12.973-59.855-24.326-102.323%201.571s-65.462%2054.066-51.467%2092.211z'%20fill='url(%23m)'/%3e%3cpath%20d='m449.798%20248.545c34.374%2011.996%2055.339-17.616%2073.255-68.949%2017.915-51.332%203.313-112.8622-8.378-116.9425s-62.35%2034.6736-80.265%2086.0055c-17.915%2051.333-18.986%2087.889%2015.388%2099.886z'%20fill='url(%23n)'/%3e%3cpath%20d='m394.608%20499.418c74.042%2016.061%20138.754%207.579%20159.913-89.964%2021.16-97.542-21.524-190.61-95.565-206.671-74.042-16.062-151.405%2050.965-172.564%20148.507-21.16%2097.543%2034.174%20132.066%20108.216%20148.128z'%20fill='url(%23o)'/%3e%3cpath%20d='m522.686%20417.137c-1.544-2.298-4.659-2.909-6.957-1.365l-80.798%2054.292c-2.298%201.544-2.91%204.659-1.365%206.957%201.544%202.299%204.659%202.91%206.957%201.366l80.798-54.292c2.298-1.545%202.909-4.659%201.365-6.958z'%20fill='%23ecb732'/%3e%3cpath%20d='m457.194%20411.286c-2.374%201.425-3.142%204.505-1.717%206.879l32.206%2053.622c1.425%202.373%204.505%203.142%206.879%201.716%202.373-1.425%203.142-4.505%201.716-6.879l-32.205-53.622c-1.426-2.373-4.506-3.142-6.879-1.716z'%20fill='%23ecb732'/%3e%3cpath%20d='m481.033%20244.015c1.498%202.329.825%205.431-1.503%206.929l-53.118%2034.181c-2.328%201.498-5.43.825-6.929-1.504-1.498-2.328-.825-5.43%201.503-6.928l53.118-34.181c2.328-1.498%205.43-.825%206.929%201.503z'%20fill='%23ffc73b'/%3e%3cpath%20d='m461.153%20292.661c2.329-1.499%203.001-4.601%201.503-6.929l-34.18-53.118c-1.499-2.328-4.601-3.001-6.929-1.503-2.328%201.499-3.001%204.601-1.503%206.929l34.18%2053.118c1.499%202.328%204.601%203.001%206.929%201.503z'%20fill='%23ffc73b'/%3e%3c/g%3e%3cpath%20d='m353.029%20341.568c10.219%203.566%2019.848%202.604%2021.507-2.149s-5.281-11.497-15.5-15.063c-10.218-3.567-19.847-2.605-21.506%202.148s5.28%2011.497%2015.499%2015.064z'%20fill='%23eaadcc'/%3e%3cpath%20d='m487.451%20376.393c10.578%202.295%2020.017.166%2021.085-4.753%201.067-4.92-6.643-10.768-17.22-13.063-10.577-2.294-20.017-.166-21.085%204.754-1.067%204.919%206.643%2010.768%2017.22%2013.062z'%20fill='%23eaadcc'/%3e%3cpath%20clip-rule='evenodd'%20d='m308.341%20370.64c2.357-1.451%205.446-.717%206.897%201.641l51.04%2082.891c1.452%202.357.717%205.445-1.64%206.897-2.358%201.452-5.446.718-6.898-1.64l-51.04-82.891c-1.451-2.358-.717-5.446%201.641-6.898z'%20fill='%23ecb732'%20fill-rule='evenodd'/%3e%3cpath%20clip-rule='evenodd'%20d='m370.371%20392.452c1.57%202.281.993%205.402-1.288%206.972l-51.529%2035.458c-2.281%201.569-5.403.992-6.972-1.289-1.57-2.281-.993-5.402%201.288-6.971l51.529-35.458c2.281-1.57%205.403-.993%206.972%201.288z'%20fill='%23ecb732'%20fill-rule='evenodd'/%3e%3cpath%20d='m446.846%20345.706c-2.512%2011.581-17.225%2019.067-28.049%2016.719-10.823-2.348-17.994-14.591-15.482-26.171%201.388-6.396%2012.532-7.545%2023.355-5.197%2010.824%202.348%2021.564%208.254%2020.176%2014.649z'%20fill='%23e77777'/%3e%3cpath%20clip-rule='evenodd'%20d='m350.974%20295.736c-1.403.56-2.087%202.15-1.527%203.553%202.817%207.066%208.43%2011.911%2016.412%2014.622%208.043%202.731%2015.879%202.226%2023.332-1.549%201.347-.683%201.886-2.328%201.204-3.676-.682-1.347-2.328-1.886-3.675-1.203-6.107%203.093-12.416%203.52-19.102%201.25-6.746-2.291-10.968-6.143-13.091-11.469-.56-1.403-2.15-2.087-3.553-1.528z'%20fill='%23755400'%20fill-rule='evenodd'/%3e%3cpath%20clip-rule='evenodd'%20d='m467.183%20331.205c-1.403.559-2.087%202.15-1.528%203.553%202.817%207.065%208.431%2011.911%2016.413%2014.622%208.042%202.731%2015.878%202.225%2023.332-1.55%201.347-.682%201.886-2.328%201.204-3.675-.683-1.347-2.328-1.886-3.675-1.204-6.108%203.093-12.416%203.521-19.102%201.25-6.746-2.291-10.968-6.143-13.092-11.469-.559-1.403-2.15-2.087-3.552-1.527z'%20fill='%23755400'%20fill-rule='evenodd'/%3e%3cpath%20d='m357.784%20712.429c8.796%207.093%2053.534%209.337%2086.6%200-18.895%2018.328-18.562%20108.272%200%20118.509%2016.533%206.225%2049.378%2020.057%2088.742%2022.478%2024.406%202.766%2029.73%209.818%2026.785%2014.524-8.661%2013.832-120.799%2019.879-150.954%2020.056-36.095.2-160.033-7.953-170.268-20.056-.787-3.458%209.431-11.758%2036.985-14.524%2059.047-4.15%2072.889-15.017%2082.11-22.478%2016.726-13.534%2019.726-102.602%200-118.509z'%20fill='url(%23p)'/%3e%3cpath%20d='m386.44%20719.378c-4.391%2010.407%201.999%20124.959-23.881%20130.918-8.589%202.492-90.278%2012.597-70.981%2014.744%2023.978%202.667%20118.162%2013.419%20241.041.22%209.761.016%205.99%202.602%2014.696%203.932-139.349%2014.514-87.658%2019.497-205.751%2011.197-19.762-1.139-69.983-6.298-87.479-11.197-7.888-5.63%2022.31-9.369%2027.994-9.798%2012.838-.982%2050.307-10.225%2069.983-16.796%2032.892-10.983%2020.207-117.687%208.398-127.369%2011.809%203.458%2016.537%202.421%2025.98%204.149z'%20fill='%23fdfffe'/%3e%3cg%20filter='url(%23a)'%3e%3cpath%20d='m220.493%20384.908c166.135%2049.457%20212.377%2048.131%20366.712%200-46.889%2072.44-30.792%20132.268-25.894%20167.26%203.5%2041.29%2044.04%2064.991%2019.596%20113.372-63.349%20125.383-282.733%20125.971-359.714%200-28.111-46%2013.997-59.463%2013.997-113.372%200-51.788%2013.647-126.455-14.697-167.26z'%20fill='url(%23q)'/%3e%3cpath%20d='m220.493%20384.908c166.135%2049.457%20212.377%2048.131%20366.712%200-46.889%2072.44-30.792%20132.268-25.894%20167.26%203.5%2041.29%2044.04%2064.991%2019.596%20113.372-63.349%20125.383-282.733%20125.971-359.714%200-28.111-46%2013.997-59.463%2013.997-113.372%200-51.788%2013.647-126.455-14.697-167.26z'%20fill='%23aeeff0'%20fill-opacity='.19'/%3e%3cpath%20d='m220.493%20384.908c166.135%2049.457%20212.377%2048.131%20366.712%200-46.889%2072.44-30.792%20132.268-25.894%20167.26%203.5%2041.29%2044.04%2064.991%2019.596%20113.372-63.349%20125.383-282.733%20125.971-359.714%200-28.111-46%2013.997-59.463%2013.997-113.372%200-51.788%2013.647-126.455-14.697-167.26z'%20stroke='%237fd5e3'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-miterlimit='3.60929'%20stroke-width='6'/%3e%3c/g%3e%3cpath%20d='m466.834%20529.074%2063.684-9.798c6.603%2081.838-.322%2064.494%2020.296%2095.177-6.998%2013.297-25.894%2049.688-63.685%2031.493-26.365-42.668-11.38-21.251-20.295-116.872z'%20fill='%23f9fef9'/%3e%3cpath%20d='m262.483%20425.499c15.396%2054.586%2016.096%20113.372-7.698%20180.556-18.006%2050.84%2032.276%2098.184%2084.679%20112.673'%20stroke='%23f9fef9'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-opacity='.85'%20stroke-width='12'/%3e%3cpath%20d='m557.837%20340c7.454%201.653%2014.108%205.426%2021.643%2014.157%205.638%206.531%2010.895%2015.712%2012.452%2024.099%201.35%207.267.26%2015.843-5.839%2020.673%200%200-15.924%204.99-24.903%206.233-45.386%206.286-24.42%202.481-32.055%2025.462-5.517%2016.578-40.485-10.033-39.391-24.32%201.732-22.849%2041.613-20.232%2054.766-21.153%206.994-.493%2020.65%201.456%2024.074-4.799%201.085-1.982-4.837-10.368-9.757-12.852z'%20fill='url(%23r)'/%3e%3cpath%20d='m531.746%20392.401c.295%201.711-19.64%204.473-26.98%205.763-7.34%201.291-11.12%206.426-11.415%204.715-.295-1.71%202.518-7.091%209.858-8.382%204.151-.73%208.301-1.572%2012.452-2.096%206.227-1.047%2015.931-.891%2016.085%200z'%20fill='%23ffefa3'/%3e%3c/svg%3e", L2 = "#open-devtools-button{all:unset;display:block;box-sizing:border-box;font-size:16px;position:fixed;right:1em;bottom:1em;overflow:hidden;-webkit-user-select:none;user-select:none;color-scheme:light dark;--bg-color: light-dark(rgb(225, 255, 255), rgb(0, 20, 30));--fg-color: light-dark(rgb(0, 20, 30), rgb(225, 255, 255));padding:5px;border-radius:50%;border:3px solid color-mix(in srgb,var(--bg-color),black 20%);background-color:color-mix(in srgb,var(--bg-color),transparent 50%);box-shadow:0 2px 4px #0000001a,0 1px 3px #0000001a;width:58px;height:58px;z-index:99999;transition:background-color .2s ease-in-out,border .2s ease-in-out,box-shadow .2s ease-in-out}#open-devtools-button:focus{outline:2px solid var(--fg-color);outline-offset:2px}#open-devtools-button:hover,#open-devtools-button:focus{cursor:pointer;border-width:2px;border-color:color-mix(in srgb,var(--fg-color),black 10%);background-color:color-mix(in srgb,var(--bg-color),transparent 10%);box-shadow:0 4px 8px #0000001a,0 2px 4px #0000001a}:is(#open-devtools-button:hover,#open-devtools-button:focus)>img{transform:scale(3.5) translateY(20%) translate(-5%) rotate(10deg)}#open-devtools-button>img{width:100%;height:100%;pointer-events:none;transition:transform .2s ease-in-out;transform:scale(1.85) translateY(20%)}", I2 = ["src"], H2 = /* @__PURE__ */ R({
564
559
  __name: "PCDevtoolsWrapper",
565
560
  setup(e) {
566
- const n = F(!1), t = j2("pinia-colada-devtools-open", !1);
567
- async function r() {
568
- if (!n.value && (n.value = !0, !customElements.get("pinia-colada-devtools-panel"))) {
569
- const { DevtoolsPanel: s } = await import("@pinia/colada-devtools/panel");
570
- customElements.define("pinia-colada-devtools-panel", s);
561
+ const t = F(!1), n = j2("pinia-colada-devtools-open", !1);
562
+ async function i() {
563
+ if (!t.value && (t.value = !0, !customElements.get("pinia-colada-devtools-panel"))) {
564
+ const { DevtoolsPanel: r } = await import("@pinia/colada-devtools/panel");
565
+ customElements.define("pinia-colada-devtools-panel", r);
571
566
  }
572
567
  }
573
- const f = Z();
574
- g2(f);
575
- async function h() {
576
- await r(), t.value = !0;
568
+ const p = Z();
569
+ g2(p);
570
+ async function l() {
571
+ await i(), n.value = !0;
577
572
  }
578
573
  return $(() => {
579
- const s = document.getElementById("__pc-devtools-style") ?? document.createElement("style");
580
- s.id = "__pc-devtools-style", s.textContent = L2, document.head.appendChild(s), t.value ? h() : (typeof requestIdleCallback == "function" ? requestIdleCallback : requestAnimationFrame)(() => {
574
+ const r = document.getElementById("__pc-devtools-style") ?? document.createElement("style");
575
+ r.id = "__pc-devtools-style", r.textContent = L2, document.head.appendChild(r), n.value ? l() : (typeof requestIdleCallback == "function" ? requestIdleCallback : requestAnimationFrame)(() => {
581
576
  import("@pinia/colada-devtools/panel");
582
577
  });
583
- }), (s, a) => (C(), D(y2, null, {
578
+ }), (r, s) => (C(), D(y2, null, {
584
579
  default: m2(() => [
585
- G(t) ? U("", !0) : (C(), v2("button", {
580
+ G(n) ? U("", !0) : (C(), v2("button", {
586
581
  key: 0,
587
582
  id: "open-devtools-button",
588
583
  "aria-label": "Open Pinia Colada Devtools",
589
584
  title: "Open Pinia Colada Devtools",
590
- onClick: a[0] || (a[0] = (l) => h())
585
+ onClick: s[0] || (s[0] = (d) => l())
591
586
  }, [
592
587
  Q("img", {
593
588
  src: G(B2),
594
589
  alt: "Pinia Colada Devtools Logo"
595
590
  }, null, 8, I2)
596
591
  ])),
597
- n.value && G(t) ? (C(), D(x2, {
592
+ t.value && G(n) ? (C(), D(x2, {
598
593
  key: 1,
599
- onClose: a[1] || (a[1] = (l) => t.value = !1)
594
+ onClose: s[1] || (s[1] = (d) => n.value = !1)
600
595
  })) : U("", !0)
601
596
  ]),
602
597
  _: 1
@@ -608,7 +603,7 @@ const B2 = "data:image/svg+xml,%3csvg%20fill='none'%20height='898'%20viewBox='0%
608
603
  disabled: { type: Boolean, default: () => process.env.NODE_ENV === "production" }
609
604
  },
610
605
  setup(e) {
611
- return (n, t) => n.disabled ? U("", !0) : (C(), D(H2, { key: 0 }));
606
+ return (t, n) => e.disabled ? U("", !0) : (C(), D(H2, { key: 0 }));
612
607
  }
613
608
  });
614
609
  export {