@ddd-tool/domain-designer-generator 0.0.0-alpha.4 → 0.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/domain/define.d.ts +2 -1
  2. package/index.js +1282 -1224
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -10,56 +10,56 @@ function uo(e) {
10
10
  for (const n of e.split(",")) t[n] = 1;
11
11
  return (n) => n in t;
12
12
  }
13
- const I = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
13
+ const j = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
14
14
  process.env.NODE_ENV !== "production" && Object.freeze([]);
15
- const X = () => {
15
+ const oe = () => {
16
16
  }, po = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
17
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), V = Object.assign, fo = Object.prototype.hasOwnProperty, w = (e, t) => fo.call(e, t), b = Array.isArray, me = (e) => nt(e) === "[object Map]", ho = (e) => nt(e) === "[object Set]", C = (e) => typeof e == "function", j = (e) => typeof e == "string", Ve = (e) => typeof e == "symbol", x = (e) => e !== null && typeof e == "object", mo = (e) => (x(e) || C(e)) && C(e.then) && C(e.catch), go = Object.prototype.toString, nt = (e) => go.call(e), dn = (e) => nt(e).slice(8, -1), _o = (e) => nt(e) === "[object Object]", jt = (e) => j(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, vo = (e) => {
17
+ (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), T = Object.assign, fo = Object.prototype.hasOwnProperty, S = (e, t) => fo.call(e, t), w = Array.isArray, _e = (e) => nt(e) === "[object Map]", ho = (e) => nt(e) === "[object Set]", $ = (e) => typeof e == "function", M = (e) => typeof e == "string", Ae = (e) => typeof e == "symbol", R = (e) => e !== null && typeof e == "object", mo = (e) => (R(e) || $(e)) && $(e.then) && $(e.catch), go = Object.prototype.toString, nt = (e) => go.call(e), dn = (e) => nt(e).slice(8, -1), _o = (e) => nt(e) === "[object Object]", jt = (e) => M(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, vo = (e) => {
18
18
  const t = /* @__PURE__ */ Object.create(null);
19
19
  return (n) => t[n] || (t[n] = e(n));
20
- }, bo = vo((e) => e.charAt(0).toUpperCase() + e.slice(1)), q = (e, t) => !Object.is(e, t), Eo = (e, t, n, r = !1) => {
20
+ }, bo = vo((e) => e.charAt(0).toUpperCase() + e.slice(1)), Q = (e, t) => !Object.is(e, t), Eo = (e, t, n, o = !1) => {
21
21
  Object.defineProperty(e, t, {
22
22
  configurable: !0,
23
23
  enumerable: !1,
24
- writable: r,
24
+ writable: o,
25
25
  value: n
26
26
  });
27
27
  };
28
28
  let tn;
29
29
  const ot = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
30
30
  function kt(e) {
31
- if (b(e)) {
31
+ if (w(e)) {
32
32
  const t = {};
33
33
  for (let n = 0; n < e.length; n++) {
34
- const r = e[n], o = j(r) ? Co(r) : kt(r);
35
- if (o)
36
- for (const s in o)
37
- t[s] = o[s];
34
+ const o = e[n], r = M(o) ? yo(o) : kt(o);
35
+ if (r)
36
+ for (const s in r)
37
+ t[s] = r[s];
38
38
  }
39
39
  return t;
40
- } else if (j(e) || x(e))
40
+ } else if (M(e) || R(e))
41
41
  return e;
42
42
  }
43
- const No = /;(?![^(]*\))/g, wo = /:([^]+)/, yo = /\/\*[^]*?\*\//g;
44
- function Co(e) {
43
+ const No = /;(?![^(]*\))/g, wo = /:([^]+)/, Co = /\/\*[^]*?\*\//g;
44
+ function yo(e) {
45
45
  const t = {};
46
- return e.replace(yo, "").split(No).forEach((n) => {
46
+ return e.replace(Co, "").split(No).forEach((n) => {
47
47
  if (n) {
48
- const r = n.split(wo);
49
- r.length > 1 && (t[r[0].trim()] = r[1].trim());
48
+ const o = n.split(wo);
49
+ o.length > 1 && (t[o[0].trim()] = o[1].trim());
50
50
  }
51
51
  }), t;
52
52
  }
53
- function Mt(e) {
53
+ function Ht(e) {
54
54
  let t = "";
55
- if (j(e))
55
+ if (M(e))
56
56
  t = e;
57
- else if (b(e))
57
+ else if (w(e))
58
58
  for (let n = 0; n < e.length; n++) {
59
- const r = Mt(e[n]);
60
- r && (t += r + " ");
59
+ const o = Ht(e[n]);
60
+ o && (t += o + " ");
61
61
  }
62
- else if (x(e))
62
+ else if (R(e))
63
63
  for (const n in e)
64
64
  e[n] && (t += n + " ");
65
65
  return t.trim();
@@ -69,11 +69,11 @@ function Mt(e) {
69
69
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
70
70
  * @license MIT
71
71
  **/
72
- function K(e, ...t) {
72
+ function W(e, ...t) {
73
73
  }
74
- let v;
74
+ let E;
75
75
  const ut = /* @__PURE__ */ new WeakSet();
76
- class Oo {
76
+ class So {
77
77
  constructor(t) {
78
78
  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;
79
79
  }
@@ -93,14 +93,14 @@ class Oo {
93
93
  if (!(this.flags & 1))
94
94
  return this.fn();
95
95
  this.flags |= 2, nn(this), gn(this);
96
- const t = v, n = P;
97
- v = this, P = !0;
96
+ const t = E, n = k;
97
+ E = this, k = !0;
98
98
  try {
99
99
  return this.fn();
100
100
  } finally {
101
- process.env.NODE_ENV !== "production" && v !== this && K(
101
+ process.env.NODE_ENV !== "production" && E !== this && W(
102
102
  "Active effect was not restored correctly - this is likely a Vue internal bug."
103
- ), _n(this), v = t, P = n, this.flags &= -3;
103
+ ), _n(this), E = t, k = n, this.flags &= -3;
104
104
  }
105
105
  }
106
106
  stop() {
@@ -123,15 +123,15 @@ class Oo {
123
123
  return Nt(this);
124
124
  }
125
125
  }
126
- let hn = 0, we, ye;
126
+ let hn = 0, Ce, ye;
127
127
  function mn(e, t = !1) {
128
128
  if (e.flags |= 8, t) {
129
129
  e.next = ye, ye = e;
130
130
  return;
131
131
  }
132
- e.next = we, we = e;
132
+ e.next = Ce, Ce = e;
133
133
  }
134
- function Ht() {
134
+ function Mt() {
135
135
  hn++;
136
136
  }
137
137
  function Lt() {
@@ -145,15 +145,15 @@ function Lt() {
145
145
  }
146
146
  }
147
147
  let e;
148
- for (; we; ) {
149
- let t = we;
150
- for (we = void 0; t; ) {
148
+ for (; Ce; ) {
149
+ let t = Ce;
150
+ for (Ce = void 0; t; ) {
151
151
  const n = t.next;
152
152
  if (t.next = void 0, t.flags &= -9, t.flags & 1)
153
153
  try {
154
154
  t.trigger();
155
- } catch (r) {
156
- e || (e = r);
155
+ } catch (o) {
156
+ e || (e = o);
157
157
  }
158
158
  t = n;
159
159
  }
@@ -165,10 +165,10 @@ function gn(e) {
165
165
  t.version = -1, t.prevActiveLink = t.dep.activeLink, t.dep.activeLink = t;
166
166
  }
167
167
  function _n(e) {
168
- let t, n = e.depsTail, r = n;
169
- for (; r; ) {
170
- const o = r.prevDep;
171
- r.version === -1 ? (r === n && (n = o), Kt(r), So(r)) : t = r, r.dep.activeLink = r.prevActiveLink, r.prevActiveLink = void 0, r = o;
168
+ let t, n = e.depsTail, o = n;
169
+ for (; o; ) {
170
+ const r = o.prevDep;
171
+ o.version === -1 ? (o === n && (n = r), Kt(o), Oo(o)) : t = o, o.dep.activeLink = o.prevActiveLink, o.prevActiveLink = void 0, o = r;
172
172
  }
173
173
  e.deps = t, e.depsTail = n;
174
174
  }
@@ -187,49 +187,49 @@ function vn(e) {
187
187
  e.flags &= -3;
188
188
  return;
189
189
  }
190
- const n = v, r = P;
191
- v = e, P = !0;
190
+ const n = E, o = k;
191
+ E = e, k = !0;
192
192
  try {
193
193
  gn(e);
194
- const o = e.fn(e._value);
195
- (t.version === 0 || q(o, e._value)) && (e._value = o, t.version++);
196
- } catch (o) {
197
- throw t.version++, o;
194
+ const r = e.fn(e._value);
195
+ (t.version === 0 || Q(r, e._value)) && (e._value = r, t.version++);
196
+ } catch (r) {
197
+ throw t.version++, r;
198
198
  } finally {
199
- v = n, P = r, _n(e), e.flags &= -3;
199
+ E = n, k = o, _n(e), e.flags &= -3;
200
200
  }
201
201
  }
202
202
  function Kt(e, t = !1) {
203
- const { dep: n, prevSub: r, nextSub: o } = e;
204
- 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)) {
203
+ const { dep: n, prevSub: o, nextSub: r } = e;
204
+ if (o && (o.nextSub = r, e.prevSub = void 0), r && (r.prevSub = o, e.nextSub = void 0), process.env.NODE_ENV !== "production" && n.subsHead === e && (n.subsHead = r), n.subs === e && (n.subs = o, !o && n.computed)) {
205
205
  n.computed.flags &= -5;
206
206
  for (let s = n.computed.deps; s; s = s.nextDep)
207
207
  Kt(s, !0);
208
208
  }
209
209
  !t && !--n.sc && n.map && n.map.delete(n.key);
210
210
  }
211
- function So(e) {
211
+ function Oo(e) {
212
212
  const { prevDep: t, nextDep: n } = e;
213
213
  t && (t.nextDep = n, e.prevDep = void 0), n && (n.prevDep = t, e.nextDep = void 0);
214
214
  }
215
- let P = !0;
215
+ let k = !0;
216
216
  const bn = [];
217
217
  function rt() {
218
- bn.push(P), P = !1;
218
+ bn.push(k), k = !1;
219
219
  }
220
220
  function st() {
221
221
  const e = bn.pop();
222
- P = e === void 0 ? !0 : e;
222
+ k = e === void 0 ? !0 : e;
223
223
  }
224
224
  function nn(e) {
225
225
  const { cleanup: t } = e;
226
226
  if (e.cleanup = void 0, t) {
227
- const n = v;
228
- v = void 0;
227
+ const n = E;
228
+ E = void 0;
229
229
  try {
230
230
  t();
231
231
  } finally {
232
- v = n;
232
+ E = n;
233
233
  }
234
234
  }
235
235
  }
@@ -244,19 +244,19 @@ class zt {
244
244
  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, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
245
245
  }
246
246
  track(t) {
247
- if (!v || !P || v === this.computed)
247
+ if (!E || !k || E === this.computed)
248
248
  return;
249
249
  let n = this.activeLink;
250
- if (n === void 0 || n.sub !== v)
251
- n = this.activeLink = new $o(v, this), v.deps ? (n.prevDep = v.depsTail, v.depsTail.nextDep = n, v.depsTail = n) : v.deps = v.depsTail = n, En(n);
250
+ if (n === void 0 || n.sub !== E)
251
+ n = this.activeLink = new $o(E, this), E.deps ? (n.prevDep = E.depsTail, E.depsTail.nextDep = n, E.depsTail = n) : E.deps = E.depsTail = n, En(n);
252
252
  else if (n.version === -1 && (n.version = this.version, n.nextDep)) {
253
- const r = n.nextDep;
254
- r.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = r), n.prevDep = v.depsTail, n.nextDep = void 0, v.depsTail.nextDep = n, v.depsTail = n, v.deps === n && (v.deps = r);
253
+ const o = n.nextDep;
254
+ o.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = o), n.prevDep = E.depsTail, n.nextDep = void 0, E.depsTail.nextDep = n, E.depsTail = n, E.deps === n && (E.deps = o);
255
255
  }
256
- return process.env.NODE_ENV !== "production" && v.onTrack && v.onTrack(
257
- V(
256
+ return process.env.NODE_ENV !== "production" && E.onTrack && E.onTrack(
257
+ T(
258
258
  {
259
- effect: v
259
+ effect: E
260
260
  },
261
261
  t
262
262
  )
@@ -266,12 +266,12 @@ class zt {
266
266
  this.version++, Oe++, this.notify(t);
267
267
  }
268
268
  notify(t) {
269
- Ht();
269
+ Mt();
270
270
  try {
271
271
  if (process.env.NODE_ENV !== "production")
272
272
  for (let n = this.subsHead; n; n = n.nextSub)
273
273
  n.sub.onTrigger && !(n.sub.flags & 8) && n.sub.onTrigger(
274
- V(
274
+ T(
275
275
  {
276
276
  effect: n.sub
277
277
  },
@@ -290,113 +290,113 @@ function En(e) {
290
290
  const t = e.dep.computed;
291
291
  if (t && !e.dep.subs) {
292
292
  t.flags |= 20;
293
- for (let r = t.deps; r; r = r.nextDep)
294
- En(r);
293
+ for (let o = t.deps; o; o = o.nextDep)
294
+ En(o);
295
295
  }
296
296
  const n = e.dep.subs;
297
297
  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;
298
298
  }
299
299
  }
300
- const wt = /* @__PURE__ */ new WeakMap(), ee = Symbol(
300
+ const wt = /* @__PURE__ */ new WeakMap(), re = Symbol(
301
301
  process.env.NODE_ENV !== "production" ? "Object iterate" : ""
302
- ), yt = Symbol(
302
+ ), Ct = Symbol(
303
303
  process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
304
- ), Se = Symbol(
304
+ ), $e = Symbol(
305
305
  process.env.NODE_ENV !== "production" ? "Array iterate" : ""
306
306
  );
307
- function y(e, t, n) {
308
- if (P && v) {
309
- let r = wt.get(e);
310
- r || wt.set(e, r = /* @__PURE__ */ new Map());
311
- let o = r.get(n);
312
- o || (r.set(n, o = new zt()), o.map = r, o.key = n), process.env.NODE_ENV !== "production" ? o.track({
307
+ function O(e, t, n) {
308
+ if (k && E) {
309
+ let o = wt.get(e);
310
+ o || wt.set(e, o = /* @__PURE__ */ new Map());
311
+ let r = o.get(n);
312
+ r || (o.set(n, r = new zt()), r.map = o, r.key = n), process.env.NODE_ENV !== "production" ? r.track({
313
313
  target: e,
314
314
  type: t,
315
315
  key: n
316
- }) : o.track();
316
+ }) : r.track();
317
317
  }
318
318
  }
319
- function G(e, t, n, r, o, s) {
319
+ function q(e, t, n, o, r, s) {
320
320
  const c = wt.get(e);
321
321
  if (!c) {
322
322
  Oe++;
323
323
  return;
324
324
  }
325
- const l = (u) => {
325
+ const a = (u) => {
326
326
  u && (process.env.NODE_ENV !== "production" ? u.trigger({
327
327
  target: e,
328
328
  type: t,
329
329
  key: n,
330
- newValue: r,
331
- oldValue: o,
330
+ newValue: o,
331
+ oldValue: r,
332
332
  oldTarget: s
333
333
  }) : u.trigger());
334
334
  };
335
- if (Ht(), t === "clear")
336
- c.forEach(l);
335
+ if (Mt(), t === "clear")
336
+ c.forEach(a);
337
337
  else {
338
- const u = b(e), h = u && jt(n);
338
+ const u = w(e), f = u && jt(n);
339
339
  if (u && n === "length") {
340
- const a = Number(r);
341
- c.forEach((i, d) => {
342
- (d === "length" || d === Se || !Ve(d) && d >= a) && l(i);
340
+ const p = Number(o);
341
+ c.forEach((i, l) => {
342
+ (l === "length" || l === $e || !Ae(l) && l >= p) && a(i);
343
343
  });
344
344
  } else
345
- switch ((n !== void 0 || c.has(void 0)) && l(c.get(n)), h && l(c.get(Se)), t) {
345
+ switch ((n !== void 0 || c.has(void 0)) && a(c.get(n)), f && a(c.get($e)), t) {
346
346
  case "add":
347
- u ? h && l(c.get("length")) : (l(c.get(ee)), me(e) && l(c.get(yt)));
347
+ u ? f && a(c.get("length")) : (a(c.get(re)), _e(e) && a(c.get(Ct)));
348
348
  break;
349
349
  case "delete":
350
- u || (l(c.get(ee)), me(e) && l(c.get(yt)));
350
+ u || (a(c.get(re)), _e(e) && a(c.get(Ct)));
351
351
  break;
352
352
  case "set":
353
- me(e) && l(c.get(ee));
353
+ _e(e) && a(c.get(re));
354
354
  break;
355
355
  }
356
356
  }
357
357
  Lt();
358
358
  }
359
- function ae(e) {
360
- const t = g(e);
361
- return t === e ? t : (y(t, "iterate", Se), D(e) ? t : t.map(S));
359
+ function pe(e) {
360
+ const t = v(e);
361
+ return t === e ? t : (O(t, "iterate", $e), I(e) ? t : t.map(V));
362
362
  }
363
363
  function Ut(e) {
364
- return y(e = g(e), "iterate", Se), e;
364
+ return O(e = v(e), "iterate", $e), e;
365
365
  }
366
366
  const xo = {
367
367
  __proto__: null,
368
368
  [Symbol.iterator]() {
369
- return pt(this, Symbol.iterator, S);
369
+ return pt(this, Symbol.iterator, V);
370
370
  },
371
371
  concat(...e) {
372
- return ae(this).concat(
373
- ...e.map((t) => b(t) ? ae(t) : t)
372
+ return pe(this).concat(
373
+ ...e.map((t) => w(t) ? pe(t) : t)
374
374
  );
375
375
  },
376
376
  entries() {
377
- return pt(this, "entries", (e) => (e[1] = S(e[1]), e));
377
+ return pt(this, "entries", (e) => (e[1] = V(e[1]), e));
378
378
  },
379
379
  every(e, t) {
380
- return M(this, "every", e, t, void 0, arguments);
380
+ return K(this, "every", e, t, void 0, arguments);
381
381
  },
382
382
  filter(e, t) {
383
- return M(this, "filter", e, t, (n) => n.map(S), arguments);
383
+ return K(this, "filter", e, t, (n) => n.map(V), arguments);
384
384
  },
385
385
  find(e, t) {
386
- return M(this, "find", e, t, S, arguments);
386
+ return K(this, "find", e, t, V, arguments);
387
387
  },
388
388
  findIndex(e, t) {
389
- return M(this, "findIndex", e, t, void 0, arguments);
389
+ return K(this, "findIndex", e, t, void 0, arguments);
390
390
  },
391
391
  findLast(e, t) {
392
- return M(this, "findLast", e, t, S, arguments);
392
+ return K(this, "findLast", e, t, V, arguments);
393
393
  },
394
394
  findLastIndex(e, t) {
395
- return M(this, "findLastIndex", e, t, void 0, arguments);
395
+ return K(this, "findLastIndex", e, t, void 0, arguments);
396
396
  },
397
397
  // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
398
398
  forEach(e, t) {
399
- return M(this, "forEach", e, t, void 0, arguments);
399
+ return K(this, "forEach", e, t, void 0, arguments);
400
400
  },
401
401
  includes(...e) {
402
402
  return ft(this, "includes", e);
@@ -405,20 +405,20 @@ const xo = {
405
405
  return ft(this, "indexOf", e);
406
406
  },
407
407
  join(e) {
408
- return ae(this).join(e);
408
+ return pe(this).join(e);
409
409
  },
410
410
  // keys() iterator only reads `length`, no optimisation required
411
411
  lastIndexOf(...e) {
412
412
  return ft(this, "lastIndexOf", e);
413
413
  },
414
414
  map(e, t) {
415
- return M(this, "map", e, t, void 0, arguments);
415
+ return K(this, "map", e, t, void 0, arguments);
416
416
  },
417
417
  pop() {
418
- return Ee(this, "pop");
418
+ return Ne(this, "pop");
419
419
  },
420
420
  push(...e) {
421
- return Ee(this, "push", e);
421
+ return Ne(this, "push", e);
422
422
  },
423
423
  reduce(e, ...t) {
424
424
  return on(this, "reduce", e, t);
@@ -427,185 +427,185 @@ const xo = {
427
427
  return on(this, "reduceRight", e, t);
428
428
  },
429
429
  shift() {
430
- return Ee(this, "shift");
430
+ return Ne(this, "shift");
431
431
  },
432
432
  // slice could use ARRAY_ITERATE but also seems to beg for range tracking
433
433
  some(e, t) {
434
- return M(this, "some", e, t, void 0, arguments);
434
+ return K(this, "some", e, t, void 0, arguments);
435
435
  },
436
436
  splice(...e) {
437
- return Ee(this, "splice", e);
437
+ return Ne(this, "splice", e);
438
438
  },
439
439
  toReversed() {
440
- return ae(this).toReversed();
440
+ return pe(this).toReversed();
441
441
  },
442
442
  toSorted(e) {
443
- return ae(this).toSorted(e);
443
+ return pe(this).toSorted(e);
444
444
  },
445
445
  toSpliced(...e) {
446
- return ae(this).toSpliced(...e);
446
+ return pe(this).toSpliced(...e);
447
447
  },
448
448
  unshift(...e) {
449
- return Ee(this, "unshift", e);
449
+ return Ne(this, "unshift", e);
450
450
  },
451
451
  values() {
452
- return pt(this, "values", S);
452
+ return pt(this, "values", V);
453
453
  }
454
454
  };
455
455
  function pt(e, t, n) {
456
- const r = Ut(e), o = r[t]();
457
- return r !== e && !D(e) && (o._next = o.next, o.next = () => {
458
- const s = o._next();
456
+ const o = Ut(e), r = o[t]();
457
+ return o !== e && !I(e) && (r._next = r.next, r.next = () => {
458
+ const s = r._next();
459
459
  return s.value && (s.value = n(s.value)), s;
460
- }), o;
460
+ }), r;
461
461
  }
462
462
  const Do = Array.prototype;
463
- function M(e, t, n, r, o, s) {
464
- const c = Ut(e), l = c !== e && !D(e), u = c[t];
463
+ function K(e, t, n, o, r, s) {
464
+ const c = Ut(e), a = c !== e && !I(e), u = c[t];
465
465
  if (u !== Do[t]) {
466
466
  const i = u.apply(e, s);
467
- return l ? S(i) : i;
467
+ return a ? V(i) : i;
468
468
  }
469
- let h = n;
470
- c !== e && (l ? h = function(i, d) {
471
- return n.call(this, S(i), d, e);
472
- } : n.length > 2 && (h = function(i, d) {
473
- return n.call(this, i, d, e);
469
+ let f = n;
470
+ c !== e && (a ? f = function(i, l) {
471
+ return n.call(this, V(i), l, e);
472
+ } : n.length > 2 && (f = function(i, l) {
473
+ return n.call(this, i, l, e);
474
474
  }));
475
- const a = u.call(c, h, r);
476
- return l && o ? o(a) : a;
475
+ const p = u.call(c, f, o);
476
+ return a && r ? r(p) : p;
477
477
  }
478
- function on(e, t, n, r) {
479
- const o = Ut(e);
478
+ function on(e, t, n, o) {
479
+ const r = Ut(e);
480
480
  let s = n;
481
- return o !== e && (D(e) ? n.length > 3 && (s = function(c, l, u) {
482
- return n.call(this, c, l, u, e);
483
- }) : s = function(c, l, u) {
484
- return n.call(this, c, S(l), u, e);
485
- }), o[t](s, ...r);
481
+ return r !== e && (I(e) ? n.length > 3 && (s = function(c, a, u) {
482
+ return n.call(this, c, a, u, e);
483
+ }) : s = function(c, a, u) {
484
+ return n.call(this, c, V(a), u, e);
485
+ }), r[t](s, ...o);
486
486
  }
487
487
  function ft(e, t, n) {
488
- const r = g(e);
489
- y(r, "iterate", Se);
490
- const o = r[t](...n);
491
- return (o === -1 || o === !1) && Ke(n[0]) ? (n[0] = g(n[0]), r[t](...n)) : o;
488
+ const o = v(e);
489
+ O(o, "iterate", $e);
490
+ const r = o[t](...n);
491
+ return (r === -1 || r === !1) && Ke(n[0]) ? (n[0] = v(n[0]), o[t](...n)) : r;
492
492
  }
493
- function Ee(e, t, n = []) {
494
- rt(), Ht();
495
- const r = g(e)[t].apply(e, n);
496
- return Lt(), st(), r;
493
+ function Ne(e, t, n = []) {
494
+ rt(), Mt();
495
+ const o = v(e)[t].apply(e, n);
496
+ return Lt(), st(), o;
497
497
  }
498
498
  const Vo = /* @__PURE__ */ uo("__proto__,__v_isRef,__isVue"), Nn = new Set(
499
- /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ve)
499
+ /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Ae)
500
500
  );
501
501
  function Ao(e) {
502
- Ve(e) || (e = String(e));
503
- const t = g(this);
504
- return y(t, "has", e), t.hasOwnProperty(e);
502
+ Ae(e) || (e = String(e));
503
+ const t = v(this);
504
+ return O(t, "has", e), t.hasOwnProperty(e);
505
505
  }
506
506
  class wn {
507
507
  constructor(t = !1, n = !1) {
508
508
  this._isReadonly = t, this._isShallow = n;
509
509
  }
510
- get(t, n, r) {
510
+ get(t, n, o) {
511
511
  if (n === "__v_skip") return t.__v_skip;
512
- const o = this._isReadonly, s = this._isShallow;
512
+ const r = this._isReadonly, s = this._isShallow;
513
513
  if (n === "__v_isReactive")
514
- return !o;
514
+ return !r;
515
515
  if (n === "__v_isReadonly")
516
- return o;
516
+ return r;
517
517
  if (n === "__v_isShallow")
518
518
  return s;
519
519
  if (n === "__v_raw")
520
- return r === (o ? s ? Sn : On : s ? Lo : Cn).get(t) || // receiver is not the reactive proxy, but has the same prototype
520
+ return o === (r ? s ? On : Sn : s ? Lo : yn).get(t) || // receiver is not the reactive proxy, but has the same prototype
521
521
  // this means the receiver is a user proxy of the reactive proxy
522
- Object.getPrototypeOf(t) === Object.getPrototypeOf(r) ? t : void 0;
523
- const c = b(t);
524
- if (!o) {
522
+ Object.getPrototypeOf(t) === Object.getPrototypeOf(o) ? t : void 0;
523
+ const c = w(t);
524
+ if (!r) {
525
525
  let u;
526
526
  if (c && (u = xo[n]))
527
527
  return u;
528
528
  if (n === "hasOwnProperty")
529
529
  return Ao;
530
530
  }
531
- const l = Reflect.get(
531
+ const a = Reflect.get(
532
532
  t,
533
533
  n,
534
534
  // if this is a proxy wrapping a ref, return methods using the raw ref
535
535
  // as receiver so that we don't have to call `toRaw` on the ref in all
536
536
  // its class methods
537
- $(t) ? t : r
537
+ A(t) ? t : o
538
538
  );
539
- return (Ve(n) ? Nn.has(n) : Vo(n)) || (o || y(t, "get", n), s) ? l : $(l) ? c && jt(n) ? l : l.value : x(l) ? o ? Le(l) : $n(l) : l;
539
+ return (Ae(n) ? Nn.has(n) : Vo(n)) || (r || O(t, "get", n), s) ? a : A(a) ? c && jt(n) ? a : a.value : R(a) ? r ? Le(a) : $n(a) : a;
540
540
  }
541
541
  }
542
542
  class Ro extends wn {
543
543
  constructor(t = !1) {
544
544
  super(!1, t);
545
545
  }
546
- set(t, n, r, o) {
546
+ set(t, n, o, r) {
547
547
  let s = t[n];
548
548
  if (!this._isShallow) {
549
- const u = z(s);
550
- if (!D(r) && !z(r) && (s = g(s), r = g(r)), !b(t) && $(s) && !$(r))
551
- return u ? !1 : (s.value = r, !0);
549
+ const u = G(s);
550
+ if (!I(o) && !G(o) && (s = v(s), o = v(o)), !w(t) && A(s) && !A(o))
551
+ return u ? !1 : (s.value = o, !0);
552
552
  }
553
- const c = b(t) && jt(n) ? Number(n) < t.length : w(t, n), l = Reflect.set(
553
+ const c = w(t) && jt(n) ? Number(n) < t.length : S(t, n), a = Reflect.set(
554
554
  t,
555
555
  n,
556
- r,
557
- $(t) ? t : o
556
+ o,
557
+ A(t) ? t : r
558
558
  );
559
- return t === g(o) && (c ? q(r, s) && G(t, "set", n, r, s) : G(t, "add", n, r)), l;
559
+ return t === v(r) && (c ? Q(o, s) && q(t, "set", n, o, s) : q(t, "add", n, o)), a;
560
560
  }
561
561
  deleteProperty(t, n) {
562
- const r = w(t, n), o = t[n], s = Reflect.deleteProperty(t, n);
563
- return s && r && G(t, "delete", n, void 0, o), s;
562
+ const o = S(t, n), r = t[n], s = Reflect.deleteProperty(t, n);
563
+ return s && o && q(t, "delete", n, void 0, r), s;
564
564
  }
565
565
  has(t, n) {
566
- const r = Reflect.has(t, n);
567
- return (!Ve(n) || !Nn.has(n)) && y(t, "has", n), r;
566
+ const o = Reflect.has(t, n);
567
+ return (!Ae(n) || !Nn.has(n)) && O(t, "has", n), o;
568
568
  }
569
569
  ownKeys(t) {
570
- return y(
570
+ return O(
571
571
  t,
572
572
  "iterate",
573
- b(t) ? "length" : ee
573
+ w(t) ? "length" : re
574
574
  ), Reflect.ownKeys(t);
575
575
  }
576
576
  }
577
- class yn extends wn {
577
+ class Cn extends wn {
578
578
  constructor(t = !1) {
579
579
  super(!0, t);
580
580
  }
581
581
  set(t, n) {
582
- return process.env.NODE_ENV !== "production" && K(
582
+ return process.env.NODE_ENV !== "production" && W(
583
583
  `Set operation on key "${String(n)}" failed: target is readonly.`,
584
584
  t
585
585
  ), !0;
586
586
  }
587
587
  deleteProperty(t, n) {
588
- return process.env.NODE_ENV !== "production" && K(
588
+ return process.env.NODE_ENV !== "production" && W(
589
589
  `Delete operation on key "${String(n)}" failed: target is readonly.`,
590
590
  t
591
591
  ), !0;
592
592
  }
593
593
  }
594
- const To = /* @__PURE__ */ new Ro(), Io = /* @__PURE__ */ new yn(), Po = /* @__PURE__ */ new yn(!0), Ct = (e) => e, Ie = (e) => Reflect.getPrototypeOf(e);
594
+ const Io = /* @__PURE__ */ new Ro(), To = /* @__PURE__ */ new Cn(), Po = /* @__PURE__ */ new Cn(!0), yt = (e) => e, Te = (e) => Reflect.getPrototypeOf(e);
595
595
  function Fo(e, t, n) {
596
- return function(...r) {
597
- const o = this.__v_raw, s = g(o), c = me(s), l = e === "entries" || e === Symbol.iterator && c, u = e === "keys" && c, h = o[e](...r), a = n ? Ct : t ? Ot : S;
598
- return !t && y(
596
+ return function(...o) {
597
+ const r = this.__v_raw, s = v(r), c = _e(s), a = e === "entries" || e === Symbol.iterator && c, u = e === "keys" && c, f = r[e](...o), p = n ? yt : t ? St : V;
598
+ return !t && O(
599
599
  s,
600
600
  "iterate",
601
- u ? yt : ee
601
+ u ? Ct : re
602
602
  ), {
603
603
  // iterator protocol
604
604
  next() {
605
- const { value: i, done: d } = h.next();
606
- return d ? { value: i, done: d } : {
607
- value: l ? [a(i[0]), a(i[1])] : a(i),
608
- done: d
605
+ const { value: i, done: l } = f.next();
606
+ return l ? { value: i, done: l } : {
607
+ value: a ? [p(i[0]), p(i[1])] : p(i),
608
+ done: l
609
609
  };
610
610
  },
611
611
  // iterable protocol
@@ -619,9 +619,9 @@ function Pe(e) {
619
619
  return function(...t) {
620
620
  if (process.env.NODE_ENV !== "production") {
621
621
  const n = t[0] ? `on key "${t[0]}" ` : "";
622
- K(
622
+ W(
623
623
  `${bo(e)} operation ${n}failed: target is readonly.`,
624
- g(this)
624
+ v(this)
625
625
  );
626
626
  }
627
627
  return e === "delete" ? !1 : e === "clear" ? void 0 : this;
@@ -629,30 +629,30 @@ function Pe(e) {
629
629
  }
630
630
  function jo(e, t) {
631
631
  const n = {
632
- get(o) {
633
- const s = this.__v_raw, c = g(s), l = g(o);
634
- e || (q(o, l) && y(c, "get", o), y(c, "get", l));
635
- const { has: u } = Ie(c), h = t ? Ct : e ? Ot : S;
636
- if (u.call(c, o))
637
- return h(s.get(o));
638
- if (u.call(c, l))
639
- return h(s.get(l));
640
- s !== c && s.get(o);
632
+ get(r) {
633
+ const s = this.__v_raw, c = v(s), a = v(r);
634
+ e || (Q(r, a) && O(c, "get", r), O(c, "get", a));
635
+ const { has: u } = Te(c), f = t ? yt : e ? St : V;
636
+ if (u.call(c, r))
637
+ return f(s.get(r));
638
+ if (u.call(c, a))
639
+ return f(s.get(a));
640
+ s !== c && s.get(r);
641
641
  },
642
642
  get size() {
643
- const o = this.__v_raw;
644
- return !e && y(g(o), "iterate", ee), Reflect.get(o, "size", o);
643
+ const r = this.__v_raw;
644
+ return !e && O(v(r), "iterate", re), Reflect.get(r, "size", r);
645
645
  },
646
- has(o) {
647
- const s = this.__v_raw, c = g(s), l = g(o);
648
- return e || (q(o, l) && y(c, "has", o), y(c, "has", l)), o === l ? s.has(o) : s.has(o) || s.has(l);
646
+ has(r) {
647
+ const s = this.__v_raw, c = v(s), a = v(r);
648
+ return e || (Q(r, a) && O(c, "has", r), O(c, "has", a)), r === a ? s.has(r) : s.has(r) || s.has(a);
649
649
  },
650
- forEach(o, s) {
651
- const c = this, l = c.__v_raw, u = g(l), h = t ? Ct : e ? Ot : S;
652
- return !e && y(u, "iterate", ee), l.forEach((a, i) => o.call(s, h(a), h(i), c));
650
+ forEach(r, s) {
651
+ const c = this, a = c.__v_raw, u = v(a), f = t ? yt : e ? St : V;
652
+ return !e && O(u, "iterate", re), a.forEach((p, i) => r.call(s, f(p), f(i), c));
653
653
  }
654
654
  };
655
- return V(
655
+ return T(
656
656
  n,
657
657
  e ? {
658
658
  add: Pe("add"),
@@ -660,35 +660,35 @@ function jo(e, t) {
660
660
  delete: Pe("delete"),
661
661
  clear: Pe("clear")
662
662
  } : {
663
- add(o) {
664
- !t && !D(o) && !z(o) && (o = g(o));
665
- const s = g(this);
666
- return Ie(s).has.call(s, o) || (s.add(o), G(s, "add", o, o)), this;
663
+ add(r) {
664
+ !t && !I(r) && !G(r) && (r = v(r));
665
+ const s = v(this);
666
+ return Te(s).has.call(s, r) || (s.add(r), q(s, "add", r, r)), this;
667
667
  },
668
- set(o, s) {
669
- !t && !D(s) && !z(s) && (s = g(s));
670
- const c = g(this), { has: l, get: u } = Ie(c);
671
- let h = l.call(c, o);
672
- h ? process.env.NODE_ENV !== "production" && rn(c, l, o) : (o = g(o), h = l.call(c, o));
673
- const a = u.call(c, o);
674
- return c.set(o, s), h ? q(s, a) && G(c, "set", o, s, a) : G(c, "add", o, s), this;
668
+ set(r, s) {
669
+ !t && !I(s) && !G(s) && (s = v(s));
670
+ const c = v(this), { has: a, get: u } = Te(c);
671
+ let f = a.call(c, r);
672
+ f ? process.env.NODE_ENV !== "production" && rn(c, a, r) : (r = v(r), f = a.call(c, r));
673
+ const p = u.call(c, r);
674
+ return c.set(r, s), f ? Q(s, p) && q(c, "set", r, s, p) : q(c, "add", r, s), this;
675
675
  },
676
- delete(o) {
677
- const s = g(this), { has: c, get: l } = Ie(s);
678
- let u = c.call(s, o);
679
- u ? process.env.NODE_ENV !== "production" && rn(s, c, o) : (o = g(o), u = c.call(s, o));
680
- const h = l ? l.call(s, o) : void 0, a = s.delete(o);
681
- return u && G(s, "delete", o, void 0, h), a;
676
+ delete(r) {
677
+ const s = v(this), { has: c, get: a } = Te(s);
678
+ let u = c.call(s, r);
679
+ u ? process.env.NODE_ENV !== "production" && rn(s, c, r) : (r = v(r), u = c.call(s, r));
680
+ const f = a ? a.call(s, r) : void 0, p = s.delete(r);
681
+ return u && q(s, "delete", r, void 0, f), p;
682
682
  },
683
683
  clear() {
684
- const o = g(this), s = o.size !== 0, c = process.env.NODE_ENV !== "production" ? me(o) ? new Map(o) : new Set(o) : void 0, l = o.clear();
685
- return s && G(
686
- o,
684
+ const r = v(this), s = r.size !== 0, c = process.env.NODE_ENV !== "production" ? _e(r) ? new Map(r) : new Set(r) : void 0, a = r.clear();
685
+ return s && q(
686
+ r,
687
687
  "clear",
688
688
  void 0,
689
689
  void 0,
690
690
  c
691
- ), l;
691
+ ), a;
692
692
  }
693
693
  }
694
694
  ), [
@@ -696,35 +696,35 @@ function jo(e, t) {
696
696
  "values",
697
697
  "entries",
698
698
  Symbol.iterator
699
- ].forEach((o) => {
700
- n[o] = Fo(o, e, t);
699
+ ].forEach((r) => {
700
+ n[r] = Fo(r, e, t);
701
701
  }), n;
702
702
  }
703
703
  function Wt(e, t) {
704
704
  const n = jo(e, t);
705
- return (r, o, s) => o === "__v_isReactive" ? !e : o === "__v_isReadonly" ? e : o === "__v_raw" ? r : Reflect.get(
706
- w(n, o) && o in r ? n : r,
707
- o,
705
+ return (o, r, s) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? o : Reflect.get(
706
+ S(n, r) && r in o ? n : o,
707
+ r,
708
708
  s
709
709
  );
710
710
  }
711
711
  const ko = {
712
712
  get: /* @__PURE__ */ Wt(!1, !1)
713
- }, Mo = {
714
- get: /* @__PURE__ */ Wt(!0, !1)
715
713
  }, Ho = {
714
+ get: /* @__PURE__ */ Wt(!0, !1)
715
+ }, Mo = {
716
716
  get: /* @__PURE__ */ Wt(!0, !0)
717
717
  };
718
718
  function rn(e, t, n) {
719
- const r = g(n);
720
- if (r !== n && t.call(e, r)) {
721
- const o = dn(e);
722
- K(
723
- `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.`
719
+ const o = v(n);
720
+ if (o !== n && t.call(e, o)) {
721
+ const r = dn(e);
722
+ W(
723
+ `Reactive ${r} contains both the raw and reactive versions of the same object${r === "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.`
724
724
  );
725
725
  }
726
726
  }
727
- const Cn = /* @__PURE__ */ new WeakMap(), Lo = /* @__PURE__ */ new WeakMap(), On = /* @__PURE__ */ new WeakMap(), Sn = /* @__PURE__ */ new WeakMap();
727
+ const yn = /* @__PURE__ */ new WeakMap(), Lo = /* @__PURE__ */ new WeakMap(), Sn = /* @__PURE__ */ new WeakMap(), On = /* @__PURE__ */ new WeakMap();
728
728
  function Ko(e) {
729
729
  switch (e) {
730
730
  case "Object":
@@ -743,85 +743,85 @@ function zo(e) {
743
743
  return e.__v_skip || !Object.isExtensible(e) ? 0 : Ko(dn(e));
744
744
  }
745
745
  function $n(e) {
746
- return z(e) ? e : Gt(
746
+ return G(e) ? e : Gt(
747
747
  e,
748
748
  !1,
749
- To,
749
+ Io,
750
750
  ko,
751
- Cn
751
+ yn
752
752
  );
753
753
  }
754
754
  function Le(e) {
755
755
  return Gt(
756
756
  e,
757
757
  !0,
758
- Io,
759
- Mo,
760
- On
758
+ To,
759
+ Ho,
760
+ Sn
761
761
  );
762
762
  }
763
- function J(e) {
763
+ function Z(e) {
764
764
  return Gt(
765
765
  e,
766
766
  !0,
767
767
  Po,
768
- Ho,
769
- Sn
768
+ Mo,
769
+ On
770
770
  );
771
771
  }
772
- function Gt(e, t, n, r, o) {
773
- if (!x(e))
774
- return process.env.NODE_ENV !== "production" && K(
772
+ function Gt(e, t, n, o, r) {
773
+ if (!R(e))
774
+ return process.env.NODE_ENV !== "production" && W(
775
775
  `value cannot be made ${t ? "readonly" : "reactive"}: ${String(
776
776
  e
777
777
  )}`
778
778
  ), e;
779
779
  if (e.__v_raw && !(t && e.__v_isReactive))
780
780
  return e;
781
- const s = o.get(e);
781
+ const s = r.get(e);
782
782
  if (s)
783
783
  return s;
784
784
  const c = zo(e);
785
785
  if (c === 0)
786
786
  return e;
787
- const l = new Proxy(
787
+ const a = new Proxy(
788
788
  e,
789
- c === 2 ? r : n
789
+ c === 2 ? o : n
790
790
  );
791
- return o.set(e, l), l;
791
+ return r.set(e, a), a;
792
792
  }
793
- function ge(e) {
794
- return z(e) ? ge(e.__v_raw) : !!(e && e.__v_isReactive);
793
+ function ve(e) {
794
+ return G(e) ? ve(e.__v_raw) : !!(e && e.__v_isReactive);
795
795
  }
796
- function z(e) {
796
+ function G(e) {
797
797
  return !!(e && e.__v_isReadonly);
798
798
  }
799
- function D(e) {
799
+ function I(e) {
800
800
  return !!(e && e.__v_isShallow);
801
801
  }
802
802
  function Ke(e) {
803
803
  return e ? !!e.__v_raw : !1;
804
804
  }
805
- function g(e) {
805
+ function v(e) {
806
806
  const t = e && e.__v_raw;
807
- return t ? g(t) : e;
807
+ return t ? v(t) : e;
808
808
  }
809
809
  function Uo(e) {
810
- return !w(e, "__v_skip") && Object.isExtensible(e) && Eo(e, "__v_skip", !0), e;
810
+ return !S(e, "__v_skip") && Object.isExtensible(e) && Eo(e, "__v_skip", !0), e;
811
811
  }
812
- const S = (e) => x(e) ? $n(e) : e, Ot = (e) => x(e) ? Le(e) : e;
813
- function $(e) {
812
+ const V = (e) => R(e) ? $n(e) : e, St = (e) => R(e) ? Le(e) : e;
813
+ function A(e) {
814
814
  return e ? e.__v_isRef === !0 : !1;
815
815
  }
816
816
  function ze(e) {
817
817
  return Wo(e, !1);
818
818
  }
819
819
  function Wo(e, t) {
820
- return $(e) ? e : new Go(e, t);
820
+ return A(e) ? e : new Go(e, t);
821
821
  }
822
822
  class Go {
823
823
  constructor(t, n) {
824
- this.dep = new zt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : g(t), this._value = n ? t : S(t), this.__v_isShallow = n;
824
+ this.dep = new zt(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? t : v(t), this._value = n ? t : V(t), this.__v_isShallow = n;
825
825
  }
826
826
  get value() {
827
827
  return process.env.NODE_ENV !== "production" ? this.dep.track({
@@ -831,8 +831,8 @@ class Go {
831
831
  }) : this.dep.track(), this._value;
832
832
  }
833
833
  set value(t) {
834
- const n = this._rawValue, r = this.__v_isShallow || D(t) || z(t);
835
- t = r ? t : g(t), q(t, n) && (this._rawValue = t, this._value = r ? t : S(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
834
+ const n = this._rawValue, o = this.__v_isShallow || I(t) || G(t);
835
+ t = o ? t : v(t), Q(t, n) && (this._rawValue = t, this._value = o ? t : V(t), process.env.NODE_ENV !== "production" ? this.dep.trigger({
836
836
  target: this,
837
837
  type: "set",
838
838
  key: "value",
@@ -842,28 +842,28 @@ class Go {
842
842
  }
843
843
  }
844
844
  function Bo(e) {
845
- return $(e) ? e.value : e;
845
+ return A(e) ? e.value : e;
846
846
  }
847
847
  const Jo = {
848
848
  get: (e, t, n) => t === "__v_raw" ? e : Bo(Reflect.get(e, t, n)),
849
- set: (e, t, n, r) => {
850
- const o = e[t];
851
- return $(o) && !$(n) ? (o.value = n, !0) : Reflect.set(e, t, n, r);
849
+ set: (e, t, n, o) => {
850
+ const r = e[t];
851
+ return A(r) && !A(n) ? (r.value = n, !0) : Reflect.set(e, t, n, o);
852
852
  }
853
853
  };
854
854
  function qo(e) {
855
- return ge(e) ? e : new Proxy(e, Jo);
855
+ return ve(e) ? e : new Proxy(e, Jo);
856
856
  }
857
857
  class Yo {
858
- constructor(t, n, r) {
859
- this.fn = t, this.setter = n, this._value = void 0, this.dep = new zt(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Oe - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
858
+ constructor(t, n, o) {
859
+ this.fn = t, this.setter = n, this._value = void 0, this.dep = new zt(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Oe - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = o;
860
860
  }
861
861
  /**
862
862
  * @internal
863
863
  */
864
864
  notify() {
865
865
  if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
866
- v !== this)
866
+ E !== this)
867
867
  return mn(this, !0), !0;
868
868
  process.env.NODE_ENV;
869
869
  }
@@ -876,126 +876,126 @@ class Yo {
876
876
  return vn(this), t && (t.version = this.dep.version), this._value;
877
877
  }
878
878
  set value(t) {
879
- this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && K("Write operation failed: computed value is readonly");
879
+ this.setter ? this.setter(t) : process.env.NODE_ENV !== "production" && W("Write operation failed: computed value is readonly");
880
880
  }
881
881
  }
882
882
  function Zo(e, t, n = !1) {
883
- let r, o;
884
- C(e) ? r = e : (r = e.get, o = e.set);
885
- const s = new Yo(r, o, n);
883
+ let o, r;
884
+ $(e) ? o = e : (o = e.get, r = e.set);
885
+ const s = new Yo(o, r, n);
886
886
  return process.env.NODE_ENV, s;
887
887
  }
888
888
  const Fe = {}, Ue = /* @__PURE__ */ new WeakMap();
889
- let Q;
890
- function Qo(e, t = !1, n = Q) {
889
+ let te;
890
+ function Qo(e, t = !1, n = te) {
891
891
  if (n) {
892
- let r = Ue.get(n);
893
- r || Ue.set(n, r = []), r.push(e);
894
- } else process.env.NODE_ENV !== "production" && !t && K(
892
+ let o = Ue.get(n);
893
+ o || Ue.set(n, o = []), o.push(e);
894
+ } else process.env.NODE_ENV !== "production" && !t && W(
895
895
  "onWatcherCleanup() was called when there was no active watcher to associate with."
896
896
  );
897
897
  }
898
- function Xo(e, t, n = I) {
899
- const { immediate: r, deep: o, once: s, scheduler: c, augmentJob: l, call: u } = n, h = (_) => {
900
- (n.onWarn || K)(
898
+ function Xo(e, t, n = j) {
899
+ const { immediate: o, deep: r, once: s, scheduler: c, augmentJob: a, call: u } = n, f = (b) => {
900
+ (n.onWarn || W)(
901
901
  "Invalid watch source: ",
902
- _,
902
+ b,
903
903
  "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
904
904
  );
905
- }, a = (_) => o ? _ : D(_) || o === !1 || o === 0 ? B(_, 1) : B(_);
906
- let i, d, p, f, m = !1, Re = !1;
907
- if ($(e) ? (d = () => e.value, m = D(e)) : ge(e) ? (d = () => a(e), m = !0) : b(e) ? (Re = !0, m = e.some((_) => ge(_) || D(_)), d = () => e.map((_) => {
908
- if ($(_))
909
- return _.value;
910
- if (ge(_))
911
- return a(_);
912
- if (C(_))
913
- return u ? u(_, 2) : _();
914
- process.env.NODE_ENV !== "production" && h(_);
915
- })) : C(e) ? t ? d = u ? () => u(e, 2) : e : d = () => {
916
- if (p) {
905
+ }, p = (b) => r ? b : I(b) || r === !1 || r === 0 ? Y(b, 1) : Y(b);
906
+ let i, l, d, m, h = !1, g = !1;
907
+ if (A(e) ? (l = () => e.value, h = I(e)) : ve(e) ? (l = () => p(e), h = !0) : w(e) ? (g = !0, h = e.some((b) => ve(b) || I(b)), l = () => e.map((b) => {
908
+ if (A(b))
909
+ return b.value;
910
+ if (ve(b))
911
+ return p(b);
912
+ if ($(b))
913
+ return u ? u(b, 2) : b();
914
+ process.env.NODE_ENV !== "production" && f(b);
915
+ })) : $(e) ? t ? l = u ? () => u(e, 2) : e : l = () => {
916
+ if (d) {
917
917
  rt();
918
918
  try {
919
- p();
919
+ d();
920
920
  } finally {
921
921
  st();
922
922
  }
923
923
  }
924
- const _ = Q;
925
- Q = i;
924
+ const b = te;
925
+ te = i;
926
926
  try {
927
- return u ? u(e, 3, [f]) : e(f);
927
+ return u ? u(e, 3, [m]) : e(m);
928
928
  } finally {
929
- Q = _;
929
+ te = b;
930
930
  }
931
- } : (d = X, process.env.NODE_ENV !== "production" && h(e)), t && o) {
932
- const _ = d, F = o === !0 ? 1 / 0 : o;
933
- d = () => B(_(), F);
931
+ } : (l = oe, process.env.NODE_ENV !== "production" && f(e)), t && r) {
932
+ const b = l, H = r === !0 ? 1 / 0 : r;
933
+ l = () => Y(b(), H);
934
934
  }
935
- const ce = () => {
935
+ const _ = () => {
936
936
  i.stop();
937
937
  };
938
938
  if (s && t) {
939
- const _ = t;
940
- t = (...F) => {
941
- _(...F), ce();
939
+ const b = t;
940
+ t = (...H) => {
941
+ b(...H), _();
942
942
  };
943
943
  }
944
- let Z = Re ? new Array(e.length).fill(Fe) : Fe;
945
- const be = (_) => {
946
- if (!(!(i.flags & 1) || !i.dirty && !_))
944
+ let N = g ? new Array(e.length).fill(Fe) : Fe;
945
+ const ee = (b) => {
946
+ if (!(!(i.flags & 1) || !i.dirty && !b))
947
947
  if (t) {
948
- const F = i.run();
949
- if (o || m || (Re ? F.some((lt, Te) => q(lt, Z[Te])) : q(F, Z))) {
950
- p && p();
951
- const lt = Q;
952
- Q = i;
948
+ const H = i.run();
949
+ if (r || h || (g ? H.some((lt, Ie) => Q(lt, N[Ie])) : Q(H, N))) {
950
+ d && d();
951
+ const lt = te;
952
+ te = i;
953
953
  try {
954
- const Te = [
955
- F,
954
+ const Ie = [
955
+ H,
956
956
  // pass undefined as the old value when it's changed for the first time
957
- Z === Fe ? void 0 : Re && Z[0] === Fe ? [] : Z,
958
- f
957
+ N === Fe ? void 0 : g && N[0] === Fe ? [] : N,
958
+ m
959
959
  ];
960
- u ? u(t, 3, Te) : (
960
+ u ? u(t, 3, Ie) : (
961
961
  // @ts-expect-error
962
- t(...Te)
963
- ), Z = F;
962
+ t(...Ie)
963
+ ), N = H;
964
964
  } finally {
965
- Q = lt;
965
+ te = lt;
966
966
  }
967
967
  }
968
968
  } else
969
969
  i.run();
970
970
  };
971
- return l && l(be), i = new Oo(d), i.scheduler = c ? () => c(be, !1) : be, f = (_) => Qo(_, !1, i), p = i.onStop = () => {
972
- const _ = Ue.get(i);
973
- if (_) {
971
+ return a && a(ee), i = new So(l), i.scheduler = c ? () => c(ee, !1) : ee, m = (b) => Qo(b, !1, i), d = i.onStop = () => {
972
+ const b = Ue.get(i);
973
+ if (b) {
974
974
  if (u)
975
- u(_, 4);
975
+ u(b, 4);
976
976
  else
977
- for (const F of _) F();
977
+ for (const H of b) H();
978
978
  Ue.delete(i);
979
979
  }
980
- }, process.env.NODE_ENV !== "production" && (i.onTrack = n.onTrack, i.onTrigger = n.onTrigger), t ? r ? be(!0) : Z = i.run() : c ? c(be.bind(null, !0), !0) : i.run(), ce.pause = i.pause.bind(i), ce.resume = i.resume.bind(i), ce.stop = ce, ce;
980
+ }, process.env.NODE_ENV !== "production" && (i.onTrack = n.onTrack, i.onTrigger = n.onTrigger), t ? o ? ee(!0) : N = i.run() : c ? c(ee.bind(null, !0), !0) : i.run(), _.pause = i.pause.bind(i), _.resume = i.resume.bind(i), _.stop = _, _;
981
981
  }
982
- function B(e, t = 1 / 0, n) {
983
- if (t <= 0 || !x(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
982
+ function Y(e, t = 1 / 0, n) {
983
+ if (t <= 0 || !R(e) || e.__v_skip || (n = n || /* @__PURE__ */ new Set(), n.has(e)))
984
984
  return e;
985
- if (n.add(e), t--, $(e))
986
- B(e.value, t, n);
987
- else if (b(e))
988
- for (let r = 0; r < e.length; r++)
989
- B(e[r], t, n);
990
- else if (ho(e) || me(e))
991
- e.forEach((r) => {
992
- B(r, t, n);
985
+ if (n.add(e), t--, A(e))
986
+ Y(e.value, t, n);
987
+ else if (w(e))
988
+ for (let o = 0; o < e.length; o++)
989
+ Y(e[o], t, n);
990
+ else if (ho(e) || _e(e))
991
+ e.forEach((o) => {
992
+ Y(o, t, n);
993
993
  });
994
994
  else if (_o(e)) {
995
- for (const r in e)
996
- B(e[r], t, n);
997
- for (const r of Object.getOwnPropertySymbols(e))
998
- Object.prototype.propertyIsEnumerable.call(e, r) && B(e[r], t, n);
995
+ for (const o in e)
996
+ Y(e[o], t, n);
997
+ for (const o of Object.getOwnPropertySymbols(e))
998
+ Object.prototype.propertyIsEnumerable.call(e, o) && Y(e[o], t, n);
999
999
  }
1000
1000
  return e;
1001
1001
  }
@@ -1004,46 +1004,46 @@ function B(e, t = 1 / 0, n) {
1004
1004
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
1005
1005
  * @license MIT
1006
1006
  **/
1007
- const te = [];
1007
+ const se = [];
1008
1008
  function er(e) {
1009
- te.push(e);
1009
+ se.push(e);
1010
1010
  }
1011
1011
  function tr() {
1012
- te.pop();
1012
+ se.pop();
1013
1013
  }
1014
1014
  let dt = !1;
1015
- function N(e, ...t) {
1015
+ function y(e, ...t) {
1016
1016
  if (dt) return;
1017
1017
  dt = !0, rt();
1018
- const n = te.length ? te[te.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = nr();
1019
- if (r)
1018
+ const n = se.length ? se[se.length - 1].component : null, o = n && n.appContext.config.warnHandler, r = nr();
1019
+ if (o)
1020
1020
  it(
1021
- r,
1021
+ o,
1022
1022
  n,
1023
1023
  11,
1024
1024
  [
1025
1025
  // eslint-disable-next-line no-restricted-syntax
1026
1026
  e + t.map((s) => {
1027
- var c, l;
1028
- return (l = (c = s.toString) == null ? void 0 : c.call(s)) != null ? l : JSON.stringify(s);
1027
+ var c, a;
1028
+ return (a = (c = s.toString) == null ? void 0 : c.call(s)) != null ? a : JSON.stringify(s);
1029
1029
  }).join(""),
1030
1030
  n && n.proxy,
1031
- o.map(
1031
+ r.map(
1032
1032
  ({ vnode: s }) => `at <${Un(n, s.type)}>`
1033
1033
  ).join(`
1034
1034
  `),
1035
- o
1035
+ r
1036
1036
  ]
1037
1037
  );
1038
1038
  else {
1039
1039
  const s = [`[Vue warn]: ${e}`, ...t];
1040
- o.length && s.push(`
1041
- `, ...or(o));
1040
+ r.length && s.push(`
1041
+ `, ...or(r));
1042
1042
  }
1043
1043
  st(), dt = !1;
1044
1044
  }
1045
1045
  function nr() {
1046
- let e = te[te.length - 1];
1046
+ let e = se[se.length - 1];
1047
1047
  if (!e)
1048
1048
  return [];
1049
1049
  const t = [];
@@ -1053,34 +1053,34 @@ function nr() {
1053
1053
  vnode: e,
1054
1054
  recurseCount: 0
1055
1055
  });
1056
- const r = e.component && e.component.parent;
1057
- e = r && r.vnode;
1056
+ const o = e.component && e.component.parent;
1057
+ e = o && o.vnode;
1058
1058
  }
1059
1059
  return t;
1060
1060
  }
1061
1061
  function or(e) {
1062
1062
  const t = [];
1063
- return e.forEach((n, r) => {
1064
- t.push(...r === 0 ? [] : [`
1063
+ return e.forEach((n, o) => {
1064
+ t.push(...o === 0 ? [] : [`
1065
1065
  `], ...rr(n));
1066
1066
  }), t;
1067
1067
  }
1068
1068
  function rr({ vnode: e, recurseCount: t }) {
1069
- const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${Un(
1069
+ const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, r = ` at <${Un(
1070
1070
  e.component,
1071
1071
  e.type,
1072
- r
1072
+ o
1073
1073
  )}`, s = ">" + n;
1074
- return e.props ? [o, ...sr(e.props), s] : [o + s];
1074
+ return e.props ? [r, ...sr(e.props), s] : [r + s];
1075
1075
  }
1076
1076
  function sr(e) {
1077
1077
  const t = [], n = Object.keys(e);
1078
- return n.slice(0, 3).forEach((r) => {
1079
- t.push(...xn(r, e[r]));
1078
+ return n.slice(0, 3).forEach((o) => {
1079
+ t.push(...xn(o, e[o]));
1080
1080
  }), n.length > 3 && t.push(" ..."), t;
1081
1081
  }
1082
1082
  function xn(e, t, n) {
1083
- return j(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : $(t) ? (t = xn(e, g(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : C(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = g(t), n ? t : [`${e}=`, t]);
1083
+ return M(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : A(t) ? (t = xn(e, v(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : $(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = v(t), n ? t : [`${e}=`, t]);
1084
1084
  }
1085
1085
  const Dn = {
1086
1086
  sp: "serverPrefetch hook",
@@ -1115,66 +1115,66 @@ const Dn = {
1115
1115
  15: "component update",
1116
1116
  16: "app unmount cleanup function"
1117
1117
  };
1118
- function it(e, t, n, r) {
1118
+ function it(e, t, n, o) {
1119
1119
  try {
1120
- return r ? e(...r) : e();
1121
- } catch (o) {
1122
- Bt(o, t, n);
1120
+ return o ? e(...o) : e();
1121
+ } catch (r) {
1122
+ Bt(r, t, n);
1123
1123
  }
1124
1124
  }
1125
- function Vn(e, t, n, r) {
1126
- if (C(e)) {
1127
- const o = it(e, t, n, r);
1128
- return o && mo(o) && o.catch((s) => {
1125
+ function Vn(e, t, n, o) {
1126
+ if ($(e)) {
1127
+ const r = it(e, t, n, o);
1128
+ return r && mo(r) && r.catch((s) => {
1129
1129
  Bt(s, t, n);
1130
- }), o;
1130
+ }), r;
1131
1131
  }
1132
- if (b(e)) {
1133
- const o = [];
1132
+ if (w(e)) {
1133
+ const r = [];
1134
1134
  for (let s = 0; s < e.length; s++)
1135
- o.push(Vn(e[s], t, n, r));
1136
- return o;
1137
- } else process.env.NODE_ENV !== "production" && N(
1135
+ r.push(Vn(e[s], t, n, o));
1136
+ return r;
1137
+ } else process.env.NODE_ENV !== "production" && y(
1138
1138
  `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`
1139
1139
  );
1140
1140
  }
1141
- function Bt(e, t, n, r = !0) {
1142
- const o = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: c } = t && t.appContext.config || I;
1141
+ function Bt(e, t, n, o = !0) {
1142
+ const r = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: c } = t && t.appContext.config || j;
1143
1143
  if (t) {
1144
- let l = t.parent;
1145
- const u = t.proxy, h = process.env.NODE_ENV !== "production" ? Dn[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
1146
- for (; l; ) {
1147
- const a = l.ec;
1148
- if (a) {
1149
- for (let i = 0; i < a.length; i++)
1150
- if (a[i](e, u, h) === !1)
1144
+ let a = t.parent;
1145
+ const u = t.proxy, f = process.env.NODE_ENV !== "production" ? Dn[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
1146
+ for (; a; ) {
1147
+ const p = a.ec;
1148
+ if (p) {
1149
+ for (let i = 0; i < p.length; i++)
1150
+ if (p[i](e, u, f) === !1)
1151
1151
  return;
1152
1152
  }
1153
- l = l.parent;
1153
+ a = a.parent;
1154
1154
  }
1155
1155
  if (s) {
1156
1156
  rt(), it(s, null, 10, [
1157
1157
  e,
1158
1158
  u,
1159
- h
1159
+ f
1160
1160
  ]), st();
1161
1161
  return;
1162
1162
  }
1163
1163
  }
1164
- ir(e, n, o, r, c);
1164
+ ir(e, n, r, o, c);
1165
1165
  }
1166
- function ir(e, t, n, r = !0, o = !1) {
1166
+ function ir(e, t, n, o = !0, r = !1) {
1167
1167
  if (process.env.NODE_ENV !== "production") {
1168
1168
  const s = Dn[t];
1169
- if (n && er(n), N(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && tr(), r)
1169
+ if (n && er(n), y(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && tr(), o)
1170
1170
  throw e;
1171
- } else if (o)
1171
+ } else if (r)
1172
1172
  throw e;
1173
1173
  }
1174
- const R = [];
1175
- let H = -1;
1176
- const _e = [];
1177
- let U = null, le = 0;
1174
+ const P = [];
1175
+ let z = -1;
1176
+ const be = [];
1177
+ let B = null, fe = 0;
1178
1178
  const An = /* @__PURE__ */ Promise.resolve();
1179
1179
  let We = null;
1180
1180
  const cr = 100;
@@ -1183,49 +1183,49 @@ function ar(e) {
1183
1183
  return e ? t.then(this ? e.bind(this) : e) : t;
1184
1184
  }
1185
1185
  function lr(e) {
1186
- let t = H + 1, n = R.length;
1186
+ let t = z + 1, n = P.length;
1187
1187
  for (; t < n; ) {
1188
- const r = t + n >>> 1, o = R[r], s = $e(o);
1189
- s < e || s === e && o.flags & 2 ? t = r + 1 : n = r;
1188
+ const o = t + n >>> 1, r = P[o], s = xe(r);
1189
+ s < e || s === e && r.flags & 2 ? t = o + 1 : n = o;
1190
1190
  }
1191
1191
  return t;
1192
1192
  }
1193
1193
  function Jt(e) {
1194
1194
  if (!(e.flags & 1)) {
1195
- const t = $e(e), n = R[R.length - 1];
1195
+ const t = xe(e), n = P[P.length - 1];
1196
1196
  !n || // fast path when the job id is larger than the tail
1197
- !(e.flags & 2) && t >= $e(n) ? R.push(e) : R.splice(lr(t), 0, e), e.flags |= 1, Rn();
1197
+ !(e.flags & 2) && t >= xe(n) ? P.push(e) : P.splice(lr(t), 0, e), e.flags |= 1, Rn();
1198
1198
  }
1199
1199
  }
1200
1200
  function Rn() {
1201
- We || (We = An.then(In));
1201
+ We || (We = An.then(Tn));
1202
1202
  }
1203
- function Tn(e) {
1204
- b(e) ? _e.push(...e) : U && e.id === -1 ? U.splice(le + 1, 0, e) : e.flags & 1 || (_e.push(e), e.flags |= 1), Rn();
1203
+ function In(e) {
1204
+ w(e) ? be.push(...e) : B && e.id === -1 ? B.splice(fe + 1, 0, e) : e.flags & 1 || (be.push(e), e.flags |= 1), Rn();
1205
1205
  }
1206
1206
  function ur(e) {
1207
- if (_e.length) {
1208
- const t = [...new Set(_e)].sort(
1209
- (n, r) => $e(n) - $e(r)
1207
+ if (be.length) {
1208
+ const t = [...new Set(be)].sort(
1209
+ (n, o) => xe(n) - xe(o)
1210
1210
  );
1211
- if (_e.length = 0, U) {
1212
- U.push(...t);
1211
+ if (be.length = 0, B) {
1212
+ B.push(...t);
1213
1213
  return;
1214
1214
  }
1215
- for (U = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), le = 0; le < U.length; le++) {
1216
- const n = U[le];
1215
+ for (B = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), fe = 0; fe < B.length; fe++) {
1216
+ const n = B[fe];
1217
1217
  process.env.NODE_ENV !== "production" && Pn(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
1218
1218
  }
1219
- U = null, le = 0;
1219
+ B = null, fe = 0;
1220
1220
  }
1221
1221
  }
1222
- const $e = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
1223
- function In(e) {
1222
+ const xe = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
1223
+ function Tn(e) {
1224
1224
  process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
1225
- const t = process.env.NODE_ENV !== "production" ? (n) => Pn(e, n) : X;
1225
+ const t = process.env.NODE_ENV !== "production" ? (n) => Pn(e, n) : oe;
1226
1226
  try {
1227
- for (H = 0; H < R.length; H++) {
1228
- const n = R[H];
1227
+ for (z = 0; z < P.length; z++) {
1228
+ const n = P[z];
1229
1229
  if (n && !(n.flags & 8)) {
1230
1230
  if (process.env.NODE_ENV !== "production" && t(n))
1231
1231
  continue;
@@ -1237,19 +1237,19 @@ function In(e) {
1237
1237
  }
1238
1238
  }
1239
1239
  } finally {
1240
- for (; H < R.length; H++) {
1241
- const n = R[H];
1240
+ for (; z < P.length; z++) {
1241
+ const n = P[z];
1242
1242
  n && (n.flags &= -2);
1243
1243
  }
1244
- H = -1, R.length = 0, ur(e), We = null, (R.length || _e.length) && In(e);
1244
+ z = -1, P.length = 0, ur(e), We = null, (P.length || be.length) && Tn(e);
1245
1245
  }
1246
1246
  }
1247
1247
  function Pn(e, t) {
1248
1248
  const n = e.get(t) || 0;
1249
1249
  if (n > cr) {
1250
- const r = t.i, o = r && zn(r.type);
1250
+ const o = t.i, r = o && zn(o.type);
1251
1251
  return Bt(
1252
- `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.`,
1252
+ `Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. 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.`,
1253
1253
  null,
1254
1254
  10
1255
1255
  ), !0;
@@ -1274,28 +1274,28 @@ function Be(e) {
1274
1274
  }
1275
1275
  function fr(e, t) {
1276
1276
  const n = Ge.get(e);
1277
- n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
1278
- t && (r.render = t, Be(r.type).render = t), r.renderCache = [], r.update();
1277
+ n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
1278
+ t && (o.render = t, Be(o.type).render = t), o.renderCache = [], o.update();
1279
1279
  }));
1280
1280
  }
1281
1281
  function dr(e, t) {
1282
1282
  const n = Ge.get(e);
1283
1283
  if (!n) return;
1284
1284
  t = Be(t), sn(n.initialDef, t);
1285
- const r = [...n.instances];
1286
- for (let o = 0; o < r.length; o++) {
1287
- const s = r[o], c = Be(s.type);
1288
- let l = ht.get(c);
1289
- l || (c !== n.initialDef && sn(c, t), ht.set(c, l = /* @__PURE__ */ new Set())), l.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (l.add(s), s.ceReload(t.styles), l.delete(s)) : s.parent ? Jt(() => {
1290
- s.parent.update(), l.delete(s);
1285
+ const o = [...n.instances];
1286
+ for (let r = 0; r < o.length; r++) {
1287
+ const s = o[r], c = Be(s.type);
1288
+ let a = ht.get(c);
1289
+ a || (c !== n.initialDef && sn(c, t), ht.set(c, 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 ? Jt(() => {
1290
+ s.parent.update(), a.delete(s);
1291
1291
  }) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" && window.location.reload(), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(c);
1292
1292
  }
1293
- Tn(() => {
1293
+ In(() => {
1294
1294
  ht.clear();
1295
1295
  });
1296
1296
  }
1297
1297
  function sn(e, t) {
1298
- V(e, t);
1298
+ T(e, t);
1299
1299
  for (const n in e)
1300
1300
  n !== "__file" && !(n in t) && delete e[n];
1301
1301
  }
@@ -1307,38 +1307,38 @@ function mt(e) {
1307
1307
  }
1308
1308
  };
1309
1309
  }
1310
- let ue, je = [];
1310
+ let de, je = [];
1311
1311
  function Fn(e, t) {
1312
- var n, r;
1313
- ue = e, ue ? (ue.enabled = !0, je.forEach(({ event: o, args: s }) => ue.emit(o, ...s)), je = []) : /* 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
1312
+ var n, o;
1313
+ de = e, de ? (de.enabled = !0, je.forEach(({ event: r, args: s }) => de.emit(r, ...s)), je = []) : /* 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
1314
1314
  window.HTMLElement && // also exclude jsdom
1315
1315
  // eslint-disable-next-line no-restricted-syntax
1316
- !((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) => {
1316
+ !((o = (n = window.navigator) == null ? void 0 : n.userAgent) != null && o.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
1317
1317
  Fn(s, t);
1318
1318
  }), setTimeout(() => {
1319
- ue || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, je = []);
1319
+ de || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, je = []);
1320
1320
  }, 3e3)) : je = [];
1321
1321
  }
1322
- let se = null, hr = null;
1322
+ let le = null, hr = null;
1323
1323
  const mr = (e) => e.__isTeleport;
1324
1324
  function jn(e, t) {
1325
1325
  e.shapeFlag & 6 && e.component ? (e.transition = t, jn(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
1326
1326
  }
1327
1327
  ot().requestIdleCallback;
1328
1328
  ot().cancelIdleCallback;
1329
- const gr = Symbol.for("v-ndc"), St = (e) => e ? Wr(e) ? Gr(e) : St(e.parent) : null, Ce = (
1329
+ const gr = Symbol.for("v-ndc"), Ot = (e) => e ? Wr(e) ? Gr(e) : Ot(e.parent) : null, Se = (
1330
1330
  // Move PURE marker to new line to workaround compiler discarding it
1331
1331
  // due to type annotation
1332
- /* @__PURE__ */ V(/* @__PURE__ */ Object.create(null), {
1332
+ /* @__PURE__ */ T(/* @__PURE__ */ Object.create(null), {
1333
1333
  $: (e) => e,
1334
1334
  $el: (e) => e.vnode.el,
1335
1335
  $data: (e) => e.data,
1336
- $props: (e) => process.env.NODE_ENV !== "production" ? J(e.props) : e.props,
1337
- $attrs: (e) => process.env.NODE_ENV !== "production" ? J(e.attrs) : e.attrs,
1338
- $slots: (e) => process.env.NODE_ENV !== "production" ? J(e.slots) : e.slots,
1339
- $refs: (e) => process.env.NODE_ENV !== "production" ? J(e.refs) : e.refs,
1340
- $parent: (e) => St(e.parent),
1341
- $root: (e) => St(e.root),
1336
+ $props: (e) => process.env.NODE_ENV !== "production" ? Z(e.props) : e.props,
1337
+ $attrs: (e) => process.env.NODE_ENV !== "production" ? Z(e.attrs) : e.attrs,
1338
+ $slots: (e) => process.env.NODE_ENV !== "production" ? Z(e.slots) : e.slots,
1339
+ $refs: (e) => process.env.NODE_ENV !== "production" ? Z(e.refs) : e.refs,
1340
+ $parent: (e) => Ot(e.parent),
1341
+ $root: (e) => Ot(e.root),
1342
1342
  $host: (e) => e.ce,
1343
1343
  $emit: (e) => e.emit,
1344
1344
  $options: (e) => __VUE_OPTIONS_API__ ? br(e) : e.type,
@@ -1346,66 +1346,66 @@ const gr = Symbol.for("v-ndc"), St = (e) => e ? Wr(e) ? Gr(e) : St(e.parent) : n
1346
1346
  Jt(e.update);
1347
1347
  }),
1348
1348
  $nextTick: (e) => e.n || (e.n = ar.bind(e.proxy)),
1349
- $watch: (e) => __VUE_OPTIONS_API__ ? Vr.bind(e) : X
1349
+ $watch: (e) => __VUE_OPTIONS_API__ ? Vr.bind(e) : oe
1350
1350
  })
1351
- ), gt = (e, t) => e !== I && !e.__isScriptSetup && w(e, t), _r = {
1351
+ ), gt = (e, t) => e !== j && !e.__isScriptSetup && S(e, t), _r = {
1352
1352
  get({ _: e }, t) {
1353
1353
  if (t === "__v_skip")
1354
1354
  return !0;
1355
- const { ctx: n, setupState: r, data: o, props: s, accessCache: c, type: l, appContext: u } = e;
1355
+ const { ctx: n, setupState: o, data: r, props: s, accessCache: c, type: a, appContext: u } = e;
1356
1356
  if (process.env.NODE_ENV !== "production" && t === "__isVue")
1357
1357
  return !0;
1358
- let h;
1358
+ let f;
1359
1359
  if (t[0] !== "$") {
1360
- const p = c[t];
1361
- if (p !== void 0)
1362
- switch (p) {
1360
+ const d = c[t];
1361
+ if (d !== void 0)
1362
+ switch (d) {
1363
1363
  case 1:
1364
- return r[t];
1365
- case 2:
1366
1364
  return o[t];
1365
+ case 2:
1366
+ return r[t];
1367
1367
  case 4:
1368
1368
  return n[t];
1369
1369
  case 3:
1370
1370
  return s[t];
1371
1371
  }
1372
1372
  else {
1373
- if (gt(r, t))
1374
- return c[t] = 1, r[t];
1375
- if (o !== I && w(o, t))
1376
- return c[t] = 2, o[t];
1373
+ if (gt(o, t))
1374
+ return c[t] = 1, o[t];
1375
+ if (r !== j && S(r, t))
1376
+ return c[t] = 2, r[t];
1377
1377
  if (
1378
1378
  // only cache other properties when instance has declared (thus stable)
1379
1379
  // props
1380
- (h = e.propsOptions[0]) && w(h, t)
1380
+ (f = e.propsOptions[0]) && S(f, t)
1381
1381
  )
1382
1382
  return c[t] = 3, s[t];
1383
- if (n !== I && w(n, t))
1383
+ if (n !== j && S(n, t))
1384
1384
  return c[t] = 4, n[t];
1385
1385
  (!__VUE_OPTIONS_API__ || vr) && (c[t] = 0);
1386
1386
  }
1387
1387
  }
1388
- const a = Ce[t];
1389
- let i, d;
1390
- if (a)
1391
- return t === "$attrs" ? (y(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && y(e, "get", t), a(e);
1388
+ const p = Se[t];
1389
+ let i, l;
1390
+ if (p)
1391
+ return t === "$attrs" ? (O(e.attrs, "get", ""), process.env.NODE_ENV !== "production" && void 0) : process.env.NODE_ENV !== "production" && t === "$slots" && O(e, "get", t), p(e);
1392
1392
  if (
1393
1393
  // css module (injected by vue-loader)
1394
- (i = l.__cssModules) && (i = i[t])
1394
+ (i = a.__cssModules) && (i = i[t])
1395
1395
  )
1396
1396
  return i;
1397
- if (n !== I && w(n, t))
1397
+ if (n !== j && S(n, t))
1398
1398
  return c[t] = 4, n[t];
1399
1399
  if (
1400
1400
  // global properties
1401
- d = u.config.globalProperties, w(d, t)
1401
+ l = u.config.globalProperties, S(l, t)
1402
1402
  )
1403
- return d[t];
1403
+ return l[t];
1404
1404
  process.env.NODE_ENV;
1405
1405
  },
1406
1406
  set({ _: e }, t, n) {
1407
- const { data: r, setupState: o, ctx: s } = e;
1408
- return gt(o, t) ? (o[t] = n, !0) : process.env.NODE_ENV !== "production" && o.__isScriptSetup && w(o, t) ? (N(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : r !== I && w(r, t) ? (r[t] = n, !0) : w(e.props, t) ? (process.env.NODE_ENV !== "production" && N(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && N(
1407
+ const { data: o, setupState: r, ctx: s } = e;
1408
+ return gt(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && S(r, t) ? (y(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : o !== j && S(o, t) ? (o[t] = n, !0) : S(e.props, t) ? (process.env.NODE_ENV !== "production" && y(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && y(
1409
1409
  `Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
1410
1410
  ), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
1411
1411
  enumerable: !0,
@@ -1414,49 +1414,49 @@ const gr = Symbol.for("v-ndc"), St = (e) => e ? Wr(e) ? Gr(e) : St(e.parent) : n
1414
1414
  }) : s[t] = n, !0);
1415
1415
  },
1416
1416
  has({
1417
- _: { data: e, setupState: t, accessCache: n, ctx: r, appContext: o, propsOptions: s }
1417
+ _: { data: e, setupState: t, accessCache: n, ctx: o, appContext: r, propsOptions: s }
1418
1418
  }, c) {
1419
- let l;
1420
- return !!n[c] || e !== I && w(e, c) || gt(t, c) || (l = s[0]) && w(l, c) || w(r, c) || w(Ce, c) || w(o.config.globalProperties, c);
1419
+ let a;
1420
+ return !!n[c] || e !== j && S(e, c) || gt(t, c) || (a = s[0]) && S(a, c) || S(o, c) || S(Se, c) || S(r.config.globalProperties, c);
1421
1421
  },
1422
1422
  defineProperty(e, t, n) {
1423
- return n.get != null ? e._.accessCache[t] = 0 : w(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
1423
+ return n.get != null ? e._.accessCache[t] = 0 : S(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
1424
1424
  }
1425
1425
  };
1426
- process.env.NODE_ENV !== "production" && (_r.ownKeys = (e) => (N(
1426
+ process.env.NODE_ENV !== "production" && (_r.ownKeys = (e) => (y(
1427
1427
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
1428
1428
  ), Reflect.ownKeys(e)));
1429
1429
  function cn(e) {
1430
- return b(e) ? e.reduce(
1430
+ return w(e) ? e.reduce(
1431
1431
  (t, n) => (t[n] = null, t),
1432
1432
  {}
1433
1433
  ) : e;
1434
1434
  }
1435
1435
  let vr = !0;
1436
1436
  function br(e) {
1437
- const t = e.type, { mixins: n, extends: r } = t, {
1438
- mixins: o,
1437
+ const t = e.type, { mixins: n, extends: o } = t, {
1438
+ mixins: r,
1439
1439
  optionsCache: s,
1440
1440
  config: { optionMergeStrategies: c }
1441
- } = e.appContext, l = s.get(t);
1441
+ } = e.appContext, a = s.get(t);
1442
1442
  let u;
1443
- return l ? u = l : !o.length && !n && !r ? u = t : (u = {}, o.length && o.forEach(
1444
- (h) => Je(u, h, c, !0)
1445
- ), Je(u, t, c)), x(t) && s.set(t, u), u;
1443
+ return a ? u = a : !r.length && !n && !o ? u = t : (u = {}, r.length && r.forEach(
1444
+ (f) => Je(u, f, c, !0)
1445
+ ), Je(u, t, c)), R(t) && s.set(t, u), u;
1446
1446
  }
1447
- function Je(e, t, n, r = !1) {
1448
- const { mixins: o, extends: s } = t;
1449
- s && Je(e, s, n, !0), o && o.forEach(
1447
+ function Je(e, t, n, o = !1) {
1448
+ const { mixins: r, extends: s } = t;
1449
+ s && Je(e, s, n, !0), r && r.forEach(
1450
1450
  (c) => Je(e, c, n, !0)
1451
1451
  );
1452
1452
  for (const c in t)
1453
- if (r && c === "expose")
1454
- process.env.NODE_ENV !== "production" && N(
1453
+ if (o && c === "expose")
1454
+ process.env.NODE_ENV !== "production" && y(
1455
1455
  '"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.'
1456
1456
  );
1457
1457
  else {
1458
- const l = Er[c] || n && n[c];
1459
- e[c] = l ? l(e[c], t[c]) : t[c];
1458
+ const a = Er[c] || n && n[c];
1459
+ e[c] = a ? a(e[c], t[c]) : t[c];
1460
1460
  }
1461
1461
  return e;
1462
1462
  }
@@ -1465,26 +1465,26 @@ const Er = {
1465
1465
  props: un,
1466
1466
  emits: un,
1467
1467
  // objects
1468
- methods: Ne,
1469
- computed: Ne,
1468
+ methods: we,
1469
+ computed: we,
1470
1470
  // lifecycle
1471
- beforeCreate: O,
1472
- created: O,
1473
- beforeMount: O,
1474
- mounted: O,
1475
- beforeUpdate: O,
1476
- updated: O,
1477
- beforeDestroy: O,
1478
- beforeUnmount: O,
1479
- destroyed: O,
1480
- unmounted: O,
1481
- activated: O,
1482
- deactivated: O,
1483
- errorCaptured: O,
1484
- serverPrefetch: O,
1471
+ beforeCreate: D,
1472
+ created: D,
1473
+ beforeMount: D,
1474
+ mounted: D,
1475
+ beforeUpdate: D,
1476
+ updated: D,
1477
+ beforeDestroy: D,
1478
+ beforeUnmount: D,
1479
+ destroyed: D,
1480
+ unmounted: D,
1481
+ activated: D,
1482
+ deactivated: D,
1483
+ errorCaptured: D,
1484
+ serverPrefetch: D,
1485
1485
  // assets
1486
- components: Ne,
1487
- directives: Ne,
1486
+ components: we,
1487
+ directives: we,
1488
1488
  // watch
1489
1489
  watch: wr,
1490
1490
  // provide / inject
@@ -1493,17 +1493,17 @@ const Er = {
1493
1493
  };
1494
1494
  function an(e, t) {
1495
1495
  return t ? e ? function() {
1496
- return V(
1497
- C(e) ? e.call(this, this) : e,
1498
- C(t) ? t.call(this, this) : t
1496
+ return T(
1497
+ $(e) ? e.call(this, this) : e,
1498
+ $(t) ? t.call(this, this) : t
1499
1499
  );
1500
1500
  } : t : e;
1501
1501
  }
1502
1502
  function Nr(e, t) {
1503
- return Ne(ln(e), ln(t));
1503
+ return we(ln(e), ln(t));
1504
1504
  }
1505
1505
  function ln(e) {
1506
- if (b(e)) {
1506
+ if (w(e)) {
1507
1507
  const t = {};
1508
1508
  for (let n = 0; n < e.length; n++)
1509
1509
  t[e[n]] = e[n];
@@ -1511,14 +1511,14 @@ function ln(e) {
1511
1511
  }
1512
1512
  return e;
1513
1513
  }
1514
- function O(e, t) {
1514
+ function D(e, t) {
1515
1515
  return e ? [...new Set([].concat(e, t))] : t;
1516
1516
  }
1517
- function Ne(e, t) {
1518
- return e ? V(/* @__PURE__ */ Object.create(null), e, t) : t;
1517
+ function we(e, t) {
1518
+ return e ? T(/* @__PURE__ */ Object.create(null), e, t) : t;
1519
1519
  }
1520
1520
  function un(e, t) {
1521
- return e ? b(e) && b(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : V(
1521
+ return e ? w(e) && w(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : T(
1522
1522
  /* @__PURE__ */ Object.create(null),
1523
1523
  cn(e),
1524
1524
  cn(t ?? {})
@@ -1527,107 +1527,107 @@ function un(e, t) {
1527
1527
  function wr(e, t) {
1528
1528
  if (!e) return t;
1529
1529
  if (!t) return e;
1530
- const n = V(/* @__PURE__ */ Object.create(null), e);
1531
- for (const r in t)
1532
- n[r] = O(e[r], t[r]);
1530
+ const n = T(/* @__PURE__ */ Object.create(null), e);
1531
+ for (const o in t)
1532
+ n[o] = D(e[o], t[o]);
1533
1533
  return n;
1534
1534
  }
1535
- let yr = null;
1536
- function Cr(e, t, n = !1) {
1537
- const r = Ae || se;
1538
- if (r || yr) {
1539
- const o = r ? r.parent == null ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
1540
- if (o && e in o)
1541
- return o[e];
1535
+ let Cr = null;
1536
+ function yr(e, t, n = !1) {
1537
+ const o = Re || le;
1538
+ if (o || Cr) {
1539
+ const r = o ? o.parent == null ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides : void 0;
1540
+ if (r && e in r)
1541
+ return r[e];
1542
1542
  if (arguments.length > 1)
1543
- return n && C(t) ? t.call(r && r.proxy) : t;
1544
- process.env.NODE_ENV !== "production" && N(`injection "${String(e)}" not found.`);
1545
- } else process.env.NODE_ENV !== "production" && N("inject() can only be used inside setup() or functional components.");
1543
+ return n && $(t) ? t.call(o && o.proxy) : t;
1544
+ process.env.NODE_ENV !== "production" && y(`injection "${String(e)}" not found.`);
1545
+ } else process.env.NODE_ENV !== "production" && y("inject() can only be used inside setup() or functional components.");
1546
1546
  }
1547
- const Or = {}, kn = (e) => Object.getPrototypeOf(e) === Or, Sr = Tr, $r = Symbol.for("v-scx"), xr = () => {
1547
+ const Sr = {}, kn = (e) => Object.getPrototypeOf(e) === Sr, Or = Ir, $r = Symbol.for("v-scx"), xr = () => {
1548
1548
  {
1549
- const e = Cr($r);
1550
- return e || process.env.NODE_ENV !== "production" && N(
1549
+ const e = yr($r);
1550
+ return e || process.env.NODE_ENV !== "production" && y(
1551
1551
  "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
1552
1552
  ), e;
1553
1553
  }
1554
1554
  };
1555
- function Dr(e, t, n = I) {
1556
- const { immediate: r, deep: o, flush: s, once: c } = n;
1557
- process.env.NODE_ENV !== "production" && !t && (r !== void 0 && N(
1555
+ function Dr(e, t, n = j) {
1556
+ const { immediate: o, deep: r, flush: s, once: c } = n;
1557
+ process.env.NODE_ENV !== "production" && !t && (o !== void 0 && y(
1558
1558
  'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
1559
- ), o !== void 0 && N(
1559
+ ), r !== void 0 && y(
1560
1560
  'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
1561
- ), c !== void 0 && N(
1561
+ ), c !== void 0 && y(
1562
1562
  'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
1563
1563
  ));
1564
- const l = V({}, n);
1565
- process.env.NODE_ENV !== "production" && (l.onWarn = N);
1566
- const u = t && r || !t && s !== "post";
1567
- let h;
1564
+ const a = T({}, n);
1565
+ process.env.NODE_ENV !== "production" && (a.onWarn = y);
1566
+ const u = t && o || !t && s !== "post";
1567
+ let f;
1568
1568
  if (Ye) {
1569
1569
  if (s === "sync") {
1570
- const p = xr();
1571
- h = p.__watcherHandles || (p.__watcherHandles = []);
1570
+ const d = xr();
1571
+ f = d.__watcherHandles || (d.__watcherHandles = []);
1572
1572
  } else if (!u) {
1573
- const p = () => {
1573
+ const d = () => {
1574
1574
  };
1575
- return p.stop = X, p.resume = X, p.pause = X, p;
1575
+ return d.stop = oe, d.resume = oe, d.pause = oe, d;
1576
1576
  }
1577
1577
  }
1578
- const a = Ae;
1579
- l.call = (p, f, m) => Vn(p, a, f, m);
1578
+ const p = Re;
1579
+ a.call = (d, m, h) => Vn(d, p, m, h);
1580
1580
  let i = !1;
1581
- s === "post" ? l.scheduler = (p) => {
1582
- Sr(p, a && a.suspense);
1583
- } : s !== "sync" && (i = !0, l.scheduler = (p, f) => {
1584
- f ? p() : Jt(p);
1585
- }), l.augmentJob = (p) => {
1586
- t && (p.flags |= 4), i && (p.flags |= 2, a && (p.id = a.uid, p.i = a));
1581
+ s === "post" ? a.scheduler = (d) => {
1582
+ Or(d, p && p.suspense);
1583
+ } : s !== "sync" && (i = !0, a.scheduler = (d, m) => {
1584
+ m ? d() : Jt(d);
1585
+ }), a.augmentJob = (d) => {
1586
+ t && (d.flags |= 4), i && (d.flags |= 2, p && (d.id = p.uid, d.i = p));
1587
1587
  };
1588
- const d = Xo(e, t, l);
1589
- return Ye && (h ? h.push(d) : u && d()), d;
1588
+ const l = Xo(e, t, a);
1589
+ return Ye && (f ? f.push(l) : u && l()), l;
1590
1590
  }
1591
1591
  function Vr(e, t, n) {
1592
- const r = this.proxy, o = j(e) ? e.includes(".") ? Ar(r, e) : () => r[e] : e.bind(r, r);
1592
+ const o = this.proxy, r = M(e) ? e.includes(".") ? Ar(o, e) : () => o[e] : e.bind(o, o);
1593
1593
  let s;
1594
- C(t) ? s = t : (s = t.handler, n = t);
1595
- const c = Ur(this), l = Dr(o, s.bind(r), n);
1596
- return c(), l;
1594
+ $(t) ? s = t : (s = t.handler, n = t);
1595
+ const c = Ur(this), a = Dr(r, s.bind(o), n);
1596
+ return c(), a;
1597
1597
  }
1598
1598
  function Ar(e, t) {
1599
1599
  const n = t.split(".");
1600
1600
  return () => {
1601
- let r = e;
1602
- for (let o = 0; o < n.length && r; o++)
1603
- r = r[n[o]];
1604
- return r;
1601
+ let o = e;
1602
+ for (let r = 0; r < n.length && o; r++)
1603
+ o = o[n[r]];
1604
+ return o;
1605
1605
  };
1606
1606
  }
1607
1607
  const Rr = (e) => e.__isSuspense;
1608
- function Tr(e, t) {
1609
- t && t.pendingBranch ? b(e) ? t.effects.push(...e) : t.effects.push(e) : Tn(e);
1608
+ function Ir(e, t) {
1609
+ t && t.pendingBranch ? w(e) ? t.effects.push(...e) : t.effects.push(e) : In(e);
1610
1610
  }
1611
- const Mn = Symbol.for("v-fgt"), Ir = Symbol.for("v-txt"), Pr = Symbol.for("v-cmt");
1612
- let de = null;
1611
+ const Hn = Symbol.for("v-fgt"), Tr = Symbol.for("v-txt"), Pr = Symbol.for("v-cmt");
1612
+ let me = null;
1613
1613
  function Fr(e) {
1614
1614
  return e ? e.__v_isVNode === !0 : !1;
1615
1615
  }
1616
1616
  const jr = (...e) => Ln(
1617
1617
  ...e
1618
- ), Hn = ({ key: e }) => e ?? null, Me = ({
1618
+ ), Mn = ({ key: e }) => e ?? null, He = ({
1619
1619
  ref: e,
1620
1620
  ref_key: t,
1621
1621
  ref_for: n
1622
- }) => (typeof e == "number" && (e = "" + e), e != null ? j(e) || $(e) || C(e) ? { i: se, r: e, k: t, f: !!n } : e : null);
1623
- function kr(e, t = null, n = null, r = 0, o = null, s = e === Mn ? 0 : 1, c = !1, l = !1) {
1622
+ }) => (typeof e == "number" && (e = "" + e), e != null ? M(e) || A(e) || $(e) ? { i: le, r: e, k: t, f: !!n } : e : null);
1623
+ function kr(e, t = null, n = null, o = 0, r = null, s = e === Hn ? 0 : 1, c = !1, a = !1) {
1624
1624
  const u = {
1625
1625
  __v_isVNode: !0,
1626
1626
  __v_skip: !0,
1627
1627
  type: e,
1628
1628
  props: t,
1629
- key: t && Hn(t),
1630
- ref: t && Me(t),
1629
+ key: t && Mn(t),
1630
+ ref: t && He(t),
1631
1631
  scopeId: hr,
1632
1632
  slotScopeIds: null,
1633
1633
  children: n,
@@ -1644,40 +1644,40 @@ function kr(e, t = null, n = null, r = 0, o = null, s = e === Mn ? 0 : 1, c = !1
1644
1644
  targetAnchor: null,
1645
1645
  staticCount: 0,
1646
1646
  shapeFlag: s,
1647
- patchFlag: r,
1648
- dynamicProps: o,
1647
+ patchFlag: o,
1648
+ dynamicProps: r,
1649
1649
  dynamicChildren: null,
1650
1650
  appContext: null,
1651
- ctx: se
1651
+ ctx: le
1652
1652
  };
1653
- return l ? (qt(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= j(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && N("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
1653
+ return a ? (qt(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= M(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && y("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
1654
1654
  !c && // has current parent block
1655
- de && // presence of a patch flag indicates this node needs patching on updates.
1655
+ me && // presence of a patch flag indicates this node needs patching on updates.
1656
1656
  // component nodes also should always be patched, because even if the
1657
1657
  // component doesn't need to update, it needs to persist the instance on to
1658
1658
  // the next vnode so that it can be properly unmounted later.
1659
1659
  (u.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
1660
1660
  // vnode should not be considered dynamic due to handler caching.
1661
- u.patchFlag !== 32 && de.push(u), u;
1661
+ u.patchFlag !== 32 && me.push(u), u;
1662
1662
  }
1663
- const Mr = process.env.NODE_ENV !== "production" ? jr : Ln;
1664
- function Ln(e, t = null, n = null, r = 0, o = null, s = !1) {
1665
- if ((!e || e === gr) && (process.env.NODE_ENV !== "production" && !e && N(`Invalid vnode type when creating vnode: ${e}.`), e = Pr), Fr(e)) {
1666
- const l = qe(
1663
+ const Hr = process.env.NODE_ENV !== "production" ? jr : Ln;
1664
+ function Ln(e, t = null, n = null, o = 0, r = null, s = !1) {
1665
+ if ((!e || e === gr) && (process.env.NODE_ENV !== "production" && !e && y(`Invalid vnode type when creating vnode: ${e}.`), e = Pr), Fr(e)) {
1666
+ const a = qe(
1667
1667
  e,
1668
1668
  t,
1669
1669
  !0
1670
1670
  /* mergeRef: true */
1671
1671
  );
1672
- return n && qt(l, n), !s && de && (l.shapeFlag & 6 ? de[de.indexOf(e)] = l : de.push(l)), l.patchFlag = -2, l;
1672
+ return n && qt(a, n), !s && me && (a.shapeFlag & 6 ? me[me.indexOf(e)] = a : me.push(a)), a.patchFlag = -2, a;
1673
1673
  }
1674
1674
  if (Wn(e) && (e = e.__vccOpts), t) {
1675
- t = Hr(t);
1676
- let { class: l, style: u } = t;
1677
- l && !j(l) && (t.class = Mt(l)), x(u) && (Ke(u) && !b(u) && (u = V({}, u)), t.style = kt(u));
1675
+ t = Mr(t);
1676
+ let { class: a, style: u } = t;
1677
+ a && !M(a) && (t.class = Ht(a)), R(u) && (Ke(u) && !w(u) && (u = T({}, u)), t.style = kt(u));
1678
1678
  }
1679
- const c = j(e) ? 1 : Rr(e) ? 128 : mr(e) ? 64 : x(e) ? 4 : C(e) ? 2 : 0;
1680
- return process.env.NODE_ENV !== "production" && c & 4 && Ke(e) && (e = g(e), N(
1679
+ const c = M(e) ? 1 : Rr(e) ? 128 : mr(e) ? 64 : R(e) ? 4 : $(e) ? 2 : 0;
1680
+ return process.env.NODE_ENV !== "production" && c & 4 && Ke(e) && (e = v(e), y(
1681
1681
  "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`.",
1682
1682
  `
1683
1683
  Component that was made reactive: `,
@@ -1686,32 +1686,32 @@ Component that was made reactive: `,
1686
1686
  e,
1687
1687
  t,
1688
1688
  n,
1689
- r,
1690
1689
  o,
1690
+ r,
1691
1691
  c,
1692
1692
  s,
1693
1693
  !0
1694
1694
  );
1695
1695
  }
1696
- function Hr(e) {
1697
- return e ? Ke(e) || kn(e) ? V({}, e) : e : null;
1696
+ function Mr(e) {
1697
+ return e ? Ke(e) || kn(e) ? T({}, e) : e : null;
1698
1698
  }
1699
- function qe(e, t, n = !1, r = !1) {
1700
- const { props: o, ref: s, patchFlag: c, children: l, transition: u } = e, h = t ? Kr(o || {}, t) : o, a = {
1699
+ function qe(e, t, n = !1, o = !1) {
1700
+ const { props: r, ref: s, patchFlag: c, children: a, transition: u } = e, f = t ? Kr(r || {}, t) : r, p = {
1701
1701
  __v_isVNode: !0,
1702
1702
  __v_skip: !0,
1703
1703
  type: e.type,
1704
- props: h,
1705
- key: h && Hn(h),
1704
+ props: f,
1705
+ key: f && Mn(f),
1706
1706
  ref: t && t.ref ? (
1707
1707
  // #2078 in the case of <component :is="vnode" ref="extra"/>
1708
1708
  // if the vnode itself already has a ref, cloneVNode will need to merge
1709
1709
  // the refs so the single vnode can be set on multiple refs
1710
- n && s ? b(s) ? s.concat(Me(t)) : [s, Me(t)] : Me(t)
1710
+ n && s ? w(s) ? s.concat(He(t)) : [s, He(t)] : He(t)
1711
1711
  ) : s,
1712
1712
  scopeId: e.scopeId,
1713
1713
  slotScopeIds: e.slotScopeIds,
1714
- children: process.env.NODE_ENV !== "production" && c === -1 && b(l) ? l.map(Kn) : l,
1714
+ children: process.env.NODE_ENV !== "production" && c === -1 && w(a) ? a.map(Kn) : a,
1715
1715
  target: e.target,
1716
1716
  targetStart: e.targetStart,
1717
1717
  targetAnchor: e.targetAnchor,
@@ -1721,7 +1721,7 @@ function qe(e, t, n = !1, r = !1) {
1721
1721
  // existing patch flag to be reliable and need to add the FULL_PROPS flag.
1722
1722
  // note: preserve flag for fragments since they use the flag for children
1723
1723
  // fast paths only.
1724
- patchFlag: t && e.type !== Mn ? c === -1 ? 16 : c | 16 : c,
1724
+ patchFlag: t && e.type !== Hn ? c === -1 ? 16 : c | 16 : c,
1725
1725
  dynamicProps: e.dynamicProps,
1726
1726
  dynamicChildren: e.dynamicChildren,
1727
1727
  appContext: e.appContext,
@@ -1740,71 +1740,71 @@ function qe(e, t, n = !1, r = !1) {
1740
1740
  ctx: e.ctx,
1741
1741
  ce: e.ce
1742
1742
  };
1743
- return u && r && jn(
1744
- a,
1745
- u.clone(a)
1746
- ), a;
1743
+ return u && o && jn(
1744
+ p,
1745
+ u.clone(p)
1746
+ ), p;
1747
1747
  }
1748
1748
  function Kn(e) {
1749
1749
  const t = qe(e);
1750
- return b(e.children) && (t.children = e.children.map(Kn)), t;
1750
+ return w(e.children) && (t.children = e.children.map(Kn)), t;
1751
1751
  }
1752
1752
  function Lr(e = " ", t = 0) {
1753
- return Mr(Ir, null, e, t);
1753
+ return Hr(Tr, null, e, t);
1754
1754
  }
1755
1755
  function qt(e, t) {
1756
1756
  let n = 0;
1757
- const { shapeFlag: r } = e;
1757
+ const { shapeFlag: o } = e;
1758
1758
  if (t == null)
1759
1759
  t = null;
1760
- else if (b(t))
1760
+ else if (w(t))
1761
1761
  n = 16;
1762
1762
  else if (typeof t == "object")
1763
- if (r & 65) {
1764
- const o = t.default;
1765
- o && (o._c && (o._d = !1), qt(e, o()), o._c && (o._d = !0));
1763
+ if (o & 65) {
1764
+ const r = t.default;
1765
+ r && (r._c && (r._d = !1), qt(e, r()), r._c && (r._d = !0));
1766
1766
  return;
1767
1767
  } else
1768
- n = 32, !t._ && !kn(t) && (t._ctx = se);
1769
- else C(t) ? (t = { default: t, _ctx: se }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Lr(t)]) : n = 8);
1768
+ n = 32, !t._ && !kn(t) && (t._ctx = le);
1769
+ else $(t) ? (t = { default: t, _ctx: le }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [Lr(t)]) : n = 8);
1770
1770
  e.children = t, e.shapeFlag |= n;
1771
1771
  }
1772
1772
  function Kr(...e) {
1773
1773
  const t = {};
1774
1774
  for (let n = 0; n < e.length; n++) {
1775
- const r = e[n];
1776
- for (const o in r)
1777
- if (o === "class")
1778
- t.class !== r.class && (t.class = Mt([t.class, r.class]));
1779
- else if (o === "style")
1780
- t.style = kt([t.style, r.style]);
1781
- else if (po(o)) {
1782
- const s = t[o], c = r[o];
1783
- c && s !== c && !(b(s) && s.includes(c)) && (t[o] = s ? [].concat(s, c) : c);
1784
- } else o !== "" && (t[o] = r[o]);
1775
+ const o = e[n];
1776
+ for (const r in o)
1777
+ if (r === "class")
1778
+ t.class !== o.class && (t.class = Ht([t.class, o.class]));
1779
+ else if (r === "style")
1780
+ t.style = kt([t.style, o.style]);
1781
+ else if (po(r)) {
1782
+ const s = t[r], c = o[r];
1783
+ c && s !== c && !(w(s) && s.includes(c)) && (t[r] = s ? [].concat(s, c) : c);
1784
+ } else r !== "" && (t[r] = o[r]);
1785
1785
  }
1786
1786
  return t;
1787
1787
  }
1788
- let Ae = null;
1789
- const zr = () => Ae || se;
1788
+ let Re = null;
1789
+ const zr = () => Re || le;
1790
1790
  let $t;
1791
1791
  {
1792
- const e = ot(), t = (n, r) => {
1793
- let o;
1794
- return (o = e[n]) || (o = e[n] = []), o.push(r), (s) => {
1795
- o.length > 1 ? o.forEach((c) => c(s)) : o[0](s);
1792
+ const e = ot(), t = (n, o) => {
1793
+ let r;
1794
+ return (r = e[n]) || (r = e[n] = []), r.push(o), (s) => {
1795
+ r.length > 1 ? r.forEach((c) => c(s)) : r[0](s);
1796
1796
  };
1797
1797
  };
1798
1798
  $t = t(
1799
1799
  "__VUE_INSTANCE_SETTERS__",
1800
- (n) => Ae = n
1800
+ (n) => Re = n
1801
1801
  ), t(
1802
1802
  "__VUE_SSR_SETTERS__",
1803
1803
  (n) => Ye = n
1804
1804
  );
1805
1805
  }
1806
1806
  const Ur = (e) => {
1807
- const t = Ae;
1807
+ const t = Re;
1808
1808
  return $t(e), e.scope.on(), () => {
1809
1809
  e.scope.off(), $t(t);
1810
1810
  };
@@ -1819,74 +1819,74 @@ function Gr(e) {
1819
1819
  get(t, n) {
1820
1820
  if (n in t)
1821
1821
  return t[n];
1822
- if (n in Ce)
1823
- return Ce[n](e);
1822
+ if (n in Se)
1823
+ return Se[n](e);
1824
1824
  },
1825
1825
  has(t, n) {
1826
- return n in t || n in Ce;
1826
+ return n in t || n in Se;
1827
1827
  }
1828
1828
  })) : e.proxy;
1829
1829
  }
1830
1830
  const Br = /(?:^|[-_])(\w)/g, Jr = (e) => e.replace(Br, (t) => t.toUpperCase()).replace(/[-_]/g, "");
1831
1831
  function zn(e, t = !0) {
1832
- return C(e) ? e.displayName || e.name : e.name || t && e.__name;
1832
+ return $(e) ? e.displayName || e.name : e.name || t && e.__name;
1833
1833
  }
1834
1834
  function Un(e, t, n = !1) {
1835
- let r = zn(t);
1836
- if (!r && t.__file) {
1837
- const o = t.__file.match(/([^/\\]+)\.\w+$/);
1838
- o && (r = o[1]);
1835
+ let o = zn(t);
1836
+ if (!o && t.__file) {
1837
+ const r = t.__file.match(/([^/\\]+)\.\w+$/);
1838
+ r && (o = r[1]);
1839
1839
  }
1840
- if (!r && e && e.parent) {
1841
- const o = (s) => {
1840
+ if (!o && e && e.parent) {
1841
+ const r = (s) => {
1842
1842
  for (const c in s)
1843
1843
  if (s[c] === t)
1844
1844
  return c;
1845
1845
  };
1846
- r = o(
1846
+ o = r(
1847
1847
  e.components || e.parent.type.components
1848
- ) || o(e.appContext.components);
1848
+ ) || r(e.appContext.components);
1849
1849
  }
1850
- return r ? Jr(r) : n ? "App" : "Anonymous";
1850
+ return o ? Jr(o) : n ? "App" : "Anonymous";
1851
1851
  }
1852
1852
  function Wn(e) {
1853
- return C(e) && "__vccOpts" in e;
1853
+ return $(e) && "__vccOpts" in e;
1854
1854
  }
1855
1855
  const xt = (e, t) => {
1856
1856
  const n = Zo(e, t, Ye);
1857
1857
  if (process.env.NODE_ENV !== "production") {
1858
- const r = zr();
1859
- r && r.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
1858
+ const o = zr();
1859
+ o && o.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
1860
1860
  }
1861
1861
  return n;
1862
1862
  };
1863
1863
  function qr() {
1864
1864
  if (process.env.NODE_ENV === "production" || typeof window > "u")
1865
1865
  return;
1866
- const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, o = {
1866
+ const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, o = { style: "color:#eb2f96" }, r = {
1867
1867
  __vue_custom_formatter: !0,
1868
1868
  header(i) {
1869
- return x(i) ? i.__isVue ? ["div", e, "VueInstance"] : $(i) ? [
1869
+ return R(i) ? i.__isVue ? ["div", e, "VueInstance"] : A(i) ? [
1870
1870
  "div",
1871
1871
  {},
1872
- ["span", e, a(i)],
1872
+ ["span", e, p(i)],
1873
1873
  "<",
1874
1874
  // avoid debugger accessing value affecting behavior
1875
- l("_value" in i ? i._value : i),
1875
+ a("_value" in i ? i._value : i),
1876
1876
  ">"
1877
- ] : ge(i) ? [
1877
+ ] : ve(i) ? [
1878
1878
  "div",
1879
1879
  {},
1880
- ["span", e, D(i) ? "ShallowReactive" : "Reactive"],
1880
+ ["span", e, I(i) ? "ShallowReactive" : "Reactive"],
1881
1881
  "<",
1882
- l(i),
1883
- `>${z(i) ? " (readonly)" : ""}`
1884
- ] : z(i) ? [
1882
+ a(i),
1883
+ `>${G(i) ? " (readonly)" : ""}`
1884
+ ] : G(i) ? [
1885
1885
  "div",
1886
1886
  {},
1887
- ["span", e, D(i) ? "ShallowReadonly" : "Readonly"],
1887
+ ["span", e, I(i) ? "ShallowReadonly" : "Readonly"],
1888
1888
  "<",
1889
- l(i),
1889
+ a(i),
1890
1890
  ">"
1891
1891
  ] : null : null;
1892
1892
  },
@@ -1903,26 +1903,26 @@ function qr() {
1903
1903
  }
1904
1904
  };
1905
1905
  function s(i) {
1906
- const d = [];
1907
- i.type.props && i.props && d.push(c("props", g(i.props))), i.setupState !== I && d.push(c("setup", i.setupState)), i.data !== I && d.push(c("data", g(i.data)));
1908
- const p = u(i, "computed");
1909
- p && d.push(c("computed", p));
1910
- const f = u(i, "inject");
1911
- return f && d.push(c("injected", f)), d.push([
1906
+ const l = [];
1907
+ i.type.props && i.props && l.push(c("props", v(i.props))), i.setupState !== j && l.push(c("setup", i.setupState)), i.data !== j && l.push(c("data", v(i.data)));
1908
+ const d = u(i, "computed");
1909
+ d && l.push(c("computed", d));
1910
+ const m = u(i, "inject");
1911
+ return m && l.push(c("injected", m)), l.push([
1912
1912
  "div",
1913
1913
  {},
1914
1914
  [
1915
1915
  "span",
1916
1916
  {
1917
- style: r.style + ";opacity:0.66"
1917
+ style: o.style + ";opacity:0.66"
1918
1918
  },
1919
1919
  "$ (internal): "
1920
1920
  ],
1921
1921
  ["object", { object: i }]
1922
- ]), d;
1922
+ ]), l;
1923
1923
  }
1924
- function c(i, d) {
1925
- return d = V({}, d), Object.keys(d).length ? [
1924
+ function c(i, l) {
1925
+ return l = T({}, l), Object.keys(l).length ? [
1926
1926
  "div",
1927
1927
  { style: "line-height:1.25em;margin-bottom:0.6em" },
1928
1928
  [
@@ -1937,36 +1937,36 @@ function qr() {
1937
1937
  {
1938
1938
  style: "padding-left:1.25em"
1939
1939
  },
1940
- ...Object.keys(d).map((p) => [
1940
+ ...Object.keys(l).map((d) => [
1941
1941
  "div",
1942
1942
  {},
1943
- ["span", r, p + ": "],
1944
- l(d[p], !1)
1943
+ ["span", o, d + ": "],
1944
+ a(l[d], !1)
1945
1945
  ])
1946
1946
  ]
1947
1947
  ] : ["span", {}];
1948
1948
  }
1949
- function l(i, d = !0) {
1950
- return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", r, i] : x(i) ? ["object", { object: d ? g(i) : i }] : ["span", n, String(i)];
1949
+ function a(i, l = !0) {
1950
+ return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", o, i] : R(i) ? ["object", { object: l ? v(i) : i }] : ["span", n, String(i)];
1951
1951
  }
1952
- function u(i, d) {
1953
- const p = i.type;
1954
- if (C(p))
1952
+ function u(i, l) {
1953
+ const d = i.type;
1954
+ if ($(d))
1955
1955
  return;
1956
- const f = {};
1957
- for (const m in i.ctx)
1958
- h(p, m, d) && (f[m] = i.ctx[m]);
1959
- return f;
1960
- }
1961
- function h(i, d, p) {
1962
- const f = i[p];
1963
- if (b(f) && f.includes(d) || x(f) && d in f || i.extends && h(i.extends, d, p) || i.mixins && i.mixins.some((m) => h(m, d, p)))
1956
+ const m = {};
1957
+ for (const h in i.ctx)
1958
+ f(d, h, l) && (m[h] = i.ctx[h]);
1959
+ return m;
1960
+ }
1961
+ function f(i, l, d) {
1962
+ const m = i[d];
1963
+ if (w(m) && m.includes(l) || R(m) && l in m || i.extends && f(i.extends, l, d) || i.mixins && i.mixins.some((h) => f(h, l, d)))
1964
1964
  return !0;
1965
1965
  }
1966
- function a(i) {
1967
- return D(i) ? "ShallowRef" : i.effect ? "ComputedRef" : "Ref";
1966
+ function p(i) {
1967
+ return I(i) ? "ShallowRef" : i.effect ? "ComputedRef" : "Ref";
1968
1968
  }
1969
- window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
1969
+ window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
1970
1970
  }
1971
1971
  process.env.NODE_ENV;
1972
1972
  process.env.NODE_ENV;
@@ -1988,78 +1988,78 @@ let Qr = (e = 21) => {
1988
1988
  return t;
1989
1989
  };
1990
1990
  function Xr(e, t = !0, n = !1) {
1991
- const r = ze();
1992
- let o;
1991
+ const o = ze();
1992
+ let r;
1993
1993
  const s = ze(!1);
1994
1994
  let c = () => {
1995
1995
  };
1996
- const l = new Proxy(e, {
1997
- apply: function(a, i, d) {
1998
- let p = a(...d);
1999
- if (p instanceof Error) {
2000
- if (r.value = p, o = p, t)
2001
- throw c(), p;
1996
+ const a = new Proxy(e, {
1997
+ apply: function(p, i, l) {
1998
+ let d = p(...l);
1999
+ if (d instanceof Error) {
2000
+ if (o.value = d, r = d, t)
2001
+ throw c(), d;
2002
2002
  } else
2003
- s.value = !0, r.value = void 0, o = !0, c();
2003
+ s.value = !0, o.value = void 0, r = !0, c();
2004
2004
  }
2005
2005
  }), u = () => {
2006
- }, h = new Proxy(
2007
- (a) => {
2008
- r.value = a;
2006
+ }, f = new Proxy(
2007
+ (p) => {
2008
+ o.value = p;
2009
2009
  },
2010
2010
  {
2011
- apply: function(a, i, d) {
2012
- a(...d), u(...d);
2011
+ apply: function(p, i, l) {
2012
+ p(...l), u(...l);
2013
2013
  }
2014
2014
  }
2015
2015
  );
2016
2016
  return {
2017
- promise: new Promise((a, i) => {
2018
- if (t && o instanceof Error) {
2019
- i(o);
2017
+ promise: new Promise((p, i) => {
2018
+ if (t && r instanceof Error) {
2019
+ i(r);
2020
2020
  return;
2021
- } else if (o === !0) {
2022
- a();
2021
+ } else if (r === !0) {
2022
+ p();
2023
2023
  return;
2024
2024
  }
2025
- let d;
2026
- n && (d = setTimeout(() => {
2027
- const p = new Error("timeout!");
2028
- r.value = p, t && i(p);
2025
+ let l;
2026
+ n && (l = setTimeout(() => {
2027
+ const d = new Error("timeout!");
2028
+ o.value = d, t && i(d);
2029
2029
  }, n)), c = () => {
2030
- d && (clearTimeout(d), d = void 0), a();
2030
+ l && (clearTimeout(l), l = void 0), p();
2031
2031
  };
2032
2032
  }),
2033
- callback: l,
2034
- onError: h,
2033
+ callback: a,
2034
+ onError: f,
2035
2035
  resolved: xt(() => s.value),
2036
- error: xt(() => r.value)
2036
+ error: xt(() => o.value)
2037
2037
  };
2038
2038
  }
2039
2039
  function Dt() {
2040
2040
  return Qr();
2041
2041
  }
2042
2042
  function es() {
2043
- const e = {}, t = {}, n = /* @__PURE__ */ new WeakMap(), r = {};
2043
+ const e = {}, t = {}, n = /* @__PURE__ */ new WeakMap(), o = {};
2044
2044
  return Object.freeze({
2045
- registerAgg(o) {
2046
- if (o.isInitialized.value)
2045
+ registerAgg(r) {
2046
+ if (r.isInitialized.value)
2047
2047
  throw new Error("Agg must register before initialized");
2048
- if (r[o._code])
2048
+ if (o[r._code])
2049
2049
  throw new Error("Agg already registered");
2050
- o.type === "MultiInstance" && o.api.events.destroyed.watchPublish(() => {
2051
- delete r[o._code];
2052
- }), r[o._code] = o;
2050
+ r.type === "MultiInstance" && r.api.events.destroyed.watchPublish(() => {
2051
+ delete o[r._code];
2052
+ }), o[r._code] = r;
2053
2053
  const s = [];
2054
2054
  for (const c of Object.values(e))
2055
- c.mount({ api: o.api, aggHash: o._code, isInitialized: o.isInitialized });
2055
+ c.mount({ api: r.api, aggHash: r._code, isInitialized: r.isInitialized });
2056
2056
  for (const c of Object.values(t))
2057
- c.mount({ api: o.api, aggHash: o._code }), s.push(c._code);
2058
- n.set(o, s);
2057
+ c.mount({ api: r.api, aggHash: r._code }), s.push(c._code);
2058
+ n.set(r, s);
2059
2059
  },
2060
- createSetupPlugin(o) {
2060
+ createSetupPlugin(r) {
2061
2061
  let s;
2062
- return o instanceof Function ? s = o() : s = o, Object.freeze({
2062
+ return r instanceof Function ? s = r() : s = r, Object.freeze({
2063
2063
  _code: Dt(),
2064
2064
  type: "Setup",
2065
2065
  mount(c) {
@@ -2069,42 +2069,42 @@ function es() {
2069
2069
  }
2070
2070
  });
2071
2071
  },
2072
- createHotSwapPlugin(o) {
2072
+ createHotSwapPlugin(r) {
2073
2073
  let s;
2074
- return o instanceof Function ? s = o() : s = o, Object.freeze({
2074
+ return r instanceof Function ? s = r() : s = r, Object.freeze({
2075
2075
  _code: Dt(),
2076
2076
  type: "HotSwap",
2077
2077
  mount: s.mount,
2078
2078
  unmount: s.unmount
2079
2079
  });
2080
2080
  },
2081
- registerPlugin(o) {
2082
- if (o.type === "Setup") {
2083
- if (e[o._code])
2081
+ registerPlugin(r) {
2082
+ if (r.type === "Setup") {
2083
+ if (e[r._code])
2084
2084
  throw new Error("Plugin already registered");
2085
- e[o._code] = o;
2086
- for (const s in r)
2087
- o.mount({
2088
- api: r[s].api,
2089
- aggHash: r[s]._code,
2090
- isInitialized: r[s].isInitialized
2085
+ e[r._code] = r;
2086
+ for (const s in o)
2087
+ r.mount({
2088
+ api: o[s].api,
2089
+ aggHash: o[s]._code,
2090
+ isInitialized: o[s].isInitialized
2091
2091
  });
2092
- } else if (o.type === "HotSwap") {
2093
- t[o._code] = o;
2094
- for (const s in r)
2095
- n.has(r[s]) && !n.get(r[s]).includes(o._code) && (o.mount({ api: r[s].api, aggHash: r[s]._code }), n.get(r[s]).push(o._code));
2092
+ } else if (r.type === "HotSwap") {
2093
+ t[r._code] = r;
2094
+ for (const s in o)
2095
+ n.has(o[s]) && !n.get(o[s]).includes(r._code) && (r.mount({ api: o[s].api, aggHash: o[s]._code }), n.get(o[s]).push(r._code));
2096
2096
  } else
2097
- isNever(o);
2097
+ isNever(r);
2098
2098
  },
2099
- unregisterPlugin(o) {
2100
- if (o.type === "Setup")
2099
+ unregisterPlugin(r) {
2100
+ if (r.type === "Setup")
2101
2101
  throw new Error("Can not unregister setup plugin");
2102
- if (o.type === "HotSwap") {
2103
- for (const s in r)
2104
- n.has(r[s]) && n.get(r[s]).includes(o._code) && o.unmount({ api: r[s].api, aggHash: r[s]._code });
2105
- delete t[o._code];
2102
+ if (r.type === "HotSwap") {
2103
+ for (const s in o)
2104
+ n.has(o[s]) && n.get(o[s]).includes(r._code) && r.unmount({ api: o[s].api, aggHash: o[s]._code });
2105
+ delete t[r._code];
2106
2106
  } else
2107
- isNever(o);
2107
+ isNever(r);
2108
2108
  }
2109
2109
  });
2110
2110
  }
@@ -2113,7 +2113,7 @@ function ts(e) {
2113
2113
  }
2114
2114
  function ns(e) {
2115
2115
  const t = os(e);
2116
- return J({
2116
+ return Z({
2117
2117
  states: t.states,
2118
2118
  commands: t.commands,
2119
2119
  events: t.events
@@ -2123,13 +2123,13 @@ function os(e) {
2123
2123
  const t = e.states;
2124
2124
  for (const c of Object.keys(e.states))
2125
2125
  t[c] = Le(t[c]);
2126
- const n = J(e.states), r = Le(e.commands), o = {}, s = e.events;
2126
+ const n = Z(e.states), o = Le(e.commands), r = {}, s = e.events;
2127
2127
  for (const c in e.events)
2128
- o[c] = s[c].api;
2129
- return J({
2128
+ r[c] = s[c].api;
2129
+ return Z({
2130
2130
  states: n,
2131
- commands: r,
2132
- events: J(o),
2131
+ commands: o,
2132
+ events: Z(r),
2133
2133
  destroy: e.destroy
2134
2134
  });
2135
2135
  }
@@ -2137,22 +2137,22 @@ function rs(e) {
2137
2137
  const {
2138
2138
  callback: t,
2139
2139
  onError: n,
2140
- promise: r,
2141
- resolved: o
2140
+ promise: o,
2141
+ resolved: r
2142
2142
  } = Xr(() => {
2143
2143
  }, !1, 5e3);
2144
2144
  function s(i) {
2145
- if (o.value === !0)
2145
+ if (r.value === !0)
2146
2146
  throw new Error("Agg already initialized");
2147
2147
  c.push(i());
2148
2148
  }
2149
- const c = [], l = e({
2149
+ const c = [], a = e({
2150
2150
  onCreated(i) {
2151
2151
  Promise.resolve().then(i);
2152
2152
  },
2153
2153
  onBeforeInitialize: s,
2154
- isInitialized: xt(() => o.value),
2155
- untilInitialized: r
2154
+ isInitialized: xt(() => r.value),
2155
+ untilInitialized: o
2156
2156
  });
2157
2157
  setTimeout(
2158
2158
  () => Promise.all(c).then(() => {
@@ -2161,20 +2161,20 @@ function rs(e) {
2161
2161
  n(i);
2162
2162
  })
2163
2163
  );
2164
- const u = l.states || {}, h = l.commands || {}, a = l.events || {};
2164
+ const u = a.states || {}, f = a.commands || {}, p = a.events || {};
2165
2165
  return {
2166
2166
  _code: Dt(),
2167
2167
  type: "Singleton",
2168
2168
  api: ns({
2169
2169
  states: u,
2170
- commands: h,
2171
- events: a,
2170
+ commands: f,
2171
+ events: p,
2172
2172
  destroy: () => {
2173
2173
  }
2174
2174
  }),
2175
- isInitialized: o,
2175
+ isInitialized: r,
2176
2176
  async untilInitialized() {
2177
- return await r.catch((i) => {
2177
+ return await o.catch((i) => {
2178
2178
  throw new Error(`Failed to initialize Agg: ${i.message}
2179
2179
  Stack : ${i.stack || "unkown"}`);
2180
2180
  });
@@ -2185,7 +2185,7 @@ let ke;
2185
2185
  function ss(e) {
2186
2186
  return rs(() => {
2187
2187
  const t = ze(e), n = ze({});
2188
- let r = () => [], o = () => [], s = () => [], c = () => [], l = () => [], u = () => [], h = () => [];
2188
+ let o = () => [], r = () => [], s = () => [], c = () => [], a = () => [], u = () => [], f = () => [];
2189
2189
  return {
2190
2190
  states: {
2191
2191
  designer: t,
@@ -2193,54 +2193,54 @@ function ss(e) {
2193
2193
  },
2194
2194
  commands: {
2195
2195
  genCodeFiles() {
2196
- return h();
2196
+ return f();
2197
2197
  },
2198
2198
  clearCaches() {
2199
2199
  },
2200
- setContext(a) {
2201
- n.value = a;
2200
+ setContext(p) {
2201
+ n.value = p;
2202
2202
  },
2203
- setDomainDesigner(a) {
2204
- this.clearCaches(), t.value = a;
2203
+ setDomainDesigner(p) {
2204
+ this.clearCaches(), t.value = p;
2205
2205
  },
2206
- _genInfoCode(...a) {
2207
- return r(...a);
2206
+ _genInfoCode(...p) {
2207
+ return o(...p);
2208
2208
  },
2209
- _setInfoCodeProvider(a) {
2210
- r = a;
2209
+ _setInfoCodeProvider(p) {
2210
+ o = p;
2211
2211
  },
2212
- _genCommandCode(...a) {
2213
- return o(...a);
2212
+ _genCommandCode(...p) {
2213
+ return r(...p);
2214
2214
  },
2215
- _setCommandCodeProvider(a) {
2216
- o = a;
2215
+ _setCommandCodeProvider(p) {
2216
+ r = p;
2217
2217
  },
2218
- _genFacadeCommandCode(...a) {
2219
- return s(...a);
2218
+ _genFacadeCommandCode(...p) {
2219
+ return s(...p);
2220
2220
  },
2221
- _setFacadeCommandCodeProvider(a) {
2222
- s = a;
2221
+ _setFacadeCommandCodeProvider(p) {
2222
+ s = p;
2223
2223
  },
2224
- _genAggCode(...a) {
2225
- return c(...a);
2224
+ _genAggCode(...p) {
2225
+ return c(...p);
2226
2226
  },
2227
- _setAggCodeProvider(a) {
2228
- c = a;
2227
+ _setAggCodeProvider(p) {
2228
+ c = p;
2229
2229
  },
2230
- _genEventCode(...a) {
2231
- return l(...a);
2230
+ _genEventCode(...p) {
2231
+ return a(...p);
2232
2232
  },
2233
- _setEventCodeProvider(a) {
2234
- l = a;
2233
+ _setEventCodeProvider(p) {
2234
+ a = p;
2235
2235
  },
2236
- _genReadModelCode(...a) {
2237
- return u(...a);
2236
+ _genReadModelCode(...p) {
2237
+ return u(...p);
2238
2238
  },
2239
- _setReadModelCodeProvider(a) {
2240
- u = a;
2239
+ _setReadModelCodeProvider(p) {
2240
+ u = p;
2241
2241
  },
2242
- _setCodeFileProvider(a) {
2243
- h = a;
2242
+ _setCodeFileProvider(p) {
2243
+ f = p;
2244
2244
  }
2245
2245
  }
2246
2246
  };
@@ -2277,20 +2277,20 @@ const Vt = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
2277
2277
  process.env.NODE_ENV !== "production" && Object.freeze([]);
2278
2278
  const fs = () => {
2279
2279
  }, ds = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
2280
- (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), ct = Object.assign, k = Array.isArray, ie = (e) => typeof e == "function", Y = (e) => typeof e == "string", hs = (e) => typeof e == "symbol", ne = (e) => e !== null && typeof e == "object";
2280
+ (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), ct = Object.assign, L = Array.isArray, ue = (e) => typeof e == "function", X = (e) => typeof e == "string", hs = (e) => typeof e == "symbol", ie = (e) => e !== null && typeof e == "object";
2281
2281
  let pn;
2282
2282
  const at = () => pn || (pn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
2283
2283
  function Yt(e) {
2284
- if (k(e)) {
2284
+ if (L(e)) {
2285
2285
  const t = {};
2286
2286
  for (let n = 0; n < e.length; n++) {
2287
- const r = e[n], o = Y(r) ? vs(r) : Yt(r);
2288
- if (o)
2289
- for (const s in o)
2290
- t[s] = o[s];
2287
+ const o = e[n], r = X(o) ? vs(o) : Yt(o);
2288
+ if (r)
2289
+ for (const s in r)
2290
+ t[s] = r[s];
2291
2291
  }
2292
2292
  return t;
2293
- } else if (Y(e) || ne(e))
2293
+ } else if (X(e) || ie(e))
2294
2294
  return e;
2295
2295
  }
2296
2296
  const ms = /;(?![^(]*\))/g, gs = /:([^]+)/, _s = /\/\*[^]*?\*\//g;
@@ -2298,21 +2298,21 @@ function vs(e) {
2298
2298
  const t = {};
2299
2299
  return e.replace(_s, "").split(ms).forEach((n) => {
2300
2300
  if (n) {
2301
- const r = n.split(gs);
2302
- r.length > 1 && (t[r[0].trim()] = r[1].trim());
2301
+ const o = n.split(gs);
2302
+ o.length > 1 && (t[o[0].trim()] = o[1].trim());
2303
2303
  }
2304
2304
  }), t;
2305
2305
  }
2306
2306
  function Zt(e) {
2307
2307
  let t = "";
2308
- if (Y(e))
2308
+ if (X(e))
2309
2309
  t = e;
2310
- else if (k(e))
2310
+ else if (L(e))
2311
2311
  for (let n = 0; n < e.length; n++) {
2312
- const r = Zt(e[n]);
2313
- r && (t += r + " ");
2312
+ const o = Zt(e[n]);
2313
+ o && (t += o + " ");
2314
2314
  }
2315
- else if (ne(e))
2315
+ else if (ie(e))
2316
2316
  for (const n in e)
2317
2317
  e[n] && (t += n + " ");
2318
2318
  return t.trim();
@@ -2341,9 +2341,9 @@ function _t(e) {
2341
2341
  function Rt(e) {
2342
2342
  return e ? !!e.__v_raw : !1;
2343
2343
  }
2344
- function oe(e) {
2344
+ function ce(e) {
2345
2345
  const t = e && e.__v_raw;
2346
- return t ? oe(t) : e;
2346
+ return t ? ce(t) : e;
2347
2347
  }
2348
2348
  function Qt(e) {
2349
2349
  return e ? e.__v_isRef === !0 : !1;
@@ -2353,46 +2353,46 @@ function Qt(e) {
2353
2353
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
2354
2354
  * @license MIT
2355
2355
  **/
2356
- const re = [];
2356
+ const ae = [];
2357
2357
  function bs(e) {
2358
- re.push(e);
2358
+ ae.push(e);
2359
2359
  }
2360
2360
  function Es() {
2361
- re.pop();
2361
+ ae.pop();
2362
2362
  }
2363
2363
  let vt = !1;
2364
- function xe(e, ...t) {
2364
+ function De(e, ...t) {
2365
2365
  if (vt) return;
2366
2366
  vt = !0;
2367
- const n = re.length ? re[re.length - 1].component : null, r = n && n.appContext.config.warnHandler, o = Ns();
2368
- if (r)
2367
+ const n = ae.length ? ae[ae.length - 1].component : null, o = n && n.appContext.config.warnHandler, r = Ns();
2368
+ if (o)
2369
2369
  Xt(
2370
- r,
2370
+ o,
2371
2371
  n,
2372
2372
  11,
2373
2373
  [
2374
2374
  // eslint-disable-next-line no-restricted-syntax
2375
2375
  e + t.map((s) => {
2376
- var c, l;
2377
- return (l = (c = s.toString) == null ? void 0 : c.call(s)) != null ? l : JSON.stringify(s);
2376
+ var c, a;
2377
+ return (a = (c = s.toString) == null ? void 0 : c.call(s)) != null ? a : JSON.stringify(s);
2378
2378
  }).join(""),
2379
2379
  n && n.proxy,
2380
- o.map(
2380
+ r.map(
2381
2381
  ({ vnode: s }) => `at <${co(n, s.type)}>`
2382
2382
  ).join(`
2383
2383
  `),
2384
- o
2384
+ r
2385
2385
  ]
2386
2386
  );
2387
2387
  else {
2388
2388
  const s = [`[Vue warn]: ${e}`, ...t];
2389
- o.length && s.push(`
2390
- `, ...ws(o));
2389
+ r.length && s.push(`
2390
+ `, ...ws(r));
2391
2391
  }
2392
2392
  vt = !1;
2393
2393
  }
2394
2394
  function Ns() {
2395
- let e = re[re.length - 1];
2395
+ let e = ae[ae.length - 1];
2396
2396
  if (!e)
2397
2397
  return [];
2398
2398
  const t = [];
@@ -2402,34 +2402,34 @@ function Ns() {
2402
2402
  vnode: e,
2403
2403
  recurseCount: 0
2404
2404
  });
2405
- const r = e.component && e.component.parent;
2406
- e = r && r.vnode;
2405
+ const o = e.component && e.component.parent;
2406
+ e = o && o.vnode;
2407
2407
  }
2408
2408
  return t;
2409
2409
  }
2410
2410
  function ws(e) {
2411
2411
  const t = [];
2412
- return e.forEach((n, r) => {
2413
- t.push(...r === 0 ? [] : [`
2414
- `], ...ys(n));
2412
+ return e.forEach((n, o) => {
2413
+ t.push(...o === 0 ? [] : [`
2414
+ `], ...Cs(n));
2415
2415
  }), t;
2416
2416
  }
2417
- function ys({ vnode: e, recurseCount: t }) {
2418
- const n = t > 0 ? `... (${t} recursive calls)` : "", r = e.component ? e.component.parent == null : !1, o = ` at <${co(
2417
+ function Cs({ vnode: e, recurseCount: t }) {
2418
+ const n = t > 0 ? `... (${t} recursive calls)` : "", o = e.component ? e.component.parent == null : !1, r = ` at <${co(
2419
2419
  e.component,
2420
2420
  e.type,
2421
- r
2421
+ o
2422
2422
  )}`, s = ">" + n;
2423
- return e.props ? [o, ...Cs(e.props), s] : [o + s];
2423
+ return e.props ? [r, ...ys(e.props), s] : [r + s];
2424
2424
  }
2425
- function Cs(e) {
2425
+ function ys(e) {
2426
2426
  const t = [], n = Object.keys(e);
2427
- return n.slice(0, 3).forEach((r) => {
2428
- t.push(...Jn(r, e[r]));
2427
+ return n.slice(0, 3).forEach((o) => {
2428
+ t.push(...Jn(o, e[o]));
2429
2429
  }), n.length > 3 && t.push(" ..."), t;
2430
2430
  }
2431
2431
  function Jn(e, t, n) {
2432
- return Y(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : Qt(t) ? (t = Jn(e, oe(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : ie(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = oe(t), n ? t : [`${e}=`, t]);
2432
+ return X(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : Qt(t) ? (t = Jn(e, ce(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : ue(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = ce(t), n ? t : [`${e}=`, t]);
2433
2433
  }
2434
2434
  const qn = {
2435
2435
  sp: "serverPrefetch hook",
@@ -2464,97 +2464,97 @@ const qn = {
2464
2464
  15: "component update",
2465
2465
  16: "app unmount cleanup function"
2466
2466
  };
2467
- function Xt(e, t, n, r) {
2467
+ function Xt(e, t, n, o) {
2468
2468
  try {
2469
- return r ? e(...r) : e();
2470
- } catch (o) {
2471
- Yn(o, t, n);
2469
+ return o ? e(...o) : e();
2470
+ } catch (r) {
2471
+ Yn(r, t, n);
2472
2472
  }
2473
2473
  }
2474
- function Yn(e, t, n, r = !0) {
2475
- const o = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: c } = t && t.appContext.config || Vt;
2474
+ function Yn(e, t, n, o = !0) {
2475
+ const r = t ? t.vnode : null, { errorHandler: s, throwUnhandledErrorInProduction: c } = t && t.appContext.config || Vt;
2476
2476
  if (t) {
2477
- let l = t.parent;
2478
- const u = t.proxy, h = process.env.NODE_ENV !== "production" ? qn[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
2479
- for (; l; ) {
2480
- const a = l.ec;
2481
- if (a) {
2482
- for (let i = 0; i < a.length; i++)
2483
- if (a[i](e, u, h) === !1)
2477
+ let a = t.parent;
2478
+ const u = t.proxy, f = process.env.NODE_ENV !== "production" ? qn[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
2479
+ for (; a; ) {
2480
+ const p = a.ec;
2481
+ if (p) {
2482
+ for (let i = 0; i < p.length; i++)
2483
+ if (p[i](e, u, f) === !1)
2484
2484
  return;
2485
2485
  }
2486
- l = l.parent;
2486
+ a = a.parent;
2487
2487
  }
2488
2488
  if (s) {
2489
2489
  Xt(s, null, 10, [
2490
2490
  e,
2491
2491
  u,
2492
- h
2492
+ f
2493
2493
  ]);
2494
2494
  return;
2495
2495
  }
2496
2496
  }
2497
- Os(e, n, o, r, c);
2497
+ Ss(e, n, r, o, c);
2498
2498
  }
2499
- function Os(e, t, n, r = !0, o = !1) {
2499
+ function Ss(e, t, n, o = !0, r = !1) {
2500
2500
  if (process.env.NODE_ENV !== "production") {
2501
2501
  const s = qn[t];
2502
- if (n && bs(n), xe(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Es(), r)
2502
+ if (n && bs(n), De(`Unhandled error${s ? ` during execution of ${s}` : ""}`), n && Es(), o)
2503
2503
  throw e;
2504
- } else if (o)
2504
+ } else if (r)
2505
2505
  throw e;
2506
2506
  }
2507
- const T = [];
2508
- let L = -1;
2509
- const ve = [];
2510
- let W = null, pe = 0;
2511
- const Ss = /* @__PURE__ */ Promise.resolve();
2512
- let Tt = null;
2507
+ const F = [];
2508
+ let U = -1;
2509
+ const Ee = [];
2510
+ let J = null, he = 0;
2511
+ const Os = /* @__PURE__ */ Promise.resolve();
2512
+ let It = null;
2513
2513
  const $s = 100;
2514
2514
  function xs(e) {
2515
- let t = L + 1, n = T.length;
2515
+ let t = U + 1, n = F.length;
2516
2516
  for (; t < n; ) {
2517
- const r = t + n >>> 1, o = T[r], s = De(o);
2518
- s < e || s === e && o.flags & 2 ? t = r + 1 : n = r;
2517
+ const o = t + n >>> 1, r = F[o], s = Ve(r);
2518
+ s < e || s === e && r.flags & 2 ? t = o + 1 : n = o;
2519
2519
  }
2520
2520
  return t;
2521
2521
  }
2522
2522
  function Ds(e) {
2523
2523
  if (!(e.flags & 1)) {
2524
- const t = De(e), n = T[T.length - 1];
2524
+ const t = Ve(e), n = F[F.length - 1];
2525
2525
  !n || // fast path when the job id is larger than the tail
2526
- !(e.flags & 2) && t >= De(n) ? T.push(e) : T.splice(xs(t), 0, e), e.flags |= 1, Zn();
2526
+ !(e.flags & 2) && t >= Ve(n) ? F.push(e) : F.splice(xs(t), 0, e), e.flags |= 1, Zn();
2527
2527
  }
2528
2528
  }
2529
2529
  function Zn() {
2530
- Tt || (Tt = Ss.then(Qn));
2530
+ It || (It = Os.then(Qn));
2531
2531
  }
2532
2532
  function Vs(e) {
2533
- k(e) ? ve.push(...e) : W && e.id === -1 ? W.splice(pe + 1, 0, e) : e.flags & 1 || (ve.push(e), e.flags |= 1), Zn();
2533
+ L(e) ? Ee.push(...e) : J && e.id === -1 ? J.splice(he + 1, 0, e) : e.flags & 1 || (Ee.push(e), e.flags |= 1), Zn();
2534
2534
  }
2535
2535
  function As(e) {
2536
- if (ve.length) {
2537
- const t = [...new Set(ve)].sort(
2538
- (n, r) => De(n) - De(r)
2536
+ if (Ee.length) {
2537
+ const t = [...new Set(Ee)].sort(
2538
+ (n, o) => Ve(n) - Ve(o)
2539
2539
  );
2540
- if (ve.length = 0, W) {
2541
- W.push(...t);
2540
+ if (Ee.length = 0, J) {
2541
+ J.push(...t);
2542
2542
  return;
2543
2543
  }
2544
- for (W = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), pe = 0; pe < W.length; pe++) {
2545
- const n = W[pe];
2544
+ for (J = t, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), he = 0; he < J.length; he++) {
2545
+ const n = J[he];
2546
2546
  process.env.NODE_ENV !== "production" && Xn(e, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
2547
2547
  }
2548
- W = null, pe = 0;
2548
+ J = null, he = 0;
2549
2549
  }
2550
2550
  }
2551
- const De = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
2551
+ const Ve = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
2552
2552
  function Qn(e) {
2553
2553
  process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
2554
2554
  const t = process.env.NODE_ENV !== "production" ? (n) => Xn(e, n) : fs;
2555
2555
  try {
2556
- for (L = 0; L < T.length; L++) {
2557
- const n = T[L];
2556
+ for (U = 0; U < F.length; U++) {
2557
+ const n = F[U];
2558
2558
  if (n && !(n.flags & 8)) {
2559
2559
  if (process.env.NODE_ENV !== "production" && t(n))
2560
2560
  continue;
@@ -2566,19 +2566,19 @@ function Qn(e) {
2566
2566
  }
2567
2567
  }
2568
2568
  } finally {
2569
- for (; L < T.length; L++) {
2570
- const n = T[L];
2569
+ for (; U < F.length; U++) {
2570
+ const n = F[U];
2571
2571
  n && (n.flags &= -2);
2572
2572
  }
2573
- L = -1, T.length = 0, As(e), Tt = null, (T.length || ve.length) && Qn(e);
2573
+ U = -1, F.length = 0, As(e), It = null, (F.length || Ee.length) && Qn(e);
2574
2574
  }
2575
2575
  }
2576
2576
  function Xn(e, t) {
2577
2577
  const n = e.get(t) || 0;
2578
2578
  if (n > $s) {
2579
- const r = t.i, o = r && io(r.type);
2579
+ const o = t.i, r = o && io(o.type);
2580
2580
  return Yn(
2581
- `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.`,
2581
+ `Maximum recursive updates exceeded${r ? ` in component <${r}>` : ""}. 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.`,
2582
2582
  null,
2583
2583
  10
2584
2584
  ), !0;
@@ -2588,8 +2588,8 @@ function Xn(e, t) {
2588
2588
  const bt = /* @__PURE__ */ new Map();
2589
2589
  process.env.NODE_ENV !== "production" && (at().__VUE_HMR_RUNTIME__ = {
2590
2590
  createRecord: Et(Rs),
2591
- rerender: Et(Ts),
2592
- reload: Et(Is)
2591
+ rerender: Et(Is),
2592
+ reload: Et(Ts)
2593
2593
  });
2594
2594
  const Ze = /* @__PURE__ */ new Map();
2595
2595
  function Rs(e, t) {
@@ -2601,22 +2601,22 @@ function Rs(e, t) {
2601
2601
  function Qe(e) {
2602
2602
  return ao(e) ? e.__vccOpts : e;
2603
2603
  }
2604
- function Ts(e, t) {
2604
+ function Is(e, t) {
2605
2605
  const n = Ze.get(e);
2606
- n && (n.initialDef.render = t, [...n.instances].forEach((r) => {
2607
- t && (r.render = t, Qe(r.type).render = t), r.renderCache = [], r.update();
2606
+ n && (n.initialDef.render = t, [...n.instances].forEach((o) => {
2607
+ t && (o.render = t, Qe(o.type).render = t), o.renderCache = [], o.update();
2608
2608
  }));
2609
2609
  }
2610
- function Is(e, t) {
2610
+ function Ts(e, t) {
2611
2611
  const n = Ze.get(e);
2612
2612
  if (!n) return;
2613
2613
  t = Qe(t), fn(n.initialDef, t);
2614
- const r = [...n.instances];
2615
- for (let o = 0; o < r.length; o++) {
2616
- const s = r[o], c = Qe(s.type);
2617
- let l = bt.get(c);
2618
- l || (c !== n.initialDef && fn(c, t), bt.set(c, l = /* @__PURE__ */ new Set())), l.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (l.add(s), s.ceReload(t.styles), l.delete(s)) : s.parent ? Ds(() => {
2619
- s.parent.update(), l.delete(s);
2614
+ const o = [...n.instances];
2615
+ for (let r = 0; r < o.length; r++) {
2616
+ const s = o[r], c = Qe(s.type);
2617
+ let a = bt.get(c);
2618
+ a || (c !== n.initialDef && fn(c, t), bt.set(c, 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 ? Ds(() => {
2619
+ s.parent.update(), a.delete(s);
2620
2620
  }) : s.appContext.reload ? s.appContext.reload() : typeof window < "u" && window.location.reload(), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(c);
2621
2621
  }
2622
2622
  Vs(() => {
@@ -2645,26 +2645,26 @@ at().requestIdleCallback;
2645
2645
  at().cancelIdleCallback;
2646
2646
  const js = Symbol.for("v-ndc");
2647
2647
  process.env.NODE_ENV;
2648
- const ks = {}, to = (e) => Object.getPrototypeOf(e) === ks, Ms = (e) => e.__isSuspense, no = Symbol.for("v-fgt"), Hs = Symbol.for("v-txt"), Ls = Symbol.for("v-cmt");
2649
- let he = null;
2648
+ const ks = {}, to = (e) => Object.getPrototypeOf(e) === ks, Hs = (e) => e.__isSuspense, no = Symbol.for("v-fgt"), Ms = Symbol.for("v-txt"), Ls = Symbol.for("v-cmt");
2649
+ let ge = null;
2650
2650
  function Ks(e) {
2651
2651
  return e ? e.__v_isVNode === !0 : !1;
2652
2652
  }
2653
2653
  const zs = (...e) => ro(
2654
2654
  ...e
2655
- ), oo = ({ key: e }) => e ?? null, He = ({
2655
+ ), oo = ({ key: e }) => e ?? null, Me = ({
2656
2656
  ref: e,
2657
2657
  ref_key: t,
2658
2658
  ref_for: n
2659
- }) => (typeof e == "number" && (e = "" + e), e != null ? Y(e) || Qt(e) || ie(e) ? { i: Xe, r: e, k: t, f: !!n } : e : null);
2660
- function Us(e, t = null, n = null, r = 0, o = null, s = e === no ? 0 : 1, c = !1, l = !1) {
2659
+ }) => (typeof e == "number" && (e = "" + e), e != null ? X(e) || Qt(e) || ue(e) ? { i: Xe, r: e, k: t, f: !!n } : e : null);
2660
+ function Us(e, t = null, n = null, o = 0, r = null, s = e === no ? 0 : 1, c = !1, a = !1) {
2661
2661
  const u = {
2662
2662
  __v_isVNode: !0,
2663
2663
  __v_skip: !0,
2664
2664
  type: e,
2665
2665
  props: t,
2666
2666
  key: t && oo(t),
2667
- ref: t && He(t),
2667
+ ref: t && Me(t),
2668
2668
  scopeId: Ps,
2669
2669
  slotScopeIds: null,
2670
2670
  children: n,
@@ -2681,40 +2681,40 @@ function Us(e, t = null, n = null, r = 0, o = null, s = e === no ? 0 : 1, c = !1
2681
2681
  targetAnchor: null,
2682
2682
  staticCount: 0,
2683
2683
  shapeFlag: s,
2684
- patchFlag: r,
2685
- dynamicProps: o,
2684
+ patchFlag: o,
2685
+ dynamicProps: r,
2686
2686
  dynamicChildren: null,
2687
2687
  appContext: null,
2688
2688
  ctx: Xe
2689
2689
  };
2690
- return l ? (en(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= Y(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && xe("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
2690
+ return a ? (en(u, n), s & 128 && e.normalize(u)) : n && (u.shapeFlag |= X(n) ? 8 : 16), process.env.NODE_ENV !== "production" && u.key !== u.key && De("VNode created with invalid key (NaN). VNode type:", u.type), // avoid a block node from tracking itself
2691
2691
  !c && // has current parent block
2692
- he && // presence of a patch flag indicates this node needs patching on updates.
2692
+ ge && // presence of a patch flag indicates this node needs patching on updates.
2693
2693
  // component nodes also should always be patched, because even if the
2694
2694
  // component doesn't need to update, it needs to persist the instance on to
2695
2695
  // the next vnode so that it can be properly unmounted later.
2696
2696
  (u.patchFlag > 0 || s & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
2697
2697
  // vnode should not be considered dynamic due to handler caching.
2698
- u.patchFlag !== 32 && he.push(u), u;
2698
+ u.patchFlag !== 32 && ge.push(u), u;
2699
2699
  }
2700
2700
  const Ws = process.env.NODE_ENV !== "production" ? zs : ro;
2701
- function ro(e, t = null, n = null, r = 0, o = null, s = !1) {
2702
- if ((!e || e === js) && (process.env.NODE_ENV !== "production" && !e && xe(`Invalid vnode type when creating vnode: ${e}.`), e = Ls), Ks(e)) {
2703
- const l = et(
2701
+ function ro(e, t = null, n = null, o = 0, r = null, s = !1) {
2702
+ if ((!e || e === js) && (process.env.NODE_ENV !== "production" && !e && De(`Invalid vnode type when creating vnode: ${e}.`), e = Ls), Ks(e)) {
2703
+ const a = et(
2704
2704
  e,
2705
2705
  t,
2706
2706
  !0
2707
2707
  /* mergeRef: true */
2708
2708
  );
2709
- return n && en(l, n), !s && he && (l.shapeFlag & 6 ? he[he.indexOf(e)] = l : he.push(l)), l.patchFlag = -2, l;
2709
+ return n && en(a, n), !s && ge && (a.shapeFlag & 6 ? ge[ge.indexOf(e)] = a : ge.push(a)), a.patchFlag = -2, a;
2710
2710
  }
2711
2711
  if (ao(e) && (e = e.__vccOpts), t) {
2712
2712
  t = Gs(t);
2713
- let { class: l, style: u } = t;
2714
- l && !Y(l) && (t.class = Zt(l)), ne(u) && (Rt(u) && !k(u) && (u = ct({}, u)), t.style = Yt(u));
2713
+ let { class: a, style: u } = t;
2714
+ a && !X(a) && (t.class = Zt(a)), ie(u) && (Rt(u) && !L(u) && (u = ct({}, u)), t.style = Yt(u));
2715
2715
  }
2716
- const c = Y(e) ? 1 : Ms(e) ? 128 : Fs(e) ? 64 : ne(e) ? 4 : ie(e) ? 2 : 0;
2717
- return process.env.NODE_ENV !== "production" && c & 4 && Rt(e) && (e = oe(e), xe(
2716
+ const c = X(e) ? 1 : Hs(e) ? 128 : Fs(e) ? 64 : ie(e) ? 4 : ue(e) ? 2 : 0;
2717
+ return process.env.NODE_ENV !== "production" && c & 4 && Rt(e) && (e = ce(e), De(
2718
2718
  "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`.",
2719
2719
  `
2720
2720
  Component that was made reactive: `,
@@ -2723,8 +2723,8 @@ Component that was made reactive: `,
2723
2723
  e,
2724
2724
  t,
2725
2725
  n,
2726
- r,
2727
2726
  o,
2727
+ r,
2728
2728
  c,
2729
2729
  s,
2730
2730
  !0
@@ -2733,22 +2733,22 @@ Component that was made reactive: `,
2733
2733
  function Gs(e) {
2734
2734
  return e ? Rt(e) || to(e) ? ct({}, e) : e : null;
2735
2735
  }
2736
- function et(e, t, n = !1, r = !1) {
2737
- const { props: o, ref: s, patchFlag: c, children: l, transition: u } = e, h = t ? Js(o || {}, t) : o, a = {
2736
+ function et(e, t, n = !1, o = !1) {
2737
+ const { props: r, ref: s, patchFlag: c, children: a, transition: u } = e, f = t ? Js(r || {}, t) : r, p = {
2738
2738
  __v_isVNode: !0,
2739
2739
  __v_skip: !0,
2740
2740
  type: e.type,
2741
- props: h,
2742
- key: h && oo(h),
2741
+ props: f,
2742
+ key: f && oo(f),
2743
2743
  ref: t && t.ref ? (
2744
2744
  // #2078 in the case of <component :is="vnode" ref="extra"/>
2745
2745
  // if the vnode itself already has a ref, cloneVNode will need to merge
2746
2746
  // the refs so the single vnode can be set on multiple refs
2747
- n && s ? k(s) ? s.concat(He(t)) : [s, He(t)] : He(t)
2747
+ n && s ? L(s) ? s.concat(Me(t)) : [s, Me(t)] : Me(t)
2748
2748
  ) : s,
2749
2749
  scopeId: e.scopeId,
2750
2750
  slotScopeIds: e.slotScopeIds,
2751
- children: process.env.NODE_ENV !== "production" && c === -1 && k(l) ? l.map(so) : l,
2751
+ children: process.env.NODE_ENV !== "production" && c === -1 && L(a) ? a.map(so) : a,
2752
2752
  target: e.target,
2753
2753
  targetStart: e.targetStart,
2754
2754
  targetAnchor: e.targetAnchor,
@@ -2777,56 +2777,56 @@ function et(e, t, n = !1, r = !1) {
2777
2777
  ctx: e.ctx,
2778
2778
  ce: e.ce
2779
2779
  };
2780
- return u && r && eo(
2781
- a,
2782
- u.clone(a)
2783
- ), a;
2780
+ return u && o && eo(
2781
+ p,
2782
+ u.clone(p)
2783
+ ), p;
2784
2784
  }
2785
2785
  function so(e) {
2786
2786
  const t = et(e);
2787
- return k(e.children) && (t.children = e.children.map(so)), t;
2787
+ return L(e.children) && (t.children = e.children.map(so)), t;
2788
2788
  }
2789
2789
  function Bs(e = " ", t = 0) {
2790
- return Ws(Hs, null, e, t);
2790
+ return Ws(Ms, null, e, t);
2791
2791
  }
2792
2792
  function en(e, t) {
2793
2793
  let n = 0;
2794
- const { shapeFlag: r } = e;
2794
+ const { shapeFlag: o } = e;
2795
2795
  if (t == null)
2796
2796
  t = null;
2797
- else if (k(t))
2797
+ else if (L(t))
2798
2798
  n = 16;
2799
2799
  else if (typeof t == "object")
2800
- if (r & 65) {
2801
- const o = t.default;
2802
- o && (o._c && (o._d = !1), en(e, o()), o._c && (o._d = !0));
2800
+ if (o & 65) {
2801
+ const r = t.default;
2802
+ r && (r._c && (r._d = !1), en(e, r()), r._c && (r._d = !0));
2803
2803
  return;
2804
2804
  } else
2805
2805
  n = 32, !t._ && !to(t) && (t._ctx = Xe);
2806
- else ie(t) ? (t = { default: t, _ctx: Xe }, n = 32) : (t = String(t), r & 64 ? (n = 16, t = [Bs(t)]) : n = 8);
2806
+ else ue(t) ? (t = { default: t, _ctx: Xe }, n = 32) : (t = String(t), o & 64 ? (n = 16, t = [Bs(t)]) : n = 8);
2807
2807
  e.children = t, e.shapeFlag |= n;
2808
2808
  }
2809
2809
  function Js(...e) {
2810
2810
  const t = {};
2811
2811
  for (let n = 0; n < e.length; n++) {
2812
- const r = e[n];
2813
- for (const o in r)
2814
- if (o === "class")
2815
- t.class !== r.class && (t.class = Zt([t.class, r.class]));
2816
- else if (o === "style")
2817
- t.style = Yt([t.style, r.style]);
2818
- else if (ds(o)) {
2819
- const s = t[o], c = r[o];
2820
- c && s !== c && !(k(s) && s.includes(c)) && (t[o] = s ? [].concat(s, c) : c);
2821
- } else o !== "" && (t[o] = r[o]);
2812
+ const o = e[n];
2813
+ for (const r in o)
2814
+ if (r === "class")
2815
+ t.class !== o.class && (t.class = Zt([t.class, o.class]));
2816
+ else if (r === "style")
2817
+ t.style = Yt([t.style, o.style]);
2818
+ else if (ds(r)) {
2819
+ const s = t[r], c = o[r];
2820
+ c && s !== c && !(L(s) && s.includes(c)) && (t[r] = s ? [].concat(s, c) : c);
2821
+ } else r !== "" && (t[r] = o[r]);
2822
2822
  }
2823
2823
  return t;
2824
2824
  }
2825
2825
  {
2826
- const e = at(), t = (n, r) => {
2827
- let o;
2828
- return (o = e[n]) || (o = e[n] = []), o.push(r), (s) => {
2829
- o.length > 1 ? o.forEach((c) => c(s)) : o[0](s);
2826
+ const e = at(), t = (n, o) => {
2827
+ let r;
2828
+ return (r = e[n]) || (r = e[n] = []), r.push(o), (s) => {
2829
+ r.length > 1 ? r.forEach((c) => c(s)) : r[0](s);
2830
2830
  };
2831
2831
  };
2832
2832
  t(
@@ -2840,56 +2840,56 @@ function Js(...e) {
2840
2840
  process.env.NODE_ENV;
2841
2841
  const qs = /(?:^|[-_])(\w)/g, Ys = (e) => e.replace(qs, (t) => t.toUpperCase()).replace(/[-_]/g, "");
2842
2842
  function io(e, t = !0) {
2843
- return ie(e) ? e.displayName || e.name : e.name || t && e.__name;
2843
+ return ue(e) ? e.displayName || e.name : e.name || t && e.__name;
2844
2844
  }
2845
2845
  function co(e, t, n = !1) {
2846
- let r = io(t);
2847
- if (!r && t.__file) {
2848
- const o = t.__file.match(/([^/\\]+)\.\w+$/);
2849
- o && (r = o[1]);
2846
+ let o = io(t);
2847
+ if (!o && t.__file) {
2848
+ const r = t.__file.match(/([^/\\]+)\.\w+$/);
2849
+ r && (o = r[1]);
2850
2850
  }
2851
- if (!r && e && e.parent) {
2852
- const o = (s) => {
2851
+ if (!o && e && e.parent) {
2852
+ const r = (s) => {
2853
2853
  for (const c in s)
2854
2854
  if (s[c] === t)
2855
2855
  return c;
2856
2856
  };
2857
- r = o(
2857
+ o = r(
2858
2858
  e.components || e.parent.type.components
2859
- ) || o(e.appContext.components);
2859
+ ) || r(e.appContext.components);
2860
2860
  }
2861
- return r ? Ys(r) : n ? "App" : "Anonymous";
2861
+ return o ? Ys(o) : n ? "App" : "Anonymous";
2862
2862
  }
2863
2863
  function ao(e) {
2864
- return ie(e) && "__vccOpts" in e;
2864
+ return ue(e) && "__vccOpts" in e;
2865
2865
  }
2866
2866
  function Zs() {
2867
2867
  if (process.env.NODE_ENV === "production" || typeof window > "u")
2868
2868
  return;
2869
- const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, o = {
2869
+ const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, o = { style: "color:#eb2f96" }, r = {
2870
2870
  __vue_custom_formatter: !0,
2871
2871
  header(i) {
2872
- return ne(i) ? i.__isVue ? ["div", e, "VueInstance"] : Qt(i) ? [
2872
+ return ie(i) ? i.__isVue ? ["div", e, "VueInstance"] : Qt(i) ? [
2873
2873
  "div",
2874
2874
  {},
2875
- ["span", e, a(i)],
2875
+ ["span", e, p(i)],
2876
2876
  "<",
2877
2877
  // avoid debugger accessing value affecting behavior
2878
- l("_value" in i ? i._value : i),
2878
+ a("_value" in i ? i._value : i),
2879
2879
  ">"
2880
2880
  ] : Bn(i) ? [
2881
2881
  "div",
2882
2882
  {},
2883
2883
  ["span", e, _t(i) ? "ShallowReactive" : "Reactive"],
2884
2884
  "<",
2885
- l(i),
2885
+ a(i),
2886
2886
  `>${At(i) ? " (readonly)" : ""}`
2887
2887
  ] : At(i) ? [
2888
2888
  "div",
2889
2889
  {},
2890
2890
  ["span", e, _t(i) ? "ShallowReadonly" : "Readonly"],
2891
2891
  "<",
2892
- l(i),
2892
+ a(i),
2893
2893
  ">"
2894
2894
  ] : null : null;
2895
2895
  },
@@ -2906,26 +2906,26 @@ function Zs() {
2906
2906
  }
2907
2907
  };
2908
2908
  function s(i) {
2909
- const d = [];
2910
- i.type.props && i.props && d.push(c("props", oe(i.props))), i.setupState !== Vt && d.push(c("setup", i.setupState)), i.data !== Vt && d.push(c("data", oe(i.data)));
2911
- const p = u(i, "computed");
2912
- p && d.push(c("computed", p));
2913
- const f = u(i, "inject");
2914
- return f && d.push(c("injected", f)), d.push([
2909
+ const l = [];
2910
+ i.type.props && i.props && l.push(c("props", ce(i.props))), i.setupState !== Vt && l.push(c("setup", i.setupState)), i.data !== Vt && l.push(c("data", ce(i.data)));
2911
+ const d = u(i, "computed");
2912
+ d && l.push(c("computed", d));
2913
+ const m = u(i, "inject");
2914
+ return m && l.push(c("injected", m)), l.push([
2915
2915
  "div",
2916
2916
  {},
2917
2917
  [
2918
2918
  "span",
2919
2919
  {
2920
- style: r.style + ";opacity:0.66"
2920
+ style: o.style + ";opacity:0.66"
2921
2921
  },
2922
2922
  "$ (internal): "
2923
2923
  ],
2924
2924
  ["object", { object: i }]
2925
- ]), d;
2925
+ ]), l;
2926
2926
  }
2927
- function c(i, d) {
2928
- return d = ct({}, d), Object.keys(d).length ? [
2927
+ function c(i, l) {
2928
+ return l = ct({}, l), Object.keys(l).length ? [
2929
2929
  "div",
2930
2930
  { style: "line-height:1.25em;margin-bottom:0.6em" },
2931
2931
  [
@@ -2940,36 +2940,36 @@ function Zs() {
2940
2940
  {
2941
2941
  style: "padding-left:1.25em"
2942
2942
  },
2943
- ...Object.keys(d).map((p) => [
2943
+ ...Object.keys(l).map((d) => [
2944
2944
  "div",
2945
2945
  {},
2946
- ["span", r, p + ": "],
2947
- l(d[p], !1)
2946
+ ["span", o, d + ": "],
2947
+ a(l[d], !1)
2948
2948
  ])
2949
2949
  ]
2950
2950
  ] : ["span", {}];
2951
2951
  }
2952
- function l(i, d = !0) {
2953
- return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", r, i] : ne(i) ? ["object", { object: d ? oe(i) : i }] : ["span", n, String(i)];
2952
+ function a(i, l = !0) {
2953
+ return typeof i == "number" ? ["span", t, i] : typeof i == "string" ? ["span", n, JSON.stringify(i)] : typeof i == "boolean" ? ["span", o, i] : ie(i) ? ["object", { object: l ? ce(i) : i }] : ["span", n, String(i)];
2954
2954
  }
2955
- function u(i, d) {
2956
- const p = i.type;
2957
- if (ie(p))
2955
+ function u(i, l) {
2956
+ const d = i.type;
2957
+ if (ue(d))
2958
2958
  return;
2959
- const f = {};
2960
- for (const m in i.ctx)
2961
- h(p, m, d) && (f[m] = i.ctx[m]);
2962
- return f;
2963
- }
2964
- function h(i, d, p) {
2965
- const f = i[p];
2966
- if (k(f) && f.includes(d) || ne(f) && d in f || i.extends && h(i.extends, d, p) || i.mixins && i.mixins.some((m) => h(m, d, p)))
2959
+ const m = {};
2960
+ for (const h in i.ctx)
2961
+ f(d, h, l) && (m[h] = i.ctx[h]);
2962
+ return m;
2963
+ }
2964
+ function f(i, l, d) {
2965
+ const m = i[d];
2966
+ if (L(m) && m.includes(l) || ie(m) && l in m || i.extends && f(i.extends, l, d) || i.mixins && i.mixins.some((h) => f(h, l, d)))
2967
2967
  return !0;
2968
2968
  }
2969
- function a(i) {
2969
+ function p(i) {
2970
2970
  return _t(i) ? "ShallowRef" : i.effect ? "ComputedRef" : "Ref";
2971
2971
  }
2972
- window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
2972
+ window.devtoolsFormatters ? window.devtoolsFormatters.push(r) : window.devtoolsFormatters = [r];
2973
2973
  }
2974
2974
  process.env.NODE_ENV;
2975
2975
  process.env.NODE_ENV;
@@ -2987,7 +2987,7 @@ function Xs(e) {
2987
2987
  return as(e) || ls(e) || cs(e) || us(e) || ps(e);
2988
2988
  }
2989
2989
  var lo = /* @__PURE__ */ ((e) => (e.Java = "java", e.Kotlin = "kotlin", e.CSharp = "csharp", e.Go = "go", e))(lo || {});
2990
- class fe {
2990
+ class ne {
2991
2991
  imports = /* @__PURE__ */ new Set();
2992
2992
  parentDir;
2993
2993
  name;
@@ -3031,13 +3031,13 @@ class fe {
3031
3031
  var tt;
3032
3032
  ((e) => {
3033
3033
  ((t) => {
3034
- t.Lombok = "Lombok", t.LombokBuilder = "LombokBuilder", t.RecordVakueObject = "RecordVakueObject", t.CommandHandler = "CommandHandler", t.Jpa = "Jpa", t.Timezone = "Timezone";
3034
+ t.Lombok = "Lombok", t.LombokBuilder = "LombokBuilder", t.RecordVakueObject = "RecordVakueObject", t.CommandHandler = "CommandHandler", t.Jpa = "Jpa", t.Timezone = "Timezone", t.SpringFramework = "SpringFramework";
3035
3035
  })(e.JavaGeneratorAddition || (e.JavaGeneratorAddition = {}));
3036
3036
  })(tt || (tt = {}));
3037
- var It;
3037
+ var Tt;
3038
3038
  ((e) => {
3039
3039
  e.KotlinGeneratorAddition || (e.KotlinGeneratorAddition = {});
3040
- })(It || (It = {}));
3040
+ })(Tt || (Tt = {}));
3041
3041
  var Pt;
3042
3042
  ((e) => {
3043
3043
  e.CSharpGeneratorAddition || (e.CSharpGeneratorAddition = {});
@@ -3048,7 +3048,7 @@ var Ft;
3048
3048
  })(Ft || (Ft = {}));
3049
3049
  const ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3050
3050
  __proto__: null,
3051
- CodeFile: fe,
3051
+ CodeFile: ne,
3052
3052
  Language: lo,
3053
3053
  get csharp() {
3054
3054
  return Pt;
@@ -3061,286 +3061,344 @@ const ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3061
3061
  return tt;
3062
3062
  },
3063
3063
  get kotlin() {
3064
- return It;
3064
+ return Tt;
3065
3065
  }
3066
3066
  }, Symbol.toStringTag, { value: "Module" }));
3067
- var E;
3067
+ var C;
3068
3068
  ((e) => {
3069
- function t(h) {
3070
- return h.trim().split(h.includes("_") ? /_|\s/ : /(?=[A-Z])/g).map((a) => a.charAt(0).toUpperCase() + a.toLowerCase().slice(1)).join("");
3069
+ function t(f) {
3070
+ return f.trim().split(f.includes("_") ? /_|\s/ : /(?=[A-Z])/g).map((p) => p.charAt(0).toUpperCase() + p.toLowerCase().slice(1)).join("");
3071
3071
  }
3072
3072
  e.stringToUpperCamel = t;
3073
- function n(h) {
3074
- let a = !0;
3075
- return h.trim().split(h.includes("_") ? /_|\s/ : /(?=[A-Z])/g).map((i) => a ? (a = !1, i.toLowerCase()) : i.charAt(0).toUpperCase() + i.toLowerCase().slice(1)).join("");
3073
+ function n(f) {
3074
+ let p = !0;
3075
+ return f.trim().split(f.includes("_") ? /_|\s/ : /(?=[A-Z])/g).map((i) => p ? (p = !1, i.toLowerCase()) : i.charAt(0).toUpperCase() + i.toLowerCase().slice(1)).join("");
3076
3076
  }
3077
3077
  e.stringToLowerCamel = n;
3078
- function r(h) {
3079
- return h.includes("_") ? h.toLowerCase() : s(h);
3078
+ function o(f) {
3079
+ return f.includes("_") ? f.toLowerCase() : s(f);
3080
3080
  }
3081
- e.stringToLowerSnake = r;
3082
- function o(h) {
3083
- return h.trim().split(/(?=[A-Z])/g).join("_").toUpperCase();
3081
+ e.stringToLowerSnake = o;
3082
+ function r(f) {
3083
+ return f.trim().split(/(?=[A-Z])/g).join("_").toUpperCase();
3084
3084
  }
3085
- e.camelToUpperSnake = o;
3086
- function s(h) {
3087
- return h.trim().split(/(?=[A-Z])/g).join("_").toLowerCase();
3085
+ e.camelToUpperSnake = r;
3086
+ function s(f) {
3087
+ return f.trim().split(/(?=[A-Z])/g).join("_").toLowerCase();
3088
3088
  }
3089
3089
  e.camelToLowerSnake = s;
3090
- function c(h) {
3091
- return h.trim().split("_").map((a) => a.charAt(0).toUpperCase() + a.slice(1)).join("");
3090
+ function c(f) {
3091
+ return f.trim().split("_").map((p) => p.charAt(0).toUpperCase() + p.slice(1)).join("");
3092
3092
  }
3093
3093
  e.snakeToUpperCamel = c;
3094
- function l(h) {
3095
- return h.trim().charAt(0).toLowerCase() + h.slice(1);
3094
+ function a(f) {
3095
+ return f.trim().charAt(0).toLowerCase() + f.slice(1);
3096
3096
  }
3097
- e.lowerFirst = l;
3098
- function u(h) {
3099
- return h.trim().charAt(0).toUpperCase() + h.slice(1);
3097
+ e.lowerFirst = a;
3098
+ function u(f) {
3099
+ return f.trim().charAt(0).toUpperCase() + f.slice(1);
3100
3100
  }
3101
3101
  e.upperFirst = u;
3102
- })(E || (E = {}));
3103
- const A = tt.JavaGeneratorAddition, ni = Gn.createHotSwapPlugin(() => {
3104
- function e(t) {
3105
- return E.stringToUpperCamel(t._attributes.name);
3102
+ })(C || (C = {}));
3103
+ const x = tt.JavaGeneratorAddition, ni = Gn.createHotSwapPlugin(() => {
3104
+ const e = "value";
3105
+ function t(n) {
3106
+ return C.stringToUpperCamel(n._attributes.name);
3106
3107
  }
3107
3108
  return {
3108
- unmount({ api: t }) {
3109
- t.commands.clearCaches(), t.commands._setCommandCodeProvider(() => []), t.commands._setFacadeCommandCodeProvider(() => []), t.commands._setAggCodeProvider(() => []), t.commands._setEventCodeProvider(() => []), t.commands._setReadModelCodeProvider(() => []), t.commands._setCodeFileProvider(() => []), t.commands.setContext({});
3109
+ unmount({ api: n }) {
3110
+ n.commands.clearCaches(), n.commands._setCommandCodeProvider(() => []), n.commands._setFacadeCommandCodeProvider(() => []), n.commands._setAggCodeProvider(() => []), n.commands._setEventCodeProvider(() => []), n.commands._setReadModelCodeProvider(() => []), n.commands._setCodeFileProvider(() => []), n.commands.setContext({});
3110
3111
  },
3111
- mount({ api: t }) {
3112
- const n = t.states.context;
3113
- function r(s, c) {
3114
- const l = n.value.additions, u = E.stringToLowerSnake(c._attributes.name).replace(/_/, " ");
3115
- return /\b(time|timestamp|date|deadline|expire)\b/.test(u) ? l.has(A.Timezone) ? (s.add("java.time.OffsetDateTime"), "OffsetDateTime") : (s.add("java.time.LocalDateTime"), "LocalDateTime") : /\b(enum|gender|sex|count|flag|times)\b/.test(u) ? "Integer" : is(c) && (c._attributes.type === "Id" || c._attributes.type === "Version") ? "Long" : "String";
3112
+ mount({ api: n }) {
3113
+ const o = n.states.context;
3114
+ function r(c, a) {
3115
+ const u = o.value.additions, f = C.stringToLowerSnake(a._attributes.name).replace(/_/, " ");
3116
+ return /\b(time|timestamp|date|deadline|expire)\b/.test(f) ? u.has(x.Timezone) ? (c.add("java.time.OffsetDateTime"), "OffsetDateTime") : (c.add("java.time.LocalDateTime"), "LocalDateTime") : /\b(enum|gender|sex|count|flag|times)\b/.test(f) ? "Integer" : /^(if|is)\b/.test(f) ? "Boolean" : is(a) && (a._attributes.type === "Id" || a._attributes.type === "Version") ? "Long" : "String";
3116
3117
  }
3117
- t.commands._setInfoCodeProvider(
3118
- (s) => {
3119
- const c = /* @__PURE__ */ new Set();
3120
- c.add(n.value.nonNullAnnotation);
3121
- const l = n.value.nonNullAnnotation.split(".").pop(), u = e(s), h = n.value.additions, a = [];
3122
- return h.has(A.RecordVakueObject) ? (a.push(`public record ${u} (@${l} ${r(c, s)} value) {`), a.push(` public ${u} {`), a.push(" // HACK check value"), a.push(" }"), a.push("}")) : h.has(A.Lombok) ? (a.push("@lombok.AllArgsConstructor"), a.push("@lombok.Getter"), a.push(`public class ${u} {`), a.push(` private final ${r(c, s)} value;`), a.push(""), a.push(` public ${u} (@${l} ${r(c, s)} value) {`), a.push(" // HACK check value"), a.push(" this.value = value;"), a.push(" }"), a.push("}")) : (a.push(`public class ${e(s)} {`), a.push(` private final ${r(c, s)} value;`), a.push(""), a.push(` public ${u} (@${l} ${r(c, s)} value) {`), a.push(" // HACK check value"), a.push(" this.value = value;"), a.push(" }"), a.push(""), a.push(` public ${r(c, s)} getValue() {`), a.push(" return this.value;"), a.push(" }"), a.push("}")), [
3118
+ n.commands._setInfoCodeProvider(
3119
+ (c) => {
3120
+ const a = /* @__PURE__ */ new Set();
3121
+ a.add(o.value.nonNullAnnotation);
3122
+ const u = o.value.nonNullAnnotation.split(".").pop(), f = t(c), p = o.value.additions, i = [];
3123
+ return p.has(x.RecordVakueObject) ? (i.push(`public record ${f} (@${u} ${r(a, c)} value) {`), i.push(` public ${f} {`), i.push(" // HACK check value"), i.push(" }"), i.push("}")) : p.has(x.Lombok) ? (i.push("@lombok.AllArgsConstructor"), i.push("@lombok.Getter"), i.push(`public class ${f} {`), i.push(` private final ${r(a, c)} value;`), i.push(""), i.push(` public ${f} (@${u} ${r(a, c)} value) {`), i.push(" // HACK check value"), i.push(" this.value = value;"), i.push(" }"), i.push("}")) : (i.push(`public class ${t(c)} {`), i.push(` private final ${r(a, c)} value;`), i.push(""), i.push(` public ${f} (@${u} ${r(a, c)} value) {`), i.push(" // HACK check value"), i.push(" this.value = value;"), i.push(" }"), i.push(""), i.push(` public ${r(a, c)} getValue() {`), i.push(" return this.value;"), i.push(" }"), i.push("}")), [
3123
3124
  {
3124
3125
  type: "Info",
3125
- imports: c,
3126
- content: a.join(`
3126
+ imports: a,
3127
+ content: i.join(`
3127
3128
  `)
3128
3129
  }
3129
3130
  ];
3130
3131
  }
3131
3132
  );
3132
- function o(s) {
3133
- const c = n.value.additions, l = /* @__PURE__ */ new Set();
3134
- l.add(n.value.nonNullAnnotation);
3135
- const u = n.value.nonNullAnnotation.split(".").pop(), h = e(s), a = [], i = Object.values(s.inner);
3136
- if (c.has(A.RecordVakueObject)) {
3137
- c.has(A.LombokBuilder) && a.push("@lombok.Builder(toBuilder = true)"), a.push(`public record ${h} {`);
3138
- const d = [];
3139
- for (const p of i) {
3140
- const f = e(p);
3141
- d.push(` @${u}
3142
- ${f} ${E.lowerFirst(f)}`);
3143
- }
3144
- a.push(d.join(`,
3145
- `)), a.push(") {"), a.push(` public ${h} {`), a.push(" // HACK check value"), a.push(" }"), a.push("}");
3146
- } else if (c.has(A.Lombok)) {
3147
- a.push("@lombok.AllArgsConstructor"), a.push("@lombok.Getter"), c.has(A.LombokBuilder) && a.push("@lombok.Builder(toBuilder = true)"), a.push(`publish class ${h} {`);
3148
- for (const p of i) {
3149
- const f = e(p);
3150
- a.push(` @${u}`), a.push(` private final ${f} ${E.upperFirst(f)};`);
3151
- }
3152
- a.push("");
3153
- const d = [];
3154
- for (const p of i) {
3155
- const f = e(p);
3156
- d.push(`@${u} ${r(l, p)} ${E.lowerFirst(f)}`);
3157
- }
3158
- a.push(` public ${h}(${d.join(", ")}) {`), a.push(" // HACK check value"), a.push(" }"), a.push("}");
3159
- } else {
3160
- a.push(`publish class ${h} {`);
3161
- for (const p of i) {
3162
- const f = e(p);
3163
- a.push(` @${u}`), a.push(` private final ${r(l, p)} ${E.upperFirst(f)};`);
3164
- }
3165
- a.push("");
3166
- const d = [];
3167
- for (const p of i) {
3168
- const f = e(p);
3169
- d.push(`@${u} ${r(l, p)} ${E.lowerFirst(f)}`);
3170
- }
3171
- a.push(` public ${h}(${d.join(", ")}) {`), a.push(" // HACK check value"), a.push(" }");
3172
- for (const p of i) {
3173
- const f = e(p);
3174
- a.push(""), a.push(` public ${r(l, p)} get${f} () {`), a.push(` return this.${E.lowerFirst(f)};`), a.push(" }");
3133
+ function s(c) {
3134
+ const a = [], u = o.value.additions, f = o.value.nonNullAnnotation.split(".").pop();
3135
+ {
3136
+ const p = /* @__PURE__ */ new Set();
3137
+ p.add(o.value.nonNullAnnotation);
3138
+ const i = t(c), l = [], d = Object.values(c.inner);
3139
+ for (const m of d)
3140
+ p.add(
3141
+ `${o.value.namespace}.${o.value.moduleName}.${e}.${t(m)}`
3142
+ );
3143
+ if (u.has(x.RecordVakueObject)) {
3144
+ u.has(x.LombokBuilder) && l.push("@lombok.Builder(toBuilder = true)"), l.push(`public record ${i} (`);
3145
+ const m = [];
3146
+ for (const h of d) {
3147
+ const g = t(h);
3148
+ m.push(` @${f}
3149
+ ${g} ${C.lowerFirst(g)}`);
3150
+ }
3151
+ l.push(m.join(`,
3152
+ `)), l.push(") {"), l.push(` public ${i} {`), l.push(" // HACK check value"), l.push(" }"), l.push("}");
3153
+ } else if (u.has(x.Lombok)) {
3154
+ l.push("@lombok.AllArgsConstructor"), l.push("@lombok.Getter"), u.has(x.LombokBuilder) && l.push("@lombok.Builder(toBuilder = true)"), l.push(`publish class ${i} {`);
3155
+ for (const h of d) {
3156
+ const g = t(h);
3157
+ l.push(` @${f}`), l.push(` private final ${g} ${C.upperFirst(g)};`);
3158
+ }
3159
+ l.push("");
3160
+ const m = [];
3161
+ for (const h of d) {
3162
+ const g = t(h);
3163
+ m.push(`@${f} ${g} ${C.lowerFirst(g)}`);
3164
+ }
3165
+ l.push(` public ${i}(${m.join(", ")}) {`), l.push(" // HACK check value"), l.push(" }"), l.push("}");
3166
+ } else {
3167
+ l.push(`publish class ${i} {`);
3168
+ for (const h of d) {
3169
+ const g = t(h);
3170
+ l.push(` @${f}`), l.push(` private final ${r(p, h)} ${C.upperFirst(g)};`);
3171
+ }
3172
+ l.push("");
3173
+ const m = [];
3174
+ for (const h of d) {
3175
+ const g = t(h);
3176
+ m.push(`@${f} ${r(p, h)} ${C.lowerFirst(g)}`);
3177
+ }
3178
+ l.push(` public ${i}(${m.join(", ")}) {`), l.push(" // HACK check value"), l.push(" }");
3179
+ for (const h of d) {
3180
+ const g = t(h);
3181
+ l.push(""), l.push(` public ${r(p, h)} get${g} () {`), l.push(` return this.${C.lowerFirst(g)};`), l.push(" }");
3182
+ }
3183
+ l.push("}");
3175
3184
  }
3176
- a.push("}");
3177
- }
3178
- return [
3179
- {
3185
+ a.push({
3180
3186
  type: "Command",
3181
- imports: l,
3182
- content: a.join(`
3187
+ imports: p,
3188
+ content: l.join(`
3183
3189
  `)
3184
- }
3185
- ];
3190
+ });
3191
+ }
3192
+ if (!u.has(x.CommandHandler))
3193
+ return a;
3194
+ {
3195
+ const p = /* @__PURE__ */ new Set();
3196
+ p.add(o.value.nonNullAnnotation);
3197
+ const i = t(c), l = [], d = Object.values(c.inner);
3198
+ for (const h of d)
3199
+ p.add(
3200
+ `${o.value.namespace}.${o.value.moduleName}.${e}.${t(h)}`
3201
+ );
3202
+ u.has(x.SpringFramework) && (p.add("org.springframework.stereotype.Component"), l.push("@Component")), u.has(x.Lombok) && l.push("@lombok.RequiredArgsConstructor"), l.push(`public class ${i}Handler {`);
3203
+ const m = [...n.states.designer.value._getContext().getAssociationMap()[c._attributes.__id]].filter(
3204
+ (h) => h._attributes.rule === "Agg"
3205
+ );
3206
+ for (const h of m)
3207
+ p.add(`${o.value.namespace}.${o.value.moduleName}.${t(h)}`), l.push(` public ${t(h)} handle(${i} command) {`), l.push(" // HACK Implement"), l.push(" }");
3208
+ l.push("}"), a.push({
3209
+ type: "CommandHandler",
3210
+ imports: p,
3211
+ content: l.join(`
3212
+ `)
3213
+ });
3214
+ }
3215
+ return a;
3186
3216
  }
3187
- t.commands._setCommandCodeProvider(o), t.commands._setFacadeCommandCodeProvider(o), t.commands._setAggCodeProvider((s) => {
3188
- const c = /* @__PURE__ */ new Set();
3189
- c.add(n.value.nonNullAnnotation);
3190
- const l = n.value.nonNullAnnotation.split(".").pop(), u = n.value.additions, h = t.states.designer.value, a = e(s), i = [], d = Object.values(s.inner);
3191
- if (u.has(A.Lombok)) {
3192
- i.push("@lombok.AllArgsConstructor"), i.push("@lombok.Getter"), i.push(`public class ${a} {`);
3193
- for (const f of d) {
3194
- const m = e(f);
3195
- c.add(`${n.value.namespace}.${n.value.moduleName}.${m}`), i.push(` @${l}`), i.push(` private ${m} ${E.lowerFirst(m)};`);
3217
+ n.commands._setCommandCodeProvider(s), n.commands._setFacadeCommandCodeProvider(s), n.commands._setAggCodeProvider((c) => {
3218
+ const a = /* @__PURE__ */ new Set();
3219
+ a.add(o.value.nonNullAnnotation);
3220
+ const u = o.value.nonNullAnnotation.split(".").pop(), f = o.value.additions, p = n.states.designer.value, i = t(c), l = [], d = Object.values(c.inner);
3221
+ for (const m of d)
3222
+ a.add(
3223
+ `${o.value.namespace}.${o.value.moduleName}.${e}.${t(m)}`
3224
+ );
3225
+ if (f.has(x.Lombok)) {
3226
+ l.push("@lombok.AllArgsConstructor"), l.push("@lombok.Getter"), l.push(`public class ${i} {`);
3227
+ for (const h of d) {
3228
+ const g = t(h);
3229
+ l.push(` @${u}`), l.push(` private ${g} ${C.lowerFirst(g)};`);
3196
3230
  }
3197
- const p = [...h._getContext().getAssociationMap()[s._attributes.__id]].filter((f) => f._attributes.rule === "Command" || f._attributes.rule === "FacadeCommand");
3198
- for (const f of p) {
3199
- const m = e(f);
3200
- i.push(""), i.push(` public void handle${m}(${m} ${E.lowerFirst(m)}) {`), i.push(" // HACK need implement"), i.push(" }");
3231
+ const m = [...p._getContext().getAssociationMap()[c._attributes.__id]].filter((h) => h._attributes.rule === "Command" || h._attributes.rule === "FacadeCommand");
3232
+ for (const h of m) {
3233
+ const g = t(h);
3234
+ l.push(""), l.push(` public void handle${g}(${g} ${C.lowerFirst(g)}) {`), l.push(" // HACK need implement"), l.push(" }");
3201
3235
  }
3202
- i.push("}");
3236
+ l.push("}");
3203
3237
  } else {
3204
- i.push(`public class ${a} {`);
3205
- for (const f of d) {
3206
- const m = e(f);
3207
- i.push(` @${l}`), i.push(` private ${m} ${E.lowerFirst(m)};`);
3238
+ l.push(`public class ${i} {`);
3239
+ for (const h of d) {
3240
+ const g = t(h);
3241
+ l.push(` @${u}`), l.push(` private ${g} ${C.lowerFirst(g)};`);
3208
3242
  }
3209
- for (const f of d) {
3210
- const m = e(f);
3211
- i.push(""), i.push(` @${l}`), i.push(` public ${m} get${m}() {`), i.push(` return this.${E.lowerFirst(m)};`), i.push(" }");
3243
+ for (const h of d) {
3244
+ const g = t(h);
3245
+ l.push(""), l.push(` @${u}`), l.push(` public ${g} get${g}() {`), l.push(` return this.${C.lowerFirst(g)};`), l.push(" }");
3212
3246
  }
3213
- const p = [...h._getContext().getAssociationMap()[s._attributes.__id]].filter(
3214
- (f) => f._attributes.rule === "Command" || f._attributes.rule === "FacadeCommand"
3247
+ const m = [...p._getContext().getAssociationMap()[c._attributes.__id]].filter(
3248
+ (h) => h._attributes.rule === "Command" || h._attributes.rule === "FacadeCommand"
3215
3249
  );
3216
- for (const f of p) {
3217
- const m = e(f);
3218
- i.push(""), i.push(` public void handle${m}(${m} ${E.lowerFirst(m)}) {`), i.push(" // HACK need implement"), i.push(" }");
3250
+ for (const h of m) {
3251
+ const g = t(h);
3252
+ l.push(""), l.push(` public void handle${g}(${g} ${C.lowerFirst(g)}) {`), l.push(" // HACK need implement"), l.push(" }");
3219
3253
  }
3220
- i.push("}");
3254
+ l.push("}");
3221
3255
  }
3222
3256
  return [
3223
3257
  {
3224
3258
  type: "Agg",
3225
- imports: c,
3226
- content: i.join(`
3259
+ imports: a,
3260
+ content: l.join(`
3227
3261
  `)
3228
3262
  }
3229
3263
  ];
3230
- }), t.commands._setEventCodeProvider(
3231
- (s) => {
3232
- const c = /* @__PURE__ */ new Set();
3233
- c.add(n.value.nonNullAnnotation);
3234
- const l = n.value.nonNullAnnotation.split(".").pop(), u = n.value.additions, h = e(s), a = [], i = Object.values(s.inner);
3235
- if (u.has(A.RecordVakueObject)) {
3236
- u.has(A.LombokBuilder) && a.push("@lombok.Builder(toBuilder = true)"), a.push(`publish record ${h} (`);
3264
+ }), n.commands._setEventCodeProvider(
3265
+ (c) => {
3266
+ const a = /* @__PURE__ */ new Set();
3267
+ a.add(o.value.nonNullAnnotation);
3268
+ const u = o.value.nonNullAnnotation.split(".").pop(), f = o.value.additions, p = t(c), i = [], l = Object.values(c.inner);
3269
+ for (const d of l)
3270
+ a.add(
3271
+ `${o.value.namespace}.${o.value.moduleName}.${e}.${t(d)}`
3272
+ );
3273
+ if (f.has(x.RecordVakueObject)) {
3274
+ f.has(x.LombokBuilder) && i.push("@lombok.Builder(toBuilder = true)"), i.push(`publish record ${p} (`);
3237
3275
  const d = [];
3238
- for (const p of i) {
3239
- const f = e(p);
3240
- d.push(` @${l}
3241
- ${f} ${E.lowerFirst(f)}`);
3276
+ for (const m of l) {
3277
+ const h = t(m);
3278
+ d.push(` @${u}
3279
+ ${h} ${C.lowerFirst(h)}`);
3242
3280
  }
3243
- a.push(d.join(`,
3244
- `)), a.push(") {"), a.push(` public ${h} {`), a.push(" // HACK check value"), a.push(" }"), a.push("}");
3245
- } else if (u.has(A.Lombok)) {
3246
- a.push("@lombok.AllArgsConstructor"), a.push("@lombok.Getter"), u.has(A.LombokBuilder) && a.push("@lombok.Builder(toBuilder = true)"), a.push(`publish class ${h} {`);
3247
- for (const p of i) {
3248
- const f = e(p);
3249
- a.push(` @${l}`), a.push(` private final ${f} ${E.lowerFirst(f)};`);
3281
+ i.push(d.join(`,
3282
+ `)), i.push(") {"), i.push(` public ${p} {`), i.push(" // HACK check value"), i.push(" }"), i.push("}");
3283
+ } else if (f.has(x.Lombok)) {
3284
+ i.push("@lombok.AllArgsConstructor"), i.push("@lombok.Getter"), f.has(x.LombokBuilder) && i.push("@lombok.Builder(toBuilder = true)"), i.push(`publish class ${p} {`);
3285
+ for (const m of l) {
3286
+ const h = t(m);
3287
+ i.push(` @${u}`), i.push(` private final ${h} ${C.lowerFirst(h)};`);
3250
3288
  }
3251
- a.push("");
3289
+ i.push("");
3252
3290
  const d = [];
3253
- for (const p of i) {
3254
- const f = e(p);
3255
- d.push(`@${l} ${f} ${E.lowerFirst(f)}`);
3291
+ for (const m of l) {
3292
+ const h = t(m);
3293
+ d.push(`@${u} ${h} ${C.lowerFirst(h)}`);
3256
3294
  }
3257
- a.push(` public ${h}(${d.join(", ")}) {`), a.push(" // HACK check value"), a.push(" }"), a.push("}");
3295
+ i.push(` public ${p}(${d.join(", ")}) {`), i.push(" // HACK check value"), i.push(" }"), i.push("}");
3258
3296
  } else {
3259
- a.push(`publish class ${h} {`);
3260
- for (const p of i) {
3261
- const f = e(p);
3262
- a.push(` @${l}`), a.push(` private final ${f} ${E.lowerFirst(f)};`);
3297
+ i.push(`publish class ${p} {`);
3298
+ for (const m of l) {
3299
+ const h = t(m);
3300
+ i.push(` @${u}`), i.push(` private final ${h} ${C.lowerFirst(h)};`);
3263
3301
  }
3264
- a.push("");
3302
+ i.push("");
3265
3303
  const d = [];
3266
- for (const p of i) {
3267
- const f = e(p);
3268
- d.push(`@${l} ${r(c, p)} ${E.lowerFirst(f)}`);
3304
+ for (const m of l) {
3305
+ const h = t(m);
3306
+ d.push(`@${u} ${r(a, m)} ${C.lowerFirst(h)}`);
3269
3307
  }
3270
- a.push(` public ${h}(${d.join(", ")}) {`), a.push(" // HACK check value"), a.push(" }");
3271
- for (const p of i) {
3272
- const f = e(p);
3273
- a.push(""), a.push(` public ${f} get${f} () {`), a.push(` return this.${E.lowerFirst(f)};`), a.push(" }");
3308
+ i.push(` public ${p}(${d.join(", ")}) {`), i.push(" // HACK check value"), i.push(" }");
3309
+ for (const m of l) {
3310
+ const h = t(m);
3311
+ i.push(""), i.push(` public ${h} get${h} () {`), i.push(` return this.${C.lowerFirst(h)};`), i.push(" }");
3274
3312
  }
3275
- a.push("}");
3313
+ i.push("}");
3276
3314
  }
3277
3315
  return [
3278
3316
  {
3279
3317
  type: "Event",
3280
- imports: c,
3281
- content: a.join(`
3318
+ imports: a,
3319
+ content: i.join(`
3282
3320
  `)
3283
3321
  }
3284
3322
  ];
3285
3323
  }
3286
- ), t.commands._setReadModelCodeProvider(() => []), t.commands._setCodeFileProvider(() => {
3287
- const s = [], c = t.states.designer.value._getContext().getCommands();
3288
- for (const a of c) {
3289
- const i = t.commands._genCommandCode(a), d = [...n.value.namespace.split(/\./), n.value.moduleName];
3290
- i.forEach((p) => {
3291
- if (p.type === "Command") {
3292
- const f = new fe(d, e(a) + ".java");
3293
- f.appendContentln(`package ${n.value.namespace}.${n.value.moduleName};`), f.appendContentln(""), f.addImports(p.imports);
3294
- for (const m of p.imports)
3295
- f.appendContentln(`import ${m};`);
3296
- f.appendContentln(""), f.appendContentln(p.content), s.push(f);
3297
- } else if (p.type === "CommandHandler") {
3298
- const f = new fe(d, e(a) + "Handler.java");
3299
- f.appendContentln(`package ${n.value.namespace}.${n.value.moduleName};`), f.appendContentln(""), f.addImports(p.imports);
3300
- for (const m of p.imports)
3301
- f.appendContentln(`import ${m};`);
3302
- f.appendContentln(""), f.appendContentln(p.content), s.push(f);
3324
+ ), n.commands._setReadModelCodeProvider(() => []), n.commands._setCodeFileProvider(() => {
3325
+ const c = [], a = {};
3326
+ function u(d) {
3327
+ for (const m of Object.values(d)) {
3328
+ const h = [...o.value.namespace.split(/\./), o.value.moduleName, e], g = t(m) + ".java";
3329
+ if (a[`${h}/${g}`] === !0)
3330
+ continue;
3331
+ const _ = n.commands._genInfoCode(m);
3332
+ if (_.length === 0)
3333
+ continue;
3334
+ const N = new ne(h, g);
3335
+ N.appendContentln(`package ${o.value.namespace}.${o.value.moduleName}.${e};`), N.appendContentln("");
3336
+ for (const ee of _[0].imports)
3337
+ N.appendContentln(`import ${ee};`);
3338
+ N.appendContentln(""), N.appendContentln(_[0].content), c.push(N), a[`${h}/${g}`] = !0;
3339
+ }
3340
+ }
3341
+ const f = n.states.designer.value._getContext().getCommands();
3342
+ for (const d of f) {
3343
+ u(d.inner);
3344
+ const m = n.commands._genCommandCode(d), h = [...o.value.namespace.split(/\./), o.value.moduleName];
3345
+ m.forEach((g) => {
3346
+ if (g.type === "Command") {
3347
+ const _ = new ne(h, t(d) + ".java");
3348
+ _.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), _.appendContentln(""), _.addImports(g.imports);
3349
+ for (const N of g.imports)
3350
+ _.appendContentln(`import ${N};`);
3351
+ _.appendContentln(""), _.appendContentln(g.content), c.push(_);
3352
+ } else if (g.type === "CommandHandler") {
3353
+ const _ = new ne(h, t(d) + "Handler.java");
3354
+ _.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), _.appendContentln(""), _.addImports(g.imports);
3355
+ for (const N of g.imports)
3356
+ _.appendContentln(`import ${N};`);
3357
+ _.appendContentln(""), _.appendContentln(g.content), c.push(_);
3303
3358
  } else
3304
- isNever(p.type);
3359
+ isNever(g.type);
3305
3360
  });
3306
3361
  }
3307
- const l = t.states.designer.value._getContext().getFacadeCommands();
3308
- for (const a of l) {
3309
- const i = t.commands._genFacadeCommandCode(a), d = [...n.value.namespace.split(/\./), n.value.moduleName];
3310
- i.forEach((p) => {
3311
- if (p.type === "FacadeCommand") {
3312
- const f = new fe(d, e(a) + ".java");
3313
- f.appendContentln(`package ${n.value.namespace}.${n.value.moduleName};`), f.appendContentln(""), f.addImports(p.imports);
3314
- for (const m of p.imports)
3315
- f.appendContentln(`import ${m};`);
3316
- f.appendContentln(""), f.appendContentln(p.content), s.push(f);
3362
+ const p = n.states.designer.value._getContext().getFacadeCommands();
3363
+ for (const d of p) {
3364
+ u(d.inner);
3365
+ const m = n.commands._genFacadeCommandCode(d), h = [...o.value.namespace.split(/\./), o.value.moduleName];
3366
+ m.forEach((g) => {
3367
+ if (g.type === "FacadeCommand") {
3368
+ const _ = new ne(h, t(d) + ".java");
3369
+ _.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), _.appendContentln(""), _.addImports(g.imports);
3370
+ for (const N of g.imports)
3371
+ _.appendContentln(`import ${N};`);
3372
+ _.appendContentln(""), _.appendContentln(g.content), c.push(_);
3317
3373
  } else
3318
- isNever(p.type);
3374
+ isNever(g.type);
3319
3375
  });
3320
3376
  }
3321
- const u = t.states.designer.value._getContext().getAggs();
3322
- for (const a of u) {
3323
- const i = t.commands._genAggCode(a), d = [...n.value.namespace.split(/\./), n.value.moduleName];
3324
- i.forEach((p) => {
3325
- const f = new fe(d, e(a) + ".java");
3326
- f.appendContentln(`package ${n.value.namespace}.${n.value.moduleName};`), f.appendContentln(""), f.addImports(p.imports);
3327
- for (const m of p.imports)
3328
- f.appendContentln(`import ${m};`);
3329
- f.appendContentln(""), f.appendContentln(p.content), s.push(f);
3377
+ const i = n.states.designer.value._getContext().getAggs();
3378
+ for (const d of i) {
3379
+ u(d.inner);
3380
+ const m = n.commands._genAggCode(d), h = [...o.value.namespace.split(/\./), o.value.moduleName];
3381
+ m.forEach((g) => {
3382
+ const _ = new ne(h, t(d) + ".java");
3383
+ _.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), _.appendContentln(""), _.addImports(g.imports);
3384
+ for (const N of g.imports)
3385
+ _.appendContentln(`import ${N};`);
3386
+ _.appendContentln(""), _.appendContentln(g.content), c.push(_);
3330
3387
  });
3331
3388
  }
3332
- const h = t.states.designer.value._getContext().getEvents();
3333
- for (const a of h) {
3334
- const i = t.commands._genEventCode(a), d = [...n.value.namespace.split(/\./), n.value.moduleName];
3335
- i.forEach((p) => {
3336
- const f = new fe(d, e(a) + ".java");
3337
- f.appendContentln(`package ${n.value.namespace}.${n.value.moduleName};`), f.appendContentln(""), f.addImports(p.imports);
3338
- for (const m of p.imports)
3339
- f.appendContentln(`import ${m};`);
3340
- f.appendContentln(""), f.appendContentln(p.content), s.push(f);
3389
+ const l = n.states.designer.value._getContext().getEvents();
3390
+ for (const d of l) {
3391
+ u(d.inner);
3392
+ const m = n.commands._genEventCode(d), h = [...o.value.namespace.split(/\./), o.value.moduleName];
3393
+ m.forEach((g) => {
3394
+ const _ = new ne(h, t(d) + ".java");
3395
+ _.appendContentln(`package ${o.value.namespace}.${o.value.moduleName};`), _.appendContentln(""), _.addImports(g.imports);
3396
+ for (const N of g.imports)
3397
+ _.appendContentln(`import ${N};`);
3398
+ _.appendContentln(""), _.appendContentln(g.content), c.push(_);
3341
3399
  });
3342
3400
  }
3343
- return s;
3401
+ return c;
3344
3402
  });
3345
3403
  }
3346
3404
  };