@everymatrix/cashier-verifications 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function Q() {
2
2
  }
3
- function Yt(e) {
3
+ function Wt(e) {
4
4
  return e();
5
5
  }
6
- function St() {
6
+ function Et() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Ie(e) {
10
- e.forEach(Yt);
10
+ e.forEach(Wt);
11
11
  }
12
12
  function gt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Zt(e, t) {
15
+ function qt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ke;
19
- function Kn(e, t) {
19
+ function Qn(e, t) {
20
20
  return e === t ? !0 : (ke || (ke = document.createElement("a")), ke.href = t, e === ke.href);
21
21
  }
22
- function Pr(e) {
22
+ function Or(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Jt(e, ...t) {
25
+ function Yt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const i of t)
28
28
  i(void 0);
@@ -31,20 +31,20 @@ function Jt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function $r(e, t, r) {
35
- e.$$.on_destroy.push(Jt(t, r));
34
+ function Ar(e, t, r) {
35
+ e.$$.on_destroy.push(Yt(t, r));
36
36
  }
37
37
  function re(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Br(e, t, r) {
41
- const i = Mr(e);
40
+ function Pr(e, t, r) {
41
+ const i = $r(e);
42
42
  if (!i.getElementById(t)) {
43
43
  const n = Z("style");
44
- n.id = t, n.textContent = r, Cr(i, n);
44
+ n.id = t, n.textContent = r, Br(i, n);
45
45
  }
46
46
  }
47
- function Mr(e) {
47
+ function $r(e) {
48
48
  if (!e) return document;
49
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
50
  return t && /** @type {ShadowRoot} */
@@ -53,7 +53,7 @@ function Mr(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function Cr(e, t) {
56
+ function Br(e, t) {
57
57
  return re(
58
58
  /** @type {Document} */
59
59
  e.head || e,
@@ -66,14 +66,14 @@ function ae(e, t, r) {
66
66
  function ie(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function Dr(e, t) {
69
+ function Mr(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
73
73
  function Z(e) {
74
74
  return document.createElement(e);
75
75
  }
76
- function es(e) {
76
+ function Kn(e) {
77
77
  return document.createElementNS("http://www.w3.org/2000/svg", e);
78
78
  }
79
79
  function vt(e) {
@@ -82,7 +82,7 @@ function vt(e) {
82
82
  function xe() {
83
83
  return vt(" ");
84
84
  }
85
- function ts() {
85
+ function es() {
86
86
  return vt("");
87
87
  }
88
88
  function bt(e, t, r, i) {
@@ -95,17 +95,17 @@ function le(e, t, r) {
95
95
  const i = t.toLowerCase();
96
96
  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);
97
97
  }
98
- function Ir(e) {
98
+ function Cr(e) {
99
99
  return Array.from(e.childNodes);
100
100
  }
101
- function Lr(e, t) {
101
+ function Dr(e, t) {
102
102
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
103
103
  t);
104
104
  }
105
105
  function Ee(e, t, r) {
106
106
  e.classList.toggle(t, !!r);
107
107
  }
108
- function Nr(e) {
108
+ function Ir(e) {
109
109
  const t = {};
110
110
  return e.childNodes.forEach(
111
111
  /** @param {Element} node */
@@ -118,19 +118,19 @@ let Me;
118
118
  function Be(e) {
119
119
  Me = e;
120
120
  }
121
- function Rr() {
121
+ function Lr() {
122
122
  if (!Me) throw new Error("Function called outside component initialization");
123
123
  return Me;
124
124
  }
125
- function rs(e) {
126
- Rr().$$.on_mount.push(e);
125
+ function ts(e) {
126
+ Lr().$$.on_mount.push(e);
127
127
  }
128
128
  const ye = [], st = [];
129
129
  let _e = [];
130
- const Tt = [], kr = /* @__PURE__ */ Promise.resolve();
130
+ const wt = [], Nr = /* @__PURE__ */ Promise.resolve();
131
131
  let ot = !1;
132
- function Ur() {
133
- ot || (ot = !0, kr.then(te));
132
+ function Rr() {
133
+ ot || (ot = !0, Nr.then(te));
134
134
  }
135
135
  function at(e) {
136
136
  _e.push(e);
@@ -145,7 +145,7 @@ function te() {
145
145
  try {
146
146
  for (; ve < ye.length; ) {
147
147
  const t = ye[ve];
148
- ve++, Be(t), Fr(t.$$);
148
+ ve++, Be(t), kr(t.$$);
149
149
  }
150
150
  } catch (t) {
151
151
  throw ye.length = 0, ve = 0, t;
@@ -157,43 +157,43 @@ function te() {
157
157
  }
158
158
  _e.length = 0;
159
159
  } while (ye.length);
160
- for (; Tt.length; )
161
- Tt.pop()();
160
+ for (; wt.length; )
161
+ wt.pop()();
162
162
  ot = !1, Qe.clear(), Be(e);
163
163
  }
164
- function Fr(e) {
164
+ function kr(e) {
165
165
  if (e.fragment !== null) {
166
166
  e.update(), Ie(e.before_update);
167
167
  const t = e.dirty;
168
168
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
169
169
  }
170
170
  }
171
- function Vr(e) {
171
+ function Ur(e) {
172
172
  const t = [], r = [];
173
173
  _e.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), _e = t;
174
174
  }
175
- const Gr = /* @__PURE__ */ new Set();
176
- function jr(e, t) {
177
- e && e.i && (Gr.delete(e), e.i(t));
175
+ const Fr = /* @__PURE__ */ new Set();
176
+ function Vr(e, t) {
177
+ e && e.i && (Fr.delete(e), e.i(t));
178
178
  }
179
- function Ht(e) {
179
+ function St(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function zr(e, t, r) {
182
+ function Gr(e, t, r) {
183
183
  const { fragment: i, after_update: n } = e.$$;
184
184
  i && i.m(t, r), at(() => {
185
- const s = e.$$.on_mount.map(Yt).filter(gt);
185
+ const s = e.$$.on_mount.map(Wt).filter(gt);
186
186
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
187
187
  }), n.forEach(at);
188
188
  }
189
- function Xr(e, t) {
189
+ function jr(e, t) {
190
190
  const r = e.$$;
191
- 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 = []);
191
+ r.fragment !== null && (Ur(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
192
  }
193
- function Wr(e, t) {
194
- e.$$.dirty[0] === -1 && (ye.push(e), Ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
+ function zr(e, t) {
194
+ e.$$.dirty[0] === -1 && (ye.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
195
  }
196
- function qr(e, t, r, i, n, s, l = null, a = [-1]) {
196
+ function Xr(e, t, r, i, n, s, l = null, a = [-1]) {
197
197
  const o = Me;
198
198
  Be(e);
199
199
  const u = e.$$ = {
@@ -203,7 +203,7 @@ function qr(e, t, r, i, n, s, l = null, a = [-1]) {
203
203
  props: s,
204
204
  update: Q,
205
205
  not_equal: n,
206
- bound: St(),
206
+ bound: Et(),
207
207
  // lifecycle
208
208
  on_mount: [],
209
209
  on_destroy: [],
@@ -212,7 +212,7 @@ function qr(e, t, r, i, n, s, l = null, a = [-1]) {
212
212
  after_update: [],
213
213
  context: new Map(t.context || (o ? o.$$.context : [])),
214
214
  // everything else
215
- callbacks: St(),
215
+ callbacks: Et(),
216
216
  dirty: a,
217
217
  skip_bound: !1,
218
218
  root: t.target || o.$$.root
@@ -221,19 +221,19 @@ function qr(e, t, r, i, n, s, l = null, a = [-1]) {
221
221
  let h = !1;
222
222
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
223
223
  const H = E.length ? E[0] : m;
224
- 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;
224
+ return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && zr(e, c)), m;
225
225
  }) : [], u.update(), h = !0, Ie(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
226
226
  if (t.hydrate) {
227
- const c = Ir(t.target);
227
+ const c = Cr(t.target);
228
228
  u.fragment && u.fragment.l(c), c.forEach(ie);
229
229
  } else
230
230
  u.fragment && u.fragment.c();
231
- t.intro && jr(e.$$.fragment), zr(e, t.target, t.anchor), te();
231
+ t.intro && Vr(e.$$.fragment), Gr(e, t.target, t.anchor), te();
232
232
  }
233
233
  Be(o);
234
234
  }
235
- let Qt;
236
- typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
235
+ let Zt;
236
+ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
237
237
  /** The Svelte component constructor */
238
238
  $$ctor;
239
239
  /** Slots */
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
292
292
  };
293
293
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
294
  return;
295
- const t = {}, r = Nr(this);
295
+ const t = {}, r = Ir(this);
296
296
  for (const n of this.$$s)
297
297
  n in r && (t[n] = [e(n)]);
298
298
  for (const n of this.attributes) {
@@ -379,8 +379,8 @@ function Fe(e, t, r, i) {
379
379
  return t;
380
380
  }
381
381
  }
382
- function Yr(e, t, r, i, n, s) {
383
- let l = class extends Qt {
382
+ function Wr(e, t, r, i, n, s) {
383
+ let l = class extends Zt {
384
384
  constructor() {
385
385
  super(e, r, n), this.$$p_d = t;
386
386
  }
@@ -408,7 +408,7 @@ function Yr(e, t, r, i, n, s) {
408
408
  }), e.element = /** @type {any} */
409
409
  l, l;
410
410
  }
411
- class Zr {
411
+ class qr {
412
412
  /**
413
413
  * ### PRIVATE API
414
414
  *
@@ -427,7 +427,7 @@ class Zr {
427
427
  $$set = void 0;
428
428
  /** @returns {void} */
429
429
  $destroy() {
430
- Xr(this, 1), this.$destroy = Q;
430
+ jr(this, 1), this.$destroy = Q;
431
431
  }
432
432
  /**
433
433
  * @template {Extract<keyof Events, string>} K
@@ -449,13 +449,13 @@ class Zr {
449
449
  * @returns {void}
450
450
  */
451
451
  $set(t) {
452
- this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
452
+ this.$$set && !Or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
453
  }
454
454
  }
455
- const Jr = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Jr);
455
+ const Yr = "4";
456
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
457
457
  const be = [];
458
- function Qr(e, t) {
458
+ function Zr(e, t) {
459
459
  return {
460
460
  subscribe: We(e, t).subscribe
461
461
  };
@@ -464,7 +464,7 @@ function We(e, t = Q) {
464
464
  let r;
465
465
  const i = /* @__PURE__ */ new Set();
466
466
  function n(a) {
467
- if (Zt(e, a) && (e = a, r)) {
467
+ if (qt(e, a) && (e = a, r)) {
468
468
  const o = !be.length;
469
469
  for (const u of i)
470
470
  u[1](), be.push(u, e);
@@ -491,7 +491,7 @@ function Oe(e, t, r) {
491
491
  if (!n.every(Boolean))
492
492
  throw new Error("derived() expects stores as input, got a falsy value");
493
493
  const s = t.length < 2;
494
- return Qr(r, (l, a) => {
494
+ return Zr(r, (l, a) => {
495
495
  let o = !1;
496
496
  const u = [];
497
497
  let h = 0, c = Q;
@@ -502,7 +502,7 @@ function Oe(e, t, r) {
502
502
  const H = t(i ? u[0] : u, l, a);
503
503
  s ? l(H) : c = gt(H) ? H : Q;
504
504
  }, E = n.map(
505
- (H, v) => Jt(
505
+ (H, v) => Yt(
506
506
  H,
507
507
  ($) => {
508
508
  u[v] = $, h &= ~(1 << v), o && m();
@@ -517,71 +517,71 @@ function Oe(e, t, r) {
517
517
  };
518
518
  });
519
519
  }
520
- var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
520
+ var Jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
521
521
  function yt(e) {
522
522
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
523
523
  }
524
- var Kr = function(t) {
525
- return ei(t) && !ti(t);
524
+ var Jr = function(t) {
525
+ return Qr(t) && !Kr(t);
526
526
  };
527
- function ei(e) {
527
+ function Qr(e) {
528
528
  return !!e && typeof e == "object";
529
529
  }
530
- function ti(e) {
530
+ function Kr(e) {
531
531
  var t = Object.prototype.toString.call(e);
532
- return t === "[object RegExp]" || t === "[object Date]" || ni(e);
532
+ return t === "[object RegExp]" || t === "[object Date]" || ri(e);
533
533
  }
534
- var ri = typeof Symbol == "function" && Symbol.for, ii = ri ? Symbol.for("react.element") : 60103;
535
- function ni(e) {
536
- return e.$$typeof === ii;
534
+ var ei = typeof Symbol == "function" && Symbol.for, ti = ei ? Symbol.for("react.element") : 60103;
535
+ function ri(e) {
536
+ return e.$$typeof === ti;
537
537
  }
538
- function si(e) {
538
+ function ii(e) {
539
539
  return Array.isArray(e) ? [] : {};
540
540
  }
541
541
  function Ce(e, t) {
542
- return t.clone !== !1 && t.isMergeableObject(e) ? we(si(e), e, t) : e;
542
+ return t.clone !== !1 && t.isMergeableObject(e) ? we(ii(e), e, t) : e;
543
543
  }
544
- function oi(e, t, r) {
544
+ function ni(e, t, r) {
545
545
  return e.concat(t).map(function(i) {
546
546
  return Ce(i, r);
547
547
  });
548
548
  }
549
- function ai(e, t) {
549
+ function si(e, t) {
550
550
  if (!t.customMerge)
551
551
  return we;
552
552
  var r = t.customMerge(e);
553
553
  return typeof r == "function" ? r : we;
554
554
  }
555
- function ui(e) {
555
+ function oi(e) {
556
556
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
557
557
  return Object.propertyIsEnumerable.call(e, t);
558
558
  }) : [];
559
559
  }
560
- function Ot(e) {
561
- return Object.keys(e).concat(ui(e));
560
+ function Tt(e) {
561
+ return Object.keys(e).concat(oi(e));
562
562
  }
563
- function er(e, t) {
563
+ function Qt(e, t) {
564
564
  try {
565
565
  return t in e;
566
566
  } catch {
567
567
  return !1;
568
568
  }
569
569
  }
570
- function li(e, t) {
571
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
570
+ function ai(e, t) {
571
+ return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
572
572
  }
573
- function hi(e, t, r) {
573
+ function ui(e, t, r) {
574
574
  var i = {};
575
- return r.isMergeableObject(e) && Ot(e).forEach(function(n) {
575
+ return r.isMergeableObject(e) && Tt(e).forEach(function(n) {
576
576
  i[n] = Ce(e[n], r);
577
- }), Ot(t).forEach(function(n) {
578
- 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));
577
+ }), Tt(t).forEach(function(n) {
578
+ ai(e, n) || (Qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = si(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
579
579
  }), i;
580
580
  }
581
581
  function we(e, t, r) {
582
- r = r || {}, r.arrayMerge = r.arrayMerge || oi, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = Ce;
582
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Jr, r.cloneUnlessOtherwiseSpecified = Ce;
583
583
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
584
- return s ? i ? r.arrayMerge(e, t, r) : hi(e, t, r) : Ce(t, r);
584
+ return s ? i ? r.arrayMerge(e, t, r) : ui(e, t, r) : Ce(t, r);
585
585
  }
586
586
  we.all = function(t, r) {
587
587
  if (!Array.isArray(t))
@@ -590,8 +590,8 @@ we.all = function(t, r) {
590
590
  return we(i, n, r);
591
591
  }, {});
592
592
  };
593
- var fi = we, ci = fi;
594
- const di = /* @__PURE__ */ yt(ci);
593
+ var li = we, hi = li;
594
+ const fi = /* @__PURE__ */ yt(hi);
595
595
  var ut = function(e, t) {
596
596
  return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
597
597
  r.__proto__ = i;
@@ -617,7 +617,7 @@ var A = function() {
617
617
  return t;
618
618
  }, A.apply(this, arguments);
619
619
  };
620
- function mi(e, t) {
620
+ function ci(e, t) {
621
621
  var r = {};
622
622
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
623
623
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -631,55 +631,53 @@ function Ke(e, t, r) {
631
631
  return e.concat(s || Array.prototype.slice.call(t));
632
632
  }
633
633
  function et(e, t) {
634
- var r = t && t.cache ? t.cache : xi, i = t && t.serializer ? t.serializer : yi, n = t && t.strategy ? t.strategy : gi;
634
+ var r = t && t.cache ? t.cache : yi, i = t && t.serializer ? t.serializer : vi, n = t && t.strategy ? t.strategy : pi;
635
635
  return n(e, {
636
636
  cache: r,
637
637
  serializer: i
638
638
  });
639
639
  }
640
- function pi(e) {
640
+ function di(e) {
641
641
  return e == null || typeof e == "number" || typeof e == "boolean";
642
642
  }
643
- function tr(e, t, r, i) {
644
- var n = pi(i) ? i : r(i), s = t.get(n);
643
+ function mi(e, t, r, i) {
644
+ var n = di(i) ? i : r(i), s = t.get(n);
645
645
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
646
646
  }
647
- function rr(e, t, r) {
647
+ function Kt(e, t, r) {
648
648
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
649
649
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
650
650
  }
651
- function xt(e, t, r, i, n) {
651
+ function er(e, t, r, i, n) {
652
652
  return r.bind(t, e, i, n);
653
653
  }
654
- function gi(e, t) {
655
- var r = e.length === 1 ? tr : rr;
656
- return xt(e, this, r, t.cache.create(), t.serializer);
657
- }
658
- function vi(e, t) {
659
- return xt(e, this, rr, t.cache.create(), t.serializer);
654
+ function pi(e, t) {
655
+ var r = e.length === 1 ? mi : Kt;
656
+ return er(e, this, r, t.cache.create(), t.serializer);
660
657
  }
661
- function bi(e, t) {
662
- return xt(e, this, tr, t.cache.create(), t.serializer);
658
+ function gi(e, t) {
659
+ return er(e, this, Kt, t.cache.create(), t.serializer);
663
660
  }
664
- var yi = function() {
661
+ var vi = function() {
665
662
  return JSON.stringify(arguments);
666
- };
667
- function _t() {
668
- this.cache = /* @__PURE__ */ Object.create(null);
669
- }
670
- _t.prototype.get = function(e) {
671
- return this.cache[e];
672
- };
673
- _t.prototype.set = function(e, t) {
674
- this.cache[e] = t;
675
- };
676
- var xi = {
663
+ }, bi = (
664
+ /** @class */
665
+ function() {
666
+ function e() {
667
+ this.cache = /* @__PURE__ */ Object.create(null);
668
+ }
669
+ return e.prototype.get = function(t) {
670
+ return this.cache[t];
671
+ }, e.prototype.set = function(t, r) {
672
+ this.cache[t] = r;
673
+ }, e;
674
+ }()
675
+ ), yi = {
677
676
  create: function() {
678
- return new _t();
677
+ return new bi();
679
678
  }
680
679
  }, tt = {
681
- variadic: vi,
682
- monadic: bi
680
+ variadic: gi
683
681
  }, T;
684
682
  (function(e) {
685
683
  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";
@@ -692,43 +690,43 @@ var Se;
692
690
  (function(e) {
693
691
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
694
692
  })(Se || (Se = {}));
695
- function At(e) {
693
+ function Ht(e) {
696
694
  return e.type === C.literal;
697
695
  }
698
- function _i(e) {
696
+ function xi(e) {
699
697
  return e.type === C.argument;
700
698
  }
701
- function ir(e) {
699
+ function tr(e) {
702
700
  return e.type === C.number;
703
701
  }
704
- function nr(e) {
702
+ function rr(e) {
705
703
  return e.type === C.date;
706
704
  }
707
- function sr(e) {
705
+ function ir(e) {
708
706
  return e.type === C.time;
709
707
  }
710
- function or(e) {
708
+ function nr(e) {
711
709
  return e.type === C.select;
712
710
  }
713
- function ar(e) {
711
+ function sr(e) {
714
712
  return e.type === C.plural;
715
713
  }
716
- function Ei(e) {
714
+ function _i(e) {
717
715
  return e.type === C.pound;
718
716
  }
719
- function ur(e) {
717
+ function or(e) {
720
718
  return e.type === C.tag;
721
719
  }
722
- function lr(e) {
720
+ function ar(e) {
723
721
  return !!(e && typeof e == "object" && e.type === Se.number);
724
722
  }
725
723
  function lt(e) {
726
724
  return !!(e && typeof e == "object" && e.type === Se.dateTime);
727
725
  }
728
- 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;
729
- function Si(e) {
726
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ei = /(?:[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;
727
+ function wi(e) {
730
728
  var t = {};
731
- return e.replace(wi, function(r) {
729
+ return e.replace(Ei, function(r) {
732
730
  var i = r.length;
733
731
  switch (r[0]) {
734
732
  case "G":
@@ -817,11 +815,11 @@ function Si(e) {
817
815
  return "";
818
816
  }), t;
819
817
  }
820
- var Ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
821
- function Hi(e) {
818
+ var Si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
819
+ function Ti(e) {
822
820
  if (e.length === 0)
823
821
  throw new Error("Number skeleton cannot be empty");
824
- for (var t = e.split(Ti).filter(function(m) {
822
+ for (var t = e.split(Si).filter(function(m) {
825
823
  return m.length > 0;
826
824
  }), r = [], i = 0, n = t; i < n.length; i++) {
827
825
  var s = n[i], l = s.split("/");
@@ -836,17 +834,17 @@ function Hi(e) {
836
834
  }
837
835
  return r;
838
836
  }
839
- function Oi(e) {
837
+ function Hi(e) {
840
838
  return e.replace(/^(.*?)-/, "");
841
839
  }
842
- var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Ai = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
843
- function $t(e) {
840
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, Oi = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
841
+ function At(e) {
844
842
  var t = {};
845
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
843
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
846
844
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
847
845
  }), t;
848
846
  }
849
- function dr(e) {
847
+ function fr(e) {
850
848
  switch (e) {
851
849
  case "sign-auto":
852
850
  return {
@@ -886,7 +884,7 @@ function dr(e) {
886
884
  };
887
885
  }
888
886
  }
889
- function Pi(e) {
887
+ function Ai(e) {
890
888
  var t;
891
889
  if (e[0] === "E" && e[1] === "E" ? (t = {
892
890
  notation: "engineering"
@@ -894,17 +892,17 @@ function Pi(e) {
894
892
  notation: "scientific"
895
893
  }, e = e.slice(1)), t) {
896
894
  var r = e.slice(0, 2);
897
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
895
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
898
896
  throw new Error("Malformed concise eng/scientific notation");
899
897
  t.minimumIntegerDigits = e.length;
900
898
  }
901
899
  return t;
902
900
  }
903
- function Bt(e) {
904
- var t = {}, r = dr(e);
901
+ function Pt(e) {
902
+ var t = {}, r = fr(e);
905
903
  return r || t;
906
904
  }
907
- function $i(e) {
905
+ function Pi(e) {
908
906
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
909
907
  var n = i[r];
910
908
  switch (n.stem) {
@@ -928,7 +926,7 @@ function $i(e) {
928
926
  continue;
929
927
  case "measure-unit":
930
928
  case "unit":
931
- t.style = "unit", t.unit = Oi(n.options[0]);
929
+ t.style = "unit", t.unit = Hi(n.options[0]);
932
930
  continue;
933
931
  case "compact-short":
934
932
  case "K":
@@ -940,12 +938,12 @@ function $i(e) {
940
938
  continue;
941
939
  case "scientific":
942
940
  t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
943
- return A(A({}, o), Bt(u));
941
+ return A(A({}, o), Pt(u));
944
942
  }, {}));
945
943
  continue;
946
944
  case "engineering":
947
945
  t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
948
- return A(A({}, o), Bt(u));
946
+ return A(A({}, o), Pt(u));
949
947
  }, {}));
950
948
  continue;
951
949
  case "notation-simple":
@@ -990,7 +988,7 @@ function $i(e) {
990
988
  case "integer-width":
991
989
  if (n.options.length > 1)
992
990
  throw new RangeError("integer-width stems only accept a single optional option");
993
- n.options[0].replace(Ai, function(o, u, h, c, m, E) {
991
+ n.options[0].replace(Oi, function(o, u, h, c, m, E) {
994
992
  if (u)
995
993
  t.minimumIntegerDigits = h.length;
996
994
  else {
@@ -1003,27 +1001,27 @@ function $i(e) {
1003
1001
  });
1004
1002
  continue;
1005
1003
  }
1006
- if (cr.test(n.stem)) {
1004
+ if (hr.test(n.stem)) {
1007
1005
  t.minimumIntegerDigits = n.stem.length;
1008
1006
  continue;
1009
1007
  }
1010
- if (Pt.test(n.stem)) {
1008
+ if (Ot.test(n.stem)) {
1011
1009
  if (n.options.length > 1)
1012
1010
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1013
- n.stem.replace(Pt, function(o, u, h, c, m, E) {
1011
+ n.stem.replace(Ot, function(o, u, h, c, m, E) {
1014
1012
  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), "";
1015
1013
  });
1016
1014
  var s = n.options[0];
1017
- s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), $t(s)));
1015
+ s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), At(s)));
1018
1016
  continue;
1019
1017
  }
1020
- if (fr.test(n.stem)) {
1021
- t = A(A({}, t), $t(n.stem));
1018
+ if (lr.test(n.stem)) {
1019
+ t = A(A({}, t), At(n.stem));
1022
1020
  continue;
1023
1021
  }
1024
- var l = dr(n.stem);
1022
+ var l = fr(n.stem);
1025
1023
  l && (t = A(A({}, t), l));
1026
- var a = Pi(n.stem);
1024
+ var a = Ai(n.stem);
1027
1025
  a && (t = A(A({}, t), a));
1028
1026
  }
1029
1027
  return t;
@@ -2443,13 +2441,13 @@ var Ue = {
2443
2441
  "h"
2444
2442
  ]
2445
2443
  };
2446
- function Bi(e, t) {
2444
+ function $i(e, t) {
2447
2445
  for (var r = "", i = 0; i < e.length; i++) {
2448
2446
  var n = e.charAt(i);
2449
2447
  if (n === "j") {
2450
2448
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2451
2449
  s++, i++;
2452
- var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Mi(t);
2450
+ var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Bi(t);
2453
2451
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2454
2452
  r += o;
2455
2453
  for (; l-- > 0; )
@@ -2458,7 +2456,7 @@ function Bi(e, t) {
2458
2456
  }
2459
2457
  return r;
2460
2458
  }
2461
- function Mi(e) {
2459
+ function Bi(e) {
2462
2460
  var t = e.hourCycle;
2463
2461
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2464
2462
  e.hourCycles && // @ts-ignore
@@ -2480,20 +2478,20 @@ function Mi(e) {
2480
2478
  var n = Ue[i || ""] || Ue[r || ""] || Ue["".concat(r, "-001")] || Ue["001"];
2481
2479
  return n[0];
2482
2480
  }
2483
- var rt, Ci = new RegExp("^".concat(hr.source, "*")), Di = new RegExp("".concat(hr.source, "*$"));
2481
+ var rt, Mi = new RegExp("^".concat(ur.source, "*")), Ci = new RegExp("".concat(ur.source, "*$"));
2484
2482
  function O(e, t) {
2485
2483
  return { start: e, end: t };
2486
2484
  }
2487
- 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) {
2485
+ var Di = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ii = !!String.fromCodePoint, Li = !!Object.fromEntries, Ni = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, ki = !!String.prototype.trimEnd, Ui = !!Number.isSafeInteger, Fi = Ui ? Number.isSafeInteger : function(e) {
2488
2486
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2489
2487
  }, ht = !0;
2490
2488
  try {
2491
- var Gi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2492
- ht = ((rt = Gi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2489
+ var Vi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2490
+ ht = ((rt = Vi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2493
2491
  } catch {
2494
2492
  ht = !1;
2495
2493
  }
2496
- var Mt = Ii ? (
2494
+ var $t = Di ? (
2497
2495
  // Native
2498
2496
  function(t, r, i) {
2499
2497
  return t.startsWith(r, i);
@@ -2503,7 +2501,7 @@ var Mt = Ii ? (
2503
2501
  function(t, r, i) {
2504
2502
  return t.slice(i, i + r.length) === r;
2505
2503
  }
2506
- ), ft = Li ? String.fromCodePoint : (
2504
+ ), ft = Ii ? String.fromCodePoint : (
2507
2505
  // IE11
2508
2506
  function() {
2509
2507
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2515,9 +2513,9 @@ var Mt = Ii ? (
2515
2513
  }
2516
2514
  return i;
2517
2515
  }
2518
- ), Ct = (
2516
+ ), Bt = (
2519
2517
  // native
2520
- Ni ? Object.fromEntries : (
2518
+ Li ? Object.fromEntries : (
2521
2519
  // Ponyfill
2522
2520
  function(t) {
2523
2521
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2527,7 +2525,7 @@ var Mt = Ii ? (
2527
2525
  return r;
2528
2526
  }
2529
2527
  )
2530
- ), mr = Ri ? (
2528
+ ), cr = Ni ? (
2531
2529
  // Native
2532
2530
  function(t, r) {
2533
2531
  return t.codePointAt(r);
@@ -2541,7 +2539,7 @@ var Mt = Ii ? (
2541
2539
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2542
2540
  }
2543
2541
  }
2544
- ), ji = ki ? (
2542
+ ), Gi = Ri ? (
2545
2543
  // Native
2546
2544
  function(t) {
2547
2545
  return t.trimStart();
@@ -2549,9 +2547,9 @@ var Mt = Ii ? (
2549
2547
  ) : (
2550
2548
  // Ponyfill
2551
2549
  function(t) {
2552
- return t.replace(Ci, "");
2550
+ return t.replace(Mi, "");
2553
2551
  }
2554
- ), zi = Ui ? (
2552
+ ), ji = ki ? (
2555
2553
  // Native
2556
2554
  function(t) {
2557
2555
  return t.trimEnd();
@@ -2559,32 +2557,32 @@ var Mt = Ii ? (
2559
2557
  ) : (
2560
2558
  // Ponyfill
2561
2559
  function(t) {
2562
- return t.replace(Di, "");
2560
+ return t.replace(Ci, "");
2563
2561
  }
2564
2562
  );
2565
- function pr(e, t) {
2563
+ function dr(e, t) {
2566
2564
  return new RegExp(e, t);
2567
2565
  }
2568
2566
  var ct;
2569
2567
  if (ht) {
2570
- var Dt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2568
+ var Mt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2571
2569
  ct = function(t, r) {
2572
2570
  var i;
2573
- Dt.lastIndex = r;
2574
- var n = Dt.exec(t);
2571
+ Mt.lastIndex = r;
2572
+ var n = Mt.exec(t);
2575
2573
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2576
2574
  };
2577
2575
  } else
2578
2576
  ct = function(t, r) {
2579
2577
  for (var i = []; ; ) {
2580
- var n = mr(t, r);
2581
- if (n === void 0 || gr(n) || Yi(n))
2578
+ var n = cr(t, r);
2579
+ if (n === void 0 || mr(n) || qi(n))
2582
2580
  break;
2583
2581
  i.push(n), r += n >= 65536 ? 2 : 1;
2584
2582
  }
2585
2583
  return ft.apply(void 0, i);
2586
2584
  };
2587
- var Xi = (
2585
+ var zi = (
2588
2586
  /** @class */
2589
2587
  function() {
2590
2588
  function e(t, r) {
@@ -2666,7 +2664,7 @@ var Xi = (
2666
2664
  return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
2667
2665
  }, e.prototype.parseTagName = function() {
2668
2666
  var t = this.offset();
2669
- for (this.bump(); !this.isEOF() && qi(this.char()); )
2667
+ for (this.bump(); !this.isEOF() && Wi(this.char()); )
2670
2668
  this.bump();
2671
2669
  return this.message.slice(t, this.offset());
2672
2670
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2695,7 +2693,7 @@ var Xi = (
2695
2693
  };
2696
2694
  }, e.prototype.tryParseLeftAngleBracket = function() {
2697
2695
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2698
- !Wi(this.peek() || 0)) ? (this.bump(), "<") : null;
2696
+ !Xi(this.peek() || 0)) ? (this.bump(), "<") : null;
2699
2697
  }, e.prototype.tryParseQuote = function(t) {
2700
2698
  if (this.isEOF() || this.char() !== 39)
2701
2699
  return null;
@@ -2782,7 +2780,7 @@ var Xi = (
2782
2780
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2783
2781
  if (c.err)
2784
2782
  return c;
2785
- var m = zi(c.val);
2783
+ var m = ji(c.val);
2786
2784
  if (m.length === 0)
2787
2785
  return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2788
2786
  var E = O(h, this.clonePosition());
@@ -2792,8 +2790,8 @@ var Xi = (
2792
2790
  if (H.err)
2793
2791
  return H;
2794
2792
  var v = O(n, this.clonePosition());
2795
- if (u && Mt(u?.style, "::", 0)) {
2796
- var $ = ji(u.style.slice(2));
2793
+ if (u && $t(u?.style, "::", 0)) {
2794
+ var $ = Gi(u.style.slice(2));
2797
2795
  if (a === "number") {
2798
2796
  var c = this.parseNumberSkeletonFromString($, u.styleLocation);
2799
2797
  return c.err ? c : {
@@ -2804,12 +2802,12 @@ var Xi = (
2804
2802
  if ($.length === 0)
2805
2803
  return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2806
2804
  var V = $;
2807
- this.locale && (V = Bi($, this.locale));
2805
+ this.locale && (V = $i($, this.locale));
2808
2806
  var m = {
2809
2807
  type: Se.dateTime,
2810
2808
  pattern: V,
2811
2809
  location: u.styleLocation,
2812
- parsedOptions: this.shouldParseSkeletons ? Si(V) : {}
2810
+ parsedOptions: this.shouldParseSkeletons ? wi(V) : {}
2813
2811
  }, U = a === "date" ? C.date : C.time;
2814
2812
  return {
2815
2813
  val: { type: U, value: i, location: v, style: m },
@@ -2855,7 +2853,7 @@ var Xi = (
2855
2853
  val: {
2856
2854
  type: C.select,
2857
2855
  value: i,
2858
- options: Ct(L.val),
2856
+ options: Bt(L.val),
2859
2857
  location: q
2860
2858
  },
2861
2859
  err: null
@@ -2863,7 +2861,7 @@ var Xi = (
2863
2861
  val: {
2864
2862
  type: C.plural,
2865
2863
  value: i,
2866
- options: Ct(L.val),
2864
+ options: Bt(L.val),
2867
2865
  offset: I,
2868
2866
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2869
2867
  location: q
@@ -2914,7 +2912,7 @@ var Xi = (
2914
2912
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2915
2913
  var i = [];
2916
2914
  try {
2917
- i = Hi(t);
2915
+ i = Ti(t);
2918
2916
  } catch {
2919
2917
  return this.error(T.INVALID_NUMBER_SKELETON, r);
2920
2918
  }
@@ -2923,7 +2921,7 @@ var Xi = (
2923
2921
  type: Se.number,
2924
2922
  tokens: i,
2925
2923
  location: r,
2926
- parsedOptions: this.shouldParseSkeletons ? $i(i) : {}
2924
+ parsedOptions: this.shouldParseSkeletons ? Pi(i) : {}
2927
2925
  },
2928
2926
  err: null
2929
2927
  };
@@ -2971,7 +2969,7 @@ var Xi = (
2971
2969
  break;
2972
2970
  }
2973
2971
  var o = O(n, this.clonePosition());
2974
- return s ? (l *= i, Vi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2972
+ return s ? (l *= i, Fi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2975
2973
  }, e.prototype.offset = function() {
2976
2974
  return this.position.offset;
2977
2975
  }, e.prototype.isEOF = function() {
@@ -2986,7 +2984,7 @@ var Xi = (
2986
2984
  var t = this.position.offset;
2987
2985
  if (t >= this.message.length)
2988
2986
  throw Error("out of bound");
2989
- var r = mr(this.message, t);
2987
+ var r = cr(this.message, t);
2990
2988
  if (r === void 0)
2991
2989
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2992
2990
  return r;
@@ -3005,7 +3003,7 @@ var Xi = (
3005
3003
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3006
3004
  }
3007
3005
  }, e.prototype.bumpIf = function(t) {
3008
- if (Mt(this.message, t, this.offset())) {
3006
+ if ($t(this.message, t, this.offset())) {
3009
3007
  for (var r = 0; r < t.length; r++)
3010
3008
  this.bump();
3011
3009
  return !0;
@@ -3027,7 +3025,7 @@ var Xi = (
3027
3025
  break;
3028
3026
  }
3029
3027
  }, e.prototype.bumpSpace = function() {
3030
- for (; !this.isEOF() && gr(this.char()); )
3028
+ for (; !this.isEOF() && mr(this.char()); )
3031
3029
  this.bump();
3032
3030
  }, e.prototype.peek = function() {
3033
3031
  if (this.isEOF())
@@ -3040,29 +3038,29 @@ var Xi = (
3040
3038
  function dt(e) {
3041
3039
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3042
3040
  }
3043
- function Wi(e) {
3041
+ function Xi(e) {
3044
3042
  return dt(e) || e === 47;
3045
3043
  }
3046
- function qi(e) {
3044
+ function Wi(e) {
3047
3045
  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;
3048
3046
  }
3049
- function gr(e) {
3047
+ function mr(e) {
3050
3048
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3051
3049
  }
3052
- function Yi(e) {
3050
+ function qi(e) {
3053
3051
  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;
3054
3052
  }
3055
3053
  function mt(e) {
3056
3054
  e.forEach(function(t) {
3057
- if (delete t.location, or(t) || ar(t))
3055
+ if (delete t.location, nr(t) || sr(t))
3058
3056
  for (var r in t.options)
3059
3057
  delete t.options[r].location, mt(t.options[r].value);
3060
- else ir(t) && lr(t.style) || (nr(t) || sr(t)) && lt(t.style) ? delete t.style.location : ur(t) && mt(t.children);
3058
+ else tr(t) && ar(t.style) || (rr(t) || ir(t)) && lt(t.style) ? delete t.style.location : or(t) && mt(t.children);
3061
3059
  });
3062
3060
  }
3063
- function Zi(e, t) {
3061
+ function Yi(e, t) {
3064
3062
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3065
- var r = new Xi(e, t).parse();
3063
+ var r = new zi(e, t).parse();
3066
3064
  if (r.err) {
3067
3065
  var i = SyntaxError(T[r.err.kind]);
3068
3066
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
@@ -3085,7 +3083,7 @@ var Ye = (
3085
3083
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3086
3084
  }, t;
3087
3085
  }(Error)
3088
- ), It = (
3086
+ ), Ct = (
3089
3087
  /** @class */
3090
3088
  function(e) {
3091
3089
  qe(t, e);
@@ -3094,7 +3092,7 @@ var Ye = (
3094
3092
  }
3095
3093
  return t;
3096
3094
  }(Ye)
3097
- ), Ji = (
3095
+ ), Zi = (
3098
3096
  /** @class */
3099
3097
  function(e) {
3100
3098
  qe(t, e);
@@ -3103,7 +3101,7 @@ var Ye = (
3103
3101
  }
3104
3102
  return t;
3105
3103
  }(Ye)
3106
- ), Qi = (
3104
+ ), Ji = (
3107
3105
  /** @class */
3108
3106
  function(e) {
3109
3107
  qe(t, e);
@@ -3116,17 +3114,17 @@ var Ye = (
3116
3114
  (function(e) {
3117
3115
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3118
3116
  })(j || (j = {}));
3119
- function Ki(e) {
3117
+ function Qi(e) {
3120
3118
  return e.length < 2 ? e : e.reduce(function(t, r) {
3121
3119
  var i = t[t.length - 1];
3122
3120
  return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
3123
3121
  }, []);
3124
3122
  }
3125
- function en(e) {
3123
+ function Ki(e) {
3126
3124
  return typeof e == "function";
3127
3125
  }
3128
3126
  function Ve(e, t, r, i, n, s, l) {
3129
- if (e.length === 1 && At(e[0]))
3127
+ if (e.length === 1 && Ht(e[0]))
3130
3128
  return [
3131
3129
  {
3132
3130
  type: j.literal,
@@ -3135,14 +3133,14 @@ function Ve(e, t, r, i, n, s, l) {
3135
3133
  ];
3136
3134
  for (var a = [], o = 0, u = e; o < u.length; o++) {
3137
3135
  var h = u[o];
3138
- if (At(h)) {
3136
+ if (Ht(h)) {
3139
3137
  a.push({
3140
3138
  type: j.literal,
3141
3139
  value: h.value
3142
3140
  });
3143
3141
  continue;
3144
3142
  }
3145
- if (Ei(h)) {
3143
+ if (_i(h)) {
3146
3144
  typeof s == "number" && a.push({
3147
3145
  type: j.literal,
3148
3146
  value: r.getNumberFormat(t).format(s)
@@ -3151,16 +3149,16 @@ function Ve(e, t, r, i, n, s, l) {
3151
3149
  }
3152
3150
  var c = h.value;
3153
3151
  if (!(n && c in n))
3154
- throw new Qi(c, l);
3152
+ throw new Ji(c, l);
3155
3153
  var m = n[c];
3156
- if (_i(h)) {
3154
+ if (xi(h)) {
3157
3155
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3158
3156
  type: typeof m == "string" ? j.literal : j.object,
3159
3157
  value: m
3160
3158
  });
3161
3159
  continue;
3162
3160
  }
3163
- if (nr(h)) {
3161
+ if (rr(h)) {
3164
3162
  var E = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3165
3163
  a.push({
3166
3164
  type: j.literal,
@@ -3168,7 +3166,7 @@ function Ve(e, t, r, i, n, s, l) {
3168
3166
  });
3169
3167
  continue;
3170
3168
  }
3171
- if (sr(h)) {
3169
+ if (ir(h)) {
3172
3170
  var E = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
3173
3171
  a.push({
3174
3172
  type: j.literal,
@@ -3176,18 +3174,18 @@ function Ve(e, t, r, i, n, s, l) {
3176
3174
  });
3177
3175
  continue;
3178
3176
  }
3179
- if (ir(h)) {
3180
- var E = typeof h.style == "string" ? i.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3177
+ if (tr(h)) {
3178
+ var E = typeof h.style == "string" ? i.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3181
3179
  E && E.scale && (m = m * (E.scale || 1)), a.push({
3182
3180
  type: j.literal,
3183
3181
  value: r.getNumberFormat(t, E).format(m)
3184
3182
  });
3185
3183
  continue;
3186
3184
  }
3187
- if (ur(h)) {
3185
+ if (or(h)) {
3188
3186
  var H = h.children, v = h.value, $ = n[v];
3189
- if (!en($))
3190
- throw new Ji(v, "function", l);
3187
+ if (!Ki($))
3188
+ throw new Zi(v, "function", l);
3191
3189
  var V = Ve(H, t, r, i, n, s), U = $(V.map(function(I) {
3192
3190
  return I.value;
3193
3191
  }));
@@ -3198,14 +3196,14 @@ function Ve(e, t, r, i, n, s, l) {
3198
3196
  };
3199
3197
  }));
3200
3198
  }
3201
- if (or(h)) {
3199
+ if (nr(h)) {
3202
3200
  var B = h.options[m] || h.options.other;
3203
3201
  if (!B)
3204
- throw new It(h.value, m, Object.keys(h.options), l);
3202
+ throw new Ct(h.value, m, Object.keys(h.options), l);
3205
3203
  a.push.apply(a, Ve(B.value, t, r, i, n));
3206
3204
  continue;
3207
3205
  }
3208
- if (ar(h)) {
3206
+ if (sr(h)) {
3209
3207
  var B = h.options["=".concat(m)];
3210
3208
  if (!B) {
3211
3209
  if (!Intl.PluralRules)
@@ -3216,21 +3214,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3216
3214
  B = h.options[z] || h.options.other;
3217
3215
  }
3218
3216
  if (!B)
3219
- throw new It(h.value, m, Object.keys(h.options), l);
3217
+ throw new Ct(h.value, m, Object.keys(h.options), l);
3220
3218
  a.push.apply(a, Ve(B.value, t, r, i, n, m - (h.offset || 0)));
3221
3219
  continue;
3222
3220
  }
3223
3221
  }
3224
- return Ki(a);
3222
+ return Qi(a);
3225
3223
  }
3226
- function tn(e, t) {
3224
+ function en(e, t) {
3227
3225
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3228
3226
  return r[i] = A(A({}, e[i]), t[i] || {}), r;
3229
3227
  }, {})) : e;
3230
3228
  }
3231
- function rn(e, t) {
3229
+ function tn(e, t) {
3232
3230
  return t ? Object.keys(e).reduce(function(r, i) {
3233
- return r[i] = tn(e[i], t[i]), r;
3231
+ return r[i] = en(e[i], t[i]), r;
3234
3232
  }, A({}, e)) : e;
3235
3233
  }
3236
3234
  function it(e) {
@@ -3247,7 +3245,7 @@ function it(e) {
3247
3245
  }
3248
3246
  };
3249
3247
  }
3250
- function nn(e) {
3248
+ function rn(e) {
3251
3249
  return e === void 0 && (e = {
3252
3250
  number: {},
3253
3251
  dateTime: {},
@@ -3279,7 +3277,7 @@ function nn(e) {
3279
3277
  })
3280
3278
  };
3281
3279
  }
3282
- var vr = (
3280
+ var pr = (
3283
3281
  /** @class */
3284
3282
  function() {
3285
3283
  function e(t, r, i, n) {
@@ -3311,13 +3309,13 @@ var vr = (
3311
3309
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3312
3310
  var l = n || {};
3313
3311
  l.formatters;
3314
- var a = mi(l, ["formatters"]);
3312
+ var a = ci(l, ["formatters"]);
3315
3313
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3316
3314
  } else
3317
3315
  this.ast = t;
3318
3316
  if (!Array.isArray(this.ast))
3319
3317
  throw new TypeError("A message must be provided as a String or AST.");
3320
- this.formats = rn(e.formats, i), this.formatters = n && n.formatters || nn(this.formatterCache);
3318
+ this.formats = tn(e.formats, i), this.formatters = n && n.formatters || rn(this.formatterCache);
3321
3319
  }
3322
3320
  return Object.defineProperty(e, "defaultLocale", {
3323
3321
  get: function() {
@@ -3330,7 +3328,7 @@ var vr = (
3330
3328
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3331
3329
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3332
3330
  }
3333
- }, e.__parse = Zi, e.formats = {
3331
+ }, e.__parse = Yi, e.formats = {
3334
3332
  number: {
3335
3333
  integer: {
3336
3334
  maximumFractionDigits: 0
@@ -3391,7 +3389,7 @@ var vr = (
3391
3389
  }, e;
3392
3390
  }()
3393
3391
  );
3394
- function sn(e, t) {
3392
+ function nn(e, t) {
3395
3393
  if (t == null)
3396
3394
  return;
3397
3395
  if (t in e)
@@ -3412,60 +3410,60 @@ function sn(e, t) {
3412
3410
  i = void 0;
3413
3411
  return i;
3414
3412
  }
3415
- const he = {}, on = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), br = (e, t) => {
3413
+ const he = {}, sn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), gr = (e, t) => {
3416
3414
  if (t == null)
3417
3415
  return;
3418
3416
  if (t in he && e in he[t])
3419
3417
  return he[t][e];
3420
3418
  const r = Ne(t);
3421
3419
  for (let i = 0; i < r.length; i++) {
3422
- const n = r[i], s = un(n, e);
3420
+ const n = r[i], s = an(n, e);
3423
3421
  if (s)
3424
- return on(e, t, s);
3422
+ return sn(e, t, s);
3425
3423
  }
3426
3424
  };
3427
- let Et;
3425
+ let xt;
3428
3426
  const Le = We({});
3429
- function an(e) {
3430
- return Et[e] || null;
3427
+ function on(e) {
3428
+ return xt[e] || null;
3431
3429
  }
3432
- function yr(e) {
3433
- return e in Et;
3430
+ function vr(e) {
3431
+ return e in xt;
3434
3432
  }
3435
- function un(e, t) {
3436
- if (!yr(e))
3433
+ function an(e, t) {
3434
+ if (!vr(e))
3437
3435
  return null;
3438
- const r = an(e);
3439
- return sn(r, t);
3436
+ const r = on(e);
3437
+ return nn(r, t);
3440
3438
  }
3441
- function ln(e) {
3439
+ function un(e) {
3442
3440
  if (e == null)
3443
3441
  return;
3444
3442
  const t = Ne(e);
3445
3443
  for (let r = 0; r < t.length; r++) {
3446
3444
  const i = t[r];
3447
- if (yr(i))
3445
+ if (vr(i))
3448
3446
  return i;
3449
3447
  }
3450
3448
  }
3451
- function xr(e, ...t) {
3452
- delete he[e], Le.update((r) => (r[e] = di.all([r[e] || {}, ...t]), r));
3449
+ function br(e, ...t) {
3450
+ delete he[e], Le.update((r) => (r[e] = fi.all([r[e] || {}, ...t]), r));
3453
3451
  }
3454
3452
  Oe(
3455
3453
  [Le],
3456
3454
  ([e]) => Object.keys(e)
3457
3455
  );
3458
- Le.subscribe((e) => Et = e);
3456
+ Le.subscribe((e) => xt = e);
3459
3457
  const Ge = {};
3460
- function hn(e, t) {
3458
+ function ln(e, t) {
3461
3459
  Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
3462
3460
  }
3463
- function _r(e) {
3461
+ function yr(e) {
3464
3462
  return Ge[e];
3465
3463
  }
3466
- function fn(e) {
3464
+ function hn(e) {
3467
3465
  return Ne(e).map((t) => {
3468
- const r = _r(t);
3466
+ const r = yr(t);
3469
3467
  return [t, r ? [...r] : []];
3470
3468
  }).filter(([, t]) => t.length > 0);
3471
3469
  }
@@ -3473,40 +3471,40 @@ function je(e) {
3473
3471
  return e == null ? !1 : Ne(e).some(
3474
3472
  (t) => {
3475
3473
  var r;
3476
- return (r = _r(t)) == null ? void 0 : r.size;
3474
+ return (r = yr(t)) == null ? void 0 : r.size;
3477
3475
  }
3478
3476
  );
3479
3477
  }
3480
- function cn(e, t) {
3478
+ function fn(e, t) {
3481
3479
  return Promise.all(
3482
- t.map((i) => (hn(e, i), i().then((n) => n.default || n)))
3483
- ).then((i) => xr(e, ...i));
3480
+ t.map((i) => (ln(e, i), i().then((n) => n.default || n)))
3481
+ ).then((i) => br(e, ...i));
3484
3482
  }
3485
3483
  const Pe = {};
3486
- function Er(e) {
3484
+ function xr(e) {
3487
3485
  if (!je(e))
3488
3486
  return e in Pe ? Pe[e] : Promise.resolve();
3489
- const t = fn(e);
3487
+ const t = hn(e);
3490
3488
  return Pe[e] = Promise.all(
3491
3489
  t.map(
3492
- ([r, i]) => cn(r, i)
3490
+ ([r, i]) => fn(r, i)
3493
3491
  )
3494
3492
  ).then(() => {
3495
3493
  if (je(e))
3496
- return Er(e);
3494
+ return xr(e);
3497
3495
  delete Pe[e];
3498
3496
  }), Pe[e];
3499
3497
  }
3500
- var Lt = Object.getOwnPropertySymbols, dn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, pn = (e, t) => {
3498
+ var Dt = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, mn = (e, t) => {
3501
3499
  var r = {};
3502
3500
  for (var i in e)
3503
- dn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3504
- if (e != null && Lt)
3505
- for (var i of Lt(e))
3506
- t.indexOf(i) < 0 && mn.call(e, i) && (r[i] = e[i]);
3501
+ cn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3502
+ if (e != null && Dt)
3503
+ for (var i of Dt(e))
3504
+ t.indexOf(i) < 0 && dn.call(e, i) && (r[i] = e[i]);
3507
3505
  return r;
3508
3506
  };
3509
- const gn = {
3507
+ const pn = {
3510
3508
  number: {
3511
3509
  scientific: { notation: "scientific" },
3512
3510
  engineering: { notation: "engineering" },
@@ -3536,7 +3534,7 @@ const gn = {
3536
3534
  }
3537
3535
  }
3538
3536
  };
3539
- function vn({ locale: e, id: t }) {
3537
+ function gn({ locale: e, id: t }) {
3540
3538
  console.warn(
3541
3539
  `[svelte-i18n] The message "${t}" was not found in "${Ne(
3542
3540
  e
@@ -3545,49 +3543,49 @@ function vn({ locale: e, id: t }) {
3545
3543
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3546
3544
  );
3547
3545
  }
3548
- const bn = {
3546
+ const vn = {
3549
3547
  fallbackLocale: null,
3550
3548
  loadingDelay: 200,
3551
- formats: gn,
3549
+ formats: pn,
3552
3550
  warnOnMissingMessages: !0,
3553
3551
  handleMissingMessage: void 0,
3554
3552
  ignoreTag: !0
3555
- }, $e = bn;
3553
+ }, $e = vn;
3556
3554
  function He() {
3557
3555
  return $e;
3558
3556
  }
3559
- function yn(e) {
3560
- const t = e, { formats: r } = t, i = pn(t, ["formats"]);
3557
+ function bn(e) {
3558
+ const t = e, { formats: r } = t, i = mn(t, ["formats"]);
3561
3559
  let n = e.fallbackLocale;
3562
3560
  if (e.initialLocale)
3563
3561
  try {
3564
- vr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3562
+ pr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3565
3563
  } catch {
3566
3564
  console.warn(
3567
3565
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3568
3566
  );
3569
3567
  }
3570
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = vn : console.warn(
3568
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = gn : console.warn(
3571
3569
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3572
3570
  )), 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);
3573
3571
  }
3574
3572
  const nt = We(!1);
3575
- 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) => {
3573
+ var yn = Object.defineProperty, xn = Object.defineProperties, _n = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, En = Object.prototype.hasOwnProperty, wn = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Sn = (e, t) => {
3576
3574
  for (var r in t || (t = {}))
3577
- wn.call(t, r) && Rt(e, r, t[r]);
3578
- if (Nt)
3579
- for (var r of Nt(t))
3580
- Sn.call(t, r) && Rt(e, r, t[r]);
3575
+ En.call(t, r) && Lt(e, r, t[r]);
3576
+ if (It)
3577
+ for (var r of It(t))
3578
+ wn.call(t, r) && Lt(e, r, t[r]);
3581
3579
  return e;
3582
- }, Hn = (e, t) => _n(e, En(t));
3580
+ }, Tn = (e, t) => xn(e, _n(t));
3583
3581
  let pt;
3584
3582
  const ze = We(null);
3585
- function kt(e) {
3583
+ function Nt(e) {
3586
3584
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3587
3585
  }
3588
3586
  function Ne(e, t = He().fallbackLocale) {
3589
- const r = kt(e);
3590
- return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
3587
+ const r = Nt(e);
3588
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Nt(t)])] : r;
3591
3589
  }
3592
3590
  function fe() {
3593
3591
  return pt ?? void 0;
@@ -3595,22 +3593,22 @@ function fe() {
3595
3593
  ze.subscribe((e) => {
3596
3594
  pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3597
3595
  });
3598
- const On = (e) => {
3599
- if (e && ln(e) && je(e)) {
3596
+ const Hn = (e) => {
3597
+ if (e && un(e) && je(e)) {
3600
3598
  const { loadingDelay: t } = He();
3601
3599
  let r;
3602
3600
  return typeof window < "u" && fe() != null && t ? r = window.setTimeout(
3603
3601
  () => nt.set(!0),
3604
3602
  t
3605
- ) : nt.set(!0), Er(e).then(() => {
3603
+ ) : nt.set(!0), xr(e).then(() => {
3606
3604
  ze.set(e);
3607
3605
  }).finally(() => {
3608
3606
  clearTimeout(r), nt.set(!1);
3609
3607
  });
3610
3608
  }
3611
3609
  return ze.set(e);
3612
- }, de = Hn(Tn({}, ze), {
3613
- set: On
3610
+ }, de = Tn(Sn({}, ze), {
3611
+ set: Hn
3614
3612
  }), Ze = (e) => {
3615
3613
  const t = /* @__PURE__ */ Object.create(null);
3616
3614
  return (i) => {
@@ -3618,20 +3616,20 @@ const On = (e) => {
3618
3616
  return n in t ? t[n] : t[n] = e(i);
3619
3617
  };
3620
3618
  };
3621
- 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) => {
3619
+ var On = Object.defineProperty, Xe = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
3622
3620
  for (var r in t || (t = {}))
3623
- wr.call(t, r) && Ut(e, r, t[r]);
3621
+ _r.call(t, r) && Rt(e, r, t[r]);
3624
3622
  if (Xe)
3625
3623
  for (var r of Xe(t))
3626
- Sr.call(t, r) && Ut(e, r, t[r]);
3624
+ Er.call(t, r) && Rt(e, r, t[r]);
3627
3625
  return e;
3628
3626
  }, Ae = (e, t) => {
3629
3627
  var r = {};
3630
3628
  for (var i in e)
3631
- wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3629
+ _r.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3632
3630
  if (e != null && Xe)
3633
3631
  for (var i of Xe(e))
3634
- t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3632
+ t.indexOf(i) < 0 && Er.call(e, i) && (r[i] = e[i]);
3635
3633
  return r;
3636
3634
  };
3637
3635
  const De = (e, t) => {
@@ -3639,21 +3637,21 @@ const De = (e, t) => {
3639
3637
  if (e in r && t in r[e])
3640
3638
  return r[e][t];
3641
3639
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3642
- }, Pn = Ze(
3640
+ }, An = Ze(
3643
3641
  (e) => {
3644
3642
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3645
3643
  if (r == null)
3646
3644
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3647
3645
  return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3648
3646
  }
3649
- ), $n = Ze(
3647
+ ), Pn = Ze(
3650
3648
  (e) => {
3651
3649
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3652
3650
  if (r == null)
3653
3651
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3654
3652
  return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3655
3653
  }
3656
- ), Bn = Ze(
3654
+ ), $n = Ze(
3657
3655
  (e) => {
3658
3656
  var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3659
3657
  if (r == null)
@@ -3662,33 +3660,33 @@ const De = (e, t) => {
3662
3660
  );
3663
3661
  return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3664
3662
  }
3665
- ), Mn = (e = {}) => {
3663
+ ), Bn = (e = {}) => {
3666
3664
  var t = e, {
3667
3665
  locale: r = fe()
3668
3666
  } = t, i = Ae(t, [
3669
3667
  "locale"
3670
3668
  ]);
3671
- return Pn(wt({ locale: r }, i));
3672
- }, Cn = (e = {}) => {
3669
+ return An(_t({ locale: r }, i));
3670
+ }, Mn = (e = {}) => {
3673
3671
  var t = e, {
3674
3672
  locale: r = fe()
3675
3673
  } = t, i = Ae(t, [
3676
3674
  "locale"
3677
3675
  ]);
3678
- return $n(wt({ locale: r }, i));
3679
- }, Dn = (e = {}) => {
3676
+ return Pn(_t({ locale: r }, i));
3677
+ }, Cn = (e = {}) => {
3680
3678
  var t = e, {
3681
3679
  locale: r = fe()
3682
3680
  } = t, i = Ae(t, [
3683
3681
  "locale"
3684
3682
  ]);
3685
- return Bn(wt({ locale: r }, i));
3686
- }, In = Ze(
3683
+ return $n(_t({ locale: r }, i));
3684
+ }, Dn = Ze(
3687
3685
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3688
- (e, t = fe()) => new vr(e, t, He().formats, {
3686
+ (e, t = fe()) => new pr(e, t, He().formats, {
3689
3687
  ignoreTag: He().ignoreTag
3690
3688
  })
3691
- ), Ln = (e, t = {}) => {
3689
+ ), In = (e, t = {}) => {
3692
3690
  var r, i, n, s;
3693
3691
  let l = t;
3694
3692
  typeof e == "object" && (l = e, e = l.id);
@@ -3701,7 +3699,7 @@ const De = (e, t) => {
3701
3699
  throw new Error(
3702
3700
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3703
3701
  );
3704
- let h = br(e, o);
3702
+ let h = gr(e, o);
3705
3703
  if (!h)
3706
3704
  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;
3707
3705
  else if (typeof h != "string")
@@ -3712,7 +3710,7 @@ const De = (e, t) => {
3712
3710
  return h;
3713
3711
  let c = h;
3714
3712
  try {
3715
- c = In(h, o).format(a);
3713
+ c = Dn(h, o).format(a);
3716
3714
  } catch (m) {
3717
3715
  m instanceof Error && console.warn(
3718
3716
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3720,20 +3718,20 @@ const De = (e, t) => {
3720
3718
  );
3721
3719
  }
3722
3720
  return c;
3723
- }, 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);
3721
+ }, Ln = (e, t) => Cn(t).format(e), Nn = (e, t) => Mn(t).format(e), Rn = (e, t) => Bn(t).format(e), kn = (e, t = fe()) => gr(e, t), Un = Oe([de, Le], () => In);
3722
+ Oe([de], () => Ln);
3724
3723
  Oe([de], () => Nn);
3725
3724
  Oe([de], () => Rn);
3726
- Oe([de], () => kn);
3727
- Oe([de, Le], () => Un);
3728
- function Ft(e, t) {
3729
- xr(e, t);
3725
+ Oe([de, Le], () => kn);
3726
+ function kt(e, t) {
3727
+ br(e, t);
3730
3728
  }
3731
- function Vn(e) {
3732
- yn({
3729
+ function Fn(e) {
3730
+ bn({
3733
3731
  fallbackLocale: "en"
3734
3732
  }), de.set(e);
3735
3733
  }
3736
- const Vt = {
3734
+ const Ut = {
3737
3735
  en: {
3738
3736
  "verification.video.how-to": "How to verify yourself",
3739
3737
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3801,15 +3799,15 @@ if (typeof window < "u") {
3801
3799
  }
3802
3800
  };
3803
3801
  };
3804
- customElements.define = e(customElements.define), import("./CashierVideoModal-ByS-T0Aq.js").then(({ default: t }) => {
3802
+ customElements.define = e(customElements.define), import("./CashierVideoModal-BmFxk33v.js").then(({ default: t }) => {
3805
3803
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3806
3804
  });
3807
3805
  }
3808
- var Tr = { exports: {} };
3806
+ var wr = { exports: {} };
3809
3807
  (function(e, t) {
3810
3808
  (function(r, i) {
3811
3809
  e.exports = i();
3812
- })(Kt, function() {
3810
+ })(Jt, function() {
3813
3811
  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) {
3814
3812
  var g = ["th", "st", "nd", "rd"], d = x % 100;
3815
3813
  return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
@@ -4080,14 +4078,14 @@ var Tr = { exports: {} };
4080
4078
  return k(1e3 * x);
4081
4079
  }, k.en = L[I], k.Ls = L, k.p = {}, k;
4082
4080
  });
4083
- })(Tr);
4084
- var Gn = Tr.exports;
4085
- const Gt = /* @__PURE__ */ yt(Gn);
4086
- var Hr = { exports: {} };
4081
+ })(wr);
4082
+ var Vn = wr.exports;
4083
+ const Ft = /* @__PURE__ */ yt(Vn);
4084
+ var Sr = { exports: {} };
4087
4085
  (function(e, t) {
4088
4086
  (function(r, i) {
4089
4087
  e.exports = i();
4090
- })(Kt, function() {
4088
+ })(Jt, function() {
4091
4089
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4092
4090
  return function(s, l, a) {
4093
4091
  var o = l.prototype;
@@ -4156,26 +4154,26 @@ var Hr = { exports: {} };
4156
4154
  };
4157
4155
  };
4158
4156
  });
4159
- })(Hr);
4160
- var jn = Hr.exports;
4161
- const zn = /* @__PURE__ */ yt(jn);
4162
- function Xn(e) {
4163
- 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)}");
4157
+ })(Sr);
4158
+ var Gn = Sr.exports;
4159
+ const jn = /* @__PURE__ */ yt(Gn);
4160
+ function zn(e) {
4161
+ Pr(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)}");
4164
4162
  }
4165
- function jt(e, t, r) {
4163
+ function Vt(e, t, r) {
4166
4164
  const i = e.slice();
4167
4165
  return i[49] = t[r], i[51] = r, i;
4168
4166
  }
4169
- function zt(e) {
4170
- let t, r, i, n, s = Ht(
4167
+ function Gt(e) {
4168
+ let t, r, i, n, s = St(
4171
4169
  /*displayMessages*/
4172
4170
  e[4]
4173
4171
  ), l = [];
4174
4172
  for (let o = 0; o < s.length; o += 1)
4175
- l[o] = Wt(jt(e, s, o));
4173
+ l[o] = zt(Vt(e, s, o));
4176
4174
  let a = (
4177
4175
  /*videoExists*/
4178
- e[7] && qt(e)
4176
+ e[7] && Xt(e)
4179
4177
  );
4180
4178
  return {
4181
4179
  c() {
@@ -4213,21 +4211,21 @@ function zt(e) {
4213
4211
  p(o, u) {
4214
4212
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4215
4213
  1072) {
4216
- s = Ht(
4214
+ s = St(
4217
4215
  /*displayMessages*/
4218
4216
  o[4]
4219
4217
  );
4220
4218
  let h;
4221
4219
  for (h = 0; h < s.length; h += 1) {
4222
- const c = jt(o, s, h);
4223
- l[h] ? l[h].p(c, u) : (l[h] = Wt(c), l[h].c(), l[h].m(t, null));
4220
+ const c = Vt(o, s, h);
4221
+ l[h] ? l[h].p(c, u) : (l[h] = zt(c), l[h].c(), l[h].m(t, null));
4224
4222
  }
4225
4223
  for (; h < l.length; h += 1)
4226
4224
  l[h].d(1);
4227
4225
  l.length = s.length;
4228
4226
  }
4229
4227
  /*videoExists*/
4230
- 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*/
4228
+ o[7] ? a ? a.p(o, u) : (a = Xt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4231
4229
  2 && le(
4232
4230
  n,
4233
4231
  "clientstylingurl",
@@ -4254,11 +4252,11 @@ function zt(e) {
4254
4252
  );
4255
4253
  },
4256
4254
  d(o) {
4257
- o && (ie(t), ie(r), ie(i), ie(n)), Dr(l, o), a && a.d(o);
4255
+ o && (ie(t), ie(r), ie(i), ie(n)), Mr(l, o), a && a.d(o);
4258
4256
  }
4259
4257
  };
4260
4258
  }
4261
- function Xt(e) {
4259
+ function jt(e) {
4262
4260
  let t, r, i;
4263
4261
  function n(...s) {
4264
4262
  return (
@@ -4285,14 +4283,14 @@ function Xt(e) {
4285
4283
  }
4286
4284
  };
4287
4285
  }
4288
- function Wt(e) {
4286
+ function zt(e) {
4289
4287
  let t, r, i, n, s = (
4290
4288
  /*message*/
4291
4289
  e[49] + ""
4292
4290
  ), l, a, o, u, h = (
4293
4291
  /*displayMessages*/
4294
4292
  e[4].length > 1 && /*index*/
4295
- e[51] === 0 && Xt(e)
4293
+ e[51] === 0 && jt(e)
4296
4294
  );
4297
4295
  function c(...m) {
4298
4296
  return (
@@ -4321,7 +4319,7 @@ function Wt(e) {
4321
4319
  16 && s !== (s = /*message*/
4322
4320
  e[49] + "") && (n.innerHTML = s), /*displayMessages*/
4323
4321
  e[4].length > 1 && /*index*/
4324
- 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*/
4322
+ e[51] === 0 ? h ? h.p(e, E) : (h = jt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
4325
4323
  32 && Ee(
4326
4324
  t,
4327
4325
  "ShowAll",
@@ -4334,7 +4332,7 @@ function Wt(e) {
4334
4332
  }
4335
4333
  };
4336
4334
  }
4337
- function qt(e) {
4335
+ function Xt(e) {
4338
4336
  let t, r, i, n, s = (
4339
4337
  /*$_*/
4340
4338
  e[9]("verification.video.how-to") + ""
@@ -4359,7 +4357,7 @@ function qt(e) {
4359
4357
  p(u, h) {
4360
4358
  h[0] & /*$_*/
4361
4359
  512 && s !== (s = /*$_*/
4362
- u[9]("verification.video.how-to") + "") && Lr(l, s), h[0] & /*desktopView*/
4360
+ u[9]("verification.video.how-to") + "") && Dr(l, s), h[0] & /*desktopView*/
4363
4361
  64 && Ee(
4364
4362
  n,
4365
4363
  "CashierVerificationVideoLinkDesktop",
@@ -4372,10 +4370,10 @@ function qt(e) {
4372
4370
  }
4373
4371
  };
4374
4372
  }
4375
- function Wn(e) {
4373
+ function Xn(e) {
4376
4374
  let t, r = (
4377
4375
  /*displayMessages*/
4378
- e[4] && zt(e)
4376
+ e[4] && Gt(e)
4379
4377
  );
4380
4378
  return {
4381
4379
  c() {
@@ -4391,7 +4389,7 @@ function Wn(e) {
4391
4389
  },
4392
4390
  p(i, n) {
4393
4391
  /*displayMessages*/
4394
- 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*/
4392
+ i[4] ? r ? r.p(i, n) : (r = Gt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4395
4393
  64 && Ee(
4396
4394
  t,
4397
4395
  "CashierVerificationsDesktop",
@@ -4406,10 +4404,10 @@ function Wn(e) {
4406
4404
  }
4407
4405
  };
4408
4406
  }
4409
- const qn = "verification_explanation_video_widgets.MP4", Yn = "700px", Zn = "500px";
4410
- function Jn(e, t, r) {
4407
+ const Wn = "verification_explanation_video_widgets.MP4", qn = "700px", Yn = "500px";
4408
+ function Zn(e, t, r) {
4411
4409
  let i;
4412
- $r(e, Fn, (f) => r(9, i = f)), Gt.extend(zn);
4410
+ Ar(e, Un, (f) => r(9, i = f)), Ft.extend(jn);
4413
4411
  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 = "";
4414
4412
  var L;
4415
4413
  (function(f) {
@@ -4436,17 +4434,17 @@ function Jn(e, t, r) {
4436
4434
  if (f)
4437
4435
  return fetch(f).then((y) => y.json()).then((y) => {
4438
4436
  Object.keys(y).forEach((S) => {
4439
- Ft(S, y[S]);
4437
+ kt(S, y[S]);
4440
4438
  });
4441
4439
  }).catch((y) => {
4442
4440
  console.log(y);
4443
4441
  });
4444
4442
  };
4445
- Object.keys(Vt).forEach((f) => {
4446
- Ft(f, Vt[f]);
4443
+ Object.keys(Ut).forEach((f) => {
4444
+ kt(f, Ut[f]);
4447
4445
  });
4448
4446
  const me = () => {
4449
- Vn(s);
4447
+ Fn(s);
4450
4448
  }, Re = () => {
4451
4449
  let f = document.createElement("style");
4452
4450
  f.innerHTML = a, m.appendChild(f);
@@ -4465,7 +4463,7 @@ function Jn(e, t, r) {
4465
4463
  if (!f)
4466
4464
  return;
4467
4465
  const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), Y = new Headers();
4468
- 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"));
4466
+ Y.append("accept", "application/json"), Y.append("Content-Type", "application/json"), Y.append("X-Client-Request-Timestamp", Ft.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4469
4467
  const Je = {
4470
4468
  method: "POST",
4471
4469
  headers: Y,
@@ -4567,7 +4565,7 @@ function Jn(e, t, r) {
4567
4565
  }, oe = () => {
4568
4566
  r(6, B = c === "false");
4569
4567
  }, G = () => {
4570
- r(8, I = $ + "/" + s + "/" + qn);
4568
+ r(8, I = $ + "/" + s + "/" + Wn);
4571
4569
  try {
4572
4570
  fetch(I, { method: "HEAD" }).then((f) => {
4573
4571
  r(7, z = f.ok);
@@ -4579,12 +4577,12 @@ function Jn(e, t, r) {
4579
4577
  window.postMessage(
4580
4578
  {
4581
4579
  type: "ShowCashierVideoModal",
4582
- details: B ? Yn : Zn
4580
+ details: B ? qn : Yn
4583
4581
  },
4584
4582
  window.location.href
4585
4583
  );
4586
- }, ce = (f, y) => se(y, f), pe = (f, y) => se(y, f), Or = () => J();
4587
- function Ar(f) {
4584
+ }, ce = (f, y) => se(y, f), pe = (f, y) => se(y, f), Tr = () => J();
4585
+ function Hr(f) {
4588
4586
  st[f ? "unshift" : "push"](() => {
4589
4587
  m = f, r(3, m);
4590
4588
  });
@@ -4621,18 +4619,18 @@ function Jn(e, t, r) {
4621
4619
  $,
4622
4620
  ce,
4623
4621
  pe,
4624
- Or,
4625
- Ar
4622
+ Tr,
4623
+ Hr
4626
4624
  ];
4627
4625
  }
4628
- class Qn extends Zr {
4626
+ class Jn extends qr {
4629
4627
  constructor(t) {
4630
- super(), qr(
4628
+ super(), Xr(
4631
4629
  this,
4632
4630
  t,
4633
- Jn,
4634
- Wn,
4635
- Zt,
4631
+ Zn,
4632
+ Xn,
4633
+ qt,
4636
4634
  {
4637
4635
  endpoint: 12,
4638
4636
  lang: 13,
@@ -4643,7 +4641,7 @@ class Qn extends Zr {
4643
4641
  customerid: 16,
4644
4642
  ismobileview: 2
4645
4643
  },
4646
- Xn,
4644
+ zn,
4647
4645
  [-1, -1]
4648
4646
  );
4649
4647
  }
@@ -4696,27 +4694,27 @@ class Qn extends Zr {
4696
4694
  this.$$set({ ismobileview: t }), te();
4697
4695
  }
4698
4696
  }
4699
- Yr(Qn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4697
+ Wr(Jn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4700
4698
  export {
4701
- Qn as C,
4702
- Zr as S,
4703
- Br as a,
4699
+ Jn as C,
4700
+ qr as S,
4701
+ Pr as a,
4704
4702
  ae as b,
4705
- Yr as c,
4703
+ Wr as c,
4706
4704
  ie as d,
4707
- ts as e,
4705
+ es as e,
4708
4706
  te as f,
4709
- Z as g,
4710
- xe as h,
4711
- qr as i,
4712
- Kn as j,
4713
- K as k,
4714
- re as l,
4715
- es as m,
4707
+ Qn as g,
4708
+ K as h,
4709
+ Xr as i,
4710
+ re as j,
4711
+ Z as k,
4712
+ xe as l,
4713
+ st as m,
4716
4714
  Q as n,
4717
- rs as o,
4715
+ ts as o,
4718
4716
  bt as p,
4719
- st as q,
4720
- Zt as s,
4717
+ Kn as q,
4718
+ qt as s,
4721
4719
  Ee as t
4722
4720
  };