@admin-core/design 0.2.0 → 0.2.1

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 (38) hide show
  1. package/README.en.md +698 -0
  2. package/README.md +574 -181
  3. package/dist/index.cjs +4 -4
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.js +1142 -877
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.umd.js +4 -4
  8. package/dist/index.umd.js.map +1 -1
  9. package/dist/theme/constants.d.ts +5 -0
  10. package/dist/theme/constants.d.ts.map +1 -1
  11. package/dist/theme/i18n/en-US.d.ts +3 -0
  12. package/dist/theme/i18n/en-US.d.ts.map +1 -0
  13. package/dist/theme/i18n/index.d.ts +34 -0
  14. package/dist/theme/i18n/index.d.ts.map +1 -0
  15. package/dist/theme/i18n/zh-CN.d.ts +69 -0
  16. package/dist/theme/i18n/zh-CN.d.ts.map +1 -0
  17. package/dist/theme/index.d.ts +4 -2
  18. package/dist/theme/index.d.ts.map +1 -1
  19. package/dist/theme/integration.d.ts +124 -0
  20. package/dist/theme/integration.d.ts.map +1 -0
  21. package/dist/theme/utils.d.ts +1 -1
  22. package/dist/theme/utils.d.ts.map +1 -1
  23. package/package.json +18 -11
  24. package/src/css/base.css +145 -0
  25. package/src/css/components.css +96 -0
  26. package/src/css/index.css +21 -0
  27. package/src/css/integrations/ant-design-vue.css +64 -0
  28. package/src/css/integrations/arco-design.css +62 -0
  29. package/src/css/integrations/element-plus.css +157 -0
  30. package/src/css/integrations/index.css +17 -0
  31. package/src/css/integrations/naive-ui.css +60 -0
  32. package/src/css/nprogress.css +74 -0
  33. package/src/css/transition.css +256 -0
  34. package/src/css/ui.css +117 -0
  35. package/src/css/utilities.css +138 -0
  36. package/src/tokens/dark.css +406 -0
  37. package/src/tokens/index.ts +6 -0
  38. package/src/tokens/light.css +297 -0
