@pinia/colada-devtools 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +488 -372
- package/dist/index.js.map +1 -1
- package/dist-panel/(unselected)-B-_Xdo2t.js +17 -0
- package/dist-panel/(unselected)-B-_Xdo2t.js.map +1 -0
- package/dist-panel/{index-BNGmSTu0.js → (unselected)-BFwQCIEo.js} +5 -5
- package/dist-panel/(unselected)-BFwQCIEo.js.map +1 -0
- package/dist-panel/_mutationId_-BG1E7StK.js +306 -0
- package/dist-panel/_mutationId_-BG1E7StK.js.map +1 -0
- package/dist-panel/_queryId_-BHPtMxoe.js +423 -0
- package/dist-panel/_queryId_-BHPtMxoe.js.map +1 -0
- package/dist-panel/braces-B9tH-Qp5.js +294 -0
- package/dist-panel/braces-B9tH-Qp5.js.map +1 -0
- package/dist-panel/index-CTwvPt67.js +6403 -0
- package/dist-panel/index-CTwvPt67.js.map +1 -0
- package/dist-panel/{index-goOYcO8U.js → index-kHk614RY.js} +2 -2
- package/dist-panel/{index-goOYcO8U.js.map → index-kHk614RY.js.map} +1 -1
- package/dist-panel/index.js +1 -1
- package/dist-panel/{loader-t1YDOb8H.js → loader-nEPBwFfz.js} +2 -2
- package/dist-panel/loader-nEPBwFfz.js.map +1 -0
- package/dist-panel/{mouse-pointer-click-BMFWvdTu.js → mouse-pointer-click-DQLuAnaZ.js} +2 -2
- package/dist-panel/mouse-pointer-click-DQLuAnaZ.js.map +1 -0
- package/dist-panel/mutations-BZWQwG2S.js +297 -0
- package/dist-panel/mutations-BZWQwG2S.js.map +1 -0
- package/dist-panel/queries-D3ybdTKc.js +286 -0
- package/dist-panel/queries-D3ybdTKc.js.map +1 -0
- package/dist-panel/{settings-BRfTfxFz.js → settings-DddAyvXJ.js} +2 -2
- package/dist-panel/{settings-BRfTfxFz.js.map → settings-DddAyvXJ.js.map} +1 -1
- package/dist-panel/use-container-media-query-BWmwm2oB.js +555 -0
- package/dist-panel/use-container-media-query-BWmwm2oB.js.map +1 -0
- package/dist-shared/index.d.ts +105 -9
- package/dist-shared/index.js.map +1 -1
- package/package.json +9 -10
- package/dist-panel/_queryId_-BizYY_I8.js +0 -701
- package/dist-panel/_queryId_-BizYY_I8.js.map +0 -1
- package/dist-panel/index-BNGmSTu0.js.map +0 -1
- package/dist-panel/index-CIfbEdr_.js +0 -6340
- package/dist-panel/index-CIfbEdr_.js.map +0 -1
- package/dist-panel/loader-t1YDOb8H.js.map +0 -1
- package/dist-panel/mouse-pointer-click-BMFWvdTu.js.map +0 -1
- package/dist-panel/mutations-BNe8aMZH.js +0 -13
- package/dist-panel/mutations-BNe8aMZH.js.map +0 -1
- package/dist-panel/queries-0xQLbzuX.js +0 -795
- package/dist-panel/queries-0xQLbzuX.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,91 +1,98 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useQueryCache as Z } from "@pinia/colada";
|
|
3
|
-
import { DEVTOOLS_INFO_KEY as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as F, ref as R, onMounted as B, renderSlot as l2, createCommentVNode as $, toValue as S, getCurrentScope as s2, onScopeDispose as c2, useTemplateRef as u2, shallowRef as j, watch as G, onBeforeUnmount as d2, createBlock as M, openBlock as P, Teleport as f2, createElementVNode as J, nextTick as Y, readonly as K, getCurrentInstance as p2, toRef as m2, customRef as v2, computed as X, unref as q, withCtx as h2, createElementBlock as y2 } from "vue";
|
|
2
|
+
import { useQueryCache as Z, useMutationCache as e2 } from "@pinia/colada";
|
|
3
|
+
import { DEVTOOLS_INFO_KEY as u, DuplexChannel as g2 } from "@pinia/colada-devtools/shared";
|
|
4
|
+
const w2 = /* @__PURE__ */ F({
|
|
5
5
|
__name: "ClientOnly",
|
|
6
6
|
setup(e) {
|
|
7
|
-
const
|
|
8
|
-
return
|
|
9
|
-
|
|
10
|
-
}), (
|
|
7
|
+
const o = R(!1);
|
|
8
|
+
return B(() => {
|
|
9
|
+
o.value = !0;
|
|
10
|
+
}), (r, n) => o.value ? l2(r.$slots, "default", { key: 0 }) : $("", !0);
|
|
11
11
|
}
|
|
12
|
-
}),
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
errored: 0,
|
|
37
|
-
cancelled: 0
|
|
38
|
-
},
|
|
39
|
-
updatedAt: b(),
|
|
40
|
-
inactiveAt: 0,
|
|
41
|
-
simulate: null,
|
|
42
|
-
history: []
|
|
43
|
-
};
|
|
44
|
-
});
|
|
45
|
-
else if (t === "fetch") {
|
|
46
|
-
const [s] = n;
|
|
47
|
-
s[p].count.total++, s[p].updatedAt = b();
|
|
48
|
-
const r = b(), l = {
|
|
49
|
-
id: (s[p].history.at(0)?.id ?? -1) + 1,
|
|
50
|
-
key: s.key,
|
|
51
|
-
state: s.state.value,
|
|
52
|
-
updatedAt: r,
|
|
53
|
-
createdAt: r,
|
|
54
|
-
fetchTime: null
|
|
55
|
-
}, d = S(s.options?.enabled) ?? !0;
|
|
56
|
-
d && (l.fetchTime = {
|
|
57
|
-
start: r,
|
|
58
|
-
end: null
|
|
59
|
-
}), s[p].history.unshift(l), s[p].history = s[p].history.slice(0, 10), i(() => {
|
|
60
|
-
d && (l.fetchTime.end = b(), s[p].count.succeed++, l.state = s.state.value, l.updatedAt = b());
|
|
61
|
-
}), f(() => {
|
|
62
|
-
d && (l.fetchTime.end = b(), s[p].count.errored++, l.state = s.state.value, l.updatedAt = b());
|
|
63
|
-
});
|
|
64
|
-
} else if (t === "cancel") {
|
|
65
|
-
const [s] = n;
|
|
66
|
-
s.pending && s[p].count.cancelled++;
|
|
67
|
-
} else if (t === "setEntryState") {
|
|
68
|
-
const [s] = n;
|
|
69
|
-
let r = s[p].history[0];
|
|
70
|
-
i(() => {
|
|
71
|
-
s[p].updatedAt = b(), r ??= s[p].history[0], r && (r.state = s.state.value, r.updatedAt = b());
|
|
72
|
-
});
|
|
73
|
-
} else if (t === "untrack") {
|
|
74
|
-
const [s] = n;
|
|
75
|
-
i(() => {
|
|
76
|
-
s.active || (s[p].inactiveAt = b());
|
|
77
|
-
});
|
|
78
|
-
} else if (t === "setQueryData") {
|
|
79
|
-
const [s] = n;
|
|
80
|
-
i(() => {
|
|
81
|
-
const r = e.getEntries({ key: s, exact: !0 })[0];
|
|
82
|
-
r && !r.active && (r[p].inactiveAt = b());
|
|
83
|
-
});
|
|
84
|
-
}
|
|
12
|
+
}), h = () => performance.timeOrigin + performance.now(), H = /* @__PURE__ */ new WeakMap();
|
|
13
|
+
function b2(e, o) {
|
|
14
|
+
H.has(e) || (H.set(e, !0), x2(e), S2(o));
|
|
15
|
+
}
|
|
16
|
+
function x2(e) {
|
|
17
|
+
for (const o of e.getEntries())
|
|
18
|
+
o[u] ??= {
|
|
19
|
+
count: {
|
|
20
|
+
total: 0,
|
|
21
|
+
succeed: 0,
|
|
22
|
+
errored: 0,
|
|
23
|
+
cancelled: 0
|
|
24
|
+
},
|
|
25
|
+
updatedAt: o.when > 0 ? o.when : h(),
|
|
26
|
+
inactiveAt: 0,
|
|
27
|
+
simulate: null,
|
|
28
|
+
history: []
|
|
29
|
+
}, o.when > 0 && o[u].history.push({
|
|
30
|
+
id: 0,
|
|
31
|
+
key: o.key,
|
|
32
|
+
state: o.state.value,
|
|
33
|
+
updatedAt: o.when,
|
|
34
|
+
createdAt: o.when,
|
|
35
|
+
fetchTime: null
|
|
85
36
|
});
|
|
86
|
-
}
|
|
37
|
+
e.$onAction(({ name: o, args: r, after: n, onError: l }) => {
|
|
38
|
+
if (o === "create")
|
|
39
|
+
n((s) => {
|
|
40
|
+
s[u] = {
|
|
41
|
+
count: {
|
|
42
|
+
total: 0,
|
|
43
|
+
succeed: 0,
|
|
44
|
+
errored: 0,
|
|
45
|
+
cancelled: 0
|
|
46
|
+
},
|
|
47
|
+
updatedAt: h(),
|
|
48
|
+
inactiveAt: 0,
|
|
49
|
+
simulate: null,
|
|
50
|
+
history: []
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
else if (o === "fetch") {
|
|
54
|
+
const [s] = r;
|
|
55
|
+
s[u].count.total++, s[u].updatedAt = h();
|
|
56
|
+
const d = h(), a = {
|
|
57
|
+
id: (s[u].history.at(0)?.id ?? -1) + 1,
|
|
58
|
+
key: s.key,
|
|
59
|
+
state: s.state.value,
|
|
60
|
+
updatedAt: d,
|
|
61
|
+
createdAt: d,
|
|
62
|
+
fetchTime: null
|
|
63
|
+
}, m = S(s.options?.enabled) ?? !0;
|
|
64
|
+
m && (a.fetchTime = {
|
|
65
|
+
start: d,
|
|
66
|
+
end: null
|
|
67
|
+
}), s[u].history.unshift(a), s[u].history = s[u].history.slice(0, 10), n(() => {
|
|
68
|
+
m && (a.fetchTime.end = h(), s[u].count.succeed++, a.state = s.state.value, a.updatedAt = h());
|
|
69
|
+
}), l(() => {
|
|
70
|
+
m && (a.fetchTime.end = h(), s[u].count.errored++, a.state = s.state.value, a.updatedAt = h());
|
|
71
|
+
});
|
|
72
|
+
} else if (o === "cancel") {
|
|
73
|
+
const [s] = r;
|
|
74
|
+
s.pending && s[u].count.cancelled++;
|
|
75
|
+
} else if (o === "setEntryState") {
|
|
76
|
+
const [s] = r;
|
|
77
|
+
let d = s[u].history[0];
|
|
78
|
+
n(() => {
|
|
79
|
+
s[u].updatedAt = h(), d ??= s[u].history[0], d && (d.state = s.state.value, d.updatedAt = h());
|
|
80
|
+
});
|
|
81
|
+
} else if (o === "untrack") {
|
|
82
|
+
const [s] = r;
|
|
83
|
+
n(() => {
|
|
84
|
+
s.active || (s[u].inactiveAt = h());
|
|
85
|
+
});
|
|
86
|
+
} else if (o === "setQueryData") {
|
|
87
|
+
const [s] = r;
|
|
88
|
+
n(() => {
|
|
89
|
+
const d = e.getEntries({ key: s, exact: !0 })[0];
|
|
90
|
+
d && !d.active && (d[u].inactiveAt = h());
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
});
|
|
87
94
|
}
|
|
88
|
-
function
|
|
95
|
+
function y(e) {
|
|
89
96
|
return {
|
|
90
97
|
keyHash: e.keyHash,
|
|
91
98
|
key: e.key,
|
|
@@ -103,301 +110,410 @@ function g(e) {
|
|
|
103
110
|
enabled: S(e.options.enabled)
|
|
104
111
|
},
|
|
105
112
|
deps: Array.from(e.deps).map(
|
|
106
|
-
(
|
|
113
|
+
(o) => "uid" in o ? {
|
|
107
114
|
type: "component",
|
|
108
|
-
uid:
|
|
109
|
-
name:
|
|
115
|
+
uid: o.uid,
|
|
116
|
+
name: o.type.displayName ?? o.type.name
|
|
110
117
|
} : {
|
|
111
118
|
type: "effect",
|
|
112
|
-
active:
|
|
113
|
-
detached:
|
|
119
|
+
active: o.active,
|
|
120
|
+
detached: o.detached
|
|
114
121
|
}
|
|
115
122
|
),
|
|
116
123
|
gcTimeout: typeof e.gcTimeout == "number" ? e.gcTimeout : null,
|
|
117
|
-
devtools: e[
|
|
124
|
+
devtools: e[u]
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function S2(e) {
|
|
128
|
+
for (const o of e.getEntries())
|
|
129
|
+
o[u] ??= {
|
|
130
|
+
updatedAt: o.when > 0 ? o.when : h(),
|
|
131
|
+
inactiveAt: 0,
|
|
132
|
+
simulate: null
|
|
133
|
+
};
|
|
134
|
+
e.$onAction(({ name: o, args: r, after: n }) => {
|
|
135
|
+
if (o === "create")
|
|
136
|
+
n((l) => {
|
|
137
|
+
l[u] = {
|
|
138
|
+
updatedAt: h(),
|
|
139
|
+
inactiveAt: 0,
|
|
140
|
+
simulate: null
|
|
141
|
+
};
|
|
142
|
+
});
|
|
143
|
+
else if (o === "mutate") {
|
|
144
|
+
const [l] = r;
|
|
145
|
+
l[u].updatedAt = h();
|
|
146
|
+
} else if (o === "setEntryState") {
|
|
147
|
+
const [l] = r;
|
|
148
|
+
n(() => {
|
|
149
|
+
l[u].updatedAt = h();
|
|
150
|
+
});
|
|
151
|
+
} else if (o === "untrack") {
|
|
152
|
+
const [l] = r;
|
|
153
|
+
n(() => {
|
|
154
|
+
l[u].inactiveAt = h();
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
function E(e) {
|
|
160
|
+
return {
|
|
161
|
+
id: e.id,
|
|
162
|
+
key: e.key,
|
|
163
|
+
state: e.state.value,
|
|
164
|
+
asyncStatus: e.asyncStatus.value,
|
|
165
|
+
when: e.when,
|
|
166
|
+
vars: e.vars,
|
|
167
|
+
options: e.options && {
|
|
168
|
+
gcTime: e.options.gcTime
|
|
169
|
+
},
|
|
170
|
+
gcTimeout: typeof e.gcTimeout == "number" ? e.gcTimeout : null,
|
|
171
|
+
active: e[u].inactiveAt === 0,
|
|
172
|
+
devtools: e[u]
|
|
118
173
|
};
|
|
119
174
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
e.removeEventListener(t, n);
|
|
175
|
+
function k2(e, o, r, n) {
|
|
176
|
+
e.addEventListener(o, r, n), s2() && c2(() => {
|
|
177
|
+
e.removeEventListener(o, r);
|
|
124
178
|
});
|
|
125
179
|
}
|
|
126
|
-
const
|
|
180
|
+
const E2 = [".isPip", ".port"], z2 = /* @__PURE__ */ F({
|
|
127
181
|
__name: "PiniaColadaDevtools",
|
|
128
182
|
emits: ["close"],
|
|
129
|
-
setup(e, { emit:
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
if (
|
|
133
|
-
const [
|
|
134
|
-
|
|
135
|
-
|
|
183
|
+
setup(e, { emit: o }) {
|
|
184
|
+
const r = o, n = Z(), l = e2();
|
|
185
|
+
n.$onAction(({ name: i, after: t, onError: p, args: w }) => {
|
|
186
|
+
if (i === "remove") {
|
|
187
|
+
const [c] = w;
|
|
188
|
+
t(() => {
|
|
189
|
+
a.emit("queries:delete", y(c));
|
|
136
190
|
});
|
|
137
|
-
} else if (
|
|
138
|
-
const [
|
|
139
|
-
if (
|
|
140
|
-
const
|
|
141
|
-
|
|
191
|
+
} else if (i === "track" || i === "untrack" || i === "cancel" || i === "invalidate" || i === "fetch" || i === "setEntryState") {
|
|
192
|
+
const [c] = w;
|
|
193
|
+
if (i === "fetch") {
|
|
194
|
+
const k = y(c);
|
|
195
|
+
k.asyncStatus = "loading", a.emit("queries:update", k);
|
|
142
196
|
}
|
|
143
|
-
|
|
144
|
-
u
|
|
145
|
-
|
|
146
|
-
},
|
|
147
|
-
}),
|
|
148
|
-
|
|
197
|
+
t(() => {
|
|
198
|
+
c[u].simulate = null, a.emit("queries:update", y(c)), i === "fetch" && c.options?.staleTime != null && Number.isFinite(c.options.staleTime) && setTimeout(() => {
|
|
199
|
+
a.emit("queries:update", y(c));
|
|
200
|
+
}, c.options.staleTime);
|
|
201
|
+
}), p(() => {
|
|
202
|
+
a.emit("queries:update", y(c));
|
|
149
203
|
});
|
|
150
|
-
} else if (
|
|
151
|
-
|
|
152
|
-
|
|
204
|
+
} else if (i === "create")
|
|
205
|
+
t((c) => {
|
|
206
|
+
a.emit("queries:update", y(c));
|
|
153
207
|
});
|
|
154
|
-
else if (
|
|
155
|
-
const [
|
|
156
|
-
|
|
157
|
-
const
|
|
158
|
-
|
|
208
|
+
else if (i === "setQueryData") {
|
|
209
|
+
const [c] = w;
|
|
210
|
+
t(() => {
|
|
211
|
+
const k = n.getEntries({ key: c, exact: !0 })[0];
|
|
212
|
+
k && a.emit("queries:update", y(k));
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}), l.$onAction(({ name: i, args: t, after: p, onError: w }) => {
|
|
216
|
+
if (i === "remove") {
|
|
217
|
+
const [c] = t;
|
|
218
|
+
p(() => {
|
|
219
|
+
a.emit("mutations:delete", E(c));
|
|
220
|
+
});
|
|
221
|
+
} else if (i === "mutate" || i === "setEntryState") {
|
|
222
|
+
const [c] = t;
|
|
223
|
+
if (i === "mutate") {
|
|
224
|
+
const k = E(c);
|
|
225
|
+
k.asyncStatus = "loading", a.emit("mutations:update", k);
|
|
226
|
+
}
|
|
227
|
+
p(() => {
|
|
228
|
+
a.emit("mutations:update", E(c));
|
|
229
|
+
}), w(() => {
|
|
230
|
+
a.emit("mutations:update", E(c));
|
|
231
|
+
});
|
|
232
|
+
} else if (i === "ensure") {
|
|
233
|
+
const [c] = t;
|
|
234
|
+
p(() => {
|
|
235
|
+
a.emit("mutations:update", E(c));
|
|
159
236
|
});
|
|
160
237
|
}
|
|
161
238
|
});
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
(
|
|
166
|
-
|
|
239
|
+
const s = u2("devtools"), d = j(new MessageChannel()), a = new g2(d.value.port1);
|
|
240
|
+
G(
|
|
241
|
+
d,
|
|
242
|
+
(i) => {
|
|
243
|
+
a.setPort(i.port1);
|
|
167
244
|
},
|
|
168
245
|
{ flush: "sync" }
|
|
169
|
-
),
|
|
170
|
-
|
|
171
|
-
}),
|
|
172
|
-
|
|
173
|
-
}),
|
|
174
|
-
const
|
|
175
|
-
|
|
246
|
+
), a.on("queries:refetch", (i) => {
|
|
247
|
+
n.invalidateQueries({ key: i, exact: !0, active: null, stale: null });
|
|
248
|
+
}), a.on("queries:invalidate", (i) => {
|
|
249
|
+
n.invalidateQueries({ key: i, exact: !0 });
|
|
250
|
+
}), a.on("queries:reset", (i) => {
|
|
251
|
+
const t = n.getEntries({ key: i, exact: !0 })[0];
|
|
252
|
+
t && (n.cancel(t), n.setEntryState(t, {
|
|
176
253
|
status: "pending",
|
|
177
254
|
data: void 0,
|
|
178
255
|
error: null
|
|
179
256
|
}));
|
|
180
|
-
}),
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
}),
|
|
184
|
-
const
|
|
185
|
-
|
|
186
|
-
}),
|
|
187
|
-
const
|
|
188
|
-
|
|
189
|
-
}),
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
...
|
|
257
|
+
}), a.on("queries:set:state", (i, t) => {
|
|
258
|
+
const p = n.getEntries({ key: i, exact: !0 })[0];
|
|
259
|
+
p && (n.setEntryState(p, t), a.emit("queries:update", y(p)));
|
|
260
|
+
}), a.on("queries:simulate:loading", (i) => {
|
|
261
|
+
const t = n.getEntries({ key: i, exact: !0 })[0];
|
|
262
|
+
t && (t.asyncStatus.value = "loading", t[u].simulate = "loading", a.emit("queries:update", y(t)));
|
|
263
|
+
}), a.on("queries:simulate:loading:stop", (i) => {
|
|
264
|
+
const t = n.getEntries({ key: i, exact: !0 })[0];
|
|
265
|
+
t && t[u].simulate === "loading" && (t.asyncStatus.value = "idle", t[u].simulate = null, a.emit("queries:update", y(t)));
|
|
266
|
+
}), a.on("queries:simulate:error", (i) => {
|
|
267
|
+
const t = n.getEntries({ key: i, exact: !0 })[0];
|
|
268
|
+
t && (n.cancel(t), n.setEntryState(t, {
|
|
269
|
+
...t.state.value,
|
|
193
270
|
status: "error",
|
|
194
271
|
error: new Error("Simulated error")
|
|
195
|
-
}),
|
|
196
|
-
}),
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
...
|
|
200
|
-
status:
|
|
272
|
+
}), t[u].simulate = "error", a.emit("queries:update", y(t)));
|
|
273
|
+
}), a.on("queries:simulate:error:stop", (i) => {
|
|
274
|
+
const t = n.getEntries({ key: i, exact: !0 })[0];
|
|
275
|
+
t && t[u].simulate === "error" && (n.cancel(t), n.setEntryState(t, {
|
|
276
|
+
...t.state.value,
|
|
277
|
+
status: t.state.value.data !== void 0 ? "success" : "pending",
|
|
201
278
|
error: null
|
|
202
|
-
}),
|
|
279
|
+
}), t[u].simulate = null, a.emit("queries:update", y(t)));
|
|
280
|
+
}), a.on("mutations:clear", (i = {}) => {
|
|
281
|
+
l.getEntries(i).forEach((p) => l.remove(p));
|
|
282
|
+
}), a.on("mutations:remove", (i) => {
|
|
283
|
+
const t = l.get(i);
|
|
284
|
+
t && l.remove(t);
|
|
285
|
+
}), a.on("mutations:simulate:loading", (i) => {
|
|
286
|
+
const t = l.get(i);
|
|
287
|
+
t && (t.asyncStatus.value = "loading", t[u].simulate = "loading", a.emit("mutations:update", E(t)));
|
|
288
|
+
}), a.on("mutations:simulate:loading:stop", (i) => {
|
|
289
|
+
const t = l.get(i);
|
|
290
|
+
t && t[u].simulate === "loading" && (t.asyncStatus.value = "idle", t[u].simulate = null, a.emit("mutations:update", E(t)));
|
|
291
|
+
}), a.on("mutations:simulate:error", (i) => {
|
|
292
|
+
const t = l.get(i);
|
|
293
|
+
t && (l.setEntryState(t, {
|
|
294
|
+
...t.state.value,
|
|
295
|
+
status: "error",
|
|
296
|
+
error: new Error("Simulated error")
|
|
297
|
+
}), t[u].simulate = "error", a.emit("mutations:update", E(t)));
|
|
298
|
+
}), a.on("mutations:simulate:error:stop", (i) => {
|
|
299
|
+
const t = l.get(i);
|
|
300
|
+
if (t && t[u].simulate === "error") {
|
|
301
|
+
const p = t.state.value;
|
|
302
|
+
l.setEntryState(
|
|
303
|
+
t,
|
|
304
|
+
p.data === void 0 ? {
|
|
305
|
+
data: void 0,
|
|
306
|
+
status: "pending",
|
|
307
|
+
error: null
|
|
308
|
+
} : { data: p.data, status: "success", error: null }
|
|
309
|
+
), t[u].simulate = null, a.emit("mutations:update", E(t));
|
|
310
|
+
}
|
|
311
|
+
}), a.on("mutations:replay", (i) => {
|
|
312
|
+
const t = l.get(i);
|
|
313
|
+
if (!t) {
|
|
314
|
+
console.warn("[@pinia/colada] Cannot replay: mutation entry not found");
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
if (t.gcTimeout) {
|
|
318
|
+
console.warn(
|
|
319
|
+
"[@pinia/colada] Cannot replay: mutation is in the process of being garbage collected. It isn't used anywhere and replaying it will have no effect."
|
|
320
|
+
);
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
323
|
+
l.setEntryState(t, {
|
|
324
|
+
data: void 0,
|
|
325
|
+
status: "pending",
|
|
326
|
+
error: null
|
|
327
|
+
}), l.mutate(t).catch(() => {
|
|
328
|
+
});
|
|
203
329
|
});
|
|
204
|
-
const
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}),
|
|
330
|
+
const m = j(null);
|
|
331
|
+
G(m, () => {
|
|
332
|
+
d.value = new MessageChannel();
|
|
333
|
+
}), k2(
|
|
208
334
|
window,
|
|
209
335
|
"unload",
|
|
210
336
|
() => {
|
|
211
|
-
|
|
337
|
+
m.value?.close();
|
|
212
338
|
},
|
|
213
339
|
{ passive: !0 }
|
|
214
|
-
),
|
|
215
|
-
|
|
340
|
+
), d2(() => {
|
|
341
|
+
m.value?.close();
|
|
216
342
|
});
|
|
217
|
-
function
|
|
218
|
-
|
|
343
|
+
function b() {
|
|
344
|
+
m.value?.close(), m.value = null;
|
|
219
345
|
}
|
|
220
|
-
function
|
|
221
|
-
const
|
|
222
|
-
if (!
|
|
346
|
+
function O() {
|
|
347
|
+
const i = s.value;
|
|
348
|
+
if (!i || !i.shadowRoot)
|
|
223
349
|
throw new Error("No devtools elemnt found for Pinia Colada devtools");
|
|
224
|
-
const
|
|
225
|
-
if (!
|
|
350
|
+
const t = i.shadowRoot.getElementById("root");
|
|
351
|
+
if (!t)
|
|
226
352
|
throw new Error("No devtools root element found for Pinia Colada devtools");
|
|
227
|
-
const
|
|
353
|
+
const p = Math.max(t.offsetWidth, 400), w = Math.max(t.offsetHeight, 400), c = window.open(
|
|
228
354
|
"",
|
|
229
355
|
"pinia-colada-devtools",
|
|
230
|
-
`popup,width=${
|
|
356
|
+
`popup,width=${p},height=${w}`
|
|
231
357
|
);
|
|
232
|
-
if (!
|
|
358
|
+
if (!c)
|
|
233
359
|
throw new Error("Failed to open PiP window for Pinia Colada devtools");
|
|
234
|
-
|
|
360
|
+
m.value = c, c.document.head.innerHTML = "", c.document.body.innerHTML = "", c.document.title = "🍹 Pinia Colada Devtools", c.document.body.style.margin = "0", g(i, c.document), c.addEventListener(
|
|
235
361
|
"unload",
|
|
236
362
|
() => {
|
|
237
|
-
|
|
363
|
+
m.value = null;
|
|
238
364
|
},
|
|
239
365
|
{ passive: !0 }
|
|
240
366
|
);
|
|
241
367
|
}
|
|
242
|
-
function
|
|
243
|
-
if (!
|
|
368
|
+
function g(i, t = document) {
|
|
369
|
+
if (!i || !i.shadowRoot)
|
|
244
370
|
throw new Error("No devtools element found for Pinia Colada devtools");
|
|
245
|
-
const
|
|
246
|
-
|
|
247
|
-
const
|
|
248
|
-
|
|
371
|
+
const p = t.getElementById("__pc-tw-properties") ?? t.createElement("style");
|
|
372
|
+
p.setAttribute("id", "__pc-tw-properties");
|
|
373
|
+
const w = Array.from(i.shadowRoot.styleSheets).flatMap((c) => Array.from(c.cssRules)).filter((c) => c instanceof CSSPropertyRule).map((c) => c.cssText).join("");
|
|
374
|
+
p.textContent = w, t.head.appendChild(p);
|
|
249
375
|
}
|
|
250
|
-
function
|
|
251
|
-
|
|
376
|
+
function T() {
|
|
377
|
+
m.value ? b() : O();
|
|
252
378
|
}
|
|
253
|
-
let
|
|
254
|
-
async function
|
|
255
|
-
if (!
|
|
256
|
-
if (++
|
|
379
|
+
let z = 0;
|
|
380
|
+
async function C() {
|
|
381
|
+
if (!s.value) {
|
|
382
|
+
if (++z > 100)
|
|
257
383
|
throw new Error("Failed to find devtools element for Pinia Colada devtools");
|
|
258
384
|
setTimeout(() => {
|
|
259
|
-
|
|
385
|
+
C();
|
|
260
386
|
}, 100);
|
|
261
387
|
return;
|
|
262
388
|
}
|
|
263
|
-
|
|
264
|
-
"mutations:all",
|
|
265
|
-
// FIXME: add mutations
|
|
266
|
-
i.getEntries().map(g)
|
|
267
|
-
);
|
|
389
|
+
g(s.value), a.emit("queries:all", n.getEntries().map(y)), a.emit("mutations:all", l.getEntries().map(E));
|
|
268
390
|
}
|
|
269
|
-
return (
|
|
270
|
-
to:
|
|
391
|
+
return (i, t) => (P(), M(f2, {
|
|
392
|
+
to: m.value ? m.value.document.body : "body"
|
|
271
393
|
}, [
|
|
272
|
-
|
|
394
|
+
J("pinia-colada-devtools-panel", {
|
|
273
395
|
ref: "devtools",
|
|
274
|
-
".isPip": !!
|
|
275
|
-
".port":
|
|
276
|
-
onTogglePip:
|
|
277
|
-
onReady:
|
|
278
|
-
onClose:
|
|
279
|
-
}, null, 40,
|
|
396
|
+
".isPip": !!m.value,
|
|
397
|
+
".port": d.value.port2,
|
|
398
|
+
onTogglePip: t[0] || (t[0] = (p) => T()),
|
|
399
|
+
onReady: t[1] || (t[1] = (p) => C()),
|
|
400
|
+
onClose: t[2] || (t[2] = (p) => r("close"))
|
|
401
|
+
}, null, 40, E2)
|
|
280
402
|
], 8, ["to"]));
|
|
281
403
|
}
|
|
282
|
-
});
|
|
283
|
-
function k2(e, t) {
|
|
284
|
-
return V() ? (J(e, t), !0) : !1;
|
|
285
|
-
}
|
|
286
|
-
const S2 = typeof window < "u" && typeof document < "u";
|
|
404
|
+
}), C2 = typeof window < "u" && typeof document < "u";
|
|
287
405
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
288
|
-
const
|
|
406
|
+
const A2 = Object.prototype.toString, O2 = (e) => A2.call(e) === "[object Object]", T2 = () => {
|
|
289
407
|
};
|
|
290
|
-
function
|
|
291
|
-
if (e.length !== 1) return
|
|
292
|
-
const
|
|
293
|
-
return typeof
|
|
294
|
-
get:
|
|
295
|
-
set:
|
|
296
|
-
}))) :
|
|
408
|
+
function _2(...e) {
|
|
409
|
+
if (e.length !== 1) return m2(...e);
|
|
410
|
+
const o = e[0];
|
|
411
|
+
return typeof o == "function" ? K(v2(() => ({
|
|
412
|
+
get: o,
|
|
413
|
+
set: T2
|
|
414
|
+
}))) : R(o);
|
|
297
415
|
}
|
|
298
|
-
function
|
|
299
|
-
function
|
|
300
|
-
return new Promise((
|
|
301
|
-
Promise.resolve(e(() =>
|
|
302
|
-
fn:
|
|
416
|
+
function P2(e, o) {
|
|
417
|
+
function r(...n) {
|
|
418
|
+
return new Promise((l, s) => {
|
|
419
|
+
Promise.resolve(e(() => o.apply(this, n), {
|
|
420
|
+
fn: o,
|
|
303
421
|
thisArg: this,
|
|
304
|
-
args:
|
|
305
|
-
})).then(
|
|
422
|
+
args: n
|
|
423
|
+
})).then(l).catch(s);
|
|
306
424
|
});
|
|
307
425
|
}
|
|
308
|
-
return
|
|
426
|
+
return r;
|
|
309
427
|
}
|
|
310
|
-
const
|
|
311
|
-
function
|
|
312
|
-
const { initialState:
|
|
313
|
-
function
|
|
314
|
-
|
|
428
|
+
const t2 = (e) => e();
|
|
429
|
+
function G2(e = t2, o = {}) {
|
|
430
|
+
const { initialState: r = "active" } = o, n = _2(r === "active");
|
|
431
|
+
function l() {
|
|
432
|
+
n.value = !1;
|
|
315
433
|
}
|
|
316
434
|
function s() {
|
|
317
|
-
|
|
435
|
+
n.value = !0;
|
|
318
436
|
}
|
|
319
|
-
const
|
|
320
|
-
|
|
437
|
+
const d = (...a) => {
|
|
438
|
+
n.value && e(...a);
|
|
321
439
|
};
|
|
322
440
|
return {
|
|
323
|
-
isActive: K(
|
|
324
|
-
pause:
|
|
441
|
+
isActive: K(n),
|
|
442
|
+
pause: l,
|
|
325
443
|
resume: s,
|
|
326
|
-
eventFilter:
|
|
444
|
+
eventFilter: d
|
|
327
445
|
};
|
|
328
446
|
}
|
|
329
|
-
function
|
|
447
|
+
function W(e) {
|
|
330
448
|
return Array.isArray(e) ? e : [e];
|
|
331
449
|
}
|
|
332
|
-
function
|
|
333
|
-
return
|
|
450
|
+
function U2(e) {
|
|
451
|
+
return p2();
|
|
334
452
|
}
|
|
335
|
-
function
|
|
336
|
-
const { eventFilter:
|
|
337
|
-
return
|
|
453
|
+
function D2(e, o, r = {}) {
|
|
454
|
+
const { eventFilter: n = t2, ...l } = r;
|
|
455
|
+
return G(e, P2(n, o), l);
|
|
338
456
|
}
|
|
339
|
-
function
|
|
340
|
-
const { eventFilter:
|
|
457
|
+
function q2(e, o, r = {}) {
|
|
458
|
+
const { eventFilter: n, initialState: l = "active", ...s } = r, { eventFilter: d, pause: a, resume: m, isActive: b } = G2(n, { initialState: l });
|
|
341
459
|
return {
|
|
342
|
-
stop:
|
|
460
|
+
stop: D2(e, o, {
|
|
343
461
|
...s,
|
|
344
|
-
eventFilter:
|
|
462
|
+
eventFilter: d
|
|
345
463
|
}),
|
|
346
|
-
pause:
|
|
347
|
-
resume:
|
|
348
|
-
isActive:
|
|
464
|
+
pause: a,
|
|
465
|
+
resume: m,
|
|
466
|
+
isActive: b
|
|
349
467
|
};
|
|
350
468
|
}
|
|
351
|
-
const
|
|
352
|
-
function
|
|
353
|
-
|
|
469
|
+
const $2 = q2;
|
|
470
|
+
function M2(e, o = !0, r) {
|
|
471
|
+
U2() ? B(e, r) : o ? e() : Y(e);
|
|
354
472
|
}
|
|
355
|
-
function
|
|
356
|
-
return
|
|
357
|
-
...
|
|
473
|
+
function F2(e, o, r) {
|
|
474
|
+
return G(e, o, {
|
|
475
|
+
...r,
|
|
358
476
|
immediate: !0
|
|
359
477
|
});
|
|
360
478
|
}
|
|
361
|
-
const
|
|
479
|
+
const A = C2 ? window : void 0;
|
|
362
480
|
function R2(e) {
|
|
363
|
-
var
|
|
364
|
-
const
|
|
365
|
-
return (
|
|
481
|
+
var o;
|
|
482
|
+
const r = S(e);
|
|
483
|
+
return (o = r?.$el) !== null && o !== void 0 ? o : r;
|
|
366
484
|
}
|
|
367
|
-
function
|
|
368
|
-
const
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
var l, d;
|
|
485
|
+
function V(...e) {
|
|
486
|
+
const o = (n, l, s, d) => (n.addEventListener(l, s, d), () => n.removeEventListener(l, s, d)), r = X(() => {
|
|
487
|
+
const n = W(S(e[0])).filter((l) => l != null);
|
|
488
|
+
return n.every((l) => typeof l != "string") ? n : void 0;
|
|
489
|
+
});
|
|
490
|
+
return F2(() => {
|
|
491
|
+
var n, l;
|
|
375
492
|
return [
|
|
376
|
-
(
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
S(
|
|
493
|
+
(n = (l = r.value) === null || l === void 0 ? void 0 : l.map((s) => R2(s))) !== null && n !== void 0 ? n : [A].filter((s) => s != null),
|
|
494
|
+
W(S(r.value ? e[1] : e[0])),
|
|
495
|
+
W(q(r.value ? e[2] : e[1])),
|
|
496
|
+
S(r.value ? e[3] : e[2])
|
|
380
497
|
];
|
|
381
|
-
}, ([l, d,
|
|
382
|
-
if (n
|
|
383
|
-
const
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
};
|
|
388
|
-
return k2(n), r;
|
|
498
|
+
}, ([n, l, s, d], a, m) => {
|
|
499
|
+
if (!n?.length || !l?.length || !s?.length) return;
|
|
500
|
+
const b = O2(d) ? { ...d } : d, O = n.flatMap((g) => l.flatMap((T) => s.map((z) => o(g, T, z, b))));
|
|
501
|
+
m(() => {
|
|
502
|
+
O.forEach((g) => g());
|
|
503
|
+
});
|
|
504
|
+
}, { flush: "post" });
|
|
389
505
|
}
|
|
390
|
-
const
|
|
391
|
-
function
|
|
392
|
-
return
|
|
506
|
+
const U = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, D = "__vueuse_ssr_handlers__", N2 = /* @__PURE__ */ W2();
|
|
507
|
+
function W2() {
|
|
508
|
+
return D in U || (U[D] = U[D] || {}), U[D];
|
|
393
509
|
}
|
|
394
|
-
function
|
|
395
|
-
return
|
|
510
|
+
function j2(e, o) {
|
|
511
|
+
return N2[e] || o;
|
|
396
512
|
}
|
|
397
|
-
function
|
|
513
|
+
function B2(e) {
|
|
398
514
|
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";
|
|
399
515
|
}
|
|
400
|
-
const
|
|
516
|
+
const I2 = {
|
|
401
517
|
boolean: {
|
|
402
518
|
read: (e) => e === "true",
|
|
403
519
|
write: (e) => String(e)
|
|
@@ -430,149 +546,149 @@ const M2 = {
|
|
|
430
546
|
read: (e) => new Date(e),
|
|
431
547
|
write: (e) => e.toISOString()
|
|
432
548
|
}
|
|
433
|
-
},
|
|
434
|
-
function
|
|
435
|
-
var
|
|
436
|
-
const { flush: s = "pre", deep:
|
|
437
|
-
console.error(
|
|
438
|
-
}, initOnMounted:
|
|
439
|
-
if (!
|
|
440
|
-
|
|
441
|
-
} catch (
|
|
442
|
-
z(
|
|
549
|
+
}, Q = "vueuse-storage";
|
|
550
|
+
function L2(e, o, r, n = {}) {
|
|
551
|
+
var l;
|
|
552
|
+
const { flush: s = "pre", deep: d = !0, listenToStorageChanges: a = !0, writeDefaults: m = !0, mergeDefaults: b = !1, shallow: O, window: g = A, eventFilter: T, onError: z = (f) => {
|
|
553
|
+
console.error(f);
|
|
554
|
+
}, initOnMounted: C } = n, i = (O ? j : R)(o), t = X(() => S(e));
|
|
555
|
+
if (!r) try {
|
|
556
|
+
r = j2("getDefaultStorage", () => A?.localStorage)();
|
|
557
|
+
} catch (f) {
|
|
558
|
+
z(f);
|
|
443
559
|
}
|
|
444
|
-
if (!
|
|
445
|
-
const
|
|
560
|
+
if (!r) return i;
|
|
561
|
+
const p = S(o), w = B2(p), c = (l = n.serializer) !== null && l !== void 0 ? l : I2[w], { pause: k, resume: I } = $2(i, (f) => i2(f), {
|
|
446
562
|
flush: s,
|
|
447
|
-
deep:
|
|
448
|
-
eventFilter:
|
|
563
|
+
deep: d,
|
|
564
|
+
eventFilter: T
|
|
449
565
|
});
|
|
450
|
-
|
|
451
|
-
let
|
|
452
|
-
const o2 = (
|
|
453
|
-
|
|
454
|
-
}, n2 = (
|
|
455
|
-
|
|
566
|
+
G(t, () => _(), { flush: s });
|
|
567
|
+
let N = !1;
|
|
568
|
+
const o2 = (f) => {
|
|
569
|
+
C && !N || _(f);
|
|
570
|
+
}, n2 = (f) => {
|
|
571
|
+
C && !N || r2(f);
|
|
456
572
|
};
|
|
457
|
-
|
|
458
|
-
|
|
573
|
+
g && a && (r instanceof Storage ? V(g, "storage", o2, { passive: !0 }) : V(g, Q, n2)), C ? M2(() => {
|
|
574
|
+
N = !0, _();
|
|
459
575
|
}) : _();
|
|
460
|
-
function
|
|
461
|
-
if (
|
|
462
|
-
const
|
|
463
|
-
key:
|
|
464
|
-
oldValue:
|
|
465
|
-
newValue:
|
|
466
|
-
storageArea:
|
|
576
|
+
function L(f, v) {
|
|
577
|
+
if (g) {
|
|
578
|
+
const x = {
|
|
579
|
+
key: t.value,
|
|
580
|
+
oldValue: f,
|
|
581
|
+
newValue: v,
|
|
582
|
+
storageArea: r
|
|
467
583
|
};
|
|
468
|
-
|
|
584
|
+
g.dispatchEvent(r instanceof Storage ? new StorageEvent("storage", x) : new CustomEvent(Q, { detail: x }));
|
|
469
585
|
}
|
|
470
586
|
}
|
|
471
|
-
function i2(
|
|
587
|
+
function i2(f) {
|
|
472
588
|
try {
|
|
473
|
-
const
|
|
474
|
-
if (
|
|
475
|
-
|
|
589
|
+
const v = r.getItem(t.value);
|
|
590
|
+
if (f == null)
|
|
591
|
+
L(v, null), r.removeItem(t.value);
|
|
476
592
|
else {
|
|
477
|
-
const
|
|
478
|
-
|
|
593
|
+
const x = c.write(f);
|
|
594
|
+
v !== x && (r.setItem(t.value, x), L(v, x));
|
|
479
595
|
}
|
|
480
|
-
} catch (
|
|
481
|
-
z(
|
|
596
|
+
} catch (v) {
|
|
597
|
+
z(v);
|
|
482
598
|
}
|
|
483
599
|
}
|
|
484
|
-
function
|
|
485
|
-
const
|
|
486
|
-
if (
|
|
487
|
-
return
|
|
488
|
-
if (!
|
|
489
|
-
const
|
|
490
|
-
return typeof
|
|
491
|
-
...
|
|
492
|
-
...
|
|
493
|
-
} :
|
|
494
|
-
} else return typeof
|
|
600
|
+
function a2(f) {
|
|
601
|
+
const v = f ? f.newValue : r.getItem(t.value);
|
|
602
|
+
if (v == null)
|
|
603
|
+
return m && p != null && r.setItem(t.value, c.write(p)), p;
|
|
604
|
+
if (!f && b) {
|
|
605
|
+
const x = c.read(v);
|
|
606
|
+
return typeof b == "function" ? b(x, p) : w === "object" && !Array.isArray(x) ? {
|
|
607
|
+
...p,
|
|
608
|
+
...x
|
|
609
|
+
} : x;
|
|
610
|
+
} else return typeof v != "string" ? v : c.read(v);
|
|
495
611
|
}
|
|
496
|
-
function _(
|
|
497
|
-
if (!(
|
|
498
|
-
if (
|
|
499
|
-
|
|
612
|
+
function _(f) {
|
|
613
|
+
if (!(f && f.storageArea !== r)) {
|
|
614
|
+
if (f && f.key == null) {
|
|
615
|
+
i.value = p;
|
|
500
616
|
return;
|
|
501
617
|
}
|
|
502
|
-
if (!(
|
|
503
|
-
|
|
618
|
+
if (!(f && f.key !== t.value)) {
|
|
619
|
+
k();
|
|
504
620
|
try {
|
|
505
|
-
const
|
|
506
|
-
(
|
|
507
|
-
} catch (
|
|
508
|
-
z(
|
|
621
|
+
const v = c.write(i.value);
|
|
622
|
+
(f === void 0 || f?.newValue !== v) && (i.value = a2(f));
|
|
623
|
+
} catch (v) {
|
|
624
|
+
z(v);
|
|
509
625
|
} finally {
|
|
510
|
-
|
|
626
|
+
f ? Y(I) : I();
|
|
511
627
|
}
|
|
512
628
|
}
|
|
513
629
|
}
|
|
514
630
|
}
|
|
515
|
-
function
|
|
516
|
-
_(
|
|
631
|
+
function r2(f) {
|
|
632
|
+
_(f.detail);
|
|
517
633
|
}
|
|
518
|
-
return
|
|
634
|
+
return i;
|
|
519
635
|
}
|
|
520
|
-
function
|
|
521
|
-
const { window:
|
|
522
|
-
return
|
|
636
|
+
function H2(e, o, r = {}) {
|
|
637
|
+
const { window: n = A } = r;
|
|
638
|
+
return L2(e, o, n?.localStorage, r);
|
|
523
639
|
}
|
|
524
|
-
const L2 = "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", I2 = "#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%)}", H2 = ["src"], V2 = /* @__PURE__ */ R({
|
|
640
|
+
const V2 = "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", Q2 = "#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%)}", J2 = ["src"], Y2 = /* @__PURE__ */ F({
|
|
525
641
|
__name: "PCDevtoolsWrapper",
|
|
526
642
|
setup(e) {
|
|
527
|
-
const
|
|
528
|
-
async function
|
|
529
|
-
if (!
|
|
530
|
-
const { DevtoolsPanel:
|
|
531
|
-
customElements.define("pinia-colada-devtools-panel",
|
|
643
|
+
const o = R(!1), r = H2("pinia-colada-devtools-open", !1);
|
|
644
|
+
async function n() {
|
|
645
|
+
if (!o.value && (o.value = !0, !customElements.get("pinia-colada-devtools-panel"))) {
|
|
646
|
+
const { DevtoolsPanel: a } = await import("@pinia/colada-devtools/panel");
|
|
647
|
+
customElements.define("pinia-colada-devtools-panel", a);
|
|
532
648
|
}
|
|
533
649
|
}
|
|
534
|
-
const
|
|
535
|
-
|
|
536
|
-
async function
|
|
537
|
-
await
|
|
650
|
+
const l = Z(), s = e2();
|
|
651
|
+
b2(l, s);
|
|
652
|
+
async function d() {
|
|
653
|
+
await n(), r.value = !0;
|
|
538
654
|
}
|
|
539
|
-
return
|
|
540
|
-
const
|
|
541
|
-
|
|
655
|
+
return B(() => {
|
|
656
|
+
const a = document.getElementById("__pc-devtools-style") ?? document.createElement("style");
|
|
657
|
+
a.id = "__pc-devtools-style", a.textContent = Q2, document.head.appendChild(a), r.value ? d() : (typeof requestIdleCallback == "function" ? requestIdleCallback : requestAnimationFrame)(() => {
|
|
542
658
|
import("@pinia/colada-devtools/panel");
|
|
543
659
|
});
|
|
544
|
-
}), (
|
|
545
|
-
default:
|
|
546
|
-
|
|
660
|
+
}), (a, m) => (P(), M(w2, null, {
|
|
661
|
+
default: h2(() => [
|
|
662
|
+
q(r) ? $("", !0) : (P(), y2("button", {
|
|
547
663
|
key: 0,
|
|
548
664
|
id: "open-devtools-button",
|
|
549
665
|
"aria-label": "Open Pinia Colada Devtools",
|
|
550
666
|
title: "Open Pinia Colada Devtools",
|
|
551
|
-
onClick:
|
|
667
|
+
onClick: m[0] || (m[0] = (b) => d())
|
|
552
668
|
}, [
|
|
553
|
-
|
|
554
|
-
src:
|
|
669
|
+
J("img", {
|
|
670
|
+
src: q(V2),
|
|
555
671
|
alt: "Pinia Colada Devtools Logo"
|
|
556
|
-
}, null, 8,
|
|
672
|
+
}, null, 8, J2)
|
|
557
673
|
])),
|
|
558
|
-
|
|
674
|
+
o.value && q(r) ? (P(), M(z2, {
|
|
559
675
|
key: 1,
|
|
560
|
-
onClose:
|
|
561
|
-
})) :
|
|
676
|
+
onClose: m[1] || (m[1] = (b) => r.value = !1)
|
|
677
|
+
})) : $("", !0)
|
|
562
678
|
]),
|
|
563
679
|
_: 1
|
|
564
680
|
}));
|
|
565
681
|
}
|
|
566
|
-
}),
|
|
682
|
+
}), ee = /* @__PURE__ */ F({
|
|
567
683
|
__name: "ProductionWrapper",
|
|
568
684
|
props: {
|
|
569
685
|
disabled: { type: Boolean, default: () => process.env.NODE_ENV === "production" }
|
|
570
686
|
},
|
|
571
687
|
setup(e) {
|
|
572
|
-
return (
|
|
688
|
+
return (o, r) => e.disabled ? $("", !0) : (P(), M(Y2, { key: 0 }));
|
|
573
689
|
}
|
|
574
690
|
});
|
|
575
691
|
export {
|
|
576
|
-
|
|
692
|
+
ee as PiniaColadaDevtools
|
|
577
693
|
};
|
|
578
694
|
//# sourceMappingURL=index.js.map
|