@everymatrix/cashier-methods-list 1.54.4 → 1.54.8

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 ne() {
2
2
  }
3
- function Yt(e) {
3
+ function zt(e) {
4
4
  return e();
5
5
  }
6
- function _t() {
6
+ function vt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Se(e) {
10
- e.forEach(Yt);
10
+ e.forEach(zt);
11
11
  }
12
12
  function dt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Zt(e, t) {
15
+ function Yt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Ce;
19
- function xt(e, t) {
19
+ function _t(e, t) {
20
20
  return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
21
21
  }
22
- function Lr(e) {
22
+ function Hr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Jt(e, ...t) {
25
+ function Zt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(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 Ar(e, t, r) {
35
- e.$$.on_destroy.push(Jt(t, r));
34
+ function Lr(e, t, r) {
35
+ e.$$.on_destroy.push(Zt(t, r));
36
36
  }
37
37
  function B(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Or(e, t, r) {
41
- const n = $r(e);
40
+ function Ar(e, t, r) {
41
+ const n = Or(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = z("style");
44
- i.id = t, i.textContent = r, Br(n, i);
44
+ i.id = t, i.textContent = r, $r(n, i);
45
45
  }
46
46
  }
47
- function $r(e) {
47
+ function Or(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 $r(e) {
53
53
  t
54
54
  ) : e.ownerDocument;
55
55
  }
56
- function Br(e, t) {
56
+ function $r(e, t) {
57
57
  return B(
58
58
  /** @type {Document} */
59
59
  e.head || e,
@@ -66,7 +66,7 @@ function le(e, t, r) {
66
66
  function oe(e) {
67
67
  e.parentNode && e.parentNode.removeChild(e);
68
68
  }
69
- function Pr(e, t) {
69
+ function Br(e, t) {
70
70
  for (let r = 0; r < e.length; r += 1)
71
71
  e[r] && e[r].d(t);
72
72
  }
@@ -79,7 +79,7 @@ function re(e) {
79
79
  function te() {
80
80
  return re(" ");
81
81
  }
82
- function Nr() {
82
+ function Pr() {
83
83
  return re("");
84
84
  }
85
85
  function rt(e, t, r, n) {
@@ -92,20 +92,20 @@ function J(e, t, r) {
92
92
  const n = t.toLowerCase();
93
93
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : W(e, t, r);
94
94
  }
95
- function Cr(e) {
95
+ function Nr(e) {
96
96
  return Array.from(e.childNodes);
97
97
  }
98
98
  function ue(e, t) {
99
99
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
100
100
  t);
101
101
  }
102
- function Et(e, t, r) {
102
+ function xt(e, t, r) {
103
103
  e.classList.toggle(t, !!r);
104
104
  }
105
- function Ir(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
105
+ function Cr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
106
106
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
107
107
  }
108
- function Dr(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 Oe;
118
118
  function Ae(e) {
119
119
  Oe = e;
120
120
  }
121
- function Qt() {
121
+ function Jt() {
122
122
  if (!Oe) throw new Error("Function called outside component initialization");
123
123
  return Oe;
124
124
  }
125
- function Rr(e) {
126
- Qt().$$.on_mount.push(e);
125
+ function Dr(e) {
126
+ Jt().$$.on_mount.push(e);
127
127
  }
128
- function Ur() {
129
- const e = Qt();
128
+ function Rr() {
129
+ const e = Jt();
130
130
  return (t, r, { cancelable: n = !1 } = {}) => {
131
131
  const i = e.$$.callbacks[t];
132
132
  if (i) {
133
- const s = Ir(
133
+ const s = Cr(
134
134
  /** @type {string} */
135
135
  t,
136
136
  r,
@@ -145,10 +145,10 @@ function Ur() {
145
145
  }
146
146
  const ye = [], nt = [];
147
147
  let ve = [];
148
- const wt = [], Gr = /* @__PURE__ */ Promise.resolve();
148
+ const Et = [], Ur = /* @__PURE__ */ Promise.resolve();
149
149
  let it = !1;
150
- function Fr() {
151
- it || (it = !0, Gr.then(K));
150
+ function Gr() {
151
+ it || (it = !0, Ur.then(K));
152
152
  }
153
153
  function st(e) {
154
154
  ve.push(e);
@@ -163,7 +163,7 @@ function K() {
163
163
  try {
164
164
  for (; pe < ye.length; ) {
165
165
  const t = ye[pe];
166
- pe++, Ae(t), kr(t.$$);
166
+ pe++, Ae(t), Fr(t.$$);
167
167
  }
168
168
  } catch (t) {
169
169
  throw ye.length = 0, pe = 0, t;
@@ -175,43 +175,43 @@ function K() {
175
175
  }
176
176
  ve.length = 0;
177
177
  } while (ye.length);
178
- for (; wt.length; )
179
- wt.pop()();
178
+ for (; Et.length; )
179
+ Et.pop()();
180
180
  it = !1, Ze.clear(), Ae(e);
181
181
  }
182
- function kr(e) {
182
+ function Fr(e) {
183
183
  if (e.fragment !== null) {
184
184
  e.update(), Se(e.before_update);
185
185
  const t = e.dirty;
186
186
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(st);
187
187
  }
188
188
  }
189
- function jr(e) {
189
+ function kr(e) {
190
190
  const t = [], r = [];
191
191
  ve.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ve = t;
192
192
  }
193
- const Vr = /* @__PURE__ */ new Set();
194
- function Xr(e, t) {
195
- e && e.i && (Vr.delete(e), e.i(t));
193
+ const jr = /* @__PURE__ */ new Set();
194
+ function Vr(e, t) {
195
+ e && e.i && (jr.delete(e), e.i(t));
196
196
  }
197
- function St(e) {
197
+ function wt(e) {
198
198
  return e?.length !== void 0 ? e : Array.from(e);
199
199
  }
200
- function Wr(e, t, r) {
200
+ function Xr(e, t, r) {
201
201
  const { fragment: n, after_update: i } = e.$$;
202
202
  n && n.m(t, r), st(() => {
203
- const s = e.$$.on_mount.map(Yt).filter(dt);
203
+ const s = e.$$.on_mount.map(zt).filter(dt);
204
204
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Se(s), e.$$.on_mount = [];
205
205
  }), i.forEach(st);
206
206
  }
207
- function zr(e, t) {
207
+ function Wr(e, t) {
208
208
  const r = e.$$;
209
- r.fragment !== null && (jr(r.after_update), Se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
+ r.fragment !== null && (kr(r.after_update), Se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
210
  }
211
- function Yr(e, t) {
212
- e.$$.dirty[0] === -1 && (ye.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
+ function zr(e, t) {
212
+ e.$$.dirty[0] === -1 && (ye.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
- function Zr(e, t, r, n, i, s, a = null, o = [-1]) {
214
+ function Yr(e, t, r, n, i, s, a = null, o = [-1]) {
215
215
  const l = Oe;
216
216
  Ae(e);
217
217
  const u = e.$$ = {
@@ -221,7 +221,7 @@ function Zr(e, t, r, n, i, s, a = null, o = [-1]) {
221
221
  props: s,
222
222
  update: ne,
223
223
  not_equal: i,
224
- bound: _t(),
224
+ bound: vt(),
225
225
  // lifecycle
226
226
  on_mount: [],
227
227
  on_destroy: [],
@@ -230,28 +230,28 @@ function Zr(e, t, r, n, i, s, a = null, o = [-1]) {
230
230
  after_update: [],
231
231
  context: new Map(t.context || (l ? l.$$.context : [])),
232
232
  // everything else
233
- callbacks: _t(),
233
+ callbacks: vt(),
234
234
  dirty: o,
235
235
  skip_bound: !1,
236
236
  root: t.target || l.$$.root
237
237
  };
238
238
  a && a(u.root);
239
239
  let h = !1;
240
- if (u.ctx = r(e, t.props || {}, (c, p, ...x) => {
240
+ if (u.ctx = r ? r(e, t.props || {}, (c, p, ...x) => {
241
241
  const w = x.length ? x[0] : p;
242
- return u.ctx && i(u.ctx[c], u.ctx[c] = w) && (!u.skip_bound && u.bound[c] && u.bound[c](w), h && Yr(e, c)), p;
243
- }), u.update(), h = !0, Se(u.before_update), u.fragment = n(u.ctx), t.target) {
242
+ return u.ctx && i(u.ctx[c], u.ctx[c] = w) && (!u.skip_bound && u.bound[c] && u.bound[c](w), h && zr(e, c)), p;
243
+ }) : [], u.update(), h = !0, Se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
244
244
  if (t.hydrate) {
245
- const c = Cr(t.target);
245
+ const c = Nr(t.target);
246
246
  u.fragment && u.fragment.l(c), c.forEach(oe);
247
247
  } else
248
248
  u.fragment && u.fragment.c();
249
- t.intro && Xr(e.$$.fragment), Wr(e, t.target, t.anchor), K();
249
+ t.intro && Vr(e.$$.fragment), Xr(e, t.target, t.anchor), K();
250
250
  }
251
251
  Ae(l);
252
252
  }
253
- let qt;
254
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
253
+ let Qt;
254
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
255
255
  /** The Svelte component constructor */
256
256
  $$ctor;
257
257
  /** Slots */
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
310
310
  };
311
311
  if (await Promise.resolve(), !this.$$cn || this.$$c)
312
312
  return;
313
- const t = {}, r = Dr(this);
313
+ const t = {}, r = Ir(this);
314
314
  for (const i of this.$$s)
315
315
  i in r && (t[i] = [e(i)]);
316
316
  for (const i of this.attributes) {
@@ -397,8 +397,8 @@ function De(e, t, r, n) {
397
397
  return t;
398
398
  }
399
399
  }
400
- function Jr(e, t, r, n, i, s) {
401
- let a = class extends qt {
400
+ function Zr(e, t, r, n, i, s) {
401
+ let a = class extends Qt {
402
402
  constructor() {
403
403
  super(e, r, i), this.$$p_d = t;
404
404
  }
@@ -426,7 +426,7 @@ function Jr(e, t, r, n, i, s) {
426
426
  }), e.element = /** @type {any} */
427
427
  a, a;
428
428
  }
429
- class Qr {
429
+ class Jr {
430
430
  /**
431
431
  * ### PRIVATE API
432
432
  *
@@ -445,7 +445,7 @@ class Qr {
445
445
  $$set = void 0;
446
446
  /** @returns {void} */
447
447
  $destroy() {
448
- zr(this, 1), this.$destroy = ne;
448
+ Wr(this, 1), this.$destroy = ne;
449
449
  }
450
450
  /**
451
451
  * @template {Extract<keyof Events, string>} K
@@ -467,13 +467,13 @@ class Qr {
467
467
  * @returns {void}
468
468
  */
469
469
  $set(t) {
470
- this.$$set && !Lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
470
+ this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
471
  }
472
472
  }
473
- const qr = "4";
474
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(qr);
473
+ const Qr = "4";
474
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
475
475
  const be = [];
476
- function Kr(e, t) {
476
+ function qr(e, t) {
477
477
  return {
478
478
  subscribe: je(e, t).subscribe
479
479
  };
@@ -482,7 +482,7 @@ function je(e, t = ne) {
482
482
  let r;
483
483
  const n = /* @__PURE__ */ new Set();
484
484
  function i(o) {
485
- if (Zt(e, o) && (e = o, r)) {
485
+ if (Yt(e, o) && (e = o, r)) {
486
486
  const l = !be.length;
487
487
  for (const u of n)
488
488
  u[1](), be.push(u, e);
@@ -509,7 +509,7 @@ function Te(e, t, r) {
509
509
  if (!i.every(Boolean))
510
510
  throw new Error("derived() expects stores as input, got a falsy value");
511
511
  const s = t.length < 2;
512
- return Kr(r, (a, o) => {
512
+ return qr(r, (a, o) => {
513
513
  let l = !1;
514
514
  const u = [];
515
515
  let h = 0, c = ne;
@@ -520,7 +520,7 @@ function Te(e, t, r) {
520
520
  const w = t(n ? u[0] : u, a, o);
521
521
  s ? a(w) : c = dt(w) ? w : ne;
522
522
  }, x = i.map(
523
- (w, b) => Jt(
523
+ (w, b) => Zt(
524
524
  w,
525
525
  (M) => {
526
526
  u[b] = M, h &= ~(1 << b), l && p();
@@ -535,71 +535,71 @@ function Te(e, t, r) {
535
535
  };
536
536
  });
537
537
  }
538
- var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
538
+ var qt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
539
539
  function gt(e) {
540
540
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var en = function(t) {
543
- return tn(t) && !rn(t);
542
+ var Kr = function(t) {
543
+ return en(t) && !tn(t);
544
544
  };
545
- function tn(e) {
545
+ function en(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function rn(e) {
548
+ function tn(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
550
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
551
551
  }
552
- var nn = typeof Symbol == "function" && Symbol.for, sn = nn ? Symbol.for("react.element") : 60103;
553
- function on(e) {
554
- return e.$$typeof === sn;
552
+ var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
553
+ function sn(e) {
554
+ return e.$$typeof === nn;
555
555
  }
556
- function an(e) {
556
+ function on(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
559
  function $e(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? _e(an(e), e, t) : e;
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? _e(on(e), e, t) : e;
561
561
  }
562
- function un(e, t, r) {
562
+ function an(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
564
  return $e(n, r);
565
565
  });
566
566
  }
567
- function ln(e, t) {
567
+ function un(e, t) {
568
568
  if (!t.customMerge)
569
569
  return _e;
570
570
  var r = t.customMerge(e);
571
571
  return typeof r == "function" ? r : _e;
572
572
  }
573
- function hn(e) {
573
+ function ln(e) {
574
574
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
575
575
  return Object.propertyIsEnumerable.call(e, t);
576
576
  }) : [];
577
577
  }
578
- function Tt(e) {
579
- return Object.keys(e).concat(hn(e));
578
+ function St(e) {
579
+ return Object.keys(e).concat(ln(e));
580
580
  }
581
- function er(e, t) {
581
+ function Kt(e, t) {
582
582
  try {
583
583
  return t in e;
584
584
  } catch {
585
585
  return !1;
586
586
  }
587
587
  }
588
- function fn(e, t) {
589
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ function hn(e, t) {
589
+ return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
- function cn(e, t, r) {
591
+ function fn(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
593
+ return r.isMergeableObject(e) && St(e).forEach(function(i) {
594
594
  n[i] = $e(e[i], r);
595
- }), Tt(t).forEach(function(i) {
596
- fn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = $e(t[i], r));
595
+ }), St(t).forEach(function(i) {
596
+ hn(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = $e(t[i], r));
597
597
  }), n;
598
598
  }
599
599
  function _e(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = $e;
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = $e;
601
601
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
602
- return s ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : $e(t, r);
602
+ return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : $e(t, r);
603
603
  }
604
604
  _e.all = function(t, r) {
605
605
  if (!Array.isArray(t))
@@ -608,8 +608,8 @@ _e.all = function(t, r) {
608
608
  return _e(n, i, r);
609
609
  }, {});
610
610
  };
611
- var mn = _e, dn = mn;
612
- const gn = /* @__PURE__ */ gt(dn);
611
+ var cn = _e, mn = cn;
612
+ const dn = /* @__PURE__ */ gt(mn);
613
613
  var ot = function(e, t) {
614
614
  return ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
615
615
  r.__proto__ = n;
@@ -635,7 +635,7 @@ var O = function() {
635
635
  return t;
636
636
  }, O.apply(this, arguments);
637
637
  };
638
- function pn(e, t) {
638
+ function gn(e, t) {
639
639
  var r = {};
640
640
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
641
641
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -649,39 +649,36 @@ function Je(e, t, r) {
649
649
  return e.concat(s || Array.prototype.slice.call(t));
650
650
  }
651
651
  function Qe(e, t) {
652
- var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : yn;
652
+ var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
653
653
  return i(e, {
654
654
  cache: r,
655
655
  serializer: n
656
656
  });
657
657
  }
658
- function bn(e) {
658
+ function pn(e) {
659
659
  return e == null || typeof e == "number" || typeof e == "boolean";
660
660
  }
661
- function tr(e, t, r, n) {
662
- var i = bn(n) ? n : r(n), s = t.get(i);
661
+ function bn(e, t, r, n) {
662
+ var i = pn(n) ? n : r(n), s = t.get(i);
663
663
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
664
664
  }
665
- function rr(e, t, r) {
665
+ function er(e, t, r) {
666
666
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
667
667
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
668
668
  }
669
- function pt(e, t, r, n, i) {
669
+ function tr(e, t, r, n, i) {
670
670
  return r.bind(t, e, n, i);
671
671
  }
672
672
  function yn(e, t) {
673
- var r = e.length === 1 ? tr : rr;
674
- return pt(e, this, r, t.cache.create(), t.serializer);
673
+ var r = e.length === 1 ? bn : er;
674
+ return tr(e, this, r, t.cache.create(), t.serializer);
675
675
  }
676
676
  function vn(e, t) {
677
- return pt(e, this, rr, t.cache.create(), t.serializer);
677
+ return tr(e, this, er, t.cache.create(), t.serializer);
678
678
  }
679
- function _n(e, t) {
680
- return pt(e, this, tr, t.cache.create(), t.serializer);
681
- }
682
- var xn = function() {
679
+ var _n = function() {
683
680
  return JSON.stringify(arguments);
684
- }, En = (
681
+ }, xn = (
685
682
  /** @class */
686
683
  function() {
687
684
  function e() {
@@ -693,13 +690,12 @@ var xn = function() {
693
690
  this.cache[t] = r;
694
691
  }, e;
695
692
  }()
696
- ), wn = {
693
+ ), En = {
697
694
  create: function() {
698
- return new En();
695
+ return new xn();
699
696
  }
700
697
  }, qe = {
701
- variadic: vn,
702
- monadic: _n
698
+ variadic: vn
703
699
  }, H;
704
700
  (function(e) {
705
701
  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";
@@ -712,43 +708,43 @@ var xe;
712
708
  (function(e) {
713
709
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
714
710
  })(xe || (xe = {}));
715
- function Mt(e) {
711
+ function Tt(e) {
716
712
  return e.type === D.literal;
717
713
  }
718
- function Sn(e) {
714
+ function wn(e) {
719
715
  return e.type === D.argument;
720
716
  }
721
- function nr(e) {
717
+ function rr(e) {
722
718
  return e.type === D.number;
723
719
  }
724
- function ir(e) {
720
+ function nr(e) {
725
721
  return e.type === D.date;
726
722
  }
727
- function sr(e) {
723
+ function ir(e) {
728
724
  return e.type === D.time;
729
725
  }
730
- function or(e) {
726
+ function sr(e) {
731
727
  return e.type === D.select;
732
728
  }
733
- function ar(e) {
729
+ function or(e) {
734
730
  return e.type === D.plural;
735
731
  }
736
- function Tn(e) {
732
+ function Sn(e) {
737
733
  return e.type === D.pound;
738
734
  }
739
- function ur(e) {
735
+ function ar(e) {
740
736
  return e.type === D.tag;
741
737
  }
742
- function lr(e) {
738
+ function ur(e) {
743
739
  return !!(e && typeof e == "object" && e.type === xe.number);
744
740
  }
745
741
  function at(e) {
746
742
  return !!(e && typeof e == "object" && e.type === xe.dateTime);
747
743
  }
748
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mn = /(?:[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;
749
- function Hn(e) {
744
+ var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
745
+ function Mn(e) {
750
746
  var t = {};
751
- return e.replace(Mn, function(r) {
747
+ return e.replace(Tn, function(r) {
752
748
  var n = r.length;
753
749
  switch (r[0]) {
754
750
  case "G":
@@ -837,11 +833,11 @@ function Hn(e) {
837
833
  return "";
838
834
  }), t;
839
835
  }
840
- var Ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
841
- function An(e) {
836
+ var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
+ function Ln(e) {
842
838
  if (e.length === 0)
843
839
  throw new Error("Number skeleton cannot be empty");
844
- for (var t = e.split(Ln).filter(function(p) {
840
+ for (var t = e.split(Hn).filter(function(p) {
845
841
  return p.length > 0;
846
842
  }), r = [], n = 0, i = t; n < i.length; n++) {
847
843
  var s = i[n], a = s.split("/");
@@ -856,17 +852,17 @@ function An(e) {
856
852
  }
857
853
  return r;
858
854
  }
859
- function On(e) {
855
+ function An(e) {
860
856
  return e.replace(/^(.*?)-/, "");
861
857
  }
862
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
863
- function Lt(e) {
858
+ var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
859
+ function Ht(e) {
864
860
  var t = {};
865
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
861
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
866
862
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
867
863
  }), t;
868
864
  }
869
- function mr(e) {
865
+ function cr(e) {
870
866
  switch (e) {
871
867
  case "sign-auto":
872
868
  return {
@@ -906,7 +902,7 @@ function mr(e) {
906
902
  };
907
903
  }
908
904
  }
909
- function Bn(e) {
905
+ function $n(e) {
910
906
  var t;
911
907
  if (e[0] === "E" && e[1] === "E" ? (t = {
912
908
  notation: "engineering"
@@ -914,17 +910,17 @@ function Bn(e) {
914
910
  notation: "scientific"
915
911
  }, e = e.slice(1)), t) {
916
912
  var r = e.slice(0, 2);
917
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
913
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
918
914
  throw new Error("Malformed concise eng/scientific notation");
919
915
  t.minimumIntegerDigits = e.length;
920
916
  }
921
917
  return t;
922
918
  }
923
- function At(e) {
924
- var t = {}, r = mr(e);
919
+ function Lt(e) {
920
+ var t = {}, r = cr(e);
925
921
  return r || t;
926
922
  }
927
- function Pn(e) {
923
+ function Bn(e) {
928
924
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
929
925
  var i = n[r];
930
926
  switch (i.stem) {
@@ -948,7 +944,7 @@ function Pn(e) {
948
944
  continue;
949
945
  case "measure-unit":
950
946
  case "unit":
951
- t.style = "unit", t.unit = On(i.options[0]);
947
+ t.style = "unit", t.unit = An(i.options[0]);
952
948
  continue;
953
949
  case "compact-short":
954
950
  case "K":
@@ -960,12 +956,12 @@ function Pn(e) {
960
956
  continue;
961
957
  case "scientific":
962
958
  t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
963
- return O(O({}, l), At(u));
959
+ return O(O({}, l), Lt(u));
964
960
  }, {}));
965
961
  continue;
966
962
  case "engineering":
967
963
  t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
968
- return O(O({}, l), At(u));
964
+ return O(O({}, l), Lt(u));
969
965
  }, {}));
970
966
  continue;
971
967
  case "notation-simple":
@@ -1010,7 +1006,7 @@ function Pn(e) {
1010
1006
  case "integer-width":
1011
1007
  if (i.options.length > 1)
1012
1008
  throw new RangeError("integer-width stems only accept a single optional option");
1013
- i.options[0].replace($n, function(l, u, h, c, p, x) {
1009
+ i.options[0].replace(On, function(l, u, h, c, p, x) {
1014
1010
  if (u)
1015
1011
  t.minimumIntegerDigits = h.length;
1016
1012
  else {
@@ -1023,27 +1019,27 @@ function Pn(e) {
1023
1019
  });
1024
1020
  continue;
1025
1021
  }
1026
- if (cr.test(i.stem)) {
1022
+ if (fr.test(i.stem)) {
1027
1023
  t.minimumIntegerDigits = i.stem.length;
1028
1024
  continue;
1029
1025
  }
1030
- if (Ht.test(i.stem)) {
1026
+ if (Mt.test(i.stem)) {
1031
1027
  if (i.options.length > 1)
1032
1028
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1033
- i.stem.replace(Ht, function(l, u, h, c, p, x) {
1029
+ i.stem.replace(Mt, function(l, u, h, c, p, x) {
1034
1030
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1035
1031
  });
1036
1032
  var s = i.options[0];
1037
- s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), Lt(s)));
1033
+ s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), Ht(s)));
1038
1034
  continue;
1039
1035
  }
1040
- if (fr.test(i.stem)) {
1041
- t = O(O({}, t), Lt(i.stem));
1036
+ if (hr.test(i.stem)) {
1037
+ t = O(O({}, t), Ht(i.stem));
1042
1038
  continue;
1043
1039
  }
1044
- var a = mr(i.stem);
1040
+ var a = cr(i.stem);
1045
1041
  a && (t = O(O({}, t), a));
1046
- var o = Bn(i.stem);
1042
+ var o = $n(i.stem);
1047
1043
  o && (t = O(O({}, t), o));
1048
1044
  }
1049
1045
  return t;
@@ -2463,13 +2459,13 @@ var Ie = {
2463
2459
  "h"
2464
2460
  ]
2465
2461
  };
2466
- function Nn(e, t) {
2462
+ function Pn(e, t) {
2467
2463
  for (var r = "", n = 0; n < e.length; n++) {
2468
2464
  var i = e.charAt(n);
2469
2465
  if (i === "j") {
2470
2466
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2471
2467
  s++, n++;
2472
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Cn(t);
2468
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Nn(t);
2473
2469
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2474
2470
  r += l;
2475
2471
  for (; a-- > 0; )
@@ -2478,7 +2474,7 @@ function Nn(e, t) {
2478
2474
  }
2479
2475
  return r;
2480
2476
  }
2481
- function Cn(e) {
2477
+ function Nn(e) {
2482
2478
  var t = e.hourCycle;
2483
2479
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2484
2480
  e.hourCycles && // @ts-ignore
@@ -2500,20 +2496,20 @@ function Cn(e) {
2500
2496
  var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
2501
2497
  return i[0];
2502
2498
  }
2503
- var Ke, In = new RegExp("^".concat(hr.source, "*")), Dn = new RegExp("".concat(hr.source, "*$"));
2499
+ var Ke, Cn = new RegExp("^".concat(lr.source, "*")), In = new RegExp("".concat(lr.source, "*$"));
2504
2500
  function L(e, t) {
2505
2501
  return { start: e, end: t };
2506
2502
  }
2507
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, Vn = !!Number.isSafeInteger, Xn = Vn ? Number.isSafeInteger : function(e) {
2503
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, kn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, Vn = jn ? Number.isSafeInteger : function(e) {
2508
2504
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2509
2505
  }, ut = !0;
2510
2506
  try {
2511
- var Wn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2512
- ut = ((Ke = Wn.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
2507
+ var Xn = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
+ ut = ((Ke = Xn.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
2513
2509
  } catch {
2514
2510
  ut = !1;
2515
2511
  }
2516
- var Ot = Rn ? (
2512
+ var At = Dn ? (
2517
2513
  // Native
2518
2514
  function(t, r, n) {
2519
2515
  return t.startsWith(r, n);
@@ -2523,7 +2519,7 @@ var Ot = Rn ? (
2523
2519
  function(t, r, n) {
2524
2520
  return t.slice(n, n + r.length) === r;
2525
2521
  }
2526
- ), lt = Un ? String.fromCodePoint : (
2522
+ ), lt = Rn ? String.fromCodePoint : (
2527
2523
  // IE11
2528
2524
  function() {
2529
2525
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2535,9 +2531,9 @@ var Ot = Rn ? (
2535
2531
  }
2536
2532
  return n;
2537
2533
  }
2538
- ), $t = (
2534
+ ), Ot = (
2539
2535
  // native
2540
- Gn ? Object.fromEntries : (
2536
+ Un ? Object.fromEntries : (
2541
2537
  // Ponyfill
2542
2538
  function(t) {
2543
2539
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2547,7 +2543,7 @@ var Ot = Rn ? (
2547
2543
  return r;
2548
2544
  }
2549
2545
  )
2550
- ), dr = Fn ? (
2546
+ ), mr = Gn ? (
2551
2547
  // Native
2552
2548
  function(t, r) {
2553
2549
  return t.codePointAt(r);
@@ -2561,7 +2557,7 @@ var Ot = Rn ? (
2561
2557
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2562
2558
  }
2563
2559
  }
2564
- ), zn = kn ? (
2560
+ ), Wn = Fn ? (
2565
2561
  // Native
2566
2562
  function(t) {
2567
2563
  return t.trimStart();
@@ -2569,9 +2565,9 @@ var Ot = Rn ? (
2569
2565
  ) : (
2570
2566
  // Ponyfill
2571
2567
  function(t) {
2572
- return t.replace(In, "");
2568
+ return t.replace(Cn, "");
2573
2569
  }
2574
- ), Yn = jn ? (
2570
+ ), zn = kn ? (
2575
2571
  // Native
2576
2572
  function(t) {
2577
2573
  return t.trimEnd();
@@ -2579,32 +2575,32 @@ var Ot = Rn ? (
2579
2575
  ) : (
2580
2576
  // Ponyfill
2581
2577
  function(t) {
2582
- return t.replace(Dn, "");
2578
+ return t.replace(In, "");
2583
2579
  }
2584
2580
  );
2585
- function gr(e, t) {
2581
+ function dr(e, t) {
2586
2582
  return new RegExp(e, t);
2587
2583
  }
2588
2584
  var ht;
2589
2585
  if (ut) {
2590
- var Bt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2586
+ var $t = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
2587
  ht = function(t, r) {
2592
2588
  var n;
2593
- Bt.lastIndex = r;
2594
- var i = Bt.exec(t);
2589
+ $t.lastIndex = r;
2590
+ var i = $t.exec(t);
2595
2591
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2596
2592
  };
2597
2593
  } else
2598
2594
  ht = function(t, r) {
2599
2595
  for (var n = []; ; ) {
2600
- var i = dr(t, r);
2601
- if (i === void 0 || pr(i) || qn(i))
2596
+ var i = mr(t, r);
2597
+ if (i === void 0 || gr(i) || Qn(i))
2602
2598
  break;
2603
2599
  n.push(i), r += i >= 65536 ? 2 : 1;
2604
2600
  }
2605
2601
  return lt.apply(void 0, n);
2606
2602
  };
2607
- var Zn = (
2603
+ var Yn = (
2608
2604
  /** @class */
2609
2605
  function() {
2610
2606
  function e(t, r) {
@@ -2686,7 +2682,7 @@ var Zn = (
2686
2682
  return this.error(H.INVALID_TAG, L(n, this.clonePosition()));
2687
2683
  }, e.prototype.parseTagName = function() {
2688
2684
  var t = this.offset();
2689
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
2685
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
2690
2686
  this.bump();
2691
2687
  return this.message.slice(t, this.offset());
2692
2688
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2715,7 +2711,7 @@ var Zn = (
2715
2711
  };
2716
2712
  }, e.prototype.tryParseLeftAngleBracket = function() {
2717
2713
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2718
- !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
2714
+ !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
2719
2715
  }, e.prototype.tryParseQuote = function(t) {
2720
2716
  if (this.isEOF() || this.char() !== 39)
2721
2717
  return null;
@@ -2802,7 +2798,7 @@ var Zn = (
2802
2798
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2803
2799
  if (c.err)
2804
2800
  return c;
2805
- var p = Yn(c.val);
2801
+ var p = zn(c.val);
2806
2802
  if (p.length === 0)
2807
2803
  return this.error(H.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2808
2804
  var x = L(h, this.clonePosition());
@@ -2812,8 +2808,8 @@ var Zn = (
2812
2808
  if (w.err)
2813
2809
  return w;
2814
2810
  var b = L(i, this.clonePosition());
2815
- if (u && Ot(u?.style, "::", 0)) {
2816
- var M = zn(u.style.slice(2));
2811
+ if (u && At(u?.style, "::", 0)) {
2812
+ var M = Wn(u.style.slice(2));
2817
2813
  if (o === "number") {
2818
2814
  var c = this.parseNumberSkeletonFromString(M, u.styleLocation);
2819
2815
  return c.err ? c : {
@@ -2824,12 +2820,12 @@ var Zn = (
2824
2820
  if (M.length === 0)
2825
2821
  return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
2826
2822
  var P = M;
2827
- this.locale && (P = Nn(M, this.locale));
2823
+ this.locale && (P = Pn(M, this.locale));
2828
2824
  var p = {
2829
2825
  type: xe.dateTime,
2830
2826
  pattern: P,
2831
2827
  location: u.styleLocation,
2832
- parsedOptions: this.shouldParseSkeletons ? Hn(P) : {}
2828
+ parsedOptions: this.shouldParseSkeletons ? Mn(P) : {}
2833
2829
  }, I = o === "date" ? D.date : D.time;
2834
2830
  return {
2835
2831
  val: { type: I, value: n, location: b, style: p },
@@ -2875,7 +2871,7 @@ var Zn = (
2875
2871
  val: {
2876
2872
  type: D.select,
2877
2873
  value: n,
2878
- options: $t(F.val),
2874
+ options: Ot(F.val),
2879
2875
  location: G
2880
2876
  },
2881
2877
  err: null
@@ -2883,7 +2879,7 @@ var Zn = (
2883
2879
  val: {
2884
2880
  type: D.plural,
2885
2881
  value: n,
2886
- options: $t(F.val),
2882
+ options: Ot(F.val),
2887
2883
  offset: N,
2888
2884
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2889
2885
  location: G
@@ -2934,7 +2930,7 @@ var Zn = (
2934
2930
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2935
2931
  var n = [];
2936
2932
  try {
2937
- n = An(t);
2933
+ n = Ln(t);
2938
2934
  } catch {
2939
2935
  return this.error(H.INVALID_NUMBER_SKELETON, r);
2940
2936
  }
@@ -2943,7 +2939,7 @@ var Zn = (
2943
2939
  type: xe.number,
2944
2940
  tokens: n,
2945
2941
  location: r,
2946
- parsedOptions: this.shouldParseSkeletons ? Pn(n) : {}
2942
+ parsedOptions: this.shouldParseSkeletons ? Bn(n) : {}
2947
2943
  },
2948
2944
  err: null
2949
2945
  };
@@ -2991,7 +2987,7 @@ var Zn = (
2991
2987
  break;
2992
2988
  }
2993
2989
  var l = L(i, this.clonePosition());
2994
- return s ? (a *= n, Xn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2990
+ return s ? (a *= n, Vn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2995
2991
  }, e.prototype.offset = function() {
2996
2992
  return this.position.offset;
2997
2993
  }, e.prototype.isEOF = function() {
@@ -3006,7 +3002,7 @@ var Zn = (
3006
3002
  var t = this.position.offset;
3007
3003
  if (t >= this.message.length)
3008
3004
  throw Error("out of bound");
3009
- var r = dr(this.message, t);
3005
+ var r = mr(this.message, t);
3010
3006
  if (r === void 0)
3011
3007
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3012
3008
  return r;
@@ -3025,7 +3021,7 @@ var Zn = (
3025
3021
  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);
3026
3022
  }
3027
3023
  }, e.prototype.bumpIf = function(t) {
3028
- if (Ot(this.message, t, this.offset())) {
3024
+ if (At(this.message, t, this.offset())) {
3029
3025
  for (var r = 0; r < t.length; r++)
3030
3026
  this.bump();
3031
3027
  return !0;
@@ -3047,7 +3043,7 @@ var Zn = (
3047
3043
  break;
3048
3044
  }
3049
3045
  }, e.prototype.bumpSpace = function() {
3050
- for (; !this.isEOF() && pr(this.char()); )
3046
+ for (; !this.isEOF() && gr(this.char()); )
3051
3047
  this.bump();
3052
3048
  }, e.prototype.peek = function() {
3053
3049
  if (this.isEOF())
@@ -3060,29 +3056,29 @@ var Zn = (
3060
3056
  function ft(e) {
3061
3057
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3062
3058
  }
3063
- function Jn(e) {
3059
+ function Zn(e) {
3064
3060
  return ft(e) || e === 47;
3065
3061
  }
3066
- function Qn(e) {
3062
+ function Jn(e) {
3067
3063
  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;
3068
3064
  }
3069
- function pr(e) {
3065
+ function gr(e) {
3070
3066
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3071
3067
  }
3072
- function qn(e) {
3068
+ function Qn(e) {
3073
3069
  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;
3074
3070
  }
3075
3071
  function ct(e) {
3076
3072
  e.forEach(function(t) {
3077
- if (delete t.location, or(t) || ar(t))
3073
+ if (delete t.location, sr(t) || or(t))
3078
3074
  for (var r in t.options)
3079
3075
  delete t.options[r].location, ct(t.options[r].value);
3080
- else nr(t) && lr(t.style) || (ir(t) || sr(t)) && at(t.style) ? delete t.style.location : ur(t) && ct(t.children);
3076
+ else rr(t) && ur(t.style) || (nr(t) || ir(t)) && at(t.style) ? delete t.style.location : ar(t) && ct(t.children);
3081
3077
  });
3082
3078
  }
3083
- function Kn(e, t) {
3079
+ function qn(e, t) {
3084
3080
  t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3085
- var r = new Zn(e, t).parse();
3081
+ var r = new Yn(e, t).parse();
3086
3082
  if (r.err) {
3087
3083
  var n = SyntaxError(H[r.err.kind]);
3088
3084
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3105,7 +3101,7 @@ var Xe = (
3105
3101
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3106
3102
  }, t;
3107
3103
  }(Error)
3108
- ), Pt = (
3104
+ ), Bt = (
3109
3105
  /** @class */
3110
3106
  function(e) {
3111
3107
  Ve(t, e);
@@ -3114,7 +3110,7 @@ var Xe = (
3114
3110
  }
3115
3111
  return t;
3116
3112
  }(Xe)
3117
- ), ei = (
3113
+ ), Kn = (
3118
3114
  /** @class */
3119
3115
  function(e) {
3120
3116
  Ve(t, e);
@@ -3123,7 +3119,7 @@ var Xe = (
3123
3119
  }
3124
3120
  return t;
3125
3121
  }(Xe)
3126
- ), ti = (
3122
+ ), ei = (
3127
3123
  /** @class */
3128
3124
  function(e) {
3129
3125
  Ve(t, e);
@@ -3136,17 +3132,17 @@ var Xe = (
3136
3132
  (function(e) {
3137
3133
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3138
3134
  })(Q || (Q = {}));
3139
- function ri(e) {
3135
+ function ti(e) {
3140
3136
  return e.length < 2 ? e : e.reduce(function(t, r) {
3141
3137
  var n = t[t.length - 1];
3142
3138
  return !n || n.type !== Q.literal || r.type !== Q.literal ? t.push(r) : n.value += r.value, t;
3143
3139
  }, []);
3144
3140
  }
3145
- function ni(e) {
3141
+ function ri(e) {
3146
3142
  return typeof e == "function";
3147
3143
  }
3148
3144
  function Re(e, t, r, n, i, s, a) {
3149
- if (e.length === 1 && Mt(e[0]))
3145
+ if (e.length === 1 && Tt(e[0]))
3150
3146
  return [
3151
3147
  {
3152
3148
  type: Q.literal,
@@ -3155,14 +3151,14 @@ function Re(e, t, r, n, i, s, a) {
3155
3151
  ];
3156
3152
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3157
3153
  var h = u[l];
3158
- if (Mt(h)) {
3154
+ if (Tt(h)) {
3159
3155
  o.push({
3160
3156
  type: Q.literal,
3161
3157
  value: h.value
3162
3158
  });
3163
3159
  continue;
3164
3160
  }
3165
- if (Tn(h)) {
3161
+ if (Sn(h)) {
3166
3162
  typeof s == "number" && o.push({
3167
3163
  type: Q.literal,
3168
3164
  value: r.getNumberFormat(t).format(s)
@@ -3171,16 +3167,16 @@ function Re(e, t, r, n, i, s, a) {
3171
3167
  }
3172
3168
  var c = h.value;
3173
3169
  if (!(i && c in i))
3174
- throw new ti(c, a);
3170
+ throw new ei(c, a);
3175
3171
  var p = i[c];
3176
- if (Sn(h)) {
3172
+ if (wn(h)) {
3177
3173
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), o.push({
3178
3174
  type: typeof p == "string" ? Q.literal : Q.object,
3179
3175
  value: p
3180
3176
  });
3181
3177
  continue;
3182
3178
  }
3183
- if (ir(h)) {
3179
+ if (nr(h)) {
3184
3180
  var x = typeof h.style == "string" ? n.date[h.style] : at(h.style) ? h.style.parsedOptions : void 0;
3185
3181
  o.push({
3186
3182
  type: Q.literal,
@@ -3188,7 +3184,7 @@ function Re(e, t, r, n, i, s, a) {
3188
3184
  });
3189
3185
  continue;
3190
3186
  }
3191
- if (sr(h)) {
3187
+ if (ir(h)) {
3192
3188
  var x = typeof h.style == "string" ? n.time[h.style] : at(h.style) ? h.style.parsedOptions : n.time.medium;
3193
3189
  o.push({
3194
3190
  type: Q.literal,
@@ -3196,18 +3192,18 @@ function Re(e, t, r, n, i, s, a) {
3196
3192
  });
3197
3193
  continue;
3198
3194
  }
3199
- if (nr(h)) {
3200
- var x = typeof h.style == "string" ? n.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3195
+ if (rr(h)) {
3196
+ var x = typeof h.style == "string" ? n.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
3201
3197
  x && x.scale && (p = p * (x.scale || 1)), o.push({
3202
3198
  type: Q.literal,
3203
3199
  value: r.getNumberFormat(t, x).format(p)
3204
3200
  });
3205
3201
  continue;
3206
3202
  }
3207
- if (ur(h)) {
3203
+ if (ar(h)) {
3208
3204
  var w = h.children, b = h.value, M = i[b];
3209
- if (!ni(M))
3210
- throw new ei(b, "function", a);
3205
+ if (!ri(M))
3206
+ throw new Kn(b, "function", a);
3211
3207
  var P = Re(w, t, r, n, i, s), I = M(P.map(function(N) {
3212
3208
  return N.value;
3213
3209
  }));
@@ -3218,14 +3214,14 @@ function Re(e, t, r, n, i, s, a) {
3218
3214
  };
3219
3215
  }));
3220
3216
  }
3221
- if (or(h)) {
3217
+ if (sr(h)) {
3222
3218
  var A = h.options[p] || h.options.other;
3223
3219
  if (!A)
3224
- throw new Pt(h.value, p, Object.keys(h.options), a);
3220
+ throw new Bt(h.value, p, Object.keys(h.options), a);
3225
3221
  o.push.apply(o, Re(A.value, t, r, n, i));
3226
3222
  continue;
3227
3223
  }
3228
- if (ar(h)) {
3224
+ if (or(h)) {
3229
3225
  var A = h.options["=".concat(p)];
3230
3226
  if (!A) {
3231
3227
  if (!Intl.PluralRules)
@@ -3236,21 +3232,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3236
3232
  A = h.options[R] || h.options.other;
3237
3233
  }
3238
3234
  if (!A)
3239
- throw new Pt(h.value, p, Object.keys(h.options), a);
3235
+ throw new Bt(h.value, p, Object.keys(h.options), a);
3240
3236
  o.push.apply(o, Re(A.value, t, r, n, i, p - (h.offset || 0)));
3241
3237
  continue;
3242
3238
  }
3243
3239
  }
3244
- return ri(o);
3240
+ return ti(o);
3245
3241
  }
3246
- function ii(e, t) {
3242
+ function ni(e, t) {
3247
3243
  return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3248
3244
  return r[n] = O(O({}, e[n]), t[n] || {}), r;
3249
3245
  }, {})) : e;
3250
3246
  }
3251
- function si(e, t) {
3247
+ function ii(e, t) {
3252
3248
  return t ? Object.keys(e).reduce(function(r, n) {
3253
- return r[n] = ii(e[n], t[n]), r;
3249
+ return r[n] = ni(e[n], t[n]), r;
3254
3250
  }, O({}, e)) : e;
3255
3251
  }
3256
3252
  function et(e) {
@@ -3267,7 +3263,7 @@ function et(e) {
3267
3263
  }
3268
3264
  };
3269
3265
  }
3270
- function oi(e) {
3266
+ function si(e) {
3271
3267
  return e === void 0 && (e = {
3272
3268
  number: {},
3273
3269
  dateTime: {},
@@ -3299,7 +3295,7 @@ function oi(e) {
3299
3295
  })
3300
3296
  };
3301
3297
  }
3302
- var br = (
3298
+ var pr = (
3303
3299
  /** @class */
3304
3300
  function() {
3305
3301
  function e(t, r, n, i) {
@@ -3331,13 +3327,13 @@ var br = (
3331
3327
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3332
3328
  var a = i || {};
3333
3329
  a.formatters;
3334
- var o = pn(a, ["formatters"]);
3330
+ var o = gn(a, ["formatters"]);
3335
3331
  this.ast = e.__parse(t, O(O({}, o), { locale: this.resolvedLocale }));
3336
3332
  } else
3337
3333
  this.ast = t;
3338
3334
  if (!Array.isArray(this.ast))
3339
3335
  throw new TypeError("A message must be provided as a String or AST.");
3340
- this.formats = si(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3336
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || si(this.formatterCache);
3341
3337
  }
3342
3338
  return Object.defineProperty(e, "defaultLocale", {
3343
3339
  get: function() {
@@ -3350,7 +3346,7 @@ var br = (
3350
3346
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3351
3347
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3352
3348
  }
3353
- }, e.__parse = Kn, e.formats = {
3349
+ }, e.__parse = qn, e.formats = {
3354
3350
  number: {
3355
3351
  integer: {
3356
3352
  maximumFractionDigits: 0
@@ -3411,7 +3407,7 @@ var br = (
3411
3407
  }, e;
3412
3408
  }()
3413
3409
  );
3414
- function ai(e, t) {
3410
+ function oi(e, t) {
3415
3411
  if (t == null)
3416
3412
  return;
3417
3413
  if (t in e)
@@ -3432,60 +3428,60 @@ function ai(e, t) {
3432
3428
  n = void 0;
3433
3429
  return n;
3434
3430
  }
3435
- const fe = {}, ui = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), yr = (e, t) => {
3431
+ const fe = {}, ai = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), br = (e, t) => {
3436
3432
  if (t == null)
3437
3433
  return;
3438
3434
  if (t in fe && e in fe[t])
3439
3435
  return fe[t][e];
3440
3436
  const r = Ne(t);
3441
3437
  for (let n = 0; n < r.length; n++) {
3442
- const i = r[n], s = hi(i, e);
3438
+ const i = r[n], s = li(i, e);
3443
3439
  if (s)
3444
- return ui(e, t, s);
3440
+ return ai(e, t, s);
3445
3441
  }
3446
3442
  };
3447
- let bt;
3443
+ let pt;
3448
3444
  const Pe = je({});
3449
- function li(e) {
3450
- return bt[e] || null;
3445
+ function ui(e) {
3446
+ return pt[e] || null;
3451
3447
  }
3452
- function vr(e) {
3453
- return e in bt;
3448
+ function yr(e) {
3449
+ return e in pt;
3454
3450
  }
3455
- function hi(e, t) {
3456
- if (!vr(e))
3451
+ function li(e, t) {
3452
+ if (!yr(e))
3457
3453
  return null;
3458
- const r = li(e);
3459
- return ai(r, t);
3454
+ const r = ui(e);
3455
+ return oi(r, t);
3460
3456
  }
3461
- function fi(e) {
3457
+ function hi(e) {
3462
3458
  if (e == null)
3463
3459
  return;
3464
3460
  const t = Ne(e);
3465
3461
  for (let r = 0; r < t.length; r++) {
3466
3462
  const n = t[r];
3467
- if (vr(n))
3463
+ if (yr(n))
3468
3464
  return n;
3469
3465
  }
3470
3466
  }
3471
- function _r(e, ...t) {
3472
- delete fe[e], Pe.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3467
+ function vr(e, ...t) {
3468
+ delete fe[e], Pe.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3473
3469
  }
3474
3470
  Te(
3475
3471
  [Pe],
3476
3472
  ([e]) => Object.keys(e)
3477
3473
  );
3478
- Pe.subscribe((e) => bt = e);
3474
+ Pe.subscribe((e) => pt = e);
3479
3475
  const Ue = {};
3480
- function ci(e, t) {
3476
+ function fi(e, t) {
3481
3477
  Ue[e].delete(t), Ue[e].size === 0 && delete Ue[e];
3482
3478
  }
3483
- function xr(e) {
3479
+ function _r(e) {
3484
3480
  return Ue[e];
3485
3481
  }
3486
- function mi(e) {
3482
+ function ci(e) {
3487
3483
  return Ne(e).map((t) => {
3488
- const r = xr(t);
3484
+ const r = _r(t);
3489
3485
  return [t, r ? [...r] : []];
3490
3486
  }).filter(([, t]) => t.length > 0);
3491
3487
  }
@@ -3493,40 +3489,40 @@ function Ge(e) {
3493
3489
  return e == null ? !1 : Ne(e).some(
3494
3490
  (t) => {
3495
3491
  var r;
3496
- return (r = xr(t)) == null ? void 0 : r.size;
3492
+ return (r = _r(t)) == null ? void 0 : r.size;
3497
3493
  }
3498
3494
  );
3499
3495
  }
3500
- function di(e, t) {
3496
+ function mi(e, t) {
3501
3497
  return Promise.all(
3502
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3503
- ).then((n) => _r(e, ...n));
3498
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3499
+ ).then((n) => vr(e, ...n));
3504
3500
  }
3505
3501
  const He = {};
3506
- function Er(e) {
3502
+ function xr(e) {
3507
3503
  if (!Ge(e))
3508
3504
  return e in He ? He[e] : Promise.resolve();
3509
- const t = mi(e);
3505
+ const t = ci(e);
3510
3506
  return He[e] = Promise.all(
3511
3507
  t.map(
3512
- ([r, n]) => di(r, n)
3508
+ ([r, n]) => mi(r, n)
3513
3509
  )
3514
3510
  ).then(() => {
3515
3511
  if (Ge(e))
3516
- return Er(e);
3512
+ return xr(e);
3517
3513
  delete He[e];
3518
3514
  }), He[e];
3519
3515
  }
3520
- var Nt = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, bi = (e, t) => {
3516
+ var Pt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, pi = (e, t) => {
3521
3517
  var r = {};
3522
3518
  for (var n in e)
3523
- gi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3524
- if (e != null && Nt)
3525
- for (var n of Nt(e))
3526
- t.indexOf(n) < 0 && pi.call(e, n) && (r[n] = e[n]);
3519
+ di.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3520
+ if (e != null && Pt)
3521
+ for (var n of Pt(e))
3522
+ t.indexOf(n) < 0 && gi.call(e, n) && (r[n] = e[n]);
3527
3523
  return r;
3528
3524
  };
3529
- const yi = {
3525
+ const bi = {
3530
3526
  number: {
3531
3527
  scientific: { notation: "scientific" },
3532
3528
  engineering: { notation: "engineering" },
@@ -3556,7 +3552,7 @@ const yi = {
3556
3552
  }
3557
3553
  }
3558
3554
  };
3559
- function vi({ locale: e, id: t }) {
3555
+ function yi({ locale: e, id: t }) {
3560
3556
  console.warn(
3561
3557
  `[svelte-i18n] The message "${t}" was not found in "${Ne(
3562
3558
  e
@@ -3565,49 +3561,49 @@ function vi({ locale: e, id: t }) {
3565
3561
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3566
3562
  );
3567
3563
  }
3568
- const _i = {
3564
+ const vi = {
3569
3565
  fallbackLocale: null,
3570
3566
  loadingDelay: 200,
3571
- formats: yi,
3567
+ formats: bi,
3572
3568
  warnOnMissingMessages: !0,
3573
3569
  handleMissingMessage: void 0,
3574
3570
  ignoreTag: !0
3575
- }, Le = _i;
3571
+ }, Le = vi;
3576
3572
  function we() {
3577
3573
  return Le;
3578
3574
  }
3579
- function xi(e) {
3580
- const t = e, { formats: r } = t, n = bi(t, ["formats"]);
3575
+ function _i(e) {
3576
+ const t = e, { formats: r } = t, n = pi(t, ["formats"]);
3581
3577
  let i = e.fallbackLocale;
3582
3578
  if (e.initialLocale)
3583
3579
  try {
3584
- br.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3580
+ pr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3585
3581
  } catch {
3586
3582
  console.warn(
3587
3583
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3588
3584
  );
3589
3585
  }
3590
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = vi : console.warn(
3586
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = yi : console.warn(
3591
3587
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3592
3588
  )), Object.assign(Le, n, { initialLocale: i }), r && ("number" in r && Object.assign(Le.formats.number, r.number), "date" in r && Object.assign(Le.formats.date, r.date), "time" in r && Object.assign(Le.formats.time, r.time)), ge.set(i);
3593
3589
  }
3594
3590
  const tt = je(!1);
3595
- var Ei = Object.defineProperty, wi = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
3596
- for (var r in t)
3597
- Ti.call(t, r) && It(e, r, t[r]);
3598
- if (Ct)
3599
- for (var r of Ct(t))
3600
- Mi.call(t, r) && It(e, r, t[r]);
3591
+ var xi = Object.defineProperty, Ei = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
3592
+ for (var r in t || (t = {}))
3593
+ Si.call(t, r) && Ct(e, r, t[r]);
3594
+ if (Nt)
3595
+ for (var r of Nt(t))
3596
+ Ti.call(t, r) && Ct(e, r, t[r]);
3601
3597
  return e;
3602
- }, Li = (e, t) => wi(e, Si(t));
3598
+ }, Hi = (e, t) => Ei(e, wi(t));
3603
3599
  let mt;
3604
3600
  const Fe = je(null);
3605
- function Dt(e) {
3601
+ function It(e) {
3606
3602
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3607
3603
  }
3608
3604
  function Ne(e, t = we().fallbackLocale) {
3609
- const r = Dt(e);
3610
- return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
3605
+ const r = It(e);
3606
+ return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
3611
3607
  }
3612
3608
  function ce() {
3613
3609
  return mt ?? void 0;
@@ -3615,22 +3611,22 @@ function ce() {
3615
3611
  Fe.subscribe((e) => {
3616
3612
  mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3617
3613
  });
3618
- const Ai = (e) => {
3619
- if (e && fi(e) && Ge(e)) {
3614
+ const Li = (e) => {
3615
+ if (e && hi(e) && Ge(e)) {
3620
3616
  const { loadingDelay: t } = we();
3621
3617
  let r;
3622
3618
  return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
3623
3619
  () => tt.set(!0),
3624
3620
  t
3625
- ) : tt.set(!0), Er(e).then(() => {
3621
+ ) : tt.set(!0), xr(e).then(() => {
3626
3622
  Fe.set(e);
3627
3623
  }).finally(() => {
3628
3624
  clearTimeout(r), tt.set(!1);
3629
3625
  });
3630
3626
  }
3631
3627
  return Fe.set(e);
3632
- }, ge = Li(Hi({}, Fe), {
3633
- set: Ai
3628
+ }, ge = Hi(Mi({}, Fe), {
3629
+ set: Li
3634
3630
  }), We = (e) => {
3635
3631
  const t = /* @__PURE__ */ Object.create(null);
3636
3632
  return (n) => {
@@ -3638,20 +3634,20 @@ const Ai = (e) => {
3638
3634
  return i in t ? t[i] : t[i] = e(n);
3639
3635
  };
3640
3636
  };
3641
- var Oi = Object.defineProperty, ke = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
3637
+ var Ai = Object.defineProperty, ke = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
3642
3638
  for (var r in t || (t = {}))
3643
- wr.call(t, r) && Rt(e, r, t[r]);
3639
+ Er.call(t, r) && Dt(e, r, t[r]);
3644
3640
  if (ke)
3645
3641
  for (var r of ke(t))
3646
- Sr.call(t, r) && Rt(e, r, t[r]);
3642
+ wr.call(t, r) && Dt(e, r, t[r]);
3647
3643
  return e;
3648
3644
  }, Me = (e, t) => {
3649
3645
  var r = {};
3650
3646
  for (var n in e)
3651
- wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3647
+ Er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3652
3648
  if (e != null && ke)
3653
3649
  for (var n of ke(e))
3654
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
3650
+ t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
3655
3651
  return r;
3656
3652
  };
3657
3653
  const Be = (e, t) => {
@@ -3659,21 +3655,21 @@ const Be = (e, t) => {
3659
3655
  if (e in r && t in r[e])
3660
3656
  return r[e][t];
3661
3657
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3662
- }, $i = We(
3658
+ }, Oi = We(
3663
3659
  (e) => {
3664
3660
  var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
3665
3661
  if (r == null)
3666
3662
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3667
3663
  return n && (i = Be("number", n)), new Intl.NumberFormat(r, i);
3668
3664
  }
3669
- ), Bi = We(
3665
+ ), $i = We(
3670
3666
  (e) => {
3671
3667
  var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
3672
3668
  if (r == null)
3673
3669
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3674
3670
  return n ? i = Be("date", n) : Object.keys(i).length === 0 && (i = Be("date", "short")), new Intl.DateTimeFormat(r, i);
3675
3671
  }
3676
- ), Pi = We(
3672
+ ), Bi = We(
3677
3673
  (e) => {
3678
3674
  var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
3679
3675
  if (r == null)
@@ -3682,33 +3678,33 @@ const Be = (e, t) => {
3682
3678
  );
3683
3679
  return n ? i = Be("time", n) : Object.keys(i).length === 0 && (i = Be("time", "short")), new Intl.DateTimeFormat(r, i);
3684
3680
  }
3685
- ), Ni = (e = {}) => {
3681
+ ), Pi = (e = {}) => {
3686
3682
  var t = e, {
3687
3683
  locale: r = ce()
3688
3684
  } = t, n = Me(t, [
3689
3685
  "locale"
3690
3686
  ]);
3691
- return $i(yt({ locale: r }, n));
3692
- }, Ci = (e = {}) => {
3687
+ return Oi(bt({ locale: r }, n));
3688
+ }, Ni = (e = {}) => {
3693
3689
  var t = e, {
3694
3690
  locale: r = ce()
3695
3691
  } = t, n = Me(t, [
3696
3692
  "locale"
3697
3693
  ]);
3698
- return Bi(yt({ locale: r }, n));
3699
- }, Ii = (e = {}) => {
3694
+ return $i(bt({ locale: r }, n));
3695
+ }, Ci = (e = {}) => {
3700
3696
  var t = e, {
3701
3697
  locale: r = ce()
3702
3698
  } = t, n = Me(t, [
3703
3699
  "locale"
3704
3700
  ]);
3705
- return Pi(yt({ locale: r }, n));
3706
- }, Di = We(
3701
+ return Bi(bt({ locale: r }, n));
3702
+ }, Ii = We(
3707
3703
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3708
- (e, t = ce()) => new br(e, t, we().formats, {
3704
+ (e, t = ce()) => new pr(e, t, we().formats, {
3709
3705
  ignoreTag: we().ignoreTag
3710
3706
  })
3711
- ), Ri = (e, t = {}) => {
3707
+ ), Di = (e, t = {}) => {
3712
3708
  var r, n, i, s;
3713
3709
  let a = t;
3714
3710
  typeof e == "object" && (a = e, e = a.id);
@@ -3721,7 +3717,7 @@ const Be = (e, t) => {
3721
3717
  throw new Error(
3722
3718
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3723
3719
  );
3724
- let h = yr(e, l);
3720
+ let h = br(e, l);
3725
3721
  if (!h)
3726
3722
  h = (s = (i = (n = (r = we()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3727
3723
  else if (typeof h != "string")
@@ -3732,7 +3728,7 @@ const Be = (e, t) => {
3732
3728
  return h;
3733
3729
  let c = h;
3734
3730
  try {
3735
- c = Di(h, l).format(o);
3731
+ c = Ii(h, l).format(o);
3736
3732
  } catch (p) {
3737
3733
  p instanceof Error && console.warn(
3738
3734
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3740,20 +3736,20 @@ const Be = (e, t) => {
3740
3736
  );
3741
3737
  }
3742
3738
  return c;
3743
- }, Ui = (e, t) => Ii(t).format(e), Gi = (e, t) => Ci(t).format(e), Fi = (e, t) => Ni(t).format(e), ki = (e, t = ce()) => yr(e, t), ji = Te([ge, Pe], () => Ri);
3739
+ }, Ri = (e, t) => Ci(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t) => Pi(t).format(e), Fi = (e, t = ce()) => br(e, t), ki = Te([ge, Pe], () => Di);
3740
+ Te([ge], () => Ri);
3744
3741
  Te([ge], () => Ui);
3745
3742
  Te([ge], () => Gi);
3746
- Te([ge], () => Fi);
3747
- Te([ge, Pe], () => ki);
3748
- function Ut(e, t) {
3749
- _r(e, t);
3743
+ Te([ge, Pe], () => Fi);
3744
+ function Rt(e, t) {
3745
+ vr(e, t);
3750
3746
  }
3751
- function Vi(e) {
3752
- xi({
3747
+ function ji(e) {
3748
+ _i({
3753
3749
  fallbackLocale: "en"
3754
3750
  }), ge.set(e);
3755
3751
  }
3756
- const Gt = {
3752
+ const Ut = {
3757
3753
  en: {
3758
3754
  generalMin: "Min",
3759
3755
  generalMax: "Max",
@@ -3783,11 +3779,11 @@ const Gt = {
3783
3779
  showLess: "SHOW LESS"
3784
3780
  }
3785
3781
  };
3786
- var Tr = { exports: {} };
3782
+ var Sr = { exports: {} };
3787
3783
  (function(e, t) {
3788
3784
  (function(r, n) {
3789
3785
  e.exports = n();
3790
- })(Kt, function() {
3786
+ })(qt, function() {
3791
3787
  var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", a = "second", o = "minute", l = "hour", u = "day", h = "week", c = "month", p = "quarter", x = "year", w = "date", b = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|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, I = { 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(v) {
3792
3788
  var g = ["th", "st", "nd", "rd"], f = v % 100;
3793
3789
  return "[" + v + (g[(f - 20) % 10] || g[f] || g[0]) + "]";
@@ -4058,14 +4054,14 @@ var Tr = { exports: {} };
4058
4054
  return C(1e3 * v);
4059
4055
  }, C.en = F[N], C.Ls = F, C.p = {}, C;
4060
4056
  });
4061
- })(Tr);
4062
- var Xi = Tr.exports;
4063
- const Ft = /* @__PURE__ */ gt(Xi);
4064
- var Mr = { exports: {} };
4057
+ })(Sr);
4058
+ var Vi = Sr.exports;
4059
+ const Gt = /* @__PURE__ */ gt(Vi);
4060
+ var Tr = { exports: {} };
4065
4061
  (function(e, t) {
4066
4062
  (function(r, n) {
4067
4063
  e.exports = n();
4068
- })(Kt, function() {
4064
+ })(qt, function() {
4069
4065
  var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4070
4066
  return function(s, a, o) {
4071
4067
  var l = a.prototype;
@@ -4134,17 +4130,17 @@ var Mr = { exports: {} };
4134
4130
  };
4135
4131
  };
4136
4132
  });
4137
- })(Mr);
4138
- var Wi = Mr.exports;
4139
- const zi = /* @__PURE__ */ gt(Wi);
4140
- function Yi(e) {
4141
- Or(e, "svelte-yskyrk", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
4133
+ })(Tr);
4134
+ var Xi = Tr.exports;
4135
+ const Wi = /* @__PURE__ */ gt(Xi);
4136
+ function zi(e) {
4137
+ Ar(e, "svelte-yskyrk", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:flex;flex-direction:column;background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));width:100%;border-radius:var(--mmw--border-radius-medium-plus, 6px);container-name:method-list;container-type:inline-size}.SelectorWrapper{display:flex;flex-direction:row;align-items:center;justify-content:left;cursor:pointer;position:relative;height:var(--mmw-method-height, 80px);box-sizing:border-box;border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px)}.SelectorWrapper:first-child{border-radius:var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px) 0 0}.SelectorWrapper:last-child{border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.SelectorWrapper.checked{background:var(--emw--color-background-secondary, #F9F8F8)}.SelectorWrapper:not(.checked):hover{background:linear-gradient(0, var(--emw--color-background-secondary, #F9F8F8) 0%, var(--emw--color-background, #fff) 100%)}.MethodLogo{display:flex;justify-content:center;align-items:center;margin-right:var(--mmw--spacing-small, 14px);width:var(--mmw-logo-width, 110px);min-height:var(--mmw-logo-height, 64px);background:var(--emw--color-background, #FFF);border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden;max-height:calc(100% - var(--emw--spacing-small, 12px) - var(--emw--spacing-small, 12px))}.MethodLogo img{width:100%;height:100%}.MethodTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);word-break:break-all}.MethodLimits{display:flex;flex-direction:column;align-items:flex-end;margin-left:auto}.Limits{max-width:100%;white-space:nowrap;font-size:var(--emw--font-size-small, 14px);line-height:var(--emw--line-height-xl, 24px);color:var(--mmw--color-grey-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-style:normal}.ShowAllButton{cursor:pointer;color:var(--mmw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #F7F8FA);line-height:normal;border:1px solid var(--mmw--color-grey-105, #E8E9EB);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}@container method-list (width < 450px){.MethodLogo{min-width:var(--mmw-logo-small-width, 90px);min-height:var(--mmw-logo--small-height, 50px);overflow:hidden}.CashierMethodList .MethodTitle{display:inline-block;flex-grow:1;font-size:var(--emw--font-size-medium, 16px);line-height:120%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.CashierMethodList .MethodLimits .Limits{flex-shrink:0;font-size:var(--emw--font-size-x-small, 12px)}}@container method-list (max-width: 300px){.Limits{display:none}}");
4142
4138
  }
4143
- function kt(e, t, r) {
4139
+ function Ft(e, t, r) {
4144
4140
  const n = e.slice();
4145
4141
  return n[47] = t[r], n[49] = r, n;
4146
4142
  }
4147
- function jt(e) {
4143
+ function kt(e) {
4148
4144
  let t;
4149
4145
  return {
4150
4146
  c() {
@@ -4183,16 +4179,16 @@ function jt(e) {
4183
4179
  }
4184
4180
  };
4185
4181
  }
4186
- function Vt(e) {
4187
- let t, r, n, i = St(
4182
+ function jt(e) {
4183
+ let t, r, n, i = wt(
4188
4184
  /*paymentMethodsToShow*/
4189
4185
  e[8]
4190
4186
  ), s = [];
4191
4187
  for (let o = 0; o < i.length; o += 1)
4192
- s[o] = Xt(kt(e, i, o));
4188
+ s[o] = Vt(Ft(e, i, o));
4193
4189
  let a = (
4194
4190
  /*methodsButtonToggleText*/
4195
- e[7] && Wt(e)
4191
+ e[7] && Xt(e)
4196
4192
  );
4197
4193
  return {
4198
4194
  c() {
@@ -4210,28 +4206,28 @@ function Vt(e) {
4210
4206
  p(o, l) {
4211
4207
  if (l[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, formatter, $_*/
4212
4208
  57664) {
4213
- i = St(
4209
+ i = wt(
4214
4210
  /*paymentMethodsToShow*/
4215
4211
  o[8]
4216
4212
  );
4217
4213
  let u;
4218
4214
  for (u = 0; u < i.length; u += 1) {
4219
- const h = kt(o, i, u);
4220
- s[u] ? s[u].p(h, l) : (s[u] = Xt(h), s[u].c(), s[u].m(r, null));
4215
+ const h = Ft(o, i, u);
4216
+ s[u] ? s[u].p(h, l) : (s[u] = Vt(h), s[u].c(), s[u].m(r, null));
4221
4217
  }
4222
4218
  for (; u < s.length; u += 1)
4223
4219
  s[u].d(1);
4224
4220
  s.length = i.length;
4225
4221
  }
4226
4222
  /*methodsButtonToggleText*/
4227
- o[7] ? a ? a.p(o, l) : (a = Wt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4223
+ o[7] ? a ? a.p(o, l) : (a = Xt(o), a.c(), a.m(t, null)) : a && (a.d(1), a = null);
4228
4224
  },
4229
4225
  d(o) {
4230
- o && oe(t), Pr(s, o), a && a.d(), e[26](null);
4226
+ o && oe(t), Br(s, o), a && a.d(), e[26](null);
4231
4227
  }
4232
4228
  };
4233
4229
  }
4234
- function Xt(e) {
4230
+ function Vt(e) {
4235
4231
  let t, r, n, i, s, a, o, l, u = (
4236
4232
  /*payMeth*/
4237
4233
  (e[47].Label || /*payMeth*/
@@ -4272,9 +4268,9 @@ function Xt(e) {
4272
4268
  }
4273
4269
  return {
4274
4270
  c() {
4275
- t = z("div"), r = z("div"), n = z("img"), a = te(), o = z("div"), l = z("span"), h = re(u), c = te(), p = z("div"), x = z("span"), b = re(w), M = te(), I = re(P), A = te(), N = re(R), F = te(), G = z("span"), V = re(ee), C = te(), ie = re(T), me = te(), g = re(v), f = te(), xt(n.src, i = /*payMeth*/
4271
+ t = z("div"), r = z("div"), n = z("img"), a = te(), o = z("div"), l = z("span"), h = re(u), c = te(), p = z("div"), x = z("span"), b = re(w), M = te(), I = re(P), A = te(), N = re(R), F = te(), G = z("span"), V = re(ee), C = te(), ie = re(T), me = te(), g = re(v), f = te(), _t(n.src, i = /*payMeth*/
4276
4272
  e[47].LogoUrl) || W(n, "src", i), W(n, "alt", s = /*payMeth*/
4277
- e[47].Label), W(r, "class", "MethodLogo"), W(o, "class", "MethodTitle"), W(x, "class", "Limits"), W(G, "class", "Limits"), W(p, "class", "MethodLimits"), W(t, "class", "SelectorWrapper"), Et(
4273
+ e[47].Label), W(r, "class", "MethodLogo"), W(o, "class", "MethodTitle"), W(x, "class", "Limits"), W(G, "class", "Limits"), W(p, "class", "MethodLimits"), W(t, "class", "SelectorWrapper"), xt(
4278
4274
  t,
4279
4275
  "checked",
4280
4276
  /*selectedPaymentMethod*/
@@ -4285,12 +4281,12 @@ function Xt(e) {
4285
4281
  m(_, S) {
4286
4282
  le(_, t, S), B(t, r), B(r, n), B(t, a), B(t, o), B(o, l), B(l, h), B(t, c), B(t, p), B(p, x), B(x, b), B(x, M), B(x, I), B(x, A), B(x, N), B(p, F), B(p, G), B(G, V), B(G, C), B(G, ie), B(G, me), B(G, g), B(t, f), y || (d = [
4287
4283
  rt(t, "click", E),
4288
- rt(t, "keyup", Ji)
4284
+ rt(t, "keyup", Zi)
4289
4285
  ], y = !0);
4290
4286
  },
4291
4287
  p(_, S) {
4292
4288
  e = _, S[0] & /*paymentMethodsToShow*/
4293
- 256 && !xt(n.src, i = /*payMeth*/
4289
+ 256 && !_t(n.src, i = /*payMeth*/
4294
4290
  e[47].LogoUrl) && W(n, "src", i), S[0] & /*paymentMethodsToShow*/
4295
4291
  256 && s !== (s = /*payMeth*/
4296
4292
  e[47].Label) && W(n, "alt", s), S[0] & /*paymentMethodsToShow*/
@@ -4315,7 +4311,7 @@ function Xt(e) {
4315
4311
  ) + "") && ue(ie, T), S[0] & /*paymentMethodsToShow*/
4316
4312
  256 && v !== (v = /*payMeth*/
4317
4313
  e[47].DisplayCurrency.Name + "") && ue(g, v), S[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
4318
- 320 && Et(
4314
+ 320 && xt(
4319
4315
  t,
4320
4316
  "checked",
4321
4317
  /*selectedPaymentMethod*/
@@ -4328,7 +4324,7 @@ function Xt(e) {
4328
4324
  }
4329
4325
  };
4330
4326
  }
4331
- function Wt(e) {
4327
+ function Xt(e) {
4332
4328
  let t, r, n, i;
4333
4329
  return {
4334
4330
  c() {
@@ -4358,7 +4354,7 @@ function Wt(e) {
4358
4354
  }
4359
4355
  };
4360
4356
  }
4361
- function zt(e) {
4357
+ function Wt(e) {
4362
4358
  let t, r, n;
4363
4359
  return {
4364
4360
  c() {
@@ -4438,31 +4434,31 @@ function zt(e) {
4438
4434
  }
4439
4435
  };
4440
4436
  }
4441
- function Zi(e) {
4437
+ function Yi(e) {
4442
4438
  let t, r, n, i = (
4443
4439
  /*showSpinner*/
4444
- e[12] && jt(e)
4440
+ e[12] && kt(e)
4445
4441
  ), s = (
4446
4442
  /*showMethodsList*/
4447
4443
  (e[9] || /*desktopView*/
4448
- e[11]) && Vt(e)
4444
+ e[11]) && jt(e)
4449
4445
  ), a = (
4450
4446
  /*errorMessage*/
4451
- e[10] && zt(e)
4447
+ e[10] && Wt(e)
4452
4448
  );
4453
4449
  return {
4454
4450
  c() {
4455
- i && i.c(), t = te(), s && s.c(), r = te(), a && a.c(), n = Nr();
4451
+ i && i.c(), t = te(), s && s.c(), r = te(), a && a.c(), n = Pr();
4456
4452
  },
4457
4453
  m(o, l) {
4458
4454
  i && i.m(o, l), le(o, t, l), s && s.m(o, l), le(o, r, l), a && a.m(o, l), le(o, n, l);
4459
4455
  },
4460
4456
  p(o, l) {
4461
4457
  /*showSpinner*/
4462
- o[12] ? i ? i.p(o, l) : (i = jt(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4458
+ o[12] ? i ? i.p(o, l) : (i = kt(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4463
4459
  o[9] || /*desktopView*/
4464
- o[11] ? s ? s.p(o, l) : (s = Vt(o), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4465
- o[10] ? a ? a.p(o, l) : (a = zt(o), a.c(), a.m(n.parentNode, n)) : a && (a.d(1), a = null);
4460
+ o[11] ? s ? s.p(o, l) : (s = jt(o), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4461
+ o[10] ? a ? a.p(o, l) : (a = Wt(o), a.c(), a.m(n.parentNode, n)) : a && (a.d(1), a = null);
4466
4462
  },
4467
4463
  i: ne,
4468
4464
  o: ne,
@@ -4471,36 +4467,36 @@ function Zi(e) {
4471
4467
  }
4472
4468
  };
4473
4469
  }
4474
- const Ji = () => {
4470
+ const Zi = () => {
4475
4471
  };
4476
- function Qi(e, t, r) {
4472
+ function Ji(e, t, r) {
4477
4473
  let n;
4478
- Ar(e, ji, (m) => r(13, n = m)), Ft.extend(zi);
4474
+ Lr(e, ki, (m) => r(13, n = m)), Gt.extend(Wi);
4479
4475
  let { lang: i = "en" } = t, { local: s = "en-US" } = t, { endpoint: a } = t, { session: o } = t, { customerid: l } = t, { assetsurl: u } = t, { currency: h } = t, { numberofmethodsshown: c } = t, { translationurl: p = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: w = "" } = t, { ismobileview: b } = t, M = [], P, I, A = "", R = [], N = !0, F = new Intl.NumberFormat(s, { minimumFractionDigits: 2 }), G = "", ee, V = !0, C = !1;
4480
4476
  var T;
4481
4477
  (function(m) {
4482
4478
  m.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", m.Success = "Success", m.JwtTokenError = "JwtTokenError";
4483
- })(T || (T = {})), Ur();
4479
+ })(T || (T = {})), Rr();
4484
4480
  const ie = () => {
4485
4481
  let m = p;
4486
4482
  if (m)
4487
4483
  return fetch(m).then(($) => $.json()).then(($) => {
4488
4484
  Object.keys($).forEach((Y) => {
4489
- Ut(Y, $[Y]);
4485
+ Rt(Y, $[Y]);
4490
4486
  });
4491
4487
  }).catch(($) => {
4492
4488
  console.log($);
4493
4489
  });
4494
4490
  };
4495
- Object.keys(Gt).forEach((m) => {
4496
- Ut(m, Gt[m]);
4491
+ Object.keys(Ut).forEach((m) => {
4492
+ Rt(m, Ut[m]);
4497
4493
  });
4498
4494
  const me = () => {
4499
- Vi(i);
4495
+ ji(i);
4500
4496
  }, v = () => {
4501
4497
  r(12, C = !0);
4502
4498
  const m = new URL(`${a}/v1/player/${l}/payment/GetPaymentMetadata`), $ = new Headers();
4503
- $.append("accept", "application/json"), $.append("Content-Type", "application/json"), $.append("X-Client-Request-Timestamp", Ft.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4499
+ $.append("accept", "application/json"), $.append("Content-Type", "application/json"), $.append("X-Client-Request-Timestamp", Gt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4504
4500
  const Y = {
4505
4501
  method: "POST",
4506
4502
  headers: $,
@@ -4533,10 +4529,10 @@ function Qi(e, t, r) {
4533
4529
  return m.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((Y) => {
4534
4530
  const Z = m.PaymentMethods.PaymentMethods.find((ze) => ze.Name === Y);
4535
4531
  if (Z) {
4536
- const ze = Z?.Logos.find((Ye) => Ye.LogoType === "Desktop") || {}, Hr = Z?.Logos.find((Ye) => Ye.LogoType === "Mobile") || {}, vt = V ? ze : Hr;
4532
+ const ze = Z?.Logos.find((Ye) => Ye.LogoType === "Desktop") || {}, Mr = Z?.Logos.find((Ye) => Ye.LogoType === "Mobile") || {}, yt = V ? ze : Mr;
4537
4533
  $.push({
4538
4534
  ...Z,
4539
- LogoUrl: vt.LogoUrl ? `https:${vt.LogoUrl}` : ""
4535
+ LogoUrl: yt.LogoUrl ? `https:${yt.LogoUrl}` : ""
4540
4536
  });
4541
4537
  }
4542
4538
  }), $;
@@ -4591,7 +4587,7 @@ function Qi(e, t, r) {
4591
4587
  );
4592
4588
  });
4593
4589
  };
4594
- Rr(() => (window.addEventListener("message", se, !1), () => {
4590
+ Dr(() => (window.addEventListener("message", se, !1), () => {
4595
4591
  window.removeEventListener("message", se, !1);
4596
4592
  }));
4597
4593
  const se = (m) => {
@@ -4649,14 +4645,14 @@ function Qi(e, t, r) {
4649
4645
  X
4650
4646
  ];
4651
4647
  }
4652
- class qi extends Qr {
4648
+ class Qi extends Jr {
4653
4649
  constructor(t) {
4654
- super(), Zr(
4650
+ super(), Yr(
4655
4651
  this,
4656
4652
  t,
4657
- Qi,
4658
- Zi,
4659
- Zt,
4653
+ Ji,
4654
+ Yi,
4655
+ Yt,
4660
4656
  {
4661
4657
  lang: 0,
4662
4658
  local: 17,
@@ -4671,7 +4667,7 @@ class qi extends Qr {
4671
4667
  clientstylingurl: 4,
4672
4668
  ismobileview: 23
4673
4669
  },
4674
- Yi,
4670
+ zi,
4675
4671
  [-1, -1]
4676
4672
  );
4677
4673
  }
@@ -4748,7 +4744,7 @@ class qi extends Qr {
4748
4744
  this.$$set({ ismobileview: t }), K();
4749
4745
  }
4750
4746
  }
4751
- Jr(qi, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4747
+ Zr(Qi, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4752
4748
  export {
4753
- qi as C
4749
+ Qi as C
4754
4750
  };