package/dist/index.js CHANGED
@@ -1,175 +1,305 @@
1
- const tt = "light", Me = "default", ne = {
1
+ const vn = {
2
+ themes: {
3
+ default: {
4
+ name: "经典蓝",
5
+ description: "经典的蓝色主题,适合大多数场景"
6
+ },
7
+ slate: {
8
+ name: "石板灰",
9
+ description: "石板色主题,沉稳内敛"
10
+ },
11
+ "burnished-lilac": {
12
+ name: "烟熏薰衣草",
13
+ description: "2026流行色 - 优雅的薰衣草紫,展现高贵气质"
14
+ },
15
+ teaberry: {
16
+ name: "茶莓红",
17
+ description: "2026流行色 - 浪漫的茶莓色,充满活力"
18
+ },
19
+ amaranth: {
20
+ name: "苋菜紫",
21
+ description: "2026流行色 - 神秘的苋菜紫,时尚前卫"
22
+ },
23
+ "pulse-blue": {
24
+ name: "脉冲蓝",
25
+ description: "2026流行色 - 充满活力的脉冲蓝,现代时尚"
26
+ },
27
+ "deep-teal": {
28
+ name: "深邃青",
29
+ description: "2026流行色 - 深邃的青色,沉稳大气"
30
+ },
31
+ "mermaid-aqua": {
32
+ name: "美人鱼蓝",
33
+ description: "2026流行色 - 梦幻的美人鱼蓝,清新可爱"
34
+ },
35
+ "pearl-purple": {
36
+ name: "珍珠紫",
37
+ description: "2026流行色 - 柔和的珍珠紫,优雅迷人"
38
+ },
39
+ burgundy: {
40
+ name: "勃艮第",
41
+ description: "2026流行色 - 高端奢华的勃艮第红,尊贵典雅"
42
+ },
43
+ "burnt-sienna": {
44
+ name: "焦赭石",
45
+ description: "2026流行色 - 温暖的焦赭石色,自然大地"
46
+ },
47
+ "olive-sage": {
48
+ name: "橄榄绿",
49
+ description: "2026流行色 - 沉稳的橄榄绿,自然和谐"
50
+ },
51
+ "champagne-gold": {
52
+ name: "香槟金",
53
+ description: "2026流行色 - 奢华的香槟金,高贵优雅"
54
+ },
55
+ "dusty-rose": {
56
+ name: "灰玫瑰",
57
+ description: "2026流行色 - 柔和的灰玫瑰色,温柔可爱"
58
+ },
59
+ "citrus-green": {
60
+ name: "柑橘绿",
61
+ description: "2026流行色 - 清新的柑橘绿,充满生机"
62
+ }
63
+ }
64
+ }, bn = {
65
+ themes: {
66
+ default: {
67
+ name: "Classic Blue",
68
+ description: "Classic blue theme, suitable for most scenarios"
69
+ },
70
+ slate: {
71
+ name: "Slate Gray",
72
+ description: "Slate color theme, calm and restrained"
73
+ },
74
+ "burnished-lilac": {
75
+ name: "Burnished Lilac",
76
+ description: "2026 Trending Color - Elegant lavender purple, showcasing noble temperament"
77
+ },
78
+ teaberry: {
79
+ name: "Teaberry",
80
+ description: "2026 Trending Color - Romantic teaberry color, full of vitality"
81
+ },
82
+ amaranth: {
83
+ name: "Amaranth Purple",
84
+ description: "2026 Trending Color - Mysterious amaranth purple, fashionable and avant-garde"
85
+ },
86
+ "pulse-blue": {
87
+ name: "Pulse Blue",
88
+ description: "2026 Trending Color - Vibrant pulse blue, modern and stylish"
89
+ },
90
+ "deep-teal": {
91
+ name: "Deep Teal",
92
+ description: "2026 Trending Color - Deep teal, calm and atmospheric"
93
+ },
94
+ "mermaid-aqua": {
95
+ name: "Mermaid Aqua",
96
+ description: "2026 Trending Color - Dreamy mermaid aqua, fresh and cute"
97
+ },
98
+ "pearl-purple": {
99
+ name: "Pearl Purple",
100
+ description: "2026 Trending Color - Soft pearl purple, elegant and charming"
101
+ },
102
+ burgundy: {
103
+ name: "Burgundy",
104
+ description: "2026 Trending Color - High-end luxurious burgundy, noble and elegant"
105
+ },
106
+ "burnt-sienna": {
107
+ name: "Burnt Sienna",
108
+ description: "2026 Trending Color - Warm burnt sienna, natural and earthy"
109
+ },
110
+ "olive-sage": {
111
+ name: "Olive Sage",
112
+ description: "2026 Trending Color - Calm olive green, natural and harmonious"
113
+ },
114
+ "champagne-gold": {
115
+ name: "Champagne Gold",
116
+ description: "2026 Trending Color - Luxurious champagne gold, noble and elegant"
117
+ },
118
+ "dusty-rose": {
119
+ name: "Dusty Rose",
120
+ description: "2026 Trending Color - Soft dusty rose, gentle and lovely"
121
+ },
122
+ "citrus-green": {
123
+ name: "Citrus Green",
124
+ description: "2026 Trending Color - Fresh citrus green, full of vitality"
125
+ }
126
+ }
127
+ }, Mt = {
128
+ "zh-CN": vn,
129
+ "en-US": bn
130
+ }, Ze = "zh-CN";
131
+ let Ve = Ze;
132
+ function ho(e) {
133
+ Mt[e] ? Ve = e : (console.warn(`Locale "${e}" is not supported, falling back to "${Ze}"`), Ve = Ze);
134
+ }
135
+ function go() {
136
+ return Ve;
137
+ }
138
+ function xt() {
139
+ return Mt[Ve];
140
+ }
141
+ function En(e) {
142
+ return xt().themes[e]?.name || e;
143
+ }
144
+ function wn(e) {
145
+ return xt().themes[e]?.description || "";
146
+ }
147
+ const at = "light", Ie = "default", ae = {
2
148
  MODE: "theme-mode",
3
149
  VARIANT: "theme-variant"
4
- }, ae = {
150
+ }, pe = {
5
151
  DARK: "dark",
6
152
  LIGHT: "light"
7
- }, xe = {
153
+ }, Re = {
8
154
  THEME: "data-theme",
9
155
  MODE: "data-mode"
10
- }, Ye = 300, le = [
156
+ }, Xe = 300, Sn = [
11
157
  {
12
158
  id: "default",
13
- name: "经典蓝",
14
159
  icon: "🔵",
15
- description: "经典的蓝色主题,适合大多数场景",
16
160
  primaryColor: "hsl(212, 100%, 48%)",
17
161
  category: "colorful",
18
162
  isDefault: !0
19
163
  },
20
164
  {
21
165
  id: "slate",
22
- name: "石板灰",
23
166
  icon: "🔘",
24
- description: "石板色主题,沉稳内敛",
25
167
  primaryColor: "hsl(215, 20%, 40%)",
26
168
  category: "neutral"
27
169
  },
28
170
  {
29
171
  id: "burnished-lilac",
30
- name: "烟熏薰衣草",
31
172
  icon: "🪻",
32
- description: "2026流行色 - 优雅的薰衣草紫,展现高贵气质",
33
173
  primaryColor: "hsl(280, 35%, 65%)",
34
174
  category: "colorful"
35
175
  },
36
176
  {
37
177
  id: "teaberry",
38
- name: "茶莓红",
39
178
  icon: "🌹",
40
- description: "2026流行色 - 浪漫的茶莓色,充满活力",
41
179
  primaryColor: "hsl(345, 75%, 55%)",
42
180
  category: "colorful"
43
181
  },
44
182
  {
45
183
  id: "amaranth",
46
- name: "苋菜紫",
47
184
  icon: "💜",
48
- description: "2026流行色 - 神秘的苋菜紫,时尚前卫",
49
185
  primaryColor: "hsl(310, 60%, 45%)",
50
186
  category: "colorful"
51
187
  },
52
188
  {
53
189
  id: "pulse-blue",
54
- name: "脉冲蓝",
55
190
  icon: "💙",
56
- description: "2026流行色 - 充满活力的脉冲蓝,现代时尚",
57
191
  primaryColor: "hsl(200, 85%, 50%)",
58
192
  category: "colorful"
59
193
  },
60
194
  {
61
195
  id: "deep-teal",
62
- name: "深邃青",
63
196
  icon: "🩵",
64
- description: "2026流行色 - 深邃的青色,沉稳大气",
65
197
  primaryColor: "hsl(180, 65%, 35%)",
66
198
  category: "colorful"
67
199
  },
68
200
  {
69
201
  id: "mermaid-aqua",
70
- name: "美人鱼蓝",
71
202
  icon: "🧜‍♀️",
72
- description: "2026流行色 - 梦幻的美人鱼蓝,清新可爱",
73
203
  primaryColor: "hsl(185, 70%, 55%)",
74
204
  category: "colorful"
75
205
  },
76
206
  {
77
207
  id: "pearl-purple",
78
- name: "珍珠紫",
79
208
  icon: "🔮",
80
- description: "2026流行色 - 柔和的珍珠紫,优雅迷人",
81
209
  primaryColor: "hsl(270, 45%, 70%)",
82
210
  category: "colorful"
83
211
  },
84
212
  {
85
213
  id: "burgundy",
86
- name: "勃艮第",
87
214
  icon: "🍷",
88
- description: "2026流行色 - 高端奢华的勃艮第红,尊贵典雅",
89
215
  primaryColor: "hsl(345, 65%, 40%)",
90
216
  category: "colorful"
91
217
  },
92
218
  {
93
219
  id: "burnt-sienna",
94
- name: "焦赭石",
95
220
  icon: "🍂",
96
- description: "2026流行色 - 温暖的焦赭石色,自然大地",
97
221
  primaryColor: "hsl(15, 60%, 50%)",
98
222
  category: "colorful"
99
223
  },
100
224
  {
101
225
  id: "olive-sage",
102
- name: "橄榄绿",
103
226
  icon: "🫒",
104
- description: "2026流行色 - 沉稳的橄榄绿,自然和谐",
105
227
  primaryColor: "hsl(80, 30%, 45%)",
106
228
  category: "colorful"
107
229
  },
108
230
  {
109
231
  id: "champagne-gold",
110
- name: "香槟金",
111
232
  icon: "🥂",
112
- description: "2026流行色 - 奢华的香槟金,高贵优雅",
113
233
  primaryColor: "hsl(45, 55%, 60%)",
114
234
  category: "colorful"
115
235
  },
116
236
  {
117
237
  id: "dusty-rose",
118
- name: "灰玫瑰",
119
238
  icon: "🌸",
120
- description: "2026流行色 - 柔和的灰玫瑰色,温柔可爱",
121
239
  primaryColor: "hsl(350, 40%, 65%)",
122
240
  category: "colorful"
123
241
  },
124
242
  {
125
243
  id: "citrus-green",
126
- name: "柑橘绿",
127
244
  icon: "🍋",
128
- description: "2026流行色 - 清新的柑橘绿,充满生机",
129
245
  primaryColor: "hsl(75, 70%, 50%)",
130
246
  category: "colorful"
131
247
  }
132
- ], Xr = {
133
- colorful: le.filter((e) => e.category === "colorful"),
134
- neutral: le.filter((e) => e.category === "neutral"),
135
- monochrome: le.filter((e) => e.category === "monochrome")
136
- }, nt = new Map(
137
- le.map((e) => [e.id, e])
248
+ ];
249
+ function ne() {
250
+ return Sn.map((e) => ({
251
+ ...e,
252
+ name: En(e.id),
253
+ description: wn(e.id)
254
+ }));
255
+ }
256
+ const mo = ne(), _o = {
257
+ get colorful() {
258
+ return ne().filter((e) => e.category === "colorful");
259
+ },
260
+ get neutral() {
261
+ return ne().filter((e) => e.category === "neutral");
262
+ },
263
+ get monochrome() {
264
+ return ne().filter((e) => e.category === "monochrome");
265
+ }
266
+ }, ct = new Map(
267
+ ne().map((e) => [e.id, e])
138
268
  );
139
- function V() {
269
+ function F() {
140
270
  return document.documentElement;
141
271
  }
142
- function un() {
272
+ function Nn() {
143
273
  if (typeof window > "u") return null;
144
- const e = localStorage.getItem(ne.MODE);
274
+ const e = localStorage.getItem(ae.MODE);
145
275
  return e === "dark" || e === "light" ? e : null;
146
276
  }
147
- function fn() {
277
+ function Tn() {
148
278
  if (typeof window > "u") return null;
149
- const e = localStorage.getItem(ne.VARIANT);
150
- return nt.has(e) ? e : null;
279
+ const e = localStorage.getItem(ae.VARIANT);
280
+ return ct.has(e) ? e : null;
151
281
  }
152
- function dn(e) {
153
- typeof window > "u" || localStorage.setItem(ne.MODE, e);
282
+ function Dn(e) {
283
+ typeof window > "u" || localStorage.setItem(ae.MODE, e);
154
284
  }
155
- function pn(e) {
156
- typeof window > "u" || localStorage.setItem(ne.VARIANT, e);
285
+ function Cn(e) {
286
+ typeof window > "u" || localStorage.setItem(ae.VARIANT, e);
157
287
  }
158
- function eo() {
159
- typeof window > "u" || (localStorage.removeItem(ne.MODE), localStorage.removeItem(ne.VARIANT));
288
+ function yo() {
289
+ typeof window > "u" || (localStorage.removeItem(ae.MODE), localStorage.removeItem(ae.VARIANT));
160
290
  }
161
- function hn(e) {
162
- const t = V();
163
- e === "dark" ? (t.classList.add(ae.DARK), t.classList.remove(ae.LIGHT)) : (t.classList.remove(ae.DARK), t.classList.add(ae.LIGHT)), t.setAttribute(xe.MODE, e);
291
+ function On(e) {
292
+ const t = F();
293
+ e === "dark" ? (t.classList.add(pe.DARK), t.classList.remove(pe.LIGHT)) : (t.classList.remove(pe.DARK), t.classList.add(pe.LIGHT)), t.setAttribute(Re.MODE, e);
164
294
  const n = localStorage.getItem("custom-theme-primary"), r = localStorage.getItem("custom-theme-active") === "true";
165
295
  n && r && setTimeout(() => {
166
- const o = Tt(n, e);
167
- rt(o, !1);
296
+ const o = It(n, e);
297
+ lt(o, !1);
168
298
  }, 0);
169
299
  }
170
- function mn(e) {
171
- const t = V();
172
- e === "default" || e === Me ? t.removeAttribute(xe.THEME) : t.setAttribute(xe.THEME, e), localStorage.getItem("custom-theme-primary") && (localStorage.setItem("custom-theme-active", "false"), [
300
+ function $n(e) {
301
+ const t = F();
302
+ e === "default" || e === Ie ? t.removeAttribute(Re.THEME) : t.setAttribute(Re.THEME, e), localStorage.getItem("custom-theme-primary") && (localStorage.setItem("custom-theme-active", "false"), [
173
303
  "primary",
174
304
  "primary-foreground",
175
305
  "secondary",
@@ -194,42 +324,42 @@ function mn(e) {
194
324
  t.style.removeProperty(`--${o}`);
195
325
  }));
196
326
  }
197
- function Nt() {
198
- return typeof window > "u" ? tt : V().classList.contains(ae.DARK) ? "dark" : "light";
327
+ function Vt() {
328
+ return typeof window > "u" ? at : F().classList.contains(pe.DARK) ? "dark" : "light";
199
329
  }
200
- function to() {
201
- return typeof window > "u" ? Me : V().getAttribute(xe.THEME) || Me;
330
+ function vo() {
331
+ return typeof window > "u" ? Ie : F().getAttribute(Re.THEME) || Ie;
202
332
  }
203
- function ue(e, t = {}) {
333
+ function he(e, t = {}) {
204
334
  const { mode: n, variant: r, persist: o = !0 } = e, { transition: s = !0 } = t;
205
- s && gn(), n && (hn(n), o && dn(n)), r && (mn(r), o && pn(r)), s && setTimeout(() => {
206
- _n();
207
- }, Ye);
335
+ s && Mn(), n && (On(n), o && Dn(n)), r && ($n(r), o && Cn(r)), s && setTimeout(() => {
336
+ xn();
337
+ }, Xe);
208
338
  }
209
- function gn() {
210
- V().style.setProperty("transition", `background-color ${Ye}ms ease, color ${Ye}ms ease`);
339
+ function Mn() {
340
+ F().style.setProperty("transition", `background-color ${Xe}ms ease, color ${Xe}ms ease`);
211
341
  }
212
- function _n() {
213
- V().style.removeProperty("transition");
342
+ function xn() {
343
+ F().style.removeProperty("transition");
214
344
  }
215
- function vn(e = {}) {
216
- const n = Nt() === "dark" ? "light" : "dark";
217
- return ue({ mode: n }, e), n;
345
+ function Vn(e = {}) {
346
+ const n = Vt() === "dark" ? "light" : "dark";
347
+ return he({ mode: n }, e), n;
218
348
  }
219
- function yn() {
220
- const e = un(), t = fn(), n = {
221
- mode: e || tt,
222
- variant: t || Me,
349
+ function In() {
350
+ const e = Nn(), t = Tn(), n = {
351
+ mode: e || at,
352
+ variant: t || Ie,
223
353
  persist: !0,
224
354
  enableTransition: !1
225
355
  // 初始化时不启用过渡
226
356
  };
227
- return ue(n, { transition: !1 }), n;
357
+ return he(n, { transition: !1 }), n;
228
358
  }
229
- function no() {
230
- return typeof window > "u" ? tt : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
359
+ function bo() {
360
+ return typeof window > "u" ? at : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
231
361
  }
232
- function En(e) {
362
+ function Rn(e) {
233
363
  if (typeof window > "u") return () => {
234
364
  };
235
365
  const t = window.matchMedia("(prefers-color-scheme: dark)"), n = (r) => {
@@ -239,13 +369,13 @@ function En(e) {
239
369
  t.removeEventListener("change", n);
240
370
  };
241
371
  }
242
- function wn() {
243
- return le;
372
+ function An() {
373
+ return ne();
244
374
  }
245
- function bn(e) {
246
- return nt.get(e);
375
+ function Fn(e) {
376
+ return ct.get(e);
247
377
  }
248
- function _t(e) {
378
+ function St(e) {
249
379
  const n = e.replace(/hsl\(|\)|%/g, "").trim().split(/[\s,]+/).map(Number);
250
380
  if (n.length < 3 || n[0] === void 0 || n[1] === void 0 || n[2] === void 0)
251
381
  return null;
@@ -256,40 +386,40 @@ function _t(e) {
256
386
  };
257
387
  return n[3] !== void 0 && (r.a = n[3]), r;
258
388
  }
259
- function ro(e) {
389
+ function Eo(e) {
260
390
  const { h: t, s: n, l: r, a: o } = e;
261
391
  return o !== void 0 && o !== 1 ? `hsla(${t}, ${n}%, ${r}%, ${o})` : `hsl(${t}, ${n}%, ${r}%)`;
262
392
  }
263
- function Sn(e) {
393
+ function We(e) {
264
394
  if (typeof window > "u") return "";
265
- const t = V();
395
+ const t = F();
266
396
  return getComputedStyle(t).getPropertyValue(`--${e}`).trim();
267
397
  }
268
- function oo(e, t) {
398
+ function wo(e, t) {
269
399
  if (typeof window > "u") return;
270
- V().style.setProperty(`--${e}`, t);
400
+ F().style.setProperty(`--${e}`, t);
271
401
  }
272
- function so(e) {
273
- const t = Sn(e);
402
+ function So(e) {
403
+ const t = We(e);
274
404
  return t && !t.startsWith("hsl") ? `hsl(${t})` : t;
275
405
  }
276
- function io(e) {
277
- return nt.has(e);
406
+ function No(e) {
407
+ return ct.has(e);
278
408
  }
279
- function co(e) {
409
+ function To(e) {
280
410
  return e === "light" || e === "dark";
281
411
  }
282
- function rt(e, t = !1) {
412
+ function lt(e, t = !1) {
283
413
  if (typeof window > "u") return;
284
- const n = V(), r = (o) => o.replace(/hsl\(|\)|%/g, "").trim();
414
+ const n = F(), r = (o) => o.replace(/hsl\(|\)|%/g, "").trim();
285
415
  Object.entries(e).forEach(([o, s]) => {
286
416
  if (s) {
287
- const i = o.replace(/([A-Z])/g, "-$1").toLowerCase(), c = r(s);
288
- n.style.setProperty(`--${i}`, c);
417
+ const i = o.replace(/([A-Z])/g, "-$1").toLowerCase(), a = r(s);
418
+ n.style.setProperty(`--${i}`, a);
289
419
  }
290
420
  }), t && localStorage.setItem("custom-theme-colors", JSON.stringify(e));
291
421
  }
292
- function Nn() {
422
+ function kn() {
293
423
  if (typeof window > "u") return null;
294
424
  const e = localStorage.getItem("custom-theme-colors");
295
425
  if (!e) return null;
@@ -299,9 +429,9 @@ function Nn() {
299
429
  return null;
300
430
  }
301
431
  }
302
- function ao() {
432
+ function Do() {
303
433
  if (typeof window > "u") return;
304
- const e = V();
434
+ const e = F();
305
435
  [
306
436
  "primary",
307
437
  "primaryForeground",
@@ -328,18 +458,18 @@ function ao() {
328
458
  e.style.removeProperty(`--${r}`);
329
459
  }), localStorage.removeItem("custom-theme-colors"), localStorage.removeItem("custom-theme-primary"), localStorage.removeItem("custom-theme-active");
330
460
  }
331
- function lo() {
332
- const e = Nn();
333
- return e ? (rt(e, !1), !0) : !1;
461
+ function Co() {
462
+ const e = kn();
463
+ return e ? (lt(e, !1), !0) : !1;
334
464
  }
335
- function Tn(e) {
465
+ function Hn(e) {
336
466
  e = e.replace("#", "");
337
467
  const t = Number.parseInt(e.substring(0, 2), 16) / 255, n = Number.parseInt(e.substring(2, 4), 16) / 255, r = Number.parseInt(e.substring(4, 6), 16) / 255, o = Math.max(t, n, r), s = Math.min(t, n, r);
338
- let i = 0, c = 0;
468
+ let i = 0, a = 0;
339
469
  const l = (o + s) / 2;
340
470
  if (o !== s) {
341
471
  const d = o - s;
342
- switch (c = l > 0.5 ? d / (2 - o - s) : d / (o + s), o) {
472
+ switch (a = l > 0.5 ? d / (2 - o - s) : d / (o + s), o) {
343
473
  case t:
344
474
  i = ((n - r) / d + (n < r ? 6 : 0)) / 6;
345
475
  break;
@@ -351,18 +481,18 @@ function Tn(e) {
351
481
  break;
352
482
  }
353
483
  }
354
- i = Math.round(i * 360), c = Math.round(c * 100);
484
+ i = Math.round(i * 360), a = Math.round(a * 100);
355
485
  const u = Math.round(l * 100);
356
- return `${i} ${c}% ${u}%`;
486
+ return `${i} ${a}% ${u}%`;
357
487
  }
358
- function uo(e, t, n) {
488
+ function Oo(e, t, n) {
359
489
  e /= 255, t /= 255, n /= 255;
360
490
  const r = Math.max(e, t, n), o = Math.min(e, t, n);
361
491
  let s = 0, i = 0;
362
- const c = (r + o) / 2;
492
+ const a = (r + o) / 2;
363
493
  if (r !== o) {
364
494
  const u = r - o;
365
- switch (i = c > 0.5 ? u / (2 - r - o) : u / (r + o), r) {
495
+ switch (i = a > 0.5 ? u / (2 - r - o) : u / (r + o), r) {
366
496
  case e:
367
497
  s = ((t - n) / u + (t < n ? 6 : 0)) / 6;
368
498
  break;
@@ -375,19 +505,19 @@ function uo(e, t, n) {
375
505
  }
376
506
  }
377
507
  s = Math.round(s * 360), i = Math.round(i * 100);
378
- const l = Math.round(c * 100);
508
+ const l = Math.round(a * 100);
379
509
  return `${s} ${i}% ${l}%`;
380
510
  }
381
- function Tt(e, t = "light") {
511
+ function It(e, t = "light") {
382
512
  let n;
383
513
  if (e.startsWith("#"))
384
- n = Tn(e);
514
+ n = Hn(e);
385
515
  else if (e.startsWith("hsl")) {
386
- const o = _t(e);
516
+ const o = St(e);
387
517
  n = o ? `${o.h} ${o.s}% ${o.l}%` : e;
388
518
  } else
389
519
  n = e;
390
- const r = _t(n);
520
+ const r = St(n);
391
521
  if (!r)
392
522
  throw new Error("Invalid color format");
393
523
  return t === "light" ? {
@@ -450,71 +580,188 @@ function Tt(e, t = "light") {
450
580
  menu: `${r.h} ${Math.max(5, r.s - 30)}% 12%`
451
581
  };
452
582
  }
453
- function fo(e, t, n = !1) {
454
- const r = t || Nt(), o = Tt(e, r);
455
- rt(o, n), localStorage.setItem("custom-theme-primary", e), localStorage.setItem("custom-theme-active", "true");
583
+ function $o(e, t, n = !1) {
584
+ const r = t || Vt(), o = It(e, r);
585
+ lt(o, n), localStorage.setItem("custom-theme-primary", e), localStorage.setItem("custom-theme-active", "true");
586
+ }
587
+ function y(e) {
588
+ const t = We(e);
589
+ return t ? `hsl(${t})` : "";
590
+ }
591
+ function Rt(e) {
592
+ const t = e.replace(/hsl\(|\)|%/g, "").trim(), [n, r, o] = t.split(/[\s,]+/).map(Number);
593
+ if (n === void 0 || r === void 0 || o === void 0)
594
+ return "rgb(0, 0, 0)";
595
+ const s = n / 360, i = r / 100, a = o / 100;
596
+ let l, u, d;
597
+ if (i === 0)
598
+ l = u = d = a;
599
+ else {
600
+ const c = (_, S, D) => (D < 0 && (D += 1), D > 1 && (D -= 1), D < 0.16666666666666666 ? _ + (S - _) * 6 * D : D < 0.5 ? S : D < 0.6666666666666666 ? _ + (S - _) * (0.6666666666666666 - D) * 6 : _), f = a < 0.5 ? a * (1 + i) : a + i - a * i, p = 2 * a - f;
601
+ l = c(p, f, s + 1 / 3), u = c(p, f, s), d = c(p, f, s - 1 / 3);
602
+ }
603
+ return `rgb(${Math.round(l * 255)}, ${Math.round(u * 255)}, ${Math.round(d * 255)})`;
604
+ }
605
+ function Pn(e) {
606
+ const n = Rt(e).match(/\d+/g);
607
+ if (!n || n.length < 3)
608
+ return "#000000";
609
+ const [r, o, s] = n.map(Number);
610
+ return "#" + [r, o, s].filter((i) => i !== void 0).map((i) => i.toString(16).padStart(2, "0")).join("");
611
+ }
612
+ function v(e) {
613
+ const t = We(e);
614
+ return t ? Rt(t) : "rgb(0, 0, 0)";
615
+ }
616
+ function b(e) {
617
+ const t = We(e);
618
+ return t ? Pn(t) : "#000000";
619
+ }
620
+ function Mo() {
621
+ return {
622
+ primary: y("primary"),
623
+ primaryForeground: y("primary-foreground"),
624
+ secondary: y("secondary"),
625
+ secondaryForeground: y("secondary-foreground"),
626
+ accent: y("accent"),
627
+ accentForeground: y("accent-foreground"),
628
+ muted: y("muted"),
629
+ mutedForeground: y("muted-foreground"),
630
+ destructive: y("destructive"),
631
+ destructiveForeground: y("destructive-foreground"),
632
+ success: y("success"),
633
+ successForeground: y("success-foreground"),
634
+ warning: y("warning"),
635
+ warningForeground: y("warning-foreground"),
636
+ info: y("info"),
637
+ infoForeground: y("info-foreground"),
638
+ background: y("background"),
639
+ backgroundDeep: y("background-deep"),
640
+ foreground: y("foreground"),
641
+ card: y("card"),
642
+ cardForeground: y("card-foreground"),
643
+ border: y("border"),
644
+ input: y("input"),
645
+ ring: y("ring")
646
+ };
647
+ }
648
+ function xo() {
649
+ return {
650
+ primary: v("primary"),
651
+ primaryForeground: v("primary-foreground"),
652
+ secondary: v("secondary"),
653
+ secondaryForeground: v("secondary-foreground"),
654
+ accent: v("accent"),
655
+ accentForeground: v("accent-foreground"),
656
+ muted: v("muted"),
657
+ mutedForeground: v("muted-foreground"),
658
+ destructive: v("destructive"),
659
+ destructiveForeground: v("destructive-foreground"),
660
+ success: v("success"),
661
+ successForeground: v("success-foreground"),
662
+ warning: v("warning"),
663
+ warningForeground: v("warning-foreground"),
664
+ info: v("info"),
665
+ infoForeground: v("info-foreground"),
666
+ background: v("background"),
667
+ backgroundDeep: v("background-deep"),
668
+ foreground: v("foreground"),
669
+ card: v("card"),
670
+ cardForeground: v("card-foreground"),
671
+ border: v("border"),
672
+ input: v("input"),
673
+ ring: v("ring")
674
+ };
675
+ }
676
+ function Vo() {
677
+ return {
678
+ primary: b("primary"),
679
+ primaryForeground: b("primary-foreground"),
680
+ secondary: b("secondary"),
681
+ secondaryForeground: b("secondary-foreground"),
682
+ accent: b("accent"),
683
+ accentForeground: b("accent-foreground"),
684
+ muted: b("muted"),
685
+ mutedForeground: b("muted-foreground"),
686
+ destructive: b("destructive"),
687
+ destructiveForeground: b("destructive-foreground"),
688
+ success: b("success"),
689
+ successForeground: b("success-foreground"),
690
+ warning: b("warning"),
691
+ warningForeground: b("warning-foreground"),
692
+ info: b("info"),
693
+ infoForeground: b("info-foreground"),
694
+ background: b("background"),
695
+ backgroundDeep: b("background-deep"),
696
+ foreground: b("foreground"),
697
+ card: b("card"),
698
+ cardForeground: b("card-foreground"),
699
+ border: b("border"),
700
+ input: b("input"),
701
+ ring: b("ring")
702
+ };
456
703
  }
457
704
  // @__NO_SIDE_EFFECTS__
458
- function On(e) {
705
+ function Ln(e) {
459
706
  const t = /* @__PURE__ */ Object.create(null);
460
707
  for (const n of e.split(",")) t[n] = 1;
461
708
  return (n) => n in t;
462
709
  }
463
- const pe = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
710
+ const _e = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
464
711
  process.env.NODE_ENV !== "production" && Object.freeze([]);
465
- const Z = () => {
466
- }, Dn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
467
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), W = Object.assign, $n = Object.prototype.hasOwnProperty, Be = (e, t) => $n.call(e, t), v = Array.isArray, X = (e) => He(e) === "[object Map]", Mn = (e) => He(e) === "[object Set]", w = (e) => typeof e == "function", A = (e) => typeof e == "string", Ee = (e) => typeof e == "symbol", S = (e) => e !== null && typeof e == "object", xn = (e) => (S(e) || w(e)) && w(e.then) && w(e.catch), Cn = Object.prototype.toString, He = (e) => Cn.call(e), Ot = (e) => He(e).slice(8, -1), Vn = (e) => He(e) === "[object Object]", ot = (e) => A(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Dt = (e) => {
712
+ const re = () => {
713
+ }, Wn = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
714
+ (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), B = Object.assign, Kn = Object.prototype.hasOwnProperty, et = (e, t) => Kn.call(e, t), E = Array.isArray, oe = (e) => Ke(e) === "[object Map]", jn = (e) => Ke(e) === "[object Set]", T = (e) => typeof e == "function", P = (e) => typeof e == "string", Ne = (e) => typeof e == "symbol", O = (e) => e !== null && typeof e == "object", Un = (e) => (O(e) || T(e)) && T(e.then) && T(e.catch), zn = Object.prototype.toString, Ke = (e) => zn.call(e), At = (e) => Ke(e).slice(8, -1), Bn = (e) => Ke(e) === "[object Object]", ut = (e) => P(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Ft = (e) => {
468
715
  const t = /* @__PURE__ */ Object.create(null);
469
716
  return ((n) => t[n] || (t[n] = e(n)));
470
- }, $t = Dt((e) => e.charAt(0).toUpperCase() + e.slice(1)), In = Dt(
471
- (e) => e ? `on${$t(e)}` : ""
472
- ), K = (e, t) => !Object.is(e, t);
473
- let vt;
474
- const Pe = () => vt || (vt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
475
- function st(e) {
476
- if (v(e)) {
717
+ }, kt = Ft((e) => e.charAt(0).toUpperCase() + e.slice(1)), Gn = Ft(
718
+ (e) => e ? `on${kt(e)}` : ""
719
+ ), z = (e, t) => !Object.is(e, t);
720
+ let Nt;
721
+ const je = () => Nt || (Nt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
722
+ function ft(e) {
723
+ if (E(e)) {
477
724
  const t = {};
478
725
  for (let n = 0; n < e.length; n++) {
479
- const r = e[n], o = A(r) ? Hn(r) : st(r);
726
+ const r = e[n], o = P(r) ? Qn(r) : ft(r);
480
727
  if (o)
481
728
  for (const s in o)
482
729
  t[s] = o[s];
483
730
  }
484
731
  return t;
485
- } else if (A(e) || S(e))
732
+ } else if (P(e) || O(e))
486
733
  return e;
487
734
  }
488
- const Rn = /;(?![^(]*\))/g, An = /:([^]+)/, kn = /\/\*[^]*?\*\//g;
489
- function Hn(e) {
735
+ const qn = /;(?![^(]*\))/g, Jn = /:([^]+)/, Yn = /\/\*[^]*?\*\//g;
736
+ function Qn(e) {
490
737
  const t = {};
491
- return e.replace(kn, "").split(Rn).forEach((n) => {
738
+ return e.replace(Yn, "").split(qn).forEach((n) => {
492
739
  if (n) {
493
- const r = n.split(An);
740
+ const r = n.split(Jn);
494
741
  r.length > 1 && (t[r[0].trim()] = r[1].trim());
495
742
  }
496
743
  }), t;
497
744
  }
498
- function it(e) {
745
+ function dt(e) {
499
746
  let t = "";
500
- if (A(e))
747
+ if (P(e))
501
748
  t = e;
502
- else if (v(e))
749
+ else if (E(e))
503
750
  for (let n = 0; n < e.length; n++) {
504
- const r = it(e[n]);
751
+ const r = dt(e[n]);
505
752
  r && (t += r + " ");
506
753
  }
507
- else if (S(e))
754
+ else if (O(e))
508
755
  for (const n in e)
509
756
  e[n] && (t += n + " ");
510
757
  return t.trim();
511
758
  }
512
- function x(e, ...t) {
759
+ function R(e, ...t) {
513
760
  console.warn(`[Vue warn] ${e}`, ...t);
514
761
  }
515
- let g;
516
- const Ke = /* @__PURE__ */ new WeakSet();
517
- class Pn {
762
+ let m;
763
+ const Be = /* @__PURE__ */ new WeakSet();
764
+ class Zn {
518
765
  constructor(t) {
519
766
  this.fn = t, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0;
520
767
  }
@@ -522,73 +769,73 @@ class Pn {
522
769
  this.flags |= 64;
523
770
  }
524
771
  resume() {
525
- this.flags & 64 && (this.flags &= -65, Ke.has(this) && (Ke.delete(this), this.trigger()));
772
+ this.flags & 64 && (this.flags &= -65, Be.has(this) && (Be.delete(this), this.trigger()));
526
773
  }
527
774
  /**
528
775
  * @internal
529
776
  */
530
777
  notify() {
531
- this.flags & 2 && !(this.flags & 32) || this.flags & 8 || xt(this);
778
+ this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Pt(this);
532
779
  }
533
780
  run() {
534
781
  if (!(this.flags & 1))
535
782
  return this.fn();
536
- this.flags |= 2, yt(this), Ct(this);
537
- const t = g, n = $;
538
- g = this, $ = !0;
783
+ this.flags |= 2, Tt(this), Lt(this);
784
+ const t = m, n = V;
785
+ m = this, V = !0;
539
786
  try {
540
787
  return this.fn();
541
788
  } finally {
542
- process.env.NODE_ENV !== "production" && g !== this && x(
789
+ process.env.NODE_ENV !== "production" && m !== this && R(
543
790
  "Active effect was not restored correctly - this is likely a Vue internal bug."
544
- ), Vt(this), g = t, $ = n, this.flags &= -3;
791
+ ), Wt(this), m = t, V = n, this.flags &= -3;
545
792
  }
546
793
  }
547
794
  stop() {
548
795
  if (this.flags & 1) {
549
796
  for (let t = this.deps; t; t = t.nextDep)
550
- lt(t);
551
- this.deps = this.depsTail = void 0, yt(this), this.onStop && this.onStop(), this.flags &= -2;
797
+ gt(t);
798
+ this.deps = this.depsTail = void 0, Tt(this), this.onStop && this.onStop(), this.flags &= -2;
552
799
  }
553
800
  }
554
801
  trigger() {
555
- this.flags & 64 ? Ke.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
802
+ this.flags & 64 ? Be.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
556
803
  }
557
804
  /**
558
805
  * @internal
559
806
  */
560
807
  runIfDirty() {
561
- qe(this) && this.run();
808
+ tt(this) && this.run();
562
809
  }
563
810
  get dirty() {
564
- return qe(this);
811
+ return tt(this);
565
812
  }
566
813
  }
567
- let Mt = 0, fe, de;
568
- function xt(e, t = !1) {
814
+ let Ht = 0, ge, me;
815
+ function Pt(e, t = !1) {
569
816
  if (e.flags |= 8, t) {
570
- e.next = de, de = e;
817
+ e.next = me, me = e;
571
818
  return;
572
819
  }
573
- e.next = fe, fe = e;
820
+ e.next = ge, ge = e;
574
821
  }
575
- function ct() {
576
- Mt++;
822
+ function pt() {
823
+ Ht++;
577
824
  }
578
- function at() {
579
- if (--Mt > 0)
825
+ function ht() {
826
+ if (--Ht > 0)
580
827
  return;
581
- if (de) {
582
- let t = de;
583
- for (de = void 0; t; ) {
828
+ if (me) {
829
+ let t = me;
830
+ for (me = void 0; t; ) {
584
831
  const n = t.next;
585
832
  t.next = void 0, t.flags &= -9, t = n;
586
833
  }
587
834
  }
588
835
  let e;
589
- for (; fe; ) {
590
- let t = fe;
591
- for (fe = void 0; t; ) {
836
+ for (; ge; ) {
837
+ let t = ge;
838
+ for (ge = void 0; t; ) {
592
839
  const n = t.next;
593
840
  if (t.next = void 0, t.flags &= -9, t.flags & 1)
594
841
  try {
@@ -601,114 +848,114 @@ function at() {
601
848
  }
602
849
  if (e) throw e;
603
850
  }
604
- function Ct(e) {
851
+ function Lt(e) {
605
852
  for (let t = e.deps; t; t = t.nextDep)
606
853
  t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
607
854
  }
608
- function Vt(e) {
855
+ function Wt(e) {
609
856
  let t, n = e.depsTail, r = n;
610
857
  for (; r; ) {
611
858
  const o = r.prevDep;
612
- r.version === -1 ? (r === n && (n = o), lt(r), Fn(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = o;
859
+ r.version === -1 ? (r === n && (n = o), gt(r), Xn(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = o;
613
860
  }
614
861
  e.deps = t, e.depsTail = n;
615
862
  }
616
- function qe(e) {
863
+ function tt(e) {
617
864
  for (let t = e.deps; t; t = t.nextDep)
618
- if (t.dep.version !== t.version || t.dep.computed && (It(t.dep.computed) || t.dep.version !== t.version))
865
+ if (t.dep.version !== t.version || t.dep.computed && (Kt(t.dep.computed) || t.dep.version !== t.version))
619
866
  return !0;
620
867
  return !!e._dirty;
621
868
  }
622
- function It(e) {
623
- if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === he) || (e.globalVersion = he, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !qe(e))))
869
+ function Kt(e) {
870
+ if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === ye) || (e.globalVersion = ye, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !tt(e))))
624
871
  return;
625
872
  e.flags |= 2;
626
- const t = e.dep, n = g, r = $;
627
- g = e, $ = !0;
873
+ const t = e.dep, n = m, r = V;
874
+ m = e, V = !0;
628
875
  try {
629
- Ct(e);
876
+ Lt(e);
630
877
  const o = e.fn(e._value);
631
- (t.version === 0 || K(o, e._value)) && (e.flags |= 128, e._value = o, t.version++);
878
+ (t.version === 0 || z(o, e._value)) && (e.flags |= 128, e._value = o, t.version++);
632
879
  } catch (o) {
633
880
  throw t.version++, o;
634
881
  } finally {
635
- g = n, $ = r, Vt(e), e.flags &= -3;
882
+ m = n, V = r, Wt(e), e.flags &= -3;
636
883
  }
637
884
  }
638
- function lt(e, t = !1) {
885
+ function gt(e, t = !1) {
639
886
  const { dep: n, prevSub: r, nextSub: o } = e;
640
887
  if (r && (r.nextSub = o, e.prevSub = void 0), o && (o.prevSub = r, e.nextSub = void 0), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = o), n.subs === e && (n.subs = r, !r && n.computed)) {
641
888
  n.computed.flags &= -5;
642
889
  for (let s = n.computed.deps; s; s = s.nextDep)
643
- lt(s, !0);
890
+ gt(s, !0);
644
891
  }
645
892
  !t && !--n.sc && n.map && n.map.delete(n.key);
646
893
  }
647
- function Fn(e) {
894
+ function Xn(e) {
648
895
  const { prevDep: t, nextDep: n } = e;
649
896
  t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
650
897
  }
651
- let $ = !0;
652
- const Rt = [];
653
- function re() {
654
- Rt.push($), $ = !1;
898
+ let V = !0;
899
+ const jt = [];
900
+ function ce() {
901
+ jt.push(V), V = !1;
655
902
  }
656
- function oe() {
657
- const e = Rt.pop();
658
- $ = e === void 0 ? !0 : e;
903
+ function le() {
904
+ const e = jt.pop();
905
+ V = e === void 0 ? !0 : e;
659
906
  }
660
- function yt(e) {
907
+ function Tt(e) {
661
908
  const { cleanup: t } = e;
662
909
  if (e.cleanup = void 0, t) {
663
- const n = g;
664
- g = void 0;
910
+ const n = m;
911
+ m = void 0;
665
912
  try {
666
913
  t();
667
914
  } finally {
668
- g = n;
915
+ m = n;
669
916
  }
670
917
  }
671
918
  }
672
- let he = 0;
673
- class Ln {
919
+ let ye = 0;
920
+ class er {
674
921
  constructor(t, n) {
675
922
  this.sub = t, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
676
923
  }
677
924
  }
678
- class ut {
925
+ class mt {
679
926
  // TODO isolatedDeclarations "__v_skip"
680
927
  constructor(t) {
681
928
  this.computed = t, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
682
929
  }
683
930
  track(t) {
684
- if (!g || !$ || g === this.computed)
931
+ if (!m || !V || m === this.computed)
685
932
  return;
686
933
  let n = this.activeLink;
687
- if (n === void 0 || n.sub !== g)
688
- n = this.activeLink = new Ln(g, this), g.deps ? (n.prevDep = g.depsTail, g.depsTail.nextDep = n, g.depsTail = n) : g.deps = g.depsTail = n, At(n);
934
+ if (n === void 0 || n.sub !== m)
935
+ n = this.activeLink = new er(m, this), m.deps ? (n.prevDep = m.depsTail, m.depsTail.nextDep = n, m.depsTail = n) : m.deps = m.depsTail = n, Ut(n);
689
936
  else if (n.version === -1 && (n.version = this.version, n.nextDep)) {
690
937
  const r = n.nextDep;
691
- r.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = r), n.prevDep = g.depsTail, n.nextDep = void 0, g.depsTail.nextDep = n, g.depsTail = n, g.deps === n && (g.deps = r);
938
+ r.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = r), n.prevDep = m.depsTail, n.nextDep = void 0, m.depsTail.nextDep = n, m.depsTail = n, m.deps === n && (m.deps = r);
692
939
  }
693
- return process.env.NODE_ENV !== "production" && g.onTrack && g.onTrack(
694
- W(
940
+ return process.env.NODE_ENV !== "production" && m.onTrack && m.onTrack(
941
+ B(
695
942
  {
696
- effect: g
943
+ effect: m
697
944
  },
698
945
  t
699
946
  )
700
947
  ), n;
701
948
  }
702
949
  trigger(t) {
703
- this.version++, he++, this.notify(t);
950
+ this.version++, ye++, this.notify(t);
704
951
  }
705
952
  notify(t) {
706
- ct();
953
+ pt();
707
954
  try {
708
955
  if (process.env.NODE_ENV !== "production")
709
956
  for (let n = this.subsHead; n; n = n.nextSub)
710
957
  n.sub.onTrigger && !(n.sub.flags & 8) && n.sub.onTrigger(
711
- W(
958
+ B(
712
959
  {
713
960
  effect: n.sub
714
961
  },
@@ -718,48 +965,48 @@ class ut {
718
965
  for (let n = this.subs; n; n = n.prevSub)
719
966
  n.sub.notify() && n.sub.dep.notify();
720
967
  } finally {
721
- at();
968
+ ht();
722
969
  }
723
970
  }
724
971
  }
725
- function At(e) {
972
+ function Ut(e) {
726
973
  if (e.dep.sc++, e.sub.flags & 4) {
727
974
  const t = e.dep.computed;
728
975
  if (t && !e.dep.subs) {
729
976
  t.flags |= 20;
730
977
  for (let r = t.deps; r; r = r.nextDep)
731
- At(r);
978
+ Ut(r);
732
979
  }
733
980
  const n = e.dep.subs;
734
981
  n !== e && (e.prevSub = n, n && (n.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
735
982
  }
736
983
  }
737
- const Ge = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ Symbol(
984
+ const nt = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ Symbol(
738
985
  process.env.NODE_ENV !== "production" ? "Object iterate" : ""
739
- ), Qe = /* @__PURE__ */ Symbol(
986
+ ), rt = /* @__PURE__ */ Symbol(
740
987
  process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
741
- ), me = /* @__PURE__ */ Symbol(
988
+ ), ve = /* @__PURE__ */ Symbol(
742
989
  process.env.NODE_ENV !== "production" ? "Array iterate" : ""
743
990
  );
744
- function b(e, t, n) {
745
- if ($ && g) {
746
- let r = Ge.get(e);
747
- r || Ge.set(e, r = /* @__PURE__ */ new Map());
991
+ function C(e, t, n) {
992
+ if (V && m) {
993
+ let r = nt.get(e);
994
+ r || nt.set(e, r = /* @__PURE__ */ new Map());
748
995
  let o = r.get(n);
749
- o || (r.set(n, o = new ut()), o.map = r, o.key = n), process.env.NODE_ENV !== "production" ? o.track({
996
+ o || (r.set(n, o = new mt()), o.map = r, o.key = n), process.env.NODE_ENV !== "production" ? o.track({
750
997
  target: e,
751
998
  type: t,
752
999
  key: n
753
1000
  }) : o.track();
754
1001
  }
755
1002
  }
756
- function F(e, t, n, r, o, s) {
757
- const i = Ge.get(e);
1003
+ function j(e, t, n, r, o, s) {
1004
+ const i = nt.get(e);
758
1005
  if (!i) {
759
- he++;
1006
+ ye++;
760
1007
  return;
761
1008
  }
762
- const c = (l) => {
1009
+ const a = (l) => {
763
1010
  l && (process.env.NODE_ENV !== "production" ? l.trigger({
764
1011
  target: e,
765
1012
  type: t,
@@ -769,202 +1016,202 @@ function F(e, t, n, r, o, s) {
769
1016
  oldTarget: s
770
1017
  }) : l.trigger());
771
1018
  };
772
- if (ct(), t === "clear")
773
- i.forEach(c);
1019
+ if (pt(), t === "clear")
1020
+ i.forEach(a);
774
1021
  else {
775
- const l = v(e), u = l && ot(n);
1022
+ const l = E(e), u = l && ut(n);
776
1023
  if (l && n === "length") {
777
1024
  const d = Number(r);
778
- i.forEach((a, f) => {
779
- (f === "length" || f === me || !Ee(f) && f >= d) && c(a);
1025
+ i.forEach((c, f) => {
1026
+ (f === "length" || f === ve || !Ne(f) && f >= d) && a(c);
780
1027
  });
781
1028
  } else
782
- switch ((n !== void 0 || i.has(void 0)) && c(i.get(n)), u && c(i.get(me)), t) {
1029
+ switch ((n !== void 0 || i.has(void 0)) && a(i.get(n)), u && a(i.get(ve)), t) {
783
1030
  case "add":
784
- l ? u && c(i.get("length")) : (c(i.get(z)), X(e) && c(i.get(Qe)));
1031
+ l ? u && a(i.get("length")) : (a(i.get(J)), oe(e) && a(i.get(rt)));
785
1032
  break;
786
1033
  case "delete":
787
- l || (c(i.get(z)), X(e) && c(i.get(Qe)));
1034
+ l || (a(i.get(J)), oe(e) && a(i.get(rt)));
788
1035
  break;
789
1036
  case "set":
790
- X(e) && c(i.get(z));
1037
+ oe(e) && a(i.get(J));
791
1038
  break;
792
1039
  }
793
1040
  }
794
- at();
1041
+ ht();
795
1042
  }
796
- function B(e) {
1043
+ function Z(e) {
797
1044
  const t = h(e);
798
- return t === e ? t : (b(t, "iterate", me), N(e) ? t : t.map(k));
1045
+ return t === e ? t : (C(t, "iterate", ve), $(e) ? t : t.map(L));
799
1046
  }
800
- function ft(e) {
801
- return b(e = h(e), "iterate", me), e;
1047
+ function _t(e) {
1048
+ return C(e = h(e), "iterate", ve), e;
802
1049
  }
803
- function H(e, t) {
804
- return C(e) ? ee(e) ? ge(k(t)) : ge(t) : k(t);
1050
+ function W(e, t) {
1051
+ return A(e) ? se(e) ? be(L(t)) : be(t) : L(t);
805
1052
  }
806
- const Kn = {
1053
+ const tr = {
807
1054
  __proto__: null,
808
1055
  [Symbol.iterator]() {
809
- return We(this, Symbol.iterator, (e) => H(this, e));
1056
+ return Ge(this, Symbol.iterator, (e) => W(this, e));
810
1057
  },
811
1058
  concat(...e) {
812
- return B(this).concat(
813
- ...e.map((t) => v(t) ? B(t) : t)
1059
+ return Z(this).concat(
1060
+ ...e.map((t) => E(t) ? Z(t) : t)
814
1061
  );
815
1062
  },
816
1063
  entries() {
817
- return We(this, "entries", (e) => (e[1] = H(this, e[1]), e));
1064
+ return Ge(this, "entries", (e) => (e[1] = W(this, e[1]), e));
818
1065
  },
819
1066
  every(e, t) {
820
- return I(this, "every", e, t, void 0, arguments);
1067
+ return k(this, "every", e, t, void 0, arguments);
821
1068
  },
822
1069
  filter(e, t) {
823
- return I(
1070
+ return k(
824
1071
  this,
825
1072
  "filter",
826
1073
  e,
827
1074
  t,
828
- (n) => n.map((r) => H(this, r)),
1075
+ (n) => n.map((r) => W(this, r)),
829
1076
  arguments
830
1077
  );
831
1078
  },
832
1079
  find(e, t) {
833
- return I(
1080
+ return k(
834
1081
  this,
835
1082
  "find",
836
1083
  e,
837
1084
  t,
838
- (n) => H(this, n),
1085
+ (n) => W(this, n),
839
1086
  arguments
840
1087
  );
841
1088
  },
842
1089
  findIndex(e, t) {
843
- return I(this, "findIndex", e, t, void 0, arguments);
1090
+ return k(this, "findIndex", e, t, void 0, arguments);
844
1091
  },
845
1092
  findLast(e, t) {
846
- return I(
1093
+ return k(
847
1094
  this,
848
1095
  "findLast",
849
1096
  e,
850
1097
  t,
851
- (n) => H(this, n),
1098
+ (n) => W(this, n),
852
1099
  arguments
853
1100
  );
854
1101
  },
855
1102
  findLastIndex(e, t) {
856
- return I(this, "findLastIndex", e, t, void 0, arguments);
1103
+ return k(this, "findLastIndex", e, t, void 0, arguments);
857
1104
  },
858
1105
  // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
859
1106
  forEach(e, t) {
860
- return I(this, "forEach", e, t, void 0, arguments);
1107
+ return k(this, "forEach", e, t, void 0, arguments);
861
1108
  },
862
1109
  includes(...e) {
863
- return je(this, "includes", e);
1110
+ return qe(this, "includes", e);
864
1111
  },
865
1112
  indexOf(...e) {
866
- return je(this, "indexOf", e);
1113
+ return qe(this, "indexOf", e);
867
1114
  },
868
1115
  join(e) {
869
- return B(this).join(e);
1116
+ return Z(this).join(e);
870
1117
  },
871
1118
  // keys() iterator only reads `length`, no optimization required
872
1119
  lastIndexOf(...e) {
873
- return je(this, "lastIndexOf", e);
1120
+ return qe(this, "lastIndexOf", e);
874
1121
  },
875
1122
  map(e, t) {
876
- return I(this, "map", e, t, void 0, arguments);
1123
+ return k(this, "map", e, t, void 0, arguments);
877
1124
  },
878
1125
  pop() {
879
- return ce(this, "pop");
1126
+ return de(this, "pop");
880
1127
  },
881
1128
  push(...e) {
882
- return ce(this, "push", e);
1129
+ return de(this, "push", e);
883
1130
  },
884
1131
  reduce(e, ...t) {
885
- return Et(this, "reduce", e, t);
1132
+ return Dt(this, "reduce", e, t);
886
1133
  },
887
1134
  reduceRight(e, ...t) {
888
- return Et(this, "reduceRight", e, t);
1135
+ return Dt(this, "reduceRight", e, t);
889
1136
  },
890
1137
  shift() {
891
- return ce(this, "shift");
1138
+ return de(this, "shift");
892
1139
  },
893
1140
  // slice could use ARRAY_ITERATE but also seems to beg for range tracking
894
1141
  some(e, t) {
895
- return I(this, "some", e, t, void 0, arguments);
1142
+ return k(this, "some", e, t, void 0, arguments);
896
1143
  },
897
1144
  splice(...e) {
898
- return ce(this, "splice", e);
1145
+ return de(this, "splice", e);
899
1146
  },
900
1147
  toReversed() {
901
- return B(this).toReversed();
1148
+ return Z(this).toReversed();
902
1149
  },
903
1150
  toSorted(e) {
904
- return B(this).toSorted(e);
1151
+ return Z(this).toSorted(e);
905
1152
  },
906
1153
  toSpliced(...e) {
907
- return B(this).toSpliced(...e);
1154
+ return Z(this).toSpliced(...e);
908
1155
  },
909
1156
  unshift(...e) {
910
- return ce(this, "unshift", e);
1157
+ return de(this, "unshift", e);
911
1158
  },
912
1159
  values() {
913
- return We(this, "values", (e) => H(this, e));
1160
+ return Ge(this, "values", (e) => W(this, e));
914
1161
  }
915
1162
  };
916
- function We(e, t, n) {
917
- const r = ft(e), o = r[t]();
918
- return r !== e && !N(e) && (o._next = o.next, o.next = () => {
1163
+ function Ge(e, t, n) {
1164
+ const r = _t(e), o = r[t]();
1165
+ return r !== e && !$(e) && (o._next = o.next, o.next = () => {
919
1166
  const s = o._next();
920
1167
  return s.done || (s.value = n(s.value)), s;
921
1168
  }), o;
922
1169
  }
923
- const Wn = Array.prototype;
924
- function I(e, t, n, r, o, s) {
925
- const i = ft(e), c = i !== e && !N(e), l = i[t];
926
- if (l !== Wn[t]) {
927
- const a = l.apply(e, s);
928
- return c ? k(a) : a;
1170
+ const nr = Array.prototype;
1171
+ function k(e, t, n, r, o, s) {
1172
+ const i = _t(e), a = i !== e && !$(e), l = i[t];
1173
+ if (l !== nr[t]) {
1174
+ const c = l.apply(e, s);
1175
+ return a ? L(c) : c;
929
1176
  }
930
1177
  let u = n;
931
- i !== e && (c ? u = function(a, f) {
932
- return n.call(this, H(e, a), f, e);
933
- } : n.length > 2 && (u = function(a, f) {
934
- return n.call(this, a, f, e);
1178
+ i !== e && (a ? u = function(c, f) {
1179
+ return n.call(this, W(e, c), f, e);
1180
+ } : n.length > 2 && (u = function(c, f) {
1181
+ return n.call(this, c, f, e);
935
1182
  }));
936
1183
  const d = l.call(i, u, r);
937
- return c && o ? o(d) : d;
1184
+ return a && o ? o(d) : d;
938
1185
  }
939
- function Et(e, t, n, r) {
940
- const o = ft(e);
1186
+ function Dt(e, t, n, r) {
1187
+ const o = _t(e);
941
1188
  let s = n;
942
- return o !== e && (N(e) ? n.length > 3 && (s = function(i, c, l) {
943
- return n.call(this, i, c, l, e);
944
- }) : s = function(i, c, l) {
945
- return n.call(this, i, H(e, c), l, e);
1189
+ return o !== e && ($(e) ? n.length > 3 && (s = function(i, a, l) {
1190
+ return n.call(this, i, a, l, e);
1191
+ }) : s = function(i, a, l) {
1192
+ return n.call(this, i, W(e, a), l, e);
946
1193
  }), o[t](s, ...r);
947
1194
  }
948
- function je(e, t, n) {
1195
+ function qe(e, t, n) {
949
1196
  const r = h(e);
950
- b(r, "iterate", me);
1197
+ C(r, "iterate", ve);
951
1198
  const o = r[t](...n);
952
- return (o === -1 || o === !1) && Ve(n[0]) ? (n[0] = h(n[0]), r[t](...n)) : o;
1199
+ return (o === -1 || o === !1) && Fe(n[0]) ? (n[0] = h(n[0]), r[t](...n)) : o;
953
1200
  }
954
- function ce(e, t, n = []) {
955
- re(), ct();
1201
+ function de(e, t, n = []) {
1202
+ ce(), pt();
956
1203
  const r = h(e)[t].apply(e, n);
957
- return at(), oe(), r;
1204
+ return ht(), le(), r;
958
1205
  }
959
- const jn = /* @__PURE__ */ On("__proto__,__v_isRef,__isVue"), kt = new Set(
960
- /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ee)
1206
+ const rr = /* @__PURE__ */ Ln("__proto__,__v_isRef,__isVue"), zt = new Set(
1207
+ /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ne)
961
1208
  );
962
- function Un(e) {
963
- Ee(e) || (e = String(e));
1209
+ function or(e) {
1210
+ Ne(e) || (e = String(e));
964
1211
  const t = h(this);
965
- return b(t, "has", e), t.hasOwnProperty(e);
1212
+ return C(t, "has", e), t.hasOwnProperty(e);
966
1213
  }
967
- class Ht {
1214
+ class Bt {
968
1215
  constructor(t = !1, n = !1) {
969
1216
  this._isReadonly = t, this._isShallow = n;
970
1217
  }
@@ -978,104 +1225,104 @@ class Ht {
978
1225
  if (n === "__v_isShallow")
979
1226
  return s;
980
1227
  if (n === "__v_raw")
981
- return r === (o ? s ? er : Lt : s ? Xn : Ft).get(t) || // receiver is not the reactive proxy, but has the same prototype
1228
+ return r === (o ? s ? hr : Jt : s ? pr : qt).get(t) || // receiver is not the reactive proxy, but has the same prototype
982
1229
  // this means the receiver is a user proxy of the reactive proxy
983
1230
  Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
984
- const i = v(t);
1231
+ const i = E(t);
985
1232
  if (!o) {
986
1233
  let l;
987
- if (i && (l = Kn[n]))
1234
+ if (i && (l = tr[n]))
988
1235
  return l;
989
1236
  if (n === "hasOwnProperty")
990
- return Un;
1237
+ return or;
991
1238
  }
992
- const c = Reflect.get(
1239
+ const a = Reflect.get(
993
1240
  t,
994
1241
  n,
995
1242
  // if this is a proxy wrapping a ref, return methods using the raw ref
996
1243
  // as receiver so that we don't have to call `toRaw` on the ref in all
997
1244
  // its class methods
998
- D(t) ? t : r
1245
+ x(t) ? t : r
999
1246
  );
1000
- if ((Ee(n) ? kt.has(n) : jn(n)) || (o || b(t, "get", n), s))
1001
- return c;
1002
- if (D(c)) {
1003
- const l = i && ot(n) ? c : c.value;
1004
- return o && S(l) ? Ce(l) : l;
1247
+ if ((Ne(n) ? zt.has(n) : rr(n)) || (o || C(t, "get", n), s))
1248
+ return a;
1249
+ if (x(a)) {
1250
+ const l = i && ut(n) ? a : a.value;
1251
+ return o && O(l) ? Ae(l) : l;
1005
1252
  }
1006
- return S(c) ? o ? Ce(c) : Kt(c) : c;
1253
+ return O(a) ? o ? Ae(a) : Yt(a) : a;
1007
1254
  }
1008
1255
  }
1009
- class zn extends Ht {
1256
+ class sr extends Bt {
1010
1257
  constructor(t = !1) {
1011
1258
  super(!1, t);
1012
1259
  }
1013
1260
  set(t, n, r, o) {
1014
1261
  let s = t[n];
1015
- const i = v(t) && ot(n);
1262
+ const i = E(t) && ut(n);
1016
1263
  if (!this._isShallow) {
1017
- const u = C(s);
1018
- if (!N(r) && !C(r) && (s = h(s), r = h(r)), !i && D(s) && !D(r))
1019
- return u ? (process.env.NODE_ENV !== "production" && x(
1264
+ const u = A(s);
1265
+ if (!$(r) && !A(r) && (s = h(s), r = h(r)), !i && x(s) && !x(r))
1266
+ return u ? (process.env.NODE_ENV !== "production" && R(
1020
1267
  `Set operation on key "${String(n)}" failed: target is readonly.`,
1021
1268
  t[n]
1022
1269
  ), !0) : (s.value = r, !0);
1023
1270
  }
1024
- const c = i ? Number(n) < t.length : Be(t, n), l = Reflect.set(
1271
+ const a = i ? Number(n) < t.length : et(t, n), l = Reflect.set(
1025
1272
  t,
1026
1273
  n,
1027
1274
  r,
1028
- D(t) ? t : o
1275
+ x(t) ? t : o
1029
1276
  );
1030
- return t === h(o) && (c ? K(r, s) && F(t, "set", n, r, s) : F(t, "add", n, r)), l;
1277
+ return t === h(o) && (a ? z(r, s) && j(t, "set", n, r, s) : j(t, "add", n, r)), l;
1031
1278
  }
1032
1279
  deleteProperty(t, n) {
1033
- const r = Be(t, n), o = t[n], s = Reflect.deleteProperty(t, n);
1034
- return s && r && F(t, "delete", n, void 0, o), s;
1280
+ const r = et(t, n), o = t[n], s = Reflect.deleteProperty(t, n);
1281
+ return s && r && j(t, "delete", n, void 0, o), s;
1035
1282
  }
1036
1283
  has(t, n) {
1037
1284
  const r = Reflect.has(t, n);
1038
- return (!Ee(n) || !kt.has(n)) && b(t, "has", n), r;
1285
+ return (!Ne(n) || !zt.has(n)) && C(t, "has", n), r;
1039
1286
  }
1040
1287
  ownKeys(t) {
1041
- return b(
1288
+ return C(
1042
1289
  t,
1043
1290
  "iterate",
1044
- v(t) ? "length" : z
1291
+ E(t) ? "length" : J
1045
1292
  ), Reflect.ownKeys(t);
1046
1293
  }
1047
1294
  }
1048
- class Jn extends Ht {
1295
+ class ir extends Bt {
1049
1296
  constructor(t = !1) {
1050
1297
  super(!0, t);
1051
1298
  }
1052
1299
  set(t, n) {
1053
- return process.env.NODE_ENV !== "production" && x(
1300
+ return process.env.NODE_ENV !== "production" && R(
1054
1301
  `Set operation on key "${String(n)}" failed: target is readonly.`,
1055
1302
  t
1056
1303
  ), !0;
1057
1304
  }
1058
1305
  deleteProperty(t, n) {
1059
- return process.env.NODE_ENV !== "production" && x(
1306
+ return process.env.NODE_ENV !== "production" && R(
1060
1307
  `Delete operation on key "${String(n)}" failed: target is readonly.`,
1061
1308
  t
1062
1309
  ), !0;
1063
1310
  }
1064
1311
  }
1065
- const Yn = /* @__PURE__ */ new zn(), Bn = /* @__PURE__ */ new Jn(), Ze = (e) => e, Se = (e) => Reflect.getPrototypeOf(e);
1066
- function qn(e, t, n) {
1312
+ const ar = /* @__PURE__ */ new sr(), cr = /* @__PURE__ */ new ir(), ot = (e) => e, De = (e) => Reflect.getPrototypeOf(e);
1313
+ function lr(e, t, n) {
1067
1314
  return function(...r) {
1068
- const o = this.__v_raw, s = h(o), i = X(s), c = e === "entries" || e === Symbol.iterator && i, l = e === "keys" && i, u = o[e](...r), d = n ? Ze : t ? ge : k;
1069
- return !t && b(
1315
+ const o = this.__v_raw, s = h(o), i = oe(s), a = e === "entries" || e === Symbol.iterator && i, l = e === "keys" && i, u = o[e](...r), d = n ? ot : t ? be : L;
1316
+ return !t && C(
1070
1317
  s,
1071
1318
  "iterate",
1072
- l ? Qe : z
1319
+ l ? rt : J
1073
1320
  ), {
1074
1321
  // iterator protocol
1075
1322
  next() {
1076
- const { value: a, done: f } = u.next();
1077
- return f ? { value: a, done: f } : {
1078
- value: c ? [d(a[0]), d(a[1])] : d(a),
1323
+ const { value: c, done: f } = u.next();
1324
+ return f ? { value: c, done: f } : {
1325
+ value: a ? [d(c[0]), d(c[1])] : d(c),
1079
1326
  done: f
1080
1327
  };
1081
1328
  },
@@ -1086,80 +1333,80 @@ function qn(e, t, n) {
1086
1333
  };
1087
1334
  };
1088
1335
  }
1089
- function Ne(e) {
1336
+ function Ce(e) {
1090
1337
  return function(...t) {
1091
1338
  if (process.env.NODE_ENV !== "production") {
1092
1339
  const n = t[0] ? `on key "${t[0]}" ` : "";
1093
- x(
1094
- `${$t(e)} operation ${n}failed: target is readonly.`,
1340
+ R(
1341
+ `${kt(e)} operation ${n}failed: target is readonly.`,
1095
1342
  h(this)
1096
1343
  );
1097
1344
  }
1098
1345
  return e === "delete" ? !1 : e === "clear" ? void 0 : this;
1099
1346
  };
1100
1347
  }
1101
- function Gn(e, t) {
1348
+ function ur(e, t) {
1102
1349
  const n = {
1103
1350
  get(o) {
1104
- const s = this.__v_raw, i = h(s), c = h(o);
1105
- e || (K(o, c) && b(i, "get", o), b(i, "get", c));
1106
- const { has: l } = Se(i), u = t ? Ze : e ? ge : k;
1351
+ const s = this.__v_raw, i = h(s), a = h(o);
1352
+ e || (z(o, a) && C(i, "get", o), C(i, "get", a));
1353
+ const { has: l } = De(i), u = t ? ot : e ? be : L;
1107
1354
  if (l.call(i, o))
1108
1355
  return u(s.get(o));
1109
- if (l.call(i, c))
1110
- return u(s.get(c));
1356
+ if (l.call(i, a))
1357
+ return u(s.get(a));
1111
1358
  s !== i && s.get(o);
1112
1359
  },
1113
1360
  get size() {
1114
1361
  const o = this.__v_raw;
1115
- return !e && b(h(o), "iterate", z), o.size;
1362
+ return !e && C(h(o), "iterate", J), o.size;
1116
1363
  },
1117
1364
  has(o) {
1118
- const s = this.__v_raw, i = h(s), c = h(o);
1119
- return e || (K(o, c) && b(i, "has", o), b(i, "has", c)), o === c ? s.has(o) : s.has(o) || s.has(c);
1365
+ const s = this.__v_raw, i = h(s), a = h(o);
1366
+ return e || (z(o, a) && C(i, "has", o), C(i, "has", a)), o === a ? s.has(o) : s.has(o) || s.has(a);
1120
1367
  },
1121
1368
  forEach(o, s) {
1122
- const i = this, c = i.__v_raw, l = h(c), u = t ? Ze : e ? ge : k;
1123
- return !e && b(l, "iterate", z), c.forEach((d, a) => o.call(s, u(d), u(a), i));
1369
+ const i = this, a = i.__v_raw, l = h(a), u = t ? ot : e ? be : L;
1370
+ return !e && C(l, "iterate", J), a.forEach((d, c) => o.call(s, u(d), u(c), i));
1124
1371
  }
1125
1372
  };
1126
- return W(
1373
+ return B(
1127
1374
  n,
1128
1375
  e ? {
1129
- add: Ne("add"),
1130
- set: Ne("set"),
1131
- delete: Ne("delete"),
1132
- clear: Ne("clear")
1376
+ add: Ce("add"),
1377
+ set: Ce("set"),
1378
+ delete: Ce("delete"),
1379
+ clear: Ce("clear")
1133
1380
  } : {
1134
1381
  add(o) {
1135
- !t && !N(o) && !C(o) && (o = h(o));
1382
+ !t && !$(o) && !A(o) && (o = h(o));
1136
1383
  const s = h(this);
1137
- return Se(s).has.call(s, o) || (s.add(o), F(s, "add", o, o)), this;
1384
+ return De(s).has.call(s, o) || (s.add(o), j(s, "add", o, o)), this;
1138
1385
  },
1139
1386
  set(o, s) {
1140
- !t && !N(s) && !C(s) && (s = h(s));
1141
- const i = h(this), { has: c, get: l } = Se(i);
1142
- let u = c.call(i, o);
1143
- u ? process.env.NODE_ENV !== "production" && wt(i, c, o) : (o = h(o), u = c.call(i, o));
1387
+ !t && !$(s) && !A(s) && (s = h(s));
1388
+ const i = h(this), { has: a, get: l } = De(i);
1389
+ let u = a.call(i, o);
1390
+ u ? process.env.NODE_ENV !== "production" && Ct(i, a, o) : (o = h(o), u = a.call(i, o));
1144
1391
  const d = l.call(i, o);
1145
- return i.set(o, s), u ? K(s, d) && F(i, "set", o, s, d) : F(i, "add", o, s), this;
1392
+ return i.set(o, s), u ? z(s, d) && j(i, "set", o, s, d) : j(i, "add", o, s), this;
1146
1393
  },
1147
1394
  delete(o) {
1148
- const s = h(this), { has: i, get: c } = Se(s);
1395
+ const s = h(this), { has: i, get: a } = De(s);
1149
1396
  let l = i.call(s, o);
1150
- l ? process.env.NODE_ENV !== "production" && wt(s, i, o) : (o = h(o), l = i.call(s, o));
1151
- const u = c ? c.call(s, o) : void 0, d = s.delete(o);
1152
- return l && F(s, "delete", o, void 0, u), d;
1397
+ l ? process.env.NODE_ENV !== "production" && Ct(s, i, o) : (o = h(o), l = i.call(s, o));
1398
+ const u = a ? a.call(s, o) : void 0, d = s.delete(o);
1399
+ return l && j(s, "delete", o, void 0, u), d;
1153
1400
  },
1154
1401
  clear() {
1155
- const o = h(this), s = o.size !== 0, i = process.env.NODE_ENV !== "production" ? X(o) ? new Map(o) : new Set(o) : void 0, c = o.clear();
1156
- return s && F(
1402
+ const o = h(this), s = o.size !== 0, i = process.env.NODE_ENV !== "production" ? oe(o) ? new Map(o) : new Set(o) : void 0, a = o.clear();
1403
+ return s && j(
1157
1404
  o,
1158
1405
  "clear",
1159
1406
  void 0,
1160
1407
  void 0,
1161
1408
  i
1162
- ), c;
1409
+ ), a;
1163
1410
  }
1164
1411
  }
1165
1412
  ), [
@@ -1168,33 +1415,33 @@ function Gn(e, t) {
1168
1415
  "entries",
1169
1416
  Symbol.iterator
1170
1417
  ].forEach((o) => {
1171
- n[o] = qn(o, e, t);
1418
+ n[o] = lr(o, e, t);
1172
1419
  }), n;
1173
1420
  }
1174
- function Pt(e, t) {
1175
- const n = Gn(e, t);
1421
+ function Gt(e, t) {
1422
+ const n = ur(e, t);
1176
1423
  return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
1177
- Be(n, o) && o in r ? n : r,
1424
+ et(n, o) && o in r ? n : r,
1178
1425
  o,
1179
1426
  s
1180
1427
  );
1181
1428
  }
1182
- const Qn = {
1183
- get: /* @__PURE__ */ Pt(!1, !1)
1184
- }, Zn = {
1185
- get: /* @__PURE__ */ Pt(!0, !1)
1429
+ const fr = {
1430
+ get: /* @__PURE__ */ Gt(!1, !1)
1431
+ }, dr = {
1432
+ get: /* @__PURE__ */ Gt(!0, !1)
1186
1433
  };
1187
- function wt(e, t, n) {
1434
+ function Ct(e, t, n) {
1188
1435
  const r = h(n);
1189
1436
  if (r !== n && t.call(e, r)) {
1190
- const o = Ot(e);
1191
- x(
1437
+ const o = At(e);
1438
+ R(
1192
1439
  `Reactive ${o} contains both the raw and reactive versions of the same object${o === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
1193
1440
  );
1194
1441
  }
1195
1442
  }
1196
- const Ft = /* @__PURE__ */ new WeakMap(), Xn = /* @__PURE__ */ new WeakMap(), Lt = /* @__PURE__ */ new WeakMap(), er = /* @__PURE__ */ new WeakMap();
1197
- function tr(e) {
1443
+ const qt = /* @__PURE__ */ new WeakMap(), pr = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), hr = /* @__PURE__ */ new WeakMap();
1444
+ function gr(e) {
1198
1445
  switch (e) {
1199
1446
  case "Object":
1200
1447
  case "Array":
@@ -1208,77 +1455,77 @@ function tr(e) {
1208
1455
  return 0;
1209
1456
  }
1210
1457
  }
1211
- function nr(e) {
1212
- return e.__v_skip || !Object.isExtensible(e) ? 0 : tr(Ot(e));
1458
+ function mr(e) {
1459
+ return e.__v_skip || !Object.isExtensible(e) ? 0 : gr(At(e));
1213
1460
  }
1214
- function Kt(e) {
1215
- return C(e) ? e : Wt(
1461
+ function Yt(e) {
1462
+ return A(e) ? e : Qt(
1216
1463
  e,
1217
1464
  !1,
1218
- Yn,
1219
- Qn,
1220
- Ft
1465
+ ar,
1466
+ fr,
1467
+ qt
1221
1468
  );
1222
1469
  }
1223
- function Ce(e) {
1224
- return Wt(
1470
+ function Ae(e) {
1471
+ return Qt(
1225
1472
  e,
1226
1473
  !0,
1227
- Bn,
1228
- Zn,
1229
- Lt
1474
+ cr,
1475
+ dr,
1476
+ Jt
1230
1477
  );
1231
1478
  }
1232
- function Wt(e, t, n, r, o) {
1233
- if (!S(e))
1234
- return process.env.NODE_ENV !== "production" && x(
1479
+ function Qt(e, t, n, r, o) {
1480
+ if (!O(e))
1481
+ return process.env.NODE_ENV !== "production" && R(
1235
1482
  `value cannot be made ${t ? "readonly" : "reactive"}: ${String(
1236
1483
  e
1237
1484
  )}`
1238
1485
  ), e;
1239
1486
  if (e.__v_raw && !(t && e.__v_isReactive))
1240
1487
  return e;
1241
- const s = nr(e);
1488
+ const s = mr(e);
1242
1489
  if (s === 0)
1243
1490
  return e;
1244
1491
  const i = o.get(e);
1245
1492
  if (i)
1246
1493
  return i;
1247
- const c = new Proxy(
1494
+ const a = new Proxy(
1248
1495
  e,
1249
1496
  s === 2 ? r : n
1250
1497
  );
1251
- return o.set(e, c), c;
1498
+ return o.set(e, a), a;
1252
1499
  }
1253
- function ee(e) {
1254
- return C(e) ? ee(e.__v_raw) : !!(e && e.__v_isReactive);
1500
+ function se(e) {
1501
+ return A(e) ? se(e.__v_raw) : !!(e && e.__v_isReactive);
1255
1502
  }
1256
- function C(e) {
1503
+ function A(e) {
1257
1504
  return !!(e && e.__v_isReadonly);
1258
1505
  }
1259
- function N(e) {
1506
+ function $(e) {
1260
1507
  return !!(e && e.__v_isShallow);
1261
1508
  }
1262
- function Ve(e) {
1509
+ function Fe(e) {
1263
1510
  return e ? !!e.__v_raw : !1;
1264
1511
  }
1265
1512
  function h(e) {
1266
1513
  const t = e && e.__v_raw;
1267
1514
  return t ? h(t) : e;
1268
1515
  }
1269
- const k = (e) => S(e) ? Kt(e) : e, ge = (e) => S(e) ? Ce(e) : e;
1270
- function D(e) {
1516
+ const L = (e) => O(e) ? Yt(e) : e, be = (e) => O(e) ? Ae(e) : e;
1517
+ function x(e) {
1271
1518
  return e ? e.__v_isRef === !0 : !1;
1272
1519
  }
1273
- function dt(e) {
1274
- return rr(e, !1);
1520
+ function yt(e) {
1521
+ return _r(e, !1);
1275
1522
  }
1276
- function rr(e, t) {
1277
- return D(e) ? e : new or(e, t);
1523
+ function _r(e, t) {
1524
+ return x(e) ? e : new yr(e, t);
1278
1525
  }
1279
- class or {
1526
+ class yr {
1280
1527
  constructor(t, n) {
1281
- this.dep = new ut(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : h(t), this._value = n ? t : k(t), this.__v_isShallow = n;
1528
+ this.dep = new mt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : h(t), this._value = n ? t : L(t), this.__v_isShallow = n;
1282
1529
  }
1283
1530
  get value() {
1284
1531
  return process.env.NODE_ENV !== "production" ? this.dep.track({
@@ -1288,8 +1535,8 @@ class or {
1288
1535
  }) : this.dep.track(), this._value;
1289
1536
  }
1290
1537
  set value(t) {
1291
- const n = this._rawValue, r = this.__v_isShallow || N(t) || C(t);
1292
- t = r ? t : h(t), K(t, n) && (this._rawValue = t, this._value = r ? t : k(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
1538
+ const n = this._rawValue, r = this.__v_isShallow || $(t) || A(t);
1539
+ t = r ? t : h(t), z(t, n) && (this._rawValue = t, this._value = r ? t : L(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
1293
1540
  target: this,
1294
1541
  type: "set",
1295
1542
  key: "value",
@@ -1298,17 +1545,17 @@ class or {
1298
1545
  }) : this.dep.trigger());
1299
1546
  }
1300
1547
  }
1301
- class sr {
1548
+ class vr {
1302
1549
  constructor(t, n, r) {
1303
- this.fn = t, this.setter = n, this._value = void 0, this.dep = new ut(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = he - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
1550
+ this.fn = t, this.setter = n, this._value = void 0, this.dep = new mt(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = ye - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
1304
1551
  }
1305
1552
  /**
1306
1553
  * @internal
1307
1554
  */
1308
1555
  notify() {
1309
1556
  if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
1310
- g !== this)
1311
- return xt(this, !0), !0;
1557
+ m !== this)
1558
+ return Pt(this, !0), !0;
1312
1559
  process.env.NODE_ENV;
1313
1560
  }
1314
1561
  get value() {
@@ -1317,158 +1564,158 @@ class sr {
1317
1564
  type: "get",
1318
1565
  key: "value"
1319
1566
  }) : this.dep.track();
1320
- return It(this), t && (t.version = this.dep.version), this._value;
1567
+ return Kt(this), t && (t.version = this.dep.version), this._value;
1321
1568
  }
1322
1569
  set value(t) {
1323
- this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && x("Write operation failed: computed value is readonly");
1570
+ this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && R("Write operation failed: computed value is readonly");
1324
1571
  }
1325
1572
  }
1326
- function ir(e, t, n = !1) {
1573
+ function br(e, t, n = !1) {
1327
1574
  let r, o;
1328
- w(e) ? r = e : (r = e.get, o = e.set);
1329
- const s = new sr(r, o, n);
1575
+ T(e) ? r = e : (r = e.get, o = e.set);
1576
+ const s = new vr(r, o, n);
1330
1577
  return process.env.NODE_ENV, s;
1331
1578
  }
1332
- const Te = {}, Ie = /* @__PURE__ */ new WeakMap();
1333
- let U;
1334
- function cr(e, t = !1, n = U) {
1579
+ const Oe = {}, ke = /* @__PURE__ */ new WeakMap();
1580
+ let q;
1581
+ function Er(e, t = !1, n = q) {
1335
1582
  if (n) {
1336
- let r = Ie.get(n);
1337
- r || Ie.set(n, r = []), r.push(e);
1338
- } else process.env.NODE_ENV !== "production" && !t && x(
1583
+ let r = ke.get(n);
1584
+ r || ke.set(n, r = []), r.push(e);
1585
+ } else process.env.NODE_ENV !== "production" && !t && R(
1339
1586
  "onWatcherCleanup() was called when there was no active watcher to associate with."
1340
1587
  );
1341
1588
  }
1342
- function ar(e, t, n = pe) {
1343
- const { immediate: r, deep: o, once: s, scheduler: i, augmentJob: c, call: l } = n, u = (m) => {
1344
- (n.onWarn || x)(
1589
+ function wr(e, t, n = _e) {
1590
+ const { immediate: r, deep: o, once: s, scheduler: i, augmentJob: a, call: l } = n, u = (g) => {
1591
+ (n.onWarn || R)(
1345
1592
  "Invalid watch source: ",
1346
- m,
1593
+ g,
1347
1594
  "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
1348
1595
  );
1349
- }, d = (m) => o ? m : N(m) || o === !1 || o === 0 ? L(m, 1) : L(m);
1350
- let a, f, p, _, T = !1, we = !1;
1351
- if (D(e) ? (f = () => e.value, T = N(e)) : ee(e) ? (f = () => d(e), T = !0) : v(e) ? (we = !0, T = e.some((m) => ee(m) || N(m)), f = () => e.map((m) => {
1352
- if (D(m))
1353
- return m.value;
1354
- if (ee(m))
1355
- return d(m);
1356
- if (w(m))
1357
- return l ? l(m, 2) : m();
1358
- process.env.NODE_ENV !== "production" && u(m);
1359
- })) : w(e) ? t ? f = l ? () => l(e, 2) : e : f = () => {
1596
+ }, d = (g) => o ? g : $(g) || o === !1 || o === 0 ? U(g, 1) : U(g);
1597
+ let c, f, p, _, S = !1, D = !1;
1598
+ if (x(e) ? (f = () => e.value, S = $(e)) : se(e) ? (f = () => d(e), S = !0) : E(e) ? (D = !0, S = e.some((g) => se(g) || $(g)), f = () => e.map((g) => {
1599
+ if (x(g))
1600
+ return g.value;
1601
+ if (se(g))
1602
+ return d(g);
1603
+ if (T(g))
1604
+ return l ? l(g, 2) : g();
1605
+ process.env.NODE_ENV !== "production" && u(g);
1606
+ })) : T(e) ? t ? f = l ? () => l(e, 2) : e : f = () => {
1360
1607
  if (p) {
1361
- re();
1608
+ ce();
1362
1609
  try {
1363
1610
  p();
1364
1611
  } finally {
1365
- oe();
1612
+ le();
1366
1613
  }
1367
1614
  }
1368
- const m = U;
1369
- U = a;
1615
+ const g = q;
1616
+ q = c;
1370
1617
  try {
1371
1618
  return l ? l(e, 3, [_]) : e(_);
1372
1619
  } finally {
1373
- U = m;
1620
+ q = g;
1374
1621
  }
1375
- } : (f = Z, process.env.NODE_ENV !== "production" && u(e)), t && o) {
1376
- const m = f, M = o === !0 ? 1 / 0 : o;
1377
- f = () => L(m(), M);
1622
+ } : (f = re, process.env.NODE_ENV !== "production" && u(e)), t && o) {
1623
+ const g = f, I = o === !0 ? 1 / 0 : o;
1624
+ f = () => U(g(), I);
1378
1625
  }
1379
- const Y = () => {
1380
- a.stop();
1626
+ const Q = () => {
1627
+ c.stop();
1381
1628
  };
1382
1629
  if (s && t) {
1383
- const m = t;
1384
- t = (...M) => {
1385
- m(...M), Y();
1630
+ const g = t;
1631
+ t = (...I) => {
1632
+ g(...I), Q();
1386
1633
  };
1387
1634
  }
1388
- let j = we ? new Array(e.length).fill(Te) : Te;
1389
- const ie = (m) => {
1390
- if (!(!(a.flags & 1) || !a.dirty && !m))
1635
+ let G = D ? new Array(e.length).fill(Oe) : Oe;
1636
+ const fe = (g) => {
1637
+ if (!(!(c.flags & 1) || !c.dirty && !g))
1391
1638
  if (t) {
1392
- const M = a.run();
1393
- if (o || T || (we ? M.some((Le, be) => K(Le, j[be])) : K(M, j))) {
1639
+ const I = c.run();
1640
+ if (o || S || (D ? I.some((ze, Te) => z(ze, G[Te])) : z(I, G))) {
1394
1641
  p && p();
1395
- const Le = U;
1396
- U = a;
1642
+ const ze = q;
1643
+ q = c;
1397
1644
  try {
1398
- const be = [
1399
- M,
1645
+ const Te = [
1646
+ I,
1400
1647
  // pass undefined as the old value when it's changed for the first time
1401
- j === Te ? void 0 : we && j[0] === Te ? [] : j,
1648
+ G === Oe ? void 0 : D && G[0] === Oe ? [] : G,
1402
1649
  _
1403
1650
  ];
1404
- j = M, l ? l(t, 3, be) : (
1651
+ G = I, l ? l(t, 3, Te) : (
1405
1652
  // @ts-expect-error
1406
- t(...be)
1653
+ t(...Te)
1407
1654
  );
1408
1655
  } finally {
1409
- U = Le;
1656
+ q = ze;
1410
1657
  }
1411
1658
  }
1412
1659
  } else
1413
- a.run();
1660
+ c.run();
1414
1661
  };
1415
- return c && c(ie), a = new Pn(f), a.scheduler = i ? () => i(ie, !1) : ie, _ = (m) => cr(m, !1, a), p = a.onStop = () => {
1416
- const m = Ie.get(a);
1417
- if (m) {
1662
+ return a && a(fe), c = new Zn(f), c.scheduler = i ? () => i(fe, !1) : fe, _ = (g) => Er(g, !1, c), p = c.onStop = () => {
1663
+ const g = ke.get(c);
1664
+ if (g) {
1418
1665
  if (l)
1419
- l(m, 4);
1666
+ l(g, 4);
1420
1667
  else
1421
- for (const M of m) M();
1422
- Ie.delete(a);
1668
+ for (const I of g) I();
1669
+ ke.delete(c);
1423
1670
  }
1424
- }, process.env.NODE_ENV !== "production" && (a.onTrack = n.onTrack, a.onTrigger = n.onTrigger), t ? r ? ie(!0) : j = a.run() : i ? i(ie.bind(null, !0), !0) : a.run(), Y.pause = a.pause.bind(a), Y.resume = a.resume.bind(a), Y.stop = Y, Y;
1671
+ }, process.env.NODE_ENV !== "production" && (c.onTrack = n.onTrack, c.onTrigger = n.onTrigger), t ? r ? fe(!0) : G = c.run() : i ? i(fe.bind(null, !0), !0) : c.run(), Q.pause = c.pause.bind(c), Q.resume = c.resume.bind(c), Q.stop = Q, Q;
1425
1672
  }
1426
- function L(e, t = 1 / 0, n) {
1427
- if (t <= 0 || !S(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Map(), (n.get(e) || 0) >= t))
1673
+ function U(e, t = 1 / 0, n) {
1674
+ if (t <= 0 || !O(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Map(), (n.get(e) || 0) >= t))
1428
1675
  return e;
1429
- if (n.set(e, t), t--, D(e))
1430
- L(e.value, t, n);
1431
- else if (v(e))
1676
+ if (n.set(e, t), t--, x(e))
1677
+ U(e.value, t, n);
1678
+ else if (E(e))
1432
1679
  for (let r = 0; r < e.length; r++)
1433
- L(e[r], t, n);
1434
- else if (Mn(e) || X(e))
1680
+ U(e[r], t, n);
1681
+ else if (jn(e) || oe(e))
1435
1682
  e.forEach((r) => {
1436
- L(r, t, n);
1683
+ U(r, t, n);
1437
1684
  });
1438
- else if (Vn(e)) {
1685
+ else if (Bn(e)) {
1439
1686
  for (const r in e)
1440
- L(e[r], t, n);
1687
+ U(e[r], t, n);
1441
1688
  for (const r of Object.getOwnPropertySymbols(e))
1442
- Object.prototype.propertyIsEnumerable.call(e, r) && L(e[r], t, n);
1689
+ Object.prototype.propertyIsEnumerable.call(e, r) && U(e[r], t, n);
1443
1690
  }
1444
1691
  return e;
1445
1692
  }
1446
- const J = [];
1447
- function lr(e) {
1448
- J.push(e);
1693
+ const Y = [];
1694
+ function Sr(e) {
1695
+ Y.push(e);
1449
1696
  }
1450
- function ur() {
1451
- J.pop();
1697
+ function Nr() {
1698
+ Y.pop();
1452
1699
  }
1453
- let Ue = !1;
1454
- function E(e, ...t) {
1455
- if (Ue) return;
1456
- Ue = !0, re();
1457
- const n = J.length ? J[J.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = fr();
1700
+ let Je = !1;
1701
+ function N(e, ...t) {
1702
+ if (Je) return;
1703
+ Je = !0, ce();
1704
+ const n = Y.length ? Y[Y.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = Tr();
1458
1705
  if (r)
1459
- Fe(
1706
+ Ue(
1460
1707
  r,
1461
1708
  n,
1462
1709
  11,
1463
1710
  [
1464
1711
  // eslint-disable-next-line no-restricted-syntax
1465
1712
  e + t.map((s) => {
1466
- var i, c;
1467
- return (c = (i = s.toString) == null ? void 0 : i.call(s)) != null ? c : JSON.stringify(s);
1713
+ var i, a;
1714
+ return (a = (i = s.toString) == null ? void 0 : i.call(s)) != null ? a : JSON.stringify(s);
1468
1715
  }).join(""),
1469
1716
  n && n.proxy,
1470
1717
  o.map(
1471
- ({ vnode: s }) => `at <${cn(n, s.type)}>`
1718
+ ({ vnode: s }) => `at <${mn(n, s.type)}>`
1472
1719
  ).join(`
1473
1720
  `),
1474
1721
  o
@@ -1477,12 +1724,12 @@ function E(e, ...t) {
1477
1724
  else {
1478
1725
  const s = [`[Vue warn]: ${e}`, ...t];
1479
1726
  o.length && s.push(`
1480
- `, ...dr(o)), console.warn(...s);
1727
+ `, ...Dr(o)), console.warn(...s);
1481
1728
  }
1482
- oe(), Ue = !1;
1729
+ le(), Je = !1;
1483
1730
  }
1484
- function fr() {
1485
- let e = J[J.length - 1];
1731
+ function Tr() {
1732
+ let e = Y[Y.length - 1];
1486
1733
  if (!e)
1487
1734
  return [];
1488
1735
  const t = [];
@@ -1497,31 +1744,31 @@ function fr() {
1497
1744
  }
1498
1745
  return t;
1499
1746
  }
1500
- function dr(e) {
1747
+ function Dr(e) {
1501
1748
  const t = [];
1502
1749
  return e.forEach((n, r) => {
1503
1750
  t.push(...r === 0 ? [] : [`
1504
- `], ...pr(n));
1751
+ `], ...Cr(n));
1505
1752
  }), t;
1506
1753
  }
1507
- function pr({ vnode: e, recurseCount: t }) {
1508
- const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${cn(
1754
+ function Cr({ vnode: e, recurseCount: t }) {
1755
+ const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${mn(
1509
1756
  e.component,
1510
1757
  e.type,
1511
1758
  r
1512
1759
  )}`, s = ">" + n;
1513
- return e.props ? [o, ...hr(e.props), s] : [o + s];
1760
+ return e.props ? [o, ...Or(e.props), s] : [o + s];
1514
1761
  }
1515
- function hr(e) {
1762
+ function Or(e) {
1516
1763
  const t = [], n = Object.keys(e);
1517
1764
  return n.slice(0, 3).forEach((r) => {
1518
- t.push(...jt(r, e[r]));
1765
+ t.push(...Zt(r, e[r]));
1519
1766
  }), n.length > 3 && t.push(" ..."), t;
1520
1767
  }
1521
- function jt(e, t, n) {
1522
- return A(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : D(t) ? (t = jt(e, h(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : w(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = h(t), n ? t : [`${e}=`, t]);
1768
+ function Zt(e, t, n) {
1769
+ return P(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : x(t) ? (t = Zt(e, h(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : T(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = h(t), n ? t : [`${e}=`, t]);
1523
1770
  }
1524
- const pt = {
1771
+ const vt = {
1525
1772
  sp: "serverPrefetch hook",
1526
1773
  bc: "beforeCreate hook",
1527
1774
  c: "created hook",
@@ -1554,58 +1801,58 @@ const pt = {
1554
1801
  15: "component update",
1555
1802
  16: "app unmount cleanup function"
1556
1803
  };
1557
- function Fe(e, t, n, r) {
1804
+ function Ue(e, t, n, r) {
1558
1805
  try {
1559
1806
  return r ? e(...r) : e();
1560
1807
  } catch (o) {
1561
- mt(o, t, n);
1808
+ Et(o, t, n);
1562
1809
  }
1563
1810
  }
1564
- function ht(e, t, n, r) {
1565
- if (w(e)) {
1566
- const o = Fe(e, t, n, r);
1567
- return o && xn(o) && o.catch((s) => {
1568
- mt(s, t, n);
1811
+ function bt(e, t, n, r) {
1812
+ if (T(e)) {
1813
+ const o = Ue(e, t, n, r);
1814
+ return o && Un(o) && o.catch((s) => {
1815
+ Et(s, t, n);
1569
1816
  }), o;
1570
1817
  }
1571
- if (v(e)) {
1818
+ if (E(e)) {
1572
1819
  const o = [];
1573
1820
  for (let s = 0; s < e.length; s++)
1574
- o.push(ht(e[s], t, n, r));
1821
+ o.push(bt(e[s], t, n, r));
1575
1822
  return o;
1576
- } else process.env.NODE_ENV !== "production" && E(
1823
+ } else process.env.NODE_ENV !== "production" && N(
1577
1824
  `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
1578
1825
  );
1579
1826
  }
1580
- function mt(e, t, n, r = !0) {
1581
- const o = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: i } = t && t.appContext.config || pe;
1827
+ function Et(e, t, n, r = !0) {
1828
+ const o = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: i } = t && t.appContext.config || _e;
1582
1829
  if (t) {
1583
- let c = t.parent;
1584
- const l = t.proxy, u = process.env.NODE_ENV !== "production" ? pt[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
1585
- for (; c; ) {
1586
- const d = c.ec;
1830
+ let a = t.parent;
1831
+ const l = t.proxy, u = process.env.NODE_ENV !== "production" ? vt[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
1832
+ for (; a; ) {
1833
+ const d = a.ec;
1587
1834
  if (d) {
1588
- for (let a = 0; a < d.length; a++)
1589
- if (d[a](e, l, u) === !1)
1835
+ for (let c = 0; c < d.length; c++)
1836
+ if (d[c](e, l, u) === !1)
1590
1837
  return;
1591
1838
  }
1592
- c = c.parent;
1839
+ a = a.parent;
1593
1840
  }
1594
1841
  if (s) {
1595
- re(), Fe(s, null, 10, [
1842
+ ce(), Ue(s, null, 10, [
1596
1843
  e,
1597
1844
  l,
1598
1845
  u
1599
- ]), oe();
1846
+ ]), le();
1600
1847
  return;
1601
1848
  }
1602
1849
  }
1603
- mr(e, n, o, r, i);
1850
+ $r(e, n, o, r, i);
1604
1851
  }
1605
- function mr(e, t, n, r = !0, o = !1) {
1852
+ function $r(e, t, n, r = !0, o = !1) {
1606
1853
  if (process.env.NODE_ENV !== "production") {
1607
- const s = pt[t];
1608
- if (n && lr(n), E(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && ur(), r)
1854
+ const s = vt[t];
1855
+ if (n && Sr(n), N(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Nr(), r)
1609
1856
  throw e;
1610
1857
  console.error(e);
1611
1858
  } else {
@@ -1614,61 +1861,61 @@ function mr(e, t, n, r = !0, o = !1) {
1614
1861
  console.error(e);
1615
1862
  }
1616
1863
  }
1617
- const O = [];
1618
- let R = -1;
1619
- const te = [];
1620
- let P = null, G = 0;
1621
- const gr = /* @__PURE__ */ Promise.resolve();
1622
- let Xe = null;
1623
- const _r = 100;
1624
- function vr(e) {
1625
- let t = R + 1, n = O.length;
1864
+ const M = [];
1865
+ let H = -1;
1866
+ const ie = [];
1867
+ let K = null, ee = 0;
1868
+ const Mr = /* @__PURE__ */ Promise.resolve();
1869
+ let st = null;
1870
+ const xr = 100;
1871
+ function Vr(e) {
1872
+ let t = H + 1, n = M.length;
1626
1873
  for (; t < n; ) {
1627
- const r = t + n >>> 1, o = O[r], s = _e(o);
1874
+ const r = t + n >>> 1, o = M[r], s = Ee(o);
1628
1875
  s < e || s === e && o.flags & 2 ? t = r + 1 : n = r;
1629
1876
  }
1630
1877
  return t;
1631
1878
  }
1632
- function Ut(e) {
1879
+ function Xt(e) {
1633
1880
  if (!(e.flags & 1)) {
1634
- const t = _e(e), n = O[O.length - 1];
1881
+ const t = Ee(e), n = M[M.length - 1];
1635
1882
  !n || // fast path when the job id is larger than the tail
1636
- !(e.flags & 2) && t >= _e(n) ? O.push(e) : O.splice(vr(t), 0, e), e.flags |= 1, zt();
1883
+ !(e.flags & 2) && t >= Ee(n) ? M.push(e) : M.splice(Vr(t), 0, e), e.flags |= 1, en();
1637
1884
  }
1638
1885
  }
1639
- function zt() {
1640
- Xe || (Xe = gr.then(Yt));
1886
+ function en() {
1887
+ st || (st = Mr.then(nn));
1641
1888
  }
1642
- function Jt(e) {
1643
- v(e) ? te.push(...e) : P && e.id === -1 ? P.splice(G + 1, 0, e) : e.flags & 1 || (te.push(e), e.flags |= 1), zt();
1889
+ function tn(e) {
1890
+ E(e) ? ie.push(...e) : K && e.id === -1 ? K.splice(ee + 1, 0, e) : e.flags & 1 || (ie.push(e), e.flags |= 1), en();
1644
1891
  }
1645
- function yr(e) {
1646
- if (te.length) {
1647
- const t = [...new Set(te)].sort(
1648
- (n, r) => _e(n) - _e(r)
1892
+ function Ir(e) {
1893
+ if (ie.length) {
1894
+ const t = [...new Set(ie)].sort(
1895
+ (n, r) => Ee(n) - Ee(r)
1649
1896
  );
1650
- if (te.length = 0, P) {
1651
- P.push(...t);
1897
+ if (ie.length = 0, K) {
1898
+ K.push(...t);
1652
1899
  return;
1653
1900
  }
1654
- for (P = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), G = 0; G < P.length; G++) {
1655
- const n = P[G];
1656
- process.env.NODE_ENV !== "production" && Bt(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
1901
+ for (K = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), ee = 0; ee < K.length; ee++) {
1902
+ const n = K[ee];
1903
+ process.env.NODE_ENV !== "production" && rn(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
1657
1904
  }
1658
- P = null, G = 0;
1905
+ K = null, ee = 0;
1659
1906
  }
1660
1907
  }
1661
- const _e = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
1662
- function Yt(e) {
1908
+ const Ee = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
1909
+ function nn(e) {
1663
1910
  process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
1664
- const t = process.env.NODE_ENV !== "production" ? (n) => Bt(e, n) : Z;
1911
+ const t = process.env.NODE_ENV !== "production" ? (n) => rn(e, n) : re;
1665
1912
  try {
1666
- for (R = 0; R < O.length; R++) {
1667
- const n = O[R];
1913
+ for (H = 0; H < M.length; H++) {
1914
+ const n = M[H];
1668
1915
  if (n && !(n.flags & 8)) {
1669
1916
  if (process.env.NODE_ENV !== "production" && t(n))
1670
1917
  continue;
1671
- n.flags & 4 && (n.flags &= -2), Fe(
1918
+ n.flags & 4 && (n.flags &= -2), Ue(
1672
1919
  n,
1673
1920
  n.i,
1674
1921
  n.i ? 15 : 14
@@ -1676,18 +1923,18 @@ function Yt(e) {
1676
1923
  }
1677
1924
  }
1678
1925
  } finally {
1679
- for (; R < O.length; R++) {
1680
- const n = O[R];
1926
+ for (; H < M.length; H++) {
1927
+ const n = M[H];
1681
1928
  n && (n.flags &= -2);
1682
1929
  }
1683
- R = -1, O.length = 0, yr(e), Xe = null, (O.length || te.length) && Yt(e);
1930
+ H = -1, M.length = 0, Ir(e), st = null, (M.length || ie.length) && nn(e);
1684
1931
  }
1685
1932
  }
1686
- function Bt(e, t) {
1933
+ function rn(e, t) {
1687
1934
  const n = e.get(t) || 0;
1688
- if (n > _r) {
1689
- const r = t.i, o = r && sn(r.type);
1690
- return mt(
1935
+ if (n > xr) {
1936
+ const r = t.i, o = r && gn(r.type);
1937
+ return Et(
1691
1938
  `Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
1692
1939
  null,
1693
1940
  10
@@ -1695,52 +1942,52 @@ function Bt(e, t) {
1695
1942
  }
1696
1943
  return e.set(t, n + 1), !1;
1697
1944
  }
1698
- const ze = /* @__PURE__ */ new Map();
1699
- process.env.NODE_ENV !== "production" && (Pe().__VUE_HMR_RUNTIME__ = {
1700
- createRecord: Je(Er),
1701
- rerender: Je(wr),
1702
- reload: Je(br)
1945
+ const Ye = /* @__PURE__ */ new Map();
1946
+ process.env.NODE_ENV !== "production" && (je().__VUE_HMR_RUNTIME__ = {
1947
+ createRecord: Qe(Rr),
1948
+ rerender: Qe(Ar),
1949
+ reload: Qe(Fr)
1703
1950
  });
1704
- const Re = /* @__PURE__ */ new Map();
1705
- function Er(e, t) {
1706
- return Re.has(e) ? !1 : (Re.set(e, {
1707
- initialDef: Ae(t),
1951
+ const He = /* @__PURE__ */ new Map();
1952
+ function Rr(e, t) {
1953
+ return He.has(e) ? !1 : (He.set(e, {
1954
+ initialDef: Pe(t),
1708
1955
  instances: /* @__PURE__ */ new Set()
1709
1956
  }), !0);
1710
1957
  }
1711
- function Ae(e) {
1712
- return an(e) ? e.__vccOpts : e;
1958
+ function Pe(e) {
1959
+ return _n(e) ? e.__vccOpts : e;
1713
1960
  }
1714
- function wr(e, t) {
1715
- const n = Re.get(e);
1961
+ function Ar(e, t) {
1962
+ const n = He.get(e);
1716
1963
  n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
1717
- t && (r.render = t, Ae(r.type).render = t), r.renderCache = [], r.job.flags & 8 || r.update();
1964
+ t && (r.render = t, Pe(r.type).render = t), r.renderCache = [], r.job.flags & 8 || r.update();
1718
1965
  }));
1719
1966
  }
1720
- function br(e, t) {
1721
- const n = Re.get(e);
1967
+ function Fr(e, t) {
1968
+ const n = He.get(e);
1722
1969
  if (!n) return;
1723
- t = Ae(t), bt(n.initialDef, t);
1970
+ t = Pe(t), Ot(n.initialDef, t);
1724
1971
  const r = [...n.instances];
1725
1972
  for (let o = 0; o < r.length; o++) {
1726
- const s = r[o], i = Ae(s.type);
1727
- let c = ze.get(i);
1728
- c || (i !== n.initialDef && bt(i, t), ze.set(i, c = /* @__PURE__ */ new Set())), c.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (c.add(s), s.ceReload(t.styles), c.delete(s)) : s.parent ? Ut(() => {
1729
- s.job.flags & 8 || (s.parent.update(), c.delete(s));
1973
+ const s = r[o], i = Pe(s.type);
1974
+ let a = Ye.get(i);
1975
+ a || (i !== n.initialDef && Ot(i, t), Ye.set(i, a = /* @__PURE__ */ new Set())), a.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (a.add(s), s.ceReload(t.styles), a.delete(s)) : s.parent ? Xt(() => {
1976
+ s.job.flags & 8 || (s.parent.update(), a.delete(s));
1730
1977
  }) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
1731
1978
  "[HMR] Root or manually mounted instance modified. Full reload required."
1732
1979
  ), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(i);
1733
1980
  }
1734
- Jt(() => {
1735
- ze.clear();
1981
+ tn(() => {
1982
+ Ye.clear();
1736
1983
  });
1737
1984
  }
1738
- function bt(e, t) {
1739
- W(e, t);
1985
+ function Ot(e, t) {
1986
+ B(e, t);
1740
1987
  for (const n in e)
1741
1988
  n !== "__file" && !(n in t) && delete e[n];
1742
1989
  }
1743
- function Je(e) {
1990
+ function Qe(e) {
1744
1991
  return (t, n) => {
1745
1992
  try {
1746
1993
  return e(t, n);
@@ -1751,131 +1998,131 @@ function Je(e) {
1751
1998
  }
1752
1999
  };
1753
2000
  }
1754
- let Q, Oe = [];
1755
- function qt(e, t) {
2001
+ let te, $e = [];
2002
+ function on(e, t) {
1756
2003
  var n, r;
1757
- Q = e, Q ? (Q.enabled = !0, Oe.forEach(({ event: o, args: s }) => Q.emit(o, ...s)), Oe = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
2004
+ te = e, te ? (te.enabled = !0, $e.forEach(({ event: o, args: s }) => te.emit(o, ...s)), $e = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window < "u" && // some envs mock window but not fully
1758
2005
  window.HTMLElement && // also exclude jsdom
1759
2006
  // eslint-disable-next-line no-restricted-syntax
1760
2007
  !((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
1761
- qt(s, t);
2008
+ on(s, t);
1762
2009
  }), setTimeout(() => {
1763
- Q || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, Oe = []);
1764
- }, 3e3)) : Oe = [];
2010
+ te || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, $e = []);
2011
+ }, 3e3)) : $e = [];
1765
2012
  }
1766
- let ve = null, Sr = null;
1767
- function Nr(e, t, n = !1) {
1768
- const r = on();
1769
- if (r || Rr) {
2013
+ let we = null, kr = null;
2014
+ function Hr(e, t, n = !1) {
2015
+ const r = hn();
2016
+ if (r || qr) {
1770
2017
  let o = r ? r.parent == null || r.ce ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
1771
2018
  if (o && e in o)
1772
2019
  return o[e];
1773
2020
  if (arguments.length > 1)
1774
- return n && w(t) ? t.call(r && r.proxy) : t;
1775
- process.env.NODE_ENV !== "production" && E(`injection "${String(e)}" not found.`);
1776
- } else process.env.NODE_ENV !== "production" && E("inject() can only be used inside setup() or functional components.");
2021
+ return n && T(t) ? t.call(r && r.proxy) : t;
2022
+ process.env.NODE_ENV !== "production" && N(`injection "${String(e)}" not found.`);
2023
+ } else process.env.NODE_ENV !== "production" && N("inject() can only be used inside setup() or functional components.");
1777
2024
  }
1778
- const Tr = /* @__PURE__ */ Symbol.for("v-scx"), Or = () => {
2025
+ const Pr = /* @__PURE__ */ Symbol.for("v-scx"), Lr = () => {
1779
2026
  {
1780
- const e = Nr(Tr);
1781
- return e || process.env.NODE_ENV !== "production" && E(
2027
+ const e = Hr(Pr);
2028
+ return e || process.env.NODE_ENV !== "production" && N(
1782
2029
  "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
1783
2030
  ), e;
1784
2031
  }
1785
2032
  };
1786
- function Dr(e, t, n) {
1787
- return process.env.NODE_ENV !== "production" && !w(t) && E(
2033
+ function Wr(e, t, n) {
2034
+ return process.env.NODE_ENV !== "production" && !T(t) && N(
1788
2035
  "`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
1789
- ), $r(e, t, n);
2036
+ ), Kr(e, t, n);
1790
2037
  }
1791
- function $r(e, t, n = pe) {
2038
+ function Kr(e, t, n = _e) {
1792
2039
  const { immediate: r, deep: o, flush: s, once: i } = n;
1793
- process.env.NODE_ENV !== "production" && !t && (r !== void 0 && E(
2040
+ process.env.NODE_ENV !== "production" && !t && (r !== void 0 && N(
1794
2041
  'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
1795
- ), o !== void 0 && E(
2042
+ ), o !== void 0 && N(
1796
2043
  'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
1797
- ), i !== void 0 && E(
2044
+ ), i !== void 0 && N(
1798
2045
  'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
1799
2046
  ));
1800
- const c = W({}, n);
1801
- process.env.NODE_ENV !== "production" && (c.onWarn = E);
2047
+ const a = B({}, n);
2048
+ process.env.NODE_ENV !== "production" && (a.onWarn = N);
1802
2049
  const l = t && r || !t && s !== "post";
1803
2050
  let u;
1804
- if (ye) {
2051
+ if (Se) {
1805
2052
  if (s === "sync") {
1806
- const p = Or();
2053
+ const p = Lr();
1807
2054
  u = p.__watcherHandles || (p.__watcherHandles = []);
1808
2055
  } else if (!l) {
1809
2056
  const p = () => {
1810
2057
  };
1811
- return p.stop = Z, p.resume = Z, p.pause = Z, p;
2058
+ return p.stop = re, p.resume = re, p.pause = re, p;
1812
2059
  }
1813
2060
  }
1814
- const d = se;
1815
- c.call = (p, _, T) => ht(p, d, _, T);
1816
- let a = !1;
1817
- s === "post" ? c.scheduler = (p) => {
1818
- kr(p, d && d.suspense);
1819
- } : s !== "sync" && (a = !0, c.scheduler = (p, _) => {
1820
- _ ? p() : Ut(p);
1821
- }), c.augmentJob = (p) => {
1822
- t && (p.flags |= 4), a && (p.flags |= 2, d && (p.id = d.uid, p.i = d));
2061
+ const d = ue;
2062
+ a.call = (p, _, S) => bt(p, d, _, S);
2063
+ let c = !1;
2064
+ s === "post" ? a.scheduler = (p) => {
2065
+ Yr(p, d && d.suspense);
2066
+ } : s !== "sync" && (c = !0, a.scheduler = (p, _) => {
2067
+ _ ? p() : Xt(p);
2068
+ }), a.augmentJob = (p) => {
2069
+ t && (p.flags |= 4), c && (p.flags |= 2, d && (p.id = d.uid, p.i = d));
1823
2070
  };
1824
- const f = ar(e, t, c);
1825
- return ye && (u ? u.push(f) : l && f()), f;
2071
+ const f = wr(e, t, a);
2072
+ return Se && (u ? u.push(f) : l && f()), f;
1826
2073
  }
1827
- const Mr = (e) => e.__isTeleport;
1828
- function Gt(e, t) {
1829
- e.shapeFlag & 6 && e.component ? (e.transition = t, Gt(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
2074
+ const jr = (e) => e.__isTeleport;
2075
+ function sn(e, t) {
2076
+ e.shapeFlag & 6 && e.component ? (e.transition = t, sn(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
1830
2077
  }
1831
- Pe().requestIdleCallback;
1832
- Pe().cancelIdleCallback;
1833
- function xr(e, t, n = se, r = !1) {
2078
+ je().requestIdleCallback;
2079
+ je().cancelIdleCallback;
2080
+ function Ur(e, t, n = ue, r = !1) {
1834
2081
  if (n) {
1835
2082
  const o = n[e] || (n[e] = []), s = t.__weh || (t.__weh = (...i) => {
1836
- re();
1837
- const c = Br(n), l = ht(t, n, e, i);
1838
- return c(), oe(), l;
2083
+ ce();
2084
+ const a = co(n), l = bt(t, n, e, i);
2085
+ return a(), le(), l;
1839
2086
  });
1840
2087
  return r ? o.unshift(s) : o.push(s), s;
1841
2088
  } else if (process.env.NODE_ENV !== "production") {
1842
- const o = In(pt[e].replace(/ hook$/, ""));
1843
- E(
2089
+ const o = Gn(vt[e].replace(/ hook$/, ""));
2090
+ N(
1844
2091
  `${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
1845
2092
  );
1846
2093
  }
1847
2094
  }
1848
- const Qt = (e) => (t, n = se) => {
1849
- (!ye || e === "sp") && xr(e, (...r) => t(...r), n);
1850
- }, Cr = Qt("m"), Zt = Qt("um"), Vr = /* @__PURE__ */ Symbol.for("v-ndc"), Ir = {};
1851
- process.env.NODE_ENV !== "production" && (Ir.ownKeys = (e) => (E(
2095
+ const an = (e) => (t, n = ue) => {
2096
+ (!Se || e === "sp") && Ur(e, (...r) => t(...r), n);
2097
+ }, zr = an("m"), cn = an("um"), Br = /* @__PURE__ */ Symbol.for("v-ndc"), Gr = {};
2098
+ process.env.NODE_ENV !== "production" && (Gr.ownKeys = (e) => (N(
1852
2099
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
1853
2100
  ), Reflect.ownKeys(e)));
1854
- let Rr = null;
1855
- const Ar = {}, Xt = (e) => Object.getPrototypeOf(e) === Ar, kr = Pr, Hr = (e) => e.__isSuspense;
1856
- function Pr(e, t) {
1857
- t && t.pendingBranch ? v(e) ? t.effects.push(...e) : t.effects.push(e) : Jt(e);
2101
+ let qr = null;
2102
+ const Jr = {}, ln = (e) => Object.getPrototypeOf(e) === Jr, Yr = Zr, Qr = (e) => e.__isSuspense;
2103
+ function Zr(e, t) {
2104
+ t && t.pendingBranch ? E(e) ? t.effects.push(...e) : t.effects.push(e) : tn(e);
1858
2105
  }
1859
- const en = /* @__PURE__ */ Symbol.for("v-fgt"), Fr = /* @__PURE__ */ Symbol.for("v-txt"), Lr = /* @__PURE__ */ Symbol.for("v-cmt");
1860
- function Kr(e) {
2106
+ const un = /* @__PURE__ */ Symbol.for("v-fgt"), Xr = /* @__PURE__ */ Symbol.for("v-txt"), eo = /* @__PURE__ */ Symbol.for("v-cmt");
2107
+ function to(e) {
1861
2108
  return e ? e.__v_isVNode === !0 : !1;
1862
2109
  }
1863
- const Wr = (...e) => nn(
2110
+ const no = (...e) => dn(
1864
2111
  ...e
1865
- ), tn = ({ key: e }) => e ?? null, $e = ({
2112
+ ), fn = ({ key: e }) => e ?? null, xe = ({
1866
2113
  ref: e,
1867
2114
  ref_key: t,
1868
2115
  ref_for: n
1869
- }) => (typeof e == "number" && (e = "" + e), e != null ? A(e) || D(e) || w(e) ? { i: ve, r: e, k: t, f: !!n } : e : null);
1870
- function jr(e, t = null, n = null, r = 0, o = null, s = e === en ? 0 : 1, i = !1, c = !1) {
2116
+ }) => (typeof e == "number" && (e = "" + e), e != null ? P(e) || x(e) || T(e) ? { i: we, r: e, k: t, f: !!n } : e : null);
2117
+ function ro(e, t = null, n = null, r = 0, o = null, s = e === un ? 0 : 1, i = !1, a = !1) {
1871
2118
  const l = {
1872
2119
  __v_isVNode: !0,
1873
2120
  __v_skip: !0,
1874
2121
  type: e,
1875
2122
  props: t,
1876
- key: t && tn(t),
1877
- ref: t && $e(t),
1878
- scopeId: Sr,
2123
+ key: t && fn(t),
2124
+ ref: t && xe(t),
2125
+ scopeId: kr,
1879
2126
  slotScopeIds: null,
1880
2127
  children: n,
1881
2128
  component: null,
@@ -1895,33 +2142,33 @@ function jr(e, t = null, n = null, r = 0, o = null, s = e === en ? 0 : 1, i = !1
1895
2142
  dynamicProps: o,
1896
2143
  dynamicChildren: null,
1897
2144
  appContext: null,
1898
- ctx: ve
2145
+ ctx: we
1899
2146
  };
1900
- return c ? (gt(l, n), s & 128 && e.normalize(l)) : n && (l.shapeFlag |= A(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && E("VNode created with invalid key (NaN). VNode type:", l.type), l;
2147
+ return a ? (wt(l, n), s & 128 && e.normalize(l)) : n && (l.shapeFlag |= P(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l.key !== l.key && N("VNode created with invalid key (NaN). VNode type:", l.type), l;
1901
2148
  }
1902
- const Ur = process.env.NODE_ENV !== "production" ? Wr : nn;
1903
- function nn(e, t = null, n = null, r = 0, o = null, s = !1) {
1904
- if ((!e || e === Vr) && (process.env.NODE_ENV !== "production" && !e && E(`Invalid vnode type when creating vnode: ${e}.`), e = Lr), Kr(e)) {
1905
- const c = ke(
2149
+ const oo = process.env.NODE_ENV !== "production" ? no : dn;
2150
+ function dn(e, t = null, n = null, r = 0, o = null, s = !1) {
2151
+ if ((!e || e === Br) && (process.env.NODE_ENV !== "production" && !e && N(`Invalid vnode type when creating vnode: ${e}.`), e = eo), to(e)) {
2152
+ const a = Le(
1906
2153
  e,
1907
2154
  t,
1908
2155
  !0
1909
2156
  /* mergeRef: true */
1910
2157
  );
1911
- return n && gt(c, n), c.patchFlag = -2, c;
2158
+ return n && wt(a, n), a.patchFlag = -2, a;
1912
2159
  }
1913
- if (an(e) && (e = e.__vccOpts), t) {
1914
- t = zr(t);
1915
- let { class: c, style: l } = t;
1916
- c && !A(c) && (t.class = it(c)), S(l) && (Ve(l) && !v(l) && (l = W({}, l)), t.style = st(l));
2160
+ if (_n(e) && (e = e.__vccOpts), t) {
2161
+ t = so(t);
2162
+ let { class: a, style: l } = t;
2163
+ a && !P(a) && (t.class = dt(a)), O(l) && (Fe(l) && !E(l) && (l = B({}, l)), t.style = ft(l));
1917
2164
  }
1918
- const i = A(e) ? 1 : Hr(e) ? 128 : Mr(e) ? 64 : S(e) ? 4 : w(e) ? 2 : 0;
1919
- return process.env.NODE_ENV !== "production" && i & 4 && Ve(e) && (e = h(e), E(
2165
+ const i = P(e) ? 1 : Qr(e) ? 128 : jr(e) ? 64 : O(e) ? 4 : T(e) ? 2 : 0;
2166
+ return process.env.NODE_ENV !== "production" && i & 4 && Fe(e) && (e = h(e), N(
1920
2167
  "Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
1921
2168
  `
1922
2169
  Component that was made reactive: `,
1923
2170
  e
1924
- )), jr(
2171
+ )), ro(
1925
2172
  e,
1926
2173
  t,
1927
2174
  n,
@@ -1932,25 +2179,25 @@ Component that was made reactive: `,
1932
2179
  !0
1933
2180
  );
1934
2181
  }
1935
- function zr(e) {
1936
- return e ? Ve(e) || Xt(e) ? W({}, e) : e : null;
2182
+ function so(e) {
2183
+ return e ? Fe(e) || ln(e) ? B({}, e) : e : null;
1937
2184
  }
1938
- function ke(e, t, n = !1, r = !1) {
1939
- const { props: o, ref: s, patchFlag: i, children: c, transition: l } = e, u = t ? Yr(o || {}, t) : o, d = {
2185
+ function Le(e, t, n = !1, r = !1) {
2186
+ const { props: o, ref: s, patchFlag: i, children: a, transition: l } = e, u = t ? ao(o || {}, t) : o, d = {
1940
2187
  __v_isVNode: !0,
1941
2188
  __v_skip: !0,
1942
2189
  type: e.type,
1943
2190
  props: u,
1944
- key: u && tn(u),
2191
+ key: u && fn(u),
1945
2192
  ref: t && t.ref ? (
1946
2193
  // #2078 in the case of <component :is="vnode" ref="extra"/>
1947
2194
  // if the vnode itself already has a ref, cloneVNode will need to merge
1948
2195
  // the refs so the single vnode can be set on multiple refs
1949
- n && s ? v(s) ? s.concat($e(t)) : [s, $e(t)] : $e(t)
2196
+ n && s ? E(s) ? s.concat(xe(t)) : [s, xe(t)] : xe(t)
1950
2197
  ) : s,
1951
2198
  scopeId: e.scopeId,
1952
2199
  slotScopeIds: e.slotScopeIds,
1953
- children: process.env.NODE_ENV !== "production" && i === -1 && v(c) ? c.map(rn) : c,
2200
+ children: process.env.NODE_ENV !== "production" && i === -1 && E(a) ? a.map(pn) : a,
1954
2201
  target: e.target,
1955
2202
  targetStart: e.targetStart,
1956
2203
  targetAnchor: e.targetAnchor,
@@ -1960,7 +2207,7 @@ function ke(e, t, n = !1, r = !1) {
1960
2207
  // existing patch flag to be reliable and need to add the FULL_PROPS flag.
1961
2208
  // note: preserve flag for fragments since they use the flag for children
1962
2209
  // fast paths only.
1963
- patchFlag: t && e.type !== en ? i === -1 ? 16 : i | 16 : i,
2210
+ patchFlag: t && e.type !== un ? i === -1 ? 16 : i | 16 : i,
1964
2211
  dynamicProps: e.dynamicProps,
1965
2212
  dynamicChildren: e.dynamicChildren,
1966
2213
  appContext: e.appContext,
@@ -1972,91 +2219,91 @@ function ke(e, t, n = !1, r = !1) {
1972
2219
  // they will simply be overwritten.
1973
2220
  component: e.component,
1974
2221
  suspense: e.suspense,
1975
- ssContent: e.ssContent && ke(e.ssContent),
1976
- ssFallback: e.ssFallback && ke(e.ssFallback),
2222
+ ssContent: e.ssContent && Le(e.ssContent),
2223
+ ssFallback: e.ssFallback && Le(e.ssFallback),
1977
2224
  placeholder: e.placeholder,
1978
2225
  el: e.el,
1979
2226
  anchor: e.anchor,
1980
2227
  ctx: e.ctx,
1981
2228
  ce: e.ce
1982
2229
  };
1983
- return l && r && Gt(
2230
+ return l && r && sn(
1984
2231
  d,
1985
2232
  l.clone(d)
1986
2233
  ), d;
1987
2234
  }
1988
- function rn(e) {
1989
- const t = ke(e);
1990
- return v(e.children) && (t.children = e.children.map(rn)), t;
2235
+ function pn(e) {
2236
+ const t = Le(e);
2237
+ return E(e.children) && (t.children = e.children.map(pn)), t;
1991
2238
  }
1992
- function Jr(e = " ", t = 0) {
1993
- return Ur(Fr, null, e, t);
2239
+ function io(e = " ", t = 0) {
2240
+ return oo(Xr, null, e, t);
1994
2241
  }
1995
- function gt(e, t) {
2242
+ function wt(e, t) {
1996
2243
  let n = 0;
1997
2244
  const { shapeFlag: r } = e;
1998
2245
  if (t == null)
1999
2246
  t = null;
2000
- else if (v(t))
2247
+ else if (E(t))
2001
2248
  n = 16;
2002
2249
  else if (typeof t == "object")
2003
2250
  if (r & 65) {
2004
2251
  const o = t.default;
2005
- o && (o._c && (o._d = !1), gt(e, o()), o._c && (o._d = !0));
2252
+ o && (o._c && (o._d = !1), wt(e, o()), o._c && (o._d = !0));
2006
2253
  return;
2007
2254
  } else
2008
- n = 32, !t._ && !Xt(t) && (t._ctx = ve);
2009
- else w(t) ? (t = { default: t, _ctx: ve }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Jr(t)]) : n = 8);
2255
+ n = 32, !t._ && !ln(t) && (t._ctx = we);
2256
+ else T(t) ? (t = { default: t, _ctx: we }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [io(t)]) : n = 8);
2010
2257
  e.children = t, e.shapeFlag |= n;
2011
2258
  }
2012
- function Yr(...e) {
2259
+ function ao(...e) {
2013
2260
  const t = {};
2014
2261
  for (let n = 0; n < e.length; n++) {
2015
2262
  const r = e[n];
2016
2263
  for (const o in r)
2017
2264
  if (o === "class")
2018
- t.class !== r.class && (t.class = it([t.class, r.class]));
2265
+ t.class !== r.class && (t.class = dt([t.class, r.class]));
2019
2266
  else if (o === "style")
2020
- t.style = st([t.style, r.style]);
2021
- else if (Dn(o)) {
2267
+ t.style = ft([t.style, r.style]);
2268
+ else if (Wn(o)) {
2022
2269
  const s = t[o], i = r[o];
2023
- i && s !== i && !(v(s) && s.includes(i)) && (t[o] = s ? [].concat(s, i) : i);
2270
+ i && s !== i && !(E(s) && s.includes(i)) && (t[o] = s ? [].concat(s, i) : i);
2024
2271
  } else o !== "" && (t[o] = r[o]);
2025
2272
  }
2026
2273
  return t;
2027
2274
  }
2028
- let se = null;
2029
- const on = () => se || ve;
2030
- let et;
2275
+ let ue = null;
2276
+ const hn = () => ue || we;
2277
+ let it;
2031
2278
  {
2032
- const e = Pe(), t = (n, r) => {
2279
+ const e = je(), t = (n, r) => {
2033
2280
  let o;
2034
2281
  return (o = e[n]) || (o = e[n] = []), o.push(r), (s) => {
2035
2282
  o.length > 1 ? o.forEach((i) => i(s)) : o[0](s);
2036
2283
  };
2037
2284
  };
2038
- et = t(
2285
+ it = t(
2039
2286
  "__VUE_INSTANCE_SETTERS__",
2040
- (n) => se = n
2287
+ (n) => ue = n
2041
2288
  ), t(
2042
2289
  "__VUE_SSR_SETTERS__",
2043
- (n) => ye = n
2290
+ (n) => Se = n
2044
2291
  );
2045
2292
  }
2046
- const Br = (e) => {
2047
- const t = se;
2048
- return et(e), e.scope.on(), () => {
2049
- e.scope.off(), et(t);
2293
+ const co = (e) => {
2294
+ const t = ue;
2295
+ return it(e), e.scope.on(), () => {
2296
+ e.scope.off(), it(t);
2050
2297
  };
2051
2298
  };
2052
- let ye = !1;
2299
+ let Se = !1;
2053
2300
  process.env.NODE_ENV;
2054
- const qr = /(?:^|[-_])\w/g, Gr = (e) => e.replace(qr, (t) => t.toUpperCase()).replace(/[-_]/g, "");
2055
- function sn(e, t = !0) {
2056
- return w(e) ? e.displayName || e.name : e.name || t && e.__name;
2301
+ const lo = /(?:^|[-_])\w/g, uo = (e) => e.replace(lo, (t) => t.toUpperCase()).replace(/[-_]/g, "");
2302
+ function gn(e, t = !0) {
2303
+ return T(e) ? e.displayName || e.name : e.name || t && e.__name;
2057
2304
  }
2058
- function cn(e, t, n = !1) {
2059
- let r = sn(t);
2305
+ function mn(e, t, n = !1) {
2306
+ let r = gn(t);
2060
2307
  if (!r && t.__file) {
2061
2308
  const o = t.__file.match(/([^/\\]+)\.\w+$/);
2062
2309
  o && (r = o[1]);
@@ -2071,80 +2318,80 @@ function cn(e, t, n = !1) {
2071
2318
  e.parent.type.components
2072
2319
  ) || o(e.appContext.components);
2073
2320
  }
2074
- return r ? Gr(r) : n ? "App" : "Anonymous";
2321
+ return r ? uo(r) : n ? "App" : "Anonymous";
2075
2322
  }
2076
- function an(e) {
2077
- return w(e) && "__vccOpts" in e;
2323
+ function _n(e) {
2324
+ return T(e) && "__vccOpts" in e;
2078
2325
  }
2079
- const De = (e, t) => {
2080
- const n = ir(e, t, ye);
2326
+ const Me = (e, t) => {
2327
+ const n = br(e, t, Se);
2081
2328
  if (process.env.NODE_ENV !== "production") {
2082
- const r = on();
2329
+ const r = hn();
2083
2330
  r && r.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
2084
2331
  }
2085
2332
  return n;
2086
2333
  };
2087
- function Qr() {
2334
+ function fo() {
2088
2335
  if (process.env.NODE_ENV === "production" || typeof window > "u")
2089
2336
  return;
2090
2337
  const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, o = {
2091
2338
  __vue_custom_formatter: !0,
2092
- header(a) {
2093
- if (!S(a))
2339
+ header(c) {
2340
+ if (!O(c))
2094
2341
  return null;
2095
- if (a.__isVue)
2342
+ if (c.__isVue)
2096
2343
  return ["div", e, "VueInstance"];
2097
- if (D(a)) {
2098
- re();
2099
- const f = a.value;
2100
- return oe(), [
2344
+ if (x(c)) {
2345
+ ce();
2346
+ const f = c.value;
2347
+ return le(), [
2101
2348
  "div",
2102
2349
  {},
2103
- ["span", e, d(a)],
2350
+ ["span", e, d(c)],
2104
2351
  "<",
2105
- c(f),
2352
+ a(f),
2106
2353
  ">"
2107
2354
  ];
2108
2355
  } else {
2109
- if (ee(a))
2356
+ if (se(c))
2110
2357
  return [
2111
2358
  "div",
2112
2359
  {},
2113
- ["span", e, N(a) ? "ShallowReactive" : "Reactive"],
2360
+ ["span", e, $(c) ? "ShallowReactive" : "Reactive"],
2114
2361
  "<",
2115
- c(a),
2116
- `>${C(a) ? " (readonly)" : ""}`
2362
+ a(c),
2363
+ `>${A(c) ? " (readonly)" : ""}`
2117
2364
  ];
2118
- if (C(a))
2365
+ if (A(c))
2119
2366
  return [
2120
2367
  "div",
2121
2368
  {},
2122
- ["span", e, N(a) ? "ShallowReadonly" : "Readonly"],
2369
+ ["span", e, $(c) ? "ShallowReadonly" : "Readonly"],
2123
2370
  "<",
2124
- c(a),
2371
+ a(c),
2125
2372
  ">"
2126
2373
  ];
2127
2374
  }
2128
2375
  return null;
2129
2376
  },
2130
- hasBody(a) {
2131
- return a && a.__isVue;
2377
+ hasBody(c) {
2378
+ return c && c.__isVue;
2132
2379
  },
2133
- body(a) {
2134
- if (a && a.__isVue)
2380
+ body(c) {
2381
+ if (c && c.__isVue)
2135
2382
  return [
2136
2383
  "div",
2137
2384
  {},
2138
- ...s(a.$)
2385
+ ...s(c.$)
2139
2386
  ];
2140
2387
  }
2141
2388
  };
2142
- function s(a) {
2389
+ function s(c) {
2143
2390
  const f = [];
2144
- a.type.props && a.props && f.push(i("props", h(a.props))), a.setupState !== pe && f.push(i("setup", a.setupState)), a.data !== pe && f.push(i("data", h(a.data)));
2145
- const p = l(a, "computed");
2391
+ c.type.props && c.props && f.push(i("props", h(c.props))), c.setupState !== _e && f.push(i("setup", c.setupState)), c.data !== _e && f.push(i("data", h(c.data)));
2392
+ const p = l(c, "computed");
2146
2393
  p && f.push(i("computed", p));
2147
- const _ = l(a, "inject");
2394
+ const _ = l(c, "inject");
2148
2395
  return _ && f.push(i("injected", _)), f.push([
2149
2396
  "div",
2150
2397
  {},
@@ -2155,11 +2402,11 @@ function Qr() {
2155
2402
  },
2156
2403
  "$ (internal): "
2157
2404
  ],
2158
- ["object", { object: a }]
2405
+ ["object", { object: c }]
2159
2406
  ]), f;
2160
2407
  }
2161
- function i(a, f) {
2162
- return f = W({}, f), Object.keys(f).length ? [
2408
+ function i(c, f) {
2409
+ return f = B({}, f), Object.keys(f).length ? [
2163
2410
  "div",
2164
2411
  { style: "line-height:1.25em;margin-bottom:0.6em" },
2165
2412
  [
@@ -2167,7 +2414,7 @@ function Qr() {
2167
2414
  {
2168
2415
  style: "color:#476582"
2169
2416
  },
2170
- a
2417
+ c
2171
2418
  ],
2172
2419
  [
2173
2420
  "div",
@@ -2178,73 +2425,73 @@ function Qr() {
2178
2425
  "div",
2179
2426
  {},
2180
2427
  ["span", r, p + ": "],
2181
- c(f[p], !1)
2428
+ a(f[p], !1)
2182
2429
  ])
2183
2430
  ]
2184
2431
  ] : ["span", {}];
2185
2432
  }
2186
- function c(a, f = !0) {
2187
- return typeof a == "number" ? ["span", t, a] : typeof a == "string" ? ["span", n, JSON.stringify(a)] : typeof a == "boolean" ? ["span", r, a] : S(a) ? ["object", { object: f ? h(a) : a }] : ["span", n, String(a)];
2433
+ function a(c, f = !0) {
2434
+ return typeof c == "number" ? ["span", t, c] : typeof c == "string" ? ["span", n, JSON.stringify(c)] : typeof c == "boolean" ? ["span", r, c] : O(c) ? ["object", { object: f ? h(c) : c }] : ["span", n, String(c)];
2188
2435
  }
2189
- function l(a, f) {
2190
- const p = a.type;
2191
- if (w(p))
2436
+ function l(c, f) {
2437
+ const p = c.type;
2438
+ if (T(p))
2192
2439
  return;
2193
2440
  const _ = {};
2194
- for (const T in a.ctx)
2195
- u(p, T, f) && (_[T] = a.ctx[T]);
2441
+ for (const S in c.ctx)
2442
+ u(p, S, f) && (_[S] = c.ctx[S]);
2196
2443
  return _;
2197
2444
  }
2198
- function u(a, f, p) {
2199
- const _ = a[p];
2200
- if (v(_) && _.includes(f) || S(_) && f in _ || a.extends && u(a.extends, f, p) || a.mixins && a.mixins.some((T) => u(T, f, p)))
2445
+ function u(c, f, p) {
2446
+ const _ = c[p];
2447
+ if (E(_) && _.includes(f) || O(_) && f in _ || c.extends && u(c.extends, f, p) || c.mixins && c.mixins.some((S) => u(S, f, p)))
2201
2448
  return !0;
2202
2449
  }
2203
- function d(a) {
2204
- return N(a) ? "ShallowRef" : a.effect ? "ComputedRef" : "Ref";
2450
+ function d(c) {
2451
+ return $(c) ? "ShallowRef" : c.effect ? "ComputedRef" : "Ref";
2205
2452
  }
2206
2453
  window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
2207
2454
  }
2208
2455
  process.env.NODE_ENV;
2209
2456
  process.env.NODE_ENV;
2210
2457
  process.env.NODE_ENV;
2211
- function Zr() {
2212
- Qr();
2458
+ function po() {
2459
+ fo();
2213
2460
  }
2214
- process.env.NODE_ENV !== "production" && Zr();
2215
- const y = dt({
2461
+ process.env.NODE_ENV !== "production" && po();
2462
+ const w = yt({
2216
2463
  mode: "light",
2217
2464
  variant: "default",
2218
2465
  isChanging: !1
2219
2466
  });
2220
- let St = !1, q = null;
2221
- function ln() {
2222
- if (!St && typeof window < "u") {
2223
- const u = yn();
2224
- y.value = {
2467
+ let $t = !1, X = null;
2468
+ function yn() {
2469
+ if (!$t && typeof window < "u") {
2470
+ const u = In();
2471
+ w.value = {
2225
2472
  mode: u.mode,
2226
2473
  variant: u.variant,
2227
2474
  isChanging: !1
2228
- }, St = !0;
2475
+ }, $t = !0;
2229
2476
  }
2230
- const e = De(() => y.value.mode), t = De(() => y.value.variant), n = De(() => y.value.mode === "dark"), r = De(() => y.value.isChanging), o = (u, d = {}) => {
2231
- y.value.isChanging = !0, ue({ mode: u }, d), y.value.mode = u, setTimeout(() => {
2232
- y.value.isChanging = !1;
2477
+ const e = Me(() => w.value.mode), t = Me(() => w.value.variant), n = Me(() => w.value.mode === "dark"), r = Me(() => w.value.isChanging), o = (u, d = {}) => {
2478
+ w.value.isChanging = !0, he({ mode: u }, d), w.value.mode = u, setTimeout(() => {
2479
+ w.value.isChanging = !1;
2233
2480
  }, 300);
2234
2481
  }, s = (u, d = {}) => {
2235
- y.value.isChanging = !0, ue({ variant: u }, d), y.value.variant = u, setTimeout(() => {
2236
- y.value.isChanging = !1;
2482
+ w.value.isChanging = !0, he({ variant: u }, d), w.value.variant = u, setTimeout(() => {
2483
+ w.value.isChanging = !1;
2237
2484
  }, 300);
2238
2485
  }, i = (u = {}) => {
2239
- const d = vn(u);
2240
- y.value.mode = d;
2241
- }, c = (u, d = {}) => {
2242
- y.value.isChanging = !0, ue(u, d), u.mode && (y.value.mode = u.mode), u.variant && (y.value.variant = u.variant), setTimeout(() => {
2243
- y.value.isChanging = !1;
2486
+ const d = Vn(u);
2487
+ w.value.mode = d;
2488
+ }, a = (u, d = {}) => {
2489
+ w.value.isChanging = !0, he(u, d), u.mode && (w.value.mode = u.mode), u.variant && (w.value.variant = u.variant), setTimeout(() => {
2490
+ w.value.isChanging = !1;
2244
2491
  }, 300);
2245
- }, l = () => bn(y.value.variant);
2492
+ }, l = () => Fn(w.value.variant);
2246
2493
  return {
2247
- theme: y.value,
2494
+ theme: w.value,
2248
2495
  mode: e.value,
2249
2496
  variant: t.value,
2250
2497
  isDark: n.value,
@@ -2252,36 +2499,36 @@ function ln() {
2252
2499
  setMode: o,
2253
2500
  setVariant: s,
2254
2501
  toggleDarkMode: i,
2255
- setTheme: c,
2256
- getAvailableThemes: wn,
2502
+ setTheme: a,
2503
+ getAvailableThemes: An,
2257
2504
  getCurrentThemeMetadata: l
2258
2505
  };
2259
2506
  }
2260
- function po(e = dt(!0)) {
2261
- const { setMode: t } = ln(), n = () => {
2262
- q && q(), q = En((o) => {
2507
+ function Io(e = yt(!0)) {
2508
+ const { setMode: t } = yn(), n = () => {
2509
+ X && X(), X = Rn((o) => {
2263
2510
  e.value && t(o, { transition: !0, persist: !1 });
2264
2511
  });
2265
2512
  }, r = () => {
2266
- q && (q(), q = null);
2513
+ X && (X(), X = null);
2267
2514
  };
2268
- Dr(
2515
+ Wr(
2269
2516
  e,
2270
2517
  (o) => {
2271
2518
  o ? n() : r();
2272
2519
  },
2273
2520
  { immediate: !0 }
2274
- ), Zt(() => {
2521
+ ), cn(() => {
2275
2522
  r();
2276
2523
  });
2277
2524
  }
2278
- function ho(e) {
2279
- const t = dt(""), n = () => {
2525
+ function Ro(e) {
2526
+ const t = yt(""), n = () => {
2280
2527
  if (typeof window > "u") return;
2281
2528
  const r = document.documentElement, o = getComputedStyle(r).getPropertyValue(`--${e}`).trim();
2282
2529
  o && !o.startsWith("hsl") ? t.value = `hsl(${o})` : t.value = o;
2283
2530
  };
2284
- return Cr(() => {
2531
+ return zr(() => {
2285
2532
  n();
2286
2533
  const r = new MutationObserver(() => {
2287
2534
  n();
@@ -2289,64 +2536,82 @@ function ho(e) {
2289
2536
  r.observe(document.documentElement, {
2290
2537
  attributes: !0,
2291
2538
  attributeFilter: ["class", "data-theme"]
2292
- }), Zt(() => {
2539
+ }), cn(() => {
2293
2540
  r.disconnect();
2294
2541
  });
2295
- }), Ce(t);
2542
+ }), Ae(t);
2296
2543
  }
2297
- function mo() {
2298
- const { isChanging: e } = ln();
2544
+ function Ao() {
2545
+ const { isChanging: e } = yn();
2299
2546
  return {
2300
2547
  isTransitioning: e
2301
2548
  };
2302
2549
  }
2303
2550
  export {
2304
- ae as CSS_CLASSES,
2305
- tt as DEFAULT_THEME_MODE,
2306
- Me as DEFAULT_THEME_VARIANT,
2307
- xe as HTML_ATTRIBUTES,
2308
- ne as STORAGE_KEYS,
2309
- Xr as THEMES_BY_CATEGORY,
2310
- nt as THEME_MAP,
2311
- le as THEME_METADATA,
2312
- Ye as THEME_TRANSITION_DURATION,
2313
- rt as applyCustomTheme,
2314
- hn as applyMode,
2315
- ue as applyTheme,
2316
- fo as applyThemeFromPrimary,
2317
- mn as applyVariant,
2318
- ao as clearCustomTheme,
2319
- eo as clearStoredTheme,
2320
- no as detectSystemTheme,
2321
- _n as disableTransition,
2322
- gn as enableTransition,
2323
- Tt as generateThemeFromPrimary,
2324
- wn as getAvailableThemes,
2325
- Sn as getCSSVariable,
2326
- Nt as getCurrentMode,
2327
- to as getCurrentVariant,
2328
- V as getHtmlElement,
2329
- Nn as getStoredCustomTheme,
2330
- un as getStoredMode,
2331
- fn as getStoredVariant,
2332
- so as getThemeColor,
2333
- bn as getThemeMetadata,
2334
- Tn as hexToHSL,
2335
- yn as initTheme,
2336
- co as isValidMode,
2337
- io as isValidVariant,
2338
- _t as parseHSL,
2339
- lo as restoreCustomTheme,
2340
- uo as rgbToHSL,
2341
- oo as setCSSVariable,
2342
- dn as storeMode,
2343
- pn as storeVariant,
2344
- ro as toHSLString,
2345
- vn as toggleDarkMode,
2346
- po as useSystemTheme,
2347
- ln as useTheme,
2348
- ho as useThemeColor,
2349
- mo as useThemeTransition,
2350
- En as watchSystemTheme
2551
+ pe as CSS_CLASSES,
2552
+ Ze as DEFAULT_LOCALE,
2553
+ at as DEFAULT_THEME_MODE,
2554
+ Ie as DEFAULT_THEME_VARIANT,
2555
+ Re as HTML_ATTRIBUTES,
2556
+ ae as STORAGE_KEYS,
2557
+ _o as THEMES_BY_CATEGORY,
2558
+ ct as THEME_MAP,
2559
+ mo as THEME_METADATA,
2560
+ Xe as THEME_TRANSITION_DURATION,
2561
+ lt as applyCustomTheme,
2562
+ On as applyMode,
2563
+ he as applyTheme,
2564
+ $o as applyThemeFromPrimary,
2565
+ $n as applyVariant,
2566
+ Do as clearCustomTheme,
2567
+ yo as clearStoredTheme,
2568
+ bo as detectSystemTheme,
2569
+ xn as disableTransition,
2570
+ bn as enUS,
2571
+ Mn as enableTransition,
2572
+ It as generateThemeFromPrimary,
2573
+ An as getAvailableThemes,
2574
+ We as getCSSVariable,
2575
+ Vt as getCurrentMode,
2576
+ vo as getCurrentVariant,
2577
+ y as getHSLColor,
2578
+ b as getHexColor,
2579
+ F as getHtmlElement,
2580
+ go as getLocale,
2581
+ v as getRGBColor,
2582
+ kn as getStoredCustomTheme,
2583
+ Nn as getStoredMode,
2584
+ Tn as getStoredVariant,
2585
+ So as getThemeColor,
2586
+ Mo as getThemeColors,
2587
+ Vo as getThemeColorsHex,
2588
+ xo as getThemeColorsRGB,
2589
+ wn as getThemeDescription,
2590
+ ne as getThemeMetadata,
2591
+ Fn as getThemeMetadataById,
2592
+ En as getThemeName,
2593
+ xt as getTranslations,
2594
+ Hn as hexToHSL,
2595
+ Pn as hslToHex,
2596
+ Rt as hslToRgb,
2597
+ In as initTheme,
2598
+ To as isValidMode,
2599
+ No as isValidVariant,
2600
+ Mt as locales,
2601
+ St as parseHSL,
2602
+ Co as restoreCustomTheme,
2603
+ Oo as rgbToHSL,
2604
+ wo as setCSSVariable,
2605
+ ho as setLocale,
2606
+ Dn as storeMode,
2607
+ Cn as storeVariant,
2608
+ Eo as toHSLString,
2609
+ Vn as toggleDarkMode,
2610
+ Io as useSystemTheme,
2611
+ yn as useTheme,
2612
+ Ro as useThemeColor,
2613
+ Ao as useThemeTransition,
2614
+ Rn as watchSystemTheme,
2615
+ vn as zhCN
2351
2616
  };
2352
2617
  //# sourceMappingURL=index.js.map