@everymatrix/cashier-session-expiration-modal 1.87.26 → 1.87.27

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,17 +1,17 @@
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, ar = (e, t) => {
1
+ var qi = Object.defineProperty, Ji = Object.defineProperties;
2
+ var Qi = Object.getOwnPropertyDescriptors;
3
+ var ar = Object.getOwnPropertySymbols;
4
+ var Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable;
5
+ var cn = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, lr = (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) && cn(e, n, t[n]);
8
+ if (ar)
9
+ for (var n of ar(t))
10
+ eo.call(t, n) && cn(e, n, t[n]);
11
11
  return e;
12
- }, lr = (e, t) => qi(e, Ji(t));
13
- var ve = (e, t, n) => (un(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var ur = (e, t, n) => new Promise((r, i) => {
12
+ }, ur = (e, t) => Ji(e, Qi(t));
13
+ var ve = (e, t, n) => (cn(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var cr = (e, t, n) => new Promise((r, i) => {
15
15
  var o = (c) => {
16
16
  try {
17
17
  a(n.next(c));
@@ -29,8 +29,8 @@ var ur = (e, t, n) => new Promise((r, i) => {
29
29
  });
30
30
  function ye() {
31
31
  }
32
- const qr = (e) => e;
33
- function eo(e, t) {
32
+ const Jr = (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 eo(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function Jr(e) {
41
+ function Qr(e) {
42
42
  return e();
43
43
  }
44
- function cr() {
44
+ function fr() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function Ue(e) {
48
- e.forEach(Jr);
48
+ e.forEach(Qr);
49
49
  }
50
- function Kt(e) {
50
+ function en(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Qr(e, t) {
53
+ function Kr(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- let Nt;
57
- function fr(e, t) {
58
- return e === t ? !0 : (Nt || (Nt = document.createElement("a")), Nt.href = t, e === Nt.href);
56
+ let It;
57
+ function hr(e, t) {
58
+ return e === t ? !0 : (It || (It = document.createElement("a")), It.href = t, e === It.href);
59
59
  }
60
- function to(e) {
60
+ function no(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Kr(e, ...t) {
63
+ function ei(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const r of t)
66
66
  r(void 0);
@@ -69,19 +69,19 @@ function Kr(e, ...t) {
69
69
  const n = e.subscribe(...t);
70
70
  return n.unsubscribe ? () => n.unsubscribe() : n;
71
71
  }
72
- function hr(e, t, n) {
73
- e.$$.on_destroy.push(Kr(t, n));
72
+ function mr(e, t, n) {
73
+ e.$$.on_destroy.push(ei(t, n));
74
74
  }
75
- function Bt(e, t, n, r) {
75
+ function $t(e, t, n, r) {
76
76
  if (e) {
77
- const i = ei(e, t, n, r);
77
+ const i = ti(e, t, n, r);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function ei(e, t, n, r) {
82
- return e[1] && r ? eo(n.ctx.slice(), e[1](r(t))) : n.ctx;
81
+ function ti(e, t, n, r) {
82
+ return e[1] && r ? to(n.ctx.slice(), e[1](r(t))) : n.ctx;
83
83
  }
84
- function $t(e, t, n, r) {
84
+ function Ut(e, t, n, r) {
85
85
  if (e[2] && r) {
86
86
  const i = e[2](r(n));
87
87
  if (t.dirty === void 0)
@@ -96,13 +96,13 @@ function $t(e, t, n, r) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Ut(e, t, n, r, i, o) {
99
+ function kt(e, t, n, r, i, o) {
100
100
  if (i) {
101
- const l = ei(t, n, r, o);
101
+ const l = ti(t, n, r, o);
102
102
  e.p(l, i);
103
103
  }
104
104
  }
105
- function kt(e) {
105
+ function Gt(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], n = e.ctx.length / 32;
108
108
  for (let r = 0; r < n; r++)
@@ -111,36 +111,36 @@ function kt(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- const ti = typeof window != "undefined";
115
- let no = ti ? () => window.performance.now() : () => Date.now(), Pn = ti ? (e) => requestAnimationFrame(e) : ye;
116
- const Ke = /* @__PURE__ */ new Set();
117
- function ni(e) {
118
- Ke.forEach((t) => {
119
- t.c(e) || (Ke.delete(t), t.f());
120
- }), Ke.size !== 0 && Pn(ni);
114
+ const ni = typeof window != "undefined";
115
+ let ro = ni ? () => window.performance.now() : () => Date.now(), Rn = ni ? (e) => requestAnimationFrame(e) : ye;
116
+ const et = /* @__PURE__ */ new Set();
117
+ function ri(e) {
118
+ et.forEach((t) => {
119
+ t.c(e) || (et.delete(t), t.f());
120
+ }), et.size !== 0 && Rn(ri);
121
121
  }
122
- function ro(e) {
122
+ function io(e) {
123
123
  let t;
124
- return Ke.size === 0 && Pn(ni), {
124
+ return et.size === 0 && Rn(ri), {
125
125
  promise: new Promise((n) => {
126
- Ke.add(t = { c: e, f: n });
126
+ et.add(t = { c: e, f: n });
127
127
  }),
128
128
  abort() {
129
- Ke.delete(t);
129
+ et.delete(t);
130
130
  }
131
131
  };
132
132
  }
133
- function B(e, t) {
133
+ function $(e, t) {
134
134
  e.appendChild(t);
135
135
  }
136
- function io(e, t, n) {
137
- const r = Rn(e);
136
+ function oo(e, t, n) {
137
+ const r = Dn(e);
138
138
  if (!r.getElementById(t)) {
139
- const i = te("style");
140
- i.id = t, i.textContent = n, ri(r, i);
139
+ const i = ne("style");
140
+ i.id = t, i.textContent = n, ii(r, i);
141
141
  }
142
142
  }
143
- function Rn(e) {
143
+ function Dn(e) {
144
144
  if (!e)
145
145
  return document;
146
146
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -150,12 +150,12 @@ function Rn(e) {
150
150
  t
151
151
  ) : e.ownerDocument;
152
152
  }
153
- function oo(e) {
154
- const t = te("style");
155
- return t.textContent = "/* empty */", ri(Rn(e), t), t.sheet;
153
+ function so(e) {
154
+ const t = ne("style");
155
+ return t.textContent = "/* empty */", ii(Dn(e), t), t.sheet;
156
156
  }
157
- function ri(e, t) {
158
- return B(
157
+ function ii(e, t) {
158
+ return $(
159
159
  /** @type {Document} */
160
160
  e.head || e,
161
161
  t
@@ -167,7 +167,7 @@ function ke(e, t, n) {
167
167
  function Ae(e) {
168
168
  e.parentNode && e.parentNode.removeChild(e);
169
169
  }
170
- function te(e) {
170
+ function ne(e) {
171
171
  return document.createElement(e);
172
172
  }
173
173
  function Se(e) {
@@ -179,44 +179,44 @@ function je(e) {
179
179
  function Re() {
180
180
  return je(" ");
181
181
  }
182
- function so() {
182
+ function ao() {
183
183
  return je("");
184
184
  }
185
- function Qe(e, t, n, r) {
185
+ function Ke(e, t, n, r) {
186
186
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
187
187
  }
188
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 ao(e) {
191
+ function lo(e) {
192
192
  return Array.from(e.childNodes);
193
193
  }
194
- function yt(e, t) {
194
+ function xt(e, t) {
195
195
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
196
196
  t);
197
197
  }
198
- let It;
199
- function lo() {
200
- if (It === void 0) {
201
- It = !1;
198
+ let Pt;
199
+ function uo() {
200
+ if (Pt === void 0) {
201
+ Pt = !1;
202
202
  try {
203
203
  typeof window != "undefined" && window.parent && window.parent.document;
204
204
  } catch (e) {
205
- It = !0;
205
+ Pt = !0;
206
206
  }
207
207
  }
208
- return It;
208
+ return Pt;
209
209
  }
210
- function uo(e, t) {
210
+ function co(e, t) {
211
211
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
212
- const r = te("iframe");
212
+ const r = ne("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 = lo();
217
+ const i = uo();
218
218
  let o;
219
- return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Qe(
219
+ return i ? (r.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = Ke(
220
220
  window,
221
221
  "message",
222
222
  /** @param {MessageEvent} event */
@@ -224,15 +224,15 @@ function uo(e, t) {
224
224
  l.source === r.contentWindow && t();
225
225
  }
226
226
  )) : (r.src = "about:blank", r.onload = () => {
227
- o = Qe(r.contentWindow, "resize", t), t();
228
- }), B(e, r), () => {
227
+ o = Ke(r.contentWindow, "resize", t), t();
228
+ }), $(e, r), () => {
229
229
  (i || o && r.contentWindow) && o(), Ae(r);
230
230
  };
231
231
  }
232
- function co(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
232
+ function fo(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
233
233
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
234
234
  }
235
- function fo(e) {
235
+ function ho(e) {
236
236
  const t = {};
237
237
  return e.childNodes.forEach(
238
238
  /** @param {Element} node */
@@ -241,123 +241,123 @@ function fo(e) {
241
241
  }
242
242
  ), t;
243
243
  }
244
- const Vt = /* @__PURE__ */ new Map();
245
- let Xt = 0;
246
- function ho(e) {
244
+ const Xt = /* @__PURE__ */ new Map();
245
+ let Yt = 0;
246
+ function mo(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 mo(e, t) {
253
- const n = { stylesheet: oo(t), rules: {} };
254
- return Vt.set(e, n), n;
252
+ function po(e, t) {
253
+ const n = { stylesheet: so(t), rules: {} };
254
+ return Xt.set(e, n), n;
255
255
  }
256
- function mr(e, t, n, r, i, o, l, a = 0) {
256
+ function pr(e, t, n, r, i, o, l, a = 0) {
257
257
  const c = 16.666 / r;
258
258
  let u = `{
259
259
  `;
260
260
  for (let N = 0; N <= 1; N += c) {
261
- const U = t + (n - t) * o(N);
262
- u += N * 100 + `%{${l(U, 1 - U)}}
261
+ const k = t + (n - t) * o(N);
262
+ u += N * 100 + `%{${l(k, 1 - k)}}
263
263
  `;
264
264
  }
265
265
  const f = u + `100% {${l(n, 1 - n)}}
266
- }`, m = `__svelte_${ho(f)}_${a}`, y = Rn(e), { stylesheet: A, rules: x } = Vt.get(y) || mo(y, e);
266
+ }`, m = `__svelte_${mo(f)}_${a}`, y = Dn(e), { stylesheet: A, rules: x } = Xt.get(y) || po(y, e);
267
267
  x[m] || (x[m] = !0, A.insertRule(`@keyframes ${m} ${f}`, A.cssRules.length));
268
268
  const g = e.style.animation || "";
269
- return e.style.animation = `${g ? `${g}, ` : ""}${m} ${r}ms linear ${i}ms 1 both`, Xt += 1, m;
269
+ return e.style.animation = `${g ? `${g}, ` : ""}${m} ${r}ms linear ${i}ms 1 both`, Yt += 1, m;
270
270
  }
271
- function po(e, t) {
271
+ function go(e, t) {
272
272
  const n = (e.style.animation || "").split(", "), r = n.filter(
273
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(", "), Xt -= i, Xt || go());
276
+ i && (e.style.animation = r.join(", "), Yt -= i, Yt || _o());
277
277
  }
278
- function go() {
279
- Pn(() => {
280
- Xt || (Vt.forEach((e) => {
278
+ function _o() {
279
+ Rn(() => {
280
+ Yt || (Xt.forEach((e) => {
281
281
  const { ownerNode: t } = e.stylesheet;
282
282
  t && Ae(t);
283
- }), Vt.clear());
283
+ }), Xt.clear());
284
284
  });
285
285
  }
286
- let xt;
287
- function Et(e) {
288
- xt = e;
286
+ let vt;
287
+ function yt(e) {
288
+ vt = e;
289
289
  }
290
- function ii() {
291
- if (!xt)
290
+ function oi() {
291
+ if (!vt)
292
292
  throw new Error("Function called outside component initialization");
293
- return xt;
294
- }
295
- function _o(e) {
296
- ii().$$.on_mount.push(e);
293
+ return vt;
297
294
  }
298
295
  function bo(e) {
299
- ii().$$.on_destroy.push(e);
296
+ oi().$$.on_mount.push(e);
297
+ }
298
+ function Eo(e) {
299
+ oi().$$.on_destroy.push(e);
300
300
  }
301
- const Je = [], Yt = [];
302
- let et = [];
303
- const pr = [], Eo = /* @__PURE__ */ Promise.resolve();
304
- let Tn = !1;
305
- function yo() {
306
- Tn || (Tn = !0, Eo.then(de));
301
+ const Je = [], Zt = [];
302
+ let tt = [];
303
+ const dr = [], yo = /* @__PURE__ */ Promise.resolve();
304
+ let Sn = !1;
305
+ function xo() {
306
+ Sn || (Sn = !0, yo.then(ge));
307
307
  }
308
- function tt(e) {
309
- et.push(e);
308
+ function nt(e) {
309
+ tt.push(e);
310
310
  }
311
- const cn = /* @__PURE__ */ new Set();
311
+ const fn = /* @__PURE__ */ new Set();
312
312
  let Ze = 0;
313
- function de() {
313
+ function ge() {
314
314
  if (Ze !== 0)
315
315
  return;
316
- const e = xt;
316
+ const e = vt;
317
317
  do {
318
318
  try {
319
319
  for (; Ze < Je.length; ) {
320
320
  const t = Je[Ze];
321
- Ze++, Et(t), xo(t.$$);
321
+ Ze++, yt(t), vo(t.$$);
322
322
  }
323
323
  } catch (t) {
324
324
  throw Je.length = 0, Ze = 0, t;
325
325
  }
326
- for (Et(null), Je.length = 0, Ze = 0; Yt.length; )
327
- Yt.pop()();
328
- for (let t = 0; t < et.length; t += 1) {
329
- const n = et[t];
330
- cn.has(n) || (cn.add(n), n());
326
+ for (yt(null), Je.length = 0, Ze = 0; Zt.length; )
327
+ Zt.pop()();
328
+ for (let t = 0; t < tt.length; t += 1) {
329
+ const n = tt[t];
330
+ fn.has(n) || (fn.add(n), n());
331
331
  }
332
- et.length = 0;
332
+ tt.length = 0;
333
333
  } while (Je.length);
334
- for (; pr.length; )
335
- pr.pop()();
336
- Tn = !1, cn.clear(), Et(e);
334
+ for (; dr.length; )
335
+ dr.pop()();
336
+ Sn = !1, fn.clear(), yt(e);
337
337
  }
338
- function xo(e) {
338
+ function vo(e) {
339
339
  if (e.fragment !== null) {
340
340
  e.update(), Ue(e.before_update);
341
341
  const t = e.dirty;
342
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(tt);
342
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(nt);
343
343
  }
344
344
  }
345
- function vo(e) {
345
+ function To(e) {
346
346
  const t = [], n = [];
347
- et.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), et = t;
347
+ tt.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), tt = t;
348
348
  }
349
- let ft;
350
- function To() {
351
- return ft || (ft = Promise.resolve(), ft.then(() => {
352
- ft = null;
353
- })), ft;
349
+ let ht;
350
+ function So() {
351
+ return ht || (ht = Promise.resolve(), ht.then(() => {
352
+ ht = null;
353
+ })), ht;
354
354
  }
355
- function fn(e, t, n) {
356
- e.dispatchEvent(co(`${t ? "intro" : "outro"}${n}`));
355
+ function hn(e, t, n) {
356
+ e.dispatchEvent(fo(`${t ? "intro" : "outro"}${n}`));
357
357
  }
358
- const Gt = /* @__PURE__ */ new Set();
358
+ const Ft = /* @__PURE__ */ new Set();
359
359
  let De;
360
- function oi() {
360
+ function si() {
361
361
  De = {
362
362
  r: 0,
363
363
  c: [],
@@ -365,27 +365,27 @@ function oi() {
365
365
  // parent group
366
366
  };
367
367
  }
368
- function si() {
368
+ function ai() {
369
369
  De.r || Ue(De.c), De = De.p;
370
370
  }
371
371
  function He(e, t) {
372
- e && e.i && (Gt.delete(e), e.i(t));
372
+ e && e.i && (Ft.delete(e), e.i(t));
373
373
  }
374
374
  function Be(e, t, n, r) {
375
375
  if (e && e.o) {
376
- if (Gt.has(e))
376
+ if (Ft.has(e))
377
377
  return;
378
- Gt.add(e), De.c.push(() => {
379
- Gt.delete(e), r && (n && e.d(1), r());
378
+ Ft.add(e), De.c.push(() => {
379
+ Ft.delete(e), r && (n && e.d(1), r());
380
380
  }), e.o(t);
381
381
  } else
382
382
  r && r();
383
383
  }
384
- const So = { duration: 0 };
385
- function dr(e, t, n, r) {
384
+ const wo = { duration: 0 };
385
+ function gr(e, t, n, r) {
386
386
  let o = t(e, n, { direction: "both" }), l = r ? 0 : 1, a = null, c = null, u = null, f;
387
387
  function m() {
388
- u && po(e, u);
388
+ u && go(e, u);
389
389
  }
390
390
  function y(x, g) {
391
391
  const N = (
@@ -406,29 +406,29 @@ function dr(e, t, n, r) {
406
406
  const {
407
407
  delay: g = 0,
408
408
  duration: N = 300,
409
- easing: U = qr,
410
- tick: V = ye,
409
+ easing: k = Jr,
410
+ tick: X = ye,
411
411
  css: R
412
- } = o || So, H = {
413
- start: no() + g,
412
+ } = o || wo, H = {
413
+ start: ro() + g,
414
414
  b: x
415
415
  };
416
416
  x || (H.group = De, De.r += 1), "inert" in e && (x ? f !== void 0 && (e.inert = f) : (f = /** @type {HTMLElement} */
417
- e.inert, e.inert = !0)), a || c ? c = H : (R && (m(), u = mr(e, l, x, N, g, U, R)), x && V(0, 1), a = y(H, N), tt(() => fn(e, x, "start")), ro((I) => {
418
- if (c && I > c.start && (a = y(c, N), c = null, fn(e, a.b, "start"), R && (m(), u = mr(
417
+ e.inert, e.inert = !0)), a || c ? c = H : (R && (m(), u = pr(e, l, x, N, g, k, R)), x && X(0, 1), a = y(H, N), nt(() => hn(e, x, "start")), io((I) => {
418
+ if (c && I > c.start && (a = y(c, N), c = null, hn(e, a.b, "start"), R && (m(), u = pr(
419
419
  e,
420
420
  l,
421
421
  a.b,
422
422
  a.duration,
423
423
  0,
424
- U,
424
+ k,
425
425
  o.css
426
426
  ))), a) {
427
427
  if (I >= a.end)
428
- V(l = a.b, 1 - l), fn(e, a.b, "end"), c || (a.b ? m() : --a.group.r || Ue(a.group.c)), a = null;
428
+ X(l = a.b, 1 - l), hn(e, a.b, "end"), c || (a.b ? m() : --a.group.r || Ue(a.group.c)), a = null;
429
429
  else if (I >= a.start) {
430
- const W = I - a.start;
431
- l = a.a + a.d * U(W / a.duration), V(l, 1 - l);
430
+ const V = I - a.start;
431
+ l = a.a + a.d * k(V / a.duration), X(l, 1 - l);
432
432
  }
433
433
  }
434
434
  return !!(a || c);
@@ -436,7 +436,7 @@ function dr(e, t, n, r) {
436
436
  }
437
437
  return {
438
438
  run(x) {
439
- Kt(o) ? To().then(() => {
439
+ en(o) ? So().then(() => {
440
440
  o = o({ direction: x ? "in" : "out" }), A(x);
441
441
  }) : A(x);
442
442
  },
@@ -445,23 +445,23 @@ function dr(e, t, n, r) {
445
445
  }
446
446
  };
447
447
  }
448
- function wo(e, t, n) {
448
+ function Ao(e, t, n) {
449
449
  const { fragment: r, after_update: i } = e.$$;
450
- r && r.m(t, n), tt(() => {
451
- const o = e.$$.on_mount.map(Jr).filter(Kt);
450
+ r && r.m(t, n), nt(() => {
451
+ const o = e.$$.on_mount.map(Qr).filter(en);
452
452
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ue(o), e.$$.on_mount = [];
453
- }), i.forEach(tt);
453
+ }), i.forEach(nt);
454
454
  }
455
- function Ao(e, t) {
455
+ function Co(e, t) {
456
456
  const n = e.$$;
457
- n.fragment !== null && (vo(n.after_update), Ue(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
457
+ n.fragment !== null && (To(n.after_update), Ue(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
458
458
  }
459
459
  function Oo(e, t) {
460
- e.$$.dirty[0] === -1 && (Je.push(e), yo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
460
+ e.$$.dirty[0] === -1 && (Je.push(e), xo(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
461
461
  }
462
462
  function Mo(e, t, n, r, i, o, l = null, a = [-1]) {
463
- const c = xt;
464
- Et(e);
463
+ const c = vt;
464
+ yt(e);
465
465
  const u = e.$$ = {
466
466
  fragment: null,
467
467
  ctx: [],
@@ -469,7 +469,7 @@ function Mo(e, t, n, r, i, o, l = null, a = [-1]) {
469
469
  props: o,
470
470
  update: ye,
471
471
  not_equal: i,
472
- bound: cr(),
472
+ bound: fr(),
473
473
  // lifecycle
474
474
  on_mount: [],
475
475
  on_destroy: [],
@@ -478,7 +478,7 @@ function Mo(e, t, n, r, i, o, l = null, a = [-1]) {
478
478
  after_update: [],
479
479
  context: new Map(t.context || (c ? c.$$.context : [])),
480
480
  // everything else
481
- callbacks: cr(),
481
+ callbacks: fr(),
482
482
  dirty: a,
483
483
  skip_bound: !1,
484
484
  root: t.target || c.$$.root
@@ -490,16 +490,16 @@ function Mo(e, t, n, r, i, o, l = null, a = [-1]) {
490
490
  return u.ctx && i(u.ctx[m], u.ctx[m] = x) && (!u.skip_bound && u.bound[m] && u.bound[m](x), f && Oo(e, m)), y;
491
491
  }) : [], u.update(), f = !0, Ue(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
492
492
  if (t.hydrate) {
493
- const m = ao(t.target);
493
+ const m = lo(t.target);
494
494
  u.fragment && u.fragment.l(m), m.forEach(Ae);
495
495
  } else
496
496
  u.fragment && u.fragment.c();
497
- t.intro && He(e.$$.fragment), wo(e, t.target, t.anchor), de();
497
+ t.intro && He(e.$$.fragment), Ao(e, t.target, t.anchor), ge();
498
498
  }
499
- Et(c);
499
+ yt(c);
500
500
  }
501
- let ai;
502
- typeof HTMLElement == "function" && (ai = class extends HTMLElement {
501
+ let li;
502
+ typeof HTMLElement == "function" && (li = class extends HTMLElement {
503
503
  constructor(t, n, r) {
504
504
  super();
505
505
  /** The Svelte component constructor */
@@ -536,14 +536,14 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
536
536
  }
537
537
  }
538
538
  connectedCallback() {
539
- return ur(this, null, function* () {
539
+ return cr(this, null, function* () {
540
540
  if (this.$$cn = !0, !this.$$c) {
541
541
  let t = function(o) {
542
542
  return () => {
543
543
  let l;
544
544
  return {
545
545
  c: function() {
546
- l = te("slot"), o !== "default" && w(l, "name", o);
546
+ l = ne("slot"), o !== "default" && w(l, "name", o);
547
547
  },
548
548
  /**
549
549
  * @param {HTMLElement} target
@@ -560,18 +560,18 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
560
560
  };
561
561
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
562
562
  return;
563
- const n = {}, r = fo(this);
563
+ const n = {}, r = ho(this);
564
564
  for (const o of this.$$s)
565
565
  o in r && (n[o] = [t(o)]);
566
566
  for (const o of this.attributes) {
567
567
  const l = this.$$g_p(o.name);
568
- l in this.$$d || (this.$$d[l] = Ft(l, o.value, this.$$p_d, "toProp"));
568
+ l in this.$$d || (this.$$d[l] = jt(l, o.value, this.$$p_d, "toProp"));
569
569
  }
570
570
  for (const o in this.$$p_d)
571
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: lr(ar({}, this.$$d), {
574
+ props: ur(lr({}, this.$$d), {
575
575
  $$slots: n,
576
576
  $$scope: {
577
577
  ctx: []
@@ -582,7 +582,7 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
582
582
  this.$$r = !0;
583
583
  for (const o in this.$$p_d)
584
584
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
585
- const l = Ft(
585
+ const l = jt(
586
586
  o,
587
587
  this.$$d[o],
588
588
  this.$$p_d,
@@ -606,7 +606,7 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
606
606
  // and setting attributes through setAttribute etc, this is helpful
607
607
  attributeChangedCallback(t, n, r) {
608
608
  var i;
609
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ft(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
609
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = jt(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
610
610
  }
611
611
  disconnectedCallback() {
612
612
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -619,7 +619,7 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
619
619
  ) || t;
620
620
  }
621
621
  });
622
- function Ft(e, t, n, r) {
622
+ function jt(e, t, n, r) {
623
623
  var o;
624
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])
@@ -649,8 +649,8 @@ function Ft(e, t, n, r) {
649
649
  return t;
650
650
  }
651
651
  }
652
- function Co(e, t, n, r, i, o) {
653
- let l = class extends ai {
652
+ function Lo(e, t, n, r, i, o) {
653
+ let l = class extends li {
654
654
  constructor() {
655
655
  super(e, n, i), this.$$p_d = t;
656
656
  }
@@ -667,7 +667,7 @@ function Co(e, t, n, r, i, o) {
667
667
  },
668
668
  set(c) {
669
669
  var u;
670
- c = Ft(a, c, t), this.$$d[a] = c, (u = this.$$c) == null || u.$set({ [a]: c });
670
+ c = jt(a, c, t), this.$$d[a] = c, (u = this.$$c) == null || u.$set({ [a]: c });
671
671
  }
672
672
  });
673
673
  }), r.forEach((a) => {
@@ -680,7 +680,7 @@ function Co(e, t, n, r, i, o) {
680
680
  }), e.element = /** @type {any} */
681
681
  l, l;
682
682
  }
683
- class Lo {
683
+ class Ho {
684
684
  constructor() {
685
685
  /**
686
686
  * ### PRIVATE API
@@ -701,7 +701,7 @@ class Lo {
701
701
  }
702
702
  /** @returns {void} */
703
703
  $destroy() {
704
- Ao(this, 1), this.$destroy = ye;
704
+ Co(this, 1), this.$destroy = ye;
705
705
  }
706
706
  /**
707
707
  * @template {Extract<keyof Events, string>} K
@@ -710,7 +710,7 @@ class Lo {
710
710
  * @returns {() => void}
711
711
  */
712
712
  $on(t, n) {
713
- if (!Kt(n))
713
+ if (!en(n))
714
714
  return ye;
715
715
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
716
716
  return r.push(n), () => {
@@ -723,12 +723,12 @@ class Lo {
723
723
  * @returns {void}
724
724
  */
725
725
  $set(t) {
726
- this.$$set && !to(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 Ho = "4";
730
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ho);
731
- function gr(e, { delay: t = 0, duration: n = 400, easing: r = qr } = {}) {
729
+ const No = "4";
730
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(No);
731
+ function _r(e, { delay: t = 0, duration: n = 400, easing: r = Jr } = {}) {
732
732
  const i = +getComputedStyle(e).opacity;
733
733
  return {
734
734
  delay: t,
@@ -738,16 +738,16 @@ function gr(e, { delay: t = 0, duration: n = 400, easing: r = qr } = {}) {
738
738
  };
739
739
  }
740
740
  const qe = [];
741
- function No(e, t) {
741
+ function Io(e, t) {
742
742
  return {
743
- subscribe: St(e, t).subscribe
743
+ subscribe: wt(e, t).subscribe
744
744
  };
745
745
  }
746
- function St(e, t = ye) {
746
+ function wt(e, t = ye) {
747
747
  let n;
748
748
  const r = /* @__PURE__ */ new Set();
749
749
  function i(a) {
750
- if (Qr(e, a) && (e = a, n)) {
750
+ if (Kr(e, a) && (e = a, n)) {
751
751
  const c = !qe.length;
752
752
  for (const u of r)
753
753
  u[1](), qe.push(u, e);
@@ -769,12 +769,12 @@ function St(e, t = ye) {
769
769
  }
770
770
  return { set: i, update: o, subscribe: l };
771
771
  }
772
- function st(e, t, n) {
772
+ function at(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
776
  const o = t.length < 2;
777
- return No(n, (l, a) => {
777
+ return Io(n, (l, a) => {
778
778
  let c = !1;
779
779
  const u = [];
780
780
  let f = 0, m = ye;
@@ -783,9 +783,9 @@ function st(e, t, n) {
783
783
  return;
784
784
  m();
785
785
  const x = t(r ? u[0] : u, l, a);
786
- o ? l(x) : m = Kt(x) ? x : ye;
786
+ o ? l(x) : m = en(x) ? x : ye;
787
787
  }, A = i.map(
788
- (x, g) => Kr(
788
+ (x, g) => ei(
789
789
  x,
790
790
  (N) => {
791
791
  u[g] = N, f &= ~(1 << g), c && y();
@@ -800,93 +800,93 @@ function st(e, t, n) {
800
800
  };
801
801
  });
802
802
  }
803
- var li = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
804
- function Dn(e) {
803
+ var ui = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
804
+ function Bn(e) {
805
805
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
806
806
  }
807
- var Io = function(t) {
808
- return Po(t) && !Ro(t);
807
+ var Po = function(t) {
808
+ return Ro(t) && !Do(t);
809
809
  };
810
- function Po(e) {
810
+ function Ro(e) {
811
811
  return !!e && typeof e == "object";
812
812
  }
813
- function Ro(e) {
813
+ function Do(e) {
814
814
  var t = Object.prototype.toString.call(e);
815
- return t === "[object RegExp]" || t === "[object Date]" || $o(e);
816
- }
817
- var Do = typeof Symbol == "function" && Symbol.for, Bo = Do ? Symbol.for("react.element") : 60103;
818
- function $o(e) {
819
- return e.$$typeof === Bo;
815
+ return t === "[object RegExp]" || t === "[object Date]" || Uo(e);
820
816
  }
817
+ var Bo = typeof Symbol == "function" && Symbol.for, $o = Bo ? Symbol.for("react.element") : 60103;
821
818
  function Uo(e) {
819
+ return e.$$typeof === $o;
820
+ }
821
+ function ko(e) {
822
822
  return Array.isArray(e) ? [] : {};
823
823
  }
824
- function vt(e, t) {
825
- return t.clone !== !1 && t.isMergeableObject(e) ? nt(Uo(e), e, t) : e;
824
+ function Tt(e, t) {
825
+ return t.clone !== !1 && t.isMergeableObject(e) ? rt(ko(e), e, t) : e;
826
826
  }
827
- function ko(e, t, n) {
827
+ function Go(e, t, n) {
828
828
  return e.concat(t).map(function(r) {
829
- return vt(r, n);
829
+ return Tt(r, n);
830
830
  });
831
831
  }
832
- function Go(e, t) {
832
+ function Fo(e, t) {
833
833
  if (!t.customMerge)
834
- return nt;
834
+ return rt;
835
835
  var n = t.customMerge(e);
836
- return typeof n == "function" ? n : nt;
836
+ return typeof n == "function" ? n : rt;
837
837
  }
838
- function Fo(e) {
838
+ function jo(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
- function _r(e) {
844
- return Object.keys(e).concat(Fo(e));
843
+ function br(e) {
844
+ return Object.keys(e).concat(jo(e));
845
845
  }
846
- function ui(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 jo(e, t) {
854
- return ui(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
853
+ function zo(e, t) {
854
+ return ci(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
855
855
  }
856
- function zo(e, t, n) {
856
+ function Wo(e, t, n) {
857
857
  var r = {};
858
- return n.isMergeableObject(e) && _r(e).forEach(function(i) {
859
- r[i] = vt(e[i], n);
860
- }), _r(t).forEach(function(i) {
861
- jo(e, i) || (ui(e, i) && n.isMergeableObject(t[i]) ? r[i] = Go(i, n)(e[i], t[i], n) : r[i] = vt(t[i], n));
858
+ return n.isMergeableObject(e) && br(e).forEach(function(i) {
859
+ r[i] = Tt(e[i], n);
860
+ }), br(t).forEach(function(i) {
861
+ zo(e, i) || (ci(e, i) && n.isMergeableObject(t[i]) ? r[i] = Fo(i, n)(e[i], t[i], n) : r[i] = Tt(t[i], n));
862
862
  }), r;
863
863
  }
864
- function nt(e, t, n) {
865
- n = n || {}, n.arrayMerge = n.arrayMerge || ko, n.isMergeableObject = n.isMergeableObject || Io, n.cloneUnlessOtherwiseSpecified = vt;
864
+ function rt(e, t, n) {
865
+ n = n || {}, n.arrayMerge = n.arrayMerge || Go, n.isMergeableObject = n.isMergeableObject || Po, n.cloneUnlessOtherwiseSpecified = Tt;
866
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) : vt(t, n);
867
+ return o ? r ? n.arrayMerge(e, t, n) : Wo(e, t, n) : Tt(t, n);
868
868
  }
869
- nt.all = function(t, n) {
869
+ rt.all = function(t, n) {
870
870
  if (!Array.isArray(t))
871
871
  throw new Error("first argument should be an array");
872
872
  return t.reduce(function(r, i) {
873
- return nt(r, i, n);
873
+ return rt(r, i, n);
874
874
  }, {});
875
875
  };
876
- var Wo = nt, Vo = Wo;
877
- const Xo = /* @__PURE__ */ Dn(Vo);
878
- var Sn = function(e, t) {
879
- return Sn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
876
+ var Vo = rt, Xo = Vo;
877
+ const Yo = /* @__PURE__ */ Bn(Xo);
878
+ var wn = function(e, t) {
879
+ return wn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
880
880
  n.__proto__ = r;
881
881
  } || function(n, r) {
882
882
  for (var i in r)
883
883
  Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
884
- }, Sn(e, t);
884
+ }, wn(e, t);
885
885
  };
886
- function en(e, t) {
886
+ function tn(e, t) {
887
887
  if (typeof t != "function" && t !== null)
888
888
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
889
- Sn(e, t);
889
+ wn(e, t);
890
890
  function n() {
891
891
  this.constructor = e;
892
892
  }
@@ -902,7 +902,7 @@ var Ne = function() {
902
902
  return t;
903
903
  }, Ne.apply(this, arguments);
904
904
  };
905
- function Yo(e, t) {
905
+ function Zo(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]);
@@ -911,43 +911,43 @@ function Yo(e, t) {
911
911
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
912
912
  return n;
913
913
  }
914
- function hn(e, t, n) {
914
+ function mn(e, t, n) {
915
915
  if (n || arguments.length === 2)
916
916
  for (var r = 0, i = t.length, o; r < i; r++)
917
917
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
918
918
  return e.concat(o || Array.prototype.slice.call(t));
919
919
  }
920
- function mn(e, t) {
921
- var n = t && t.cache ? t.cache : ts, r = t && t.serializer ? t.serializer : Ko, i = t && t.strategy ? t.strategy : Jo;
920
+ function pn(e, t) {
921
+ var n = t && t.cache ? t.cache : ns, r = t && t.serializer ? t.serializer : es, i = t && t.strategy ? t.strategy : Qo;
922
922
  return i(e, {
923
923
  cache: n,
924
924
  serializer: r
925
925
  });
926
926
  }
927
- function Zo(e) {
927
+ function qo(e) {
928
928
  return e == null || typeof e == "number" || typeof e == "boolean";
929
929
  }
930
- function qo(e, t, n, r) {
931
- var i = Zo(r) ? r : n(r), o = t.get(i);
930
+ function Jo(e, t, n, r) {
931
+ var i = qo(r) ? r : n(r), o = t.get(i);
932
932
  return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
933
933
  }
934
- function ci(e, t, n) {
934
+ function fi(e, t, n) {
935
935
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
936
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 Jo(e, t) {
942
- var n = e.length === 1 ? qo : ci;
943
- return fi(e, this, n, t.cache.create(), t.serializer);
944
- }
945
941
  function Qo(e, t) {
946
- return fi(e, this, ci, t.cache.create(), t.serializer);
942
+ var n = e.length === 1 ? Jo : fi;
943
+ return hi(e, this, n, t.cache.create(), t.serializer);
947
944
  }
948
- var Ko = function() {
945
+ function Ko(e, t) {
946
+ return hi(e, this, fi, t.cache.create(), t.serializer);
947
+ }
948
+ var es = function() {
949
949
  return JSON.stringify(arguments);
950
- }, es = (
950
+ }, ts = (
951
951
  /** @class */
952
952
  function() {
953
953
  function e() {
@@ -959,21 +959,21 @@ var Ko = function() {
959
959
  this.cache[t] = n;
960
960
  }, e;
961
961
  }()
962
- ), ts = {
962
+ ), ns = {
963
963
  create: function() {
964
- return new es();
964
+ return new ts();
965
965
  }
966
- }, pn = {
967
- variadic: Qo
968
- }, Zt = function() {
969
- return Zt = Object.assign || function(t) {
966
+ }, dn = {
967
+ variadic: Ko
968
+ }, qt = function() {
969
+ return qt = Object.assign || function(t) {
970
970
  for (var n, r = 1, i = arguments.length; r < i; r++) {
971
971
  n = arguments[r];
972
972
  for (var o in n)
973
973
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
974
974
  }
975
975
  return t;
976
- }, Zt.apply(this, arguments);
976
+ }, qt.apply(this, arguments);
977
977
  };
978
978
  var G;
979
979
  (function(e) {
@@ -983,47 +983,47 @@ var Q;
983
983
  (function(e) {
984
984
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
985
985
  })(Q || (Q = {}));
986
- var rt;
986
+ var it;
987
987
  (function(e) {
988
988
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
989
- })(rt || (rt = {}));
990
- function br(e) {
989
+ })(it || (it = {}));
990
+ function Er(e) {
991
991
  return e.type === Q.literal;
992
992
  }
993
- function ns(e) {
993
+ function rs(e) {
994
994
  return e.type === Q.argument;
995
995
  }
996
- function hi(e) {
996
+ function mi(e) {
997
997
  return e.type === Q.number;
998
998
  }
999
- function mi(e) {
999
+ function pi(e) {
1000
1000
  return e.type === Q.date;
1001
1001
  }
1002
- function pi(e) {
1002
+ function di(e) {
1003
1003
  return e.type === Q.time;
1004
1004
  }
1005
- function di(e) {
1005
+ function gi(e) {
1006
1006
  return e.type === Q.select;
1007
1007
  }
1008
- function gi(e) {
1008
+ function _i(e) {
1009
1009
  return e.type === Q.plural;
1010
1010
  }
1011
- function rs(e) {
1011
+ function is(e) {
1012
1012
  return e.type === Q.pound;
1013
1013
  }
1014
- function _i(e) {
1014
+ function bi(e) {
1015
1015
  return e.type === Q.tag;
1016
1016
  }
1017
- function bi(e) {
1018
- return !!(e && typeof e == "object" && e.type === rt.number);
1017
+ function Ei(e) {
1018
+ return !!(e && typeof e == "object" && e.type === it.number);
1019
1019
  }
1020
- function wn(e) {
1021
- return !!(e && typeof e == "object" && e.type === rt.dateTime);
1020
+ function An(e) {
1021
+ return !!(e && typeof e == "object" && e.type === it.dateTime);
1022
1022
  }
1023
- var Ei = /[ \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) {
1023
+ var yi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, os = /(?:[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 ss(e) {
1025
1025
  var t = {};
1026
- return e.replace(is, function(n) {
1026
+ return e.replace(os, function(n) {
1027
1027
  var r = n.length;
1028
1028
  switch (n[0]) {
1029
1029
  case "G":
@@ -1122,11 +1122,11 @@ var ie = function() {
1122
1122
  return t;
1123
1123
  }, ie.apply(this, arguments);
1124
1124
  };
1125
- var ss = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1126
- function as(e) {
1125
+ var as = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1126
+ function ls(e) {
1127
1127
  if (e.length === 0)
1128
1128
  throw new Error("Number skeleton cannot be empty");
1129
- for (var t = e.split(ss).filter(function(y) {
1129
+ for (var t = e.split(as).filter(function(y) {
1130
1130
  return y.length > 0;
1131
1131
  }), n = [], r = 0, i = t; r < i.length; r++) {
1132
1132
  var o = i[r], l = o.split("/");
@@ -1141,17 +1141,17 @@ function as(e) {
1141
1141
  }
1142
1142
  return n;
1143
1143
  }
1144
- function ls(e) {
1144
+ function us(e) {
1145
1145
  return e.replace(/^(.*?)-/, "");
1146
1146
  }
1147
- var Er = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yi = /^(@+)?(\+|#+)?[rs]?$/g, us = /(\*)(0+)|(#+)(0+)|(0+)/g, xi = /^(0+)$/;
1148
- function yr(e) {
1147
+ var yr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xi = /^(@+)?(\+|#+)?[rs]?$/g, cs = /(\*)(0+)|(#+)(0+)|(0+)/g, vi = /^(0+)$/;
1148
+ function xr(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 cs(e) {
1194
+ function fs(e) {
1195
1195
  var t;
1196
1196
  if (e[0] === "E" && e[1] === "E" ? (t = {
1197
1197
  notation: "engineering"
@@ -1199,17 +1199,17 @@ function cs(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
- function xr(e) {
1209
- var t = {}, n = vi(e);
1208
+ function vr(e) {
1209
+ var t = {}, n = Ti(e);
1210
1210
  return n || t;
1211
1211
  }
1212
- function fs(e) {
1212
+ function hs(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 fs(e) {
1233
1233
  continue;
1234
1234
  case "measure-unit":
1235
1235
  case "unit":
1236
- t.style = "unit", t.unit = ls(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":
@@ -1245,12 +1245,12 @@ function fs(e) {
1245
1245
  continue;
1246
1246
  case "scientific":
1247
1247
  t = ie(ie(ie({}, t), { notation: "scientific" }), i.options.reduce(function(c, u) {
1248
- return ie(ie({}, c), xr(u));
1248
+ return ie(ie({}, c), vr(u));
1249
1249
  }, {}));
1250
1250
  continue;
1251
1251
  case "engineering":
1252
1252
  t = ie(ie(ie({}, t), { notation: "engineering" }), i.options.reduce(function(c, u) {
1253
- return ie(ie({}, c), xr(u));
1253
+ return ie(ie({}, c), vr(u));
1254
1254
  }, {}));
1255
1255
  continue;
1256
1256
  case "notation-simple":
@@ -1295,7 +1295,7 @@ function fs(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(us, function(c, u, f, m, y, A) {
1298
+ i.options[0].replace(cs, function(c, u, f, m, y, A) {
1299
1299
  if (u)
1300
1300
  t.minimumIntegerDigits = f.length;
1301
1301
  else {
@@ -1308,32 +1308,32 @@ function fs(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
  }
1315
- if (Er.test(i.stem)) {
1315
+ if (yr.test(i.stem)) {
1316
1316
  if (i.options.length > 1)
1317
1317
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1318
- i.stem.replace(Er, function(c, u, f, m, y, A) {
1318
+ i.stem.replace(yr, function(c, u, f, m, y, A) {
1319
1319
  return f === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : y && A ? (t.minimumFractionDigits = y.length, t.maximumFractionDigits = y.length + A.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1320
1320
  });
1321
1321
  var o = i.options[0];
1322
- o === "w" ? t = ie(ie({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = ie(ie({}, t), yr(o)));
1322
+ o === "w" ? t = ie(ie({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = ie(ie({}, t), xr(o)));
1323
1323
  continue;
1324
1324
  }
1325
- if (yi.test(i.stem)) {
1326
- t = ie(ie({}, t), yr(i.stem));
1325
+ if (xi.test(i.stem)) {
1326
+ t = ie(ie({}, t), xr(i.stem));
1327
1327
  continue;
1328
1328
  }
1329
- var l = vi(i.stem);
1329
+ var l = Ti(i.stem);
1330
1330
  l && (t = ie(ie({}, t), l));
1331
- var a = cs(i.stem);
1331
+ var a = fs(i.stem);
1332
1332
  a && (t = ie(ie({}, t), a));
1333
1333
  }
1334
1334
  return t;
1335
1335
  }
1336
- var Pt = {
1336
+ var Rt = {
1337
1337
  "001": [
1338
1338
  "H",
1339
1339
  "h"
@@ -2748,13 +2748,13 @@ var Pt = {
2748
2748
  "h"
2749
2749
  ]
2750
2750
  };
2751
- function hs(e, t) {
2751
+ function ms(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
2755
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2756
2756
  o++, r++;
2757
- var l = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = ms(t);
2757
+ var l = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = ps(t);
2758
2758
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2759
2759
  n += c;
2760
2760
  for (; l-- > 0; )
@@ -2764,7 +2764,7 @@ function hs(e, t) {
2764
2764
  }
2765
2765
  return n;
2766
2766
  }
2767
- function ms(e) {
2767
+ function ps(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
@@ -2783,23 +2783,23 @@ function ms(e) {
2783
2783
  }
2784
2784
  var n = e.language, r;
2785
2785
  n !== "root" && (r = e.maximize().region);
2786
- var i = Pt[r || ""] || Pt[n || ""] || Pt["".concat(n, "-001")] || Pt["001"];
2786
+ var i = Rt[r || ""] || Rt[n || ""] || Rt["".concat(n, "-001")] || Rt["001"];
2787
2787
  return i[0];
2788
2788
  }
2789
- var dn, ps = new RegExp("^".concat(Ei.source, "*")), ds = new RegExp("".concat(Ei.source, "*$"));
2790
- function F(e, t) {
2789
+ var gn, ds = new RegExp("^".concat(yi.source, "*")), gs = new RegExp("".concat(yi.source, "*$"));
2790
+ function j(e, t) {
2791
2791
  return { start: e, end: t };
2792
2792
  }
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) {
2793
+ var _s = !!String.prototype.startsWith && "_a".startsWith("a", 1), bs = !!String.fromCodePoint, Es = !!Object.fromEntries, ys = !!String.prototype.codePointAt, xs = !!String.prototype.trimStart, vs = !!String.prototype.trimEnd, Ts = !!Number.isSafeInteger, Ss = Ts ? Number.isSafeInteger : function(e) {
2794
2794
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2795
- }, An = !0;
2795
+ }, Cn = !0;
2796
2796
  try {
2797
- var Ss = Si("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2798
- An = ((dn = Ss.exec("a")) === null || dn === void 0 ? void 0 : dn[0]) === "a";
2797
+ var ws = wi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2798
+ Cn = ((gn = ws.exec("a")) === null || gn === void 0 ? void 0 : gn[0]) === "a";
2799
2799
  } catch (e) {
2800
- An = !1;
2800
+ Cn = !1;
2801
2801
  }
2802
- var vr = gs ? (
2802
+ var Tr = _s ? (
2803
2803
  // Native
2804
2804
  function(t, n, r) {
2805
2805
  return t.startsWith(n, r);
@@ -2809,7 +2809,7 @@ var vr = gs ? (
2809
2809
  function(t, n, r) {
2810
2810
  return t.slice(r, r + n.length) === n;
2811
2811
  }
2812
- ), On = _s ? String.fromCodePoint : (
2812
+ ), On = bs ? String.fromCodePoint : (
2813
2813
  // IE11
2814
2814
  function() {
2815
2815
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2821,9 +2821,9 @@ var vr = gs ? (
2821
2821
  }
2822
2822
  return r;
2823
2823
  }
2824
- ), Tr = (
2824
+ ), Sr = (
2825
2825
  // native
2826
- bs ? Object.fromEntries : (
2826
+ Es ? Object.fromEntries : (
2827
2827
  // Ponyfill
2828
2828
  function(t) {
2829
2829
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2833,7 +2833,7 @@ var vr = gs ? (
2833
2833
  return n;
2834
2834
  }
2835
2835
  )
2836
- ), Ti = Es ? (
2836
+ ), Si = ys ? (
2837
2837
  // Native
2838
2838
  function(t, n) {
2839
2839
  return t.codePointAt(n);
@@ -2847,7 +2847,7 @@ var vr = gs ? (
2847
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
- ), ws = ys ? (
2850
+ ), As = xs ? (
2851
2851
  // Native
2852
2852
  function(t) {
2853
2853
  return t.trimStart();
@@ -2855,9 +2855,9 @@ var vr = gs ? (
2855
2855
  ) : (
2856
2856
  // Ponyfill
2857
2857
  function(t) {
2858
- return t.replace(ps, "");
2858
+ return t.replace(ds, "");
2859
2859
  }
2860
- ), As = xs ? (
2860
+ ), Cs = vs ? (
2861
2861
  // Native
2862
2862
  function(t) {
2863
2863
  return t.trimEnd();
@@ -2865,26 +2865,26 @@ var vr = gs ? (
2865
2865
  ) : (
2866
2866
  // Ponyfill
2867
2867
  function(t) {
2868
- return t.replace(ds, "");
2868
+ return t.replace(gs, "");
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 Mn;
2875
- if (An) {
2876
- var Sr = Si("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2875
+ if (Cn) {
2876
+ var wr = wi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2877
2877
  Mn = function(t, n) {
2878
2878
  var r;
2879
- Sr.lastIndex = n;
2880
- var i = Sr.exec(t);
2879
+ wr.lastIndex = n;
2880
+ var i = wr.exec(t);
2881
2881
  return (r = i[1]) !== null && r !== void 0 ? r : "";
2882
2882
  };
2883
2883
  } else
2884
2884
  Mn = function(t, n) {
2885
2885
  for (var r = []; ; ) {
2886
- var i = Ti(t, n);
2887
- if (i === void 0 || wi(i) || Ls(i))
2886
+ var i = Si(t, n);
2887
+ if (i === void 0 || Ai(i) || Hs(i))
2888
2888
  break;
2889
2889
  r.push(i), n += i >= 65536 ? 2 : 1;
2890
2890
  }
@@ -2915,13 +2915,13 @@ var Os = (
2915
2915
  var a = this.clonePosition();
2916
2916
  this.bump(), i.push({
2917
2917
  type: Q.pound,
2918
- location: F(a, this.clonePosition())
2918
+ location: j(a, this.clonePosition())
2919
2919
  });
2920
2920
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2921
2921
  if (r)
2922
2922
  break;
2923
- return this.error(G.UNMATCHED_CLOSING_TAG, F(this.clonePosition(), this.clonePosition()));
2924
- } else if (o === 60 && !this.ignoreTag && Cn(this.peek() || 0)) {
2923
+ return this.error(G.UNMATCHED_CLOSING_TAG, j(this.clonePosition(), this.clonePosition()));
2924
+ } else if (o === 60 && !this.ignoreTag && Ln(this.peek() || 0)) {
2925
2925
  var l = this.parseTag(t, n);
2926
2926
  if (l.err)
2927
2927
  return l;
@@ -2944,7 +2944,7 @@ var Os = (
2944
2944
  val: {
2945
2945
  type: Q.literal,
2946
2946
  value: "<".concat(i, "/>"),
2947
- location: F(r, this.clonePosition())
2947
+ location: j(r, this.clonePosition())
2948
2948
  },
2949
2949
  err: null
2950
2950
  };
@@ -2954,25 +2954,25 @@ var Os = (
2954
2954
  return o;
2955
2955
  var l = o.val, a = this.clonePosition();
2956
2956
  if (this.bumpIf("</")) {
2957
- if (this.isEOF() || !Cn(this.char()))
2958
- return this.error(G.INVALID_TAG, F(a, this.clonePosition()));
2957
+ if (this.isEOF() || !Ln(this.char()))
2958
+ return this.error(G.INVALID_TAG, j(a, this.clonePosition()));
2959
2959
  var c = this.clonePosition(), u = this.parseTagName();
2960
- return i !== u ? this.error(G.UNMATCHED_CLOSING_TAG, F(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2960
+ return i !== u ? this.error(G.UNMATCHED_CLOSING_TAG, j(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2961
2961
  val: {
2962
2962
  type: Q.tag,
2963
2963
  value: i,
2964
2964
  children: l,
2965
- location: F(r, this.clonePosition())
2965
+ location: j(r, this.clonePosition())
2966
2966
  },
2967
2967
  err: null
2968
- } : this.error(G.INVALID_TAG, F(a, this.clonePosition())));
2968
+ } : this.error(G.INVALID_TAG, j(a, this.clonePosition())));
2969
2969
  } else
2970
- return this.error(G.UNCLOSED_TAG, F(r, this.clonePosition()));
2970
+ return this.error(G.UNCLOSED_TAG, j(r, this.clonePosition()));
2971
2971
  } else
2972
- return this.error(G.INVALID_TAG, F(r, this.clonePosition()));
2972
+ return this.error(G.INVALID_TAG, j(r, this.clonePosition()));
2973
2973
  }, e.prototype.parseTagName = function() {
2974
2974
  var t = this.offset();
2975
- for (this.bump(); !this.isEOF() && Cs(this.char()); )
2975
+ for (this.bump(); !this.isEOF() && Ls(this.char()); )
2976
2976
  this.bump();
2977
2977
  return this.message.slice(t, this.offset());
2978
2978
  }, e.prototype.parseLiteral = function(t, n) {
@@ -2994,7 +2994,7 @@ var Os = (
2994
2994
  }
2995
2995
  break;
2996
2996
  }
2997
- var c = F(r, this.clonePosition());
2997
+ var c = j(r, this.clonePosition());
2998
2998
  return {
2999
2999
  val: { type: Q.literal, value: i, location: c },
3000
3000
  err: null
@@ -3044,14 +3044,14 @@ var Os = (
3044
3044
  }, e.prototype.parseArgument = function(t, n) {
3045
3045
  var r = this.clonePosition();
3046
3046
  if (this.bump(), this.bumpSpace(), this.isEOF())
3047
- return this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE, F(r, this.clonePosition()));
3047
+ return this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE, j(r, this.clonePosition()));
3048
3048
  if (this.char() === 125)
3049
- return this.bump(), this.error(G.EMPTY_ARGUMENT, F(r, this.clonePosition()));
3049
+ return this.bump(), this.error(G.EMPTY_ARGUMENT, j(r, this.clonePosition()));
3050
3050
  var i = this.parseIdentifierIfPossible().value;
3051
3051
  if (!i)
3052
- return this.error(G.MALFORMED_ARGUMENT, F(r, this.clonePosition()));
3052
+ return this.error(G.MALFORMED_ARGUMENT, j(r, this.clonePosition()));
3053
3053
  if (this.bumpSpace(), this.isEOF())
3054
- return this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE, F(r, this.clonePosition()));
3054
+ return this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE, j(r, this.clonePosition()));
3055
3055
  switch (this.char()) {
3056
3056
  case 125:
3057
3057
  return this.bump(), {
@@ -3059,25 +3059,25 @@ var Os = (
3059
3059
  type: Q.argument,
3060
3060
  // value does not include the opening and closing braces.
3061
3061
  value: i,
3062
- location: F(r, this.clonePosition())
3062
+ location: j(r, this.clonePosition())
3063
3063
  },
3064
3064
  err: null
3065
3065
  };
3066
3066
  case 44:
3067
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE, F(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3067
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE, j(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3068
3068
  default:
3069
- return this.error(G.MALFORMED_ARGUMENT, F(r, this.clonePosition()));
3069
+ return this.error(G.MALFORMED_ARGUMENT, j(r, this.clonePosition()));
3070
3070
  }
3071
3071
  }, e.prototype.parseIdentifierIfPossible = function() {
3072
3072
  var t = this.clonePosition(), n = this.offset(), r = Mn(this.message, n), i = n + r.length;
3073
3073
  this.bumpTo(i);
3074
- var o = this.clonePosition(), l = F(t, o);
3074
+ var o = this.clonePosition(), l = j(t, o);
3075
3075
  return { value: r, location: l };
3076
3076
  }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3077
3077
  var o, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
3078
3078
  switch (a) {
3079
3079
  case "":
3080
- return this.error(G.EXPECT_ARGUMENT_TYPE, F(l, c));
3080
+ return this.error(G.EXPECT_ARGUMENT_TYPE, j(l, c));
3081
3081
  case "number":
3082
3082
  case "date":
3083
3083
  case "time": {
@@ -3088,18 +3088,18 @@ var Os = (
3088
3088
  var f = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
3089
3089
  if (m.err)
3090
3090
  return m;
3091
- var y = As(m.val);
3091
+ var y = Cs(m.val);
3092
3092
  if (y.length === 0)
3093
- return this.error(G.EXPECT_ARGUMENT_STYLE, F(this.clonePosition(), this.clonePosition()));
3094
- var A = F(f, this.clonePosition());
3093
+ return this.error(G.EXPECT_ARGUMENT_STYLE, j(this.clonePosition(), this.clonePosition()));
3094
+ var A = j(f, this.clonePosition());
3095
3095
  u = { style: y, styleLocation: A };
3096
3096
  }
3097
3097
  var x = this.tryParseArgumentClose(i);
3098
3098
  if (x.err)
3099
3099
  return x;
3100
- var g = F(i, this.clonePosition());
3101
- if (u && vr(u == null ? void 0 : u.style, "::", 0)) {
3102
- var N = ws(u.style.slice(2));
3100
+ var g = j(i, this.clonePosition());
3101
+ if (u && Tr(u == null ? void 0 : u.style, "::", 0)) {
3102
+ var N = As(u.style.slice(2));
3103
3103
  if (a === "number") {
3104
3104
  var m = this.parseNumberSkeletonFromString(N, u.styleLocation);
3105
3105
  return m.err ? m : {
@@ -3109,16 +3109,16 @@ var Os = (
3109
3109
  } else {
3110
3110
  if (N.length === 0)
3111
3111
  return this.error(G.EXPECT_DATE_TIME_SKELETON, g);
3112
- var U = N;
3113
- this.locale && (U = hs(N, this.locale));
3112
+ var k = N;
3113
+ this.locale && (k = ms(N, this.locale));
3114
3114
  var y = {
3115
- type: rt.dateTime,
3116
- pattern: U,
3115
+ type: it.dateTime,
3116
+ pattern: k,
3117
3117
  location: u.styleLocation,
3118
- parsedOptions: this.shouldParseSkeletons ? os(U) : {}
3119
- }, V = a === "date" ? Q.date : Q.time;
3118
+ parsedOptions: this.shouldParseSkeletons ? ss(k) : {}
3119
+ }, X = a === "date" ? Q.date : Q.time;
3120
3120
  return {
3121
- val: { type: V, value: r, location: g, style: y },
3121
+ val: { type: X, value: r, location: g, style: y },
3122
3122
  err: null
3123
3123
  };
3124
3124
  }
@@ -3138,30 +3138,30 @@ var Os = (
3138
3138
  case "select": {
3139
3139
  var R = this.clonePosition();
3140
3140
  if (this.bumpSpace(), !this.bumpIf(","))
3141
- return this.error(G.EXPECT_SELECT_ARGUMENT_OPTIONS, F(R, Zt({}, R)));
3141
+ return this.error(G.EXPECT_SELECT_ARGUMENT_OPTIONS, j(R, qt({}, R)));
3142
3142
  this.bumpSpace();
3143
3143
  var H = this.parseIdentifierIfPossible(), I = 0;
3144
3144
  if (a !== "select" && H.value === "offset") {
3145
3145
  if (!this.bumpIf(":"))
3146
- return this.error(G.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, F(this.clonePosition(), this.clonePosition()));
3146
+ return this.error(G.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, j(this.clonePosition(), this.clonePosition()));
3147
3147
  this.bumpSpace();
3148
3148
  var m = this.tryParseDecimalInteger(G.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, G.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3149
3149
  if (m.err)
3150
3150
  return m;
3151
3151
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), I = m.val;
3152
3152
  }
3153
- var W = this.tryParsePluralOrSelectOptions(t, a, n, H);
3154
- if (W.err)
3155
- return W;
3153
+ var V = this.tryParsePluralOrSelectOptions(t, a, n, H);
3154
+ if (V.err)
3155
+ return V;
3156
3156
  var x = this.tryParseArgumentClose(i);
3157
3157
  if (x.err)
3158
3158
  return x;
3159
- var oe = F(i, this.clonePosition());
3159
+ var oe = j(i, this.clonePosition());
3160
3160
  return a === "select" ? {
3161
3161
  val: {
3162
3162
  type: Q.select,
3163
3163
  value: r,
3164
- options: Tr(W.val),
3164
+ options: Sr(V.val),
3165
3165
  location: oe
3166
3166
  },
3167
3167
  err: null
@@ -3169,7 +3169,7 @@ var Os = (
3169
3169
  val: {
3170
3170
  type: Q.plural,
3171
3171
  value: r,
3172
- options: Tr(W.val),
3172
+ options: Sr(V.val),
3173
3173
  offset: I,
3174
3174
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3175
3175
  location: oe
@@ -3178,10 +3178,10 @@ var Os = (
3178
3178
  };
3179
3179
  }
3180
3180
  default:
3181
- return this.error(G.INVALID_ARGUMENT_TYPE, F(l, c));
3181
+ return this.error(G.INVALID_ARGUMENT_TYPE, j(l, c));
3182
3182
  }
3183
3183
  }, e.prototype.tryParseArgumentClose = function(t) {
3184
- return this.isEOF() || this.char() !== 125 ? this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE, F(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3184
+ return this.isEOF() || this.char() !== 125 ? this.error(G.EXPECT_ARGUMENT_CLOSING_BRACE, j(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3185
3185
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3186
3186
  for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3187
3187
  var r = this.char();
@@ -3190,7 +3190,7 @@ var Os = (
3190
3190
  this.bump();
3191
3191
  var i = this.clonePosition();
3192
3192
  if (!this.bumpUntil("'"))
3193
- return this.error(G.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, F(i, this.clonePosition()));
3193
+ return this.error(G.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, j(i, this.clonePosition()));
3194
3194
  this.bump();
3195
3195
  break;
3196
3196
  }
@@ -3220,16 +3220,16 @@ var Os = (
3220
3220
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3221
3221
  var r = [];
3222
3222
  try {
3223
- r = as(t);
3223
+ r = ls(t);
3224
3224
  } catch (i) {
3225
3225
  return this.error(G.INVALID_NUMBER_SKELETON, n);
3226
3226
  }
3227
3227
  return {
3228
3228
  val: {
3229
- type: rt.number,
3229
+ type: it.number,
3230
3230
  tokens: r,
3231
3231
  location: n,
3232
- parsedOptions: this.shouldParseSkeletons ? fs(r) : {}
3232
+ parsedOptions: this.shouldParseSkeletons ? hs(r) : {}
3233
3233
  },
3234
3234
  err: null
3235
3235
  };
@@ -3241,7 +3241,7 @@ var Os = (
3241
3241
  var y = this.tryParseDecimalInteger(G.EXPECT_PLURAL_ARGUMENT_SELECTOR, G.INVALID_PLURAL_ARGUMENT_SELECTOR);
3242
3242
  if (y.err)
3243
3243
  return y;
3244
- f = F(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3244
+ f = j(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
3245
3245
  } else
3246
3246
  break;
3247
3247
  }
@@ -3250,7 +3250,7 @@ var Os = (
3250
3250
  u === "other" && (l = !0), this.bumpSpace();
3251
3251
  var A = this.clonePosition();
3252
3252
  if (!this.bumpIf("{"))
3253
- return this.error(n === "select" ? G.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : G.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, F(this.clonePosition(), this.clonePosition()));
3253
+ return this.error(n === "select" ? G.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : G.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, j(this.clonePosition(), this.clonePosition()));
3254
3254
  var x = this.parseMessage(t + 1, n, r);
3255
3255
  if (x.err)
3256
3256
  return x;
@@ -3261,11 +3261,11 @@ var Os = (
3261
3261
  u,
3262
3262
  {
3263
3263
  value: x.val,
3264
- location: F(A, this.clonePosition())
3264
+ location: j(A, this.clonePosition())
3265
3265
  }
3266
3266
  ]), c.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, f = o.location;
3267
3267
  }
3268
- return a.length === 0 ? this.error(n === "select" ? G.EXPECT_SELECT_ARGUMENT_SELECTOR : G.EXPECT_PLURAL_ARGUMENT_SELECTOR, F(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(G.MISSING_OTHER_CLAUSE, F(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3268
+ return a.length === 0 ? this.error(n === "select" ? G.EXPECT_SELECT_ARGUMENT_SELECTOR : G.EXPECT_PLURAL_ARGUMENT_SELECTOR, j(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(G.MISSING_OTHER_CLAUSE, j(this.clonePosition(), this.clonePosition())) : { val: a, 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);
@@ -3276,8 +3276,8 @@ var Os = (
3276
3276
  else
3277
3277
  break;
3278
3278
  }
3279
- var c = F(i, this.clonePosition());
3280
- return o ? (l *= r, Ts(l) ? { val: l, err: null } : this.error(n, c)) : this.error(t, c);
3279
+ var c = j(i, this.clonePosition());
3280
+ return o ? (l *= r, Ss(l) ? { val: l, 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 Os = (
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;
@@ -3311,7 +3311,7 @@ var Os = (
3311
3311
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3312
3312
  }
3313
3313
  }, e.prototype.bumpIf = function(t) {
3314
- if (vr(this.message, t, this.offset())) {
3314
+ if (Tr(this.message, t, this.offset())) {
3315
3315
  for (var n = 0; n < t.length; n++)
3316
3316
  this.bump();
3317
3317
  return !0;
@@ -3333,7 +3333,7 @@ var Os = (
3333
3333
  break;
3334
3334
  }
3335
3335
  }, e.prototype.bumpSpace = function() {
3336
- for (; !this.isEOF() && wi(this.char()); )
3336
+ for (; !this.isEOF() && Ai(this.char()); )
3337
3337
  this.bump();
3338
3338
  }, e.prototype.peek = function() {
3339
3339
  if (this.isEOF())
@@ -3343,47 +3343,47 @@ var Os = (
3343
3343
  }, e;
3344
3344
  }()
3345
3345
  );
3346
- function Cn(e) {
3346
+ function Ln(e) {
3347
3347
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3348
3348
  }
3349
3349
  function Ms(e) {
3350
- return Cn(e) || e === 47;
3350
+ return Ln(e) || e === 47;
3351
3351
  }
3352
- function Cs(e) {
3352
+ function Ls(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
- function wi(e) {
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 Ls(e) {
3358
+ function Hs(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
- function Ln(e) {
3361
+ function Hn(e) {
3362
3362
  e.forEach(function(t) {
3363
- if (delete t.location, di(t) || gi(t))
3363
+ if (delete t.location, gi(t) || _i(t))
3364
3364
  for (var n in t.options)
3365
- delete t.options[n].location, Ln(t.options[n].value);
3365
+ delete t.options[n].location, Hn(t.options[n].value);
3366
3366
  else
3367
- hi(t) && bi(t.style) || (mi(t) || pi(t)) && wn(t.style) ? delete t.style.location : _i(t) && Ln(t.children);
3367
+ mi(t) && Ei(t.style) || (pi(t) || di(t)) && An(t.style) ? delete t.style.location : bi(t) && Hn(t.children);
3368
3368
  });
3369
3369
  }
3370
- function Hs(e, t) {
3371
- t === void 0 && (t = {}), t = Zt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3370
+ function Ns(e, t) {
3371
+ t === void 0 && (t = {}), t = qt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3372
3372
  var n = new Os(e, t).parse();
3373
3373
  if (n.err) {
3374
3374
  var r = SyntaxError(G[n.err.kind]);
3375
3375
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3376
3376
  }
3377
- return t != null && t.captureLocation || Ln(n.val), n.val;
3377
+ return t != null && t.captureLocation || Hn(n.val), n.val;
3378
3378
  }
3379
- var it;
3379
+ var ot;
3380
3380
  (function(e) {
3381
3381
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3382
- })(it || (it = {}));
3383
- var tn = (
3382
+ })(ot || (ot = {}));
3383
+ var nn = (
3384
3384
  /** @class */
3385
3385
  function(e) {
3386
- en(t, e);
3386
+ tn(t, e);
3387
3387
  function t(n, r, i) {
3388
3388
  var o = e.call(this, n) || this;
3389
3389
  return o.code = r, o.originalMessage = i, o;
@@ -3392,155 +3392,155 @@ var tn = (
3392
3392
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3393
3393
  }, t;
3394
3394
  }(Error)
3395
- ), wr = (
3395
+ ), Ar = (
3396
3396
  /** @class */
3397
3397
  function(e) {
3398
- en(t, e);
3398
+ tn(t, e);
3399
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('", "'), '"'), it.INVALID_VALUE, o) || this;
3400
+ return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ot.INVALID_VALUE, o) || this;
3401
3401
  }
3402
3402
  return t;
3403
- }(tn)
3404
- ), Ns = (
3403
+ }(nn)
3404
+ ), Is = (
3405
3405
  /** @class */
3406
3406
  function(e) {
3407
- en(t, e);
3407
+ tn(t, e);
3408
3408
  function t(n, r, i) {
3409
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), it.INVALID_VALUE, i) || this;
3409
+ return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ot.INVALID_VALUE, i) || this;
3410
3410
  }
3411
3411
  return t;
3412
- }(tn)
3413
- ), Is = (
3412
+ }(nn)
3413
+ ), Ps = (
3414
3414
  /** @class */
3415
3415
  function(e) {
3416
- en(t, e);
3416
+ tn(t, e);
3417
3417
  function t(n, r) {
3418
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), it.MISSING_VALUE, r) || this;
3418
+ return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ot.MISSING_VALUE, r) || this;
3419
3419
  }
3420
3420
  return t;
3421
- }(tn)
3422
- ), ge;
3421
+ }(nn)
3422
+ ), _e;
3423
3423
  (function(e) {
3424
3424
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3425
- })(ge || (ge = {}));
3426
- function Ps(e) {
3425
+ })(_e || (_e = {}));
3426
+ function Rs(e) {
3427
3427
  return e.length < 2 ? e : e.reduce(function(t, n) {
3428
3428
  var r = t[t.length - 1];
3429
- return !r || r.type !== ge.literal || n.type !== ge.literal ? t.push(n) : r.value += n.value, t;
3429
+ return !r || r.type !== _e.literal || n.type !== _e.literal ? t.push(n) : r.value += n.value, t;
3430
3430
  }, []);
3431
3431
  }
3432
- function Rs(e) {
3432
+ function Ds(e) {
3433
3433
  return typeof e == "function";
3434
3434
  }
3435
- function jt(e, t, n, r, i, o, l) {
3436
- if (e.length === 1 && br(e[0]))
3435
+ function zt(e, t, n, r, i, o, l) {
3436
+ if (e.length === 1 && Er(e[0]))
3437
3437
  return [
3438
3438
  {
3439
- type: ge.literal,
3439
+ type: _e.literal,
3440
3440
  value: e[0].value
3441
3441
  }
3442
3442
  ];
3443
3443
  for (var a = [], c = 0, u = e; c < u.length; c++) {
3444
3444
  var f = u[c];
3445
- if (br(f)) {
3445
+ if (Er(f)) {
3446
3446
  a.push({
3447
- type: ge.literal,
3447
+ type: _e.literal,
3448
3448
  value: f.value
3449
3449
  });
3450
3450
  continue;
3451
3451
  }
3452
- if (rs(f)) {
3452
+ if (is(f)) {
3453
3453
  typeof o == "number" && a.push({
3454
- type: ge.literal,
3454
+ type: _e.literal,
3455
3455
  value: n.getNumberFormat(t).format(o)
3456
3456
  });
3457
3457
  continue;
3458
3458
  }
3459
3459
  var m = f.value;
3460
3460
  if (!(i && m in i))
3461
- throw new Is(m, l);
3461
+ throw new Ps(m, l);
3462
3462
  var y = i[m];
3463
- if (ns(f)) {
3463
+ if (rs(f)) {
3464
3464
  (!y || typeof y == "string" || typeof y == "number") && (y = typeof y == "string" || typeof y == "number" ? String(y) : ""), a.push({
3465
- type: typeof y == "string" ? ge.literal : ge.object,
3465
+ type: typeof y == "string" ? _e.literal : _e.object,
3466
3466
  value: y
3467
3467
  });
3468
3468
  continue;
3469
3469
  }
3470
- if (mi(f)) {
3471
- var A = typeof f.style == "string" ? r.date[f.style] : wn(f.style) ? f.style.parsedOptions : void 0;
3470
+ if (pi(f)) {
3471
+ var A = typeof f.style == "string" ? r.date[f.style] : An(f.style) ? f.style.parsedOptions : void 0;
3472
3472
  a.push({
3473
- type: ge.literal,
3473
+ type: _e.literal,
3474
3474
  value: n.getDateTimeFormat(t, A).format(y)
3475
3475
  });
3476
3476
  continue;
3477
3477
  }
3478
- if (pi(f)) {
3479
- var A = typeof f.style == "string" ? r.time[f.style] : wn(f.style) ? f.style.parsedOptions : r.time.medium;
3478
+ if (di(f)) {
3479
+ var A = typeof f.style == "string" ? r.time[f.style] : An(f.style) ? f.style.parsedOptions : r.time.medium;
3480
3480
  a.push({
3481
- type: ge.literal,
3481
+ type: _e.literal,
3482
3482
  value: n.getDateTimeFormat(t, A).format(y)
3483
3483
  });
3484
3484
  continue;
3485
3485
  }
3486
- if (hi(f)) {
3487
- var A = typeof f.style == "string" ? r.number[f.style] : bi(f.style) ? f.style.parsedOptions : void 0;
3486
+ if (mi(f)) {
3487
+ var A = typeof f.style == "string" ? r.number[f.style] : Ei(f.style) ? f.style.parsedOptions : void 0;
3488
3488
  A && A.scale && (y = y * (A.scale || 1)), a.push({
3489
- type: ge.literal,
3489
+ type: _e.literal,
3490
3490
  value: n.getNumberFormat(t, A).format(y)
3491
3491
  });
3492
3492
  continue;
3493
3493
  }
3494
- if (_i(f)) {
3494
+ if (bi(f)) {
3495
3495
  var x = f.children, g = f.value, N = i[g];
3496
- if (!Rs(N))
3497
- throw new Ns(g, "function", l);
3498
- var U = jt(x, t, n, r, i, o), V = N(U.map(function(I) {
3496
+ if (!Ds(N))
3497
+ throw new Is(g, "function", l);
3498
+ var k = zt(x, t, n, r, i, o), X = N(k.map(function(I) {
3499
3499
  return I.value;
3500
3500
  }));
3501
- Array.isArray(V) || (V = [V]), a.push.apply(a, V.map(function(I) {
3501
+ Array.isArray(X) || (X = [X]), a.push.apply(a, X.map(function(I) {
3502
3502
  return {
3503
- type: typeof I == "string" ? ge.literal : ge.object,
3503
+ type: typeof I == "string" ? _e.literal : _e.object,
3504
3504
  value: I
3505
3505
  };
3506
3506
  }));
3507
3507
  }
3508
- if (di(f)) {
3508
+ if (gi(f)) {
3509
3509
  var R = f.options[y] || f.options.other;
3510
3510
  if (!R)
3511
- throw new wr(f.value, y, Object.keys(f.options), l);
3512
- a.push.apply(a, jt(R.value, t, n, r, i));
3511
+ throw new Ar(f.value, y, Object.keys(f.options), l);
3512
+ a.push.apply(a, zt(R.value, t, n, r, i));
3513
3513
  continue;
3514
3514
  }
3515
- if (gi(f)) {
3515
+ if (_i(f)) {
3516
3516
  var R = f.options["=".concat(y)];
3517
3517
  if (!R) {
3518
3518
  if (!Intl.PluralRules)
3519
- throw new tn(`Intl.PluralRules is not available in this environment.
3519
+ throw new nn(`Intl.PluralRules is not available in this environment.
3520
3520
  Try polyfilling it using "@formatjs/intl-pluralrules"
3521
- `, it.MISSING_INTL_API, l);
3521
+ `, ot.MISSING_INTL_API, l);
3522
3522
  var H = n.getPluralRules(t, { type: f.pluralType }).select(y - (f.offset || 0));
3523
3523
  R = f.options[H] || f.options.other;
3524
3524
  }
3525
3525
  if (!R)
3526
- throw new wr(f.value, y, Object.keys(f.options), l);
3527
- a.push.apply(a, jt(R.value, t, n, r, i, y - (f.offset || 0)));
3526
+ throw new Ar(f.value, y, Object.keys(f.options), l);
3527
+ a.push.apply(a, zt(R.value, t, n, r, i, y - (f.offset || 0)));
3528
3528
  continue;
3529
3529
  }
3530
3530
  }
3531
- return Ps(a);
3531
+ return Rs(a);
3532
3532
  }
3533
- function Ds(e, t) {
3533
+ function Bs(e, t) {
3534
3534
  return t ? Ne(Ne(Ne({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3535
3535
  return n[r] = Ne(Ne({}, e[r]), t[r] || {}), n;
3536
3536
  }, {})) : e;
3537
3537
  }
3538
- function Bs(e, t) {
3538
+ function $s(e, t) {
3539
3539
  return t ? Object.keys(e).reduce(function(n, r) {
3540
- return n[r] = Ds(e[r], t[r]), n;
3540
+ return n[r] = Bs(e[r], t[r]), n;
3541
3541
  }, Ne({}, e)) : e;
3542
3542
  }
3543
- function gn(e) {
3543
+ function _n(e) {
3544
3544
  return {
3545
3545
  create: function() {
3546
3546
  return {
@@ -3554,39 +3554,39 @@ function gn(e) {
3554
3554
  }
3555
3555
  };
3556
3556
  }
3557
- function $s(e) {
3557
+ function Us(e) {
3558
3558
  return e === void 0 && (e = {
3559
3559
  number: {},
3560
3560
  dateTime: {},
3561
3561
  pluralRules: {}
3562
3562
  }), {
3563
- getNumberFormat: mn(function() {
3563
+ getNumberFormat: pn(function() {
3564
3564
  for (var t, n = [], r = 0; r < arguments.length; r++)
3565
3565
  n[r] = arguments[r];
3566
- return new ((t = Intl.NumberFormat).bind.apply(t, hn([void 0], n, !1)))();
3566
+ return new ((t = Intl.NumberFormat).bind.apply(t, mn([void 0], n, !1)))();
3567
3567
  }, {
3568
- cache: gn(e.number),
3569
- strategy: pn.variadic
3568
+ cache: _n(e.number),
3569
+ strategy: dn.variadic
3570
3570
  }),
3571
- getDateTimeFormat: mn(function() {
3571
+ getDateTimeFormat: pn(function() {
3572
3572
  for (var t, n = [], r = 0; r < arguments.length; r++)
3573
3573
  n[r] = arguments[r];
3574
- return new ((t = Intl.DateTimeFormat).bind.apply(t, hn([void 0], n, !1)))();
3574
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, mn([void 0], n, !1)))();
3575
3575
  }, {
3576
- cache: gn(e.dateTime),
3577
- strategy: pn.variadic
3576
+ cache: _n(e.dateTime),
3577
+ strategy: dn.variadic
3578
3578
  }),
3579
- getPluralRules: mn(function() {
3579
+ getPluralRules: pn(function() {
3580
3580
  for (var t, n = [], r = 0; r < arguments.length; r++)
3581
3581
  n[r] = arguments[r];
3582
- return new ((t = Intl.PluralRules).bind.apply(t, hn([void 0], n, !1)))();
3582
+ return new ((t = Intl.PluralRules).bind.apply(t, mn([void 0], n, !1)))();
3583
3583
  }, {
3584
- cache: gn(e.pluralRules),
3585
- strategy: pn.variadic
3584
+ cache: _n(e.pluralRules),
3585
+ strategy: dn.variadic
3586
3586
  })
3587
3587
  };
3588
3588
  }
3589
- var Ai = (
3589
+ var Ci = (
3590
3590
  /** @class */
3591
3591
  function() {
3592
3592
  function e(t, n, r, i) {
@@ -3601,11 +3601,11 @@ var Ai = (
3601
3601
  if (u.length === 1)
3602
3602
  return u[0].value;
3603
3603
  var f = u.reduce(function(m, y) {
3604
- return !m.length || y.type !== ge.literal || typeof m[m.length - 1] != "string" ? m.push(y.value) : m[m.length - 1] += y.value, m;
3604
+ return !m.length || y.type !== _e.literal || typeof m[m.length - 1] != "string" ? m.push(y.value) : m[m.length - 1] += y.value, m;
3605
3605
  }, []);
3606
3606
  return f.length <= 1 ? f[0] || "" : f;
3607
3607
  }, this.formatToParts = function(c) {
3608
- return jt(o.ast, o.locales, o.formatters, o.formats, c, void 0, o.message);
3608
+ return zt(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 {
@@ -3618,13 +3618,13 @@ var Ai = (
3618
3618
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3619
3619
  var l = i || {};
3620
3620
  l.formatters;
3621
- var a = Yo(l, ["formatters"]);
3621
+ var a = Zo(l, ["formatters"]);
3622
3622
  this.ast = e.__parse(t, Ne(Ne({}, a), { 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 = Bs(e.formats, r), this.formatters = i && i.formatters || $s(this.formatterCache);
3627
+ this.formats = $s(e.formats, r), this.formatters = i && i.formatters || Us(this.formatterCache);
3628
3628
  }
3629
3629
  return Object.defineProperty(e, "defaultLocale", {
3630
3630
  get: function() {
@@ -3637,7 +3637,7 @@ var Ai = (
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 = Hs, e.formats = {
3640
+ }, e.__parse = Ns, e.formats = {
3641
3641
  number: {
3642
3642
  integer: {
3643
3643
  maximumFractionDigits: 0
@@ -3698,7 +3698,7 @@ var Ai = (
3698
3698
  }, e;
3699
3699
  }()
3700
3700
  );
3701
- function Us(e, t) {
3701
+ function ks(e, t) {
3702
3702
  if (t == null)
3703
3703
  return;
3704
3704
  if (t in e)
@@ -3719,101 +3719,101 @@ function Us(e, t) {
3719
3719
  r = void 0;
3720
3720
  return r;
3721
3721
  }
3722
- const $e = {}, ks = (e, t, n) => n && (t in $e || ($e[t] = {}), e in $e[t] || ($e[t][e] = n), n), Oi = (e, t) => {
3722
+ const $e = {}, Gs = (e, t, n) => n && (t in $e || ($e[t] = {}), e in $e[t] || ($e[t][e] = n), n), Oi = (e, t) => {
3723
3723
  if (t == null)
3724
3724
  return;
3725
3725
  if (t in $e && e in $e[t])
3726
3726
  return $e[t][e];
3727
- const n = At(t);
3727
+ const n = Ct(t);
3728
3728
  for (let r = 0; r < n.length; r++) {
3729
- const i = n[r], o = Fs(i, e);
3729
+ const i = n[r], o = js(i, e);
3730
3730
  if (o)
3731
- return ks(e, t, o);
3731
+ return Gs(e, t, o);
3732
3732
  }
3733
3733
  };
3734
- let Bn;
3735
- const wt = St({});
3736
- function Gs(e) {
3737
- return Bn[e] || null;
3734
+ let $n;
3735
+ const At = wt({});
3736
+ function Fs(e) {
3737
+ return $n[e] || null;
3738
3738
  }
3739
3739
  function Mi(e) {
3740
- return e in Bn;
3740
+ return e in $n;
3741
3741
  }
3742
- function Fs(e, t) {
3742
+ function js(e, t) {
3743
3743
  if (!Mi(e))
3744
3744
  return null;
3745
- const n = Gs(e);
3746
- return Us(n, t);
3745
+ const n = Fs(e);
3746
+ return ks(n, t);
3747
3747
  }
3748
- function js(e) {
3748
+ function zs(e) {
3749
3749
  if (e == null)
3750
3750
  return;
3751
- const t = At(e);
3751
+ const t = Ct(e);
3752
3752
  for (let n = 0; n < t.length; n++) {
3753
3753
  const r = t[n];
3754
3754
  if (Mi(r))
3755
3755
  return r;
3756
3756
  }
3757
3757
  }
3758
- function Ci(e, ...t) {
3759
- delete $e[e], wt.update((n) => (n[e] = Xo.all([n[e] || {}, ...t]), n));
3758
+ function Li(e, ...t) {
3759
+ delete $e[e], At.update((n) => (n[e] = Yo.all([n[e] || {}, ...t]), n));
3760
3760
  }
3761
- st(
3762
- [wt],
3761
+ at(
3762
+ [At],
3763
3763
  ([e]) => Object.keys(e)
3764
3764
  );
3765
- wt.subscribe((e) => Bn = e);
3766
- const zt = {};
3767
- function zs(e, t) {
3768
- zt[e].delete(t), zt[e].size === 0 && delete zt[e];
3765
+ At.subscribe((e) => $n = e);
3766
+ const Wt = {};
3767
+ function Ws(e, t) {
3768
+ Wt[e].delete(t), Wt[e].size === 0 && delete Wt[e];
3769
3769
  }
3770
- function Li(e) {
3771
- return zt[e];
3770
+ function Hi(e) {
3771
+ return Wt[e];
3772
3772
  }
3773
- function Ws(e) {
3774
- return At(e).map((t) => {
3775
- const n = Li(t);
3773
+ function Vs(e) {
3774
+ return Ct(e).map((t) => {
3775
+ const n = Hi(t);
3776
3776
  return [t, n ? [...n] : []];
3777
3777
  }).filter(([, t]) => t.length > 0);
3778
3778
  }
3779
- function qt(e) {
3780
- return e == null ? !1 : At(e).some(
3779
+ function Jt(e) {
3780
+ return e == null ? !1 : Ct(e).some(
3781
3781
  (t) => {
3782
3782
  var n;
3783
- return (n = Li(t)) == null ? void 0 : n.size;
3783
+ return (n = Hi(t)) == null ? void 0 : n.size;
3784
3784
  }
3785
3785
  );
3786
3786
  }
3787
- function Vs(e, t) {
3787
+ function Xs(e, t) {
3788
3788
  return Promise.all(
3789
- t.map((r) => (zs(e, r), r().then((i) => i.default || i)))
3790
- ).then((r) => Ci(e, ...r));
3791
- }
3792
- const ht = {};
3793
- function Hi(e) {
3794
- if (!qt(e))
3795
- return e in ht ? ht[e] : Promise.resolve();
3796
- const t = Ws(e);
3797
- return ht[e] = Promise.all(
3789
+ t.map((r) => (Ws(e, r), r().then((i) => i.default || i)))
3790
+ ).then((r) => Li(e, ...r));
3791
+ }
3792
+ const mt = {};
3793
+ function Ni(e) {
3794
+ if (!Jt(e))
3795
+ return e in mt ? mt[e] : Promise.resolve();
3796
+ const t = Vs(e);
3797
+ return mt[e] = Promise.all(
3798
3798
  t.map(
3799
- ([n, r]) => Vs(n, r)
3799
+ ([n, r]) => Xs(n, r)
3800
3800
  )
3801
3801
  ).then(() => {
3802
- if (qt(e))
3803
- return Hi(e);
3804
- delete ht[e];
3805
- }), ht[e];
3802
+ if (Jt(e))
3803
+ return Ni(e);
3804
+ delete mt[e];
3805
+ }), mt[e];
3806
3806
  }
3807
- var Ar = Object.getOwnPropertySymbols, Xs = Object.prototype.hasOwnProperty, Ys = Object.prototype.propertyIsEnumerable, Zs = (e, t) => {
3807
+ var Cr = Object.getOwnPropertySymbols, Ys = Object.prototype.hasOwnProperty, Zs = Object.prototype.propertyIsEnumerable, qs = (e, t) => {
3808
3808
  var n = {};
3809
3809
  for (var r in e)
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]);
3810
+ Ys.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3811
+ if (e != null && Cr)
3812
+ for (var r of Cr(e))
3813
+ t.indexOf(r) < 0 && Zs.call(e, r) && (n[r] = e[r]);
3814
3814
  return n;
3815
3815
  };
3816
- const qs = {
3816
+ const Js = {
3817
3817
  number: {
3818
3818
  scientific: { notation: "scientific" },
3819
3819
  engineering: { notation: "engineering" },
@@ -3843,159 +3843,159 @@ const qs = {
3843
3843
  }
3844
3844
  }
3845
3845
  };
3846
- function Js({ locale: e, id: t }) {
3846
+ function Qs({ locale: e, id: t }) {
3847
3847
  console.warn(
3848
- `[svelte-i18n] The message "${t}" was not found in "${At(
3848
+ `[svelte-i18n] The message "${t}" was not found in "${Ct(
3849
3849
  e
3850
- ).join('", "')}".${qt(Ge()) ? `
3850
+ ).join('", "')}".${Jt(Ge()) ? `
3851
3851
 
3852
3852
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3853
3853
  );
3854
3854
  }
3855
- const Qs = {
3855
+ const Ks = {
3856
3856
  fallbackLocale: null,
3857
3857
  loadingDelay: 200,
3858
- formats: qs,
3858
+ formats: Js,
3859
3859
  warnOnMissingMessages: !0,
3860
3860
  handleMissingMessage: void 0,
3861
3861
  ignoreTag: !0
3862
- }, bt = Qs;
3863
- function ot() {
3864
- return bt;
3862
+ }, Et = Ks;
3863
+ function st() {
3864
+ return Et;
3865
3865
  }
3866
- function Ks(e) {
3867
- const t = e, { formats: n } = t, r = Zs(t, ["formats"]);
3866
+ function ea(e) {
3867
+ const t = e, { formats: n } = t, r = qs(t, ["formats"]);
3868
3868
  let i = e.fallbackLocale;
3869
3869
  if (e.initialLocale)
3870
3870
  try {
3871
- Ai.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3871
+ Ci.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3872
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 = Js : console.warn(
3877
+ return r.warnOnMissingMessages && (delete r.warnOnMissingMessages, r.handleMissingMessage == null ? r.handleMissingMessage = Qs : console.warn(
3878
3878
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3879
- )), Object.assign(bt, r, { initialLocale: i }), n && ("number" in n && Object.assign(bt.formats.number, n.number), "date" in n && Object.assign(bt.formats.date, n.date), "time" in n && Object.assign(bt.formats.time, n.time)), ze.set(i);
3879
+ )), Object.assign(Et, r, { initialLocale: i }), n && ("number" in n && Object.assign(Et.formats.number, n.number), "date" in n && Object.assign(Et.formats.date, n.date), "time" in n && Object.assign(Et.formats.time, n.time)), ze.set(i);
3880
3880
  }
3881
- const _n = St(!1);
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) => {
3881
+ const bn = wt(!1);
3882
+ var ta = Object.defineProperty, na = Object.defineProperties, ra = Object.getOwnPropertyDescriptors, Or = Object.getOwnPropertySymbols, ia = Object.prototype.hasOwnProperty, oa = Object.prototype.propertyIsEnumerable, Mr = (e, t, n) => t in e ? ta(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, sa = (e, t) => {
3883
3883
  for (var n in t || (t = {}))
3884
- ra.call(t, n) && Mr(e, n, t[n]);
3884
+ ia.call(t, n) && Mr(e, n, t[n]);
3885
3885
  if (Or)
3886
3886
  for (var n of Or(t))
3887
- ia.call(t, n) && Mr(e, n, t[n]);
3887
+ oa.call(t, n) && Mr(e, n, t[n]);
3888
3888
  return e;
3889
- }, sa = (e, t) => ta(e, na(t));
3890
- let Hn;
3891
- const Jt = St(null);
3892
- function Cr(e) {
3889
+ }, aa = (e, t) => na(e, ra(t));
3890
+ let Nn;
3891
+ const Qt = wt(null);
3892
+ function Lr(e) {
3893
3893
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3894
3894
  }
3895
- function At(e, t = ot().fallbackLocale) {
3896
- const n = Cr(e);
3897
- return t ? [.../* @__PURE__ */ new Set([...n, ...Cr(t)])] : n;
3895
+ function Ct(e, t = st().fallbackLocale) {
3896
+ const n = Lr(e);
3897
+ return t ? [.../* @__PURE__ */ new Set([...n, ...Lr(t)])] : n;
3898
3898
  }
3899
3899
  function Ge() {
3900
- return Hn != null ? Hn : void 0;
3900
+ return Nn != null ? Nn : void 0;
3901
3901
  }
3902
- Jt.subscribe((e) => {
3903
- Hn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3902
+ Qt.subscribe((e) => {
3903
+ Nn = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3904
3904
  });
3905
- const aa = (e) => {
3906
- if (e && js(e) && qt(e)) {
3907
- const { loadingDelay: t } = ot();
3905
+ const la = (e) => {
3906
+ if (e && zs(e) && Jt(e)) {
3907
+ const { loadingDelay: t } = st();
3908
3908
  let n;
3909
3909
  return typeof window != "undefined" && Ge() != null && t ? n = window.setTimeout(
3910
- () => _n.set(!0),
3910
+ () => bn.set(!0),
3911
3911
  t
3912
- ) : _n.set(!0), Hi(e).then(() => {
3913
- Jt.set(e);
3912
+ ) : bn.set(!0), Ni(e).then(() => {
3913
+ Qt.set(e);
3914
3914
  }).finally(() => {
3915
- clearTimeout(n), _n.set(!1);
3915
+ clearTimeout(n), bn.set(!1);
3916
3916
  });
3917
3917
  }
3918
- return Jt.set(e);
3919
- }, ze = sa(oa({}, Jt), {
3920
- set: aa
3921
- }), nn = (e) => {
3918
+ return Qt.set(e);
3919
+ }, ze = aa(sa({}, Qt), {
3920
+ set: la
3921
+ }), rn = (e) => {
3922
3922
  const t = /* @__PURE__ */ Object.create(null);
3923
3923
  return (r) => {
3924
3924
  const i = JSON.stringify(r);
3925
3925
  return i in t ? t[i] : t[i] = e(r);
3926
3926
  };
3927
3927
  };
3928
- var la = Object.defineProperty, Qt = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, Lr = (e, t, n) => t in e ? la(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $n = (e, t) => {
3928
+ var ua = Object.defineProperty, Kt = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Hr = (e, t, n) => t in e ? ua(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Un = (e, t) => {
3929
3929
  for (var n in t || (t = {}))
3930
- Ni.call(t, n) && Lr(e, n, t[n]);
3931
- if (Qt)
3932
- for (var n of Qt(t))
3933
- Ii.call(t, n) && Lr(e, n, t[n]);
3930
+ Ii.call(t, n) && Hr(e, n, t[n]);
3931
+ if (Kt)
3932
+ for (var n of Kt(t))
3933
+ Pi.call(t, n) && Hr(e, n, t[n]);
3934
3934
  return e;
3935
- }, at = (e, t) => {
3935
+ }, lt = (e, t) => {
3936
3936
  var n = {};
3937
3937
  for (var r in e)
3938
- Ni.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3939
- if (e != null && Qt)
3940
- for (var r of Qt(e))
3941
- t.indexOf(r) < 0 && Ii.call(e, r) && (n[r] = e[r]);
3938
+ Ii.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
3939
+ if (e != null && Kt)
3940
+ for (var r of Kt(e))
3941
+ t.indexOf(r) < 0 && Pi.call(e, r) && (n[r] = e[r]);
3942
3942
  return n;
3943
3943
  };
3944
- const Tt = (e, t) => {
3945
- const { formats: n } = ot();
3944
+ const St = (e, t) => {
3945
+ const { formats: n } = st();
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 = nn(
3949
+ }, ca = rn(
3950
3950
  (e) => {
3951
- var t = e, { locale: n, format: r } = t, i = at(t, ["locale", "format"]);
3951
+ var t = e, { locale: n, format: r } = t, i = lt(t, ["locale", "format"]);
3952
3952
  if (n == null)
3953
3953
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3954
- return r && (i = Tt("number", r)), new Intl.NumberFormat(n, i);
3954
+ return r && (i = St("number", r)), new Intl.NumberFormat(n, i);
3955
3955
  }
3956
- ), ca = nn(
3956
+ ), fa = rn(
3957
3957
  (e) => {
3958
- var t = e, { locale: n, format: r } = t, i = at(t, ["locale", "format"]);
3958
+ var t = e, { locale: n, format: r } = t, i = lt(t, ["locale", "format"]);
3959
3959
  if (n == null)
3960
3960
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3961
- return r ? i = Tt("date", r) : Object.keys(i).length === 0 && (i = Tt("date", "short")), new Intl.DateTimeFormat(n, i);
3961
+ return r ? i = St("date", r) : Object.keys(i).length === 0 && (i = St("date", "short")), new Intl.DateTimeFormat(n, i);
3962
3962
  }
3963
- ), fa = nn(
3963
+ ), ha = rn(
3964
3964
  (e) => {
3965
- var t = e, { locale: n, format: r } = t, i = at(t, ["locale", "format"]);
3965
+ var t = e, { locale: n, format: r } = t, i = lt(t, ["locale", "format"]);
3966
3966
  if (n == null)
3967
3967
  throw new Error(
3968
3968
  '[svelte-i18n] A "locale" must be set to format time values'
3969
3969
  );
3970
- return r ? i = Tt("time", r) : Object.keys(i).length === 0 && (i = Tt("time", "short")), new Intl.DateTimeFormat(n, i);
3970
+ return r ? i = St("time", r) : Object.keys(i).length === 0 && (i = St("time", "short")), new Intl.DateTimeFormat(n, i);
3971
3971
  }
3972
- ), ha = (e = {}) => {
3972
+ ), ma = (e = {}) => {
3973
3973
  var t = e, {
3974
3974
  locale: n = Ge()
3975
- } = t, r = at(t, [
3975
+ } = t, r = lt(t, [
3976
3976
  "locale"
3977
3977
  ]);
3978
- return ua($n({ locale: n }, r));
3979
- }, ma = (e = {}) => {
3978
+ return ca(Un({ locale: n }, r));
3979
+ }, pa = (e = {}) => {
3980
3980
  var t = e, {
3981
3981
  locale: n = Ge()
3982
- } = t, r = at(t, [
3982
+ } = t, r = lt(t, [
3983
3983
  "locale"
3984
3984
  ]);
3985
- return ca($n({ locale: n }, r));
3986
- }, pa = (e = {}) => {
3985
+ return fa(Un({ locale: n }, r));
3986
+ }, da = (e = {}) => {
3987
3987
  var t = e, {
3988
3988
  locale: n = Ge()
3989
- } = t, r = at(t, [
3989
+ } = t, r = lt(t, [
3990
3990
  "locale"
3991
3991
  ]);
3992
- return fa($n({ locale: n }, r));
3993
- }, da = nn(
3992
+ return ha(Un({ locale: n }, r));
3993
+ }, ga = rn(
3994
3994
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3995
- (e, t = Ge()) => new Ai(e, t, ot().formats, {
3996
- ignoreTag: ot().ignoreTag
3995
+ (e, t = Ge()) => new Ci(e, t, st().formats, {
3996
+ ignoreTag: st().ignoreTag
3997
3997
  })
3998
- ), ga = (e, t = {}) => {
3998
+ ), _a = (e, t = {}) => {
3999
3999
  var n, r, i, o;
4000
4000
  let l = t;
4001
4001
  typeof e == "object" && (l = e, e = l.id);
@@ -4010,7 +4010,7 @@ const Tt = (e, t) => {
4010
4010
  );
4011
4011
  let f = Oi(e, c);
4012
4012
  if (!f)
4013
- f = (o = (i = (r = (n = ot()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4013
+ f = (o = (i = (r = (n = st()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: u })) != null ? i : u) != 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 Tt = (e, t) => {
4019
4019
  return f;
4020
4020
  let m = f;
4021
4021
  try {
4022
- m = da(f, c).format(a);
4022
+ m = ga(f, c).format(a);
4023
4023
  } catch (y) {
4024
4024
  y instanceof Error && console.warn(
4025
4025
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4027,20 +4027,20 @@ const Tt = (e, t) => {
4027
4027
  );
4028
4028
  }
4029
4029
  return m;
4030
- }, _a = (e, t) => pa(t).format(e), ba = (e, t) => ma(t).format(e), Ea = (e, t) => ha(t).format(e), ya = (e, t = Ge()) => Oi(e, t), xa = st([ze, wt], () => ga);
4031
- st([ze], () => _a);
4032
- st([ze], () => ba);
4033
- st([ze], () => Ea);
4034
- st([ze, wt], () => ya);
4035
- function Hr(e, t) {
4036
- Ci(e, t);
4037
- }
4038
- function va(e) {
4039
- Ks({
4030
+ }, ba = (e, t) => da(t).format(e), Ea = (e, t) => pa(t).format(e), ya = (e, t) => ma(t).format(e), xa = (e, t = Ge()) => Oi(e, t), va = at([ze, At], () => _a);
4031
+ at([ze], () => ba);
4032
+ at([ze], () => Ea);
4033
+ at([ze], () => ya);
4034
+ at([ze, At], () => xa);
4035
+ function Nr(e, t) {
4036
+ Li(e, t);
4037
+ }
4038
+ function Ta(e) {
4039
+ ea({
4040
4040
  fallbackLocale: "en"
4041
4041
  }), ze.set(e);
4042
4042
  }
4043
- const Nr = {
4043
+ const Ir = {
4044
4044
  en: {
4045
4045
  sessionExpirationHeader: "Session Warning",
4046
4046
  sessionExpirationTitle: "Your session is about to expire!",
@@ -4068,118 +4068,118 @@ const Nr = {
4068
4068
  };
4069
4069
  /*! @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 */
4070
4070
  const {
4071
- entries: Pi,
4072
- setPrototypeOf: Ir,
4073
- isFrozen: Ta,
4074
- getPrototypeOf: Sa,
4075
- getOwnPropertyDescriptor: wa
4071
+ entries: Ri,
4072
+ setPrototypeOf: Pr,
4073
+ isFrozen: Sa,
4074
+ getPrototypeOf: wa,
4075
+ getOwnPropertyDescriptor: Aa
4076
4076
  } = Object;
4077
4077
  let {
4078
- freeze: _e,
4078
+ freeze: be,
4079
4079
  seal: Te,
4080
- create: Ri
4080
+ create: Di
4081
4081
  } = Object, {
4082
- apply: Nn,
4083
- construct: In
4082
+ apply: In,
4083
+ construct: Pn
4084
4084
  } = typeof Reflect != "undefined" && Reflect;
4085
- _e || (_e = function(t) {
4085
+ be || (be = function(t) {
4086
4086
  return t;
4087
4087
  });
4088
4088
  Te || (Te = function(t) {
4089
4089
  return t;
4090
4090
  });
4091
- Nn || (Nn = function(t, n, r) {
4091
+ In || (In = function(t, n, r) {
4092
4092
  return t.apply(n, r);
4093
4093
  });
4094
- In || (In = function(t, n) {
4094
+ Pn || (Pn = function(t, n) {
4095
4095
  return new t(...n);
4096
4096
  });
4097
- const Rt = xe(Array.prototype.forEach), Pr = xe(Array.prototype.pop), mt = xe(Array.prototype.push), Wt = xe(String.prototype.toLowerCase), bn = xe(String.prototype.toString), Rr = xe(String.prototype.match), pt = xe(String.prototype.replace), Aa = xe(String.prototype.indexOf), Oa = xe(String.prototype.trim), we = xe(Object.prototype.hasOwnProperty), pe = xe(RegExp.prototype.test), dt = Ma(TypeError);
4097
+ const Dt = xe(Array.prototype.forEach), Rr = xe(Array.prototype.pop), pt = xe(Array.prototype.push), Vt = xe(String.prototype.toLowerCase), En = xe(String.prototype.toString), Dr = xe(String.prototype.match), dt = xe(String.prototype.replace), Ca = xe(String.prototype.indexOf), Oa = xe(String.prototype.trim), we = xe(Object.prototype.hasOwnProperty), de = xe(RegExp.prototype.test), gt = Ma(TypeError);
4098
4098
  function xe(e) {
4099
4099
  return function(t) {
4100
4100
  for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
4101
4101
  r[i - 1] = arguments[i];
4102
- return Nn(e, t, r);
4102
+ return In(e, t, r);
4103
4103
  };
4104
4104
  }
4105
4105
  function Ma(e) {
4106
4106
  return function() {
4107
4107
  for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
4108
4108
  n[r] = arguments[r];
4109
- return In(e, n);
4109
+ return Pn(e, n);
4110
4110
  };
4111
4111
  }
4112
- function $(e, t) {
4113
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Wt;
4114
- Ir && Ir(e, null);
4112
+ function U(e, t) {
4113
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Vt;
4114
+ Pr && Pr(e, null);
4115
4115
  let r = t.length;
4116
4116
  for (; r--; ) {
4117
4117
  let i = t[r];
4118
4118
  if (typeof i == "string") {
4119
4119
  const o = n(i);
4120
- o !== i && (Ta(t) || (t[r] = o), i = o);
4120
+ o !== i && (Sa(t) || (t[r] = o), i = o);
4121
4121
  }
4122
4122
  e[i] = !0;
4123
4123
  }
4124
4124
  return e;
4125
4125
  }
4126
- function Ca(e) {
4126
+ function La(e) {
4127
4127
  for (let t = 0; t < e.length; t++)
4128
4128
  we(e, t) || (e[t] = null);
4129
4129
  return e;
4130
4130
  }
4131
4131
  function Fe(e) {
4132
- const t = Ri(null);
4133
- for (const [n, r] of Pi(e))
4134
- we(e, n) && (Array.isArray(r) ? t[n] = Ca(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Fe(r) : t[n] = r);
4132
+ const t = Di(null);
4133
+ for (const [n, r] of Ri(e))
4134
+ we(e, n) && (Array.isArray(r) ? t[n] = La(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = Fe(r) : t[n] = r);
4135
4135
  return t;
4136
4136
  }
4137
- function gt(e, t) {
4137
+ function _t(e, t) {
4138
4138
  for (; e !== null; ) {
4139
- const r = wa(e, t);
4139
+ const r = Aa(e, t);
4140
4140
  if (r) {
4141
4141
  if (r.get)
4142
4142
  return xe(r.get);
4143
4143
  if (typeof r.value == "function")
4144
4144
  return xe(r.value);
4145
4145
  }
4146
- e = Sa(e);
4146
+ e = wa(e);
4147
4147
  }
4148
4148
  function n() {
4149
4149
  return null;
4150
4150
  }
4151
4151
  return n;
4152
4152
  }
4153
- const Dr = _e(["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"]), En = _e(["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"]), yn = _e(["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 = _e(["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"]), xn = _e(["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"]), Ha = _e(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Br = _e(["#text"]), $r = _e(["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"]), vn = _e(["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 = _e(["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"]), Dt = _e(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Na = Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ia = Te(/<%[\w\W]*|[\w\W]*%>/gm), Pa = Te(/\${[\w\W]*}/gm), Ra = Te(/^data-[\-\w.\u00B7-\uFFFF]/), Da = Te(/^aria-[\-\w]+$/), Di = Te(
4153
+ const Br = be(["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"]), yn = be(["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"]), xn = be(["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"]), Ha = be(["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"]), vn = be(["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 = be(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $r = be(["#text"]), Ur = be(["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"]), Tn = be(["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"]), kr = be(["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"]), Bt = be(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ia = Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Pa = Te(/<%[\w\W]*|[\w\W]*%>/gm), Ra = Te(/\${[\w\W]*}/gm), Da = Te(/^data-[\-\w.\u00B7-\uFFFF]/), Ba = Te(/^aria-[\-\w]+$/), Bi = Te(
4154
4154
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4155
4155
  // eslint-disable-line no-useless-escape
4156
- ), Ba = Te(/^(?:\w+script|data):/i), $a = Te(
4156
+ ), $a = Te(/^(?:\w+script|data):/i), Ua = Te(
4157
4157
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4158
4158
  // eslint-disable-line no-control-regex
4159
- ), Bi = Te(/^html$/i), Ua = Te(/^[a-z][.\w]*(-[.\w]+)+$/i);
4160
- var kr = /* @__PURE__ */ Object.freeze({
4159
+ ), $i = Te(/^html$/i), ka = Te(/^[a-z][.\w]*(-[.\w]+)+$/i);
4160
+ var Gr = /* @__PURE__ */ Object.freeze({
4161
4161
  __proto__: null,
4162
- MUSTACHE_EXPR: Na,
4163
- ERB_EXPR: Ia,
4164
- TMPLIT_EXPR: Pa,
4165
- DATA_ATTR: Ra,
4166
- ARIA_ATTR: Da,
4167
- IS_ALLOWED_URI: Di,
4168
- IS_SCRIPT_OR_DATA: Ba,
4169
- ATTR_WHITESPACE: $a,
4170
- DOCTYPE_NAME: Bi,
4171
- CUSTOM_ELEMENT: Ua
4162
+ MUSTACHE_EXPR: Ia,
4163
+ ERB_EXPR: Pa,
4164
+ TMPLIT_EXPR: Ra,
4165
+ DATA_ATTR: Da,
4166
+ ARIA_ATTR: Ba,
4167
+ IS_ALLOWED_URI: Bi,
4168
+ IS_SCRIPT_OR_DATA: $a,
4169
+ ATTR_WHITESPACE: Ua,
4170
+ DOCTYPE_NAME: $i,
4171
+ CUSTOM_ELEMENT: ka
4172
4172
  });
4173
- const _t = {
4173
+ const bt = {
4174
4174
  element: 1,
4175
4175
  text: 3,
4176
4176
  // Deprecated
4177
4177
  progressingInstruction: 7,
4178
4178
  comment: 8,
4179
4179
  document: 9
4180
- }, ka = function() {
4180
+ }, Ga = function() {
4181
4181
  return typeof window == "undefined" ? null : window;
4182
- }, Ga = function(t, n) {
4182
+ }, Fa = function(t, n) {
4183
4183
  if (typeof t != "object" || typeof t.createPolicy != "function")
4184
4184
  return null;
4185
4185
  let r = null;
@@ -4199,10 +4199,10 @@ const _t = {
4199
4199
  return console.warn("TrustedTypes policy " + o + " could not be created."), null;
4200
4200
  }
4201
4201
  };
4202
- function $i() {
4203
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ka();
4204
- const t = (S) => $i(S);
4205
- if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== _t.document)
4202
+ function Ui() {
4203
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ga();
4204
+ const t = (S) => Ui(S);
4205
+ if (t.version = "3.1.6", t.removed = [], !e || !e.document || e.document.nodeType !== bt.document)
4206
4206
  return t.isSupported = !1, t;
4207
4207
  let {
4208
4208
  document: n
@@ -4217,39 +4217,39 @@ function $i() {
4217
4217
  HTMLFormElement: m,
4218
4218
  DOMParser: y,
4219
4219
  trustedTypes: A
4220
- } = e, x = c.prototype, g = gt(x, "cloneNode"), N = gt(x, "remove"), U = gt(x, "nextSibling"), V = gt(x, "childNodes"), R = gt(x, "parentNode");
4220
+ } = e, x = c.prototype, g = _t(x, "cloneNode"), N = _t(x, "remove"), k = _t(x, "nextSibling"), X = _t(x, "childNodes"), R = _t(x, "parentNode");
4221
4221
  if (typeof l == "function") {
4222
4222
  const S = n.createElement("template");
4223
4223
  S.content && S.content.ownerDocument && (n = S.content.ownerDocument);
4224
4224
  }
4225
4225
  let H, I = "";
4226
4226
  const {
4227
- implementation: W,
4227
+ implementation: V,
4228
4228
  createNodeIterator: oe,
4229
4229
  createDocumentFragment: fe,
4230
4230
  getElementsByTagName: K
4231
4231
  } = n, {
4232
- importNode: j
4232
+ importNode: z
4233
4233
  } = r;
4234
- let C = {};
4235
- t.isSupported = typeof Pi == "function" && typeof R == "function" && W && W.createHTMLDocument !== void 0;
4234
+ let L = {};
4235
+ t.isSupported = typeof Ri == "function" && typeof R == "function" && V && V.createHTMLDocument !== void 0;
4236
4236
  const {
4237
- MUSTACHE_EXPR: se,
4238
- ERB_EXPR: Ee,
4239
- TMPLIT_EXPR: M,
4237
+ MUSTACHE_EXPR: he,
4238
+ ERB_EXPR: ue,
4239
+ TMPLIT_EXPR: O,
4240
4240
  DATA_ATTR: _,
4241
4241
  ARIA_ATTR: h,
4242
4242
  IS_SCRIPT_OR_DATA: E,
4243
- ATTR_WHITESPACE: b,
4244
- CUSTOM_ELEMENT: L
4245
- } = kr;
4243
+ ATTR_WHITESPACE: d,
4244
+ CUSTOM_ELEMENT: M
4245
+ } = Gr;
4246
4246
  let {
4247
- IS_ALLOWED_URI: O
4248
- } = kr, v = null;
4249
- const z = $({}, [...Dr, ...En, ...yn, ...xn, ...Br]);
4247
+ IS_ALLOWED_URI: C
4248
+ } = Gr, v = null;
4249
+ const W = U({}, [...Br, ...yn, ...xn, ...vn, ...$r]);
4250
4250
  let P = null;
4251
- const q = $({}, [...$r, ...vn, ...Ur, ...Dt]);
4252
- let D = Object.seal(Ri(null, {
4251
+ const q = U({}, [...Ur, ...Tn, ...kr, ...Bt]);
4252
+ let D = Object.seal(Di(null, {
4253
4253
  tagNameCheck: {
4254
4254
  writable: !0,
4255
4255
  configurable: !1,
@@ -4268,59 +4268,59 @@ function $i() {
4268
4268
  enumerable: !0,
4269
4269
  value: !1
4270
4270
  }
4271
- })), d = null, k = null, X = !0, Y = !0, ne = !1, ee = !0, he = !1, le = !0, Oe = !1, J = !1, re = !1, Me = !1, Ot = !1, Mt = !1, Un = !0, kn = !1;
4272
- const Gi = "user-content-";
4273
- let rn = !0, lt = !1, We = {}, Ve = null;
4274
- const Gn = $({}, ["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"]);
4275
- let Fn = null;
4276
- const jn = $({}, ["audio", "video", "img", "source", "image", "track"]);
4277
- let on = null;
4278
- const zn = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ct = "http://www.w3.org/1998/Math/MathML", Lt = "http://www.w3.org/2000/svg", Ie = "http://www.w3.org/1999/xhtml";
4279
- let Xe = Ie, sn = !1, an = null;
4280
- const Fi = $({}, [Ct, Lt, Ie], bn);
4281
- let ut = null;
4282
- const ji = ["application/xhtml+xml", "text/html"], zi = "text/html";
4283
- let ae = null, Ye = null;
4284
- const Wi = n.createElement("form"), Wn = function(s) {
4271
+ })), Y = null, b = null, B = !0, ee = !0, F = !1, te = !0, me = !1, ae = !0, Ce = !1, J = !1, re = !1, Oe = !1, Ot = !1, Mt = !1, kn = !0, Gn = !1;
4272
+ const Fi = "user-content-";
4273
+ let on = !0, ut = !1, We = {}, Ve = null;
4274
+ const Fn = U({}, ["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"]);
4275
+ let jn = null;
4276
+ const zn = U({}, ["audio", "video", "img", "source", "image", "track"]);
4277
+ let sn = null;
4278
+ const Wn = U({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Lt = "http://www.w3.org/1998/Math/MathML", Ht = "http://www.w3.org/2000/svg", Ie = "http://www.w3.org/1999/xhtml";
4279
+ let Xe = Ie, an = !1, ln = null;
4280
+ const ji = U({}, [Lt, Ht, Ie], En);
4281
+ let ct = null;
4282
+ const zi = ["application/xhtml+xml", "text/html"], Wi = "text/html";
4283
+ let se = null, Ye = null;
4284
+ const Vi = n.createElement("form"), Vn = function(s) {
4285
4285
  return s instanceof RegExp || s instanceof Function;
4286
- }, ln = function() {
4286
+ }, un = function() {
4287
4287
  let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4288
4288
  if (!(Ye && Ye === s)) {
4289
- if ((!s || typeof s != "object") && (s = {}), s = Fe(s), ut = // eslint-disable-next-line unicorn/prefer-includes
4290
- ji.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? zi : s.PARSER_MEDIA_TYPE, ae = ut === "application/xhtml+xml" ? bn : Wt, v = we(s, "ALLOWED_TAGS") ? $({}, s.ALLOWED_TAGS, ae) : z, P = we(s, "ALLOWED_ATTR") ? $({}, s.ALLOWED_ATTR, ae) : q, an = we(s, "ALLOWED_NAMESPACES") ? $({}, s.ALLOWED_NAMESPACES, bn) : Fi, on = we(s, "ADD_URI_SAFE_ATTR") ? $(
4291
- Fe(zn),
4289
+ if ((!s || typeof s != "object") && (s = {}), s = Fe(s), ct = // eslint-disable-next-line unicorn/prefer-includes
4290
+ zi.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? Wi : s.PARSER_MEDIA_TYPE, se = ct === "application/xhtml+xml" ? En : Vt, v = we(s, "ALLOWED_TAGS") ? U({}, s.ALLOWED_TAGS, se) : W, P = we(s, "ALLOWED_ATTR") ? U({}, s.ALLOWED_ATTR, se) : q, ln = we(s, "ALLOWED_NAMESPACES") ? U({}, s.ALLOWED_NAMESPACES, En) : ji, sn = we(s, "ADD_URI_SAFE_ATTR") ? U(
4291
+ Fe(Wn),
4292
4292
  // eslint-disable-line indent
4293
4293
  s.ADD_URI_SAFE_ATTR,
4294
4294
  // eslint-disable-line indent
4295
- ae
4295
+ se
4296
4296
  // eslint-disable-line indent
4297
- ) : zn, Fn = we(s, "ADD_DATA_URI_TAGS") ? $(
4298
- Fe(jn),
4297
+ ) : Wn, jn = we(s, "ADD_DATA_URI_TAGS") ? U(
4298
+ Fe(zn),
4299
4299
  // eslint-disable-line indent
4300
4300
  s.ADD_DATA_URI_TAGS,
4301
4301
  // eslint-disable-line indent
4302
- ae
4302
+ se
4303
4303
  // eslint-disable-line indent
4304
- ) : jn, Ve = we(s, "FORBID_CONTENTS") ? $({}, s.FORBID_CONTENTS, ae) : Gn, d = we(s, "FORBID_TAGS") ? $({}, s.FORBID_TAGS, ae) : {}, k = we(s, "FORBID_ATTR") ? $({}, s.FORBID_ATTR, ae) : {}, We = we(s, "USE_PROFILES") ? s.USE_PROFILES : !1, X = s.ALLOW_ARIA_ATTR !== !1, Y = s.ALLOW_DATA_ATTR !== !1, ne = s.ALLOW_UNKNOWN_PROTOCOLS || !1, ee = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, he = s.SAFE_FOR_TEMPLATES || !1, le = s.SAFE_FOR_XML !== !1, Oe = s.WHOLE_DOCUMENT || !1, Me = s.RETURN_DOM || !1, Ot = s.RETURN_DOM_FRAGMENT || !1, Mt = s.RETURN_TRUSTED_TYPE || !1, re = s.FORCE_BODY || !1, Un = s.SANITIZE_DOM !== !1, kn = s.SANITIZE_NAMED_PROPS || !1, rn = s.KEEP_CONTENT !== !1, lt = s.IN_PLACE || !1, O = s.ALLOWED_URI_REGEXP || Di, Xe = s.NAMESPACE || Ie, D = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && Wn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (D.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && Wn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (D.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (D.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), he && (Y = !1), Ot && (Me = !0), We && (v = $({}, Br), P = [], We.html === !0 && ($(v, Dr), $(P, $r)), We.svg === !0 && ($(v, En), $(P, vn), $(P, Dt)), We.svgFilters === !0 && ($(v, yn), $(P, vn), $(P, Dt)), We.mathMl === !0 && ($(v, xn), $(P, Ur), $(P, Dt))), s.ADD_TAGS && (v === z && (v = Fe(v)), $(v, s.ADD_TAGS, ae)), s.ADD_ATTR && (P === q && (P = Fe(P)), $(P, s.ADD_ATTR, ae)), s.ADD_URI_SAFE_ATTR && $(on, s.ADD_URI_SAFE_ATTR, ae), s.FORBID_CONTENTS && (Ve === Gn && (Ve = Fe(Ve)), $(Ve, s.FORBID_CONTENTS, ae)), rn && (v["#text"] = !0), Oe && $(v, ["html", "head", "body"]), v.table && ($(v, ["tbody"]), delete d.tbody), s.TRUSTED_TYPES_POLICY) {
4304
+ ) : zn, Ve = we(s, "FORBID_CONTENTS") ? U({}, s.FORBID_CONTENTS, se) : Fn, Y = we(s, "FORBID_TAGS") ? U({}, s.FORBID_TAGS, se) : {}, b = we(s, "FORBID_ATTR") ? U({}, s.FORBID_ATTR, se) : {}, We = we(s, "USE_PROFILES") ? s.USE_PROFILES : !1, B = s.ALLOW_ARIA_ATTR !== !1, ee = s.ALLOW_DATA_ATTR !== !1, F = s.ALLOW_UNKNOWN_PROTOCOLS || !1, te = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, me = s.SAFE_FOR_TEMPLATES || !1, ae = s.SAFE_FOR_XML !== !1, Ce = s.WHOLE_DOCUMENT || !1, Oe = s.RETURN_DOM || !1, Ot = s.RETURN_DOM_FRAGMENT || !1, Mt = s.RETURN_TRUSTED_TYPE || !1, re = s.FORCE_BODY || !1, kn = s.SANITIZE_DOM !== !1, Gn = s.SANITIZE_NAMED_PROPS || !1, on = s.KEEP_CONTENT !== !1, ut = s.IN_PLACE || !1, C = s.ALLOWED_URI_REGEXP || Bi, Xe = s.NAMESPACE || Ie, D = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && Vn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (D.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && Vn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (D.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (D.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), me && (ee = !1), Ot && (Oe = !0), We && (v = U({}, $r), P = [], We.html === !0 && (U(v, Br), U(P, Ur)), We.svg === !0 && (U(v, yn), U(P, Tn), U(P, Bt)), We.svgFilters === !0 && (U(v, xn), U(P, Tn), U(P, Bt)), We.mathMl === !0 && (U(v, vn), U(P, kr), U(P, Bt))), s.ADD_TAGS && (v === W && (v = Fe(v)), U(v, s.ADD_TAGS, se)), s.ADD_ATTR && (P === q && (P = Fe(P)), U(P, s.ADD_ATTR, se)), s.ADD_URI_SAFE_ATTR && U(sn, s.ADD_URI_SAFE_ATTR, se), s.FORBID_CONTENTS && (Ve === Fn && (Ve = Fe(Ve)), U(Ve, s.FORBID_CONTENTS, se)), on && (v["#text"] = !0), Ce && U(v, ["html", "head", "body"]), v.table && (U(v, ["tbody"]), delete Y.tbody), s.TRUSTED_TYPES_POLICY) {
4305
4305
  if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
4306
- throw dt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4306
+ throw gt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4307
4307
  if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4308
- throw dt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4308
+ throw gt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4309
4309
  H = s.TRUSTED_TYPES_POLICY, I = H.createHTML("");
4310
4310
  } else
4311
- H === void 0 && (H = Ga(A, i)), H !== null && typeof I == "string" && (I = H.createHTML(""));
4312
- _e && _e(s), Ye = s;
4311
+ H === void 0 && (H = Fa(A, i)), H !== null && typeof I == "string" && (I = H.createHTML(""));
4312
+ be && be(s), Ye = s;
4313
4313
  }
4314
- }, Vn = $({}, ["mi", "mo", "mn", "ms", "mtext"]), Xn = $({}, ["foreignobject", "annotation-xml"]), Vi = $({}, ["title", "style", "font", "a", "script"]), Yn = $({}, [...En, ...yn, ...La]), Zn = $({}, [...xn, ...Ha]), Xi = function(s) {
4314
+ }, Xn = U({}, ["mi", "mo", "mn", "ms", "mtext"]), Yn = U({}, ["foreignobject", "annotation-xml"]), Xi = U({}, ["title", "style", "font", "a", "script"]), Zn = U({}, [...yn, ...xn, ...Ha]), qn = U({}, [...vn, ...Na]), Yi = function(s) {
4315
4315
  let p = R(s);
4316
4316
  (!p || !p.tagName) && (p = {
4317
4317
  namespaceURI: Xe,
4318
4318
  tagName: "template"
4319
4319
  });
4320
- const T = Wt(s.tagName), Z = Wt(p.tagName);
4321
- return an[s.namespaceURI] ? s.namespaceURI === Lt ? p.namespaceURI === Ie ? T === "svg" : p.namespaceURI === Ct ? T === "svg" && (Z === "annotation-xml" || Vn[Z]) : !!Yn[T] : s.namespaceURI === Ct ? p.namespaceURI === Ie ? T === "math" : p.namespaceURI === Lt ? T === "math" && Xn[Z] : !!Zn[T] : s.namespaceURI === Ie ? p.namespaceURI === Lt && !Xn[Z] || p.namespaceURI === Ct && !Vn[Z] ? !1 : !Zn[T] && (Vi[T] || !Yn[T]) : !!(ut === "application/xhtml+xml" && an[s.namespaceURI]) : !1;
4322
- }, Ce = function(s) {
4323
- mt(t.removed, {
4320
+ const T = Vt(s.tagName), Z = Vt(p.tagName);
4321
+ return ln[s.namespaceURI] ? s.namespaceURI === Ht ? p.namespaceURI === Ie ? T === "svg" : p.namespaceURI === Lt ? T === "svg" && (Z === "annotation-xml" || Xn[Z]) : !!Zn[T] : s.namespaceURI === Lt ? p.namespaceURI === Ie ? T === "math" : p.namespaceURI === Ht ? T === "math" && Yn[Z] : !!qn[T] : s.namespaceURI === Ie ? p.namespaceURI === Ht && !Yn[Z] || p.namespaceURI === Lt && !Xn[Z] ? !1 : !qn[T] && (Xi[T] || !Zn[T]) : !!(ct === "application/xhtml+xml" && ln[s.namespaceURI]) : !1;
4322
+ }, Me = function(s) {
4323
+ pt(t.removed, {
4324
4324
  element: s
4325
4325
  });
4326
4326
  try {
@@ -4328,22 +4328,22 @@ function $i() {
4328
4328
  } catch (p) {
4329
4329
  N(s);
4330
4330
  }
4331
- }, Ht = function(s, p) {
4331
+ }, Nt = function(s, p) {
4332
4332
  try {
4333
- mt(t.removed, {
4333
+ pt(t.removed, {
4334
4334
  attribute: p.getAttributeNode(s),
4335
4335
  from: p
4336
4336
  });
4337
4337
  } catch (T) {
4338
- mt(t.removed, {
4338
+ pt(t.removed, {
4339
4339
  attribute: null,
4340
4340
  from: p
4341
4341
  });
4342
4342
  }
4343
4343
  if (p.removeAttribute(s), s === "is" && !P[s])
4344
- if (Me || Ot)
4344
+ if (Oe || Ot)
4345
4345
  try {
4346
- Ce(p);
4346
+ Me(p);
4347
4347
  } catch (T) {
4348
4348
  }
4349
4349
  else
@@ -4351,31 +4351,31 @@ function $i() {
4351
4351
  p.setAttribute(s, "");
4352
4352
  } catch (T) {
4353
4353
  }
4354
- }, qn = function(s) {
4354
+ }, Jn = function(s) {
4355
4355
  let p = null, T = null;
4356
4356
  if (re)
4357
4357
  s = "<remove></remove>" + s;
4358
4358
  else {
4359
- const ue = Rr(s, /^[\r\n\t ]+/);
4360
- T = ue && ue[0];
4359
+ const le = Dr(s, /^[\r\n\t ]+/);
4360
+ T = le && le[0];
4361
4361
  }
4362
- ut === "application/xhtml+xml" && Xe === Ie && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
4362
+ ct === "application/xhtml+xml" && Xe === Ie && (s = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + s + "</body></html>");
4363
4363
  const Z = H ? H.createHTML(s) : s;
4364
4364
  if (Xe === Ie)
4365
4365
  try {
4366
- p = new y().parseFromString(Z, ut);
4367
- } catch (ue) {
4366
+ p = new y().parseFromString(Z, ct);
4367
+ } catch (le) {
4368
4368
  }
4369
4369
  if (!p || !p.documentElement) {
4370
- p = W.createDocument(Xe, "template", null);
4370
+ p = V.createDocument(Xe, "template", null);
4371
4371
  try {
4372
- p.documentElement.innerHTML = sn ? I : Z;
4373
- } catch (ue) {
4372
+ p.documentElement.innerHTML = an ? I : Z;
4373
+ } catch (le) {
4374
4374
  }
4375
4375
  }
4376
4376
  const ce = p.body || p.documentElement;
4377
- return s && T && ce.insertBefore(n.createTextNode(T), ce.childNodes[0] || null), Xe === Ie ? K.call(p, Oe ? "html" : "body")[0] : Oe ? p.documentElement : ce;
4378
- }, Jn = function(s) {
4377
+ return s && T && ce.insertBefore(n.createTextNode(T), ce.childNodes[0] || null), Xe === Ie ? K.call(p, Ce ? "html" : "body")[0] : Ce ? p.documentElement : ce;
4378
+ }, Qn = function(s) {
4379
4379
  return oe.call(
4380
4380
  s.ownerDocument || s,
4381
4381
  s,
@@ -4383,63 +4383,63 @@ function $i() {
4383
4383
  u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
4384
4384
  null
4385
4385
  );
4386
- }, Qn = function(s) {
4387
- return s instanceof m && (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");
4388
4386
  }, Kn = function(s) {
4387
+ return s instanceof m && (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");
4388
+ }, er = function(s) {
4389
4389
  return typeof a == "function" && s instanceof a;
4390
4390
  }, Pe = function(s, p, T) {
4391
- C[s] && Rt(C[s], (Z) => {
4391
+ L[s] && Dt(L[s], (Z) => {
4392
4392
  Z.call(t, p, T, Ye);
4393
4393
  });
4394
- }, er = function(s) {
4394
+ }, tr = function(s) {
4395
4395
  let p = null;
4396
- if (Pe("beforeSanitizeElements", s, null), Qn(s))
4397
- return Ce(s), !0;
4398
- const T = ae(s.nodeName);
4396
+ if (Pe("beforeSanitizeElements", s, null), Kn(s))
4397
+ return Me(s), !0;
4398
+ const T = se(s.nodeName);
4399
4399
  if (Pe("uponSanitizeElement", s, {
4400
4400
  tagName: T,
4401
4401
  allowedTags: v
4402
- }), s.hasChildNodes() && !Kn(s.firstElementChild) && pe(/<[/\w]/g, s.innerHTML) && pe(/<[/\w]/g, s.textContent) || s.nodeType === _t.progressingInstruction || le && s.nodeType === _t.comment && pe(/<[/\w]/g, s.data))
4403
- return Ce(s), !0;
4404
- if (!v[T] || d[T]) {
4405
- if (!d[T] && nr(T) && (D.tagNameCheck instanceof RegExp && pe(D.tagNameCheck, T) || D.tagNameCheck instanceof Function && D.tagNameCheck(T)))
4402
+ }), s.hasChildNodes() && !er(s.firstElementChild) && de(/<[/\w]/g, s.innerHTML) && de(/<[/\w]/g, s.textContent) || s.nodeType === bt.progressingInstruction || ae && s.nodeType === bt.comment && de(/<[/\w]/g, s.data))
4403
+ return Me(s), !0;
4404
+ if (!v[T] || Y[T]) {
4405
+ if (!Y[T] && rr(T) && (D.tagNameCheck instanceof RegExp && de(D.tagNameCheck, T) || D.tagNameCheck instanceof Function && D.tagNameCheck(T)))
4406
4406
  return !1;
4407
- if (rn && !Ve[T]) {
4408
- const Z = R(s) || s.parentNode, ce = V(s) || s.childNodes;
4407
+ if (on && !Ve[T]) {
4408
+ const Z = R(s) || s.parentNode, ce = X(s) || s.childNodes;
4409
4409
  if (ce && Z) {
4410
- const ue = ce.length;
4411
- for (let be = ue - 1; be >= 0; --be) {
4412
- const Le = g(ce[be], !0);
4413
- Le.__removalCount = (s.__removalCount || 0) + 1, Z.insertBefore(Le, U(s));
4410
+ const le = ce.length;
4411
+ for (let Ee = le - 1; Ee >= 0; --Ee) {
4412
+ const Le = g(ce[Ee], !0);
4413
+ Le.__removalCount = (s.__removalCount || 0) + 1, Z.insertBefore(Le, k(s));
4414
4414
  }
4415
4415
  }
4416
4416
  }
4417
- return Ce(s), !0;
4417
+ return Me(s), !0;
4418
4418
  }
4419
- return s instanceof c && !Xi(s) || (T === "noscript" || T === "noembed" || T === "noframes") && pe(/<\/no(script|embed|frames)/i, s.innerHTML) ? (Ce(s), !0) : (he && s.nodeType === _t.text && (p = s.textContent, Rt([se, Ee, M], (Z) => {
4420
- p = pt(p, Z, " ");
4421
- }), s.textContent !== p && (mt(t.removed, {
4419
+ return s instanceof c && !Yi(s) || (T === "noscript" || T === "noembed" || T === "noframes") && de(/<\/no(script|embed|frames)/i, s.innerHTML) ? (Me(s), !0) : (me && s.nodeType === bt.text && (p = s.textContent, Dt([he, ue, O], (Z) => {
4420
+ p = dt(p, Z, " ");
4421
+ }), s.textContent !== p && (pt(t.removed, {
4422
4422
  element: s.cloneNode()
4423
4423
  }), s.textContent = p)), Pe("afterSanitizeElements", s, null), !1);
4424
- }, tr = function(s, p, T) {
4425
- if (Un && (p === "id" || p === "name") && (T in n || T in Wi))
4424
+ }, nr = function(s, p, T) {
4425
+ if (kn && (p === "id" || p === "name") && (T in n || T in Vi))
4426
4426
  return !1;
4427
- if (!(Y && !k[p] && pe(_, p))) {
4428
- if (!(X && pe(h, p))) {
4429
- if (!P[p] || k[p]) {
4427
+ if (!(ee && !b[p] && de(_, p))) {
4428
+ if (!(B && de(h, p))) {
4429
+ if (!P[p] || b[p]) {
4430
4430
  if (
4431
4431
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4432
4432
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4433
4433
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4434
- !(nr(s) && (D.tagNameCheck instanceof RegExp && pe(D.tagNameCheck, s) || D.tagNameCheck instanceof Function && D.tagNameCheck(s)) && (D.attributeNameCheck instanceof RegExp && pe(D.attributeNameCheck, p) || D.attributeNameCheck instanceof Function && D.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4434
+ !(rr(s) && (D.tagNameCheck instanceof RegExp && de(D.tagNameCheck, s) || D.tagNameCheck instanceof Function && D.tagNameCheck(s)) && (D.attributeNameCheck instanceof RegExp && de(D.attributeNameCheck, p) || D.attributeNameCheck instanceof Function && D.attributeNameCheck(p)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4435
4435
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4436
- p === "is" && D.allowCustomizedBuiltInElements && (D.tagNameCheck instanceof RegExp && pe(D.tagNameCheck, T) || D.tagNameCheck instanceof Function && D.tagNameCheck(T)))
4436
+ p === "is" && D.allowCustomizedBuiltInElements && (D.tagNameCheck instanceof RegExp && de(D.tagNameCheck, T) || D.tagNameCheck instanceof Function && D.tagNameCheck(T)))
4437
4437
  )
4438
4438
  return !1;
4439
- } else if (!on[p]) {
4440
- if (!pe(O, pt(T, b, ""))) {
4441
- if (!((p === "src" || p === "xlink:href" || p === "href") && s !== "script" && Aa(T, "data:") === 0 && Fn[s])) {
4442
- if (!(ne && !pe(E, pt(T, b, "")))) {
4439
+ } else if (!sn[p]) {
4440
+ if (!de(C, dt(T, d, ""))) {
4441
+ if (!((p === "src" || p === "xlink:href" || p === "href") && s !== "script" && Ca(T, "data:") === 0 && jn[s])) {
4442
+ if (!(F && !de(E, dt(T, d, "")))) {
4443
4443
  if (T)
4444
4444
  return !1;
4445
4445
  }
@@ -4449,9 +4449,9 @@ function $i() {
4449
4449
  }
4450
4450
  }
4451
4451
  return !0;
4452
- }, nr = function(s) {
4453
- return s !== "annotation-xml" && Rr(s, L);
4454
4452
  }, rr = function(s) {
4453
+ return s !== "annotation-xml" && Dr(s, M);
4454
+ }, ir = function(s) {
4455
4455
  Pe("beforeSanitizeAttributes", s, null);
4456
4456
  const {
4457
4457
  attributes: p
@@ -4467,384 +4467,384 @@ function $i() {
4467
4467
  let Z = p.length;
4468
4468
  for (; Z--; ) {
4469
4469
  const ce = p[Z], {
4470
- name: ue,
4471
- namespaceURI: be,
4470
+ name: le,
4471
+ namespaceURI: Ee,
4472
4472
  value: Le
4473
- } = ce, ct = ae(ue);
4474
- let me = ue === "value" ? Le : Oa(Le);
4475
- if (T.attrName = ct, T.attrValue = me, T.keepAttr = !0, T.forceKeepAttr = void 0, Pe("uponSanitizeAttribute", s, T), me = T.attrValue, le && pe(/((--!?|])>)|<\/(style|title)/i, me)) {
4476
- Ht(ue, s);
4473
+ } = ce, ft = se(le);
4474
+ let pe = le === "value" ? Le : Oa(Le);
4475
+ if (T.attrName = ft, T.attrValue = pe, T.keepAttr = !0, T.forceKeepAttr = void 0, Pe("uponSanitizeAttribute", s, T), pe = T.attrValue, ae && de(/((--!?|])>)|<\/(style|title)/i, pe)) {
4476
+ Nt(le, s);
4477
4477
  continue;
4478
4478
  }
4479
- if (T.forceKeepAttr || (Ht(ue, s), !T.keepAttr))
4479
+ if (T.forceKeepAttr || (Nt(le, s), !T.keepAttr))
4480
4480
  continue;
4481
- if (!ee && pe(/\/>/i, me)) {
4482
- Ht(ue, s);
4481
+ if (!te && de(/\/>/i, pe)) {
4482
+ Nt(le, s);
4483
4483
  continue;
4484
4484
  }
4485
- he && Rt([se, Ee, M], (or) => {
4486
- me = pt(me, or, " ");
4485
+ me && Dt([he, ue, O], (sr) => {
4486
+ pe = dt(pe, sr, " ");
4487
4487
  });
4488
- const ir = ae(s.nodeName);
4489
- if (tr(ir, ct, me)) {
4490
- if (kn && (ct === "id" || ct === "name") && (Ht(ue, s), me = Gi + me), H && typeof A == "object" && typeof A.getAttributeType == "function" && !be)
4491
- switch (A.getAttributeType(ir, ct)) {
4488
+ const or = se(s.nodeName);
4489
+ if (nr(or, ft, pe)) {
4490
+ if (Gn && (ft === "id" || ft === "name") && (Nt(le, s), pe = Fi + pe), H && typeof A == "object" && typeof A.getAttributeType == "function" && !Ee)
4491
+ switch (A.getAttributeType(or, ft)) {
4492
4492
  case "TrustedHTML": {
4493
- me = H.createHTML(me);
4493
+ pe = H.createHTML(pe);
4494
4494
  break;
4495
4495
  }
4496
4496
  case "TrustedScriptURL": {
4497
- me = H.createScriptURL(me);
4497
+ pe = H.createScriptURL(pe);
4498
4498
  break;
4499
4499
  }
4500
4500
  }
4501
4501
  try {
4502
- be ? s.setAttributeNS(be, ue, me) : s.setAttribute(ue, me), Qn(s) ? Ce(s) : Pr(t.removed);
4503
- } catch (or) {
4502
+ Ee ? s.setAttributeNS(Ee, le, pe) : s.setAttribute(le, pe), Kn(s) ? Me(s) : Rr(t.removed);
4503
+ } catch (sr) {
4504
4504
  }
4505
4505
  }
4506
4506
  }
4507
4507
  Pe("afterSanitizeAttributes", s, null);
4508
- }, Yi = function S(s) {
4508
+ }, Zi = function S(s) {
4509
4509
  let p = null;
4510
- const T = Jn(s);
4510
+ const T = Qn(s);
4511
4511
  for (Pe("beforeSanitizeShadowDOM", s, null); p = T.nextNode(); )
4512
- Pe("uponSanitizeShadowNode", p, null), !er(p) && (p.content instanceof o && S(p.content), rr(p));
4512
+ Pe("uponSanitizeShadowNode", p, null), !tr(p) && (p.content instanceof o && S(p.content), ir(p));
4513
4513
  Pe("afterSanitizeShadowDOM", s, null);
4514
4514
  };
4515
4515
  return t.sanitize = function(S) {
4516
4516
  let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, p = null, T = null, Z = null, ce = null;
4517
- if (sn = !S, sn && (S = "<!-->"), typeof S != "string" && !Kn(S))
4517
+ if (an = !S, an && (S = "<!-->"), typeof S != "string" && !er(S))
4518
4518
  if (typeof S.toString == "function") {
4519
4519
  if (S = S.toString(), typeof S != "string")
4520
- throw dt("dirty is not a string, aborting");
4520
+ throw gt("dirty is not a string, aborting");
4521
4521
  } else
4522
- throw dt("toString is not a function");
4522
+ throw gt("toString is not a function");
4523
4523
  if (!t.isSupported)
4524
4524
  return S;
4525
- if (J || ln(s), t.removed = [], typeof S == "string" && (lt = !1), lt) {
4525
+ if (J || un(s), t.removed = [], typeof S == "string" && (ut = !1), ut) {
4526
4526
  if (S.nodeName) {
4527
- const Le = ae(S.nodeName);
4528
- if (!v[Le] || d[Le])
4529
- throw dt("root node is forbidden and cannot be sanitized in-place");
4527
+ const Le = se(S.nodeName);
4528
+ if (!v[Le] || Y[Le])
4529
+ throw gt("root node is forbidden and cannot be sanitized in-place");
4530
4530
  }
4531
4531
  } else if (S instanceof a)
4532
- p = qn("<!---->"), T = p.ownerDocument.importNode(S, !0), T.nodeType === _t.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? p = T : p.appendChild(T);
4532
+ p = Jn("<!---->"), T = p.ownerDocument.importNode(S, !0), T.nodeType === bt.element && T.nodeName === "BODY" || T.nodeName === "HTML" ? p = T : p.appendChild(T);
4533
4533
  else {
4534
- if (!Me && !he && !Oe && // eslint-disable-next-line unicorn/prefer-includes
4534
+ if (!Oe && !me && !Ce && // eslint-disable-next-line unicorn/prefer-includes
4535
4535
  S.indexOf("<") === -1)
4536
4536
  return H && Mt ? H.createHTML(S) : S;
4537
- if (p = qn(S), !p)
4538
- return Me ? null : Mt ? I : "";
4537
+ if (p = Jn(S), !p)
4538
+ return Oe ? null : Mt ? I : "";
4539
4539
  }
4540
- p && re && Ce(p.firstChild);
4541
- const ue = Jn(lt ? S : p);
4542
- for (; Z = ue.nextNode(); )
4543
- er(Z) || (Z.content instanceof o && Yi(Z.content), rr(Z));
4544
- if (lt)
4540
+ p && re && Me(p.firstChild);
4541
+ const le = Qn(ut ? S : p);
4542
+ for (; Z = le.nextNode(); )
4543
+ tr(Z) || (Z.content instanceof o && Zi(Z.content), ir(Z));
4544
+ if (ut)
4545
4545
  return S;
4546
- if (Me) {
4546
+ if (Oe) {
4547
4547
  if (Ot)
4548
4548
  for (ce = fe.call(p.ownerDocument); p.firstChild; )
4549
4549
  ce.appendChild(p.firstChild);
4550
4550
  else
4551
4551
  ce = p;
4552
- return (P.shadowroot || P.shadowrootmode) && (ce = j.call(r, ce, !0)), ce;
4552
+ return (P.shadowroot || P.shadowrootmode) && (ce = z.call(r, ce, !0)), ce;
4553
4553
  }
4554
- let be = Oe ? p.outerHTML : p.innerHTML;
4555
- return Oe && v["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && pe(Bi, p.ownerDocument.doctype.name) && (be = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4556
- ` + be), he && Rt([se, Ee, M], (Le) => {
4557
- be = pt(be, Le, " ");
4558
- }), H && Mt ? H.createHTML(be) : be;
4554
+ let Ee = Ce ? p.outerHTML : p.innerHTML;
4555
+ return Ce && v["!doctype"] && p.ownerDocument && p.ownerDocument.doctype && p.ownerDocument.doctype.name && de($i, p.ownerDocument.doctype.name) && (Ee = "<!DOCTYPE " + p.ownerDocument.doctype.name + `>
4556
+ ` + Ee), me && Dt([he, ue, O], (Le) => {
4557
+ Ee = dt(Ee, Le, " ");
4558
+ }), H && Mt ? H.createHTML(Ee) : Ee;
4559
4559
  }, t.setConfig = function() {
4560
4560
  let S = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4561
- ln(S), J = !0;
4561
+ un(S), J = !0;
4562
4562
  }, t.clearConfig = function() {
4563
4563
  Ye = null, J = !1;
4564
4564
  }, t.isValidAttribute = function(S, s, p) {
4565
- Ye || ln({});
4566
- const T = ae(S), Z = ae(s);
4567
- return tr(T, Z, p);
4565
+ Ye || un({});
4566
+ const T = se(S), Z = se(s);
4567
+ return nr(T, Z, p);
4568
4568
  }, t.addHook = function(S, s) {
4569
- typeof s == "function" && (C[S] = C[S] || [], mt(C[S], s));
4569
+ typeof s == "function" && (L[S] = L[S] || [], pt(L[S], s));
4570
4570
  }, t.removeHook = function(S) {
4571
- if (C[S])
4572
- return Pr(C[S]);
4571
+ if (L[S])
4572
+ return Rr(L[S]);
4573
4573
  }, t.removeHooks = function(S) {
4574
- C[S] && (C[S] = []);
4574
+ L[S] && (L[S] = []);
4575
4575
  }, t.removeAllHooks = function() {
4576
- C = {};
4576
+ L = {};
4577
4577
  }, t;
4578
4578
  }
4579
- var Gr = $i(), Ui = { exports: {} };
4579
+ var Fr = Ui(), ki = { exports: {} };
4580
4580
  (function(e, t) {
4581
4581
  (function(n, r) {
4582
4582
  e.exports = r();
4583
- })(li, function() {
4584
- var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", l = "second", a = "minute", c = "hour", u = "day", f = "week", m = "month", y = "quarter", A = "year", x = "date", g = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|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, V = { 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(M) {
4585
- var _ = ["th", "st", "nd", "rd"], h = M % 100;
4586
- return "[" + M + (_[(h - 20) % 10] || _[h] || _[0]) + "]";
4587
- } }, R = function(M, _, h) {
4588
- var E = String(M);
4589
- return !E || E.length >= _ ? M : "" + Array(_ + 1 - E.length).join(h) + M;
4590
- }, H = { s: R, z: function(M) {
4591
- var _ = -M.utcOffset(), h = Math.abs(_), E = Math.floor(h / 60), b = h % 60;
4592
- return (_ <= 0 ? "+" : "-") + R(E, 2, "0") + ":" + R(b, 2, "0");
4593
- }, m: function M(_, h) {
4583
+ })(ui, function() {
4584
+ var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", l = "second", a = "minute", c = "hour", u = "day", f = "week", m = "month", y = "quarter", A = "year", x = "date", g = "Invalid Date", N = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|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, X = { 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(O) {
4585
+ var _ = ["th", "st", "nd", "rd"], h = O % 100;
4586
+ return "[" + O + (_[(h - 20) % 10] || _[h] || _[0]) + "]";
4587
+ } }, R = function(O, _, h) {
4588
+ var E = String(O);
4589
+ return !E || E.length >= _ ? O : "" + Array(_ + 1 - E.length).join(h) + O;
4590
+ }, H = { s: R, z: function(O) {
4591
+ var _ = -O.utcOffset(), h = Math.abs(_), E = Math.floor(h / 60), d = h % 60;
4592
+ return (_ <= 0 ? "+" : "-") + R(E, 2, "0") + ":" + R(d, 2, "0");
4593
+ }, m: function O(_, h) {
4594
4594
  if (_.date() < h.date())
4595
- return -M(h, _);
4596
- var E = 12 * (h.year() - _.year()) + (h.month() - _.month()), b = _.clone().add(E, m), L = h - b < 0, O = _.clone().add(E + (L ? -1 : 1), m);
4597
- return +(-(E + (h - b) / (L ? b - O : O - b)) || 0);
4598
- }, a: function(M) {
4599
- return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
4600
- }, p: function(M) {
4601
- return { M: m, y: A, w: f, d: u, D: x, h: c, m: a, s: l, ms: o, Q: y }[M] || String(M || "").toLowerCase().replace(/s$/, "");
4602
- }, u: function(M) {
4603
- return M === void 0;
4604
- } }, I = "en", W = {};
4605
- W[I] = V;
4606
- var oe = "$isDayjsObject", fe = function(M) {
4607
- return M instanceof se || !(!M || !M[oe]);
4608
- }, K = function M(_, h, E) {
4609
- var b;
4595
+ return -O(h, _);
4596
+ var E = 12 * (h.year() - _.year()) + (h.month() - _.month()), d = _.clone().add(E, m), M = h - d < 0, C = _.clone().add(E + (M ? -1 : 1), m);
4597
+ return +(-(E + (h - d) / (M ? d - C : C - d)) || 0);
4598
+ }, a: function(O) {
4599
+ return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
4600
+ }, p: function(O) {
4601
+ return { M: m, y: A, w: f, d: u, D: x, h: c, m: a, s: l, ms: o, Q: y }[O] || String(O || "").toLowerCase().replace(/s$/, "");
4602
+ }, u: function(O) {
4603
+ return O === void 0;
4604
+ } }, I = "en", V = {};
4605
+ V[I] = X;
4606
+ var oe = "$isDayjsObject", fe = function(O) {
4607
+ return O instanceof he || !(!O || !O[oe]);
4608
+ }, K = function O(_, h, E) {
4609
+ var d;
4610
4610
  if (!_)
4611
4611
  return I;
4612
4612
  if (typeof _ == "string") {
4613
- var L = _.toLowerCase();
4614
- W[L] && (b = L), h && (W[L] = h, b = L);
4615
- var O = _.split("-");
4616
- if (!b && O.length > 1)
4617
- return M(O[0]);
4613
+ var M = _.toLowerCase();
4614
+ V[M] && (d = M), h && (V[M] = h, d = M);
4615
+ var C = _.split("-");
4616
+ if (!d && C.length > 1)
4617
+ return O(C[0]);
4618
4618
  } else {
4619
4619
  var v = _.name;
4620
- W[v] = _, b = v;
4620
+ V[v] = _, d = v;
4621
4621
  }
4622
- return !E && b && (I = b), b || !E && I;
4623
- }, j = function(M, _) {
4624
- if (fe(M))
4625
- return M.clone();
4622
+ return !E && d && (I = d), d || !E && I;
4623
+ }, z = function(O, _) {
4624
+ if (fe(O))
4625
+ return O.clone();
4626
4626
  var h = typeof _ == "object" ? _ : {};
4627
- return h.date = M, h.args = arguments, new se(h);
4628
- }, C = H;
4629
- C.l = K, C.i = fe, C.w = function(M, _) {
4630
- return j(M, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4627
+ return h.date = O, h.args = arguments, new he(h);
4628
+ }, L = H;
4629
+ L.l = K, L.i = fe, L.w = function(O, _) {
4630
+ return z(O, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
4631
4631
  };
4632
- var se = function() {
4633
- function M(h) {
4632
+ var he = function() {
4633
+ function O(h) {
4634
4634
  this.$L = K(h.locale, null, !0), this.parse(h), this.$x = this.$x || h.x || {}, this[oe] = !0;
4635
4635
  }
4636
- var _ = M.prototype;
4636
+ var _ = O.prototype;
4637
4637
  return _.parse = function(h) {
4638
4638
  this.$d = function(E) {
4639
- var b = E.date, L = E.utc;
4640
- if (b === null)
4639
+ var d = E.date, M = E.utc;
4640
+ if (d === null)
4641
4641
  return /* @__PURE__ */ new Date(NaN);
4642
- if (C.u(b))
4642
+ if (L.u(d))
4643
4643
  return /* @__PURE__ */ new Date();
4644
- if (b instanceof Date)
4645
- return new Date(b);
4646
- if (typeof b == "string" && !/Z$/i.test(b)) {
4647
- var O = b.match(N);
4648
- if (O) {
4649
- var v = O[2] - 1 || 0, z = (O[7] || "0").substring(0, 3);
4650
- return L ? new Date(Date.UTC(O[1], v, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, z)) : new Date(O[1], v, O[3] || 1, O[4] || 0, O[5] || 0, O[6] || 0, z);
4644
+ if (d instanceof Date)
4645
+ return new Date(d);
4646
+ if (typeof d == "string" && !/Z$/i.test(d)) {
4647
+ var C = d.match(N);
4648
+ if (C) {
4649
+ var v = C[2] - 1 || 0, W = (C[7] || "0").substring(0, 3);
4650
+ return M ? new Date(Date.UTC(C[1], v, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, W)) : new Date(C[1], v, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, W);
4651
4651
  }
4652
4652
  }
4653
- return new Date(b);
4653
+ return new Date(d);
4654
4654
  }(h), this.init();
4655
4655
  }, _.init = function() {
4656
4656
  var h = this.$d;
4657
4657
  this.$y = h.getFullYear(), this.$M = h.getMonth(), this.$D = h.getDate(), this.$W = h.getDay(), this.$H = h.getHours(), this.$m = h.getMinutes(), this.$s = h.getSeconds(), this.$ms = h.getMilliseconds();
4658
4658
  }, _.$utils = function() {
4659
- return C;
4659
+ return L;
4660
4660
  }, _.isValid = function() {
4661
4661
  return this.$d.toString() !== g;
4662
4662
  }, _.isSame = function(h, E) {
4663
- var b = j(h);
4664
- return this.startOf(E) <= b && b <= this.endOf(E);
4663
+ var d = z(h);
4664
+ return this.startOf(E) <= d && d <= this.endOf(E);
4665
4665
  }, _.isAfter = function(h, E) {
4666
- return j(h) < this.startOf(E);
4666
+ return z(h) < this.startOf(E);
4667
4667
  }, _.isBefore = function(h, E) {
4668
- return this.endOf(E) < j(h);
4669
- }, _.$g = function(h, E, b) {
4670
- return C.u(h) ? this[E] : this.set(b, h);
4668
+ return this.endOf(E) < z(h);
4669
+ }, _.$g = function(h, E, d) {
4670
+ return L.u(h) ? this[E] : this.set(d, h);
4671
4671
  }, _.unix = function() {
4672
4672
  return Math.floor(this.valueOf() / 1e3);
4673
4673
  }, _.valueOf = function() {
4674
4674
  return this.$d.getTime();
4675
4675
  }, _.startOf = function(h, E) {
4676
- var b = this, L = !!C.u(E) || E, O = C.p(h), v = function(Y, ne) {
4677
- var ee = C.w(b.$u ? Date.UTC(b.$y, ne, Y) : new Date(b.$y, ne, Y), b);
4678
- return L ? ee : ee.endOf(u);
4679
- }, z = function(Y, ne) {
4680
- return C.w(b.toDate()[Y].apply(b.toDate("s"), (L ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), b);
4681
- }, P = this.$W, q = this.$M, D = this.$D, d = "set" + (this.$u ? "UTC" : "");
4682
- switch (O) {
4676
+ var d = this, M = !!L.u(E) || E, C = L.p(h), v = function(ee, F) {
4677
+ var te = L.w(d.$u ? Date.UTC(d.$y, F, ee) : new Date(d.$y, F, ee), d);
4678
+ return M ? te : te.endOf(u);
4679
+ }, W = function(ee, F) {
4680
+ return L.w(d.toDate()[ee].apply(d.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(F)), d);
4681
+ }, P = this.$W, q = this.$M, D = this.$D, Y = "set" + (this.$u ? "UTC" : "");
4682
+ switch (C) {
4683
4683
  case A:
4684
- return L ? v(1, 0) : v(31, 11);
4684
+ return M ? v(1, 0) : v(31, 11);
4685
4685
  case m:
4686
- return L ? v(1, q) : v(0, q + 1);
4686
+ return M ? v(1, q) : v(0, q + 1);
4687
4687
  case f:
4688
- var k = this.$locale().weekStart || 0, X = (P < k ? P + 7 : P) - k;
4689
- return v(L ? D - X : D + (6 - X), q);
4688
+ var b = this.$locale().weekStart || 0, B = (P < b ? P + 7 : P) - b;
4689
+ return v(M ? D - B : D + (6 - B), q);
4690
4690
  case u:
4691
4691
  case x:
4692
- return z(d + "Hours", 0);
4692
+ return W(Y + "Hours", 0);
4693
4693
  case c:
4694
- return z(d + "Minutes", 1);
4694
+ return W(Y + "Minutes", 1);
4695
4695
  case a:
4696
- return z(d + "Seconds", 2);
4696
+ return W(Y + "Seconds", 2);
4697
4697
  case l:
4698
- return z(d + "Milliseconds", 3);
4698
+ return W(Y + "Milliseconds", 3);
4699
4699
  default:
4700
4700
  return this.clone();
4701
4701
  }
4702
4702
  }, _.endOf = function(h) {
4703
4703
  return this.startOf(h, !1);
4704
4704
  }, _.$set = function(h, E) {
4705
- var b, L = C.p(h), O = "set" + (this.$u ? "UTC" : ""), v = (b = {}, b[u] = O + "Date", b[x] = O + "Date", b[m] = O + "Month", b[A] = O + "FullYear", b[c] = O + "Hours", b[a] = O + "Minutes", b[l] = O + "Seconds", b[o] = O + "Milliseconds", b)[L], z = L === u ? this.$D + (E - this.$W) : E;
4706
- if (L === m || L === A) {
4705
+ var d, M = L.p(h), C = "set" + (this.$u ? "UTC" : ""), v = (d = {}, d[u] = C + "Date", d[x] = C + "Date", d[m] = C + "Month", d[A] = C + "FullYear", d[c] = C + "Hours", d[a] = C + "Minutes", d[l] = C + "Seconds", d[o] = C + "Milliseconds", d)[M], W = M === u ? this.$D + (E - this.$W) : E;
4706
+ if (M === m || M === A) {
4707
4707
  var P = this.clone().set(x, 1);
4708
- P.$d[v](z), P.init(), this.$d = P.set(x, Math.min(this.$D, P.daysInMonth())).$d;
4708
+ P.$d[v](W), P.init(), this.$d = P.set(x, Math.min(this.$D, P.daysInMonth())).$d;
4709
4709
  } else
4710
- v && this.$d[v](z);
4710
+ v && this.$d[v](W);
4711
4711
  return this.init(), this;
4712
4712
  }, _.set = function(h, E) {
4713
4713
  return this.clone().$set(h, E);
4714
4714
  }, _.get = function(h) {
4715
- return this[C.p(h)]();
4715
+ return this[L.p(h)]();
4716
4716
  }, _.add = function(h, E) {
4717
- var b, L = this;
4717
+ var d, M = this;
4718
4718
  h = Number(h);
4719
- var O = C.p(E), v = function(q) {
4720
- var D = j(L);
4721
- return C.w(D.date(D.date() + Math.round(q * h)), L);
4719
+ var C = L.p(E), v = function(q) {
4720
+ var D = z(M);
4721
+ return L.w(D.date(D.date() + Math.round(q * h)), M);
4722
4722
  };
4723
- if (O === m)
4723
+ if (C === m)
4724
4724
  return this.set(m, this.$M + h);
4725
- if (O === A)
4725
+ if (C === A)
4726
4726
  return this.set(A, this.$y + h);
4727
- if (O === u)
4727
+ if (C === u)
4728
4728
  return v(1);
4729
- if (O === f)
4729
+ if (C === f)
4730
4730
  return v(7);
4731
- var z = (b = {}, b[a] = r, b[c] = i, b[l] = n, b)[O] || 1, P = this.$d.getTime() + h * z;
4732
- return C.w(P, this);
4731
+ var W = (d = {}, d[a] = r, d[c] = i, d[l] = n, d)[C] || 1, P = this.$d.getTime() + h * W;
4732
+ return L.w(P, this);
4733
4733
  }, _.subtract = function(h, E) {
4734
4734
  return this.add(-1 * h, E);
4735
4735
  }, _.format = function(h) {
4736
- var E = this, b = this.$locale();
4736
+ var E = this, d = this.$locale();
4737
4737
  if (!this.isValid())
4738
- return b.invalidDate || g;
4739
- var L = h || "YYYY-MM-DDTHH:mm:ssZ", O = C.z(this), v = this.$H, z = this.$m, P = this.$M, q = b.weekdays, D = b.months, d = b.meridiem, k = function(ne, ee, he, le) {
4740
- return ne && (ne[ee] || ne(E, L)) || he[ee].slice(0, le);
4741
- }, X = function(ne) {
4742
- return C.s(v % 12 || 12, ne, "0");
4743
- }, Y = d || function(ne, ee, he) {
4744
- var le = ne < 12 ? "AM" : "PM";
4745
- return he ? le.toLowerCase() : le;
4738
+ return d.invalidDate || g;
4739
+ var M = h || "YYYY-MM-DDTHH:mm:ssZ", C = L.z(this), v = this.$H, W = this.$m, P = this.$M, q = d.weekdays, D = d.months, Y = d.meridiem, b = function(F, te, me, ae) {
4740
+ return F && (F[te] || F(E, M)) || me[te].slice(0, ae);
4741
+ }, B = function(F) {
4742
+ return L.s(v % 12 || 12, F, "0");
4743
+ }, ee = Y || function(F, te, me) {
4744
+ var ae = F < 12 ? "AM" : "PM";
4745
+ return me ? ae.toLowerCase() : ae;
4746
4746
  };
4747
- return L.replace(U, function(ne, ee) {
4748
- return ee || function(he) {
4749
- switch (he) {
4747
+ return M.replace(k, function(F, te) {
4748
+ return te || function(me) {
4749
+ switch (me) {
4750
4750
  case "YY":
4751
4751
  return String(E.$y).slice(-2);
4752
4752
  case "YYYY":
4753
- return C.s(E.$y, 4, "0");
4753
+ return L.s(E.$y, 4, "0");
4754
4754
  case "M":
4755
4755
  return P + 1;
4756
4756
  case "MM":
4757
- return C.s(P + 1, 2, "0");
4757
+ return L.s(P + 1, 2, "0");
4758
4758
  case "MMM":
4759
- return k(b.monthsShort, P, D, 3);
4759
+ return b(d.monthsShort, P, D, 3);
4760
4760
  case "MMMM":
4761
- return k(D, P);
4761
+ return b(D, P);
4762
4762
  case "D":
4763
4763
  return E.$D;
4764
4764
  case "DD":
4765
- return C.s(E.$D, 2, "0");
4765
+ return L.s(E.$D, 2, "0");
4766
4766
  case "d":
4767
4767
  return String(E.$W);
4768
4768
  case "dd":
4769
- return k(b.weekdaysMin, E.$W, q, 2);
4769
+ return b(d.weekdaysMin, E.$W, q, 2);
4770
4770
  case "ddd":
4771
- return k(b.weekdaysShort, E.$W, q, 3);
4771
+ return b(d.weekdaysShort, E.$W, q, 3);
4772
4772
  case "dddd":
4773
4773
  return q[E.$W];
4774
4774
  case "H":
4775
4775
  return String(v);
4776
4776
  case "HH":
4777
- return C.s(v, 2, "0");
4777
+ return L.s(v, 2, "0");
4778
4778
  case "h":
4779
- return X(1);
4779
+ return B(1);
4780
4780
  case "hh":
4781
- return X(2);
4781
+ return B(2);
4782
4782
  case "a":
4783
- return Y(v, z, !0);
4783
+ return ee(v, W, !0);
4784
4784
  case "A":
4785
- return Y(v, z, !1);
4785
+ return ee(v, W, !1);
4786
4786
  case "m":
4787
- return String(z);
4787
+ return String(W);
4788
4788
  case "mm":
4789
- return C.s(z, 2, "0");
4789
+ return L.s(W, 2, "0");
4790
4790
  case "s":
4791
4791
  return String(E.$s);
4792
4792
  case "ss":
4793
- return C.s(E.$s, 2, "0");
4793
+ return L.s(E.$s, 2, "0");
4794
4794
  case "SSS":
4795
- return C.s(E.$ms, 3, "0");
4795
+ return L.s(E.$ms, 3, "0");
4796
4796
  case "Z":
4797
- return O;
4797
+ return C;
4798
4798
  }
4799
4799
  return null;
4800
- }(ne) || O.replace(":", "");
4800
+ }(F) || C.replace(":", "");
4801
4801
  });
4802
4802
  }, _.utcOffset = function() {
4803
4803
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4804
- }, _.diff = function(h, E, b) {
4805
- var L, O = this, v = C.p(E), z = j(h), P = (z.utcOffset() - this.utcOffset()) * r, q = this - z, D = function() {
4806
- return C.m(O, z);
4804
+ }, _.diff = function(h, E, d) {
4805
+ var M, C = this, v = L.p(E), W = z(h), P = (W.utcOffset() - this.utcOffset()) * r, q = this - W, D = function() {
4806
+ return L.m(C, W);
4807
4807
  };
4808
4808
  switch (v) {
4809
4809
  case A:
4810
- L = D() / 12;
4810
+ M = D() / 12;
4811
4811
  break;
4812
4812
  case m:
4813
- L = D();
4813
+ M = D();
4814
4814
  break;
4815
4815
  case y:
4816
- L = D() / 3;
4816
+ M = D() / 3;
4817
4817
  break;
4818
4818
  case f:
4819
- L = (q - P) / 6048e5;
4819
+ M = (q - P) / 6048e5;
4820
4820
  break;
4821
4821
  case u:
4822
- L = (q - P) / 864e5;
4822
+ M = (q - P) / 864e5;
4823
4823
  break;
4824
4824
  case c:
4825
- L = q / i;
4825
+ M = q / i;
4826
4826
  break;
4827
4827
  case a:
4828
- L = q / r;
4828
+ M = q / r;
4829
4829
  break;
4830
4830
  case l:
4831
- L = q / n;
4831
+ M = q / n;
4832
4832
  break;
4833
4833
  default:
4834
- L = q;
4834
+ M = q;
4835
4835
  }
4836
- return b ? L : C.a(L);
4836
+ return d ? M : L.a(M);
4837
4837
  }, _.daysInMonth = function() {
4838
4838
  return this.endOf(m).$D;
4839
4839
  }, _.$locale = function() {
4840
- return W[this.$L];
4840
+ return V[this.$L];
4841
4841
  }, _.locale = function(h, E) {
4842
4842
  if (!h)
4843
4843
  return this.$L;
4844
- var b = this.clone(), L = K(h, E, !0);
4845
- return L && (b.$L = L), b;
4844
+ var d = this.clone(), M = K(h, E, !0);
4845
+ return M && (d.$L = M), d;
4846
4846
  }, _.clone = function() {
4847
- return C.w(this.$d, this);
4847
+ return L.w(this.$d, this);
4848
4848
  }, _.toDate = function() {
4849
4849
  return new Date(this.valueOf());
4850
4850
  }, _.toJSON = function() {
@@ -4853,26 +4853,26 @@ var Gr = $i(), Ui = { exports: {} };
4853
4853
  return this.$d.toISOString();
4854
4854
  }, _.toString = function() {
4855
4855
  return this.$d.toUTCString();
4856
- }, M;
4857
- }(), Ee = se.prototype;
4858
- return j.prototype = Ee, [["$ms", o], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", m], ["$y", A], ["$D", x]].forEach(function(M) {
4859
- Ee[M[1]] = function(_) {
4860
- return this.$g(_, M[0], M[1]);
4856
+ }, O;
4857
+ }(), ue = he.prototype;
4858
+ return z.prototype = ue, [["$ms", o], ["$s", l], ["$m", a], ["$H", c], ["$W", u], ["$M", m], ["$y", A], ["$D", x]].forEach(function(O) {
4859
+ ue[O[1]] = function(_) {
4860
+ return this.$g(_, O[0], O[1]);
4861
4861
  };
4862
- }), j.extend = function(M, _) {
4863
- return M.$i || (M(_, se, j), M.$i = !0), j;
4864
- }, j.locale = K, j.isDayjs = fe, j.unix = function(M) {
4865
- return j(1e3 * M);
4866
- }, j.en = W[I], j.Ls = W, j.p = {}, j;
4862
+ }), z.extend = function(O, _) {
4863
+ return O.$i || (O(_, he, z), O.$i = !0), z;
4864
+ }, z.locale = K, z.isDayjs = fe, z.unix = function(O) {
4865
+ return z(1e3 * O);
4866
+ }, z.en = V[I], z.Ls = V, z.p = {}, z;
4867
4867
  });
4868
- })(Ui);
4869
- var Fa = Ui.exports;
4870
- const Fr = /* @__PURE__ */ Dn(Fa);
4871
- var ki = { exports: {} };
4868
+ })(ki);
4869
+ var ja = ki.exports;
4870
+ const jr = /* @__PURE__ */ Bn(ja);
4871
+ var Gi = { exports: {} };
4872
4872
  (function(e, t) {
4873
4873
  (function(n, r) {
4874
4874
  e.exports = r();
4875
- })(li, function() {
4875
+ })(ui, function() {
4876
4876
  var n = "minute", r = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4877
4877
  return function(o, l, a) {
4878
4878
  var c = l.prototype;
@@ -4899,24 +4899,24 @@ var ki = { exports: {} };
4899
4899
  };
4900
4900
  var m = c.utcOffset;
4901
4901
  c.utcOffset = function(g, N) {
4902
- var U = this.$utils().u;
4903
- if (U(g))
4904
- return this.$u ? 0 : U(this.$offset) ? m.call(this) : this.$offset;
4902
+ var k = this.$utils().u;
4903
+ if (k(g))
4904
+ return this.$u ? 0 : k(this.$offset) ? m.call(this) : this.$offset;
4905
4905
  if (typeof g == "string" && (g = function(I) {
4906
4906
  I === void 0 && (I = "");
4907
- var W = I.match(r);
4908
- if (!W)
4907
+ var V = I.match(r);
4908
+ if (!V)
4909
4909
  return null;
4910
- var oe = ("" + W[0]).match(i) || ["-", 0, 0], fe = oe[0], K = 60 * +oe[1] + +oe[2];
4910
+ var oe = ("" + V[0]).match(i) || ["-", 0, 0], fe = oe[0], K = 60 * +oe[1] + +oe[2];
4911
4911
  return K === 0 ? 0 : fe === "+" ? K : -K;
4912
4912
  }(g), g === null))
4913
4913
  return this;
4914
- var V = Math.abs(g) <= 16 ? 60 * g : g, R = this;
4914
+ var X = Math.abs(g) <= 16 ? 60 * g : g, R = this;
4915
4915
  if (N)
4916
- return R.$offset = V, R.$u = g === 0, R;
4916
+ return R.$offset = X, R.$u = g === 0, R;
4917
4917
  if (g !== 0) {
4918
4918
  var H = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4919
- (R = this.local().add(V + H, n)).$offset = V, R.$x.$localOffset = H;
4919
+ (R = this.local().add(X + H, n)).$offset = X, R.$x.$localOffset = H;
4920
4920
  } else
4921
4921
  R = this.utc();
4922
4922
  return R;
@@ -4940,25 +4940,26 @@ var ki = { exports: {} };
4940
4940
  return g === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : A.call(this);
4941
4941
  };
4942
4942
  var x = c.diff;
4943
- c.diff = function(g, N, U) {
4943
+ c.diff = function(g, N, k) {
4944
4944
  if (g && this.$u === g.$u)
4945
- return x.call(this, g, N, U);
4946
- var V = this.local(), R = a(g).local();
4947
- return x.call(V, R, N, U);
4945
+ return x.call(this, g, N, k);
4946
+ var X = this.local(), R = a(g).local();
4947
+ return x.call(X, R, N, k);
4948
4948
  };
4949
4949
  };
4950
4950
  });
4951
- })(ki);
4952
- var ja = ki.exports;
4953
- const za = /* @__PURE__ */ Dn(ja);
4954
- let jr = St(null);
4955
- function Wa(e, t) {
4951
+ })(Gi);
4952
+ var za = Gi.exports;
4953
+ const Wa = /* @__PURE__ */ Bn(za);
4954
+ let zr = wt(null);
4955
+ const Qe = "__WIDGET_GLOBAL_STYLE_CACHE__";
4956
+ function Va(e, t) {
4956
4957
  if (e) {
4957
4958
  const n = document.createElement("style");
4958
4959
  n.innerHTML = t, e.appendChild(n);
4959
4960
  }
4960
4961
  }
4961
- function Va(e, t) {
4962
+ function Xa(e, t) {
4962
4963
  if (!e || !t)
4963
4964
  return;
4964
4965
  const n = new URL(t);
@@ -4969,193 +4970,221 @@ function Va(e, t) {
4969
4970
  console.error("There was an error while trying to load client styling from URL", r);
4970
4971
  });
4971
4972
  }
4972
- function Xa(e, t, n) {
4973
- if (window.emMessageBus) {
4974
- const r = document.createElement("style");
4975
- window.emMessageBus.subscribe(t, (i) => {
4976
- r.innerHTML = i, e && e.appendChild(r);
4973
+ function Ya(e, t, n, r = !1) {
4974
+ if (!window.emMessageBus)
4975
+ return;
4976
+ if (!("adoptedStyleSheets" in Document.prototype) || !r)
4977
+ return n = Za(e, t), n;
4978
+ window[Qe] || (window[Qe] = {}), n = qa(e, t);
4979
+ const o = n.unsubscribe.bind(n), l = () => {
4980
+ if (window[Qe][t]) {
4981
+ const a = window[Qe][t];
4982
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Qe][t];
4983
+ }
4984
+ o();
4985
+ };
4986
+ return n.unsubscribe = l, n;
4987
+ }
4988
+ function Za(e, t) {
4989
+ const n = document.createElement("style");
4990
+ return window.emMessageBus.subscribe(t, (r) => {
4991
+ e && (n.innerHTML = r, e.appendChild(n));
4992
+ });
4993
+ }
4994
+ function qa(e, t) {
4995
+ return window.emMessageBus.subscribe(t, (n) => {
4996
+ var a;
4997
+ if (!e)
4998
+ return;
4999
+ const r = e.getRootNode(), i = window[Qe];
5000
+ let o = (a = i[t]) == null ? void 0 : a.sheet;
5001
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(n), i[t] = {
5002
+ sheet: o,
5003
+ refCount: 1
4977
5004
  });
4978
- }
5005
+ const l = r.adoptedStyleSheets || [];
5006
+ l.includes(o) || (r.adoptedStyleSheets = [...l, o]);
5007
+ });
4979
5008
  }
4980
- function Ya(e) {
4981
- io(e, "svelte-1kjup2o", '*,*::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:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;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;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));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;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);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, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);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}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
5009
+ function Ja(e) {
5010
+ oo(e, "svelte-1kjup2o", '*,*::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:115;top:0;left:0;background-color:var(--emw--color-black-transparency-20, rgba(0, 0, 0, 0.3));container-type:inline-size;container-name:session-expiration-modal-window}.CashierSessionExpirationModalWrapper{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;min-width:400px;position:relative;z-index:1;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);padding:20px}.CashierSessionExpirationModalWrapper::before{content:"";position:absolute;inset:0;opacity:0.15;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ButtonsContainer{display:flex;flex-direction:row;gap:10px}.CashierSessionExpirationModalHeader{display:flex;align-items:center;position:relative;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;justify-content:space-between}.CashierSessionExpirationModalHeaderTitle{display:flex;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);gap:8px}.CashierSessionExpirationModalHeaderTitle svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.CashierSessionExpirationModalCloseBtn{position:absolute;display:flex;justify-content:center;top:10px;right:10px;border-radius:50%;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));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;margin-top:20px;gap:25px}.CashierSessionExpiration .CashierSessionExpirationButton{width:100%;height:36px;color:var(--emw-color-font-typography, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-small, 12px);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, #f9c405)}.CashierSessionExpirationTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);line-height:120%}.CashierSessionExpirationText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);opacity:0.6}.CashierSessionExpirationText p{padding:3px}.CashierSessionExpirationButtonText{font-size:var(--emw--font-size-small, 12px);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}}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{fill:var(--emw--color-typography, #fff);width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.ModalButton{color:var(--emw--color-secondary, #000);text-align:center;font-size:var(--emw--font-size-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 600);font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear;box-shadow:inset 0px 0px 0px 1px var(--emw--color-primary)}.ModalButton:hover{background-color:var(--emw--color-hover, #dbac03)}.ModalButton.Secondary{background:transparent;color:var(--emw-color-white, #fff)}.ModalButton.Secondary:hover{background-color:var(--emw--color-hover, #dbac03);color:var(--emw-color-black, #000)}.ModalButton.Primary.Disabled{cursor:default;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);opacity:0.5}.ModalButton.Primary.Disabled:hover{background:var(--emw--color-primary, #f9c408);cursor:not-allowed}');
4982
5011
  }
4983
- const Za = (e) => ({}), zr = (e) => ({}), qa = (e) => ({}), Wr = (e) => ({}), Ja = (e) => ({}), Vr = (e) => ({}), Qa = (e) => ({}), Xr = (e) => ({ class: "CashierSessionExpirationIcon" });
4984
- function Yr(e) {
5012
+ const Qa = (e) => ({}), Wr = (e) => ({}), Ka = (e) => ({}), Vr = (e) => ({}), el = (e) => ({}), Xr = (e) => ({}), tl = (e) => ({}), Yr = (e) => ({ class: "CashierSessionExpirationIcon" });
5013
+ function Zr(e) {
4985
5014
  let t, n, r, i, o, l, a, c, u, f, m, y, A = (
4986
5015
  /*$_*/
4987
5016
  e[8]("sessionExpirationHeader") + ""
4988
- ), x, g, N, U, V, R, H, I, W, oe, fe, K, j, C, se = (
5017
+ ), x, g, N, k, X, R, H, I, V, oe, fe, K, z, L, he = (
4989
5018
  /*$_*/
4990
5019
  e[8]("sessionExpirationEnd") + ""
4991
- ), Ee, M, _, h, E, b, L, O, v, z, P;
5020
+ ), ue, O, _, h, E, d, M, C, v, W, P;
4992
5021
  const q = (
4993
5022
  /*#slots*/
4994
5023
  e[23].icon
4995
- ), D = Bt(
5024
+ ), D = $t(
4996
5025
  q,
4997
5026
  e,
4998
5027
  /*$$scope*/
4999
5028
  e[22],
5000
- Xr
5001
- ), d = D || Ka(e), k = (
5029
+ Yr
5030
+ ), Y = D || nl(e), b = (
5002
5031
  /*#slots*/
5003
5032
  e[23].title
5004
- ), X = Bt(
5005
- k,
5033
+ ), B = $t(
5034
+ b,
5006
5035
  e,
5007
5036
  /*$$scope*/
5008
5037
  e[22],
5009
- Vr
5010
- ), Y = (
5038
+ Xr
5039
+ ), ee = (
5011
5040
  /*#slots*/
5012
5041
  e[23].text
5013
- ), ne = Bt(
5014
- Y,
5042
+ ), F = $t(
5043
+ ee,
5015
5044
  e,
5016
5045
  /*$$scope*/
5017
5046
  e[22],
5018
- Wr
5019
- ), ee = ne || el(e), he = [nl, tl], le = [];
5020
- function Oe(J, re) {
5047
+ Vr
5048
+ ), te = F || rl(e), me = [ol, il], ae = [];
5049
+ function Ce(J, re) {
5021
5050
  return (
5022
5051
  /*showLoaderButton*/
5023
5052
  J[6] ? 0 : 1
5024
5053
  );
5025
5054
  }
5026
- return h = Oe(e), E = le[h] = he[h](e), {
5055
+ return h = Ce(e), E = ae[h] = me[h](e), {
5027
5056
  c() {
5028
- t = te("div"), n = te("div"), r = te("div"), i = te("div"), o = Se("svg"), l = Se("defs"), a = Se("mask"), c = Se("circle"), u = Se("rect"), f = Se("circle"), m = Se("circle"), y = Re(), x = je(A), g = Re(), N = te("div"), U = Se("svg"), V = Se("path"), R = Re(), H = te("div"), I = te("div"), d && d.c(), W = Re(), X && X.c(), oe = Re(), ee && ee.c(), fe = Re(), K = te("div"), j = te("button"), C = te("span"), Ee = je(se), M = Re(), _ = te("button"), E.c(), w(c, "cx", "100"), w(c, "cy", "100"), w(c, "r", "90"), w(u, "x", "88"), w(u, "y", "40"), w(u, "width", "24"), w(u, "height", "80"), w(u, "rx", "12"), w(u, "fill", "black"), w(f, "cx", "100"), w(f, "cy", "150"), w(f, "r", "14"), w(f, "fill", "black"), w(a, "id", "exclamation-mask"), w(m, "cx", "100"), w(m, "cy", "100"), w(m, "r", "90"), w(m, "mask", "url(#exclamation-mask)"), w(o, "viewBox", "0 0 200 200"), w(o, "xmlns", "http://www.w3.org/2000/svg"), w(i, "class", "CashierSessionExpirationModalHeaderTitle"), w(V, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), w(U, "xmlns", "http://www.w3.org/2000/svg"), w(U, "viewBox", "0 0 13 13"), w(U, "fill", "none"), w(U, "class", "CloseButton"), w(N, "class", "ModalCloseIcon"), w(r, "class", "CashierSessionExpirationModalHeader"), w(C, "class", "CashierSessionExpirationButtonText"), w(j, "type", "button"), w(j, "class", "ModalButton Secondary"), w(_, "type", "button"), w(_, "class", b = "ModalButton Primary " + /*showLoaderButton*/
5029
- (e[6] ? "Disabled" : "")), w(K, "class", "ButtonsContainer"), w(I, "class", "CashierSessionExpiration"), w(H, "class", "CashierSessionExpirationModalContainer"), w(n, "class", "CashierSessionExpirationModalWrapper"), w(t, "class", "CashierSessionExpirationModalWindow"), w(t, "id", "CashierSessionExpirationModal"), tt(() => (
5057
+ t = ne("div"), n = ne("div"), r = ne("div"), i = ne("div"), o = Se("svg"), l = Se("defs"), a = Se("mask"), c = Se("circle"), u = Se("rect"), f = Se("circle"), m = Se("circle"), y = Re(), x = je(A), g = Re(), N = ne("div"), k = Se("svg"), X = Se("path"), R = Re(), H = ne("div"), I = ne("div"), Y && Y.c(), V = Re(), B && B.c(), oe = Re(), te && te.c(), fe = Re(), K = ne("div"), z = ne("button"), L = ne("span"), ue = je(he), O = Re(), _ = ne("button"), E.c(), w(c, "cx", "100"), w(c, "cy", "100"), w(c, "r", "90"), w(u, "x", "88"), w(u, "y", "40"), w(u, "width", "24"), w(u, "height", "80"), w(u, "rx", "12"), w(u, "fill", "black"), w(f, "cx", "100"), w(f, "cy", "150"), w(f, "r", "14"), w(f, "fill", "black"), w(a, "id", "exclamation-mask"), w(m, "cx", "100"), w(m, "cy", "100"), w(m, "r", "90"), w(m, "mask", "url(#exclamation-mask)"), w(o, "viewBox", "0 0 200 200"), w(o, "xmlns", "http://www.w3.org/2000/svg"), w(i, "class", "CashierSessionExpirationModalHeaderTitle"), w(X, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), w(k, "xmlns", "http://www.w3.org/2000/svg"), w(k, "viewBox", "0 0 13 13"), w(k, "fill", "none"), w(k, "class", "CloseButton"), w(N, "class", "ModalCloseIcon"), w(r, "class", "CashierSessionExpirationModalHeader"), w(L, "class", "CashierSessionExpirationButtonText"), w(z, "type", "button"), w(z, "class", "ModalButton Secondary"), w(_, "type", "button"), w(_, "class", d = "ModalButton Primary " + /*showLoaderButton*/
5058
+ (e[6] ? "Disabled" : "")), w(K, "class", "ButtonsContainer"), w(I, "class", "CashierSessionExpiration"), w(H, "class", "CashierSessionExpirationModalContainer"), w(n, "class", "CashierSessionExpirationModalWrapper"), w(t, "class", "CashierSessionExpirationModalWindow"), w(t, "id", "CashierSessionExpirationModal"), nt(() => (
5030
5059
  /*div7_elementresize_handler*/
5031
5060
  e[25].call(t)
5032
5061
  ));
5033
5062
  },
5034
5063
  m(J, re) {
5035
- ke(J, t, re), B(t, n), B(n, r), B(r, i), B(i, o), B(o, l), B(l, a), B(a, c), B(a, u), B(a, f), B(o, m), B(i, y), B(i, x), B(r, g), B(r, N), B(N, U), B(U, V), B(n, R), B(n, H), B(H, I), d && d.m(I, null), B(I, W), X && X.m(I, null), B(I, oe), ee && ee.m(I, null), B(I, fe), B(I, K), B(K, j), B(j, C), B(C, Ee), B(K, M), B(K, _), le[h].m(_, null), e[24](I), L = uo(
5064
+ ke(J, t, re), $(t, n), $(n, r), $(r, i), $(i, o), $(o, l), $(l, a), $(a, c), $(a, u), $(a, f), $(o, m), $(i, y), $(i, x), $(r, g), $(r, N), $(N, k), $(k, X), $(n, R), $(n, H), $(H, I), Y && Y.m(I, null), $(I, V), B && B.m(I, null), $(I, oe), te && te.m(I, null), $(I, fe), $(I, K), $(K, z), $(z, L), $(L, ue), $(K, O), $(K, _), ae[h].m(_, null), e[24](I), M = co(
5036
5065
  t,
5037
5066
  /*div7_elementresize_handler*/
5038
5067
  e[25].bind(t)
5039
- ), v = !0, z || (P = [
5040
- Qe(
5041
- U,
5068
+ ), v = !0, W || (P = [
5069
+ Ke(
5070
+ k,
5042
5071
  "click",
5043
5072
  /*goToHome*/
5044
5073
  e[11]
5045
5074
  ),
5046
- Qe(
5047
- j,
5075
+ Ke(
5076
+ z,
5048
5077
  "click",
5049
5078
  /*goToHome*/
5050
5079
  e[11]
5051
5080
  ),
5052
- Qe(
5081
+ Ke(
5053
5082
  _,
5054
5083
  "click",
5055
5084
  /*renewSession*/
5056
5085
  e[9]
5057
5086
  ),
5058
- Qe(
5087
+ Ke(
5059
5088
  t,
5060
5089
  "click",
5061
5090
  /*outOfModalClick*/
5062
5091
  e[10]
5063
5092
  )
5064
- ], z = !0);
5093
+ ], W = !0);
5065
5094
  },
5066
5095
  p(J, re) {
5067
5096
  e = J, (!v || re[0] & /*$_*/
5068
5097
  256) && A !== (A = /*$_*/
5069
- e[8]("sessionExpirationHeader") + "") && yt(x, A), D ? D.p && (!v || re[0] & /*$$scope*/
5070
- 4194304) && Ut(
5098
+ e[8]("sessionExpirationHeader") + "") && xt(x, A), D ? D.p && (!v || re[0] & /*$$scope*/
5099
+ 4194304) && kt(
5071
5100
  D,
5072
5101
  q,
5073
5102
  e,
5074
5103
  /*$$scope*/
5075
5104
  e[22],
5076
- v ? $t(
5105
+ v ? Ut(
5077
5106
  q,
5078
5107
  /*$$scope*/
5079
5108
  e[22],
5080
5109
  re,
5081
- Qa
5082
- ) : kt(
5110
+ tl
5111
+ ) : Gt(
5083
5112
  /*$$scope*/
5084
5113
  e[22]
5085
5114
  ),
5086
- Xr
5087
- ) : d && d.p && (!v || re[0] & /*assetsurl*/
5088
- 8) && d.p(e, v ? re : [-1, -1]), X && X.p && (!v || re[0] & /*$$scope*/
5089
- 4194304) && Ut(
5090
- X,
5091
- k,
5115
+ Yr
5116
+ ) : Y && Y.p && (!v || re[0] & /*assetsurl*/
5117
+ 8) && Y.p(e, v ? re : [-1, -1]), B && B.p && (!v || re[0] & /*$$scope*/
5118
+ 4194304) && kt(
5119
+ B,
5120
+ b,
5092
5121
  e,
5093
5122
  /*$$scope*/
5094
5123
  e[22],
5095
- v ? $t(
5096
- k,
5124
+ v ? Ut(
5125
+ b,
5097
5126
  /*$$scope*/
5098
5127
  e[22],
5099
5128
  re,
5100
- Ja
5101
- ) : kt(
5129
+ el
5130
+ ) : Gt(
5102
5131
  /*$$scope*/
5103
5132
  e[22]
5104
5133
  ),
5105
- Vr
5106
- ), ne ? ne.p && (!v || re[0] & /*$$scope*/
5107
- 4194304) && Ut(
5108
- ne,
5109
- Y,
5134
+ Xr
5135
+ ), F ? F.p && (!v || re[0] & /*$$scope*/
5136
+ 4194304) && kt(
5137
+ F,
5138
+ ee,
5110
5139
  e,
5111
5140
  /*$$scope*/
5112
5141
  e[22],
5113
- v ? $t(
5114
- Y,
5142
+ v ? Ut(
5143
+ ee,
5115
5144
  /*$$scope*/
5116
5145
  e[22],
5117
5146
  re,
5118
- qa
5119
- ) : kt(
5147
+ Ka
5148
+ ) : Gt(
5120
5149
  /*$$scope*/
5121
5150
  e[22]
5122
5151
  ),
5123
- Wr
5124
- ) : ee && ee.p && (!v || re[0] & /*$_, timeLeft*/
5125
- 384) && ee.p(e, v ? re : [-1, -1]), (!v || re[0] & /*$_*/
5126
- 256) && se !== (se = /*$_*/
5127
- e[8]("sessionExpirationEnd") + "") && yt(Ee, se);
5128
- let Me = h;
5129
- h = Oe(e), h === Me ? le[h].p(e, re) : (oi(), Be(le[Me], 1, 1, () => {
5130
- le[Me] = null;
5131
- }), si(), E = le[h], E ? E.p(e, re) : (E = le[h] = he[h](e), E.c()), He(E, 1), E.m(_, null)), (!v || re[0] & /*showLoaderButton*/
5132
- 64 && b !== (b = "ModalButton Primary " + /*showLoaderButton*/
5133
- (e[6] ? "Disabled" : ""))) && w(_, "class", b);
5152
+ Vr
5153
+ ) : te && te.p && (!v || re[0] & /*$_, timeLeft*/
5154
+ 384) && te.p(e, v ? re : [-1, -1]), (!v || re[0] & /*$_*/
5155
+ 256) && he !== (he = /*$_*/
5156
+ e[8]("sessionExpirationEnd") + "") && xt(ue, he);
5157
+ let Oe = h;
5158
+ h = Ce(e), h === Oe ? ae[h].p(e, re) : (si(), Be(ae[Oe], 1, 1, () => {
5159
+ ae[Oe] = null;
5160
+ }), ai(), E = ae[h], E ? E.p(e, re) : (E = ae[h] = me[h](e), E.c()), He(E, 1), E.m(_, null)), (!v || re[0] & /*showLoaderButton*/
5161
+ 64 && d !== (d = "ModalButton Primary " + /*showLoaderButton*/
5162
+ (e[6] ? "Disabled" : ""))) && w(_, "class", d);
5134
5163
  },
5135
5164
  i(J) {
5136
- v || (He(d, J), He(X, J), He(ee, J), He(E), J && tt(() => {
5137
- v && (O || (O = dr(t, gr, { duration: (
5165
+ v || (He(Y, J), He(B, J), He(te, J), He(E), J && nt(() => {
5166
+ v && (C || (C = gr(t, _r, { duration: (
5138
5167
  /*duration*/
5139
5168
  e[2]
5140
- ) }, !0)), O.run(1));
5169
+ ) }, !0)), C.run(1));
5141
5170
  }), v = !0);
5142
5171
  },
5143
5172
  o(J) {
5144
- Be(d, J), Be(X, J), Be(ee, J), Be(E), J && (O || (O = dr(t, gr, { duration: (
5173
+ Be(Y, J), Be(B, J), Be(te, J), Be(E), J && (C || (C = gr(t, _r, { duration: (
5145
5174
  /*duration*/
5146
5175
  e[2]
5147
- ) }, !1)), O.run(0)), v = !1;
5176
+ ) }, !1)), C.run(0)), v = !1;
5148
5177
  },
5149
5178
  d(J) {
5150
- J && Ae(t), d && d.d(J), X && X.d(J), ee && ee.d(J), le[h].d(), e[24](null), L(), J && O && O.end(), z = !1, Ue(P);
5179
+ J && Ae(t), Y && Y.d(J), B && B.d(J), te && te.d(J), ae[h].d(), e[24](null), M(), J && C && C.end(), W = !1, Ue(P);
5151
5180
  }
5152
5181
  };
5153
5182
  }
5154
- function Zr(e) {
5183
+ function qr(e) {
5155
5184
  let t, n;
5156
5185
  return {
5157
5186
  c() {
5158
- t = te("img"), fr(t.src, n = `${/*assetsurl*/
5187
+ t = ne("img"), hr(t.src, n = `${/*assetsurl*/
5159
5188
  e[3]}/set-timeout-icon.png`) || w(t, "src", n), w(t, "width", "300px"), w(t, "alt", "error");
5160
5189
  },
5161
5190
  m(r, i) {
@@ -5163,7 +5192,7 @@ function Zr(e) {
5163
5192
  },
5164
5193
  p(r, i) {
5165
5194
  i[0] & /*assetsurl*/
5166
- 8 && !fr(t.src, n = `${/*assetsurl*/
5195
+ 8 && !hr(t.src, n = `${/*assetsurl*/
5167
5196
  r[3]}/set-timeout-icon.png`) && w(t, "src", n);
5168
5197
  },
5169
5198
  d(r) {
@@ -5171,32 +5200,32 @@ function Zr(e) {
5171
5200
  }
5172
5201
  };
5173
5202
  }
5174
- function Ka(e) {
5203
+ function nl(e) {
5175
5204
  let t, n = (
5176
5205
  /*assetsurl*/
5177
- e[3] && Zr(e)
5206
+ e[3] && qr(e)
5178
5207
  );
5179
5208
  return {
5180
5209
  c() {
5181
- n && n.c(), t = so();
5210
+ n && n.c(), t = ao();
5182
5211
  },
5183
5212
  m(r, i) {
5184
5213
  n && n.m(r, i), ke(r, t, i);
5185
5214
  },
5186
5215
  p(r, i) {
5187
5216
  /*assetsurl*/
5188
- r[3] ? n ? n.p(r, i) : (n = Zr(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
5217
+ r[3] ? n ? n.p(r, i) : (n = qr(r), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null);
5189
5218
  },
5190
5219
  d(r) {
5191
5220
  r && Ae(t), n && n.d(r);
5192
5221
  }
5193
5222
  };
5194
5223
  }
5195
- function el(e) {
5224
+ function rl(e) {
5196
5225
  let t, n, r = (
5197
5226
  /*$_*/
5198
5227
  e[8]("sessionExpirationTitle") + ""
5199
- ), i, o, l, a = Gr.sanitize(
5228
+ ), i, o, l, a = Fr.sanitize(
5200
5229
  /*$_*/
5201
5230
  e[8]("sessionExpirationGeneralText", { values: { second: (
5202
5231
  /*timeLeft*/
@@ -5205,16 +5234,16 @@ function el(e) {
5205
5234
  ) + "";
5206
5235
  return {
5207
5236
  c() {
5208
- t = te("span"), n = te("p"), i = je(r), o = Re(), l = te("p"), w(t, "class", "CashierSessionExpirationText");
5237
+ t = ne("span"), n = ne("p"), i = je(r), o = Re(), l = ne("p"), w(t, "class", "CashierSessionExpirationText");
5209
5238
  },
5210
5239
  m(c, u) {
5211
- ke(c, t, u), B(t, n), B(n, i), B(t, o), B(t, l), l.innerHTML = a;
5240
+ ke(c, t, u), $(t, n), $(n, i), $(t, o), $(t, l), l.innerHTML = a;
5212
5241
  },
5213
5242
  p(c, u) {
5214
5243
  u[0] & /*$_*/
5215
5244
  256 && r !== (r = /*$_*/
5216
- c[8]("sessionExpirationTitle") + "") && yt(i, r), u[0] & /*$_, timeLeft*/
5217
- 384 && a !== (a = Gr.sanitize(
5245
+ c[8]("sessionExpirationTitle") + "") && xt(i, r), u[0] & /*$_, timeLeft*/
5246
+ 384 && a !== (a = Fr.sanitize(
5218
5247
  /*$_*/
5219
5248
  c[8]("sessionExpirationGeneralText", { values: { second: (
5220
5249
  /*timeLeft*/
@@ -5227,18 +5256,18 @@ function el(e) {
5227
5256
  }
5228
5257
  };
5229
5258
  }
5230
- function tl(e) {
5259
+ function il(e) {
5231
5260
  let t;
5232
5261
  const n = (
5233
5262
  /*#slots*/
5234
5263
  e[23].button
5235
- ), r = Bt(
5264
+ ), r = $t(
5236
5265
  n,
5237
5266
  e,
5238
5267
  /*$$scope*/
5239
5268
  e[22],
5240
- zr
5241
- ), i = r || rl(e);
5269
+ Wr
5270
+ ), i = r || sl(e);
5242
5271
  return {
5243
5272
  c() {
5244
5273
  i && i.c();
@@ -5248,23 +5277,23 @@ function tl(e) {
5248
5277
  },
5249
5278
  p(o, l) {
5250
5279
  r ? r.p && (!t || l[0] & /*$$scope*/
5251
- 4194304) && Ut(
5280
+ 4194304) && kt(
5252
5281
  r,
5253
5282
  n,
5254
5283
  o,
5255
5284
  /*$$scope*/
5256
5285
  o[22],
5257
- t ? $t(
5286
+ t ? Ut(
5258
5287
  n,
5259
5288
  /*$$scope*/
5260
5289
  o[22],
5261
5290
  l,
5262
- Za
5263
- ) : kt(
5291
+ Qa
5292
+ ) : Gt(
5264
5293
  /*$$scope*/
5265
5294
  o[22]
5266
5295
  ),
5267
- zr
5296
+ Wr
5268
5297
  ) : i && i.p && (!t || l[0] & /*$_*/
5269
5298
  256) && i.p(o, t ? l : [-1, -1]);
5270
5299
  },
@@ -5279,22 +5308,22 @@ function tl(e) {
5279
5308
  }
5280
5309
  };
5281
5310
  }
5282
- function nl(e) {
5311
+ function ol(e) {
5283
5312
  let t, n, r, i, o, l = (
5284
5313
  /*$_*/
5285
5314
  e[8]("sessionExpirationLoadingButton") + ""
5286
5315
  ), a;
5287
5316
  return {
5288
5317
  c() {
5289
- t = te("div"), n = Se("svg"), r = Se("path"), i = Re(), o = te("span"), a = je(l), 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");
5318
+ t = ne("div"), n = Se("svg"), r = Se("path"), i = Re(), o = ne("span"), a = je(l), 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");
5290
5319
  },
5291
5320
  m(c, u) {
5292
- ke(c, t, u), B(t, n), B(n, r), B(t, i), B(t, o), B(o, a);
5321
+ ke(c, t, u), $(t, n), $(n, r), $(t, i), $(t, o), $(o, a);
5293
5322
  },
5294
5323
  p(c, u) {
5295
5324
  u[0] & /*$_*/
5296
5325
  256 && l !== (l = /*$_*/
5297
- c[8]("sessionExpirationLoadingButton") + "") && yt(a, l);
5326
+ c[8]("sessionExpirationLoadingButton") + "") && xt(a, l);
5298
5327
  },
5299
5328
  i: ye,
5300
5329
  o: ye,
@@ -5303,36 +5332,36 @@ function nl(e) {
5303
5332
  }
5304
5333
  };
5305
5334
  }
5306
- function rl(e) {
5335
+ function sl(e) {
5307
5336
  let t, n = (
5308
5337
  /*$_*/
5309
5338
  e[8]("sessionExpirationGeneralButton") + ""
5310
5339
  ), r;
5311
5340
  return {
5312
5341
  c() {
5313
- t = te("span"), r = je(n), w(t, "class", "CashierSessionExpirationButtonText");
5342
+ t = ne("span"), r = je(n), w(t, "class", "CashierSessionExpirationButtonText");
5314
5343
  },
5315
5344
  m(i, o) {
5316
- ke(i, t, o), B(t, r);
5345
+ ke(i, t, o), $(t, r);
5317
5346
  },
5318
5347
  p(i, o) {
5319
5348
  o[0] & /*$_*/
5320
5349
  256 && n !== (n = /*$_*/
5321
- i[8]("sessionExpirationGeneralButton") + "") && yt(r, n);
5350
+ i[8]("sessionExpirationGeneralButton") + "") && xt(r, n);
5322
5351
  },
5323
5352
  d(i) {
5324
5353
  i && Ae(t);
5325
5354
  }
5326
5355
  };
5327
5356
  }
5328
- function il(e) {
5357
+ function al(e) {
5329
5358
  let t, n, r = (
5330
5359
  /*show*/
5331
- e[5] && Yr(e)
5360
+ e[5] && Zr(e)
5332
5361
  );
5333
5362
  return {
5334
5363
  c() {
5335
- t = te("div"), r && r.c();
5364
+ t = ne("div"), r && r.c();
5336
5365
  },
5337
5366
  m(i, o) {
5338
5367
  ke(i, t, o), r && r.m(t, null), e[26](t), n = !0;
@@ -5340,9 +5369,9 @@ function il(e) {
5340
5369
  p(i, o) {
5341
5370
  /*show*/
5342
5371
  i[5] ? r ? (r.p(i, o), o[0] & /*show*/
5343
- 32 && He(r, 1)) : (r = Yr(i), r.c(), He(r, 1), r.m(t, null)) : r && (oi(), Be(r, 1, 1, () => {
5372
+ 32 && He(r, 1)) : (r = Zr(i), r.c(), He(r, 1), r.m(t, null)) : r && (si(), Be(r, 1, 1, () => {
5344
5373
  r = null;
5345
- }), si());
5374
+ }), ai());
5346
5375
  },
5347
5376
  i(i) {
5348
5377
  n || (He(r), n = !0);
@@ -5355,129 +5384,129 @@ function il(e) {
5355
5384
  }
5356
5385
  };
5357
5386
  }
5358
- const ol = 90;
5359
- function sl(e, t, n) {
5387
+ const ll = 90;
5388
+ function ul(e, t, n) {
5360
5389
  let r, i;
5361
- hr(e, jr, (d) => n(21, r = d)), hr(e, xa, (d) => n(8, i = d));
5390
+ mr(e, zr, (b) => n(21, r = b)), mr(e, va, (b) => n(8, i = b));
5362
5391
  let { $$slots: o = {}, $$scope: l } = t;
5363
- Fr.extend(za);
5364
- let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: u } = t, { height: f } = t, { duration: m = 200 } = t, { assetsurl: y = "" } = t, { lang: A = "en" } = t, { translationurl: x = "" } = t, { endpoint: g } = t, { currency: N } = t, { customerid: U } = t, { selectedpaymentmethodname: V } = t, { mbsource: R = "" } = t, H, I = !1, W = !1, oe, fe, K, j, C;
5365
- var se;
5366
- (function(d) {
5367
- d.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", d.Success = "Success", d.JwtTokenError = "JwtTokenError";
5368
- })(se || (se = {}));
5369
- const Ee = (d) => {
5370
- d.data.type === "StartSessionCountdown" && (j = d.data.paymentMethodName);
5371
- }, M = (d) => {
5392
+ jr.extend(Wa);
5393
+ let { clientstyling: a = "" } = t, { clientstylingurl: c = "" } = t, { width: u } = t, { height: f } = t, { duration: m = 200 } = t, { assetsurl: y = "" } = t, { lang: A = "en" } = t, { translationurl: x = "" } = t, { endpoint: g } = t, { currency: N } = t, { customerid: k } = t, { selectedpaymentmethodname: X } = t, { mbsource: R = "" } = t, H, I = !1, V = !1, oe, fe, K, z, L, he;
5394
+ var ue;
5395
+ (function(b) {
5396
+ b.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", b.Success = "Success", b.JwtTokenError = "JwtTokenError";
5397
+ })(ue || (ue = {}));
5398
+ const O = (b) => {
5399
+ b.data.type === "StartSessionCountdown" && (z = b.data.paymentMethodName);
5400
+ }, _ = (b) => {
5372
5401
  try {
5373
- return JSON.parse(atob(d.split(".")[1]));
5374
- } catch (k) {
5402
+ return JSON.parse(atob(b.split(".")[1]));
5403
+ } catch (B) {
5375
5404
  return null;
5376
5405
  }
5377
- }, _ = () => {
5406
+ }, h = () => {
5378
5407
  window.postMessage(
5379
5408
  {
5380
5409
  type: "ErrorResponseCode",
5381
- errorResponseCode: C
5410
+ errorResponseCode: L
5382
5411
  },
5383
5412
  window.location.href
5384
5413
  );
5385
- }, h = (d) => {
5414
+ }, E = (b) => {
5386
5415
  n(5, I = !1);
5387
- const k = M(d);
5388
- k && (fe = k == null ? void 0 : k.exp, n(7, oe = fe), K && clearInterval(K), K = setInterval(
5416
+ const B = _(b);
5417
+ B && (fe = B == null ? void 0 : B.exp, n(7, oe = fe), K && clearInterval(K), K = setInterval(
5389
5418
  () => {
5390
- const X = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5391
- n(7, oe = fe - X), oe <= ol && n(5, I = !0), X >= fe && (E(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5419
+ const ee = Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3);
5420
+ n(7, oe = fe - ee), oe <= ll && n(5, I = !0), ee >= fe && (d(), window.postMessage({ type: "SessionExpired" }, window.location.href));
5392
5421
  },
5393
5422
  1e3
5394
5423
  ));
5395
- }, E = () => {
5424
+ }, d = () => {
5396
5425
  n(7, oe = 0), n(5, I = !1), clearInterval(K);
5397
- }, b = () => {
5398
- if (W)
5426
+ }, M = () => {
5427
+ if (V)
5399
5428
  return;
5400
- const d = new URL(`${g}/v1/player/${U}/payment/GetPaymentMethod`), k = new Headers();
5401
- n(6, W = !0), k.append("accept", "application/json"), k.append("Content-Type", "application/json"), k.append("X-Client-Request-Timestamp", Fr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5402
- const X = {
5429
+ const b = new URL(`${g}/v1/player/${k}/payment/GetPaymentMethod`), B = new Headers();
5430
+ n(6, V = !0), B.append("accept", "application/json"), B.append("Content-Type", "application/json"), B.append("X-Client-Request-Timestamp", jr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5431
+ const ee = {
5403
5432
  method: "POST",
5404
5433
  mode: "cors",
5405
- headers: k,
5434
+ headers: B,
5406
5435
  body: JSON.stringify({
5407
- PaymentMethodName: j || V,
5436
+ PaymentMethodName: z || X,
5408
5437
  Currency: N,
5409
5438
  XPaymentSessionToken: r
5410
5439
  })
5411
5440
  };
5412
- fetch(d, X).then((Y) => Y.json()).then((Y) => {
5413
- if (Y.error) {
5441
+ fetch(b, ee).then((F) => F.json()).then((F) => {
5442
+ if (F.error) {
5414
5443
  window.postMessage(
5415
5444
  {
5416
5445
  type: "ShowSessionError",
5417
- error: Y.error
5446
+ error: F.error
5418
5447
  },
5419
5448
  window.location.href
5420
- ), E();
5449
+ ), d();
5421
5450
  return;
5422
5451
  }
5423
- if (Y.ResponseCode === se.PlayerSessionIsNotValid || Y.ResponseCode === se.JwtTokenError) {
5424
- C = Y.ResponseCode, E(), _();
5452
+ if (F.ResponseCode === ue.PlayerSessionIsNotValid || F.ResponseCode === ue.JwtTokenError) {
5453
+ L = F.ResponseCode, d(), h();
5425
5454
  return;
5426
5455
  }
5427
- if (Y.ResponseCode !== se.Success) {
5428
- C = Y.ResponseCode, E();
5456
+ if (F.ResponseCode !== ue.Success) {
5457
+ L = F.ResponseCode, d();
5429
5458
  return;
5430
5459
  }
5431
- Y.XPaymentSessionToken && jr.set(Y.XPaymentSessionToken);
5432
- }).finally(() => n(6, W = !1));
5433
- }, L = (d) => {
5434
- const k = d.currentTarget;
5435
- d.target === k && b();
5436
- }, O = () => {
5437
- fetch(x).then((k) => k.json()).then((k) => {
5438
- Object.keys(k).forEach((X) => {
5439
- Hr(X, k[X]);
5460
+ F.XPaymentSessionToken && zr.set(F.XPaymentSessionToken);
5461
+ }).finally(() => n(6, V = !1));
5462
+ }, C = (b) => {
5463
+ const B = b.currentTarget;
5464
+ b.target === B && M();
5465
+ }, v = () => {
5466
+ fetch(x).then((B) => B.json()).then((B) => {
5467
+ Object.keys(B).forEach((ee) => {
5468
+ Nr(ee, B[ee]);
5440
5469
  });
5441
- }).catch((k) => {
5442
- console.log(k);
5470
+ }).catch((B) => {
5471
+ console.log(B);
5443
5472
  });
5444
- }, v = () => {
5473
+ }, W = () => {
5445
5474
  window.postMessage({ type: "Cashier:goToHome" }, window.location.href), n(5, I = !1);
5446
5475
  };
5447
- Object.keys(Nr).forEach((d) => {
5448
- Hr(d, Nr[d]);
5476
+ Object.keys(Ir).forEach((b) => {
5477
+ Nr(b, Ir[b]);
5449
5478
  });
5450
- const z = () => {
5451
- va(A);
5479
+ const P = () => {
5480
+ Ta(A);
5452
5481
  };
5453
- _o(() => (window.addEventListener("message", Ee, !1), () => {
5454
- window.removeEventListener("message", Ee);
5455
- })), bo(() => {
5482
+ bo(() => (window.addEventListener("message", O, !1), () => {
5483
+ window.removeEventListener("message", O);
5484
+ })), Eo(() => {
5456
5485
  clearInterval(K);
5457
5486
  });
5458
- function P(d) {
5459
- Yt[d ? "unshift" : "push"](() => {
5460
- H = d, n(4, H);
5487
+ function q(b) {
5488
+ Zt[b ? "unshift" : "push"](() => {
5489
+ H = b, n(4, H);
5461
5490
  });
5462
5491
  }
5463
- function q() {
5492
+ function D() {
5464
5493
  u = this.clientWidth, f = this.clientHeight, n(0, u), n(1, f);
5465
5494
  }
5466
- function D(d) {
5467
- Yt[d ? "unshift" : "push"](() => {
5468
- H = d, n(4, H);
5495
+ function Y(b) {
5496
+ Zt[b ? "unshift" : "push"](() => {
5497
+ H = b, n(4, H);
5469
5498
  });
5470
5499
  }
5471
- return e.$$set = (d) => {
5472
- "clientstyling" in d && n(12, a = d.clientstyling), "clientstylingurl" in d && n(13, c = d.clientstylingurl), "width" in d && n(0, u = d.width), "height" in d && n(1, f = d.height), "duration" in d && n(2, m = d.duration), "assetsurl" in d && n(3, y = d.assetsurl), "lang" in d && n(14, A = d.lang), "translationurl" in d && n(15, x = d.translationurl), "endpoint" in d && n(16, g = d.endpoint), "currency" in d && n(17, N = d.currency), "customerid" in d && n(18, U = d.customerid), "selectedpaymentmethodname" in d && n(19, V = d.selectedpaymentmethodname), "mbsource" in d && n(20, R = d.mbsource), "$$scope" in d && n(22, l = d.$$scope);
5500
+ return e.$$set = (b) => {
5501
+ "clientstyling" in b && n(12, a = b.clientstyling), "clientstylingurl" in b && n(13, c = b.clientstylingurl), "width" in b && n(0, u = b.width), "height" in b && n(1, f = b.height), "duration" in b && n(2, m = b.duration), "assetsurl" in b && n(3, y = b.assetsurl), "lang" in b && n(14, A = b.lang), "translationurl" in b && n(15, x = b.translationurl), "endpoint" in b && n(16, g = b.endpoint), "currency" in b && n(17, N = b.currency), "customerid" in b && n(18, k = b.customerid), "selectedpaymentmethodname" in b && n(19, X = b.selectedpaymentmethodname), "mbsource" in b && n(20, R = b.mbsource), "$$scope" in b && n(22, l = b.$$scope);
5473
5502
  }, e.$$.update = () => {
5474
5503
  e.$$.dirty[0] & /*$xPaymentSessionToken*/
5475
- 2097152 && h(r), e.$$.dirty[0] & /*lang*/
5476
- 16384 && A && z(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5477
- 4112 && a && H && Wa(H, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5478
- 8208 && c && H && Va(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5479
- 1048592 && R && H && Xa(H, `${R}.Style`), e.$$.dirty[0] & /*translationurl*/
5480
- 32768 && x && O();
5504
+ 2097152 && E(r), e.$$.dirty[0] & /*lang*/
5505
+ 16384 && A && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5506
+ 4112 && a && H && Va(H, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5507
+ 8208 && c && H && Xa(H, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5508
+ 1048592 && R && H && Ya(H, `${R}.Style`, he), e.$$.dirty[0] & /*translationurl*/
5509
+ 32768 && x && v();
5481
5510
  }, [
5482
5511
  u,
5483
5512
  f,
@@ -5485,37 +5514,37 @@ function sl(e, t, n) {
5485
5514
  y,
5486
5515
  H,
5487
5516
  I,
5488
- W,
5517
+ V,
5489
5518
  oe,
5490
5519
  i,
5491
- b,
5492
- L,
5493
- v,
5520
+ M,
5521
+ C,
5522
+ W,
5494
5523
  a,
5495
5524
  c,
5496
5525
  A,
5497
5526
  x,
5498
5527
  g,
5499
5528
  N,
5500
- U,
5501
- V,
5529
+ k,
5530
+ X,
5502
5531
  R,
5503
5532
  r,
5504
5533
  l,
5505
5534
  o,
5506
- P,
5507
5535
  q,
5508
- D
5536
+ D,
5537
+ Y
5509
5538
  ];
5510
5539
  }
5511
- class al extends Lo {
5540
+ class cl extends Ho {
5512
5541
  constructor(t) {
5513
5542
  super(), Mo(
5514
5543
  this,
5515
5544
  t,
5516
- sl,
5517
- il,
5518
- Qr,
5545
+ ul,
5546
+ al,
5547
+ Kr,
5519
5548
  {
5520
5549
  clientstyling: 12,
5521
5550
  clientstylingurl: 13,
@@ -5531,7 +5560,7 @@ class al extends Lo {
5531
5560
  selectedpaymentmethodname: 19,
5532
5561
  mbsource: 20
5533
5562
  },
5534
- Ya,
5563
+ Ja,
5535
5564
  [-1, -1]
5536
5565
  );
5537
5566
  }
@@ -5539,82 +5568,82 @@ class al extends Lo {
5539
5568
  return this.$$.ctx[12];
5540
5569
  }
5541
5570
  set clientstyling(t) {
5542
- this.$$set({ clientstyling: t }), de();
5571
+ this.$$set({ clientstyling: t }), ge();
5543
5572
  }
5544
5573
  get clientstylingurl() {
5545
5574
  return this.$$.ctx[13];
5546
5575
  }
5547
5576
  set clientstylingurl(t) {
5548
- this.$$set({ clientstylingurl: t }), de();
5577
+ this.$$set({ clientstylingurl: t }), ge();
5549
5578
  }
5550
5579
  get width() {
5551
5580
  return this.$$.ctx[0];
5552
5581
  }
5553
5582
  set width(t) {
5554
- this.$$set({ width: t }), de();
5583
+ this.$$set({ width: t }), ge();
5555
5584
  }
5556
5585
  get height() {
5557
5586
  return this.$$.ctx[1];
5558
5587
  }
5559
5588
  set height(t) {
5560
- this.$$set({ height: t }), de();
5589
+ this.$$set({ height: t }), ge();
5561
5590
  }
5562
5591
  get duration() {
5563
5592
  return this.$$.ctx[2];
5564
5593
  }
5565
5594
  set duration(t) {
5566
- this.$$set({ duration: t }), de();
5595
+ this.$$set({ duration: t }), ge();
5567
5596
  }
5568
5597
  get assetsurl() {
5569
5598
  return this.$$.ctx[3];
5570
5599
  }
5571
5600
  set assetsurl(t) {
5572
- this.$$set({ assetsurl: t }), de();
5601
+ this.$$set({ assetsurl: t }), ge();
5573
5602
  }
5574
5603
  get lang() {
5575
5604
  return this.$$.ctx[14];
5576
5605
  }
5577
5606
  set lang(t) {
5578
- this.$$set({ lang: t }), de();
5607
+ this.$$set({ lang: t }), ge();
5579
5608
  }
5580
5609
  get translationurl() {
5581
5610
  return this.$$.ctx[15];
5582
5611
  }
5583
5612
  set translationurl(t) {
5584
- this.$$set({ translationurl: t }), de();
5613
+ this.$$set({ translationurl: t }), ge();
5585
5614
  }
5586
5615
  get endpoint() {
5587
5616
  return this.$$.ctx[16];
5588
5617
  }
5589
5618
  set endpoint(t) {
5590
- this.$$set({ endpoint: t }), de();
5619
+ this.$$set({ endpoint: t }), ge();
5591
5620
  }
5592
5621
  get currency() {
5593
5622
  return this.$$.ctx[17];
5594
5623
  }
5595
5624
  set currency(t) {
5596
- this.$$set({ currency: t }), de();
5625
+ this.$$set({ currency: t }), ge();
5597
5626
  }
5598
5627
  get customerid() {
5599
5628
  return this.$$.ctx[18];
5600
5629
  }
5601
5630
  set customerid(t) {
5602
- this.$$set({ customerid: t }), de();
5631
+ this.$$set({ customerid: t }), ge();
5603
5632
  }
5604
5633
  get selectedpaymentmethodname() {
5605
5634
  return this.$$.ctx[19];
5606
5635
  }
5607
5636
  set selectedpaymentmethodname(t) {
5608
- this.$$set({ selectedpaymentmethodname: t }), de();
5637
+ this.$$set({ selectedpaymentmethodname: t }), ge();
5609
5638
  }
5610
5639
  get mbsource() {
5611
5640
  return this.$$.ctx[20];
5612
5641
  }
5613
5642
  set mbsource(t) {
5614
- this.$$set({ mbsource: t }), de();
5643
+ this.$$set({ mbsource: t }), ge();
5615
5644
  }
5616
5645
  }
5617
- Co(al, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5646
+ Lo(cl, { clientstyling: {}, clientstylingurl: {}, width: {}, height: {}, duration: {}, assetsurl: {}, lang: {}, translationurl: {}, endpoint: {}, currency: {}, customerid: {}, selectedpaymentmethodname: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
5618
5647
  export {
5619
- al as default
5648
+ cl as default
5620
5649
  };