@everymatrix/cashier-verifications 1.61.1 → 1.62.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,17 +1,17 @@
1
- var Dr = Object.defineProperty, Ir = Object.defineProperties;
2
- var Lr = Object.getOwnPropertyDescriptors;
3
- var St = Object.getOwnPropertySymbols;
4
- var Nr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
- var Ke = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
1
+ var Lr = Object.defineProperty, Nr = Object.defineProperties;
2
+ var Rr = Object.getOwnPropertyDescriptors;
3
+ var Ht = Object.getOwnPropertySymbols;
4
+ var kr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
5
+ var Ke = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Nr.call(t, r) && Ke(e, r, t[r]);
8
- if (St)
9
- for (var r of St(t))
10
- Rr.call(t, r) && Ke(e, r, t[r]);
7
+ kr.call(t, r) && Ke(e, r, t[r]);
8
+ if (Ht)
9
+ for (var r of Ht(t))
10
+ Ur.call(t, r) && Ke(e, r, t[r]);
11
11
  return e;
12
- }, Ht = (e, t) => Ir(e, Lr(t));
12
+ }, Pt = (e, t) => Nr(e, Rr(t));
13
13
  var Z = (e, t, r) => (Ke(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Ot = (e, t, r) => new Promise((i, n) => {
14
+ var At = (e, t, r) => new Promise((i, n) => {
15
15
  var s = (o) => {
16
16
  try {
17
17
  l(r.next(o));
@@ -29,29 +29,29 @@ var Ot = (e, t, r) => new Promise((i, n) => {
29
29
  });
30
30
  function K() {
31
31
  }
32
- function Kt(e) {
32
+ function tr(e) {
33
33
  return e();
34
34
  }
35
- function Pt() {
35
+ function $t() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function Ne(e) {
39
- e.forEach(Kt);
39
+ e.forEach(tr);
40
40
  }
41
41
  function bt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function er(e, t) {
44
+ function rr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let Fe;
48
- function hs(e, t) {
48
+ function fs(e, t) {
49
49
  return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
50
50
  }
51
- function kr(e) {
51
+ function Fr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function tr(e, ...t) {
54
+ function ir(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const i of t)
57
57
  i(void 0);
@@ -60,20 +60,20 @@ function tr(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Ur(e, t, r) {
64
- e.$$.on_destroy.push(tr(t, r));
63
+ function Vr(e, t, r) {
64
+ e.$$.on_destroy.push(ir(t, r));
65
65
  }
66
66
  function ie(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Fr(e, t, r) {
70
- const i = Vr(e);
69
+ function Gr(e, t, r) {
70
+ const i = jr(e);
71
71
  if (!i.getElementById(t)) {
72
72
  const n = J("style");
73
- n.id = t, n.textContent = r, Gr(i, n);
73
+ n.id = t, n.textContent = r, zr(i, n);
74
74
  }
75
75
  }
76
- function Vr(e) {
76
+ function jr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function Vr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Gr(e, t) {
86
+ function zr(e, t) {
87
87
  return ie(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,14 +96,14 @@ function ue(e, t, r) {
96
96
  function ne(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function jr(e, t) {
99
+ function Xr(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
103
  function J(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function fs(e) {
106
+ function cs(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
109
  function yt(e) {
@@ -112,7 +112,7 @@ function yt(e) {
112
112
  function Ee() {
113
113
  return yt(" ");
114
114
  }
115
- function cs() {
115
+ function ds() {
116
116
  return yt("");
117
117
  }
118
118
  function xt(e, t, r, i) {
@@ -125,17 +125,17 @@ function fe(e, t, r) {
125
125
  const i = t.toLowerCase();
126
126
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ee(e, t, r);
127
127
  }
128
- function zr(e) {
128
+ function Wr(e) {
129
129
  return Array.from(e.childNodes);
130
130
  }
131
- function Xr(e, t) {
131
+ function qr(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
135
  function Se(e, t, r) {
136
136
  e.classList.toggle(t, !!r);
137
137
  }
138
- function Wr(e) {
138
+ function Yr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -148,20 +148,20 @@ let De;
148
148
  function Ce(e) {
149
149
  De = e;
150
150
  }
151
- function qr() {
151
+ function Zr() {
152
152
  if (!De)
153
153
  throw new Error("Function called outside component initialization");
154
154
  return De;
155
155
  }
156
- function ds(e) {
157
- qr().$$.on_mount.push(e);
156
+ function ms(e) {
157
+ Zr().$$.on_mount.push(e);
158
158
  }
159
159
  const _e = [], at = [];
160
160
  let we = [];
161
- const At = [], Yr = /* @__PURE__ */ Promise.resolve();
161
+ const Bt = [], Jr = /* @__PURE__ */ Promise.resolve();
162
162
  let ut = !1;
163
- function Zr() {
164
- ut || (ut = !0, Yr.then(re));
163
+ function Qr() {
164
+ ut || (ut = !0, Jr.then(re));
165
165
  }
166
166
  function lt(e) {
167
167
  we.push(e);
@@ -176,7 +176,7 @@ function re() {
176
176
  try {
177
177
  for (; ye < _e.length; ) {
178
178
  const t = _e[ye];
179
- ye++, Ce(t), Jr(t.$$);
179
+ ye++, Ce(t), Kr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw _e.length = 0, ye = 0, t;
@@ -189,43 +189,43 @@ function re() {
189
189
  }
190
190
  we.length = 0;
191
191
  } while (_e.length);
192
- for (; At.length; )
193
- At.pop()();
192
+ for (; Bt.length; )
193
+ Bt.pop()();
194
194
  ut = !1, et.clear(), Ce(e);
195
195
  }
196
- function Jr(e) {
196
+ function Kr(e) {
197
197
  if (e.fragment !== null) {
198
198
  e.update(), Ne(e.before_update);
199
199
  const t = e.dirty;
200
200
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
201
201
  }
202
202
  }
203
- function Qr(e) {
203
+ function ei(e) {
204
204
  const t = [], r = [];
205
205
  we.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), we = t;
206
206
  }
207
- const Kr = /* @__PURE__ */ new Set();
208
- function ei(e, t) {
209
- e && e.i && (Kr.delete(e), e.i(t));
207
+ const ti = /* @__PURE__ */ new Set();
208
+ function ri(e, t) {
209
+ e && e.i && (ti.delete(e), e.i(t));
210
210
  }
211
- function $t(e) {
211
+ function Mt(e) {
212
212
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
213
213
  }
214
- function ti(e, t, r) {
214
+ function ii(e, t, r) {
215
215
  const { fragment: i, after_update: n } = e.$$;
216
216
  i && i.m(t, r), lt(() => {
217
- const s = e.$$.on_mount.map(Kt).filter(bt);
217
+ const s = e.$$.on_mount.map(tr).filter(bt);
218
218
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ne(s), e.$$.on_mount = [];
219
219
  }), n.forEach(lt);
220
220
  }
221
- function ri(e, t) {
221
+ function ni(e, t) {
222
222
  const r = e.$$;
223
- r.fragment !== null && (Qr(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
223
+ r.fragment !== null && (ei(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
224
224
  }
225
- function ii(e, t) {
226
- e.$$.dirty[0] === -1 && (_e.push(e), Zr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ function si(e, t) {
226
+ e.$$.dirty[0] === -1 && (_e.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
- function ni(e, t, r, i, n, s, a = null, l = [-1]) {
228
+ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
229
229
  const o = De;
230
230
  Ce(e);
231
231
  const u = e.$$ = {
@@ -235,7 +235,7 @@ function ni(e, t, r, i, n, s, a = null, l = [-1]) {
235
235
  props: s,
236
236
  update: K,
237
237
  not_equal: n,
238
- bound: Pt(),
238
+ bound: $t(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,7 +244,7 @@ function ni(e, t, r, i, n, s, a = null, l = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (o ? o.$$.context : [])),
246
246
  // everything else
247
- callbacks: Pt(),
247
+ callbacks: $t(),
248
248
  dirty: l,
249
249
  skip_bound: !1,
250
250
  root: t.target || o.$$.root
@@ -253,19 +253,19 @@ function ni(e, t, r, i, n, s, a = null, l = [-1]) {
253
253
  let h = !1;
254
254
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
255
255
  const H = E.length ? E[0] : m;
256
- return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && ii(e, c)), m;
256
+ return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && si(e, c)), m;
257
257
  }) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
- const c = zr(t.target);
259
+ const c = Wr(t.target);
260
260
  u.fragment && u.fragment.l(c), c.forEach(ne);
261
261
  } else
262
262
  u.fragment && u.fragment.c();
263
- t.intro && ei(e.$$.fragment), ti(e, t.target, t.anchor), re();
263
+ t.intro && ri(e.$$.fragment), ii(e, t.target, t.anchor), re();
264
264
  }
265
265
  Ce(o);
266
266
  }
267
- let rr;
268
- typeof HTMLElement == "function" && (rr = class extends HTMLElement {
267
+ let nr;
268
+ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
269
269
  constructor(t, r, i) {
270
270
  super();
271
271
  /** The Svelte component constructor */
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
302
302
  }
303
303
  }
304
304
  connectedCallback() {
305
- return Ot(this, null, function* () {
305
+ return At(this, null, function* () {
306
306
  if (this.$$cn = !0, !this.$$c) {
307
307
  let t = function(s) {
308
308
  return () => {
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
326
326
  };
327
327
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
328
328
  return;
329
- const r = {}, i = Wr(this);
329
+ const r = {}, i = Yr(this);
330
330
  for (const s of this.$$s)
331
331
  s in i && (r[s] = [t(s)]);
332
332
  for (const s of this.attributes) {
@@ -337,7 +337,7 @@ typeof HTMLElement == "function" && (rr = class extends HTMLElement {
337
337
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
338
338
  this.$$c = new this.$$ctor({
339
339
  target: this.shadowRoot || this,
340
- props: Ht(Tt({}, this.$$d), {
340
+ props: Pt(Ot({}, this.$$d), {
341
341
  $$slots: r,
342
342
  $$scope: {
343
343
  ctx: []
@@ -415,8 +415,8 @@ function Ge(e, t, r, i) {
415
415
  return t;
416
416
  }
417
417
  }
418
- function si(e, t, r, i, n, s) {
419
- let a = class extends rr {
418
+ function ai(e, t, r, i, n, s) {
419
+ let a = class extends nr {
420
420
  constructor() {
421
421
  super(e, r, n), this.$$p_d = t;
422
422
  }
@@ -446,7 +446,7 @@ function si(e, t, r, i, n, s) {
446
446
  }), e.element = /** @type {any} */
447
447
  a, a;
448
448
  }
449
- class oi {
449
+ class ui {
450
450
  constructor() {
451
451
  /**
452
452
  * ### PRIVATE API
@@ -467,7 +467,7 @@ class oi {
467
467
  }
468
468
  /** @returns {void} */
469
469
  $destroy() {
470
- ri(this, 1), this.$destroy = K;
470
+ ni(this, 1), this.$destroy = K;
471
471
  }
472
472
  /**
473
473
  * @template {Extract<keyof Events, string>} K
@@ -489,13 +489,13 @@ class oi {
489
489
  * @returns {void}
490
490
  */
491
491
  $set(t) {
492
- this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
493
  }
494
494
  }
495
- const ai = "4";
496
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ai);
495
+ const li = "4";
496
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(li);
497
497
  const xe = [];
498
- function ui(e, t) {
498
+ function hi(e, t) {
499
499
  return {
500
500
  subscribe: Ye(e, t).subscribe
501
501
  };
@@ -504,7 +504,7 @@ function Ye(e, t = K) {
504
504
  let r;
505
505
  const i = /* @__PURE__ */ new Set();
506
506
  function n(l) {
507
- if (er(e, l) && (e = l, r)) {
507
+ if (rr(e, l) && (e = l, r)) {
508
508
  const o = !xe.length;
509
509
  for (const u of i)
510
510
  u[1](), xe.push(u, e);
@@ -531,7 +531,7 @@ function Ae(e, t, r) {
531
531
  if (!n.every(Boolean))
532
532
  throw new Error("derived() expects stores as input, got a falsy value");
533
533
  const s = t.length < 2;
534
- return ui(r, (a, l) => {
534
+ return hi(r, (a, l) => {
535
535
  let o = !1;
536
536
  const u = [];
537
537
  let h = 0, c = K;
@@ -542,7 +542,7 @@ function Ae(e, t, r) {
542
542
  const H = t(i ? u[0] : u, a, l);
543
543
  s ? a(H) : c = bt(H) ? H : K;
544
544
  }, E = n.map(
545
- (H, v) => tr(
545
+ (H, v) => ir(
546
546
  H,
547
547
  ($) => {
548
548
  u[v] = $, h &= ~(1 << v), o && m();
@@ -557,71 +557,71 @@ function Ae(e, t, r) {
557
557
  };
558
558
  });
559
559
  }
560
- var ir = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
560
+ var sr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
561
561
  function _t(e) {
562
562
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
563
563
  }
564
- var li = function(t) {
565
- return hi(t) && !fi(t);
564
+ var fi = function(t) {
565
+ return ci(t) && !di(t);
566
566
  };
567
- function hi(e) {
567
+ function ci(e) {
568
568
  return !!e && typeof e == "object";
569
569
  }
570
- function fi(e) {
570
+ function di(e) {
571
571
  var t = Object.prototype.toString.call(e);
572
- return t === "[object RegExp]" || t === "[object Date]" || mi(e);
572
+ return t === "[object RegExp]" || t === "[object Date]" || gi(e);
573
573
  }
574
- var ci = typeof Symbol == "function" && Symbol.for, di = ci ? Symbol.for("react.element") : 60103;
575
- function mi(e) {
576
- return e.$$typeof === di;
574
+ var mi = typeof Symbol == "function" && Symbol.for, pi = mi ? Symbol.for("react.element") : 60103;
575
+ function gi(e) {
576
+ return e.$$typeof === pi;
577
577
  }
578
- function pi(e) {
578
+ function vi(e) {
579
579
  return Array.isArray(e) ? [] : {};
580
580
  }
581
581
  function Ie(e, t) {
582
- return t.clone !== !1 && t.isMergeableObject(e) ? Te(pi(e), e, t) : e;
582
+ return t.clone !== !1 && t.isMergeableObject(e) ? Te(vi(e), e, t) : e;
583
583
  }
584
- function gi(e, t, r) {
584
+ function bi(e, t, r) {
585
585
  return e.concat(t).map(function(i) {
586
586
  return Ie(i, r);
587
587
  });
588
588
  }
589
- function vi(e, t) {
589
+ function yi(e, t) {
590
590
  if (!t.customMerge)
591
591
  return Te;
592
592
  var r = t.customMerge(e);
593
593
  return typeof r == "function" ? r : Te;
594
594
  }
595
- function bi(e) {
595
+ function xi(e) {
596
596
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
597
597
  return Object.propertyIsEnumerable.call(e, t);
598
598
  }) : [];
599
599
  }
600
- function Bt(e) {
601
- return Object.keys(e).concat(bi(e));
600
+ function Ct(e) {
601
+ return Object.keys(e).concat(xi(e));
602
602
  }
603
- function nr(e, t) {
603
+ function or(e, t) {
604
604
  try {
605
605
  return t in e;
606
606
  } catch (r) {
607
607
  return !1;
608
608
  }
609
609
  }
610
- function yi(e, t) {
611
- return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
610
+ function _i(e, t) {
611
+ return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
612
612
  }
613
- function xi(e, t, r) {
613
+ function Ei(e, t, r) {
614
614
  var i = {};
615
- return r.isMergeableObject(e) && Bt(e).forEach(function(n) {
615
+ return r.isMergeableObject(e) && Ct(e).forEach(function(n) {
616
616
  i[n] = Ie(e[n], r);
617
- }), Bt(t).forEach(function(n) {
618
- yi(e, n) || (nr(e, n) && r.isMergeableObject(t[n]) ? i[n] = vi(n, r)(e[n], t[n], r) : i[n] = Ie(t[n], r));
617
+ }), Ct(t).forEach(function(n) {
618
+ _i(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = yi(n, r)(e[n], t[n], r) : i[n] = Ie(t[n], r));
619
619
  }), i;
620
620
  }
621
621
  function Te(e, t, r) {
622
- r = r || {}, r.arrayMerge = r.arrayMerge || gi, r.isMergeableObject = r.isMergeableObject || li, r.cloneUnlessOtherwiseSpecified = Ie;
622
+ r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject || fi, r.cloneUnlessOtherwiseSpecified = Ie;
623
623
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
624
- return s ? i ? r.arrayMerge(e, t, r) : xi(e, t, r) : Ie(t, r);
624
+ return s ? i ? r.arrayMerge(e, t, r) : Ei(e, t, r) : Ie(t, r);
625
625
  }
626
626
  Te.all = function(t, r) {
627
627
  if (!Array.isArray(t))
@@ -630,8 +630,8 @@ Te.all = function(t, r) {
630
630
  return Te(i, n, r);
631
631
  }, {});
632
632
  };
633
- var _i = Te, Ei = _i;
634
- const wi = /* @__PURE__ */ _t(Ei);
633
+ var wi = Te, Si = wi;
634
+ const Ti = /* @__PURE__ */ _t(Si);
635
635
  /*! *****************************************************************************
636
636
  Copyright (c) Microsoft Corporation.
637
637
 
@@ -673,7 +673,7 @@ var P = function() {
673
673
  return t;
674
674
  }, P.apply(this, arguments);
675
675
  };
676
- function Si(e, t) {
676
+ function Hi(e, t) {
677
677
  var r = {};
678
678
  for (var i in e)
679
679
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -689,53 +689,55 @@ function tt(e, t, r) {
689
689
  return e.concat(s || t);
690
690
  }
691
691
  function rt(e, t) {
692
- var r = t && t.cache ? t.cache : Bi, i = t && t.serializer ? t.serializer : Ai, n = t && t.strategy ? t.strategy : Oi;
692
+ var r = t && t.cache ? t.cache : Mi, i = t && t.serializer ? t.serializer : Bi, n = t && t.strategy ? t.strategy : Pi;
693
693
  return n(e, {
694
694
  cache: r,
695
695
  serializer: i
696
696
  });
697
697
  }
698
- function Ti(e) {
698
+ function Oi(e) {
699
699
  return e == null || typeof e == "number" || typeof e == "boolean";
700
700
  }
701
- function Hi(e, t, r, i) {
702
- var n = Ti(i) ? i : r(i), s = t.get(n);
701
+ function ar(e, t, r, i) {
702
+ var n = Oi(i) ? i : r(i), s = t.get(n);
703
703
  return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
704
704
  }
705
- function sr(e, t, r) {
705
+ function ur(e, t, r) {
706
706
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
707
707
  return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
708
708
  }
709
- function or(e, t, r, i, n) {
709
+ function Et(e, t, r, i, n) {
710
710
  return r.bind(t, e, i, n);
711
711
  }
712
- function Oi(e, t) {
713
- var r = e.length === 1 ? Hi : sr;
714
- return or(e, this, r, t.cache.create(), t.serializer);
715
- }
716
712
  function Pi(e, t) {
717
- return or(e, this, sr, t.cache.create(), t.serializer);
713
+ var r = e.length === 1 ? ar : ur;
714
+ return Et(e, this, r, t.cache.create(), t.serializer);
715
+ }
716
+ function Ai(e, t) {
717
+ return Et(e, this, ur, t.cache.create(), t.serializer);
718
718
  }
719
- var Ai = function() {
719
+ function $i(e, t) {
720
+ return Et(e, this, ar, t.cache.create(), t.serializer);
721
+ }
722
+ var Bi = function() {
720
723
  return JSON.stringify(arguments);
721
- }, $i = (
722
- /** @class */
723
- function() {
724
- function e() {
725
- this.cache = /* @__PURE__ */ Object.create(null);
726
- }
727
- return e.prototype.get = function(t) {
728
- return this.cache[t];
729
- }, e.prototype.set = function(t, r) {
730
- this.cache[t] = r;
731
- }, e;
732
- }()
733
- ), Bi = {
724
+ };
725
+ function wt() {
726
+ this.cache = /* @__PURE__ */ Object.create(null);
727
+ }
728
+ wt.prototype.get = function(e) {
729
+ return this.cache[e];
730
+ };
731
+ wt.prototype.set = function(e, t) {
732
+ this.cache[e] = t;
733
+ };
734
+ var Mi = {
734
735
  create: function() {
735
- return new $i();
736
+ return new wt();
736
737
  }
737
738
  }, it = {
738
- variadic: Pi
739
+ variadic: Ai,
740
+ monadic: $i
739
741
  }, T;
740
742
  (function(e) {
741
743
  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";
@@ -748,43 +750,43 @@ var He;
748
750
  (function(e) {
749
751
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
750
752
  })(He || (He = {}));
751
- function Mt(e) {
753
+ function Dt(e) {
752
754
  return e.type === C.literal;
753
755
  }
754
- function Mi(e) {
756
+ function Ci(e) {
755
757
  return e.type === C.argument;
756
758
  }
757
- function ar(e) {
759
+ function lr(e) {
758
760
  return e.type === C.number;
759
761
  }
760
- function ur(e) {
762
+ function hr(e) {
761
763
  return e.type === C.date;
762
764
  }
763
- function lr(e) {
765
+ function fr(e) {
764
766
  return e.type === C.time;
765
767
  }
766
- function hr(e) {
768
+ function cr(e) {
767
769
  return e.type === C.select;
768
770
  }
769
- function fr(e) {
771
+ function dr(e) {
770
772
  return e.type === C.plural;
771
773
  }
772
- function Ci(e) {
774
+ function Di(e) {
773
775
  return e.type === C.pound;
774
776
  }
775
- function cr(e) {
777
+ function mr(e) {
776
778
  return e.type === C.tag;
777
779
  }
778
- function dr(e) {
780
+ function pr(e) {
779
781
  return !!(e && typeof e == "object" && e.type === He.number);
780
782
  }
781
783
  function ft(e) {
782
784
  return !!(e && typeof e == "object" && e.type === He.dateTime);
783
785
  }
784
- var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[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;
785
- function Ii(e) {
786
+ var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
787
+ function Li(e) {
786
788
  var t = {};
787
- return e.replace(Di, function(r) {
789
+ return e.replace(Ii, function(r) {
788
790
  var i = r.length;
789
791
  switch (r[0]) {
790
792
  case "G":
@@ -873,11 +875,11 @@ function Ii(e) {
873
875
  return "";
874
876
  }), t;
875
877
  }
876
- var Li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
- function Ni(e) {
878
+ var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
879
+ function Ri(e) {
878
880
  if (e.length === 0)
879
881
  throw new Error("Number skeleton cannot be empty");
880
- for (var t = e.split(Li).filter(function(m) {
882
+ for (var t = e.split(Ni).filter(function(m) {
881
883
  return m.length > 0;
882
884
  }), r = [], i = 0, n = t; i < n.length; i++) {
883
885
  var s = n[i], a = s.split("/");
@@ -892,17 +894,17 @@ function Ni(e) {
892
894
  }
893
895
  return r;
894
896
  }
895
- function Ri(e) {
897
+ function ki(e) {
896
898
  return e.replace(/^(.*?)-/, "");
897
899
  }
898
- var Ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ki = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
899
- function Dt(e) {
900
+ var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, Ui = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
901
+ function Lt(e) {
900
902
  var t = {};
901
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, i, n) {
903
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, i, n) {
902
904
  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)), "";
903
905
  }), t;
904
906
  }
905
- function vr(e) {
907
+ function yr(e) {
906
908
  switch (e) {
907
909
  case "sign-auto":
908
910
  return {
@@ -942,7 +944,7 @@ function vr(e) {
942
944
  };
943
945
  }
944
946
  }
945
- function Ui(e) {
947
+ function Fi(e) {
946
948
  var t;
947
949
  if (e[0] === "E" && e[1] === "E" ? (t = {
948
950
  notation: "engineering"
@@ -950,17 +952,17 @@ function Ui(e) {
950
952
  notation: "scientific"
951
953
  }, e = e.slice(1)), t) {
952
954
  var r = e.slice(0, 2);
953
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
955
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !br.test(e))
954
956
  throw new Error("Malformed concise eng/scientific notation");
955
957
  t.minimumIntegerDigits = e.length;
956
958
  }
957
959
  return t;
958
960
  }
959
- function It(e) {
960
- var t = {}, r = vr(e);
961
+ function Nt(e) {
962
+ var t = {}, r = yr(e);
961
963
  return r || t;
962
964
  }
963
- function Fi(e) {
965
+ function Vi(e) {
964
966
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
965
967
  var n = i[r];
966
968
  switch (n.stem) {
@@ -984,7 +986,7 @@ function Fi(e) {
984
986
  continue;
985
987
  case "measure-unit":
986
988
  case "unit":
987
- t.style = "unit", t.unit = Ri(n.options[0]);
989
+ t.style = "unit", t.unit = ki(n.options[0]);
988
990
  continue;
989
991
  case "compact-short":
990
992
  case "K":
@@ -996,12 +998,12 @@ function Fi(e) {
996
998
  continue;
997
999
  case "scientific":
998
1000
  t = P(P(P({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
999
- return P(P({}, o), It(u));
1001
+ return P(P({}, o), Nt(u));
1000
1002
  }, {}));
1001
1003
  continue;
1002
1004
  case "engineering":
1003
1005
  t = P(P(P({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
1004
- return P(P({}, o), It(u));
1006
+ return P(P({}, o), Nt(u));
1005
1007
  }, {}));
1006
1008
  continue;
1007
1009
  case "notation-simple":
@@ -1046,7 +1048,7 @@ function Fi(e) {
1046
1048
  case "integer-width":
1047
1049
  if (n.options.length > 1)
1048
1050
  throw new RangeError("integer-width stems only accept a single optional option");
1049
- n.options[0].replace(ki, function(o, u, h, c, m, E) {
1051
+ n.options[0].replace(Ui, function(o, u, h, c, m, E) {
1050
1052
  if (u)
1051
1053
  t.minimumIntegerDigits = h.length;
1052
1054
  else {
@@ -1059,27 +1061,27 @@ function Fi(e) {
1059
1061
  });
1060
1062
  continue;
1061
1063
  }
1062
- if (gr.test(n.stem)) {
1064
+ if (br.test(n.stem)) {
1063
1065
  t.minimumIntegerDigits = n.stem.length;
1064
1066
  continue;
1065
1067
  }
1066
- if (Ct.test(n.stem)) {
1068
+ if (It.test(n.stem)) {
1067
1069
  if (n.options.length > 1)
1068
1070
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1069
- n.stem.replace(Ct, function(o, u, h, c, m, E) {
1071
+ n.stem.replace(It, function(o, u, h, c, m, E) {
1070
1072
  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), "";
1071
1073
  });
1072
1074
  var s = n.options[0];
1073
- s === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), Dt(s)));
1075
+ s === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), Lt(s)));
1074
1076
  continue;
1075
1077
  }
1076
- if (pr.test(n.stem)) {
1077
- t = P(P({}, t), Dt(n.stem));
1078
+ if (vr.test(n.stem)) {
1079
+ t = P(P({}, t), Lt(n.stem));
1078
1080
  continue;
1079
1081
  }
1080
- var a = vr(n.stem);
1082
+ var a = yr(n.stem);
1081
1083
  a && (t = P(P({}, t), a));
1082
- var l = Ui(n.stem);
1084
+ var l = Fi(n.stem);
1083
1085
  l && (t = P(P({}, t), l));
1084
1086
  }
1085
1087
  return t;
@@ -2499,13 +2501,13 @@ var Ve = {
2499
2501
  "h"
2500
2502
  ]
2501
2503
  };
2502
- function Vi(e, t) {
2504
+ function Gi(e, t) {
2503
2505
  for (var r = "", i = 0; i < e.length; i++) {
2504
2506
  var n = e.charAt(i);
2505
2507
  if (n === "j") {
2506
2508
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2507
2509
  s++, i++;
2508
- var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Gi(t);
2510
+ var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = ji(t);
2509
2511
  for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2510
2512
  r += o;
2511
2513
  for (; a-- > 0; )
@@ -2515,7 +2517,7 @@ function Vi(e, t) {
2515
2517
  }
2516
2518
  return r;
2517
2519
  }
2518
- function Gi(e) {
2520
+ function ji(e) {
2519
2521
  var t = e.hourCycle;
2520
2522
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2521
2523
  e.hourCycles && // @ts-ignore
@@ -2537,20 +2539,20 @@ function Gi(e) {
2537
2539
  var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
2538
2540
  return n[0];
2539
2541
  }
2540
- var nt, ji = new RegExp("^".concat(mr.source, "*")), zi = new RegExp("".concat(mr.source, "*$"));
2542
+ var nt, zi = new RegExp("^".concat(gr.source, "*")), Xi = new RegExp("".concat(gr.source, "*$"));
2541
2543
  function O(e, t) {
2542
2544
  return { start: e, end: t };
2543
2545
  }
2544
- var Xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wi = !!String.fromCodePoint, qi = !!Object.fromEntries, Yi = !!String.prototype.codePointAt, Zi = !!String.prototype.trimStart, Ji = !!String.prototype.trimEnd, Qi = !!Number.isSafeInteger, Ki = Qi ? Number.isSafeInteger : function(e) {
2546
+ var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), qi = !!String.fromCodePoint, Yi = !!Object.fromEntries, Zi = !!String.prototype.codePointAt, Ji = !!String.prototype.trimStart, Qi = !!String.prototype.trimEnd, Ki = !!Number.isSafeInteger, en = Ki ? Number.isSafeInteger : function(e) {
2545
2547
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2546
2548
  }, ct = !0;
2547
2549
  try {
2548
- var en = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
- ct = ((nt = en.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2550
+ var tn = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2551
+ ct = ((nt = tn.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2550
2552
  } catch (e) {
2551
2553
  ct = !1;
2552
2554
  }
2553
- var Lt = Xi ? (
2555
+ var Rt = Wi ? (
2554
2556
  // Native
2555
2557
  function(t, r, i) {
2556
2558
  return t.startsWith(r, i);
@@ -2560,7 +2562,7 @@ var Lt = Xi ? (
2560
2562
  function(t, r, i) {
2561
2563
  return t.slice(i, i + r.length) === r;
2562
2564
  }
2563
- ), dt = Wi ? String.fromCodePoint : (
2565
+ ), dt = qi ? String.fromCodePoint : (
2564
2566
  // IE11
2565
2567
  function() {
2566
2568
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2572,9 +2574,9 @@ var Lt = Xi ? (
2572
2574
  }
2573
2575
  return i;
2574
2576
  }
2575
- ), Nt = (
2577
+ ), kt = (
2576
2578
  // native
2577
- qi ? Object.fromEntries : (
2579
+ Yi ? Object.fromEntries : (
2578
2580
  // Ponyfill
2579
2581
  function(t) {
2580
2582
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2584,7 +2586,7 @@ var Lt = Xi ? (
2584
2586
  return r;
2585
2587
  }
2586
2588
  )
2587
- ), br = Yi ? (
2589
+ ), xr = Zi ? (
2588
2590
  // Native
2589
2591
  function(t, r) {
2590
2592
  return t.codePointAt(r);
@@ -2598,7 +2600,7 @@ var Lt = Xi ? (
2598
2600
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2599
2601
  }
2600
2602
  }
2601
- ), tn = Zi ? (
2603
+ ), rn = Ji ? (
2602
2604
  // Native
2603
2605
  function(t) {
2604
2606
  return t.trimStart();
@@ -2606,9 +2608,9 @@ var Lt = Xi ? (
2606
2608
  ) : (
2607
2609
  // Ponyfill
2608
2610
  function(t) {
2609
- return t.replace(ji, "");
2611
+ return t.replace(zi, "");
2610
2612
  }
2611
- ), rn = Ji ? (
2613
+ ), nn = Qi ? (
2612
2614
  // Native
2613
2615
  function(t) {
2614
2616
  return t.trimEnd();
@@ -2616,32 +2618,32 @@ var Lt = Xi ? (
2616
2618
  ) : (
2617
2619
  // Ponyfill
2618
2620
  function(t) {
2619
- return t.replace(zi, "");
2621
+ return t.replace(Xi, "");
2620
2622
  }
2621
2623
  );
2622
- function yr(e, t) {
2624
+ function _r(e, t) {
2623
2625
  return new RegExp(e, t);
2624
2626
  }
2625
2627
  var mt;
2626
2628
  if (ct) {
2627
- var Rt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2629
+ var Ut = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
2630
  mt = function(t, r) {
2629
2631
  var i;
2630
- Rt.lastIndex = r;
2631
- var n = Rt.exec(t);
2632
+ Ut.lastIndex = r;
2633
+ var n = Ut.exec(t);
2632
2634
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2633
2635
  };
2634
2636
  } else
2635
2637
  mt = function(t, r) {
2636
2638
  for (var i = []; ; ) {
2637
- var n = br(t, r);
2638
- if (n === void 0 || xr(n) || an(n))
2639
+ var n = xr(t, r);
2640
+ if (n === void 0 || Er(n) || un(n))
2639
2641
  break;
2640
2642
  i.push(n), r += n >= 65536 ? 2 : 1;
2641
2643
  }
2642
2644
  return dt.apply(void 0, i);
2643
2645
  };
2644
- var nn = (
2646
+ var sn = (
2645
2647
  /** @class */
2646
2648
  function() {
2647
2649
  function e(t, r) {
@@ -2723,7 +2725,7 @@ var nn = (
2723
2725
  return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
2724
2726
  }, e.prototype.parseTagName = function() {
2725
2727
  var t = this.offset();
2726
- for (this.bump(); !this.isEOF() && on(this.char()); )
2728
+ for (this.bump(); !this.isEOF() && an(this.char()); )
2727
2729
  this.bump();
2728
2730
  return this.message.slice(t, this.offset());
2729
2731
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2752,7 +2754,7 @@ var nn = (
2752
2754
  };
2753
2755
  }, e.prototype.tryParseLeftAngleBracket = function() {
2754
2756
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2755
- !sn(this.peek() || 0)) ? (this.bump(), "<") : null;
2757
+ !on(this.peek() || 0)) ? (this.bump(), "<") : null;
2756
2758
  }, e.prototype.tryParseQuote = function(t) {
2757
2759
  if (this.isEOF() || this.char() !== 39)
2758
2760
  return null;
@@ -2839,7 +2841,7 @@ var nn = (
2839
2841
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2840
2842
  if (c.err)
2841
2843
  return c;
2842
- var m = rn(c.val);
2844
+ var m = nn(c.val);
2843
2845
  if (m.length === 0)
2844
2846
  return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2845
2847
  var E = O(h, this.clonePosition());
@@ -2849,8 +2851,8 @@ var nn = (
2849
2851
  if (H.err)
2850
2852
  return H;
2851
2853
  var v = O(n, this.clonePosition());
2852
- if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
2853
- var $ = tn(u.style.slice(2));
2854
+ if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
2855
+ var $ = rn(u.style.slice(2));
2854
2856
  if (l === "number") {
2855
2857
  var c = this.parseNumberSkeletonFromString($, u.styleLocation);
2856
2858
  return c.err ? c : {
@@ -2861,12 +2863,12 @@ var nn = (
2861
2863
  if ($.length === 0)
2862
2864
  return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2863
2865
  var G = $;
2864
- this.locale && (G = Vi($, this.locale));
2866
+ this.locale && (G = Gi($, this.locale));
2865
2867
  var m = {
2866
2868
  type: He.dateTime,
2867
2869
  pattern: G,
2868
2870
  location: u.styleLocation,
2869
- parsedOptions: this.shouldParseSkeletons ? Ii(G) : {}
2871
+ parsedOptions: this.shouldParseSkeletons ? Li(G) : {}
2870
2872
  }, U = l === "date" ? C.date : C.time;
2871
2873
  return {
2872
2874
  val: { type: U, value: i, location: v, style: m },
@@ -2912,7 +2914,7 @@ var nn = (
2912
2914
  val: {
2913
2915
  type: C.select,
2914
2916
  value: i,
2915
- options: Nt(L.val),
2917
+ options: kt(L.val),
2916
2918
  location: Y
2917
2919
  },
2918
2920
  err: null
@@ -2920,7 +2922,7 @@ var nn = (
2920
2922
  val: {
2921
2923
  type: C.plural,
2922
2924
  value: i,
2923
- options: Nt(L.val),
2925
+ options: kt(L.val),
2924
2926
  offset: I,
2925
2927
  pluralType: l === "plural" ? "cardinal" : "ordinal",
2926
2928
  location: Y
@@ -2971,7 +2973,7 @@ var nn = (
2971
2973
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2972
2974
  var i = [];
2973
2975
  try {
2974
- i = Ni(t);
2976
+ i = Ri(t);
2975
2977
  } catch (n) {
2976
2978
  return this.error(T.INVALID_NUMBER_SKELETON, r);
2977
2979
  }
@@ -2980,7 +2982,7 @@ var nn = (
2980
2982
  type: He.number,
2981
2983
  tokens: i,
2982
2984
  location: r,
2983
- parsedOptions: this.shouldParseSkeletons ? Fi(i) : {}
2985
+ parsedOptions: this.shouldParseSkeletons ? Vi(i) : {}
2984
2986
  },
2985
2987
  err: null
2986
2988
  };
@@ -3028,7 +3030,7 @@ var nn = (
3028
3030
  break;
3029
3031
  }
3030
3032
  var o = O(n, this.clonePosition());
3031
- return s ? (a *= i, Ki(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
3033
+ return s ? (a *= i, en(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
3032
3034
  }, e.prototype.offset = function() {
3033
3035
  return this.position.offset;
3034
3036
  }, e.prototype.isEOF = function() {
@@ -3043,7 +3045,7 @@ var nn = (
3043
3045
  var t = this.position.offset;
3044
3046
  if (t >= this.message.length)
3045
3047
  throw Error("out of bound");
3046
- var r = br(this.message, t);
3048
+ var r = xr(this.message, t);
3047
3049
  if (r === void 0)
3048
3050
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3049
3051
  return r;
@@ -3062,7 +3064,7 @@ var nn = (
3062
3064
  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);
3063
3065
  }
3064
3066
  }, e.prototype.bumpIf = function(t) {
3065
- if (Lt(this.message, t, this.offset())) {
3067
+ if (Rt(this.message, t, this.offset())) {
3066
3068
  for (var r = 0; r < t.length; r++)
3067
3069
  this.bump();
3068
3070
  return !0;
@@ -3084,7 +3086,7 @@ var nn = (
3084
3086
  break;
3085
3087
  }
3086
3088
  }, e.prototype.bumpSpace = function() {
3087
- for (; !this.isEOF() && xr(this.char()); )
3089
+ for (; !this.isEOF() && Er(this.char()); )
3088
3090
  this.bump();
3089
3091
  }, e.prototype.peek = function() {
3090
3092
  if (this.isEOF())
@@ -3097,30 +3099,30 @@ var nn = (
3097
3099
  function pt(e) {
3098
3100
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3099
3101
  }
3100
- function sn(e) {
3102
+ function on(e) {
3101
3103
  return pt(e) || e === 47;
3102
3104
  }
3103
- function on(e) {
3105
+ function an(e) {
3104
3106
  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;
3105
3107
  }
3106
- function xr(e) {
3108
+ function Er(e) {
3107
3109
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3108
3110
  }
3109
- function an(e) {
3111
+ function un(e) {
3110
3112
  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;
3111
3113
  }
3112
3114
  function gt(e) {
3113
3115
  e.forEach(function(t) {
3114
- if (delete t.location, hr(t) || fr(t))
3116
+ if (delete t.location, cr(t) || dr(t))
3115
3117
  for (var r in t.options)
3116
3118
  delete t.options[r].location, gt(t.options[r].value);
3117
3119
  else
3118
- ar(t) && dr(t.style) || (ur(t) || lr(t)) && ft(t.style) ? delete t.style.location : cr(t) && gt(t.children);
3120
+ lr(t) && pr(t.style) || (hr(t) || fr(t)) && ft(t.style) ? delete t.style.location : mr(t) && gt(t.children);
3119
3121
  });
3120
3122
  }
3121
- function un(e, t) {
3123
+ function ln(e, t) {
3122
3124
  t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
- var r = new nn(e, t).parse();
3125
+ var r = new sn(e, t).parse();
3124
3126
  if (r.err) {
3125
3127
  var i = SyntaxError(T[r.err.kind]);
3126
3128
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
@@ -3143,7 +3145,7 @@ var Je = (
3143
3145
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3144
3146
  }, t;
3145
3147
  }(Error)
3146
- ), kt = (
3148
+ ), Ft = (
3147
3149
  /** @class */
3148
3150
  function(e) {
3149
3151
  Ze(t, e);
@@ -3152,7 +3154,7 @@ var Je = (
3152
3154
  }
3153
3155
  return t;
3154
3156
  }(Je)
3155
- ), ln = (
3157
+ ), hn = (
3156
3158
  /** @class */
3157
3159
  function(e) {
3158
3160
  Ze(t, e);
@@ -3161,7 +3163,7 @@ var Je = (
3161
3163
  }
3162
3164
  return t;
3163
3165
  }(Je)
3164
- ), hn = (
3166
+ ), fn = (
3165
3167
  /** @class */
3166
3168
  function(e) {
3167
3169
  Ze(t, e);
@@ -3174,17 +3176,17 @@ var Je = (
3174
3176
  (function(e) {
3175
3177
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3176
3178
  })(z || (z = {}));
3177
- function fn(e) {
3179
+ function cn(e) {
3178
3180
  return e.length < 2 ? e : e.reduce(function(t, r) {
3179
3181
  var i = t[t.length - 1];
3180
3182
  return !i || i.type !== z.literal || r.type !== z.literal ? t.push(r) : i.value += r.value, t;
3181
3183
  }, []);
3182
3184
  }
3183
- function cn(e) {
3185
+ function dn(e) {
3184
3186
  return typeof e == "function";
3185
3187
  }
3186
3188
  function je(e, t, r, i, n, s, a) {
3187
- if (e.length === 1 && Mt(e[0]))
3189
+ if (e.length === 1 && Dt(e[0]))
3188
3190
  return [
3189
3191
  {
3190
3192
  type: z.literal,
@@ -3193,14 +3195,14 @@ function je(e, t, r, i, n, s, a) {
3193
3195
  ];
3194
3196
  for (var l = [], o = 0, u = e; o < u.length; o++) {
3195
3197
  var h = u[o];
3196
- if (Mt(h)) {
3198
+ if (Dt(h)) {
3197
3199
  l.push({
3198
3200
  type: z.literal,
3199
3201
  value: h.value
3200
3202
  });
3201
3203
  continue;
3202
3204
  }
3203
- if (Ci(h)) {
3205
+ if (Di(h)) {
3204
3206
  typeof s == "number" && l.push({
3205
3207
  type: z.literal,
3206
3208
  value: r.getNumberFormat(t).format(s)
@@ -3209,16 +3211,16 @@ function je(e, t, r, i, n, s, a) {
3209
3211
  }
3210
3212
  var c = h.value;
3211
3213
  if (!(n && c in n))
3212
- throw new hn(c, a);
3214
+ throw new fn(c, a);
3213
3215
  var m = n[c];
3214
- if (Mi(h)) {
3216
+ if (Ci(h)) {
3215
3217
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
3216
3218
  type: typeof m == "string" ? z.literal : z.object,
3217
3219
  value: m
3218
3220
  });
3219
3221
  continue;
3220
3222
  }
3221
- if (ur(h)) {
3223
+ if (hr(h)) {
3222
3224
  var E = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3223
3225
  l.push({
3224
3226
  type: z.literal,
@@ -3226,7 +3228,7 @@ function je(e, t, r, i, n, s, a) {
3226
3228
  });
3227
3229
  continue;
3228
3230
  }
3229
- if (lr(h)) {
3231
+ if (fr(h)) {
3230
3232
  var E = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3231
3233
  l.push({
3232
3234
  type: z.literal,
@@ -3234,18 +3236,18 @@ function je(e, t, r, i, n, s, a) {
3234
3236
  });
3235
3237
  continue;
3236
3238
  }
3237
- if (ar(h)) {
3238
- var E = typeof h.style == "string" ? i.number[h.style] : dr(h.style) ? h.style.parsedOptions : void 0;
3239
+ if (lr(h)) {
3240
+ var E = typeof h.style == "string" ? i.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
3239
3241
  E && E.scale && (m = m * (E.scale || 1)), l.push({
3240
3242
  type: z.literal,
3241
3243
  value: r.getNumberFormat(t, E).format(m)
3242
3244
  });
3243
3245
  continue;
3244
3246
  }
3245
- if (cr(h)) {
3247
+ if (mr(h)) {
3246
3248
  var H = h.children, v = h.value, $ = n[v];
3247
- if (!cn($))
3248
- throw new ln(v, "function", a);
3249
+ if (!dn($))
3250
+ throw new hn(v, "function", a);
3249
3251
  var G = je(H, t, r, i, n, s), U = $(G.map(function(I) {
3250
3252
  return I.value;
3251
3253
  }));
@@ -3256,14 +3258,14 @@ function je(e, t, r, i, n, s, a) {
3256
3258
  };
3257
3259
  }));
3258
3260
  }
3259
- if (hr(h)) {
3261
+ if (cr(h)) {
3260
3262
  var B = h.options[m] || h.options.other;
3261
3263
  if (!B)
3262
- throw new kt(h.value, m, Object.keys(h.options), a);
3264
+ throw new Ft(h.value, m, Object.keys(h.options), a);
3263
3265
  l.push.apply(l, je(B.value, t, r, i, n));
3264
3266
  continue;
3265
3267
  }
3266
- if (fr(h)) {
3268
+ if (dr(h)) {
3267
3269
  var B = h.options["=".concat(m)];
3268
3270
  if (!B) {
3269
3271
  if (!Intl.PluralRules)
@@ -3274,21 +3276,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3274
3276
  B = h.options[X] || h.options.other;
3275
3277
  }
3276
3278
  if (!B)
3277
- throw new kt(h.value, m, Object.keys(h.options), a);
3279
+ throw new Ft(h.value, m, Object.keys(h.options), a);
3278
3280
  l.push.apply(l, je(B.value, t, r, i, n, m - (h.offset || 0)));
3279
3281
  continue;
3280
3282
  }
3281
3283
  }
3282
- return fn(l);
3284
+ return cn(l);
3283
3285
  }
3284
- function dn(e, t) {
3286
+ function mn(e, t) {
3285
3287
  return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3286
3288
  return r[i] = P(P({}, e[i]), t[i] || {}), r;
3287
3289
  }, {})) : e;
3288
3290
  }
3289
- function mn(e, t) {
3291
+ function pn(e, t) {
3290
3292
  return t ? Object.keys(e).reduce(function(r, i) {
3291
- return r[i] = dn(e[i], t[i]), r;
3293
+ return r[i] = mn(e[i], t[i]), r;
3292
3294
  }, P({}, e)) : e;
3293
3295
  }
3294
3296
  function st(e) {
@@ -3305,7 +3307,7 @@ function st(e) {
3305
3307
  }
3306
3308
  };
3307
3309
  }
3308
- function pn(e) {
3310
+ function gn(e) {
3309
3311
  return e === void 0 && (e = {
3310
3312
  number: {},
3311
3313
  dateTime: {},
@@ -3337,7 +3339,7 @@ function pn(e) {
3337
3339
  })
3338
3340
  };
3339
3341
  }
3340
- var _r = (
3342
+ var wr = (
3341
3343
  /** @class */
3342
3344
  function() {
3343
3345
  function e(t, r, i, n) {
@@ -3369,13 +3371,13 @@ var _r = (
3369
3371
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3370
3372
  var a = n || {};
3371
3373
  a.formatters;
3372
- var l = Si(a, ["formatters"]);
3374
+ var l = Hi(a, ["formatters"]);
3373
3375
  this.ast = e.__parse(t, P(P({}, l), { locale: this.resolvedLocale }));
3374
3376
  } else
3375
3377
  this.ast = t;
3376
3378
  if (!Array.isArray(this.ast))
3377
3379
  throw new TypeError("A message must be provided as a String or AST.");
3378
- this.formats = mn(e.formats, i), this.formatters = n && n.formatters || pn(this.formatterCache);
3380
+ this.formats = pn(e.formats, i), this.formatters = n && n.formatters || gn(this.formatterCache);
3379
3381
  }
3380
3382
  return Object.defineProperty(e, "defaultLocale", {
3381
3383
  get: function() {
@@ -3388,7 +3390,7 @@ var _r = (
3388
3390
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3389
3391
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3390
3392
  }
3391
- }, e.__parse = un, e.formats = {
3393
+ }, e.__parse = ln, e.formats = {
3392
3394
  number: {
3393
3395
  integer: {
3394
3396
  maximumFractionDigits: 0
@@ -3449,7 +3451,7 @@ var _r = (
3449
3451
  }, e;
3450
3452
  }()
3451
3453
  );
3452
- function gn(e, t) {
3454
+ function vn(e, t) {
3453
3455
  if (t == null)
3454
3456
  return;
3455
3457
  if (t in e)
@@ -3470,60 +3472,60 @@ function gn(e, t) {
3470
3472
  i = void 0;
3471
3473
  return i;
3472
3474
  }
3473
- const ce = {}, vn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Er = (e, t) => {
3475
+ const ce = {}, bn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Sr = (e, t) => {
3474
3476
  if (t == null)
3475
3477
  return;
3476
3478
  if (t in ce && e in ce[t])
3477
3479
  return ce[t][e];
3478
3480
  const r = ke(t);
3479
3481
  for (let i = 0; i < r.length; i++) {
3480
- const n = r[i], s = yn(n, e);
3482
+ const n = r[i], s = xn(n, e);
3481
3483
  if (s)
3482
- return vn(e, t, s);
3484
+ return bn(e, t, s);
3483
3485
  }
3484
3486
  };
3485
- let Et;
3487
+ let St;
3486
3488
  const Re = Ye({});
3487
- function bn(e) {
3488
- return Et[e] || null;
3489
+ function yn(e) {
3490
+ return St[e] || null;
3489
3491
  }
3490
- function wr(e) {
3491
- return e in Et;
3492
+ function Tr(e) {
3493
+ return e in St;
3492
3494
  }
3493
- function yn(e, t) {
3494
- if (!wr(e))
3495
+ function xn(e, t) {
3496
+ if (!Tr(e))
3495
3497
  return null;
3496
- const r = bn(e);
3497
- return gn(r, t);
3498
+ const r = yn(e);
3499
+ return vn(r, t);
3498
3500
  }
3499
- function xn(e) {
3501
+ function _n(e) {
3500
3502
  if (e == null)
3501
3503
  return;
3502
3504
  const t = ke(e);
3503
3505
  for (let r = 0; r < t.length; r++) {
3504
3506
  const i = t[r];
3505
- if (wr(i))
3507
+ if (Tr(i))
3506
3508
  return i;
3507
3509
  }
3508
3510
  }
3509
- function Sr(e, ...t) {
3510
- delete ce[e], Re.update((r) => (r[e] = wi.all([r[e] || {}, ...t]), r));
3511
+ function Hr(e, ...t) {
3512
+ delete ce[e], Re.update((r) => (r[e] = Ti.all([r[e] || {}, ...t]), r));
3511
3513
  }
3512
3514
  Ae(
3513
3515
  [Re],
3514
3516
  ([e]) => Object.keys(e)
3515
3517
  );
3516
- Re.subscribe((e) => Et = e);
3518
+ Re.subscribe((e) => St = e);
3517
3519
  const ze = {};
3518
- function _n(e, t) {
3520
+ function En(e, t) {
3519
3521
  ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3520
3522
  }
3521
- function Tr(e) {
3523
+ function Or(e) {
3522
3524
  return ze[e];
3523
3525
  }
3524
- function En(e) {
3526
+ function wn(e) {
3525
3527
  return ke(e).map((t) => {
3526
- const r = Tr(t);
3528
+ const r = Or(t);
3527
3529
  return [t, r ? [...r] : []];
3528
3530
  }).filter(([, t]) => t.length > 0);
3529
3531
  }
@@ -3531,40 +3533,40 @@ function Xe(e) {
3531
3533
  return e == null ? !1 : ke(e).some(
3532
3534
  (t) => {
3533
3535
  var r;
3534
- return (r = Tr(t)) == null ? void 0 : r.size;
3536
+ return (r = Or(t)) == null ? void 0 : r.size;
3535
3537
  }
3536
3538
  );
3537
3539
  }
3538
- function wn(e, t) {
3540
+ function Sn(e, t) {
3539
3541
  return Promise.all(
3540
- t.map((i) => (_n(e, i), i().then((n) => n.default || n)))
3541
- ).then((i) => Sr(e, ...i));
3542
+ t.map((i) => (En(e, i), i().then((n) => n.default || n)))
3543
+ ).then((i) => Hr(e, ...i));
3542
3544
  }
3543
3545
  const Be = {};
3544
- function Hr(e) {
3546
+ function Pr(e) {
3545
3547
  if (!Xe(e))
3546
3548
  return e in Be ? Be[e] : Promise.resolve();
3547
- const t = En(e);
3549
+ const t = wn(e);
3548
3550
  return Be[e] = Promise.all(
3549
3551
  t.map(
3550
- ([r, i]) => wn(r, i)
3552
+ ([r, i]) => Sn(r, i)
3551
3553
  )
3552
3554
  ).then(() => {
3553
3555
  if (Xe(e))
3554
- return Hr(e);
3556
+ return Pr(e);
3555
3557
  delete Be[e];
3556
3558
  }), Be[e];
3557
3559
  }
3558
- var Ut = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Hn = (e, t) => {
3560
+ var Vt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, On = (e, t) => {
3559
3561
  var r = {};
3560
3562
  for (var i in e)
3561
- Sn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3562
- if (e != null && Ut)
3563
- for (var i of Ut(e))
3564
- t.indexOf(i) < 0 && Tn.call(e, i) && (r[i] = e[i]);
3563
+ Tn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3564
+ if (e != null && Vt)
3565
+ for (var i of Vt(e))
3566
+ t.indexOf(i) < 0 && Hn.call(e, i) && (r[i] = e[i]);
3565
3567
  return r;
3566
3568
  };
3567
- const On = {
3569
+ const Pn = {
3568
3570
  number: {
3569
3571
  scientific: { notation: "scientific" },
3570
3572
  engineering: { notation: "engineering" },
@@ -3594,7 +3596,7 @@ const On = {
3594
3596
  }
3595
3597
  }
3596
3598
  };
3597
- function Pn({ locale: e, id: t }) {
3599
+ function An({ locale: e, id: t }) {
3598
3600
  console.warn(
3599
3601
  `[svelte-i18n] The message "${t}" was not found in "${ke(
3600
3602
  e
@@ -3603,49 +3605,49 @@ function Pn({ locale: e, id: t }) {
3603
3605
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3604
3606
  );
3605
3607
  }
3606
- const An = {
3608
+ const $n = {
3607
3609
  fallbackLocale: null,
3608
3610
  loadingDelay: 200,
3609
- formats: On,
3611
+ formats: Pn,
3610
3612
  warnOnMissingMessages: !0,
3611
3613
  handleMissingMessage: void 0,
3612
3614
  ignoreTag: !0
3613
- }, Me = An;
3615
+ }, Me = $n;
3614
3616
  function Pe() {
3615
3617
  return Me;
3616
3618
  }
3617
- function $n(e) {
3618
- const t = e, { formats: r } = t, i = Hn(t, ["formats"]);
3619
+ function Bn(e) {
3620
+ const t = e, { formats: r } = t, i = On(t, ["formats"]);
3619
3621
  let n = e.fallbackLocale;
3620
3622
  if (e.initialLocale)
3621
3623
  try {
3622
- _r.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3624
+ wr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3623
3625
  } catch (s) {
3624
3626
  console.warn(
3625
3627
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3626
3628
  );
3627
3629
  }
3628
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = Pn : console.warn(
3630
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = An : console.warn(
3629
3631
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3630
3632
  )), Object.assign(Me, i, { initialLocale: n }), r && ("number" in r && Object.assign(Me.formats.number, r.number), "date" in r && Object.assign(Me.formats.date, r.date), "time" in r && Object.assign(Me.formats.time, r.time)), pe.set(n);
3631
3633
  }
3632
3634
  const ot = Ye(!1);
3633
- var Bn = Object.defineProperty, Mn = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, In = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ln = (e, t) => {
3635
+ var Mn = Object.defineProperty, Cn = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, In = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nn = (e, t) => {
3634
3636
  for (var r in t || (t = {}))
3635
- Dn.call(t, r) && Vt(e, r, t[r]);
3636
- if (Ft)
3637
- for (var r of Ft(t))
3638
- In.call(t, r) && Vt(e, r, t[r]);
3637
+ In.call(t, r) && jt(e, r, t[r]);
3638
+ if (Gt)
3639
+ for (var r of Gt(t))
3640
+ Ln.call(t, r) && jt(e, r, t[r]);
3639
3641
  return e;
3640
- }, Nn = (e, t) => Mn(e, Cn(t));
3642
+ }, Rn = (e, t) => Cn(e, Dn(t));
3641
3643
  let vt;
3642
3644
  const We = Ye(null);
3643
- function Gt(e) {
3645
+ function zt(e) {
3644
3646
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3645
3647
  }
3646
3648
  function ke(e, t = Pe().fallbackLocale) {
3647
- const r = Gt(e);
3648
- return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
3649
+ const r = zt(e);
3650
+ return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
3649
3651
  }
3650
3652
  function de() {
3651
3653
  return vt != null ? vt : void 0;
@@ -3653,22 +3655,22 @@ function de() {
3653
3655
  We.subscribe((e) => {
3654
3656
  vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3655
3657
  });
3656
- const Rn = (e) => {
3657
- if (e && xn(e) && Xe(e)) {
3658
+ const kn = (e) => {
3659
+ if (e && _n(e) && Xe(e)) {
3658
3660
  const { loadingDelay: t } = Pe();
3659
3661
  let r;
3660
3662
  return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
3661
3663
  () => ot.set(!0),
3662
3664
  t
3663
- ) : ot.set(!0), Hr(e).then(() => {
3665
+ ) : ot.set(!0), Pr(e).then(() => {
3664
3666
  We.set(e);
3665
3667
  }).finally(() => {
3666
3668
  clearTimeout(r), ot.set(!1);
3667
3669
  });
3668
3670
  }
3669
3671
  return We.set(e);
3670
- }, pe = Nn(Ln({}, We), {
3671
- set: Rn
3672
+ }, pe = Rn(Nn({}, We), {
3673
+ set: kn
3672
3674
  }), Qe = (e) => {
3673
3675
  const t = /* @__PURE__ */ Object.create(null);
3674
3676
  return (i) => {
@@ -3676,20 +3678,20 @@ const Rn = (e) => {
3676
3678
  return n in t ? t[n] : t[n] = e(i);
3677
3679
  };
3678
3680
  };
3679
- var kn = Object.defineProperty, qe = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3681
+ var Un = Object.defineProperty, qe = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
3680
3682
  for (var r in t || (t = {}))
3681
- Or.call(t, r) && jt(e, r, t[r]);
3683
+ Ar.call(t, r) && Xt(e, r, t[r]);
3682
3684
  if (qe)
3683
3685
  for (var r of qe(t))
3684
- Pr.call(t, r) && jt(e, r, t[r]);
3686
+ $r.call(t, r) && Xt(e, r, t[r]);
3685
3687
  return e;
3686
3688
  }, $e = (e, t) => {
3687
3689
  var r = {};
3688
3690
  for (var i in e)
3689
- Or.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3691
+ Ar.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3690
3692
  if (e != null && qe)
3691
3693
  for (var i of qe(e))
3692
- t.indexOf(i) < 0 && Pr.call(e, i) && (r[i] = e[i]);
3694
+ t.indexOf(i) < 0 && $r.call(e, i) && (r[i] = e[i]);
3693
3695
  return r;
3694
3696
  };
3695
3697
  const Le = (e, t) => {
@@ -3697,21 +3699,21 @@ const Le = (e, t) => {
3697
3699
  if (e in r && t in r[e])
3698
3700
  return r[e][t];
3699
3701
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3700
- }, Un = Qe(
3702
+ }, Fn = Qe(
3701
3703
  (e) => {
3702
3704
  var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3703
3705
  if (r == null)
3704
3706
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3705
3707
  return i && (n = Le("number", i)), new Intl.NumberFormat(r, n);
3706
3708
  }
3707
- ), Fn = Qe(
3709
+ ), Vn = Qe(
3708
3710
  (e) => {
3709
3711
  var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3710
3712
  if (r == null)
3711
3713
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3712
3714
  return i ? n = Le("date", i) : Object.keys(n).length === 0 && (n = Le("date", "short")), new Intl.DateTimeFormat(r, n);
3713
3715
  }
3714
- ), Vn = Qe(
3716
+ ), Gn = Qe(
3715
3717
  (e) => {
3716
3718
  var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3717
3719
  if (r == null)
@@ -3720,33 +3722,33 @@ const Le = (e, t) => {
3720
3722
  );
3721
3723
  return i ? n = Le("time", i) : Object.keys(n).length === 0 && (n = Le("time", "short")), new Intl.DateTimeFormat(r, n);
3722
3724
  }
3723
- ), Gn = (e = {}) => {
3725
+ ), jn = (e = {}) => {
3724
3726
  var t = e, {
3725
3727
  locale: r = de()
3726
3728
  } = t, i = $e(t, [
3727
3729
  "locale"
3728
3730
  ]);
3729
- return Un(wt({ locale: r }, i));
3730
- }, jn = (e = {}) => {
3731
+ return Fn(Tt({ locale: r }, i));
3732
+ }, zn = (e = {}) => {
3731
3733
  var t = e, {
3732
3734
  locale: r = de()
3733
3735
  } = t, i = $e(t, [
3734
3736
  "locale"
3735
3737
  ]);
3736
- return Fn(wt({ locale: r }, i));
3737
- }, zn = (e = {}) => {
3738
+ return Vn(Tt({ locale: r }, i));
3739
+ }, Xn = (e = {}) => {
3738
3740
  var t = e, {
3739
3741
  locale: r = de()
3740
3742
  } = t, i = $e(t, [
3741
3743
  "locale"
3742
3744
  ]);
3743
- return Vn(wt({ locale: r }, i));
3744
- }, Xn = Qe(
3745
+ return Gn(Tt({ locale: r }, i));
3746
+ }, Wn = Qe(
3745
3747
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3746
- (e, t = de()) => new _r(e, t, Pe().formats, {
3748
+ (e, t = de()) => new wr(e, t, Pe().formats, {
3747
3749
  ignoreTag: Pe().ignoreTag
3748
3750
  })
3749
- ), Wn = (e, t = {}) => {
3751
+ ), qn = (e, t = {}) => {
3750
3752
  var r, i, n, s;
3751
3753
  let a = t;
3752
3754
  typeof e == "object" && (a = e, e = a.id);
@@ -3759,7 +3761,7 @@ const Le = (e, t) => {
3759
3761
  throw new Error(
3760
3762
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3761
3763
  );
3762
- let h = Er(e, o);
3764
+ let h = Sr(e, o);
3763
3765
  if (!h)
3764
3766
  h = (s = (n = (i = (r = Pe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3765
3767
  else if (typeof h != "string")
@@ -3770,7 +3772,7 @@ const Le = (e, t) => {
3770
3772
  return h;
3771
3773
  let c = h;
3772
3774
  try {
3773
- c = Xn(h, o).format(l);
3775
+ c = Wn(h, o).format(l);
3774
3776
  } catch (m) {
3775
3777
  m instanceof Error && console.warn(
3776
3778
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3778,20 +3780,20 @@ const Le = (e, t) => {
3778
3780
  );
3779
3781
  }
3780
3782
  return c;
3781
- }, qn = (e, t) => zn(t).format(e), Yn = (e, t) => jn(t).format(e), Zn = (e, t) => Gn(t).format(e), Jn = (e, t = de()) => Er(e, t), Qn = Ae([pe, Re], () => Wn);
3782
- Ae([pe], () => qn);
3783
+ }, Yn = (e, t) => Xn(t).format(e), Zn = (e, t) => zn(t).format(e), Jn = (e, t) => jn(t).format(e), Qn = (e, t = de()) => Sr(e, t), Kn = Ae([pe, Re], () => qn);
3783
3784
  Ae([pe], () => Yn);
3784
3785
  Ae([pe], () => Zn);
3785
- Ae([pe, Re], () => Jn);
3786
- function zt(e, t) {
3787
- Sr(e, t);
3786
+ Ae([pe], () => Jn);
3787
+ Ae([pe, Re], () => Qn);
3788
+ function Wt(e, t) {
3789
+ Hr(e, t);
3788
3790
  }
3789
- function Kn(e) {
3790
- $n({
3791
+ function es(e) {
3792
+ Bn({
3791
3793
  fallbackLocale: "en"
3792
3794
  }), pe.set(e);
3793
3795
  }
3794
- const Xt = {
3796
+ const qt = {
3795
3797
  en: {
3796
3798
  "verification.video.how-to": "How to verify yourself",
3797
3799
  "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",
@@ -3859,15 +3861,15 @@ if (typeof window != "undefined") {
3859
3861
  }
3860
3862
  };
3861
3863
  };
3862
- customElements.define = e(customElements.define), import("./CashierVideoModal-DgW9dQjO.js").then(({ default: t }) => {
3864
+ customElements.define = e(customElements.define), import("./CashierVideoModal-B-CXY0VP.js").then(({ default: t }) => {
3863
3865
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3864
3866
  });
3865
3867
  }
3866
- var Ar = { exports: {} };
3868
+ var Br = { exports: {} };
3867
3869
  (function(e, t) {
3868
3870
  (function(r, i) {
3869
3871
  e.exports = i();
3870
- })(ir, function() {
3872
+ })(sr, function() {
3871
3873
  var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "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+)?$/, G = /\[([^\]]+)]|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) {
3872
3874
  var g = ["th", "st", "nd", "rd"], d = x % 100;
3873
3875
  return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
@@ -4152,14 +4154,14 @@ var Ar = { exports: {} };
4152
4154
  return k(1e3 * x);
4153
4155
  }, k.en = L[I], k.Ls = L, k.p = {}, k;
4154
4156
  });
4155
- })(Ar);
4156
- var es = Ar.exports;
4157
- const Wt = /* @__PURE__ */ _t(es);
4158
- var $r = { exports: {} };
4157
+ })(Br);
4158
+ var ts = Br.exports;
4159
+ const Yt = /* @__PURE__ */ _t(ts);
4160
+ var Mr = { exports: {} };
4159
4161
  (function(e, t) {
4160
4162
  (function(r, i) {
4161
4163
  e.exports = i();
4162
- })(ir, function() {
4164
+ })(sr, function() {
4163
4165
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4164
4166
  return function(s, a, l) {
4165
4167
  var o = a.prototype;
@@ -4235,26 +4237,26 @@ var $r = { exports: {} };
4235
4237
  };
4236
4238
  };
4237
4239
  });
4238
- })($r);
4239
- var ts = $r.exports;
4240
- const rs = /* @__PURE__ */ _t(ts);
4241
- function is(e) {
4242
- Fr(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)}");
4240
+ })(Mr);
4241
+ var rs = Mr.exports;
4242
+ const is = /* @__PURE__ */ _t(rs);
4243
+ function ns(e) {
4244
+ Gr(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)}");
4243
4245
  }
4244
- function qt(e, t, r) {
4246
+ function Zt(e, t, r) {
4245
4247
  const i = e.slice();
4246
4248
  return i[49] = t[r], i[51] = r, i;
4247
4249
  }
4248
- function Yt(e) {
4249
- let t, r, i, n, s = $t(
4250
+ function Jt(e) {
4251
+ let t, r, i, n, s = Mt(
4250
4252
  /*displayMessages*/
4251
4253
  e[4]
4252
4254
  ), a = [];
4253
4255
  for (let o = 0; o < s.length; o += 1)
4254
- a[o] = Jt(qt(e, s, o));
4256
+ a[o] = Kt(Zt(e, s, o));
4255
4257
  let l = (
4256
4258
  /*videoExists*/
4257
- e[7] && Qt(e)
4259
+ e[7] && er(e)
4258
4260
  );
4259
4261
  return {
4260
4262
  c() {
@@ -4292,21 +4294,21 @@ function Yt(e) {
4292
4294
  p(o, u) {
4293
4295
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4294
4296
  1072) {
4295
- s = $t(
4297
+ s = Mt(
4296
4298
  /*displayMessages*/
4297
4299
  o[4]
4298
4300
  );
4299
4301
  let h;
4300
4302
  for (h = 0; h < s.length; h += 1) {
4301
- const c = qt(o, s, h);
4302
- a[h] ? a[h].p(c, u) : (a[h] = Jt(c), a[h].c(), a[h].m(t, null));
4303
+ const c = Zt(o, s, h);
4304
+ a[h] ? a[h].p(c, u) : (a[h] = Kt(c), a[h].c(), a[h].m(t, null));
4303
4305
  }
4304
4306
  for (; h < a.length; h += 1)
4305
4307
  a[h].d(1);
4306
4308
  a.length = s.length;
4307
4309
  }
4308
4310
  /*videoExists*/
4309
- o[7] ? l ? l.p(o, u) : (l = Qt(o), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null), u[0] & /*clientstylingurl*/
4311
+ o[7] ? l ? l.p(o, u) : (l = er(o), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null), u[0] & /*clientstylingurl*/
4310
4312
  2 && fe(
4311
4313
  n,
4312
4314
  "clientstylingurl",
@@ -4333,11 +4335,11 @@ function Yt(e) {
4333
4335
  );
4334
4336
  },
4335
4337
  d(o) {
4336
- o && (ne(t), ne(r), ne(i), ne(n)), jr(a, o), l && l.d(o);
4338
+ o && (ne(t), ne(r), ne(i), ne(n)), Xr(a, o), l && l.d(o);
4337
4339
  }
4338
4340
  };
4339
4341
  }
4340
- function Zt(e) {
4342
+ function Qt(e) {
4341
4343
  let t, r, i;
4342
4344
  function n(...s) {
4343
4345
  return (
@@ -4364,14 +4366,14 @@ function Zt(e) {
4364
4366
  }
4365
4367
  };
4366
4368
  }
4367
- function Jt(e) {
4369
+ function Kt(e) {
4368
4370
  let t, r, i, n, s = (
4369
4371
  /*message*/
4370
4372
  e[49] + ""
4371
4373
  ), a, l, o, u, h = (
4372
4374
  /*displayMessages*/
4373
4375
  e[4].length > 1 && /*index*/
4374
- e[51] === 0 && Zt(e)
4376
+ e[51] === 0 && Qt(e)
4375
4377
  );
4376
4378
  function c(...m) {
4377
4379
  return (
@@ -4400,7 +4402,7 @@ function Jt(e) {
4400
4402
  16 && s !== (s = /*message*/
4401
4403
  e[49] + "") && (n.innerHTML = s), /*displayMessages*/
4402
4404
  e[4].length > 1 && /*index*/
4403
- e[51] === 0 ? h ? h.p(e, E) : (h = Zt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
4405
+ e[51] === 0 ? h ? h.p(e, E) : (h = Qt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
4404
4406
  32 && Se(
4405
4407
  t,
4406
4408
  "ShowAll",
@@ -4413,7 +4415,7 @@ function Jt(e) {
4413
4415
  }
4414
4416
  };
4415
4417
  }
4416
- function Qt(e) {
4418
+ function er(e) {
4417
4419
  let t, r, i, n, s = (
4418
4420
  /*$_*/
4419
4421
  e[9]("verification.video.how-to") + ""
@@ -4438,7 +4440,7 @@ function Qt(e) {
4438
4440
  p(u, h) {
4439
4441
  h[0] & /*$_*/
4440
4442
  512 && s !== (s = /*$_*/
4441
- u[9]("verification.video.how-to") + "") && Xr(a, s), h[0] & /*desktopView*/
4443
+ u[9]("verification.video.how-to") + "") && qr(a, s), h[0] & /*desktopView*/
4442
4444
  64 && Se(
4443
4445
  n,
4444
4446
  "CashierVerificationVideoLinkDesktop",
@@ -4451,10 +4453,10 @@ function Qt(e) {
4451
4453
  }
4452
4454
  };
4453
4455
  }
4454
- function ns(e) {
4456
+ function ss(e) {
4455
4457
  let t, r = (
4456
4458
  /*displayMessages*/
4457
- e[4] && Yt(e)
4459
+ e[4] && Jt(e)
4458
4460
  );
4459
4461
  return {
4460
4462
  c() {
@@ -4470,7 +4472,7 @@ function ns(e) {
4470
4472
  },
4471
4473
  p(i, n) {
4472
4474
  /*displayMessages*/
4473
- i[4] ? r ? r.p(i, n) : (r = Yt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4475
+ i[4] ? r ? r.p(i, n) : (r = Jt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4474
4476
  64 && Se(
4475
4477
  t,
4476
4478
  "CashierVerificationsDesktop",
@@ -4485,10 +4487,10 @@ function ns(e) {
4485
4487
  }
4486
4488
  };
4487
4489
  }
4488
- const ss = "verification_explanation_video_widgets.MP4", os = "700px", as = "500px";
4489
- function us(e, t, r) {
4490
+ const os = "verification_explanation_video_widgets.MP4", as = "700px", us = "500px";
4491
+ function ls(e, t, r) {
4490
4492
  let i;
4491
- Ur(e, Qn, (f) => r(9, i = f)), Wt.extend(rs);
4493
+ Vr(e, Kn, (f) => r(9, i = f)), Yt.extend(is);
4492
4494
  let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, G, U = !0, B = !0, X = !1, I = "";
4493
4495
  var L;
4494
4496
  (function(f) {
@@ -4515,17 +4517,17 @@ function us(e, t, r) {
4515
4517
  if (f)
4516
4518
  return fetch(f).then((y) => y.json()).then((y) => {
4517
4519
  Object.keys(y).forEach((S) => {
4518
- zt(S, y[S]);
4520
+ Wt(S, y[S]);
4519
4521
  });
4520
4522
  }).catch((y) => {
4521
4523
  console.log(y);
4522
4524
  });
4523
4525
  };
4524
- Object.keys(Xt).forEach((f) => {
4525
- zt(f, Xt[f]);
4526
+ Object.keys(qt).forEach((f) => {
4527
+ Wt(f, qt[f]);
4526
4528
  });
4527
4529
  const ge = () => {
4528
- Kn(s);
4530
+ es(s);
4529
4531
  }, Ue = () => {
4530
4532
  let f = document.createElement("style");
4531
4533
  f.innerHTML = l, m.appendChild(f);
@@ -4544,7 +4546,7 @@ function us(e, t, r) {
4544
4546
  if (!f)
4545
4547
  return;
4546
4548
  const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), V = new Headers();
4547
- V.append("accept", "application/json"), V.append("Content-Type", "application/json"), V.append("X-Client-Request-Timestamp", Wt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4549
+ V.append("accept", "application/json"), V.append("Content-Type", "application/json"), V.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4548
4550
  const he = {
4549
4551
  method: "POST",
4550
4552
  headers: V,
@@ -4650,7 +4652,7 @@ function us(e, t, r) {
4650
4652
  }, ae = () => {
4651
4653
  r(6, B = c === "false");
4652
4654
  }, j = () => {
4653
- r(8, I = $ + "/" + s + "/" + ss);
4655
+ r(8, I = $ + "/" + s + "/" + os);
4654
4656
  try {
4655
4657
  fetch(I, { method: "HEAD" }).then((f) => {
4656
4658
  r(7, X = f.ok);
@@ -4662,12 +4664,12 @@ function us(e, t, r) {
4662
4664
  window.postMessage(
4663
4665
  {
4664
4666
  type: "ShowCashierVideoModal",
4665
- details: B ? os : as
4667
+ details: B ? as : us
4666
4668
  },
4667
4669
  window.location.href
4668
4670
  );
4669
- }, me = (f, y) => oe(y, f), ve = (f, y) => oe(y, f), Mr = () => Q();
4670
- function Cr(f) {
4671
+ }, me = (f, y) => oe(y, f), ve = (f, y) => oe(y, f), Dr = () => Q();
4672
+ function Ir(f) {
4671
4673
  at[f ? "unshift" : "push"](() => {
4672
4674
  m = f, r(3, m);
4673
4675
  });
@@ -4704,18 +4706,18 @@ function us(e, t, r) {
4704
4706
  $,
4705
4707
  me,
4706
4708
  ve,
4707
- Mr,
4708
- Cr
4709
+ Dr,
4710
+ Ir
4709
4711
  ];
4710
4712
  }
4711
- class Br extends oi {
4713
+ class Cr extends ui {
4712
4714
  constructor(t) {
4713
- super(), ni(
4715
+ super(), oi(
4714
4716
  this,
4715
4717
  t,
4716
- us,
4717
- ns,
4718
- er,
4718
+ ls,
4719
+ ss,
4720
+ rr,
4719
4721
  {
4720
4722
  endpoint: 12,
4721
4723
  lang: 13,
@@ -4726,7 +4728,7 @@ class Br extends oi {
4726
4728
  customerid: 16,
4727
4729
  ismobileview: 2
4728
4730
  },
4729
- is,
4731
+ ns,
4730
4732
  [-1, -1]
4731
4733
  );
4732
4734
  }
@@ -4779,31 +4781,31 @@ class Br extends oi {
4779
4781
  this.$$set({ ismobileview: t }), re();
4780
4782
  }
4781
4783
  }
4782
- si(Br, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4783
- const ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4784
+ ai(Cr, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4785
+ const ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4784
4786
  __proto__: null,
4785
- default: Br
4787
+ default: Cr
4786
4788
  }, Symbol.toStringTag, { value: "Module" }));
4787
4789
  export {
4788
- ms as C,
4789
- oi as S,
4790
- Fr as a,
4790
+ ps as C,
4791
+ ui as S,
4792
+ Gr as a,
4791
4793
  ue as b,
4792
- hs as c,
4794
+ ai as c,
4793
4795
  ne as d,
4794
- cs as e,
4796
+ ds as e,
4795
4797
  re as f,
4796
- ee as g,
4797
- ie as h,
4798
- ni as i,
4799
- J as j,
4800
- Ee as k,
4801
- at as l,
4802
- xt as m,
4798
+ J as g,
4799
+ Ee as h,
4800
+ oi as i,
4801
+ fs as j,
4802
+ ee as k,
4803
+ ie as l,
4804
+ cs as m,
4803
4805
  K as n,
4804
- ds as o,
4805
- fs as p,
4806
- si as q,
4807
- er as s,
4806
+ ms as o,
4807
+ xt as p,
4808
+ at as q,
4809
+ rr as s,
4808
4810
  Se as t
4809
4811
  };