@kong-ui-public/entities-plugins 9.247.5 → 9.247.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { get as Ms, isEqual as sn, omit as oo, cloneDeep as is, isFunction as os } from "lodash-es";
1
+ import { get as Cs, isEqual as rn, omit as oo, cloneDeep as ss, isFunction as is } from "lodash-es";
2
2
  const Ec = {
3
3
  // Common
4
4
  field: (t) => `[data-testid="ff-${t}"]`,
@@ -40,29 +40,29 @@ function ao(t) {
40
40
  for (const n of t.split(",")) e[n] = 1;
41
41
  return (n) => n in e;
42
42
  }
43
- const Ct = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
43
+ const Dt = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
44
44
  process.env.NODE_ENV !== "production" && Object.freeze([]);
45
- const ct = () => {
45
+ const ft = () => {
46
46
  }, lo = (t) => t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && // uppercase letter
47
- (t.charCodeAt(2) > 122 || t.charCodeAt(2) < 97), co = (t) => t.startsWith("onUpdate:"), Ie = Object.assign, uo = Object.prototype.hasOwnProperty, nr = (t, e) => uo.call(t, e), G = Array.isArray, ut = (t) => bn(t) === "[object Map]", fo = (t) => bn(t) === "[object Set]", Z = (t) => typeof t == "function", De = (t) => typeof t == "string", Ye = (t) => typeof t == "symbol", ie = (t) => t !== null && typeof t == "object", po = (t) => (ie(t) || Z(t)) && Z(t.then) && Z(t.catch), ho = Object.prototype.toString, bn = (t) => ho.call(t), Ps = (t) => bn(t).slice(8, -1), go = (t) => bn(t) === "[object Object]", yn = (t) => De(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, $s = (t) => {
47
+ (t.charCodeAt(2) > 122 || t.charCodeAt(2) < 97), co = (t) => t.startsWith("onUpdate:"), Ne = Object.assign, uo = Object.prototype.hasOwnProperty, tr = (t, e) => uo.call(t, e), K = Array.isArray, pt = (t) => mn(t) === "[object Map]", fo = (t) => mn(t) === "[object Set]", Q = (t) => typeof t == "function", Ie = (t) => typeof t == "string", Ye = (t) => typeof t == "symbol", oe = (t) => t !== null && typeof t == "object", po = (t) => (oe(t) || Q(t)) && Q(t.then) && Q(t.catch), ho = Object.prototype.toString, mn = (t) => ho.call(t), Ms = (t) => mn(t).slice(8, -1), go = (t) => mn(t) === "[object Object]", _n = (t) => Ie(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, $s = (t) => {
48
48
  const e = /* @__PURE__ */ Object.create(null);
49
49
  return ((n) => e[n] || (e[n] = t(n)));
50
- }, Ls = $s((t) => t.charAt(0).toUpperCase() + t.slice(1)), mo = $s(
51
- (t) => t ? `on${Ls(t)}` : ""
52
- ), ve = (t, e) => !Object.is(t, e);
53
- let as;
54
- const wn = () => as || (as = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
50
+ }, Ps = $s((t) => t.charAt(0).toUpperCase() + t.slice(1)), mo = $s(
51
+ (t) => t ? `on${Ps(t)}` : ""
52
+ ), Se = (t, e) => !Object.is(t, e);
53
+ let os;
54
+ const bn = () => os || (os = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
55
55
  function hr(t) {
56
- if (G(t)) {
56
+ if (K(t)) {
57
57
  const e = {};
58
58
  for (let n = 0; n < t.length; n++) {
59
- const r = t[n], s = De(r) ? wo(r) : hr(r);
59
+ const r = t[n], s = Ie(r) ? wo(r) : hr(r);
60
60
  if (s)
61
61
  for (const i in s)
62
62
  e[i] = s[i];
63
63
  }
64
64
  return e;
65
- } else if (De(t) || ie(t))
65
+ } else if (Ie(t) || oe(t))
66
66
  return t;
67
67
  }
68
68
  const _o = /;(?![^(]*\))/g, bo = /:([^]+)/, yo = /\/\*[^]*?\*\//g;
@@ -77,27 +77,27 @@ function wo(t) {
77
77
  }
78
78
  function dr(t) {
79
79
  let e = "";
80
- if (De(t))
80
+ if (Ie(t))
81
81
  e = t;
82
- else if (G(t))
82
+ else if (K(t))
83
83
  for (let n = 0; n < t.length; n++) {
84
84
  const r = dr(t[n]);
85
85
  r && (e += r + " ");
86
86
  }
87
- else if (ie(t))
87
+ else if (oe(t))
88
88
  for (const n in t)
89
89
  t[n] && (e += n + " ");
90
90
  return e.trim();
91
91
  }
92
- function Ae(t, ...e) {
92
+ function ve(t, ...e) {
93
93
  console.warn(`[Vue warn] ${t}`, ...e);
94
94
  }
95
95
  let Eo;
96
- function zs() {
96
+ function Ls() {
97
97
  return Eo;
98
98
  }
99
- let M;
100
- const Wn = /* @__PURE__ */ new WeakSet();
99
+ let P;
100
+ const Bn = /* @__PURE__ */ new WeakSet();
101
101
  class To {
102
102
  constructor(e) {
103
103
  this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0;
@@ -106,50 +106,50 @@ class To {
106
106
  this.flags |= 64;
107
107
  }
108
108
  resume() {
109
- this.flags & 64 && (this.flags &= -65, Wn.has(this) && (Wn.delete(this), this.trigger()));
109
+ this.flags & 64 && (this.flags &= -65, Bn.has(this) && (Bn.delete(this), this.trigger()));
110
110
  }
111
111
  /**
112
112
  * @internal
113
113
  */
114
114
  notify() {
115
- this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Fs(this);
115
+ this.flags & 2 && !(this.flags & 32) || this.flags & 8 || js(this);
116
116
  }
117
117
  run() {
118
118
  if (!(this.flags & 1))
119
119
  return this.fn();
120
- this.flags |= 2, ls(this), Vs(this);
121
- const e = M, n = we;
122
- M = this, we = !0;
120
+ this.flags |= 2, as(this), Fs(this);
121
+ const e = P, n = be;
122
+ P = this, be = !0;
123
123
  try {
124
124
  return this.fn();
125
125
  } finally {
126
- process.env.NODE_ENV !== "production" && M !== this && Ae(
126
+ process.env.NODE_ENV !== "production" && P !== this && ve(
127
127
  "Active effect was not restored correctly - this is likely a Vue internal bug."
128
- ), Hs(this), M = e, we = n, this.flags &= -3;
128
+ ), Vs(this), P = e, be = n, this.flags &= -3;
129
129
  }
130
130
  }
131
131
  stop() {
132
132
  if (this.flags & 1) {
133
133
  for (let e = this.deps; e; e = e.nextDep)
134
134
  _r(e);
135
- this.deps = this.depsTail = void 0, ls(this), this.onStop && this.onStop(), this.flags &= -2;
135
+ this.deps = this.depsTail = void 0, as(this), this.onStop && this.onStop(), this.flags &= -2;
136
136
  }
137
137
  }
138
138
  trigger() {
139
- this.flags & 64 ? Wn.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
139
+ this.flags & 64 ? Bn.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
140
140
  }
141
141
  /**
142
142
  * @internal
143
143
  */
144
144
  runIfDirty() {
145
- rr(this) && this.run();
145
+ nr(this) && this.run();
146
146
  }
147
147
  get dirty() {
148
- return rr(this);
148
+ return nr(this);
149
149
  }
150
150
  }
151
- let js = 0, Ot, Nt;
152
- function Fs(t, e = !1) {
151
+ let zs = 0, Ot, Nt;
152
+ function js(t, e = !1) {
153
153
  if (t.flags |= 8, e) {
154
154
  t.next = Nt, Nt = t;
155
155
  return;
@@ -157,10 +157,10 @@ function Fs(t, e = !1) {
157
157
  t.next = Ot, Ot = t;
158
158
  }
159
159
  function gr() {
160
- js++;
160
+ zs++;
161
161
  }
162
162
  function mr() {
163
- if (--js > 0)
163
+ if (--zs > 0)
164
164
  return;
165
165
  if (Nt) {
166
166
  let e = Nt;
@@ -185,11 +185,11 @@ function mr() {
185
185
  }
186
186
  if (t) throw t;
187
187
  }
188
- function Vs(t) {
188
+ function Fs(t) {
189
189
  for (let e = t.deps; e; e = e.nextDep)
190
190
  e.version = -1, e.prevActiveLink = e.dep.activeLink, e.dep.activeLink = e;
191
191
  }
192
- function Hs(t) {
192
+ function Vs(t) {
193
193
  let e, n = t.depsTail, r = n;
194
194
  for (; r; ) {
195
195
  const s = r.prevDep;
@@ -197,26 +197,26 @@ function Hs(t) {
197
197
  }
198
198
  t.deps = e, t.depsTail = n;
199
199
  }
200
- function rr(t) {
200
+ function nr(t) {
201
201
  for (let e = t.deps; e; e = e.nextDep)
202
- if (e.dep.version !== e.version || e.dep.computed && (Us(e.dep.computed) || e.dep.version !== e.version))
202
+ if (e.dep.version !== e.version || e.dep.computed && (Hs(e.dep.computed) || e.dep.version !== e.version))
203
203
  return !0;
204
204
  return !!t._dirty;
205
205
  }
206
- function Us(t) {
207
- if (t.flags & 4 && !(t.flags & 16) || (t.flags &= -17, t.globalVersion === Mt) || (t.globalVersion = Mt, !t.isSSR && t.flags & 128 && (!t.deps && !t._dirty || !rr(t))))
206
+ function Hs(t) {
207
+ if (t.flags & 4 && !(t.flags & 16) || (t.flags &= -17, t.globalVersion === Ct) || (t.globalVersion = Ct, !t.isSSR && t.flags & 128 && (!t.deps && !t._dirty || !nr(t))))
208
208
  return;
209
209
  t.flags |= 2;
210
- const e = t.dep, n = M, r = we;
211
- M = t, we = !0;
210
+ const e = t.dep, n = P, r = be;
211
+ P = t, be = !0;
212
212
  try {
213
- Vs(t);
213
+ Fs(t);
214
214
  const s = t.fn(t._value);
215
- (e.version === 0 || ve(s, t._value)) && (t.flags |= 128, t._value = s, e.version++);
215
+ (e.version === 0 || Se(s, t._value)) && (t.flags |= 128, t._value = s, e.version++);
216
216
  } catch (s) {
217
217
  throw e.version++, s;
218
218
  } finally {
219
- M = n, we = r, Hs(t), t.flags &= -3;
219
+ P = n, be = r, Vs(t), t.flags &= -3;
220
220
  }
221
221
  }
222
222
  function _r(t, e = !1) {
@@ -232,28 +232,28 @@ function ko(t) {
232
232
  const { prevDep: e, nextDep: n } = t;
233
233
  e && (e.nextDep = n, t.prevDep = void 0), n && (n.prevDep = e, t.nextDep = void 0);
234
234
  }
235
- let we = !0;
236
- const Bs = [];
237
- function gt() {
238
- Bs.push(we), we = !1;
235
+ let be = !0;
236
+ const Us = [];
237
+ function _t() {
238
+ Us.push(be), be = !1;
239
239
  }
240
- function mt() {
241
- const t = Bs.pop();
242
- we = t === void 0 ? !0 : t;
240
+ function bt() {
241
+ const t = Us.pop();
242
+ be = t === void 0 ? !0 : t;
243
243
  }
244
- function ls(t) {
244
+ function as(t) {
245
245
  const { cleanup: e } = t;
246
246
  if (t.cleanup = void 0, e) {
247
- const n = M;
248
- M = void 0;
247
+ const n = P;
248
+ P = void 0;
249
249
  try {
250
250
  e();
251
251
  } finally {
252
- M = n;
252
+ P = n;
253
253
  }
254
254
  }
255
255
  }
256
- let Mt = 0;
256
+ let Ct = 0;
257
257
  class xo {
258
258
  constructor(e, n) {
259
259
  this.sub = e, this.dep = n, this.version = n.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
@@ -265,26 +265,26 @@ class br {
265
265
  this.computed = e, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, this.__v_skip = !0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
266
266
  }
267
267
  track(e) {
268
- if (!M || !we || M === this.computed)
268
+ if (!P || !be || P === this.computed)
269
269
  return;
270
270
  let n = this.activeLink;
271
- if (n === void 0 || n.sub !== M)
272
- n = this.activeLink = new xo(M, this), M.deps ? (n.prevDep = M.depsTail, M.depsTail.nextDep = n, M.depsTail = n) : M.deps = M.depsTail = n, Ws(n);
271
+ if (n === void 0 || n.sub !== P)
272
+ n = this.activeLink = new xo(P, this), P.deps ? (n.prevDep = P.depsTail, P.depsTail.nextDep = n, P.depsTail = n) : P.deps = P.depsTail = n, Bs(n);
273
273
  else if (n.version === -1 && (n.version = this.version, n.nextDep)) {
274
274
  const r = n.nextDep;
275
- r.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = r), n.prevDep = M.depsTail, n.nextDep = void 0, M.depsTail.nextDep = n, M.depsTail = n, M.deps === n && (M.deps = r);
275
+ r.prevDep = n.prevDep, n.prevDep && (n.prevDep.nextDep = r), n.prevDep = P.depsTail, n.nextDep = void 0, P.depsTail.nextDep = n, P.depsTail = n, P.deps === n && (P.deps = r);
276
276
  }
277
- return process.env.NODE_ENV !== "production" && M.onTrack && M.onTrack(
278
- Ie(
277
+ return process.env.NODE_ENV !== "production" && P.onTrack && P.onTrack(
278
+ Ne(
279
279
  {
280
- effect: M
280
+ effect: P
281
281
  },
282
282
  e
283
283
  )
284
284
  ), n;
285
285
  }
286
286
  trigger(e) {
287
- this.version++, Mt++, this.notify(e);
287
+ this.version++, Ct++, this.notify(e);
288
288
  }
289
289
  notify(e) {
290
290
  gr();
@@ -292,7 +292,7 @@ class br {
292
292
  if (process.env.NODE_ENV !== "production")
293
293
  for (let n = this.subsHead; n; n = n.nextSub)
294
294
  n.sub.onTrigger && !(n.sub.flags & 8) && n.sub.onTrigger(
295
- Ie(
295
+ Ne(
296
296
  {
297
297
  effect: n.sub
298
298
  },
@@ -306,13 +306,13 @@ class br {
306
306
  }
307
307
  }
308
308
  }
309
- function Ws(t) {
309
+ function Bs(t) {
310
310
  if (t.dep.sc++, t.sub.flags & 4) {
311
311
  const e = t.dep.computed;
312
312
  if (e && !t.dep.subs) {
313
313
  e.flags |= 20;
314
314
  for (let r = e.deps; r; r = r.nextDep)
315
- Ws(r);
315
+ Bs(r);
316
316
  }
317
317
  const n = t.dep.subs;
318
318
  n !== t && (t.prevSub = n, n && (n.nextSub = t)), process.env.NODE_ENV !== "production" && t.dep.subsHead === void 0 && (t.dep.subsHead = t), t.dep.subs = t;
@@ -320,13 +320,13 @@ function Ws(t) {
320
320
  }
321
321
  const ln = /* @__PURE__ */ new WeakMap(), qe = /* @__PURE__ */ Symbol(
322
322
  process.env.NODE_ENV !== "production" ? "Object iterate" : ""
323
- ), sr = /* @__PURE__ */ Symbol(
323
+ ), rr = /* @__PURE__ */ Symbol(
324
324
  process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
325
- ), Pt = /* @__PURE__ */ Symbol(
325
+ ), Mt = /* @__PURE__ */ Symbol(
326
326
  process.env.NODE_ENV !== "production" ? "Array iterate" : ""
327
327
  );
328
- function X(t, e, n) {
329
- if (we && M) {
328
+ function J(t, e, n) {
329
+ if (be && P) {
330
330
  let r = ln.get(t);
331
331
  r || ln.set(t, r = /* @__PURE__ */ new Map());
332
332
  let s = r.get(n);
@@ -340,7 +340,7 @@ function X(t, e, n) {
340
340
  function Fe(t, e, n, r, s, i) {
341
341
  const o = ln.get(t);
342
342
  if (!o) {
343
- Mt++;
343
+ Ct++;
344
344
  return;
345
345
  }
346
346
  const l = (c) => {
@@ -356,22 +356,22 @@ function Fe(t, e, n, r, s, i) {
356
356
  if (gr(), e === "clear")
357
357
  o.forEach(l);
358
358
  else {
359
- const c = G(t), p = c && yn(n);
359
+ const c = K(t), p = c && _n(n);
360
360
  if (c && n === "length") {
361
361
  const h = Number(r);
362
362
  o.forEach((u, d) => {
363
- (d === "length" || d === Pt || !Ye(d) && d >= h) && l(u);
363
+ (d === "length" || d === Mt || !Ye(d) && d >= h) && l(u);
364
364
  });
365
365
  } else
366
- switch ((n !== void 0 || o.has(void 0)) && l(o.get(n)), p && l(o.get(Pt)), e) {
366
+ switch ((n !== void 0 || o.has(void 0)) && l(o.get(n)), p && l(o.get(Mt)), e) {
367
367
  case "add":
368
- c ? p && l(o.get("length")) : (l(o.get(qe)), ut(t) && l(o.get(sr)));
368
+ c ? p && l(o.get("length")) : (l(o.get(qe)), pt(t) && l(o.get(rr)));
369
369
  break;
370
370
  case "delete":
371
- c || (l(o.get(qe)), ut(t) && l(o.get(sr)));
371
+ c || (l(o.get(qe)), pt(t) && l(o.get(rr)));
372
372
  break;
373
373
  case "set":
374
- ut(t) && l(o.get(qe));
374
+ pt(t) && l(o.get(qe));
375
375
  break;
376
376
  }
377
377
  }
@@ -382,86 +382,86 @@ function So(t, e) {
382
382
  return n && n.get(e);
383
383
  }
384
384
  function rt(t) {
385
- const e = /* @__PURE__ */ I(t);
386
- return e === t ? e : (X(e, "iterate", Pt), /* @__PURE__ */ oe(t) ? e : e.map(Ce));
385
+ const e = /* @__PURE__ */ N(t);
386
+ return e === t ? e : (J(e, "iterate", Mt), /* @__PURE__ */ ae(t) ? e : e.map(De));
387
387
  }
388
388
  function yr(t) {
389
- return X(t = /* @__PURE__ */ I(t), "iterate", Pt), t;
389
+ return J(t = /* @__PURE__ */ N(t), "iterate", Mt), t;
390
390
  }
391
- function Se(t, e) {
392
- return /* @__PURE__ */ Re(t) ? Lt(/* @__PURE__ */ ft(t) ? Ce(e) : e) : Ce(e);
391
+ function xe(t, e) {
392
+ return /* @__PURE__ */ Ae(t) ? Pt(/* @__PURE__ */ ht(t) ? De(e) : e) : De(e);
393
393
  }
394
394
  const vo = {
395
395
  __proto__: null,
396
396
  [Symbol.iterator]() {
397
- return Gn(this, Symbol.iterator, (t) => Se(this, t));
397
+ return Wn(this, Symbol.iterator, (t) => xe(this, t));
398
398
  },
399
399
  concat(...t) {
400
400
  return rt(this).concat(
401
- ...t.map((e) => G(e) ? rt(e) : e)
401
+ ...t.map((e) => K(e) ? rt(e) : e)
402
402
  );
403
403
  },
404
404
  entries() {
405
- return Gn(this, "entries", (t) => (t[1] = Se(this, t[1]), t));
405
+ return Wn(this, "entries", (t) => (t[1] = xe(this, t[1]), t));
406
406
  },
407
407
  every(t, e) {
408
- return Oe(this, "every", t, e, void 0, arguments);
408
+ return Re(this, "every", t, e, void 0, arguments);
409
409
  },
410
410
  filter(t, e) {
411
- return Oe(
411
+ return Re(
412
412
  this,
413
413
  "filter",
414
414
  t,
415
415
  e,
416
- (n) => n.map((r) => Se(this, r)),
416
+ (n) => n.map((r) => xe(this, r)),
417
417
  arguments
418
418
  );
419
419
  },
420
420
  find(t, e) {
421
- return Oe(
421
+ return Re(
422
422
  this,
423
423
  "find",
424
424
  t,
425
425
  e,
426
- (n) => Se(this, n),
426
+ (n) => xe(this, n),
427
427
  arguments
428
428
  );
429
429
  },
430
430
  findIndex(t, e) {
431
- return Oe(this, "findIndex", t, e, void 0, arguments);
431
+ return Re(this, "findIndex", t, e, void 0, arguments);
432
432
  },
433
433
  findLast(t, e) {
434
- return Oe(
434
+ return Re(
435
435
  this,
436
436
  "findLast",
437
437
  t,
438
438
  e,
439
- (n) => Se(this, n),
439
+ (n) => xe(this, n),
440
440
  arguments
441
441
  );
442
442
  },
443
443
  findLastIndex(t, e) {
444
- return Oe(this, "findLastIndex", t, e, void 0, arguments);
444
+ return Re(this, "findLastIndex", t, e, void 0, arguments);
445
445
  },
446
446
  // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
447
447
  forEach(t, e) {
448
- return Oe(this, "forEach", t, e, void 0, arguments);
448
+ return Re(this, "forEach", t, e, void 0, arguments);
449
449
  },
450
450
  includes(...t) {
451
- return qn(this, "includes", t);
451
+ return Gn(this, "includes", t);
452
452
  },
453
453
  indexOf(...t) {
454
- return qn(this, "indexOf", t);
454
+ return Gn(this, "indexOf", t);
455
455
  },
456
456
  join(t) {
457
457
  return rt(this).join(t);
458
458
  },
459
459
  // keys() iterator only reads `length`, no optimization required
460
460
  lastIndexOf(...t) {
461
- return qn(this, "lastIndexOf", t);
461
+ return Gn(this, "lastIndexOf", t);
462
462
  },
463
463
  map(t, e) {
464
- return Oe(this, "map", t, e, void 0, arguments);
464
+ return Re(this, "map", t, e, void 0, arguments);
465
465
  },
466
466
  pop() {
467
467
  return kt(this, "pop");
@@ -470,17 +470,17 @@ const vo = {
470
470
  return kt(this, "push", t);
471
471
  },
472
472
  reduce(t, ...e) {
473
- return cs(this, "reduce", t, e);
473
+ return ls(this, "reduce", t, e);
474
474
  },
475
475
  reduceRight(t, ...e) {
476
- return cs(this, "reduceRight", t, e);
476
+ return ls(this, "reduceRight", t, e);
477
477
  },
478
478
  shift() {
479
479
  return kt(this, "shift");
480
480
  },
481
481
  // slice could use ARRAY_ITERATE but also seems to beg for range tracking
482
482
  some(t, e) {
483
- return Oe(this, "some", t, e, void 0, arguments);
483
+ return Re(this, "some", t, e, void 0, arguments);
484
484
  },
485
485
  splice(...t) {
486
486
  return kt(this, "splice", t);
@@ -498,63 +498,63 @@ const vo = {
498
498
  return kt(this, "unshift", t);
499
499
  },
500
500
  values() {
501
- return Gn(this, "values", (t) => Se(this, t));
501
+ return Wn(this, "values", (t) => xe(this, t));
502
502
  }
503
503
  };
504
- function Gn(t, e, n) {
504
+ function Wn(t, e, n) {
505
505
  const r = yr(t), s = r[e]();
506
- return r !== t && !/* @__PURE__ */ oe(t) && (s._next = s.next, s.next = () => {
506
+ return r !== t && !/* @__PURE__ */ ae(t) && (s._next = s.next, s.next = () => {
507
507
  const i = s._next();
508
508
  return i.done || (i.value = n(i.value)), i;
509
509
  }), s;
510
510
  }
511
511
  const Ao = Array.prototype;
512
- function Oe(t, e, n, r, s, i) {
513
- const o = yr(t), l = o !== t && !/* @__PURE__ */ oe(t), c = o[e];
512
+ function Re(t, e, n, r, s, i) {
513
+ const o = yr(t), l = o !== t && !/* @__PURE__ */ ae(t), c = o[e];
514
514
  if (c !== Ao[e]) {
515
515
  const u = c.apply(t, i);
516
- return l ? Ce(u) : u;
516
+ return l ? De(u) : u;
517
517
  }
518
518
  let p = n;
519
519
  o !== t && (l ? p = function(u, d) {
520
- return n.call(this, Se(t, u), d, t);
520
+ return n.call(this, xe(t, u), d, t);
521
521
  } : n.length > 2 && (p = function(u, d) {
522
522
  return n.call(this, u, d, t);
523
523
  }));
524
524
  const h = c.call(o, p, r);
525
525
  return l && s ? s(h) : h;
526
526
  }
527
- function cs(t, e, n, r) {
528
- const s = yr(t), i = s !== t && !/* @__PURE__ */ oe(t);
527
+ function ls(t, e, n, r) {
528
+ const s = yr(t), i = s !== t && !/* @__PURE__ */ ae(t);
529
529
  let o = n, l = !1;
530
530
  s !== t && (i ? (l = r.length === 0, o = function(p, h, u) {
531
- return l && (l = !1, p = Se(t, p)), n.call(this, p, Se(t, h), u, t);
531
+ return l && (l = !1, p = xe(t, p)), n.call(this, p, xe(t, h), u, t);
532
532
  }) : n.length > 3 && (o = function(p, h, u) {
533
533
  return n.call(this, p, h, u, t);
534
534
  }));
535
535
  const c = s[e](o, ...r);
536
- return l ? Se(t, c) : c;
536
+ return l ? xe(t, c) : c;
537
537
  }
538
- function qn(t, e, n) {
539
- const r = /* @__PURE__ */ I(t);
540
- X(r, "iterate", Pt);
538
+ function Gn(t, e, n) {
539
+ const r = /* @__PURE__ */ N(t);
540
+ J(r, "iterate", Mt);
541
541
  const s = r[e](...n);
542
- return (s === -1 || s === !1) && /* @__PURE__ */ $t(n[0]) ? (n[0] = /* @__PURE__ */ I(n[0]), r[e](...n)) : s;
542
+ return (s === -1 || s === !1) && /* @__PURE__ */ $t(n[0]) ? (n[0] = /* @__PURE__ */ N(n[0]), r[e](...n)) : s;
543
543
  }
544
544
  function kt(t, e, n = []) {
545
- gt(), gr();
546
- const r = (/* @__PURE__ */ I(t))[e].apply(t, n);
547
- return mr(), mt(), r;
545
+ _t(), gr();
546
+ const r = (/* @__PURE__ */ N(t))[e].apply(t, n);
547
+ return mr(), bt(), r;
548
548
  }
549
- const Ro = /* @__PURE__ */ ao("__proto__,__v_isRef,__isVue"), Gs = new Set(
549
+ const Ro = /* @__PURE__ */ ao("__proto__,__v_isRef,__isVue"), Ws = new Set(
550
550
  /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(Ye)
551
551
  );
552
552
  function Oo(t) {
553
553
  Ye(t) || (t = String(t));
554
- const e = /* @__PURE__ */ I(this);
555
- return X(e, "has", t), e.hasOwnProperty(t);
554
+ const e = /* @__PURE__ */ N(this);
555
+ return J(e, "has", t), e.hasOwnProperty(t);
556
556
  }
557
- class qs {
557
+ class Gs {
558
558
  constructor(e = !1, n = !1) {
559
559
  this._isReadonly = e, this._isShallow = n;
560
560
  }
@@ -568,10 +568,10 @@ class qs {
568
568
  if (n === "__v_isShallow")
569
569
  return i;
570
570
  if (n === "__v_raw")
571
- return r === (s ? i ? jo : Zs : i ? zo : Ys).get(e) || // receiver is not the reactive proxy, but has the same prototype
571
+ return r === (s ? i ? jo : Ys : i ? zo : Ks).get(e) || // receiver is not the reactive proxy, but has the same prototype
572
572
  // this means the receiver is a user proxy of the reactive proxy
573
573
  Object.getPrototypeOf(e) === Object.getPrototypeOf(r) ? e : void 0;
574
- const o = G(e);
574
+ const o = K(e);
575
575
  if (!s) {
576
576
  let c;
577
577
  if (o && (c = vo[n]))
@@ -585,82 +585,82 @@ class qs {
585
585
  // if this is a proxy wrapping a ref, return methods using the raw ref
586
586
  // as receiver so that we don't have to call `toRaw` on the ref in all
587
587
  // its class methods
588
- /* @__PURE__ */ J(e) ? e : r
588
+ /* @__PURE__ */ te(e) ? e : r
589
589
  );
590
- if ((Ye(n) ? Gs.has(n) : Ro(n)) || (s || X(e, "get", n), i))
590
+ if ((Ye(n) ? Ws.has(n) : Ro(n)) || (s || J(e, "get", n), i))
591
591
  return l;
592
- if (/* @__PURE__ */ J(l)) {
593
- const c = o && yn(n) ? l : l.value;
594
- return s && ie(c) ? /* @__PURE__ */ cn(c) : c;
592
+ if (/* @__PURE__ */ te(l)) {
593
+ const c = o && _n(n) ? l : l.value;
594
+ return s && oe(c) ? /* @__PURE__ */ ir(c) : c;
595
595
  }
596
- return ie(l) ? s ? /* @__PURE__ */ cn(l) : /* @__PURE__ */ En(l) : l;
596
+ return oe(l) ? s ? /* @__PURE__ */ ir(l) : /* @__PURE__ */ yn(l) : l;
597
597
  }
598
598
  }
599
- class No extends qs {
599
+ class No extends Gs {
600
600
  constructor(e = !1) {
601
601
  super(!1, e);
602
602
  }
603
603
  set(e, n, r, s) {
604
604
  let i = e[n];
605
- const o = G(e) && yn(n);
605
+ const o = K(e) && _n(n);
606
606
  if (!this._isShallow) {
607
- const p = /* @__PURE__ */ Re(i);
608
- if (!/* @__PURE__ */ oe(r) && !/* @__PURE__ */ Re(r) && (i = /* @__PURE__ */ I(i), r = /* @__PURE__ */ I(r)), !o && /* @__PURE__ */ J(i) && !/* @__PURE__ */ J(r))
609
- return p ? (process.env.NODE_ENV !== "production" && Ae(
607
+ const p = /* @__PURE__ */ Ae(i);
608
+ if (!/* @__PURE__ */ ae(r) && !/* @__PURE__ */ Ae(r) && (i = /* @__PURE__ */ N(i), r = /* @__PURE__ */ N(r)), !o && /* @__PURE__ */ te(i) && !/* @__PURE__ */ te(r))
609
+ return p ? (process.env.NODE_ENV !== "production" && ve(
610
610
  `Set operation on key "${String(n)}" failed: target is readonly.`,
611
611
  e[n]
612
612
  ), !0) : (i.value = r, !0);
613
613
  }
614
- const l = o ? Number(n) < e.length : nr(e, n), c = Reflect.set(
614
+ const l = o ? Number(n) < e.length : tr(e, n), c = Reflect.set(
615
615
  e,
616
616
  n,
617
617
  r,
618
- /* @__PURE__ */ J(e) ? e : s
618
+ /* @__PURE__ */ te(e) ? e : s
619
619
  );
620
- return e === /* @__PURE__ */ I(s) && (l ? ve(r, i) && Fe(e, "set", n, r, i) : Fe(e, "add", n, r)), c;
620
+ return e === /* @__PURE__ */ N(s) && (l ? Se(r, i) && Fe(e, "set", n, r, i) : Fe(e, "add", n, r)), c;
621
621
  }
622
622
  deleteProperty(e, n) {
623
- const r = nr(e, n), s = e[n], i = Reflect.deleteProperty(e, n);
623
+ const r = tr(e, n), s = e[n], i = Reflect.deleteProperty(e, n);
624
624
  return i && r && Fe(e, "delete", n, void 0, s), i;
625
625
  }
626
626
  has(e, n) {
627
627
  const r = Reflect.has(e, n);
628
- return (!Ye(n) || !Gs.has(n)) && X(e, "has", n), r;
628
+ return (!Ye(n) || !Ws.has(n)) && J(e, "has", n), r;
629
629
  }
630
630
  ownKeys(e) {
631
- return X(
631
+ return J(
632
632
  e,
633
633
  "iterate",
634
- G(e) ? "length" : qe
634
+ K(e) ? "length" : qe
635
635
  ), Reflect.ownKeys(e);
636
636
  }
637
637
  }
638
- class Io extends qs {
638
+ class Io extends Gs {
639
639
  constructor(e = !1) {
640
640
  super(!0, e);
641
641
  }
642
642
  set(e, n) {
643
- return process.env.NODE_ENV !== "production" && Ae(
643
+ return process.env.NODE_ENV !== "production" && ve(
644
644
  `Set operation on key "${String(n)}" failed: target is readonly.`,
645
645
  e
646
646
  ), !0;
647
647
  }
648
648
  deleteProperty(e, n) {
649
- return process.env.NODE_ENV !== "production" && Ae(
649
+ return process.env.NODE_ENV !== "production" && ve(
650
650
  `Delete operation on key "${String(n)}" failed: target is readonly.`,
651
651
  e
652
652
  ), !0;
653
653
  }
654
654
  }
655
- const Do = /* @__PURE__ */ new No(), Co = /* @__PURE__ */ new Io(), ir = (t) => t, Qt = (t) => Reflect.getPrototypeOf(t);
655
+ const Do = /* @__PURE__ */ new No(), Co = /* @__PURE__ */ new Io(), sr = (t) => t, Xt = (t) => Reflect.getPrototypeOf(t);
656
656
  function Mo(t, e, n) {
657
657
  return function(...r) {
658
- const s = this.__v_raw, i = /* @__PURE__ */ I(s), o = ut(i), l = t === "entries" || t === Symbol.iterator && o, c = t === "keys" && o, p = s[t](...r), h = n ? ir : e ? Lt : Ce;
659
- return !e && X(
658
+ const s = this.__v_raw, i = /* @__PURE__ */ N(s), o = pt(i), l = t === "entries" || t === Symbol.iterator && o, c = t === "keys" && o, p = s[t](...r), h = n ? sr : e ? Pt : De;
659
+ return !e && J(
660
660
  i,
661
661
  "iterate",
662
- c ? sr : qe
663
- ), Ie(
662
+ c ? rr : qe
663
+ ), Ne(
664
664
  // inheriting all iterator properties
665
665
  Object.create(p),
666
666
  {
@@ -676,24 +676,24 @@ function Mo(t, e, n) {
676
676
  );
677
677
  };
678
678
  }
679
- function Jt(t) {
679
+ function Qt(t) {
680
680
  return function(...e) {
681
681
  if (process.env.NODE_ENV !== "production") {
682
682
  const n = e[0] ? `on key "${e[0]}" ` : "";
683
- Ae(
684
- `${Ls(t)} operation ${n}failed: target is readonly.`,
685
- /* @__PURE__ */ I(this)
683
+ ve(
684
+ `${Ps(t)} operation ${n}failed: target is readonly.`,
685
+ /* @__PURE__ */ N(this)
686
686
  );
687
687
  }
688
688
  return t === "delete" ? !1 : t === "clear" ? void 0 : this;
689
689
  };
690
690
  }
691
- function Po(t, e) {
691
+ function $o(t, e) {
692
692
  const n = {
693
693
  get(s) {
694
- const i = this.__v_raw, o = /* @__PURE__ */ I(i), l = /* @__PURE__ */ I(s);
695
- t || (ve(s, l) && X(o, "get", s), X(o, "get", l));
696
- const { has: c } = Qt(o), p = e ? ir : t ? Lt : Ce;
694
+ const i = this.__v_raw, o = /* @__PURE__ */ N(i), l = /* @__PURE__ */ N(s);
695
+ t || (Se(s, l) && J(o, "get", s), J(o, "get", l));
696
+ const { has: c } = Xt(o), p = e ? sr : t ? Pt : De;
697
697
  if (c.call(o, s))
698
698
  return p(i.get(s));
699
699
  if (c.call(o, l))
@@ -702,46 +702,46 @@ function Po(t, e) {
702
702
  },
703
703
  get size() {
704
704
  const s = this.__v_raw;
705
- return !t && X(/* @__PURE__ */ I(s), "iterate", qe), s.size;
705
+ return !t && J(/* @__PURE__ */ N(s), "iterate", qe), s.size;
706
706
  },
707
707
  has(s) {
708
- const i = this.__v_raw, o = /* @__PURE__ */ I(i), l = /* @__PURE__ */ I(s);
709
- return t || (ve(s, l) && X(o, "has", s), X(o, "has", l)), s === l ? i.has(s) : i.has(s) || i.has(l);
708
+ const i = this.__v_raw, o = /* @__PURE__ */ N(i), l = /* @__PURE__ */ N(s);
709
+ return t || (Se(s, l) && J(o, "has", s), J(o, "has", l)), s === l ? i.has(s) : i.has(s) || i.has(l);
710
710
  },
711
711
  forEach(s, i) {
712
- const o = this, l = o.__v_raw, c = /* @__PURE__ */ I(l), p = e ? ir : t ? Lt : Ce;
713
- return !t && X(c, "iterate", qe), l.forEach((h, u) => s.call(i, p(h), p(u), o));
712
+ const o = this, l = o.__v_raw, c = /* @__PURE__ */ N(l), p = e ? sr : t ? Pt : De;
713
+ return !t && J(c, "iterate", qe), l.forEach((h, u) => s.call(i, p(h), p(u), o));
714
714
  }
715
715
  };
716
- return Ie(
716
+ return Ne(
717
717
  n,
718
718
  t ? {
719
- add: Jt("add"),
720
- set: Jt("set"),
721
- delete: Jt("delete"),
722
- clear: Jt("clear")
719
+ add: Qt("add"),
720
+ set: Qt("set"),
721
+ delete: Qt("delete"),
722
+ clear: Qt("clear")
723
723
  } : {
724
724
  add(s) {
725
- const i = /* @__PURE__ */ I(this), o = Qt(i), l = /* @__PURE__ */ I(s), c = !e && !/* @__PURE__ */ oe(s) && !/* @__PURE__ */ Re(s) ? l : s;
726
- return o.has.call(i, c) || ve(s, c) && o.has.call(i, s) || ve(l, c) && o.has.call(i, l) || (i.add(c), Fe(i, "add", c, c)), this;
725
+ const i = /* @__PURE__ */ N(this), o = Xt(i), l = /* @__PURE__ */ N(s), c = !e && !/* @__PURE__ */ ae(s) && !/* @__PURE__ */ Ae(s) ? l : s;
726
+ return o.has.call(i, c) || Se(s, c) && o.has.call(i, s) || Se(l, c) && o.has.call(i, l) || (i.add(c), Fe(i, "add", c, c)), this;
727
727
  },
728
728
  set(s, i) {
729
- !e && !/* @__PURE__ */ oe(i) && !/* @__PURE__ */ Re(i) && (i = /* @__PURE__ */ I(i));
730
- const o = /* @__PURE__ */ I(this), { has: l, get: c } = Qt(o);
729
+ !e && !/* @__PURE__ */ ae(i) && !/* @__PURE__ */ Ae(i) && (i = /* @__PURE__ */ N(i));
730
+ const o = /* @__PURE__ */ N(this), { has: l, get: c } = Xt(o);
731
731
  let p = l.call(o, s);
732
- p ? process.env.NODE_ENV !== "production" && us(o, l, s) : (s = /* @__PURE__ */ I(s), p = l.call(o, s));
732
+ p ? process.env.NODE_ENV !== "production" && cs(o, l, s) : (s = /* @__PURE__ */ N(s), p = l.call(o, s));
733
733
  const h = c.call(o, s);
734
- return o.set(s, i), p ? ve(i, h) && Fe(o, "set", s, i, h) : Fe(o, "add", s, i), this;
734
+ return o.set(s, i), p ? Se(i, h) && Fe(o, "set", s, i, h) : Fe(o, "add", s, i), this;
735
735
  },
736
736
  delete(s) {
737
- const i = /* @__PURE__ */ I(this), { has: o, get: l } = Qt(i);
737
+ const i = /* @__PURE__ */ N(this), { has: o, get: l } = Xt(i);
738
738
  let c = o.call(i, s);
739
- c ? process.env.NODE_ENV !== "production" && us(i, o, s) : (s = /* @__PURE__ */ I(s), c = o.call(i, s));
739
+ c ? process.env.NODE_ENV !== "production" && cs(i, o, s) : (s = /* @__PURE__ */ N(s), c = o.call(i, s));
740
740
  const p = l ? l.call(i, s) : void 0, h = i.delete(s);
741
741
  return c && Fe(i, "delete", s, void 0, p), h;
742
742
  },
743
743
  clear() {
744
- const s = /* @__PURE__ */ I(this), i = s.size !== 0, o = process.env.NODE_ENV !== "production" ? ut(s) ? new Map(s) : new Set(s) : void 0, l = s.clear();
744
+ const s = /* @__PURE__ */ N(this), i = s.size !== 0, o = process.env.NODE_ENV !== "production" ? pt(s) ? new Map(s) : new Set(s) : void 0, l = s.clear();
745
745
  return i && Fe(
746
746
  s,
747
747
  "clear",
@@ -760,29 +760,29 @@ function Po(t, e) {
760
760
  n[s] = Mo(s, t, e);
761
761
  }), n;
762
762
  }
763
- function Ks(t, e) {
764
- const n = Po(t, e);
763
+ function qs(t, e) {
764
+ const n = $o(t, e);
765
765
  return (r, s, i) => s === "__v_isReactive" ? !t : s === "__v_isReadonly" ? t : s === "__v_raw" ? r : Reflect.get(
766
- nr(n, s) && s in r ? n : r,
766
+ tr(n, s) && s in r ? n : r,
767
767
  s,
768
768
  i
769
769
  );
770
770
  }
771
- const $o = {
772
- get: /* @__PURE__ */ Ks(!1, !1)
771
+ const Po = {
772
+ get: /* @__PURE__ */ qs(!1, !1)
773
773
  }, Lo = {
774
- get: /* @__PURE__ */ Ks(!0, !1)
774
+ get: /* @__PURE__ */ qs(!0, !1)
775
775
  };
776
- function us(t, e, n) {
777
- const r = /* @__PURE__ */ I(n);
776
+ function cs(t, e, n) {
777
+ const r = /* @__PURE__ */ N(n);
778
778
  if (r !== n && e.call(t, r)) {
779
- const s = Ps(t);
780
- Ae(
779
+ const s = Ms(t);
780
+ ve(
781
781
  `Reactive ${s} contains both the raw and reactive versions of the same object${s === "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.`
782
782
  );
783
783
  }
784
784
  }
785
- const Ys = /* @__PURE__ */ new WeakMap(), zo = /* @__PURE__ */ new WeakMap(), Zs = /* @__PURE__ */ new WeakMap(), jo = /* @__PURE__ */ new WeakMap();
785
+ const Ks = /* @__PURE__ */ new WeakMap(), zo = /* @__PURE__ */ new WeakMap(), Ys = /* @__PURE__ */ new WeakMap(), jo = /* @__PURE__ */ new WeakMap();
786
786
  function Fo(t) {
787
787
  switch (t) {
788
788
  case "Object":
@@ -798,28 +798,28 @@ function Fo(t) {
798
798
  }
799
799
  }
800
800
  // @__NO_SIDE_EFFECTS__
801
- function En(t) {
802
- return /* @__PURE__ */ Re(t) ? t : Xs(
801
+ function yn(t) {
802
+ return /* @__PURE__ */ Ae(t) ? t : Zs(
803
803
  t,
804
804
  !1,
805
805
  Do,
806
- $o,
807
- Ys
806
+ Po,
807
+ Ks
808
808
  );
809
809
  }
810
810
  // @__NO_SIDE_EFFECTS__
811
- function cn(t) {
812
- return Xs(
811
+ function ir(t) {
812
+ return Zs(
813
813
  t,
814
814
  !0,
815
815
  Co,
816
816
  Lo,
817
- Zs
817
+ Ys
818
818
  );
819
819
  }
820
- function Xs(t, e, n, r, s) {
821
- if (!ie(t))
822
- return process.env.NODE_ENV !== "production" && Ae(
820
+ function Zs(t, e, n, r, s) {
821
+ if (!oe(t))
822
+ return process.env.NODE_ENV !== "production" && ve(
823
823
  `value cannot be made ${e ? "readonly" : "reactive"}: ${String(
824
824
  t
825
825
  )}`
@@ -829,7 +829,7 @@ function Xs(t, e, n, r, s) {
829
829
  const i = s.get(t);
830
830
  if (i)
831
831
  return i;
832
- const o = Fo(Ps(t));
832
+ const o = Fo(Ms(t));
833
833
  if (o === 0)
834
834
  return t;
835
835
  const l = new Proxy(
@@ -839,15 +839,15 @@ function Xs(t, e, n, r, s) {
839
839
  return s.set(t, l), l;
840
840
  }
841
841
  // @__NO_SIDE_EFFECTS__
842
- function ft(t) {
843
- return /* @__PURE__ */ Re(t) ? /* @__PURE__ */ ft(t.__v_raw) : !!(t && t.__v_isReactive);
842
+ function ht(t) {
843
+ return /* @__PURE__ */ Ae(t) ? /* @__PURE__ */ ht(t.__v_raw) : !!(t && t.__v_isReactive);
844
844
  }
845
845
  // @__NO_SIDE_EFFECTS__
846
- function Re(t) {
846
+ function Ae(t) {
847
847
  return !!(t && t.__v_isReadonly);
848
848
  }
849
849
  // @__NO_SIDE_EFFECTS__
850
- function oe(t) {
850
+ function ae(t) {
851
851
  return !!(t && t.__v_isShallow);
852
852
  }
853
853
  // @__NO_SIDE_EFFECTS__
@@ -855,13 +855,13 @@ function $t(t) {
855
855
  return t ? !!t.__v_raw : !1;
856
856
  }
857
857
  // @__NO_SIDE_EFFECTS__
858
- function I(t) {
858
+ function N(t) {
859
859
  const e = t && t.__v_raw;
860
- return e ? /* @__PURE__ */ I(e) : t;
860
+ return e ? /* @__PURE__ */ N(e) : t;
861
861
  }
862
- const Ce = (t) => ie(t) ? /* @__PURE__ */ En(t) : t, Lt = (t) => ie(t) ? /* @__PURE__ */ cn(t) : t;
862
+ const De = (t) => oe(t) ? /* @__PURE__ */ yn(t) : t, Pt = (t) => oe(t) ? /* @__PURE__ */ ir(t) : t;
863
863
  // @__NO_SIDE_EFFECTS__
864
- function J(t) {
864
+ function te(t) {
865
865
  return t ? t.__v_isRef === !0 : !1;
866
866
  }
867
867
  // @__NO_SIDE_EFFECTS__
@@ -869,11 +869,11 @@ function or(t) {
869
869
  return Vo(t, !1);
870
870
  }
871
871
  function Vo(t, e) {
872
- return /* @__PURE__ */ J(t) ? t : new Ho(t, e);
872
+ return /* @__PURE__ */ te(t) ? t : new Ho(t, e);
873
873
  }
874
874
  class Ho {
875
875
  constructor(e, n) {
876
- this.dep = new br(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? e : /* @__PURE__ */ I(e), this._value = n ? e : Ce(e), this.__v_isShallow = n;
876
+ this.dep = new br(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = n ? e : /* @__PURE__ */ N(e), this._value = n ? e : De(e), this.__v_isShallow = n;
877
877
  }
878
878
  get value() {
879
879
  return process.env.NODE_ENV !== "production" ? this.dep.track({
@@ -883,8 +883,8 @@ class Ho {
883
883
  }) : this.dep.track(), this._value;
884
884
  }
885
885
  set value(e) {
886
- const n = this._rawValue, r = this.__v_isShallow || /* @__PURE__ */ oe(e) || /* @__PURE__ */ Re(e);
887
- e = r ? e : /* @__PURE__ */ I(e), ve(e, n) && (this._rawValue = e, this._value = r ? e : Ce(e), process.env.NODE_ENV !== "production" ? this.dep.trigger({
886
+ const n = this._rawValue, r = this.__v_isShallow || /* @__PURE__ */ ae(e) || /* @__PURE__ */ Ae(e);
887
+ e = r ? e : /* @__PURE__ */ N(e), Se(e, n) && (this._rawValue = e, this._value = r ? e : De(e), process.env.NODE_ENV !== "production" ? this.dep.trigger({
888
888
  target: this,
889
889
  type: "set",
890
890
  key: "value",
@@ -893,30 +893,30 @@ class Ho {
893
893
  }) : this.dep.trigger());
894
894
  }
895
895
  }
896
- function Qs(t) {
897
- return /* @__PURE__ */ J(t) ? t.value : t;
896
+ function Xs(t) {
897
+ return /* @__PURE__ */ te(t) ? t.value : t;
898
898
  }
899
- function le(t) {
900
- return Z(t) ? t() : Qs(t);
899
+ function _e(t) {
900
+ return Q(t) ? t() : Xs(t);
901
901
  }
902
902
  class Uo {
903
903
  constructor(e, n, r) {
904
- this._object = e, this._defaultValue = r, this.__v_isRef = !0, this._value = void 0, this._key = Ye(n) ? n : String(n), this._raw = /* @__PURE__ */ I(e);
904
+ this._object = e, this._defaultValue = r, this.__v_isRef = !0, this._value = void 0, this._key = Ye(n) ? n : String(n), this._raw = /* @__PURE__ */ N(e);
905
905
  let s = !0, i = e;
906
- if (!G(e) || Ye(this._key) || !yn(this._key))
906
+ if (!K(e) || Ye(this._key) || !_n(this._key))
907
907
  do
908
- s = !/* @__PURE__ */ $t(i) || /* @__PURE__ */ oe(i);
908
+ s = !/* @__PURE__ */ $t(i) || /* @__PURE__ */ ae(i);
909
909
  while (s && (i = i.__v_raw));
910
910
  this._shallow = s;
911
911
  }
912
912
  get value() {
913
913
  let e = this._object[this._key];
914
- return this._shallow && (e = Qs(e)), this._value = e === void 0 ? this._defaultValue : e;
914
+ return this._shallow && (e = Xs(e)), this._value = e === void 0 ? this._defaultValue : e;
915
915
  }
916
916
  set value(e) {
917
- if (this._shallow && /* @__PURE__ */ J(this._raw[this._key])) {
917
+ if (this._shallow && /* @__PURE__ */ te(this._raw[this._key])) {
918
918
  const n = this._object[this._key];
919
- if (/* @__PURE__ */ J(n)) {
919
+ if (/* @__PURE__ */ te(n)) {
920
920
  n.value = e;
921
921
  return;
922
922
  }
@@ -937,22 +937,22 @@ class Bo {
937
937
  }
938
938
  // @__NO_SIDE_EFFECTS__
939
939
  function Wo(t, e, n) {
940
- return /* @__PURE__ */ J(t) ? t : Z(t) ? new Bo(t) : ie(t) && arguments.length > 1 ? Go(t, e, n) : /* @__PURE__ */ or(t);
940
+ return /* @__PURE__ */ te(t) ? t : Q(t) ? new Bo(t) : oe(t) && arguments.length > 1 ? Go(t, e, n) : /* @__PURE__ */ or(t);
941
941
  }
942
942
  function Go(t, e, n) {
943
943
  return new Uo(t, e, n);
944
944
  }
945
945
  class qo {
946
946
  constructor(e, n, r) {
947
- this.fn = e, this.setter = n, this._value = void 0, this.dep = new br(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Mt - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
947
+ this.fn = e, this.setter = n, this._value = void 0, this.dep = new br(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = Ct - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !n, this.isSSR = r;
948
948
  }
949
949
  /**
950
950
  * @internal
951
951
  */
952
952
  notify() {
953
953
  if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
954
- M !== this)
955
- return Fs(this, !0), !0;
954
+ P !== this)
955
+ return js(this, !0), !0;
956
956
  process.env.NODE_ENV;
957
957
  }
958
958
  get value() {
@@ -961,123 +961,123 @@ class qo {
961
961
  type: "get",
962
962
  key: "value"
963
963
  }) : this.dep.track();
964
- return Us(this), e && (e.version = this.dep.version), this._value;
964
+ return Hs(this), e && (e.version = this.dep.version), this._value;
965
965
  }
966
966
  set value(e) {
967
- this.setter ? this.setter(e) : process.env.NODE_ENV !== "production" && Ae("Write operation failed: computed value is readonly");
967
+ this.setter ? this.setter(e) : process.env.NODE_ENV !== "production" && ve("Write operation failed: computed value is readonly");
968
968
  }
969
969
  }
970
970
  // @__NO_SIDE_EFFECTS__
971
971
  function Ko(t, e, n = !1) {
972
972
  let r, s;
973
- Z(t) ? r = t : (r = t.get, s = t.set);
973
+ Q(t) ? r = t : (r = t.get, s = t.set);
974
974
  const i = new qo(r, s, n);
975
975
  return process.env.NODE_ENV, i;
976
976
  }
977
- const en = {}, un = /* @__PURE__ */ new WeakMap();
977
+ const Jt = {}, cn = /* @__PURE__ */ new WeakMap();
978
978
  let Ge;
979
979
  function Yo(t, e = !1, n = Ge) {
980
980
  if (n) {
981
- let r = un.get(n);
982
- r || un.set(n, r = []), r.push(t);
983
- } else process.env.NODE_ENV !== "production" && !e && Ae(
981
+ let r = cn.get(n);
982
+ r || cn.set(n, r = []), r.push(t);
983
+ } else process.env.NODE_ENV !== "production" && !e && ve(
984
984
  "onWatcherCleanup() was called when there was no active watcher to associate with."
985
985
  );
986
986
  }
987
- function Zo(t, e, n = Ct) {
988
- const { immediate: r, deep: s, once: i, scheduler: o, augmentJob: l, call: c } = n, p = (y) => {
989
- (n.onWarn || Ae)(
987
+ function Zo(t, e, n = Dt) {
988
+ const { immediate: r, deep: s, once: i, scheduler: o, augmentJob: l, call: c } = n, p = (_) => {
989
+ (n.onWarn || ve)(
990
990
  "Invalid watch source: ",
991
- y,
991
+ _,
992
992
  "A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types."
993
993
  );
994
- }, h = (y) => s ? y : /* @__PURE__ */ oe(y) || s === !1 || s === 0 ? Ve(y, 1) : Ve(y);
995
- let u, d, m, b, w = !1, k = !1;
996
- if (/* @__PURE__ */ J(t) ? (d = () => t.value, w = /* @__PURE__ */ oe(t)) : /* @__PURE__ */ ft(t) ? (d = () => h(t), w = !0) : G(t) ? (k = !0, w = t.some((y) => /* @__PURE__ */ ft(y) || /* @__PURE__ */ oe(y)), d = () => t.map((y) => {
997
- if (/* @__PURE__ */ J(y))
998
- return y.value;
999
- if (/* @__PURE__ */ ft(y))
1000
- return h(y);
1001
- if (Z(y))
1002
- return c ? c(y, 2) : y();
1003
- process.env.NODE_ENV !== "production" && p(y);
1004
- })) : Z(t) ? e ? d = c ? () => c(t, 2) : t : d = () => {
994
+ }, h = (_) => s ? _ : /* @__PURE__ */ ae(_) || s === !1 || s === 0 ? Ve(_, 1) : Ve(_);
995
+ let u, d, m, y, O = !1, $ = !1;
996
+ if (/* @__PURE__ */ te(t) ? (d = () => t.value, O = /* @__PURE__ */ ae(t)) : /* @__PURE__ */ ht(t) ? (d = () => h(t), O = !0) : K(t) ? ($ = !0, O = t.some((_) => /* @__PURE__ */ ht(_) || /* @__PURE__ */ ae(_)), d = () => t.map((_) => {
997
+ if (/* @__PURE__ */ te(_))
998
+ return _.value;
999
+ if (/* @__PURE__ */ ht(_))
1000
+ return h(_);
1001
+ if (Q(_))
1002
+ return c ? c(_, 2) : _();
1003
+ process.env.NODE_ENV !== "production" && p(_);
1004
+ })) : Q(t) ? e ? d = c ? () => c(t, 2) : t : d = () => {
1005
1005
  if (m) {
1006
- gt();
1006
+ _t();
1007
1007
  try {
1008
1008
  m();
1009
1009
  } finally {
1010
- mt();
1010
+ bt();
1011
1011
  }
1012
1012
  }
1013
- const y = Ge;
1013
+ const _ = Ge;
1014
1014
  Ge = u;
1015
1015
  try {
1016
- return c ? c(t, 3, [b]) : t(b);
1016
+ return c ? c(t, 3, [y]) : t(y);
1017
1017
  } finally {
1018
- Ge = y;
1018
+ Ge = _;
1019
1019
  }
1020
- } : (d = ct, process.env.NODE_ENV !== "production" && p(t)), e && s) {
1021
- const y = d, T = s === !0 ? 1 / 0 : s;
1022
- d = () => Ve(y(), T);
1020
+ } : (d = ft, process.env.NODE_ENV !== "production" && p(t)), e && s) {
1021
+ const _ = d, E = s === !0 ? 1 / 0 : s;
1022
+ d = () => Ve(_(), E);
1023
1023
  }
1024
- const v = () => {
1024
+ const w = () => {
1025
1025
  u.stop();
1026
1026
  };
1027
1027
  if (i && e) {
1028
- const y = e;
1029
- e = (...T) => {
1030
- const x = y(...T);
1031
- return v(), x;
1028
+ const _ = e;
1029
+ e = (...E) => {
1030
+ const k = _(...E);
1031
+ return w(), k;
1032
1032
  };
1033
1033
  }
1034
- let O = k ? new Array(t.length).fill(en) : en;
1035
- const S = (y) => {
1036
- if (!(!(u.flags & 1) || !u.dirty && !y))
1034
+ let S = $ ? new Array(t.length).fill(Jt) : Jt;
1035
+ const A = (_) => {
1036
+ if (!(!(u.flags & 1) || !u.dirty && !_))
1037
1037
  if (e) {
1038
- const T = u.run();
1039
- if (y || s || w || (k ? T.some((x, A) => ve(x, O[A])) : ve(T, O))) {
1038
+ const E = u.run();
1039
+ if (_ || s || O || ($ ? E.some((k, x) => Se(k, S[x])) : Se(E, S))) {
1040
1040
  m && m();
1041
- const x = Ge;
1041
+ const k = Ge;
1042
1042
  Ge = u;
1043
1043
  try {
1044
- const A = [
1045
- T,
1044
+ const x = [
1045
+ E,
1046
1046
  // pass undefined as the old value when it's changed for the first time
1047
- O === en ? void 0 : k && O[0] === en ? [] : O,
1048
- b
1047
+ S === Jt ? void 0 : $ && S[0] === Jt ? [] : S,
1048
+ y
1049
1049
  ];
1050
- O = T, c ? c(e, 3, A) : (
1050
+ S = E, c ? c(e, 3, x) : (
1051
1051
  // @ts-expect-error
1052
- e(...A)
1052
+ e(...x)
1053
1053
  );
1054
1054
  } finally {
1055
- Ge = x;
1055
+ Ge = k;
1056
1056
  }
1057
1057
  }
1058
1058
  } else
1059
1059
  u.run();
1060
1060
  };
1061
- return l && l(S), u = new To(d), u.scheduler = o ? () => o(S, !1) : S, b = (y) => Yo(y, !1, u), m = u.onStop = () => {
1062
- const y = un.get(u);
1063
- if (y) {
1061
+ return l && l(A), u = new To(d), u.scheduler = o ? () => o(A, !1) : A, y = (_) => Yo(_, !1, u), m = u.onStop = () => {
1062
+ const _ = cn.get(u);
1063
+ if (_) {
1064
1064
  if (c)
1065
- c(y, 4);
1065
+ c(_, 4);
1066
1066
  else
1067
- for (const T of y) T();
1068
- un.delete(u);
1067
+ for (const E of _) E();
1068
+ cn.delete(u);
1069
1069
  }
1070
- }, process.env.NODE_ENV !== "production" && (u.onTrack = n.onTrack, u.onTrigger = n.onTrigger), e ? r ? S(!0) : O = u.run() : o ? o(S.bind(null, !0), !0) : u.run(), v.pause = u.pause.bind(u), v.resume = u.resume.bind(u), v.stop = v, v;
1070
+ }, process.env.NODE_ENV !== "production" && (u.onTrack = n.onTrack, u.onTrigger = n.onTrigger), e ? r ? A(!0) : S = u.run() : o ? o(A.bind(null, !0), !0) : u.run(), w.pause = u.pause.bind(u), w.resume = u.resume.bind(u), w.stop = w, w;
1071
1071
  }
1072
1072
  function Ve(t, e = 1 / 0, n) {
1073
- if (e <= 0 || !ie(t) || t.__v_skip || (n = n || /* @__PURE__ */ new Map(), (n.get(t) || 0) >= e))
1073
+ if (e <= 0 || !oe(t) || t.__v_skip || (n = n || /* @__PURE__ */ new Map(), (n.get(t) || 0) >= e))
1074
1074
  return t;
1075
- if (n.set(t, e), e--, /* @__PURE__ */ J(t))
1075
+ if (n.set(t, e), e--, /* @__PURE__ */ te(t))
1076
1076
  Ve(t.value, e, n);
1077
- else if (G(t))
1077
+ else if (K(t))
1078
1078
  for (let r = 0; r < t.length; r++)
1079
1079
  Ve(t[r], e, n);
1080
- else if (fo(t) || ut(t))
1080
+ else if (fo(t) || pt(t))
1081
1081
  t.forEach((r) => {
1082
1082
  Ve(r, e, n);
1083
1083
  });
@@ -1096,13 +1096,13 @@ function Xo(t) {
1096
1096
  function Qo() {
1097
1097
  Ke.pop();
1098
1098
  }
1099
- let Kn = !1;
1100
- function W(t, ...e) {
1101
- if (Kn) return;
1102
- Kn = !0, gt();
1099
+ let qn = !1;
1100
+ function q(t, ...e) {
1101
+ if (qn) return;
1102
+ qn = !0, _t();
1103
1103
  const n = Ke.length ? Ke[Ke.length - 1].component : null, r = n && n.appContext.config.warnHandler, s = Jo();
1104
1104
  if (r)
1105
- Tn(
1105
+ wn(
1106
1106
  r,
1107
1107
  n,
1108
1108
  11,
@@ -1114,7 +1114,7 @@ function W(t, ...e) {
1114
1114
  }).join(""),
1115
1115
  n && n.proxy,
1116
1116
  s.map(
1117
- ({ vnode: i }) => `at <${mi(n, i.type)}>`
1117
+ ({ vnode: i }) => `at <${gi(n, i.type)}>`
1118
1118
  ).join(`
1119
1119
  `),
1120
1120
  s
@@ -1125,7 +1125,7 @@ function W(t, ...e) {
1125
1125
  s.length && i.push(`
1126
1126
  `, ...ea(s)), console.warn(...i);
1127
1127
  }
1128
- mt(), Kn = !1;
1128
+ bt(), qn = !1;
1129
1129
  }
1130
1130
  function Jo() {
1131
1131
  let t = Ke[Ke.length - 1];
@@ -1151,7 +1151,7 @@ function ea(t) {
1151
1151
  }), e;
1152
1152
  }
1153
1153
  function ta({ vnode: t, recurseCount: e }) {
1154
- const n = e > 0 ? `... (${e} recursive calls)` : "", r = t.component ? t.component.parent == null : !1, s = ` at <${mi(
1154
+ const n = e > 0 ? `... (${e} recursive calls)` : "", r = t.component ? t.component.parent == null : !1, s = ` at <${gi(
1155
1155
  t.component,
1156
1156
  t.type,
1157
1157
  r
@@ -1161,11 +1161,11 @@ function ta({ vnode: t, recurseCount: e }) {
1161
1161
  function na(t) {
1162
1162
  const e = [], n = Object.keys(t);
1163
1163
  return n.slice(0, 3).forEach((r) => {
1164
- e.push(...Js(r, t[r]));
1164
+ e.push(...Qs(r, t[r]));
1165
1165
  }), n.length > 3 && e.push(" ..."), e;
1166
1166
  }
1167
- function Js(t, e, n) {
1168
- return De(e) ? (e = JSON.stringify(e), n ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? n ? e : [`${t}=${e}`] : /* @__PURE__ */ J(e) ? (e = Js(t, /* @__PURE__ */ I(e.value), !0), n ? e : [`${t}=Ref<`, e, ">"]) : Z(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = /* @__PURE__ */ I(e), n ? e : [`${t}=`, e]);
1167
+ function Qs(t, e, n) {
1168
+ return Ie(e) ? (e = JSON.stringify(e), n ? e : [`${t}=${e}`]) : typeof e == "number" || typeof e == "boolean" || e == null ? n ? e : [`${t}=${e}`] : /* @__PURE__ */ te(e) ? (e = Qs(t, /* @__PURE__ */ N(e.value), !0), n ? e : [`${t}=Ref<`, e, ">"]) : Q(e) ? [`${t}=fn${e.name ? `<${e.name}>` : ""}`] : (e = /* @__PURE__ */ N(e), n ? e : [`${t}=`, e]);
1169
1169
  }
1170
1170
  const wr = {
1171
1171
  sp: "serverPrefetch hook",
@@ -1200,7 +1200,7 @@ const wr = {
1200
1200
  15: "component update",
1201
1201
  16: "app unmount cleanup function"
1202
1202
  };
1203
- function Tn(t, e, n, r) {
1203
+ function wn(t, e, n, r) {
1204
1204
  try {
1205
1205
  return r ? t(...r) : t();
1206
1206
  } catch (s) {
@@ -1208,23 +1208,23 @@ function Tn(t, e, n, r) {
1208
1208
  }
1209
1209
  }
1210
1210
  function Er(t, e, n, r) {
1211
- if (Z(t)) {
1212
- const s = Tn(t, e, n, r);
1211
+ if (Q(t)) {
1212
+ const s = wn(t, e, n, r);
1213
1213
  return s && po(s) && s.catch((i) => {
1214
1214
  Tr(i, e, n);
1215
1215
  }), s;
1216
1216
  }
1217
- if (G(t)) {
1217
+ if (K(t)) {
1218
1218
  const s = [];
1219
1219
  for (let i = 0; i < t.length; i++)
1220
1220
  s.push(Er(t[i], e, n, r));
1221
1221
  return s;
1222
- } else process.env.NODE_ENV !== "production" && W(
1222
+ } else process.env.NODE_ENV !== "production" && q(
1223
1223
  `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`
1224
1224
  );
1225
1225
  }
1226
1226
  function Tr(t, e, n, r = !0) {
1227
- const s = e ? e.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = e && e.appContext.config || Ct;
1227
+ const s = e ? e.vnode : null, { errorHandler: i, throwUnhandledErrorInProduction: o } = e && e.appContext.config || Dt;
1228
1228
  if (e) {
1229
1229
  let l = e.parent;
1230
1230
  const c = e.proxy, p = process.env.NODE_ENV !== "production" ? wr[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
@@ -1238,11 +1238,11 @@ function Tr(t, e, n, r = !0) {
1238
1238
  l = l.parent;
1239
1239
  }
1240
1240
  if (i) {
1241
- gt(), Tn(i, null, 10, [
1241
+ _t(), wn(i, null, 10, [
1242
1242
  t,
1243
1243
  c,
1244
1244
  p
1245
- ]), mt();
1245
+ ]), bt();
1246
1246
  return;
1247
1247
  }
1248
1248
  }
@@ -1251,7 +1251,7 @@ function Tr(t, e, n, r = !0) {
1251
1251
  function ra(t, e, n, r = !0, s = !1) {
1252
1252
  if (process.env.NODE_ENV !== "production") {
1253
1253
  const i = wr[e];
1254
- if (n && Xo(n), W(`Unhandled error${i ? ` during execution of ${i}` : ""}`), n && Qo(), r)
1254
+ if (n && Xo(n), q(`Unhandled error${i ? ` during execution of ${i}` : ""}`), n && Qo(), r)
1255
1255
  throw t;
1256
1256
  console.error(t);
1257
1257
  } else {
@@ -1260,61 +1260,61 @@ function ra(t, e, n, r = !0, s = !1) {
1260
1260
  console.error(t);
1261
1261
  }
1262
1262
  }
1263
- const he = [];
1264
- let Ne = -1;
1265
- const pt = [];
1263
+ const pe = [];
1264
+ let Oe = -1;
1265
+ const dt = [];
1266
1266
  let je = null, ot = 0;
1267
1267
  const sa = /* @__PURE__ */ Promise.resolve();
1268
1268
  let ar = null;
1269
1269
  const ia = 100;
1270
1270
  function oa(t) {
1271
- let e = Ne + 1, n = he.length;
1271
+ let e = Oe + 1, n = pe.length;
1272
1272
  for (; e < n; ) {
1273
- const r = e + n >>> 1, s = he[r], i = zt(s);
1273
+ const r = e + n >>> 1, s = pe[r], i = Lt(s);
1274
1274
  i < t || i === t && s.flags & 2 ? e = r + 1 : n = r;
1275
1275
  }
1276
1276
  return e;
1277
1277
  }
1278
- function ei(t) {
1278
+ function Js(t) {
1279
1279
  if (!(t.flags & 1)) {
1280
- const e = zt(t), n = he[he.length - 1];
1280
+ const e = Lt(t), n = pe[pe.length - 1];
1281
1281
  !n || // fast path when the job id is larger than the tail
1282
- !(t.flags & 2) && e >= zt(n) ? he.push(t) : he.splice(oa(e), 0, t), t.flags |= 1, ti();
1282
+ !(t.flags & 2) && e >= Lt(n) ? pe.push(t) : pe.splice(oa(e), 0, t), t.flags |= 1, ei();
1283
1283
  }
1284
1284
  }
1285
- function ti() {
1286
- ar || (ar = sa.then(ri));
1285
+ function ei() {
1286
+ ar || (ar = sa.then(ni));
1287
1287
  }
1288
- function ni(t) {
1289
- G(t) ? pt.push(...t) : je && t.id === -1 ? je.splice(ot + 1, 0, t) : t.flags & 1 || (pt.push(t), t.flags |= 1), ti();
1288
+ function ti(t) {
1289
+ K(t) ? dt.push(...t) : je && t.id === -1 ? je.splice(ot + 1, 0, t) : t.flags & 1 || (dt.push(t), t.flags |= 1), ei();
1290
1290
  }
1291
1291
  function aa(t) {
1292
- if (pt.length) {
1293
- const e = [...new Set(pt)].sort(
1294
- (n, r) => zt(n) - zt(r)
1292
+ if (dt.length) {
1293
+ const e = [...new Set(dt)].sort(
1294
+ (n, r) => Lt(n) - Lt(r)
1295
1295
  );
1296
- if (pt.length = 0, je) {
1296
+ if (dt.length = 0, je) {
1297
1297
  je.push(...e);
1298
1298
  return;
1299
1299
  }
1300
1300
  for (je = e, process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map()), ot = 0; ot < je.length; ot++) {
1301
1301
  const n = je[ot];
1302
- process.env.NODE_ENV !== "production" && si(t, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
1302
+ process.env.NODE_ENV !== "production" && ri(t, n) || (n.flags & 4 && (n.flags &= -2), n.flags & 8 || n(), n.flags &= -2);
1303
1303
  }
1304
1304
  je = null, ot = 0;
1305
1305
  }
1306
1306
  }
1307
- const zt = (t) => t.id == null ? t.flags & 2 ? -1 : 1 / 0 : t.id;
1308
- function ri(t) {
1307
+ const Lt = (t) => t.id == null ? t.flags & 2 ? -1 : 1 / 0 : t.id;
1308
+ function ni(t) {
1309
1309
  process.env.NODE_ENV !== "production" && (t = t || /* @__PURE__ */ new Map());
1310
- const e = process.env.NODE_ENV !== "production" ? (n) => si(t, n) : ct;
1310
+ const e = process.env.NODE_ENV !== "production" ? (n) => ri(t, n) : ft;
1311
1311
  try {
1312
- for (Ne = 0; Ne < he.length; Ne++) {
1313
- const n = he[Ne];
1312
+ for (Oe = 0; Oe < pe.length; Oe++) {
1313
+ const n = pe[Oe];
1314
1314
  if (n && !(n.flags & 8)) {
1315
1315
  if (process.env.NODE_ENV !== "production" && e(n))
1316
1316
  continue;
1317
- n.flags & 4 && (n.flags &= -2), Tn(
1317
+ n.flags & 4 && (n.flags &= -2), wn(
1318
1318
  n,
1319
1319
  n.i,
1320
1320
  n.i ? 15 : 14
@@ -1322,17 +1322,17 @@ function ri(t) {
1322
1322
  }
1323
1323
  }
1324
1324
  } finally {
1325
- for (; Ne < he.length; Ne++) {
1326
- const n = he[Ne];
1325
+ for (; Oe < pe.length; Oe++) {
1326
+ const n = pe[Oe];
1327
1327
  n && (n.flags &= -2);
1328
1328
  }
1329
- Ne = -1, he.length = 0, aa(t), ar = null, (he.length || pt.length) && ri(t);
1329
+ Oe = -1, pe.length = 0, aa(t), ar = null, (pe.length || dt.length) && ni(t);
1330
1330
  }
1331
1331
  }
1332
- function si(t, e) {
1332
+ function ri(t, e) {
1333
1333
  const n = t.get(e) || 0;
1334
1334
  if (n > ia) {
1335
- const r = e.i, s = r && gi(r.type);
1335
+ const r = e.i, s = r && di(r.type);
1336
1336
  return Tr(
1337
1337
  `Maximum recursive updates exceeded${s ? ` in component <${s}>` : ""}. 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.`,
1338
1338
  null,
@@ -1341,52 +1341,52 @@ function si(t, e) {
1341
1341
  }
1342
1342
  return t.set(e, n + 1), !1;
1343
1343
  }
1344
- const Yn = /* @__PURE__ */ new Map();
1345
- process.env.NODE_ENV !== "production" && (wn().__VUE_HMR_RUNTIME__ = {
1346
- createRecord: Zn(la),
1347
- rerender: Zn(ca),
1348
- reload: Zn(ua)
1344
+ const Kn = /* @__PURE__ */ new Map();
1345
+ process.env.NODE_ENV !== "production" && (bn().__VUE_HMR_RUNTIME__ = {
1346
+ createRecord: Yn(la),
1347
+ rerender: Yn(ca),
1348
+ reload: Yn(ua)
1349
1349
  });
1350
- const fn = /* @__PURE__ */ new Map();
1350
+ const un = /* @__PURE__ */ new Map();
1351
1351
  function la(t, e) {
1352
- return fn.has(t) ? !1 : (fn.set(t, {
1353
- initialDef: pn(e),
1352
+ return un.has(t) ? !1 : (un.set(t, {
1353
+ initialDef: fn(e),
1354
1354
  instances: /* @__PURE__ */ new Set()
1355
1355
  }), !0);
1356
1356
  }
1357
- function pn(t) {
1358
- return _i(t) ? t.__vccOpts : t;
1357
+ function fn(t) {
1358
+ return mi(t) ? t.__vccOpts : t;
1359
1359
  }
1360
1360
  function ca(t, e) {
1361
- const n = fn.get(t);
1361
+ const n = un.get(t);
1362
1362
  n && (n.initialDef.render = e, [...n.instances].forEach((r) => {
1363
- e && (r.render = e, pn(r.type).render = e), r.renderCache = [], r.job.flags & 8 || r.update();
1363
+ e && (r.render = e, fn(r.type).render = e), r.renderCache = [], r.job.flags & 8 || r.update();
1364
1364
  }));
1365
1365
  }
1366
1366
  function ua(t, e) {
1367
- const n = fn.get(t);
1367
+ const n = un.get(t);
1368
1368
  if (!n) return;
1369
- e = pn(e), fs(n.initialDef, e);
1369
+ e = fn(e), us(n.initialDef, e);
1370
1370
  const r = [...n.instances];
1371
1371
  for (let s = 0; s < r.length; s++) {
1372
- const i = r[s], o = pn(i.type);
1373
- let l = Yn.get(o);
1374
- l || (o !== n.initialDef && fs(o, e), Yn.set(o, l = /* @__PURE__ */ new Set())), l.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (l.add(i), i.ceReload(e.styles), l.delete(i)) : i.parent ? ei(() => {
1372
+ const i = r[s], o = fn(i.type);
1373
+ let l = Kn.get(o);
1374
+ l || (o !== n.initialDef && us(o, e), Kn.set(o, l = /* @__PURE__ */ new Set())), l.add(i), i.appContext.propsCache.delete(i.type), i.appContext.emitsCache.delete(i.type), i.appContext.optionsCache.delete(i.type), i.ceReload ? (l.add(i), i.ceReload(e.styles), l.delete(i)) : i.parent ? Js(() => {
1375
1375
  i.job.flags & 8 || (i.parent.update(), l.delete(i));
1376
1376
  }) : i.appContext.reload ? i.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
1377
1377
  "[HMR] Root or manually mounted instance modified. Full reload required."
1378
1378
  ), i.root.ce && i !== i.root && i.root.ce._removeChildStyle(o);
1379
1379
  }
1380
- ni(() => {
1381
- Yn.clear();
1380
+ ti(() => {
1381
+ Kn.clear();
1382
1382
  });
1383
1383
  }
1384
- function fs(t, e) {
1385
- Ie(t, e);
1384
+ function us(t, e) {
1385
+ Ne(t, e);
1386
1386
  for (const n in t)
1387
1387
  n !== "__file" && !(n in e) && delete t[n];
1388
1388
  }
1389
- function Zn(t) {
1389
+ function Yn(t) {
1390
1390
  return (e, n) => {
1391
1391
  try {
1392
1392
  return t(e, n);
@@ -1397,149 +1397,149 @@ function Zn(t) {
1397
1397
  }
1398
1398
  };
1399
1399
  }
1400
- let at, tn = [];
1401
- function ii(t, e) {
1400
+ let at, en = [];
1401
+ function si(t, e) {
1402
1402
  var n, r;
1403
- at = t, at ? (at.enabled = !0, tn.forEach(({ event: s, args: i }) => at.emit(s, ...i)), tn = []) : /* 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
1403
+ at = t, at ? (at.enabled = !0, en.forEach(({ event: s, args: i }) => at.emit(s, ...i)), en = []) : /* 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
1404
1404
  window.HTMLElement && // also exclude jsdom
1405
1405
  // eslint-disable-next-line no-restricted-syntax
1406
1406
  !((r = (n = window.navigator) == null ? void 0 : n.userAgent) != null && r.includes("jsdom")) ? ((e.__VUE_DEVTOOLS_HOOK_REPLAY__ = e.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((i) => {
1407
- ii(i, e);
1407
+ si(i, e);
1408
1408
  }), setTimeout(() => {
1409
- at || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, tn = []);
1410
- }, 3e3)) : tn = [];
1409
+ at || (e.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, en = []);
1410
+ }, 3e3)) : en = [];
1411
1411
  }
1412
- let jt = null, fa = null;
1413
- function oi(t, e) {
1414
- if (process.env.NODE_ENV !== "production" && (!ue || ue.isMounted) && W("provide() can only be used inside setup()."), ue) {
1412
+ let zt = null, fa = null;
1413
+ function ii(t, e) {
1414
+ if (process.env.NODE_ENV !== "production" && (!ue || ue.isMounted) && q("provide() can only be used inside setup()."), ue) {
1415
1415
  let n = ue.provides;
1416
1416
  const r = ue.parent && ue.parent.provides;
1417
1417
  r === n && (n = ue.provides = Object.create(r)), n[t] = e;
1418
1418
  }
1419
1419
  }
1420
- function ai(t, e, n = !1) {
1421
- const r = _t();
1422
- if (r || ci) {
1420
+ function oi(t, e, n = !1) {
1421
+ const r = yt();
1422
+ if (r || li) {
1423
1423
  let s = r ? r.parent == null || r.ce ? r.vnode.appContext && r.vnode.appContext.provides : r.parent.provides : void 0;
1424
1424
  if (s && t in s)
1425
1425
  return s[t];
1426
1426
  if (arguments.length > 1)
1427
- return n && Z(e) ? e.call(r && r.proxy) : e;
1428
- process.env.NODE_ENV !== "production" && W(`injection "${String(t)}" not found.`);
1429
- } else process.env.NODE_ENV !== "production" && W("inject() can only be used inside setup() or functional components.");
1427
+ return n && Q(e) ? e.call(r && r.proxy) : e;
1428
+ process.env.NODE_ENV !== "production" && q(`injection "${String(t)}" not found.`);
1429
+ } else process.env.NODE_ENV !== "production" && q("inject() can only be used inside setup() or functional components.");
1430
1430
  }
1431
1431
  function pa() {
1432
- return !!(_t() || ci);
1432
+ return !!(yt() || li);
1433
1433
  }
1434
1434
  const ha = /* @__PURE__ */ Symbol.for("v-scx"), da = () => {
1435
1435
  {
1436
- const t = ai(ha);
1437
- return t || process.env.NODE_ENV !== "production" && W(
1436
+ const t = oi(ha);
1437
+ return t || process.env.NODE_ENV !== "production" && q(
1438
1438
  "Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."
1439
1439
  ), t;
1440
1440
  }
1441
1441
  };
1442
- function hn(t, e, n) {
1443
- return process.env.NODE_ENV !== "production" && !Z(e) && W(
1442
+ function lr(t, e, n) {
1443
+ return process.env.NODE_ENV !== "production" && !Q(e) && q(
1444
1444
  "`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."
1445
1445
  ), ga(t, e, n);
1446
1446
  }
1447
- function ga(t, e, n = Ct) {
1447
+ function ga(t, e, n = Dt) {
1448
1448
  const { immediate: r, deep: s, flush: i, once: o } = n;
1449
- process.env.NODE_ENV !== "production" && !e && (r !== void 0 && W(
1449
+ process.env.NODE_ENV !== "production" && !e && (r !== void 0 && q(
1450
1450
  'watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'
1451
- ), s !== void 0 && W(
1451
+ ), s !== void 0 && q(
1452
1452
  'watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'
1453
- ), o !== void 0 && W(
1453
+ ), o !== void 0 && q(
1454
1454
  'watch() "once" option is only respected when using the watch(source, callback, options?) signature.'
1455
1455
  ));
1456
- const l = Ie({}, n);
1457
- process.env.NODE_ENV !== "production" && (l.onWarn = W);
1456
+ const l = Ne({}, n);
1457
+ process.env.NODE_ENV !== "production" && (l.onWarn = q);
1458
1458
  const c = e && r || !e && i !== "post";
1459
1459
  let p;
1460
- if (Ft) {
1460
+ if (jt) {
1461
1461
  if (i === "sync") {
1462
1462
  const m = da();
1463
1463
  p = m.__watcherHandles || (m.__watcherHandles = []);
1464
1464
  } else if (!c) {
1465
1465
  const m = () => {
1466
1466
  };
1467
- return m.stop = ct, m.resume = ct, m.pause = ct, m;
1467
+ return m.stop = ft, m.resume = ft, m.pause = ft, m;
1468
1468
  }
1469
1469
  }
1470
1470
  const h = ue;
1471
- l.call = (m, b, w) => Er(m, h, b, w);
1471
+ l.call = (m, y, O) => Er(m, h, y, O);
1472
1472
  let u = !1;
1473
1473
  i === "post" ? l.scheduler = (m) => {
1474
1474
  Sa(m, h && h.suspense);
1475
- } : i !== "sync" && (u = !0, l.scheduler = (m, b) => {
1476
- b ? m() : ei(m);
1475
+ } : i !== "sync" && (u = !0, l.scheduler = (m, y) => {
1476
+ y ? m() : Js(m);
1477
1477
  }), l.augmentJob = (m) => {
1478
1478
  e && (m.flags |= 4), u && (m.flags |= 2, h && (m.id = h.uid, m.i = h));
1479
1479
  };
1480
1480
  const d = Zo(t, e, l);
1481
- return Ft && (p ? p.push(d) : c && d()), d;
1481
+ return jt && (p ? p.push(d) : c && d()), d;
1482
1482
  }
1483
1483
  const ma = (t) => t.__isTeleport;
1484
- function li(t, e) {
1485
- t.shapeFlag & 6 && t.component ? (t.transition = e, li(t.component.subTree, e)) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e;
1484
+ function ai(t, e) {
1485
+ t.shapeFlag & 6 && t.component ? (t.transition = e, ai(t.component.subTree, e)) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e;
1486
1486
  }
1487
- wn().requestIdleCallback;
1488
- wn().cancelIdleCallback;
1487
+ bn().requestIdleCallback;
1488
+ bn().cancelIdleCallback;
1489
1489
  function _a(t, e, n = ue, r = !1) {
1490
1490
  if (n) {
1491
1491
  const s = n[t] || (n[t] = []), i = e.__weh || (e.__weh = (...o) => {
1492
- gt();
1492
+ _t();
1493
1493
  const l = La(n), c = Er(e, n, t, o);
1494
- return l(), mt(), c;
1494
+ return l(), bt(), c;
1495
1495
  });
1496
1496
  return r ? s.unshift(i) : s.push(i), i;
1497
1497
  } else if (process.env.NODE_ENV !== "production") {
1498
1498
  const s = mo(wr[t].replace(/ hook$/, ""));
1499
- W(
1499
+ q(
1500
1500
  `${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`
1501
1501
  );
1502
1502
  }
1503
1503
  }
1504
1504
  const ba = (t) => (e, n = ue) => {
1505
- (!Ft || t === "sp") && _a(t, (...r) => e(...r), n);
1505
+ (!jt || t === "sp") && _a(t, (...r) => e(...r), n);
1506
1506
  }, ya = ba(
1507
1507
  "bum"
1508
1508
  ), wa = /* @__PURE__ */ Symbol.for("v-ndc"), Ea = {};
1509
- process.env.NODE_ENV !== "production" && (Ea.ownKeys = (t) => (W(
1509
+ process.env.NODE_ENV !== "production" && (Ea.ownKeys = (t) => (q(
1510
1510
  "Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."
1511
1511
  ), Reflect.ownKeys(t)));
1512
1512
  function Ta() {
1513
1513
  return ka("useSlots").slots;
1514
1514
  }
1515
1515
  function ka(t) {
1516
- const e = _t();
1517
- return process.env.NODE_ENV !== "production" && !e && W(`${t}() called without active instance.`), e.setupContext || (e.setupContext = ja(e));
1516
+ const e = yt();
1517
+ return process.env.NODE_ENV !== "production" && !e && q(`${t}() called without active instance.`), e.setupContext || (e.setupContext = ja(e));
1518
1518
  }
1519
- let ci = null;
1520
- const xa = {}, ui = (t) => Object.getPrototypeOf(t) === xa, Sa = Aa, va = (t) => t.__isSuspense;
1519
+ let li = null;
1520
+ const xa = {}, ci = (t) => Object.getPrototypeOf(t) === xa, Sa = Aa, va = (t) => t.__isSuspense;
1521
1521
  function Aa(t, e) {
1522
- e && e.pendingBranch ? G(t) ? e.effects.push(...t) : e.effects.push(t) : ni(t);
1522
+ e && e.pendingBranch ? K(t) ? e.effects.push(...t) : e.effects.push(t) : ti(t);
1523
1523
  }
1524
- const fi = /* @__PURE__ */ Symbol.for("v-fgt"), Ra = /* @__PURE__ */ Symbol.for("v-txt"), Oa = /* @__PURE__ */ Symbol.for("v-cmt");
1524
+ const ui = /* @__PURE__ */ Symbol.for("v-fgt"), Ra = /* @__PURE__ */ Symbol.for("v-txt"), Oa = /* @__PURE__ */ Symbol.for("v-cmt");
1525
1525
  function Na(t) {
1526
1526
  return t ? t.__v_isVNode === !0 : !1;
1527
1527
  }
1528
- const Ia = (...t) => hi(
1528
+ const Ia = (...t) => pi(
1529
1529
  ...t
1530
- ), pi = ({ key: t }) => t ?? null, on = ({
1530
+ ), fi = ({ key: t }) => t ?? null, sn = ({
1531
1531
  ref: t,
1532
1532
  ref_key: e,
1533
1533
  ref_for: n
1534
- }) => (typeof t == "number" && (t = "" + t), t != null ? De(t) || /* @__PURE__ */ J(t) || Z(t) ? { i: jt, r: t, k: e, f: !!n } : t : null);
1535
- function Da(t, e = null, n = null, r = 0, s = null, i = t === fi ? 0 : 1, o = !1, l = !1) {
1534
+ }) => (typeof t == "number" && (t = "" + t), t != null ? Ie(t) || /* @__PURE__ */ te(t) || Q(t) ? { i: zt, r: t, k: e, f: !!n } : t : null);
1535
+ function Da(t, e = null, n = null, r = 0, s = null, i = t === ui ? 0 : 1, o = !1, l = !1) {
1536
1536
  const c = {
1537
1537
  __v_isVNode: !0,
1538
1538
  __v_skip: !0,
1539
1539
  type: t,
1540
1540
  props: e,
1541
- key: e && pi(e),
1542
- ref: e && on(e),
1541
+ key: e && fi(e),
1542
+ ref: e && sn(e),
1543
1543
  scopeId: fa,
1544
1544
  slotScopeIds: null,
1545
1545
  children: n,
@@ -1560,14 +1560,14 @@ function Da(t, e = null, n = null, r = 0, s = null, i = t === fi ? 0 : 1, o = !1
1560
1560
  dynamicProps: s,
1561
1561
  dynamicChildren: null,
1562
1562
  appContext: null,
1563
- ctx: jt
1563
+ ctx: zt
1564
1564
  };
1565
- return l ? (kr(c, n), i & 128 && t.normalize(c)) : n && (c.shapeFlag |= De(n) ? 8 : 16), process.env.NODE_ENV !== "production" && c.key !== c.key && W("VNode created with invalid key (NaN). VNode type:", c.type), c;
1565
+ return l ? (kr(c, n), i & 128 && t.normalize(c)) : n && (c.shapeFlag |= Ie(n) ? 8 : 16), process.env.NODE_ENV !== "production" && c.key !== c.key && q("VNode created with invalid key (NaN). VNode type:", c.type), c;
1566
1566
  }
1567
- const Ca = process.env.NODE_ENV !== "production" ? Ia : hi;
1568
- function hi(t, e = null, n = null, r = 0, s = null, i = !1) {
1569
- if ((!t || t === wa) && (process.env.NODE_ENV !== "production" && !t && W(`Invalid vnode type when creating vnode: ${t}.`), t = Oa), Na(t)) {
1570
- const l = dn(
1567
+ const Ca = process.env.NODE_ENV !== "production" ? Ia : pi;
1568
+ function pi(t, e = null, n = null, r = 0, s = null, i = !1) {
1569
+ if ((!t || t === wa) && (process.env.NODE_ENV !== "production" && !t && q(`Invalid vnode type when creating vnode: ${t}.`), t = Oa), Na(t)) {
1570
+ const l = pn(
1571
1571
  t,
1572
1572
  e,
1573
1573
  !0
@@ -1575,13 +1575,13 @@ function hi(t, e = null, n = null, r = 0, s = null, i = !1) {
1575
1575
  );
1576
1576
  return n && kr(l, n), l.patchFlag = -2, l;
1577
1577
  }
1578
- if (_i(t) && (t = t.__vccOpts), e) {
1578
+ if (mi(t) && (t = t.__vccOpts), e) {
1579
1579
  e = Ma(e);
1580
1580
  let { class: l, style: c } = e;
1581
- l && !De(l) && (e.class = dr(l)), ie(c) && (/* @__PURE__ */ $t(c) && !G(c) && (c = Ie({}, c)), e.style = hr(c));
1581
+ l && !Ie(l) && (e.class = dr(l)), oe(c) && (/* @__PURE__ */ $t(c) && !K(c) && (c = Ne({}, c)), e.style = hr(c));
1582
1582
  }
1583
- const o = De(t) ? 1 : va(t) ? 128 : ma(t) ? 64 : ie(t) ? 4 : Z(t) ? 2 : 0;
1584
- return process.env.NODE_ENV !== "production" && o & 4 && /* @__PURE__ */ $t(t) && (t = /* @__PURE__ */ I(t), W(
1583
+ const o = Ie(t) ? 1 : va(t) ? 128 : ma(t) ? 64 : oe(t) ? 4 : Q(t) ? 2 : 0;
1584
+ return process.env.NODE_ENV !== "production" && o & 4 && /* @__PURE__ */ $t(t) && (t = /* @__PURE__ */ N(t), q(
1585
1585
  "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`.",
1586
1586
  `
1587
1587
  Component that was made reactive: `,
@@ -1598,24 +1598,24 @@ Component that was made reactive: `,
1598
1598
  );
1599
1599
  }
1600
1600
  function Ma(t) {
1601
- return t ? /* @__PURE__ */ $t(t) || ui(t) ? Ie({}, t) : t : null;
1601
+ return t ? /* @__PURE__ */ $t(t) || ci(t) ? Ne({}, t) : t : null;
1602
1602
  }
1603
- function dn(t, e, n = !1, r = !1) {
1604
- const { props: s, ref: i, patchFlag: o, children: l, transition: c } = t, p = e ? $a(s || {}, e) : s, h = {
1603
+ function pn(t, e, n = !1, r = !1) {
1604
+ const { props: s, ref: i, patchFlag: o, children: l, transition: c } = t, p = e ? Pa(s || {}, e) : s, h = {
1605
1605
  __v_isVNode: !0,
1606
1606
  __v_skip: !0,
1607
1607
  type: t.type,
1608
1608
  props: p,
1609
- key: p && pi(p),
1609
+ key: p && fi(p),
1610
1610
  ref: e && e.ref ? (
1611
1611
  // #2078 in the case of <component :is="vnode" ref="extra"/>
1612
1612
  // if the vnode itself already has a ref, cloneVNode will need to merge
1613
1613
  // the refs so the single vnode can be set on multiple refs
1614
- n && i ? G(i) ? i.concat(on(e)) : [i, on(e)] : on(e)
1614
+ n && i ? K(i) ? i.concat(sn(e)) : [i, sn(e)] : sn(e)
1615
1615
  ) : i,
1616
1616
  scopeId: t.scopeId,
1617
1617
  slotScopeIds: t.slotScopeIds,
1618
- children: process.env.NODE_ENV !== "production" && o === -1 && G(l) ? l.map(di) : l,
1618
+ children: process.env.NODE_ENV !== "production" && o === -1 && K(l) ? l.map(hi) : l,
1619
1619
  target: t.target,
1620
1620
  targetStart: t.targetStart,
1621
1621
  targetAnchor: t.targetAnchor,
@@ -1625,7 +1625,7 @@ function dn(t, e, n = !1, r = !1) {
1625
1625
  // existing patch flag to be reliable and need to add the FULL_PROPS flag.
1626
1626
  // note: preserve flag for fragments since they use the flag for children
1627
1627
  // fast paths only.
1628
- patchFlag: e && t.type !== fi ? o === -1 ? 16 : o | 16 : o,
1628
+ patchFlag: e && t.type !== ui ? o === -1 ? 16 : o | 16 : o,
1629
1629
  dynamicProps: t.dynamicProps,
1630
1630
  dynamicChildren: t.dynamicChildren,
1631
1631
  appContext: t.appContext,
@@ -1637,24 +1637,24 @@ function dn(t, e, n = !1, r = !1) {
1637
1637
  // they will simply be overwritten.
1638
1638
  component: t.component,
1639
1639
  suspense: t.suspense,
1640
- ssContent: t.ssContent && dn(t.ssContent),
1641
- ssFallback: t.ssFallback && dn(t.ssFallback),
1640
+ ssContent: t.ssContent && pn(t.ssContent),
1641
+ ssFallback: t.ssFallback && pn(t.ssFallback),
1642
1642
  placeholder: t.placeholder,
1643
1643
  el: t.el,
1644
1644
  anchor: t.anchor,
1645
1645
  ctx: t.ctx,
1646
1646
  ce: t.ce
1647
1647
  };
1648
- return c && r && li(
1648
+ return c && r && ai(
1649
1649
  h,
1650
1650
  c.clone(h)
1651
1651
  ), h;
1652
1652
  }
1653
- function di(t) {
1654
- const e = dn(t);
1655
- return G(t.children) && (e.children = t.children.map(di)), e;
1653
+ function hi(t) {
1654
+ const e = pn(t);
1655
+ return K(t.children) && (e.children = t.children.map(hi)), e;
1656
1656
  }
1657
- function Pa(t = " ", e = 0) {
1657
+ function $a(t = " ", e = 0) {
1658
1658
  return Ca(Ra, null, t, e);
1659
1659
  }
1660
1660
  function kr(t, e) {
@@ -1662,7 +1662,7 @@ function kr(t, e) {
1662
1662
  const { shapeFlag: r } = t;
1663
1663
  if (e == null)
1664
1664
  e = null;
1665
- else if (G(e))
1665
+ else if (K(e))
1666
1666
  n = 16;
1667
1667
  else if (typeof e == "object")
1668
1668
  if (r & 65) {
@@ -1670,11 +1670,11 @@ function kr(t, e) {
1670
1670
  s && (s._c && (s._d = !1), kr(t, s()), s._c && (s._d = !0));
1671
1671
  return;
1672
1672
  } else
1673
- n = 32, !e._ && !ui(e) && (e._ctx = jt);
1674
- else Z(e) ? (e = { default: e, _ctx: jt }, n = 32) : (e = String(e), r & 64 ? (n = 16, e = [Pa(e)]) : n = 8);
1673
+ n = 32, !e._ && !ci(e) && (e._ctx = zt);
1674
+ else Q(e) ? (e = { default: e, _ctx: zt }, n = 32) : (e = String(e), r & 64 ? (n = 16, e = [$a(e)]) : n = 8);
1675
1675
  t.children = e, t.shapeFlag |= n;
1676
1676
  }
1677
- function $a(...t) {
1677
+ function Pa(...t) {
1678
1678
  const e = {};
1679
1679
  for (let n = 0; n < t.length; n++) {
1680
1680
  const r = t[n];
@@ -1685,7 +1685,7 @@ function $a(...t) {
1685
1685
  e.style = hr([e.style, r.style]);
1686
1686
  else if (lo(s)) {
1687
1687
  const i = e[s], o = r[s];
1688
- o && i !== o && !(G(i) && i.includes(o)) ? e[s] = i ? [].concat(i, o) : o : o == null && i == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
1688
+ o && i !== o && !(K(i) && i.includes(o)) ? e[s] = i ? [].concat(i, o) : o : o == null && i == null && // mergeProps({ 'onUpdate:modelValue': undefined }) should not retain
1689
1689
  // the model listener.
1690
1690
  !co(s) && (e[s] = o);
1691
1691
  } else s !== "" && (e[s] = r[s]);
@@ -1693,57 +1693,57 @@ function $a(...t) {
1693
1693
  return e;
1694
1694
  }
1695
1695
  let ue = null;
1696
- const _t = () => ue || jt;
1697
- let lr;
1696
+ const yt = () => ue || zt;
1697
+ let cr;
1698
1698
  {
1699
- const t = wn(), e = (n, r) => {
1699
+ const t = bn(), e = (n, r) => {
1700
1700
  let s;
1701
1701
  return (s = t[n]) || (s = t[n] = []), s.push(r), (i) => {
1702
1702
  s.length > 1 ? s.forEach((o) => o(i)) : s[0](i);
1703
1703
  };
1704
1704
  };
1705
- lr = e(
1705
+ cr = e(
1706
1706
  "__VUE_INSTANCE_SETTERS__",
1707
1707
  (n) => ue = n
1708
1708
  ), e(
1709
1709
  "__VUE_SSR_SETTERS__",
1710
- (n) => Ft = n
1710
+ (n) => jt = n
1711
1711
  );
1712
1712
  }
1713
1713
  const La = (t) => {
1714
1714
  const e = ue;
1715
- return lr(t), t.scope.on(), () => {
1716
- t.scope.off(), lr(e);
1715
+ return cr(t), t.scope.on(), () => {
1716
+ t.scope.off(), cr(e);
1717
1717
  };
1718
1718
  };
1719
- let Ft = !1;
1720
- const ps = process.env.NODE_ENV !== "production" ? {
1719
+ let jt = !1;
1720
+ const fs = process.env.NODE_ENV !== "production" ? {
1721
1721
  get(t, e) {
1722
- return X(t, "get", ""), t[e];
1722
+ return J(t, "get", ""), t[e];
1723
1723
  },
1724
1724
  set() {
1725
- return W("setupContext.attrs is readonly."), !1;
1725
+ return q("setupContext.attrs is readonly."), !1;
1726
1726
  },
1727
1727
  deleteProperty() {
1728
- return W("setupContext.attrs is readonly."), !1;
1728
+ return q("setupContext.attrs is readonly."), !1;
1729
1729
  }
1730
1730
  } : {
1731
1731
  get(t, e) {
1732
- return X(t, "get", ""), t[e];
1732
+ return J(t, "get", ""), t[e];
1733
1733
  }
1734
1734
  };
1735
1735
  function za(t) {
1736
1736
  return new Proxy(t.slots, {
1737
1737
  get(e, n) {
1738
- return X(t, "get", "$slots"), e[n];
1738
+ return J(t, "get", "$slots"), e[n];
1739
1739
  }
1740
1740
  });
1741
1741
  }
1742
1742
  function ja(t) {
1743
1743
  const e = (n) => {
1744
- if (process.env.NODE_ENV !== "production" && (t.exposed && W("expose() should be called only once per setup()."), n != null)) {
1744
+ if (process.env.NODE_ENV !== "production" && (t.exposed && q("expose() should be called only once per setup()."), n != null)) {
1745
1745
  let r = typeof n;
1746
- r === "object" && (G(n) ? r = "array" : /* @__PURE__ */ J(n) && (r = "ref")), r !== "object" && W(
1746
+ r === "object" && (K(n) ? r = "array" : /* @__PURE__ */ te(n) && (r = "ref")), r !== "object" && q(
1747
1747
  `expose() should be passed a plain object, received ${r}.`
1748
1748
  );
1749
1749
  }
@@ -1753,7 +1753,7 @@ function ja(t) {
1753
1753
  let n, r;
1754
1754
  return Object.freeze({
1755
1755
  get attrs() {
1756
- return n || (n = new Proxy(t.attrs, ps));
1756
+ return n || (n = new Proxy(t.attrs, fs));
1757
1757
  },
1758
1758
  get slots() {
1759
1759
  return r || (r = za(t));
@@ -1765,18 +1765,18 @@ function ja(t) {
1765
1765
  });
1766
1766
  } else
1767
1767
  return {
1768
- attrs: new Proxy(t.attrs, ps),
1768
+ attrs: new Proxy(t.attrs, fs),
1769
1769
  slots: t.slots,
1770
1770
  emit: t.emit,
1771
1771
  expose: e
1772
1772
  };
1773
1773
  }
1774
1774
  const Fa = /(?:^|[-_])\w/g, Va = (t) => t.replace(Fa, (e) => e.toUpperCase()).replace(/[-_]/g, "");
1775
- function gi(t, e = !0) {
1776
- return Z(t) ? t.displayName || t.name : t.name || e && t.__name;
1775
+ function di(t, e = !0) {
1776
+ return Q(t) ? t.displayName || t.name : t.name || e && t.__name;
1777
1777
  }
1778
- function mi(t, e, n = !1) {
1779
- let r = gi(e);
1778
+ function gi(t, e, n = !1) {
1779
+ let r = di(e);
1780
1780
  if (!r && e.__file) {
1781
1781
  const s = e.__file.match(/([^/\\]+)\.\w+$/);
1782
1782
  s && (r = s[1]);
@@ -1793,13 +1793,13 @@ function mi(t, e, n = !1) {
1793
1793
  }
1794
1794
  return r ? Va(r) : n ? "App" : "Anonymous";
1795
1795
  }
1796
- function _i(t) {
1797
- return Z(t) && "__vccOpts" in t;
1796
+ function mi(t) {
1797
+ return Q(t) && "__vccOpts" in t;
1798
1798
  }
1799
- const cr = (t, e) => {
1800
- const n = /* @__PURE__ */ Ko(t, e, Ft);
1799
+ const on = (t, e) => {
1800
+ const n = /* @__PURE__ */ Ko(t, e, jt);
1801
1801
  if (process.env.NODE_ENV !== "production") {
1802
- const r = _t();
1802
+ const r = yt();
1803
1803
  r && r.appContext.config.warnRecursiveComputed && (n._warnRecursive = !0);
1804
1804
  }
1805
1805
  return n;
@@ -1810,14 +1810,14 @@ function Ha() {
1810
1810
  const t = { style: "color:#3ba776" }, e = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, r = { style: "color:#eb2f96" }, s = {
1811
1811
  __vue_custom_formatter: !0,
1812
1812
  header(u) {
1813
- if (!ie(u))
1813
+ if (!oe(u))
1814
1814
  return null;
1815
1815
  if (u.__isVue)
1816
1816
  return ["div", t, "VueInstance"];
1817
- if (/* @__PURE__ */ J(u)) {
1818
- gt();
1817
+ if (/* @__PURE__ */ te(u)) {
1818
+ _t();
1819
1819
  const d = u.value;
1820
- return mt(), [
1820
+ return bt(), [
1821
1821
  "div",
1822
1822
  {},
1823
1823
  ["span", t, h(u)],
@@ -1826,20 +1826,20 @@ function Ha() {
1826
1826
  ">"
1827
1827
  ];
1828
1828
  } else {
1829
- if (/* @__PURE__ */ ft(u))
1829
+ if (/* @__PURE__ */ ht(u))
1830
1830
  return [
1831
1831
  "div",
1832
1832
  {},
1833
- ["span", t, /* @__PURE__ */ oe(u) ? "ShallowReactive" : "Reactive"],
1833
+ ["span", t, /* @__PURE__ */ ae(u) ? "ShallowReactive" : "Reactive"],
1834
1834
  "<",
1835
1835
  l(u),
1836
- `>${/* @__PURE__ */ Re(u) ? " (readonly)" : ""}`
1836
+ `>${/* @__PURE__ */ Ae(u) ? " (readonly)" : ""}`
1837
1837
  ];
1838
- if (/* @__PURE__ */ Re(u))
1838
+ if (/* @__PURE__ */ Ae(u))
1839
1839
  return [
1840
1840
  "div",
1841
1841
  {},
1842
- ["span", t, /* @__PURE__ */ oe(u) ? "ShallowReadonly" : "Readonly"],
1842
+ ["span", t, /* @__PURE__ */ ae(u) ? "ShallowReadonly" : "Readonly"],
1843
1843
  "<",
1844
1844
  l(u),
1845
1845
  ">"
@@ -1861,11 +1861,11 @@ function Ha() {
1861
1861
  };
1862
1862
  function i(u) {
1863
1863
  const d = [];
1864
- u.type.props && u.props && d.push(o("props", /* @__PURE__ */ I(u.props))), u.setupState !== Ct && d.push(o("setup", u.setupState)), u.data !== Ct && d.push(o("data", /* @__PURE__ */ I(u.data)));
1864
+ u.type.props && u.props && d.push(o("props", /* @__PURE__ */ N(u.props))), u.setupState !== Dt && d.push(o("setup", u.setupState)), u.data !== Dt && d.push(o("data", /* @__PURE__ */ N(u.data)));
1865
1865
  const m = c(u, "computed");
1866
1866
  m && d.push(o("computed", m));
1867
- const b = c(u, "inject");
1868
- return b && d.push(o("injected", b)), d.push([
1867
+ const y = c(u, "inject");
1868
+ return y && d.push(o("injected", y)), d.push([
1869
1869
  "div",
1870
1870
  {},
1871
1871
  [
@@ -1879,7 +1879,7 @@ function Ha() {
1879
1879
  ]), d;
1880
1880
  }
1881
1881
  function o(u, d) {
1882
- return d = Ie({}, d), Object.keys(d).length ? [
1882
+ return d = Ne({}, d), Object.keys(d).length ? [
1883
1883
  "div",
1884
1884
  { style: "line-height:1.25em;margin-bottom:0.6em" },
1885
1885
  [
@@ -1904,24 +1904,24 @@ function Ha() {
1904
1904
  ] : ["span", {}];
1905
1905
  }
1906
1906
  function l(u, d = !0) {
1907
- return typeof u == "number" ? ["span", e, u] : typeof u == "string" ? ["span", n, JSON.stringify(u)] : typeof u == "boolean" ? ["span", r, u] : ie(u) ? ["object", { object: d ? /* @__PURE__ */ I(u) : u }] : ["span", n, String(u)];
1907
+ return typeof u == "number" ? ["span", e, u] : typeof u == "string" ? ["span", n, JSON.stringify(u)] : typeof u == "boolean" ? ["span", r, u] : oe(u) ? ["object", { object: d ? /* @__PURE__ */ N(u) : u }] : ["span", n, String(u)];
1908
1908
  }
1909
1909
  function c(u, d) {
1910
1910
  const m = u.type;
1911
- if (Z(m))
1911
+ if (Q(m))
1912
1912
  return;
1913
- const b = {};
1914
- for (const w in u.ctx)
1915
- p(m, w, d) && (b[w] = u.ctx[w]);
1916
- return b;
1913
+ const y = {};
1914
+ for (const O in u.ctx)
1915
+ p(m, O, d) && (y[O] = u.ctx[O]);
1916
+ return y;
1917
1917
  }
1918
1918
  function p(u, d, m) {
1919
- const b = u[m];
1920
- if (G(b) && b.includes(d) || ie(b) && d in b || u.extends && p(u.extends, d, m) || u.mixins && u.mixins.some((w) => p(w, d, m)))
1919
+ const y = u[m];
1920
+ if (K(y) && y.includes(d) || oe(y) && d in y || u.extends && p(u.extends, d, m) || u.mixins && u.mixins.some((O) => p(O, d, m)))
1921
1921
  return !0;
1922
1922
  }
1923
1923
  function h(u) {
1924
- return /* @__PURE__ */ oe(u) ? "ShallowRef" : u.effect ? "ComputedRef" : "Ref";
1924
+ return /* @__PURE__ */ ae(u) ? "ShallowRef" : u.effect ? "ComputedRef" : "Ref";
1925
1925
  }
1926
1926
  window.devtoolsFormatters ? window.devtoolsFormatters.push(s) : window.devtoolsFormatters = [s];
1927
1927
  }
@@ -1935,35 +1935,32 @@ process.env.NODE_ENV !== "production" && Ua();
1935
1935
  function Ba(t) {
1936
1936
  return t.map((e) => ({ value: e, label: `${e}` }));
1937
1937
  }
1938
- const bi = "*", xr = "#", ht = "$", kn = ".";
1939
- function j(...t) {
1940
- return t.join(kn);
1941
- }
1942
- function It(t) {
1943
- return t.split(kn).filter((e) => e !== "");
1938
+ const _i = "*", xr = "#", ut = "$", En = ".";
1939
+ function V(...t) {
1940
+ return t.join(En);
1944
1941
  }
1945
- function Wa(t) {
1946
- return t.startsWith(ht) && (t = j(...It(t).slice(1))), t;
1942
+ function lt(t) {
1943
+ return t.split(En).filter((e) => e !== "");
1947
1944
  }
1948
- function yi(t, e, n, r = "") {
1945
+ function bi(t, e, n, r = "") {
1949
1946
  if (t == null || typeof t != "object") return;
1950
1947
  const s = Array.isArray(t) ? t.map((i, o) => String(o)) : Object.keys(t);
1951
1948
  for (const i of s) {
1952
- const o = r ? j(r, i) : i;
1953
- e(o) ? t[i] = n(o) : yi(t[i], e, n, o);
1949
+ const o = r ? V(r, i) : i;
1950
+ e(o) ? t[i] = n(o) : bi(t[i], e, n, o);
1954
1951
  }
1955
1952
  }
1956
- function Ga(t) {
1957
- const e = le(t);
1953
+ function Wa(t) {
1954
+ const e = _e(t);
1958
1955
  return e ? e.type === "set" && e.elements.type === "string" && !e.elements.one_of : !1;
1959
1956
  }
1960
- function qa(t) {
1957
+ function Ga(t) {
1961
1958
  return "one_of" in t && Array.isArray(t.one_of);
1962
1959
  }
1963
1960
  function Tc(t) {
1964
1961
  return t.type === "set" && "elements" in t && "one_of" in t.elements;
1965
1962
  }
1966
- const Ka = /* @__PURE__ */ Symbol("free-form-field-renderer-slots"), Ya = "free-form-field-renderers-slot";
1963
+ const qa = /* @__PURE__ */ Symbol("free-form-field-renderer-slots"), Ka = "free-form-field-renderers-slot";
1967
1964
  function Sr() {
1968
1965
  return {
1969
1966
  async: !1,
@@ -1979,38 +1976,38 @@ function Sr() {
1979
1976
  };
1980
1977
  }
1981
1978
  let Xe = Sr();
1982
- function wi(t) {
1979
+ function yi(t) {
1983
1980
  Xe = t;
1984
1981
  }
1985
- const Ei = /[&<>"']/, Za = new RegExp(Ei.source, "g"), Ti = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, Xa = new RegExp(Ti.source, "g"), Qa = {
1982
+ const wi = /[&<>"']/, Ya = new RegExp(wi.source, "g"), Ei = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, Za = new RegExp(Ei.source, "g"), Xa = {
1986
1983
  "&": "&amp;",
1987
1984
  "<": "&lt;",
1988
1985
  ">": "&gt;",
1989
1986
  '"': "&quot;",
1990
1987
  "'": "&#39;"
1991
- }, hs = (t) => Qa[t];
1988
+ }, ps = (t) => Xa[t];
1992
1989
  function fe(t, e) {
1993
1990
  if (e) {
1994
- if (Ei.test(t))
1995
- return t.replace(Za, hs);
1996
- } else if (Ti.test(t))
1997
- return t.replace(Xa, hs);
1991
+ if (wi.test(t))
1992
+ return t.replace(Ya, ps);
1993
+ } else if (Ei.test(t))
1994
+ return t.replace(Za, ps);
1998
1995
  return t;
1999
1996
  }
2000
- const Ja = /(^|[^\[])\^/g;
2001
- function $(t, e) {
1997
+ const Qa = /(^|[^\[])\^/g;
1998
+ function z(t, e) {
2002
1999
  let n = typeof t == "string" ? t : t.source;
2003
2000
  e = e || "";
2004
2001
  const r = {
2005
2002
  replace: (s, i) => {
2006
2003
  let o = typeof i == "string" ? i : i.source;
2007
- return o = o.replace(Ja, "$1"), n = n.replace(s, o), r;
2004
+ return o = o.replace(Qa, "$1"), n = n.replace(s, o), r;
2008
2005
  },
2009
2006
  getRegex: () => new RegExp(n, e)
2010
2007
  };
2011
2008
  return r;
2012
2009
  }
2013
- function ds(t) {
2010
+ function hs(t) {
2014
2011
  try {
2015
2012
  t = encodeURI(t).replace(/%25/g, "%");
2016
2013
  } catch {
@@ -2018,8 +2015,8 @@ function ds(t) {
2018
2015
  }
2019
2016
  return t;
2020
2017
  }
2021
- const Dt = { exec: () => null };
2022
- function gs(t, e) {
2018
+ const It = { exec: () => null };
2019
+ function ds(t, e) {
2023
2020
  const n = t.replace(/\|/g, (i, o, l) => {
2024
2021
  let c = !1, p = o;
2025
2022
  for (; --p >= 0 && l[p] === "\\"; )
@@ -2046,7 +2043,7 @@ function xt(t, e, n) {
2046
2043
  s++;
2047
2044
  return t.slice(0, r - s);
2048
2045
  }
2049
- function el(t, e) {
2046
+ function Ja(t, e) {
2050
2047
  if (t.indexOf(e[1]) === -1)
2051
2048
  return -1;
2052
2049
  let n = 0;
@@ -2059,7 +2056,7 @@ function el(t, e) {
2059
2056
  return r;
2060
2057
  return -1;
2061
2058
  }
2062
- function ms(t, e, n, r) {
2059
+ function gs(t, e, n, r) {
2063
2060
  const s = e.href, i = e.title ? fe(e.title) : null, o = t[1].replace(/\\([\[\]])/g, "$1");
2064
2061
  if (t[0].charAt(0) !== "!") {
2065
2062
  r.state.inLink = !0;
@@ -2081,7 +2078,7 @@ function ms(t, e, n, r) {
2081
2078
  text: fe(o)
2082
2079
  };
2083
2080
  }
2084
- function tl(t, e) {
2081
+ function el(t, e) {
2085
2082
  const n = t.match(/^(\s+)(?:```)/);
2086
2083
  if (n === null)
2087
2084
  return e;
@@ -2096,7 +2093,7 @@ function tl(t, e) {
2096
2093
  }).join(`
2097
2094
  `);
2098
2095
  }
2099
- class gn {
2096
+ class hn {
2100
2097
  options;
2101
2098
  rules;
2102
2099
  // set by the lexer
@@ -2129,7 +2126,7 @@ class gn {
2129
2126
  fences(e) {
2130
2127
  const n = this.rules.block.fences.exec(e);
2131
2128
  if (n) {
2132
- const r = n[0], s = tl(r, n[3] || "");
2129
+ const r = n[0], s = el(r, n[3] || "");
2133
2130
  return {
2134
2131
  type: "code",
2135
2132
  raw: r,
@@ -2196,16 +2193,16 @@ ${u}` : u;
2196
2193
  if (m?.type === "code")
2197
2194
  break;
2198
2195
  if (m?.type === "blockquote") {
2199
- const b = m, w = b.raw + `
2196
+ const y = m, O = y.raw + `
2200
2197
  ` + r.join(`
2201
- `), k = this.blockquote(w);
2202
- o[o.length - 1] = k, s = s.substring(0, s.length - b.raw.length) + k.raw, i = i.substring(0, i.length - b.text.length) + k.text;
2198
+ `), $ = this.blockquote(O);
2199
+ o[o.length - 1] = $, s = s.substring(0, s.length - y.raw.length) + $.raw, i = i.substring(0, i.length - y.text.length) + $.text;
2203
2200
  break;
2204
2201
  } else if (m?.type === "list") {
2205
- const b = m, w = b.raw + `
2202
+ const y = m, O = y.raw + `
2206
2203
  ` + r.join(`
2207
- `), k = this.list(w);
2208
- o[o.length - 1] = k, s = s.substring(0, s.length - m.raw.length) + k.raw, i = i.substring(0, i.length - b.raw.length) + k.raw, r = w.substring(o[o.length - 1].raw.length).split(`
2204
+ `), $ = this.list(O);
2205
+ o[o.length - 1] = $, s = s.substring(0, s.length - m.raw.length) + $.raw, i = i.substring(0, i.length - y.raw.length) + $.raw, r = O.substring(o[o.length - 1].raw.length).split(`
2209
2206
  `);
2210
2207
  continue;
2211
2208
  }
@@ -2239,37 +2236,37 @@ ${u}` : u;
2239
2236
  break;
2240
2237
  p = n[0], e = e.substring(p.length);
2241
2238
  let u = n[2].split(`
2242
- `, 1)[0].replace(/^\t+/, (v) => " ".repeat(3 * v.length)), d = e.split(`
2243
- `, 1)[0], m = !u.trim(), b = 0;
2244
- if (this.options.pedantic ? (b = 2, h = u.trimStart()) : m ? b = n[1].length + 1 : (b = n[2].search(/[^ ]/), b = b > 4 ? 1 : b, h = u.slice(b), b += n[1].length), m && /^[ \t]*$/.test(d) && (p += d + `
2239
+ `, 1)[0].replace(/^\t+/, (w) => " ".repeat(3 * w.length)), d = e.split(`
2240
+ `, 1)[0], m = !u.trim(), y = 0;
2241
+ if (this.options.pedantic ? (y = 2, h = u.trimStart()) : m ? y = n[1].length + 1 : (y = n[2].search(/[^ ]/), y = y > 4 ? 1 : y, h = u.slice(y), y += n[1].length), m && /^[ \t]*$/.test(d) && (p += d + `
2245
2242
  `, e = e.substring(d.length + 1), c = !0), !c) {
2246
- const v = new RegExp(`^ {0,${Math.min(3, b - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), O = new RegExp(`^ {0,${Math.min(3, b - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), S = new RegExp(`^ {0,${Math.min(3, b - 1)}}(?:\`\`\`|~~~)`), y = new RegExp(`^ {0,${Math.min(3, b - 1)}}#`), T = new RegExp(`^ {0,${Math.min(3, b - 1)}}<(?:[a-z].*>|!--)`, "i");
2243
+ const w = new RegExp(`^ {0,${Math.min(3, y - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), S = new RegExp(`^ {0,${Math.min(3, y - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), A = new RegExp(`^ {0,${Math.min(3, y - 1)}}(?:\`\`\`|~~~)`), _ = new RegExp(`^ {0,${Math.min(3, y - 1)}}#`), E = new RegExp(`^ {0,${Math.min(3, y - 1)}}<(?:[a-z].*>|!--)`, "i");
2247
2244
  for (; e; ) {
2248
- const x = e.split(`
2245
+ const k = e.split(`
2249
2246
  `, 1)[0];
2250
- let A;
2251
- if (d = x, this.options.pedantic ? (d = d.replace(/^ {1,4}(?=( {4})*[^ ])/g, " "), A = d) : A = d.replace(/\t/g, " "), S.test(d) || y.test(d) || T.test(d) || v.test(d) || O.test(d))
2247
+ let x;
2248
+ if (d = k, this.options.pedantic ? (d = d.replace(/^ {1,4}(?=( {4})*[^ ])/g, " "), x = d) : x = d.replace(/\t/g, " "), A.test(d) || _.test(d) || E.test(d) || w.test(d) || S.test(d))
2252
2249
  break;
2253
- if (A.search(/[^ ]/) >= b || !d.trim())
2250
+ if (x.search(/[^ ]/) >= y || !d.trim())
2254
2251
  h += `
2255
- ` + A.slice(b);
2252
+ ` + x.slice(y);
2256
2253
  else {
2257
- if (m || u.replace(/\t/g, " ").search(/[^ ]/) >= 4 || S.test(u) || y.test(u) || O.test(u))
2254
+ if (m || u.replace(/\t/g, " ").search(/[^ ]/) >= 4 || A.test(u) || _.test(u) || S.test(u))
2258
2255
  break;
2259
2256
  h += `
2260
2257
  ` + d;
2261
2258
  }
2262
- !m && !d.trim() && (m = !0), p += x + `
2263
- `, e = e.substring(x.length + 1), u = A.slice(b);
2259
+ !m && !d.trim() && (m = !0), p += k + `
2260
+ `, e = e.substring(k.length + 1), u = x.slice(y);
2264
2261
  }
2265
2262
  }
2266
2263
  i.loose || (l ? i.loose = !0 : /\n[ \t]*\n[ \t]*$/.test(p) && (l = !0));
2267
- let w = null, k;
2268
- this.options.gfm && (w = /^\[[ xX]\] /.exec(h), w && (k = w[0] !== "[ ] ", h = h.replace(/^\[[ xX]\] +/, ""))), i.items.push({
2264
+ let O = null, $;
2265
+ this.options.gfm && (O = /^\[[ xX]\] /.exec(h), O && ($ = O[0] !== "[ ] ", h = h.replace(/^\[[ xX]\] +/, ""))), i.items.push({
2269
2266
  type: "list_item",
2270
2267
  raw: p,
2271
- task: !!w,
2272
- checked: k,
2268
+ task: !!O,
2269
+ checked: $,
2273
2270
  loose: !1,
2274
2271
  text: h,
2275
2272
  tokens: []
@@ -2315,7 +2312,7 @@ ${u}` : u;
2315
2312
  const n = this.rules.block.table.exec(e);
2316
2313
  if (!n || !/[:|]/.test(n[2]))
2317
2314
  return;
2318
- const r = gs(n[1]), s = n[2].replace(/^\||\| *$/g, "").split("|"), i = n[3] && n[3].trim() ? n[3].replace(/\n[ \t]*$/, "").split(`
2315
+ const r = ds(n[1]), s = n[2].replace(/^\||\| *$/g, "").split("|"), i = n[3] && n[3].trim() ? n[3].replace(/\n[ \t]*$/, "").split(`
2319
2316
  `) : [], o = {
2320
2317
  type: "table",
2321
2318
  raw: n[0],
@@ -2334,7 +2331,7 @@ ${u}` : u;
2334
2331
  align: o.align[l]
2335
2332
  });
2336
2333
  for (const l of i)
2337
- o.rows.push(gs(l, o.header.length).map((c, p) => ({
2334
+ o.rows.push(ds(l, o.header.length).map((c, p) => ({
2338
2335
  text: c,
2339
2336
  tokens: this.lexer.inline(c),
2340
2337
  header: !1,
@@ -2409,7 +2406,7 @@ ${u}` : u;
2409
2406
  if ((r.length - o.length) % 2 === 0)
2410
2407
  return;
2411
2408
  } else {
2412
- const o = el(n[2], "()");
2409
+ const o = Ja(n[2], "()");
2413
2410
  if (o > -1) {
2414
2411
  const c = (n[0].indexOf("!") === 0 ? 5 : 4) + n[1].length + o;
2415
2412
  n[2] = n[2].substring(0, o), n[0] = n[0].substring(0, c).trim(), n[3] = "";
@@ -2421,7 +2418,7 @@ ${u}` : u;
2421
2418
  o && (s = o[1], i = o[3]);
2422
2419
  } else
2423
2420
  i = n[3] ? n[3].slice(1, -1) : "";
2424
- return s = s.trim(), /^</.test(s) && (this.options.pedantic && !/>$/.test(r) ? s = s.slice(1) : s = s.slice(1, -1)), ms(n, {
2421
+ return s = s.trim(), /^</.test(s) && (this.options.pedantic && !/>$/.test(r) ? s = s.slice(1) : s = s.slice(1, -1)), gs(n, {
2425
2422
  href: s && s.replace(this.rules.inline.anyPunctuation, "$1"),
2426
2423
  title: i && i.replace(this.rules.inline.anyPunctuation, "$1")
2427
2424
  }, n[0], this.lexer);
@@ -2439,7 +2436,7 @@ ${u}` : u;
2439
2436
  text: o
2440
2437
  };
2441
2438
  }
2442
- return ms(r, i, r[0], this.lexer);
2439
+ return gs(r, i, r[0], this.lexer);
2443
2440
  }
2444
2441
  }
2445
2442
  emStrong(e, n, r = "") {
@@ -2465,20 +2462,20 @@ ${u}` : u;
2465
2462
  c = Math.min(c, c + p + h);
2466
2463
  const d = [...s[0]][0].length, m = e.slice(0, o + s.index + d + c);
2467
2464
  if (Math.min(o, c) % 2) {
2468
- const w = m.slice(1, -1);
2465
+ const O = m.slice(1, -1);
2469
2466
  return {
2470
2467
  type: "em",
2471
2468
  raw: m,
2472
- text: w,
2473
- tokens: this.lexer.inlineTokens(w)
2469
+ text: O,
2470
+ tokens: this.lexer.inlineTokens(O)
2474
2471
  };
2475
2472
  }
2476
- const b = m.slice(2, -2);
2473
+ const y = m.slice(2, -2);
2477
2474
  return {
2478
2475
  type: "strong",
2479
2476
  raw: m,
2480
- text: b,
2481
- tokens: this.lexer.inlineTokens(b)
2477
+ text: y,
2478
+ tokens: this.lexer.inlineTokens(y)
2482
2479
  };
2483
2480
  }
2484
2481
  }
@@ -2572,104 +2569,104 @@ ${u}` : u;
2572
2569
  }
2573
2570
  }
2574
2571
  }
2575
- const nl = /^(?:[ \t]*(?:\n|$))+/, rl = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, sl = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Vt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, il = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, ki = /(?:[*+-]|\d{1,9}[.)])/, xi = $(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, ki).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), vr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ol = /^[^\n]+/, Ar = /(?!\s*\])(?:\\.|[^\[\]\\])+/, al = $(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ar).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), ll = $(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, ki).getRegex(), xn = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Rr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, cl = $("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Rr).replace("tag", xn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Si = $(vr).replace("hr", Vt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", xn).getRegex(), ul = $(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Si).getRegex(), Or = {
2576
- blockquote: ul,
2577
- code: rl,
2578
- def: al,
2579
- fences: sl,
2580
- heading: il,
2581
- hr: Vt,
2582
- html: cl,
2583
- lheading: xi,
2584
- list: ll,
2585
- newline: nl,
2586
- paragraph: Si,
2587
- table: Dt,
2588
- text: ol
2589
- }, _s = $("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Vt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", xn).getRegex(), fl = {
2572
+ const tl = /^(?:[ \t]*(?:\n|$))+/, nl = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, rl = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ft = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, sl = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ti = /(?:[*+-]|\d{1,9}[.)])/, ki = z(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Ti).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).getRegex(), vr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, il = /^[^\n]+/, Ar = /(?!\s*\])(?:\\.|[^\[\]\\])+/, ol = z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ar).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), al = z(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ti).getRegex(), Tn = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Rr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ll = z("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Rr).replace("tag", Tn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), xi = z(vr).replace("hr", Ft).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Tn).getRegex(), cl = z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", xi).getRegex(), Or = {
2573
+ blockquote: cl,
2574
+ code: nl,
2575
+ def: ol,
2576
+ fences: rl,
2577
+ heading: sl,
2578
+ hr: Ft,
2579
+ html: ll,
2580
+ lheading: ki,
2581
+ list: al,
2582
+ newline: tl,
2583
+ paragraph: xi,
2584
+ table: It,
2585
+ text: il
2586
+ }, ms = z("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ft).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Tn).getRegex(), ul = {
2590
2587
  ...Or,
2591
- table: _s,
2592
- paragraph: $(vr).replace("hr", Vt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", _s).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", xn).getRegex()
2593
- }, pl = {
2588
+ table: ms,
2589
+ paragraph: z(vr).replace("hr", Ft).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ms).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Tn).getRegex()
2590
+ }, fl = {
2594
2591
  ...Or,
2595
- html: $(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Rr).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
2592
+ html: z(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", Rr).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
2596
2593
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
2597
2594
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
2598
- fences: Dt,
2595
+ fences: It,
2599
2596
  // fences not supported
2600
2597
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
2601
- paragraph: $(vr).replace("hr", Vt).replace("heading", ` *#{1,6} *[^
2602
- ]`).replace("lheading", xi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
2603
- }, vi = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, hl = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ai = /^( {2,}|\\)\n(?!\s*$)/, dl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Ht = "\\p{P}\\p{S}", gl = $(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Ht).getRegex(), ml = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, _l = $(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Ht).getRegex(), bl = $("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Ht).getRegex(), yl = $("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Ht).getRegex(), wl = $(/\\([punct])/, "gu").replace(/punct/g, Ht).getRegex(), El = $(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Tl = $(Rr).replace("(?:-->|$)", "-->").getRegex(), kl = $("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Tl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), mn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, xl = $(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", mn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ri = $(/^!?\[(label)\]\[(ref)\]/).replace("label", mn).replace("ref", Ar).getRegex(), Oi = $(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ar).getRegex(), Sl = $("reflink|nolink(?!\\()", "g").replace("reflink", Ri).replace("nolink", Oi).getRegex(), Nr = {
2604
- _backpedal: Dt,
2598
+ paragraph: z(vr).replace("hr", Ft).replace("heading", ` *#{1,6} *[^
2599
+ ]`).replace("lheading", ki).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
2600
+ }, Si = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, pl = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, vi = /^( {2,}|\\)\n(?!\s*$)/, hl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Vt = "\\p{P}\\p{S}", dl = z(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Vt).getRegex(), gl = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, ml = z(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Vt).getRegex(), _l = z("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Vt).getRegex(), bl = z("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Vt).getRegex(), yl = z(/\\([punct])/, "gu").replace(/punct/g, Vt).getRegex(), wl = z(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), El = z(Rr).replace("(?:-->|$)", "-->").getRegex(), Tl = z("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", El).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), dn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, kl = z(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", dn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ai = z(/^!?\[(label)\]\[(ref)\]/).replace("label", dn).replace("ref", Ar).getRegex(), Ri = z(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ar).getRegex(), xl = z("reflink|nolink(?!\\()", "g").replace("reflink", Ai).replace("nolink", Ri).getRegex(), Nr = {
2601
+ _backpedal: It,
2605
2602
  // only used for GFM url
2606
- anyPunctuation: wl,
2607
- autolink: El,
2608
- blockSkip: ml,
2609
- br: Ai,
2610
- code: hl,
2611
- del: Dt,
2612
- emStrongLDelim: _l,
2613
- emStrongRDelimAst: bl,
2614
- emStrongRDelimUnd: yl,
2615
- escape: vi,
2616
- link: xl,
2617
- nolink: Oi,
2618
- punctuation: gl,
2619
- reflink: Ri,
2620
- reflinkSearch: Sl,
2621
- tag: kl,
2622
- text: dl,
2623
- url: Dt
2624
- }, vl = {
2603
+ anyPunctuation: yl,
2604
+ autolink: wl,
2605
+ blockSkip: gl,
2606
+ br: vi,
2607
+ code: pl,
2608
+ del: It,
2609
+ emStrongLDelim: ml,
2610
+ emStrongRDelimAst: _l,
2611
+ emStrongRDelimUnd: bl,
2612
+ escape: Si,
2613
+ link: kl,
2614
+ nolink: Ri,
2615
+ punctuation: dl,
2616
+ reflink: Ai,
2617
+ reflinkSearch: xl,
2618
+ tag: Tl,
2619
+ text: hl,
2620
+ url: It
2621
+ }, Sl = {
2625
2622
  ...Nr,
2626
- link: $(/^!?\[(label)\]\((.*?)\)/).replace("label", mn).getRegex(),
2627
- reflink: $(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", mn).getRegex()
2623
+ link: z(/^!?\[(label)\]\((.*?)\)/).replace("label", dn).getRegex(),
2624
+ reflink: z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", dn).getRegex()
2628
2625
  }, ur = {
2629
2626
  ...Nr,
2630
- escape: $(vi).replace("])", "~|])").getRegex(),
2631
- url: $(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
2627
+ escape: z(Si).replace("])", "~|])").getRegex(),
2628
+ url: z(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
2632
2629
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
2633
2630
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
2634
2631
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
2635
- }, Al = {
2632
+ }, vl = {
2636
2633
  ...ur,
2637
- br: $(Ai).replace("{2,}", "*").getRegex(),
2638
- text: $(ur.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
2639
- }, nn = {
2634
+ br: z(vi).replace("{2,}", "*").getRegex(),
2635
+ text: z(ur.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
2636
+ }, tn = {
2640
2637
  normal: Or,
2641
- gfm: fl,
2642
- pedantic: pl
2638
+ gfm: ul,
2639
+ pedantic: fl
2643
2640
  }, St = {
2644
2641
  normal: Nr,
2645
2642
  gfm: ur,
2646
- breaks: Al,
2647
- pedantic: vl
2643
+ breaks: vl,
2644
+ pedantic: Sl
2648
2645
  };
2649
- class de {
2646
+ class he {
2650
2647
  tokens;
2651
2648
  options;
2652
2649
  state;
2653
2650
  tokenizer;
2654
2651
  inlineQueue;
2655
2652
  constructor(e) {
2656
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Xe, this.options.tokenizer = this.options.tokenizer || new gn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
2653
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Xe, this.options.tokenizer = this.options.tokenizer || new hn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
2657
2654
  inLink: !1,
2658
2655
  inRawBlock: !1,
2659
2656
  top: !0
2660
2657
  };
2661
2658
  const n = {
2662
- block: nn.normal,
2659
+ block: tn.normal,
2663
2660
  inline: St.normal
2664
2661
  };
2665
- this.options.pedantic ? (n.block = nn.pedantic, n.inline = St.pedantic) : this.options.gfm && (n.block = nn.gfm, this.options.breaks ? n.inline = St.breaks : n.inline = St.gfm), this.tokenizer.rules = n;
2662
+ this.options.pedantic ? (n.block = tn.pedantic, n.inline = St.pedantic) : this.options.gfm && (n.block = tn.gfm, this.options.breaks ? n.inline = St.breaks : n.inline = St.gfm), this.tokenizer.rules = n;
2666
2663
  }
2667
2664
  /**
2668
2665
  * Expose Rules
2669
2666
  */
2670
2667
  static get rules() {
2671
2668
  return {
2672
- block: nn,
2669
+ block: tn,
2673
2670
  inline: St
2674
2671
  };
2675
2672
  }
@@ -2677,13 +2674,13 @@ class de {
2677
2674
  * Static Lex Method
2678
2675
  */
2679
2676
  static lex(e, n) {
2680
- return new de(n).lex(e);
2677
+ return new he(n).lex(e);
2681
2678
  }
2682
2679
  /**
2683
2680
  * Static Lex Inline Method
2684
2681
  */
2685
2682
  static lexInline(e, n) {
2686
- return new de(n).inlineTokens(e);
2683
+ return new he(n).inlineTokens(e);
2687
2684
  }
2688
2685
  /**
2689
2686
  * Preprocessing
@@ -2869,7 +2866,7 @@ class de {
2869
2866
  return n;
2870
2867
  }
2871
2868
  }
2872
- class _n {
2869
+ class gn {
2873
2870
  options;
2874
2871
  parser;
2875
2872
  // set by the parser
@@ -2982,7 +2979,7 @@ ${e}</tr>
2982
2979
  return `<del>${this.parser.parseInline(e)}</del>`;
2983
2980
  }
2984
2981
  link({ href: e, title: n, tokens: r }) {
2985
- const s = this.parser.parseInline(r), i = ds(e);
2982
+ const s = this.parser.parseInline(r), i = hs(e);
2986
2983
  if (i === null)
2987
2984
  return s;
2988
2985
  e = i;
@@ -2990,7 +2987,7 @@ ${e}</tr>
2990
2987
  return n && (o += ' title="' + n + '"'), o += ">" + s + "</a>", o;
2991
2988
  }
2992
2989
  image({ href: e, title: n, text: r }) {
2993
- const s = ds(e);
2990
+ const s = hs(e);
2994
2991
  if (s === null)
2995
2992
  return r;
2996
2993
  e = s;
@@ -3031,24 +3028,24 @@ class Ir {
3031
3028
  return "";
3032
3029
  }
3033
3030
  }
3034
- class ge {
3031
+ class de {
3035
3032
  options;
3036
3033
  renderer;
3037
3034
  textRenderer;
3038
3035
  constructor(e) {
3039
- this.options = e || Xe, this.options.renderer = this.options.renderer || new _n(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ir();
3036
+ this.options = e || Xe, this.options.renderer = this.options.renderer || new gn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ir();
3040
3037
  }
3041
3038
  /**
3042
3039
  * Static Parse Method
3043
3040
  */
3044
3041
  static parse(e, n) {
3045
- return new ge(n).parse(e);
3042
+ return new de(n).parse(e);
3046
3043
  }
3047
3044
  /**
3048
3045
  * Static Parse Inline Method
3049
3046
  */
3050
3047
  static parseInline(e, n) {
3051
- return new ge(n).parseInline(e);
3048
+ return new de(n).parseInline(e);
3052
3049
  }
3053
3050
  /**
3054
3051
  * Parse Loop
@@ -3226,25 +3223,25 @@ class an {
3226
3223
  * Provide function to tokenize markdown
3227
3224
  */
3228
3225
  provideLexer() {
3229
- return this.block ? de.lex : de.lexInline;
3226
+ return this.block ? he.lex : he.lexInline;
3230
3227
  }
3231
3228
  /**
3232
3229
  * Provide function to parse tokens
3233
3230
  */
3234
3231
  provideParser() {
3235
- return this.block ? ge.parse : ge.parseInline;
3232
+ return this.block ? de.parse : de.parseInline;
3236
3233
  }
3237
3234
  }
3238
- class Rl {
3235
+ class Al {
3239
3236
  defaults = Sr();
3240
3237
  options = this.setOptions;
3241
3238
  parse = this.parseMarkdown(!0);
3242
3239
  parseInline = this.parseMarkdown(!1);
3243
- Parser = ge;
3244
- Renderer = _n;
3240
+ Parser = de;
3241
+ Renderer = gn;
3245
3242
  TextRenderer = Ir;
3246
- Lexer = de;
3247
- Tokenizer = gn;
3243
+ Lexer = he;
3244
+ Tokenizer = hn;
3248
3245
  Hooks = an;
3249
3246
  constructor(...e) {
3250
3247
  this.use(...e);
@@ -3302,7 +3299,7 @@ class Rl {
3302
3299
  }
3303
3300
  "childTokens" in i && i.childTokens && (n.childTokens[i.name] = i.childTokens);
3304
3301
  }), s.extensions = n), r.renderer) {
3305
- const i = this.defaults.renderer || new _n(this.defaults);
3302
+ const i = this.defaults.renderer || new gn(this.defaults);
3306
3303
  for (const o in r.renderer) {
3307
3304
  if (!(o in i))
3308
3305
  throw new Error(`renderer '${o}' does not exist`);
@@ -3317,7 +3314,7 @@ class Rl {
3317
3314
  s.renderer = i;
3318
3315
  }
3319
3316
  if (r.tokenizer) {
3320
- const i = this.defaults.tokenizer || new gn(this.defaults);
3317
+ const i = this.defaults.tokenizer || new hn(this.defaults);
3321
3318
  for (const o in r.tokenizer) {
3322
3319
  if (!(o in i))
3323
3320
  throw new Error(`tokenizer '${o}' does not exist`);
@@ -3365,10 +3362,10 @@ class Rl {
3365
3362
  return this.defaults = { ...this.defaults, ...e }, this;
3366
3363
  }
3367
3364
  lexer(e, n) {
3368
- return de.lex(e, n ?? this.defaults);
3365
+ return he.lex(e, n ?? this.defaults);
3369
3366
  }
3370
3367
  parser(e, n) {
3371
- return ge.parse(e, n ?? this.defaults);
3368
+ return de.parse(e, n ?? this.defaults);
3372
3369
  }
3373
3370
  parseMarkdown(e) {
3374
3371
  return (r, s) => {
@@ -3380,7 +3377,7 @@ class Rl {
3380
3377
  if (typeof r != "string")
3381
3378
  return l(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(r) + ", string expected"));
3382
3379
  o.hooks && (o.hooks.options = o, o.hooks.block = e);
3383
- const c = o.hooks ? o.hooks.provideLexer() : e ? de.lex : de.lexInline, p = o.hooks ? o.hooks.provideParser() : e ? ge.parse : ge.parseInline;
3380
+ const c = o.hooks ? o.hooks.provideLexer() : e ? he.lex : he.lexInline, p = o.hooks ? o.hooks.provideParser() : e ? de.parse : de.parseInline;
3384
3381
  if (o.async)
3385
3382
  return Promise.resolve(o.hooks ? o.hooks.preprocess(r) : r).then((h) => c(h, o)).then((h) => o.hooks ? o.hooks.processAllTokens(h) : h).then((h) => o.walkTokens ? Promise.all(this.walkTokens(h, o.walkTokens)).then(() => h) : h).then((h) => p(h, o)).then((h) => o.hooks ? o.hooks.postprocess(h) : h).catch(l);
3386
3383
  try {
@@ -3407,47 +3404,47 @@ Please report this to https://github.com/markedjs/marked.`, e) {
3407
3404
  };
3408
3405
  }
3409
3406
  }
3410
- const Ze = new Rl();
3411
- function P(t, e) {
3407
+ const Ze = new Al();
3408
+ function L(t, e) {
3412
3409
  return Ze.parse(t, e);
3413
3410
  }
3414
- P.options = P.setOptions = function(t) {
3415
- return Ze.setOptions(t), P.defaults = Ze.defaults, wi(P.defaults), P;
3411
+ L.options = L.setOptions = function(t) {
3412
+ return Ze.setOptions(t), L.defaults = Ze.defaults, yi(L.defaults), L;
3416
3413
  };
3417
- P.getDefaults = Sr;
3418
- P.defaults = Xe;
3419
- P.use = function(...t) {
3420
- return Ze.use(...t), P.defaults = Ze.defaults, wi(P.defaults), P;
3414
+ L.getDefaults = Sr;
3415
+ L.defaults = Xe;
3416
+ L.use = function(...t) {
3417
+ return Ze.use(...t), L.defaults = Ze.defaults, yi(L.defaults), L;
3421
3418
  };
3422
- P.walkTokens = function(t, e) {
3419
+ L.walkTokens = function(t, e) {
3423
3420
  return Ze.walkTokens(t, e);
3424
3421
  };
3425
- P.parseInline = Ze.parseInline;
3426
- P.Parser = ge;
3427
- P.parser = ge.parse;
3428
- P.Renderer = _n;
3429
- P.TextRenderer = Ir;
3430
- P.Lexer = de;
3431
- P.lexer = de.lex;
3432
- P.Tokenizer = gn;
3433
- P.Hooks = an;
3434
- P.parse = P;
3435
- P.options;
3436
- P.setOptions;
3437
- P.use;
3438
- P.walkTokens;
3439
- P.parseInline;
3440
- ge.parse;
3441
- de.lex;
3442
- function bs(t, e) {
3422
+ L.parseInline = Ze.parseInline;
3423
+ L.Parser = de;
3424
+ L.parser = de.parse;
3425
+ L.Renderer = gn;
3426
+ L.TextRenderer = Ir;
3427
+ L.Lexer = he;
3428
+ L.lexer = he.lex;
3429
+ L.Tokenizer = hn;
3430
+ L.Hooks = an;
3431
+ L.parse = L;
3432
+ L.options;
3433
+ L.setOptions;
3434
+ L.use;
3435
+ L.walkTokens;
3436
+ L.parseInline;
3437
+ de.parse;
3438
+ he.lex;
3439
+ function _s(t, e) {
3443
3440
  (e == null || e > t.length) && (e = t.length);
3444
3441
  for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
3445
3442
  return r;
3446
3443
  }
3447
- function Ol(t) {
3444
+ function Rl(t) {
3448
3445
  if (Array.isArray(t)) return t;
3449
3446
  }
3450
- function Nl(t, e) {
3447
+ function Ol(t, e) {
3451
3448
  var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
3452
3449
  if (n != null) {
3453
3450
  var r, s, i, o, l = [], c = !0, p = !1;
@@ -3465,26 +3462,26 @@ function Nl(t, e) {
3465
3462
  return l;
3466
3463
  }
3467
3464
  }
3468
- function Il() {
3465
+ function Nl() {
3469
3466
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3470
3467
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3471
3468
  }
3472
- function Dl(t, e) {
3473
- return Ol(t) || Nl(t, e) || Cl(t, e) || Il();
3469
+ function Il(t, e) {
3470
+ return Rl(t) || Ol(t, e) || Dl(t, e) || Nl();
3474
3471
  }
3475
- function Cl(t, e) {
3472
+ function Dl(t, e) {
3476
3473
  if (t) {
3477
- if (typeof t == "string") return bs(t, e);
3474
+ if (typeof t == "string") return _s(t, e);
3478
3475
  var n = {}.toString.call(t).slice(8, -1);
3479
- return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? bs(t, e) : void 0;
3476
+ return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _s(t, e) : void 0;
3480
3477
  }
3481
3478
  }
3482
- const Ni = Object.entries, ys = Object.setPrototypeOf, Ml = Object.isFrozen, Pl = Object.getPrototypeOf, $l = Object.getOwnPropertyDescriptor;
3483
- let Q = Object.freeze, ee = Object.seal, lt = Object.create, Ii = typeof Reflect < "u" && Reflect, fr = Ii.apply, pr = Ii.construct;
3484
- Q || (Q = function(e) {
3479
+ const Oi = Object.entries, bs = Object.setPrototypeOf, Cl = Object.isFrozen, Ml = Object.getPrototypeOf, $l = Object.getOwnPropertyDescriptor;
3480
+ let ee = Object.freeze, ne = Object.seal, ct = Object.create, Ni = typeof Reflect < "u" && Reflect, fr = Ni.apply, pr = Ni.construct;
3481
+ ee || (ee = function(e) {
3485
3482
  return e;
3486
3483
  });
3487
- ee || (ee = function(e) {
3484
+ ne || (ne = function(e) {
3488
3485
  return e;
3489
3486
  });
3490
3487
  fr || (fr = function(e, n) {
@@ -3497,8 +3494,8 @@ pr || (pr = function(e) {
3497
3494
  r[s - 1] = arguments[s];
3498
3495
  return new e(...r);
3499
3496
  });
3500
- const st = q(Array.prototype.forEach), Ll = q(Array.prototype.lastIndexOf), ws = q(Array.prototype.pop), it = q(Array.prototype.push), zl = q(Array.prototype.splice), He = Array.isArray, Rt = q(String.prototype.toLowerCase), Xn = q(String.prototype.toString), Es = q(String.prototype.match), vt = q(String.prototype.replace), Ts = q(String.prototype.indexOf), jl = q(String.prototype.trim), Fl = q(Number.prototype.toString), Vl = q(Boolean.prototype.toString), ks = typeof BigInt > "u" ? null : q(BigInt.prototype.toString), xs = typeof Symbol > "u" ? null : q(Symbol.prototype.toString), Y = q(Object.prototype.hasOwnProperty), At = q(Object.prototype.toString), K = q(RegExp.prototype.test), We = Hl(TypeError);
3501
- function q(t) {
3497
+ const st = Y(Array.prototype.forEach), Pl = Y(Array.prototype.lastIndexOf), ys = Y(Array.prototype.pop), it = Y(Array.prototype.push), Ll = Y(Array.prototype.splice), He = Array.isArray, Rt = Y(String.prototype.toLowerCase), Zn = Y(String.prototype.toString), ws = Y(String.prototype.match), vt = Y(String.prototype.replace), Es = Y(String.prototype.indexOf), zl = Y(String.prototype.trim), jl = Y(Number.prototype.toString), Fl = Y(Boolean.prototype.toString), Ts = typeof BigInt > "u" ? null : Y(BigInt.prototype.toString), ks = typeof Symbol > "u" ? null : Y(Symbol.prototype.toString), X = Y(Object.prototype.hasOwnProperty), At = Y(Object.prototype.toString), Z = Y(RegExp.prototype.test), We = Vl(TypeError);
3498
+ function Y(t) {
3502
3499
  return function(e) {
3503
3500
  e instanceof RegExp && (e.lastIndex = 0);
3504
3501
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), s = 1; s < n; s++)
@@ -3506,61 +3503,61 @@ function q(t) {
3506
3503
  return fr(t, e, r);
3507
3504
  };
3508
3505
  }
3509
- function Hl(t) {
3506
+ function Vl(t) {
3510
3507
  return function() {
3511
3508
  for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++)
3512
3509
  n[r] = arguments[r];
3513
3510
  return pr(t, n);
3514
3511
  };
3515
3512
  }
3516
- function C(t, e) {
3513
+ function D(t, e) {
3517
3514
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Rt;
3518
- if (ys && ys(t, null), !He(e))
3515
+ if (bs && bs(t, null), !He(e))
3519
3516
  return t;
3520
3517
  let r = e.length;
3521
3518
  for (; r--; ) {
3522
3519
  let s = e[r];
3523
3520
  if (typeof s == "string") {
3524
3521
  const i = n(s);
3525
- i !== s && (Ml(e) || (e[r] = i), s = i);
3522
+ i !== s && (Cl(e) || (e[r] = i), s = i);
3526
3523
  }
3527
3524
  t[s] = !0;
3528
3525
  }
3529
3526
  return t;
3530
3527
  }
3531
- function Ul(t) {
3528
+ function Hl(t) {
3532
3529
  for (let e = 0; e < t.length; e++)
3533
- Y(t, e) || (t[e] = null);
3530
+ X(t, e) || (t[e] = null);
3534
3531
  return t;
3535
3532
  }
3536
- function se(t) {
3537
- const e = lt(null);
3538
- for (const r of Ni(t)) {
3539
- var n = Dl(r, 2);
3533
+ function ie(t) {
3534
+ const e = ct(null);
3535
+ for (const r of Oi(t)) {
3536
+ var n = Il(r, 2);
3540
3537
  const s = n[0], i = n[1];
3541
- Y(t, s) && (He(i) ? e[s] = Ul(i) : i && typeof i == "object" && i.constructor === Object ? e[s] = se(i) : e[s] = i);
3538
+ X(t, s) && (He(i) ? e[s] = Hl(i) : i && typeof i == "object" && i.constructor === Object ? e[s] = ie(i) : e[s] = i);
3542
3539
  }
3543
3540
  return e;
3544
3541
  }
3545
- function Bl(t) {
3542
+ function Ul(t) {
3546
3543
  switch (typeof t) {
3547
3544
  case "string":
3548
3545
  return t;
3549
3546
  case "number":
3550
- return Fl(t);
3547
+ return jl(t);
3551
3548
  case "boolean":
3552
- return Vl(t);
3549
+ return Fl(t);
3553
3550
  case "bigint":
3554
- return ks ? ks(t) : "0";
3551
+ return Ts ? Ts(t) : "0";
3555
3552
  case "symbol":
3556
- return xs ? xs(t) : "Symbol()";
3553
+ return ks ? ks(t) : "Symbol()";
3557
3554
  case "undefined":
3558
3555
  return At(t);
3559
3556
  case "function":
3560
3557
  case "object": {
3561
3558
  if (t === null)
3562
3559
  return At(t);
3563
- const e = t, n = xe(e, "toString");
3560
+ const e = t, n = ke(e, "toString");
3564
3561
  if (typeof n == "function") {
3565
3562
  const r = n(e);
3566
3563
  return typeof r == "string" ? r : At(r);
@@ -3571,36 +3568,36 @@ function Bl(t) {
3571
3568
  return At(t);
3572
3569
  }
3573
3570
  }
3574
- function xe(t, e) {
3571
+ function ke(t, e) {
3575
3572
  for (; t !== null; ) {
3576
3573
  const r = $l(t, e);
3577
3574
  if (r) {
3578
3575
  if (r.get)
3579
- return q(r.get);
3576
+ return Y(r.get);
3580
3577
  if (typeof r.value == "function")
3581
- return q(r.value);
3578
+ return Y(r.value);
3582
3579
  }
3583
- t = Pl(t);
3580
+ t = Ml(t);
3584
3581
  }
3585
3582
  function n() {
3586
3583
  return null;
3587
3584
  }
3588
3585
  return n;
3589
3586
  }
3590
- function Wl(t) {
3587
+ function Bl(t) {
3591
3588
  try {
3592
- return K(t, ""), !0;
3589
+ return Z(t, ""), !0;
3593
3590
  } catch {
3594
3591
  return !1;
3595
3592
  }
3596
3593
  }
3597
- const Ss = Q(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Qn = Q(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Jn = Q(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Gl = Q(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), er = Q(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ql = Q(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), vs = Q(["#text"]), As = Q(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), tr = Q(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Rs = Q(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), rn = Q(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Kl = ee(/{{[\w\W]*|^[\w\W]*}}/g), Yl = ee(/<%[\w\W]*|^[\w\W]*%>/g), Zl = ee(/\${[\w\W]*/g), Xl = ee(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ql = ee(/^aria-[\-\w]+$/), Os = ee(
3594
+ const xs = ee(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Xn = ee(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Qn = ee(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Wl = ee(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Jn = ee(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Gl = ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ss = ee(["#text"]), vs = ee(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), er = ee(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), As = ee(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), nn = ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), ql = ne(/{{[\w\W]*|^[\w\W]*}}/g), Kl = ne(/<%[\w\W]*|^[\w\W]*%>/g), Yl = ne(/\${[\w\W]*/g), Zl = ne(/^data-[\-\w.\u00B7-\uFFFF]+$/), Xl = ne(/^aria-[\-\w]+$/), Rs = ne(
3598
3595
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
3599
3596
  // eslint-disable-line no-useless-escape
3600
- ), Jl = ee(/^(?:\w+script|data):/i), ec = ee(
3597
+ ), Ql = ne(/^(?:\w+script|data):/i), Jl = ne(
3601
3598
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
3602
3599
  // eslint-disable-line no-control-regex
3603
- ), tc = ee(/^html$/i), nc = ee(/^[a-z][.\w]*(-[.\w]+)+$/i), Ns = ee(/<[/\w!]/g), Is = ee(/<[/\w]/g), rc = ee(/<\/no(script|embed|frames)/i), sc = ee(/\/>/i), ce = {
3600
+ ), ec = ne(/^html$/i), tc = ne(/^[a-z][.\w]*(-[.\w]+)+$/i), Os = ne(/<[/\w!]/g), Ns = ne(/<[/\w]/g), nc = ne(/<\/no(script|embed|frames)/i), rc = ne(/\/>/i), ce = {
3604
3601
  element: 1,
3605
3602
  attribute: 2,
3606
3603
  text: 3,
@@ -3616,9 +3613,9 @@ const Ss = Q(["a", "abbr", "acronym", "address", "area", "article", "aside", "au
3616
3613
  documentFragment: 11,
3617
3614
  notation: 12
3618
3615
  // Deprecated
3619
- }, ic = function() {
3616
+ }, sc = function() {
3620
3617
  return typeof window > "u" ? null : window;
3621
- }, oc = function(e, n) {
3618
+ }, ic = function(e, n) {
3622
3619
  if (typeof e != "object" || typeof e.createPolicy != "function")
3623
3620
  return null;
3624
3621
  let r = null;
@@ -3637,7 +3634,7 @@ const Ss = Q(["a", "abbr", "acronym", "address", "area", "article", "aside", "au
3637
3634
  } catch {
3638
3635
  return console.warn("TrustedTypes policy " + i + " could not be created."), null;
3639
3636
  }
3640
- }, Ds = function() {
3637
+ }, Is = function() {
3641
3638
  return {
3642
3639
  afterSanitizeAttributes: [],
3643
3640
  afterSanitizeElements: [],
@@ -3650,11 +3647,11 @@ const Ss = Q(["a", "abbr", "acronym", "address", "area", "article", "aside", "au
3650
3647
  uponSanitizeShadowNode: []
3651
3648
  };
3652
3649
  }, ze = function(e, n, r, s) {
3653
- return Y(e, n) && He(e[n]) ? C(s.base ? se(s.base) : {}, e[n], s.transform) : r;
3650
+ return X(e, n) && He(e[n]) ? D(s.base ? ie(s.base) : {}, e[n], s.transform) : r;
3654
3651
  };
3655
- function Di() {
3656
- let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ic();
3657
- const e = (_) => Di(_);
3652
+ function Ii() {
3653
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : sc();
3654
+ const e = (b) => Ii(b);
3658
3655
  if (e.version = "3.4.12", e.removed = [], !t || !t.document || t.document.nodeType !== ce.document || !t.Element)
3659
3656
  return e.isSupported = !1, e;
3660
3657
  let n = t.document;
@@ -3662,40 +3659,40 @@ function Di() {
3662
3659
  t.DocumentFragment;
3663
3660
  const i = t.HTMLTemplateElement, o = t.Node, l = t.Element, c = t.NodeFilter, p = t.NamedNodeMap;
3664
3661
  p === void 0 && (t.NamedNodeMap || t.MozNamedAttrMap), t.HTMLFormElement;
3665
- const h = t.DOMParser, u = t.trustedTypes, d = l.prototype, m = xe(d, "cloneNode"), b = xe(d, "remove"), w = xe(d, "nextSibling"), k = xe(d, "childNodes"), v = xe(d, "parentNode"), O = xe(d, "shadowRoot"), S = xe(d, "attributes"), y = o && o.prototype ? xe(o.prototype, "nodeType") : null, T = o && o.prototype ? xe(o.prototype, "nodeName") : null;
3662
+ const h = t.DOMParser, u = t.trustedTypes, d = l.prototype, m = ke(d, "cloneNode"), y = ke(d, "remove"), O = ke(d, "nextSibling"), $ = ke(d, "childNodes"), w = ke(d, "parentNode"), S = ke(d, "shadowRoot"), A = ke(d, "attributes"), _ = o && o.prototype ? ke(o.prototype, "nodeType") : null, E = o && o.prototype ? ke(o.prototype, "nodeName") : null;
3666
3663
  if (typeof i == "function") {
3667
- const _ = n.createElement("template");
3668
- _.content && _.content.ownerDocument && (n = _.content.ownerDocument);
3664
+ const b = n.createElement("template");
3665
+ b.content && b.content.ownerDocument && (n = b.content.ownerDocument);
3669
3666
  }
3670
- let x, A = "", L, ne = !1, me = 0;
3671
- const pe = function() {
3672
- if (me > 0)
3667
+ let k, x = "", I, M = !1, j = 0;
3668
+ const ye = function() {
3669
+ if (j > 0)
3673
3670
  throw We('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
3674
- }, D = function(a) {
3675
- pe(), me++;
3671
+ }, C = function(a) {
3672
+ ye(), j++;
3676
3673
  try {
3677
- return x.createHTML(a);
3674
+ return k.createHTML(a);
3678
3675
  } finally {
3679
- me--;
3676
+ j--;
3680
3677
  }
3681
- }, _e = function(a) {
3682
- pe(), me++;
3678
+ }, Ce = function(a) {
3679
+ ye(), j++;
3683
3680
  try {
3684
- return x.createScriptURL(a);
3681
+ return k.createScriptURL(a);
3685
3682
  } finally {
3686
- me--;
3683
+ j--;
3687
3684
  }
3688
- }, Dr = function() {
3689
- return ne || (L = oc(u, s), ne = !0), L;
3690
- }, bt = n, yt = bt.implementation, Cr = bt.createNodeIterator, Mi = bt.createDocumentFragment, Pi = bt.getElementsByTagName, $i = r.importNode;
3691
- let F = Ds();
3692
- e.isSupported = typeof Ni == "function" && typeof v == "function" && yt && yt.createHTMLDocument !== void 0;
3693
- const Li = Kl, zi = Yl, ji = Zl, Fi = Xl, Vi = Ql, Hi = Jl, Mr = ec, Ui = nc;
3694
- let Pr = Os, V = null;
3695
- const $r = C({}, [...Ss, ...Qn, ...Jn, ...er, ...vs]);
3696
- let H = null;
3697
- const Lr = C({}, [...As, ...tr, ...Rs, ...rn]);
3698
- let U = Object.seal(lt(null, {
3685
+ }, Ci = function() {
3686
+ return M || (I = ic(u, s), M = !0), I;
3687
+ }, Ht = n, vn = Ht.implementation, Dr = Ht.createNodeIterator, Mi = Ht.createDocumentFragment, $i = Ht.getElementsByTagName, Pi = r.importNode;
3688
+ let H = Is();
3689
+ e.isSupported = typeof Oi == "function" && typeof w == "function" && vn && vn.createHTMLDocument !== void 0;
3690
+ const Li = ql, zi = Kl, ji = Yl, Fi = Zl, Vi = Xl, Hi = Ql, Cr = Jl, Ui = tc;
3691
+ let Mr = Rs, U = null;
3692
+ const $r = D({}, [...xs, ...Xn, ...Qn, ...Jn, ...Ss]);
3693
+ let B = null;
3694
+ const Pr = D({}, [...vs, ...er, ...As, ...nn]);
3695
+ let W = Object.seal(ct(null, {
3699
3696
  tagNameCheck: {
3700
3697
  writable: !0,
3701
3698
  configurable: !1,
@@ -3714,8 +3711,8 @@ function Di() {
3714
3711
  enumerable: !0,
3715
3712
  value: !1
3716
3713
  }
3717
- })), wt = null, zr = null;
3718
- const Me = Object.seal(lt(null, {
3714
+ })), wt = null, Lr = null;
3715
+ const Me = Object.seal(ct(null, {
3719
3716
  tagCheck: {
3720
3717
  writable: !0,
3721
3718
  configurable: !1,
@@ -3729,10 +3726,10 @@ function Di() {
3729
3726
  value: null
3730
3727
  }
3731
3728
  }));
3732
- let jr = !0, Rn = !0, Fr = !1, Vr = !0, Pe = !1, $e = !0, Ue = !1, On = !1, Nn = null, In = null, Dn = !1, Qe = !1, Bt = !1, Wt = !1, Hr = !0, Ur = !1;
3733
- const Br = "user-content-";
3734
- let Cn = !0, Mn = !1, Je = {}, Ee = null;
3735
- const Pn = C({}, [
3729
+ let zr = !0, An = !0, jr = !1, Fr = !0, $e = !1, Pe = !0, Ue = !1, Rn = !1, On = null, Nn = null, In = !1, Qe = !1, Ut = !1, Bt = !1, Vr = !0, Hr = !1;
3730
+ const Ur = "user-content-";
3731
+ let Dn = !0, Cn = !1, Je = {}, we = null;
3732
+ const Mn = D({}, [
3736
3733
  "annotation-xml",
3737
3734
  "audio",
3738
3735
  "colgroup",
@@ -3769,105 +3766,105 @@ function Di() {
3769
3766
  "video",
3770
3767
  "xmp"
3771
3768
  ]);
3772
- let Wr = null;
3773
- const Gr = C({}, ["audio", "video", "img", "source", "image", "track"]);
3769
+ let Br = null;
3770
+ const Wr = D({}, ["audio", "video", "img", "source", "image", "track"]);
3774
3771
  let $n = null;
3775
- const qr = C({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Gt = "http://www.w3.org/1998/Math/MathML", qt = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml";
3776
- let et = Te, Ln = !1, zn = null;
3777
- const Bi = C({}, [Gt, qt, Te], Xn), Kr = Q(["mi", "mo", "mn", "ms", "mtext"]);
3778
- let jn = C({}, Kr);
3779
- const Yr = Q(["annotation-xml"]);
3780
- let Fn = C({}, Yr);
3781
- const Wi = C({}, ["title", "style", "font", "a", "script"]);
3772
+ const Gr = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Wt = "http://www.w3.org/1998/Math/MathML", Gt = "http://www.w3.org/2000/svg", Ee = "http://www.w3.org/1999/xhtml";
3773
+ let et = Ee, Pn = !1, Ln = null;
3774
+ const Bi = D({}, [Wt, Gt, Ee], Zn), qr = ee(["mi", "mo", "mn", "ms", "mtext"]);
3775
+ let zn = D({}, qr);
3776
+ const Kr = ee(["annotation-xml"]);
3777
+ let jn = D({}, Kr);
3778
+ const Wi = D({}, ["title", "style", "font", "a", "script"]);
3782
3779
  let Et = null;
3783
3780
  const Gi = ["application/xhtml+xml", "text/html"], qi = "text/html";
3784
- let z = null, tt = null;
3785
- const Ki = n.createElement("form"), Zr = function(a) {
3781
+ let F = null, tt = null;
3782
+ const Ki = n.createElement("form"), Yr = function(a) {
3786
3783
  return a instanceof RegExp || a instanceof Function;
3787
- }, Vn = function() {
3784
+ }, Fn = function() {
3788
3785
  let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
3789
3786
  if (tt && tt === a)
3790
3787
  return;
3791
- (!a || typeof a != "object") && (a = {}), a = se(a), Et = // eslint-disable-next-line unicorn/prefer-includes
3792
- Gi.indexOf(a.PARSER_MEDIA_TYPE) === -1 ? qi : a.PARSER_MEDIA_TYPE, z = Et === "application/xhtml+xml" ? Xn : Rt, V = ze(a, "ALLOWED_TAGS", $r, {
3793
- transform: z
3794
- }), H = ze(a, "ALLOWED_ATTR", Lr, {
3795
- transform: z
3796
- }), zn = ze(a, "ALLOWED_NAMESPACES", Bi, {
3797
- transform: Xn
3798
- }), $n = ze(a, "ADD_URI_SAFE_ATTR", qr, {
3799
- transform: z,
3800
- base: qr
3801
- }), Wr = ze(a, "ADD_DATA_URI_TAGS", Gr, {
3802
- transform: z,
3788
+ (!a || typeof a != "object") && (a = {}), a = ie(a), Et = // eslint-disable-next-line unicorn/prefer-includes
3789
+ Gi.indexOf(a.PARSER_MEDIA_TYPE) === -1 ? qi : a.PARSER_MEDIA_TYPE, F = Et === "application/xhtml+xml" ? Zn : Rt, U = ze(a, "ALLOWED_TAGS", $r, {
3790
+ transform: F
3791
+ }), B = ze(a, "ALLOWED_ATTR", Pr, {
3792
+ transform: F
3793
+ }), Ln = ze(a, "ALLOWED_NAMESPACES", Bi, {
3794
+ transform: Zn
3795
+ }), $n = ze(a, "ADD_URI_SAFE_ATTR", Gr, {
3796
+ transform: F,
3803
3797
  base: Gr
3804
- }), Ee = ze(a, "FORBID_CONTENTS", Pn, {
3805
- transform: z
3806
- }), wt = ze(a, "FORBID_TAGS", se({}), {
3807
- transform: z
3808
- }), zr = ze(a, "FORBID_ATTR", se({}), {
3809
- transform: z
3810
- }), Je = Y(a, "USE_PROFILES") ? a.USE_PROFILES && typeof a.USE_PROFILES == "object" ? se(a.USE_PROFILES) : a.USE_PROFILES : !1, jr = a.ALLOW_ARIA_ATTR !== !1, Rn = a.ALLOW_DATA_ATTR !== !1, Fr = a.ALLOW_UNKNOWN_PROTOCOLS || !1, Vr = a.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Pe = a.SAFE_FOR_TEMPLATES || !1, $e = a.SAFE_FOR_XML !== !1, Ue = a.WHOLE_DOCUMENT || !1, Qe = a.RETURN_DOM || !1, Bt = a.RETURN_DOM_FRAGMENT || !1, Wt = a.RETURN_TRUSTED_TYPE || !1, Dn = a.FORCE_BODY || !1, Hr = a.SANITIZE_DOM !== !1, Ur = a.SANITIZE_NAMED_PROPS || !1, Cn = a.KEEP_CONTENT !== !1, Mn = a.IN_PLACE || !1, Pr = Wl(a.ALLOWED_URI_REGEXP) ? a.ALLOWED_URI_REGEXP : Os, et = typeof a.NAMESPACE == "string" ? a.NAMESPACE : Te, jn = Y(a, "MATHML_TEXT_INTEGRATION_POINTS") && a.MATHML_TEXT_INTEGRATION_POINTS && typeof a.MATHML_TEXT_INTEGRATION_POINTS == "object" ? se(a.MATHML_TEXT_INTEGRATION_POINTS) : C({}, Kr), Fn = Y(a, "HTML_INTEGRATION_POINTS") && a.HTML_INTEGRATION_POINTS && typeof a.HTML_INTEGRATION_POINTS == "object" ? se(a.HTML_INTEGRATION_POINTS) : C({}, Yr);
3811
- const f = Y(a, "CUSTOM_ELEMENT_HANDLING") && a.CUSTOM_ELEMENT_HANDLING && typeof a.CUSTOM_ELEMENT_HANDLING == "object" ? se(a.CUSTOM_ELEMENT_HANDLING) : lt(null);
3812
- if (U = lt(null), Y(f, "tagNameCheck") && Zr(f.tagNameCheck) && (U.tagNameCheck = f.tagNameCheck), Y(f, "attributeNameCheck") && Zr(f.attributeNameCheck) && (U.attributeNameCheck = f.attributeNameCheck), Y(f, "allowCustomizedBuiltInElements") && typeof f.allowCustomizedBuiltInElements == "boolean" && (U.allowCustomizedBuiltInElements = f.allowCustomizedBuiltInElements), ee(U), Pe && (Rn = !1), Bt && (Qe = !0), Je && (V = C({}, vs), H = lt(null), Je.html === !0 && (C(V, Ss), C(H, As)), Je.svg === !0 && (C(V, Qn), C(H, tr), C(H, rn)), Je.svgFilters === !0 && (C(V, Jn), C(H, tr), C(H, rn)), Je.mathMl === !0 && (C(V, er), C(H, Rs), C(H, rn))), Me.tagCheck = null, Me.attributeCheck = null, Y(a, "ADD_TAGS") && (typeof a.ADD_TAGS == "function" ? Me.tagCheck = a.ADD_TAGS : He(a.ADD_TAGS) && (V === $r && (V = se(V)), C(V, a.ADD_TAGS, z))), Y(a, "ADD_ATTR") && (typeof a.ADD_ATTR == "function" ? Me.attributeCheck = a.ADD_ATTR : He(a.ADD_ATTR) && (H === Lr && (H = se(H)), C(H, a.ADD_ATTR, z))), Y(a, "ADD_URI_SAFE_ATTR") && He(a.ADD_URI_SAFE_ATTR) && C($n, a.ADD_URI_SAFE_ATTR, z), Y(a, "FORBID_CONTENTS") && He(a.FORBID_CONTENTS) && (Ee === Pn && (Ee = se(Ee)), C(Ee, a.FORBID_CONTENTS, z)), Y(a, "ADD_FORBID_CONTENTS") && He(a.ADD_FORBID_CONTENTS) && (Ee === Pn && (Ee = se(Ee)), C(Ee, a.ADD_FORBID_CONTENTS, z)), Cn && (V["#text"] = !0), Ue && C(V, ["html", "head", "body"]), V.table && (C(V, ["tbody"]), delete wt.tbody), a.TRUSTED_TYPES_POLICY) {
3798
+ }), Br = ze(a, "ADD_DATA_URI_TAGS", Wr, {
3799
+ transform: F,
3800
+ base: Wr
3801
+ }), we = ze(a, "FORBID_CONTENTS", Mn, {
3802
+ transform: F
3803
+ }), wt = ze(a, "FORBID_TAGS", ie({}), {
3804
+ transform: F
3805
+ }), Lr = ze(a, "FORBID_ATTR", ie({}), {
3806
+ transform: F
3807
+ }), Je = X(a, "USE_PROFILES") ? a.USE_PROFILES && typeof a.USE_PROFILES == "object" ? ie(a.USE_PROFILES) : a.USE_PROFILES : !1, zr = a.ALLOW_ARIA_ATTR !== !1, An = a.ALLOW_DATA_ATTR !== !1, jr = a.ALLOW_UNKNOWN_PROTOCOLS || !1, Fr = a.ALLOW_SELF_CLOSE_IN_ATTR !== !1, $e = a.SAFE_FOR_TEMPLATES || !1, Pe = a.SAFE_FOR_XML !== !1, Ue = a.WHOLE_DOCUMENT || !1, Qe = a.RETURN_DOM || !1, Ut = a.RETURN_DOM_FRAGMENT || !1, Bt = a.RETURN_TRUSTED_TYPE || !1, In = a.FORCE_BODY || !1, Vr = a.SANITIZE_DOM !== !1, Hr = a.SANITIZE_NAMED_PROPS || !1, Dn = a.KEEP_CONTENT !== !1, Cn = a.IN_PLACE || !1, Mr = Bl(a.ALLOWED_URI_REGEXP) ? a.ALLOWED_URI_REGEXP : Rs, et = typeof a.NAMESPACE == "string" ? a.NAMESPACE : Ee, zn = X(a, "MATHML_TEXT_INTEGRATION_POINTS") && a.MATHML_TEXT_INTEGRATION_POINTS && typeof a.MATHML_TEXT_INTEGRATION_POINTS == "object" ? ie(a.MATHML_TEXT_INTEGRATION_POINTS) : D({}, qr), jn = X(a, "HTML_INTEGRATION_POINTS") && a.HTML_INTEGRATION_POINTS && typeof a.HTML_INTEGRATION_POINTS == "object" ? ie(a.HTML_INTEGRATION_POINTS) : D({}, Kr);
3808
+ const f = X(a, "CUSTOM_ELEMENT_HANDLING") && a.CUSTOM_ELEMENT_HANDLING && typeof a.CUSTOM_ELEMENT_HANDLING == "object" ? ie(a.CUSTOM_ELEMENT_HANDLING) : ct(null);
3809
+ if (W = ct(null), X(f, "tagNameCheck") && Yr(f.tagNameCheck) && (W.tagNameCheck = f.tagNameCheck), X(f, "attributeNameCheck") && Yr(f.attributeNameCheck) && (W.attributeNameCheck = f.attributeNameCheck), X(f, "allowCustomizedBuiltInElements") && typeof f.allowCustomizedBuiltInElements == "boolean" && (W.allowCustomizedBuiltInElements = f.allowCustomizedBuiltInElements), ne(W), $e && (An = !1), Ut && (Qe = !0), Je && (U = D({}, Ss), B = ct(null), Je.html === !0 && (D(U, xs), D(B, vs)), Je.svg === !0 && (D(U, Xn), D(B, er), D(B, nn)), Je.svgFilters === !0 && (D(U, Qn), D(B, er), D(B, nn)), Je.mathMl === !0 && (D(U, Jn), D(B, As), D(B, nn))), Me.tagCheck = null, Me.attributeCheck = null, X(a, "ADD_TAGS") && (typeof a.ADD_TAGS == "function" ? Me.tagCheck = a.ADD_TAGS : He(a.ADD_TAGS) && (U === $r && (U = ie(U)), D(U, a.ADD_TAGS, F))), X(a, "ADD_ATTR") && (typeof a.ADD_ATTR == "function" ? Me.attributeCheck = a.ADD_ATTR : He(a.ADD_ATTR) && (B === Pr && (B = ie(B)), D(B, a.ADD_ATTR, F))), X(a, "ADD_URI_SAFE_ATTR") && He(a.ADD_URI_SAFE_ATTR) && D($n, a.ADD_URI_SAFE_ATTR, F), X(a, "FORBID_CONTENTS") && He(a.FORBID_CONTENTS) && (we === Mn && (we = ie(we)), D(we, a.FORBID_CONTENTS, F)), X(a, "ADD_FORBID_CONTENTS") && He(a.ADD_FORBID_CONTENTS) && (we === Mn && (we = ie(we)), D(we, a.ADD_FORBID_CONTENTS, F)), Dn && (U["#text"] = !0), Ue && D(U, ["html", "head", "body"]), U.table && (D(U, ["tbody"]), delete wt.tbody), a.TRUSTED_TYPES_POLICY) {
3813
3810
  if (typeof a.TRUSTED_TYPES_POLICY.createHTML != "function")
3814
3811
  throw We('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
3815
3812
  if (typeof a.TRUSTED_TYPES_POLICY.createScriptURL != "function")
3816
3813
  throw We('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
3817
- const g = x;
3818
- x = a.TRUSTED_TYPES_POLICY;
3814
+ const g = k;
3815
+ k = a.TRUSTED_TYPES_POLICY;
3819
3816
  try {
3820
- A = D("");
3821
- } catch (E) {
3822
- throw x = g, E;
3817
+ x = C("");
3818
+ } catch (T) {
3819
+ throw k = g, T;
3823
3820
  }
3824
- } else a.TRUSTED_TYPES_POLICY === null ? (x = void 0, A = "") : (x === void 0 && (x = Dr()), x && typeof A == "string" && (A = D("")));
3825
- Q && Q(a), tt = a;
3826
- }, Xr = C({}, [...Qn, ...Jn, ...Gl]), Qr = C({}, [...er, ...ql]), Yi = function(a, f, g) {
3827
- return f.namespaceURI === Te ? a === "svg" : f.namespaceURI === Gt ? a === "svg" && (g === "annotation-xml" || jn[g]) : !!Xr[a];
3821
+ } else a.TRUSTED_TYPES_POLICY === null ? (k = void 0, x = "") : (k === void 0 && (k = Ci()), k && typeof x == "string" && (x = C("")));
3822
+ ee && ee(a), tt = a;
3823
+ }, Zr = D({}, [...Xn, ...Qn, ...Wl]), Xr = D({}, [...Jn, ...Gl]), Yi = function(a, f, g) {
3824
+ return f.namespaceURI === Ee ? a === "svg" : f.namespaceURI === Wt ? a === "svg" && (g === "annotation-xml" || zn[g]) : !!Zr[a];
3828
3825
  }, Zi = function(a, f, g) {
3829
- return f.namespaceURI === Te ? a === "math" : f.namespaceURI === qt ? a === "math" && Fn[g] : !!Qr[a];
3826
+ return f.namespaceURI === Ee ? a === "math" : f.namespaceURI === Gt ? a === "math" && jn[g] : !!Xr[a];
3830
3827
  }, Xi = function(a, f, g) {
3831
- return f.namespaceURI === qt && !Fn[g] || f.namespaceURI === Gt && !jn[g] ? !1 : !Qr[a] && (Wi[a] || !Xr[a]);
3828
+ return f.namespaceURI === Gt && !jn[g] || f.namespaceURI === Wt && !zn[g] ? !1 : !Xr[a] && (Wi[a] || !Zr[a]);
3832
3829
  }, Qi = function(a) {
3833
- let f = v(a);
3830
+ let f = w(a);
3834
3831
  (!f || !f.tagName) && (f = {
3835
3832
  namespaceURI: et,
3836
3833
  tagName: "template"
3837
3834
  });
3838
- const g = Rt(a.tagName), E = Rt(f.tagName);
3839
- return zn[a.namespaceURI] ? a.namespaceURI === qt ? Yi(g, f, E) : a.namespaceURI === Gt ? Zi(g, f, E) : a.namespaceURI === Te ? Xi(g, f, E) : !!(Et === "application/xhtml+xml" && zn[a.namespaceURI]) : !1;
3835
+ const g = Rt(a.tagName), T = Rt(f.tagName);
3836
+ return Ln[a.namespaceURI] ? a.namespaceURI === Gt ? Yi(g, f, T) : a.namespaceURI === Wt ? Zi(g, f, T) : a.namespaceURI === Ee ? Xi(g, f, T) : !!(Et === "application/xhtml+xml" && Ln[a.namespaceURI]) : !1;
3840
3837
  }, Le = function(a) {
3841
3838
  it(e.removed, {
3842
3839
  element: a
3843
3840
  });
3844
3841
  try {
3845
- v(a).removeChild(a);
3842
+ w(a).removeChild(a);
3846
3843
  } catch {
3847
- if (b(a), !v(a))
3844
+ if (y(a), !w(a))
3848
3845
  throw We("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
3849
3846
  }
3850
- }, Kt = function(a) {
3851
- Hn(a);
3852
- const f = k(a);
3847
+ }, qt = function(a) {
3848
+ Vn(a);
3849
+ const f = $(a);
3853
3850
  if (f) {
3854
- const E = [];
3855
- st(f, (R) => {
3856
- it(E, R);
3857
- }), st(E, (R) => {
3851
+ const T = [];
3852
+ st(f, (v) => {
3853
+ it(T, v);
3854
+ }), st(T, (v) => {
3858
3855
  try {
3859
- b(R);
3856
+ y(v);
3860
3857
  } catch {
3861
3858
  }
3862
3859
  });
3863
3860
  }
3864
- const g = S(a);
3861
+ const g = A(a);
3865
3862
  if (g)
3866
- for (let E = g.length - 1; E >= 0; --E) {
3867
- const R = g[E], N = R && R.name;
3868
- if (typeof N == "string")
3863
+ for (let T = g.length - 1; T >= 0; --T) {
3864
+ const v = g[T], R = v && v.name;
3865
+ if (typeof R == "string")
3869
3866
  try {
3870
- a.removeAttribute(N);
3867
+ a.removeAttribute(R);
3871
3868
  } catch {
3872
3869
  }
3873
3870
  }
@@ -3884,7 +3881,7 @@ function Di() {
3884
3881
  });
3885
3882
  }
3886
3883
  if (f.removeAttribute(a), a === "is")
3887
- if (Qe || Bt)
3884
+ if (Qe || Ut)
3888
3885
  try {
3889
3886
  Le(f);
3890
3887
  } catch {
@@ -3895,117 +3892,117 @@ function Di() {
3895
3892
  } catch {
3896
3893
  }
3897
3894
  }, Ji = function(a) {
3898
- const f = S(a);
3895
+ const f = A(a);
3899
3896
  if (f)
3900
3897
  for (let g = f.length - 1; g >= 0; --g) {
3901
- const E = f[g], R = E && E.name;
3902
- if (!(typeof R != "string" || H[z(R)]))
3898
+ const T = f[g], v = T && T.name;
3899
+ if (!(typeof v != "string" || B[F(v)]))
3903
3900
  try {
3904
- a.removeAttribute(R);
3901
+ a.removeAttribute(v);
3905
3902
  } catch {
3906
3903
  }
3907
3904
  }
3908
- }, Hn = function(a) {
3905
+ }, Vn = function(a) {
3909
3906
  const f = [a];
3910
3907
  for (; f.length > 0; ) {
3911
3908
  const g = f.pop();
3912
- (y ? y(g) : g.nodeType) === ce.element && Ji(g);
3913
- const R = k(g);
3914
- if (R)
3915
- for (let N = R.length - 1; N >= 0; --N)
3916
- f.push(R[N]);
3909
+ (_ ? _(g) : g.nodeType) === ce.element && Ji(g);
3910
+ const v = $(g);
3911
+ if (v)
3912
+ for (let R = v.length - 1; R >= 0; --R)
3913
+ f.push(v[R]);
3917
3914
  }
3918
3915
  }, eo = function(a) {
3919
- if (!$e)
3916
+ if (!Pe)
3920
3917
  return;
3921
3918
  const f = [a];
3922
3919
  for (; f.length > 0; ) {
3923
- const g = f.pop(), E = y ? y(g) : g.nodeType;
3924
- if (E === ce.processingInstruction || E === ce.comment && K(Is, g.data)) {
3920
+ const g = f.pop(), T = _ ? _(g) : g.nodeType;
3921
+ if (T === ce.processingInstruction || T === ce.comment && Z(Ns, g.data)) {
3925
3922
  try {
3926
- b(g);
3923
+ y(g);
3927
3924
  } catch {
3928
3925
  }
3929
3926
  continue;
3930
3927
  }
3931
- if (E === ce.element) {
3932
- const N = g, B = z(T ? T(g) : g.nodeName);
3928
+ if (T === ce.element) {
3929
+ const R = g, G = F(E ? E(g) : g.nodeName);
3933
3930
  try {
3934
- N.hasAttribute && N.hasAttribute("patchsrc") && N.removeAttribute("patchsrc"), N.hasAttribute && N.hasAttribute("for") && B !== "label" && B !== "output" && N.removeAttribute("for");
3931
+ R.hasAttribute && R.hasAttribute("patchsrc") && R.removeAttribute("patchsrc"), R.hasAttribute && R.hasAttribute("for") && G !== "label" && G !== "output" && R.removeAttribute("for");
3935
3932
  } catch {
3936
3933
  }
3937
3934
  }
3938
- const R = k(g);
3939
- if (R)
3940
- for (let N = R.length - 1; N >= 0; --N)
3941
- f.push(R[N]);
3935
+ const v = $(g);
3936
+ if (v)
3937
+ for (let R = v.length - 1; R >= 0; --R)
3938
+ f.push(v[R]);
3942
3939
  }
3943
- }, Jr = function(a) {
3940
+ }, Qr = function(a) {
3944
3941
  let f = null, g = null;
3945
- if (Dn)
3942
+ if (In)
3946
3943
  a = "<remove></remove>" + a;
3947
3944
  else {
3948
- const N = Es(a, /^[\r\n\t ]+/);
3949
- g = N && N[0];
3945
+ const R = ws(a, /^[\r\n\t ]+/);
3946
+ g = R && R[0];
3950
3947
  }
3951
- Et === "application/xhtml+xml" && et === Te && (a = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + a + "</body></html>");
3952
- const E = x ? D(a) : a;
3953
- if (et === Te)
3948
+ Et === "application/xhtml+xml" && et === Ee && (a = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + a + "</body></html>");
3949
+ const T = k ? C(a) : a;
3950
+ if (et === Ee)
3954
3951
  try {
3955
- f = new h().parseFromString(E, Et);
3952
+ f = new h().parseFromString(T, Et);
3956
3953
  } catch {
3957
3954
  }
3958
3955
  if (!f || !f.documentElement) {
3959
- f = yt.createDocument(et, "template", null);
3956
+ f = vn.createDocument(et, "template", null);
3960
3957
  try {
3961
- f.documentElement.innerHTML = Ln ? A : E;
3958
+ f.documentElement.innerHTML = Pn ? x : T;
3962
3959
  } catch {
3963
3960
  }
3964
3961
  }
3965
- const R = f.body || f.documentElement;
3966
- return a && g && R.insertBefore(n.createTextNode(g), R.childNodes[0] || null), et === Te ? Pi.call(f, Ue ? "html" : "body")[0] : Ue ? f.documentElement : R;
3967
- }, es = function(a) {
3968
- return Cr.call(
3962
+ const v = f.body || f.documentElement;
3963
+ return a && g && v.insertBefore(n.createTextNode(g), v.childNodes[0] || null), et === Ee ? $i.call(f, Ue ? "html" : "body")[0] : Ue ? f.documentElement : v;
3964
+ }, Jr = function(a) {
3965
+ return Dr.call(
3969
3966
  a.ownerDocument || a,
3970
3967
  a,
3971
3968
  // eslint-disable-next-line no-bitwise
3972
3969
  c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
3973
3970
  null
3974
3971
  );
3975
- }, Yt = function(a) {
3972
+ }, Kt = function(a) {
3976
3973
  return a = vt(a, Li, " "), a = vt(a, zi, " "), a = vt(a, ji, " "), a;
3977
- }, Un = function(a) {
3974
+ }, Hn = function(a) {
3978
3975
  var f;
3979
3976
  a.normalize();
3980
- const g = Cr.call(
3977
+ const g = Dr.call(
3981
3978
  a.ownerDocument || a,
3982
3979
  a,
3983
3980
  // eslint-disable-next-line no-bitwise
3984
3981
  c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION,
3985
3982
  null
3986
3983
  );
3987
- let E = g.nextNode();
3988
- for (; E; )
3989
- E.data = Yt(E.data), E = g.nextNode();
3990
- const R = (f = a.querySelectorAll) === null || f === void 0 ? void 0 : f.call(a, "template");
3991
- R && st(R, (N) => {
3992
- nt(N.content) && Un(N.content);
3984
+ let T = g.nextNode();
3985
+ for (; T; )
3986
+ T.data = Kt(T.data), T = g.nextNode();
3987
+ const v = (f = a.querySelectorAll) === null || f === void 0 ? void 0 : f.call(a, "template");
3988
+ v && st(v, (R) => {
3989
+ nt(R.content) && Hn(R.content);
3993
3990
  });
3994
- }, Zt = function(a) {
3995
- const f = T ? T(a) : null;
3996
- return typeof f != "string" || z(f) !== "form" ? !1 : typeof a.nodeName != "string" || typeof a.textContent != "string" || typeof a.removeChild != "function" || // Realm-safe NamedNodeMap detection: equality against the cached
3991
+ }, Yt = function(a) {
3992
+ const f = E ? E(a) : null;
3993
+ return typeof f != "string" || F(f) !== "form" ? !1 : typeof a.nodeName != "string" || typeof a.textContent != "string" || typeof a.removeChild != "function" || // Realm-safe NamedNodeMap detection: equality against the cached
3997
3994
  // prototype getter. Clobbered .attributes (e.g. <input name="attributes">)
3998
3995
  // makes the direct read diverge from the cached read; a clean form
3999
3996
  // (same-realm OR foreign-realm) has both reads pointing at the same
4000
3997
  // canonical NamedNodeMap.
4001
- a.attributes !== S(a) || typeof a.removeAttribute != "function" || typeof a.setAttribute != "function" || typeof a.namespaceURI != "string" || typeof a.insertBefore != "function" || typeof a.hasChildNodes != "function" || // NodeType clobbering probe. Cached Node.prototype.nodeType getter
3998
+ a.attributes !== A(a) || typeof a.removeAttribute != "function" || typeof a.setAttribute != "function" || typeof a.namespaceURI != "string" || typeof a.insertBefore != "function" || typeof a.hasChildNodes != "function" || // NodeType clobbering probe. Cached Node.prototype.nodeType getter
4002
3999
  // returns the integer 1 for any Element regardless of realm; direct
4003
4000
  // read on a clobbered form (e.g. <input name="nodeType">) returns
4004
4001
  // the named child element. Cheap addition — nodeType is read from
4005
4002
  // an internal slot, no serialization cost — and removes a residual
4006
4003
  // clobbering surface used by several mXSS / PI / comment branches
4007
4004
  // in _sanitizeElements that compare currentNode.nodeType directly.
4008
- a.nodeType !== y(a) || // HTMLFormElement has [LegacyOverrideBuiltIns]: a descendant named
4005
+ a.nodeType !== _(a) || // HTMLFormElement has [LegacyOverrideBuiltIns]: a descendant named
4009
4006
  // "childNodes" shadows the prototype getter. Direct reads of
4010
4007
  // form.childNodes from a clobbered form return the named child
4011
4008
  // instead of the real NodeList, so any walk that reads it directly
@@ -4016,82 +4013,82 @@ function Di() {
4016
4013
  // select, etc.) regardless of whether the named child happens to
4017
4014
  // carry a numeric .length, which a typeof-based probe would miss
4018
4015
  // (e.g. HTMLSelectElement.length is a defined unsigned-long).
4019
- a.childNodes !== k(a);
4016
+ a.childNodes !== $(a);
4020
4017
  }, nt = function(a) {
4021
- if (!y || typeof a != "object" || a === null)
4018
+ if (!_ || typeof a != "object" || a === null)
4022
4019
  return !1;
4023
4020
  try {
4024
- return y(a) === ce.documentFragment;
4021
+ return _(a) === ce.documentFragment;
4025
4022
  } catch {
4026
4023
  return !1;
4027
4024
  }
4028
4025
  }, Tt = function(a) {
4029
- if (!y || typeof a != "object" || a === null)
4026
+ if (!_ || typeof a != "object" || a === null)
4030
4027
  return !1;
4031
4028
  try {
4032
- return typeof y(a) == "number";
4029
+ return typeof _(a) == "number";
4033
4030
  } catch {
4034
4031
  return !1;
4035
4032
  }
4036
4033
  };
4037
- function ke(_, a, f) {
4038
- _.length !== 0 && st(_, (g) => {
4034
+ function Te(b, a, f) {
4035
+ b.length !== 0 && st(b, (g) => {
4039
4036
  g.call(e, a, f, tt);
4040
4037
  });
4041
4038
  }
4042
4039
  const to = function(a, f) {
4043
- return !!($e && a.hasChildNodes() && !Tt(a.firstElementChild) && K(Ns, a.textContent) && K(Ns, a.innerHTML) || $e && a.namespaceURI === Te && f === "style" && Tt(a.firstElementChild) || a.nodeType === ce.processingInstruction || $e && a.nodeType === ce.comment && K(Is, a.data));
4040
+ return !!(Pe && a.hasChildNodes() && !Tt(a.firstElementChild) && Z(Os, a.textContent) && Z(Os, a.innerHTML) || Pe && a.namespaceURI === Ee && f === "style" && Tt(a.firstElementChild) || a.nodeType === ce.processingInstruction || Pe && a.nodeType === ce.comment && Z(Ns, a.data));
4044
4041
  }, no = function(a, f) {
4045
- if (!wt[f] && rs(f) && (U.tagNameCheck instanceof RegExp && K(U.tagNameCheck, f) || U.tagNameCheck instanceof Function && U.tagNameCheck(f)))
4042
+ if (!wt[f] && ns(f) && (W.tagNameCheck instanceof RegExp && Z(W.tagNameCheck, f) || W.tagNameCheck instanceof Function && W.tagNameCheck(f)))
4046
4043
  return !1;
4047
- if (Cn && !Ee[f]) {
4048
- const g = v(a), E = k(a);
4049
- if (E && g) {
4050
- const R = E.length;
4051
- for (let N = R - 1; N >= 0; --N) {
4052
- const B = Mn ? E[N] : m(E[N], !0);
4053
- g.insertBefore(B, w(a));
4044
+ if (Dn && !we[f]) {
4045
+ const g = w(a), T = $(a);
4046
+ if (T && g) {
4047
+ const v = T.length;
4048
+ for (let R = v - 1; R >= 0; --R) {
4049
+ const G = Cn ? T[R] : m(T[R], !0);
4050
+ g.insertBefore(G, O(a));
4054
4051
  }
4055
4052
  }
4056
4053
  }
4057
4054
  return Le(a), !0;
4058
- }, ts = function(a, f) {
4059
- if (ke(F.beforeSanitizeElements, a, null), a !== f && v(a) === null)
4055
+ }, es = function(a, f) {
4056
+ if (Te(H.beforeSanitizeElements, a, null), a !== f && w(a) === null)
4060
4057
  return !0;
4061
- if (Zt(a))
4058
+ if (Yt(a))
4062
4059
  return Le(a), !0;
4063
- const g = z(T ? T(a) : a.nodeName);
4064
- if (ke(F.uponSanitizeElement, a, {
4060
+ const g = F(E ? E(a) : a.nodeName);
4061
+ if (Te(H.uponSanitizeElement, a, {
4065
4062
  tagName: g,
4066
- allowedTags: V
4067
- }), a !== f && v(a) === null)
4063
+ allowedTags: U
4064
+ }), a !== f && w(a) === null)
4068
4065
  return !0;
4069
4066
  if (to(a, g))
4070
4067
  return Le(a), !0;
4071
- if (wt[g] || !(Me.tagCheck instanceof Function && Me.tagCheck(g)) && !V[g]) {
4072
- const R = no(a, g);
4073
- return R === !1 && ke(F.afterSanitizeElements, a, null), R;
4068
+ if (wt[g] || !(Me.tagCheck instanceof Function && Me.tagCheck(g)) && !U[g]) {
4069
+ const v = no(a, g);
4070
+ return v === !1 && Te(H.afterSanitizeElements, a, null), v;
4074
4071
  }
4075
- if ((y ? y(a) : a.nodeType) === ce.element && !Qi(a) || (g === "noscript" || g === "noembed" || g === "noframes") && K(rc, a.innerHTML))
4072
+ if ((_ ? _(a) : a.nodeType) === ce.element && !Qi(a) || (g === "noscript" || g === "noembed" || g === "noframes") && Z(nc, a.innerHTML))
4076
4073
  return Le(a), !0;
4077
- if (Pe && a.nodeType === ce.text) {
4078
- const R = Yt(a.textContent);
4079
- a.textContent !== R && (it(e.removed, {
4074
+ if ($e && a.nodeType === ce.text) {
4075
+ const v = Kt(a.textContent);
4076
+ a.textContent !== v && (it(e.removed, {
4080
4077
  element: a.cloneNode()
4081
- }), a.textContent = R);
4078
+ }), a.textContent = v);
4082
4079
  }
4083
- return ke(F.afterSanitizeElements, a, null), !1;
4084
- }, ns = function(a, f, g) {
4085
- if (zr[f] || $e && f === "patchsrc" || $e && f === "for" && a !== "label" && a !== "output" || Hr && (f === "id" || f === "name") && (g in n || g in Ki))
4080
+ return Te(H.afterSanitizeElements, a, null), !1;
4081
+ }, ts = function(a, f, g) {
4082
+ if (Lr[f] || Pe && f === "patchsrc" || Pe && f === "for" && a !== "label" && a !== "output" || Vr && (f === "id" || f === "name") && (g in n || g in Ki))
4086
4083
  return !1;
4087
- const E = H[f] || Me.attributeCheck instanceof Function && Me.attributeCheck(f, a);
4088
- if (!(Rn && K(Fi, f))) {
4089
- if (!(jr && K(Vi, f))) {
4090
- if (E) {
4084
+ const T = B[f] || Me.attributeCheck instanceof Function && Me.attributeCheck(f, a);
4085
+ if (!(An && Z(Fi, f))) {
4086
+ if (!(zr && Z(Vi, f))) {
4087
+ if (T) {
4091
4088
  if (!$n[f]) {
4092
- if (!K(Pr, vt(g, Mr, ""))) {
4093
- if (!((f === "src" || f === "xlink:href" || f === "href") && a !== "script" && Ts(g, "data:") === 0 && Wr[a])) {
4094
- if (!(Fr && !K(Hi, vt(g, Mr, "")))) {
4089
+ if (!Z(Mr, vt(g, Cr, ""))) {
4090
+ if (!((f === "src" || f === "xlink:href" || f === "href") && a !== "script" && Es(g, "data:") === 0 && Br[a])) {
4091
+ if (!(jr && !Z(Hi, vt(g, Cr, "")))) {
4095
4092
  if (g)
4096
4093
  return !1;
4097
4094
  }
@@ -4102,82 +4099,82 @@ function Di() {
4102
4099
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4103
4100
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4104
4101
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4105
- !(rs(a) && (U.tagNameCheck instanceof RegExp && K(U.tagNameCheck, a) || U.tagNameCheck instanceof Function && U.tagNameCheck(a)) && (U.attributeNameCheck instanceof RegExp && K(U.attributeNameCheck, f) || U.attributeNameCheck instanceof Function && U.attributeNameCheck(f, a)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4102
+ !(ns(a) && (W.tagNameCheck instanceof RegExp && Z(W.tagNameCheck, a) || W.tagNameCheck instanceof Function && W.tagNameCheck(a)) && (W.attributeNameCheck instanceof RegExp && Z(W.attributeNameCheck, f) || W.attributeNameCheck instanceof Function && W.attributeNameCheck(f, a)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4106
4103
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4107
- f === "is" && U.allowCustomizedBuiltInElements && (U.tagNameCheck instanceof RegExp && K(U.tagNameCheck, g) || U.tagNameCheck instanceof Function && U.tagNameCheck(g)))
4104
+ f === "is" && W.allowCustomizedBuiltInElements && (W.tagNameCheck instanceof RegExp && Z(W.tagNameCheck, g) || W.tagNameCheck instanceof Function && W.tagNameCheck(g)))
4108
4105
  ) return !1;
4109
4106
  }
4110
4107
  }
4111
4108
  return !0;
4112
- }, ro = C({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), rs = function(a) {
4113
- return !ro[Rt(a)] && K(Ui, a);
4114
- }, so = function(a, f, g, E) {
4115
- if (x && typeof u == "object" && typeof u.getAttributeType == "function" && !g)
4109
+ }, ro = D({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), ns = function(a) {
4110
+ return !ro[Rt(a)] && Z(Ui, a);
4111
+ }, so = function(a, f, g, T) {
4112
+ if (k && typeof u == "object" && typeof u.getAttributeType == "function" && !g)
4116
4113
  switch (u.getAttributeType(a, f)) {
4117
4114
  case "TrustedHTML":
4118
- return D(E);
4115
+ return C(T);
4119
4116
  case "TrustedScriptURL":
4120
- return _e(E);
4117
+ return Ce(T);
4121
4118
  }
4122
- return E;
4123
- }, io = function(a, f, g, E) {
4119
+ return T;
4120
+ }, io = function(a, f, g, T) {
4124
4121
  try {
4125
- g ? a.setAttributeNS(g, f, E) : a.setAttribute(f, E), Zt(a) ? Le(a) : ws(e.removed);
4122
+ g ? a.setAttributeNS(g, f, T) : a.setAttribute(f, T), Yt(a) ? Le(a) : ys(e.removed);
4126
4123
  } catch {
4127
4124
  Be(f, a);
4128
4125
  }
4129
- }, ss = function(a) {
4130
- ke(F.beforeSanitizeAttributes, a, null);
4126
+ }, rs = function(a) {
4127
+ Te(H.beforeSanitizeAttributes, a, null);
4131
4128
  const f = a.attributes;
4132
- if (!f || Zt(a))
4129
+ if (!f || Yt(a))
4133
4130
  return;
4134
4131
  const g = {
4135
4132
  attrName: "",
4136
4133
  attrValue: "",
4137
4134
  keepAttr: !0,
4138
- allowedAttributes: H,
4135
+ allowedAttributes: B,
4139
4136
  forceKeepAttr: void 0
4140
4137
  };
4141
- let E = f.length;
4142
- const R = z(a.nodeName);
4143
- for (; E--; ) {
4144
- const N = f[E], B = N.name, te = N.namespaceURI, be = N.value, ae = z(B), ye = be;
4145
- let re = B === "value" ? ye : jl(ye);
4146
- if (g.attrName = ae, g.attrValue = re, g.keepAttr = !0, g.forceKeepAttr = void 0, ke(F.uponSanitizeAttribute, a, g), re = g.attrValue, Ur && (ae === "id" || ae === "name") && Ts(re, Br) !== 0 && (Be(B, a), re = Br + re), $e && K(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, re)) {
4147
- Be(B, a);
4138
+ let T = f.length;
4139
+ const v = F(a.nodeName);
4140
+ for (; T--; ) {
4141
+ const R = f[T], G = R.name, re = R.namespaceURI, ge = R.value, le = F(G), me = ge;
4142
+ let se = G === "value" ? me : zl(me);
4143
+ if (g.attrName = le, g.attrValue = se, g.keepAttr = !0, g.forceKeepAttr = void 0, Te(H.uponSanitizeAttribute, a, g), se = g.attrValue, Hr && (le === "id" || le === "name") && Es(se, Ur) !== 0 && (Be(G, a), se = Ur + se), Pe && Z(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, se)) {
4144
+ Be(G, a);
4148
4145
  continue;
4149
4146
  }
4150
- if (ae === "attributename" && Es(re, "href")) {
4151
- Be(B, a);
4147
+ if (le === "attributename" && ws(se, "href")) {
4148
+ Be(G, a);
4152
4149
  continue;
4153
4150
  }
4154
4151
  if (!g.forceKeepAttr) {
4155
4152
  if (!g.keepAttr) {
4156
- Be(B, a);
4153
+ Be(G, a);
4157
4154
  continue;
4158
4155
  }
4159
- if (!Vr && K(sc, re)) {
4160
- Be(B, a);
4156
+ if (!Fr && Z(rc, se)) {
4157
+ Be(G, a);
4161
4158
  continue;
4162
4159
  }
4163
- if (Pe && (re = Yt(re)), !ns(R, ae, re)) {
4164
- Be(B, a);
4160
+ if ($e && (se = Kt(se)), !ts(v, le, se)) {
4161
+ Be(G, a);
4165
4162
  continue;
4166
4163
  }
4167
- re = so(R, ae, te, re), re !== ye && io(a, B, te, re);
4164
+ se = so(v, le, re, se), se !== me && io(a, G, re, se);
4168
4165
  }
4169
4166
  }
4170
- ke(F.afterSanitizeAttributes, a, null);
4171
- }, Xt = function(a) {
4167
+ Te(H.afterSanitizeAttributes, a, null);
4168
+ }, Zt = function(a) {
4172
4169
  let f = null;
4173
- const g = es(a);
4174
- for (ke(F.beforeSanitizeShadowDOM, a, null); f = g.nextNode(); )
4175
- if (ke(F.uponSanitizeShadowNode, f, null), ts(f, a), ss(f), nt(f.content) && Xt(f.content), (y ? y(f) : f.nodeType) === ce.element) {
4176
- const R = O(f);
4177
- nt(R) && (Bn(R), Xt(R));
4170
+ const g = Jr(a);
4171
+ for (Te(H.beforeSanitizeShadowDOM, a, null); f = g.nextNode(); )
4172
+ if (Te(H.uponSanitizeShadowNode, f, null), es(f, a), rs(f), nt(f.content) && Zt(f.content), (_ ? _(f) : f.nodeType) === ce.element) {
4173
+ const v = S(f);
4174
+ nt(v) && (Un(v), Zt(v));
4178
4175
  }
4179
- ke(F.afterSanitizeShadowDOM, a, null);
4180
- }, Bn = function(a) {
4176
+ Te(H.afterSanitizeShadowDOM, a, null);
4177
+ }, Un = function(a) {
4181
4178
  const f = [{
4182
4179
  node: a,
4183
4180
  shadow: null
@@ -4185,224 +4182,224 @@ function Di() {
4185
4182
  for (; f.length > 0; ) {
4186
4183
  const g = f.pop();
4187
4184
  if (g.shadow) {
4188
- Xt(g.shadow);
4185
+ Zt(g.shadow);
4189
4186
  continue;
4190
4187
  }
4191
- const E = g.node, N = (y ? y(E) : E.nodeType) === ce.element, B = k(E);
4192
- if (B)
4193
- for (let te = B.length - 1; te >= 0; --te)
4188
+ const T = g.node, R = (_ ? _(T) : T.nodeType) === ce.element, G = $(T);
4189
+ if (G)
4190
+ for (let re = G.length - 1; re >= 0; --re)
4194
4191
  f.push({
4195
- node: B[te],
4192
+ node: G[re],
4196
4193
  shadow: null
4197
4194
  });
4198
- if (N) {
4199
- const te = T ? T(E) : null;
4200
- if (typeof te == "string" && z(te) === "template") {
4201
- const be = E.content;
4202
- nt(be) && f.push({
4203
- node: be,
4195
+ if (R) {
4196
+ const re = E ? E(T) : null;
4197
+ if (typeof re == "string" && F(re) === "template") {
4198
+ const ge = T.content;
4199
+ nt(ge) && f.push({
4200
+ node: ge,
4204
4201
  shadow: null
4205
4202
  });
4206
4203
  }
4207
4204
  }
4208
- if (N) {
4209
- const te = O(E);
4210
- nt(te) && f.push({
4205
+ if (R) {
4206
+ const re = S(T);
4207
+ nt(re) && f.push({
4211
4208
  node: null,
4212
- shadow: te
4209
+ shadow: re
4213
4210
  }, {
4214
- node: te,
4211
+ node: re,
4215
4212
  shadow: null
4216
4213
  });
4217
4214
  }
4218
4215
  }
4219
4216
  };
4220
- return e.sanitize = function(_) {
4221
- let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = null, g = null, E = null, R = null;
4222
- if (Ln = !_, Ln && (_ = "<!-->"), typeof _ != "string" && !Tt(_) && (_ = Bl(_), typeof _ != "string"))
4217
+ return e.sanitize = function(b) {
4218
+ let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = null, g = null, T = null, v = null;
4219
+ if (Pn = !b, Pn && (b = "<!-->"), typeof b != "string" && !Tt(b) && (b = Ul(b), typeof b != "string"))
4223
4220
  throw We("dirty is not a string, aborting");
4224
4221
  if (!e.isSupported)
4225
- return _;
4226
- On ? (V = Nn, H = In) : Vn(a), (F.uponSanitizeElement.length > 0 || F.uponSanitizeAttribute.length > 0) && (V = se(V)), F.uponSanitizeAttribute.length > 0 && (H = se(H)), e.removed = [];
4227
- const N = Mn && typeof _ != "string" && Tt(_);
4228
- if (N) {
4229
- eo(_);
4230
- const ae = T ? T(_) : _.nodeName;
4231
- if (typeof ae == "string") {
4232
- const ye = z(ae);
4233
- if (!V[ye] || wt[ye])
4234
- throw Kt(_), We("root node is forbidden and cannot be sanitized in-place");
4222
+ return b;
4223
+ Rn ? (U = On, B = Nn) : Fn(a), (H.uponSanitizeElement.length > 0 || H.uponSanitizeAttribute.length > 0) && (U = ie(U)), H.uponSanitizeAttribute.length > 0 && (B = ie(B)), e.removed = [];
4224
+ const R = Cn && typeof b != "string" && Tt(b);
4225
+ if (R) {
4226
+ eo(b);
4227
+ const le = E ? E(b) : b.nodeName;
4228
+ if (typeof le == "string") {
4229
+ const me = F(le);
4230
+ if (!U[me] || wt[me])
4231
+ throw qt(b), We("root node is forbidden and cannot be sanitized in-place");
4235
4232
  }
4236
- if (Zt(_))
4237
- throw Kt(_), We("root node is clobbered and cannot be sanitized in-place");
4233
+ if (Yt(b))
4234
+ throw qt(b), We("root node is clobbered and cannot be sanitized in-place");
4238
4235
  try {
4239
- Bn(_);
4240
- } catch (ye) {
4241
- throw Kt(_), ye;
4236
+ Un(b);
4237
+ } catch (me) {
4238
+ throw qt(b), me;
4242
4239
  }
4243
- } else if (Tt(_))
4244
- f = Jr("<!---->"), g = f.ownerDocument.importNode(_, !0), g.nodeType === ce.element && g.nodeName === "BODY" || g.nodeName === "HTML" ? f = g : f.appendChild(g), Bn(g);
4240
+ } else if (Tt(b))
4241
+ f = Qr("<!---->"), g = f.ownerDocument.importNode(b, !0), g.nodeType === ce.element && g.nodeName === "BODY" || g.nodeName === "HTML" ? f = g : f.appendChild(g), Un(g);
4245
4242
  else {
4246
- if (!Qe && !Pe && !Ue && // eslint-disable-next-line unicorn/prefer-includes
4247
- _.indexOf("<") === -1)
4248
- return x && Wt ? D(_) : _;
4249
- if (f = Jr(_), !f)
4250
- return Qe ? null : Wt ? A : "";
4243
+ if (!Qe && !$e && !Ue && // eslint-disable-next-line unicorn/prefer-includes
4244
+ b.indexOf("<") === -1)
4245
+ return k && Bt ? C(b) : b;
4246
+ if (f = Qr(b), !f)
4247
+ return Qe ? null : Bt ? x : "";
4251
4248
  }
4252
- f && Dn && Le(f.firstChild);
4253
- const B = N ? _ : f, te = es(B);
4249
+ f && In && Le(f.firstChild);
4250
+ const G = R ? b : f, re = Jr(G);
4254
4251
  try {
4255
- for (; E = te.nextNode(); )
4256
- ts(E, B), ss(E), nt(E.content) && Xt(E.content);
4257
- } catch (ae) {
4258
- throw N && (Kt(_), st(e.removed, (ye) => {
4259
- ye.element && Hn(ye.element);
4260
- })), ae;
4252
+ for (; T = re.nextNode(); )
4253
+ es(T, G), rs(T), nt(T.content) && Zt(T.content);
4254
+ } catch (le) {
4255
+ throw R && (qt(b), st(e.removed, (me) => {
4256
+ me.element && Vn(me.element);
4257
+ })), le;
4261
4258
  }
4262
- if (N)
4263
- return st(e.removed, (ae) => {
4264
- ae.element && Hn(ae.element);
4265
- }), Pe && Un(_), _;
4259
+ if (R)
4260
+ return st(e.removed, (le) => {
4261
+ le.element && Vn(le.element);
4262
+ }), $e && Hn(b), b;
4266
4263
  if (Qe) {
4267
- if (Pe && Un(f), Bt)
4268
- for (R = Mi.call(f.ownerDocument); f.firstChild; )
4269
- R.appendChild(f.firstChild);
4264
+ if ($e && Hn(f), Ut)
4265
+ for (v = Mi.call(f.ownerDocument); f.firstChild; )
4266
+ v.appendChild(f.firstChild);
4270
4267
  else
4271
- R = f;
4272
- return (H.shadowroot || H.shadowrootmode) && (R = $i.call(r, R, !0)), R;
4268
+ v = f;
4269
+ return (B.shadowroot || B.shadowrootmode) && (v = Pi.call(r, v, !0)), v;
4273
4270
  }
4274
- let be = Ue ? f.outerHTML : f.innerHTML;
4275
- return Ue && V["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && K(tc, f.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
4276
- ` + be), Pe && (be = Yt(be)), x && Wt ? D(be) : be;
4271
+ let ge = Ue ? f.outerHTML : f.innerHTML;
4272
+ return Ue && U["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && Z(ec, f.ownerDocument.doctype.name) && (ge = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
4273
+ ` + ge), $e && (ge = Kt(ge)), k && Bt ? C(ge) : ge;
4277
4274
  }, e.setConfig = function() {
4278
- let _ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4279
- Vn(_), On = !0, Nn = V, In = H;
4275
+ let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4276
+ Fn(b), Rn = !0, On = U, Nn = B;
4280
4277
  }, e.clearConfig = function() {
4281
- tt = null, On = !1, Nn = null, In = null, x = L, A = "";
4282
- }, e.isValidAttribute = function(_, a, f) {
4283
- tt || Vn({});
4284
- const g = z(_), E = z(a);
4285
- return ns(g, E, f);
4286
- }, e.addHook = function(_, a) {
4287
- typeof a == "function" && Y(F, _) && it(F[_], a);
4288
- }, e.removeHook = function(_, a) {
4289
- if (Y(F, _)) {
4278
+ tt = null, Rn = !1, On = null, Nn = null, k = I, x = "";
4279
+ }, e.isValidAttribute = function(b, a, f) {
4280
+ tt || Fn({});
4281
+ const g = F(b), T = F(a);
4282
+ return ts(g, T, f);
4283
+ }, e.addHook = function(b, a) {
4284
+ typeof a == "function" && X(H, b) && it(H[b], a);
4285
+ }, e.removeHook = function(b, a) {
4286
+ if (X(H, b)) {
4290
4287
  if (a !== void 0) {
4291
- const f = Ll(F[_], a);
4292
- return f === -1 ? void 0 : zl(F[_], f, 1)[0];
4288
+ const f = Pl(H[b], a);
4289
+ return f === -1 ? void 0 : Ll(H[b], f, 1)[0];
4293
4290
  }
4294
- return ws(F[_]);
4291
+ return ys(H[b]);
4295
4292
  }
4296
- }, e.removeHooks = function(_) {
4297
- Y(F, _) && (F[_] = []);
4293
+ }, e.removeHooks = function(b) {
4294
+ X(H, b) && (H[b] = []);
4298
4295
  }, e.removeAllHooks = function() {
4299
- F = Ds();
4296
+ H = Is();
4300
4297
  }, e;
4301
4298
  }
4302
- var ac = Di();
4303
- const lc = {
4299
+ var oc = Ii();
4300
+ const ac = {
4304
4301
  tooltipAttributes: {
4305
4302
  maxWidth: "300px",
4306
4303
  placement: "top"
4307
4304
  }
4308
4305
  };
4309
- function Ci(t, e = "") {
4306
+ function Di(t, e = "") {
4310
4307
  const n = {}, r = t;
4311
- return Array.isArray(r.fields) ? Object.assign(n, Sn(r, e)) : t.type === "array" && t.elements ? Object.assign(n, vn(t, e)) : t.type === "map" && t.values && Object.assign(n, An(t, e)), n;
4308
+ return Array.isArray(r.fields) ? Object.assign(n, kn(r, e)) : t.type === "array" && t.elements ? Object.assign(n, xn(t, e)) : t.type === "map" && t.values && Object.assign(n, Sn(t, e)), n;
4312
4309
  }
4313
- function Sn(t, e = "") {
4310
+ function kn(t, e = "") {
4314
4311
  const n = {};
4315
4312
  if (Array.isArray(t.fields))
4316
4313
  for (const r of t.fields) {
4317
- const s = Object.keys(r)[0], i = r[s], o = e ? j(e, s) : s;
4314
+ const s = Object.keys(r)[0], i = r[s], o = e ? V(e, s) : s;
4318
4315
  if (n[o] = i, i.type === "record" && Array.isArray(i.fields)) {
4319
- const l = Sn(i, o);
4316
+ const l = kn(i, o);
4320
4317
  Object.assign(n, l);
4321
4318
  } else if (i.type === "array" && i.elements) {
4322
- const l = vn(i, o);
4319
+ const l = xn(i, o);
4323
4320
  Object.assign(n, l);
4324
4321
  } else if (i.type === "map" && i.values) {
4325
- const l = An(i, o);
4322
+ const l = Sn(i, o);
4326
4323
  Object.assign(n, l);
4327
4324
  }
4328
4325
  }
4329
4326
  return n;
4330
4327
  }
4331
- function vn(t, e = "") {
4328
+ function xn(t, e = "") {
4332
4329
  const n = {};
4333
4330
  if (t.elements) {
4334
- const r = t.elements, s = j(e, bi);
4331
+ const r = t.elements, s = V(e, _i);
4335
4332
  if (n[s] = r, r.type === "record" && Array.isArray(r.fields)) {
4336
- const i = Sn(r, s);
4333
+ const i = kn(r, s);
4337
4334
  Object.assign(n, i);
4338
4335
  } else if (r.type === "array" && r.elements) {
4339
- const i = vn(r, s);
4336
+ const i = xn(r, s);
4340
4337
  Object.assign(n, i);
4341
4338
  } else if (r.type === "map" && r.values) {
4342
- const i = An(r, s);
4339
+ const i = Sn(r, s);
4343
4340
  Object.assign(n, i);
4344
4341
  }
4345
4342
  }
4346
4343
  return n;
4347
4344
  }
4348
- function An(t, e = "") {
4349
- const n = {}, r = j(e, xr);
4345
+ function Sn(t, e = "") {
4346
+ const n = {}, r = V(e, xr);
4350
4347
  if (n[r] = t.values, t.values.type === "record" && Array.isArray(t.values.fields)) {
4351
- const s = Sn(t.values, r);
4348
+ const s = kn(t.values, r);
4352
4349
  Object.assign(n, s);
4353
4350
  } else if ((t.values.type === "array" || t.values.type === "set") && t.values.elements) {
4354
- const s = vn(t.values, r);
4351
+ const s = xn(t.values, r);
4355
4352
  Object.assign(n, s);
4356
4353
  } else if (t.values.type === "map" && t.values.values) {
4357
- const s = An(t.values, r);
4354
+ const s = Sn(t.values, r);
4358
4355
  Object.assign(n, s);
4359
4356
  }
4360
4357
  return n;
4361
4358
  }
4362
- function Ut(t, e) {
4363
- const n = It(t), r = [];
4359
+ function mt(t, e) {
4360
+ const n = lt(t), r = [];
4364
4361
  for (let s = 0; s < n.length; s++) {
4365
- const i = n[s], o = r.length > 0 ? j(...r) : "", l = o ? e[o] : void 0;
4366
- l?.type === "map" ? r.push(xr) : l?.type === "array" ? r.push(bi) : r.push(i);
4362
+ const i = n[s], o = r.length > 0 ? V(...r) : "", l = o ? e[o] : void 0;
4363
+ l?.type === "map" ? r.push(xr) : l?.type === "array" ? r.push(_i) : r.push(i);
4367
4364
  }
4368
- return j(...r);
4365
+ return V(...r);
4369
4366
  }
4370
- function cc(t) {
4371
- const e = le(t), n = cr(() => e ? Ci(e) : {});
4367
+ function lc(t) {
4368
+ const e = _e(t), n = on(() => e ? Di(e) : {});
4372
4369
  function r(d) {
4373
4370
  if (d) {
4374
- let m = Ut(d, n.value || {});
4375
- return m.startsWith(`${ht}${kn}`) && (m = m.slice(2)), n.value?.[m];
4371
+ let m = mt(d, n.value || {});
4372
+ return m.startsWith(`${ut}${En}`) && (m = m.slice(2)), n.value?.[m];
4376
4373
  }
4377
4374
  return e;
4378
4375
  }
4379
4376
  function s(d, m = !1) {
4380
- const b = r(d);
4381
- if (!b)
4377
+ const y = r(d);
4378
+ if (!y)
4382
4379
  return null;
4383
- if (b.default !== void 0)
4384
- return b.default;
4385
- if (!b.auto)
4386
- return m || b.required ? b.type === "record" ? i(b, d) : b.type === "array" ? [] : b.type === "map" ? {} : null : null;
4380
+ if (y.default !== void 0)
4381
+ return y.default;
4382
+ if (!y.auto)
4383
+ return m || y.required ? y.type === "record" ? i(y, d) : y.type === "array" ? [] : y.type === "map" ? {} : null : null;
4387
4384
  }
4388
4385
  function i(d, m) {
4389
- const b = {};
4386
+ const y = {};
4390
4387
  if (Array.isArray(d.fields))
4391
- for (const w of d.fields) {
4392
- const k = Object.keys(w)[0], v = m ? `${m}.${k}` : k, O = s(v, !1);
4393
- O !== void 0 && (b[k] = O);
4388
+ for (const O of d.fields) {
4389
+ const $ = Object.keys(O)[0], w = m ? `${m}.${$}` : $, S = s(w, !1);
4390
+ S !== void 0 && (y[$] = S);
4394
4391
  }
4395
- return b;
4392
+ return y;
4396
4393
  }
4397
4394
  function o(d) {
4398
4395
  return d ? s(d, !0) : i(r(), "");
4399
4396
  }
4400
4397
  function l(d) {
4401
- const m = r(d), b = m?.description ? ac.sanitize(P.parse(m.description, { async: !1 })) : void 0;
4398
+ const m = r(d), y = m?.description ? oc.sanitize(L.parse(m.description, { async: !1 })) : void 0;
4402
4399
  return {
4403
- ...lc,
4400
+ ...ac,
4404
4401
  "data-testid": `ff-label-${d}`,
4405
- info: b
4402
+ info: y
4406
4403
  };
4407
4404
  }
4408
4405
  function c(d) {
@@ -4410,21 +4407,21 @@ function cc(t) {
4410
4407
  return Ba(m?.one_of || m.elements?.one_of || []);
4411
4408
  }
4412
4409
  function p(d) {
4413
- const m = r(d), b = m?.default;
4414
- let w = null;
4415
- if (m?.type === "foreign" && b?.id)
4416
- w = b.id;
4410
+ const m = r(d), y = m?.default;
4411
+ let O = null;
4412
+ if (m?.type === "foreign" && y?.id)
4413
+ O = y.id;
4417
4414
  else {
4418
- if (b == null || typeof b == "object" || b === "")
4415
+ if (y == null || typeof y == "object" || y === "")
4419
4416
  return null;
4420
- if (Array.isArray(b)) {
4421
- if (b.length === 0)
4417
+ if (Array.isArray(y)) {
4418
+ if (y.length === 0)
4422
4419
  return null;
4423
- w = b.join(", ");
4420
+ O = y.join(", ");
4424
4421
  } else
4425
- w = b.toString();
4422
+ O = y.toString();
4426
4423
  }
4427
- return `Default: ${w}`;
4424
+ return `Default: ${O}`;
4428
4425
  }
4429
4426
  function h() {
4430
4427
  return n.value;
@@ -4442,215 +4439,218 @@ function cc(t) {
4442
4439
  getEmptyOrDefault: u
4443
4440
  };
4444
4441
  }
4445
- const dt = /* @__PURE__ */ new WeakMap(), uc = /* @__NO_SIDE_EFFECTS__ */ (...t) => {
4442
+ const gt = /* @__PURE__ */ new WeakMap(), cc = /* @__NO_SIDE_EFFECTS__ */ (...t) => {
4446
4443
  var e;
4447
- const n = t[0], r = (e = _t()) === null || e === void 0 ? void 0 : e.proxy, s = r ?? zs();
4444
+ const n = t[0], r = (e = yt()) === null || e === void 0 ? void 0 : e.proxy, s = r ?? Ls();
4448
4445
  if (s == null && !pa()) throw new Error("injectLocal must be called in setup");
4449
- return s && dt.has(s) && n in dt.get(s) ? dt.get(s)[n] : ai(...t);
4446
+ return s && gt.has(s) && n in gt.get(s) ? gt.get(s)[n] : oi(...t);
4450
4447
  };
4451
- function fc(t, e) {
4448
+ function uc(t, e) {
4452
4449
  var n;
4453
- const r = (n = _t()) === null || n === void 0 ? void 0 : n.proxy, s = r ?? zs();
4450
+ const r = (n = yt()) === null || n === void 0 ? void 0 : n.proxy, s = r ?? Ls();
4454
4451
  if (s == null) throw new Error("provideLocal must be called in setup");
4455
- dt.has(s) || dt.set(s, /* @__PURE__ */ Object.create(null));
4456
- const i = dt.get(s);
4457
- return i[t] = e, oi(t, e);
4452
+ gt.has(s) || gt.set(s, /* @__PURE__ */ Object.create(null));
4453
+ const i = gt.get(s);
4454
+ return i[t] = e, ii(t, e);
4458
4455
  }
4459
- function pc(t, e) {
4456
+ function fc(t, e) {
4460
4457
  const n = Symbol(t.name || "InjectionState"), r = void 0;
4461
4458
  return [(...o) => {
4462
4459
  const l = t(...o);
4463
- return fc(n, l), l;
4464
- }, () => /* @__PURE__ */ uc(n, r)];
4460
+ return uc(n, l), l;
4461
+ }, () => /* @__PURE__ */ cc(n, r)];
4465
4462
  }
4466
4463
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
4467
- const Cs = /* @__PURE__ */ Symbol("ff-render-rule-exact-match");
4464
+ const Ds = /* @__PURE__ */ Symbol("ff-render-rule-exact-match");
4465
+ function pc(t, e) {
4466
+ return typeof e == "object" && e !== null && Ds in e ? rn(t, e[Ds]) : Array.isArray(e) ? e.some((r) => rn(t, r)) : rn(t, e);
4467
+ }
4468
4468
  function hc(t, e) {
4469
- const n = /* @__PURE__ */ or({}), r = /* @__PURE__ */ or(/* @__PURE__ */ new Set());
4470
- function s(w, k) {
4471
- const v = w.map((S) => It(S).length), O = v[0];
4472
- if (!v.every((S) => S === O)) {
4473
- const S = w.map((y, T) => ` - '${y}' is at level ${v[T]}`).join(`
4469
+ const n = /* @__PURE__ */ or({}), r = /* @__PURE__ */ or({});
4470
+ function s(w, S) {
4471
+ const A = w.map((E) => lt(E).length), _ = A[0];
4472
+ if (!A.every((E) => E === _)) {
4473
+ const E = w.map((k, x) => ` - '${k}' is at level ${A[x]}`).join(`
4474
4474
  `);
4475
4475
  throw new Error(
4476
- `${k}: Fields must be at the same level. Found mixed levels:
4477
- ${S}`
4476
+ `${S}: Fields must be at the same level. Found mixed levels:
4477
+ ${E}`
4478
4478
  );
4479
4479
  }
4480
4480
  }
4481
4481
  function i(w) {
4482
- for (const [k, v] of Object.entries(w)) {
4483
- if (!v.bundles) continue;
4484
- for (const S of v.bundles)
4485
- if (new Set(S).size !== S.length) {
4486
- const T = S.filter((x, A) => S.indexOf(x) !== A);
4482
+ for (const [S, A] of Object.entries(w)) {
4483
+ if (!A.bundles) continue;
4484
+ for (const E of A.bundles)
4485
+ if (new Set(E).size !== E.length) {
4486
+ const x = E.filter((I, M) => E.indexOf(I) !== M);
4487
4487
  throw new Error(
4488
- `Self-cycle detected in bundle: field '${T[0]}' appears multiple times in [${S.join(", ")}]`
4488
+ `Self-cycle detected in bundle: field '${x[0]}' appears multiple times in [${E.join(", ")}]`
4489
4489
  );
4490
4490
  }
4491
- const O = /* @__PURE__ */ new Map();
4492
- for (const S of v.bundles)
4493
- for (let y = 1; y < S.length; y++) {
4494
- const T = S[y], x = S[y - 1];
4495
- O.has(T) || O.set(T, /* @__PURE__ */ new Set()), O.get(T).add(x);
4491
+ const _ = /* @__PURE__ */ new Map();
4492
+ for (const E of A.bundles)
4493
+ for (let k = 1; k < E.length; k++) {
4494
+ const x = E[k], I = E[k - 1];
4495
+ _.has(x) || _.set(x, /* @__PURE__ */ new Set()), _.get(x).add(I);
4496
4496
  }
4497
- for (const S of O.keys()) {
4498
- let y = function(A) {
4499
- if (x.includes(A)) {
4500
- const ne = [...x, A].join(" -> ");
4497
+ for (const E of _.keys()) {
4498
+ let k = function(M) {
4499
+ if (I.includes(M)) {
4500
+ const ye = [...I, M].join(" -> ");
4501
4501
  throw new Error(
4502
- `Circular bundle detected in path '${k}':
4503
- ${ne}`
4502
+ `Circular bundle detected in path '${S}':
4503
+ ${ye}`
4504
4504
  );
4505
4505
  }
4506
- if (T.has(A)) return;
4507
- T.add(A), x.push(A);
4508
- const L = O.get(A);
4509
- if (L)
4510
- for (const ne of L)
4511
- y(ne);
4512
- x.pop();
4506
+ if (x.has(M)) return;
4507
+ x.add(M), I.push(M);
4508
+ const j = _.get(M);
4509
+ if (j)
4510
+ for (const ye of j)
4511
+ k(ye);
4512
+ I.pop();
4513
4513
  };
4514
- const T = /* @__PURE__ */ new Set(), x = [];
4515
- y(S);
4514
+ const x = /* @__PURE__ */ new Set(), I = [];
4515
+ k(E);
4516
4516
  }
4517
4517
  }
4518
4518
  }
4519
4519
  function o(w) {
4520
- for (const [k, v] of Object.entries(w))
4521
- if (v.dependencies)
4522
- for (const O of Object.keys(v.dependencies)) {
4523
- let S = function(x) {
4524
- if (T.includes(x)) {
4525
- const L = [...T, x].join(" -> ");
4520
+ for (const [S, A] of Object.entries(w))
4521
+ if (A.dependencies)
4522
+ for (const _ of Object.keys(A.dependencies)) {
4523
+ let E = function(I) {
4524
+ if (x.includes(I)) {
4525
+ const j = [...x, I].join(" -> ");
4526
4526
  throw new Error(
4527
- `Circular dependency detected in path '${k}':
4528
- ${L}`
4527
+ `Circular dependency detected in path '${S}':
4528
+ ${j}`
4529
4529
  );
4530
4530
  }
4531
- if (y.has(x)) return;
4532
- y.add(x), T.push(x);
4533
- const A = v.dependencies[x];
4534
- if (A) {
4535
- const [L] = A;
4536
- v.dependencies[L] && S(L);
4531
+ if (k.has(I)) return;
4532
+ k.add(I), x.push(I);
4533
+ const M = A.dependencies[I];
4534
+ if (M) {
4535
+ const [j] = M;
4536
+ A.dependencies[j] && E(j);
4537
4537
  }
4538
- T.pop();
4538
+ x.pop();
4539
4539
  };
4540
- const y = /* @__PURE__ */ new Set(), T = [];
4541
- S(O);
4540
+ const k = /* @__PURE__ */ new Set(), x = [];
4541
+ E(_);
4542
4542
  }
4543
4543
  }
4544
- function l(w, k) {
4545
- const v = w.map((S) => k ? j(k, S) : S), O = It(v[0]);
4546
- return O.pop(), j(...O);
4544
+ function l(w, S) {
4545
+ const A = w.map((E) => S ? V(S, E) : E), _ = lt(A[0]);
4546
+ return _.pop(), V(..._);
4547
4547
  }
4548
- function c(w, k) {
4549
- if (!k) return w;
4550
- const v = `${k}${kn}`;
4551
- return w.startsWith(v) ? w.slice(v.length) : w;
4548
+ function c(w, S) {
4549
+ if (!S) return w;
4550
+ const A = `${S}${En}`;
4551
+ return w.startsWith(A) ? w.slice(A.length) : w;
4552
4552
  }
4553
4553
  function p(w) {
4554
- const k = It(w);
4555
- return k.pop(), j(...k);
4554
+ const S = lt(w);
4555
+ return S.pop(), V(...S);
4556
4556
  }
4557
- const h = cr(() => {
4557
+ function h() {
4558
4558
  const w = {};
4559
- for (const [k, v] of Object.entries(n.value)) {
4560
- const O = k === ht ? "" : k;
4561
- if (v.bundles)
4562
- for (const S of v.bundles) {
4563
- if (S.length < 2)
4559
+ for (const [S, A] of Object.entries(n.value)) {
4560
+ const _ = S === ut ? "" : S;
4561
+ if (A.bundles)
4562
+ for (const E of A.bundles) {
4563
+ if (E.length < 2)
4564
4564
  throw new Error(
4565
- `Bundle must contain at least 2 fields. Found ${S.length} field(s) in bundle: [${S.join(", ")}]`
4565
+ `Bundle must contain at least 2 fields. Found ${E.length} field(s) in bundle: [${E.join(", ")}]`
4566
4566
  );
4567
- const y = S.map((A) => O ? j(O, A) : A);
4568
- s(y, `Bundle [${S.join(", ")}]`);
4569
- const T = l(S, O) || ht;
4570
- w[T] || (w[T] = {}), w[T].bundles || (w[T].bundles = []);
4571
- const x = y.map((A) => c(A, T));
4572
- w[T].bundles.push(x);
4567
+ const k = E.map((M) => _ ? V(_, M) : M);
4568
+ s(k, `Bundle [${E.join(", ")}]`);
4569
+ const x = l(E, _) || ut;
4570
+ w[x] || (w[x] = {}), w[x].bundles || (w[x].bundles = []);
4571
+ const I = k.map((M) => c(M, x));
4572
+ w[x].bundles.push(I);
4573
4573
  }
4574
- if (v.dependencies)
4575
- for (const [S, [y, T]] of Object.entries(v.dependencies)) {
4576
- const x = O ? j(O, S) : S, A = O ? j(O, y) : y;
4574
+ if (A.dependencies)
4575
+ for (const [E, [k, x]] of Object.entries(A.dependencies)) {
4576
+ const I = _ ? V(_, E) : E, M = _ ? V(_, k) : k;
4577
4577
  s(
4578
- [x, A],
4579
- `Dependency '${S}' -> '${y}'`
4578
+ [I, M],
4579
+ `Dependency '${E}' -> '${k}'`
4580
4580
  );
4581
- const L = p(x) || ht;
4582
- w[L] || (w[L] = {}), w[L].dependencies || (w[L].dependencies = {});
4583
- const ne = c(x, L), me = c(A, L);
4584
- w[L].dependencies[ne] = [me, T];
4581
+ const j = p(I) || ut;
4582
+ w[j] || (w[j] = {}), w[j].dependencies || (w[j].dependencies = {});
4583
+ const ye = c(I, j), C = c(M, j);
4584
+ w[j].dependencies[ye] = [C, x];
4585
4585
  }
4586
4586
  }
4587
4587
  return i(w), o(w), w;
4588
+ }
4589
+ const u = on(() => {
4590
+ try {
4591
+ return h();
4592
+ } catch (w) {
4593
+ return console.error("Invalid render rules:", w instanceof Error ? w.message : String(w)), {};
4594
+ }
4588
4595
  });
4589
- function u(w) {
4596
+ function d(w) {
4590
4597
  if (!w)
4591
- return h.value;
4592
- const k = Ut(w, e());
4593
- return h.value[k];
4598
+ return u.value;
4599
+ const S = mt(w, t());
4600
+ return u.value[S];
4594
4601
  }
4595
- function d(w) {
4596
- let k = !1;
4597
- return cr(() => {
4598
- if (k) return;
4599
- const v = le(w);
4602
+ function m(w) {
4603
+ let S = !1;
4604
+ return on(() => {
4605
+ if (S) return;
4606
+ const A = _e(w);
4600
4607
  try {
4601
- return u(v);
4602
- } catch (O) {
4603
- k = !0, console.error(`Failed to get render rules for path: \`${v}\`,`, O instanceof Error ? O.message : "");
4608
+ return d(A);
4609
+ } catch (_) {
4610
+ S = !0, console.error(`Failed to get render rules for path: \`${A}\`,`, _ instanceof Error ? _.message : "");
4604
4611
  return;
4605
4612
  }
4606
4613
  });
4607
4614
  }
4608
- function m(w) {
4615
+ const y = on(
4616
+ () => Object.values(u.value).some(
4617
+ (w) => w.dependencies && Object.keys(w.dependencies).length > 0
4618
+ )
4619
+ );
4620
+ function O(w) {
4609
4621
  const {
4610
- fieldPath: k,
4611
- rules: v,
4612
- parentValue: O,
4613
- omittedFields: S
4622
+ fieldPath: S,
4623
+ rules: A,
4624
+ omittedFields: _
4614
4625
  } = w;
4615
- hn([
4616
- () => le(v),
4617
- () => le(k)
4618
- ], ([T, x], [, A]) => {
4619
- T ? n.value[x] = T : delete n.value[x], A && A !== x && delete n.value[A];
4626
+ lr([
4627
+ () => _e(A),
4628
+ () => _e(S),
4629
+ () => _e(_)
4630
+ ], ([k, x, I], [, M]) => {
4631
+ k ? n.value[x] = k : delete n.value[x], I && I.length ? r.value[x] = [...I] : delete r.value[x], M && M !== x && (delete n.value[M], delete r.value[M]);
4620
4632
  }, { immediate: !0, deep: !0 });
4621
- const y = d(k);
4622
- return hn(
4623
- [
4624
- () => le(O),
4625
- () => le(y)?.dependencies,
4626
- () => le(k),
4627
- () => le(S)
4628
- ],
4629
- ([T, x, A, L]) => {
4630
- !x || !T || Object.entries(x).forEach(([ne, [me, pe]]) => {
4631
- if (L?.includes(ne)) return;
4632
- const D = Ms(T, me), _e = A ? Wa(j(A, ne)) : ne;
4633
- if (typeof pe == "object" && pe !== null && Cs in pe ? sn(D, pe[Cs]) : Array.isArray(pe) ? pe.some((yt) => sn(D, yt)) : sn(D, pe)) {
4634
- r.value.delete(_e), t();
4635
- return;
4636
- }
4637
- r.value.add(_e), t();
4638
- });
4639
- },
4640
- { deep: !0, immediate: !0 }
4641
- ), ya(() => {
4642
- const T = le(k);
4643
- delete n.value[T];
4644
- }), y;
4645
- }
4646
- function b(w) {
4647
- return r.value.has(w);
4633
+ const E = m(S);
4634
+ return ya(() => {
4635
+ const k = _e(S);
4636
+ delete n.value[k], delete r.value[k];
4637
+ }), E;
4638
+ }
4639
+ function $(w) {
4640
+ const S = lt(w);
4641
+ if (!S.length) return !1;
4642
+ const A = S[S.length - 1], _ = V(...S.slice(0, -1));
4643
+ if (r.value[_]?.includes(A)) return !1;
4644
+ const E = _ === "" ? ut : mt(_, t()), k = u.value[E]?.dependencies?.[A];
4645
+ if (!k) return !1;
4646
+ const [x, I] = k, M = _ ? V(_, x) : x, j = Cs(e(), lt(M));
4647
+ return !pc(j, I);
4648
4648
  }
4649
4649
  return {
4650
- useCurrentRules: m,
4651
- createComputedRules: d,
4652
- hiddenPaths: /* @__PURE__ */ cn(r),
4653
- isFieldHidden: b
4650
+ useCurrentRules: O,
4651
+ createComputedRules: m,
4652
+ hasDependencies: y,
4653
+ isFieldHidden: $
4654
4654
  };
4655
4655
  }
4656
4656
  let dc = 0;
@@ -4658,7 +4658,7 @@ function gc() {
4658
4658
  return `kid:${++dc}`;
4659
4659
  }
4660
4660
  function mc(t) {
4661
- const e = /* @__PURE__ */ En(/* @__PURE__ */ new Map());
4661
+ const e = /* @__PURE__ */ yn(/* @__PURE__ */ new Map());
4662
4662
  function n(p = "") {
4663
4663
  const h = gc();
4664
4664
  return e.set(h, p), h;
@@ -4697,19 +4697,19 @@ function _c(t, e, n) {
4697
4697
  return s;
4698
4698
  if (Array.isArray(s))
4699
4699
  return s.map((c, p) => {
4700
- const h = i ? j(i, `${p}`) : `${p}`;
4700
+ const h = i ? V(i, `${p}`) : `${p}`;
4701
4701
  return r(c, h);
4702
4702
  });
4703
4703
  if ((i ? e(i) : e())?.type === "map") {
4704
4704
  const c = s, p = {};
4705
4705
  return Object.keys(c).forEach((h) => {
4706
- const u = n(h), d = c[h], m = i ? j(i, h) : h;
4706
+ const u = n(h), d = c[h], m = i ? V(i, h) : h;
4707
4707
  p[u] = r(d, m);
4708
4708
  }), p;
4709
4709
  }
4710
4710
  const l = {};
4711
4711
  return Object.keys(s).forEach((c) => {
4712
- const p = i ? j(i, c) : c;
4712
+ const p = i ? V(i, c) : c;
4713
4713
  l[c] = r(s[c], p);
4714
4714
  }), l;
4715
4715
  };
@@ -4721,7 +4721,7 @@ function bc(t, e, n) {
4721
4721
  return s;
4722
4722
  if (Array.isArray(s))
4723
4723
  return s.map((c, p) => {
4724
- const h = i ? j(i, `${p}`) : `${p}`;
4724
+ const h = i ? V(i, `${p}`) : `${p}`;
4725
4725
  return r(c, h);
4726
4726
  });
4727
4727
  if ((i ? e(i) : e())?.type === "map") {
@@ -4732,19 +4732,19 @@ function bc(t, e, n) {
4732
4732
  console.error(`[FreeForm] Missing name for key ID: ${String(u)}`);
4733
4733
  return;
4734
4734
  }
4735
- const b = m || xr, w = i ? j(i, b) : b;
4736
- p[m] = r(d, w);
4735
+ const y = m || xr, O = i ? V(i, y) : y;
4736
+ p[m] = r(d, O);
4737
4737
  }), p;
4738
4738
  }
4739
4739
  const l = {};
4740
4740
  return Object.keys(s).forEach((c) => {
4741
- const p = i ? j(i, c) : c;
4741
+ const p = i ? V(i, c) : c;
4742
4742
  l[c] = r(s[c], p);
4743
4743
  }), l;
4744
4744
  };
4745
4745
  return r(t);
4746
4746
  }
4747
- pc(
4747
+ fc(
4748
4748
  function(e) {
4749
4749
  const {
4750
4750
  schema: n,
@@ -4756,53 +4756,52 @@ pc(
4756
4756
  getDefault: l,
4757
4757
  getEmptyOrDefault: c,
4758
4758
  ...p
4759
- } = cc(n), h = mc(p.getSchema), u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ En({}), m = /* @__PURE__ */ Wo(() => o ?? {}), b = Ta();
4760
- oi(Ka, oo(b, "default", Ya));
4759
+ } = lc(n), h = mc(p.getSchema), u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ yn({}), m = /* @__PURE__ */ Wo(() => o ?? {}), y = Ta();
4760
+ ii(qa, oo(y, "default", Ka));
4761
4761
  const {
4762
- useCurrentRules: w,
4763
- createComputedRules: k,
4764
- hiddenPaths: v,
4765
- isFieldHidden: O
4766
- } = hc(() => s?.(A()), p.getSchemaMap), S = w({
4767
- fieldPath: ht,
4768
- rules: i,
4769
- parentValue: d
4762
+ useCurrentRules: O,
4763
+ createComputedRules: $,
4764
+ hasDependencies: w,
4765
+ isFieldHidden: S
4766
+ } = hc(p.getSchemaMap, () => d), A = O({
4767
+ fieldPath: ut,
4768
+ rules: i
4770
4769
  });
4771
- function y(D) {
4772
- Object.keys(d).forEach((_e) => {
4773
- delete d[_e];
4774
- }), h.clear(), Object.assign(d, h.serialize(D));
4770
+ function _(C) {
4771
+ Object.keys(d).forEach((Ce) => {
4772
+ delete d[Ce];
4773
+ }), h.clear(), Object.assign(d, h.serialize(C));
4775
4774
  }
4776
- function T(D) {
4777
- let _e;
4778
- !D || !x(le(D)) ? _e = l() : _e = is(le(D)), os(m.value.prepareFormData) ? y(m.value.prepareFormData(_e)) : y(_e);
4775
+ function E(C) {
4776
+ let Ce;
4777
+ !C || !k(_e(C)) ? Ce = l() : Ce = ss(_e(C)), is(m.value.prepareFormData) ? _(m.value.prepareFormData(Ce)) : _(Ce);
4779
4778
  }
4780
- function x(D) {
4781
- return os(m.value.hasValue) ? m.value.hasValue(D) : !!D;
4779
+ function k(C) {
4780
+ return is(m.value.hasValue) ? m.value.hasValue(C) : !!C;
4782
4781
  }
4783
- function A() {
4784
- const D = is(le(d));
4785
- return v.value.size > 0 && yi(
4786
- D,
4787
- O,
4782
+ function x() {
4783
+ const C = ss(_e(d));
4784
+ return w.value && bi(
4785
+ C,
4786
+ S,
4788
4787
  c
4789
- ), h.deserialize(D);
4788
+ ), h.deserialize(C);
4790
4789
  }
4791
- hn(d, () => {
4792
- s?.(A());
4790
+ lr(d, () => {
4791
+ s?.(x());
4793
4792
  }, { deep: !0 });
4794
- let L = !1;
4795
- hn(() => r?.value, (D) => {
4796
- L && sn(A(), le(D)) || (T(D), L = !0);
4793
+ let I = !1;
4794
+ lr(() => r?.value, (C) => {
4795
+ I && rn(x(), _e(C)) || (E(C), I = !0);
4797
4796
  }, { deep: !0, immediate: !0 });
4798
- function ne(D) {
4799
- return D != null && typeof D == "object" && !Array.isArray(D) ? h.serialize(D) : D;
4797
+ function M(C) {
4798
+ return C != null && typeof C == "object" && !Array.isArray(C) ? h.serialize(C) : C;
4800
4799
  }
4801
- function me(D) {
4802
- return ne(l(D));
4800
+ function j(C) {
4801
+ return M(l(C));
4803
4802
  }
4804
- function pe(D) {
4805
- return ne(c(D));
4803
+ function ye(C) {
4804
+ return M(c(C));
4806
4805
  }
4807
4806
  return {
4808
4807
  /**
@@ -4812,21 +4811,21 @@ pc(
4812
4811
  schema: n,
4813
4812
  config: m,
4814
4813
  fieldRendererRegistry: u,
4815
- setValue: y,
4816
- useCurrentRenderRules: w,
4817
- rootRenderRules: S,
4818
- createComputedRenderRules: k,
4814
+ setValue: _,
4815
+ useCurrentRenderRules: O,
4816
+ rootRenderRules: A,
4817
+ createComputedRenderRules: $,
4819
4818
  ...p,
4820
- getValue: A,
4821
- isFieldHidden: O,
4819
+ getValue: x,
4820
+ isFieldHidden: S,
4822
4821
  keyIdMap: h,
4823
- getDefault: me,
4824
- getEmptyOrDefault: pe
4822
+ getDefault: j,
4823
+ getEmptyOrDefault: ye
4825
4824
  };
4826
4825
  }
4827
4826
  );
4828
4827
  function yc(t) {
4829
- if (qa(t)) return "enum";
4828
+ if (Ga(t)) return "enum";
4830
4829
  switch (t.type) {
4831
4830
  case "string":
4832
4831
  return "string";
@@ -4836,7 +4835,7 @@ function yc(t) {
4836
4835
  case "boolean":
4837
4836
  return "boolean";
4838
4837
  case "set":
4839
- return Ga(t) ? "tag" : "enum";
4838
+ return Wa(t) ? "tag" : "enum";
4840
4839
  case "array":
4841
4840
  return "array";
4842
4841
  case "record":
@@ -4853,9 +4852,9 @@ function yc(t) {
4853
4852
  }
4854
4853
  function* kc(t, e, n, r = "") {
4855
4854
  for (const s of t) {
4856
- const i = Object.keys(s)[0], o = r ? j(r, i) : i, l = Ms(e, i);
4855
+ const i = Object.keys(s)[0], o = r ? V(r, i) : i, l = Cs(e, i);
4857
4856
  if (l === void 0) continue;
4858
- const c = Ut(o, n.schemaMap), p = n.schemaMap[c];
4857
+ const c = mt(o, n.schemaMap), p = n.schemaMap[c];
4859
4858
  if (!p)
4860
4859
  throw new Error(`Field schema for "${o}" not found in schema map`);
4861
4860
  yield {
@@ -4867,13 +4866,13 @@ function* kc(t, e, n, r = "") {
4867
4866
  }
4868
4867
  }
4869
4868
  function xc(t, e, n) {
4870
- const r = j(t, String(e)), s = Ut(r, n.schemaMap), i = n.schemaMap[s];
4869
+ const r = V(t, String(e)), s = mt(r, n.schemaMap), i = n.schemaMap[s];
4871
4870
  if (!i)
4872
4871
  throw new Error(`Item schema for "${r}" not found in schema map`);
4873
4872
  return { itemKey: r, itemSchema: i };
4874
4873
  }
4875
4874
  function Sc(t, e, n) {
4876
- const r = j(t, e), s = Ut(r, n.schemaMap), i = n.schemaMap[s];
4875
+ const r = V(t, e), s = mt(r, n.schemaMap), i = n.schemaMap[s];
4877
4876
  if (!i)
4878
4877
  throw new Error(`Map entry schema for "${r}" not found in schema map`);
4879
4878
  return { entryKey: r, entrySchema: i };
@@ -4883,7 +4882,7 @@ function vc(t) {
4883
4882
  }
4884
4883
  function Ac(t) {
4885
4884
  return {
4886
- schemaMap: Ci(t)
4885
+ schemaMap: Di(t)
4887
4886
  };
4888
4887
  }
4889
4888
  export {