@everymatrix/cashier-methods-list 1.56.0 → 1.56.2

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 ie() {
2
2
  }
3
- function Zt(e) {
3
+ function Qt(e) {
4
4
  return e();
5
5
  }
6
- function _t() {
6
+ function wt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Se(e) {
10
- e.forEach(Zt);
10
+ e.forEach(Qt);
11
11
  }
12
- function gt(e) {
12
+ function pt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Jt(e, t) {
15
+ function qt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Ie;
19
- function Et(e, t) {
19
+ function Mt(e, t) {
20
20
  return e === t ? !0 : (Ie || (Ie = document.createElement("a")), Ie.href = t, e === Ie.href);
21
21
  }
22
- function Ar(e) {
22
+ function $r(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Qt(e, ...t) {
25
+ function Kt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,21 +31,22 @@ function Qt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Or(e, t, r) {
35
- e.$$.on_destroy.push(Qt(t, r));
34
+ function Br(e, t, r) {
35
+ e.$$.on_destroy.push(Kt(t, r));
36
36
  }
37
37
  function T(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function $r(e, t, r) {
41
- const n = Br(e);
40
+ function Pr(e, t, r) {
41
+ const n = Cr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = F("style");
44
- i.id = t, i.textContent = r, Pr(n, i);
44
+ i.id = t, i.textContent = r, Nr(n, i);
45
45
  }
46
46
  }
47
- function Br(e) {
48
- if (!e) return document;
47
+ function Cr(e) {
48
+ if (!e)
49
+ return document;
49
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
51
  return t && /** @type {ShadowRoot} */
51
52
  t.host ? (
@@ -53,7 +54,7 @@ function Br(e) {
53
54
  t
54
55
  ) : e.ownerDocument;
55
56
  }
56
- function Pr(e, t) {
57
+ function Nr(e, t) {
57
58
  return T(
58
59
  /** @type {Document} */
59
60
  e.head || e,
@@ -66,7 +67,7 @@ function ue(e, t, r) {
66
67
  function se(e) {
67
68
  e.parentNode && e.parentNode.removeChild(e);
68
69
  }
69
- function Cr(e, t) {
70
+ function Ir(e, t) {
70
71
  for (let r = 0; r < e.length; r += 1)
71
72
  e[r] && e[r].d(t);
72
73
  }
@@ -79,7 +80,7 @@ function ee(e) {
79
80
  function te() {
80
81
  return ee(" ");
81
82
  }
82
- function Nr() {
83
+ function Dr() {
83
84
  return ee("");
84
85
  }
85
86
  function it(e, t, r, n) {
@@ -92,7 +93,7 @@ function Z(e, t, r) {
92
93
  const n = t.toLowerCase();
93
94
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : k(e, t, r);
94
95
  }
95
- function Ir(e) {
96
+ function Rr(e) {
96
97
  return Array.from(e.childNodes);
97
98
  }
98
99
  function ne(e, t) {
@@ -102,10 +103,10 @@ function ne(e, t) {
102
103
  function ke(e, t, r) {
103
104
  e.classList.toggle(t, !!r);
104
105
  }
105
- function Dr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
106
+ function Ur(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
106
107
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
107
108
  }
108
- function Rr(e) {
109
+ function Gr(e) {
109
110
  const t = {};
110
111
  return e.childNodes.forEach(
111
112
  /** @param {Element} node */
@@ -118,19 +119,20 @@ let $e;
118
119
  function Oe(e) {
119
120
  $e = e;
120
121
  }
121
- function qt() {
122
- if (!$e) throw new Error("Function called outside component initialization");
122
+ function er() {
123
+ if (!$e)
124
+ throw new Error("Function called outside component initialization");
123
125
  return $e;
124
126
  }
125
- function Ur(e) {
126
- qt().$$.on_mount.push(e);
127
+ function kr(e) {
128
+ er().$$.on_mount.push(e);
127
129
  }
128
- function Gr() {
129
- const e = qt();
130
+ function Fr() {
131
+ const e = er();
130
132
  return (t, r, { cancelable: n = !1 } = {}) => {
131
133
  const i = e.$$.callbacks[t];
132
134
  if (i) {
133
- const s = Dr(
135
+ const s = Ur(
134
136
  /** @type {string} */
135
137
  t,
136
138
  r,
@@ -145,10 +147,10 @@ function Gr() {
145
147
  }
146
148
  const ve = [], st = [];
147
149
  let xe = [];
148
- const wt = [], kr = /* @__PURE__ */ Promise.resolve();
150
+ const St = [], jr = /* @__PURE__ */ Promise.resolve();
149
151
  let ot = !1;
150
- function Fr() {
151
- ot || (ot = !0, kr.then(q));
152
+ function Vr() {
153
+ ot || (ot = !0, jr.then(q));
152
154
  }
153
155
  function at(e) {
154
156
  xe.push(e);
@@ -163,55 +165,56 @@ function q() {
163
165
  try {
164
166
  for (; be < ve.length; ) {
165
167
  const t = ve[be];
166
- be++, Oe(t), jr(t.$$);
168
+ be++, Oe(t), zr(t.$$);
167
169
  }
168
170
  } catch (t) {
169
171
  throw ve.length = 0, be = 0, t;
170
172
  }
171
- for (Oe(null), ve.length = 0, be = 0; st.length; ) st.pop()();
173
+ for (Oe(null), ve.length = 0, be = 0; st.length; )
174
+ st.pop()();
172
175
  for (let t = 0; t < xe.length; t += 1) {
173
176
  const r = xe[t];
174
177
  Qe.has(r) || (Qe.add(r), r());
175
178
  }
176
179
  xe.length = 0;
177
180
  } while (ve.length);
178
- for (; wt.length; )
179
- wt.pop()();
181
+ for (; St.length; )
182
+ St.pop()();
180
183
  ot = !1, Qe.clear(), Oe(e);
181
184
  }
182
- function jr(e) {
185
+ function zr(e) {
183
186
  if (e.fragment !== null) {
184
187
  e.update(), Se(e.before_update);
185
188
  const t = e.dirty;
186
189
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
187
190
  }
188
191
  }
189
- function Vr(e) {
192
+ function Xr(e) {
190
193
  const t = [], r = [];
191
194
  xe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), xe = t;
192
195
  }
193
196
  const Wr = /* @__PURE__ */ new Set();
194
- function Xr(e, t) {
197
+ function Yr(e, t) {
195
198
  e && e.i && (Wr.delete(e), e.i(t));
196
199
  }
197
- function Mt(e) {
200
+ function Tt(e) {
198
201
  return e?.length !== void 0 ? e : Array.from(e);
199
202
  }
200
- function zr(e, t, r) {
203
+ function Zr(e, t, r) {
201
204
  const { fragment: n, after_update: i } = e.$$;
202
205
  n && n.m(t, r), at(() => {
203
- const s = e.$$.on_mount.map(Zt).filter(gt);
206
+ const s = e.$$.on_mount.map(Qt).filter(pt);
204
207
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Se(s), e.$$.on_mount = [];
205
208
  }), i.forEach(at);
206
209
  }
207
- function Yr(e, t) {
210
+ function Jr(e, t) {
208
211
  const r = e.$$;
209
- r.fragment !== null && (Vr(r.after_update), Se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
212
+ r.fragment !== null && (Xr(r.after_update), Se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
213
  }
211
- function Zr(e, t) {
212
- e.$$.dirty[0] === -1 && (ve.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
+ function Qr(e, t) {
215
+ e.$$.dirty[0] === -1 && (ve.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
216
  }
214
- function Jr(e, t, r, n, i, s, a = null, o = [-1]) {
217
+ function qr(e, t, r, n, i, s, a = null, o = [-1]) {
215
218
  const l = $e;
216
219
  Oe(e);
217
220
  const u = e.$$ = {
@@ -221,7 +224,7 @@ function Jr(e, t, r, n, i, s, a = null, o = [-1]) {
221
224
  props: s,
222
225
  update: ie,
223
226
  not_equal: i,
224
- bound: _t(),
227
+ bound: wt(),
225
228
  // lifecycle
226
229
  on_mount: [],
227
230
  on_destroy: [],
@@ -230,7 +233,7 @@ function Jr(e, t, r, n, i, s, a = null, o = [-1]) {
230
233
  after_update: [],
231
234
  context: new Map(t.context || (l ? l.$$.context : [])),
232
235
  // everything else
233
- callbacks: _t(),
236
+ callbacks: wt(),
234
237
  dirty: o,
235
238
  skip_bound: !1,
236
239
  root: t.target || l.$$.root
@@ -239,19 +242,19 @@ function Jr(e, t, r, n, i, s, a = null, o = [-1]) {
239
242
  let h = !1;
240
243
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...x) => {
241
244
  const w = x.length ? x[0] : c;
242
- return u.ctx && i(u.ctx[f], u.ctx[f] = w) && (!u.skip_bound && u.bound[f] && u.bound[f](w), h && Zr(e, f)), c;
245
+ return u.ctx && i(u.ctx[f], u.ctx[f] = w) && (!u.skip_bound && u.bound[f] && u.bound[f](w), h && Qr(e, f)), c;
243
246
  }) : [], u.update(), h = !0, Se(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
244
247
  if (t.hydrate) {
245
- const f = Ir(t.target);
248
+ const f = Rr(t.target);
246
249
  u.fragment && u.fragment.l(f), f.forEach(se);
247
250
  } else
248
251
  u.fragment && u.fragment.c();
249
- t.intro && Xr(e.$$.fragment), zr(e, t.target, t.anchor), q();
252
+ t.intro && Yr(e.$$.fragment), Zr(e, t.target, t.anchor), q();
250
253
  }
251
254
  Oe(l);
252
255
  }
253
- let Kt;
254
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
256
+ let tr;
257
+ typeof HTMLElement == "function" && (tr = class extends HTMLElement {
255
258
  /** The Svelte component constructor */
256
259
  $$ctor;
257
260
  /** Slots */
@@ -310,7 +313,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
310
313
  };
311
314
  if (await Promise.resolve(), !this.$$cn || this.$$c)
312
315
  return;
313
- const t = {}, r = Rr(this);
316
+ const t = {}, r = Gr(this);
314
317
  for (const i of this.$$s)
315
318
  i in r && (t[i] = [e(i)]);
316
319
  for (const i of this.attributes) {
@@ -397,8 +400,8 @@ function Re(e, t, r, n) {
397
400
  return t;
398
401
  }
399
402
  }
400
- function Qr(e, t, r, n, i, s) {
401
- let a = class extends Kt {
403
+ function Kr(e, t, r, n, i, s) {
404
+ let a = class extends tr {
402
405
  constructor() {
403
406
  super(e, r, i), this.$$p_d = t;
404
407
  }
@@ -426,7 +429,7 @@ function Qr(e, t, r, n, i, s) {
426
429
  }), e.element = /** @type {any} */
427
430
  a, a;
428
431
  }
429
- class qr {
432
+ class en {
430
433
  /**
431
434
  * ### PRIVATE API
432
435
  *
@@ -445,7 +448,7 @@ class qr {
445
448
  $$set = void 0;
446
449
  /** @returns {void} */
447
450
  $destroy() {
448
- Yr(this, 1), this.$destroy = ie;
451
+ Jr(this, 1), this.$destroy = ie;
449
452
  }
450
453
  /**
451
454
  * @template {Extract<keyof Events, string>} K
@@ -454,7 +457,7 @@ class qr {
454
457
  * @returns {() => void}
455
458
  */
456
459
  $on(t, r) {
457
- if (!gt(r))
460
+ if (!pt(r))
458
461
  return ie;
459
462
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
460
463
  return n.push(r), () => {
@@ -467,22 +470,22 @@ class qr {
467
470
  * @returns {void}
468
471
  */
469
472
  $set(t) {
470
- this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
+ this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
474
  }
472
475
  }
473
- const Kr = "4";
474
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
476
+ const tn = "4";
477
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tn);
475
478
  const ye = [];
476
- function en(e, t) {
479
+ function rn(e, t) {
477
480
  return {
478
- subscribe: We(e, t).subscribe
481
+ subscribe: ze(e, t).subscribe
479
482
  };
480
483
  }
481
- function We(e, t = ie) {
484
+ function ze(e, t = ie) {
482
485
  let r;
483
486
  const n = /* @__PURE__ */ new Set();
484
487
  function i(o) {
485
- if (Jt(e, o) && (e = o, r)) {
488
+ if (qt(e, o) && (e = o, r)) {
486
489
  const l = !ye.length;
487
490
  for (const u of n)
488
491
  u[1](), ye.push(u, e);
@@ -509,7 +512,7 @@ function Te(e, t, r) {
509
512
  if (!i.every(Boolean))
510
513
  throw new Error("derived() expects stores as input, got a falsy value");
511
514
  const s = t.length < 2;
512
- return en(r, (a, o) => {
515
+ return rn(r, (a, o) => {
513
516
  let l = !1;
514
517
  const u = [];
515
518
  let h = 0, f = ie;
@@ -518,9 +521,9 @@ function Te(e, t, r) {
518
521
  return;
519
522
  f();
520
523
  const w = t(n ? u[0] : u, a, o);
521
- s ? a(w) : f = gt(w) ? w : ie;
524
+ s ? a(w) : f = pt(w) ? w : ie;
522
525
  }, x = i.map(
523
- (w, b) => Qt(
526
+ (w, b) => Kt(
524
527
  w,
525
528
  (M) => {
526
529
  u[b] = M, h &= ~(1 << b), l && c();
@@ -535,71 +538,71 @@ function Te(e, t, r) {
535
538
  };
536
539
  });
537
540
  }
538
- var er = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
541
+ var rr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
539
542
  function bt(e) {
540
543
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
544
  }
542
- var tn = function(t) {
543
- return rn(t) && !nn(t);
545
+ var nn = function(t) {
546
+ return sn(t) && !on(t);
544
547
  };
545
- function rn(e) {
548
+ function sn(e) {
546
549
  return !!e && typeof e == "object";
547
550
  }
548
- function nn(e) {
551
+ function on(e) {
549
552
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || an(e);
553
+ return t === "[object RegExp]" || t === "[object Date]" || ln(e);
551
554
  }
552
- var sn = typeof Symbol == "function" && Symbol.for, on = sn ? Symbol.for("react.element") : 60103;
553
- function an(e) {
554
- return e.$$typeof === on;
555
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
556
+ function ln(e) {
557
+ return e.$$typeof === un;
555
558
  }
556
- function un(e) {
559
+ function hn(e) {
557
560
  return Array.isArray(e) ? [] : {};
558
561
  }
559
562
  function Be(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? _e(un(e), e, t) : e;
563
+ return t.clone !== !1 && t.isMergeableObject(e) ? _e(hn(e), e, t) : e;
561
564
  }
562
- function ln(e, t, r) {
565
+ function fn(e, t, r) {
563
566
  return e.concat(t).map(function(n) {
564
567
  return Be(n, r);
565
568
  });
566
569
  }
567
- function hn(e, t) {
570
+ function cn(e, t) {
568
571
  if (!t.customMerge)
569
572
  return _e;
570
573
  var r = t.customMerge(e);
571
574
  return typeof r == "function" ? r : _e;
572
575
  }
573
- function fn(e) {
576
+ function mn(e) {
574
577
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
575
578
  return Object.propertyIsEnumerable.call(e, t);
576
579
  }) : [];
577
580
  }
578
- function St(e) {
579
- return Object.keys(e).concat(fn(e));
581
+ function Ht(e) {
582
+ return Object.keys(e).concat(mn(e));
580
583
  }
581
- function tr(e, t) {
584
+ function nr(e, t) {
582
585
  try {
583
586
  return t in e;
584
587
  } catch {
585
588
  return !1;
586
589
  }
587
590
  }
588
- function cn(e, t) {
589
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
591
+ function dn(e, t) {
592
+ return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
593
  }
591
- function mn(e, t, r) {
594
+ function gn(e, t, r) {
592
595
  var n = {};
593
- return r.isMergeableObject(e) && St(e).forEach(function(i) {
596
+ return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
594
597
  n[i] = Be(e[i], r);
595
- }), St(t).forEach(function(i) {
596
- cn(e, i) || (tr(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = Be(t[i], r));
598
+ }), Ht(t).forEach(function(i) {
599
+ dn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = Be(t[i], r));
597
600
  }), n;
598
601
  }
599
602
  function _e(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || tn, r.cloneUnlessOtherwiseSpecified = Be;
603
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = Be;
601
604
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
602
- return s ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : Be(t, r);
605
+ return s ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : Be(t, r);
603
606
  }
604
607
  _e.all = function(t, r) {
605
608
  if (!Array.isArray(t))
@@ -608,13 +611,28 @@ _e.all = function(t, r) {
608
611
  return _e(n, i, r);
609
612
  }, {});
610
613
  };
611
- var dn = _e, pn = dn;
612
- const gn = /* @__PURE__ */ bt(pn);
614
+ var pn = _e, bn = pn;
615
+ const yn = /* @__PURE__ */ bt(bn);
616
+ /*! *****************************************************************************
617
+ Copyright (c) Microsoft Corporation.
618
+
619
+ Permission to use, copy, modify, and/or distribute this software for any
620
+ purpose with or without fee is hereby granted.
621
+
622
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
623
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
624
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
625
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
626
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
627
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
628
+ PERFORMANCE OF THIS SOFTWARE.
629
+ ***************************************************************************** */
613
630
  var ut = function(e, t) {
614
631
  return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
615
632
  r.__proto__ = n;
616
633
  } || function(r, n) {
617
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
634
+ for (var i in n)
635
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
618
636
  }, ut(e, t);
619
637
  };
620
638
  function Xe(e, t) {
@@ -630,72 +648,77 @@ var O = function() {
630
648
  return O = Object.assign || function(t) {
631
649
  for (var r, n = 1, i = arguments.length; n < i; n++) {
632
650
  r = arguments[n];
633
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
651
+ for (var s in r)
652
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
634
653
  }
635
654
  return t;
636
655
  }, O.apply(this, arguments);
637
656
  };
638
- function bn(e, t) {
657
+ function vn(e, t) {
639
658
  var r = {};
640
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
659
+ for (var n in e)
660
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
641
661
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
642
662
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
643
663
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
644
664
  return r;
645
665
  }
646
666
  function qe(e, t, r) {
647
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
648
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
649
- return e.concat(s || Array.prototype.slice.call(t));
667
+ if (arguments.length === 2)
668
+ for (var n = 0, i = t.length, s; n < i; n++)
669
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
670
+ return e.concat(s || t);
650
671
  }
651
672
  function Ke(e, t) {
652
- var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : xn;
673
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : _n;
653
674
  return i(e, {
654
675
  cache: r,
655
676
  serializer: n
656
677
  });
657
678
  }
658
- function yn(e) {
679
+ function xn(e) {
659
680
  return e == null || typeof e == "number" || typeof e == "boolean";
660
681
  }
661
- function vn(e, t, r, n) {
662
- var i = yn(n) ? n : r(n), s = t.get(i);
682
+ function ir(e, t, r, n) {
683
+ var i = xn(n) ? n : r(n), s = t.get(i);
663
684
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
664
685
  }
665
- function rr(e, t, r) {
686
+ function sr(e, t, r) {
666
687
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
667
688
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
668
689
  }
669
- function nr(e, t, r, n, i) {
690
+ function yt(e, t, r, n, i) {
670
691
  return r.bind(t, e, n, i);
671
692
  }
672
- function xn(e, t) {
673
- var r = e.length === 1 ? vn : rr;
674
- return nr(e, this, r, t.cache.create(), t.serializer);
675
- }
676
693
  function _n(e, t) {
677
- return nr(e, this, rr, t.cache.create(), t.serializer);
694
+ var r = e.length === 1 ? ir : sr;
695
+ return yt(e, this, r, t.cache.create(), t.serializer);
696
+ }
697
+ function En(e, t) {
698
+ return yt(e, this, sr, t.cache.create(), t.serializer);
678
699
  }
679
- var En = function() {
700
+ function wn(e, t) {
701
+ return yt(e, this, ir, t.cache.create(), t.serializer);
702
+ }
703
+ var Mn = function() {
680
704
  return JSON.stringify(arguments);
681
- }, wn = (
682
- /** @class */
683
- function() {
684
- function e() {
685
- this.cache = /* @__PURE__ */ Object.create(null);
686
- }
687
- return e.prototype.get = function(t) {
688
- return this.cache[t];
689
- }, e.prototype.set = function(t, r) {
690
- this.cache[t] = r;
691
- }, e;
692
- }()
693
- ), Mn = {
705
+ };
706
+ function vt() {
707
+ this.cache = /* @__PURE__ */ Object.create(null);
708
+ }
709
+ vt.prototype.get = function(e) {
710
+ return this.cache[e];
711
+ };
712
+ vt.prototype.set = function(e, t) {
713
+ this.cache[e] = t;
714
+ };
715
+ var Sn = {
694
716
  create: function() {
695
- return new wn();
717
+ return new vt();
696
718
  }
697
719
  }, et = {
698
- variadic: _n
720
+ variadic: En,
721
+ monadic: wn
699
722
  }, H;
700
723
  (function(e) {
701
724
  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";
@@ -708,43 +731,43 @@ var Ee;
708
731
  (function(e) {
709
732
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
710
733
  })(Ee || (Ee = {}));
711
- function Tt(e) {
734
+ function Lt(e) {
712
735
  return e.type === R.literal;
713
736
  }
714
- function Sn(e) {
737
+ function Tn(e) {
715
738
  return e.type === R.argument;
716
739
  }
717
- function ir(e) {
740
+ function or(e) {
718
741
  return e.type === R.number;
719
742
  }
720
- function sr(e) {
743
+ function ar(e) {
721
744
  return e.type === R.date;
722
745
  }
723
- function or(e) {
746
+ function ur(e) {
724
747
  return e.type === R.time;
725
748
  }
726
- function ar(e) {
749
+ function lr(e) {
727
750
  return e.type === R.select;
728
751
  }
729
- function ur(e) {
752
+ function hr(e) {
730
753
  return e.type === R.plural;
731
754
  }
732
- function Tn(e) {
755
+ function Hn(e) {
733
756
  return e.type === R.pound;
734
757
  }
735
- function lr(e) {
758
+ function fr(e) {
736
759
  return e.type === R.tag;
737
760
  }
738
- function hr(e) {
761
+ function cr(e) {
739
762
  return !!(e && typeof e == "object" && e.type === Ee.number);
740
763
  }
741
764
  function lt(e) {
742
765
  return !!(e && typeof e == "object" && e.type === Ee.dateTime);
743
766
  }
744
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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 Ln(e) {
767
+ var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[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;
768
+ function An(e) {
746
769
  var t = {};
747
- return e.replace(Hn, function(r) {
770
+ return e.replace(Ln, function(r) {
748
771
  var n = r.length;
749
772
  switch (r[0]) {
750
773
  case "G":
@@ -833,11 +856,11 @@ function Ln(e) {
833
856
  return "";
834
857
  }), t;
835
858
  }
836
- var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
837
- function On(e) {
859
+ var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
860
+ function $n(e) {
838
861
  if (e.length === 0)
839
862
  throw new Error("Number skeleton cannot be empty");
840
- for (var t = e.split(An).filter(function(c) {
863
+ for (var t = e.split(On).filter(function(c) {
841
864
  return c.length > 0;
842
865
  }), r = [], n = 0, i = t; n < i.length; n++) {
843
866
  var s = i[n], a = s.split("/");
@@ -852,17 +875,17 @@ function On(e) {
852
875
  }
853
876
  return r;
854
877
  }
855
- function $n(e) {
878
+ function Bn(e) {
856
879
  return e.replace(/^(.*?)-/, "");
857
880
  }
858
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
859
- function Lt(e) {
881
+ var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
882
+ function Ot(e) {
860
883
  var t = {};
861
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
884
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, n, i) {
862
885
  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)), "";
863
886
  }), t;
864
887
  }
865
- function dr(e) {
888
+ function pr(e) {
866
889
  switch (e) {
867
890
  case "sign-auto":
868
891
  return {
@@ -902,7 +925,7 @@ function dr(e) {
902
925
  };
903
926
  }
904
927
  }
905
- function Pn(e) {
928
+ function Cn(e) {
906
929
  var t;
907
930
  if (e[0] === "E" && e[1] === "E" ? (t = {
908
931
  notation: "engineering"
@@ -910,17 +933,17 @@ function Pn(e) {
910
933
  notation: "scientific"
911
934
  }, e = e.slice(1)), t) {
912
935
  var r = e.slice(0, 2);
913
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
936
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
914
937
  throw new Error("Malformed concise eng/scientific notation");
915
938
  t.minimumIntegerDigits = e.length;
916
939
  }
917
940
  return t;
918
941
  }
919
- function At(e) {
920
- var t = {}, r = dr(e);
942
+ function $t(e) {
943
+ var t = {}, r = pr(e);
921
944
  return r || t;
922
945
  }
923
- function Cn(e) {
946
+ function Nn(e) {
924
947
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
925
948
  var i = n[r];
926
949
  switch (i.stem) {
@@ -944,7 +967,7 @@ function Cn(e) {
944
967
  continue;
945
968
  case "measure-unit":
946
969
  case "unit":
947
- t.style = "unit", t.unit = $n(i.options[0]);
970
+ t.style = "unit", t.unit = Bn(i.options[0]);
948
971
  continue;
949
972
  case "compact-short":
950
973
  case "K":
@@ -956,12 +979,12 @@ function Cn(e) {
956
979
  continue;
957
980
  case "scientific":
958
981
  t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
959
- return O(O({}, l), At(u));
982
+ return O(O({}, l), $t(u));
960
983
  }, {}));
961
984
  continue;
962
985
  case "engineering":
963
986
  t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
964
- return O(O({}, l), At(u));
987
+ return O(O({}, l), $t(u));
965
988
  }, {}));
966
989
  continue;
967
990
  case "notation-simple":
@@ -1006,7 +1029,7 @@ function Cn(e) {
1006
1029
  case "integer-width":
1007
1030
  if (i.options.length > 1)
1008
1031
  throw new RangeError("integer-width stems only accept a single optional option");
1009
- i.options[0].replace(Bn, function(l, u, h, f, c, x) {
1032
+ i.options[0].replace(Pn, function(l, u, h, f, c, x) {
1010
1033
  if (u)
1011
1034
  t.minimumIntegerDigits = h.length;
1012
1035
  else {
@@ -1019,27 +1042,27 @@ function Cn(e) {
1019
1042
  });
1020
1043
  continue;
1021
1044
  }
1022
- if (mr.test(i.stem)) {
1045
+ if (gr.test(i.stem)) {
1023
1046
  t.minimumIntegerDigits = i.stem.length;
1024
1047
  continue;
1025
1048
  }
1026
- if (Ht.test(i.stem)) {
1049
+ if (At.test(i.stem)) {
1027
1050
  if (i.options.length > 1)
1028
1051
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1029
- i.stem.replace(Ht, function(l, u, h, f, c, x) {
1052
+ i.stem.replace(At, function(l, u, h, f, c, x) {
1030
1053
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && x ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1031
1054
  });
1032
1055
  var s = i.options[0];
1033
- s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), Lt(s)));
1056
+ s === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = O(O({}, t), Ot(s)));
1034
1057
  continue;
1035
1058
  }
1036
- if (cr.test(i.stem)) {
1037
- t = O(O({}, t), Lt(i.stem));
1059
+ if (dr.test(i.stem)) {
1060
+ t = O(O({}, t), Ot(i.stem));
1038
1061
  continue;
1039
1062
  }
1040
- var a = dr(i.stem);
1063
+ var a = pr(i.stem);
1041
1064
  a && (t = O(O({}, t), a));
1042
- var o = Pn(i.stem);
1065
+ var o = Cn(i.stem);
1043
1066
  o && (t = O(O({}, t), o));
1044
1067
  }
1045
1068
  return t;
@@ -2459,22 +2482,23 @@ var De = {
2459
2482
  "h"
2460
2483
  ]
2461
2484
  };
2462
- function Nn(e, t) {
2485
+ function In(e, t) {
2463
2486
  for (var r = "", n = 0; n < e.length; n++) {
2464
2487
  var i = e.charAt(n);
2465
2488
  if (i === "j") {
2466
2489
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2467
2490
  s++, n++;
2468
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = In(t);
2491
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Dn(t);
2469
2492
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2470
2493
  r += l;
2471
2494
  for (; a-- > 0; )
2472
2495
  r = u + r;
2473
- } else i === "J" ? r += "H" : r += i;
2496
+ } else
2497
+ i === "J" ? r += "H" : r += i;
2474
2498
  }
2475
2499
  return r;
2476
2500
  }
2477
- function In(e) {
2501
+ function Dn(e) {
2478
2502
  var t = e.hourCycle;
2479
2503
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2480
2504
  e.hourCycles && // @ts-ignore
@@ -2496,20 +2520,20 @@ function In(e) {
2496
2520
  var i = De[n || ""] || De[r || ""] || De["".concat(r, "-001")] || De["001"];
2497
2521
  return i[0];
2498
2522
  }
2499
- var tt, Dn = new RegExp("^".concat(fr.source, "*")), Rn = new RegExp("".concat(fr.source, "*$"));
2523
+ var tt, Rn = new RegExp("^".concat(mr.source, "*")), Un = new RegExp("".concat(mr.source, "*$"));
2500
2524
  function L(e, t) {
2501
2525
  return { start: e, end: t };
2502
2526
  }
2503
- var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, kn = !!Object.fromEntries, Fn = !!String.prototype.codePointAt, jn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Xn = Wn ? Number.isSafeInteger : function(e) {
2527
+ var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
2504
2528
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2505
2529
  }, ht = !0;
2506
2530
  try {
2507
- var zn = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2508
- ht = ((tt = zn.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2531
+ var Yn = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2532
+ ht = ((tt = Yn.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2509
2533
  } catch {
2510
2534
  ht = !1;
2511
2535
  }
2512
- var Ot = Un ? (
2536
+ var Bt = Gn ? (
2513
2537
  // Native
2514
2538
  function(t, r, n) {
2515
2539
  return t.startsWith(r, n);
@@ -2519,7 +2543,7 @@ var Ot = Un ? (
2519
2543
  function(t, r, n) {
2520
2544
  return t.slice(n, n + r.length) === r;
2521
2545
  }
2522
- ), ft = Gn ? String.fromCodePoint : (
2546
+ ), ft = kn ? String.fromCodePoint : (
2523
2547
  // IE11
2524
2548
  function() {
2525
2549
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2531,9 +2555,9 @@ var Ot = Un ? (
2531
2555
  }
2532
2556
  return n;
2533
2557
  }
2534
- ), $t = (
2558
+ ), Pt = (
2535
2559
  // native
2536
- kn ? Object.fromEntries : (
2560
+ Fn ? Object.fromEntries : (
2537
2561
  // Ponyfill
2538
2562
  function(t) {
2539
2563
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2543,7 +2567,7 @@ var Ot = Un ? (
2543
2567
  return r;
2544
2568
  }
2545
2569
  )
2546
- ), pr = Fn ? (
2570
+ ), br = jn ? (
2547
2571
  // Native
2548
2572
  function(t, r) {
2549
2573
  return t.codePointAt(r);
@@ -2557,7 +2581,7 @@ var Ot = Un ? (
2557
2581
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2558
2582
  }
2559
2583
  }
2560
- ), Yn = jn ? (
2584
+ ), Zn = Vn ? (
2561
2585
  // Native
2562
2586
  function(t) {
2563
2587
  return t.trimStart();
@@ -2565,9 +2589,9 @@ var Ot = Un ? (
2565
2589
  ) : (
2566
2590
  // Ponyfill
2567
2591
  function(t) {
2568
- return t.replace(Dn, "");
2592
+ return t.replace(Rn, "");
2569
2593
  }
2570
- ), Zn = Vn ? (
2594
+ ), Jn = zn ? (
2571
2595
  // Native
2572
2596
  function(t) {
2573
2597
  return t.trimEnd();
@@ -2575,32 +2599,32 @@ var Ot = Un ? (
2575
2599
  ) : (
2576
2600
  // Ponyfill
2577
2601
  function(t) {
2578
- return t.replace(Rn, "");
2602
+ return t.replace(Un, "");
2579
2603
  }
2580
2604
  );
2581
- function gr(e, t) {
2605
+ function yr(e, t) {
2582
2606
  return new RegExp(e, t);
2583
2607
  }
2584
2608
  var ct;
2585
2609
  if (ht) {
2586
- var Bt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2610
+ var Ct = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2587
2611
  ct = function(t, r) {
2588
2612
  var n;
2589
- Bt.lastIndex = r;
2590
- var i = Bt.exec(t);
2613
+ Ct.lastIndex = r;
2614
+ var i = Ct.exec(t);
2591
2615
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2592
2616
  };
2593
2617
  } else
2594
2618
  ct = function(t, r) {
2595
2619
  for (var n = []; ; ) {
2596
- var i = pr(t, r);
2597
- if (i === void 0 || br(i) || Kn(i))
2620
+ var i = br(t, r);
2621
+ if (i === void 0 || vr(i) || ei(i))
2598
2622
  break;
2599
2623
  n.push(i), r += i >= 65536 ? 2 : 1;
2600
2624
  }
2601
2625
  return ft.apply(void 0, n);
2602
2626
  };
2603
- var Jn = (
2627
+ var Qn = (
2604
2628
  /** @class */
2605
2629
  function() {
2606
2630
  function e(t, r) {
@@ -2682,7 +2706,7 @@ var Jn = (
2682
2706
  return this.error(H.INVALID_TAG, L(n, this.clonePosition()));
2683
2707
  }, e.prototype.parseTagName = function() {
2684
2708
  var t = this.offset();
2685
- for (this.bump(); !this.isEOF() && qn(this.char()); )
2709
+ for (this.bump(); !this.isEOF() && Kn(this.char()); )
2686
2710
  this.bump();
2687
2711
  return this.message.slice(t, this.offset());
2688
2712
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2711,7 +2735,7 @@ var Jn = (
2711
2735
  };
2712
2736
  }, e.prototype.tryParseLeftAngleBracket = function() {
2713
2737
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2714
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2738
+ !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
2715
2739
  }, e.prototype.tryParseQuote = function(t) {
2716
2740
  if (this.isEOF() || this.char() !== 39)
2717
2741
  return null;
@@ -2798,7 +2822,7 @@ var Jn = (
2798
2822
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2799
2823
  if (f.err)
2800
2824
  return f;
2801
- var c = Zn(f.val);
2825
+ var c = Jn(f.val);
2802
2826
  if (c.length === 0)
2803
2827
  return this.error(H.EXPECT_ARGUMENT_STYLE, L(this.clonePosition(), this.clonePosition()));
2804
2828
  var x = L(h, this.clonePosition());
@@ -2808,8 +2832,8 @@ var Jn = (
2808
2832
  if (w.err)
2809
2833
  return w;
2810
2834
  var b = L(i, this.clonePosition());
2811
- if (u && Ot(u?.style, "::", 0)) {
2812
- var M = Yn(u.style.slice(2));
2835
+ if (u && Bt(u?.style, "::", 0)) {
2836
+ var M = Zn(u.style.slice(2));
2813
2837
  if (o === "number") {
2814
2838
  var f = this.parseNumberSkeletonFromString(M, u.styleLocation);
2815
2839
  return f.err ? f : {
@@ -2820,12 +2844,12 @@ var Jn = (
2820
2844
  if (M.length === 0)
2821
2845
  return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
2822
2846
  var P = M;
2823
- this.locale && (P = Nn(M, this.locale));
2847
+ this.locale && (P = In(M, this.locale));
2824
2848
  var c = {
2825
2849
  type: Ee.dateTime,
2826
2850
  pattern: P,
2827
2851
  location: u.styleLocation,
2828
- parsedOptions: this.shouldParseSkeletons ? Ln(P) : {}
2852
+ parsedOptions: this.shouldParseSkeletons ? An(P) : {}
2829
2853
  }, I = o === "date" ? R.date : R.time;
2830
2854
  return {
2831
2855
  val: { type: I, value: n, location: b, style: c },
@@ -2871,7 +2895,7 @@ var Jn = (
2871
2895
  val: {
2872
2896
  type: R.select,
2873
2897
  value: n,
2874
- options: $t(j.val),
2898
+ options: Pt(j.val),
2875
2899
  location: G
2876
2900
  },
2877
2901
  err: null
@@ -2879,7 +2903,7 @@ var Jn = (
2879
2903
  val: {
2880
2904
  type: R.plural,
2881
2905
  value: n,
2882
- options: $t(j.val),
2906
+ options: Pt(j.val),
2883
2907
  offset: C,
2884
2908
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2885
2909
  location: G
@@ -2930,7 +2954,7 @@ var Jn = (
2930
2954
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2931
2955
  var n = [];
2932
2956
  try {
2933
- n = On(t);
2957
+ n = $n(t);
2934
2958
  } catch {
2935
2959
  return this.error(H.INVALID_NUMBER_SKELETON, r);
2936
2960
  }
@@ -2939,7 +2963,7 @@ var Jn = (
2939
2963
  type: Ee.number,
2940
2964
  tokens: n,
2941
2965
  location: r,
2942
- parsedOptions: this.shouldParseSkeletons ? Cn(n) : {}
2966
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
2943
2967
  },
2944
2968
  err: null
2945
2969
  };
@@ -2987,7 +3011,7 @@ var Jn = (
2987
3011
  break;
2988
3012
  }
2989
3013
  var l = L(i, this.clonePosition());
2990
- return s ? (a *= n, Xn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3014
+ return s ? (a *= n, Wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2991
3015
  }, e.prototype.offset = function() {
2992
3016
  return this.position.offset;
2993
3017
  }, e.prototype.isEOF = function() {
@@ -3002,7 +3026,7 @@ var Jn = (
3002
3026
  var t = this.position.offset;
3003
3027
  if (t >= this.message.length)
3004
3028
  throw Error("out of bound");
3005
- var r = pr(this.message, t);
3029
+ var r = br(this.message, t);
3006
3030
  if (r === void 0)
3007
3031
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3008
3032
  return r;
@@ -3021,7 +3045,7 @@ var Jn = (
3021
3045
  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);
3022
3046
  }
3023
3047
  }, e.prototype.bumpIf = function(t) {
3024
- if (Ot(this.message, t, this.offset())) {
3048
+ if (Bt(this.message, t, this.offset())) {
3025
3049
  for (var r = 0; r < t.length; r++)
3026
3050
  this.bump();
3027
3051
  return !0;
@@ -3043,7 +3067,7 @@ var Jn = (
3043
3067
  break;
3044
3068
  }
3045
3069
  }, e.prototype.bumpSpace = function() {
3046
- for (; !this.isEOF() && br(this.char()); )
3070
+ for (; !this.isEOF() && vr(this.char()); )
3047
3071
  this.bump();
3048
3072
  }, e.prototype.peek = function() {
3049
3073
  if (this.isEOF())
@@ -3056,29 +3080,30 @@ var Jn = (
3056
3080
  function mt(e) {
3057
3081
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3058
3082
  }
3059
- function Qn(e) {
3083
+ function qn(e) {
3060
3084
  return mt(e) || e === 47;
3061
3085
  }
3062
- function qn(e) {
3086
+ function Kn(e) {
3063
3087
  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;
3064
3088
  }
3065
- function br(e) {
3089
+ function vr(e) {
3066
3090
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3067
3091
  }
3068
- function Kn(e) {
3092
+ function ei(e) {
3069
3093
  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;
3070
3094
  }
3071
3095
  function dt(e) {
3072
3096
  e.forEach(function(t) {
3073
- if (delete t.location, ar(t) || ur(t))
3097
+ if (delete t.location, lr(t) || hr(t))
3074
3098
  for (var r in t.options)
3075
3099
  delete t.options[r].location, dt(t.options[r].value);
3076
- else ir(t) && hr(t.style) || (sr(t) || or(t)) && lt(t.style) ? delete t.style.location : lr(t) && dt(t.children);
3100
+ else
3101
+ or(t) && cr(t.style) || (ar(t) || ur(t)) && lt(t.style) ? delete t.style.location : fr(t) && dt(t.children);
3077
3102
  });
3078
3103
  }
3079
- function ei(e, t) {
3104
+ function ti(e, t) {
3080
3105
  t === void 0 && (t = {}), t = O({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3081
- var r = new Jn(e, t).parse();
3106
+ var r = new Qn(e, t).parse();
3082
3107
  if (r.err) {
3083
3108
  var n = SyntaxError(H[r.err.kind]);
3084
3109
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3089,7 +3114,7 @@ var we;
3089
3114
  (function(e) {
3090
3115
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3091
3116
  })(we || (we = {}));
3092
- var ze = (
3117
+ var We = (
3093
3118
  /** @class */
3094
3119
  function(e) {
3095
3120
  Xe(t, e);
@@ -3101,7 +3126,7 @@ var ze = (
3101
3126
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3102
3127
  }, t;
3103
3128
  }(Error)
3104
- ), Pt = (
3129
+ ), Nt = (
3105
3130
  /** @class */
3106
3131
  function(e) {
3107
3132
  Xe(t, e);
@@ -3109,8 +3134,8 @@ var ze = (
3109
3134
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), we.INVALID_VALUE, s) || this;
3110
3135
  }
3111
3136
  return t;
3112
- }(ze)
3113
- ), ti = (
3137
+ }(We)
3138
+ ), ri = (
3114
3139
  /** @class */
3115
3140
  function(e) {
3116
3141
  Xe(t, e);
@@ -3118,8 +3143,8 @@ var ze = (
3118
3143
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), we.INVALID_VALUE, i) || this;
3119
3144
  }
3120
3145
  return t;
3121
- }(ze)
3122
- ), ri = (
3146
+ }(We)
3147
+ ), ni = (
3123
3148
  /** @class */
3124
3149
  function(e) {
3125
3150
  Xe(t, e);
@@ -3127,22 +3152,22 @@ var ze = (
3127
3152
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), we.MISSING_VALUE, n) || this;
3128
3153
  }
3129
3154
  return t;
3130
- }(ze)
3155
+ }(We)
3131
3156
  ), J;
3132
3157
  (function(e) {
3133
3158
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3134
3159
  })(J || (J = {}));
3135
- function ni(e) {
3160
+ function ii(e) {
3136
3161
  return e.length < 2 ? e : e.reduce(function(t, r) {
3137
3162
  var n = t[t.length - 1];
3138
3163
  return !n || n.type !== J.literal || r.type !== J.literal ? t.push(r) : n.value += r.value, t;
3139
3164
  }, []);
3140
3165
  }
3141
- function ii(e) {
3166
+ function si(e) {
3142
3167
  return typeof e == "function";
3143
3168
  }
3144
3169
  function Ue(e, t, r, n, i, s, a) {
3145
- if (e.length === 1 && Tt(e[0]))
3170
+ if (e.length === 1 && Lt(e[0]))
3146
3171
  return [
3147
3172
  {
3148
3173
  type: J.literal,
@@ -3151,14 +3176,14 @@ function Ue(e, t, r, n, i, s, a) {
3151
3176
  ];
3152
3177
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3153
3178
  var h = u[l];
3154
- if (Tt(h)) {
3179
+ if (Lt(h)) {
3155
3180
  o.push({
3156
3181
  type: J.literal,
3157
3182
  value: h.value
3158
3183
  });
3159
3184
  continue;
3160
3185
  }
3161
- if (Tn(h)) {
3186
+ if (Hn(h)) {
3162
3187
  typeof s == "number" && o.push({
3163
3188
  type: J.literal,
3164
3189
  value: r.getNumberFormat(t).format(s)
@@ -3167,16 +3192,16 @@ function Ue(e, t, r, n, i, s, a) {
3167
3192
  }
3168
3193
  var f = h.value;
3169
3194
  if (!(i && f in i))
3170
- throw new ri(f, a);
3195
+ throw new ni(f, a);
3171
3196
  var c = i[f];
3172
- if (Sn(h)) {
3197
+ if (Tn(h)) {
3173
3198
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3174
3199
  type: typeof c == "string" ? J.literal : J.object,
3175
3200
  value: c
3176
3201
  });
3177
3202
  continue;
3178
3203
  }
3179
- if (sr(h)) {
3204
+ if (ar(h)) {
3180
3205
  var x = typeof h.style == "string" ? n.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3181
3206
  o.push({
3182
3207
  type: J.literal,
@@ -3184,7 +3209,7 @@ function Ue(e, t, r, n, i, s, a) {
3184
3209
  });
3185
3210
  continue;
3186
3211
  }
3187
- if (or(h)) {
3212
+ if (ur(h)) {
3188
3213
  var x = typeof h.style == "string" ? n.time[h.style] : lt(h.style) ? h.style.parsedOptions : n.time.medium;
3189
3214
  o.push({
3190
3215
  type: J.literal,
@@ -3192,18 +3217,18 @@ function Ue(e, t, r, n, i, s, a) {
3192
3217
  });
3193
3218
  continue;
3194
3219
  }
3195
- if (ir(h)) {
3196
- var x = typeof h.style == "string" ? n.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3220
+ if (or(h)) {
3221
+ var x = typeof h.style == "string" ? n.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3197
3222
  x && x.scale && (c = c * (x.scale || 1)), o.push({
3198
3223
  type: J.literal,
3199
3224
  value: r.getNumberFormat(t, x).format(c)
3200
3225
  });
3201
3226
  continue;
3202
3227
  }
3203
- if (lr(h)) {
3228
+ if (fr(h)) {
3204
3229
  var w = h.children, b = h.value, M = i[b];
3205
- if (!ii(M))
3206
- throw new ti(b, "function", a);
3230
+ if (!si(M))
3231
+ throw new ri(b, "function", a);
3207
3232
  var P = Ue(w, t, r, n, i, s), I = M(P.map(function(C) {
3208
3233
  return C.value;
3209
3234
  }));
@@ -3214,39 +3239,39 @@ function Ue(e, t, r, n, i, s, a) {
3214
3239
  };
3215
3240
  }));
3216
3241
  }
3217
- if (ar(h)) {
3242
+ if (lr(h)) {
3218
3243
  var A = h.options[c] || h.options.other;
3219
3244
  if (!A)
3220
- throw new Pt(h.value, c, Object.keys(h.options), a);
3245
+ throw new Nt(h.value, c, Object.keys(h.options), a);
3221
3246
  o.push.apply(o, Ue(A.value, t, r, n, i));
3222
3247
  continue;
3223
3248
  }
3224
- if (ur(h)) {
3249
+ if (hr(h)) {
3225
3250
  var A = h.options["=".concat(c)];
3226
3251
  if (!A) {
3227
3252
  if (!Intl.PluralRules)
3228
- throw new ze(`Intl.PluralRules is not available in this environment.
3253
+ throw new We(`Intl.PluralRules is not available in this environment.
3229
3254
  Try polyfilling it using "@formatjs/intl-pluralrules"
3230
3255
  `, we.MISSING_INTL_API, a);
3231
3256
  var D = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3232
3257
  A = h.options[D] || h.options.other;
3233
3258
  }
3234
3259
  if (!A)
3235
- throw new Pt(h.value, c, Object.keys(h.options), a);
3260
+ throw new Nt(h.value, c, Object.keys(h.options), a);
3236
3261
  o.push.apply(o, Ue(A.value, t, r, n, i, c - (h.offset || 0)));
3237
3262
  continue;
3238
3263
  }
3239
3264
  }
3240
- return ni(o);
3265
+ return ii(o);
3241
3266
  }
3242
- function si(e, t) {
3267
+ function oi(e, t) {
3243
3268
  return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3244
3269
  return r[n] = O(O({}, e[n]), t[n] || {}), r;
3245
3270
  }, {})) : e;
3246
3271
  }
3247
- function oi(e, t) {
3272
+ function ai(e, t) {
3248
3273
  return t ? Object.keys(e).reduce(function(r, n) {
3249
- return r[n] = si(e[n], t[n]), r;
3274
+ return r[n] = oi(e[n], t[n]), r;
3250
3275
  }, O({}, e)) : e;
3251
3276
  }
3252
3277
  function rt(e) {
@@ -3263,7 +3288,7 @@ function rt(e) {
3263
3288
  }
3264
3289
  };
3265
3290
  }
3266
- function ai(e) {
3291
+ function ui(e) {
3267
3292
  return e === void 0 && (e = {
3268
3293
  number: {},
3269
3294
  dateTime: {},
@@ -3295,7 +3320,7 @@ function ai(e) {
3295
3320
  })
3296
3321
  };
3297
3322
  }
3298
- var yr = (
3323
+ var xr = (
3299
3324
  /** @class */
3300
3325
  function() {
3301
3326
  function e(t, r, n, i) {
@@ -3327,13 +3352,13 @@ var yr = (
3327
3352
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3328
3353
  var a = i || {};
3329
3354
  a.formatters;
3330
- var o = bn(a, ["formatters"]);
3355
+ var o = vn(a, ["formatters"]);
3331
3356
  this.ast = e.__parse(t, O(O({}, o), { locale: this.resolvedLocale }));
3332
3357
  } else
3333
3358
  this.ast = t;
3334
3359
  if (!Array.isArray(this.ast))
3335
3360
  throw new TypeError("A message must be provided as a String or AST.");
3336
- this.formats = oi(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3361
+ this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3337
3362
  }
3338
3363
  return Object.defineProperty(e, "defaultLocale", {
3339
3364
  get: function() {
@@ -3346,7 +3371,7 @@ var yr = (
3346
3371
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3347
3372
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3348
3373
  }
3349
- }, e.__parse = ei, e.formats = {
3374
+ }, e.__parse = ti, e.formats = {
3350
3375
  number: {
3351
3376
  integer: {
3352
3377
  maximumFractionDigits: 0
@@ -3407,7 +3432,7 @@ var yr = (
3407
3432
  }, e;
3408
3433
  }()
3409
3434
  );
3410
- function ui(e, t) {
3435
+ function li(e, t) {
3411
3436
  if (t == null)
3412
3437
  return;
3413
3438
  if (t in e)
@@ -3428,60 +3453,60 @@ function ui(e, t) {
3428
3453
  n = void 0;
3429
3454
  return n;
3430
3455
  }
3431
- const me = {}, li = (e, t, r) => r && (t in me || (me[t] = {}), e in me[t] || (me[t][e] = r), r), vr = (e, t) => {
3456
+ const me = {}, hi = (e, t, r) => r && (t in me || (me[t] = {}), e in me[t] || (me[t][e] = r), r), _r = (e, t) => {
3432
3457
  if (t == null)
3433
3458
  return;
3434
3459
  if (t in me && e in me[t])
3435
3460
  return me[t][e];
3436
3461
  const r = Ne(t);
3437
3462
  for (let n = 0; n < r.length; n++) {
3438
- const i = r[n], s = fi(i, e);
3463
+ const i = r[n], s = ci(i, e);
3439
3464
  if (s)
3440
- return li(e, t, s);
3465
+ return hi(e, t, s);
3441
3466
  }
3442
3467
  };
3443
- let yt;
3444
- const Ce = We({});
3445
- function hi(e) {
3446
- return yt[e] || null;
3468
+ let xt;
3469
+ const Ce = ze({});
3470
+ function fi(e) {
3471
+ return xt[e] || null;
3447
3472
  }
3448
- function xr(e) {
3449
- return e in yt;
3473
+ function Er(e) {
3474
+ return e in xt;
3450
3475
  }
3451
- function fi(e, t) {
3452
- if (!xr(e))
3476
+ function ci(e, t) {
3477
+ if (!Er(e))
3453
3478
  return null;
3454
- const r = hi(e);
3455
- return ui(r, t);
3479
+ const r = fi(e);
3480
+ return li(r, t);
3456
3481
  }
3457
- function ci(e) {
3482
+ function mi(e) {
3458
3483
  if (e == null)
3459
3484
  return;
3460
3485
  const t = Ne(e);
3461
3486
  for (let r = 0; r < t.length; r++) {
3462
3487
  const n = t[r];
3463
- if (xr(n))
3488
+ if (Er(n))
3464
3489
  return n;
3465
3490
  }
3466
3491
  }
3467
- function _r(e, ...t) {
3468
- delete me[e], Ce.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
3492
+ function wr(e, ...t) {
3493
+ delete me[e], Ce.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3469
3494
  }
3470
3495
  Te(
3471
3496
  [Ce],
3472
3497
  ([e]) => Object.keys(e)
3473
3498
  );
3474
- Ce.subscribe((e) => yt = e);
3499
+ Ce.subscribe((e) => xt = e);
3475
3500
  const Ge = {};
3476
- function mi(e, t) {
3501
+ function di(e, t) {
3477
3502
  Ge[e].delete(t), Ge[e].size === 0 && delete Ge[e];
3478
3503
  }
3479
- function Er(e) {
3504
+ function Mr(e) {
3480
3505
  return Ge[e];
3481
3506
  }
3482
- function di(e) {
3507
+ function gi(e) {
3483
3508
  return Ne(e).map((t) => {
3484
- const r = Er(t);
3509
+ const r = Mr(t);
3485
3510
  return [t, r ? [...r] : []];
3486
3511
  }).filter(([, t]) => t.length > 0);
3487
3512
  }
@@ -3489,40 +3514,40 @@ function Fe(e) {
3489
3514
  return e == null ? !1 : Ne(e).some(
3490
3515
  (t) => {
3491
3516
  var r;
3492
- return (r = Er(t)) == null ? void 0 : r.size;
3517
+ return (r = Mr(t)) == null ? void 0 : r.size;
3493
3518
  }
3494
3519
  );
3495
3520
  }
3496
3521
  function pi(e, t) {
3497
3522
  return Promise.all(
3498
- t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
3499
- ).then((n) => _r(e, ...n));
3523
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
3524
+ ).then((n) => wr(e, ...n));
3500
3525
  }
3501
3526
  const Le = {};
3502
- function wr(e) {
3527
+ function Sr(e) {
3503
3528
  if (!Fe(e))
3504
3529
  return e in Le ? Le[e] : Promise.resolve();
3505
- const t = di(e);
3530
+ const t = gi(e);
3506
3531
  return Le[e] = Promise.all(
3507
3532
  t.map(
3508
3533
  ([r, n]) => pi(r, n)
3509
3534
  )
3510
3535
  ).then(() => {
3511
3536
  if (Fe(e))
3512
- return wr(e);
3537
+ return Sr(e);
3513
3538
  delete Le[e];
3514
3539
  }), Le[e];
3515
3540
  }
3516
- var Ct = Object.getOwnPropertySymbols, gi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, yi = (e, t) => {
3541
+ var It = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, yi = Object.prototype.propertyIsEnumerable, vi = (e, t) => {
3517
3542
  var r = {};
3518
3543
  for (var n in e)
3519
- gi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3520
- if (e != null && Ct)
3521
- for (var n of Ct(e))
3522
- t.indexOf(n) < 0 && bi.call(e, n) && (r[n] = e[n]);
3544
+ bi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3545
+ if (e != null && It)
3546
+ for (var n of It(e))
3547
+ t.indexOf(n) < 0 && yi.call(e, n) && (r[n] = e[n]);
3523
3548
  return r;
3524
3549
  };
3525
- const vi = {
3550
+ const xi = {
3526
3551
  number: {
3527
3552
  scientific: { notation: "scientific" },
3528
3553
  engineering: { notation: "engineering" },
@@ -3552,7 +3577,7 @@ const vi = {
3552
3577
  }
3553
3578
  }
3554
3579
  };
3555
- function xi({ locale: e, id: t }) {
3580
+ function _i({ locale: e, id: t }) {
3556
3581
  console.warn(
3557
3582
  `[svelte-i18n] The message "${t}" was not found in "${Ne(
3558
3583
  e
@@ -3561,72 +3586,72 @@ function xi({ locale: e, id: t }) {
3561
3586
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3562
3587
  );
3563
3588
  }
3564
- const _i = {
3589
+ const Ei = {
3565
3590
  fallbackLocale: null,
3566
3591
  loadingDelay: 200,
3567
- formats: vi,
3592
+ formats: xi,
3568
3593
  warnOnMissingMessages: !0,
3569
3594
  handleMissingMessage: void 0,
3570
3595
  ignoreTag: !0
3571
- }, Ae = _i;
3596
+ }, Ae = Ei;
3572
3597
  function Me() {
3573
3598
  return Ae;
3574
3599
  }
3575
- function Ei(e) {
3576
- const t = e, { formats: r } = t, n = yi(t, ["formats"]);
3600
+ function wi(e) {
3601
+ const t = e, { formats: r } = t, n = vi(t, ["formats"]);
3577
3602
  let i = e.fallbackLocale;
3578
3603
  if (e.initialLocale)
3579
3604
  try {
3580
- yr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3605
+ xr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3581
3606
  } catch {
3582
3607
  console.warn(
3583
3608
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3584
3609
  );
3585
3610
  }
3586
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = xi : console.warn(
3611
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = _i : console.warn(
3587
3612
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3588
- )), Object.assign(Ae, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ae.formats.number, r.number), "date" in r && Object.assign(Ae.formats.date, r.date), "time" in r && Object.assign(Ae.formats.time, r.time)), ge.set(i);
3613
+ )), Object.assign(Ae, n, { initialLocale: i }), r && ("number" in r && Object.assign(Ae.formats.number, r.number), "date" in r && Object.assign(Ae.formats.date, r.date), "time" in r && Object.assign(Ae.formats.time, r.time)), pe.set(i);
3589
3614
  }
3590
- const nt = We(!1);
3591
- var wi = Object.defineProperty, Mi = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
3615
+ const nt = ze(!1);
3616
+ var Mi = Object.defineProperty, Si = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
3592
3617
  for (var r in t || (t = {}))
3593
- Ti.call(t, r) && It(e, r, t[r]);
3594
- if (Nt)
3595
- for (var r of Nt(t))
3596
- Hi.call(t, r) && It(e, r, t[r]);
3618
+ Hi.call(t, r) && Rt(e, r, t[r]);
3619
+ if (Dt)
3620
+ for (var r of Dt(t))
3621
+ Li.call(t, r) && Rt(e, r, t[r]);
3597
3622
  return e;
3598
- }, Ai = (e, t) => Mi(e, Si(t));
3599
- let pt;
3600
- const je = We(null);
3601
- function Dt(e) {
3623
+ }, Oi = (e, t) => Si(e, Ti(t));
3624
+ let gt;
3625
+ const je = ze(null);
3626
+ function Ut(e) {
3602
3627
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3603
3628
  }
3604
3629
  function Ne(e, t = Me().fallbackLocale) {
3605
- const r = Dt(e);
3606
- return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
3630
+ const r = Ut(e);
3631
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
3607
3632
  }
3608
3633
  function de() {
3609
- return pt ?? void 0;
3634
+ return gt ?? void 0;
3610
3635
  }
3611
3636
  je.subscribe((e) => {
3612
- pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3637
+ gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3613
3638
  });
3614
- const Oi = (e) => {
3615
- if (e && ci(e) && Fe(e)) {
3639
+ const $i = (e) => {
3640
+ if (e && mi(e) && Fe(e)) {
3616
3641
  const { loadingDelay: t } = Me();
3617
3642
  let r;
3618
3643
  return typeof window < "u" && de() != null && t ? r = window.setTimeout(
3619
3644
  () => nt.set(!0),
3620
3645
  t
3621
- ) : nt.set(!0), wr(e).then(() => {
3646
+ ) : nt.set(!0), Sr(e).then(() => {
3622
3647
  je.set(e);
3623
3648
  }).finally(() => {
3624
3649
  clearTimeout(r), nt.set(!1);
3625
3650
  });
3626
3651
  }
3627
3652
  return je.set(e);
3628
- }, ge = Ai(Li({}, je), {
3629
- set: Oi
3653
+ }, pe = Oi(Ai({}, je), {
3654
+ set: $i
3630
3655
  }), Ye = (e) => {
3631
3656
  const t = /* @__PURE__ */ Object.create(null);
3632
3657
  return (n) => {
@@ -3634,20 +3659,20 @@ const Oi = (e) => {
3634
3659
  return i in t ? t[i] : t[i] = e(n);
3635
3660
  };
3636
3661
  };
3637
- var $i = Object.defineProperty, Ve = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
3662
+ var Bi = Object.defineProperty, Ve = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
3638
3663
  for (var r in t || (t = {}))
3639
- Mr.call(t, r) && Rt(e, r, t[r]);
3664
+ Tr.call(t, r) && Gt(e, r, t[r]);
3640
3665
  if (Ve)
3641
3666
  for (var r of Ve(t))
3642
- Sr.call(t, r) && Rt(e, r, t[r]);
3667
+ Hr.call(t, r) && Gt(e, r, t[r]);
3643
3668
  return e;
3644
3669
  }, He = (e, t) => {
3645
3670
  var r = {};
3646
3671
  for (var n in e)
3647
- Mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3672
+ Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3648
3673
  if (e != null && Ve)
3649
3674
  for (var n of Ve(e))
3650
- t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
3675
+ t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
3651
3676
  return r;
3652
3677
  };
3653
3678
  const Pe = (e, t) => {
@@ -3655,21 +3680,21 @@ const Pe = (e, t) => {
3655
3680
  if (e in r && t in r[e])
3656
3681
  return r[e][t];
3657
3682
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3658
- }, Bi = Ye(
3683
+ }, Pi = Ye(
3659
3684
  (e) => {
3660
3685
  var t = e, { locale: r, format: n } = t, i = He(t, ["locale", "format"]);
3661
3686
  if (r == null)
3662
3687
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3663
3688
  return n && (i = Pe("number", n)), new Intl.NumberFormat(r, i);
3664
3689
  }
3665
- ), Pi = Ye(
3690
+ ), Ci = Ye(
3666
3691
  (e) => {
3667
3692
  var t = e, { locale: r, format: n } = t, i = He(t, ["locale", "format"]);
3668
3693
  if (r == null)
3669
3694
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3670
3695
  return n ? i = Pe("date", n) : Object.keys(i).length === 0 && (i = Pe("date", "short")), new Intl.DateTimeFormat(r, i);
3671
3696
  }
3672
- ), Ci = Ye(
3697
+ ), Ni = Ye(
3673
3698
  (e) => {
3674
3699
  var t = e, { locale: r, format: n } = t, i = He(t, ["locale", "format"]);
3675
3700
  if (r == null)
@@ -3678,33 +3703,33 @@ const Pe = (e, t) => {
3678
3703
  );
3679
3704
  return n ? i = Pe("time", n) : Object.keys(i).length === 0 && (i = Pe("time", "short")), new Intl.DateTimeFormat(r, i);
3680
3705
  }
3681
- ), Ni = (e = {}) => {
3706
+ ), Ii = (e = {}) => {
3682
3707
  var t = e, {
3683
3708
  locale: r = de()
3684
3709
  } = t, n = He(t, [
3685
3710
  "locale"
3686
3711
  ]);
3687
- return Bi(vt({ locale: r }, n));
3688
- }, Ii = (e = {}) => {
3712
+ return Pi(_t({ locale: r }, n));
3713
+ }, Di = (e = {}) => {
3689
3714
  var t = e, {
3690
3715
  locale: r = de()
3691
3716
  } = t, n = He(t, [
3692
3717
  "locale"
3693
3718
  ]);
3694
- return Pi(vt({ locale: r }, n));
3695
- }, Di = (e = {}) => {
3719
+ return Ci(_t({ locale: r }, n));
3720
+ }, Ri = (e = {}) => {
3696
3721
  var t = e, {
3697
3722
  locale: r = de()
3698
3723
  } = t, n = He(t, [
3699
3724
  "locale"
3700
3725
  ]);
3701
- return Ci(vt({ locale: r }, n));
3702
- }, Ri = Ye(
3726
+ return Ni(_t({ locale: r }, n));
3727
+ }, Ui = Ye(
3703
3728
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3704
- (e, t = de()) => new yr(e, t, Me().formats, {
3729
+ (e, t = de()) => new xr(e, t, Me().formats, {
3705
3730
  ignoreTag: Me().ignoreTag
3706
3731
  })
3707
- ), Ui = (e, t = {}) => {
3732
+ ), Gi = (e, t = {}) => {
3708
3733
  var r, n, i, s;
3709
3734
  let a = t;
3710
3735
  typeof e == "object" && (a = e, e = a.id);
@@ -3717,7 +3742,7 @@ const Pe = (e, t) => {
3717
3742
  throw new Error(
3718
3743
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3719
3744
  );
3720
- let h = vr(e, l);
3745
+ let h = _r(e, l);
3721
3746
  if (!h)
3722
3747
  h = (s = (i = (n = (r = Me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3723
3748
  else if (typeof h != "string")
@@ -3728,7 +3753,7 @@ const Pe = (e, t) => {
3728
3753
  return h;
3729
3754
  let f = h;
3730
3755
  try {
3731
- f = Ri(h, l).format(o);
3756
+ f = Ui(h, l).format(o);
3732
3757
  } catch (c) {
3733
3758
  c instanceof Error && console.warn(
3734
3759
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3736,20 +3761,20 @@ const Pe = (e, t) => {
3736
3761
  );
3737
3762
  }
3738
3763
  return f;
3739
- }, Gi = (e, t) => Di(t).format(e), ki = (e, t) => Ii(t).format(e), Fi = (e, t) => Ni(t).format(e), ji = (e, t = de()) => vr(e, t), Vi = Te([ge, Ce], () => Ui);
3740
- Te([ge], () => Gi);
3741
- Te([ge], () => ki);
3742
- Te([ge], () => Fi);
3743
- Te([ge, Ce], () => ji);
3744
- function Ut(e, t) {
3745
- _r(e, t);
3746
- }
3747
- function Wi(e) {
3748
- Ei({
3764
+ }, ki = (e, t) => Ri(t).format(e), Fi = (e, t) => Di(t).format(e), ji = (e, t) => Ii(t).format(e), Vi = (e, t = de()) => _r(e, t), zi = Te([pe, Ce], () => Gi);
3765
+ Te([pe], () => ki);
3766
+ Te([pe], () => Fi);
3767
+ Te([pe], () => ji);
3768
+ Te([pe, Ce], () => Vi);
3769
+ function kt(e, t) {
3770
+ wr(e, t);
3771
+ }
3772
+ function Xi(e) {
3773
+ wi({
3749
3774
  fallbackLocale: "en"
3750
- }), ge.set(e);
3775
+ }), pe.set(e);
3751
3776
  }
3752
- const Gt = {
3777
+ const Ft = {
3753
3778
  en: {
3754
3779
  generalMin: "Min",
3755
3780
  generalMax: "Max",
@@ -3783,24 +3808,25 @@ const Gt = {
3783
3808
  showLess: "SHOW LESS"
3784
3809
  }
3785
3810
  };
3786
- var Tr = { exports: {} };
3811
+ var Lr = { exports: {} };
3787
3812
  (function(e, t) {
3788
3813
  (function(r, n) {
3789
3814
  e.exports = n();
3790
- })(er, function() {
3815
+ })(rr, function() {
3791
3816
  var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", a = "second", o = "minute", l = "hour", u = "day", h = "week", f = "month", c = "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(_) {
3792
- var g = ["th", "st", "nd", "rd"], m = _ % 100;
3793
- return "[" + _ + (g[(m - 20) % 10] || g[m] || g[0]) + "]";
3794
- } }, A = function(_, g, m) {
3817
+ var p = ["th", "st", "nd", "rd"], m = _ % 100;
3818
+ return "[" + _ + (p[(m - 20) % 10] || p[m] || p[0]) + "]";
3819
+ } }, A = function(_, p, m) {
3795
3820
  var y = String(_);
3796
- return !y || y.length >= g ? _ : "" + Array(g + 1 - y.length).join(m) + _;
3821
+ return !y || y.length >= p ? _ : "" + Array(p + 1 - y.length).join(m) + _;
3797
3822
  }, D = { s: A, z: function(_) {
3798
- var g = -_.utcOffset(), m = Math.abs(g), y = Math.floor(m / 60), p = m % 60;
3799
- return (g <= 0 ? "+" : "-") + A(y, 2, "0") + ":" + A(p, 2, "0");
3800
- }, m: function _(g, m) {
3801
- if (g.date() < m.date()) return -_(m, g);
3802
- var y = 12 * (m.year() - g.year()) + (m.month() - g.month()), p = g.clone().add(y, f), E = m - p < 0, v = g.clone().add(y + (E ? -1 : 1), f);
3803
- return +(-(y + (m - p) / (E ? p - v : v - p)) || 0);
3823
+ var p = -_.utcOffset(), m = Math.abs(p), y = Math.floor(m / 60), g = m % 60;
3824
+ return (p <= 0 ? "+" : "-") + A(y, 2, "0") + ":" + A(g, 2, "0");
3825
+ }, m: function _(p, m) {
3826
+ if (p.date() < m.date())
3827
+ return -_(m, p);
3828
+ var y = 12 * (m.year() - p.year()) + (m.month() - p.month()), g = p.clone().add(y, f), E = m - g < 0, v = p.clone().add(y + (E ? -1 : 1), f);
3829
+ return +(-(y + (m - g) / (E ? g - v : v - g)) || 0);
3804
3830
  }, a: function(_) {
3805
3831
  return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3806
3832
  }, p: function(_) {
@@ -3811,82 +3837,88 @@ var Tr = { exports: {} };
3811
3837
  j[C] = I;
3812
3838
  var G = "$isDayjsObject", K = function(_) {
3813
3839
  return _ instanceof re || !(!_ || !_[G]);
3814
- }, X = function _(g, m, y) {
3815
- var p;
3816
- if (!g) return C;
3817
- if (typeof g == "string") {
3818
- var E = g.toLowerCase();
3819
- j[E] && (p = E), m && (j[E] = m, p = E);
3820
- var v = g.split("-");
3821
- if (!p && v.length > 1) return _(v[0]);
3840
+ }, X = function _(p, m, y) {
3841
+ var g;
3842
+ if (!p)
3843
+ return C;
3844
+ if (typeof p == "string") {
3845
+ var E = p.toLowerCase();
3846
+ j[E] && (g = E), m && (j[E] = m, g = E);
3847
+ var v = p.split("-");
3848
+ if (!g && v.length > 1)
3849
+ return _(v[0]);
3822
3850
  } else {
3823
- var $ = g.name;
3824
- j[$] = g, p = $;
3851
+ var $ = p.name;
3852
+ j[$] = p, g = $;
3825
3853
  }
3826
- return !y && p && (C = p), p || !y && C;
3827
- }, N = function(_, g) {
3828
- if (K(_)) return _.clone();
3829
- var m = typeof g == "object" ? g : {};
3854
+ return !y && g && (C = g), g || !y && C;
3855
+ }, N = function(_, p) {
3856
+ if (K(_))
3857
+ return _.clone();
3858
+ var m = typeof p == "object" ? p : {};
3830
3859
  return m.date = _, m.args = arguments, new re(m);
3831
3860
  }, S = D;
3832
- S.l = X, S.i = K, S.w = function(_, g) {
3833
- return N(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3861
+ S.l = X, S.i = K, S.w = function(_, p) {
3862
+ return N(_, { locale: p.$L, utc: p.$u, x: p.$x, $offset: p.$offset });
3834
3863
  };
3835
3864
  var re = function() {
3836
3865
  function _(m) {
3837
3866
  this.$L = X(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[G] = !0;
3838
3867
  }
3839
- var g = _.prototype;
3840
- return g.parse = function(m) {
3868
+ var p = _.prototype;
3869
+ return p.parse = function(m) {
3841
3870
  this.$d = function(y) {
3842
- var p = y.date, E = y.utc;
3843
- if (p === null) return /* @__PURE__ */ new Date(NaN);
3844
- if (S.u(p)) return /* @__PURE__ */ new Date();
3845
- if (p instanceof Date) return new Date(p);
3846
- if (typeof p == "string" && !/Z$/i.test(p)) {
3847
- var v = p.match(M);
3871
+ var g = y.date, E = y.utc;
3872
+ if (g === null)
3873
+ return /* @__PURE__ */ new Date(NaN);
3874
+ if (S.u(g))
3875
+ return /* @__PURE__ */ new Date();
3876
+ if (g instanceof Date)
3877
+ return new Date(g);
3878
+ if (typeof g == "string" && !/Z$/i.test(g)) {
3879
+ var v = g.match(M);
3848
3880
  if (v) {
3849
3881
  var $ = v[2] - 1 || 0, U = (v[7] || "0").substring(0, 3);
3850
3882
  return E ? new Date(Date.UTC(v[1], $, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, U)) : new Date(v[1], $, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, U);
3851
3883
  }
3852
3884
  }
3853
- return new Date(p);
3885
+ return new Date(g);
3854
3886
  }(m), this.init();
3855
- }, g.init = function() {
3887
+ }, p.init = function() {
3856
3888
  var m = this.$d;
3857
3889
  this.$y = m.getFullYear(), this.$M = m.getMonth(), this.$D = m.getDate(), this.$W = m.getDay(), this.$H = m.getHours(), this.$m = m.getMinutes(), this.$s = m.getSeconds(), this.$ms = m.getMilliseconds();
3858
- }, g.$utils = function() {
3890
+ }, p.$utils = function() {
3859
3891
  return S;
3860
- }, g.isValid = function() {
3892
+ }, p.isValid = function() {
3861
3893
  return this.$d.toString() !== b;
3862
- }, g.isSame = function(m, y) {
3863
- var p = N(m);
3864
- return this.startOf(y) <= p && p <= this.endOf(y);
3865
- }, g.isAfter = function(m, y) {
3894
+ }, p.isSame = function(m, y) {
3895
+ var g = N(m);
3896
+ return this.startOf(y) <= g && g <= this.endOf(y);
3897
+ }, p.isAfter = function(m, y) {
3866
3898
  return N(m) < this.startOf(y);
3867
- }, g.isBefore = function(m, y) {
3899
+ }, p.isBefore = function(m, y) {
3868
3900
  return this.endOf(y) < N(m);
3869
- }, g.$g = function(m, y, p) {
3870
- return S.u(m) ? this[y] : this.set(p, m);
3871
- }, g.unix = function() {
3901
+ }, p.$g = function(m, y, g) {
3902
+ return S.u(m) ? this[y] : this.set(g, m);
3903
+ }, p.unix = function() {
3872
3904
  return Math.floor(this.valueOf() / 1e3);
3873
- }, g.valueOf = function() {
3905
+ }, p.valueOf = function() {
3874
3906
  return this.$d.getTime();
3875
- }, g.startOf = function(m, y) {
3876
- var p = this, E = !!S.u(y) || y, v = S.p(m), $ = function(he, z) {
3877
- var oe = S.w(p.$u ? Date.UTC(p.$y, z, he) : new Date(p.$y, z, he), p);
3907
+ }, p.startOf = function(m, y) {
3908
+ var g = this, E = !!S.u(y) || y, v = S.p(m), $ = function(he, W) {
3909
+ var oe = S.w(g.$u ? Date.UTC(g.$y, W, he) : new Date(g.$y, W, he), g);
3878
3910
  return E ? oe : oe.endOf(u);
3879
- }, U = function(he, z) {
3880
- return S.w(p.toDate()[he].apply(p.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(z)), p);
3881
- }, V = this.$W, W = this.$M, Q = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3911
+ }, U = function(he, W) {
3912
+ return S.w(g.toDate()[he].apply(g.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(W)), g);
3913
+ }, V = this.$W, z = this.$M, Q = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3882
3914
  switch (v) {
3883
3915
  case x:
3884
3916
  return E ? $(1, 0) : $(31, 11);
3885
3917
  case f:
3886
- return E ? $(1, W) : $(0, W + 1);
3918
+ return E ? $(1, z) : $(0, z + 1);
3887
3919
  case h:
3888
3920
  var le = this.$locale().weekStart || 0, ce = (V < le ? V + 7 : V) - le;
3889
- return $(E ? Q - ce : Q + (6 - ce), W);
3921
+ return $(E ? Q - ce : Q + (6 - ce), z);
3890
3922
  case u:
3891
3923
  case w:
3892
3924
  return U(fe + "Hours", 0);
@@ -3899,46 +3931,52 @@ var Tr = { exports: {} };
3899
3931
  default:
3900
3932
  return this.clone();
3901
3933
  }
3902
- }, g.endOf = function(m) {
3934
+ }, p.endOf = function(m) {
3903
3935
  return this.startOf(m, !1);
3904
- }, g.$set = function(m, y) {
3905
- var p, E = S.p(m), v = "set" + (this.$u ? "UTC" : ""), $ = (p = {}, p[u] = v + "Date", p[w] = v + "Date", p[f] = v + "Month", p[x] = v + "FullYear", p[l] = v + "Hours", p[o] = v + "Minutes", p[a] = v + "Seconds", p[s] = v + "Milliseconds", p)[E], U = E === u ? this.$D + (y - this.$W) : y;
3936
+ }, p.$set = function(m, y) {
3937
+ var g, E = S.p(m), v = "set" + (this.$u ? "UTC" : ""), $ = (g = {}, g[u] = v + "Date", g[w] = v + "Date", g[f] = v + "Month", g[x] = v + "FullYear", g[l] = v + "Hours", g[o] = v + "Minutes", g[a] = v + "Seconds", g[s] = v + "Milliseconds", g)[E], U = E === u ? this.$D + (y - this.$W) : y;
3906
3938
  if (E === f || E === x) {
3907
3939
  var V = this.clone().set(w, 1);
3908
3940
  V.$d[$](U), V.init(), this.$d = V.set(w, Math.min(this.$D, V.daysInMonth())).$d;
3909
- } else $ && this.$d[$](U);
3941
+ } else
3942
+ $ && this.$d[$](U);
3910
3943
  return this.init(), this;
3911
- }, g.set = function(m, y) {
3944
+ }, p.set = function(m, y) {
3912
3945
  return this.clone().$set(m, y);
3913
- }, g.get = function(m) {
3946
+ }, p.get = function(m) {
3914
3947
  return this[S.p(m)]();
3915
- }, g.add = function(m, y) {
3916
- var p, E = this;
3948
+ }, p.add = function(m, y) {
3949
+ var g, E = this;
3917
3950
  m = Number(m);
3918
- var v = S.p(y), $ = function(W) {
3951
+ var v = S.p(y), $ = function(z) {
3919
3952
  var Q = N(E);
3920
- return S.w(Q.date(Q.date() + Math.round(W * m)), E);
3953
+ return S.w(Q.date(Q.date() + Math.round(z * m)), E);
3921
3954
  };
3922
- if (v === f) return this.set(f, this.$M + m);
3923
- if (v === x) return this.set(x, this.$y + m);
3924
- if (v === u) return $(1);
3925
- if (v === h) return $(7);
3926
- var U = (p = {}, p[o] = n, p[l] = i, p[a] = r, p)[v] || 1, V = this.$d.getTime() + m * U;
3955
+ if (v === f)
3956
+ return this.set(f, this.$M + m);
3957
+ if (v === x)
3958
+ return this.set(x, this.$y + m);
3959
+ if (v === u)
3960
+ return $(1);
3961
+ if (v === h)
3962
+ return $(7);
3963
+ var U = (g = {}, g[o] = n, g[l] = i, g[a] = r, g)[v] || 1, V = this.$d.getTime() + m * U;
3927
3964
  return S.w(V, this);
3928
- }, g.subtract = function(m, y) {
3965
+ }, p.subtract = function(m, y) {
3929
3966
  return this.add(-1 * m, y);
3930
- }, g.format = function(m) {
3931
- var y = this, p = this.$locale();
3932
- if (!this.isValid()) return p.invalidDate || b;
3933
- var E = m || "YYYY-MM-DDTHH:mm:ssZ", v = S.z(this), $ = this.$H, U = this.$m, V = this.$M, W = p.weekdays, Q = p.months, fe = p.meridiem, le = function(z, oe, d, B) {
3934
- return z && (z[oe] || z(y, E)) || d[oe].slice(0, B);
3935
- }, ce = function(z) {
3936
- return S.s($ % 12 || 12, z, "0");
3937
- }, he = fe || function(z, oe, d) {
3938
- var B = z < 12 ? "AM" : "PM";
3967
+ }, p.format = function(m) {
3968
+ var y = this, g = this.$locale();
3969
+ if (!this.isValid())
3970
+ return g.invalidDate || b;
3971
+ var E = m || "YYYY-MM-DDTHH:mm:ssZ", v = S.z(this), $ = this.$H, U = this.$m, V = this.$M, z = g.weekdays, Q = g.months, fe = g.meridiem, le = function(W, oe, d, B) {
3972
+ return W && (W[oe] || W(y, E)) || d[oe].slice(0, B);
3973
+ }, ce = function(W) {
3974
+ return S.s($ % 12 || 12, W, "0");
3975
+ }, he = fe || function(W, oe, d) {
3976
+ var B = W < 12 ? "AM" : "PM";
3939
3977
  return d ? B.toLowerCase() : B;
3940
3978
  };
3941
- return E.replace(P, function(z, oe) {
3979
+ return E.replace(P, function(W, oe) {
3942
3980
  return oe || function(d) {
3943
3981
  switch (d) {
3944
3982
  case "YY":
@@ -3950,7 +3988,7 @@ var Tr = { exports: {} };
3950
3988
  case "MM":
3951
3989
  return S.s(V + 1, 2, "0");
3952
3990
  case "MMM":
3953
- return le(p.monthsShort, V, Q, 3);
3991
+ return le(g.monthsShort, V, Q, 3);
3954
3992
  case "MMMM":
3955
3993
  return le(Q, V);
3956
3994
  case "D":
@@ -3960,11 +3998,11 @@ var Tr = { exports: {} };
3960
3998
  case "d":
3961
3999
  return String(y.$W);
3962
4000
  case "dd":
3963
- return le(p.weekdaysMin, y.$W, W, 2);
4001
+ return le(g.weekdaysMin, y.$W, z, 2);
3964
4002
  case "ddd":
3965
- return le(p.weekdaysShort, y.$W, W, 3);
4003
+ return le(g.weekdaysShort, y.$W, z, 3);
3966
4004
  case "dddd":
3967
- return W[y.$W];
4005
+ return z[y.$W];
3968
4006
  case "H":
3969
4007
  return String($);
3970
4008
  case "HH":
@@ -3991,12 +4029,12 @@ var Tr = { exports: {} };
3991
4029
  return v;
3992
4030
  }
3993
4031
  return null;
3994
- }(z) || v.replace(":", "");
4032
+ }(W) || v.replace(":", "");
3995
4033
  });
3996
- }, g.utcOffset = function() {
4034
+ }, p.utcOffset = function() {
3997
4035
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3998
- }, g.diff = function(m, y, p) {
3999
- var E, v = this, $ = S.p(y), U = N(m), V = (U.utcOffset() - this.utcOffset()) * n, W = this - U, Q = function() {
4036
+ }, p.diff = function(m, y, g) {
4037
+ var E, v = this, $ = S.p(y), U = N(m), V = (U.utcOffset() - this.utcOffset()) * n, z = this - U, Q = function() {
4000
4038
  return S.m(v, U);
4001
4039
  };
4002
4040
  switch ($) {
@@ -4010,62 +4048,63 @@ var Tr = { exports: {} };
4010
4048
  E = Q() / 3;
4011
4049
  break;
4012
4050
  case h:
4013
- E = (W - V) / 6048e5;
4051
+ E = (z - V) / 6048e5;
4014
4052
  break;
4015
4053
  case u:
4016
- E = (W - V) / 864e5;
4054
+ E = (z - V) / 864e5;
4017
4055
  break;
4018
4056
  case l:
4019
- E = W / i;
4057
+ E = z / i;
4020
4058
  break;
4021
4059
  case o:
4022
- E = W / n;
4060
+ E = z / n;
4023
4061
  break;
4024
4062
  case a:
4025
- E = W / r;
4063
+ E = z / r;
4026
4064
  break;
4027
4065
  default:
4028
- E = W;
4066
+ E = z;
4029
4067
  }
4030
- return p ? E : S.a(E);
4031
- }, g.daysInMonth = function() {
4068
+ return g ? E : S.a(E);
4069
+ }, p.daysInMonth = function() {
4032
4070
  return this.endOf(f).$D;
4033
- }, g.$locale = function() {
4071
+ }, p.$locale = function() {
4034
4072
  return j[this.$L];
4035
- }, g.locale = function(m, y) {
4036
- if (!m) return this.$L;
4037
- var p = this.clone(), E = X(m, y, !0);
4038
- return E && (p.$L = E), p;
4039
- }, g.clone = function() {
4073
+ }, p.locale = function(m, y) {
4074
+ if (!m)
4075
+ return this.$L;
4076
+ var g = this.clone(), E = X(m, y, !0);
4077
+ return E && (g.$L = E), g;
4078
+ }, p.clone = function() {
4040
4079
  return S.w(this.$d, this);
4041
- }, g.toDate = function() {
4080
+ }, p.toDate = function() {
4042
4081
  return new Date(this.valueOf());
4043
- }, g.toJSON = function() {
4082
+ }, p.toJSON = function() {
4044
4083
  return this.isValid() ? this.toISOString() : null;
4045
- }, g.toISOString = function() {
4084
+ }, p.toISOString = function() {
4046
4085
  return this.$d.toISOString();
4047
- }, g.toString = function() {
4086
+ }, p.toString = function() {
4048
4087
  return this.$d.toUTCString();
4049
4088
  }, _;
4050
- }(), pe = re.prototype;
4051
- return N.prototype = pe, [["$ms", s], ["$s", a], ["$m", o], ["$H", l], ["$W", u], ["$M", f], ["$y", x], ["$D", w]].forEach(function(_) {
4052
- pe[_[1]] = function(g) {
4053
- return this.$g(g, _[0], _[1]);
4089
+ }(), ge = re.prototype;
4090
+ return N.prototype = ge, [["$ms", s], ["$s", a], ["$m", o], ["$H", l], ["$W", u], ["$M", f], ["$y", x], ["$D", w]].forEach(function(_) {
4091
+ ge[_[1]] = function(p) {
4092
+ return this.$g(p, _[0], _[1]);
4054
4093
  };
4055
- }), N.extend = function(_, g) {
4056
- return _.$i || (_(g, re, N), _.$i = !0), N;
4094
+ }), N.extend = function(_, p) {
4095
+ return _.$i || (_(p, re, N), _.$i = !0), N;
4057
4096
  }, N.locale = X, N.isDayjs = K, N.unix = function(_) {
4058
4097
  return N(1e3 * _);
4059
4098
  }, N.en = j[C], N.Ls = j, N.p = {}, N;
4060
4099
  });
4061
- })(Tr);
4062
- var Xi = Tr.exports;
4063
- const kt = /* @__PURE__ */ bt(Xi);
4064
- var Hr = { exports: {} };
4100
+ })(Lr);
4101
+ var Wi = Lr.exports;
4102
+ const jt = /* @__PURE__ */ bt(Wi);
4103
+ var Ar = { exports: {} };
4065
4104
  (function(e, t) {
4066
4105
  (function(r, n) {
4067
4106
  e.exports = n();
4068
- })(er, function() {
4107
+ })(rr, function() {
4069
4108
  var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, i = /([+-]|\d\d)/g;
4070
4109
  return function(s, a, o) {
4071
4110
  var l = a.prototype;
@@ -4087,25 +4126,31 @@ var Hr = { exports: {} };
4087
4126
  if (this.$u) {
4088
4127
  var b = this.$d;
4089
4128
  this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
4090
- } else h.call(this);
4129
+ } else
4130
+ h.call(this);
4091
4131
  };
4092
4132
  var f = l.utcOffset;
4093
4133
  l.utcOffset = function(b, M) {
4094
4134
  var P = this.$utils().u;
4095
- if (P(b)) return this.$u ? 0 : P(this.$offset) ? f.call(this) : this.$offset;
4135
+ if (P(b))
4136
+ return this.$u ? 0 : P(this.$offset) ? f.call(this) : this.$offset;
4096
4137
  if (typeof b == "string" && (b = function(C) {
4097
4138
  C === void 0 && (C = "");
4098
4139
  var j = C.match(n);
4099
- if (!j) return null;
4140
+ if (!j)
4141
+ return null;
4100
4142
  var G = ("" + j[0]).match(i) || ["-", 0, 0], K = G[0], X = 60 * +G[1] + +G[2];
4101
4143
  return X === 0 ? 0 : K === "+" ? X : -X;
4102
- }(b), b === null)) return this;
4144
+ }(b), b === null))
4145
+ return this;
4103
4146
  var I = Math.abs(b) <= 16 ? 60 * b : b, A = this;
4104
- if (M) return A.$offset = I, A.$u = b === 0, A;
4147
+ if (M)
4148
+ return A.$offset = I, A.$u = b === 0, A;
4105
4149
  if (b !== 0) {
4106
4150
  var D = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4107
4151
  (A = this.local().add(I + D, r)).$offset = I, A.$x.$localOffset = D;
4108
- } else A = this.utc();
4152
+ } else
4153
+ A = this.utc();
4109
4154
  return A;
4110
4155
  };
4111
4156
  var c = l.format;
@@ -4128,23 +4173,24 @@ var Hr = { exports: {} };
4128
4173
  };
4129
4174
  var w = l.diff;
4130
4175
  l.diff = function(b, M, P) {
4131
- if (b && this.$u === b.$u) return w.call(this, b, M, P);
4176
+ if (b && this.$u === b.$u)
4177
+ return w.call(this, b, M, P);
4132
4178
  var I = this.local(), A = o(b).local();
4133
4179
  return w.call(I, A, M, P);
4134
4180
  };
4135
4181
  };
4136
4182
  });
4137
- })(Hr);
4138
- var zi = Hr.exports;
4139
- const Yi = /* @__PURE__ */ bt(zi);
4140
- function Zi(e) {
4141
- $r(e, "svelte-1wlv0rl", "*,*::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}.EmptyContentMessageWrapper{display:flex;flex-direction:column;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:var(--emw--spacing-small, 12px);max-height:500px}.EmptyContentMessageHeader{display:flex;gap:4px;align-items:end}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);color:var(--emw--color-warning, rgb(250, 146, 0))}.EmptyContentMessageText{word-break:break-word;padding:var(--emw--spacing-small, 12px) calc(var(--emw--spacing-small, 12px) / 2);font-size:var(--emw--font-size-small, 14px)}.EmptyContentMessageDesktop p{font-size:var(--emw--font-size-medium, 16px)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.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}}");
4183
+ })(Ar);
4184
+ var Yi = Ar.exports;
4185
+ const Zi = /* @__PURE__ */ bt(Yi);
4186
+ function Ji(e) {
4187
+ Pr(e, "svelte-1wlv0rl", "*,*::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}.EmptyContentMessageWrapper{display:flex;flex-direction:column;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:var(--emw--spacing-small, 12px);max-height:500px}.EmptyContentMessageHeader{display:flex;gap:4px;align-items:end}.EmptyContentMessageTitle{font-size:var(--emw--font-size-small, 16px);font-weight:var(--emw--font-weight-semibold, 500);color:var(--emw--color-warning, rgb(250, 146, 0))}.EmptyContentMessageText{word-break:break-word;padding:var(--emw--spacing-small, 12px) calc(var(--emw--spacing-small, 12px) / 2);font-size:var(--emw--font-size-small, 14px)}.EmptyContentMessageDesktop p{font-size:var(--emw--font-size-medium, 16px)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.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
4188
  }
4143
- function Ft(e, t, r) {
4189
+ function Vt(e, t, r) {
4144
4190
  const n = e.slice();
4145
4191
  return n[48] = t[r], n[50] = r, n;
4146
4192
  }
4147
- function jt(e) {
4193
+ function zt(e) {
4148
4194
  let t;
4149
4195
  return {
4150
4196
  c() {
@@ -4183,20 +4229,20 @@ function jt(e) {
4183
4229
  }
4184
4230
  };
4185
4231
  }
4186
- function Vt(e) {
4187
- let t, r, n, i, s = Mt(
4232
+ function Xt(e) {
4233
+ let t, r, n, i, s = Tt(
4188
4234
  /*paymentMethodsToShow*/
4189
4235
  e[8]
4190
4236
  ), a = [];
4191
4237
  for (let u = 0; u < s.length; u += 1)
4192
- a[u] = Wt(Ft(e, s, u));
4238
+ a[u] = Wt(Vt(e, s, u));
4193
4239
  let o = (
4194
4240
  /*noPaymentMethodsAvailable*/
4195
4241
  e[13] && !/*showSpinner*/
4196
- e[12] && Xt(e)
4242
+ e[12] && Yt(e)
4197
4243
  ), l = (
4198
4244
  /*methodsButtonToggleText*/
4199
- e[7] && zt(e)
4245
+ e[7] && Zt(e)
4200
4246
  );
4201
4247
  return {
4202
4248
  c() {
@@ -4214,13 +4260,13 @@ function Vt(e) {
4214
4260
  p(u, h) {
4215
4261
  if (h[0] & /*selectedPaymentMethod, paymentMethodsToShow, selectPayMeth, formatter, $_*/
4216
4262
  115008) {
4217
- s = Mt(
4263
+ s = Tt(
4218
4264
  /*paymentMethodsToShow*/
4219
4265
  u[8]
4220
4266
  );
4221
4267
  let f;
4222
4268
  for (f = 0; f < s.length; f += 1) {
4223
- const c = Ft(u, s, f);
4269
+ const c = Vt(u, s, f);
4224
4270
  a[f] ? a[f].p(c, h) : (a[f] = Wt(c), a[f].c(), a[f].m(r, n));
4225
4271
  }
4226
4272
  for (; f < a.length; f += 1)
@@ -4229,11 +4275,11 @@ function Vt(e) {
4229
4275
  }
4230
4276
  /*noPaymentMethodsAvailable*/
4231
4277
  u[13] && !/*showSpinner*/
4232
- u[12] ? o ? o.p(u, h) : (o = Xt(u), o.c(), o.m(r, null)) : o && (o.d(1), o = null), /*methodsButtonToggleText*/
4233
- u[7] ? l ? l.p(u, h) : (l = zt(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
4278
+ u[12] ? o ? o.p(u, h) : (o = Yt(u), o.c(), o.m(r, null)) : o && (o.d(1), o = null), /*methodsButtonToggleText*/
4279
+ u[7] ? l ? l.p(u, h) : (l = Zt(u), l.c(), l.m(t, null)) : l && (l.d(1), l = null);
4234
4280
  },
4235
4281
  d(u) {
4236
- u && se(t), Cr(a, u), o && o.d(), l && l.d(), e[27](null);
4282
+ u && se(t), Ir(a, u), o && o.d(), l && l.d(), e[27](null);
4237
4283
  }
4238
4284
  };
4239
4285
  }
@@ -4263,11 +4309,11 @@ function Wt(e) {
4263
4309
  /*payMeth*/
4264
4310
  e[48].DisplayCurrency.MaxAmountLimit
4265
4311
  ) + ""
4266
- ), re, pe, _ = (
4312
+ ), re, ge, _ = (
4267
4313
  /*payMeth*/
4268
4314
  e[48].DisplayCurrency.Name + ""
4269
- ), g, m, y;
4270
- function p() {
4315
+ ), p, m, y;
4316
+ function g() {
4271
4317
  return (
4272
4318
  /*click_handler*/
4273
4319
  e[25](
@@ -4278,7 +4324,7 @@ function Wt(e) {
4278
4324
  }
4279
4325
  return {
4280
4326
  c() {
4281
- t = F("div"), r = F("div"), n = F("img"), a = te(), o = F("div"), l = F("span"), h = ee(u), f = te(), c = F("div"), x = F("span"), b = ee(w), M = te(), I = ee(P), A = te(), C = ee(D), j = te(), G = F("span"), X = ee(K), N = te(), re = ee(S), pe = te(), g = ee(_), Et(n.src, i = /*payMeth*/
4327
+ t = F("div"), r = F("div"), n = F("img"), a = te(), o = F("div"), l = F("span"), h = ee(u), f = te(), c = F("div"), x = F("span"), b = ee(w), M = te(), I = ee(P), A = te(), C = ee(D), j = te(), G = F("span"), X = ee(K), N = te(), re = ee(S), ge = te(), p = ee(_), Mt(n.src, i = /*payMeth*/
4282
4328
  e[48].LogoUrl) || k(n, "src", i), k(n, "alt", s = /*payMeth*/
4283
4329
  e[48].Label), k(r, "class", "MethodLogo"), k(o, "class", "MethodTitle"), k(x, "class", "Limits"), k(G, "class", "Limits"), k(c, "class", "MethodLimits"), k(t, "class", "SelectorWrapper"), ke(
4284
4330
  t,
@@ -4289,14 +4335,14 @@ function Wt(e) {
4289
4335
  );
4290
4336
  },
4291
4337
  m(E, v) {
4292
- ue(E, t, v), T(t, r), T(r, n), T(t, a), T(t, o), T(o, l), T(l, h), T(t, f), T(t, c), T(c, x), T(x, b), T(x, M), T(x, I), T(x, A), T(x, C), T(c, j), T(c, G), T(G, X), T(G, N), T(G, re), T(G, pe), T(G, g), m || (y = [
4293
- it(t, "click", p),
4294
- it(t, "keyup", Qi)
4338
+ ue(E, t, v), T(t, r), T(r, n), T(t, a), T(t, o), T(o, l), T(l, h), T(t, f), T(t, c), T(c, x), T(x, b), T(x, M), T(x, I), T(x, A), T(x, C), T(c, j), T(c, G), T(G, X), T(G, N), T(G, re), T(G, ge), T(G, p), m || (y = [
4339
+ it(t, "click", g),
4340
+ it(t, "keyup", qi)
4295
4341
  ], m = !0);
4296
4342
  },
4297
4343
  p(E, v) {
4298
4344
  e = E, v[0] & /*paymentMethodsToShow*/
4299
- 256 && !Et(n.src, i = /*payMeth*/
4345
+ 256 && !Mt(n.src, i = /*payMeth*/
4300
4346
  e[48].LogoUrl) && k(n, "src", i), v[0] & /*paymentMethodsToShow*/
4301
4347
  256 && s !== (s = /*payMeth*/
4302
4348
  e[48].Label) && k(n, "alt", s), v[0] & /*paymentMethodsToShow*/
@@ -4320,7 +4366,7 @@ function Wt(e) {
4320
4366
  e[48].DisplayCurrency.MaxAmountLimit
4321
4367
  ) + "") && ne(re, S), v[0] & /*paymentMethodsToShow*/
4322
4368
  256 && _ !== (_ = /*payMeth*/
4323
- e[48].DisplayCurrency.Name + "") && ne(g, _), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
4369
+ e[48].DisplayCurrency.Name + "") && ne(p, _), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
4324
4370
  320 && ke(
4325
4371
  t,
4326
4372
  "checked",
@@ -4334,7 +4380,7 @@ function Wt(e) {
4334
4380
  }
4335
4381
  };
4336
4382
  }
4337
- function Xt(e) {
4383
+ function Yt(e) {
4338
4384
  let t, r, n, i, s, a = (
4339
4385
  /*$_*/
4340
4386
  e[14]("error") + ""
@@ -4372,7 +4418,7 @@ function Xt(e) {
4372
4418
  }
4373
4419
  };
4374
4420
  }
4375
- function zt(e) {
4421
+ function Zt(e) {
4376
4422
  let t, r, n, i;
4377
4423
  return {
4378
4424
  c() {
@@ -4402,7 +4448,7 @@ function zt(e) {
4402
4448
  }
4403
4449
  };
4404
4450
  }
4405
- function Yt(e) {
4451
+ function Jt(e) {
4406
4452
  let t, r, n;
4407
4453
  return {
4408
4454
  c() {
@@ -4482,31 +4528,31 @@ function Yt(e) {
4482
4528
  }
4483
4529
  };
4484
4530
  }
4485
- function Ji(e) {
4531
+ function Qi(e) {
4486
4532
  let t, r, n, i = (
4487
4533
  /*showSpinner*/
4488
- e[12] && jt(e)
4534
+ e[12] && zt(e)
4489
4535
  ), s = (
4490
4536
  /*showMethodsList*/
4491
4537
  (e[9] || /*desktopView*/
4492
- e[11]) && Vt(e)
4538
+ e[11]) && Xt(e)
4493
4539
  ), a = (
4494
4540
  /*errorMessage*/
4495
- e[10] && Yt(e)
4541
+ e[10] && Jt(e)
4496
4542
  );
4497
4543
  return {
4498
4544
  c() {
4499
- i && i.c(), t = te(), s && s.c(), r = te(), a && a.c(), n = Nr();
4545
+ i && i.c(), t = te(), s && s.c(), r = te(), a && a.c(), n = Dr();
4500
4546
  },
4501
4547
  m(o, l) {
4502
4548
  i && i.m(o, l), ue(o, t, l), s && s.m(o, l), ue(o, r, l), a && a.m(o, l), ue(o, n, l);
4503
4549
  },
4504
4550
  p(o, l) {
4505
4551
  /*showSpinner*/
4506
- o[12] ? i ? i.p(o, l) : (i = jt(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4552
+ o[12] ? i ? i.p(o, l) : (i = zt(o), i.c(), i.m(t.parentNode, t)) : i && (i.d(1), i = null), /*showMethodsList*/
4507
4553
  o[9] || /*desktopView*/
4508
- o[11] ? s ? s.p(o, l) : (s = Vt(o), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4509
- o[10] ? a ? a.p(o, l) : (a = Yt(o), a.c(), a.m(n.parentNode, n)) : a && (a.d(1), a = null);
4554
+ o[11] ? s ? s.p(o, l) : (s = Xt(o), s.c(), s.m(r.parentNode, r)) : s && (s.d(1), s = null), /*errorMessage*/
4555
+ o[10] ? a ? a.p(o, l) : (a = Jt(o), a.c(), a.m(n.parentNode, n)) : a && (a.d(1), a = null);
4510
4556
  },
4511
4557
  i: ie,
4512
4558
  o: ie,
@@ -4515,36 +4561,36 @@ function Ji(e) {
4515
4561
  }
4516
4562
  };
4517
4563
  }
4518
- const Qi = () => {
4564
+ const qi = () => {
4519
4565
  };
4520
- function qi(e, t, r) {
4566
+ function Ki(e, t, r) {
4521
4567
  let n;
4522
- Or(e, Vi, (d) => r(14, n = d)), kt.extend(Yi);
4568
+ Br(e, zi, (d) => r(14, n = d)), jt.extend(Zi);
4523
4569
  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: f } = t, { translationurl: c = "" } = t, { clientstyling: x = "" } = t, { clientstylingurl: w = "" } = t, { ismobileview: b } = t, M = [], P, I, A = "", D = [], C = !0, j = new Intl.NumberFormat(s, { minimumFractionDigits: 2 }), G = "", K, X = !0, N = !1, S = !1;
4524
4570
  var re;
4525
4571
  (function(d) {
4526
4572
  d.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", d.Success = "Success", d.JwtTokenError = "JwtTokenError";
4527
- })(re || (re = {})), Gr();
4528
- const pe = () => {
4573
+ })(re || (re = {})), Fr();
4574
+ const ge = () => {
4529
4575
  let d = c;
4530
4576
  if (d)
4531
4577
  return fetch(d).then((B) => B.json()).then((B) => {
4532
4578
  Object.keys(B).forEach((ae) => {
4533
- Ut(ae, B[ae]);
4579
+ kt(ae, B[ae]);
4534
4580
  });
4535
4581
  }).catch((B) => {
4536
4582
  console.log(B);
4537
4583
  });
4538
4584
  };
4539
- Object.keys(Gt).forEach((d) => {
4540
- Ut(d, Gt[d]);
4585
+ Object.keys(Ft).forEach((d) => {
4586
+ kt(d, Ft[d]);
4541
4587
  });
4542
4588
  const _ = () => {
4543
- Wi(i);
4544
- }, g = () => {
4589
+ Xi(i);
4590
+ }, p = () => {
4545
4591
  r(12, N = !0);
4546
4592
  const d = new URL(`${a}/v1/player/${l}/payment/GetPaymentMetadata`), B = new Headers();
4547
- B.append("accept", "application/json"), B.append("Content-Type", "application/json"), B.append("X-Client-Request-Timestamp", kt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4593
+ B.append("accept", "application/json"), B.append("Content-Type", "application/json"), B.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4548
4594
  const ae = {
4549
4595
  method: "POST",
4550
4596
  headers: B,
@@ -4579,17 +4625,17 @@ function qi(e, t, r) {
4579
4625
  return d.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((ae) => {
4580
4626
  const Y = d.PaymentMethods.PaymentMethods.find((Ze) => Ze.Name === ae);
4581
4627
  if (Y) {
4582
- const Ze = Y?.Logos.find((Je) => Je.LogoType === "Desktop") || {}, Lr = Y?.Logos.find((Je) => Je.LogoType === "Mobile") || {}, xt = X ? Ze : Lr;
4628
+ const Ze = Y?.Logos.find((Je) => Je.LogoType === "Desktop") || {}, Or = Y?.Logos.find((Je) => Je.LogoType === "Mobile") || {}, Et = X ? Ze : Or;
4583
4629
  B.push({
4584
4630
  ...Y,
4585
- LogoUrl: xt.LogoUrl ? `https:${xt.LogoUrl}` : ""
4631
+ LogoUrl: Et.LogoUrl ? `https:${Et.LogoUrl}` : ""
4586
4632
  });
4587
4633
  }
4588
4634
  }), B;
4589
4635
  }, y = (d) => d.PaymentMethods.PaymentMethods.map((B) => ({
4590
4636
  ...B,
4591
4637
  LogoUrl: B.Logos && B.Logos.length && B.Logos[0].LogoUrl ? `https:${B.Logos[0].LogoUrl}` : ""
4592
- })), p = (d) => {
4638
+ })), g = (d) => {
4593
4639
  r(6, I = d.Name), window.postMessage({ type: "SelectPayMeth", details: d }, window.location.href), dispatchEvent(new CustomEvent(
4594
4640
  "selectPayMeth",
4595
4641
  {
@@ -4615,7 +4661,7 @@ function qi(e, t, r) {
4615
4661
  r(8, D = M), r(7, A = n("showLess"));
4616
4662
  }, V = () => {
4617
4663
  r(8, D = M.slice(0, +f)), I && !D.find((d) => d.Name === I) && D.splice(0, 0, M.find((d) => d.Name === I)), r(7, A = n("showAll"));
4618
- }, W = () => {
4664
+ }, z = () => {
4619
4665
  r(9, C = !0);
4620
4666
  }, Q = (d) => {
4621
4667
  r(9, C = !d.hideMethodsList);
@@ -4637,19 +4683,19 @@ function qi(e, t, r) {
4637
4683
  );
4638
4684
  });
4639
4685
  };
4640
- Ur(() => (window.addEventListener("message", ce, !1), () => {
4686
+ kr(() => (window.addEventListener("message", ce, !1), () => {
4641
4687
  window.removeEventListener("message", ce, !1);
4642
4688
  }));
4643
4689
  const ce = (d) => {
4644
4690
  switch (d.data.type) {
4645
4691
  case "BackToMethodList":
4646
- W();
4692
+ z();
4647
4693
  break;
4648
4694
  case "HideMethodsList":
4649
4695
  Q(d.data.details);
4650
4696
  break;
4651
4697
  }
4652
- }, he = (d) => p(d), z = () => $();
4698
+ }, he = (d) => g(d), W = () => $();
4653
4699
  function oe(d) {
4654
4700
  st[d ? "unshift" : "push"](() => {
4655
4701
  P = d, r(5, P);
@@ -4659,12 +4705,12 @@ function qi(e, t, r) {
4659
4705
  "lang" in d && r(0, i = d.lang), "local" in d && r(18, s = d.local), "endpoint" in d && r(19, a = d.endpoint), "session" in d && r(20, o = d.session), "customerid" in d && r(21, l = d.customerid), "assetsurl" in d && r(1, u = d.assetsurl), "currency" in d && r(22, h = d.currency), "numberofmethodsshown" in d && r(23, f = d.numberofmethodsshown), "translationurl" in d && r(2, c = d.translationurl), "clientstyling" in d && r(3, x = d.clientstyling), "clientstylingurl" in d && r(4, w = d.clientstylingurl), "ismobileview" in d && r(24, b = d.ismobileview);
4660
4706
  }, e.$$.update = () => {
4661
4707
  e.$$.dirty[0] & /*endpoint, session, customerid*/
4662
- 3670016 && a && o && l && g(), e.$$.dirty[0] & /*lang*/
4708
+ 3670016 && a && o && l && p(), e.$$.dirty[0] & /*lang*/
4663
4709
  1 && i && _(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4664
4710
  40 && x && P && fe(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4665
4711
  48 && w && P && le(), e.$$.dirty[0] & /*ismobileview*/
4666
4712
  16777216 && b && v(), e.$$.dirty[0] & /*lang, translationurl*/
4667
- 5 && i && c && pe();
4713
+ 5 && i && c && ge();
4668
4714
  }, [
4669
4715
  i,
4670
4716
  u,
@@ -4682,7 +4728,7 @@ function qi(e, t, r) {
4682
4728
  S,
4683
4729
  n,
4684
4730
  j,
4685
- p,
4731
+ g,
4686
4732
  $,
4687
4733
  s,
4688
4734
  a,
@@ -4692,18 +4738,18 @@ function qi(e, t, r) {
4692
4738
  f,
4693
4739
  b,
4694
4740
  he,
4695
- z,
4741
+ W,
4696
4742
  oe
4697
4743
  ];
4698
4744
  }
4699
- class Ki extends qr {
4745
+ class es extends en {
4700
4746
  constructor(t) {
4701
- super(), Jr(
4747
+ super(), qr(
4702
4748
  this,
4703
4749
  t,
4704
- qi,
4705
- Ji,
4706
- Jt,
4750
+ Ki,
4751
+ Qi,
4752
+ qt,
4707
4753
  {
4708
4754
  lang: 0,
4709
4755
  local: 18,
@@ -4718,7 +4764,7 @@ class Ki extends qr {
4718
4764
  clientstylingurl: 4,
4719
4765
  ismobileview: 24
4720
4766
  },
4721
- Zi,
4767
+ Ji,
4722
4768
  [-1, -1]
4723
4769
  );
4724
4770
  }
@@ -4795,7 +4841,7 @@ class Ki extends qr {
4795
4841
  this.$$set({ ismobileview: t }), q();
4796
4842
  }
4797
4843
  }
4798
- Qr(Ki, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4844
+ Kr(es, { lang: {}, local: {}, endpoint: {}, session: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, ismobileview: {} }, [], [], !0);
4799
4845
  export {
4800
- Ki as C
4846
+ es as C
4801
4847
  };