@everymatrix/cashier-session-expiration-modal 1.77.4 → 1.77.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,18 @@
1
- var Zi = Object.defineProperty, qi = Object.defineProperties;
2
- var Ji = Object.getOwnPropertyDescriptors;
3
- var sr = Object.getOwnPropertySymbols;
4
- var Qi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable;
5
- var un = (e, t, n) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, or = (e, t) => {
1
+ var qi = Object.defineProperty, Ji = Object.defineProperties;
2
+ var Qi = Object.getOwnPropertyDescriptors;
3
+ var or = Object.getOwnPropertySymbols;
4
+ var Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable;
5
+ var un = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, sr = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- Qi.call(t, n) && un(e, n, t[n]);
8
- if (sr)
9
- for (var n of sr(t))
10
- Ki.call(t, n) && un(e, n, t[n]);
7
+ Ki.call(t, n) && un(e, n, t[n]);
8
+ if (or)
9
+ for (var n of or(t))
10
+ eo.call(t, n) && un(e, n, t[n]);
11
11
  return e;
12
- }, ar = (e, t) => qi(e, Ji(t));
13
- var be = (e, t, n) => (un(e, typeof t != "symbol" ? t + "" : t, n), n);
12
+ }, ar = (e, t) => Ji(e, Qi(t));
13
+ var _e = (e, t, n) => (un(e, typeof t != "symbol" ? t + "" : t, n), n);
14
14
  var ur = (e, t, n) => new Promise((r, i) => {
15
- var s = (c) => {
15
+ var o = (c) => {
16
16
  try {
17
17
  u(n.next(c));
18
18
  } catch (l) {
@@ -24,13 +24,13 @@ var ur = (e, t, n) => new Promise((r, i) => {
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(s, a);
27
+ }, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, a);
28
28
  u((n = n.apply(e, t)).next());
29
29
  });
30
30
  function de() {
31
31
  }
32
- const Zr = (e) => e;
33
- function es(e, t) {
32
+ const qr = (e) => e;
33
+ function to(e, t) {
34
34
  for (const n in t)
35
35
  e[n] = t[n];
36
36
  return (
@@ -38,29 +38,29 @@ function es(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function qr(e) {
41
+ function Jr(e) {
42
42
  return e();
43
43
  }
44
44
  function lr() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function Pe(e) {
48
- e.forEach(qr);
48
+ e.forEach(Jr);
49
49
  }
50
50
  function Zt(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Jr(e, t) {
53
+ function Qr(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let Ot;
57
57
  function cr(e, t) {
58
58
  return e === t ? !0 : (Ot || (Ot = document.createElement("a")), Ot.href = t, e === Ot.href);
59
59
  }
60
- function ts(e) {
60
+ function no(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Qr(e, ...t) {
63
+ function Kr(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const r of t)
66
66
  r(void 0);
@@ -70,16 +70,16 @@ function Qr(e, ...t) {
70
70
  return n.unsubscribe ? () => n.unsubscribe() : n;
71
71
  }
72
72
  function fr(e, t, n) {
73
- e.$$.on_destroy.push(Qr(t, n));
73
+ e.$$.on_destroy.push(Kr(t, n));
74
74
  }
75
75
  function Ht(e, t, n, r) {
76
76
  if (e) {
77
- const i = Kr(e, t, n, r);
77
+ const i = ei(e, t, n, r);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Kr(e, t, n, r) {
82
- return e[1] && r ? es(n.ctx.slice(), e[1](r(t))) : n.ctx;
81
+ function ei(e, t, n, r) {
82
+ return e[1] && r ? to(n.ctx.slice(), e[1](r(t))) : n.ctx;
83
83
  }
84
84
  function It(e, t, n, r) {
85
85
  if (e[2] && r) {
@@ -87,18 +87,18 @@ function It(e, t, n, r) {
87
87
  if (t.dirty === void 0)
88
88
  return i;
89
89
  if (typeof i == "object") {
90
- const s = [], a = Math.max(t.dirty.length, i.length);
90
+ const o = [], a = Math.max(t.dirty.length, i.length);
91
91
  for (let u = 0; u < a; u += 1)
92
- s[u] = t.dirty[u] | i[u];
93
- return s;
92
+ o[u] = t.dirty[u] | i[u];
93
+ return o;
94
94
  }
95
95
  return t.dirty | i;
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Pt(e, t, n, r, i, s) {
99
+ function Pt(e, t, n, r, i, o) {
100
100
  if (i) {
101
- const a = Kr(t, n, r, s);
101
+ const a = ei(t, n, r, o);
102
102
  e.p(a, i);
103
103
  }
104
104
  }
@@ -111,17 +111,17 @@ function Rt(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- const ei = typeof window != "undefined";
115
- let ns = ei ? () => window.performance.now() : () => Date.now(), In = ei ? (e) => requestAnimationFrame(e) : de;
114
+ const ti = typeof window != "undefined";
115
+ let ro = ti ? () => window.performance.now() : () => Date.now(), In = ti ? (e) => requestAnimationFrame(e) : de;
116
116
  const Xe = /* @__PURE__ */ new Set();
117
- function ti(e) {
117
+ function ni(e) {
118
118
  Xe.forEach((t) => {
119
119
  t.c(e) || (Xe.delete(t), t.f());
120
- }), Xe.size !== 0 && In(ti);
120
+ }), Xe.size !== 0 && In(ni);
121
121
  }
122
- function rs(e) {
122
+ function io(e) {
123
123
  let t;
124
- return Xe.size === 0 && In(ti), {
124
+ return Xe.size === 0 && In(ni), {
125
125
  promise: new Promise((n) => {
126
126
  Xe.add(t = { c: e, f: n });
127
127
  }),
@@ -133,11 +133,11 @@ function rs(e) {
133
133
  function J(e, t) {
134
134
  e.appendChild(t);
135
135
  }
136
- function is(e, t, n) {
136
+ function oo(e, t, n) {
137
137
  const r = Pn(e);
138
138
  if (!r.getElementById(t)) {
139
- const i = te("style");
140
- i.id = t, i.textContent = n, ni(r, i);
139
+ const i = re("style");
140
+ i.id = t, i.textContent = n, ri(r, i);
141
141
  }
142
142
  }
143
143
  function Pn(e) {
@@ -150,24 +150,24 @@ function Pn(e) {
150
150
  t
151
151
  ) : e.ownerDocument;
152
152
  }
153
- function ss(e) {
154
- const t = te("style");
155
- return t.textContent = "/* empty */", ni(Pn(e), t), t.sheet;
153
+ function so(e) {
154
+ const t = re("style");
155
+ return t.textContent = "/* empty */", ri(Pn(e), t), t.sheet;
156
156
  }
157
- function ni(e, t) {
157
+ function ri(e, t) {
158
158
  return J(
159
159
  /** @type {Document} */
160
160
  e.head || e,
161
161
  t
162
162
  ), t.sheet;
163
163
  }
164
- function Oe(e, t, n) {
164
+ function Le(e, t, n) {
165
165
  e.insertBefore(t, n || null);
166
166
  }
167
- function ge(e) {
167
+ function Ee(e) {
168
168
  e.parentNode && e.parentNode.removeChild(e);
169
169
  }
170
- function te(e) {
170
+ function re(e) {
171
171
  return document.createElement(e);
172
172
  }
173
173
  function hr(e) {
@@ -179,16 +179,16 @@ function et(e) {
179
179
  function mt() {
180
180
  return et(" ");
181
181
  }
182
- function ri() {
182
+ function ii() {
183
183
  return et("");
184
184
  }
185
185
  function Ft(e, t, n, r) {
186
186
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
187
187
  }
188
- function j(e, t, n) {
188
+ function W(e, t, n) {
189
189
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
190
190
  }
191
- function os(e) {
191
+ function ao(e) {
192
192
  return Array.from(e.childNodes);
193
193
  }
194
194
  function qt(e, t) {
@@ -196,7 +196,7 @@ function qt(e, t) {
196
196
  t);
197
197
  }
198
198
  let Mt;
199
- function as() {
199
+ function uo() {
200
200
  if (Mt === void 0) {
201
201
  Mt = !1;
202
202
  try {
@@ -207,16 +207,16 @@ function as() {
207
207
  }
208
208
  return Mt;
209
209
  }
210
- function us(e, t) {
210
+ function lo(e, t) {
211
211
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
212
- const r = te("iframe");
212
+ const r = re("iframe");
213
213
  r.setAttribute(
214
214
  "style",
215
215
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
216
216
  ), r.setAttribute("aria-hidden", "true"), r.tabIndex = -1;
217
- const i = as();
218
- let s;
219
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ft(
217
+ const i = uo();
218
+ let o;
219
+ return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ft(
220
220
  window,
221
221
  "message",
222
222
  /** @param {MessageEvent} event */
@@ -224,15 +224,15 @@ function us(e, t) {
224
224
  a.source === r.contentWindow && t();
225
225
  }
226
226
  )) : (r.src = "about:blank", r.onload = () => {
227
- s = Ft(r.contentWindow, "resize", t), t();
227
+ o = Ft(r.contentWindow, "resize", t), t();
228
228
  }), J(e, r), () => {
229
- (i || s && r.contentWindow) && s(), ge(r);
229
+ (i || o && r.contentWindow) && o(), Ee(r);
230
230
  };
231
231
  }
232
- function ls(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
232
+ function co(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
233
233
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
234
234
  }
235
- function cs(e) {
235
+ function fo(e) {
236
236
  const t = {};
237
237
  return e.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -243,43 +243,43 @@ function cs(e) {
243
243
  }
244
244
  const Gt = /* @__PURE__ */ new Map();
245
245
  let jt = 0;
246
- function fs(e) {
246
+ function ho(e) {
247
247
  let t = 5381, n = e.length;
248
248
  for (; n--; )
249
249
  t = (t << 5) - t ^ e.charCodeAt(n);
250
250
  return t >>> 0;
251
251
  }
252
- function hs(e, t) {
253
- const n = { stylesheet: ss(t), rules: {} };
252
+ function mo(e, t) {
253
+ const n = { stylesheet: so(t), rules: {} };
254
254
  return Gt.set(e, n), n;
255
255
  }
256
- function mr(e, t, n, r, i, s, a, u = 0) {
256
+ function mr(e, t, n, r, i, o, a, u = 0) {
257
257
  const c = 16.666 / r;
258
258
  let l = `{
259
259
  `;
260
260
  for (let C = 0; C <= 1; C += c) {
261
- const F = t + (n - t) * s(C);
261
+ const F = t + (n - t) * o(C);
262
262
  l += C * 100 + `%{${a(F, 1 - F)}}
263
263
  `;
264
264
  }
265
265
  const f = l + `100% {${a(n, 1 - n)}}
266
- }`, _ = `__svelte_${fs(f)}_${u}`, y = Pn(e), { stylesheet: M, rules: b } = Gt.get(y) || hs(y, e);
266
+ }`, _ = `__svelte_${ho(f)}_${u}`, y = Pn(e), { stylesheet: M, rules: b } = Gt.get(y) || mo(y, e);
267
267
  b[_] || (b[_] = !0, M.insertRule(`@keyframes ${_} ${f}`, M.cssRules.length));
268
268
  const d = e.style.animation || "";
269
269
  return e.style.animation = `${d ? `${d}, ` : ""}${_} ${r}ms linear ${i}ms 1 both`, jt += 1, _;
270
270
  }
271
- function ms(e, t) {
271
+ function po(e, t) {
272
272
  const n = (e.style.animation || "").split(", "), r = n.filter(
273
- t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
273
+ t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
274
274
  // remove all Svelte animations
275
275
  ), i = n.length - r.length;
276
- i && (e.style.animation = r.join(", "), jt -= i, jt || ds());
276
+ i && (e.style.animation = r.join(", "), jt -= i, jt || go());
277
277
  }
278
- function ds() {
278
+ function go() {
279
279
  In(() => {
280
280
  jt || (Gt.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
282
- t && ge(t);
282
+ t && Ee(t);
283
283
  }), Gt.clear());
284
284
  });
285
285
  }
@@ -287,23 +287,23 @@ let gt;
287
287
  function pt(e) {
288
288
  gt = e;
289
289
  }
290
- function ii() {
290
+ function oi() {
291
291
  if (!gt)
292
292
  throw new Error("Function called outside component initialization");
293
293
  return gt;
294
294
  }
295
- function ps(e) {
296
- ii().$$.on_mount.push(e);
295
+ function _o(e) {
296
+ oi().$$.on_mount.push(e);
297
297
  }
298
- function gs(e) {
299
- ii().$$.on_destroy.push(e);
298
+ function bo(e) {
299
+ oi().$$.on_destroy.push(e);
300
300
  }
301
301
  const Ve = [], zt = [];
302
302
  let Ye = [];
303
- const dr = [], _s = /* @__PURE__ */ Promise.resolve();
303
+ const dr = [], Eo = /* @__PURE__ */ Promise.resolve();
304
304
  let vn = !1;
305
- function bs() {
306
- vn || (vn = !0, _s.then(le));
305
+ function yo() {
306
+ vn || (vn = !0, Eo.then(le));
307
307
  }
308
308
  function Ze(e) {
309
309
  Ye.push(e);
@@ -318,7 +318,7 @@ function le() {
318
318
  try {
319
319
  for (; ze < Ve.length; ) {
320
320
  const t = Ve[ze];
321
- ze++, pt(t), Es(t.$$);
321
+ ze++, pt(t), xo(t.$$);
322
322
  }
323
323
  } catch (t) {
324
324
  throw Ve.length = 0, ze = 0, t;
@@ -335,57 +335,57 @@ function le() {
335
335
  dr.pop()();
336
336
  vn = !1, ln.clear(), pt(e);
337
337
  }
338
- function Es(e) {
338
+ function xo(e) {
339
339
  if (e.fragment !== null) {
340
340
  e.update(), Pe(e.before_update);
341
341
  const t = e.dirty;
342
342
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
343
343
  }
344
344
  }
345
- function ys(e) {
345
+ function vo(e) {
346
346
  const t = [], n = [];
347
347
  Ye.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Ye = t;
348
348
  }
349
- let ot;
350
- function xs() {
351
- return ot || (ot = Promise.resolve(), ot.then(() => {
352
- ot = null;
353
- })), ot;
349
+ let st;
350
+ function To() {
351
+ return st || (st = Promise.resolve(), st.then(() => {
352
+ st = null;
353
+ })), st;
354
354
  }
355
355
  function cn(e, t, n) {
356
- e.dispatchEvent(ls(`${t ? "intro" : "outro"}${n}`));
356
+ e.dispatchEvent(co(`${t ? "intro" : "outro"}${n}`));
357
357
  }
358
358
  const Dt = /* @__PURE__ */ new Set();
359
- let Le;
359
+ let Ce;
360
360
  function si() {
361
- Le = {
361
+ Ce = {
362
362
  r: 0,
363
363
  c: [],
364
- p: Le
364
+ p: Ce
365
365
  // parent group
366
366
  };
367
367
  }
368
- function oi() {
369
- Le.r || Pe(Le.c), Le = Le.p;
368
+ function ai() {
369
+ Ce.r || Pe(Ce.c), Ce = Ce.p;
370
370
  }
371
- function Ae(e, t) {
371
+ function we(e, t) {
372
372
  e && e.i && (Dt.delete(e), e.i(t));
373
373
  }
374
374
  function He(e, t, n, r) {
375
375
  if (e && e.o) {
376
376
  if (Dt.has(e))
377
377
  return;
378
- Dt.add(e), Le.c.push(() => {
378
+ Dt.add(e), Ce.c.push(() => {
379
379
  Dt.delete(e), r && (n && e.d(1), r());
380
380
  }), e.o(t);
381
381
  } else
382
382
  r && r();
383
383
  }
384
- const vs = { duration: 0 };
384
+ const So = { duration: 0 };
385
385
  function pr(e, t, n, r) {
386
- let s = t(e, n, { direction: "both" }), a = r ? 0 : 1, u = null, c = null, l = null, f;
386
+ let o = t(e, n, { direction: "both" }), a = r ? 0 : 1, u = null, c = null, l = null, f;
387
387
  function _() {
388
- l && ms(e, l);
388
+ l && po(e, l);
389
389
  }
390
390
  function y(b, d) {
391
391
  const C = (
@@ -406,23 +406,23 @@ function pr(e, t, n, r) {
406
406
  const {
407
407
  delay: d = 0,
408
408
  duration: C = 300,
409
- easing: F = Zr,
409
+ easing: F = qr,
410
410
  tick: $ = de,
411
- css: A
412
- } = s || vs, H = {
413
- start: ns() + d,
411
+ css: w
412
+ } = o || So, H = {
413
+ start: ro() + d,
414
414
  b
415
415
  };
416
- b || (H.group = Le, Le.r += 1), "inert" in e && (b ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
417
- e.inert, e.inert = !0)), u || c ? c = H : (A && (_(), l = mr(e, a, b, C, d, F, A)), b && $(0, 1), u = y(H, C), Ze(() => cn(e, b, "start")), rs((R) => {
418
- if (c && R > c.start && (u = y(c, C), c = null, cn(e, u.b, "start"), A && (_(), l = mr(
416
+ b || (H.group = Ce, Ce.r += 1), "inert" in e && (b ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
417
+ e.inert, e.inert = !0)), u || c ? c = H : (w && (_(), l = mr(e, a, b, C, d, F, w)), b && $(0, 1), u = y(H, C), Ze(() => cn(e, b, "start")), io((R) => {
418
+ if (c && R > c.start && (u = y(c, C), c = null, cn(e, u.b, "start"), w && (_(), l = mr(
419
419
  e,
420
420
  a,
421
421
  u.b,
422
422
  u.duration,
423
423
  0,
424
424
  F,
425
- s.css
425
+ o.css
426
426
  ))), u) {
427
427
  if (R >= u.end)
428
428
  $(a = u.b, 1 - a), cn(e, u.b, "end"), c || (u.b ? _() : --u.group.r || Pe(u.group.c)), u = null;
@@ -436,8 +436,8 @@ function pr(e, t, n, r) {
436
436
  }
437
437
  return {
438
438
  run(b) {
439
- Zt(s) ? xs().then(() => {
440
- s = s({ direction: b ? "in" : "out" }), M(b);
439
+ Zt(o) ? To().then(() => {
440
+ o = o({ direction: b ? "in" : "out" }), M(b);
441
441
  }) : M(b);
442
442
  },
443
443
  end() {
@@ -445,28 +445,28 @@ function pr(e, t, n, r) {
445
445
  }
446
446
  };
447
447
  }
448
- function Ts(e, t, n) {
448
+ function wo(e, t, n) {
449
449
  const { fragment: r, after_update: i } = e.$$;
450
450
  r && r.m(t, n), Ze(() => {
451
- const s = e.$$.on_mount.map(qr).filter(Zt);
452
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Pe(s), e.$$.on_mount = [];
451
+ const o = e.$$.on_mount.map(Jr).filter(Zt);
452
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Pe(o), e.$$.on_mount = [];
453
453
  }), i.forEach(Ze);
454
454
  }
455
- function Ss(e, t) {
455
+ function Ao(e, t) {
456
456
  const n = e.$$;
457
- n.fragment !== null && (ys(n.after_update), Pe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
457
+ n.fragment !== null && (vo(n.after_update), Pe(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
458
458
  }
459
- function As(e, t) {
460
- e.$$.dirty[0] === -1 && (Ve.push(e), bs(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
459
+ function Oo(e, t) {
460
+ e.$$.dirty[0] === -1 && (Ve.push(e), yo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
461
461
  }
462
- function ws(e, t, n, r, i, s, a = null, u = [-1]) {
462
+ function Mo(e, t, n, r, i, o, a = null, u = [-1]) {
463
463
  const c = gt;
464
464
  pt(e);
465
465
  const l = e.$$ = {
466
466
  fragment: null,
467
467
  ctx: [],
468
468
  // state
469
- props: s,
469
+ props: o,
470
470
  update: de,
471
471
  not_equal: i,
472
472
  bound: lr(),
@@ -487,39 +487,39 @@ function ws(e, t, n, r, i, s, a = null, u = [-1]) {
487
487
  let f = !1;
488
488
  if (l.ctx = n ? n(e, t.props || {}, (_, y, ...M) => {
489
489
  const b = M.length ? M[0] : y;
490
- return l.ctx && i(l.ctx[_], l.ctx[_] = b) && (!l.skip_bound && l.bound[_] && l.bound[_](b), f && As(e, _)), y;
490
+ return l.ctx && i(l.ctx[_], l.ctx[_] = b) && (!l.skip_bound && l.bound[_] && l.bound[_](b), f && Oo(e, _)), y;
491
491
  }) : [], l.update(), f = !0, Pe(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
492
492
  if (t.hydrate) {
493
- const _ = os(t.target);
494
- l.fragment && l.fragment.l(_), _.forEach(ge);
493
+ const _ = ao(t.target);
494
+ l.fragment && l.fragment.l(_), _.forEach(Ee);
495
495
  } else
496
496
  l.fragment && l.fragment.c();
497
- t.intro && Ae(e.$$.fragment), Ts(e, t.target, t.anchor), le();
497
+ t.intro && we(e.$$.fragment), wo(e, t.target, t.anchor), le();
498
498
  }
499
499
  pt(c);
500
500
  }
501
- let ai;
502
- typeof HTMLElement == "function" && (ai = class extends HTMLElement {
501
+ let ui;
502
+ typeof HTMLElement == "function" && (ui = class extends HTMLElement {
503
503
  constructor(t, n, r) {
504
504
  super();
505
505
  /** The Svelte component constructor */
506
- be(this, "$$ctor");
506
+ _e(this, "$$ctor");
507
507
  /** Slots */
508
- be(this, "$$s");
508
+ _e(this, "$$s");
509
509
  /** The Svelte component instance */
510
- be(this, "$$c");
510
+ _e(this, "$$c");
511
511
  /** Whether or not the custom element is connected */
512
- be(this, "$$cn", !1);
512
+ _e(this, "$$cn", !1);
513
513
  /** Component props data */
514
- be(this, "$$d", {});
514
+ _e(this, "$$d", {});
515
515
  /** `true` if currently in the process of reflecting component props back to attributes */
516
- be(this, "$$r", !1);
516
+ _e(this, "$$r", !1);
517
517
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
518
- be(this, "$$p_d", {});
518
+ _e(this, "$$p_d", {});
519
519
  /** @type {Record<string, Function[]>} Event listeners */
520
- be(this, "$$l", {});
520
+ _e(this, "$$l", {});
521
521
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
522
- be(this, "$$l_u", /* @__PURE__ */ new Map());
522
+ _e(this, "$$l_u", /* @__PURE__ */ new Map());
523
523
  this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
524
524
  }
525
525
  addEventListener(t, n, r) {
@@ -538,40 +538,40 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
538
538
  connectedCallback() {
539
539
  return ur(this, null, function* () {
540
540
  if (this.$$cn = !0, !this.$$c) {
541
- let t = function(s) {
541
+ let t = function(o) {
542
542
  return () => {
543
543
  let a;
544
544
  return {
545
545
  c: function() {
546
- a = te("slot"), s !== "default" && j(a, "name", s);
546
+ a = re("slot"), o !== "default" && W(a, "name", o);
547
547
  },
548
548
  /**
549
549
  * @param {HTMLElement} target
550
550
  * @param {HTMLElement} [anchor]
551
551
  */
552
552
  m: function(l, f) {
553
- Oe(l, a, f);
553
+ Le(l, a, f);
554
554
  },
555
555
  d: function(l) {
556
- l && ge(a);
556
+ l && Ee(a);
557
557
  }
558
558
  };
559
559
  };
560
560
  };
561
561
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
562
562
  return;
563
- const n = {}, r = cs(this);
564
- for (const s of this.$$s)
565
- s in r && (n[s] = [t(s)]);
566
- for (const s of this.attributes) {
567
- const a = this.$$g_p(s.name);
568
- a in this.$$d || (this.$$d[a] = Bt(a, s.value, this.$$p_d, "toProp"));
563
+ const n = {}, r = fo(this);
564
+ for (const o of this.$$s)
565
+ o in r && (n[o] = [t(o)]);
566
+ for (const o of this.attributes) {
567
+ const a = this.$$g_p(o.name);
568
+ a in this.$$d || (this.$$d[a] = Bt(a, o.value, this.$$p_d, "toProp"));
569
569
  }
570
- for (const s in this.$$p_d)
571
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
570
+ for (const o in this.$$p_d)
571
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
572
572
  this.$$c = new this.$$ctor({
573
573
  target: this.shadowRoot || this,
574
- props: ar(or({}, this.$$d), {
574
+ props: ar(sr({}, this.$$d), {
575
575
  $$slots: n,
576
576
  $$scope: {
577
577
  ctx: []
@@ -580,22 +580,22 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
580
580
  });
581
581
  const i = () => {
582
582
  this.$$r = !0;
583
- for (const s in this.$$p_d)
584
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
583
+ for (const o in this.$$p_d)
584
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
585
585
  const a = Bt(
586
- s,
587
- this.$$d[s],
586
+ o,
587
+ this.$$d[o],
588
588
  this.$$p_d,
589
589
  "toAttribute"
590
590
  );
591
- a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
591
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
592
592
  }
593
593
  this.$$r = !1;
594
594
  };
595
595
  this.$$c.$$.after_update.push(i), i();
596
- for (const s in this.$$l)
597
- for (const a of this.$$l[s]) {
598
- const u = this.$$c.$on(s, a);
596
+ for (const o in this.$$l)
597
+ for (const a of this.$$l[o]) {
598
+ const u = this.$$c.$on(o, a);
599
599
  this.$$l_u.set(a, u);
600
600
  }
601
601
  this.$$l = {};
@@ -620,8 +620,8 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
620
620
  }
621
621
  });
622
622
  function Bt(e, t, n, r) {
623
- var s;
624
- const i = (s = n[e]) == null ? void 0 : s.type;
623
+ var o;
624
+ const i = (o = n[e]) == null ? void 0 : o.type;
625
625
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
626
626
  return t;
627
627
  if (r === "toAttribute")
@@ -649,8 +649,8 @@ function Bt(e, t, n, r) {
649
649
  return t;
650
650
  }
651
651
  }
652
- function Os(e, t, n, r, i, s) {
653
- let a = class extends ai {
652
+ function Co(e, t, n, r, i, o) {
653
+ let a = class extends ui {
654
654
  constructor() {
655
655
  super(e, n, i), this.$$p_d = t;
656
656
  }
@@ -680,7 +680,7 @@ function Os(e, t, n, r, i, s) {
680
680
  }), e.element = /** @type {any} */
681
681
  a, a;
682
682
  }
683
- class Ms {
683
+ class Lo {
684
684
  constructor() {
685
685
  /**
686
686
  * ### PRIVATE API
@@ -689,7 +689,7 @@ class Ms {
689
689
  *
690
690
  * @type {any}
691
691
  */
692
- be(this, "$$");
692
+ _e(this, "$$");
693
693
  /**
694
694
  * ### PRIVATE API
695
695
  *
@@ -697,11 +697,11 @@ class Ms {
697
697
  *
698
698
  * @type {any}
699
699
  */
700
- be(this, "$$set");
700
+ _e(this, "$$set");
701
701
  }
702
702
  /** @returns {void} */
703
703
  $destroy() {
704
- Ss(this, 1), this.$destroy = de;
704
+ Ao(this, 1), this.$destroy = de;
705
705
  }
706
706
  /**
707
707
  * @template {Extract<keyof Events, string>} K
@@ -723,22 +723,22 @@ class Ms {
723
723
  * @returns {void}
724
724
  */
725
725
  $set(t) {
726
- this.$$set && !ts(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
726
+ this.$$set && !no(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
727
727
  }
728
728
  }
729
- const Cs = "4";
730
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cs);
731
- function gr(e, { delay: t = 0, duration: n = 400, easing: r = Zr } = {}) {
729
+ const No = "4";
730
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(No);
731
+ function gr(e, { delay: t = 0, duration: n = 400, easing: r = qr } = {}) {
732
732
  const i = +getComputedStyle(e).opacity;
733
733
  return {
734
734
  delay: t,
735
735
  duration: n,
736
736
  easing: r,
737
- css: (s) => `opacity: ${s * i}`
737
+ css: (o) => `opacity: ${o * i}`
738
738
  };
739
739
  }
740
740
  const We = [];
741
- function Ls(e, t) {
741
+ function Ho(e, t) {
742
742
  return {
743
743
  subscribe: Et(e, t).subscribe
744
744
  };
@@ -747,7 +747,7 @@ function Et(e, t = de) {
747
747
  let n;
748
748
  const r = /* @__PURE__ */ new Set();
749
749
  function i(u) {
750
- if (Jr(e, u) && (e = u, n)) {
750
+ if (Qr(e, u) && (e = u, n)) {
751
751
  const c = !We.length;
752
752
  for (const l of r)
753
753
  l[1](), We.push(l, e);
@@ -758,23 +758,23 @@ function Et(e, t = de) {
758
758
  }
759
759
  }
760
760
  }
761
- function s(u) {
761
+ function o(u) {
762
762
  i(u(e));
763
763
  }
764
764
  function a(u, c = de) {
765
765
  const l = [u, c];
766
- return r.add(l), r.size === 1 && (n = t(i, s) || de), u(e), () => {
766
+ return r.add(l), r.size === 1 && (n = t(i, o) || de), u(e), () => {
767
767
  r.delete(l), r.size === 0 && n && (n(), n = null);
768
768
  };
769
769
  }
770
- return { set: i, update: s, subscribe: a };
770
+ return { set: i, update: o, subscribe: a };
771
771
  }
772
772
  function tt(e, t, n) {
773
773
  const r = !Array.isArray(e), i = r ? [e] : e;
774
774
  if (!i.every(Boolean))
775
775
  throw new Error("derived() expects stores as input, got a falsy value");
776
- const s = t.length < 2;
777
- return Ls(n, (a, u) => {
776
+ const o = t.length < 2;
777
+ return Ho(n, (a, u) => {
778
778
  let c = !1;
779
779
  const l = [];
780
780
  let f = 0, _ = de;
@@ -783,9 +783,9 @@ function tt(e, t, n) {
783
783
  return;
784
784
  _();
785
785
  const b = t(r ? l[0] : l, a, u);
786
- s ? a(b) : _ = Zt(b) ? b : de;
786
+ o ? a(b) : _ = Zt(b) ? b : de;
787
787
  }, M = i.map(
788
- (b, d) => Qr(
788
+ (b, d) => Kr(
789
789
  b,
790
790
  (C) => {
791
791
  l[d] = C, f &= ~(1 << d), c && y();
@@ -800,71 +800,71 @@ function tt(e, t, n) {
800
800
  };
801
801
  });
802
802
  }
803
- var ui = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
803
+ var li = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
804
804
  function Rn(e) {
805
805
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
806
806
  }
807
- var Ns = function(t) {
808
- return Hs(t) && !Is(t);
807
+ var Io = function(t) {
808
+ return Po(t) && !Ro(t);
809
809
  };
810
- function Hs(e) {
810
+ function Po(e) {
811
811
  return !!e && typeof e == "object";
812
812
  }
813
- function Is(e) {
813
+ function Ro(e) {
814
814
  var t = Object.prototype.toString.call(e);
815
- return t === "[object RegExp]" || t === "[object Date]" || Ds(e);
815
+ return t === "[object RegExp]" || t === "[object Date]" || $o(e);
816
816
  }
817
- var Ps = typeof Symbol == "function" && Symbol.for, Rs = Ps ? Symbol.for("react.element") : 60103;
818
- function Ds(e) {
819
- return e.$$typeof === Rs;
817
+ var Do = typeof Symbol == "function" && Symbol.for, Bo = Do ? Symbol.for("react.element") : 60103;
818
+ function $o(e) {
819
+ return e.$$typeof === Bo;
820
820
  }
821
- function Bs(e) {
821
+ function Uo(e) {
822
822
  return Array.isArray(e) ? [] : {};
823
823
  }
824
824
  function _t(e, t) {
825
- return t.clone !== !1 && t.isMergeableObject(e) ? qe(Bs(e), e, t) : e;
825
+ return t.clone !== !1 && t.isMergeableObject(e) ? qe(Uo(e), e, t) : e;
826
826
  }
827
- function $s(e, t, n) {
827
+ function ko(e, t, n) {
828
828
  return e.concat(t).map(function(r) {
829
829
  return _t(r, n);
830
830
  });
831
831
  }
832
- function Us(e, t) {
832
+ function Fo(e, t) {
833
833
  if (!t.customMerge)
834
834
  return qe;
835
835
  var n = t.customMerge(e);
836
836
  return typeof n == "function" ? n : qe;
837
837
  }
838
- function ks(e) {
838
+ function Go(e) {
839
839
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
840
840
  return Object.propertyIsEnumerable.call(e, t);
841
841
  }) : [];
842
842
  }
843
843
  function _r(e) {
844
- return Object.keys(e).concat(ks(e));
844
+ return Object.keys(e).concat(Go(e));
845
845
  }
846
- function li(e, t) {
846
+ function ci(e, t) {
847
847
  try {
848
848
  return t in e;
849
849
  } catch (n) {
850
850
  return !1;
851
851
  }
852
852
  }
853
- function Fs(e, t) {
854
- return li(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
853
+ function jo(e, t) {
854
+ return ci(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
855
855
  }
856
- function Gs(e, t, n) {
856
+ function zo(e, t, n) {
857
857
  var r = {};
858
858
  return n.isMergeableObject(e) && _r(e).forEach(function(i) {
859
859
  r[i] = _t(e[i], n);
860
860
  }), _r(t).forEach(function(i) {
861
- Fs(e, i) || (li(e, i) && n.isMergeableObject(t[i]) ? r[i] = Us(i, n)(e[i], t[i], n) : r[i] = _t(t[i], n));
861
+ jo(e, i) || (ci(e, i) && n.isMergeableObject(t[i]) ? r[i] = Fo(i, n)(e[i], t[i], n) : r[i] = _t(t[i], n));
862
862
  }), r;
863
863
  }
864
864
  function qe(e, t, n) {
865
- n = n || {}, n.arrayMerge = n.arrayMerge || $s, n.isMergeableObject = n.isMergeableObject || Ns, n.cloneUnlessOtherwiseSpecified = _t;
866
- var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
867
- return s ? r ? n.arrayMerge(e, t, n) : Gs(e, t, n) : _t(t, n);
865
+ n = n || {}, n.arrayMerge = n.arrayMerge || ko, n.isMergeableObject = n.isMergeableObject || Io, n.cloneUnlessOtherwiseSpecified = _t;
866
+ var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
867
+ return o ? r ? n.arrayMerge(e, t, n) : zo(e, t, n) : _t(t, n);
868
868
  }
869
869
  qe.all = function(t, n) {
870
870
  if (!Array.isArray(t))
@@ -873,8 +873,8 @@ qe.all = function(t, n) {
873
873
  return qe(r, i, n);
874
874
  }, {});
875
875
  };
876
- var js = qe, zs = js;
877
- const Ws = /* @__PURE__ */ Rn(zs);
876
+ var Wo = qe, Vo = Wo;
877
+ const Xo = /* @__PURE__ */ Rn(Vo);
878
878
  var Tn = function(e, t) {
879
879
  return Tn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
880
880
  n.__proto__ = r;
@@ -892,17 +892,17 @@ function Jt(e, t) {
892
892
  }
893
893
  e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
894
894
  }
895
- var we = function() {
896
- return we = Object.assign || function(t) {
895
+ var Ae = function() {
896
+ return Ae = Object.assign || function(t) {
897
897
  for (var n, r = 1, i = arguments.length; r < i; r++) {
898
898
  n = arguments[r];
899
- for (var s in n)
900
- Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
899
+ for (var o in n)
900
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
901
901
  }
902
902
  return t;
903
- }, we.apply(this, arguments);
903
+ }, Ae.apply(this, arguments);
904
904
  };
905
- function Vs(e, t) {
905
+ function Yo(e, t) {
906
906
  var n = {};
907
907
  for (var r in e)
908
908
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -913,41 +913,41 @@ function Vs(e, t) {
913
913
  }
914
914
  function fn(e, t, n) {
915
915
  if (n || arguments.length === 2)
916
- for (var r = 0, i = t.length, s; r < i; r++)
917
- (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
918
- return e.concat(s || Array.prototype.slice.call(t));
916
+ for (var r = 0, i = t.length, o; r < i; r++)
917
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
918
+ return e.concat(o || Array.prototype.slice.call(t));
919
919
  }
920
920
  function hn(e, t) {
921
- var n = t && t.cache ? t.cache : Ks, r = t && t.serializer ? t.serializer : Js, i = t && t.strategy ? t.strategy : Zs;
921
+ var n = t && t.cache ? t.cache : ts, r = t && t.serializer ? t.serializer : Ko, i = t && t.strategy ? t.strategy : Jo;
922
922
  return i(e, {
923
923
  cache: n,
924
924
  serializer: r
925
925
  });
926
926
  }
927
- function Xs(e) {
927
+ function Zo(e) {
928
928
  return e == null || typeof e == "number" || typeof e == "boolean";
929
929
  }
930
- function Ys(e, t, n, r) {
931
- var i = Xs(r) ? r : n(r), s = t.get(i);
932
- return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
930
+ function qo(e, t, n, r) {
931
+ var i = Zo(r) ? r : n(r), o = t.get(i);
932
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
933
933
  }
934
- function ci(e, t, n) {
935
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
936
- return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
934
+ function fi(e, t, n) {
935
+ var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
936
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
937
937
  }
938
- function fi(e, t, n, r, i) {
938
+ function hi(e, t, n, r, i) {
939
939
  return n.bind(t, e, r, i);
940
940
  }
941
- function Zs(e, t) {
942
- var n = e.length === 1 ? Ys : ci;
943
- return fi(e, this, n, t.cache.create(), t.serializer);
941
+ function Jo(e, t) {
942
+ var n = e.length === 1 ? qo : fi;
943
+ return hi(e, this, n, t.cache.create(), t.serializer);
944
944
  }
945
- function qs(e, t) {
946
- return fi(e, this, ci, t.cache.create(), t.serializer);
945
+ function Qo(e, t) {
946
+ return hi(e, this, fi, t.cache.create(), t.serializer);
947
947
  }
948
- var Js = function() {
948
+ var Ko = function() {
949
949
  return JSON.stringify(arguments);
950
- }, Qs = (
950
+ }, es = (
951
951
  /** @class */
952
952
  function() {
953
953
  function e() {
@@ -959,18 +959,18 @@ var Js = function() {
959
959
  this.cache[t] = n;
960
960
  }, e;
961
961
  }()
962
- ), Ks = {
962
+ ), ts = {
963
963
  create: function() {
964
- return new Qs();
964
+ return new es();
965
965
  }
966
966
  }, mn = {
967
- variadic: qs
967
+ variadic: Qo
968
968
  }, Wt = function() {
969
969
  return Wt = Object.assign || function(t) {
970
970
  for (var n, r = 1, i = arguments.length; r < i; r++) {
971
971
  n = arguments[r];
972
- for (var s in n)
973
- Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
972
+ for (var o in n)
973
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
974
974
  }
975
975
  return t;
976
976
  }, Wt.apply(this, arguments);
@@ -990,40 +990,40 @@ var Je;
990
990
  function br(e) {
991
991
  return e.type === X.literal;
992
992
  }
993
- function eo(e) {
993
+ function ns(e) {
994
994
  return e.type === X.argument;
995
995
  }
996
- function hi(e) {
996
+ function mi(e) {
997
997
  return e.type === X.number;
998
998
  }
999
- function mi(e) {
999
+ function di(e) {
1000
1000
  return e.type === X.date;
1001
1001
  }
1002
- function di(e) {
1002
+ function pi(e) {
1003
1003
  return e.type === X.time;
1004
1004
  }
1005
- function pi(e) {
1005
+ function gi(e) {
1006
1006
  return e.type === X.select;
1007
1007
  }
1008
- function gi(e) {
1008
+ function _i(e) {
1009
1009
  return e.type === X.plural;
1010
1010
  }
1011
- function to(e) {
1011
+ function rs(e) {
1012
1012
  return e.type === X.pound;
1013
1013
  }
1014
- function _i(e) {
1014
+ function bi(e) {
1015
1015
  return e.type === X.tag;
1016
1016
  }
1017
- function bi(e) {
1017
+ function Ei(e) {
1018
1018
  return !!(e && typeof e == "object" && e.type === Je.number);
1019
1019
  }
1020
1020
  function Sn(e) {
1021
1021
  return !!(e && typeof e == "object" && e.type === Je.dateTime);
1022
1022
  }
1023
- var Ei = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, no = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1024
- function ro(e) {
1023
+ var yi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, is = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1024
+ function os(e) {
1025
1025
  var t = {};
1026
- return e.replace(no, function(n) {
1026
+ return e.replace(is, function(n) {
1027
1027
  var r = n.length;
1028
1028
  switch (n[0]) {
1029
1029
  case "G":
@@ -1116,20 +1116,20 @@ var Z = function() {
1116
1116
  return Z = Object.assign || function(t) {
1117
1117
  for (var n, r = 1, i = arguments.length; r < i; r++) {
1118
1118
  n = arguments[r];
1119
- for (var s in n)
1120
- Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
1119
+ for (var o in n)
1120
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1121
1121
  }
1122
1122
  return t;
1123
1123
  }, Z.apply(this, arguments);
1124
1124
  };
1125
- var io = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1126
- function so(e) {
1125
+ var ss = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1126
+ function as(e) {
1127
1127
  if (e.length === 0)
1128
1128
  throw new Error("Number skeleton cannot be empty");
1129
- for (var t = e.split(io).filter(function(y) {
1129
+ for (var t = e.split(ss).filter(function(y) {
1130
1130
  return y.length > 0;
1131
1131
  }), n = [], r = 0, i = t; r < i.length; r++) {
1132
- var s = i[r], a = s.split("/");
1132
+ var o = i[r], a = o.split("/");
1133
1133
  if (a.length === 0)
1134
1134
  throw new Error("Invalid number skeleton");
1135
1135
  for (var u = a[0], c = a.slice(1), l = 0, f = c; l < f.length; l++) {
@@ -1141,17 +1141,17 @@ function so(e) {
1141
1141
  }
1142
1142
  return n;
1143
1143
  }
1144
- function oo(e) {
1144
+ function us(e) {
1145
1145
  return e.replace(/^(.*?)-/, "");
1146
1146
  }
1147
- var Er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yi = /^(@+)?(\+|#+)?[rs]?$/g, ao = /(\*)(0+)|(#+)(0+)|(0+)/g, xi = /^(0+)$/;
1147
+ var Er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xi = /^(@+)?(\+|#+)?[rs]?$/g, ls = /(\*)(0+)|(#+)(0+)|(0+)/g, vi = /^(0+)$/;
1148
1148
  function yr(e) {
1149
1149
  var t = {};
1150
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yi, function(n, r, i) {
1150
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xi, function(n, r, i) {
1151
1151
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1152
1152
  }), t;
1153
1153
  }
1154
- function vi(e) {
1154
+ function Ti(e) {
1155
1155
  switch (e) {
1156
1156
  case "sign-auto":
1157
1157
  return {
@@ -1191,7 +1191,7 @@ function vi(e) {
1191
1191
  };
1192
1192
  }
1193
1193
  }
1194
- function uo(e) {
1194
+ function cs(e) {
1195
1195
  var t;
1196
1196
  if (e[0] === "E" && e[1] === "E" ? (t = {
1197
1197
  notation: "engineering"
@@ -1199,17 +1199,17 @@ function uo(e) {
1199
1199
  notation: "scientific"
1200
1200
  }, e = e.slice(1)), t) {
1201
1201
  var n = e.slice(0, 2);
1202
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xi.test(e))
1202
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vi.test(e))
1203
1203
  throw new Error("Malformed concise eng/scientific notation");
1204
1204
  t.minimumIntegerDigits = e.length;
1205
1205
  }
1206
1206
  return t;
1207
1207
  }
1208
1208
  function xr(e) {
1209
- var t = {}, n = vi(e);
1209
+ var t = {}, n = Ti(e);
1210
1210
  return n || t;
1211
1211
  }
1212
- function lo(e) {
1212
+ function fs(e) {
1213
1213
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1214
1214
  var i = r[n];
1215
1215
  switch (i.stem) {
@@ -1233,7 +1233,7 @@ function lo(e) {
1233
1233
  continue;
1234
1234
  case "measure-unit":
1235
1235
  case "unit":
1236
- t.style = "unit", t.unit = oo(i.options[0]);
1236
+ t.style = "unit", t.unit = us(i.options[0]);
1237
1237
  continue;
1238
1238
  case "compact-short":
1239
1239
  case "K":
@@ -1295,7 +1295,7 @@ function lo(e) {
1295
1295
  case "integer-width":
1296
1296
  if (i.options.length > 1)
1297
1297
  throw new RangeError("integer-width stems only accept a single optional option");
1298
- i.options[0].replace(ao, function(c, l, f, _, y, M) {
1298
+ i.options[0].replace(ls, function(c, l, f, _, y, M) {
1299
1299
  if (l)
1300
1300
  t.minimumIntegerDigits = f.length;
1301
1301
  else {
@@ -1308,7 +1308,7 @@ function lo(e) {
1308
1308
  });
1309
1309
  continue;
1310
1310
  }
1311
- if (xi.test(i.stem)) {
1311
+ if (vi.test(i.stem)) {
1312
1312
  t.minimumIntegerDigits = i.stem.length;
1313
1313
  continue;
1314
1314
  }
@@ -1318,17 +1318,17 @@ function lo(e) {
1318
1318
  i.stem.replace(Er, function(c, l, f, _, y, M) {
1319
1319
  return f === "*" ? t.minimumFractionDigits = l.length : _ && _[0] === "#" ? t.maximumFractionDigits = _.length : y && M ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + M.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1320
1320
  });
1321
- var s = i.options[0];
1322
- s === "w" ? t = Z(Z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = Z(Z({}, t), yr(s)));
1321
+ var o = i.options[0];
1322
+ o === "w" ? t = Z(Z({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = Z(Z({}, t), yr(o)));
1323
1323
  continue;
1324
1324
  }
1325
- if (yi.test(i.stem)) {
1325
+ if (xi.test(i.stem)) {
1326
1326
  t = Z(Z({}, t), yr(i.stem));
1327
1327
  continue;
1328
1328
  }
1329
- var a = vi(i.stem);
1329
+ var a = Ti(i.stem);
1330
1330
  a && (t = Z(Z({}, t), a));
1331
- var u = uo(i.stem);
1331
+ var u = cs(i.stem);
1332
1332
  u && (t = Z(Z({}, t), u));
1333
1333
  }
1334
1334
  return t;
@@ -2748,13 +2748,13 @@ var Ct = {
2748
2748
  "h"
2749
2749
  ]
2750
2750
  };
2751
- function co(e, t) {
2751
+ function hs(e, t) {
2752
2752
  for (var n = "", r = 0; r < e.length; r++) {
2753
2753
  var i = e.charAt(r);
2754
2754
  if (i === "j") {
2755
- for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2756
- s++, r++;
2757
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), c = "a", l = fo(t);
2755
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2756
+ o++, r++;
2757
+ var a = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = ms(t);
2758
2758
  for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
2759
2759
  n += c;
2760
2760
  for (; a-- > 0; )
@@ -2764,7 +2764,7 @@ function co(e, t) {
2764
2764
  }
2765
2765
  return n;
2766
2766
  }
2767
- function fo(e) {
2767
+ function ms(e) {
2768
2768
  var t = e.hourCycle;
2769
2769
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2770
2770
  e.hourCycles && // @ts-ignore
@@ -2786,20 +2786,20 @@ function fo(e) {
2786
2786
  var i = Ct[r || ""] || Ct[n || ""] || Ct["".concat(n, "-001")] || Ct["001"];
2787
2787
  return i[0];
2788
2788
  }
2789
- var dn, ho = new RegExp("^".concat(Ei.source, "*")), mo = new RegExp("".concat(Ei.source, "*$"));
2789
+ var dn, ds = new RegExp("^".concat(yi.source, "*")), ps = new RegExp("".concat(yi.source, "*$"));
2790
2790
  function B(e, t) {
2791
2791
  return { start: e, end: t };
2792
2792
  }
2793
- var po = !!String.prototype.startsWith && "_a".startsWith("a", 1), go = !!String.fromCodePoint, _o = !!Object.fromEntries, bo = !!String.prototype.codePointAt, Eo = !!String.prototype.trimStart, yo = !!String.prototype.trimEnd, xo = !!Number.isSafeInteger, vo = xo ? Number.isSafeInteger : function(e) {
2793
+ var gs = !!String.prototype.startsWith && "_a".startsWith("a", 1), _s = !!String.fromCodePoint, bs = !!Object.fromEntries, Es = !!String.prototype.codePointAt, ys = !!String.prototype.trimStart, xs = !!String.prototype.trimEnd, vs = !!Number.isSafeInteger, Ts = vs ? Number.isSafeInteger : function(e) {
2794
2794
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2795
- }, An = !0;
2795
+ }, wn = !0;
2796
2796
  try {
2797
- var To = Si("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2798
- An = ((dn = To.exec("a")) === null || dn === void 0 ? void 0 : dn[0]) === "a";
2797
+ var Ss = wi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2798
+ wn = ((dn = Ss.exec("a")) === null || dn === void 0 ? void 0 : dn[0]) === "a";
2799
2799
  } catch (e) {
2800
- An = !1;
2800
+ wn = !1;
2801
2801
  }
2802
- var vr = po ? (
2802
+ var vr = gs ? (
2803
2803
  // Native
2804
2804
  function(t, n, r) {
2805
2805
  return t.startsWith(n, r);
@@ -2809,13 +2809,13 @@ var vr = po ? (
2809
2809
  function(t, n, r) {
2810
2810
  return t.slice(r, r + n.length) === n;
2811
2811
  }
2812
- ), wn = go ? String.fromCodePoint : (
2812
+ ), An = _s ? String.fromCodePoint : (
2813
2813
  // IE11
2814
2814
  function() {
2815
2815
  for (var t = [], n = 0; n < arguments.length; n++)
2816
2816
  t[n] = arguments[n];
2817
- for (var r = "", i = t.length, s = 0, a; i > s; ) {
2818
- if (a = t[s++], a > 1114111)
2817
+ for (var r = "", i = t.length, o = 0, a; i > o; ) {
2818
+ if (a = t[o++], a > 1114111)
2819
2819
  throw RangeError(a + " is not a valid code point");
2820
2820
  r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2821
2821
  }
@@ -2823,17 +2823,17 @@ var vr = po ? (
2823
2823
  }
2824
2824
  ), Tr = (
2825
2825
  // native
2826
- _o ? Object.fromEntries : (
2826
+ bs ? Object.fromEntries : (
2827
2827
  // Ponyfill
2828
2828
  function(t) {
2829
2829
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
2830
- var s = i[r], a = s[0], u = s[1];
2830
+ var o = i[r], a = o[0], u = o[1];
2831
2831
  n[a] = u;
2832
2832
  }
2833
2833
  return n;
2834
2834
  }
2835
2835
  )
2836
- ), Ti = bo ? (
2836
+ ), Si = Es ? (
2837
2837
  // Native
2838
2838
  function(t, n) {
2839
2839
  return t.codePointAt(n);
@@ -2843,11 +2843,11 @@ var vr = po ? (
2843
2843
  function(t, n) {
2844
2844
  var r = t.length;
2845
2845
  if (!(n < 0 || n >= r)) {
2846
- var i = t.charCodeAt(n), s;
2847
- return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2846
+ var i = t.charCodeAt(n), o;
2847
+ return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2848
2848
  }
2849
2849
  }
2850
- ), So = Eo ? (
2850
+ ), ws = ys ? (
2851
2851
  // Native
2852
2852
  function(t) {
2853
2853
  return t.trimStart();
@@ -2855,9 +2855,9 @@ var vr = po ? (
2855
2855
  ) : (
2856
2856
  // Ponyfill
2857
2857
  function(t) {
2858
- return t.replace(ho, "");
2858
+ return t.replace(ds, "");
2859
2859
  }
2860
- ), Ao = yo ? (
2860
+ ), As = xs ? (
2861
2861
  // Native
2862
2862
  function(t) {
2863
2863
  return t.trimEnd();
@@ -2865,15 +2865,15 @@ var vr = po ? (
2865
2865
  ) : (
2866
2866
  // Ponyfill
2867
2867
  function(t) {
2868
- return t.replace(mo, "");
2868
+ return t.replace(ps, "");
2869
2869
  }
2870
2870
  );
2871
- function Si(e, t) {
2871
+ function wi(e, t) {
2872
2872
  return new RegExp(e, t);
2873
2873
  }
2874
2874
  var On;
2875
- if (An) {
2876
- var Sr = Si("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2875
+ if (wn) {
2876
+ var Sr = wi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2877
2877
  On = function(t, n) {
2878
2878
  var r;
2879
2879
  Sr.lastIndex = n;
@@ -2883,14 +2883,14 @@ if (An) {
2883
2883
  } else
2884
2884
  On = function(t, n) {
2885
2885
  for (var r = []; ; ) {
2886
- var i = Ti(t, n);
2887
- if (i === void 0 || Ai(i) || Co(i))
2886
+ var i = Si(t, n);
2887
+ if (i === void 0 || Ai(i) || Ls(i))
2888
2888
  break;
2889
2889
  r.push(i), n += i >= 65536 ? 2 : 1;
2890
2890
  }
2891
- return wn.apply(void 0, r);
2891
+ return An.apply(void 0, r);
2892
2892
  };
2893
- var wo = (
2893
+ var Os = (
2894
2894
  /** @class */
2895
2895
  function() {
2896
2896
  function e(t, n) {
@@ -2902,26 +2902,26 @@ var wo = (
2902
2902
  return this.parseMessage(0, "", !1);
2903
2903
  }, e.prototype.parseMessage = function(t, n, r) {
2904
2904
  for (var i = []; !this.isEOF(); ) {
2905
- var s = this.char();
2906
- if (s === 123) {
2905
+ var o = this.char();
2906
+ if (o === 123) {
2907
2907
  var a = this.parseArgument(t, r);
2908
2908
  if (a.err)
2909
2909
  return a;
2910
2910
  i.push(a.val);
2911
2911
  } else {
2912
- if (s === 125 && t > 0)
2912
+ if (o === 125 && t > 0)
2913
2913
  break;
2914
- if (s === 35 && (n === "plural" || n === "selectordinal")) {
2914
+ if (o === 35 && (n === "plural" || n === "selectordinal")) {
2915
2915
  var u = this.clonePosition();
2916
2916
  this.bump(), i.push({
2917
2917
  type: X.pound,
2918
2918
  location: B(u, this.clonePosition())
2919
2919
  });
2920
- } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2920
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2921
2921
  if (r)
2922
2922
  break;
2923
2923
  return this.error(D.UNMATCHED_CLOSING_TAG, B(this.clonePosition(), this.clonePosition()));
2924
- } else if (s === 60 && !this.ignoreTag && Mn(this.peek() || 0)) {
2924
+ } else if (o === 60 && !this.ignoreTag && Mn(this.peek() || 0)) {
2925
2925
  var a = this.parseTag(t, n);
2926
2926
  if (a.err)
2927
2927
  return a;
@@ -2949,10 +2949,10 @@ var wo = (
2949
2949
  err: null
2950
2950
  };
2951
2951
  if (this.bumpIf(">")) {
2952
- var s = this.parseMessage(t + 1, n, !0);
2953
- if (s.err)
2954
- return s;
2955
- var a = s.val, u = this.clonePosition();
2952
+ var o = this.parseMessage(t + 1, n, !0);
2953
+ if (o.err)
2954
+ return o;
2955
+ var a = o.val, u = this.clonePosition();
2956
2956
  if (this.bumpIf("</")) {
2957
2957
  if (this.isEOF() || !Mn(this.char()))
2958
2958
  return this.error(D.INVALID_TAG, B(u, this.clonePosition()));
@@ -2972,14 +2972,14 @@ var wo = (
2972
2972
  return this.error(D.INVALID_TAG, B(r, this.clonePosition()));
2973
2973
  }, e.prototype.parseTagName = function() {
2974
2974
  var t = this.offset();
2975
- for (this.bump(); !this.isEOF() && Mo(this.char()); )
2975
+ for (this.bump(); !this.isEOF() && Cs(this.char()); )
2976
2976
  this.bump();
2977
2977
  return this.message.slice(t, this.offset());
2978
2978
  }, e.prototype.parseLiteral = function(t, n) {
2979
2979
  for (var r = this.clonePosition(), i = ""; ; ) {
2980
- var s = this.tryParseQuote(n);
2981
- if (s) {
2982
- i += s;
2980
+ var o = this.tryParseQuote(n);
2981
+ if (o) {
2982
+ i += o;
2983
2983
  continue;
2984
2984
  }
2985
2985
  var a = this.tryParseUnquoted(t, n);
@@ -3001,7 +3001,7 @@ var wo = (
3001
3001
  };
3002
3002
  }, e.prototype.tryParseLeftAngleBracket = function() {
3003
3003
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3004
- !Oo(this.peek() || 0)) ? (this.bump(), "<") : null;
3004
+ !Ms(this.peek() || 0)) ? (this.bump(), "<") : null;
3005
3005
  }, e.prototype.tryParseQuote = function(t) {
3006
3006
  if (this.isEOF() || this.char() !== 39)
3007
3007
  return null;
@@ -3035,12 +3035,12 @@ var wo = (
3035
3035
  n.push(r);
3036
3036
  this.bump();
3037
3037
  }
3038
- return wn.apply(void 0, n);
3038
+ return An.apply(void 0, n);
3039
3039
  }, e.prototype.tryParseUnquoted = function(t, n) {
3040
3040
  if (this.isEOF())
3041
3041
  return null;
3042
3042
  var r = this.char();
3043
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), wn(r));
3043
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), An(r));
3044
3044
  }, e.prototype.parseArgument = function(t, n) {
3045
3045
  var r = this.clonePosition();
3046
3046
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3071,10 +3071,10 @@ var wo = (
3071
3071
  }, e.prototype.parseIdentifierIfPossible = function() {
3072
3072
  var t = this.clonePosition(), n = this.offset(), r = On(this.message, n), i = n + r.length;
3073
3073
  this.bumpTo(i);
3074
- var s = this.clonePosition(), a = B(t, s);
3074
+ var o = this.clonePosition(), a = B(t, o);
3075
3075
  return { value: r, location: a };
3076
3076
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3077
- var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, c = this.clonePosition();
3077
+ var o, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, c = this.clonePosition();
3078
3078
  switch (u) {
3079
3079
  case "":
3080
3080
  return this.error(D.EXPECT_ARGUMENT_TYPE, B(a, c));
@@ -3088,7 +3088,7 @@ var wo = (
3088
3088
  var f = this.clonePosition(), _ = this.parseSimpleArgStyleIfPossible();
3089
3089
  if (_.err)
3090
3090
  return _;
3091
- var y = Ao(_.val);
3091
+ var y = As(_.val);
3092
3092
  if (y.length === 0)
3093
3093
  return this.error(D.EXPECT_ARGUMENT_STYLE, B(this.clonePosition(), this.clonePosition()));
3094
3094
  var M = B(f, this.clonePosition());
@@ -3099,7 +3099,7 @@ var wo = (
3099
3099
  return b;
3100
3100
  var d = B(i, this.clonePosition());
3101
3101
  if (l && vr(l == null ? void 0 : l.style, "::", 0)) {
3102
- var C = So(l.style.slice(2));
3102
+ var C = ws(l.style.slice(2));
3103
3103
  if (u === "number") {
3104
3104
  var _ = this.parseNumberSkeletonFromString(C, l.styleLocation);
3105
3105
  return _.err ? _ : {
@@ -3110,12 +3110,12 @@ var wo = (
3110
3110
  if (C.length === 0)
3111
3111
  return this.error(D.EXPECT_DATE_TIME_SKELETON, d);
3112
3112
  var F = C;
3113
- this.locale && (F = co(C, this.locale));
3113
+ this.locale && (F = hs(C, this.locale));
3114
3114
  var y = {
3115
3115
  type: Je.dateTime,
3116
3116
  pattern: F,
3117
3117
  location: l.styleLocation,
3118
- parsedOptions: this.shouldParseSkeletons ? ro(F) : {}
3118
+ parsedOptions: this.shouldParseSkeletons ? os(F) : {}
3119
3119
  }, $ = u === "date" ? X.date : X.time;
3120
3120
  return {
3121
3121
  val: { type: $, value: r, location: d, style: y },
@@ -3128,7 +3128,7 @@ var wo = (
3128
3128
  type: u === "number" ? X.number : u === "date" ? X.date : X.time,
3129
3129
  value: r,
3130
3130
  location: d,
3131
- style: (s = l == null ? void 0 : l.style) !== null && s !== void 0 ? s : null
3131
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3132
3132
  },
3133
3133
  err: null
3134
3134
  };
@@ -3136,9 +3136,9 @@ var wo = (
3136
3136
  case "plural":
3137
3137
  case "selectordinal":
3138
3138
  case "select": {
3139
- var A = this.clonePosition();
3139
+ var w = this.clonePosition();
3140
3140
  if (this.bumpSpace(), !this.bumpIf(","))
3141
- return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(A, Wt({}, A)));
3141
+ return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS, B(w, Wt({}, w)));
3142
3142
  this.bumpSpace();
3143
3143
  var H = this.parseIdentifierIfPossible(), R = 0;
3144
3144
  if (u !== "select" && H.value === "offset") {
@@ -3220,7 +3220,7 @@ var wo = (
3220
3220
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3221
3221
  var r = [];
3222
3222
  try {
3223
- r = so(t);
3223
+ r = as(t);
3224
3224
  } catch (i) {
3225
3225
  return this.error(D.INVALID_NUMBER_SKELETON, n);
3226
3226
  }
@@ -3229,12 +3229,12 @@ var wo = (
3229
3229
  type: Je.number,
3230
3230
  tokens: r,
3231
3231
  location: n,
3232
- parsedOptions: this.shouldParseSkeletons ? lo(r) : {}
3232
+ parsedOptions: this.shouldParseSkeletons ? fs(r) : {}
3233
3233
  },
3234
3234
  err: null
3235
3235
  };
3236
3236
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3237
- for (var s, a = !1, u = [], c = /* @__PURE__ */ new Set(), l = i.value, f = i.location; ; ) {
3237
+ for (var o, a = !1, u = [], c = /* @__PURE__ */ new Set(), l = i.value, f = i.location; ; ) {
3238
3238
  if (l.length === 0) {
3239
3239
  var _ = this.clonePosition();
3240
3240
  if (n !== "select" && this.bumpIf("=")) {
@@ -3263,21 +3263,21 @@ var wo = (
3263
3263
  value: b.val,
3264
3264
  location: B(M, this.clonePosition())
3265
3265
  }
3266
- ]), c.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, f = s.location;
3266
+ ]), c.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
3267
3267
  }
3268
3268
  return u.length === 0 ? this.error(n === "select" ? D.EXPECT_SELECT_ARGUMENT_SELECTOR : D.EXPECT_PLURAL_ARGUMENT_SELECTOR, B(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(D.MISSING_OTHER_CLAUSE, B(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3269
3269
  }, e.prototype.tryParseDecimalInteger = function(t, n) {
3270
3270
  var r = 1, i = this.clonePosition();
3271
3271
  this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3272
- for (var s = !1, a = 0; !this.isEOF(); ) {
3272
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3273
3273
  var u = this.char();
3274
3274
  if (u >= 48 && u <= 57)
3275
- s = !0, a = a * 10 + (u - 48), this.bump();
3275
+ o = !0, a = a * 10 + (u - 48), this.bump();
3276
3276
  else
3277
3277
  break;
3278
3278
  }
3279
3279
  var c = B(i, this.clonePosition());
3280
- return s ? (a *= r, vo(a) ? { val: a, err: null } : this.error(n, c)) : this.error(t, c);
3280
+ return o ? (a *= r, Ts(a) ? { val: a, err: null } : this.error(n, c)) : this.error(t, c);
3281
3281
  }, e.prototype.offset = function() {
3282
3282
  return this.position.offset;
3283
3283
  }, e.prototype.isEOF = function() {
@@ -3292,7 +3292,7 @@ var wo = (
3292
3292
  var t = this.position.offset;
3293
3293
  if (t >= this.message.length)
3294
3294
  throw Error("out of bound");
3295
- var n = Ti(this.message, t);
3295
+ var n = Si(this.message, t);
3296
3296
  if (n === void 0)
3297
3297
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3298
3298
  return n;
@@ -3346,30 +3346,30 @@ var wo = (
3346
3346
  function Mn(e) {
3347
3347
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3348
3348
  }
3349
- function Oo(e) {
3349
+ function Ms(e) {
3350
3350
  return Mn(e) || e === 47;
3351
3351
  }
3352
- function Mo(e) {
3352
+ function Cs(e) {
3353
3353
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3354
3354
  }
3355
3355
  function Ai(e) {
3356
3356
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3357
3357
  }
3358
- function Co(e) {
3358
+ function Ls(e) {
3359
3359
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3360
3360
  }
3361
3361
  function Cn(e) {
3362
3362
  e.forEach(function(t) {
3363
- if (delete t.location, pi(t) || gi(t))
3363
+ if (delete t.location, gi(t) || _i(t))
3364
3364
  for (var n in t.options)
3365
3365
  delete t.options[n].location, Cn(t.options[n].value);
3366
3366
  else
3367
- hi(t) && bi(t.style) || (mi(t) || di(t)) && Sn(t.style) ? delete t.style.location : _i(t) && Cn(t.children);
3367
+ mi(t) && Ei(t.style) || (di(t) || pi(t)) && Sn(t.style) ? delete t.style.location : bi(t) && Cn(t.children);
3368
3368
  });
3369
3369
  }
3370
- function Lo(e, t) {
3370
+ function Ns(e, t) {
3371
3371
  t === void 0 && (t = {}), t = Wt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3372
- var n = new wo(e, t).parse();
3372
+ var n = new Os(e, t).parse();
3373
3373
  if (n.err) {
3374
3374
  var r = SyntaxError(D[n.err.kind]);
3375
3375
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
@@ -3385,23 +3385,23 @@ var Qt = (
3385
3385
  function(e) {
3386
3386
  Jt(t, e);
3387
3387
  function t(n, r, i) {
3388
- var s = e.call(this, n) || this;
3389
- return s.code = r, s.originalMessage = i, s;
3388
+ var o = e.call(this, n) || this;
3389
+ return o.code = r, o.originalMessage = i, o;
3390
3390
  }
3391
3391
  return t.prototype.toString = function() {
3392
3392
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3393
3393
  }, t;
3394
3394
  }(Error)
3395
- ), Ar = (
3395
+ ), wr = (
3396
3396
  /** @class */
3397
3397
  function(e) {
3398
3398
  Jt(t, e);
3399
- function t(n, r, i, s) {
3400
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Qe.INVALID_VALUE, s) || this;
3399
+ function t(n, r, i, o) {
3400
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Qe.INVALID_VALUE, o) || this;
3401
3401
  }
3402
3402
  return t;
3403
3403
  }(Qt)
3404
- ), No = (
3404
+ ), Hs = (
3405
3405
  /** @class */
3406
3406
  function(e) {
3407
3407
  Jt(t, e);
@@ -3410,7 +3410,7 @@ var Qt = (
3410
3410
  }
3411
3411
  return t;
3412
3412
  }(Qt)
3413
- ), Ho = (
3413
+ ), Is = (
3414
3414
  /** @class */
3415
3415
  function(e) {
3416
3416
  Jt(t, e);
@@ -3423,16 +3423,16 @@ var Qt = (
3423
3423
  (function(e) {
3424
3424
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3425
3425
  })(ce || (ce = {}));
3426
- function Io(e) {
3426
+ function Ps(e) {
3427
3427
  return e.length < 2 ? e : e.reduce(function(t, n) {
3428
3428
  var r = t[t.length - 1];
3429
3429
  return !r || r.type !== ce.literal || n.type !== ce.literal ? t.push(n) : r.value += n.value, t;
3430
3430
  }, []);
3431
3431
  }
3432
- function Po(e) {
3432
+ function Rs(e) {
3433
3433
  return typeof e == "function";
3434
3434
  }
3435
- function $t(e, t, n, r, i, s, a) {
3435
+ function $t(e, t, n, r, i, o, a) {
3436
3436
  if (e.length === 1 && br(e[0]))
3437
3437
  return [
3438
3438
  {
@@ -3449,25 +3449,25 @@ function $t(e, t, n, r, i, s, a) {
3449
3449
  });
3450
3450
  continue;
3451
3451
  }
3452
- if (to(f)) {
3453
- typeof s == "number" && u.push({
3452
+ if (rs(f)) {
3453
+ typeof o == "number" && u.push({
3454
3454
  type: ce.literal,
3455
- value: n.getNumberFormat(t).format(s)
3455
+ value: n.getNumberFormat(t).format(o)
3456
3456
  });
3457
3457
  continue;
3458
3458
  }
3459
3459
  var _ = f.value;
3460
3460
  if (!(i && _ in i))
3461
- throw new Ho(_, a);
3461
+ throw new Is(_, a);
3462
3462
  var y = i[_];
3463
- if (eo(f)) {
3463
+ if (ns(f)) {
3464
3464
  (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), u.push({
3465
3465
  type: typeof y == "string" ? ce.literal : ce.object,
3466
3466
  value: y
3467
3467
  });
3468
3468
  continue;
3469
3469
  }
3470
- if (mi(f)) {
3470
+ if (di(f)) {
3471
3471
  var M = typeof f.style == "string" ? r.date[f.style] : Sn(f.style) ? f.style.parsedOptions : void 0;
3472
3472
  u.push({
3473
3473
  type: ce.literal,
@@ -3475,7 +3475,7 @@ function $t(e, t, n, r, i, s, a) {
3475
3475
  });
3476
3476
  continue;
3477
3477
  }
3478
- if (di(f)) {
3478
+ if (pi(f)) {
3479
3479
  var M = typeof f.style == "string" ? r.time[f.style] : Sn(f.style) ? f.style.parsedOptions : r.time.medium;
3480
3480
  u.push({
3481
3481
  type: ce.literal,
@@ -3483,19 +3483,19 @@ function $t(e, t, n, r, i, s, a) {
3483
3483
  });
3484
3484
  continue;
3485
3485
  }
3486
- if (hi(f)) {
3487
- var M = typeof f.style == "string" ? r.number[f.style] : bi(f.style) ? f.style.parsedOptions : void 0;
3486
+ if (mi(f)) {
3487
+ var M = typeof f.style == "string" ? r.number[f.style] : Ei(f.style) ? f.style.parsedOptions : void 0;
3488
3488
  M && M.scale && (y = y * (M.scale || 1)), u.push({
3489
3489
  type: ce.literal,
3490
3490
  value: n.getNumberFormat(t, M).format(y)
3491
3491
  });
3492
3492
  continue;
3493
3493
  }
3494
- if (_i(f)) {
3494
+ if (bi(f)) {
3495
3495
  var b = f.children, d = f.value, C = i[d];
3496
- if (!Po(C))
3497
- throw new No(d, "function", a);
3498
- var F = $t(b, t, n, r, i, s), $ = C(F.map(function(R) {
3496
+ if (!Rs(C))
3497
+ throw new Hs(d, "function", a);
3498
+ var F = $t(b, t, n, r, i, o), $ = C(F.map(function(R) {
3499
3499
  return R.value;
3500
3500
  }));
3501
3501
  Array.isArray($) || ($ = [$]), u.push.apply(u, $.map(function(R) {
@@ -3505,40 +3505,40 @@ function $t(e, t, n, r, i, s, a) {
3505
3505
  };
3506
3506
  }));
3507
3507
  }
3508
- if (pi(f)) {
3509
- var A = f.options[y] || f.options.other;
3510
- if (!A)
3511
- throw new Ar(f.value, y, Object.keys(f.options), a);
3512
- u.push.apply(u, $t(A.value, t, n, r, i));
3508
+ if (gi(f)) {
3509
+ var w = f.options[y] || f.options.other;
3510
+ if (!w)
3511
+ throw new wr(f.value, y, Object.keys(f.options), a);
3512
+ u.push.apply(u, $t(w.value, t, n, r, i));
3513
3513
  continue;
3514
3514
  }
3515
- if (gi(f)) {
3516
- var A = f.options["=".concat(y)];
3517
- if (!A) {
3515
+ if (_i(f)) {
3516
+ var w = f.options["=".concat(y)];
3517
+ if (!w) {
3518
3518
  if (!Intl.PluralRules)
3519
3519
  throw new Qt(`Intl.PluralRules is not available in this environment.
3520
3520
  Try polyfilling it using "@formatjs/intl-pluralrules"
3521
3521
  `, Qe.MISSING_INTL_API, a);
3522
3522
  var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
3523
- A = f.options[H] || f.options.other;
3523
+ w = f.options[H] || f.options.other;
3524
3524
  }
3525
- if (!A)
3526
- throw new Ar(f.value, y, Object.keys(f.options), a);
3527
- u.push.apply(u, $t(A.value, t, n, r, i, y - (f.offset || 0)));
3525
+ if (!w)
3526
+ throw new wr(f.value, y, Object.keys(f.options), a);
3527
+ u.push.apply(u, $t(w.value, t, n, r, i, y - (f.offset || 0)));
3528
3528
  continue;
3529
3529
  }
3530
3530
  }
3531
- return Io(u);
3531
+ return Ps(u);
3532
3532
  }
3533
- function Ro(e, t) {
3534
- return t ? we(we(we({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3535
- return n[r] = we(we({}, e[r]), t[r] || {}), n;
3533
+ function Ds(e, t) {
3534
+ return t ? Ae(Ae(Ae({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3535
+ return n[r] = Ae(Ae({}, e[r]), t[r] || {}), n;
3536
3536
  }, {})) : e;
3537
3537
  }
3538
- function Do(e, t) {
3538
+ function Bs(e, t) {
3539
3539
  return t ? Object.keys(e).reduce(function(n, r) {
3540
- return n[r] = Ro(e[r], t[r]), n;
3541
- }, we({}, e)) : e;
3540
+ return n[r] = Ds(e[r], t[r]), n;
3541
+ }, Ae({}, e)) : e;
3542
3542
  }
3543
3543
  function pn(e) {
3544
3544
  return {
@@ -3554,7 +3554,7 @@ function pn(e) {
3554
3554
  }
3555
3555
  };
3556
3556
  }
3557
- function Bo(e) {
3557
+ function $s(e) {
3558
3558
  return e === void 0 && (e = {
3559
3559
  number: {},
3560
3560
  dateTime: {},
@@ -3586,18 +3586,18 @@ function Bo(e) {
3586
3586
  })
3587
3587
  };
3588
3588
  }
3589
- var wi = (
3589
+ var Oi = (
3590
3590
  /** @class */
3591
3591
  function() {
3592
3592
  function e(t, n, r, i) {
3593
3593
  n === void 0 && (n = e.defaultLocale);
3594
- var s = this;
3594
+ var o = this;
3595
3595
  if (this.formatterCache = {
3596
3596
  number: {},
3597
3597
  dateTime: {},
3598
3598
  pluralRules: {}
3599
3599
  }, this.format = function(c) {
3600
- var l = s.formatToParts(c);
3600
+ var l = o.formatToParts(c);
3601
3601
  if (l.length === 1)
3602
3602
  return l[0].value;
3603
3603
  var f = l.reduce(function(_, y) {
@@ -3605,26 +3605,26 @@ var wi = (
3605
3605
  }, []);
3606
3606
  return f.length <= 1 ? f[0] || "" : f;
3607
3607
  }, this.formatToParts = function(c) {
3608
- return $t(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
3608
+ return $t(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3609
3609
  }, this.resolvedOptions = function() {
3610
3610
  var c;
3611
3611
  return {
3612
- locale: ((c = s.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3612
+ locale: ((c = o.resolvedLocale) === null || c === void 0 ? void 0 : c.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3613
3613
  };
3614
3614
  }, this.getAst = function() {
3615
- return s.ast;
3615
+ return o.ast;
3616
3616
  }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
3617
3617
  if (this.message = t, !e.__parse)
3618
3618
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3619
3619
  var a = i || {};
3620
3620
  a.formatters;
3621
- var u = Vs(a, ["formatters"]);
3622
- this.ast = e.__parse(t, we(we({}, u), { locale: this.resolvedLocale }));
3621
+ var u = Yo(a, ["formatters"]);
3622
+ this.ast = e.__parse(t, Ae(Ae({}, u), { locale: this.resolvedLocale }));
3623
3623
  } else
3624
3624
  this.ast = t;
3625
3625
  if (!Array.isArray(this.ast))
3626
3626
  throw new TypeError("A message must be provided as a String or AST.");
3627
- this.formats = Do(e.formats, r), this.formatters = i && i.formatters || Bo(this.formatterCache);
3627
+ this.formats = Bs(e.formats, r), this.formatters = i && i.formatters || $s(this.formatterCache);
3628
3628
  }
3629
3629
  return Object.defineProperty(e, "defaultLocale", {
3630
3630
  get: function() {
@@ -3637,7 +3637,7 @@ var wi = (
3637
3637
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3638
3638
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3639
3639
  }
3640
- }, e.__parse = Lo, e.formats = {
3640
+ }, e.__parse = Ns, e.formats = {
3641
3641
  number: {
3642
3642
  integer: {
3643
3643
  maximumFractionDigits: 0
@@ -3698,7 +3698,7 @@ var wi = (
3698
3698
  }, e;
3699
3699
  }()
3700
3700
  );
3701
- function $o(e, t) {
3701
+ function Us(e, t) {
3702
3702
  if (t == null)
3703
3703
  return;
3704
3704
  if (t in e)
@@ -3708,9 +3708,9 @@ function $o(e, t) {
3708
3708
  for (let i = 0; i < n.length; i++)
3709
3709
  if (typeof r == "object") {
3710
3710
  if (i > 0) {
3711
- const s = n.slice(i, n.length).join(".");
3712
- if (s in r) {
3713
- r = r[s];
3711
+ const o = n.slice(i, n.length).join(".");
3712
+ if (o in r) {
3713
+ r = r[o];
3714
3714
  break;
3715
3715
  }
3716
3716
  }
@@ -3719,44 +3719,44 @@ function $o(e, t) {
3719
3719
  r = void 0;
3720
3720
  return r;
3721
3721
  }
3722
- const Ie = {}, Uo = (e, t, n) => n && (t in Ie || (Ie[t] = {}), e in Ie[t] || (Ie[t][e] = n), n), Oi = (e, t) => {
3722
+ const Ie = {}, ks = (e, t, n) => n && (t in Ie || (Ie[t] = {}), e in Ie[t] || (Ie[t][e] = n), n), Mi = (e, t) => {
3723
3723
  if (t == null)
3724
3724
  return;
3725
3725
  if (t in Ie && e in Ie[t])
3726
3726
  return Ie[t][e];
3727
3727
  const n = xt(t);
3728
3728
  for (let r = 0; r < n.length; r++) {
3729
- const i = n[r], s = Fo(i, e);
3730
- if (s)
3731
- return Uo(e, t, s);
3729
+ const i = n[r], o = Gs(i, e);
3730
+ if (o)
3731
+ return ks(e, t, o);
3732
3732
  }
3733
3733
  };
3734
3734
  let Dn;
3735
3735
  const yt = Et({});
3736
- function ko(e) {
3736
+ function Fs(e) {
3737
3737
  return Dn[e] || null;
3738
3738
  }
3739
- function Mi(e) {
3739
+ function Ci(e) {
3740
3740
  return e in Dn;
3741
3741
  }
3742
- function Fo(e, t) {
3743
- if (!Mi(e))
3742
+ function Gs(e, t) {
3743
+ if (!Ci(e))
3744
3744
  return null;
3745
- const n = ko(e);
3746
- return $o(n, t);
3745
+ const n = Fs(e);
3746
+ return Us(n, t);
3747
3747
  }
3748
- function Go(e) {
3748
+ function js(e) {
3749
3749
  if (e == null)
3750
3750
  return;
3751
3751
  const t = xt(e);
3752
3752
  for (let n = 0; n < t.length; n++) {
3753
3753
  const r = t[n];
3754
- if (Mi(r))
3754
+ if (Ci(r))
3755
3755
  return r;
3756
3756
  }
3757
3757
  }
3758
- function Ci(e, ...t) {
3759
- delete Ie[e], yt.update((n) => (n[e] = Ws.all([n[e] || {}, ...t]), n));
3758
+ function Li(e, ...t) {
3759
+ delete Ie[e], yt.update((n) => (n[e] = Xo.all([n[e] || {}, ...t]), n));
3760
3760
  }
3761
3761
  tt(
3762
3762
  [yt],
@@ -3764,15 +3764,15 @@ tt(
3764
3764
  );
3765
3765
  yt.subscribe((e) => Dn = e);
3766
3766
  const Ut = {};
3767
- function jo(e, t) {
3767
+ function zs(e, t) {
3768
3768
  Ut[e].delete(t), Ut[e].size === 0 && delete Ut[e];
3769
3769
  }
3770
- function Li(e) {
3770
+ function Ni(e) {
3771
3771
  return Ut[e];
3772
3772
  }
3773
- function zo(e) {
3773
+ function Ws(e) {
3774
3774
  return xt(e).map((t) => {
3775
- const n = Li(t);
3775
+ const n = Ni(t);
3776
3776
  return [t, n ? [...n] : []];
3777
3777
  }).filter(([, t]) => t.length > 0);
3778
3778
  }
@@ -3780,40 +3780,40 @@ function Vt(e) {
3780
3780
  return e == null ? !1 : xt(e).some(
3781
3781
  (t) => {
3782
3782
  var n;
3783
- return (n = Li(t)) == null ? void 0 : n.size;
3783
+ return (n = Ni(t)) == null ? void 0 : n.size;
3784
3784
  }
3785
3785
  );
3786
3786
  }
3787
- function Wo(e, t) {
3787
+ function Vs(e, t) {
3788
3788
  return Promise.all(
3789
- t.map((r) => (jo(e, r), r().then((i) => i.default || i)))
3790
- ).then((r) => Ci(e, ...r));
3789
+ t.map((r) => (zs(e, r), r().then((i) => i.default || i)))
3790
+ ).then((r) => Li(e, ...r));
3791
3791
  }
3792
3792
  const at = {};
3793
- function Ni(e) {
3793
+ function Hi(e) {
3794
3794
  if (!Vt(e))
3795
3795
  return e in at ? at[e] : Promise.resolve();
3796
- const t = zo(e);
3796
+ const t = Ws(e);
3797
3797
  return at[e] = Promise.all(
3798
3798
  t.map(
3799
- ([n, r]) => Wo(n, r)
3799
+ ([n, r]) => Vs(n, r)
3800
3800
  )
3801
3801
  ).then(() => {
3802
3802
  if (Vt(e))
3803
- return Ni(e);
3803
+ return Hi(e);
3804
3804
  delete at[e];
3805
3805
  }), at[e];
3806
3806
  }
3807
- var wr = Object.getOwnPropertySymbols, Vo = Object.prototype.hasOwnProperty, Xo = Object.prototype.propertyIsEnumerable, Yo = (e, t) => {
3807
+ var Ar = Object.getOwnPropertySymbols, Xs = Object.prototype.hasOwnProperty, Ys = Object.prototype.propertyIsEnumerable, Zs = (e, t) => {
3808
3808
  var n = {};
3809
3809
  for (var r in e)
3810
- Vo.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3811
- if (e != null && wr)
3812
- for (var r of wr(e))
3813
- t.indexOf(r) < 0 && Xo.call(e, r) && (n[r] = e[r]);
3810
+ Xs.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3811
+ if (e != null && Ar)
3812
+ for (var r of Ar(e))
3813
+ t.indexOf(r) < 0 && Ys.call(e, r) && (n[r] = e[r]);
3814
3814
  return n;
3815
3815
  };
3816
- const Zo = {
3816
+ const qs = {
3817
3817
  number: {
3818
3818
  scientific: { notation: "scientific" },
3819
3819
  engineering: { notation: "engineering" },
@@ -3843,7 +3843,7 @@ const Zo = {
3843
3843
  }
3844
3844
  }
3845
3845
  };
3846
- function qo({ locale: e, id: t }) {
3846
+ function Js({ locale: e, id: t }) {
3847
3847
  console.warn(
3848
3848
  `[svelte-i18n] The message "${t}" was not found in "${xt(
3849
3849
  e
@@ -3852,41 +3852,41 @@ function qo({ locale: e, id: t }) {
3852
3852
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3853
3853
  );
3854
3854
  }
3855
- const Jo = {
3855
+ const Qs = {
3856
3856
  fallbackLocale: null,
3857
3857
  loadingDelay: 200,
3858
- formats: Zo,
3858
+ formats: qs,
3859
3859
  warnOnMissingMessages: !0,
3860
3860
  handleMissingMessage: void 0,
3861
3861
  ignoreTag: !0
3862
- }, dt = Jo;
3862
+ }, dt = Qs;
3863
3863
  function Ke() {
3864
3864
  return dt;
3865
3865
  }
3866
- function Qo(e) {
3867
- const t = e, { formats: n } = t, r = Yo(t, ["formats"]);
3866
+ function Ks(e) {
3867
+ const t = e, { formats: n } = t, r = Zs(t, ["formats"]);
3868
3868
  let i = e.fallbackLocale;
3869
3869
  if (e.initialLocale)
3870
3870
  try {
3871
- wi.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3872
- } catch (s) {
3871
+ Oi.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3872
+ } catch (o) {
3873
3873
  console.warn(
3874
3874
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3875
3875
  );
3876
3876
  }
3877
- return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = qo : console.warn(
3877
+ return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = Js : console.warn(
3878
3878
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3879
3879
  )), Object.assign(dt, r, { initialLocale: i }), n && ("number" in n && Object.assign(dt.formats.number, n.number), "date" in n && Object.assign(dt.formats.date, n.date), "time" in n && Object.assign(dt.formats.time, n.time)), $e.set(i);
3880
3880
  }
3881
3881
  const gn = Et(!1);
3882
- var Ko = Object.defineProperty, ea = Object.defineProperties, ta = Object.getOwnPropertyDescriptors, Or = Object.getOwnPropertySymbols, na = Object.prototype.hasOwnProperty, ra = Object.prototype.propertyIsEnumerable, Mr = (e, t, n) => t in e ? Ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ia = (e, t) => {
3882
+ var ea = Object.defineProperty, ta = Object.defineProperties, na = Object.getOwnPropertyDescriptors, Or = Object.getOwnPropertySymbols, ra = Object.prototype.hasOwnProperty, ia = Object.prototype.propertyIsEnumerable, Mr = (e, t, n) => t in e ? ea(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, oa = (e, t) => {
3883
3883
  for (var n in t || (t = {}))
3884
- na.call(t, n) && Mr(e, n, t[n]);
3884
+ ra.call(t, n) && Mr(e, n, t[n]);
3885
3885
  if (Or)
3886
3886
  for (var n of Or(t))
3887
- ra.call(t, n) && Mr(e, n, t[n]);
3887
+ ia.call(t, n) && Mr(e, n, t[n]);
3888
3888
  return e;
3889
- }, sa = (e, t) => ea(e, ta(t));
3889
+ }, sa = (e, t) => ta(e, na(t));
3890
3890
  let Ln;
3891
3891
  const Xt = Et(null);
3892
3892
  function Cr(e) {
@@ -3902,22 +3902,22 @@ function Re() {
3902
3902
  Xt.subscribe((e) => {
3903
3903
  Ln = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3904
3904
  });
3905
- const oa = (e) => {
3906
- if (e && Go(e) && Vt(e)) {
3905
+ const aa = (e) => {
3906
+ if (e && js(e) && Vt(e)) {
3907
3907
  const { loadingDelay: t } = Ke();
3908
3908
  let n;
3909
3909
  return typeof window != "undefined" && Re() != null && t ? n = window.setTimeout(
3910
3910
  () => gn.set(!0),
3911
3911
  t
3912
- ) : gn.set(!0), Ni(e).then(() => {
3912
+ ) : gn.set(!0), Hi(e).then(() => {
3913
3913
  Xt.set(e);
3914
3914
  }).finally(() => {
3915
3915
  clearTimeout(n), gn.set(!1);
3916
3916
  });
3917
3917
  }
3918
3918
  return Xt.set(e);
3919
- }, $e = sa(ia({}, Xt), {
3920
- set: oa
3919
+ }, $e = sa(oa({}, Xt), {
3920
+ set: aa
3921
3921
  }), Kt = (e) => {
3922
3922
  const t = /* @__PURE__ */ Object.create(null);
3923
3923
  return (r) => {
@@ -3925,20 +3925,20 @@ const oa = (e) => {
3925
3925
  return i in t ? t[i] : t[i] = e(r);
3926
3926
  };
3927
3927
  };
3928
- var aa = Object.defineProperty, Yt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Lr = (e, t, n) => t in e ? aa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bn = (e, t) => {
3928
+ var ua = Object.defineProperty, Yt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Lr = (e, t, n) => t in e ? ua(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Bn = (e, t) => {
3929
3929
  for (var n in t || (t = {}))
3930
- Hi.call(t, n) && Lr(e, n, t[n]);
3930
+ Ii.call(t, n) && Lr(e, n, t[n]);
3931
3931
  if (Yt)
3932
3932
  for (var n of Yt(t))
3933
- Ii.call(t, n) && Lr(e, n, t[n]);
3933
+ Pi.call(t, n) && Lr(e, n, t[n]);
3934
3934
  return e;
3935
3935
  }, nt = (e, t) => {
3936
3936
  var n = {};
3937
3937
  for (var r in e)
3938
- Hi.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3938
+ Ii.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3939
3939
  if (e != null && Yt)
3940
3940
  for (var r of Yt(e))
3941
- t.indexOf(r) < 0 && Ii.call(e, r) && (n[r] = e[r]);
3941
+ t.indexOf(r) < 0 && Pi.call(e, r) && (n[r] = e[r]);
3942
3942
  return n;
3943
3943
  };
3944
3944
  const bt = (e, t) => {
@@ -3946,21 +3946,21 @@ const bt = (e, t) => {
3946
3946
  if (e in n && t in n[e])
3947
3947
  return n[e][t];
3948
3948
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3949
- }, ua = Kt(
3949
+ }, la = Kt(
3950
3950
  (e) => {
3951
3951
  var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3952
3952
  if (n == null)
3953
3953
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3954
3954
  return r && (i = bt("number", r)), new Intl.NumberFormat(n, i);
3955
3955
  }
3956
- ), la = Kt(
3956
+ ), ca = Kt(
3957
3957
  (e) => {
3958
3958
  var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3959
3959
  if (n == null)
3960
3960
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3961
3961
  return r ? i = bt("date", r) : Object.keys(i).length === 0 && (i = bt("date", "short")), new Intl.DateTimeFormat(n, i);
3962
3962
  }
3963
- ), ca = Kt(
3963
+ ), fa = Kt(
3964
3964
  (e) => {
3965
3965
  var t = e, { locale: n, format: r } = t, i = nt(t, ["locale", "format"]);
3966
3966
  if (n == null)
@@ -3969,34 +3969,34 @@ const bt = (e, t) => {
3969
3969
  );
3970
3970
  return r ? i = bt("time", r) : Object.keys(i).length === 0 && (i = bt("time", "short")), new Intl.DateTimeFormat(n, i);
3971
3971
  }
3972
- ), fa = (e = {}) => {
3972
+ ), ha = (e = {}) => {
3973
3973
  var t = e, {
3974
3974
  locale: n = Re()
3975
3975
  } = t, r = nt(t, [
3976
3976
  "locale"
3977
3977
  ]);
3978
- return ua(Bn({ locale: n }, r));
3979
- }, ha = (e = {}) => {
3978
+ return la(Bn({ locale: n }, r));
3979
+ }, ma = (e = {}) => {
3980
3980
  var t = e, {
3981
3981
  locale: n = Re()
3982
3982
  } = t, r = nt(t, [
3983
3983
  "locale"
3984
3984
  ]);
3985
- return la(Bn({ locale: n }, r));
3986
- }, ma = (e = {}) => {
3985
+ return ca(Bn({ locale: n }, r));
3986
+ }, da = (e = {}) => {
3987
3987
  var t = e, {
3988
3988
  locale: n = Re()
3989
3989
  } = t, r = nt(t, [
3990
3990
  "locale"
3991
3991
  ]);
3992
- return ca(Bn({ locale: n }, r));
3993
- }, da = Kt(
3992
+ return fa(Bn({ locale: n }, r));
3993
+ }, pa = Kt(
3994
3994
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3995
- (e, t = Re()) => new wi(e, t, Ke().formats, {
3995
+ (e, t = Re()) => new Oi(e, t, Ke().formats, {
3996
3996
  ignoreTag: Ke().ignoreTag
3997
3997
  })
3998
- ), pa = (e, t = {}) => {
3999
- var n, r, i, s;
3998
+ ), ga = (e, t = {}) => {
3999
+ var n, r, i, o;
4000
4000
  let a = t;
4001
4001
  typeof e == "object" && (a = e, e = a.id);
4002
4002
  const {
@@ -4008,9 +4008,9 @@ const bt = (e, t) => {
4008
4008
  throw new Error(
4009
4009
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4010
4010
  );
4011
- let f = Oi(e, c);
4011
+ let f = Mi(e, c);
4012
4012
  if (!f)
4013
- f = (s = (i = (r = (n = Ke()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? s : e;
4013
+ f = (o = (i = (r = (n = Ke()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4014
4014
  else if (typeof f != "string")
4015
4015
  return console.warn(
4016
4016
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4019,7 +4019,7 @@ const bt = (e, t) => {
4019
4019
  return f;
4020
4020
  let _ = f;
4021
4021
  try {
4022
- _ = da(f, c).format(u);
4022
+ _ = pa(f, c).format(u);
4023
4023
  } catch (y) {
4024
4024
  y instanceof Error && console.warn(
4025
4025
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4027,16 +4027,16 @@ const bt = (e, t) => {
4027
4027
  );
4028
4028
  }
4029
4029
  return _;
4030
- }, ga = (e, t) => ma(t).format(e), _a = (e, t) => ha(t).format(e), ba = (e, t) => fa(t).format(e), Ea = (e, t = Re()) => Oi(e, t), ya = tt([$e, yt], () => pa);
4031
- tt([$e], () => ga);
4030
+ }, _a = (e, t) => da(t).format(e), ba = (e, t) => ma(t).format(e), Ea = (e, t) => ha(t).format(e), ya = (e, t = Re()) => Mi(e, t), xa = tt([$e, yt], () => ga);
4032
4031
  tt([$e], () => _a);
4033
4032
  tt([$e], () => ba);
4034
- tt([$e, yt], () => Ea);
4033
+ tt([$e], () => Ea);
4034
+ tt([$e, yt], () => ya);
4035
4035
  function Nr(e, t) {
4036
- Ci(e, t);
4036
+ Li(e, t);
4037
4037
  }
4038
- function xa(e) {
4039
- Qo({
4038
+ function va(e) {
4039
+ Ks({
4040
4040
  fallbackLocale: "en"
4041
4041
  }), $e.set(e);
4042
4042
  }
@@ -4065,16 +4065,16 @@ const Hr = {
4065
4065
  };
4066
4066
  /*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
4067
4067
  const {
4068
- entries: Pi,
4068
+ entries: Ri,
4069
4069
  setPrototypeOf: Ir,
4070
- isFrozen: va,
4071
- getPrototypeOf: Ta,
4072
- getOwnPropertyDescriptor: Sa
4070
+ isFrozen: Ta,
4071
+ getPrototypeOf: Sa,
4072
+ getOwnPropertyDescriptor: wa
4073
4073
  } = Object;
4074
4074
  let {
4075
4075
  freeze: fe,
4076
- seal: Ee,
4077
- create: Ri
4076
+ seal: be,
4077
+ create: Di
4078
4078
  } = Object, {
4079
4079
  apply: Nn,
4080
4080
  construct: Hn
@@ -4082,7 +4082,7 @@ let {
4082
4082
  fe || (fe = function(t) {
4083
4083
  return t;
4084
4084
  });
4085
- Ee || (Ee = function(t) {
4085
+ be || (be = function(t) {
4086
4086
  return t;
4087
4087
  });
4088
4088
  Nn || (Nn = function(t, n, r) {
@@ -4091,7 +4091,7 @@ Nn || (Nn = function(t, n, r) {
4091
4091
  Hn || (Hn = function(t, n) {
4092
4092
  return new t(...n);
4093
4093
  });
4094
- const Lt = pe(Array.prototype.forEach), Pr = pe(Array.prototype.pop), ut = pe(Array.prototype.push), kt = pe(String.prototype.toLowerCase), _n = pe(String.prototype.toString), Rr = pe(String.prototype.match), lt = pe(String.prototype.replace), Aa = pe(String.prototype.indexOf), wa = pe(String.prototype.trim), ve = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), ct = Oa(TypeError);
4094
+ const Lt = pe(Array.prototype.forEach), Pr = pe(Array.prototype.pop), ut = pe(Array.prototype.push), kt = pe(String.prototype.toLowerCase), _n = pe(String.prototype.toString), Rr = pe(String.prototype.match), lt = pe(String.prototype.replace), Aa = pe(String.prototype.indexOf), Oa = pe(String.prototype.trim), ve = pe(Object.prototype.hasOwnProperty), ue = pe(RegExp.prototype.test), ct = Ma(TypeError);
4095
4095
  function pe(e) {
4096
4096
  return function(t) {
4097
4097
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
@@ -4099,7 +4099,7 @@ function pe(e) {
4099
4099
  return Nn(e, t, r);
4100
4100
  };
4101
4101
  }
4102
- function Oa(e) {
4102
+ function Ma(e) {
4103
4103
  return function() {
4104
4104
  for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
4105
4105
  n[r] = arguments[r];
@@ -4113,59 +4113,59 @@ function P(e, t) {
4113
4113
  for (; r--; ) {
4114
4114
  let i = t[r];
4115
4115
  if (typeof i == "string") {
4116
- const s = n(i);
4117
- s !== i && (va(t) || (t[r] = s), i = s);
4116
+ const o = n(i);
4117
+ o !== i && (Ta(t) || (t[r] = o), i = o);
4118
4118
  }
4119
4119
  e[i] = !0;
4120
4120
  }
4121
4121
  return e;
4122
4122
  }
4123
- function Ma(e) {
4123
+ function Ca(e) {
4124
4124
  for (let t = 0; t < e.length; t++)
4125
4125
  ve(e, t) || (e[t] = null);
4126
4126
  return e;
4127
4127
  }
4128
4128
  function Be(e) {
4129
- const t = Ri(null);
4130
- for (const [n, r] of Pi(e))
4131
- ve(e, n) && (Array.isArray(r) ? t[n] = Ma(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Be(r) : t[n] = r);
4129
+ const t = Di(null);
4130
+ for (const [n, r] of Ri(e))
4131
+ ve(e, n) && (Array.isArray(r) ? t[n] = Ca(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Be(r) : t[n] = r);
4132
4132
  return t;
4133
4133
  }
4134
4134
  function ft(e, t) {
4135
4135
  for (; e !== null; ) {
4136
- const r = Sa(e, t);
4136
+ const r = wa(e, t);
4137
4137
  if (r) {
4138
4138
  if (r.get)
4139
4139
  return pe(r.get);
4140
4140
  if (typeof r.value == "function")
4141
4141
  return pe(r.value);
4142
4142
  }
4143
- e = Ta(e);
4143
+ e = Sa(e);
4144
4144
  }
4145
4145
  function n() {
4146
4146
  return null;
4147
4147
  }
4148
4148
  return n;
4149
4149
  }
4150
- const Dr = fe(["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"]), bn = fe(["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"]), En = fe(["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"]), Ca = fe(["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"]), yn = fe(["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"]), La = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Br = fe(["#text"]), $r = fe(["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"]), xn = fe(["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"]), Ur = fe(["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"]), Nt = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Na = Ee(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ha = Ee(/<%[\w\W]*|[\w\W]*%>/gm), Ia = Ee(/\${[\w\W]*}/gm), Pa = Ee(/^data-[\-\w.\u00B7-\uFFFF]/), Ra = Ee(/^aria-[\-\w]+$/), Di = Ee(
4150
+ const Dr = fe(["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"]), bn = fe(["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"]), En = fe(["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"]), La = fe(["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"]), yn = fe(["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"]), Na = fe(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Br = fe(["#text"]), $r = fe(["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"]), xn = fe(["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"]), Ur = fe(["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"]), Nt = fe(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ha = be(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ia = be(/<%[\w\W]*|[\w\W]*%>/gm), Pa = be(/\${[\w\W]*}/gm), Ra = be(/^data-[\-\w.\u00B7-\uFFFF]/), Da = be(/^aria-[\-\w]+$/), Bi = be(
4151
4151
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4152
4152
  // eslint-disable-line no-useless-escape
4153
- ), Da = Ee(/^(?:\w+script|data):/i), Ba = Ee(
4153
+ ), Ba = be(/^(?:\w+script|data):/i), $a = be(
4154
4154
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4155
4155
  // eslint-disable-line no-control-regex
4156
- ), Bi = Ee(/^html$/i), $a = Ee(/^[a-z][.\w]*(-[.\w]+)+$/i);
4156
+ ), $i = be(/^html$/i), Ua = be(/^[a-z][.\w]*(-[.\w]+)+$/i);
4157
4157
  var kr = /* @__PURE__ */ Object.freeze({
4158
4158
  __proto__: null,
4159
- MUSTACHE_EXPR: Na,
4160
- ERB_EXPR: Ha,
4161
- TMPLIT_EXPR: Ia,
4162
- DATA_ATTR: Pa,
4163
- ARIA_ATTR: Ra,
4164
- IS_ALLOWED_URI: Di,
4165
- IS_SCRIPT_OR_DATA: Da,
4166
- ATTR_WHITESPACE: Ba,
4167
- DOCTYPE_NAME: Bi,
4168
- CUSTOM_ELEMENT: $a
4159
+ MUSTACHE_EXPR: Ha,
4160
+ ERB_EXPR: Ia,
4161
+ TMPLIT_EXPR: Pa,
4162
+ DATA_ATTR: Ra,
4163
+ ARIA_ATTR: Da,
4164
+ IS_ALLOWED_URI: Bi,
4165
+ IS_SCRIPT_OR_DATA: Ba,
4166
+ ATTR_WHITESPACE: $a,
4167
+ DOCTYPE_NAME: $i,
4168
+ CUSTOM_ELEMENT: Ua
4169
4169
  });
4170
4170
  const ht = {
4171
4171
  element: 1,
@@ -4174,17 +4174,17 @@ const ht = {
4174
4174
  progressingInstruction: 7,
4175
4175
  comment: 8,
4176
4176
  document: 9
4177
- }, Ua = function() {
4177
+ }, ka = function() {
4178
4178
  return typeof window == "undefined" ? null : window;
4179
- }, ka = function(t, n) {
4179
+ }, Fa = function(t, n) {
4180
4180
  if (typeof t != "object" || typeof t.createPolicy != "function")
4181
4181
  return null;
4182
4182
  let r = null;
4183
4183
  const i = "data-tt-policy-suffix";
4184
4184
  n && n.hasAttribute(i) && (r = n.getAttribute(i));
4185
- const s = "dompurify" + (r ? "#" + r : "");
4185
+ const o = "dompurify" + (r ? "#" + r : "");
4186
4186
  try {
4187
- return t.createPolicy(s, {
4187
+ return t.createPolicy(o, {
4188
4188
  createHTML(a) {
4189
4189
  return a;
4190
4190
  },
@@ -4193,19 +4193,19 @@ const ht = {
4193
4193
  }
4194
4194
  });
4195
4195
  } catch (a) {
4196
- return console.warn("TrustedTypes policy " + s + " could not be created."), null;
4196
+ return console.warn("TrustedTypes policy " + o + " could not be created."), null;
4197
4197
  }
4198
4198
  };
4199
- function $i() {
4200
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ua();
4201
- const t = (w) => $i(w);
4199
+ function Ui() {
4200
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ka();
4201
+ const t = (A) => Ui(A);
4202
4202
  if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== ht.document)
4203
4203
  return t.isSupported = !1, t;
4204
4204
  let {
4205
4205
  document: n
4206
4206
  } = e;
4207
4207
  const r = n, i = r.currentScript, {
4208
- DocumentFragment: s,
4208
+ DocumentFragment: o,
4209
4209
  HTMLTemplateElement: a,
4210
4210
  Node: u,
4211
4211
  Element: c,
@@ -4214,10 +4214,10 @@ function $i() {
4214
4214
  HTMLFormElement: _,
4215
4215
  DOMParser: y,
4216
4216
  trustedTypes: M
4217
- } = e, b = c.prototype, d = ft(b, "cloneNode"), C = ft(b, "remove"), F = ft(b, "nextSibling"), $ = ft(b, "childNodes"), A = ft(b, "parentNode");
4217
+ } = e, b = c.prototype, d = ft(b, "cloneNode"), C = ft(b, "remove"), F = ft(b, "nextSibling"), $ = ft(b, "childNodes"), w = ft(b, "parentNode");
4218
4218
  if (typeof a == "function") {
4219
- const w = n.createElement("template");
4220
- w.content && w.content.ownerDocument && (n = w.content.ownerDocument);
4219
+ const A = n.createElement("template");
4220
+ A.content && A.content.ownerDocument && (n = A.content.ownerDocument);
4221
4221
  }
4222
4222
  let H, R = "";
4223
4223
  const {
@@ -4229,9 +4229,9 @@ function $i() {
4229
4229
  importNode: G
4230
4230
  } = r;
4231
4231
  let O = {};
4232
- t.isSupported = typeof Pi == "function" && typeof A == "function" && k && k.createHTMLDocument !== void 0;
4232
+ t.isSupported = typeof Ri == "function" && typeof w == "function" && k && k.createHTMLDocument !== void 0;
4233
4233
  const {
4234
- MUSTACHE_EXPR: ne,
4234
+ MUSTACHE_EXPR: te,
4235
4235
  ERB_EXPR: he,
4236
4236
  TMPLIT_EXPR: T,
4237
4237
  DATA_ATTR: E,
@@ -4243,10 +4243,10 @@ function $i() {
4243
4243
  let {
4244
4244
  IS_ALLOWED_URI: L
4245
4245
  } = kr, N = null;
4246
- const z = P({}, [...Dr, ...bn, ...En, ...yn, ...Br]);
4246
+ const j = P({}, [...Dr, ...bn, ...En, ...yn, ...Br]);
4247
4247
  let I = null;
4248
4248
  const q = P({}, [...$r, ...xn, ...Ur, ...Nt]);
4249
- let m = Object.seal(Ri(null, {
4249
+ let m = Object.seal(Di(null, {
4250
4250
  tagNameCheck: {
4251
4251
  writable: !0,
4252
4252
  configurable: !1,
@@ -4265,70 +4265,70 @@ function $i() {
4265
4265
  enumerable: !0,
4266
4266
  value: !1
4267
4267
  }
4268
- })), U = null, ee = null, K = !0, ye = !0, ie = !1, xe = !0, _e = !1, Ne = !0, De = !1, en = !1, tn = !1, Ue = !1, vt = !1, Tt = !1, $n = !0, Un = !1;
4269
- const Fi = "user-content-";
4268
+ })), U = null, ee = null, K = !0, ye = !0, ie = !1, xe = !0, ge = !1, Ne = !0, De = !1, en = !1, tn = !1, Ue = !1, vt = !1, Tt = !1, $n = !0, Un = !1;
4269
+ const Gi = "user-content-";
4270
4270
  let nn = !0, rt = !1, ke = {}, Fe = null;
4271
4271
  const kn = P({}, ["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"]);
4272
4272
  let Fn = null;
4273
4273
  const Gn = P({}, ["audio", "video", "img", "source", "image", "track"]);
4274
4274
  let rn = null;
4275
- const jn = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), St = "http://www.w3.org/1998/Math/MathML", At = "http://www.w3.org/2000/svg", Me = "http://www.w3.org/1999/xhtml";
4276
- let Ge = Me, sn = !1, on = null;
4277
- const Gi = P({}, [St, At, Me], _n);
4275
+ const jn = P({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), St = "http://www.w3.org/1998/Math/MathML", wt = "http://www.w3.org/2000/svg", Oe = "http://www.w3.org/1999/xhtml";
4276
+ let Ge = Oe, on = !1, sn = null;
4277
+ const ji = P({}, [St, wt, Oe], _n);
4278
4278
  let it = null;
4279
- const ji = ["application/xhtml+xml", "text/html"], zi = "text/html";
4280
- let re = null, je = null;
4281
- const Wi = n.createElement("form"), zn = function(o) {
4282
- return o instanceof RegExp || o instanceof Function;
4279
+ const zi = ["application/xhtml+xml", "text/html"], Wi = "text/html";
4280
+ let ne = null, je = null;
4281
+ const Vi = n.createElement("form"), zn = function(s) {
4282
+ return s instanceof RegExp || s instanceof Function;
4283
4283
  }, an = function() {
4284
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4285
- if (!(je && je === o)) {
4286
- if ((!o || typeof o != "object") && (o = {}), o = Be(o), it = // eslint-disable-next-line unicorn/prefer-includes
4287
- ji.indexOf(o.PARSER_MEDIA_TYPE) === -1 ? zi : o.PARSER_MEDIA_TYPE, re = it === "application/xhtml+xml" ? _n : kt, N = ve(o, "ALLOWED_TAGS") ? P({}, o.ALLOWED_TAGS, re) : z, I = ve(o, "ALLOWED_ATTR") ? P({}, o.ALLOWED_ATTR, re) : q, on = ve(o, "ALLOWED_NAMESPACES") ? P({}, o.ALLOWED_NAMESPACES, _n) : Gi, rn = ve(o, "ADD_URI_SAFE_ATTR") ? P(
4284
+ let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4285
+ if (!(je && je === s)) {
4286
+ if ((!s || typeof s != "object") && (s = {}), s = Be(s), it = // eslint-disable-next-line unicorn/prefer-includes
4287
+ zi.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? Wi : s.PARSER_MEDIA_TYPE, ne = it === "application/xhtml+xml" ? _n : kt, N = ve(s, "ALLOWED_TAGS") ? P({}, s.ALLOWED_TAGS, ne) : j, I = ve(s, "ALLOWED_ATTR") ? P({}, s.ALLOWED_ATTR, ne) : q, sn = ve(s, "ALLOWED_NAMESPACES") ? P({}, s.ALLOWED_NAMESPACES, _n) : ji, rn = ve(s, "ADD_URI_SAFE_ATTR") ? P(
4288
4288
  Be(jn),
4289
4289
  // eslint-disable-line indent
4290
- o.ADD_URI_SAFE_ATTR,
4290
+ s.ADD_URI_SAFE_ATTR,
4291
4291
  // eslint-disable-line indent
4292
- re
4292
+ ne
4293
4293
  // eslint-disable-line indent
4294
- ) : jn, Fn = ve(o, "ADD_DATA_URI_TAGS") ? P(
4294
+ ) : jn, Fn = ve(s, "ADD_DATA_URI_TAGS") ? P(
4295
4295
  Be(Gn),
4296
4296
  // eslint-disable-line indent
4297
- o.ADD_DATA_URI_TAGS,
4297
+ s.ADD_DATA_URI_TAGS,
4298
4298
  // eslint-disable-line indent
4299
- re
4299
+ ne
4300
4300
  // eslint-disable-line indent
4301
- ) : Gn, Fe = ve(o, "FORBID_CONTENTS") ? P({}, o.FORBID_CONTENTS, re) : kn, U = ve(o, "FORBID_TAGS") ? P({}, o.FORBID_TAGS, re) : {}, ee = ve(o, "FORBID_ATTR") ? P({}, o.FORBID_ATTR, re) : {}, ke = ve(o, "USE_PROFILES") ? o.USE_PROFILES : !1, K = o.ALLOW_ARIA_ATTR !== !1, ye = o.ALLOW_DATA_ATTR !== !1, ie = o.ALLOW_UNKNOWN_PROTOCOLS || !1, xe = o.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = o.SAFE_FOR_TEMPLATES || !1, Ne = o.SAFE_FOR_XML !== !1, De = o.WHOLE_DOCUMENT || !1, Ue = o.RETURN_DOM || !1, vt = o.RETURN_DOM_FRAGMENT || !1, Tt = o.RETURN_TRUSTED_TYPE || !1, tn = o.FORCE_BODY || !1, $n = o.SANITIZE_DOM !== !1, Un = o.SANITIZE_NAMED_PROPS || !1, nn = o.KEEP_CONTENT !== !1, rt = o.IN_PLACE || !1, L = o.ALLOWED_URI_REGEXP || Di, Ge = o.NAMESPACE || Me, m = o.CUSTOM_ELEMENT_HANDLING || {}, o.CUSTOM_ELEMENT_HANDLING && zn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = o.CUSTOM_ELEMENT_HANDLING.tagNameCheck), o.CUSTOM_ELEMENT_HANDLING && zn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), o.CUSTOM_ELEMENT_HANDLING && typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (ye = !1), vt && (Ue = !0), ke && (N = P({}, Br), I = [], ke.html === !0 && (P(N, Dr), P(I, $r)), ke.svg === !0 && (P(N, bn), P(I, xn), P(I, Nt)), ke.svgFilters === !0 && (P(N, En), P(I, xn), P(I, Nt)), ke.mathMl === !0 && (P(N, yn), P(I, Ur), P(I, Nt))), o.ADD_TAGS && (N === z && (N = Be(N)), P(N, o.ADD_TAGS, re)), o.ADD_ATTR && (I === q && (I = Be(I)), P(I, o.ADD_ATTR, re)), o.ADD_URI_SAFE_ATTR && P(rn, o.ADD_URI_SAFE_ATTR, re), o.FORBID_CONTENTS && (Fe === kn && (Fe = Be(Fe)), P(Fe, o.FORBID_CONTENTS, re)), nn && (N["#text"] = !0), De && P(N, ["html", "head", "body"]), N.table && (P(N, ["tbody"]), delete U.tbody), o.TRUSTED_TYPES_POLICY) {
4302
- if (typeof o.TRUSTED_TYPES_POLICY.createHTML != "function")
4301
+ ) : Gn, Fe = ve(s, "FORBID_CONTENTS") ? P({}, s.FORBID_CONTENTS, ne) : kn, U = ve(s, "FORBID_TAGS") ? P({}, s.FORBID_TAGS, ne) : {}, ee = ve(s, "FORBID_ATTR") ? P({}, s.FORBID_ATTR, ne) : {}, ke = ve(s, "USE_PROFILES") ? s.USE_PROFILES : !1, K = s.ALLOW_ARIA_ATTR !== !1, ye = s.ALLOW_DATA_ATTR !== !1, ie = s.ALLOW_UNKNOWN_PROTOCOLS || !1, xe = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = s.SAFE_FOR_TEMPLATES || !1, Ne = s.SAFE_FOR_XML !== !1, De = s.WHOLE_DOCUMENT || !1, Ue = s.RETURN_DOM || !1, vt = s.RETURN_DOM_FRAGMENT || !1, Tt = s.RETURN_TRUSTED_TYPE || !1, tn = s.FORCE_BODY || !1, $n = s.SANITIZE_DOM !== !1, Un = s.SANITIZE_NAMED_PROPS || !1, nn = s.KEEP_CONTENT !== !1, rt = s.IN_PLACE || !1, L = s.ALLOWED_URI_REGEXP || Bi, Ge = s.NAMESPACE || Oe, m = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && zn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (m.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && zn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (m.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (m.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ge && (ye = !1), vt && (Ue = !0), ke && (N = P({}, Br), I = [], ke.html === !0 && (P(N, Dr), P(I, $r)), ke.svg === !0 && (P(N, bn), P(I, xn), P(I, Nt)), ke.svgFilters === !0 && (P(N, En), P(I, xn), P(I, Nt)), ke.mathMl === !0 && (P(N, yn), P(I, Ur), P(I, Nt))), s.ADD_TAGS && (N === j && (N = Be(N)), P(N, s.ADD_TAGS, ne)), s.ADD_ATTR && (I === q && (I = Be(I)), P(I, s.ADD_ATTR, ne)), s.ADD_URI_SAFE_ATTR && P(rn, s.ADD_URI_SAFE_ATTR, ne), s.FORBID_CONTENTS && (Fe === kn && (Fe = Be(Fe)), P(Fe, s.FORBID_CONTENTS, ne)), nn && (N["#text"] = !0), De && P(N, ["html", "head", "body"]), N.table && (P(N, ["tbody"]), delete U.tbody), s.TRUSTED_TYPES_POLICY) {
4302
+ if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
4303
4303
  throw ct('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4304
- if (typeof o.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4304
+ if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4305
4305
  throw ct('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4306
- H = o.TRUSTED_TYPES_POLICY, R = H.createHTML("");
4306
+ H = s.TRUSTED_TYPES_POLICY, R = H.createHTML("");
4307
4307
  } else
4308
- H === void 0 && (H = ka(M, i)), H !== null && typeof R == "string" && (R = H.createHTML(""));
4309
- fe && fe(o), je = o;
4308
+ H === void 0 && (H = Fa(M, i)), H !== null && typeof R == "string" && (R = H.createHTML(""));
4309
+ fe && fe(s), je = s;
4310
4310
  }
4311
- }, Wn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), Vn = P({}, ["foreignobject", "annotation-xml"]), Vi = P({}, ["title", "style", "font", "a", "script"]), Xn = P({}, [...bn, ...En, ...Ca]), Yn = P({}, [...yn, ...La]), Xi = function(o) {
4312
- let p = A(o);
4311
+ }, Wn = P({}, ["mi", "mo", "mn", "ms", "mtext"]), Vn = P({}, ["foreignobject", "annotation-xml"]), Xi = P({}, ["title", "style", "font", "a", "script"]), Xn = P({}, [...bn, ...En, ...La]), Yn = P({}, [...yn, ...Na]), Yi = function(s) {
4312
+ let p = w(s);
4313
4313
  (!p || !p.tagName) && (p = {
4314
4314
  namespaceURI: Ge,
4315
4315
  tagName: "template"
4316
4316
  });
4317
- const S = kt(o.tagName), W = kt(p.tagName);
4318
- return on[o.namespaceURI] ? o.namespaceURI === At ? p.namespaceURI === Me ? S === "svg" : p.namespaceURI === St ? S === "svg" && (W === "annotation-xml" || Wn[W]) : !!Xn[S] : o.namespaceURI === St ? p.namespaceURI === Me ? S === "math" : p.namespaceURI === At ? S === "math" && Vn[W] : !!Yn[S] : o.namespaceURI === Me ? p.namespaceURI === At && !Vn[W] || p.namespaceURI === St && !Wn[W] ? !1 : !Yn[S] && (Vi[S] || !Xn[S]) : !!(it === "application/xhtml+xml" && on[o.namespaceURI]) : !1;
4319
- }, Te = function(o) {
4317
+ const S = kt(s.tagName), z = kt(p.tagName);
4318
+ return sn[s.namespaceURI] ? s.namespaceURI === wt ? p.namespaceURI === Oe ? S === "svg" : p.namespaceURI === St ? S === "svg" && (z === "annotation-xml" || Wn[z]) : !!Xn[S] : s.namespaceURI === St ? p.namespaceURI === Oe ? S === "math" : p.namespaceURI === wt ? S === "math" && Vn[z] : !!Yn[S] : s.namespaceURI === Oe ? p.namespaceURI === wt && !Vn[z] || p.namespaceURI === St && !Wn[z] ? !1 : !Yn[S] && (Xi[S] || !Xn[S]) : !!(it === "application/xhtml+xml" && sn[s.namespaceURI]) : !1;
4319
+ }, Te = function(s) {
4320
4320
  ut(t.removed, {
4321
- element: o
4321
+ element: s
4322
4322
  });
4323
4323
  try {
4324
- A(o).removeChild(o);
4324
+ w(s).removeChild(s);
4325
4325
  } catch (p) {
4326
- C(o);
4326
+ C(s);
4327
4327
  }
4328
- }, wt = function(o, p) {
4328
+ }, At = function(s, p) {
4329
4329
  try {
4330
4330
  ut(t.removed, {
4331
- attribute: p.getAttributeNode(o),
4331
+ attribute: p.getAttributeNode(s),
4332
4332
  from: p
4333
4333
  });
4334
4334
  } catch (S) {
@@ -4337,7 +4337,7 @@ function $i() {
4337
4337
  from: p
4338
4338
  });
4339
4339
  }
4340
- if (p.removeAttribute(o), o === "is" && !I[o])
4340
+ if (p.removeAttribute(s), s === "is" && !I[s])
4341
4341
  if (Ue || vt)
4342
4342
  try {
4343
4343
  Te(p);
@@ -4345,81 +4345,81 @@ function $i() {
4345
4345
  }
4346
4346
  else
4347
4347
  try {
4348
- p.setAttribute(o, "");
4348
+ p.setAttribute(s, "");
4349
4349
  } catch (S) {
4350
4350
  }
4351
- }, Zn = function(o) {
4351
+ }, Zn = function(s) {
4352
4352
  let p = null, S = null;
4353
4353
  if (tn)
4354
- o = "<remove></remove>" + o;
4354
+ s = "<remove></remove>" + s;
4355
4355
  else {
4356
- const se = Rr(o, /^[\r\n\t ]+/);
4357
- S = se && se[0];
4356
+ const oe = Rr(s, /^[\r\n\t ]+/);
4357
+ S = oe && oe[0];
4358
4358
  }
4359
- it === "application/xhtml+xml" && Ge === Me && (o = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + o + "</body></html>");
4360
- const W = H ? H.createHTML(o) : o;
4361
- if (Ge === Me)
4359
+ it === "application/xhtml+xml" && Ge === Oe && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
4360
+ const z = H ? H.createHTML(s) : s;
4361
+ if (Ge === Oe)
4362
4362
  try {
4363
- p = new y().parseFromString(W, it);
4364
- } catch (se) {
4363
+ p = new y().parseFromString(z, it);
4364
+ } catch (oe) {
4365
4365
  }
4366
4366
  if (!p || !p.documentElement) {
4367
4367
  p = k.createDocument(Ge, "template", null);
4368
4368
  try {
4369
- p.documentElement.innerHTML = sn ? R : W;
4370
- } catch (se) {
4369
+ p.documentElement.innerHTML = on ? R : z;
4370
+ } catch (oe) {
4371
4371
  }
4372
4372
  }
4373
- const oe = p.body || p.documentElement;
4374
- return o && S && oe.insertBefore(n.createTextNode(S), oe.childNodes[0] || null), Ge === Me ? Q.call(p, De ? "html" : "body")[0] : De ? p.documentElement : oe;
4375
- }, qn = function(o) {
4373
+ const se = p.body || p.documentElement;
4374
+ return s && S && se.insertBefore(n.createTextNode(S), se.childNodes[0] || null), Ge === Oe ? Q.call(p, De ? "html" : "body")[0] : De ? p.documentElement : se;
4375
+ }, qn = function(s) {
4376
4376
  return Y.call(
4377
- o.ownerDocument || o,
4378
- o,
4377
+ s.ownerDocument || s,
4378
+ s,
4379
4379
  // eslint-disable-next-line no-bitwise
4380
4380
  l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION,
4381
4381
  null
4382
4382
  );
4383
- }, Jn = function(o) {
4384
- return o instanceof _ && (typeof o.nodeName != "string" || typeof o.textContent != "string" || typeof o.removeChild != "function" || !(o.attributes instanceof f) || typeof o.removeAttribute != "function" || typeof o.setAttribute != "function" || typeof o.namespaceURI != "string" || typeof o.insertBefore != "function" || typeof o.hasChildNodes != "function");
4385
- }, Qn = function(o) {
4386
- return typeof u == "function" && o instanceof u;
4387
- }, Ce = function(o, p, S) {
4388
- O[o] && Lt(O[o], (W) => {
4389
- W.call(t, p, S, je);
4383
+ }, Jn = function(s) {
4384
+ return s instanceof _ && (typeof s.nodeName != "string" || typeof s.textContent != "string" || typeof s.removeChild != "function" || !(s.attributes instanceof f) || typeof s.removeAttribute != "function" || typeof s.setAttribute != "function" || typeof s.namespaceURI != "string" || typeof s.insertBefore != "function" || typeof s.hasChildNodes != "function");
4385
+ }, Qn = function(s) {
4386
+ return typeof u == "function" && s instanceof u;
4387
+ }, Me = function(s, p, S) {
4388
+ O[s] && Lt(O[s], (z) => {
4389
+ z.call(t, p, S, je);
4390
4390
  });
4391
- }, Kn = function(o) {
4391
+ }, Kn = function(s) {
4392
4392
  let p = null;
4393
- if (Ce("beforeSanitizeElements", o, null), Jn(o))
4394
- return Te(o), !0;
4395
- const S = re(o.nodeName);
4396
- if (Ce("uponSanitizeElement", o, {
4393
+ if (Me("beforeSanitizeElements", s, null), Jn(s))
4394
+ return Te(s), !0;
4395
+ const S = ne(s.nodeName);
4396
+ if (Me("uponSanitizeElement", s, {
4397
4397
  tagName: S,
4398
4398
  allowedTags: N
4399
- }), o.hasChildNodes() && !Qn(o.firstElementChild) && ue(/<[/\w]/g, o.innerHTML) && ue(/<[/\w]/g, o.textContent) || o.nodeType === ht.progressingInstruction || Ne && o.nodeType === ht.comment && ue(/<[/\w]/g, o.data))
4400
- return Te(o), !0;
4399
+ }), s.hasChildNodes() && !Qn(s.firstElementChild) && ue(/<[/\w]/g, s.innerHTML) && ue(/<[/\w]/g, s.textContent) || s.nodeType === ht.progressingInstruction || Ne && s.nodeType === ht.comment && ue(/<[/\w]/g, s.data))
4400
+ return Te(s), !0;
4401
4401
  if (!N[S] || U[S]) {
4402
4402
  if (!U[S] && tr(S) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
4403
4403
  return !1;
4404
4404
  if (nn && !Fe[S]) {
4405
- const W = A(o) || o.parentNode, oe = $(o) || o.childNodes;
4406
- if (oe && W) {
4407
- const se = oe.length;
4408
- for (let me = se - 1; me >= 0; --me) {
4409
- const Se = d(oe[me], !0);
4410
- Se.__removalCount = (o.__removalCount || 0) + 1, W.insertBefore(Se, F(o));
4405
+ const z = w(s) || s.parentNode, se = $(s) || s.childNodes;
4406
+ if (se && z) {
4407
+ const oe = se.length;
4408
+ for (let me = oe - 1; me >= 0; --me) {
4409
+ const Se = d(se[me], !0);
4410
+ Se.__removalCount = (s.__removalCount || 0) + 1, z.insertBefore(Se, F(s));
4411
4411
  }
4412
4412
  }
4413
4413
  }
4414
- return Te(o), !0;
4414
+ return Te(s), !0;
4415
4415
  }
4416
- return o instanceof c && !Xi(o) || (S === "noscript" || S === "noembed" || S === "noframes") && ue(/<\/no(script|embed|frames)/i, o.innerHTML) ? (Te(o), !0) : (_e && o.nodeType === ht.text && (p = o.textContent, Lt([ne, he, T], (W) => {
4417
- p = lt(p, W, " ");
4418
- }), o.textContent !== p && (ut(t.removed, {
4419
- element: o.cloneNode()
4420
- }), o.textContent = p)), Ce("afterSanitizeElements", o, null), !1);
4421
- }, er = function(o, p, S) {
4422
- if ($n && (p === "id" || p === "name") && (S in n || S in Wi))
4416
+ return s instanceof c && !Yi(s) || (S === "noscript" || S === "noembed" || S === "noframes") && ue(/<\/no(script|embed|frames)/i, s.innerHTML) ? (Te(s), !0) : (ge && s.nodeType === ht.text && (p = s.textContent, Lt([te, he, T], (z) => {
4417
+ p = lt(p, z, " ");
4418
+ }), s.textContent !== p && (ut(t.removed, {
4419
+ element: s.cloneNode()
4420
+ }), s.textContent = p)), Me("afterSanitizeElements", s, null), !1);
4421
+ }, er = function(s, p, S) {
4422
+ if ($n && (p === "id" || p === "name") && (S in n || S in Vi))
4423
4423
  return !1;
4424
4424
  if (!(ye && !ee[p] && ue(E, p))) {
4425
4425
  if (!(K && ue(g, p))) {
@@ -4428,14 +4428,14 @@ function $i() {
4428
4428
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4429
4429
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4430
4430
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4431
- !(tr(o) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, o) || m.tagNameCheck instanceof Function && m.tagNameCheck(o)) && (m.attributeNameCheck instanceof RegExp && ue(m.attributeNameCheck, p) || m.attributeNameCheck instanceof Function && m.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4431
+ !(tr(s) && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, s) || m.tagNameCheck instanceof Function && m.tagNameCheck(s)) && (m.attributeNameCheck instanceof RegExp && ue(m.attributeNameCheck, p) || m.attributeNameCheck instanceof Function && m.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4432
4432
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4433
4433
  p === "is" && m.allowCustomizedBuiltInElements && (m.tagNameCheck instanceof RegExp && ue(m.tagNameCheck, S) || m.tagNameCheck instanceof Function && m.tagNameCheck(S)))
4434
4434
  )
4435
4435
  return !1;
4436
4436
  } else if (!rn[p]) {
4437
4437
  if (!ue(L, lt(S, h, ""))) {
4438
- if (!((p === "src" || p === "xlink:href" || p === "href") && o !== "script" && Aa(S, "data:") === 0 && Fn[o])) {
4438
+ if (!((p === "src" || p === "xlink:href" || p === "href") && s !== "script" && Aa(S, "data:") === 0 && Fn[s])) {
4439
4439
  if (!(ie && !ue(v, lt(S, h, "")))) {
4440
4440
  if (S)
4441
4441
  return !1;
@@ -4446,13 +4446,13 @@ function $i() {
4446
4446
  }
4447
4447
  }
4448
4448
  return !0;
4449
- }, tr = function(o) {
4450
- return o !== "annotation-xml" && Rr(o, x);
4451
- }, nr = function(o) {
4452
- Ce("beforeSanitizeAttributes", o, null);
4449
+ }, tr = function(s) {
4450
+ return s !== "annotation-xml" && Rr(s, x);
4451
+ }, nr = function(s) {
4452
+ Me("beforeSanitizeAttributes", s, null);
4453
4453
  const {
4454
4454
  attributes: p
4455
- } = o;
4455
+ } = s;
4456
4456
  if (!p)
4457
4457
  return;
4458
4458
  const S = {
@@ -4461,31 +4461,31 @@ function $i() {
4461
4461
  keepAttr: !0,
4462
4462
  allowedAttributes: I
4463
4463
  };
4464
- let W = p.length;
4465
- for (; W--; ) {
4466
- const oe = p[W], {
4467
- name: se,
4464
+ let z = p.length;
4465
+ for (; z--; ) {
4466
+ const se = p[z], {
4467
+ name: oe,
4468
4468
  namespaceURI: me,
4469
4469
  value: Se
4470
- } = oe, st = re(se);
4471
- let ae = se === "value" ? Se : wa(Se);
4472
- if (S.attrName = st, S.attrValue = ae, S.keepAttr = !0, S.forceKeepAttr = void 0, Ce("uponSanitizeAttribute", o, S), ae = S.attrValue, Ne && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
4473
- wt(se, o);
4470
+ } = se, ot = ne(oe);
4471
+ let ae = oe === "value" ? Se : Oa(Se);
4472
+ if (S.attrName = ot, S.attrValue = ae, S.keepAttr = !0, S.forceKeepAttr = void 0, Me("uponSanitizeAttribute", s, S), ae = S.attrValue, Ne && ue(/((--!?|])>)|<\/(style|title)/i, ae)) {
4473
+ At(oe, s);
4474
4474
  continue;
4475
4475
  }
4476
- if (S.forceKeepAttr || (wt(se, o), !S.keepAttr))
4476
+ if (S.forceKeepAttr || (At(oe, s), !S.keepAttr))
4477
4477
  continue;
4478
4478
  if (!xe && ue(/\/>/i, ae)) {
4479
- wt(se, o);
4479
+ At(oe, s);
4480
4480
  continue;
4481
4481
  }
4482
- _e && Lt([ne, he, T], (ir) => {
4482
+ ge && Lt([te, he, T], (ir) => {
4483
4483
  ae = lt(ae, ir, " ");
4484
4484
  });
4485
- const rr = re(o.nodeName);
4486
- if (er(rr, st, ae)) {
4487
- if (Un && (st === "id" || st === "name") && (wt(se, o), ae = Fi + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
4488
- switch (M.getAttributeType(rr, st)) {
4485
+ const rr = ne(s.nodeName);
4486
+ if (er(rr, ot, ae)) {
4487
+ if (Un && (ot === "id" || ot === "name") && (At(oe, s), ae = Gi + ae), H && typeof M == "object" && typeof M.getAttributeType == "function" && !me)
4488
+ switch (M.getAttributeType(rr, ot)) {
4489
4489
  case "TrustedHTML": {
4490
4490
  ae = H.createHTML(ae);
4491
4491
  break;
@@ -4496,97 +4496,97 @@ function $i() {
4496
4496
  }
4497
4497
  }
4498
4498
  try {
4499
- me ? o.setAttributeNS(me, se, ae) : o.setAttribute(se, ae), Jn(o) ? Te(o) : Pr(t.removed);
4499
+ me ? s.setAttributeNS(me, oe, ae) : s.setAttribute(oe, ae), Jn(s) ? Te(s) : Pr(t.removed);
4500
4500
  } catch (ir) {
4501
4501
  }
4502
4502
  }
4503
4503
  }
4504
- Ce("afterSanitizeAttributes", o, null);
4505
- }, Yi = function w(o) {
4504
+ Me("afterSanitizeAttributes", s, null);
4505
+ }, Zi = function A(s) {
4506
4506
  let p = null;
4507
- const S = qn(o);
4508
- for (Ce("beforeSanitizeShadowDOM", o, null); p = S.nextNode(); )
4509
- Ce("uponSanitizeShadowNode", p, null), !Kn(p) && (p.content instanceof s && w(p.content), nr(p));
4510
- Ce("afterSanitizeShadowDOM", o, null);
4507
+ const S = qn(s);
4508
+ for (Me("beforeSanitizeShadowDOM", s, null); p = S.nextNode(); )
4509
+ Me("uponSanitizeShadowNode", p, null), !Kn(p) && (p.content instanceof o && A(p.content), nr(p));
4510
+ Me("afterSanitizeShadowDOM", s, null);
4511
4511
  };
4512
- return t.sanitize = function(w) {
4513
- let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, S = null, W = null, oe = null;
4514
- if (sn = !w, sn && (w = "<!-->"), typeof w != "string" && !Qn(w))
4515
- if (typeof w.toString == "function") {
4516
- if (w = w.toString(), typeof w != "string")
4512
+ return t.sanitize = function(A) {
4513
+ let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, S = null, z = null, se = null;
4514
+ if (on = !A, on && (A = "<!-->"), typeof A != "string" && !Qn(A))
4515
+ if (typeof A.toString == "function") {
4516
+ if (A = A.toString(), typeof A != "string")
4517
4517
  throw ct("dirty is not a string, aborting");
4518
4518
  } else
4519
4519
  throw ct("toString is not a function");
4520
4520
  if (!t.isSupported)
4521
- return w;
4522
- if (en || an(o), t.removed = [], typeof w == "string" && (rt = !1), rt) {
4523
- if (w.nodeName) {
4524
- const Se = re(w.nodeName);
4521
+ return A;
4522
+ if (en || an(s), t.removed = [], typeof A == "string" && (rt = !1), rt) {
4523
+ if (A.nodeName) {
4524
+ const Se = ne(A.nodeName);
4525
4525
  if (!N[Se] || U[Se])
4526
4526
  throw ct("root node is forbidden and cannot be sanitized in-place");
4527
4527
  }
4528
- } else if (w instanceof u)
4529
- p = Zn("<!---->"), S = p.ownerDocument.importNode(w, !0), S.nodeType === ht.element && S.nodeName === "BODY" || S.nodeName === "HTML" ? p = S : p.appendChild(S);
4528
+ } else if (A instanceof u)
4529
+ p = Zn("<!---->"), S = p.ownerDocument.importNode(A, !0), S.nodeType === ht.element && S.nodeName === "BODY" || S.nodeName === "HTML" ? p = S : p.appendChild(S);
4530
4530
  else {
4531
- if (!Ue && !_e && !De && // eslint-disable-next-line unicorn/prefer-includes
4532
- w.indexOf("<") === -1)
4533
- return H && Tt ? H.createHTML(w) : w;
4534
- if (p = Zn(w), !p)
4531
+ if (!Ue && !ge && !De && // eslint-disable-next-line unicorn/prefer-includes
4532
+ A.indexOf("<") === -1)
4533
+ return H && Tt ? H.createHTML(A) : A;
4534
+ if (p = Zn(A), !p)
4535
4535
  return Ue ? null : Tt ? R : "";
4536
4536
  }
4537
4537
  p && tn && Te(p.firstChild);
4538
- const se = qn(rt ? w : p);
4539
- for (; W = se.nextNode(); )
4540
- Kn(W) || (W.content instanceof s && Yi(W.content), nr(W));
4538
+ const oe = qn(rt ? A : p);
4539
+ for (; z = oe.nextNode(); )
4540
+ Kn(z) || (z.content instanceof o && Zi(z.content), nr(z));
4541
4541
  if (rt)
4542
- return w;
4542
+ return A;
4543
4543
  if (Ue) {
4544
4544
  if (vt)
4545
- for (oe = V.call(p.ownerDocument); p.firstChild; )
4546
- oe.appendChild(p.firstChild);
4545
+ for (se = V.call(p.ownerDocument); p.firstChild; )
4546
+ se.appendChild(p.firstChild);
4547
4547
  else
4548
- oe = p;
4549
- return (I.shadowroot || I.shadowrootmode) && (oe = G.call(r, oe, !0)), oe;
4548
+ se = p;
4549
+ return (I.shadowroot || I.shadowrootmode) && (se = G.call(r, se, !0)), se;
4550
4550
  }
4551
4551
  let me = De ? p.outerHTML : p.innerHTML;
4552
- return De && N["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue(Bi, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4553
- ` + me), _e && Lt([ne, he, T], (Se) => {
4552
+ return De && N["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && ue($i, p.ownerDocument.doctype.name) && (me = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4553
+ ` + me), ge && Lt([te, he, T], (Se) => {
4554
4554
  me = lt(me, Se, " ");
4555
4555
  }), H && Tt ? H.createHTML(me) : me;
4556
4556
  }, t.setConfig = function() {
4557
- let w = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4558
- an(w), en = !0;
4557
+ let A = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4558
+ an(A), en = !0;
4559
4559
  }, t.clearConfig = function() {
4560
4560
  je = null, en = !1;
4561
- }, t.isValidAttribute = function(w, o, p) {
4561
+ }, t.isValidAttribute = function(A, s, p) {
4562
4562
  je || an({});
4563
- const S = re(w), W = re(o);
4564
- return er(S, W, p);
4565
- }, t.addHook = function(w, o) {
4566
- typeof o == "function" && (O[w] = O[w] || [], ut(O[w], o));
4567
- }, t.removeHook = function(w) {
4568
- if (O[w])
4569
- return Pr(O[w]);
4570
- }, t.removeHooks = function(w) {
4571
- O[w] && (O[w] = []);
4563
+ const S = ne(A), z = ne(s);
4564
+ return er(S, z, p);
4565
+ }, t.addHook = function(A, s) {
4566
+ typeof s == "function" && (O[A] = O[A] || [], ut(O[A], s));
4567
+ }, t.removeHook = function(A) {
4568
+ if (O[A])
4569
+ return Pr(O[A]);
4570
+ }, t.removeHooks = function(A) {
4571
+ O[A] && (O[A] = []);
4572
4572
  }, t.removeAllHooks = function() {
4573
4573
  O = {};
4574
4574
  }, t;
4575
4575
  }
4576
- var Fr = $i(), Ui = { exports: {} };
4576
+ var Fr = Ui(), ki = { exports: {} };
4577
4577
  (function(e, t) {
4578
4578
  (function(n, r) {
4579
4579
  e.exports = r();
4580
- })(ui, function() {
4581
- var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", u = "minute", c = "hour", l = "day", f = "week", _ = "month", y = "quarter", M = "year", b = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|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, $ = { 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(T) {
4580
+ })(li, function() {
4581
+ var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", a = "second", u = "minute", c = "hour", l = "day", f = "week", _ = "month", y = "quarter", M = "year", b = "date", d = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, F = /\[([^\]]+)]|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, $ = { 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(T) {
4582
4582
  var E = ["th", "st", "nd", "rd"], g = T % 100;
4583
4583
  return "[" + T + (E[(g - 20) % 10] || E[g] || E[0]) + "]";
4584
- } }, A = function(T, E, g) {
4584
+ } }, w = function(T, E, g) {
4585
4585
  var v = String(T);
4586
4586
  return !v || v.length >= E ? T : "" + Array(E + 1 - v.length).join(g) + T;
4587
- }, H = { s: A, z: function(T) {
4587
+ }, H = { s: w, z: function(T) {
4588
4588
  var E = -T.utcOffset(), g = Math.abs(E), v = Math.floor(g / 60), h = g % 60;
4589
- return (E <= 0 ? "+" : "-") + A(v, 2, "0") + ":" + A(h, 2, "0");
4589
+ return (E <= 0 ? "+" : "-") + w(v, 2, "0") + ":" + w(h, 2, "0");
4590
4590
  }, m: function T(E, g) {
4591
4591
  if (E.date() < g.date())
4592
4592
  return -T(g, E);
@@ -4595,13 +4595,13 @@ var Fr = $i(), Ui = { exports: {} };
4595
4595
  }, a: function(T) {
4596
4596
  return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
4597
4597
  }, p: function(T) {
4598
- return { M: _, y: M, w: f, d: l, D: b, h: c, m: u, s: a, ms: s, Q: y }[T] || String(T || "").toLowerCase().replace(/s$/, "");
4598
+ return { M: _, y: M, w: f, d: l, D: b, h: c, m: u, s: a, ms: o, Q: y }[T] || String(T || "").toLowerCase().replace(/s$/, "");
4599
4599
  }, u: function(T) {
4600
4600
  return T === void 0;
4601
4601
  } }, R = "en", k = {};
4602
4602
  k[R] = $;
4603
4603
  var Y = "$isDayjsObject", V = function(T) {
4604
- return T instanceof ne || !(!T || !T[Y]);
4604
+ return T instanceof te || !(!T || !T[Y]);
4605
4605
  }, Q = function T(E, g, v) {
4606
4606
  var h;
4607
4607
  if (!E)
@@ -4621,12 +4621,12 @@ var Fr = $i(), Ui = { exports: {} };
4621
4621
  if (V(T))
4622
4622
  return T.clone();
4623
4623
  var g = typeof E == "object" ? E : {};
4624
- return g.date = T, g.args = arguments, new ne(g);
4624
+ return g.date = T, g.args = arguments, new te(g);
4625
4625
  }, O = H;
4626
4626
  O.l = Q, O.i = V, O.w = function(T, E) {
4627
4627
  return G(T, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
4628
4628
  };
4629
- var ne = function() {
4629
+ var te = function() {
4630
4630
  function T(g) {
4631
4631
  this.$L = Q(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Y] = !0;
4632
4632
  }
@@ -4643,8 +4643,8 @@ var Fr = $i(), Ui = { exports: {} };
4643
4643
  if (typeof h == "string" && !/Z$/i.test(h)) {
4644
4644
  var L = h.match(C);
4645
4645
  if (L) {
4646
- var N = L[2] - 1 || 0, z = (L[7] || "0").substring(0, 3);
4647
- return x ? new Date(Date.UTC(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, z)) : new Date(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, z);
4646
+ var N = L[2] - 1 || 0, j = (L[7] || "0").substring(0, 3);
4647
+ return x ? new Date(Date.UTC(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, j)) : new Date(L[1], N, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, j);
4648
4648
  }
4649
4649
  }
4650
4650
  return new Date(h);
@@ -4673,7 +4673,7 @@ var Fr = $i(), Ui = { exports: {} };
4673
4673
  var h = this, x = !!O.u(v) || v, L = O.p(g), N = function(ye, ie) {
4674
4674
  var xe = O.w(h.$u ? Date.UTC(h.$y, ie, ye) : new Date(h.$y, ie, ye), h);
4675
4675
  return x ? xe : xe.endOf(l);
4676
- }, z = function(ye, ie) {
4676
+ }, j = function(ye, ie) {
4677
4677
  return O.w(h.toDate()[ye].apply(h.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), h);
4678
4678
  }, I = this.$W, q = this.$M, m = this.$D, U = "set" + (this.$u ? "UTC" : "");
4679
4679
  switch (L) {
@@ -4686,25 +4686,25 @@ var Fr = $i(), Ui = { exports: {} };
4686
4686
  return N(x ? m - K : m + (6 - K), q);
4687
4687
  case l:
4688
4688
  case b:
4689
- return z(U + "Hours", 0);
4689
+ return j(U + "Hours", 0);
4690
4690
  case c:
4691
- return z(U + "Minutes", 1);
4691
+ return j(U + "Minutes", 1);
4692
4692
  case u:
4693
- return z(U + "Seconds", 2);
4693
+ return j(U + "Seconds", 2);
4694
4694
  case a:
4695
- return z(U + "Milliseconds", 3);
4695
+ return j(U + "Milliseconds", 3);
4696
4696
  default:
4697
4697
  return this.clone();
4698
4698
  }
4699
4699
  }, E.endOf = function(g) {
4700
4700
  return this.startOf(g, !1);
4701
4701
  }, E.$set = function(g, v) {
4702
- var h, x = O.p(g), L = "set" + (this.$u ? "UTC" : ""), N = (h = {}, h[l] = L + "Date", h[b] = L + "Date", h[_] = L + "Month", h[M] = L + "FullYear", h[c] = L + "Hours", h[u] = L + "Minutes", h[a] = L + "Seconds", h[s] = L + "Milliseconds", h)[x], z = x === l ? this.$D + (v - this.$W) : v;
4702
+ var h, x = O.p(g), L = "set" + (this.$u ? "UTC" : ""), N = (h = {}, h[l] = L + "Date", h[b] = L + "Date", h[_] = L + "Month", h[M] = L + "FullYear", h[c] = L + "Hours", h[u] = L + "Minutes", h[a] = L + "Seconds", h[o] = L + "Milliseconds", h)[x], j = x === l ? this.$D + (v - this.$W) : v;
4703
4703
  if (x === _ || x === M) {
4704
4704
  var I = this.clone().set(b, 1);
4705
- I.$d[N](z), I.init(), this.$d = I.set(b, Math.min(this.$D, I.daysInMonth())).$d;
4705
+ I.$d[N](j), I.init(), this.$d = I.set(b, Math.min(this.$D, I.daysInMonth())).$d;
4706
4706
  } else
4707
- N && this.$d[N](z);
4707
+ N && this.$d[N](j);
4708
4708
  return this.init(), this;
4709
4709
  }, E.set = function(g, v) {
4710
4710
  return this.clone().$set(g, v);
@@ -4725,7 +4725,7 @@ var Fr = $i(), Ui = { exports: {} };
4725
4725
  return N(1);
4726
4726
  if (L === f)
4727
4727
  return N(7);
4728
- var z = (h = {}, h[u] = r, h[c] = i, h[a] = n, h)[L] || 1, I = this.$d.getTime() + g * z;
4728
+ var j = (h = {}, h[u] = r, h[c] = i, h[a] = n, h)[L] || 1, I = this.$d.getTime() + g * j;
4729
4729
  return O.w(I, this);
4730
4730
  }, E.subtract = function(g, v) {
4731
4731
  return this.add(-1 * g, v);
@@ -4733,17 +4733,17 @@ var Fr = $i(), Ui = { exports: {} };
4733
4733
  var v = this, h = this.$locale();
4734
4734
  if (!this.isValid())
4735
4735
  return h.invalidDate || d;
4736
- var x = g || "YYYY-MM-DDTHH:mm:ssZ", L = O.z(this), N = this.$H, z = this.$m, I = this.$M, q = h.weekdays, m = h.months, U = h.meridiem, ee = function(ie, xe, _e, Ne) {
4737
- return ie && (ie[xe] || ie(v, x)) || _e[xe].slice(0, Ne);
4736
+ var x = g || "YYYY-MM-DDTHH:mm:ssZ", L = O.z(this), N = this.$H, j = this.$m, I = this.$M, q = h.weekdays, m = h.months, U = h.meridiem, ee = function(ie, xe, ge, Ne) {
4737
+ return ie && (ie[xe] || ie(v, x)) || ge[xe].slice(0, Ne);
4738
4738
  }, K = function(ie) {
4739
4739
  return O.s(N % 12 || 12, ie, "0");
4740
- }, ye = U || function(ie, xe, _e) {
4740
+ }, ye = U || function(ie, xe, ge) {
4741
4741
  var Ne = ie < 12 ? "AM" : "PM";
4742
- return _e ? Ne.toLowerCase() : Ne;
4742
+ return ge ? Ne.toLowerCase() : Ne;
4743
4743
  };
4744
4744
  return x.replace(F, function(ie, xe) {
4745
- return xe || function(_e) {
4746
- switch (_e) {
4745
+ return xe || function(ge) {
4746
+ switch (ge) {
4747
4747
  case "YY":
4748
4748
  return String(v.$y).slice(-2);
4749
4749
  case "YYYY":
@@ -4777,13 +4777,13 @@ var Fr = $i(), Ui = { exports: {} };
4777
4777
  case "hh":
4778
4778
  return K(2);
4779
4779
  case "a":
4780
- return ye(N, z, !0);
4780
+ return ye(N, j, !0);
4781
4781
  case "A":
4782
- return ye(N, z, !1);
4782
+ return ye(N, j, !1);
4783
4783
  case "m":
4784
- return String(z);
4784
+ return String(j);
4785
4785
  case "mm":
4786
- return O.s(z, 2, "0");
4786
+ return O.s(j, 2, "0");
4787
4787
  case "s":
4788
4788
  return String(v.$s);
4789
4789
  case "ss":
@@ -4799,8 +4799,8 @@ var Fr = $i(), Ui = { exports: {} };
4799
4799
  }, E.utcOffset = function() {
4800
4800
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4801
4801
  }, E.diff = function(g, v, h) {
4802
- var x, L = this, N = O.p(v), z = G(g), I = (z.utcOffset() - this.utcOffset()) * r, q = this - z, m = function() {
4803
- return O.m(L, z);
4802
+ var x, L = this, N = O.p(v), j = G(g), I = (j.utcOffset() - this.utcOffset()) * r, q = this - j, m = function() {
4803
+ return O.m(L, j);
4804
4804
  };
4805
4805
  switch (N) {
4806
4806
  case M:
@@ -4851,27 +4851,27 @@ var Fr = $i(), Ui = { exports: {} };
4851
4851
  }, E.toString = function() {
4852
4852
  return this.$d.toUTCString();
4853
4853
  }, T;
4854
- }(), he = ne.prototype;
4855
- return G.prototype = he, [["$ms", s], ["$s", a], ["$m", u], ["$H", c], ["$W", l], ["$M", _], ["$y", M], ["$D", b]].forEach(function(T) {
4854
+ }(), he = te.prototype;
4855
+ return G.prototype = he, [["$ms", o], ["$s", a], ["$m", u], ["$H", c], ["$W", l], ["$M", _], ["$y", M], ["$D", b]].forEach(function(T) {
4856
4856
  he[T[1]] = function(E) {
4857
4857
  return this.$g(E, T[0], T[1]);
4858
4858
  };
4859
4859
  }), G.extend = function(T, E) {
4860
- return T.$i || (T(E, ne, G), T.$i = !0), G;
4860
+ return T.$i || (T(E, te, G), T.$i = !0), G;
4861
4861
  }, G.locale = Q, G.isDayjs = V, G.unix = function(T) {
4862
4862
  return G(1e3 * T);
4863
4863
  }, G.en = k[R], G.Ls = k, G.p = {}, G;
4864
4864
  });
4865
- })(Ui);
4866
- var Fa = Ui.exports;
4867
- const Gr = /* @__PURE__ */ Rn(Fa);
4868
- var ki = { exports: {} };
4865
+ })(ki);
4866
+ var Ga = ki.exports;
4867
+ const Gr = /* @__PURE__ */ Rn(Ga);
4868
+ var Fi = { exports: {} };
4869
4869
  (function(e, t) {
4870
4870
  (function(n, r) {
4871
4871
  e.exports = r();
4872
- })(ui, function() {
4872
+ })(li, function() {
4873
4873
  var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4874
- return function(s, a, u) {
4874
+ return function(o, a, u) {
4875
4875
  var c = a.prototype;
4876
4876
  u.utc = function(d) {
4877
4877
  var C = { date: d, utc: !0, args: arguments };
@@ -4908,15 +4908,15 @@ var ki = { exports: {} };
4908
4908
  return Q === 0 ? 0 : V === "+" ? Q : -Q;
4909
4909
  }(d), d === null))
4910
4910
  return this;
4911
- var $ = Math.abs(d) <= 16 ? 60 * d : d, A = this;
4911
+ var $ = Math.abs(d) <= 16 ? 60 * d : d, w = this;
4912
4912
  if (C)
4913
- return A.$offset = $, A.$u = d === 0, A;
4913
+ return w.$offset = $, w.$u = d === 0, w;
4914
4914
  if (d !== 0) {
4915
4915
  var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4916
- (A = this.local().add($ + H, n)).$offset = $, A.$x.$localOffset = H;
4916
+ (w = this.local().add($ + H, n)).$offset = $, w.$x.$localOffset = H;
4917
4917
  } else
4918
- A = this.utc();
4919
- return A;
4918
+ w = this.utc();
4919
+ return w;
4920
4920
  };
4921
4921
  var y = c.format;
4922
4922
  c.format = function(d) {
@@ -4940,22 +4940,22 @@ var ki = { exports: {} };
4940
4940
  c.diff = function(d, C, F) {
4941
4941
  if (d && this.$u === d.$u)
4942
4942
  return b.call(this, d, C, F);
4943
- var $ = this.local(), A = u(d).local();
4944
- return b.call($, A, C, F);
4943
+ var $ = this.local(), w = u(d).local();
4944
+ return b.call($, w, C, F);
4945
4945
  };
4946
4946
  };
4947
4947
  });
4948
- })(ki);
4949
- var Ga = ki.exports;
4950
- const ja = /* @__PURE__ */ Rn(Ga);
4948
+ })(Fi);
4949
+ var ja = Fi.exports;
4950
+ const za = /* @__PURE__ */ Rn(ja);
4951
4951
  let jr = Et(null);
4952
- function za(e, t) {
4952
+ function Wa(e, t) {
4953
4953
  if (e) {
4954
4954
  const n = document.createElement("style");
4955
4955
  n.innerHTML = t, e.appendChild(n);
4956
4956
  }
4957
4957
  }
4958
- function Wa(e, t) {
4958
+ function Va(e, t) {
4959
4959
  const n = new URL(t);
4960
4960
  fetch(n.href).then((r) => r.text()).then((r) => {
4961
4961
  const i = document.createElement("style");
@@ -4964,7 +4964,7 @@ function Wa(e, t) {
4964
4964
  console.error("There was an error while trying to load client styling from URL", r);
4965
4965
  });
4966
4966
  }
4967
- function Va(e, t, n) {
4967
+ function Xa(e, t, n) {
4968
4968
  if (window.emMessageBus) {
4969
4969
  const r = document.createElement("style");
4970
4970
  window.emMessageBus.subscribe(t, (i) => {
@@ -4972,15 +4972,15 @@ function Va(e, t, n) {
4972
4972
  });
4973
4973
  }
4974
4974
  }
4975
- function Xa(e) {
4976
- is(e, "svelte-122ajk5", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:15;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationButton{display:flex;width:100%;height:36px;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;color:var(--emw--color-white, #FFF);cursor:pointer;text-align:center;font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);line-height:36px;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E);border:none}.CashierSessionExpirationButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierSessionExpirationButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierSessionExpirationButton:disabled{background:var(--emw--color-main-button-disabled, #5C950F)}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}.ImagePlaceholder{height:250px;width:100%;background:#E6E6E6}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
4975
+ function Ya(e) {
4976
+ oo(e, "svelte-878602", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.CashierSessionExpirationModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:15;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.2));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-white, #fff);border-radius:var(--emw--border-radius-medium, 4px);width:400px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;height:var(--emw--header-height, 40px);background-color:var(--emw--color-gray-10, rgba(17, 17, 17, 0.0666666667));width:100%;border-radius:var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px) 0 0}.CashierSessionExpirationModalHeaderTitle{display:flex;text-align:center;color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis;line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierSessionExpirationModalContainer{padding:var(--emw--spacing-large, 20px)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:var(--emw--spacing-small-minus, 10px);border-radius:50%;color:var(--emw--color-white, #fff);background:var(--emw--color-gray-transparency-85, rgba(255, 255, 255, 0.85));cursor:pointer;transition:all 150ms ease-in-out}.CashierSessionExpirationModalCloseBtn svg{width:32px;height:32px}.CashierSessionExpirationModalCloseBtn:hover{background:var(--emw--color-gray-transparency-20, rgba(255, 255, 255, 0.2))}.CashierSessionExpiration{width:100%;display:flex;flex-direction:column;align-items:center;gap:var(--emw--spacing-large, 20px)}.CashierSessionExpiration button{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #3854FF)}.CashierSessionExpirationTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierSessionExpirationText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:120%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:disabled{filter:saturate(50%);opacity:0.5;cursor:auto;pointer-events:none}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-medium, 16px);font-family:inherit}.CashierSessionExpirationButtonSpinner{animation:loading-spinner 1s linear infinite}@container session-expiration-modal-window (max-width:750px){.CashierSessionExpirationModalWindow .CashierSessionExpirationModalWrapper{width:90%;max-width:400px}}");
4977
4977
  }
4978
- const Ya = (e) => ({}), zr = (e) => ({}), Za = (e) => ({}), Wr = (e) => ({}), qa = (e) => ({}), Vr = (e) => ({}), Ja = (e) => ({}), Xr = (e) => ({ class: "CashierSessionExpirationIcon" });
4978
+ const Za = (e) => ({}), zr = (e) => ({}), qa = (e) => ({}), Wr = (e) => ({}), Ja = (e) => ({}), Vr = (e) => ({}), Qa = (e) => ({}), Xr = (e) => ({ class: "CashierSessionExpirationIcon" });
4979
4979
  function Yr(e) {
4980
- let t, n, r, i, s, a = (
4980
+ let t, n, r, i, o, a = (
4981
4981
  /*$_*/
4982
4982
  e[8]("sessionExpirationHeader") + ""
4983
- ), u, c, l, f, _, y, M, b, d, C, F, $, A, H, R;
4983
+ ), u, c, l, f, _, y, M, b, d, C, F, $, w, H, R;
4984
4984
  const k = (
4985
4985
  /*#slots*/
4986
4986
  e[22].icon
@@ -4990,7 +4990,7 @@ function Yr(e) {
4990
4990
  /*$$scope*/
4991
4991
  e[21],
4992
4992
  Xr
4993
- ), V = Y || eu(e), Q = (
4993
+ ), V = Y || Ka(e), Q = (
4994
4994
  /*#slots*/
4995
4995
  e[22].title
4996
4996
  ), G = Ht(
@@ -4999,16 +4999,16 @@ function Yr(e) {
4999
4999
  /*$$scope*/
5000
5000
  e[21],
5001
5001
  Vr
5002
- ), O = G || tu(e), ne = (
5002
+ ), O = G || eu(e), te = (
5003
5003
  /*#slots*/
5004
5004
  e[22].text
5005
5005
  ), he = Ht(
5006
- ne,
5006
+ te,
5007
5007
  e,
5008
5008
  /*$$scope*/
5009
5009
  e[21],
5010
5010
  Wr
5011
- ), T = he || nu(e), E = [iu, ru], g = [];
5011
+ ), T = he || tu(e), E = [ru, nu], g = [];
5012
5012
  function v(h, x) {
5013
5013
  return (
5014
5014
  /*showLoaderButton*/
@@ -5017,18 +5017,18 @@ function Yr(e) {
5017
5017
  }
5018
5018
  return d = v(e), C = g[d] = E[d](e), {
5019
5019
  c() {
5020
- t = te("div"), n = te("div"), r = te("div"), i = te("div"), s = te("div"), u = et(a), c = mt(), l = te("div"), f = te("div"), V && V.c(), _ = mt(), O && O.c(), y = mt(), T && T.c(), M = mt(), b = te("button"), C.c(), j(s, "class", "CashierSessionExpirationModalHeaderTitle"), j(i, "class", "CashierSessionExpirationModalHeader"), j(b, "type", "button"), b.disabled = /*showLoaderButton*/
5021
- e[6], j(b, "class", "CashierSessionExpirationButton"), j(f, "class", "CashierSessionExpiration"), j(l, "class", "CashierSessionExpirationModalContainer"), j(r, "class", "CashierSessionExpirationModalWrapper"), j(n, "class", "CashierSessionExpirationModalWindow"), j(n, "id", "CashierSessionExpirationModal"), Ze(() => (
5020
+ t = re("div"), n = re("div"), r = re("div"), i = re("div"), o = re("div"), u = et(a), c = mt(), l = re("div"), f = re("div"), V && V.c(), _ = mt(), O && O.c(), y = mt(), T && T.c(), M = mt(), b = re("button"), C.c(), W(o, "class", "CashierSessionExpirationModalHeaderTitle"), W(i, "class", "CashierSessionExpirationModalHeader"), W(b, "type", "button"), b.disabled = /*showLoaderButton*/
5021
+ e[6], W(b, "class", "CashierSessionExpirationButton"), W(f, "class", "CashierSessionExpiration"), W(l, "class", "CashierSessionExpirationModalContainer"), W(r, "class", "CashierSessionExpirationModalWrapper"), W(n, "class", "CashierSessionExpirationModalWindow"), W(n, "id", "CashierSessionExpirationModal"), Ze(() => (
5022
5022
  /*div5_elementresize_handler*/
5023
5023
  e[24].call(n)
5024
5024
  ));
5025
5025
  },
5026
5026
  m(h, x) {
5027
- Oe(h, t, x), J(t, n), J(n, r), J(r, i), J(i, s), J(s, u), J(r, c), J(r, l), J(l, f), V && V.m(f, null), J(f, _), O && O.m(f, null), J(f, y), T && T.m(f, null), J(f, M), J(f, b), g[d].m(b, null), e[23](f), F = us(
5027
+ Le(h, t, x), J(t, n), J(n, r), J(r, i), J(i, o), J(o, u), J(r, c), J(r, l), J(l, f), V && V.m(f, null), J(f, _), O && O.m(f, null), J(f, y), T && T.m(f, null), J(f, M), J(f, b), g[d].m(b, null), e[23](f), F = lo(
5028
5028
  n,
5029
5029
  /*div5_elementresize_handler*/
5030
5030
  e[24].bind(n)
5031
- ), e[25](t), A = !0, H || (R = [
5031
+ ), e[25](t), w = !0, H || (R = [
5032
5032
  Ft(
5033
5033
  b,
5034
5034
  "click",
@@ -5044,174 +5044,156 @@ function Yr(e) {
5044
5044
  ], H = !0);
5045
5045
  },
5046
5046
  p(h, x) {
5047
- e = h, (!A || x[0] & /*$_*/
5047
+ e = h, (!w || x[0] & /*$_*/
5048
5048
  256) && a !== (a = /*$_*/
5049
- e[8]("sessionExpirationHeader") + "") && qt(u, a), Y ? Y.p && (!A || x[0] & /*$$scope*/
5049
+ e[8]("sessionExpirationHeader") + "") && qt(u, a), Y ? Y.p && (!w || x[0] & /*$$scope*/
5050
5050
  2097152) && Pt(
5051
5051
  Y,
5052
5052
  k,
5053
5053
  e,
5054
5054
  /*$$scope*/
5055
5055
  e[21],
5056
- A ? It(
5056
+ w ? It(
5057
5057
  k,
5058
5058
  /*$$scope*/
5059
5059
  e[21],
5060
5060
  x,
5061
- Ja
5061
+ Qa
5062
5062
  ) : Rt(
5063
5063
  /*$$scope*/
5064
5064
  e[21]
5065
5065
  ),
5066
5066
  Xr
5067
- ) : V && V.p && (!A || x[0] & /*assetsurl*/
5068
- 8) && V.p(e, A ? x : [-1, -1]), G ? G.p && (!A || x[0] & /*$$scope*/
5067
+ ) : V && V.p && (!w || x[0] & /*assetsurl*/
5068
+ 8) && V.p(e, w ? x : [-1, -1]), G ? G.p && (!w || x[0] & /*$$scope*/
5069
5069
  2097152) && Pt(
5070
5070
  G,
5071
5071
  Q,
5072
5072
  e,
5073
5073
  /*$$scope*/
5074
5074
  e[21],
5075
- A ? It(
5075
+ w ? It(
5076
5076
  Q,
5077
5077
  /*$$scope*/
5078
5078
  e[21],
5079
5079
  x,
5080
- qa
5080
+ Ja
5081
5081
  ) : Rt(
5082
5082
  /*$$scope*/
5083
5083
  e[21]
5084
5084
  ),
5085
5085
  Vr
5086
- ) : O && O.p && (!A || x[0] & /*$_*/
5087
- 256) && O.p(e, A ? x : [-1, -1]), he ? he.p && (!A || x[0] & /*$$scope*/
5086
+ ) : O && O.p && (!w || x[0] & /*$_*/
5087
+ 256) && O.p(e, w ? x : [-1, -1]), he ? he.p && (!w || x[0] & /*$$scope*/
5088
5088
  2097152) && Pt(
5089
5089
  he,
5090
- ne,
5090
+ te,
5091
5091
  e,
5092
5092
  /*$$scope*/
5093
5093
  e[21],
5094
- A ? It(
5095
- ne,
5094
+ w ? It(
5095
+ te,
5096
5096
  /*$$scope*/
5097
5097
  e[21],
5098
5098
  x,
5099
- Za
5099
+ qa
5100
5100
  ) : Rt(
5101
5101
  /*$$scope*/
5102
5102
  e[21]
5103
5103
  ),
5104
5104
  Wr
5105
- ) : T && T.p && (!A || x[0] & /*$_, timeLeft*/
5106
- 384) && T.p(e, A ? x : [-1, -1]);
5105
+ ) : T && T.p && (!w || x[0] & /*$_, timeLeft*/
5106
+ 384) && T.p(e, w ? x : [-1, -1]);
5107
5107
  let L = d;
5108
5108
  d = v(e), d === L ? g[d].p(e, x) : (si(), He(g[L], 1, 1, () => {
5109
5109
  g[L] = null;
5110
- }), oi(), C = g[d], C ? C.p(e, x) : (C = g[d] = E[d](e), C.c()), Ae(C, 1), C.m(b, null)), (!A || x[0] & /*showLoaderButton*/
5110
+ }), ai(), C = g[d], C ? C.p(e, x) : (C = g[d] = E[d](e), C.c()), we(C, 1), C.m(b, null)), (!w || x[0] & /*showLoaderButton*/
5111
5111
  64) && (b.disabled = /*showLoaderButton*/
5112
5112
  e[6]);
5113
5113
  },
5114
5114
  i(h) {
5115
- A || (Ae(V, h), Ae(O, h), Ae(T, h), Ae(C), h && Ze(() => {
5116
- A && ($ || ($ = pr(n, gr, { duration: (
5115
+ w || (we(V, h), we(O, h), we(T, h), we(C), h && Ze(() => {
5116
+ w && ($ || ($ = pr(n, gr, { duration: (
5117
5117
  /*duration*/
5118
5118
  e[2]
5119
5119
  ) }, !0)), $.run(1));
5120
- }), A = !0);
5120
+ }), w = !0);
5121
5121
  },
5122
5122
  o(h) {
5123
5123
  He(V, h), He(O, h), He(T, h), He(C), h && ($ || ($ = pr(n, gr, { duration: (
5124
5124
  /*duration*/
5125
5125
  e[2]
5126
- ) }, !1)), $.run(0)), A = !1;
5126
+ ) }, !1)), $.run(0)), w = !1;
5127
5127
  },
5128
5128
  d(h) {
5129
- h && ge(t), V && V.d(h), O && O.d(h), T && T.d(h), g[d].d(), e[23](null), F(), h && $ && $.end(), e[25](null), H = !1, Pe(R);
5130
- }
5131
- };
5132
- }
5133
- function Qa(e) {
5134
- let t;
5135
- return {
5136
- c() {
5137
- t = te("div"), j(t, "class", "ImagePlaceholder");
5138
- },
5139
- m(n, r) {
5140
- Oe(n, t, r);
5141
- },
5142
- p: de,
5143
- d(n) {
5144
- n && ge(t);
5129
+ h && Ee(t), V && V.d(h), O && O.d(h), T && T.d(h), g[d].d(), e[23](null), F(), h && $ && $.end(), e[25](null), H = !1, Pe(R);
5145
5130
  }
5146
5131
  };
5147
5132
  }
5148
- function Ka(e) {
5133
+ function Zr(e) {
5149
5134
  let t, n;
5150
5135
  return {
5151
5136
  c() {
5152
- t = te("img"), cr(t.src, n = `${/*assetsurl*/
5153
- e[3]}/set-timeout-icon.png`) || j(t, "src", n), j(t, "width", "300px"), j(t, "alt", "error");
5137
+ t = re("img"), cr(t.src, n = `${/*assetsurl*/
5138
+ e[3]}/set-timeout-icon.png`) || W(t, "src", n), W(t, "width", "300px"), W(t, "alt", "error");
5154
5139
  },
5155
5140
  m(r, i) {
5156
- Oe(r, t, i);
5141
+ Le(r, t, i);
5157
5142
  },
5158
5143
  p(r, i) {
5159
5144
  i[0] & /*assetsurl*/
5160
5145
  8 && !cr(t.src, n = `${/*assetsurl*/
5161
- r[3]}/set-timeout-icon.png`) && j(t, "src", n);
5146
+ r[3]}/set-timeout-icon.png`) && W(t, "src", n);
5162
5147
  },
5163
5148
  d(r) {
5164
- r && ge(t);
5149
+ r && Ee(t);
5165
5150
  }
5166
5151
  };
5167
5152
  }
5168
- function eu(e) {
5169
- let t;
5170
- function n(s, a) {
5171
- return (
5172
- /*assetsurl*/
5173
- s[3] ? Ka : Qa
5174
- );
5175
- }
5176
- let r = n(e), i = r(e);
5153
+ function Ka(e) {
5154
+ let t, n = (
5155
+ /*assetsurl*/
5156
+ e[3] && Zr(e)
5157
+ );
5177
5158
  return {
5178
5159
  c() {
5179
- i.c(), t = ri();
5160
+ n && n.c(), t = ii();
5180
5161
  },
5181
- m(s, a) {
5182
- i.m(s, a), Oe(s, t, a);
5162
+ m(r, i) {
5163
+ n && n.m(r, i), Le(r, t, i);
5183
5164
  },
5184
- p(s, a) {
5185
- r === (r = n(s)) && i ? i.p(s, a) : (i.d(1), i = r(s), i && (i.c(), i.m(t.parentNode, t)));
5165
+ p(r, i) {
5166
+ /*assetsurl*/
5167
+ r[3] ? n ? n.p(r, i) : (n = Zr(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
5186
5168
  },
5187
- d(s) {
5188
- s && ge(t), i.d(s);
5169
+ d(r) {
5170
+ r && Ee(t), n && n.d(r);
5189
5171
  }
5190
5172
  };
5191
5173
  }
5192
- function tu(e) {
5174
+ function eu(e) {
5193
5175
  let t, n = (
5194
5176
  /*$_*/
5195
5177
  e[8]("sessionExpirationTitle") + ""
5196
5178
  ), r;
5197
5179
  return {
5198
5180
  c() {
5199
- t = te("span"), r = et(n), j(t, "class", "CashierSessionExpirationTitle");
5181
+ t = re("span"), r = et(n), W(t, "class", "CashierSessionExpirationTitle");
5200
5182
  },
5201
- m(i, s) {
5202
- Oe(i, t, s), J(t, r);
5183
+ m(i, o) {
5184
+ Le(i, t, o), J(t, r);
5203
5185
  },
5204
- p(i, s) {
5205
- s[0] & /*$_*/
5186
+ p(i, o) {
5187
+ o[0] & /*$_*/
5206
5188
  256 && n !== (n = /*$_*/
5207
5189
  i[8]("sessionExpirationTitle") + "") && qt(r, n);
5208
5190
  },
5209
5191
  d(i) {
5210
- i && ge(t);
5192
+ i && Ee(t);
5211
5193
  }
5212
5194
  };
5213
5195
  }
5214
- function nu(e) {
5196
+ function tu(e) {
5215
5197
  let t, n = Fr.sanitize(
5216
5198
  /*$_*/
5217
5199
  e[8]("sessionExpirationGeneralText", { values: { second: (
@@ -5221,10 +5203,10 @@ function nu(e) {
5221
5203
  ) + "";
5222
5204
  return {
5223
5205
  c() {
5224
- t = te("span"), j(t, "class", "CashierSessionExpirationText");
5206
+ t = re("span"), W(t, "class", "CashierSessionExpirationText");
5225
5207
  },
5226
5208
  m(r, i) {
5227
- Oe(r, t, i), t.innerHTML = n;
5209
+ Le(r, t, i), t.innerHTML = n;
5228
5210
  },
5229
5211
  p(r, i) {
5230
5212
  i[0] & /*$_, timeLeft*/
@@ -5237,11 +5219,11 @@ function nu(e) {
5237
5219
  ) + "") && (t.innerHTML = n);
5238
5220
  },
5239
5221
  d(r) {
5240
- r && ge(t);
5222
+ r && Ee(t);
5241
5223
  }
5242
5224
  };
5243
5225
  }
5244
- function ru(e) {
5226
+ function nu(e) {
5245
5227
  let t;
5246
5228
  const n = (
5247
5229
  /*#slots*/
@@ -5252,58 +5234,58 @@ function ru(e) {
5252
5234
  /*$$scope*/
5253
5235
  e[21],
5254
5236
  zr
5255
- ), i = r || su(e);
5237
+ ), i = r || iu(e);
5256
5238
  return {
5257
5239
  c() {
5258
5240
  i && i.c();
5259
5241
  },
5260
- m(s, a) {
5261
- i && i.m(s, a), t = !0;
5242
+ m(o, a) {
5243
+ i && i.m(o, a), t = !0;
5262
5244
  },
5263
- p(s, a) {
5245
+ p(o, a) {
5264
5246
  r ? r.p && (!t || a[0] & /*$$scope*/
5265
5247
  2097152) && Pt(
5266
5248
  r,
5267
5249
  n,
5268
- s,
5250
+ o,
5269
5251
  /*$$scope*/
5270
- s[21],
5252
+ o[21],
5271
5253
  t ? It(
5272
5254
  n,
5273
5255
  /*$$scope*/
5274
- s[21],
5256
+ o[21],
5275
5257
  a,
5276
- Ya
5258
+ Za
5277
5259
  ) : Rt(
5278
5260
  /*$$scope*/
5279
- s[21]
5261
+ o[21]
5280
5262
  ),
5281
5263
  zr
5282
5264
  ) : i && i.p && (!t || a[0] & /*$_*/
5283
- 256) && i.p(s, t ? a : [-1, -1]);
5265
+ 256) && i.p(o, t ? a : [-1, -1]);
5284
5266
  },
5285
- i(s) {
5286
- t || (Ae(i, s), t = !0);
5267
+ i(o) {
5268
+ t || (we(i, o), t = !0);
5287
5269
  },
5288
- o(s) {
5289
- He(i, s), t = !1;
5270
+ o(o) {
5271
+ He(i, o), t = !1;
5290
5272
  },
5291
- d(s) {
5292
- i && i.d(s);
5273
+ d(o) {
5274
+ i && i.d(o);
5293
5275
  }
5294
5276
  };
5295
5277
  }
5296
- function iu(e) {
5297
- let t, n, r, i, s, a = (
5278
+ function ru(e) {
5279
+ let t, n, r, i, o, a = (
5298
5280
  /*$_*/
5299
5281
  e[8]("sessionExpirationLoadingButton") + ""
5300
5282
  ), u;
5301
5283
  return {
5302
5284
  c() {
5303
- t = te("div"), n = hr("svg"), r = hr("path"), i = mt(), s = te("span"), u = et(a), j(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"), j(r, "fill", "white"), j(n, "class", "CashierSessionExpirationButtonSpinner"), j(n, "xmlns", "http://www.w3.org/2000/svg"), j(n, "width", "15"), j(n, "height", "14"), j(n, "viewBox", "0 0 15 14"), j(n, "fill", "none"), j(s, "class", "CashierSessionExpirationButtonText");
5285
+ t = re("div"), n = hr("svg"), r = hr("path"), i = mt(), o = re("span"), u = et(a), W(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"), W(r, "fill", "white"), W(n, "class", "CashierSessionExpirationButtonSpinner"), W(n, "xmlns", "http://www.w3.org/2000/svg"), W(n, "width", "15"), W(n, "height", "14"), W(n, "viewBox", "0 0 15 14"), W(n, "fill", "none"), W(o, "class", "CashierSessionExpirationButtonText");
5304
5286
  },
5305
5287
  m(c, l) {
5306
- Oe(c, t, l), J(t, n), J(n, r), J(t, i), J(t, s), J(s, u);
5288
+ Le(c, t, l), J(t, n), J(n, r), J(t, i), J(t, o), J(o, u);
5307
5289
  },
5308
5290
  p(c, l) {
5309
5291
  l[0] & /*$_*/
@@ -5313,29 +5295,29 @@ function iu(e) {
5313
5295
  i: de,
5314
5296
  o: de,
5315
5297
  d(c) {
5316
- c && ge(t);
5298
+ c && Ee(t);
5317
5299
  }
5318
5300
  };
5319
5301
  }
5320
- function su(e) {
5302
+ function iu(e) {
5321
5303
  let t, n = (
5322
5304
  /*$_*/
5323
5305
  e[8]("sessionExpirationGeneralButton") + ""
5324
5306
  ), r;
5325
5307
  return {
5326
5308
  c() {
5327
- t = te("span"), r = et(n), j(t, "class", "CashierSessionExpirationButtonText");
5309
+ t = re("span"), r = et(n), W(t, "class", "CashierSessionExpirationButtonText");
5328
5310
  },
5329
- m(i, s) {
5330
- Oe(i, t, s), J(t, r);
5311
+ m(i, o) {
5312
+ Le(i, t, o), J(t, r);
5331
5313
  },
5332
- p(i, s) {
5333
- s[0] & /*$_*/
5314
+ p(i, o) {
5315
+ o[0] & /*$_*/
5334
5316
  256 && n !== (n = /*$_*/
5335
5317
  i[8]("sessionExpirationGeneralButton") + "") && qt(r, n);
5336
5318
  },
5337
5319
  d(i) {
5338
- i && ge(t);
5320
+ i && Ee(t);
5339
5321
  }
5340
5322
  };
5341
5323
  }
@@ -5346,40 +5328,40 @@ function ou(e) {
5346
5328
  );
5347
5329
  return {
5348
5330
  c() {
5349
- r && r.c(), t = ri();
5331
+ r && r.c(), t = ii();
5350
5332
  },
5351
- m(i, s) {
5352
- r && r.m(i, s), Oe(i, t, s), n = !0;
5333
+ m(i, o) {
5334
+ r && r.m(i, o), Le(i, t, o), n = !0;
5353
5335
  },
5354
- p(i, s) {
5336
+ p(i, o) {
5355
5337
  /*show*/
5356
- i[5] ? r ? (r.p(i, s), s[0] & /*show*/
5357
- 32 && Ae(r, 1)) : (r = Yr(i), r.c(), Ae(r, 1), r.m(t.parentNode, t)) : r && (si(), He(r, 1, 1, () => {
5338
+ i[5] ? r ? (r.p(i, o), o[0] & /*show*/
5339
+ 32 && we(r, 1)) : (r = Yr(i), r.c(), we(r, 1), r.m(t.parentNode, t)) : r && (si(), He(r, 1, 1, () => {
5358
5340
  r = null;
5359
- }), oi());
5341
+ }), ai());
5360
5342
  },
5361
5343
  i(i) {
5362
- n || (Ae(r), n = !0);
5344
+ n || (we(r), n = !0);
5363
5345
  },
5364
5346
  o(i) {
5365
5347
  He(r), n = !1;
5366
5348
  },
5367
5349
  d(i) {
5368
- i && ge(t), r && r.d(i);
5350
+ i && Ee(t), r && r.d(i);
5369
5351
  }
5370
5352
  };
5371
5353
  }
5372
- const au = 90;
5373
- function uu(e, t, n) {
5354
+ const su = 90;
5355
+ function au(e, t, n) {
5374
5356
  let r, i;
5375
- fr(e, jr, (m) => n(20, r = m)), fr(e, ya, (m) => n(8, i = m));
5376
- let { $$slots: s = {}, $$scope: a } = t;
5377
- Gr.extend(ja);
5378
- let { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: _ = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: b = "" } = t, { endpoint: d } = t, { currency: C } = t, { customerid: F } = t, { selectedpaymentmethodname: $ } = t, { mbsource: A = "" } = t, H, R = !1, k = !1, Y, V, Q, G, O;
5379
- var ne;
5357
+ fr(e, jr, (m) => n(20, r = m)), fr(e, xa, (m) => n(8, i = m));
5358
+ let { $$slots: o = {}, $$scope: a } = t;
5359
+ Gr.extend(za);
5360
+ let { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { width: l } = t, { height: f } = t, { duration: _ = 200 } = t, { assetsurl: y = "" } = t, { lang: M = "en" } = t, { translationurl: b = "" } = t, { endpoint: d } = t, { currency: C } = t, { customerid: F } = t, { selectedpaymentmethodname: $ } = t, { mbsource: w = "" } = t, H, R = !1, k = !1, Y, V, Q, G, O;
5361
+ var te;
5380
5362
  (function(m) {
5381
5363
  m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
5382
- })(ne || (ne = {}));
5364
+ })(te || (te = {}));
5383
5365
  const he = (m) => {
5384
5366
  m.data.type === "StartSessionCountdown" && (G = m.data.paymentMethodName);
5385
5367
  }, T = (m) => {
@@ -5402,7 +5384,7 @@ function uu(e, t, n) {
5402
5384
  U && (V = U == null ? void 0 : U.exp, n(7, Y = V), Q && clearInterval(Q), Q = setInterval(
5403
5385
  () => {
5404
5386
  const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5405
- n(7, Y = V - ee), Y <= au && n(5, R = !0), ee >= V && (v(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5387
+ n(7, Y = V - ee), Y <= su && n(5, R = !0), ee >= V && (v(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5406
5388
  },
5407
5389
  1e3
5408
5390
  ));
@@ -5434,11 +5416,11 @@ function uu(e, t, n) {
5434
5416
  ), v();
5435
5417
  return;
5436
5418
  }
5437
- if (K.ResponseCode === ne.PlayerSessionIsNotValid || K.ResponseCode === ne.JwtTokenError) {
5419
+ if (K.ResponseCode === te.PlayerSessionIsNotValid || K.ResponseCode === te.JwtTokenError) {
5438
5420
  O = K.ResponseCode, v(), E();
5439
5421
  return;
5440
5422
  }
5441
- if (K.ResponseCode !== ne.Success) {
5423
+ if (K.ResponseCode !== te.Success) {
5442
5424
  O = K.ResponseCode, v();
5443
5425
  return;
5444
5426
  }
@@ -5460,14 +5442,14 @@ function uu(e, t, n) {
5460
5442
  Nr(m, Hr[m]);
5461
5443
  });
5462
5444
  const N = () => {
5463
- xa(M);
5445
+ va(M);
5464
5446
  };
5465
- ps(() => (window.addEventListener("message", he, !1), () => {
5447
+ _o(() => (window.addEventListener("message", he, !1), () => {
5466
5448
  window.removeEventListener("message", he);
5467
- })), gs(() => {
5449
+ })), bo(() => {
5468
5450
  clearInterval(Q);
5469
5451
  });
5470
- function z(m) {
5452
+ function j(m) {
5471
5453
  zt[m ? "unshift" : "push"](() => {
5472
5454
  H = m, n(4, H);
5473
5455
  });
@@ -5481,14 +5463,14 @@ function uu(e, t, n) {
5481
5463
  });
5482
5464
  }
5483
5465
  return e.$$set = (m) => {
5484
- "clientstyling" in m && n(11, u = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0, l = m.width), "height" in m && n(1, f = m.height), "duration" in m && n(2, _ = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, b = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, C = m.currency), "customerid" in m && n(17, F = m.customerid), "selectedpaymentmethodname" in m && n(18, $ = m.selectedpaymentmethodname), "mbsource" in m && n(19, A = m.mbsource), "$$scope" in m && n(21, a = m.$$scope);
5466
+ "clientstyling" in m && n(11, u = m.clientstyling), "clientstylingurl" in m && n(12, c = m.clientstylingurl), "width" in m && n(0, l = m.width), "height" in m && n(1, f = m.height), "duration" in m && n(2, _ = m.duration), "assetsurl" in m && n(3, y = m.assetsurl), "lang" in m && n(13, M = m.lang), "translationurl" in m && n(14, b = m.translationurl), "endpoint" in m && n(15, d = m.endpoint), "currency" in m && n(16, C = m.currency), "customerid" in m && n(17, F = m.customerid), "selectedpaymentmethodname" in m && n(18, $ = m.selectedpaymentmethodname), "mbsource" in m && n(19, w = m.mbsource), "$$scope" in m && n(21, a = m.$$scope);
5485
5467
  }, e.$$.update = () => {
5486
5468
  e.$$.dirty[0] & /*$xPaymentSessionToken*/
5487
5469
  1048576 && g(r), e.$$.dirty[0] & /*lang*/
5488
5470
  8192 && M && N(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5489
- 2064 && u && H && za(H, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5490
- 4112 && c && H && Wa(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5491
- 524304 && A && H && Va(H, `${A}.Style`), e.$$.dirty[0] & /*translationurl*/
5471
+ 2064 && u && H && Wa(H, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5472
+ 4112 && c && H && Va(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5473
+ 524304 && w && H && Xa(H, `${w}.Style`), e.$$.dirty[0] & /*translationurl*/
5492
5474
  16384 && b && L();
5493
5475
  }, [
5494
5476
  l,
@@ -5510,23 +5492,23 @@ function uu(e, t, n) {
5510
5492
  C,
5511
5493
  F,
5512
5494
  $,
5513
- A,
5495
+ w,
5514
5496
  r,
5515
5497
  a,
5516
- s,
5517
- z,
5498
+ o,
5499
+ j,
5518
5500
  I,
5519
5501
  q
5520
5502
  ];
5521
5503
  }
5522
- class lu extends Ms {
5504
+ class uu extends Lo {
5523
5505
  constructor(t) {
5524
- super(), ws(
5506
+ super(), Mo(
5525
5507
  this,
5526
5508
  t,
5527
- uu,
5509
+ au,
5528
5510
  ou,
5529
- Jr,
5511
+ Qr,
5530
5512
  {
5531
5513
  clientstyling: 11,
5532
5514
  clientstylingurl: 12,
@@ -5542,7 +5524,7 @@ class lu extends Ms {
5542
5524
  selectedpaymentmethodname: 18,
5543
5525
  mbsource: 19
5544
5526
  },
5545
- Xa,
5527
+ Ya,
5546
5528
  [-1, -1]
5547
5529
  );
5548
5530
  }
@@ -5625,7 +5607,7 @@ class lu extends Ms {
5625
5607
  this.$$set({ mbsource: t }), le();
5626
5608
  }
5627
5609
  }
5628
- Os(lu, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5610
+ Co(uu, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5629
5611
  export {
5630
- lu as default
5612
+ uu as default
5631
5613
  };