@everymatrix/cashier-verifications 1.62.0 → 1.62.1

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.
@@ -6,20 +6,20 @@ function Yt(e) {
6
6
  function St() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Ie(e) {
9
+ function Le(e) {
10
10
  e.forEach(Yt);
11
11
  }
12
- function gt(e) {
12
+ function bt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function Zt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let ke;
19
- function Kn(e, t) {
20
- return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
18
+ let Ue;
19
+ function es(e, t) {
20
+ return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
21
21
  }
22
- function Pr(e) {
22
+ function Ar(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
25
  function Jt(e, ...t) {
@@ -61,10 +61,10 @@ function Cr(e, t) {
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ae(e, t, r) {
64
+ function ue(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function ie(e) {
67
+ function ne(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
70
  function Dr(e, t) {
@@ -74,25 +74,25 @@ function Dr(e, t) {
74
74
  function Z(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function es(e) {
77
+ function ts(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function vt(e) {
80
+ function yt(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
83
  function xe() {
84
- return vt(" ");
84
+ return yt(" ");
85
85
  }
86
- function ts() {
87
- return vt("");
86
+ function rs() {
87
+ return yt("");
88
88
  }
89
- function bt(e, t, r, i) {
89
+ function _t(e, t, r, i) {
90
90
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
91
91
  }
92
92
  function K(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function le(e, t, r) {
95
+ function he(e, t, r) {
96
96
  const i = t.toLowerCase();
97
97
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
98
98
  }
@@ -103,7 +103,7 @@ function Lr(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Ee(e, t, r) {
106
+ function we(e, t, r) {
107
107
  e.classList.toggle(t, !!r);
108
108
  }
109
109
  function Nr(e) {
@@ -115,65 +115,65 @@ function Nr(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let Me;
119
- function Be(e) {
120
- Me = e;
118
+ let Ce;
119
+ function Me(e) {
120
+ Ce = e;
121
121
  }
122
122
  function Rr() {
123
- if (!Me)
123
+ if (!Ce)
124
124
  throw new Error("Function called outside component initialization");
125
- return Me;
125
+ return Ce;
126
126
  }
127
- function rs(e) {
127
+ function is(e) {
128
128
  Rr().$$.on_mount.push(e);
129
129
  }
130
- const ye = [], st = [];
131
- let _e = [];
130
+ const _e = [], at = [];
131
+ let Ee = [];
132
132
  const Tt = [], kr = /* @__PURE__ */ Promise.resolve();
133
- let ot = !1;
133
+ let ut = !1;
134
134
  function Ur() {
135
- ot || (ot = !0, kr.then(te));
135
+ ut || (ut = !0, kr.then(te));
136
136
  }
137
- function at(e) {
138
- _e.push(e);
137
+ function lt(e) {
138
+ Ee.push(e);
139
139
  }
140
- const Qe = /* @__PURE__ */ new Set();
141
- let ve = 0;
140
+ const et = /* @__PURE__ */ new Set();
141
+ let be = 0;
142
142
  function te() {
143
- if (ve !== 0)
143
+ if (be !== 0)
144
144
  return;
145
- const e = Me;
145
+ const e = Ce;
146
146
  do {
147
147
  try {
148
- for (; ve < ye.length; ) {
149
- const t = ye[ve];
150
- ve++, Be(t), Fr(t.$$);
148
+ for (; be < _e.length; ) {
149
+ const t = _e[be];
150
+ be++, Me(t), Fr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw ye.length = 0, ve = 0, t;
153
+ throw _e.length = 0, be = 0, t;
154
154
  }
155
- for (Be(null), ye.length = 0, ve = 0; st.length; )
156
- st.pop()();
157
- for (let t = 0; t < _e.length; t += 1) {
158
- const r = _e[t];
159
- Qe.has(r) || (Qe.add(r), r());
155
+ for (Me(null), _e.length = 0, be = 0; at.length; )
156
+ at.pop()();
157
+ for (let t = 0; t < Ee.length; t += 1) {
158
+ const r = Ee[t];
159
+ et.has(r) || (et.add(r), r());
160
160
  }
161
- _e.length = 0;
162
- } while (ye.length);
161
+ Ee.length = 0;
162
+ } while (_e.length);
163
163
  for (; Tt.length; )
164
164
  Tt.pop()();
165
- ot = !1, Qe.clear(), Be(e);
165
+ ut = !1, et.clear(), Me(e);
166
166
  }
167
167
  function Fr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), Ie(e.before_update);
169
+ e.update(), Le(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
172
172
  }
173
173
  }
174
174
  function Vr(e) {
175
175
  const t = [], r = [];
176
- _e.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), _e = t;
176
+ Ee.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Ee = t;
177
177
  }
178
178
  const Gr = /* @__PURE__ */ new Set();
179
179
  function jr(e, t) {
@@ -184,21 +184,21 @@ function Ht(e) {
184
184
  }
185
185
  function zr(e, t, r) {
186
186
  const { fragment: i, after_update: n } = e.$$;
187
- i && i.m(t, r), at(() => {
188
- const s = e.$$.on_mount.map(Yt).filter(gt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
190
- }), n.forEach(at);
187
+ i && i.m(t, r), lt(() => {
188
+ const s = e.$$.on_mount.map(Yt).filter(bt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
190
+ }), n.forEach(lt);
191
191
  }
192
192
  function Xr(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (Vr(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (Vr(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
196
  function Wr(e, t) {
197
- e.$$.dirty[0] === -1 && (ye.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
197
+ e.$$.dirty[0] === -1 && (_e.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
199
  function qr(e, t, r, i, n, s, l = null, a = [-1]) {
200
- const o = Me;
201
- Be(e);
200
+ const o = Ce;
201
+ Me(e);
202
202
  const u = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
@@ -225,15 +225,15 @@ function qr(e, t, r, i, n, s, l = null, a = [-1]) {
225
225
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
226
226
  const H = E.length ? E[0] : m;
227
227
  return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && Wr(e, c)), m;
228
- }) : [], u.update(), h = !0, Ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
228
+ }) : [], u.update(), h = !0, Le(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
230
  const c = Ir(t.target);
231
- u.fragment && u.fragment.l(c), c.forEach(ie);
231
+ u.fragment && u.fragment.l(c), c.forEach(ne);
232
232
  } else
233
233
  u.fragment && u.fragment.c();
234
234
  t.intro && jr(e.$$.fragment), zr(e, t.target, t.anchor), te();
235
235
  }
236
- Be(o);
236
+ Me(o);
237
237
  }
238
238
  let Qt;
239
239
  typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
@@ -285,10 +285,10 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(o, u) {
288
- ae(o, s, u);
288
+ ue(o, s, u);
289
289
  },
290
290
  d: function(o) {
291
- o && ie(s);
291
+ o && ne(s);
292
292
  }
293
293
  };
294
294
  };
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
300
300
  n in r && (t[n] = [e(n)]);
301
301
  for (const n of this.attributes) {
302
302
  const s = this.$$g_p(n.name);
303
- s in this.$$d || (this.$$d[s] = Fe(s, n.value, this.$$p_d, "toProp"));
303
+ s in this.$$d || (this.$$d[s] = Ve(s, n.value, this.$$p_d, "toProp"));
304
304
  }
305
305
  for (const n in this.$$p_d)
306
306
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
318
318
  this.$$r = !0;
319
319
  for (const n in this.$$p_d)
320
320
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
321
- const s = Fe(
321
+ const s = Ve(
322
322
  n,
323
323
  this.$$d[n],
324
324
  this.$$p_d,
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
340
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
341
  // and setting attributes through setAttribute etc, this is helpful
342
342
  attributeChangedCallback(e, t, r) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Fe(e, t, r, i) {
356
+ function Ve(e, t, r, i) {
357
357
  const n = r[e]?.type;
358
358
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
359
359
  return t;
@@ -399,7 +399,7 @@ function Yr(e, t, r, i, n, s) {
399
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
400
400
  },
401
401
  set(o) {
402
- o = Fe(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
402
+ o = Ve(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
403
403
  }
404
404
  });
405
405
  }), i.forEach((a) => {
@@ -439,7 +439,7 @@ class Zr {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, r) {
442
- if (!gt(r))
442
+ if (!bt(r))
443
443
  return Q;
444
444
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return i.push(r), () => {
@@ -452,29 +452,29 @@ class Zr {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
458
  const Jr = "4";
459
459
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
460
- const be = [];
460
+ const ye = [];
461
461
  function Qr(e, t) {
462
462
  return {
463
- subscribe: We(e, t).subscribe
463
+ subscribe: Ye(e, t).subscribe
464
464
  };
465
465
  }
466
- function We(e, t = Q) {
466
+ function Ye(e, t = Q) {
467
467
  let r;
468
468
  const i = /* @__PURE__ */ new Set();
469
469
  function n(a) {
470
470
  if (Zt(e, a) && (e = a, r)) {
471
- const o = !be.length;
471
+ const o = !ye.length;
472
472
  for (const u of i)
473
- u[1](), be.push(u, e);
473
+ u[1](), ye.push(u, e);
474
474
  if (o) {
475
- for (let u = 0; u < be.length; u += 2)
476
- be[u][0](be[u + 1]);
477
- be.length = 0;
475
+ for (let u = 0; u < ye.length; u += 2)
476
+ ye[u][0](ye[u + 1]);
477
+ ye.length = 0;
478
478
  }
479
479
  }
480
480
  }
@@ -489,7 +489,7 @@ function We(e, t = Q) {
489
489
  }
490
490
  return { set: n, update: s, subscribe: l };
491
491
  }
492
- function Oe(e, t, r) {
492
+ function Pe(e, t, r) {
493
493
  const i = !Array.isArray(e), n = i ? [e] : e;
494
494
  if (!n.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -503,12 +503,12 @@ function Oe(e, t, r) {
503
503
  return;
504
504
  c();
505
505
  const H = t(i ? u[0] : u, l, a);
506
- s ? l(H) : c = gt(H) ? H : Q;
506
+ s ? l(H) : c = bt(H) ? H : Q;
507
507
  }, E = n.map(
508
508
  (H, v) => Jt(
509
509
  H,
510
- ($) => {
511
- u[v] = $, h &= ~(1 << v), o && m();
510
+ (A) => {
511
+ u[v] = A, h &= ~(1 << v), o && m();
512
512
  },
513
513
  () => {
514
514
  h |= 1 << v;
@@ -516,12 +516,12 @@ function Oe(e, t, r) {
516
516
  )
517
517
  );
518
518
  return o = !0, m(), function() {
519
- Ie(E), c(), o = !1;
519
+ Le(E), c(), o = !1;
520
520
  };
521
521
  });
522
522
  }
523
523
  var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
- function yt(e) {
524
+ function xt(e) {
525
525
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
526
526
  }
527
527
  var Kr = function(t) {
@@ -541,19 +541,19 @@ function ni(e) {
541
541
  function si(e) {
542
542
  return Array.isArray(e) ? [] : {};
543
543
  }
544
- function Ce(e, t) {
545
- return t.clone !== !1 && t.isMergeableObject(e) ? we(si(e), e, t) : e;
544
+ function De(e, t) {
545
+ return t.clone !== !1 && t.isMergeableObject(e) ? Se(si(e), e, t) : e;
546
546
  }
547
547
  function oi(e, t, r) {
548
548
  return e.concat(t).map(function(i) {
549
- return Ce(i, r);
549
+ return De(i, r);
550
550
  });
551
551
  }
552
552
  function ai(e, t) {
553
553
  if (!t.customMerge)
554
- return we;
554
+ return Se;
555
555
  var r = t.customMerge(e);
556
- return typeof r == "function" ? r : we;
556
+ return typeof r == "function" ? r : Se;
557
557
  }
558
558
  function ui(e) {
559
559
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -576,65 +576,51 @@ function li(e, t) {
576
576
  function hi(e, t, r) {
577
577
  var i = {};
578
578
  return r.isMergeableObject(e) && Ot(e).forEach(function(n) {
579
- i[n] = Ce(e[n], r);
579
+ i[n] = De(e[n], r);
580
580
  }), Ot(t).forEach(function(n) {
581
- li(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = ai(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
581
+ li(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = ai(n, r)(e[n], t[n], r) : i[n] = De(t[n], r));
582
582
  }), i;
583
583
  }
584
- function we(e, t, r) {
585
- r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = Ce;
584
+ function Se(e, t, r) {
585
+ r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = De;
586
586
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
587
- return s ? i ? r.arrayMerge(e, t, r) : hi(e, t, r) : Ce(t, r);
587
+ return s ? i ? r.arrayMerge(e, t, r) : hi(e, t, r) : De(t, r);
588
588
  }
589
- we.all = function(t, r) {
589
+ Se.all = function(t, r) {
590
590
  if (!Array.isArray(t))
591
591
  throw new Error("first argument should be an array");
592
592
  return t.reduce(function(i, n) {
593
- return we(i, n, r);
593
+ return Se(i, n, r);
594
594
  }, {});
595
595
  };
596
- var fi = we, ci = fi;
597
- const di = /* @__PURE__ */ yt(ci);
598
- /*! *****************************************************************************
599
- Copyright (c) Microsoft Corporation.
600
-
601
- Permission to use, copy, modify, and/or distribute this software for any
602
- purpose with or without fee is hereby granted.
603
-
604
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
605
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
606
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
607
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
608
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
609
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
610
- PERFORMANCE OF THIS SOFTWARE.
611
- ***************************************************************************** */
612
- var ut = function(e, t) {
613
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
596
+ var fi = Se, ci = fi;
597
+ const di = /* @__PURE__ */ xt(ci);
598
+ var ht = function(e, t) {
599
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
614
600
  r.__proto__ = i;
615
601
  } || function(r, i) {
616
602
  for (var n in i)
617
603
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
618
- }, ut(e, t);
604
+ }, ht(e, t);
619
605
  };
620
- function qe(e, t) {
606
+ function Ze(e, t) {
621
607
  if (typeof t != "function" && t !== null)
622
608
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
623
- ut(e, t);
609
+ ht(e, t);
624
610
  function r() {
625
611
  this.constructor = e;
626
612
  }
627
613
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
628
614
  }
629
- var A = function() {
630
- return A = Object.assign || function(t) {
615
+ var ie = function() {
616
+ return ie = Object.assign || function(t) {
631
617
  for (var r, i = 1, n = arguments.length; i < n; i++) {
632
618
  r = arguments[i];
633
619
  for (var s in r)
634
620
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
635
621
  }
636
622
  return t;
637
- }, A.apply(this, arguments);
623
+ }, ie.apply(this, arguments);
638
624
  };
639
625
  function mi(e, t) {
640
626
  var r = {};
@@ -645,14 +631,14 @@ function mi(e, t) {
645
631
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
646
632
  return r;
647
633
  }
648
- function Ke(e, t, r) {
649
- if (arguments.length === 2)
634
+ function tt(e, t, r) {
635
+ if (r || arguments.length === 2)
650
636
  for (var i = 0, n = t.length, s; i < n; i++)
651
637
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
652
- return e.concat(s || t);
638
+ return e.concat(s || Array.prototype.slice.call(t));
653
639
  }
654
- function et(e, t) {
655
- var r = t && t.cache ? t.cache : xi, i = t && t.serializer ? t.serializer : yi, n = t && t.strategy ? t.strategy : gi;
640
+ function rt(e, t) {
641
+ var r = t && t.cache ? t.cache : xi, i = t && t.serializer ? t.serializer : yi, n = t && t.strategy ? t.strategy : vi;
656
642
  return n(e, {
657
643
  cache: r,
658
644
  serializer: i
@@ -661,95 +647,103 @@ function et(e, t) {
661
647
  function pi(e) {
662
648
  return e == null || typeof e == "number" || typeof e == "boolean";
663
649
  }
664
- function tr(e, t, r, i) {
650
+ function gi(e, t, r, i) {
665
651
  var n = pi(i) ? i : r(i), s = t.get(n);
666
652
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
667
653
  }
668
- function rr(e, t, r) {
654
+ function tr(e, t, r) {
669
655
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
670
656
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
671
657
  }
672
- function xt(e, t, r, i, n) {
658
+ function rr(e, t, r, i, n) {
673
659
  return r.bind(t, e, i, n);
674
660
  }
675
- function gi(e, t) {
676
- var r = e.length === 1 ? tr : rr;
677
- return xt(e, this, r, t.cache.create(), t.serializer);
678
- }
679
661
  function vi(e, t) {
680
- return xt(e, this, rr, t.cache.create(), t.serializer);
662
+ var r = e.length === 1 ? gi : tr;
663
+ return rr(e, this, r, t.cache.create(), t.serializer);
681
664
  }
682
665
  function bi(e, t) {
683
- return xt(e, this, tr, t.cache.create(), t.serializer);
666
+ return rr(e, this, tr, t.cache.create(), t.serializer);
684
667
  }
685
668
  var yi = function() {
686
669
  return JSON.stringify(arguments);
687
- };
688
- function _t() {
689
- this.cache = /* @__PURE__ */ Object.create(null);
690
- }
691
- _t.prototype.get = function(e) {
692
- return this.cache[e];
693
- };
694
- _t.prototype.set = function(e, t) {
695
- this.cache[e] = t;
696
- };
697
- var xi = {
670
+ }, _i = (
671
+ /** @class */
672
+ function() {
673
+ function e() {
674
+ this.cache = /* @__PURE__ */ Object.create(null);
675
+ }
676
+ return e.prototype.get = function(t) {
677
+ return this.cache[t];
678
+ }, e.prototype.set = function(t, r) {
679
+ this.cache[t] = r;
680
+ }, e;
681
+ }()
682
+ ), xi = {
698
683
  create: function() {
699
- return new _t();
684
+ return new _i();
700
685
  }
701
- }, tt = {
702
- variadic: vi,
703
- monadic: bi
704
- }, T;
686
+ }, it = {
687
+ variadic: bi
688
+ }, ze = function() {
689
+ return ze = Object.assign || function(t) {
690
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
691
+ r = arguments[i];
692
+ for (var s in r)
693
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
694
+ }
695
+ return t;
696
+ }, ze.apply(this, arguments);
697
+ };
698
+ var T;
705
699
  (function(e) {
706
700
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
707
701
  })(T || (T = {}));
708
- var C;
702
+ var M;
709
703
  (function(e) {
710
704
  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";
711
- })(C || (C = {}));
712
- var Se;
705
+ })(M || (M = {}));
706
+ var Te;
713
707
  (function(e) {
714
708
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
715
- })(Se || (Se = {}));
716
- function At(e) {
717
- return e.type === C.literal;
709
+ })(Te || (Te = {}));
710
+ function Pt(e) {
711
+ return e.type === M.literal;
718
712
  }
719
- function _i(e) {
720
- return e.type === C.argument;
713
+ function Ei(e) {
714
+ return e.type === M.argument;
721
715
  }
722
716
  function ir(e) {
723
- return e.type === C.number;
717
+ return e.type === M.number;
724
718
  }
725
719
  function nr(e) {
726
- return e.type === C.date;
720
+ return e.type === M.date;
727
721
  }
728
722
  function sr(e) {
729
- return e.type === C.time;
723
+ return e.type === M.time;
730
724
  }
731
725
  function or(e) {
732
- return e.type === C.select;
726
+ return e.type === M.select;
733
727
  }
734
728
  function ar(e) {
735
- return e.type === C.plural;
729
+ return e.type === M.plural;
736
730
  }
737
- function Ei(e) {
738
- return e.type === C.pound;
731
+ function wi(e) {
732
+ return e.type === M.pound;
739
733
  }
740
734
  function ur(e) {
741
- return e.type === C.tag;
735
+ return e.type === M.tag;
742
736
  }
743
737
  function lr(e) {
744
- return !!(e && typeof e == "object" && e.type === Se.number);
738
+ return !!(e && typeof e == "object" && e.type === Te.number);
745
739
  }
746
- function lt(e) {
747
- return !!(e && typeof e == "object" && e.type === Se.dateTime);
740
+ function ft(e) {
741
+ return !!(e && typeof e == "object" && e.type === Te.dateTime);
748
742
  }
749
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wi = /(?:[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;
750
- function Si(e) {
743
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Si = /(?:[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;
744
+ function Ti(e) {
751
745
  var t = {};
752
- return e.replace(wi, function(r) {
746
+ return e.replace(Si, function(r) {
753
747
  var i = r.length;
754
748
  switch (r[0]) {
755
749
  case "G":
@@ -838,11 +832,21 @@ function Si(e) {
838
832
  return "";
839
833
  }), t;
840
834
  }
841
- var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
842
- function Hi(e) {
835
+ var D = function() {
836
+ return D = Object.assign || function(t) {
837
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
838
+ r = arguments[i];
839
+ for (var s in r)
840
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
841
+ }
842
+ return t;
843
+ }, D.apply(this, arguments);
844
+ };
845
+ var Hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
846
+ function Oi(e) {
843
847
  if (e.length === 0)
844
848
  throw new Error("Number skeleton cannot be empty");
845
- for (var t = e.split(Ti).filter(function(m) {
849
+ for (var t = e.split(Hi).filter(function(m) {
846
850
  return m.length > 0;
847
851
  }), r = [], i = 0, n = t; i < n.length; i++) {
848
852
  var s = n[i], l = s.split("/");
@@ -857,10 +861,10 @@ function Hi(e) {
857
861
  }
858
862
  return r;
859
863
  }
860
- function Oi(e) {
864
+ function Pi(e) {
861
865
  return e.replace(/^(.*?)-/, "");
862
866
  }
863
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
867
+ var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
864
868
  function $t(e) {
865
869
  var t = {};
866
870
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
@@ -907,7 +911,7 @@ function dr(e) {
907
911
  };
908
912
  }
909
913
  }
910
- function Pi(e) {
914
+ function $i(e) {
911
915
  var t;
912
916
  if (e[0] === "E" && e[1] === "E" ? (t = {
913
917
  notation: "engineering"
@@ -925,7 +929,7 @@ function Bt(e) {
925
929
  var t = {}, r = dr(e);
926
930
  return r || t;
927
931
  }
928
- function $i(e) {
932
+ function Bi(e) {
929
933
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
930
934
  var n = i[r];
931
935
  switch (n.stem) {
@@ -949,7 +953,7 @@ function $i(e) {
949
953
  continue;
950
954
  case "measure-unit":
951
955
  case "unit":
952
- t.style = "unit", t.unit = Oi(n.options[0]);
956
+ t.style = "unit", t.unit = Pi(n.options[0]);
953
957
  continue;
954
958
  case "compact-short":
955
959
  case "K":
@@ -960,13 +964,13 @@ function $i(e) {
960
964
  t.notation = "compact", t.compactDisplay = "long";
961
965
  continue;
962
966
  case "scientific":
963
- t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
964
- return A(A({}, o), Bt(u));
967
+ t = D(D(D({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
968
+ return D(D({}, o), Bt(u));
965
969
  }, {}));
966
970
  continue;
967
971
  case "engineering":
968
- t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
969
- return A(A({}, o), Bt(u));
972
+ t = D(D(D({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
973
+ return D(D({}, o), Bt(u));
970
974
  }, {}));
971
975
  continue;
972
976
  case "notation-simple":
@@ -1028,28 +1032,28 @@ function $i(e) {
1028
1032
  t.minimumIntegerDigits = n.stem.length;
1029
1033
  continue;
1030
1034
  }
1031
- if (Pt.test(n.stem)) {
1035
+ if (At.test(n.stem)) {
1032
1036
  if (n.options.length > 1)
1033
1037
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1034
- n.stem.replace(Pt, function(o, u, h, c, m, E) {
1038
+ n.stem.replace(At, function(o, u, h, c, m, E) {
1035
1039
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1036
1040
  });
1037
1041
  var s = n.options[0];
1038
- s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), $t(s)));
1042
+ s === "w" ? t = D(D({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = D(D({}, t), $t(s)));
1039
1043
  continue;
1040
1044
  }
1041
1045
  if (fr.test(n.stem)) {
1042
- t = A(A({}, t), $t(n.stem));
1046
+ t = D(D({}, t), $t(n.stem));
1043
1047
  continue;
1044
1048
  }
1045
1049
  var l = dr(n.stem);
1046
- l && (t = A(A({}, t), l));
1047
- var a = Pi(n.stem);
1048
- a && (t = A(A({}, t), a));
1050
+ l && (t = D(D({}, t), l));
1051
+ var a = $i(n.stem);
1052
+ a && (t = D(D({}, t), a));
1049
1053
  }
1050
1054
  return t;
1051
1055
  }
1052
- var Ue = {
1056
+ var Fe = {
1053
1057
  "001": [
1054
1058
  "H",
1055
1059
  "h"
@@ -2464,13 +2468,13 @@ var Ue = {
2464
2468
  "h"
2465
2469
  ]
2466
2470
  };
2467
- function Bi(e, t) {
2471
+ function Mi(e, t) {
2468
2472
  for (var r = "", i = 0; i < e.length; i++) {
2469
2473
  var n = e.charAt(i);
2470
2474
  if (n === "j") {
2471
2475
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2472
2476
  s++, i++;
2473
- var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Mi(t);
2477
+ var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Ci(t);
2474
2478
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2475
2479
  r += o;
2476
2480
  for (; l-- > 0; )
@@ -2480,7 +2484,7 @@ function Bi(e, t) {
2480
2484
  }
2481
2485
  return r;
2482
2486
  }
2483
- function Mi(e) {
2487
+ function Ci(e) {
2484
2488
  var t = e.hourCycle;
2485
2489
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2486
2490
  e.hourCycles && // @ts-ignore
@@ -2499,23 +2503,23 @@ function Mi(e) {
2499
2503
  }
2500
2504
  var r = e.language, i;
2501
2505
  r !== "root" && (i = e.maximize().region);
2502
- var n = Ue[i || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2506
+ var n = Fe[i || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2503
2507
  return n[0];
2504
2508
  }
2505
- var rt, Ci = new RegExp("^".concat(hr.source, "*")), Di = new RegExp("".concat(hr.source, "*$"));
2509
+ var nt, Di = new RegExp("^".concat(hr.source, "*")), Ii = new RegExp("".concat(hr.source, "*$"));
2506
2510
  function O(e, t) {
2507
2511
  return { start: e, end: t };
2508
2512
  }
2509
- var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Li = !!String.fromCodePoint, Ni = !!Object.fromEntries, Ri = !!String.prototype.codePointAt, ki = !!String.prototype.trimStart, Ui = !!String.prototype.trimEnd, Fi = !!Number.isSafeInteger, Vi = Fi ? Number.isSafeInteger : function(e) {
2513
+ var Li = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ni = !!String.fromCodePoint, Ri = !!Object.fromEntries, ki = !!String.prototype.codePointAt, Ui = !!String.prototype.trimStart, Fi = !!String.prototype.trimEnd, Vi = !!Number.isSafeInteger, Gi = Vi ? Number.isSafeInteger : function(e) {
2510
2514
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2511
- }, ht = !0;
2515
+ }, ct = !0;
2512
2516
  try {
2513
- var Gi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2514
- ht = ((rt = Gi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2517
+ var ji = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
+ ct = ((nt = ji.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2515
2519
  } catch {
2516
- ht = !1;
2520
+ ct = !1;
2517
2521
  }
2518
- var Mt = Ii ? (
2522
+ var Mt = Li ? (
2519
2523
  // Native
2520
2524
  function(t, r, i) {
2521
2525
  return t.startsWith(r, i);
@@ -2525,7 +2529,7 @@ var Mt = Ii ? (
2525
2529
  function(t, r, i) {
2526
2530
  return t.slice(i, i + r.length) === r;
2527
2531
  }
2528
- ), ft = Li ? String.fromCodePoint : (
2532
+ ), dt = Ni ? String.fromCodePoint : (
2529
2533
  // IE11
2530
2534
  function() {
2531
2535
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2539,7 +2543,7 @@ var Mt = Ii ? (
2539
2543
  }
2540
2544
  ), Ct = (
2541
2545
  // native
2542
- Ni ? Object.fromEntries : (
2546
+ Ri ? Object.fromEntries : (
2543
2547
  // Ponyfill
2544
2548
  function(t) {
2545
2549
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2549,7 +2553,7 @@ var Mt = Ii ? (
2549
2553
  return r;
2550
2554
  }
2551
2555
  )
2552
- ), mr = Ri ? (
2556
+ ), mr = ki ? (
2553
2557
  // Native
2554
2558
  function(t, r) {
2555
2559
  return t.codePointAt(r);
@@ -2563,7 +2567,7 @@ var Mt = Ii ? (
2563
2567
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2564
2568
  }
2565
2569
  }
2566
- ), ji = ki ? (
2570
+ ), zi = Ui ? (
2567
2571
  // Native
2568
2572
  function(t) {
2569
2573
  return t.trimStart();
@@ -2571,9 +2575,9 @@ var Mt = Ii ? (
2571
2575
  ) : (
2572
2576
  // Ponyfill
2573
2577
  function(t) {
2574
- return t.replace(Ci, "");
2578
+ return t.replace(Di, "");
2575
2579
  }
2576
- ), zi = Ui ? (
2580
+ ), Xi = Fi ? (
2577
2581
  // Native
2578
2582
  function(t) {
2579
2583
  return t.trimEnd();
@@ -2581,32 +2585,32 @@ var Mt = Ii ? (
2581
2585
  ) : (
2582
2586
  // Ponyfill
2583
2587
  function(t) {
2584
- return t.replace(Di, "");
2588
+ return t.replace(Ii, "");
2585
2589
  }
2586
2590
  );
2587
2591
  function pr(e, t) {
2588
2592
  return new RegExp(e, t);
2589
2593
  }
2590
- var ct;
2591
- if (ht) {
2594
+ var mt;
2595
+ if (ct) {
2592
2596
  var Dt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2593
- ct = function(t, r) {
2597
+ mt = function(t, r) {
2594
2598
  var i;
2595
2599
  Dt.lastIndex = r;
2596
2600
  var n = Dt.exec(t);
2597
2601
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2598
2602
  };
2599
2603
  } else
2600
- ct = function(t, r) {
2604
+ mt = function(t, r) {
2601
2605
  for (var i = []; ; ) {
2602
2606
  var n = mr(t, r);
2603
- if (n === void 0 || gr(n) || Yi(n))
2607
+ if (n === void 0 || gr(n) || Zi(n))
2604
2608
  break;
2605
2609
  i.push(n), r += n >= 65536 ? 2 : 1;
2606
2610
  }
2607
- return ft.apply(void 0, i);
2611
+ return dt.apply(void 0, i);
2608
2612
  };
2609
- var Xi = (
2613
+ var Wi = (
2610
2614
  /** @class */
2611
2615
  function() {
2612
2616
  function e(t, r) {
@@ -2630,14 +2634,14 @@ var Xi = (
2630
2634
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2631
2635
  var a = this.clonePosition();
2632
2636
  this.bump(), n.push({
2633
- type: C.pound,
2637
+ type: M.pound,
2634
2638
  location: O(a, this.clonePosition())
2635
2639
  });
2636
2640
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2637
2641
  if (i)
2638
2642
  break;
2639
2643
  return this.error(T.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2640
- } else if (s === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2644
+ } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2641
2645
  var l = this.parseTag(t, r);
2642
2646
  if (l.err)
2643
2647
  return l;
@@ -2658,7 +2662,7 @@ var Xi = (
2658
2662
  if (this.bumpSpace(), this.bumpIf("/>"))
2659
2663
  return {
2660
2664
  val: {
2661
- type: C.literal,
2665
+ type: M.literal,
2662
2666
  value: "<".concat(n, "/>"),
2663
2667
  location: O(i, this.clonePosition())
2664
2668
  },
@@ -2670,12 +2674,12 @@ var Xi = (
2670
2674
  return s;
2671
2675
  var l = s.val, a = this.clonePosition();
2672
2676
  if (this.bumpIf("</")) {
2673
- if (this.isEOF() || !dt(this.char()))
2677
+ if (this.isEOF() || !pt(this.char()))
2674
2678
  return this.error(T.INVALID_TAG, O(a, this.clonePosition()));
2675
2679
  var o = this.clonePosition(), u = this.parseTagName();
2676
2680
  return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, O(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2677
2681
  val: {
2678
- type: C.tag,
2682
+ type: M.tag,
2679
2683
  value: n,
2680
2684
  children: l,
2681
2685
  location: O(i, this.clonePosition())
@@ -2688,7 +2692,7 @@ var Xi = (
2688
2692
  return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
2689
2693
  }, e.prototype.parseTagName = function() {
2690
2694
  var t = this.offset();
2691
- for (this.bump(); !this.isEOF() && qi(this.char()); )
2695
+ for (this.bump(); !this.isEOF() && Yi(this.char()); )
2692
2696
  this.bump();
2693
2697
  return this.message.slice(t, this.offset());
2694
2698
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2712,12 +2716,12 @@ var Xi = (
2712
2716
  }
2713
2717
  var o = O(i, this.clonePosition());
2714
2718
  return {
2715
- val: { type: C.literal, value: n, location: o },
2719
+ val: { type: M.literal, value: n, location: o },
2716
2720
  err: null
2717
2721
  };
2718
2722
  }, e.prototype.tryParseLeftAngleBracket = function() {
2719
2723
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2720
- !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
2724
+ !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2721
2725
  }, e.prototype.tryParseQuote = function(t) {
2722
2726
  if (this.isEOF() || this.char() !== 39)
2723
2727
  return null;
@@ -2751,12 +2755,12 @@ var Xi = (
2751
2755
  r.push(i);
2752
2756
  this.bump();
2753
2757
  }
2754
- return ft.apply(void 0, r);
2758
+ return dt.apply(void 0, r);
2755
2759
  }, e.prototype.tryParseUnquoted = function(t, r) {
2756
2760
  if (this.isEOF())
2757
2761
  return null;
2758
2762
  var i = this.char();
2759
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
2763
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
2760
2764
  }, e.prototype.parseArgument = function(t, r) {
2761
2765
  var i = this.clonePosition();
2762
2766
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2772,7 +2776,7 @@ var Xi = (
2772
2776
  case 125:
2773
2777
  return this.bump(), {
2774
2778
  val: {
2775
- type: C.argument,
2779
+ type: M.argument,
2776
2780
  // value does not include the opening and closing braces.
2777
2781
  value: n,
2778
2782
  location: O(i, this.clonePosition())
@@ -2785,7 +2789,7 @@ var Xi = (
2785
2789
  return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2786
2790
  }
2787
2791
  }, e.prototype.parseIdentifierIfPossible = function() {
2788
- var t = this.clonePosition(), r = this.offset(), i = ct(this.message, r), n = r + i.length;
2792
+ var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2789
2793
  this.bumpTo(n);
2790
2794
  var s = this.clonePosition(), l = O(t, s);
2791
2795
  return { value: i, location: l };
@@ -2804,7 +2808,7 @@ var Xi = (
2804
2808
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2805
2809
  if (c.err)
2806
2810
  return c;
2807
- var m = zi(c.val);
2811
+ var m = Xi(c.val);
2808
2812
  if (m.length === 0)
2809
2813
  return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2810
2814
  var E = O(h, this.clonePosition());
@@ -2815,24 +2819,24 @@ var Xi = (
2815
2819
  return H;
2816
2820
  var v = O(n, this.clonePosition());
2817
2821
  if (u && Mt(u?.style, "::", 0)) {
2818
- var $ = ji(u.style.slice(2));
2822
+ var A = zi(u.style.slice(2));
2819
2823
  if (a === "number") {
2820
- var c = this.parseNumberSkeletonFromString($, u.styleLocation);
2824
+ var c = this.parseNumberSkeletonFromString(A, u.styleLocation);
2821
2825
  return c.err ? c : {
2822
- val: { type: C.number, value: i, location: v, style: c.val },
2826
+ val: { type: M.number, value: i, location: v, style: c.val },
2823
2827
  err: null
2824
2828
  };
2825
2829
  } else {
2826
- if ($.length === 0)
2830
+ if (A.length === 0)
2827
2831
  return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2828
- var V = $;
2829
- this.locale && (V = Bi($, this.locale));
2832
+ var V = A;
2833
+ this.locale && (V = Mi(A, this.locale));
2830
2834
  var m = {
2831
- type: Se.dateTime,
2835
+ type: Te.dateTime,
2832
2836
  pattern: V,
2833
2837
  location: u.styleLocation,
2834
- parsedOptions: this.shouldParseSkeletons ? Si(V) : {}
2835
- }, U = a === "date" ? C.date : C.time;
2838
+ parsedOptions: this.shouldParseSkeletons ? Ti(V) : {}
2839
+ }, U = a === "date" ? M.date : M.time;
2836
2840
  return {
2837
2841
  val: { type: U, value: i, location: v, style: m },
2838
2842
  err: null
@@ -2841,7 +2845,7 @@ var Xi = (
2841
2845
  }
2842
2846
  return {
2843
2847
  val: {
2844
- type: a === "number" ? C.number : a === "date" ? C.date : C.time,
2848
+ type: a === "number" ? M.number : a === "date" ? M.date : M.time,
2845
2849
  value: i,
2846
2850
  location: v,
2847
2851
  style: (s = u?.style) !== null && s !== void 0 ? s : null
@@ -2852,9 +2856,9 @@ var Xi = (
2852
2856
  case "plural":
2853
2857
  case "selectordinal":
2854
2858
  case "select": {
2855
- var B = this.clonePosition();
2859
+ var $ = this.clonePosition();
2856
2860
  if (this.bumpSpace(), !this.bumpIf(","))
2857
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(B, A({}, B)));
2861
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O($, ze({}, $)));
2858
2862
  this.bumpSpace();
2859
2863
  var z = this.parseIdentifierIfPossible(), I = 0;
2860
2864
  if (a !== "select" && z.value === "offset") {
@@ -2875,7 +2879,7 @@ var Xi = (
2875
2879
  var q = O(n, this.clonePosition());
2876
2880
  return a === "select" ? {
2877
2881
  val: {
2878
- type: C.select,
2882
+ type: M.select,
2879
2883
  value: i,
2880
2884
  options: Ct(L.val),
2881
2885
  location: q
@@ -2883,7 +2887,7 @@ var Xi = (
2883
2887
  err: null
2884
2888
  } : {
2885
2889
  val: {
2886
- type: C.plural,
2890
+ type: M.plural,
2887
2891
  value: i,
2888
2892
  options: Ct(L.val),
2889
2893
  offset: I,
@@ -2936,16 +2940,16 @@ var Xi = (
2936
2940
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2937
2941
  var i = [];
2938
2942
  try {
2939
- i = Hi(t);
2943
+ i = Oi(t);
2940
2944
  } catch {
2941
2945
  return this.error(T.INVALID_NUMBER_SKELETON, r);
2942
2946
  }
2943
2947
  return {
2944
2948
  val: {
2945
- type: Se.number,
2949
+ type: Te.number,
2946
2950
  tokens: i,
2947
2951
  location: r,
2948
- parsedOptions: this.shouldParseSkeletons ? $i(i) : {}
2952
+ parsedOptions: this.shouldParseSkeletons ? Bi(i) : {}
2949
2953
  },
2950
2954
  err: null
2951
2955
  };
@@ -2993,7 +2997,7 @@ var Xi = (
2993
2997
  break;
2994
2998
  }
2995
2999
  var o = O(n, this.clonePosition());
2996
- return s ? (l *= i, Vi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
3000
+ return s ? (l *= i, Gi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2997
3001
  }, e.prototype.offset = function() {
2998
3002
  return this.position.offset;
2999
3003
  }, e.prototype.isEOF = function() {
@@ -3059,47 +3063,47 @@ var Xi = (
3059
3063
  }, e;
3060
3064
  }()
3061
3065
  );
3062
- function dt(e) {
3066
+ function pt(e) {
3063
3067
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3064
3068
  }
3065
- function Wi(e) {
3066
- return dt(e) || e === 47;
3067
- }
3068
3069
  function qi(e) {
3070
+ return pt(e) || e === 47;
3071
+ }
3072
+ function Yi(e) {
3069
3073
  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;
3070
3074
  }
3071
3075
  function gr(e) {
3072
3076
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3073
3077
  }
3074
- function Yi(e) {
3078
+ function Zi(e) {
3075
3079
  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;
3076
3080
  }
3077
- function mt(e) {
3081
+ function gt(e) {
3078
3082
  e.forEach(function(t) {
3079
3083
  if (delete t.location, or(t) || ar(t))
3080
3084
  for (var r in t.options)
3081
- delete t.options[r].location, mt(t.options[r].value);
3085
+ delete t.options[r].location, gt(t.options[r].value);
3082
3086
  else
3083
- ir(t) && lr(t.style) || (nr(t) || sr(t)) && lt(t.style) ? delete t.style.location : ur(t) && mt(t.children);
3087
+ ir(t) && lr(t.style) || (nr(t) || sr(t)) && ft(t.style) ? delete t.style.location : ur(t) && gt(t.children);
3084
3088
  });
3085
3089
  }
3086
- function Zi(e, t) {
3087
- t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3088
- var r = new Xi(e, t).parse();
3090
+ function Ji(e, t) {
3091
+ t === void 0 && (t = {}), t = ze({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3092
+ var r = new Wi(e, t).parse();
3089
3093
  if (r.err) {
3090
3094
  var i = SyntaxError(T[r.err.kind]);
3091
3095
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3092
3096
  }
3093
- return t?.captureLocation || mt(r.val), r.val;
3097
+ return t?.captureLocation || gt(r.val), r.val;
3094
3098
  }
3095
- var Te;
3099
+ var He;
3096
3100
  (function(e) {
3097
3101
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3098
- })(Te || (Te = {}));
3099
- var Ye = (
3102
+ })(He || (He = {}));
3103
+ var Je = (
3100
3104
  /** @class */
3101
3105
  function(e) {
3102
- qe(t, e);
3106
+ Ze(t, e);
3103
3107
  function t(r, i, n) {
3104
3108
  var s = e.call(this, r) || this;
3105
3109
  return s.code = i, s.originalMessage = n, s;
@@ -3111,45 +3115,45 @@ var Ye = (
3111
3115
  ), It = (
3112
3116
  /** @class */
3113
3117
  function(e) {
3114
- qe(t, e);
3118
+ Ze(t, e);
3115
3119
  function t(r, i, n, s) {
3116
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
3120
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), He.INVALID_VALUE, s) || this;
3117
3121
  }
3118
3122
  return t;
3119
- }(Ye)
3120
- ), Ji = (
3123
+ }(Je)
3124
+ ), Qi = (
3121
3125
  /** @class */
3122
3126
  function(e) {
3123
- qe(t, e);
3127
+ Ze(t, e);
3124
3128
  function t(r, i, n) {
3125
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
3129
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), He.INVALID_VALUE, n) || this;
3126
3130
  }
3127
3131
  return t;
3128
- }(Ye)
3129
- ), Qi = (
3132
+ }(Je)
3133
+ ), Ki = (
3130
3134
  /** @class */
3131
3135
  function(e) {
3132
- qe(t, e);
3136
+ Ze(t, e);
3133
3137
  function t(r, i) {
3134
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
3138
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), He.MISSING_VALUE, i) || this;
3135
3139
  }
3136
3140
  return t;
3137
- }(Ye)
3141
+ }(Je)
3138
3142
  ), j;
3139
3143
  (function(e) {
3140
3144
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3141
3145
  })(j || (j = {}));
3142
- function Ki(e) {
3146
+ function en(e) {
3143
3147
  return e.length < 2 ? e : e.reduce(function(t, r) {
3144
3148
  var i = t[t.length - 1];
3145
3149
  return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
3146
3150
  }, []);
3147
3151
  }
3148
- function en(e) {
3152
+ function tn(e) {
3149
3153
  return typeof e == "function";
3150
3154
  }
3151
- function Ve(e, t, r, i, n, s, l) {
3152
- if (e.length === 1 && At(e[0]))
3155
+ function Ge(e, t, r, i, n, s, l) {
3156
+ if (e.length === 1 && Pt(e[0]))
3153
3157
  return [
3154
3158
  {
3155
3159
  type: j.literal,
@@ -3158,14 +3162,14 @@ function Ve(e, t, r, i, n, s, l) {
3158
3162
  ];
3159
3163
  for (var a = [], o = 0, u = e; o < u.length; o++) {
3160
3164
  var h = u[o];
3161
- if (At(h)) {
3165
+ if (Pt(h)) {
3162
3166
  a.push({
3163
3167
  type: j.literal,
3164
3168
  value: h.value
3165
3169
  });
3166
3170
  continue;
3167
3171
  }
3168
- if (Ei(h)) {
3172
+ if (wi(h)) {
3169
3173
  typeof s == "number" && a.push({
3170
3174
  type: j.literal,
3171
3175
  value: r.getNumberFormat(t).format(s)
@@ -3174,9 +3178,9 @@ function Ve(e, t, r, i, n, s, l) {
3174
3178
  }
3175
3179
  var c = h.value;
3176
3180
  if (!(n && c in n))
3177
- throw new Qi(c, l);
3181
+ throw new Ki(c, l);
3178
3182
  var m = n[c];
3179
- if (_i(h)) {
3183
+ if (Ei(h)) {
3180
3184
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3181
3185
  type: typeof m == "string" ? j.literal : j.object,
3182
3186
  value: m
@@ -3184,7 +3188,7 @@ function Ve(e, t, r, i, n, s, l) {
3184
3188
  continue;
3185
3189
  }
3186
3190
  if (nr(h)) {
3187
- var E = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3191
+ var E = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3188
3192
  a.push({
3189
3193
  type: j.literal,
3190
3194
  value: r.getDateTimeFormat(t, E).format(m)
@@ -3192,7 +3196,7 @@ function Ve(e, t, r, i, n, s, l) {
3192
3196
  continue;
3193
3197
  }
3194
3198
  if (sr(h)) {
3195
- var E = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
3199
+ var E = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3196
3200
  a.push({
3197
3201
  type: j.literal,
3198
3202
  value: r.getDateTimeFormat(t, E).format(m)
@@ -3208,10 +3212,10 @@ function Ve(e, t, r, i, n, s, l) {
3208
3212
  continue;
3209
3213
  }
3210
3214
  if (ur(h)) {
3211
- var H = h.children, v = h.value, $ = n[v];
3212
- if (!en($))
3213
- throw new Ji(v, "function", l);
3214
- var V = Ve(H, t, r, i, n, s), U = $(V.map(function(I) {
3215
+ var H = h.children, v = h.value, A = n[v];
3216
+ if (!tn(A))
3217
+ throw new Qi(v, "function", l);
3218
+ var V = Ge(H, t, r, i, n, s), U = A(V.map(function(I) {
3215
3219
  return I.value;
3216
3220
  }));
3217
3221
  Array.isArray(U) || (U = [U]), a.push.apply(a, U.map(function(I) {
@@ -3222,41 +3226,41 @@ function Ve(e, t, r, i, n, s, l) {
3222
3226
  }));
3223
3227
  }
3224
3228
  if (or(h)) {
3225
- var B = h.options[m] || h.options.other;
3226
- if (!B)
3229
+ var $ = h.options[m] || h.options.other;
3230
+ if (!$)
3227
3231
  throw new It(h.value, m, Object.keys(h.options), l);
3228
- a.push.apply(a, Ve(B.value, t, r, i, n));
3232
+ a.push.apply(a, Ge($.value, t, r, i, n));
3229
3233
  continue;
3230
3234
  }
3231
3235
  if (ar(h)) {
3232
- var B = h.options["=".concat(m)];
3233
- if (!B) {
3236
+ var $ = h.options["=".concat(m)];
3237
+ if (!$) {
3234
3238
  if (!Intl.PluralRules)
3235
- throw new Ye(`Intl.PluralRules is not available in this environment.
3239
+ throw new Je(`Intl.PluralRules is not available in this environment.
3236
3240
  Try polyfilling it using "@formatjs/intl-pluralrules"
3237
- `, Te.MISSING_INTL_API, l);
3241
+ `, He.MISSING_INTL_API, l);
3238
3242
  var z = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3239
- B = h.options[z] || h.options.other;
3243
+ $ = h.options[z] || h.options.other;
3240
3244
  }
3241
- if (!B)
3245
+ if (!$)
3242
3246
  throw new It(h.value, m, Object.keys(h.options), l);
3243
- a.push.apply(a, Ve(B.value, t, r, i, n, m - (h.offset || 0)));
3247
+ a.push.apply(a, Ge($.value, t, r, i, n, m - (h.offset || 0)));
3244
3248
  continue;
3245
3249
  }
3246
3250
  }
3247
- return Ki(a);
3251
+ return en(a);
3248
3252
  }
3249
- function tn(e, t) {
3250
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3251
- return r[i] = A(A({}, e[i]), t[i] || {}), r;
3253
+ function rn(e, t) {
3254
+ return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3255
+ return r[i] = ie(ie({}, e[i]), t[i] || {}), r;
3252
3256
  }, {})) : e;
3253
3257
  }
3254
- function rn(e, t) {
3258
+ function nn(e, t) {
3255
3259
  return t ? Object.keys(e).reduce(function(r, i) {
3256
- return r[i] = tn(e[i], t[i]), r;
3257
- }, A({}, e)) : e;
3260
+ return r[i] = rn(e[i], t[i]), r;
3261
+ }, ie({}, e)) : e;
3258
3262
  }
3259
- function it(e) {
3263
+ function st(e) {
3260
3264
  return {
3261
3265
  create: function() {
3262
3266
  return {
@@ -3270,35 +3274,35 @@ function it(e) {
3270
3274
  }
3271
3275
  };
3272
3276
  }
3273
- function nn(e) {
3277
+ function sn(e) {
3274
3278
  return e === void 0 && (e = {
3275
3279
  number: {},
3276
3280
  dateTime: {},
3277
3281
  pluralRules: {}
3278
3282
  }), {
3279
- getNumberFormat: et(function() {
3283
+ getNumberFormat: rt(function() {
3280
3284
  for (var t, r = [], i = 0; i < arguments.length; i++)
3281
3285
  r[i] = arguments[i];
3282
- return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
3286
+ return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
3283
3287
  }, {
3284
- cache: it(e.number),
3285
- strategy: tt.variadic
3288
+ cache: st(e.number),
3289
+ strategy: it.variadic
3286
3290
  }),
3287
- getDateTimeFormat: et(function() {
3291
+ getDateTimeFormat: rt(function() {
3288
3292
  for (var t, r = [], i = 0; i < arguments.length; i++)
3289
3293
  r[i] = arguments[i];
3290
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
3294
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
3291
3295
  }, {
3292
- cache: it(e.dateTime),
3293
- strategy: tt.variadic
3296
+ cache: st(e.dateTime),
3297
+ strategy: it.variadic
3294
3298
  }),
3295
- getPluralRules: et(function() {
3299
+ getPluralRules: rt(function() {
3296
3300
  for (var t, r = [], i = 0; i < arguments.length; i++)
3297
3301
  r[i] = arguments[i];
3298
- return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
3302
+ return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
3299
3303
  }, {
3300
- cache: it(e.pluralRules),
3301
- strategy: tt.variadic
3304
+ cache: st(e.pluralRules),
3305
+ strategy: it.variadic
3302
3306
  })
3303
3307
  };
3304
3308
  }
@@ -3321,7 +3325,7 @@ var vr = (
3321
3325
  }, []);
3322
3326
  return h.length <= 1 ? h[0] || "" : h;
3323
3327
  }, this.formatToParts = function(o) {
3324
- return Ve(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3328
+ return Ge(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3325
3329
  }, this.resolvedOptions = function() {
3326
3330
  var o;
3327
3331
  return {
@@ -3335,12 +3339,12 @@ var vr = (
3335
3339
  var l = n || {};
3336
3340
  l.formatters;
3337
3341
  var a = mi(l, ["formatters"]);
3338
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3342
+ this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3339
3343
  } else
3340
3344
  this.ast = t;
3341
3345
  if (!Array.isArray(this.ast))
3342
3346
  throw new TypeError("A message must be provided as a String or AST.");
3343
- this.formats = rn(e.formats, i), this.formatters = n && n.formatters || nn(this.formatterCache);
3347
+ this.formats = nn(e.formats, i), this.formatters = n && n.formatters || sn(this.formatterCache);
3344
3348
  }
3345
3349
  return Object.defineProperty(e, "defaultLocale", {
3346
3350
  get: function() {
@@ -3353,7 +3357,7 @@ var vr = (
3353
3357
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3354
3358
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3355
3359
  }
3356
- }, e.__parse = Zi, e.formats = {
3360
+ }, e.__parse = Ji, e.formats = {
3357
3361
  number: {
3358
3362
  integer: {
3359
3363
  maximumFractionDigits: 0
@@ -3414,7 +3418,7 @@ var vr = (
3414
3418
  }, e;
3415
3419
  }()
3416
3420
  );
3417
- function sn(e, t) {
3421
+ function on(e, t) {
3418
3422
  if (t == null)
3419
3423
  return;
3420
3424
  if (t in e)
@@ -3435,101 +3439,101 @@ function sn(e, t) {
3435
3439
  i = void 0;
3436
3440
  return i;
3437
3441
  }
3438
- const he = {}, on = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), br = (e, t) => {
3442
+ const fe = {}, an = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), br = (e, t) => {
3439
3443
  if (t == null)
3440
3444
  return;
3441
- if (t in he && e in he[t])
3442
- return he[t][e];
3443
- const r = Ne(t);
3445
+ if (t in fe && e in fe[t])
3446
+ return fe[t][e];
3447
+ const r = Re(t);
3444
3448
  for (let i = 0; i < r.length; i++) {
3445
- const n = r[i], s = un(n, e);
3449
+ const n = r[i], s = ln(n, e);
3446
3450
  if (s)
3447
- return on(e, t, s);
3451
+ return an(e, t, s);
3448
3452
  }
3449
3453
  };
3450
3454
  let Et;
3451
- const Le = We({});
3452
- function an(e) {
3455
+ const Ne = Ye({});
3456
+ function un(e) {
3453
3457
  return Et[e] || null;
3454
3458
  }
3455
3459
  function yr(e) {
3456
3460
  return e in Et;
3457
3461
  }
3458
- function un(e, t) {
3462
+ function ln(e, t) {
3459
3463
  if (!yr(e))
3460
3464
  return null;
3461
- const r = an(e);
3462
- return sn(r, t);
3465
+ const r = un(e);
3466
+ return on(r, t);
3463
3467
  }
3464
- function ln(e) {
3468
+ function hn(e) {
3465
3469
  if (e == null)
3466
3470
  return;
3467
- const t = Ne(e);
3471
+ const t = Re(e);
3468
3472
  for (let r = 0; r < t.length; r++) {
3469
3473
  const i = t[r];
3470
3474
  if (yr(i))
3471
3475
  return i;
3472
3476
  }
3473
3477
  }
3474
- function xr(e, ...t) {
3475
- delete he[e], Le.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3478
+ function _r(e, ...t) {
3479
+ delete fe[e], Ne.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3476
3480
  }
3477
- Oe(
3478
- [Le],
3481
+ Pe(
3482
+ [Ne],
3479
3483
  ([e]) => Object.keys(e)
3480
3484
  );
3481
- Le.subscribe((e) => Et = e);
3482
- const Ge = {};
3483
- function hn(e, t) {
3484
- Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
3485
+ Ne.subscribe((e) => Et = e);
3486
+ const je = {};
3487
+ function fn(e, t) {
3488
+ je[e].delete(t), je[e].size === 0 && delete je[e];
3485
3489
  }
3486
- function _r(e) {
3487
- return Ge[e];
3490
+ function xr(e) {
3491
+ return je[e];
3488
3492
  }
3489
- function fn(e) {
3490
- return Ne(e).map((t) => {
3491
- const r = _r(t);
3493
+ function cn(e) {
3494
+ return Re(e).map((t) => {
3495
+ const r = xr(t);
3492
3496
  return [t, r ? [...r] : []];
3493
3497
  }).filter(([, t]) => t.length > 0);
3494
3498
  }
3495
- function je(e) {
3496
- return e == null ? !1 : Ne(e).some(
3499
+ function Xe(e) {
3500
+ return e == null ? !1 : Re(e).some(
3497
3501
  (t) => {
3498
3502
  var r;
3499
- return (r = _r(t)) == null ? void 0 : r.size;
3503
+ return (r = xr(t)) == null ? void 0 : r.size;
3500
3504
  }
3501
3505
  );
3502
3506
  }
3503
- function cn(e, t) {
3507
+ function dn(e, t) {
3504
3508
  return Promise.all(
3505
- t.map((i) => (hn(e, i), i().then((n) => n.default || n)))
3506
- ).then((i) => xr(e, ...i));
3509
+ t.map((i) => (fn(e, i), i().then((n) => n.default || n)))
3510
+ ).then((i) => _r(e, ...i));
3507
3511
  }
3508
- const Pe = {};
3512
+ const $e = {};
3509
3513
  function Er(e) {
3510
- if (!je(e))
3511
- return e in Pe ? Pe[e] : Promise.resolve();
3512
- const t = fn(e);
3513
- return Pe[e] = Promise.all(
3514
+ if (!Xe(e))
3515
+ return e in $e ? $e[e] : Promise.resolve();
3516
+ const t = cn(e);
3517
+ return $e[e] = Promise.all(
3514
3518
  t.map(
3515
- ([r, i]) => cn(r, i)
3519
+ ([r, i]) => dn(r, i)
3516
3520
  )
3517
3521
  ).then(() => {
3518
- if (je(e))
3522
+ if (Xe(e))
3519
3523
  return Er(e);
3520
- delete Pe[e];
3521
- }), Pe[e];
3524
+ delete $e[e];
3525
+ }), $e[e];
3522
3526
  }
3523
- var Lt = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, pn = (e, t) => {
3527
+ var Lt = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, pn = Object.prototype.propertyIsEnumerable, gn = (e, t) => {
3524
3528
  var r = {};
3525
3529
  for (var i in e)
3526
- dn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3530
+ mn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3527
3531
  if (e != null && Lt)
3528
3532
  for (var i of Lt(e))
3529
- t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
3533
+ t.indexOf(i) < 0 && pn.call(e, i) && (r[i] = e[i]);
3530
3534
  return r;
3531
3535
  };
3532
- const gn = {
3536
+ const vn = {
3533
3537
  number: {
3534
3538
  scientific: { notation: "scientific" },
3535
3539
  engineering: { notation: "engineering" },
@@ -3559,28 +3563,28 @@ const gn = {
3559
3563
  }
3560
3564
  }
3561
3565
  };
3562
- function vn({ locale: e, id: t }) {
3566
+ function bn({ locale: e, id: t }) {
3563
3567
  console.warn(
3564
- `[svelte-i18n] The message "${t}" was not found in "${Ne(
3568
+ `[svelte-i18n] The message "${t}" was not found in "${Re(
3565
3569
  e
3566
- ).join('", "')}".${je(fe()) ? `
3570
+ ).join('", "')}".${Xe(ce()) ? `
3567
3571
 
3568
3572
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3569
3573
  );
3570
3574
  }
3571
- const bn = {
3575
+ const yn = {
3572
3576
  fallbackLocale: null,
3573
3577
  loadingDelay: 200,
3574
- formats: gn,
3578
+ formats: vn,
3575
3579
  warnOnMissingMessages: !0,
3576
3580
  handleMissingMessage: void 0,
3577
3581
  ignoreTag: !0
3578
- }, $e = bn;
3579
- function He() {
3580
- return $e;
3582
+ }, Be = yn;
3583
+ function Oe() {
3584
+ return Be;
3581
3585
  }
3582
- function yn(e) {
3583
- const t = e, { formats: r } = t, i = pn(t, ["formats"]);
3586
+ function _n(e) {
3587
+ const t = e, { formats: r } = t, i = gn(t, ["formats"]);
3584
3588
  let n = e.fallbackLocale;
3585
3589
  if (e.initialLocale)
3586
3590
  try {
@@ -3590,134 +3594,134 @@ function yn(e) {
3590
3594
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3591
3595
  );
3592
3596
  }
3593
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = vn : console.warn(
3597
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = bn : console.warn(
3594
3598
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3595
- )), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), de.set(n);
3599
+ )), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), me.set(n);
3596
3600
  }
3597
- const nt = We(!1);
3598
- var xn = Object.defineProperty, _n = Object.defineProperties, En = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, wn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tn = (e, t) => {
3601
+ const ot = Ye(!1);
3602
+ var xn = Object.defineProperty, En = Object.defineProperties, wn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hn = (e, t) => {
3599
3603
  for (var r in t || (t = {}))
3600
- wn.call(t, r) && Rt(e, r, t[r]);
3604
+ Sn.call(t, r) && Rt(e, r, t[r]);
3601
3605
  if (Nt)
3602
3606
  for (var r of Nt(t))
3603
- Sn.call(t, r) && Rt(e, r, t[r]);
3607
+ Tn.call(t, r) && Rt(e, r, t[r]);
3604
3608
  return e;
3605
- }, Hn = (e, t) => _n(e, En(t));
3606
- let pt;
3607
- const ze = We(null);
3609
+ }, On = (e, t) => En(e, wn(t));
3610
+ let vt;
3611
+ const We = Ye(null);
3608
3612
  function kt(e) {
3609
3613
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3610
3614
  }
3611
- function Ne(e, t = He().fallbackLocale) {
3615
+ function Re(e, t = Oe().fallbackLocale) {
3612
3616
  const r = kt(e);
3613
3617
  return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
3614
3618
  }
3615
- function fe() {
3616
- return pt ?? void 0;
3619
+ function ce() {
3620
+ return vt ?? void 0;
3617
3621
  }
3618
- ze.subscribe((e) => {
3619
- pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3622
+ We.subscribe((e) => {
3623
+ vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3620
3624
  });
3621
- const On = (e) => {
3622
- if (e && ln(e) && je(e)) {
3623
- const { loadingDelay: t } = He();
3625
+ const Pn = (e) => {
3626
+ if (e && hn(e) && Xe(e)) {
3627
+ const { loadingDelay: t } = Oe();
3624
3628
  let r;
3625
- return typeof window < "u" && fe() != null && t ? r = window.setTimeout(
3626
- () => nt.set(!0),
3629
+ return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
3630
+ () => ot.set(!0),
3627
3631
  t
3628
- ) : nt.set(!0), Er(e).then(() => {
3629
- ze.set(e);
3632
+ ) : ot.set(!0), Er(e).then(() => {
3633
+ We.set(e);
3630
3634
  }).finally(() => {
3631
- clearTimeout(r), nt.set(!1);
3635
+ clearTimeout(r), ot.set(!1);
3632
3636
  });
3633
3637
  }
3634
- return ze.set(e);
3635
- }, de = Hn(Tn({}, ze), {
3636
- set: On
3637
- }), Ze = (e) => {
3638
+ return We.set(e);
3639
+ }, me = On(Hn({}, We), {
3640
+ set: Pn
3641
+ }), Qe = (e) => {
3638
3642
  const t = /* @__PURE__ */ Object.create(null);
3639
3643
  return (i) => {
3640
3644
  const n = JSON.stringify(i);
3641
3645
  return n in t ? t[n] : t[n] = e(i);
3642
3646
  };
3643
3647
  };
3644
- var An = Object.defineProperty, Xe = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3648
+ var An = Object.defineProperty, qe = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3645
3649
  for (var r in t || (t = {}))
3646
3650
  wr.call(t, r) && Ut(e, r, t[r]);
3647
- if (Xe)
3648
- for (var r of Xe(t))
3651
+ if (qe)
3652
+ for (var r of qe(t))
3649
3653
  Sr.call(t, r) && Ut(e, r, t[r]);
3650
3654
  return e;
3651
3655
  }, Ae = (e, t) => {
3652
3656
  var r = {};
3653
3657
  for (var i in e)
3654
3658
  wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3655
- if (e != null && Xe)
3656
- for (var i of Xe(e))
3659
+ if (e != null && qe)
3660
+ for (var i of qe(e))
3657
3661
  t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3658
3662
  return r;
3659
3663
  };
3660
- const De = (e, t) => {
3661
- const { formats: r } = He();
3664
+ const Ie = (e, t) => {
3665
+ const { formats: r } = Oe();
3662
3666
  if (e in r && t in r[e])
3663
3667
  return r[e][t];
3664
3668
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3665
- }, Pn = Ze(
3669
+ }, $n = Qe(
3666
3670
  (e) => {
3667
3671
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3668
3672
  if (r == null)
3669
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3670
- return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3674
+ return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
3671
3675
  }
3672
- ), $n = Ze(
3676
+ ), Bn = Qe(
3673
3677
  (e) => {
3674
3678
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3675
3679
  if (r == null)
3676
3680
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3677
- return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3681
+ return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
3678
3682
  }
3679
- ), Bn = Ze(
3683
+ ), Mn = Qe(
3680
3684
  (e) => {
3681
3685
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3682
3686
  if (r == null)
3683
3687
  throw new Error(
3684
3688
  '[svelte-i18n] A "locale" must be set to format time values'
3685
3689
  );
3686
- return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3690
+ return i ? n = Ie("time", i) : Object.keys(n).length === 0 && (n = Ie("time", "short")), new Intl.DateTimeFormat(r, n);
3687
3691
  }
3688
- ), Mn = (e = {}) => {
3692
+ ), Cn = (e = {}) => {
3689
3693
  var t = e, {
3690
- locale: r = fe()
3694
+ locale: r = ce()
3691
3695
  } = t, i = Ae(t, [
3692
3696
  "locale"
3693
3697
  ]);
3694
- return Pn(wt({ locale: r }, i));
3695
- }, Cn = (e = {}) => {
3698
+ return $n(wt({ locale: r }, i));
3699
+ }, Dn = (e = {}) => {
3696
3700
  var t = e, {
3697
- locale: r = fe()
3701
+ locale: r = ce()
3698
3702
  } = t, i = Ae(t, [
3699
3703
  "locale"
3700
3704
  ]);
3701
- return $n(wt({ locale: r }, i));
3702
- }, Dn = (e = {}) => {
3705
+ return Bn(wt({ locale: r }, i));
3706
+ }, In = (e = {}) => {
3703
3707
  var t = e, {
3704
- locale: r = fe()
3708
+ locale: r = ce()
3705
3709
  } = t, i = Ae(t, [
3706
3710
  "locale"
3707
3711
  ]);
3708
- return Bn(wt({ locale: r }, i));
3709
- }, In = Ze(
3712
+ return Mn(wt({ locale: r }, i));
3713
+ }, Ln = Qe(
3710
3714
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3711
- (e, t = fe()) => new vr(e, t, He().formats, {
3712
- ignoreTag: He().ignoreTag
3715
+ (e, t = ce()) => new vr(e, t, Oe().formats, {
3716
+ ignoreTag: Oe().ignoreTag
3713
3717
  })
3714
- ), Ln = (e, t = {}) => {
3718
+ ), Nn = (e, t = {}) => {
3715
3719
  var r, i, n, s;
3716
3720
  let l = t;
3717
3721
  typeof e == "object" && (l = e, e = l.id);
3718
3722
  const {
3719
3723
  values: a,
3720
- locale: o = fe(),
3724
+ locale: o = ce(),
3721
3725
  default: u
3722
3726
  } = l;
3723
3727
  if (o == null)
@@ -3726,7 +3730,7 @@ const De = (e, t) => {
3726
3730
  );
3727
3731
  let h = br(e, o);
3728
3732
  if (!h)
3729
- h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3733
+ h = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3730
3734
  else if (typeof h != "string")
3731
3735
  return console.warn(
3732
3736
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3735,7 +3739,7 @@ const De = (e, t) => {
3735
3739
  return h;
3736
3740
  let c = h;
3737
3741
  try {
3738
- c = In(h, o).format(a);
3742
+ c = Ln(h, o).format(a);
3739
3743
  } catch (m) {
3740
3744
  m instanceof Error && console.warn(
3741
3745
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3743,18 +3747,18 @@ const De = (e, t) => {
3743
3747
  );
3744
3748
  }
3745
3749
  return c;
3746
- }, Nn = (e, t) => Dn(t).format(e), Rn = (e, t) => Cn(t).format(e), kn = (e, t) => Mn(t).format(e), Un = (e, t = fe()) => br(e, t), Fn = Oe([de, Le], () => Ln);
3747
- Oe([de], () => Nn);
3748
- Oe([de], () => Rn);
3749
- Oe([de], () => kn);
3750
- Oe([de, Le], () => Un);
3750
+ }, Rn = (e, t) => In(t).format(e), kn = (e, t) => Dn(t).format(e), Un = (e, t) => Cn(t).format(e), Fn = (e, t = ce()) => br(e, t), Vn = Pe([me, Ne], () => Nn);
3751
+ Pe([me], () => Rn);
3752
+ Pe([me], () => kn);
3753
+ Pe([me], () => Un);
3754
+ Pe([me, Ne], () => Fn);
3751
3755
  function Ft(e, t) {
3752
- xr(e, t);
3756
+ _r(e, t);
3753
3757
  }
3754
- function Vn(e) {
3755
- yn({
3758
+ function Gn(e) {
3759
+ _n({
3756
3760
  fallbackLocale: "en"
3757
- }), de.set(e);
3761
+ }), me.set(e);
3758
3762
  }
3759
3763
  const Vt = {
3760
3764
  en: {
@@ -3824,7 +3828,7 @@ if (typeof window < "u") {
3824
3828
  }
3825
3829
  };
3826
3830
  };
3827
- customElements.define = e(customElements.define), import("./CashierVideoModal-ijUUQb6t.js").then(({ default: t }) => {
3831
+ customElements.define = e(customElements.define), import("./CashierVideoModal-C5FVx3Tq.js").then(({ default: t }) => {
3828
3832
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3829
3833
  });
3830
3834
  }
@@ -3833,62 +3837,62 @@ var Tr = { exports: {} };
3833
3837
  (function(r, i) {
3834
3838
  e.exports = i();
3835
3839
  })(Kt, function() {
3836
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|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, U = { 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(x) {
3837
- var g = ["th", "st", "nd", "rd"], d = x % 100;
3838
- return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3839
- } }, B = function(x, g, d) {
3840
- var b = String(x);
3841
- return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3842
- }, z = { s: B, z: function(x) {
3843
- var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), p = d % 60;
3844
- return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(p, 2, "0");
3845
- }, m: function x(g, d) {
3840
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", A = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|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, U = { 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(_) {
3841
+ var g = ["th", "st", "nd", "rd"], d = _ % 100;
3842
+ return "[" + _ + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3843
+ } }, $ = function(_, g, d) {
3844
+ var b = String(_);
3845
+ return !b || b.length >= g ? _ : "" + Array(g + 1 - b.length).join(d) + _;
3846
+ }, z = { s: $, z: function(_) {
3847
+ var g = -_.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), p = d % 60;
3848
+ return (g <= 0 ? "+" : "-") + $(b, 2, "0") + ":" + $(p, 2, "0");
3849
+ }, m: function _(g, d) {
3846
3850
  if (g.date() < d.date())
3847
- return -x(d, g);
3848
- var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), p = g.clone().add(b, c), _ = d - p < 0, w = g.clone().add(b + (_ ? -1 : 1), c);
3849
- return +(-(b + (d - p) / (_ ? p - w : w - p)) || 0);
3850
- }, a: function(x) {
3851
- return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3852
- }, p: function(x) {
3853
- return { M: c, y: E, w: h, d: u, D: H, h: o, m: a, s: l, ms: s, Q: m }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3854
- }, u: function(x) {
3855
- return x === void 0;
3851
+ return -_(d, g);
3852
+ var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), p = g.clone().add(b, c), x = d - p < 0, w = g.clone().add(b + (x ? -1 : 1), c);
3853
+ return +(-(b + (d - p) / (x ? p - w : w - p)) || 0);
3854
+ }, a: function(_) {
3855
+ return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3856
+ }, p: function(_) {
3857
+ return { M: c, y: E, w: h, d: u, D: H, h: o, m: a, s: l, ms: s, Q: m }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3858
+ }, u: function(_) {
3859
+ return _ === void 0;
3856
3860
  } }, I = "en", L = {};
3857
3861
  L[I] = U;
3858
- var q = "$isDayjsObject", R = function(x) {
3859
- return x instanceof me || !(!x || !x[q]);
3860
- }, X = function x(g, d, b) {
3862
+ var q = "$isDayjsObject", R = function(_) {
3863
+ return _ instanceof pe || !(!_ || !_[q]);
3864
+ }, X = function _(g, d, b) {
3861
3865
  var p;
3862
3866
  if (!g)
3863
3867
  return I;
3864
3868
  if (typeof g == "string") {
3865
- var _ = g.toLowerCase();
3866
- L[_] && (p = _), d && (L[_] = d, p = _);
3869
+ var x = g.toLowerCase();
3870
+ L[x] && (p = x), d && (L[x] = d, p = x);
3867
3871
  var w = g.split("-");
3868
3872
  if (!p && w.length > 1)
3869
- return x(w[0]);
3873
+ return _(w[0]);
3870
3874
  } else {
3871
- var M = g.name;
3872
- L[M] = g, p = M;
3875
+ var B = g.name;
3876
+ L[B] = g, p = B;
3873
3877
  }
3874
3878
  return !b && p && (I = p), p || !b && I;
3875
- }, k = function(x, g) {
3876
- if (R(x))
3877
- return x.clone();
3879
+ }, k = function(_, g) {
3880
+ if (R(_))
3881
+ return _.clone();
3878
3882
  var d = typeof g == "object" ? g : {};
3879
- return d.date = x, d.args = arguments, new me(d);
3883
+ return d.date = _, d.args = arguments, new pe(d);
3880
3884
  }, P = z;
3881
- P.l = X, P.i = R, P.w = function(x, g) {
3882
- return k(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3885
+ P.l = X, P.i = R, P.w = function(_, g) {
3886
+ return k(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3883
3887
  };
3884
- var me = function() {
3885
- function x(d) {
3888
+ var pe = function() {
3889
+ function _(d) {
3886
3890
  this.$L = X(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[q] = !0;
3887
3891
  }
3888
- var g = x.prototype;
3892
+ var g = _.prototype;
3889
3893
  return g.parse = function(d) {
3890
3894
  this.$d = function(b) {
3891
- var p = b.date, _ = b.utc;
3895
+ var p = b.date, x = b.utc;
3892
3896
  if (p === null)
3893
3897
  return /* @__PURE__ */ new Date(NaN);
3894
3898
  if (P.u(p))
@@ -3896,10 +3900,10 @@ var Tr = { exports: {} };
3896
3900
  if (p instanceof Date)
3897
3901
  return new Date(p);
3898
3902
  if (typeof p == "string" && !/Z$/i.test(p)) {
3899
- var w = p.match($);
3903
+ var w = p.match(A);
3900
3904
  if (w) {
3901
- var M = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3902
- return _ ? new Date(Date.UTC(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3905
+ var B = w[2] - 1 || 0, C = (w[7] || "0").substring(0, 3);
3906
+ return x ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C);
3903
3907
  }
3904
3908
  }
3905
3909
  return new Date(p);
@@ -3925,62 +3929,62 @@ var Tr = { exports: {} };
3925
3929
  }, g.valueOf = function() {
3926
3930
  return this.$d.getTime();
3927
3931
  }, g.startOf = function(d, b) {
3928
- var p = this, _ = !!P.u(b) || b, w = P.p(d), M = function(oe, G) {
3929
- var J = P.w(p.$u ? Date.UTC(p.$y, G, oe) : new Date(p.$y, G, oe), p);
3930
- return _ ? J : J.endOf(u);
3931
- }, D = function(oe, G) {
3932
- return P.w(p.toDate()[oe].apply(p.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), p);
3933
- }, N = this.$W, F = this.$M, W = this.$D, ue = "set" + (this.$u ? "UTC" : "");
3932
+ var p = this, x = !!P.u(b) || b, w = P.p(d), B = function(ae, G) {
3933
+ var J = P.w(p.$u ? Date.UTC(p.$y, G, ae) : new Date(p.$y, G, ae), p);
3934
+ return x ? J : J.endOf(u);
3935
+ }, C = function(ae, G) {
3936
+ return P.w(p.toDate()[ae].apply(p.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), p);
3937
+ }, N = this.$W, F = this.$M, W = this.$D, le = "set" + (this.$u ? "UTC" : "");
3934
3938
  switch (w) {
3935
3939
  case E:
3936
- return _ ? M(1, 0) : M(31, 11);
3940
+ return x ? B(1, 0) : B(31, 11);
3937
3941
  case c:
3938
- return _ ? M(1, F) : M(0, F + 1);
3942
+ return x ? B(1, F) : B(0, F + 1);
3939
3943
  case h:
3940
- var ne = this.$locale().weekStart || 0, se = (N < ne ? N + 7 : N) - ne;
3941
- return M(_ ? W - se : W + (6 - se), F);
3944
+ var se = this.$locale().weekStart || 0, oe = (N < se ? N + 7 : N) - se;
3945
+ return B(x ? W - oe : W + (6 - oe), F);
3942
3946
  case u:
3943
3947
  case H:
3944
- return D(ue + "Hours", 0);
3948
+ return C(le + "Hours", 0);
3945
3949
  case o:
3946
- return D(ue + "Minutes", 1);
3950
+ return C(le + "Minutes", 1);
3947
3951
  case a:
3948
- return D(ue + "Seconds", 2);
3952
+ return C(le + "Seconds", 2);
3949
3953
  case l:
3950
- return D(ue + "Milliseconds", 3);
3954
+ return C(le + "Milliseconds", 3);
3951
3955
  default:
3952
3956
  return this.clone();
3953
3957
  }
3954
3958
  }, g.endOf = function(d) {
3955
3959
  return this.startOf(d, !1);
3956
3960
  }, g.$set = function(d, b) {
3957
- var p, _ = P.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[a] = w + "Minutes", p[l] = w + "Seconds", p[s] = w + "Milliseconds", p)[_], D = _ === u ? this.$D + (b - this.$W) : b;
3958
- if (_ === c || _ === E) {
3961
+ var p, x = P.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[a] = w + "Minutes", p[l] = w + "Seconds", p[s] = w + "Milliseconds", p)[x], C = x === u ? this.$D + (b - this.$W) : b;
3962
+ if (x === c || x === E) {
3959
3963
  var N = this.clone().set(H, 1);
3960
- N.$d[M](D), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
3964
+ N.$d[B](C), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
3961
3965
  } else
3962
- M && this.$d[M](D);
3966
+ B && this.$d[B](C);
3963
3967
  return this.init(), this;
3964
3968
  }, g.set = function(d, b) {
3965
3969
  return this.clone().$set(d, b);
3966
3970
  }, g.get = function(d) {
3967
3971
  return this[P.p(d)]();
3968
3972
  }, g.add = function(d, b) {
3969
- var p, _ = this;
3973
+ var p, x = this;
3970
3974
  d = Number(d);
3971
- var w = P.p(b), M = function(F) {
3972
- var W = k(_);
3973
- return P.w(W.date(W.date() + Math.round(F * d)), _);
3975
+ var w = P.p(b), B = function(F) {
3976
+ var W = k(x);
3977
+ return P.w(W.date(W.date() + Math.round(F * d)), x);
3974
3978
  };
3975
3979
  if (w === c)
3976
3980
  return this.set(c, this.$M + d);
3977
3981
  if (w === E)
3978
3982
  return this.set(E, this.$y + d);
3979
3983
  if (w === u)
3980
- return M(1);
3984
+ return B(1);
3981
3985
  if (w === h)
3982
- return M(7);
3983
- var D = (p = {}, p[a] = i, p[o] = n, p[l] = r, p)[w] || 1, N = this.$d.getTime() + d * D;
3986
+ return B(7);
3987
+ var C = (p = {}, p[a] = i, p[o] = n, p[l] = r, p)[w] || 1, N = this.$d.getTime() + d * C;
3984
3988
  return P.w(N, this);
3985
3989
  }, g.subtract = function(d, b) {
3986
3990
  return this.add(-1 * d, b);
@@ -3988,17 +3992,17 @@ var Tr = { exports: {} };
3988
3992
  var b = this, p = this.$locale();
3989
3993
  if (!this.isValid())
3990
3994
  return p.invalidDate || v;
3991
- var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), M = this.$H, D = this.$m, N = this.$M, F = p.weekdays, W = p.months, ue = p.meridiem, ne = function(G, J, ce, pe) {
3992
- return G && (G[J] || G(b, _)) || ce[J].slice(0, pe);
3993
- }, se = function(G) {
3994
- return P.s(M % 12 || 12, G, "0");
3995
- }, oe = ue || function(G, J, ce) {
3996
- var pe = G < 12 ? "AM" : "PM";
3997
- return ce ? pe.toLowerCase() : pe;
3995
+ var x = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), B = this.$H, C = this.$m, N = this.$M, F = p.weekdays, W = p.months, le = p.meridiem, se = function(G, J, de, ge) {
3996
+ return G && (G[J] || G(b, x)) || de[J].slice(0, ge);
3997
+ }, oe = function(G) {
3998
+ return P.s(B % 12 || 12, G, "0");
3999
+ }, ae = le || function(G, J, de) {
4000
+ var ge = G < 12 ? "AM" : "PM";
4001
+ return de ? ge.toLowerCase() : ge;
3998
4002
  };
3999
- return _.replace(V, function(G, J) {
4000
- return J || function(ce) {
4001
- switch (ce) {
4003
+ return x.replace(V, function(G, J) {
4004
+ return J || function(de) {
4005
+ switch (de) {
4002
4006
  case "YY":
4003
4007
  return String(b.$y).slice(-2);
4004
4008
  case "YYYY":
@@ -4008,9 +4012,9 @@ var Tr = { exports: {} };
4008
4012
  case "MM":
4009
4013
  return P.s(N + 1, 2, "0");
4010
4014
  case "MMM":
4011
- return ne(p.monthsShort, N, W, 3);
4015
+ return se(p.monthsShort, N, W, 3);
4012
4016
  case "MMMM":
4013
- return ne(W, N);
4017
+ return se(W, N);
4014
4018
  case "D":
4015
4019
  return b.$D;
4016
4020
  case "DD":
@@ -4018,27 +4022,27 @@ var Tr = { exports: {} };
4018
4022
  case "d":
4019
4023
  return String(b.$W);
4020
4024
  case "dd":
4021
- return ne(p.weekdaysMin, b.$W, F, 2);
4025
+ return se(p.weekdaysMin, b.$W, F, 2);
4022
4026
  case "ddd":
4023
- return ne(p.weekdaysShort, b.$W, F, 3);
4027
+ return se(p.weekdaysShort, b.$W, F, 3);
4024
4028
  case "dddd":
4025
4029
  return F[b.$W];
4026
4030
  case "H":
4027
- return String(M);
4031
+ return String(B);
4028
4032
  case "HH":
4029
- return P.s(M, 2, "0");
4033
+ return P.s(B, 2, "0");
4030
4034
  case "h":
4031
- return se(1);
4035
+ return oe(1);
4032
4036
  case "hh":
4033
- return se(2);
4037
+ return oe(2);
4034
4038
  case "a":
4035
- return oe(M, D, !0);
4039
+ return ae(B, C, !0);
4036
4040
  case "A":
4037
- return oe(M, D, !1);
4041
+ return ae(B, C, !1);
4038
4042
  case "m":
4039
- return String(D);
4043
+ return String(C);
4040
4044
  case "mm":
4041
- return P.s(D, 2, "0");
4045
+ return P.s(C, 2, "0");
4042
4046
  case "s":
4043
4047
  return String(b.$s);
4044
4048
  case "ss":
@@ -4054,38 +4058,38 @@ var Tr = { exports: {} };
4054
4058
  }, g.utcOffset = function() {
4055
4059
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4056
4060
  }, g.diff = function(d, b, p) {
4057
- var _, w = this, M = P.p(b), D = k(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, W = function() {
4058
- return P.m(w, D);
4061
+ var x, w = this, B = P.p(b), C = k(d), N = (C.utcOffset() - this.utcOffset()) * i, F = this - C, W = function() {
4062
+ return P.m(w, C);
4059
4063
  };
4060
- switch (M) {
4064
+ switch (B) {
4061
4065
  case E:
4062
- _ = W() / 12;
4066
+ x = W() / 12;
4063
4067
  break;
4064
4068
  case c:
4065
- _ = W();
4069
+ x = W();
4066
4070
  break;
4067
4071
  case m:
4068
- _ = W() / 3;
4072
+ x = W() / 3;
4069
4073
  break;
4070
4074
  case h:
4071
- _ = (F - N) / 6048e5;
4075
+ x = (F - N) / 6048e5;
4072
4076
  break;
4073
4077
  case u:
4074
- _ = (F - N) / 864e5;
4078
+ x = (F - N) / 864e5;
4075
4079
  break;
4076
4080
  case o:
4077
- _ = F / n;
4081
+ x = F / n;
4078
4082
  break;
4079
4083
  case a:
4080
- _ = F / i;
4084
+ x = F / i;
4081
4085
  break;
4082
4086
  case l:
4083
- _ = F / r;
4087
+ x = F / r;
4084
4088
  break;
4085
4089
  default:
4086
- _ = F;
4090
+ x = F;
4087
4091
  }
4088
- return p ? _ : P.a(_);
4092
+ return p ? x : P.a(x);
4089
4093
  }, g.daysInMonth = function() {
4090
4094
  return this.endOf(c).$D;
4091
4095
  }, g.$locale = function() {
@@ -4093,8 +4097,8 @@ var Tr = { exports: {} };
4093
4097
  }, g.locale = function(d, b) {
4094
4098
  if (!d)
4095
4099
  return this.$L;
4096
- var p = this.clone(), _ = X(d, b, !0);
4097
- return _ && (p.$L = _), p;
4100
+ var p = this.clone(), x = X(d, b, !0);
4101
+ return x && (p.$L = x), p;
4098
4102
  }, g.clone = function() {
4099
4103
  return P.w(this.$d, this);
4100
4104
  }, g.toDate = function() {
@@ -4105,21 +4109,21 @@ var Tr = { exports: {} };
4105
4109
  return this.$d.toISOString();
4106
4110
  }, g.toString = function() {
4107
4111
  return this.$d.toUTCString();
4108
- }, x;
4109
- }(), Re = me.prototype;
4110
- return k.prototype = Re, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(x) {
4111
- Re[x[1]] = function(g) {
4112
- return this.$g(g, x[0], x[1]);
4112
+ }, _;
4113
+ }(), ke = pe.prototype;
4114
+ return k.prototype = ke, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(_) {
4115
+ ke[_[1]] = function(g) {
4116
+ return this.$g(g, _[0], _[1]);
4113
4117
  };
4114
- }), k.extend = function(x, g) {
4115
- return x.$i || (x(g, me, k), x.$i = !0), k;
4116
- }, k.locale = X, k.isDayjs = R, k.unix = function(x) {
4117
- return k(1e3 * x);
4118
+ }), k.extend = function(_, g) {
4119
+ return _.$i || (_(g, pe, k), _.$i = !0), k;
4120
+ }, k.locale = X, k.isDayjs = R, k.unix = function(_) {
4121
+ return k(1e3 * _);
4118
4122
  }, k.en = L[I], k.Ls = L, k.p = {}, k;
4119
4123
  });
4120
4124
  })(Tr);
4121
- var Gn = Tr.exports;
4122
- const Gt = /* @__PURE__ */ yt(Gn);
4125
+ var jn = Tr.exports;
4126
+ const Gt = /* @__PURE__ */ xt(jn);
4123
4127
  var Hr = { exports: {} };
4124
4128
  (function(e, t) {
4125
4129
  (function(r, i) {
@@ -4129,11 +4133,11 @@ var Hr = { exports: {} };
4129
4133
  return function(s, l, a) {
4130
4134
  var o = l.prototype;
4131
4135
  a.utc = function(v) {
4132
- var $ = { date: v, utc: !0, args: arguments };
4133
- return new l($);
4136
+ var A = { date: v, utc: !0, args: arguments };
4137
+ return new l(A);
4134
4138
  }, o.utc = function(v) {
4135
- var $ = a(this.toDate(), { locale: this.$L, utc: !0 });
4136
- return v ? $.add(this.utcOffset(), r) : $;
4139
+ var A = a(this.toDate(), { locale: this.$L, utc: !0 });
4140
+ return v ? A.add(this.utcOffset(), r) : A;
4137
4141
  }, o.local = function() {
4138
4142
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4139
4143
  };
@@ -4150,7 +4154,7 @@ var Hr = { exports: {} };
4150
4154
  h.call(this);
4151
4155
  };
4152
4156
  var c = o.utcOffset;
4153
- o.utcOffset = function(v, $) {
4157
+ o.utcOffset = function(v, A) {
4154
4158
  var V = this.$utils().u;
4155
4159
  if (V(v))
4156
4160
  return this.$u ? 0 : V(this.$offset) ? c.call(this) : this.$offset;
@@ -4163,20 +4167,20 @@ var Hr = { exports: {} };
4163
4167
  return X === 0 ? 0 : R === "+" ? X : -X;
4164
4168
  }(v), v === null))
4165
4169
  return this;
4166
- var U = Math.abs(v) <= 16 ? 60 * v : v, B = this;
4167
- if ($)
4168
- return B.$offset = U, B.$u = v === 0, B;
4170
+ var U = Math.abs(v) <= 16 ? 60 * v : v, $ = this;
4171
+ if (A)
4172
+ return $.$offset = U, $.$u = v === 0, $;
4169
4173
  if (v !== 0) {
4170
4174
  var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4171
- (B = this.local().add(U + z, r)).$offset = U, B.$x.$localOffset = z;
4175
+ ($ = this.local().add(U + z, r)).$offset = U, $.$x.$localOffset = z;
4172
4176
  } else
4173
- B = this.utc();
4174
- return B;
4177
+ $ = this.utc();
4178
+ return $;
4175
4179
  };
4176
4180
  var m = o.format;
4177
4181
  o.format = function(v) {
4178
- var $ = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4179
- return m.call(this, $);
4182
+ var A = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4183
+ return m.call(this, A);
4180
4184
  }, o.valueOf = function() {
4181
4185
  var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4182
4186
  return this.$d.valueOf() - 6e4 * v;
@@ -4192,18 +4196,18 @@ var Hr = { exports: {} };
4192
4196
  return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
4193
4197
  };
4194
4198
  var H = o.diff;
4195
- o.diff = function(v, $, V) {
4199
+ o.diff = function(v, A, V) {
4196
4200
  if (v && this.$u === v.$u)
4197
- return H.call(this, v, $, V);
4198
- var U = this.local(), B = a(v).local();
4199
- return H.call(U, B, $, V);
4201
+ return H.call(this, v, A, V);
4202
+ var U = this.local(), $ = a(v).local();
4203
+ return H.call(U, $, A, V);
4200
4204
  };
4201
4205
  };
4202
4206
  });
4203
4207
  })(Hr);
4204
- var jn = Hr.exports;
4205
- const zn = /* @__PURE__ */ yt(jn);
4206
- function Xn(e) {
4208
+ var zn = Hr.exports;
4209
+ const Xn = /* @__PURE__ */ xt(zn);
4210
+ function Wn(e) {
4207
4211
  Br(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4208
4212
  }
4209
4213
  function jt(e, t, r) {
@@ -4226,22 +4230,22 @@ function zt(e) {
4226
4230
  t = Z("div");
4227
4231
  for (let o = 0; o < l.length; o += 1)
4228
4232
  l[o].c();
4229
- r = xe(), a && a.c(), i = xe(), n = Z("cashier-video-modal"), K(t, "class", "CashierVerificationsWrapper"), le(
4233
+ r = xe(), a && a.c(), i = xe(), n = Z("cashier-video-modal"), K(t, "class", "CashierVerificationsWrapper"), he(
4230
4234
  n,
4231
4235
  "clientstylingurl",
4232
4236
  /*clientstylingurl*/
4233
4237
  e[1]
4234
- ), le(
4238
+ ), he(
4235
4239
  n,
4236
4240
  "clientstyling",
4237
4241
  /*clientstyling*/
4238
4242
  e[0]
4239
- ), le(
4243
+ ), he(
4240
4244
  n,
4241
4245
  "ismobileview",
4242
4246
  /*ismobileview*/
4243
4247
  e[2]
4244
- ), le(
4248
+ ), he(
4245
4249
  n,
4246
4250
  "videosrc",
4247
4251
  /*videoSrc*/
@@ -4249,10 +4253,10 @@ function zt(e) {
4249
4253
  );
4250
4254
  },
4251
4255
  m(o, u) {
4252
- ae(o, t, u);
4256
+ ue(o, t, u);
4253
4257
  for (let h = 0; h < l.length; h += 1)
4254
4258
  l[h] && l[h].m(t, null);
4255
- ae(o, r, u), a && a.m(o, u), ae(o, i, u), ae(o, n, u);
4259
+ ue(o, r, u), a && a.m(o, u), ue(o, i, u), ue(o, n, u);
4256
4260
  },
4257
4261
  p(o, u) {
4258
4262
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
@@ -4272,25 +4276,25 @@ function zt(e) {
4272
4276
  }
4273
4277
  /*videoExists*/
4274
4278
  o[7] ? a ? a.p(o, u) : (a = qt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4275
- 2 && le(
4279
+ 2 && he(
4276
4280
  n,
4277
4281
  "clientstylingurl",
4278
4282
  /*clientstylingurl*/
4279
4283
  o[1]
4280
4284
  ), u[0] & /*clientstyling*/
4281
- 1 && le(
4285
+ 1 && he(
4282
4286
  n,
4283
4287
  "clientstyling",
4284
4288
  /*clientstyling*/
4285
4289
  o[0]
4286
4290
  ), u[0] & /*ismobileview*/
4287
- 4 && le(
4291
+ 4 && he(
4288
4292
  n,
4289
4293
  "ismobileview",
4290
4294
  /*ismobileview*/
4291
4295
  o[2]
4292
4296
  ), u[0] & /*videoSrc*/
4293
- 256 && le(
4297
+ 256 && he(
4294
4298
  n,
4295
4299
  "videosrc",
4296
4300
  /*videoSrc*/
@@ -4298,7 +4302,7 @@ function zt(e) {
4298
4302
  );
4299
4303
  },
4300
4304
  d(o) {
4301
- o && (ie(t), ie(r), ie(i), ie(n)), Dr(l, o), a && a.d(o);
4305
+ o && (ne(t), ne(r), ne(i), ne(n)), Dr(l, o), a && a.d(o);
4302
4306
  }
4303
4307
  };
4304
4308
  }
@@ -4319,13 +4323,13 @@ function Xt(e) {
4319
4323
  t = Z("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', K(t, "class", "CashierVerificationChevron");
4320
4324
  },
4321
4325
  m(s, l) {
4322
- ae(s, t, l), r || (i = bt(t, "click", n), r = !0);
4326
+ ue(s, t, l), r || (i = _t(t, "click", n), r = !0);
4323
4327
  },
4324
4328
  p(s, l) {
4325
4329
  e = s;
4326
4330
  },
4327
4331
  d(s) {
4328
- s && ie(t), r = !1, i();
4332
+ s && ne(t), r = !1, i();
4329
4333
  }
4330
4334
  };
4331
4335
  }
@@ -4350,7 +4354,7 @@ function Wt(e) {
4350
4354
  }
4351
4355
  return {
4352
4356
  c() {
4353
- t = Z("div"), r = Z("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = xe(), n = Z("p"), l = xe(), h && h.c(), a = xe(), K(r, "class", "IconVerification"), K(n, "class", "text"), K(t, "class", "CashierVerificationMessage"), Ee(
4357
+ t = Z("div"), r = Z("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = xe(), n = Z("p"), l = xe(), h && h.c(), a = xe(), K(r, "class", "IconVerification"), K(n, "class", "text"), K(t, "class", "CashierVerificationMessage"), we(
4354
4358
  t,
4355
4359
  "ShowAll",
4356
4360
  /*allVerificationsVisible*/
@@ -4358,7 +4362,7 @@ function Wt(e) {
4358
4362
  );
4359
4363
  },
4360
4364
  m(m, E) {
4361
- ae(m, t, E), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, l), h && h.m(t, null), re(t, a), o || (u = bt(t, "click", c), o = !0);
4365
+ ue(m, t, E), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, l), h && h.m(t, null), re(t, a), o || (u = _t(t, "click", c), o = !0);
4362
4366
  },
4363
4367
  p(m, E) {
4364
4368
  e = m, E[0] & /*displayMessages*/
@@ -4366,7 +4370,7 @@ function Wt(e) {
4366
4370
  e[49] + "") && (n.innerHTML = s), /*displayMessages*/
4367
4371
  e[4].length > 1 && /*index*/
4368
4372
  e[51] === 0 ? h ? h.p(e, E) : (h = Xt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
4369
- 32 && Ee(
4373
+ 32 && we(
4370
4374
  t,
4371
4375
  "ShowAll",
4372
4376
  /*allVerificationsVisible*/
@@ -4374,7 +4378,7 @@ function Wt(e) {
4374
4378
  );
4375
4379
  },
4376
4380
  d(m) {
4377
- m && ie(t), h && h.d(), o = !1, u();
4381
+ m && ne(t), h && h.d(), o = !1, u();
4378
4382
  }
4379
4383
  };
4380
4384
  }
@@ -4385,7 +4389,7 @@ function qt(e) {
4385
4389
  ), l, a, o;
4386
4390
  return {
4387
4391
  c() {
4388
- t = Z("div"), r = Z("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = xe(), n = Z("div"), l = vt(s), K(r, "class", "IconVideo"), K(n, "class", "CashierVerificationVideoLink"), Ee(
4392
+ t = Z("div"), r = Z("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = xe(), n = Z("div"), l = yt(s), K(r, "class", "IconVideo"), K(n, "class", "CashierVerificationVideoLink"), we(
4389
4393
  n,
4390
4394
  "CashierVerificationVideoLinkDesktop",
4391
4395
  /*desktopView*/
@@ -4393,7 +4397,7 @@ function qt(e) {
4393
4397
  ), K(t, "class", "CashierVerificationVideo");
4394
4398
  },
4395
4399
  m(u, h) {
4396
- ae(u, t, h), re(t, r), re(t, i), re(t, n), re(n, l), a || (o = bt(
4400
+ ue(u, t, h), re(t, r), re(t, i), re(t, n), re(n, l), a || (o = _t(
4397
4401
  n,
4398
4402
  "click",
4399
4403
  /*click_handler_2*/
@@ -4404,7 +4408,7 @@ function qt(e) {
4404
4408
  h[0] & /*$_*/
4405
4409
  512 && s !== (s = /*$_*/
4406
4410
  u[9]("verification.video.how-to") + "") && Lr(l, s), h[0] & /*desktopView*/
4407
- 64 && Ee(
4411
+ 64 && we(
4408
4412
  n,
4409
4413
  "CashierVerificationVideoLinkDesktop",
4410
4414
  /*desktopView*/
@@ -4412,18 +4416,18 @@ function qt(e) {
4412
4416
  );
4413
4417
  },
4414
4418
  d(u) {
4415
- u && ie(t), a = !1, o();
4419
+ u && ne(t), a = !1, o();
4416
4420
  }
4417
4421
  };
4418
4422
  }
4419
- function Wn(e) {
4423
+ function qn(e) {
4420
4424
  let t, r = (
4421
4425
  /*displayMessages*/
4422
4426
  e[4] && zt(e)
4423
4427
  );
4424
4428
  return {
4425
4429
  c() {
4426
- t = Z("div"), r && r.c(), K(t, "class", "CashierVerifications"), Ee(
4430
+ t = Z("div"), r && r.c(), K(t, "class", "CashierVerifications"), we(
4427
4431
  t,
4428
4432
  "CashierVerificationsDesktop",
4429
4433
  /*desktopView*/
@@ -4431,12 +4435,12 @@ function Wn(e) {
4431
4435
  );
4432
4436
  },
4433
4437
  m(i, n) {
4434
- ae(i, t, n), r && r.m(t, null), e[21](t);
4438
+ ue(i, t, n), r && r.m(t, null), e[21](t);
4435
4439
  },
4436
4440
  p(i, n) {
4437
4441
  /*displayMessages*/
4438
4442
  i[4] ? r ? r.p(i, n) : (r = zt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4439
- 64 && Ee(
4443
+ 64 && we(
4440
4444
  t,
4441
4445
  "CashierVerificationsDesktop",
4442
4446
  /*desktopView*/
@@ -4446,15 +4450,15 @@ function Wn(e) {
4446
4450
  i: Q,
4447
4451
  o: Q,
4448
4452
  d(i) {
4449
- i && ie(t), r && r.d(), e[21](null);
4453
+ i && ne(t), r && r.d(), e[21](null);
4450
4454
  }
4451
4455
  };
4452
4456
  }
4453
- const qn = "verification_explanation_video_widgets.MP4", Yn = "700px", Zn = "500px";
4454
- function Jn(e, t, r) {
4457
+ const Yn = "verification_explanation_video_widgets.MP4", Zn = "700px", Jn = "500px";
4458
+ function Qn(e, t, r) {
4455
4459
  let i;
4456
- $r(e, Fn, (f) => r(9, i = f)), Gt.extend(zn);
4457
- let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, V, U = !0, B = !0, z = !1, I = "";
4460
+ $r(e, Vn, (f) => r(9, i = f)), Gt.extend(Xn);
4461
+ let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, A, V, U = !0, $ = !0, z = !1, I = "";
4458
4462
  var L;
4459
4463
  (function(f) {
4460
4464
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
@@ -4489,12 +4493,12 @@ function Jn(e, t, r) {
4489
4493
  Object.keys(Vt).forEach((f) => {
4490
4494
  Ft(f, Vt[f]);
4491
4495
  });
4492
- const me = () => {
4493
- Vn(s);
4494
- }, Re = () => {
4496
+ const pe = () => {
4497
+ Gn(s);
4498
+ }, ke = () => {
4495
4499
  let f = document.createElement("style");
4496
4500
  f.innerHTML = a, m.appendChild(f);
4497
- }, x = () => {
4501
+ }, _ = () => {
4498
4502
  let f = new URL(o), y = document.createElement("style");
4499
4503
  fetch(f.href).then((S) => S.text()).then((S) => {
4500
4504
  y.innerHTML = S, setTimeout(
@@ -4510,7 +4514,7 @@ function Jn(e, t, r) {
4510
4514
  return;
4511
4515
  const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), Y = new Headers();
4512
4516
  Y.append("accept", "application/json"), Y.append("Content-Type", "application/json"), Y.append("X-Client-Request-Timestamp", Gt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4513
- const Je = {
4517
+ const Ke = {
4514
4518
  method: "POST",
4515
4519
  headers: Y,
4516
4520
  body: JSON.stringify({
@@ -4520,8 +4524,8 @@ function Jn(e, t, r) {
4520
4524
  AllParameters: !1
4521
4525
  })
4522
4526
  };
4523
- fetch(S, Je).then((ge) => ge.json()).then((ge) => {
4524
- r(17, $ = ge.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(ge.Verifications), v.VerificationStatuses.forEach((ee) => {
4527
+ fetch(S, Ke).then((ve) => ve.json()).then((ve) => {
4528
+ r(17, A = ve.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(ve.Verifications), v.VerificationStatuses.forEach((ee) => {
4525
4529
  ee.VerificationUrlType !== "Widget" && E.add(ee.Vendor);
4526
4530
  }), r(4, V = N());
4527
4531
  });
@@ -4547,26 +4551,26 @@ function Jn(e, t, r) {
4547
4551
  return {
4548
4552
  VerificationSummaryStatus: S.Status,
4549
4553
  VerificationUrl: S.Flags?.DeferredUrlKey,
4550
- VerificationStatuses: _(y, S.Status)
4554
+ VerificationStatuses: x(y, S.Status)
4551
4555
  };
4552
4556
  } else
4553
4557
  return {
4554
4558
  VerificationSummaryStatus: f.some((Y) => Y.Status === R.Failed) ? R.Failed : R.Verified,
4555
- VerificationStatuses: _(f, [R.Failed])
4559
+ VerificationStatuses: x(f, [R.Failed])
4556
4560
  };
4557
4561
  }, p = (f) => f.reduce(
4558
4562
  (y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
4559
4563
  0
4560
- ), _ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
4564
+ ), x = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
4561
4565
  Type: S.Type,
4562
4566
  Vendor: S.VendorName,
4563
4567
  VerificationDocuments: S.Documents ? [...Object.values(S.Documents)] : [],
4564
4568
  VerificationUrlType: S.Flags?.DeferredUrlTypeKey,
4565
4569
  VerificationUrl: S.Flags?.DeferredUrlKey
4566
- })), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || M(y) || D(y) : !1), M = (f) => {
4570
+ })), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || B(y) || C(y) : !1), B = (f) => {
4567
4571
  const y = f.Documents && f.VendorName === L.Manual, S = Object.values(f.Documents).some((Y) => Y.Status === q.Requested);
4568
4572
  return y && S;
4569
- }, D = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
4573
+ }, C = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
4570
4574
  switch (v.VerificationSummaryStatus) {
4571
4575
  case R.InProgress:
4572
4576
  const f = [];
@@ -4595,11 +4599,11 @@ function Jn(e, t, r) {
4595
4599
  X.ProofOfAddress
4596
4600
  ];
4597
4601
  f.forEach((ee) => {
4598
- Y.includes(ee.Type) && (y.push(ee.Type), S[ee.Type] = ue(ee, ne(ee.Type)));
4602
+ Y.includes(ee.Type) && (y.push(ee.Type), S[ee.Type] = le(ee, se(ee.Type)));
4599
4603
  });
4600
- let Je = y.every((ee) => H.has(ee)), ge = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4601
- return Je ? i("verification.shuftipro.validations-started") : i(ge, { values: S });
4602
- }, ue = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ne = (f) => i(`verification.shuftipro.link-name.${f}`), se = (f, y) => {
4604
+ let Ke = y.every((ee) => H.has(ee)), ve = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4605
+ return Ke ? i("verification.shuftipro.validations-started") : i(ve, { values: S });
4606
+ }, le = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, se = (f) => i(`verification.shuftipro.link-name.${f}`), oe = (f, y) => {
4603
4607
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4604
4608
  if (f.target.closest(".verificationLink")) {
4605
4609
  const S = f.target.className.split(" ")[1];
@@ -4608,10 +4612,10 @@ function Jn(e, t, r) {
4608
4612
  return;
4609
4613
  }
4610
4614
  y === 0 && r(5, U = !U);
4611
- }, oe = () => {
4612
- r(6, B = c === "false");
4615
+ }, ae = () => {
4616
+ r(6, $ = c === "false");
4613
4617
  }, G = () => {
4614
- r(8, I = $ + "/" + s + "/" + qn);
4618
+ r(8, I = A + "/" + s + "/" + Yn);
4615
4619
  try {
4616
4620
  fetch(I, { method: "HEAD" }).then((f) => {
4617
4621
  r(7, z = f.ok);
@@ -4623,13 +4627,13 @@ function Jn(e, t, r) {
4623
4627
  window.postMessage(
4624
4628
  {
4625
4629
  type: "ShowCashierVideoModal",
4626
- details: B ? Yn : Zn
4630
+ details: $ ? Zn : Jn
4627
4631
  },
4628
4632
  window.location.href
4629
4633
  );
4630
- }, ce = (f, y) => se(y, f), pe = (f, y) => se(y, f), Or = () => J();
4631
- function Ar(f) {
4632
- st[f ? "unshift" : "push"](() => {
4634
+ }, de = (f, y) => oe(y, f), ge = (f, y) => oe(y, f), Or = () => J();
4635
+ function Pr(f) {
4636
+ at[f ? "unshift" : "push"](() => {
4633
4637
  m = f, r(3, m);
4634
4638
  });
4635
4639
  }
@@ -4637,13 +4641,13 @@ function Jn(e, t, r) {
4637
4641
  "endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14, l = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, o = f.clientstylingurl), "session" in f && r(15, u = f.session), "customerid" in f && r(16, h = f.customerid), "ismobileview" in f && r(2, c = f.ismobileview);
4638
4642
  }, e.$$.update = () => {
4639
4643
  e.$$.dirty[0] & /*lang*/
4640
- 8192 && s && me(), e.$$.dirty[0] & /*endpoint, session*/
4644
+ 8192 && s && pe(), e.$$.dirty[0] & /*endpoint, session*/
4641
4645
  36864 && n && u && g(), e.$$.dirty[0] & /*translationurl*/
4642
4646
  16384 && l && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4643
- 9 && a && m && Re(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4644
- 10 && o && m && x(), e.$$.dirty[0] & /*ismobileview*/
4645
- 4 && c && oe(), e.$$.dirty[0] & /*staticCdnUrl*/
4646
- 131072 && $ && G();
4647
+ 9 && a && m && ke(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4648
+ 10 && o && m && _(), e.$$.dirty[0] & /*ismobileview*/
4649
+ 4 && c && ae(), e.$$.dirty[0] & /*staticCdnUrl*/
4650
+ 131072 && A && G();
4647
4651
  }, [
4648
4652
  a,
4649
4653
  o,
@@ -4651,31 +4655,31 @@ function Jn(e, t, r) {
4651
4655
  m,
4652
4656
  V,
4653
4657
  U,
4654
- B,
4658
+ $,
4655
4659
  z,
4656
4660
  I,
4657
4661
  i,
4658
- se,
4662
+ oe,
4659
4663
  J,
4660
4664
  n,
4661
4665
  s,
4662
4666
  l,
4663
4667
  u,
4664
4668
  h,
4665
- $,
4666
- ce,
4667
- pe,
4669
+ A,
4670
+ de,
4671
+ ge,
4668
4672
  Or,
4669
- Ar
4673
+ Pr
4670
4674
  ];
4671
4675
  }
4672
- class Qn extends Zr {
4676
+ class Kn extends Zr {
4673
4677
  constructor(t) {
4674
4678
  super(), qr(
4675
4679
  this,
4676
4680
  t,
4677
- Jn,
4678
- Wn,
4681
+ Qn,
4682
+ qn,
4679
4683
  Zt,
4680
4684
  {
4681
4685
  endpoint: 12,
@@ -4687,7 +4691,7 @@ class Qn extends Zr {
4687
4691
  customerid: 16,
4688
4692
  ismobileview: 2
4689
4693
  },
4690
- Xn,
4694
+ Wn,
4691
4695
  [-1, -1]
4692
4696
  );
4693
4697
  }
@@ -4740,27 +4744,27 @@ class Qn extends Zr {
4740
4744
  this.$$set({ ismobileview: t }), te();
4741
4745
  }
4742
4746
  }
4743
- Yr(Qn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4747
+ Yr(Kn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4744
4748
  export {
4745
- Qn as C,
4749
+ Kn as C,
4746
4750
  Zr as S,
4747
4751
  Br as a,
4748
- ae as b,
4752
+ ue as b,
4749
4753
  Yr as c,
4750
- ie as d,
4751
- ts as e,
4754
+ ne as d,
4755
+ rs as e,
4752
4756
  te as f,
4753
- Z as g,
4754
- xe as h,
4757
+ es as g,
4758
+ K as h,
4755
4759
  qr as i,
4756
- Kn as j,
4757
- K as k,
4758
- re as l,
4759
- es as m,
4760
+ re as j,
4761
+ Z as k,
4762
+ xe as l,
4763
+ at as m,
4760
4764
  Q as n,
4761
- rs as o,
4762
- bt as p,
4763
- st as q,
4765
+ is as o,
4766
+ _t as p,
4767
+ ts as q,
4764
4768
  Zt as s,
4765
- Ee as t
4769
+ we as t
4766
4770
  };