@everymatrix/cashier-session-expiration-modal 1.54.11 → 1.54.12

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.
@@ -10,7 +10,7 @@ var on = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writ
10
10
  Yi.call(t, n) && on(e, n, t[n]);
11
11
  return e;
12
12
  }, or = (e, t) => Vi(e, Xi(t));
13
- var ge = (e, t, n) => on(e, typeof t != "symbol" ? t + "" : t, n);
13
+ var ye = (e, t, n) => on(e, typeof t != "symbol" ? t + "" : t, n);
14
14
  var ar = (e, t, n) => new Promise((r, i) => {
15
15
  var s = (c) => {
16
16
  try {
@@ -27,7 +27,7 @@ var ar = (e, t, n) => new Promise((r, i) => {
27
27
  }, l = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(s, a);
28
28
  l((n = n.apply(e, t)).next());
29
29
  });
30
- function he() {
30
+ function pe() {
31
31
  }
32
32
  const Zr = (e) => e;
33
33
  function qi(e, t) {
@@ -63,7 +63,7 @@ function Jr(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const r of t)
65
65
  r(void 0);
66
- return he;
66
+ return pe;
67
67
  }
68
68
  const n = e.subscribe(...t);
69
69
  return n.unsubscribe ? () => n.unsubscribe() : n;
@@ -111,7 +111,7 @@ function Rt(e) {
111
111
  return -1;
112
112
  }
113
113
  const qr = typeof window != "undefined";
114
- let $i = qr ? () => window.performance.now() : () => Date.now(), Pn = qr ? (e) => requestAnimationFrame(e) : he;
114
+ let $i = qr ? () => window.performance.now() : () => Date.now(), Pn = qr ? (e) => requestAnimationFrame(e) : pe;
115
115
  const Ve = /* @__PURE__ */ new Set();
116
116
  function Qr(e) {
117
117
  Ve.forEach((t) => {
@@ -129,13 +129,13 @@ function es(e) {
129
129
  }
130
130
  };
131
131
  }
132
- function q(e, t) {
132
+ function $(e, t) {
133
133
  e.appendChild(t);
134
134
  }
135
135
  function ts(e, t, n) {
136
136
  const r = Rn(e);
137
137
  if (!r.getElementById(t)) {
138
- const i = K("style");
138
+ const i = te("style");
139
139
  i.id = t, i.textContent = n, Kr(r, i);
140
140
  }
141
141
  }
@@ -149,23 +149,23 @@ function Rn(e) {
149
149
  ) : e.ownerDocument;
150
150
  }
151
151
  function ns(e) {
152
- const t = K("style");
152
+ const t = te("style");
153
153
  return t.textContent = "/* empty */", Kr(Rn(e), t), t.sheet;
154
154
  }
155
155
  function Kr(e, t) {
156
- return q(
156
+ return $(
157
157
  /** @type {Document} */
158
158
  e.head || e,
159
159
  t
160
160
  ), t.sheet;
161
161
  }
162
- function Ae(e, t, n) {
162
+ function _e(e, t, n) {
163
163
  e.insertBefore(t, n || null);
164
164
  }
165
- function me(e) {
165
+ function be(e) {
166
166
  e.parentNode && e.parentNode.removeChild(e);
167
167
  }
168
- function K(e) {
168
+ function te(e) {
169
169
  return document.createElement(e);
170
170
  }
171
171
  function ur(e) {
@@ -207,7 +207,7 @@ function is() {
207
207
  }
208
208
  function ss(e, t) {
209
209
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
210
- const r = K("iframe");
210
+ const r = te("iframe");
211
211
  r.setAttribute(
212
212
  "style",
213
213
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
@@ -223,8 +223,8 @@ function ss(e, t) {
223
223
  }
224
224
  )) : (r.src = "about:blank", r.onload = () => {
225
225
  s = kt(r.contentWindow, "resize", t), t();
226
- }), q(e, r), () => {
227
- (i || s && r.contentWindow) && s(), me(r);
226
+ }), $(e, r), () => {
227
+ (i || s && r.contentWindow) && s(), be(r);
228
228
  };
229
229
  }
230
230
  function os(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
@@ -255,15 +255,15 @@ function cr(e, t, n, r, i, s, a, l = 0) {
255
255
  let u = `{
256
256
  `;
257
257
  for (let M = 0; M <= 1; M += c) {
258
- const j = t + (n - t) * s(M);
259
- u += M * 100 + `%{${a(j, 1 - j)}}
258
+ const W = t + (n - t) * s(M);
259
+ u += M * 100 + `%{${a(W, 1 - W)}}
260
260
  `;
261
261
  }
262
262
  const h = u + `100% {${a(n, 1 - n)}}
263
- }`, b = `__svelte_${ls(h)}_${l}`, T = Rn(e), { stylesheet: C, rules: E } = Gt.get(T) || us(T, e);
264
- E[b] || (E[b] = !0, C.insertRule(`@keyframes ${b} ${h}`, C.cssRules.length));
263
+ }`, g = `__svelte_${ls(h)}_${l}`, T = Rn(e), { stylesheet: C, rules: y } = Gt.get(T) || us(T, e);
264
+ y[g] || (y[g] = !0, C.insertRule(`@keyframes ${g} ${h}`, C.cssRules.length));
265
265
  const m = e.style.animation || "";
266
- return e.style.animation = `${m ? `${m}, ` : ""}${b} ${r}ms linear ${i}ms 1 both`, Ft += 1, b;
266
+ return e.style.animation = `${m ? `${m}, ` : ""}${g} ${r}ms linear ${i}ms 1 both`, Ft += 1, g;
267
267
  }
268
268
  function cs(e, t) {
269
269
  const n = (e.style.animation || "").split(", "), r = n.filter(
@@ -276,7 +276,7 @@ function hs() {
276
276
  Pn(() => {
277
277
  Ft || (Gt.forEach((e) => {
278
278
  const { ownerNode: t } = e.stylesheet;
279
- t && me(t);
279
+ t && be(t);
280
280
  }), Gt.clear());
281
281
  });
282
282
  }
@@ -299,14 +299,14 @@ let Xe = [];
299
299
  const hr = [], ps = /* @__PURE__ */ Promise.resolve();
300
300
  let xn = !1;
301
301
  function ds() {
302
- xn || (xn = !0, ps.then(ce));
302
+ xn || (xn = !0, ps.then(me));
303
303
  }
304
304
  function Je(e) {
305
305
  Xe.push(e);
306
306
  }
307
307
  const an = /* @__PURE__ */ new Set();
308
308
  let je = 0;
309
- function ce() {
309
+ function me() {
310
310
  if (je !== 0)
311
311
  return;
312
312
  const e = dt;
@@ -351,25 +351,25 @@ function ln(e, t, n) {
351
351
  e.dispatchEvent(os(`${t ? "intro" : "outro"}${n}`));
352
352
  }
353
353
  const Lt = /* @__PURE__ */ new Set();
354
- let Ce;
354
+ let Me;
355
355
  function ti() {
356
- Ce = {
356
+ Me = {
357
357
  r: 0,
358
358
  c: [],
359
- p: Ce
359
+ p: Me
360
360
  // parent group
361
361
  };
362
362
  }
363
363
  function ni() {
364
- Ce.r || Re(Ce.c), Ce = Ce.p;
364
+ Me.r || Re(Me.c), Me = Me.p;
365
365
  }
366
- function we(e, t) {
366
+ function Ae(e, t) {
367
367
  e && e.i && (Lt.delete(e), e.i(t));
368
368
  }
369
369
  function Ne(e, t, n, r) {
370
370
  if (e && e.o) {
371
371
  if (Lt.has(e)) return;
372
- Lt.add(e), Ce.c.push(() => {
372
+ Lt.add(e), Me.c.push(() => {
373
373
  Lt.delete(e), r && (n && e.d(1), r());
374
374
  }), e.o(t);
375
375
  } else r && r();
@@ -377,64 +377,64 @@ function Ne(e, t, n, r) {
377
377
  const ys = { duration: 0 };
378
378
  function fr(e, t, n, r) {
379
379
  let s = t(e, n, { direction: "both" }), a = r ? 0 : 1, l = null, c = null, u = null, h;
380
- function b() {
380
+ function g() {
381
381
  u && cs(e, u);
382
382
  }
383
- function T(E, m) {
383
+ function T(y, m) {
384
384
  const M = (
385
385
  /** @type {Program['d']} */
386
- E.b - a
386
+ y.b - a
387
387
  );
388
388
  return m *= Math.abs(M), {
389
389
  a,
390
- b: E.b,
390
+ b: y.b,
391
391
  d: M,
392
392
  duration: m,
393
- start: E.start,
394
- end: E.start + m,
395
- group: E.group
393
+ start: y.start,
394
+ end: y.start + m,
395
+ group: y.group
396
396
  };
397
397
  }
398
- function C(E) {
398
+ function C(y) {
399
399
  const {
400
400
  delay: m = 0,
401
401
  duration: M = 300,
402
- easing: j = Zr,
403
- tick: R = he,
402
+ easing: W = Zr,
403
+ tick: P = pe,
404
404
  css: A
405
- } = s || ys, L = {
405
+ } = s || ys, R = {
406
406
  start: $i() + m,
407
- b: E
407
+ b: y
408
408
  };
409
- E || (L.group = Ce, Ce.r += 1), "inert" in e && (E ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
410
- e.inert, e.inert = !0)), l || c ? c = L : (A && (b(), u = cr(e, a, E, M, m, j, A)), E && R(0, 1), l = T(L, M), Je(() => ln(e, E, "start")), es((D) => {
411
- if (c && D > c.start && (l = T(c, M), c = null, ln(e, l.b, "start"), A && (b(), u = cr(
409
+ y || (R.group = Me, Me.r += 1), "inert" in e && (y ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
410
+ e.inert, e.inert = !0)), l || c ? c = R : (A && (g(), u = cr(e, a, y, M, m, W, A)), y && P(0, 1), l = T(R, M), Je(() => ln(e, y, "start")), es((I) => {
411
+ if (c && I > c.start && (l = T(c, M), c = null, ln(e, l.b, "start"), A && (g(), u = cr(
412
412
  e,
413
413
  a,
414
414
  l.b,
415
415
  l.duration,
416
416
  0,
417
- j,
417
+ W,
418
418
  s.css
419
419
  ))), l) {
420
- if (D >= l.end)
421
- R(a = l.b, 1 - a), ln(e, l.b, "end"), c || (l.b ? b() : --l.group.r || Re(l.group.c)), l = null;
422
- else if (D >= l.start) {
423
- const z = D - l.start;
424
- a = l.a + l.d * j(z / l.duration), R(a, 1 - a);
420
+ if (I >= l.end)
421
+ P(a = l.b, 1 - a), ln(e, l.b, "end"), c || (l.b ? g() : --l.group.r || Re(l.group.c)), l = null;
422
+ else if (I >= l.start) {
423
+ const j = I - l.start;
424
+ a = l.a + l.d * W(j / l.duration), P(a, 1 - a);
425
425
  }
426
426
  }
427
427
  return !!(l || c);
428
428
  }));
429
429
  }
430
430
  return {
431
- run(E) {
431
+ run(y) {
432
432
  Vt(s) ? Es().then(() => {
433
- s = s({ direction: E ? "in" : "out" }), C(E);
434
- }) : C(E);
433
+ s = s({ direction: y ? "in" : "out" }), C(y);
434
+ }) : C(y);
435
435
  },
436
436
  end() {
437
- b(), l = c = null;
437
+ g(), l = c = null;
438
438
  }
439
439
  };
440
440
  }
@@ -460,7 +460,7 @@ function Ss(e, t, n, r, i, s, a = null, l = [-1]) {
460
460
  ctx: [],
461
461
  // state
462
462
  props: s,
463
- update: he,
463
+ update: pe,
464
464
  not_equal: i,
465
465
  bound: lr(),
466
466
  // lifecycle
@@ -478,16 +478,16 @@ function Ss(e, t, n, r, i, s, a = null, l = [-1]) {
478
478
  };
479
479
  a && a(u.root);
480
480
  let h = !1;
481
- if (u.ctx = n ? n(e, t.props || {}, (b, T, ...C) => {
482
- const E = C.length ? C[0] : T;
483
- return u.ctx && i(u.ctx[b], u.ctx[b] = E) && (!u.skip_bound && u.bound[b] && u.bound[b](E), h && vs(e, b)), T;
481
+ if (u.ctx = n ? n(e, t.props || {}, (g, T, ...C) => {
482
+ const y = C.length ? C[0] : T;
483
+ return u.ctx && i(u.ctx[g], u.ctx[g] = y) && (!u.skip_bound && u.bound[g] && u.bound[g](y), h && vs(e, g)), T;
484
484
  }) : [], u.update(), h = !0, Re(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
485
485
  if (t.hydrate) {
486
- const b = rs(t.target);
487
- u.fragment && u.fragment.l(b), b.forEach(me);
486
+ const g = rs(t.target);
487
+ u.fragment && u.fragment.l(g), g.forEach(be);
488
488
  } else
489
489
  u.fragment && u.fragment.c();
490
- t.intro && we(e.$$.fragment), Ts(e, t.target, t.anchor), ce();
490
+ t.intro && Ae(e.$$.fragment), Ts(e, t.target, t.anchor), me();
491
491
  }
492
492
  pt(c);
493
493
  }
@@ -496,23 +496,23 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
496
496
  constructor(t, n, r) {
497
497
  super();
498
498
  /** The Svelte component constructor */
499
- ge(this, "$$ctor");
499
+ ye(this, "$$ctor");
500
500
  /** Slots */
501
- ge(this, "$$s");
501
+ ye(this, "$$s");
502
502
  /** The Svelte component instance */
503
- ge(this, "$$c");
503
+ ye(this, "$$c");
504
504
  /** Whether or not the custom element is connected */
505
- ge(this, "$$cn", !1);
505
+ ye(this, "$$cn", !1);
506
506
  /** Component props data */
507
- ge(this, "$$d", {});
507
+ ye(this, "$$d", {});
508
508
  /** `true` if currently in the process of reflecting component props back to attributes */
509
- ge(this, "$$r", !1);
509
+ ye(this, "$$r", !1);
510
510
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
511
- ge(this, "$$p_d", {});
511
+ ye(this, "$$p_d", {});
512
512
  /** @type {Record<string, Function[]>} Event listeners */
513
- ge(this, "$$l", {});
513
+ ye(this, "$$l", {});
514
514
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
515
- ge(this, "$$l_u", /* @__PURE__ */ new Map());
515
+ ye(this, "$$l_u", /* @__PURE__ */ new Map());
516
516
  this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
517
517
  }
518
518
  addEventListener(t, n, r) {
@@ -536,17 +536,17 @@ typeof HTMLElement == "function" && (ri = class extends HTMLElement {
536
536
  let a;
537
537
  return {
538
538
  c: function() {
539
- a = K("slot"), s !== "default" && G(a, "name", s);
539
+ a = te("slot"), s !== "default" && G(a, "name", s);
540
540
  },
541
541
  /**
542
542
  * @param {HTMLElement} target
543
543
  * @param {HTMLElement} [anchor]
544
544
  */
545
545
  m: function(u, h) {
546
- Ae(u, a, h);
546
+ _e(u, a, h);
547
547
  },
548
548
  d: function(u) {
549
- u && me(a);
549
+ u && be(a);
550
550
  }
551
551
  };
552
552
  };
@@ -682,7 +682,7 @@ class As {
682
682
  *
683
683
  * @type {any}
684
684
  */
685
- ge(this, "$$");
685
+ ye(this, "$$");
686
686
  /**
687
687
  * ### PRIVATE API
688
688
  *
@@ -690,11 +690,11 @@ class As {
690
690
  *
691
691
  * @type {any}
692
692
  */
693
- ge(this, "$$set");
693
+ ye(this, "$$set");
694
694
  }
695
695
  /** @returns {void} */
696
696
  $destroy() {
697
- xs(this, 1), this.$destroy = he;
697
+ xs(this, 1), this.$destroy = pe;
698
698
  }
699
699
  /**
700
700
  * @template {Extract<keyof Events, string>} K
@@ -704,7 +704,7 @@ class As {
704
704
  */
705
705
  $on(t, n) {
706
706
  if (!Vt(n))
707
- return he;
707
+ return pe;
708
708
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
709
709
  return r.push(n), () => {
710
710
  const i = r.indexOf(n);
@@ -736,7 +736,7 @@ function Os(e, t) {
736
736
  subscribe: Jt(e, t).subscribe
737
737
  };
738
738
  }
739
- function Jt(e, t = he) {
739
+ function Jt(e, t = pe) {
740
740
  let n;
741
741
  const r = /* @__PURE__ */ new Set();
742
742
  function i(l) {
@@ -754,9 +754,9 @@ function Jt(e, t = he) {
754
754
  function s(l) {
755
755
  i(l(e));
756
756
  }
757
- function a(l, c = he) {
757
+ function a(l, c = pe) {
758
758
  const u = [l, c];
759
- return r.add(u), r.size === 1 && (n = t(i, s) || he), l(e), () => {
759
+ return r.add(u), r.size === 1 && (n = t(i, s) || pe), l(e), () => {
760
760
  r.delete(u), r.size === 0 && n && (n(), n = null);
761
761
  };
762
762
  }
@@ -770,16 +770,16 @@ function et(e, t, n) {
770
770
  return Os(n, (a, l) => {
771
771
  let c = !1;
772
772
  const u = [];
773
- let h = 0, b = he;
773
+ let h = 0, g = pe;
774
774
  const T = () => {
775
775
  if (h)
776
776
  return;
777
- b();
778
- const E = t(r ? u[0] : u, a, l);
779
- s ? a(E) : b = Vt(E) ? E : he;
777
+ g();
778
+ const y = t(r ? u[0] : u, a, l);
779
+ s ? a(y) : g = Vt(y) ? y : pe;
780
780
  }, C = i.map(
781
- (E, m) => Jr(
782
- E,
781
+ (y, m) => Jr(
782
+ y,
783
783
  (M) => {
784
784
  u[m] = M, h &= ~(1 << m), c && T();
785
785
  },
@@ -789,7 +789,7 @@ function et(e, t, n) {
789
789
  )
790
790
  );
791
791
  return c = !0, T(), function() {
792
- Re(C), b(), c = !1;
792
+ Re(C), g(), c = !1;
793
793
  };
794
794
  });
795
795
  }
@@ -884,14 +884,14 @@ function Yt(e, t) {
884
884
  }
885
885
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
886
886
  }
887
- var F = function() {
888
- return F = Object.assign || function(t) {
887
+ var z = function() {
888
+ return z = Object.assign || function(t) {
889
889
  for (var n, r = 1, i = arguments.length; r < i; r++) {
890
890
  n = arguments[r];
891
891
  for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
892
892
  }
893
893
  return t;
894
- }, F.apply(this, arguments);
894
+ }, z.apply(this, arguments);
895
895
  };
896
896
  function js(e, t) {
897
897
  var n = {};
@@ -958,40 +958,40 @@ var Js = function() {
958
958
  (function(e) {
959
959
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
960
960
  })(U || (U = {}));
961
- var X;
961
+ var J;
962
962
  (function(e) {
963
963
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
964
- })(X || (X = {}));
964
+ })(J || (J = {}));
965
965
  var qe;
966
966
  (function(e) {
967
967
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
968
968
  })(qe || (qe = {}));
969
969
  function dr(e) {
970
- return e.type === X.literal;
970
+ return e.type === J.literal;
971
971
  }
972
972
  function Qs(e) {
973
- return e.type === X.argument;
973
+ return e.type === J.argument;
974
974
  }
975
975
  function li(e) {
976
- return e.type === X.number;
976
+ return e.type === J.number;
977
977
  }
978
978
  function ui(e) {
979
- return e.type === X.date;
979
+ return e.type === J.date;
980
980
  }
981
981
  function ci(e) {
982
- return e.type === X.time;
982
+ return e.type === J.time;
983
983
  }
984
984
  function hi(e) {
985
- return e.type === X.select;
985
+ return e.type === J.select;
986
986
  }
987
987
  function fi(e) {
988
- return e.type === X.plural;
988
+ return e.type === J.plural;
989
989
  }
990
990
  function Ks(e) {
991
- return e.type === X.pound;
991
+ return e.type === J.pound;
992
992
  }
993
993
  function mi(e) {
994
- return e.type === X.tag;
994
+ return e.type === J.tag;
995
995
  }
996
996
  function pi(e) {
997
997
  return !!(e && typeof e == "object" && e.type === qe.number);
@@ -1102,8 +1102,8 @@ function no(e) {
1102
1102
  if (a.length === 0)
1103
1103
  throw new Error("Invalid number skeleton");
1104
1104
  for (var l = a[0], c = a.slice(1), u = 0, h = c; u < h.length; u++) {
1105
- var b = h[u];
1106
- if (b.length === 0)
1105
+ var g = h[u];
1106
+ if (g.length === 0)
1107
1107
  throw new Error("Invalid number skeleton");
1108
1108
  }
1109
1109
  n.push({ stem: l, options: c });
@@ -1213,13 +1213,13 @@ function oo(e) {
1213
1213
  t.notation = "compact", t.compactDisplay = "long";
1214
1214
  continue;
1215
1215
  case "scientific":
1216
- t = F(F(F({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
1217
- return F(F({}, c), Er(u));
1216
+ t = z(z(z({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
1217
+ return z(z({}, c), Er(u));
1218
1218
  }, {}));
1219
1219
  continue;
1220
1220
  case "engineering":
1221
- t = F(F(F({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
1222
- return F(F({}, c), Er(u));
1221
+ t = z(z(z({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
1222
+ return z(z({}, c), Er(u));
1223
1223
  }, {}));
1224
1224
  continue;
1225
1225
  case "notation-simple":
@@ -1264,11 +1264,11 @@ function oo(e) {
1264
1264
  case "integer-width":
1265
1265
  if (i.options.length > 1)
1266
1266
  throw new RangeError("integer-width stems only accept a single optional option");
1267
- i.options[0].replace(io, function(c, u, h, b, T, C) {
1267
+ i.options[0].replace(io, function(c, u, h, g, T, C) {
1268
1268
  if (u)
1269
1269
  t.minimumIntegerDigits = h.length;
1270
1270
  else {
1271
- if (b && T)
1271
+ if (g && T)
1272
1272
  throw new Error("We currently do not support maximum integer digits");
1273
1273
  if (C)
1274
1274
  throw new Error("We currently do not support exact integer digits");
@@ -1284,21 +1284,21 @@ function oo(e) {
1284
1284
  if (gr.test(i.stem)) {
1285
1285
  if (i.options.length > 1)
1286
1286
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1287
- i.stem.replace(gr, function(c, u, h, b, T, C) {
1288
- return h === "*" ? t.minimumFractionDigits = u.length : b && b[0] === "#" ? t.maximumFractionDigits = b.length : T && C ? (t.minimumFractionDigits = T.length, t.maximumFractionDigits = T.length + C.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1287
+ i.stem.replace(gr, function(c, u, h, g, T, C) {
1288
+ return h === "*" ? t.minimumFractionDigits = u.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : T && C ? (t.minimumFractionDigits = T.length, t.maximumFractionDigits = T.length + C.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1289
1289
  });
1290
1290
  var s = i.options[0];
1291
- s === "w" ? t = F(F({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = F(F({}, t), br(s)));
1291
+ s === "w" ? t = z(z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = z(z({}, t), br(s)));
1292
1292
  continue;
1293
1293
  }
1294
1294
  if (gi.test(i.stem)) {
1295
- t = F(F({}, t), br(i.stem));
1295
+ t = z(z({}, t), br(i.stem));
1296
1296
  continue;
1297
1297
  }
1298
1298
  var a = Ei(i.stem);
1299
- a && (t = F(F({}, t), a));
1299
+ a && (t = z(z({}, t), a));
1300
1300
  var l = so(i.stem);
1301
- l && (t = F(F({}, t), l));
1301
+ l && (t = z(z({}, t), l));
1302
1302
  }
1303
1303
  return t;
1304
1304
  }
@@ -2882,7 +2882,7 @@ var So = (
2882
2882
  if (s === 35 && (n === "plural" || n === "selectordinal")) {
2883
2883
  var l = this.clonePosition();
2884
2884
  this.bump(), i.push({
2885
- type: X.pound,
2885
+ type: J.pound,
2886
2886
  location: k(l, this.clonePosition())
2887
2887
  });
2888
2888
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2910,7 +2910,7 @@ var So = (
2910
2910
  if (this.bumpSpace(), this.bumpIf("/>"))
2911
2911
  return {
2912
2912
  val: {
2913
- type: X.literal,
2913
+ type: J.literal,
2914
2914
  value: "<".concat(i, "/>"),
2915
2915
  location: k(r, this.clonePosition())
2916
2916
  },
@@ -2927,7 +2927,7 @@ var So = (
2927
2927
  var c = this.clonePosition(), u = this.parseTagName();
2928
2928
  return i !== u ? this.error(U.UNMATCHED_CLOSING_TAG, k(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2929
2929
  val: {
2930
- type: X.tag,
2930
+ type: J.tag,
2931
2931
  value: i,
2932
2932
  children: a,
2933
2933
  location: k(r, this.clonePosition())
@@ -2964,7 +2964,7 @@ var So = (
2964
2964
  }
2965
2965
  var c = k(r, this.clonePosition());
2966
2966
  return {
2967
- val: { type: X.literal, value: i, location: c },
2967
+ val: { type: J.literal, value: i, location: c },
2968
2968
  err: null
2969
2969
  };
2970
2970
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -3024,7 +3024,7 @@ var So = (
3024
3024
  case 125:
3025
3025
  return this.bump(), {
3026
3026
  val: {
3027
- type: X.argument,
3027
+ type: J.argument,
3028
3028
  // value does not include the opening and closing braces.
3029
3029
  value: i,
3030
3030
  location: k(r, this.clonePosition())
@@ -3053,47 +3053,47 @@ var So = (
3053
3053
  var u = null;
3054
3054
  if (this.bumpIf(",")) {
3055
3055
  this.bumpSpace();
3056
- var h = this.clonePosition(), b = this.parseSimpleArgStyleIfPossible();
3057
- if (b.err)
3058
- return b;
3059
- var T = vo(b.val);
3056
+ var h = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
3057
+ if (g.err)
3058
+ return g;
3059
+ var T = vo(g.val);
3060
3060
  if (T.length === 0)
3061
3061
  return this.error(U.EXPECT_ARGUMENT_STYLE, k(this.clonePosition(), this.clonePosition()));
3062
3062
  var C = k(h, this.clonePosition());
3063
3063
  u = { style: T, styleLocation: C };
3064
3064
  }
3065
- var E = this.tryParseArgumentClose(i);
3066
- if (E.err)
3067
- return E;
3065
+ var y = this.tryParseArgumentClose(i);
3066
+ if (y.err)
3067
+ return y;
3068
3068
  var m = k(i, this.clonePosition());
3069
3069
  if (u && yr(u == null ? void 0 : u.style, "::", 0)) {
3070
3070
  var M = xo(u.style.slice(2));
3071
3071
  if (l === "number") {
3072
- var b = this.parseNumberSkeletonFromString(M, u.styleLocation);
3073
- return b.err ? b : {
3074
- val: { type: X.number, value: r, location: m, style: b.val },
3072
+ var g = this.parseNumberSkeletonFromString(M, u.styleLocation);
3073
+ return g.err ? g : {
3074
+ val: { type: J.number, value: r, location: m, style: g.val },
3075
3075
  err: null
3076
3076
  };
3077
3077
  } else {
3078
3078
  if (M.length === 0)
3079
3079
  return this.error(U.EXPECT_DATE_TIME_SKELETON, m);
3080
- var j = M;
3081
- this.locale && (j = ao(M, this.locale));
3080
+ var W = M;
3081
+ this.locale && (W = ao(M, this.locale));
3082
3082
  var T = {
3083
3083
  type: qe.dateTime,
3084
- pattern: j,
3084
+ pattern: W,
3085
3085
  location: u.styleLocation,
3086
- parsedOptions: this.shouldParseSkeletons ? eo(j) : {}
3087
- }, R = l === "date" ? X.date : X.time;
3086
+ parsedOptions: this.shouldParseSkeletons ? eo(W) : {}
3087
+ }, P = l === "date" ? J.date : J.time;
3088
3088
  return {
3089
- val: { type: R, value: r, location: m, style: T },
3089
+ val: { type: P, value: r, location: m, style: T },
3090
3090
  err: null
3091
3091
  };
3092
3092
  }
3093
3093
  }
3094
3094
  return {
3095
3095
  val: {
3096
- type: l === "number" ? X.number : l === "date" ? X.date : X.time,
3096
+ type: l === "number" ? J.number : l === "date" ? J.date : J.time,
3097
3097
  value: r,
3098
3098
  location: m,
3099
3099
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -3106,41 +3106,41 @@ var So = (
3106
3106
  case "select": {
3107
3107
  var A = this.clonePosition();
3108
3108
  if (this.bumpSpace(), !this.bumpIf(","))
3109
- return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS, k(A, F({}, A)));
3109
+ return this.error(U.EXPECT_SELECT_ARGUMENT_OPTIONS, k(A, z({}, A)));
3110
3110
  this.bumpSpace();
3111
- var L = this.parseIdentifierIfPossible(), D = 0;
3112
- if (l !== "select" && L.value === "offset") {
3111
+ var R = this.parseIdentifierIfPossible(), I = 0;
3112
+ if (l !== "select" && R.value === "offset") {
3113
3113
  if (!this.bumpIf(":"))
3114
3114
  return this.error(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k(this.clonePosition(), this.clonePosition()));
3115
3115
  this.bumpSpace();
3116
- var b = this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, U.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3117
- if (b.err)
3118
- return b;
3119
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), D = b.val;
3116
+ var g = this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, U.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3117
+ if (g.err)
3118
+ return g;
3119
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), I = g.val;
3120
3120
  }
3121
- var z = this.tryParsePluralOrSelectOptions(t, l, n, L);
3122
- if (z.err)
3123
- return z;
3124
- var E = this.tryParseArgumentClose(i);
3125
- if (E.err)
3126
- return E;
3127
- var J = k(i, this.clonePosition());
3121
+ var j = this.tryParsePluralOrSelectOptions(t, l, n, R);
3122
+ if (j.err)
3123
+ return j;
3124
+ var y = this.tryParseArgumentClose(i);
3125
+ if (y.err)
3126
+ return y;
3127
+ var Y = k(i, this.clonePosition());
3128
3128
  return l === "select" ? {
3129
3129
  val: {
3130
- type: X.select,
3130
+ type: J.select,
3131
3131
  value: r,
3132
- options: Tr(z.val),
3133
- location: J
3132
+ options: Tr(j.val),
3133
+ location: Y
3134
3134
  },
3135
3135
  err: null
3136
3136
  } : {
3137
3137
  val: {
3138
- type: X.plural,
3138
+ type: J.plural,
3139
3139
  value: r,
3140
- options: Tr(z.val),
3141
- offset: D,
3140
+ options: Tr(j.val),
3141
+ offset: I,
3142
3142
  pluralType: l === "plural" ? "cardinal" : "ordinal",
3143
- location: J
3143
+ location: Y
3144
3144
  },
3145
3145
  err: null
3146
3146
  };
@@ -3204,12 +3204,12 @@ var So = (
3204
3204
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3205
3205
  for (var s, a = !1, l = [], c = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3206
3206
  if (u.length === 0) {
3207
- var b = this.clonePosition();
3207
+ var g = this.clonePosition();
3208
3208
  if (n !== "select" && this.bumpIf("=")) {
3209
3209
  var T = this.tryParseDecimalInteger(U.EXPECT_PLURAL_ARGUMENT_SELECTOR, U.INVALID_PLURAL_ARGUMENT_SELECTOR);
3210
3210
  if (T.err)
3211
3211
  return T;
3212
- h = k(b, this.clonePosition()), u = this.message.slice(b.offset, this.offset());
3212
+ h = k(g, this.clonePosition()), u = this.message.slice(g.offset, this.offset());
3213
3213
  } else
3214
3214
  break;
3215
3215
  }
@@ -3219,16 +3219,16 @@ var So = (
3219
3219
  var C = this.clonePosition();
3220
3220
  if (!this.bumpIf("{"))
3221
3221
  return this.error(n === "select" ? U.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : U.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, k(this.clonePosition(), this.clonePosition()));
3222
- var E = this.parseMessage(t + 1, n, r);
3223
- if (E.err)
3224
- return E;
3222
+ var y = this.parseMessage(t + 1, n, r);
3223
+ if (y.err)
3224
+ return y;
3225
3225
  var m = this.tryParseArgumentClose(C);
3226
3226
  if (m.err)
3227
3227
  return m;
3228
3228
  l.push([
3229
3229
  u,
3230
3230
  {
3231
- value: E.val,
3231
+ value: y.val,
3232
3232
  location: k(C, this.clonePosition())
3233
3233
  }
3234
3234
  ]), c.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
@@ -3335,7 +3335,7 @@ function Cn(e) {
3335
3335
  });
3336
3336
  }
3337
3337
  function Oo(e, t) {
3338
- t === void 0 && (t = {}), t = F({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3338
+ t === void 0 && (t = {}), t = z({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3339
3339
  var n = new So(e, t).parse();
3340
3340
  if (n.err) {
3341
3341
  var r = SyntaxError(U[n.err.kind]);
@@ -3386,14 +3386,14 @@ var qt = (
3386
3386
  }
3387
3387
  return t;
3388
3388
  }(qt)
3389
- ), oe;
3389
+ ), ce;
3390
3390
  (function(e) {
3391
3391
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3392
- })(oe || (oe = {}));
3392
+ })(ce || (ce = {}));
3393
3393
  function Ho(e) {
3394
3394
  return e.length < 2 ? e : e.reduce(function(t, n) {
3395
3395
  var r = t[t.length - 1];
3396
- return !r || r.type !== oe.literal || n.type !== oe.literal ? t.push(n) : r.value += n.value, t;
3396
+ return !r || r.type !== ce.literal || n.type !== ce.literal ? t.push(n) : r.value += n.value, t;
3397
3397
  }, []);
3398
3398
  }
3399
3399
  function No(e) {
@@ -3403,7 +3403,7 @@ function Dt(e, t, n, r, i, s, a) {
3403
3403
  if (e.length === 1 && dr(e[0]))
3404
3404
  return [
3405
3405
  {
3406
- type: oe.literal,
3406
+ type: ce.literal,
3407
3407
  value: e[0].value
3408
3408
  }
3409
3409
  ];
@@ -3411,25 +3411,25 @@ function Dt(e, t, n, r, i, s, a) {
3411
3411
  var h = u[c];
3412
3412
  if (dr(h)) {
3413
3413
  l.push({
3414
- type: oe.literal,
3414
+ type: ce.literal,
3415
3415
  value: h.value
3416
3416
  });
3417
3417
  continue;
3418
3418
  }
3419
3419
  if (Ks(h)) {
3420
3420
  typeof s == "number" && l.push({
3421
- type: oe.literal,
3421
+ type: ce.literal,
3422
3422
  value: n.getNumberFormat(t).format(s)
3423
3423
  });
3424
3424
  continue;
3425
3425
  }
3426
- var b = h.value;
3427
- if (!(i && b in i))
3428
- throw new Mo(b, a);
3429
- var T = i[b];
3426
+ var g = h.value;
3427
+ if (!(i && g in i))
3428
+ throw new Mo(g, a);
3429
+ var T = i[g];
3430
3430
  if (Qs(h)) {
3431
3431
  (!T || typeof T == "string" || typeof T == "number") && (T = typeof T == "string" || typeof T == "number" ? String(T) : ""), l.push({
3432
- type: typeof T == "string" ? oe.literal : oe.object,
3432
+ type: typeof T == "string" ? ce.literal : ce.object,
3433
3433
  value: T
3434
3434
  });
3435
3435
  continue;
@@ -3437,7 +3437,7 @@ function Dt(e, t, n, r, i, s, a) {
3437
3437
  if (ui(h)) {
3438
3438
  var C = typeof h.style == "string" ? r.date[h.style] : Sn(h.style) ? h.style.parsedOptions : void 0;
3439
3439
  l.push({
3440
- type: oe.literal,
3440
+ type: ce.literal,
3441
3441
  value: n.getDateTimeFormat(t, C).format(T)
3442
3442
  });
3443
3443
  continue;
@@ -3445,7 +3445,7 @@ function Dt(e, t, n, r, i, s, a) {
3445
3445
  if (ci(h)) {
3446
3446
  var C = typeof h.style == "string" ? r.time[h.style] : Sn(h.style) ? h.style.parsedOptions : r.time.medium;
3447
3447
  l.push({
3448
- type: oe.literal,
3448
+ type: ce.literal,
3449
3449
  value: n.getDateTimeFormat(t, C).format(T)
3450
3450
  });
3451
3451
  continue;
@@ -3453,22 +3453,22 @@ function Dt(e, t, n, r, i, s, a) {
3453
3453
  if (li(h)) {
3454
3454
  var C = typeof h.style == "string" ? r.number[h.style] : pi(h.style) ? h.style.parsedOptions : void 0;
3455
3455
  C && C.scale && (T = T * (C.scale || 1)), l.push({
3456
- type: oe.literal,
3456
+ type: ce.literal,
3457
3457
  value: n.getNumberFormat(t, C).format(T)
3458
3458
  });
3459
3459
  continue;
3460
3460
  }
3461
3461
  if (mi(h)) {
3462
- var E = h.children, m = h.value, M = i[m];
3462
+ var y = h.children, m = h.value, M = i[m];
3463
3463
  if (!No(M))
3464
3464
  throw new Co(m, "function", a);
3465
- var j = Dt(E, t, n, r, i, s), R = M(j.map(function(D) {
3466
- return D.value;
3465
+ var W = Dt(y, t, n, r, i, s), P = M(W.map(function(I) {
3466
+ return I.value;
3467
3467
  }));
3468
- Array.isArray(R) || (R = [R]), l.push.apply(l, R.map(function(D) {
3468
+ Array.isArray(P) || (P = [P]), l.push.apply(l, P.map(function(I) {
3469
3469
  return {
3470
- type: typeof D == "string" ? oe.literal : oe.object,
3471
- value: D
3470
+ type: typeof I == "string" ? ce.literal : ce.object,
3471
+ value: I
3472
3472
  };
3473
3473
  }));
3474
3474
  }
@@ -3486,8 +3486,8 @@ function Dt(e, t, n, r, i, s, a) {
3486
3486
  throw new qt(`Intl.PluralRules is not available in this environment.
3487
3487
  Try polyfilling it using "@formatjs/intl-pluralrules"
3488
3488
  `, Qe.MISSING_INTL_API, a);
3489
- var L = n.getPluralRules(t, { type: h.pluralType }).select(T - (h.offset || 0));
3490
- A = h.options[L] || h.options.other;
3489
+ var R = n.getPluralRules(t, { type: h.pluralType }).select(T - (h.offset || 0));
3490
+ A = h.options[R] || h.options.other;
3491
3491
  }
3492
3492
  if (!A)
3493
3493
  throw new vr(h.value, T, Object.keys(h.options), a);
@@ -3498,14 +3498,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3498
3498
  return Ho(l);
3499
3499
  }
3500
3500
  function Po(e, t) {
3501
- return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3502
- return n[r] = F(F({}, e[r]), t[r] || {}), n;
3501
+ return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3502
+ return n[r] = z(z({}, e[r]), t[r] || {}), n;
3503
3503
  }, {})) : e;
3504
3504
  }
3505
3505
  function Ro(e, t) {
3506
3506
  return t ? Object.keys(e).reduce(function(n, r) {
3507
3507
  return n[r] = Po(e[r], t[r]), n;
3508
- }, F({}, e)) : e;
3508
+ }, z({}, e)) : e;
3509
3509
  }
3510
3510
  function mn(e) {
3511
3511
  return {
@@ -3567,8 +3567,8 @@ var vi = (
3567
3567
  var u = s.formatToParts(c);
3568
3568
  if (u.length === 1)
3569
3569
  return u[0].value;
3570
- var h = u.reduce(function(b, T) {
3571
- return !b.length || T.type !== oe.literal || typeof b[b.length - 1] != "string" ? b.push(T.value) : b[b.length - 1] += T.value, b;
3570
+ var h = u.reduce(function(g, T) {
3571
+ return !g.length || T.type !== ce.literal || typeof g[g.length - 1] != "string" ? g.push(T.value) : g[g.length - 1] += T.value, g;
3572
3572
  }, []);
3573
3573
  return h.length <= 1 ? h[0] || "" : h;
3574
3574
  }, this.formatToParts = function(c) {
@@ -3586,7 +3586,7 @@ var vi = (
3586
3586
  var a = i || {};
3587
3587
  a.formatters;
3588
3588
  var l = js(a, ["formatters"]);
3589
- this.ast = e.__parse(t, F(F({}, l), { locale: this.resolvedLocale }));
3589
+ this.ast = e.__parse(t, z(z({}, l), { locale: this.resolvedLocale }));
3590
3590
  } else
3591
3591
  this.ast = t;
3592
3592
  if (!Array.isArray(this.ast))
@@ -3984,16 +3984,16 @@ const bt = (e, t) => {
3984
3984
  ), h;
3985
3985
  if (!l)
3986
3986
  return h;
3987
- let b = h;
3987
+ let g = h;
3988
3988
  try {
3989
- b = ha(h, c).format(l);
3989
+ g = ha(h, c).format(l);
3990
3990
  } catch (T) {
3991
3991
  T instanceof Error && console.warn(
3992
3992
  `[svelte-i18n] Message "${e}" has syntax error:`,
3993
3993
  T.message
3994
3994
  );
3995
3995
  }
3996
- return b;
3996
+ return g;
3997
3997
  }, ma = (e, t) => ca(t).format(e), pa = (e, t) => ua(t).format(e), da = (e, t) => la(t).format(e), ga = (e, t = Le()) => Si(e, t), ba = et([Be, Et], () => fa);
3998
3998
  et([Be], () => ma);
3999
3999
  et([Be], () => pa);
@@ -4039,17 +4039,17 @@ const {
4039
4039
  getOwnPropertyDescriptor: xa
4040
4040
  } = Object;
4041
4041
  let {
4042
- freeze: ae,
4043
- seal: be,
4042
+ freeze: he,
4043
+ seal: Te,
4044
4044
  create: Ni
4045
4045
  } = Object, {
4046
4046
  apply: Hn,
4047
4047
  construct: Nn
4048
4048
  } = typeof Reflect != "undefined" && Reflect;
4049
- ae || (ae = function(t) {
4049
+ he || (he = function(t) {
4050
4050
  return t;
4051
4051
  });
4052
- be || (be = function(t) {
4052
+ Te || (Te = function(t) {
4053
4053
  return t;
4054
4054
  });
4055
4055
  Hn || (Hn = function(t, n, r) {
@@ -4058,8 +4058,8 @@ Hn || (Hn = function(t, n, r) {
4058
4058
  Nn || (Nn = function(t, n) {
4059
4059
  return new t(...n);
4060
4060
  });
4061
- const Ct = fe(Array.prototype.forEach), Nr = fe(Array.prototype.pop), at = fe(Array.prototype.push), Ut = fe(String.prototype.toLowerCase), dn = fe(String.prototype.toString), Pr = fe(String.prototype.match), lt = fe(String.prototype.replace), va = fe(String.prototype.indexOf), Sa = fe(String.prototype.trim), xe = fe(Object.prototype.hasOwnProperty), se = fe(RegExp.prototype.test), ut = wa(TypeError);
4062
- function fe(e) {
4061
+ const Ct = ge(Array.prototype.forEach), Nr = ge(Array.prototype.pop), at = ge(Array.prototype.push), Ut = ge(String.prototype.toLowerCase), dn = ge(String.prototype.toString), Pr = ge(String.prototype.match), lt = ge(String.prototype.replace), va = ge(String.prototype.indexOf), Sa = ge(String.prototype.trim), ve = ge(Object.prototype.hasOwnProperty), ue = ge(RegExp.prototype.test), ut = wa(TypeError);
4062
+ function ge(e) {
4063
4063
  return function(t) {
4064
4064
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
4065
4065
  r[i - 1] = arguments[i];
@@ -4073,7 +4073,7 @@ function wa(e) {
4073
4073
  return Nn(e, n);
4074
4074
  };
4075
4075
  }
4076
- function B(e, t) {
4076
+ function D(e, t) {
4077
4077
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ut;
4078
4078
  Hr && Hr(e, null);
4079
4079
  let r = t.length;
@@ -4089,13 +4089,13 @@ function B(e, t) {
4089
4089
  }
4090
4090
  function Aa(e) {
4091
4091
  for (let t = 0; t < e.length; t++)
4092
- xe(e, t) || (e[t] = null);
4092
+ ve(e, t) || (e[t] = null);
4093
4093
  return e;
4094
4094
  }
4095
4095
  function De(e) {
4096
4096
  const t = Ni(null);
4097
4097
  for (const [n, r] of Hi(e))
4098
- xe(e, n) && (Array.isArray(r) ? t[n] = Aa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = De(r) : t[n] = r);
4098
+ ve(e, n) && (Array.isArray(r) ? t[n] = Aa(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = De(r) : t[n] = r);
4099
4099
  return t;
4100
4100
  }
4101
4101
  function ct(e, t) {
@@ -4103,9 +4103,9 @@ function ct(e, t) {
4103
4103
  const r = xa(e, t);
4104
4104
  if (r) {
4105
4105
  if (r.get)
4106
- return fe(r.get);
4106
+ return ge(r.get);
4107
4107
  if (typeof r.value == "function")
4108
- return fe(r.value);
4108
+ return ge(r.value);
4109
4109
  }
4110
4110
  e = Ta(e);
4111
4111
  }
@@ -4114,13 +4114,13 @@ function ct(e, t) {
4114
4114
  }
4115
4115
  return n;
4116
4116
  }
4117
- const Rr = ae(["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", "section", "select", "shadow", "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"]), gn = ae(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), bn = ae(["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"]), _a = ae(["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"]), En = ae(["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"]), Oa = ae(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Lr = ae(["#text"]), Ir = ae(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "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", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), yn = ae(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "dur", "edgemode", "elevation", "end", "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", "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", "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", "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", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "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"]), Dr = ae(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "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"]), Mt = ae(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ca = be(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ma = be(/<%[\w\W]*|[\w\W]*%>/gm), Ha = be(/\${[\w\W]*}/gm), Na = be(/^data-[\-\w.\u00B7-\uFFFF]/), Pa = be(/^aria-[\-\w]+$/), Pi = be(
4117
+ const Rr = he(["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", "section", "select", "shadow", "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"]), gn = he(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), bn = he(["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"]), _a = he(["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"]), En = he(["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"]), Oa = he(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Lr = he(["#text"]), Ir = he(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "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", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), yn = he(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "dur", "edgemode", "elevation", "end", "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", "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", "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", "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", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "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"]), Dr = he(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "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"]), Mt = he(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ca = Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ma = Te(/<%[\w\W]*|[\w\W]*%>/gm), Ha = Te(/\${[\w\W]*}/gm), Na = Te(/^data-[\-\w.\u00B7-\uFFFF]/), Pa = Te(/^aria-[\-\w]+$/), Pi = Te(
4118
4118
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4119
4119
  // eslint-disable-line no-useless-escape
4120
- ), Ra = be(/^(?:\w+script|data):/i), La = be(
4120
+ ), Ra = Te(/^(?:\w+script|data):/i), La = Te(
4121
4121
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4122
4122
  // eslint-disable-line no-control-regex
4123
- ), Ri = be(/^html$/i), Ia = be(/^[a-z][.\w]*(-[.\w]+)+$/i);
4123
+ ), Ri = Te(/^html$/i), Ia = Te(/^[a-z][.\w]*(-[.\w]+)+$/i);
4124
4124
  var Br = /* @__PURE__ */ Object.freeze({
4125
4125
  __proto__: null,
4126
4126
  MUSTACHE_EXPR: Ca,
@@ -4178,42 +4178,42 @@ function Li() {
4178
4178
  Element: c,
4179
4179
  NodeFilter: u,
4180
4180
  NamedNodeMap: h = e.NamedNodeMap || e.MozNamedAttrMap,
4181
- HTMLFormElement: b,
4181
+ HTMLFormElement: g,
4182
4182
  DOMParser: T,
4183
4183
  trustedTypes: C
4184
- } = e, E = c.prototype, m = ct(E, "cloneNode"), M = ct(E, "remove"), j = ct(E, "nextSibling"), R = ct(E, "childNodes"), A = ct(E, "parentNode");
4184
+ } = e, y = c.prototype, m = ct(y, "cloneNode"), M = ct(y, "remove"), W = ct(y, "nextSibling"), P = ct(y, "childNodes"), A = ct(y, "parentNode");
4185
4185
  if (typeof a == "function") {
4186
4186
  const O = n.createElement("template");
4187
4187
  O.content && O.content.ownerDocument && (n = O.content.ownerDocument);
4188
4188
  }
4189
- let L, D = "";
4189
+ let R, I = "";
4190
4190
  const {
4191
- implementation: z,
4192
- createNodeIterator: J,
4193
- createDocumentFragment: Y,
4194
- getElementsByTagName: Q
4191
+ implementation: j,
4192
+ createNodeIterator: Y,
4193
+ createDocumentFragment: q,
4194
+ getElementsByTagName: ee
4195
4195
  } = n, {
4196
- importNode: W
4196
+ importNode: Z
4197
4197
  } = r;
4198
- let H = {};
4199
- t.isSupported = typeof Hi == "function" && typeof A == "function" && z && z.createHTMLDocument !== void 0;
4198
+ let _ = {};
4199
+ t.isSupported = typeof Hi == "function" && typeof A == "function" && j && j.createHTMLDocument !== void 0;
4200
4200
  const {
4201
- MUSTACHE_EXPR: re,
4202
- ERB_EXPR: le,
4201
+ MUSTACHE_EXPR: ae,
4202
+ ERB_EXPR: de,
4203
4203
  TMPLIT_EXPR: v,
4204
- DATA_ATTR: y,
4205
- ARIA_ATTR: d,
4204
+ DATA_ATTR: E,
4205
+ ARIA_ATTR: p,
4206
4206
  IS_SCRIPT_OR_DATA: S,
4207
4207
  ATTR_WHITESPACE: f,
4208
4208
  CUSTOM_ELEMENT: x
4209
4209
  } = Br;
4210
4210
  let {
4211
- IS_ALLOWED_URI: N
4212
- } = Br, P = null;
4213
- const g = B({}, [...Rr, ...gn, ...bn, ...En, ...Lr]);
4214
- let _ = null;
4215
- const Z = B({}, [...Ir, ...yn, ...Dr, ...Mt]);
4216
- let I = Object.seal(Ni(null, {
4211
+ IS_ALLOWED_URI: H
4212
+ } = Br, N = null;
4213
+ const V = D({}, [...Rr, ...gn, ...bn, ...En, ...Lr]);
4214
+ let L = null;
4215
+ const K = D({}, [...Ir, ...yn, ...Dr, ...Mt]);
4216
+ let B = Object.seal(Ni(null, {
4217
4217
  tagNameCheck: {
4218
4218
  writable: !0,
4219
4219
  configurable: !1,
@@ -4232,115 +4232,115 @@ function Li() {
4232
4232
  enumerable: !0,
4233
4233
  value: !1
4234
4234
  }
4235
- })), pe = null, Ee = null, Me = !0, ye = !0, ee = !1, Te = !0, de = !1, He = !0, Ie = !1, Kt = !1, $t = !1, Ue = !1, Tt = !1, xt = !1, Bn = !0, Un = !1;
4235
+ })), b = null, F = null, re = !0, Q = !0, ie = !1, xe = !0, Ee = !1, He = !0, Ie = !1, Kt = !1, $t = !1, Ue = !1, Tt = !1, xt = !1, Bn = !0, Un = !1;
4236
4236
  const Bi = "user-content-";
4237
4237
  let en = !0, nt = !1, ke = {}, Ge = null;
4238
- const kn = B({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4238
+ const kn = D({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4239
4239
  let Gn = null;
4240
- const Fn = B({}, ["audio", "video", "img", "source", "image", "track"]);
4240
+ const Fn = D({}, ["audio", "video", "img", "source", "image", "track"]);
4241
4241
  let tn = null;
4242
- const zn = B({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), vt = "http://www.w3.org/1998/Math/MathML", St = "http://www.w3.org/2000/svg", _e = "http://www.w3.org/1999/xhtml";
4243
- let Fe = _e, nn = !1, rn = null;
4244
- const Ui = B({}, [vt, St, _e], dn);
4242
+ const zn = D({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), vt = "http://www.w3.org/1998/Math/MathML", St = "http://www.w3.org/2000/svg", Oe = "http://www.w3.org/1999/xhtml";
4243
+ let Fe = Oe, nn = !1, rn = null;
4244
+ const Ui = D({}, [vt, St, Oe], dn);
4245
4245
  let rt = null;
4246
4246
  const ki = ["application/xhtml+xml", "text/html"], Gi = "text/html";
4247
- let $ = null, ze = null;
4247
+ let ne = null, ze = null;
4248
4248
  const Fi = n.createElement("form"), jn = function(o) {
4249
4249
  return o instanceof RegExp || o instanceof Function;
4250
4250
  }, sn = function() {
4251
4251
  let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4252
4252
  if (!(ze && ze === o)) {
4253
4253
  if ((!o || typeof o != "object") && (o = {}), o = De(o), rt = // eslint-disable-next-line unicorn/prefer-includes
4254
- ki.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? Gi : o.PARSER_MEDIA_TYPE, $ = rt === "application/xhtml+xml" ? dn : Ut, P = xe(o, "ALLOWED_TAGS") ? B({}, o.ALLOWED_TAGS, $) : g, _ = xe(o, "ALLOWED_ATTR") ? B({}, o.ALLOWED_ATTR, $) : Z, rn = xe(o, "ALLOWED_NAMESPACES") ? B({}, o.ALLOWED_NAMESPACES, dn) : Ui, tn = xe(o, "ADD_URI_SAFE_ATTR") ? B(
4254
+ ki.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? Gi : o.PARSER_MEDIA_TYPE, ne = rt === "application/xhtml+xml" ? dn : Ut, N = ve(o, "ALLOWED_TAGS") ? D({}, o.ALLOWED_TAGS, ne) : V, L = ve(o, "ALLOWED_ATTR") ? D({}, o.ALLOWED_ATTR, ne) : K, rn = ve(o, "ALLOWED_NAMESPACES") ? D({}, o.ALLOWED_NAMESPACES, dn) : Ui, tn = ve(o, "ADD_URI_SAFE_ATTR") ? D(
4255
4255
  De(zn),
4256
4256
  // eslint-disable-line indent
4257
4257
  o.ADD_URI_SAFE_ATTR,
4258
4258
  // eslint-disable-line indent
4259
- $
4259
+ ne
4260
4260
  // eslint-disable-line indent
4261
- ) : zn, Gn = xe(o, "ADD_DATA_URI_TAGS") ? B(
4261
+ ) : zn, Gn = ve(o, "ADD_DATA_URI_TAGS") ? D(
4262
4262
  De(Fn),
4263
4263
  // eslint-disable-line indent
4264
4264
  o.ADD_DATA_URI_TAGS,
4265
4265
  // eslint-disable-line indent
4266
- $
4266
+ ne
4267
4267
  // eslint-disable-line indent
4268
- ) : Fn, Ge = xe(o, "FORBID_CONTENTS") ? B({}, o.FORBID_CONTENTS, $) : kn, pe = xe(o, "FORBID_TAGS") ? B({}, o.FORBID_TAGS, $) : {}, Ee = xe(o, "FORBID_ATTR") ? B({}, o.FORBID_ATTR, $) : {}, ke = xe(o, "USE_PROFILES") ? o.USE_PROFILES : !1, Me = o.ALLOW_ARIA_ATTR !== !1, ye = o.ALLOW_DATA_ATTR !== !1, ee = o.ALLOW_UNKNOWN_PROTOCOLS || !1, Te = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, de = o.SAFE_FOR_TEMPLATES || !1, He = o.SAFE_FOR_XML !== !1, Ie = o.WHOLE_DOCUMENT || !1, Ue = o.RETURN_DOM || !1, Tt = o.RETURN_DOM_FRAGMENT || !1, xt = o.RETURN_TRUSTED_TYPE || !1, $t = o.FORCE_BODY || !1, Bn = o.SANITIZE_DOM !== !1, Un = o.SANITIZE_NAMED_PROPS || !1, en = o.KEEP_CONTENT !== !1, nt = o.IN_PLACE || !1, N = o.ALLOWED_URI_REGEXP || Pi, Fe = o.NAMESPACE || _e, I = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), de && (ye = !1), Tt && (Ue = !0), ke && (P = B({}, Lr), _ = [], ke.html === !0 && (B(P, Rr), B(_, Ir)), ke.svg === !0 && (B(P, gn), B(_, yn), B(_, Mt)), ke.svgFilters === !0 && (B(P, bn), B(_, yn), B(_, Mt)), ke.mathMl === !0 && (B(P, En), B(_, Dr), B(_, Mt))), o.ADD_TAGS && (P === g && (P = De(P)), B(P, o.ADD_TAGS, $)), o.ADD_ATTR && (_ === Z && (_ = De(_)), B(_, o.ADD_ATTR, $)), o.ADD_URI_SAFE_ATTR && B(tn, o.ADD_URI_SAFE_ATTR, $), o.FORBID_CONTENTS && (Ge === kn && (Ge = De(Ge)), B(Ge, o.FORBID_CONTENTS, $)), en && (P["#text"] = !0), Ie && B(P, ["html", "head", "body"]), P.table && (B(P, ["tbody"]), delete pe.tbody), o.TRUSTED_TYPES_POLICY) {
4268
+ ) : Fn, Ge = ve(o, "FORBID_CONTENTS") ? D({}, o.FORBID_CONTENTS, ne) : kn, b = ve(o, "FORBID_TAGS") ? D({}, o.FORBID_TAGS, ne) : {}, F = ve(o, "FORBID_ATTR") ? D({}, o.FORBID_ATTR, ne) : {}, ke = ve(o, "USE_PROFILES") ? o.USE_PROFILES : !1, re = o.ALLOW_ARIA_ATTR !== !1, Q = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, xe = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ee = o.SAFE_FOR_TEMPLATES || !1, He = o.SAFE_FOR_XML !== !1, Ie = o.WHOLE_DOCUMENT || !1, Ue = o.RETURN_DOM || !1, Tt = o.RETURN_DOM_FRAGMENT || !1, xt = o.RETURN_TRUSTED_TYPE || !1, $t = o.FORCE_BODY || !1, Bn = o.SANITIZE_DOM !== !1, Un = o.SANITIZE_NAMED_PROPS || !1, en = o.KEEP_CONTENT !== !1, nt = o.IN_PLACE || !1, H = o.ALLOWED_URI_REGEXP || Pi, Fe = o.NAMESPACE || Oe, B = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (B.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && jn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (B.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (B.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Ee && (Q = !1), Tt && (Ue = !0), ke && (N = D({}, Lr), L = [], ke.html === !0 && (D(N, Rr), D(L, Ir)), ke.svg === !0 && (D(N, gn), D(L, yn), D(L, Mt)), ke.svgFilters === !0 && (D(N, bn), D(L, yn), D(L, Mt)), ke.mathMl === !0 && (D(N, En), D(L, Dr), D(L, Mt))), o.ADD_TAGS && (N === V && (N = De(N)), D(N, o.ADD_TAGS, ne)), o.ADD_ATTR && (L === K && (L = De(L)), D(L, o.ADD_ATTR, ne)), o.ADD_URI_SAFE_ATTR && D(tn, o.ADD_URI_SAFE_ATTR, ne), o.FORBID_CONTENTS && (Ge === kn && (Ge = De(Ge)), D(Ge, o.FORBID_CONTENTS, ne)), en && (N["#text"] = !0), Ie && D(N, ["html", "head", "body"]), N.table && (D(N, ["tbody"]), delete b.tbody), o.TRUSTED_TYPES_POLICY) {
4269
4269
  if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
4270
4270
  throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4271
4271
  if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4272
4272
  throw ut('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4273
- L = o.TRUSTED_TYPES_POLICY, D = L.createHTML("");
4273
+ R = o.TRUSTED_TYPES_POLICY, I = R.createHTML("");
4274
4274
  } else
4275
- L === void 0 && (L = Ba(C, i)), L !== null && typeof D == "string" && (D = L.createHTML(""));
4276
- ae && ae(o), ze = o;
4275
+ R === void 0 && (R = Ba(C, i)), R !== null && typeof I == "string" && (I = R.createHTML(""));
4276
+ he && he(o), ze = o;
4277
4277
  }
4278
- }, Wn = B({}, ["mi", "mo", "mn", "ms", "mtext"]), Zn = B({}, ["foreignobject", "annotation-xml"]), zi = B({}, ["title", "style", "font", "a", "script"]), Vn = B({}, [...gn, ...bn, ..._a]), Xn = B({}, [...En, ...Oa]), ji = function(o) {
4279
- let p = A(o);
4280
- (!p || !p.tagName) && (p = {
4278
+ }, Wn = D({}, ["mi", "mo", "mn", "ms", "mtext"]), Zn = D({}, ["foreignobject", "annotation-xml"]), zi = D({}, ["title", "style", "font", "a", "script"]), Vn = D({}, [...gn, ...bn, ..._a]), Xn = D({}, [...En, ...Oa]), ji = function(o) {
4279
+ let d = A(o);
4280
+ (!d || !d.tagName) && (d = {
4281
4281
  namespaceURI: Fe,
4282
4282
  tagName: "template"
4283
4283
  });
4284
- const w = Ut(o.tagName), V = Ut(p.tagName);
4285
- return rn[o.namespaceURI] ? o.namespaceURI === St ? p.namespaceURI === _e ? w === "svg" : p.namespaceURI === vt ? w === "svg" && (V === "annotation-xml" || Wn[V]) : !!Vn[w] : o.namespaceURI === vt ? p.namespaceURI === _e ? w === "math" : p.namespaceURI === St ? w === "math" && Zn[V] : !!Xn[w] : o.namespaceURI === _e ? p.namespaceURI === St && !Zn[V] || p.namespaceURI === vt && !Wn[V] ? !1 : !Xn[w] && (zi[w] || !Vn[w]) : !!(rt === "application/xhtml+xml" && rn[o.namespaceURI]) : !1;
4286
- }, ve = function(o) {
4284
+ const w = Ut(o.tagName), X = Ut(d.tagName);
4285
+ return rn[o.namespaceURI] ? o.namespaceURI === St ? d.namespaceURI === Oe ? w === "svg" : d.namespaceURI === vt ? w === "svg" && (X === "annotation-xml" || Wn[X]) : !!Vn[w] : o.namespaceURI === vt ? d.namespaceURI === Oe ? w === "math" : d.namespaceURI === St ? w === "math" && Zn[X] : !!Xn[w] : o.namespaceURI === Oe ? d.namespaceURI === St && !Zn[X] || d.namespaceURI === vt && !Wn[X] ? !1 : !Xn[w] && (zi[w] || !Vn[w]) : !!(rt === "application/xhtml+xml" && rn[o.namespaceURI]) : !1;
4286
+ }, Se = function(o) {
4287
4287
  at(t.removed, {
4288
4288
  element: o
4289
4289
  });
4290
4290
  try {
4291
4291
  A(o).removeChild(o);
4292
- } catch (p) {
4292
+ } catch (d) {
4293
4293
  M(o);
4294
4294
  }
4295
- }, wt = function(o, p) {
4295
+ }, wt = function(o, d) {
4296
4296
  try {
4297
4297
  at(t.removed, {
4298
- attribute: p.getAttributeNode(o),
4299
- from: p
4298
+ attribute: d.getAttributeNode(o),
4299
+ from: d
4300
4300
  });
4301
4301
  } catch (w) {
4302
4302
  at(t.removed, {
4303
4303
  attribute: null,
4304
- from: p
4304
+ from: d
4305
4305
  });
4306
4306
  }
4307
- if (p.removeAttribute(o), o === "is" && !_[o])
4307
+ if (d.removeAttribute(o), o === "is" && !L[o])
4308
4308
  if (Ue || Tt)
4309
4309
  try {
4310
- ve(p);
4310
+ Se(d);
4311
4311
  } catch (w) {
4312
4312
  }
4313
4313
  else
4314
4314
  try {
4315
- p.setAttribute(o, "");
4315
+ d.setAttribute(o, "");
4316
4316
  } catch (w) {
4317
4317
  }
4318
4318
  }, Jn = function(o) {
4319
- let p = null, w = null;
4319
+ let d = null, w = null;
4320
4320
  if ($t)
4321
4321
  o = "<remove></remove>" + o;
4322
4322
  else {
4323
- const te = Pr(o, /^[\r\n\t ]+/);
4324
- w = te && te[0];
4323
+ const se = Pr(o, /^[\r\n\t ]+/);
4324
+ w = se && se[0];
4325
4325
  }
4326
- rt === "application/xhtml+xml" && Fe === _e && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
4327
- const V = L ? L.createHTML(o) : o;
4328
- if (Fe === _e)
4326
+ rt === "application/xhtml+xml" && Fe === Oe && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
4327
+ const X = R ? R.createHTML(o) : o;
4328
+ if (Fe === Oe)
4329
4329
  try {
4330
- p = new T().parseFromString(V, rt);
4331
- } catch (te) {
4330
+ d = new T().parseFromString(X, rt);
4331
+ } catch (se) {
4332
4332
  }
4333
- if (!p || !p.documentElement) {
4334
- p = z.createDocument(Fe, "template", null);
4333
+ if (!d || !d.documentElement) {
4334
+ d = j.createDocument(Fe, "template", null);
4335
4335
  try {
4336
- p.documentElement.innerHTML = nn ? D : V;
4337
- } catch (te) {
4336
+ d.documentElement.innerHTML = nn ? I : X;
4337
+ } catch (se) {
4338
4338
  }
4339
4339
  }
4340
- const ne = p.body || p.documentElement;
4341
- return o && w && ne.insertBefore(n.createTextNode(w), ne.childNodes[0] || null), Fe === _e ? Q.call(p, Ie ? "html" : "body")[0] : Ie ? p.documentElement : ne;
4340
+ const oe = d.body || d.documentElement;
4341
+ return o && w && oe.insertBefore(n.createTextNode(w), oe.childNodes[0] || null), Fe === Oe ? ee.call(d, Ie ? "html" : "body")[0] : Ie ? d.documentElement : oe;
4342
4342
  }, Yn = function(o) {
4343
- return J.call(
4343
+ return Y.call(
4344
4344
  o.ownerDocument || o,
4345
4345
  o,
4346
4346
  // eslint-disable-next-line no-bitwise
@@ -4348,61 +4348,61 @@ function Li() {
4348
4348
  null
4349
4349
  );
4350
4350
  }, qn = function(o) {
4351
- return o instanceof b && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof h) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
4351
+ return o instanceof g && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof h) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
4352
4352
  }, Qn = function(o) {
4353
4353
  return typeof l == "function" && o instanceof l;
4354
- }, Oe = function(o, p, w) {
4355
- H[o] && Ct(H[o], (V) => {
4356
- V.call(t, p, w, ze);
4354
+ }, Ce = function(o, d, w) {
4355
+ _[o] && Ct(_[o], (X) => {
4356
+ X.call(t, d, w, ze);
4357
4357
  });
4358
4358
  }, Kn = function(o) {
4359
- let p = null;
4360
- if (Oe("beforeSanitizeElements", o, null), qn(o))
4361
- return ve(o), !0;
4362
- const w = $(o.nodeName);
4363
- if (Oe("uponSanitizeElement", o, {
4359
+ let d = null;
4360
+ if (Ce("beforeSanitizeElements", o, null), qn(o))
4361
+ return Se(o), !0;
4362
+ const w = ne(o.nodeName);
4363
+ if (Ce("uponSanitizeElement", o, {
4364
4364
  tagName: w,
4365
- allowedTags: P
4366
- }), o.hasChildNodes() && !Qn(o.firstElementChild) && se(/<[/\w]/g, o.innerHTML) && se(/<[/\w]/g, o.textContent) || o.nodeType === ht.progressingInstruction || He && o.nodeType === ht.comment && se(/<[/\w]/g, o.data))
4367
- return ve(o), !0;
4368
- if (!P[w] || pe[w]) {
4369
- if (!pe[w] && er(w) && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, w) || I.tagNameCheck instanceof Function && I.tagNameCheck(w)))
4365
+ allowedTags: N
4366
+ }), o.hasChildNodes() && !Qn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ht.progressingInstruction || He && o.nodeType === ht.comment && ue(/<[/\w]/g, o.data))
4367
+ return Se(o), !0;
4368
+ if (!N[w] || b[w]) {
4369
+ if (!b[w] && er(w) && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, w) || B.tagNameCheck instanceof Function && B.tagNameCheck(w)))
4370
4370
  return !1;
4371
4371
  if (en && !Ge[w]) {
4372
- const V = A(o) || o.parentNode, ne = R(o) || o.childNodes;
4373
- if (ne && V) {
4374
- const te = ne.length;
4375
- for (let ue = te - 1; ue >= 0; --ue) {
4376
- const Se = m(ne[ue], !0);
4377
- Se.__removalCount = (o.__removalCount || 0) + 1, V.insertBefore(Se, j(o));
4372
+ const X = A(o) || o.parentNode, oe = P(o) || o.childNodes;
4373
+ if (oe && X) {
4374
+ const se = oe.length;
4375
+ for (let fe = se - 1; fe >= 0; --fe) {
4376
+ const we = m(oe[fe], !0);
4377
+ we.__removalCount = (o.__removalCount || 0) + 1, X.insertBefore(we, W(o));
4378
4378
  }
4379
4379
  }
4380
4380
  }
4381
- return ve(o), !0;
4381
+ return Se(o), !0;
4382
4382
  }
4383
- return o instanceof c && !ji(o) || (w === "noscript" || w === "noembed" || w === "noframes") && se(/<\/no(script|embed|frames)/i, o.innerHTML) ? (ve(o), !0) : (de && o.nodeType === ht.text && (p = o.textContent, Ct([re, le, v], (V) => {
4384
- p = lt(p, V, " ");
4385
- }), o.textContent !== p && (at(t.removed, {
4383
+ return o instanceof c && !ji(o) || (w === "noscript" || w === "noembed" || w === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (Se(o), !0) : (Ee && o.nodeType === ht.text && (d = o.textContent, Ct([ae, de, v], (X) => {
4384
+ d = lt(d, X, " ");
4385
+ }), o.textContent !== d && (at(t.removed, {
4386
4386
  element: o.cloneNode()
4387
- }), o.textContent = p)), Oe("afterSanitizeElements", o, null), !1);
4388
- }, $n = function(o, p, w) {
4389
- if (Bn && (p === "id" || p === "name") && (w in n || w in Fi))
4387
+ }), o.textContent = d)), Ce("afterSanitizeElements", o, null), !1);
4388
+ }, $n = function(o, d, w) {
4389
+ if (Bn && (d === "id" || d === "name") && (w in n || w in Fi))
4390
4390
  return !1;
4391
- if (!(ye && !Ee[p] && se(y, p))) {
4392
- if (!(Me && se(d, p))) {
4393
- if (!_[p] || Ee[p]) {
4391
+ if (!(Q && !F[d] && ue(E, d))) {
4392
+ if (!(re && ue(p, d))) {
4393
+ if (!L[d] || F[d]) {
4394
4394
  if (
4395
4395
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4396
4396
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4397
4397
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4398
- !(er(o) && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, o) || I.tagNameCheck instanceof Function && I.tagNameCheck(o)) && (I.attributeNameCheck instanceof RegExp && se(I.attributeNameCheck, p) || I.attributeNameCheck instanceof Function && I.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4398
+ !(er(o) && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, o) || B.tagNameCheck instanceof Function && B.tagNameCheck(o)) && (B.attributeNameCheck instanceof RegExp && ue(B.attributeNameCheck, d) || B.attributeNameCheck instanceof Function && B.attributeNameCheck(d)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4399
4399
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4400
- p === "is" && I.allowCustomizedBuiltInElements && (I.tagNameCheck instanceof RegExp && se(I.tagNameCheck, w) || I.tagNameCheck instanceof Function && I.tagNameCheck(w)))
4400
+ d === "is" && B.allowCustomizedBuiltInElements && (B.tagNameCheck instanceof RegExp && ue(B.tagNameCheck, w) || B.tagNameCheck instanceof Function && B.tagNameCheck(w)))
4401
4401
  ) return !1;
4402
- } else if (!tn[p]) {
4403
- if (!se(N, lt(w, f, ""))) {
4404
- if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && va(w, "data:") === 0 && Gn[o])) {
4405
- if (!(ee && !se(S, lt(w, f, "")))) {
4402
+ } else if (!tn[d]) {
4403
+ if (!ue(H, lt(w, f, ""))) {
4404
+ if (!((d === "src" || d === "xlink:href" || d === "href") && o !== "script" && va(w, "data:") === 0 && Gn[o])) {
4405
+ if (!(ie && !ue(S, lt(w, f, "")))) {
4406
4406
  if (w)
4407
4407
  return !1;
4408
4408
  }
@@ -4415,68 +4415,68 @@ function Li() {
4415
4415
  }, er = function(o) {
4416
4416
  return o !== "annotation-xml" && Pr(o, x);
4417
4417
  }, tr = function(o) {
4418
- Oe("beforeSanitizeAttributes", o, null);
4418
+ Ce("beforeSanitizeAttributes", o, null);
4419
4419
  const {
4420
- attributes: p
4420
+ attributes: d
4421
4421
  } = o;
4422
- if (!p)
4422
+ if (!d)
4423
4423
  return;
4424
4424
  const w = {
4425
4425
  attrName: "",
4426
4426
  attrValue: "",
4427
4427
  keepAttr: !0,
4428
- allowedAttributes: _
4428
+ allowedAttributes: L
4429
4429
  };
4430
- let V = p.length;
4431
- for (; V--; ) {
4432
- const ne = p[V], {
4433
- name: te,
4434
- namespaceURI: ue,
4435
- value: Se
4436
- } = ne, it = $(te);
4437
- let ie = te === "value" ? Se : Sa(Se);
4438
- if (w.attrName = it, w.attrValue = ie, w.keepAttr = !0, w.forceKeepAttr = void 0, Oe("uponSanitizeAttribute", o, w), ie = w.attrValue, He && se(/((--!?|])>)|<\/(style|title)/i, ie)) {
4439
- wt(te, o);
4430
+ let X = d.length;
4431
+ for (; X--; ) {
4432
+ const oe = d[X], {
4433
+ name: se,
4434
+ namespaceURI: fe,
4435
+ value: we
4436
+ } = oe, it = ne(se);
4437
+ let le = se === "value" ? we : Sa(we);
4438
+ if (w.attrName = it, w.attrValue = le, w.keepAttr = !0, w.forceKeepAttr = void 0, Ce("uponSanitizeAttribute", o, w), le = w.attrValue, He && ue(/((--!?|])>)|<\/(style|title)/i, le)) {
4439
+ wt(se, o);
4440
4440
  continue;
4441
4441
  }
4442
- if (w.forceKeepAttr || (wt(te, o), !w.keepAttr))
4442
+ if (w.forceKeepAttr || (wt(se, o), !w.keepAttr))
4443
4443
  continue;
4444
- if (!Te && se(/\/>/i, ie)) {
4445
- wt(te, o);
4444
+ if (!xe && ue(/\/>/i, le)) {
4445
+ wt(se, o);
4446
4446
  continue;
4447
4447
  }
4448
- de && Ct([re, le, v], (rr) => {
4449
- ie = lt(ie, rr, " ");
4448
+ Ee && Ct([ae, de, v], (rr) => {
4449
+ le = lt(le, rr, " ");
4450
4450
  });
4451
- const nr = $(o.nodeName);
4452
- if ($n(nr, it, ie)) {
4453
- if (Un && (it === "id" || it === "name") && (wt(te, o), ie = Bi + ie), L && typeof C == "object" && typeof C.getAttributeType == "function" && !ue)
4451
+ const nr = ne(o.nodeName);
4452
+ if ($n(nr, it, le)) {
4453
+ if (Un && (it === "id" || it === "name") && (wt(se, o), le = Bi + le), R && typeof C == "object" && typeof C.getAttributeType == "function" && !fe)
4454
4454
  switch (C.getAttributeType(nr, it)) {
4455
4455
  case "TrustedHTML": {
4456
- ie = L.createHTML(ie);
4456
+ le = R.createHTML(le);
4457
4457
  break;
4458
4458
  }
4459
4459
  case "TrustedScriptURL": {
4460
- ie = L.createScriptURL(ie);
4460
+ le = R.createScriptURL(le);
4461
4461
  break;
4462
4462
  }
4463
4463
  }
4464
4464
  try {
4465
- ue ? o.setAttributeNS(ue, te, ie) : o.setAttribute(te, ie), qn(o) ? ve(o) : Nr(t.removed);
4465
+ fe ? o.setAttributeNS(fe, se, le) : o.setAttribute(se, le), qn(o) ? Se(o) : Nr(t.removed);
4466
4466
  } catch (rr) {
4467
4467
  }
4468
4468
  }
4469
4469
  }
4470
- Oe("afterSanitizeAttributes", o, null);
4470
+ Ce("afterSanitizeAttributes", o, null);
4471
4471
  }, Wi = function O(o) {
4472
- let p = null;
4472
+ let d = null;
4473
4473
  const w = Yn(o);
4474
- for (Oe("beforeSanitizeShadowDOM", o, null); p = w.nextNode(); )
4475
- Oe("uponSanitizeShadowNode", p, null), !Kn(p) && (p.content instanceof s && O(p.content), tr(p));
4476
- Oe("afterSanitizeShadowDOM", o, null);
4474
+ for (Ce("beforeSanitizeShadowDOM", o, null); d = w.nextNode(); )
4475
+ Ce("uponSanitizeShadowNode", d, null), !Kn(d) && (d.content instanceof s && O(d.content), tr(d));
4476
+ Ce("afterSanitizeShadowDOM", o, null);
4477
4477
  };
4478
4478
  return t.sanitize = function(O) {
4479
- let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, w = null, V = null, ne = null;
4479
+ let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, d = null, w = null, X = null, oe = null;
4480
4480
  if (nn = !O, nn && (O = "<!-->"), typeof O != "string" && !Qn(O))
4481
4481
  if (typeof O.toString == "function") {
4482
4482
  if (O = O.toString(), typeof O != "string")
@@ -4487,56 +4487,56 @@ function Li() {
4487
4487
  return O;
4488
4488
  if (Kt || sn(o), t.removed = [], typeof O == "string" && (nt = !1), nt) {
4489
4489
  if (O.nodeName) {
4490
- const Se = $(O.nodeName);
4491
- if (!P[Se] || pe[Se])
4490
+ const we = ne(O.nodeName);
4491
+ if (!N[we] || b[we])
4492
4492
  throw ut("root node is forbidden and cannot be sanitized in-place");
4493
4493
  }
4494
4494
  } else if (O instanceof l)
4495
- p = Jn("<!---->"), w = p.ownerDocument.importNode(O, !0), w.nodeType === ht.element && w.nodeName === "BODY" || w.nodeName === "HTML" ? p = w : p.appendChild(w);
4495
+ d = Jn("<!---->"), w = d.ownerDocument.importNode(O, !0), w.nodeType === ht.element && w.nodeName === "BODY" || w.nodeName === "HTML" ? d = w : d.appendChild(w);
4496
4496
  else {
4497
- if (!Ue && !de && !Ie && // eslint-disable-next-line unicorn/prefer-includes
4497
+ if (!Ue && !Ee && !Ie && // eslint-disable-next-line unicorn/prefer-includes
4498
4498
  O.indexOf("<") === -1)
4499
- return L && xt ? L.createHTML(O) : O;
4500
- if (p = Jn(O), !p)
4501
- return Ue ? null : xt ? D : "";
4499
+ return R && xt ? R.createHTML(O) : O;
4500
+ if (d = Jn(O), !d)
4501
+ return Ue ? null : xt ? I : "";
4502
4502
  }
4503
- p && $t && ve(p.firstChild);
4504
- const te = Yn(nt ? O : p);
4505
- for (; V = te.nextNode(); )
4506
- Kn(V) || (V.content instanceof s && Wi(V.content), tr(V));
4503
+ d && $t && Se(d.firstChild);
4504
+ const se = Yn(nt ? O : d);
4505
+ for (; X = se.nextNode(); )
4506
+ Kn(X) || (X.content instanceof s && Wi(X.content), tr(X));
4507
4507
  if (nt)
4508
4508
  return O;
4509
4509
  if (Ue) {
4510
4510
  if (Tt)
4511
- for (ne = Y.call(p.ownerDocument); p.firstChild; )
4512
- ne.appendChild(p.firstChild);
4511
+ for (oe = q.call(d.ownerDocument); d.firstChild; )
4512
+ oe.appendChild(d.firstChild);
4513
4513
  else
4514
- ne = p;
4515
- return (_.shadowroot || _.shadowrootmode) && (ne = W.call(r, ne, !0)), ne;
4514
+ oe = d;
4515
+ return (L.shadowroot || L.shadowrootmode) && (oe = Z.call(r, oe, !0)), oe;
4516
4516
  }
4517
- let ue = Ie ? p.outerHTML : p.innerHTML;
4518
- return Ie && P["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && se(Ri, p.ownerDocument.doctype.name) && (ue = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4519
- ` + ue), de && Ct([re, le, v], (Se) => {
4520
- ue = lt(ue, Se, " ");
4521
- }), L && xt ? L.createHTML(ue) : ue;
4517
+ let fe = Ie ? d.outerHTML : d.innerHTML;
4518
+ return Ie && N["!doctype"] && d.ownerDocument && d.ownerDocument.doctype && d.ownerDocument.doctype.name && ue(Ri, d.ownerDocument.doctype.name) && (fe = "<!DOCTYPE " + d.ownerDocument.doctype.name + `>
4519
+ ` + fe), Ee && Ct([ae, de, v], (we) => {
4520
+ fe = lt(fe, we, " ");
4521
+ }), R && xt ? R.createHTML(fe) : fe;
4522
4522
  }, t.setConfig = function() {
4523
4523
  let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4524
4524
  sn(O), Kt = !0;
4525
4525
  }, t.clearConfig = function() {
4526
4526
  ze = null, Kt = !1;
4527
- }, t.isValidAttribute = function(O, o, p) {
4527
+ }, t.isValidAttribute = function(O, o, d) {
4528
4528
  ze || sn({});
4529
- const w = $(O), V = $(o);
4530
- return $n(w, V, p);
4529
+ const w = ne(O), X = ne(o);
4530
+ return $n(w, X, d);
4531
4531
  }, t.addHook = function(O, o) {
4532
- typeof o == "function" && (H[O] = H[O] || [], at(H[O], o));
4532
+ typeof o == "function" && (_[O] = _[O] || [], at(_[O], o));
4533
4533
  }, t.removeHook = function(O) {
4534
- if (H[O])
4535
- return Nr(H[O]);
4534
+ if (_[O])
4535
+ return Nr(_[O]);
4536
4536
  }, t.removeHooks = function(O) {
4537
- H[O] && (H[O] = []);
4537
+ _[O] && (_[O] = []);
4538
4538
  }, t.removeAllHooks = function() {
4539
- H = {};
4539
+ _ = {};
4540
4540
  }, t;
4541
4541
  }
4542
4542
  var Ur = Li();
@@ -4546,275 +4546,275 @@ var Ii = { exports: {} };
4546
4546
  (function(n, r) {
4547
4547
  e.exports = r();
4548
4548
  })(ii, function() {
4549
- var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", l = "minute", c = "hour", u = "day", h = "week", b = "month", T = "quarter", C = "year", E = "date", m = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, j = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
4550
- var y = ["th", "st", "nd", "rd"], d = v % 100;
4551
- return "[" + v + (y[(d - 20) % 10] || y[d] || y[0]) + "]";
4552
- } }, A = function(v, y, d) {
4549
+ var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", l = "minute", c = "hour", u = "day", h = "week", g = "month", T = "quarter", C = "year", y = "date", m = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, W = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, P = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
4550
+ var E = ["th", "st", "nd", "rd"], p = v % 100;
4551
+ return "[" + v + (E[(p - 20) % 10] || E[p] || E[0]) + "]";
4552
+ } }, A = function(v, E, p) {
4553
4553
  var S = String(v);
4554
- return !S || S.length >= y ? v : "" + Array(y + 1 - S.length).join(d) + v;
4555
- }, L = { s: A, z: function(v) {
4556
- var y = -v.utcOffset(), d = Math.abs(y), S = Math.floor(d / 60), f = d % 60;
4557
- return (y <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
4558
- }, m: function v(y, d) {
4559
- if (y.date() < d.date()) return -v(d, y);
4560
- var S = 12 * (d.year() - y.year()) + (d.month() - y.month()), f = y.clone().add(S, b), x = d - f < 0, N = y.clone().add(S + (x ? -1 : 1), b);
4561
- return +(-(S + (d - f) / (x ? f - N : N - f)) || 0);
4554
+ return !S || S.length >= E ? v : "" + Array(E + 1 - S.length).join(p) + v;
4555
+ }, R = { s: A, z: function(v) {
4556
+ var E = -v.utcOffset(), p = Math.abs(E), S = Math.floor(p / 60), f = p % 60;
4557
+ return (E <= 0 ? "+" : "-") + A(S, 2, "0") + ":" + A(f, 2, "0");
4558
+ }, m: function v(E, p) {
4559
+ if (E.date() < p.date()) return -v(p, E);
4560
+ var S = 12 * (p.year() - E.year()) + (p.month() - E.month()), f = E.clone().add(S, g), x = p - f < 0, H = E.clone().add(S + (x ? -1 : 1), g);
4561
+ return +(-(S + (p - f) / (x ? f - H : H - f)) || 0);
4562
4562
  }, a: function(v) {
4563
4563
  return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
4564
4564
  }, p: function(v) {
4565
- return { M: b, y: C, w: h, d: u, D: E, h: c, m: l, s: a, ms: s, Q: T }[v] || String(v || "").toLowerCase().replace(/s$/, "");
4565
+ return { M: g, y: C, w: h, d: u, D: y, h: c, m: l, s: a, ms: s, Q: T }[v] || String(v || "").toLowerCase().replace(/s$/, "");
4566
4566
  }, u: function(v) {
4567
4567
  return v === void 0;
4568
- } }, D = "en", z = {};
4569
- z[D] = R;
4570
- var J = "$isDayjsObject", Y = function(v) {
4571
- return v instanceof re || !(!v || !v[J]);
4572
- }, Q = function v(y, d, S) {
4568
+ } }, I = "en", j = {};
4569
+ j[I] = P;
4570
+ var Y = "$isDayjsObject", q = function(v) {
4571
+ return v instanceof ae || !(!v || !v[Y]);
4572
+ }, ee = function v(E, p, S) {
4573
4573
  var f;
4574
- if (!y) return D;
4575
- if (typeof y == "string") {
4576
- var x = y.toLowerCase();
4577
- z[x] && (f = x), d && (z[x] = d, f = x);
4578
- var N = y.split("-");
4579
- if (!f && N.length > 1) return v(N[0]);
4574
+ if (!E) return I;
4575
+ if (typeof E == "string") {
4576
+ var x = E.toLowerCase();
4577
+ j[x] && (f = x), p && (j[x] = p, f = x);
4578
+ var H = E.split("-");
4579
+ if (!f && H.length > 1) return v(H[0]);
4580
4580
  } else {
4581
- var P = y.name;
4582
- z[P] = y, f = P;
4581
+ var N = E.name;
4582
+ j[N] = E, f = N;
4583
4583
  }
4584
- return !S && f && (D = f), f || !S && D;
4585
- }, W = function(v, y) {
4586
- if (Y(v)) return v.clone();
4587
- var d = typeof y == "object" ? y : {};
4588
- return d.date = v, d.args = arguments, new re(d);
4589
- }, H = L;
4590
- H.l = Q, H.i = Y, H.w = function(v, y) {
4591
- return W(v, { locale: y.$L, utc: y.$u, x: y.$x, $offset: y.$offset });
4584
+ return !S && f && (I = f), f || !S && I;
4585
+ }, Z = function(v, E) {
4586
+ if (q(v)) return v.clone();
4587
+ var p = typeof E == "object" ? E : {};
4588
+ return p.date = v, p.args = arguments, new ae(p);
4589
+ }, _ = R;
4590
+ _.l = ee, _.i = q, _.w = function(v, E) {
4591
+ return Z(v, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4592
4592
  };
4593
- var re = function() {
4594
- function v(d) {
4595
- this.$L = Q(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[J] = !0;
4593
+ var ae = function() {
4594
+ function v(p) {
4595
+ this.$L = ee(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[Y] = !0;
4596
4596
  }
4597
- var y = v.prototype;
4598
- return y.parse = function(d) {
4597
+ var E = v.prototype;
4598
+ return E.parse = function(p) {
4599
4599
  this.$d = function(S) {
4600
4600
  var f = S.date, x = S.utc;
4601
4601
  if (f === null) return /* @__PURE__ */ new Date(NaN);
4602
- if (H.u(f)) return /* @__PURE__ */ new Date();
4602
+ if (_.u(f)) return /* @__PURE__ */ new Date();
4603
4603
  if (f instanceof Date) return new Date(f);
4604
4604
  if (typeof f == "string" && !/Z$/i.test(f)) {
4605
- var N = f.match(M);
4606
- if (N) {
4607
- var P = N[2] - 1 || 0, g = (N[7] || "0").substring(0, 3);
4608
- return x ? new Date(Date.UTC(N[1], P, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, g)) : new Date(N[1], P, N[3] || 1, N[4] || 0, N[5] || 0, N[6] || 0, g);
4605
+ var H = f.match(M);
4606
+ if (H) {
4607
+ var N = H[2] - 1 || 0, V = (H[7] || "0").substring(0, 3);
4608
+ return x ? new Date(Date.UTC(H[1], N, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, V)) : new Date(H[1], N, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, V);
4609
4609
  }
4610
4610
  }
4611
4611
  return new Date(f);
4612
- }(d), this.init();
4613
- }, y.init = function() {
4614
- var d = this.$d;
4615
- this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
4616
- }, y.$utils = function() {
4617
- return H;
4618
- }, y.isValid = function() {
4612
+ }(p), this.init();
4613
+ }, E.init = function() {
4614
+ var p = this.$d;
4615
+ this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
4616
+ }, E.$utils = function() {
4617
+ return _;
4618
+ }, E.isValid = function() {
4619
4619
  return this.$d.toString() !== m;
4620
- }, y.isSame = function(d, S) {
4621
- var f = W(d);
4620
+ }, E.isSame = function(p, S) {
4621
+ var f = Z(p);
4622
4622
  return this.startOf(S) <= f && f <= this.endOf(S);
4623
- }, y.isAfter = function(d, S) {
4624
- return W(d) < this.startOf(S);
4625
- }, y.isBefore = function(d, S) {
4626
- return this.endOf(S) < W(d);
4627
- }, y.$g = function(d, S, f) {
4628
- return H.u(d) ? this[S] : this.set(f, d);
4629
- }, y.unix = function() {
4623
+ }, E.isAfter = function(p, S) {
4624
+ return Z(p) < this.startOf(S);
4625
+ }, E.isBefore = function(p, S) {
4626
+ return this.endOf(S) < Z(p);
4627
+ }, E.$g = function(p, S, f) {
4628
+ return _.u(p) ? this[S] : this.set(f, p);
4629
+ }, E.unix = function() {
4630
4630
  return Math.floor(this.valueOf() / 1e3);
4631
- }, y.valueOf = function() {
4631
+ }, E.valueOf = function() {
4632
4632
  return this.$d.getTime();
4633
- }, y.startOf = function(d, S) {
4634
- var f = this, x = !!H.u(S) || S, N = H.p(d), P = function(ye, ee) {
4635
- var Te = H.w(f.$u ? Date.UTC(f.$y, ee, ye) : new Date(f.$y, ee, ye), f);
4636
- return x ? Te : Te.endOf(u);
4637
- }, g = function(ye, ee) {
4638
- return H.w(f.toDate()[ye].apply(f.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ee)), f);
4639
- }, _ = this.$W, Z = this.$M, I = this.$D, pe = "set" + (this.$u ? "UTC" : "");
4640
- switch (N) {
4633
+ }, E.startOf = function(p, S) {
4634
+ var f = this, x = !!_.u(S) || S, H = _.p(p), N = function(Q, ie) {
4635
+ var xe = _.w(f.$u ? Date.UTC(f.$y, ie, Q) : new Date(f.$y, ie, Q), f);
4636
+ return x ? xe : xe.endOf(u);
4637
+ }, V = function(Q, ie) {
4638
+ return _.w(f.toDate()[Q].apply(f.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), f);
4639
+ }, L = this.$W, K = this.$M, B = this.$D, b = "set" + (this.$u ? "UTC" : "");
4640
+ switch (H) {
4641
4641
  case C:
4642
- return x ? P(1, 0) : P(31, 11);
4643
- case b:
4644
- return x ? P(1, Z) : P(0, Z + 1);
4642
+ return x ? N(1, 0) : N(31, 11);
4643
+ case g:
4644
+ return x ? N(1, K) : N(0, K + 1);
4645
4645
  case h:
4646
- var Ee = this.$locale().weekStart || 0, Me = (_ < Ee ? _ + 7 : _) - Ee;
4647
- return P(x ? I - Me : I + (6 - Me), Z);
4646
+ var F = this.$locale().weekStart || 0, re = (L < F ? L + 7 : L) - F;
4647
+ return N(x ? B - re : B + (6 - re), K);
4648
4648
  case u:
4649
- case E:
4650
- return g(pe + "Hours", 0);
4649
+ case y:
4650
+ return V(b + "Hours", 0);
4651
4651
  case c:
4652
- return g(pe + "Minutes", 1);
4652
+ return V(b + "Minutes", 1);
4653
4653
  case l:
4654
- return g(pe + "Seconds", 2);
4654
+ return V(b + "Seconds", 2);
4655
4655
  case a:
4656
- return g(pe + "Milliseconds", 3);
4656
+ return V(b + "Milliseconds", 3);
4657
4657
  default:
4658
4658
  return this.clone();
4659
4659
  }
4660
- }, y.endOf = function(d) {
4661
- return this.startOf(d, !1);
4662
- }, y.$set = function(d, S) {
4663
- var f, x = H.p(d), N = "set" + (this.$u ? "UTC" : ""), P = (f = {}, f[u] = N + "Date", f[E] = N + "Date", f[b] = N + "Month", f[C] = N + "FullYear", f[c] = N + "Hours", f[l] = N + "Minutes", f[a] = N + "Seconds", f[s] = N + "Milliseconds", f)[x], g = x === u ? this.$D + (S - this.$W) : S;
4664
- if (x === b || x === C) {
4665
- var _ = this.clone().set(E, 1);
4666
- _.$d[P](g), _.init(), this.$d = _.set(E, Math.min(this.$D, _.daysInMonth())).$d;
4667
- } else P && this.$d[P](g);
4660
+ }, E.endOf = function(p) {
4661
+ return this.startOf(p, !1);
4662
+ }, E.$set = function(p, S) {
4663
+ var f, x = _.p(p), H = "set" + (this.$u ? "UTC" : ""), N = (f = {}, f[u] = H + "Date", f[y] = H + "Date", f[g] = H + "Month", f[C] = H + "FullYear", f[c] = H + "Hours", f[l] = H + "Minutes", f[a] = H + "Seconds", f[s] = H + "Milliseconds", f)[x], V = x === u ? this.$D + (S - this.$W) : S;
4664
+ if (x === g || x === C) {
4665
+ var L = this.clone().set(y, 1);
4666
+ L.$d[N](V), L.init(), this.$d = L.set(y, Math.min(this.$D, L.daysInMonth())).$d;
4667
+ } else N && this.$d[N](V);
4668
4668
  return this.init(), this;
4669
- }, y.set = function(d, S) {
4670
- return this.clone().$set(d, S);
4671
- }, y.get = function(d) {
4672
- return this[H.p(d)]();
4673
- }, y.add = function(d, S) {
4669
+ }, E.set = function(p, S) {
4670
+ return this.clone().$set(p, S);
4671
+ }, E.get = function(p) {
4672
+ return this[_.p(p)]();
4673
+ }, E.add = function(p, S) {
4674
4674
  var f, x = this;
4675
- d = Number(d);
4676
- var N = H.p(S), P = function(Z) {
4677
- var I = W(x);
4678
- return H.w(I.date(I.date() + Math.round(Z * d)), x);
4675
+ p = Number(p);
4676
+ var H = _.p(S), N = function(K) {
4677
+ var B = Z(x);
4678
+ return _.w(B.date(B.date() + Math.round(K * p)), x);
4679
4679
  };
4680
- if (N === b) return this.set(b, this.$M + d);
4681
- if (N === C) return this.set(C, this.$y + d);
4682
- if (N === u) return P(1);
4683
- if (N === h) return P(7);
4684
- var g = (f = {}, f[l] = r, f[c] = i, f[a] = n, f)[N] || 1, _ = this.$d.getTime() + d * g;
4685
- return H.w(_, this);
4686
- }, y.subtract = function(d, S) {
4687
- return this.add(-1 * d, S);
4688
- }, y.format = function(d) {
4680
+ if (H === g) return this.set(g, this.$M + p);
4681
+ if (H === C) return this.set(C, this.$y + p);
4682
+ if (H === u) return N(1);
4683
+ if (H === h) return N(7);
4684
+ var V = (f = {}, f[l] = r, f[c] = i, f[a] = n, f)[H] || 1, L = this.$d.getTime() + p * V;
4685
+ return _.w(L, this);
4686
+ }, E.subtract = function(p, S) {
4687
+ return this.add(-1 * p, S);
4688
+ }, E.format = function(p) {
4689
4689
  var S = this, f = this.$locale();
4690
4690
  if (!this.isValid()) return f.invalidDate || m;
4691
- var x = d || "YYYY-MM-DDTHH:mm:ssZ", N = H.z(this), P = this.$H, g = this.$m, _ = this.$M, Z = f.weekdays, I = f.months, pe = f.meridiem, Ee = function(ee, Te, de, He) {
4692
- return ee && (ee[Te] || ee(S, x)) || de[Te].slice(0, He);
4693
- }, Me = function(ee) {
4694
- return H.s(P % 12 || 12, ee, "0");
4695
- }, ye = pe || function(ee, Te, de) {
4696
- var He = ee < 12 ? "AM" : "PM";
4697
- return de ? He.toLowerCase() : He;
4691
+ var x = p || "YYYY-MM-DDTHH:mm:ssZ", H = _.z(this), N = this.$H, V = this.$m, L = this.$M, K = f.weekdays, B = f.months, b = f.meridiem, F = function(ie, xe, Ee, He) {
4692
+ return ie && (ie[xe] || ie(S, x)) || Ee[xe].slice(0, He);
4693
+ }, re = function(ie) {
4694
+ return _.s(N % 12 || 12, ie, "0");
4695
+ }, Q = b || function(ie, xe, Ee) {
4696
+ var He = ie < 12 ? "AM" : "PM";
4697
+ return Ee ? He.toLowerCase() : He;
4698
4698
  };
4699
- return x.replace(j, function(ee, Te) {
4700
- return Te || function(de) {
4701
- switch (de) {
4699
+ return x.replace(W, function(ie, xe) {
4700
+ return xe || function(Ee) {
4701
+ switch (Ee) {
4702
4702
  case "YY":
4703
4703
  return String(S.$y).slice(-2);
4704
4704
  case "YYYY":
4705
- return H.s(S.$y, 4, "0");
4705
+ return _.s(S.$y, 4, "0");
4706
4706
  case "M":
4707
- return _ + 1;
4707
+ return L + 1;
4708
4708
  case "MM":
4709
- return H.s(_ + 1, 2, "0");
4709
+ return _.s(L + 1, 2, "0");
4710
4710
  case "MMM":
4711
- return Ee(f.monthsShort, _, I, 3);
4711
+ return F(f.monthsShort, L, B, 3);
4712
4712
  case "MMMM":
4713
- return Ee(I, _);
4713
+ return F(B, L);
4714
4714
  case "D":
4715
4715
  return S.$D;
4716
4716
  case "DD":
4717
- return H.s(S.$D, 2, "0");
4717
+ return _.s(S.$D, 2, "0");
4718
4718
  case "d":
4719
4719
  return String(S.$W);
4720
4720
  case "dd":
4721
- return Ee(f.weekdaysMin, S.$W, Z, 2);
4721
+ return F(f.weekdaysMin, S.$W, K, 2);
4722
4722
  case "ddd":
4723
- return Ee(f.weekdaysShort, S.$W, Z, 3);
4723
+ return F(f.weekdaysShort, S.$W, K, 3);
4724
4724
  case "dddd":
4725
- return Z[S.$W];
4725
+ return K[S.$W];
4726
4726
  case "H":
4727
- return String(P);
4727
+ return String(N);
4728
4728
  case "HH":
4729
- return H.s(P, 2, "0");
4729
+ return _.s(N, 2, "0");
4730
4730
  case "h":
4731
- return Me(1);
4731
+ return re(1);
4732
4732
  case "hh":
4733
- return Me(2);
4733
+ return re(2);
4734
4734
  case "a":
4735
- return ye(P, g, !0);
4735
+ return Q(N, V, !0);
4736
4736
  case "A":
4737
- return ye(P, g, !1);
4737
+ return Q(N, V, !1);
4738
4738
  case "m":
4739
- return String(g);
4739
+ return String(V);
4740
4740
  case "mm":
4741
- return H.s(g, 2, "0");
4741
+ return _.s(V, 2, "0");
4742
4742
  case "s":
4743
4743
  return String(S.$s);
4744
4744
  case "ss":
4745
- return H.s(S.$s, 2, "0");
4745
+ return _.s(S.$s, 2, "0");
4746
4746
  case "SSS":
4747
- return H.s(S.$ms, 3, "0");
4747
+ return _.s(S.$ms, 3, "0");
4748
4748
  case "Z":
4749
- return N;
4749
+ return H;
4750
4750
  }
4751
4751
  return null;
4752
- }(ee) || N.replace(":", "");
4752
+ }(ie) || H.replace(":", "");
4753
4753
  });
4754
- }, y.utcOffset = function() {
4754
+ }, E.utcOffset = function() {
4755
4755
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4756
- }, y.diff = function(d, S, f) {
4757
- var x, N = this, P = H.p(S), g = W(d), _ = (g.utcOffset() - this.utcOffset()) * r, Z = this - g, I = function() {
4758
- return H.m(N, g);
4756
+ }, E.diff = function(p, S, f) {
4757
+ var x, H = this, N = _.p(S), V = Z(p), L = (V.utcOffset() - this.utcOffset()) * r, K = this - V, B = function() {
4758
+ return _.m(H, V);
4759
4759
  };
4760
- switch (P) {
4760
+ switch (N) {
4761
4761
  case C:
4762
- x = I() / 12;
4762
+ x = B() / 12;
4763
4763
  break;
4764
- case b:
4765
- x = I();
4764
+ case g:
4765
+ x = B();
4766
4766
  break;
4767
4767
  case T:
4768
- x = I() / 3;
4768
+ x = B() / 3;
4769
4769
  break;
4770
4770
  case h:
4771
- x = (Z - _) / 6048e5;
4771
+ x = (K - L) / 6048e5;
4772
4772
  break;
4773
4773
  case u:
4774
- x = (Z - _) / 864e5;
4774
+ x = (K - L) / 864e5;
4775
4775
  break;
4776
4776
  case c:
4777
- x = Z / i;
4777
+ x = K / i;
4778
4778
  break;
4779
4779
  case l:
4780
- x = Z / r;
4780
+ x = K / r;
4781
4781
  break;
4782
4782
  case a:
4783
- x = Z / n;
4783
+ x = K / n;
4784
4784
  break;
4785
4785
  default:
4786
- x = Z;
4786
+ x = K;
4787
4787
  }
4788
- return f ? x : H.a(x);
4789
- }, y.daysInMonth = function() {
4790
- return this.endOf(b).$D;
4791
- }, y.$locale = function() {
4792
- return z[this.$L];
4793
- }, y.locale = function(d, S) {
4794
- if (!d) return this.$L;
4795
- var f = this.clone(), x = Q(d, S, !0);
4788
+ return f ? x : _.a(x);
4789
+ }, E.daysInMonth = function() {
4790
+ return this.endOf(g).$D;
4791
+ }, E.$locale = function() {
4792
+ return j[this.$L];
4793
+ }, E.locale = function(p, S) {
4794
+ if (!p) return this.$L;
4795
+ var f = this.clone(), x = ee(p, S, !0);
4796
4796
  return x && (f.$L = x), f;
4797
- }, y.clone = function() {
4798
- return H.w(this.$d, this);
4799
- }, y.toDate = function() {
4797
+ }, E.clone = function() {
4798
+ return _.w(this.$d, this);
4799
+ }, E.toDate = function() {
4800
4800
  return new Date(this.valueOf());
4801
- }, y.toJSON = function() {
4801
+ }, E.toJSON = function() {
4802
4802
  return this.isValid() ? this.toISOString() : null;
4803
- }, y.toISOString = function() {
4803
+ }, E.toISOString = function() {
4804
4804
  return this.$d.toISOString();
4805
- }, y.toString = function() {
4805
+ }, E.toString = function() {
4806
4806
  return this.$d.toUTCString();
4807
4807
  }, v;
4808
- }(), le = re.prototype;
4809
- return W.prototype = le, [["$ms", s], ["$s", a], ["$m", l], ["$H", c], ["$W", u], ["$M", b], ["$y", C], ["$D", E]].forEach(function(v) {
4810
- le[v[1]] = function(y) {
4811
- return this.$g(y, v[0], v[1]);
4808
+ }(), de = ae.prototype;
4809
+ return Z.prototype = de, [["$ms", s], ["$s", a], ["$m", l], ["$H", c], ["$W", u], ["$M", g], ["$y", C], ["$D", y]].forEach(function(v) {
4810
+ de[v[1]] = function(E) {
4811
+ return this.$g(E, v[0], v[1]);
4812
4812
  };
4813
- }), W.extend = function(v, y) {
4814
- return v.$i || (v(y, re, W), v.$i = !0), W;
4815
- }, W.locale = Q, W.isDayjs = Y, W.unix = function(v) {
4816
- return W(1e3 * v);
4817
- }, W.en = z[D], W.Ls = z, W.p = {}, W;
4813
+ }), Z.extend = function(v, E) {
4814
+ return v.$i || (v(E, ae, Z), v.$i = !0), Z;
4815
+ }, Z.locale = ee, Z.isDayjs = q, Z.unix = function(v) {
4816
+ return Z(1e3 * v);
4817
+ }, Z.en = j[I], Z.Ls = j, Z.p = {}, Z;
4818
4818
  });
4819
4819
  })(Ii);
4820
4820
  var ka = Ii.exports;
@@ -4847,22 +4847,22 @@ var Di = { exports: {} };
4847
4847
  this.$y = m.getUTCFullYear(), this.$M = m.getUTCMonth(), this.$D = m.getUTCDate(), this.$W = m.getUTCDay(), this.$H = m.getUTCHours(), this.$m = m.getUTCMinutes(), this.$s = m.getUTCSeconds(), this.$ms = m.getUTCMilliseconds();
4848
4848
  } else h.call(this);
4849
4849
  };
4850
- var b = c.utcOffset;
4850
+ var g = c.utcOffset;
4851
4851
  c.utcOffset = function(m, M) {
4852
- var j = this.$utils().u;
4853
- if (j(m)) return this.$u ? 0 : j(this.$offset) ? b.call(this) : this.$offset;
4854
- if (typeof m == "string" && (m = function(D) {
4855
- D === void 0 && (D = "");
4856
- var z = D.match(r);
4857
- if (!z) return null;
4858
- var J = ("" + z[0]).match(i) || ["-", 0, 0], Y = J[0], Q = 60 * +J[1] + +J[2];
4859
- return Q === 0 ? 0 : Y === "+" ? Q : -Q;
4852
+ var W = this.$utils().u;
4853
+ if (W(m)) return this.$u ? 0 : W(this.$offset) ? g.call(this) : this.$offset;
4854
+ if (typeof m == "string" && (m = function(I) {
4855
+ I === void 0 && (I = "");
4856
+ var j = I.match(r);
4857
+ if (!j) return null;
4858
+ var Y = ("" + j[0]).match(i) || ["-", 0, 0], q = Y[0], ee = 60 * +Y[1] + +Y[2];
4859
+ return ee === 0 ? 0 : q === "+" ? ee : -ee;
4860
4860
  }(m), m === null)) return this;
4861
- var R = Math.abs(m) <= 16 ? 60 * m : m, A = this;
4862
- if (M) return A.$offset = R, A.$u = m === 0, A;
4861
+ var P = Math.abs(m) <= 16 ? 60 * m : m, A = this;
4862
+ if (M) return A.$offset = P, A.$u = m === 0, A;
4863
4863
  if (m !== 0) {
4864
- var L = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4865
- (A = this.local().add(R + L, n)).$offset = R, A.$x.$localOffset = L;
4864
+ var R = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4865
+ (A = this.local().add(P + R, n)).$offset = P, A.$x.$localOffset = R;
4866
4866
  } else A = this.utc();
4867
4867
  return A;
4868
4868
  };
@@ -4884,11 +4884,11 @@ var Di = { exports: {} };
4884
4884
  c.toDate = function(m) {
4885
4885
  return m === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : C.call(this);
4886
4886
  };
4887
- var E = c.diff;
4888
- c.diff = function(m, M, j) {
4889
- if (m && this.$u === m.$u) return E.call(this, m, M, j);
4890
- var R = this.local(), A = l(m).local();
4891
- return E.call(R, A, M, j);
4887
+ var y = c.diff;
4888
+ c.diff = function(m, M, W) {
4889
+ if (m && this.$u === m.$u) return y.call(this, m, M, W);
4890
+ var P = this.local(), A = l(m).local();
4891
+ return y.call(P, A, M, W);
4892
4892
  };
4893
4893
  };
4894
4894
  });
@@ -4903,57 +4903,57 @@ function Wr(e) {
4903
4903
  let t, n, r, i, s, a = (
4904
4904
  /*$_*/
4905
4905
  e[8]("sessionExpirationHeader") + ""
4906
- ), l, c, u, h, b, T, C, E, m, M, j, R, A, L, D;
4907
- const z = (
4906
+ ), l, c, u, h, g, T, C, y, m, M, W, P, A, R, I;
4907
+ const j = (
4908
4908
  /*#slots*/
4909
4909
  e[20].icon
4910
- ), J = Ht(
4911
- z,
4910
+ ), Y = Ht(
4911
+ j,
4912
4912
  e,
4913
4913
  /*$$scope*/
4914
4914
  e[19],
4915
4915
  jr
4916
- ), Y = J || Ya(e), Q = (
4916
+ ), q = Y || Ya(e), ee = (
4917
4917
  /*#slots*/
4918
4918
  e[20].title
4919
- ), W = Ht(
4920
- Q,
4919
+ ), Z = Ht(
4920
+ ee,
4921
4921
  e,
4922
4922
  /*$$scope*/
4923
4923
  e[19],
4924
4924
  zr
4925
- ), H = W || qa(e), re = (
4925
+ ), _ = Z || qa(e), ae = (
4926
4926
  /*#slots*/
4927
4927
  e[20].text
4928
- ), le = Ht(
4929
- re,
4928
+ ), de = Ht(
4929
+ ae,
4930
4930
  e,
4931
4931
  /*$$scope*/
4932
4932
  e[19],
4933
4933
  Fr
4934
- ), v = le || Qa(e), y = [$a, Ka], d = [];
4934
+ ), v = de || Qa(e), E = [$a, Ka], p = [];
4935
4935
  function S(f, x) {
4936
4936
  return (
4937
4937
  /*showLoaderButton*/
4938
4938
  f[6] ? 0 : 1
4939
4939
  );
4940
4940
  }
4941
- return m = S(e), M = d[m] = y[m](e), {
4941
+ return m = S(e), M = p[m] = E[m](e), {
4942
4942
  c() {
4943
- t = K("div"), n = K("div"), r = K("div"), i = K("div"), s = K("div"), l = $e(a), c = ft(), u = K("div"), h = K("div"), Y && Y.c(), b = ft(), H && H.c(), T = ft(), v && v.c(), C = ft(), E = K("button"), M.c(), G(s, "class", "CashierSessionExpirationModalHeaderTitle"), G(i, "class", "CashierSessionExpirationModalHeader"), G(E, "type", "button"), E.disabled = /*showLoaderButton*/
4944
- e[6], G(E, "class", "CashierSessionExpirationButton"), G(h, "class", "CashierSessionExpiration"), G(u, "class", "CashierSessionExpirationModalContainer"), G(u, "part", "CashierSessionExpirationModalContainer"), G(r, "class", "CashierSessionExpirationModalWrapper"), G(r, "part", "CashierSessionExpirationModalWrapper"), G(n, "class", "CashierSessionExpirationModalWindow"), G(n, "part", "CashierSessionExpirationModalWindow"), G(n, "id", "CashierSessionExpirationModal"), Je(() => (
4943
+ t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), l = $e(a), c = ft(), u = te("div"), h = te("div"), q && q.c(), g = ft(), _ && _.c(), T = ft(), v && v.c(), C = ft(), y = te("button"), M.c(), G(s, "class", "CashierSessionExpirationModalHeaderTitle"), G(i, "class", "CashierSessionExpirationModalHeader"), G(y, "type", "button"), y.disabled = /*showLoaderButton*/
4944
+ e[6], G(y, "class", "CashierSessionExpirationButton"), G(h, "class", "CashierSessionExpiration"), G(u, "class", "CashierSessionExpirationModalContainer"), G(u, "part", "CashierSessionExpirationModalContainer"), G(r, "class", "CashierSessionExpirationModalWrapper"), G(r, "part", "CashierSessionExpirationModalWrapper"), G(n, "class", "CashierSessionExpirationModalWindow"), G(n, "part", "CashierSessionExpirationModalWindow"), G(n, "id", "CashierSessionExpirationModal"), Je(() => (
4945
4945
  /*div5_elementresize_handler*/
4946
4946
  e[22].call(n)
4947
4947
  )), G(t, "part", "CustomStylingContainer");
4948
4948
  },
4949
4949
  m(f, x) {
4950
- Ae(f, t, x), q(t, n), q(n, r), q(r, i), q(i, s), q(s, l), q(r, c), q(r, u), q(u, h), Y && Y.m(h, null), q(h, b), H && H.m(h, null), q(h, T), v && v.m(h, null), q(h, C), q(h, E), d[m].m(E, null), e[21](h), j = ss(
4950
+ _e(f, t, x), $(t, n), $(n, r), $(r, i), $(i, s), $(s, l), $(r, c), $(r, u), $(u, h), q && q.m(h, null), $(h, g), _ && _.m(h, null), $(h, T), v && v.m(h, null), $(h, C), $(h, y), p[m].m(y, null), e[21](h), W = ss(
4951
4951
  n,
4952
4952
  /*div5_elementresize_handler*/
4953
4953
  e[22].bind(n)
4954
- ), e[23](t), A = !0, L || (D = [
4954
+ ), e[23](t), A = !0, R || (I = [
4955
4955
  kt(
4956
- E,
4956
+ y,
4957
4957
  "click",
4958
4958
  /*renewSession*/
4959
4959
  e[9]
@@ -4964,20 +4964,20 @@ function Wr(e) {
4964
4964
  /*outOfModalClick*/
4965
4965
  e[10]
4966
4966
  )
4967
- ], L = !0);
4967
+ ], R = !0);
4968
4968
  },
4969
4969
  p(f, x) {
4970
4970
  e = f, (!A || x[0] & /*$_*/
4971
4971
  256) && a !== (a = /*$_*/
4972
- e[8]("sessionExpirationHeader") + "") && Xt(l, a), J ? J.p && (!A || x[0] & /*$$scope*/
4972
+ e[8]("sessionExpirationHeader") + "") && Xt(l, a), Y ? Y.p && (!A || x[0] & /*$$scope*/
4973
4973
  524288) && Pt(
4974
- J,
4975
- z,
4974
+ Y,
4975
+ j,
4976
4976
  e,
4977
4977
  /*$$scope*/
4978
4978
  e[19],
4979
4979
  A ? Nt(
4980
- z,
4980
+ j,
4981
4981
  /*$$scope*/
4982
4982
  e[19],
4983
4983
  x,
@@ -4987,16 +4987,16 @@ function Wr(e) {
4987
4987
  e[19]
4988
4988
  ),
4989
4989
  jr
4990
- ) : Y && Y.p && (!A || x[0] & /*assetsurl*/
4991
- 8) && Y.p(e, A ? x : [-1, -1]), W ? W.p && (!A || x[0] & /*$$scope*/
4990
+ ) : q && q.p && (!A || x[0] & /*assetsurl*/
4991
+ 8) && q.p(e, A ? x : [-1, -1]), Z ? Z.p && (!A || x[0] & /*$$scope*/
4992
4992
  524288) && Pt(
4993
- W,
4994
- Q,
4993
+ Z,
4994
+ ee,
4995
4995
  e,
4996
4996
  /*$$scope*/
4997
4997
  e[19],
4998
4998
  A ? Nt(
4999
- Q,
4999
+ ee,
5000
5000
  /*$$scope*/
5001
5001
  e[19],
5002
5002
  x,
@@ -5006,16 +5006,16 @@ function Wr(e) {
5006
5006
  e[19]
5007
5007
  ),
5008
5008
  zr
5009
- ) : H && H.p && (!A || x[0] & /*$_*/
5010
- 256) && H.p(e, A ? x : [-1, -1]), le ? le.p && (!A || x[0] & /*$$scope*/
5009
+ ) : _ && _.p && (!A || x[0] & /*$_*/
5010
+ 256) && _.p(e, A ? x : [-1, -1]), de ? de.p && (!A || x[0] & /*$$scope*/
5011
5011
  524288) && Pt(
5012
- le,
5013
- re,
5012
+ de,
5013
+ ae,
5014
5014
  e,
5015
5015
  /*$$scope*/
5016
5016
  e[19],
5017
5017
  A ? Nt(
5018
- re,
5018
+ ae,
5019
5019
  /*$$scope*/
5020
5020
  e[19],
5021
5021
  x,
@@ -5027,29 +5027,29 @@ function Wr(e) {
5027
5027
  Fr
5028
5028
  ) : v && v.p && (!A || x[0] & /*$_, timeLeft*/
5029
5029
  384) && v.p(e, A ? x : [-1, -1]);
5030
- let N = m;
5031
- m = S(e), m === N ? d[m].p(e, x) : (ti(), Ne(d[N], 1, 1, () => {
5032
- d[N] = null;
5033
- }), ni(), M = d[m], M ? M.p(e, x) : (M = d[m] = y[m](e), M.c()), we(M, 1), M.m(E, null)), (!A || x[0] & /*showLoaderButton*/
5034
- 64) && (E.disabled = /*showLoaderButton*/
5030
+ let H = m;
5031
+ m = S(e), m === H ? p[m].p(e, x) : (ti(), Ne(p[H], 1, 1, () => {
5032
+ p[H] = null;
5033
+ }), ni(), M = p[m], M ? M.p(e, x) : (M = p[m] = E[m](e), M.c()), Ae(M, 1), M.m(y, null)), (!A || x[0] & /*showLoaderButton*/
5034
+ 64) && (y.disabled = /*showLoaderButton*/
5035
5035
  e[6]);
5036
5036
  },
5037
5037
  i(f) {
5038
- A || (we(Y, f), we(H, f), we(v, f), we(M), f && Je(() => {
5039
- A && (R || (R = fr(n, mr, { duration: (
5038
+ A || (Ae(q, f), Ae(_, f), Ae(v, f), Ae(M), f && Je(() => {
5039
+ A && (P || (P = fr(n, mr, { duration: (
5040
5040
  /*duration*/
5041
5041
  e[2]
5042
- ) }, !0)), R.run(1));
5042
+ ) }, !0)), P.run(1));
5043
5043
  }), A = !0);
5044
5044
  },
5045
5045
  o(f) {
5046
- Ne(Y, f), Ne(H, f), Ne(v, f), Ne(M), f && (R || (R = fr(n, mr, { duration: (
5046
+ Ne(q, f), Ne(_, f), Ne(v, f), Ne(M), f && (P || (P = fr(n, mr, { duration: (
5047
5047
  /*duration*/
5048
5048
  e[2]
5049
- ) }, !1)), R.run(0)), A = !1;
5049
+ ) }, !1)), P.run(0)), A = !1;
5050
5050
  },
5051
5051
  d(f) {
5052
- f && me(t), Y && Y.d(f), H && H.d(f), v && v.d(f), d[m].d(), e[21](null), j(), f && R && R.end(), e[23](null), L = !1, Re(D);
5052
+ f && be(t), q && q.d(f), _ && _.d(f), v && v.d(f), p[m].d(), e[21](null), W(), f && P && P.end(), e[23](null), R = !1, Re(I);
5053
5053
  }
5054
5054
  };
5055
5055
  }
@@ -5057,14 +5057,14 @@ function Xa(e) {
5057
5057
  let t, n;
5058
5058
  return {
5059
5059
  c() {
5060
- t = K("img"), Tn(t.src, n = Ua) || G(t, "src", n), G(t, "width", "300px"), G(t, "alt", "error");
5060
+ t = te("img"), Tn(t.src, n = Ua) || G(t, "src", n), G(t, "width", "300px"), G(t, "alt", "error");
5061
5061
  },
5062
5062
  m(r, i) {
5063
- Ae(r, t, i);
5063
+ _e(r, t, i);
5064
5064
  },
5065
- p: he,
5065
+ p: pe,
5066
5066
  d(r) {
5067
- r && me(t);
5067
+ r && be(t);
5068
5068
  }
5069
5069
  };
5070
5070
  }
@@ -5072,11 +5072,11 @@ function Ja(e) {
5072
5072
  let t, n;
5073
5073
  return {
5074
5074
  c() {
5075
- t = K("img"), Tn(t.src, n = `${/*assetsurl*/
5075
+ t = te("img"), Tn(t.src, n = `${/*assetsurl*/
5076
5076
  e[3]}/set-timeout-icon.png`) || G(t, "src", n), G(t, "width", "300px"), G(t, "alt", "error");
5077
5077
  },
5078
5078
  m(r, i) {
5079
- Ae(r, t, i);
5079
+ _e(r, t, i);
5080
5080
  },
5081
5081
  p(r, i) {
5082
5082
  i[0] & /*assetsurl*/
@@ -5084,7 +5084,7 @@ function Ja(e) {
5084
5084
  r[3]}/set-timeout-icon.png`) && G(t, "src", n);
5085
5085
  },
5086
5086
  d(r) {
5087
- r && me(t);
5087
+ r && be(t);
5088
5088
  }
5089
5089
  };
5090
5090
  }
@@ -5102,13 +5102,13 @@ function Ya(e) {
5102
5102
  i.c(), t = $r();
5103
5103
  },
5104
5104
  m(s, a) {
5105
- i.m(s, a), Ae(s, t, a);
5105
+ i.m(s, a), _e(s, t, a);
5106
5106
  },
5107
5107
  p(s, a) {
5108
5108
  r === (r = n(s)) && i ? i.p(s, a) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
5109
5109
  },
5110
5110
  d(s) {
5111
- s && me(t), i.d(s);
5111
+ s && be(t), i.d(s);
5112
5112
  }
5113
5113
  };
5114
5114
  }
@@ -5119,10 +5119,10 @@ function qa(e) {
5119
5119
  ), r;
5120
5120
  return {
5121
5121
  c() {
5122
- t = K("span"), r = $e(n), G(t, "class", "CashierSessionExpirationTitle");
5122
+ t = te("span"), r = $e(n), G(t, "class", "CashierSessionExpirationTitle");
5123
5123
  },
5124
5124
  m(i, s) {
5125
- Ae(i, t, s), q(t, r);
5125
+ _e(i, t, s), $(t, r);
5126
5126
  },
5127
5127
  p(i, s) {
5128
5128
  s[0] & /*$_*/
@@ -5130,7 +5130,7 @@ function qa(e) {
5130
5130
  i[8]("sessionExpirationTitle") + "") && Xt(r, n);
5131
5131
  },
5132
5132
  d(i) {
5133
- i && me(t);
5133
+ i && be(t);
5134
5134
  }
5135
5135
  };
5136
5136
  }
@@ -5144,10 +5144,10 @@ function Qa(e) {
5144
5144
  ) + "";
5145
5145
  return {
5146
5146
  c() {
5147
- t = K("span"), G(t, "class", "CashierSessionExpirationText");
5147
+ t = te("span"), G(t, "class", "CashierSessionExpirationText");
5148
5148
  },
5149
5149
  m(r, i) {
5150
- Ae(r, t, i), t.innerHTML = n;
5150
+ _e(r, t, i), t.innerHTML = n;
5151
5151
  },
5152
5152
  p(r, i) {
5153
5153
  i[0] & /*$_, timeLeft*/
@@ -5160,7 +5160,7 @@ function Qa(e) {
5160
5160
  ) + "") && (t.innerHTML = n);
5161
5161
  },
5162
5162
  d(r) {
5163
- r && me(t);
5163
+ r && be(t);
5164
5164
  }
5165
5165
  };
5166
5166
  }
@@ -5206,7 +5206,7 @@ function Ka(e) {
5206
5206
  256) && i.p(s, t ? a : [-1, -1]);
5207
5207
  },
5208
5208
  i(s) {
5209
- t || (we(i, s), t = !0);
5209
+ t || (Ae(i, s), t = !0);
5210
5210
  },
5211
5211
  o(s) {
5212
5212
  Ne(i, s), t = !1;
@@ -5223,20 +5223,20 @@ function $a(e) {
5223
5223
  ), l;
5224
5224
  return {
5225
5225
  c() {
5226
- t = K("div"), n = ur("svg"), r = ur("path"), i = ft(), s = K("span"), l = $e(a), G(r, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), G(r, "fill", "white"), G(n, "class", "CashierSessionExpirationButtonSpinner"), G(n, "xmlns", "http://www.w3.org/2000/svg"), G(n, "width", "15"), G(n, "height", "14"), G(n, "viewBox", "0 0 15 14"), G(n, "fill", "none"), G(s, "class", "CashierSessionExpirationButtonText");
5226
+ t = te("div"), n = ur("svg"), r = ur("path"), i = ft(), s = te("span"), l = $e(a), G(r, "d", "M14.0282 6.58425C13.9037 4.05374 12.3688 1.68916 10.0872 0.61058C7.59818 -0.509483 4.56986 -0.0531603 2.49567 1.68916C0.504443 3.34851 -0.408201 6.04496 0.172573 8.57547C0.711862 11.0645 2.6616 13.0972 5.10915 13.7609C8.0545 14.5906 10.7509 13.1802 12.4103 10.7741C10.9169 12.7653 8.63527 14.0928 6.10476 13.6365C3.57424 13.1802 1.50005 11.2719 0.919281 8.78289C0.297024 6.12793 1.54154 3.34851 3.90612 1.97955C6.35366 0.569097 9.79682 1.10839 11.4147 3.51445C11.8295 4.09522 12.1199 4.80045 12.2444 5.50567C12.3688 6.08644 12.3273 6.7087 12.4103 7.28947C12.4933 7.82876 12.9496 8.53399 13.5718 8.16063C14.1111 7.82876 14.0696 7.12354 14.0282 6.58425C14.0696 6.87464 14.0282 6.41831 14.0282 6.58425Z"), G(r, "fill", "white"), G(n, "class", "CashierSessionExpirationButtonSpinner"), G(n, "xmlns", "http://www.w3.org/2000/svg"), G(n, "width", "15"), G(n, "height", "14"), G(n, "viewBox", "0 0 15 14"), G(n, "fill", "none"), G(s, "class", "CashierSessionExpirationButtonText");
5227
5227
  },
5228
5228
  m(c, u) {
5229
- Ae(c, t, u), q(t, n), q(n, r), q(t, i), q(t, s), q(s, l);
5229
+ _e(c, t, u), $(t, n), $(n, r), $(t, i), $(t, s), $(s, l);
5230
5230
  },
5231
5231
  p(c, u) {
5232
5232
  u[0] & /*$_*/
5233
5233
  256 && a !== (a = /*$_*/
5234
5234
  c[8]("sessionExpirationLoadingButton") + "") && Xt(l, a);
5235
5235
  },
5236
- i: he,
5237
- o: he,
5236
+ i: pe,
5237
+ o: pe,
5238
5238
  d(c) {
5239
- c && me(t);
5239
+ c && be(t);
5240
5240
  }
5241
5241
  };
5242
5242
  }
@@ -5247,10 +5247,10 @@ function el(e) {
5247
5247
  ), r;
5248
5248
  return {
5249
5249
  c() {
5250
- t = K("span"), r = $e(n), G(t, "class", "CashierSessionExpirationButtonText");
5250
+ t = te("span"), r = $e(n), G(t, "class", "CashierSessionExpirationButtonText");
5251
5251
  },
5252
5252
  m(i, s) {
5253
- Ae(i, t, s), q(t, r);
5253
+ _e(i, t, s), $(t, r);
5254
5254
  },
5255
5255
  p(i, s) {
5256
5256
  s[0] & /*$_*/
@@ -5258,7 +5258,7 @@ function el(e) {
5258
5258
  i[8]("sessionExpirationGeneralButton") + "") && Xt(r, n);
5259
5259
  },
5260
5260
  d(i) {
5261
- i && me(t);
5261
+ i && be(t);
5262
5262
  }
5263
5263
  };
5264
5264
  }
@@ -5272,150 +5272,182 @@ function tl(e) {
5272
5272
  r && r.c(), t = $r();
5273
5273
  },
5274
5274
  m(i, s) {
5275
- r && r.m(i, s), Ae(i, t, s), n = !0;
5275
+ r && r.m(i, s), _e(i, t, s), n = !0;
5276
5276
  },
5277
5277
  p(i, s) {
5278
5278
  /*show*/
5279
5279
  i[5] ? r ? (r.p(i, s), s[0] & /*show*/
5280
- 32 && we(r, 1)) : (r = Wr(i), r.c(), we(r, 1), r.m(t.parentNode, t)) : r && (ti(), Ne(r, 1, 1, () => {
5280
+ 32 && Ae(r, 1)) : (r = Wr(i), r.c(), Ae(r, 1), r.m(t.parentNode, t)) : r && (ti(), Ne(r, 1, 1, () => {
5281
5281
  r = null;
5282
5282
  }), ni());
5283
5283
  },
5284
5284
  i(i) {
5285
- n || (we(r), n = !0);
5285
+ n || (Ae(r), n = !0);
5286
5286
  },
5287
5287
  o(i) {
5288
5288
  Ne(r), n = !1;
5289
5289
  },
5290
5290
  d(i) {
5291
- i && me(t), r && r.d(i);
5291
+ i && be(t), r && r.d(i);
5292
5292
  }
5293
5293
  };
5294
5294
  }
5295
5295
  const nl = 90;
5296
5296
  function rl(e, t, n) {
5297
5297
  let r;
5298
- Ki(e, ba, (g) => n(8, r = g));
5298
+ Ki(e, ba, (b) => n(8, r = b));
5299
5299
  let { $$slots: i = {}, $$scope: s } = t;
5300
5300
  kr.extend(Fa);
5301
- let { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { width: c } = t, { height: u } = t, { duration: h = 200 } = t, { assetsurl: b = "" } = t, { lang: T = "en" } = t, { translationurl: C = "" } = t, { endpoint: E } = t, { currency: m } = t, { customerid: M } = t, { selectedpaymentmethodname: j } = t, R, A = !1, L = !1, D, z, J, Y, Q;
5302
- const W = (g) => {
5303
- g.data.type === "StartSessionCountdown" && (Q = g.data.xPaymentSessionToken, Y = g.data.paymentMethodName, re());
5304
- }, H = (g) => {
5301
+ let { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { width: c } = t, { height: u } = t, { duration: h = 200 } = t, { assetsurl: g = "" } = t, { lang: T = "en" } = t, { translationurl: C = "" } = t, { endpoint: y } = t, { currency: m } = t, { customerid: M } = t, { selectedpaymentmethodname: W } = t, P, A = !1, R = !1, I, j, Y, q, ee, Z;
5302
+ var _;
5303
+ (function(b) {
5304
+ b.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", b.Success = "Success", b.JwtTokenError = "JwtTokenError";
5305
+ })(_ || (_ = {}));
5306
+ const ae = (b) => {
5307
+ b.data.type === "StartSessionCountdown" && (ee = b.data.xPaymentSessionToken, q = b.data.paymentMethodName, E());
5308
+ }, de = (b) => {
5305
5309
  try {
5306
- return JSON.parse(atob(g.split(".")[1]));
5307
- } catch (_) {
5310
+ return JSON.parse(atob(b.split(".")[1]));
5311
+ } catch (F) {
5308
5312
  return null;
5309
5313
  }
5310
- }, re = () => {
5314
+ }, v = () => {
5315
+ window.postMessage(
5316
+ {
5317
+ type: "ErrorResponseCode",
5318
+ errorResponseCode: Z
5319
+ },
5320
+ window.location.href
5321
+ );
5322
+ }, E = () => {
5311
5323
  n(5, A = !1);
5312
- const g = H(Q);
5313
- g && (z = g == null ? void 0 : g.exp, n(7, D = z), J && clearInterval(J), J = setInterval(
5324
+ const b = de(ee);
5325
+ b && (j = b == null ? void 0 : b.exp, n(7, I = j), Y && clearInterval(Y), Y = setInterval(
5314
5326
  () => {
5315
- const _ = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5316
- n(7, D = z - _), D <= nl && n(5, A = !0), _ >= z && (n(7, D = 0), n(5, A = !1), clearInterval(J), window.postMessage({ type: "SessionExpired" }, window.location.href));
5327
+ const F = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5328
+ n(7, I = j - F), I <= nl && n(5, A = !0), F >= j && (p(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5317
5329
  },
5318
5330
  1e3
5319
5331
  ));
5320
- }, le = () => {
5321
- if (L) return;
5322
- const g = new URL(`${E}/v1/player/${M}/payment/GetPaymentMethod`), _ = new Headers();
5323
- n(6, L = !0), _.append("accept", "application/json"), _.append("Content-Type", "application/json"), _.append("X-Client-Request-Timestamp", kr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5324
- const Z = {
5332
+ }, p = () => {
5333
+ n(7, I = 0), n(5, A = !1), clearInterval(Y);
5334
+ }, S = () => {
5335
+ if (R) return;
5336
+ const b = new URL(`${y}/v1/player/${M}/payment/GetPaymentMethod`), F = new Headers();
5337
+ n(6, R = !0), F.append("accept", "application/json"), F.append("Content-Type", "application/json"), F.append("X-Client-Request-Timestamp", kr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5338
+ const re = {
5325
5339
  method: "POST",
5326
5340
  mode: "cors",
5327
- headers: _,
5341
+ headers: F,
5328
5342
  body: JSON.stringify({
5329
- PaymentMethodName: Y || j,
5343
+ PaymentMethodName: q || W,
5330
5344
  Currency: m,
5331
- XPaymentSessionToken: Q
5345
+ XPaymentSessionToken: ee
5332
5346
  })
5333
5347
  };
5334
- fetch(g, Z).then((I) => I.json()).then((I) => {
5335
- Q = I.XPaymentSessionToken, re();
5336
- }).finally(() => n(6, L = !1));
5337
- }, v = (g) => {
5338
- const _ = g.currentTarget;
5339
- g.target === _ && le();
5340
- }, y = () => {
5341
- fetch(C).then((_) => _.json()).then((_) => {
5342
- Object.keys(_).forEach((Z) => {
5343
- Cr(Z, _[Z]);
5348
+ fetch(b, re).then((Q) => Q.json()).then((Q) => {
5349
+ if (Q.error) {
5350
+ window.postMessage(
5351
+ {
5352
+ type: "ShowSessionError",
5353
+ error: Q.error
5354
+ },
5355
+ window.location.href
5356
+ ), p();
5357
+ return;
5358
+ }
5359
+ if (Q.ResponseCode === _.PlayerSessionIsNotValid || Q.ResponseCode === _.JwtTokenError) {
5360
+ Z = Q.ResponseCode, p(), v();
5361
+ return;
5362
+ }
5363
+ if (Q.ResponseCode !== _.Success) {
5364
+ Z = Q.ResponseCode, p();
5365
+ return;
5366
+ }
5367
+ ee = Q.XPaymentSessionToken, E();
5368
+ }).finally(() => n(6, R = !1));
5369
+ }, f = (b) => {
5370
+ const F = b.currentTarget;
5371
+ b.target === F && S();
5372
+ }, x = () => {
5373
+ fetch(C).then((F) => F.json()).then((F) => {
5374
+ Object.keys(F).forEach((re) => {
5375
+ Cr(re, F[re]);
5344
5376
  });
5345
- }).catch((_) => {
5346
- console.log(_);
5377
+ }).catch((F) => {
5378
+ console.log(F);
5347
5379
  });
5348
5380
  };
5349
- Object.keys(Mr).forEach((g) => {
5350
- Cr(g, Mr[g]);
5381
+ Object.keys(Mr).forEach((b) => {
5382
+ Cr(b, Mr[b]);
5351
5383
  });
5352
- const d = () => {
5384
+ const H = () => {
5353
5385
  Ea(T);
5354
- }, S = () => {
5355
- let g = document.createElement("style");
5356
- g.innerHTML = a, R.appendChild(g);
5357
- }, f = () => {
5358
- let g = new URL(l), _ = document.createElement("style");
5359
- fetch(g.href).then((Z) => Z.text()).then((Z) => {
5360
- _.innerHTML = Z, setTimeout(
5386
+ }, N = () => {
5387
+ let b = document.createElement("style");
5388
+ b.innerHTML = a, P.appendChild(b);
5389
+ }, V = () => {
5390
+ let b = new URL(l), F = document.createElement("style");
5391
+ fetch(b.href).then((re) => re.text()).then((re) => {
5392
+ F.innerHTML = re, setTimeout(
5361
5393
  () => {
5362
- R.appendChild(_);
5394
+ P.appendChild(F);
5363
5395
  },
5364
5396
  1
5365
5397
  );
5366
5398
  });
5367
5399
  };
5368
- fs(() => (window.addEventListener("message", W, !1), () => {
5369
- window.removeEventListener("message", W);
5400
+ fs(() => (window.addEventListener("message", ae, !1), () => {
5401
+ window.removeEventListener("message", ae);
5370
5402
  })), ms(() => {
5371
- clearInterval(J);
5403
+ clearInterval(Y);
5372
5404
  });
5373
- function x(g) {
5374
- zt[g ? "unshift" : "push"](() => {
5375
- R = g, n(4, R);
5405
+ function L(b) {
5406
+ zt[b ? "unshift" : "push"](() => {
5407
+ P = b, n(4, P);
5376
5408
  });
5377
5409
  }
5378
- function N() {
5410
+ function K() {
5379
5411
  c = this.clientWidth, u = this.clientHeight, n(0, c), n(1, u);
5380
5412
  }
5381
- function P(g) {
5382
- zt[g ? "unshift" : "push"](() => {
5383
- R = g, n(4, R);
5413
+ function B(b) {
5414
+ zt[b ? "unshift" : "push"](() => {
5415
+ P = b, n(4, P);
5384
5416
  });
5385
5417
  }
5386
- return e.$$set = (g) => {
5387
- "clientstyling" in g && n(11, a = g.clientstyling), "clientstylingurl" in g && n(12, l = g.clientstylingurl), "width" in g && n(0, c = g.width), "height" in g && n(1, u = g.height), "duration" in g && n(2, h = g.duration), "assetsurl" in g && n(3, b = g.assetsurl), "lang" in g && n(13, T = g.lang), "translationurl" in g && n(14, C = g.translationurl), "endpoint" in g && n(15, E = g.endpoint), "currency" in g && n(16, m = g.currency), "customerid" in g && n(17, M = g.customerid), "selectedpaymentmethodname" in g && n(18, j = g.selectedpaymentmethodname), "$$scope" in g && n(19, s = g.$$scope);
5418
+ return e.$$set = (b) => {
5419
+ "clientstyling" in b && n(11, a = b.clientstyling), "clientstylingurl" in b && n(12, l = b.clientstylingurl), "width" in b && n(0, c = b.width), "height" in b && n(1, u = b.height), "duration" in b && n(2, h = b.duration), "assetsurl" in b && n(3, g = b.assetsurl), "lang" in b && n(13, T = b.lang), "translationurl" in b && n(14, C = b.translationurl), "endpoint" in b && n(15, y = b.endpoint), "currency" in b && n(16, m = b.currency), "customerid" in b && n(17, M = b.customerid), "selectedpaymentmethodname" in b && n(18, W = b.selectedpaymentmethodname), "$$scope" in b && n(19, s = b.$$scope);
5388
5420
  }, e.$$.update = () => {
5389
5421
  e.$$.dirty[0] & /*lang*/
5390
- 8192 && T && d(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5391
- 2064 && a && R && S(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5392
- 4112 && l && R && f(), e.$$.dirty[0] & /*translationurl*/
5393
- 16384 && C && y();
5422
+ 8192 && T && H(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5423
+ 2064 && a && P && N(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5424
+ 4112 && l && P && V(), e.$$.dirty[0] & /*translationurl*/
5425
+ 16384 && C && x();
5394
5426
  }, [
5395
5427
  c,
5396
5428
  u,
5397
5429
  h,
5398
- b,
5399
- R,
5430
+ g,
5431
+ P,
5400
5432
  A,
5401
- L,
5402
- D,
5433
+ R,
5434
+ I,
5403
5435
  r,
5404
- le,
5405
- v,
5436
+ S,
5437
+ f,
5406
5438
  a,
5407
5439
  l,
5408
5440
  T,
5409
5441
  C,
5410
- E,
5442
+ y,
5411
5443
  m,
5412
5444
  M,
5413
- j,
5445
+ W,
5414
5446
  s,
5415
5447
  i,
5416
- x,
5417
- N,
5418
- P
5448
+ L,
5449
+ K,
5450
+ B
5419
5451
  ];
5420
5452
  }
5421
5453
  class il extends As {
@@ -5448,73 +5480,73 @@ class il extends As {
5448
5480
  return this.$$.ctx[11];
5449
5481
  }
5450
5482
  set clientstyling(t) {
5451
- this.$$set({ clientstyling: t }), ce();
5483
+ this.$$set({ clientstyling: t }), me();
5452
5484
  }
5453
5485
  get clientstylingurl() {
5454
5486
  return this.$$.ctx[12];
5455
5487
  }
5456
5488
  set clientstylingurl(t) {
5457
- this.$$set({ clientstylingurl: t }), ce();
5489
+ this.$$set({ clientstylingurl: t }), me();
5458
5490
  }
5459
5491
  get width() {
5460
5492
  return this.$$.ctx[0];
5461
5493
  }
5462
5494
  set width(t) {
5463
- this.$$set({ width: t }), ce();
5495
+ this.$$set({ width: t }), me();
5464
5496
  }
5465
5497
  get height() {
5466
5498
  return this.$$.ctx[1];
5467
5499
  }
5468
5500
  set height(t) {
5469
- this.$$set({ height: t }), ce();
5501
+ this.$$set({ height: t }), me();
5470
5502
  }
5471
5503
  get duration() {
5472
5504
  return this.$$.ctx[2];
5473
5505
  }
5474
5506
  set duration(t) {
5475
- this.$$set({ duration: t }), ce();
5507
+ this.$$set({ duration: t }), me();
5476
5508
  }
5477
5509
  get assetsurl() {
5478
5510
  return this.$$.ctx[3];
5479
5511
  }
5480
5512
  set assetsurl(t) {
5481
- this.$$set({ assetsurl: t }), ce();
5513
+ this.$$set({ assetsurl: t }), me();
5482
5514
  }
5483
5515
  get lang() {
5484
5516
  return this.$$.ctx[13];
5485
5517
  }
5486
5518
  set lang(t) {
5487
- this.$$set({ lang: t }), ce();
5519
+ this.$$set({ lang: t }), me();
5488
5520
  }
5489
5521
  get translationurl() {
5490
5522
  return this.$$.ctx[14];
5491
5523
  }
5492
5524
  set translationurl(t) {
5493
- this.$$set({ translationurl: t }), ce();
5525
+ this.$$set({ translationurl: t }), me();
5494
5526
  }
5495
5527
  get endpoint() {
5496
5528
  return this.$$.ctx[15];
5497
5529
  }
5498
5530
  set endpoint(t) {
5499
- this.$$set({ endpoint: t }), ce();
5531
+ this.$$set({ endpoint: t }), me();
5500
5532
  }
5501
5533
  get currency() {
5502
5534
  return this.$$.ctx[16];
5503
5535
  }
5504
5536
  set currency(t) {
5505
- this.$$set({ currency: t }), ce();
5537
+ this.$$set({ currency: t }), me();
5506
5538
  }
5507
5539
  get customerid() {
5508
5540
  return this.$$.ctx[17];
5509
5541
  }
5510
5542
  set customerid(t) {
5511
- this.$$set({ customerid: t }), ce();
5543
+ this.$$set({ customerid: t }), me();
5512
5544
  }
5513
5545
  get selectedpaymentmethodname() {
5514
5546
  return this.$$.ctx[18];
5515
5547
  }
5516
5548
  set selectedpaymentmethodname(t) {
5517
- this.$$set({ selectedpaymentmethodname: t }), ce();
5549
+ this.$$set({ selectedpaymentmethodname: t }), me();
5518
5550
  }
5519
5551
  }
5520
5552
  ws(il, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {} }, ["icon", "title", "text", "button"], [], !0);