@everymatrix/player-account-gaming-limits-page-2-gmcore 1.86.4 → 1.86.5

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,46 +1,46 @@
1
- function U() {
1
+ function j() {
2
2
  }
3
- function ri(e) {
3
+ function oi(e) {
4
4
  return e();
5
5
  }
6
- function _t() {
6
+ function Lt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ee(e) {
10
- e.forEach(ri);
10
+ e.forEach(oi);
11
11
  }
12
- function mt(e) {
12
+ function bt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function ni(e, t) {
15
+ function si(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function rr(e) {
18
+ function nr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function oi(e, ...t) {
21
+ function ai(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const r of t)
24
24
  r(void 0);
25
- return U;
25
+ return j;
26
26
  }
27
27
  const i = e.subscribe(...t);
28
28
  return i.unsubscribe ? () => i.unsubscribe() : i;
29
29
  }
30
- function nr(e, t, i) {
31
- e.$$.on_destroy.push(oi(t, i));
30
+ function or(e, t, i) {
31
+ e.$$.on_destroy.push(ai(t, i));
32
32
  }
33
33
  function d(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function or(e, t, i) {
37
- const r = sr(e);
36
+ function sr(e, t, i) {
37
+ const r = ar(e);
38
38
  if (!r.getElementById(t)) {
39
39
  const n = v("style");
40
- n.id = t, n.textContent = i, ar(r, n);
40
+ n.id = t, n.textContent = i, ur(r, n);
41
41
  }
42
42
  }
43
- function sr(e) {
43
+ function ar(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,58 +50,58 @@ function sr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function ar(e, t) {
53
+ function ur(e, t) {
54
54
  return d(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function I(e, t, i) {
60
+ function N(e, t, i) {
61
61
  e.insertBefore(t, i || null);
62
62
  }
63
- function N(e) {
63
+ function B(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function Me(e, t) {
66
+ function ke(e, t) {
67
67
  for (let i = 0; i < e.length; i += 1)
68
68
  e[i] && e[i].d(t);
69
69
  }
70
70
  function v(e) {
71
71
  return document.createElement(e);
72
72
  }
73
- function pe(e) {
73
+ function me(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function F(e) {
76
+ function $(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
- function j() {
80
- return F(" ");
79
+ function U() {
80
+ return $(" ");
81
81
  }
82
- function ur() {
83
- return F("");
82
+ function lr() {
83
+ return $("");
84
84
  }
85
- function Z(e, t, i, r) {
85
+ function Y(e, t, i, r) {
86
86
  return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
87
87
  }
88
88
  function g(e, t, i) {
89
89
  i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
90
90
  }
91
- function si(e) {
91
+ function ui(e) {
92
92
  return e === "" ? null : +e;
93
93
  }
94
- function lr(e) {
94
+ function cr(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
97
  function W(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
- function ge(e, t) {
101
+ function be(e, t) {
102
102
  e.value = t ?? "";
103
103
  }
104
- function Ge(e, t, i, r) {
104
+ function We(e, t, i, r) {
105
105
  i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
106
106
  }
107
107
  function Ne(e, t, i) {
@@ -114,11 +114,11 @@ function Ne(e, t, i) {
114
114
  }
115
115
  (!i || t !== void 0) && (e.selectedIndex = -1);
116
116
  }
117
- function Et(e) {
117
+ function xt(e) {
118
118
  const t = e.querySelector(":checked");
119
119
  return t && t.__value;
120
120
  }
121
- function cr(e) {
121
+ function hr(e) {
122
122
  const t = {};
123
123
  return e.childNodes.forEach(
124
124
  /** @param {Element} node */
@@ -127,98 +127,98 @@ function cr(e) {
127
127
  }
128
128
  ), t;
129
129
  }
130
- let ye;
131
- function be(e) {
132
- ye = e;
130
+ let ge;
131
+ function de(e) {
132
+ ge = e;
133
133
  }
134
- function hr() {
135
- if (!ye)
134
+ function fr() {
135
+ if (!ge)
136
136
  throw new Error("Function called outside component initialization");
137
- return ye;
137
+ return ge;
138
138
  }
139
139
  function mr(e) {
140
- hr().$$.on_mount.push(e);
140
+ fr().$$.on_mount.push(e);
141
141
  }
142
- const ne = [], Ie = [];
142
+ const ne = [], Oe = [];
143
143
  let oe = [];
144
- const Lt = [], fr = /* @__PURE__ */ Promise.resolve();
145
- let Qe = !1;
146
- function pr() {
147
- Qe || (Qe = !0, fr.then(V));
144
+ const Tt = [], pr = /* @__PURE__ */ Promise.resolve();
145
+ let et = !1;
146
+ function dr() {
147
+ et || (et = !0, pr.then(V));
148
148
  }
149
- function ve(e) {
149
+ function ye(e) {
150
150
  oe.push(e);
151
151
  }
152
- const ze = /* @__PURE__ */ new Set();
152
+ const Ve = /* @__PURE__ */ new Set();
153
153
  let ie = 0;
154
154
  function V() {
155
155
  if (ie !== 0)
156
156
  return;
157
- const e = ye;
157
+ const e = ge;
158
158
  do {
159
159
  try {
160
160
  for (; ie < ne.length; ) {
161
161
  const t = ne[ie];
162
- ie++, be(t), dr(t.$$);
162
+ ie++, de(t), br(t.$$);
163
163
  }
164
164
  } catch (t) {
165
165
  throw ne.length = 0, ie = 0, t;
166
166
  }
167
- for (be(null), ne.length = 0, ie = 0; Ie.length; )
168
- Ie.pop()();
167
+ for (de(null), ne.length = 0, ie = 0; Oe.length; )
168
+ Oe.pop()();
169
169
  for (let t = 0; t < oe.length; t += 1) {
170
170
  const i = oe[t];
171
- ze.has(i) || (ze.add(i), i());
171
+ Ve.has(i) || (Ve.add(i), i());
172
172
  }
173
173
  oe.length = 0;
174
174
  } while (ne.length);
175
- for (; Lt.length; )
176
- Lt.pop()();
177
- Qe = !1, ze.clear(), be(e);
175
+ for (; Tt.length; )
176
+ Tt.pop()();
177
+ et = !1, Ve.clear(), de(e);
178
178
  }
179
- function dr(e) {
179
+ function br(e) {
180
180
  if (e.fragment !== null) {
181
181
  e.update(), ee(e.before_update);
182
182
  const t = e.dirty;
183
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ve);
183
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ye);
184
184
  }
185
185
  }
186
- function br(e) {
186
+ function gr(e) {
187
187
  const t = [], i = [];
188
188
  oe.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : i.push(r)), i.forEach((r) => r()), oe = t;
189
189
  }
190
- const gr = /* @__PURE__ */ new Set();
191
- function yr(e, t) {
192
- e && e.i && (gr.delete(e), e.i(t));
190
+ const yr = /* @__PURE__ */ new Set();
191
+ function vr(e, t) {
192
+ e && e.i && (yr.delete(e), e.i(t));
193
193
  }
194
194
  function K(e) {
195
195
  return e?.length !== void 0 ? e : Array.from(e);
196
196
  }
197
- function vr(e, t, i) {
197
+ function _r(e, t, i) {
198
198
  const { fragment: r, after_update: n } = e.$$;
199
- r && r.m(t, i), ve(() => {
200
- const o = e.$$.on_mount.map(ri).filter(mt);
199
+ r && r.m(t, i), ye(() => {
200
+ const o = e.$$.on_mount.map(oi).filter(bt);
201
201
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
202
- }), n.forEach(ve);
202
+ }), n.forEach(ye);
203
203
  }
204
- function _r(e, t) {
204
+ function Er(e, t) {
205
205
  const i = e.$$;
206
- i.fragment !== null && (br(i.after_update), ee(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
206
+ i.fragment !== null && (gr(i.after_update), ee(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
207
207
  }
208
- function Er(e, t) {
209
- e.$$.dirty[0] === -1 && (ne.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
208
+ function Lr(e, t) {
209
+ e.$$.dirty[0] === -1 && (ne.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
210
210
  }
211
- function Lr(e, t, i, r, n, o, s = null, a = [-1]) {
212
- const h = ye;
213
- be(e);
211
+ function xr(e, t, i, r, n, o, s = null, a = [-1]) {
212
+ const h = ge;
213
+ de(e);
214
214
  const l = e.$$ = {
215
215
  fragment: null,
216
216
  ctx: [],
217
217
  // state
218
218
  props: o,
219
- update: U,
219
+ update: j,
220
220
  not_equal: n,
221
- bound: _t(),
221
+ bound: Lt(),
222
222
  // lifecycle
223
223
  on_mount: [],
224
224
  on_destroy: [],
@@ -227,28 +227,28 @@ function Lr(e, t, i, r, n, o, s = null, a = [-1]) {
227
227
  after_update: [],
228
228
  context: new Map(t.context || (h ? h.$$.context : [])),
229
229
  // everything else
230
- callbacks: _t(),
230
+ callbacks: Lt(),
231
231
  dirty: a,
232
232
  skip_bound: !1,
233
233
  root: t.target || h.$$.root
234
234
  };
235
235
  s && s(l.root);
236
236
  let u = !1;
237
- if (l.ctx = i ? i(e, t.props || {}, (c, f, ...m) => {
238
- const p = m.length ? m[0] : f;
239
- return l.ctx && n(l.ctx[c], l.ctx[c] = p) && (!l.skip_bound && l.bound[c] && l.bound[c](p), u && Er(e, c)), f;
237
+ if (l.ctx = i ? i(e, t.props || {}, (c, m, ...f) => {
238
+ const p = f.length ? f[0] : m;
239
+ return l.ctx && n(l.ctx[c], l.ctx[c] = p) && (!l.skip_bound && l.bound[c] && l.bound[c](p), u && Lr(e, c)), m;
240
240
  }) : [], l.update(), u = !0, ee(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
241
241
  if (t.hydrate) {
242
- const c = lr(t.target);
243
- l.fragment && l.fragment.l(c), c.forEach(N);
242
+ const c = cr(t.target);
243
+ l.fragment && l.fragment.l(c), c.forEach(B);
244
244
  } else
245
245
  l.fragment && l.fragment.c();
246
- t.intro && yr(e.$$.fragment), vr(e, t.target, t.anchor), V();
246
+ t.intro && vr(e.$$.fragment), _r(e, t.target, t.anchor), V();
247
247
  }
248
- be(h);
248
+ de(h);
249
249
  }
250
- let ai;
251
- typeof HTMLElement == "function" && (ai = class extends HTMLElement {
250
+ let li;
251
+ typeof HTMLElement == "function" && (li = class extends HTMLElement {
252
252
  /** The Svelte component constructor */
253
253
  $$ctor;
254
254
  /** Slots */
@@ -297,17 +297,17 @@ typeof HTMLElement == "function" && (ai = class extends HTMLElement {
297
297
  * @param {HTMLElement} [anchor]
298
298
  */
299
299
  m: function(h, l) {
300
- I(h, o, l);
300
+ N(h, o, l);
301
301
  },
302
302
  d: function(h) {
303
- h && N(o);
303
+ h && B(o);
304
304
  }
305
305
  };
306
306
  };
307
307
  };
308
308
  if (await Promise.resolve(), !this.$$cn || this.$$c)
309
309
  return;
310
- const t = {}, i = cr(this);
310
+ const t = {}, i = hr(this);
311
311
  for (const n of this.$$s)
312
312
  n in i && (t[n] = [e(n)]);
313
313
  for (const n of this.attributes) {
@@ -394,8 +394,8 @@ function Se(e, t, i, r) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function xr(e, t, i, r, n, o) {
398
- let s = class extends ai {
397
+ function Tr(e, t, i, r, n, o) {
398
+ let s = class extends li {
399
399
  constructor() {
400
400
  super(e, i, n), this.$$p_d = t;
401
401
  }
@@ -423,7 +423,7 @@ function xr(e, t, i, r, n, o) {
423
423
  }), e.element = /** @type {any} */
424
424
  s, s;
425
425
  }
426
- class Tr {
426
+ class wr {
427
427
  /**
428
428
  * ### PRIVATE API
429
429
  *
@@ -442,7 +442,7 @@ class Tr {
442
442
  $$set = void 0;
443
443
  /** @returns {void} */
444
444
  $destroy() {
445
- _r(this, 1), this.$destroy = U;
445
+ Er(this, 1), this.$destroy = j;
446
446
  }
447
447
  /**
448
448
  * @template {Extract<keyof Events, string>} K
@@ -451,8 +451,8 @@ class Tr {
451
451
  * @returns {() => void}
452
452
  */
453
453
  $on(t, i) {
454
- if (!mt(i))
455
- return U;
454
+ if (!bt(i))
455
+ return j;
456
456
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
457
457
  return r.push(i), () => {
458
458
  const n = r.indexOf(i);
@@ -464,11 +464,11 @@ class Tr {
464
464
  * @returns {void}
465
465
  */
466
466
  $set(t) {
467
- this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
467
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
468
468
  }
469
469
  }
470
- const wr = "4";
471
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
470
+ const Sr = "4";
471
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
472
472
  const X = {
473
473
  deposit: {
474
474
  title: "Deposit Limit",
@@ -495,16 +495,16 @@ const X = {
495
495
  periods: ["Monthly"]
496
496
  }
497
497
  }, re = [];
498
- function Sr(e, t) {
498
+ function Pr(e, t) {
499
499
  return {
500
- subscribe: ke(e, t).subscribe
500
+ subscribe: Ce(e, t).subscribe
501
501
  };
502
502
  }
503
- function ke(e, t = U) {
503
+ function Ce(e, t = j) {
504
504
  let i;
505
505
  const r = /* @__PURE__ */ new Set();
506
506
  function n(a) {
507
- if (ni(e, a) && (e = a, i)) {
507
+ if (si(e, a) && (e = a, i)) {
508
508
  const h = !re.length;
509
509
  for (const l of r)
510
510
  l[1](), re.push(l, e);
@@ -518,161 +518,147 @@ function ke(e, t = U) {
518
518
  function o(a) {
519
519
  n(a(e));
520
520
  }
521
- function s(a, h = U) {
521
+ function s(a, h = j) {
522
522
  const l = [a, h];
523
- return r.add(l), r.size === 1 && (i = t(n, o) || U), a(e), () => {
523
+ return r.add(l), r.size === 1 && (i = t(n, o) || j), a(e), () => {
524
524
  r.delete(l), r.size === 0 && i && (i(), i = null);
525
525
  };
526
526
  }
527
527
  return { set: n, update: o, subscribe: s };
528
528
  }
529
- function he(e, t, i) {
529
+ function ce(e, t, i) {
530
530
  const r = !Array.isArray(e), n = r ? [e] : e;
531
531
  if (!n.every(Boolean))
532
532
  throw new Error("derived() expects stores as input, got a falsy value");
533
533
  const o = t.length < 2;
534
- return Sr(i, (s, a) => {
534
+ return Pr(i, (s, a) => {
535
535
  let h = !1;
536
536
  const l = [];
537
- let u = 0, c = U;
538
- const f = () => {
537
+ let u = 0, c = j;
538
+ const m = () => {
539
539
  if (u)
540
540
  return;
541
541
  c();
542
542
  const p = t(r ? l[0] : l, s, a);
543
- o ? s(p) : c = mt(p) ? p : U;
544
- }, m = n.map(
545
- (p, _) => oi(
543
+ o ? s(p) : c = bt(p) ? p : j;
544
+ }, f = n.map(
545
+ (p, _) => ai(
546
546
  p,
547
547
  (R) => {
548
- l[_] = R, u &= ~(1 << _), h && f();
548
+ l[_] = R, u &= ~(1 << _), h && m();
549
549
  },
550
550
  () => {
551
551
  u |= 1 << _;
552
552
  }
553
553
  )
554
554
  );
555
- return h = !0, f(), function() {
556
- ee(m), c(), h = !1;
555
+ return h = !0, m(), function() {
556
+ ee(f), c(), h = !1;
557
557
  };
558
558
  });
559
559
  }
560
- function Pr(e) {
560
+ function Ar(e) {
561
561
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
562
562
  }
563
- var Ar = function(t) {
564
- return Br(t) && !Nr(t);
563
+ var Br = function(t) {
564
+ return Nr(t) && !Or(t);
565
565
  };
566
- function Br(e) {
566
+ function Nr(e) {
567
567
  return !!e && typeof e == "object";
568
568
  }
569
- function Nr(e) {
569
+ function Or(e) {
570
570
  var t = Object.prototype.toString.call(e);
571
- return t === "[object RegExp]" || t === "[object Date]" || Or(e);
571
+ return t === "[object RegExp]" || t === "[object Date]" || Mr(e);
572
572
  }
573
573
  var Ir = typeof Symbol == "function" && Symbol.for, Hr = Ir ? Symbol.for("react.element") : 60103;
574
- function Or(e) {
574
+ function Mr(e) {
575
575
  return e.$$typeof === Hr;
576
576
  }
577
- function Mr(e) {
577
+ function kr(e) {
578
578
  return Array.isArray(e) ? [] : {};
579
579
  }
580
- function _e(e, t) {
581
- return t.clone !== !1 && t.isMergeableObject(e) ? ae(Mr(e), e, t) : e;
580
+ function ve(e, t) {
581
+ return t.clone !== !1 && t.isMergeableObject(e) ? se(kr(e), e, t) : e;
582
582
  }
583
- function kr(e, t, i) {
583
+ function Cr(e, t, i) {
584
584
  return e.concat(t).map(function(r) {
585
- return _e(r, i);
585
+ return ve(r, i);
586
586
  });
587
587
  }
588
- function Cr(e, t) {
588
+ function Dr(e, t) {
589
589
  if (!t.customMerge)
590
- return ae;
590
+ return se;
591
591
  var i = t.customMerge(e);
592
- return typeof i == "function" ? i : ae;
592
+ return typeof i == "function" ? i : se;
593
593
  }
594
- function Dr(e) {
594
+ function Rr(e) {
595
595
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
596
596
  return Object.propertyIsEnumerable.call(e, t);
597
597
  }) : [];
598
598
  }
599
- function xt(e) {
600
- return Object.keys(e).concat(Dr(e));
599
+ function wt(e) {
600
+ return Object.keys(e).concat(Rr(e));
601
601
  }
602
- function ui(e, t) {
602
+ function ci(e, t) {
603
603
  try {
604
604
  return t in e;
605
605
  } catch {
606
606
  return !1;
607
607
  }
608
608
  }
609
- function Rr(e, t) {
610
- return ui(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
609
+ function jr(e, t) {
610
+ return ci(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
611
611
  }
612
612
  function Ur(e, t, i) {
613
613
  var r = {};
614
- return i.isMergeableObject(e) && xt(e).forEach(function(n) {
615
- r[n] = _e(e[n], i);
616
- }), xt(t).forEach(function(n) {
617
- Rr(e, n) || (ui(e, n) && i.isMergeableObject(t[n]) ? r[n] = Cr(n, i)(e[n], t[n], i) : r[n] = _e(t[n], i));
614
+ return i.isMergeableObject(e) && wt(e).forEach(function(n) {
615
+ r[n] = ve(e[n], i);
616
+ }), wt(t).forEach(function(n) {
617
+ jr(e, n) || (ci(e, n) && i.isMergeableObject(t[n]) ? r[n] = Dr(n, i)(e[n], t[n], i) : r[n] = ve(t[n], i));
618
618
  }), r;
619
619
  }
620
- function ae(e, t, i) {
621
- i = i || {}, i.arrayMerge = i.arrayMerge || kr, i.isMergeableObject = i.isMergeableObject || Ar, i.cloneUnlessOtherwiseSpecified = _e;
620
+ function se(e, t, i) {
621
+ i = i || {}, i.arrayMerge = i.arrayMerge || Cr, i.isMergeableObject = i.isMergeableObject || Br, i.cloneUnlessOtherwiseSpecified = ve;
622
622
  var r = Array.isArray(t), n = Array.isArray(e), o = r === n;
623
- return o ? r ? i.arrayMerge(e, t, i) : Ur(e, t, i) : _e(t, i);
623
+ return o ? r ? i.arrayMerge(e, t, i) : Ur(e, t, i) : ve(t, i);
624
624
  }
625
- ae.all = function(t, i) {
625
+ se.all = function(t, i) {
626
626
  if (!Array.isArray(t))
627
627
  throw new Error("first argument should be an array");
628
628
  return t.reduce(function(r, n) {
629
- return ae(r, n, i);
629
+ return se(r, n, i);
630
630
  }, {});
631
631
  };
632
- var jr = ae, Fr = jr;
633
- const $r = /* @__PURE__ */ Pr(Fr);
634
- /*! *****************************************************************************
635
- Copyright (c) Microsoft Corporation.
636
-
637
- Permission to use, copy, modify, and/or distribute this software for any
638
- purpose with or without fee is hereby granted.
639
-
640
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
641
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
642
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
643
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
644
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
645
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
646
- PERFORMANCE OF THIS SOFTWARE.
647
- ***************************************************************************** */
648
- var Ke = function(e, t) {
649
- return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
632
+ var $r = se, Fr = $r;
633
+ const Gr = /* @__PURE__ */ Ar(Fr);
634
+ var tt = function(e, t) {
635
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
650
636
  i.__proto__ = r;
651
637
  } || function(i, r) {
652
638
  for (var n in r)
653
639
  Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
654
- }, Ke(e, t);
640
+ }, tt(e, t);
655
641
  };
656
- function q(e, t) {
642
+ function De(e, t) {
657
643
  if (typeof t != "function" && t !== null)
658
644
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
659
- Ke(e, t);
645
+ tt(e, t);
660
646
  function i() {
661
647
  this.constructor = e;
662
648
  }
663
649
  e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
664
650
  }
665
- var S = function() {
666
- return S = Object.assign || function(t) {
651
+ var Z = function() {
652
+ return Z = Object.assign || function(t) {
667
653
  for (var i, r = 1, n = arguments.length; r < n; r++) {
668
654
  i = arguments[r];
669
655
  for (var o in i)
670
656
  Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
671
657
  }
672
658
  return t;
673
- }, S.apply(this, arguments);
659
+ }, Z.apply(this, arguments);
674
660
  };
675
- function Gr(e, t) {
661
+ function zr(e, t) {
676
662
  var i = {};
677
663
  for (var r in e)
678
664
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
@@ -681,143 +667,119 @@ function Gr(e, t) {
681
667
  t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
682
668
  return i;
683
669
  }
684
- function et(e) {
685
- var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
686
- if (i)
687
- return i.call(e);
688
- if (e && typeof e.length == "number")
689
- return {
690
- next: function() {
691
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
692
- }
693
- };
694
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
695
- }
696
- function tt(e, t) {
697
- var i = typeof Symbol == "function" && e[Symbol.iterator];
698
- if (!i)
699
- return e;
700
- var r = i.call(e), n, o = [], s;
701
- try {
702
- for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
703
- o.push(n.value);
704
- } catch (a) {
705
- s = { error: a };
706
- } finally {
707
- try {
708
- n && !n.done && (i = r.return) && i.call(r);
709
- } finally {
710
- if (s)
711
- throw s.error;
712
- }
713
- }
714
- return o;
715
- }
716
- function se(e, t, i) {
670
+ function Xe(e, t, i) {
717
671
  if (i || arguments.length === 2)
718
672
  for (var r = 0, n = t.length, o; r < n; r++)
719
673
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
720
- return e.concat(o || t);
674
+ return e.concat(o || Array.prototype.slice.call(t));
721
675
  }
722
- function We(e, t) {
723
- var i = t && t.cache ? t.cache : Yr, r = t && t.serializer ? t.serializer : Zr, n = t && t.strategy ? t.strategy : Wr;
676
+ function Ze(e, t) {
677
+ var i = t && t.cache ? t.cache : Jr, r = t && t.serializer ? t.serializer : Yr, n = t && t.strategy ? t.strategy : Xr;
724
678
  return n(e, {
725
679
  cache: i,
726
680
  serializer: r
727
681
  });
728
682
  }
729
- function zr(e) {
683
+ function Wr(e) {
730
684
  return e == null || typeof e == "number" || typeof e == "boolean";
731
685
  }
732
- function li(e, t, i, r) {
733
- var n = zr(r) ? r : i(r), o = t.get(n);
686
+ function Vr(e, t, i, r) {
687
+ var n = Wr(r) ? r : i(r), o = t.get(n);
734
688
  return typeof o > "u" && (o = e.call(this, r), t.set(n, o)), o;
735
689
  }
736
- function ci(e, t, i) {
690
+ function hi(e, t, i) {
737
691
  var r = Array.prototype.slice.call(arguments, 3), n = i(r), o = t.get(n);
738
692
  return typeof o > "u" && (o = e.apply(this, r), t.set(n, o)), o;
739
693
  }
740
- function ft(e, t, i, r, n) {
694
+ function fi(e, t, i, r, n) {
741
695
  return i.bind(t, e, r, n);
742
696
  }
743
- function Wr(e, t) {
744
- var i = e.length === 1 ? li : ci;
745
- return ft(e, this, i, t.cache.create(), t.serializer);
746
- }
747
- function Vr(e, t) {
748
- return ft(e, this, ci, t.cache.create(), t.serializer);
749
- }
750
697
  function Xr(e, t) {
751
- return ft(e, this, li, t.cache.create(), t.serializer);
698
+ var i = e.length === 1 ? Vr : hi;
699
+ return fi(e, this, i, t.cache.create(), t.serializer);
752
700
  }
753
- var Zr = function() {
754
- return JSON.stringify(arguments);
755
- };
756
- function pt() {
757
- this.cache = /* @__PURE__ */ Object.create(null);
701
+ function Zr(e, t) {
702
+ return fi(e, this, hi, t.cache.create(), t.serializer);
758
703
  }
759
- pt.prototype.get = function(e) {
760
- return this.cache[e];
761
- };
762
- pt.prototype.set = function(e, t) {
763
- this.cache[e] = t;
764
- };
765
- var Yr = {
704
+ var Yr = function() {
705
+ return JSON.stringify(arguments);
706
+ }, qr = (
707
+ /** @class */
708
+ function() {
709
+ function e() {
710
+ this.cache = /* @__PURE__ */ Object.create(null);
711
+ }
712
+ return e.prototype.get = function(t) {
713
+ return this.cache[t];
714
+ }, e.prototype.set = function(t, i) {
715
+ this.cache[t] = i;
716
+ }, e;
717
+ }()
718
+ ), Jr = {
766
719
  create: function() {
767
- return new pt();
720
+ return new qr();
768
721
  }
769
- }, Ve = {
770
- variadic: Vr,
771
- monadic: Xr
772
- }, x;
722
+ }, Ye = {
723
+ variadic: Zr
724
+ }, Ie = function() {
725
+ return Ie = Object.assign || function(t) {
726
+ for (var i, r = 1, n = arguments.length; r < n; r++) {
727
+ i = arguments[r];
728
+ for (var o in i)
729
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
730
+ }
731
+ return t;
732
+ }, Ie.apply(this, arguments);
733
+ };
734
+ var x;
773
735
  (function(e) {
774
736
  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";
775
737
  })(x || (x = {}));
776
- var O;
738
+ var I;
777
739
  (function(e) {
778
740
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
779
- })(O || (O = {}));
780
- var ue;
741
+ })(I || (I = {}));
742
+ var ae;
781
743
  (function(e) {
782
744
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
783
- })(ue || (ue = {}));
784
- function Tt(e) {
785
- return e.type === O.literal;
786
- }
787
- function qr(e) {
788
- return e.type === O.argument;
745
+ })(ae || (ae = {}));
746
+ function St(e) {
747
+ return e.type === I.literal;
789
748
  }
790
- function hi(e) {
791
- return e.type === O.number;
749
+ function Qr(e) {
750
+ return e.type === I.argument;
792
751
  }
793
752
  function mi(e) {
794
- return e.type === O.date;
795
- }
796
- function fi(e) {
797
- return e.type === O.time;
753
+ return e.type === I.number;
798
754
  }
799
755
  function pi(e) {
800
- return e.type === O.select;
756
+ return e.type === I.date;
801
757
  }
802
758
  function di(e) {
803
- return e.type === O.plural;
804
- }
805
- function Jr(e) {
806
- return e.type === O.pound;
759
+ return e.type === I.time;
807
760
  }
808
761
  function bi(e) {
809
- return e.type === O.tag;
762
+ return e.type === I.select;
810
763
  }
811
764
  function gi(e) {
812
- return !!(e && typeof e == "object" && e.type === ue.number);
765
+ return e.type === I.plural;
766
+ }
767
+ function Kr(e) {
768
+ return e.type === I.pound;
769
+ }
770
+ function yi(e) {
771
+ return e.type === I.tag;
772
+ }
773
+ function vi(e) {
774
+ return !!(e && typeof e == "object" && e.type === ae.number);
813
775
  }
814
776
  function it(e) {
815
- return !!(e && typeof e == "object" && e.type === ue.dateTime);
777
+ return !!(e && typeof e == "object" && e.type === ae.dateTime);
816
778
  }
817
- var yi = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
818
- function Kr(e) {
779
+ var _i = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
780
+ function tn(e) {
819
781
  var t = {};
820
- return e.replace(Qr, function(i) {
782
+ return e.replace(en, function(i) {
821
783
  var r = i.length;
822
784
  switch (i[0]) {
823
785
  case "G":
@@ -906,12 +868,22 @@ function Kr(e) {
906
868
  return "";
907
869
  }), t;
908
870
  }
909
- var en = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
910
- function tn(e) {
871
+ var C = function() {
872
+ return C = Object.assign || function(t) {
873
+ for (var i, r = 1, n = arguments.length; r < n; r++) {
874
+ i = arguments[r];
875
+ for (var o in i)
876
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
877
+ }
878
+ return t;
879
+ }, C.apply(this, arguments);
880
+ };
881
+ var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
882
+ function nn(e) {
911
883
  if (e.length === 0)
912
884
  throw new Error("Number skeleton cannot be empty");
913
- for (var t = e.split(en).filter(function(f) {
914
- return f.length > 0;
885
+ for (var t = e.split(rn).filter(function(m) {
886
+ return m.length > 0;
915
887
  }), i = [], r = 0, n = t; r < n.length; r++) {
916
888
  var o = n[r], s = o.split("/");
917
889
  if (s.length === 0)
@@ -925,17 +897,17 @@ function tn(e) {
925
897
  }
926
898
  return i;
927
899
  }
928
- function rn(e) {
900
+ function on(e) {
929
901
  return e.replace(/^(.*?)-/, "");
930
902
  }
931
- var wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vi = /^(@+)?(\+|#+)?[rs]?$/g, nn = /(\*)(0+)|(#+)(0+)|(0+)/g, _i = /^(0+)$/;
932
- function St(e) {
903
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ei = /^(@+)?(\+|#+)?[rs]?$/g, sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Li = /^(0+)$/;
904
+ function At(e) {
933
905
  var t = {};
934
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vi, function(i, r, n) {
906
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ei, function(i, r, n) {
935
907
  return typeof n != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : n === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof n == "string" ? n.length : 0)), "";
936
908
  }), t;
937
909
  }
938
- function Ei(e) {
910
+ function xi(e) {
939
911
  switch (e) {
940
912
  case "sign-auto":
941
913
  return {
@@ -975,7 +947,7 @@ function Ei(e) {
975
947
  };
976
948
  }
977
949
  }
978
- function on(e) {
950
+ function an(e) {
979
951
  var t;
980
952
  if (e[0] === "E" && e[1] === "E" ? (t = {
981
953
  notation: "engineering"
@@ -983,17 +955,17 @@ function on(e) {
983
955
  notation: "scientific"
984
956
  }, e = e.slice(1)), t) {
985
957
  var i = e.slice(0, 2);
986
- if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_i.test(e))
958
+ if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Li.test(e))
987
959
  throw new Error("Malformed concise eng/scientific notation");
988
960
  t.minimumIntegerDigits = e.length;
989
961
  }
990
962
  return t;
991
963
  }
992
- function Pt(e) {
993
- var t = {}, i = Ei(e);
964
+ function Bt(e) {
965
+ var t = {}, i = xi(e);
994
966
  return i || t;
995
967
  }
996
- function sn(e) {
968
+ function un(e) {
997
969
  for (var t = {}, i = 0, r = e; i < r.length; i++) {
998
970
  var n = r[i];
999
971
  switch (n.stem) {
@@ -1017,7 +989,7 @@ function sn(e) {
1017
989
  continue;
1018
990
  case "measure-unit":
1019
991
  case "unit":
1020
- t.style = "unit", t.unit = rn(n.options[0]);
992
+ t.style = "unit", t.unit = on(n.options[0]);
1021
993
  continue;
1022
994
  case "compact-short":
1023
995
  case "K":
@@ -1028,13 +1000,13 @@ function sn(e) {
1028
1000
  t.notation = "compact", t.compactDisplay = "long";
1029
1001
  continue;
1030
1002
  case "scientific":
1031
- t = S(S(S({}, t), { notation: "scientific" }), n.options.reduce(function(h, l) {
1032
- return S(S({}, h), Pt(l));
1003
+ t = C(C(C({}, t), { notation: "scientific" }), n.options.reduce(function(h, l) {
1004
+ return C(C({}, h), Bt(l));
1033
1005
  }, {}));
1034
1006
  continue;
1035
1007
  case "engineering":
1036
- t = S(S(S({}, t), { notation: "engineering" }), n.options.reduce(function(h, l) {
1037
- return S(S({}, h), Pt(l));
1008
+ t = C(C(C({}, t), { notation: "engineering" }), n.options.reduce(function(h, l) {
1009
+ return C(C({}, h), Bt(l));
1038
1010
  }, {}));
1039
1011
  continue;
1040
1012
  case "notation-simple":
@@ -1079,41 +1051,41 @@ function sn(e) {
1079
1051
  case "integer-width":
1080
1052
  if (n.options.length > 1)
1081
1053
  throw new RangeError("integer-width stems only accept a single optional option");
1082
- n.options[0].replace(nn, function(h, l, u, c, f, m) {
1054
+ n.options[0].replace(sn, function(h, l, u, c, m, f) {
1083
1055
  if (l)
1084
1056
  t.minimumIntegerDigits = u.length;
1085
1057
  else {
1086
- if (c && f)
1058
+ if (c && m)
1087
1059
  throw new Error("We currently do not support maximum integer digits");
1088
- if (m)
1060
+ if (f)
1089
1061
  throw new Error("We currently do not support exact integer digits");
1090
1062
  }
1091
1063
  return "";
1092
1064
  });
1093
1065
  continue;
1094
1066
  }
1095
- if (_i.test(n.stem)) {
1067
+ if (Li.test(n.stem)) {
1096
1068
  t.minimumIntegerDigits = n.stem.length;
1097
1069
  continue;
1098
1070
  }
1099
- if (wt.test(n.stem)) {
1071
+ if (Pt.test(n.stem)) {
1100
1072
  if (n.options.length > 1)
1101
1073
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1102
- n.stem.replace(wt, function(h, l, u, c, f, m) {
1103
- return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1074
+ n.stem.replace(Pt, function(h, l, u, c, m, f) {
1075
+ return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && f ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + f.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1104
1076
  });
1105
1077
  var o = n.options[0];
1106
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), St(o)));
1078
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), At(o)));
1107
1079
  continue;
1108
1080
  }
1109
- if (vi.test(n.stem)) {
1110
- t = S(S({}, t), St(n.stem));
1081
+ if (Ei.test(n.stem)) {
1082
+ t = C(C({}, t), At(n.stem));
1111
1083
  continue;
1112
1084
  }
1113
- var s = Ei(n.stem);
1114
- s && (t = S(S({}, t), s));
1115
- var a = on(n.stem);
1116
- a && (t = S(S({}, t), a));
1085
+ var s = xi(n.stem);
1086
+ s && (t = C(C({}, t), s));
1087
+ var a = an(n.stem);
1088
+ a && (t = C(C({}, t), a));
1117
1089
  }
1118
1090
  return t;
1119
1091
  }
@@ -2532,13 +2504,13 @@ var Te = {
2532
2504
  "h"
2533
2505
  ]
2534
2506
  };
2535
- function an(e, t) {
2507
+ function ln(e, t) {
2536
2508
  for (var i = "", r = 0; r < e.length; r++) {
2537
2509
  var n = e.charAt(r);
2538
2510
  if (n === "j") {
2539
2511
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === n; )
2540
2512
  o++, r++;
2541
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = un(t);
2513
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = cn(t);
2542
2514
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2543
2515
  i += h;
2544
2516
  for (; s-- > 0; )
@@ -2548,7 +2520,7 @@ function an(e, t) {
2548
2520
  }
2549
2521
  return i;
2550
2522
  }
2551
- function un(e) {
2523
+ function cn(e) {
2552
2524
  var t = e.hourCycle;
2553
2525
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2554
2526
  e.hourCycles && // @ts-ignore
@@ -2570,20 +2542,20 @@ function un(e) {
2570
2542
  var n = Te[r || ""] || Te[i || ""] || Te["".concat(i, "-001")] || Te["001"];
2571
2543
  return n[0];
2572
2544
  }
2573
- var Xe, ln = new RegExp("^".concat(yi.source, "*")), cn = new RegExp("".concat(yi.source, "*$"));
2545
+ var qe, hn = new RegExp("^".concat(_i.source, "*")), fn = new RegExp("".concat(_i.source, "*$"));
2574
2546
  function T(e, t) {
2575
2547
  return { start: e, end: t };
2576
2548
  }
2577
- var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, fn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, gn = !!Number.isSafeInteger, yn = gn ? Number.isSafeInteger : function(e) {
2549
+ var mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), pn = !!String.fromCodePoint, dn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, gn = !!String.prototype.trimStart, yn = !!String.prototype.trimEnd, vn = !!Number.isSafeInteger, _n = vn ? Number.isSafeInteger : function(e) {
2578
2550
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2579
2551
  }, rt = !0;
2580
2552
  try {
2581
- var vn = xi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2582
- rt = ((Xe = vn.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
2553
+ var En = wi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2554
+ rt = ((qe = En.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
2583
2555
  } catch {
2584
2556
  rt = !1;
2585
2557
  }
2586
- var At = hn ? (
2558
+ var Nt = mn ? (
2587
2559
  // Native
2588
2560
  function(t, i, r) {
2589
2561
  return t.startsWith(i, r);
@@ -2593,7 +2565,7 @@ var At = hn ? (
2593
2565
  function(t, i, r) {
2594
2566
  return t.slice(r, r + i.length) === i;
2595
2567
  }
2596
- ), nt = mn ? String.fromCodePoint : (
2568
+ ), nt = pn ? String.fromCodePoint : (
2597
2569
  // IE11
2598
2570
  function() {
2599
2571
  for (var t = [], i = 0; i < arguments.length; i++)
@@ -2605,9 +2577,9 @@ var At = hn ? (
2605
2577
  }
2606
2578
  return r;
2607
2579
  }
2608
- ), Bt = (
2580
+ ), Ot = (
2609
2581
  // native
2610
- fn ? Object.fromEntries : (
2582
+ dn ? Object.fromEntries : (
2611
2583
  // Ponyfill
2612
2584
  function(t) {
2613
2585
  for (var i = {}, r = 0, n = t; r < n.length; r++) {
@@ -2617,7 +2589,7 @@ var At = hn ? (
2617
2589
  return i;
2618
2590
  }
2619
2591
  )
2620
- ), Li = pn ? (
2592
+ ), Ti = bn ? (
2621
2593
  // Native
2622
2594
  function(t, i) {
2623
2595
  return t.codePointAt(i);
@@ -2631,7 +2603,7 @@ var At = hn ? (
2631
2603
  return n < 55296 || n > 56319 || i + 1 === r || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2632
2604
  }
2633
2605
  }
2634
- ), _n = dn ? (
2606
+ ), Ln = gn ? (
2635
2607
  // Native
2636
2608
  function(t) {
2637
2609
  return t.trimStart();
@@ -2639,9 +2611,9 @@ var At = hn ? (
2639
2611
  ) : (
2640
2612
  // Ponyfill
2641
2613
  function(t) {
2642
- return t.replace(ln, "");
2614
+ return t.replace(hn, "");
2643
2615
  }
2644
- ), En = bn ? (
2616
+ ), xn = yn ? (
2645
2617
  // Native
2646
2618
  function(t) {
2647
2619
  return t.trimEnd();
@@ -2649,32 +2621,32 @@ var At = hn ? (
2649
2621
  ) : (
2650
2622
  // Ponyfill
2651
2623
  function(t) {
2652
- return t.replace(cn, "");
2624
+ return t.replace(fn, "");
2653
2625
  }
2654
2626
  );
2655
- function xi(e, t) {
2627
+ function wi(e, t) {
2656
2628
  return new RegExp(e, t);
2657
2629
  }
2658
2630
  var ot;
2659
2631
  if (rt) {
2660
- var Nt = xi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
+ var It = wi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2661
2633
  ot = function(t, i) {
2662
2634
  var r;
2663
- Nt.lastIndex = i;
2664
- var n = Nt.exec(t);
2635
+ It.lastIndex = i;
2636
+ var n = It.exec(t);
2665
2637
  return (r = n[1]) !== null && r !== void 0 ? r : "";
2666
2638
  };
2667
2639
  } else
2668
2640
  ot = function(t, i) {
2669
2641
  for (var r = []; ; ) {
2670
- var n = Li(t, i);
2671
- if (n === void 0 || Ti(n) || wn(n))
2642
+ var n = Ti(t, i);
2643
+ if (n === void 0 || Si(n) || Pn(n))
2672
2644
  break;
2673
2645
  r.push(n), i += n >= 65536 ? 2 : 1;
2674
2646
  }
2675
2647
  return nt.apply(void 0, r);
2676
2648
  };
2677
- var Ln = (
2649
+ var Tn = (
2678
2650
  /** @class */
2679
2651
  function() {
2680
2652
  function e(t, i) {
@@ -2698,7 +2670,7 @@ var Ln = (
2698
2670
  if (o === 35 && (i === "plural" || i === "selectordinal")) {
2699
2671
  var a = this.clonePosition();
2700
2672
  this.bump(), n.push({
2701
- type: O.pound,
2673
+ type: I.pound,
2702
2674
  location: T(a, this.clonePosition())
2703
2675
  });
2704
2676
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2726,7 +2698,7 @@ var Ln = (
2726
2698
  if (this.bumpSpace(), this.bumpIf("/>"))
2727
2699
  return {
2728
2700
  val: {
2729
- type: O.literal,
2701
+ type: I.literal,
2730
2702
  value: "<".concat(n, "/>"),
2731
2703
  location: T(r, this.clonePosition())
2732
2704
  },
@@ -2743,7 +2715,7 @@ var Ln = (
2743
2715
  var h = this.clonePosition(), l = this.parseTagName();
2744
2716
  return n !== l ? this.error(x.UNMATCHED_CLOSING_TAG, T(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2745
2717
  val: {
2746
- type: O.tag,
2718
+ type: I.tag,
2747
2719
  value: n,
2748
2720
  children: s,
2749
2721
  location: T(r, this.clonePosition())
@@ -2756,7 +2728,7 @@ var Ln = (
2756
2728
  return this.error(x.INVALID_TAG, T(r, this.clonePosition()));
2757
2729
  }, e.prototype.parseTagName = function() {
2758
2730
  var t = this.offset();
2759
- for (this.bump(); !this.isEOF() && Tn(this.char()); )
2731
+ for (this.bump(); !this.isEOF() && Sn(this.char()); )
2760
2732
  this.bump();
2761
2733
  return this.message.slice(t, this.offset());
2762
2734
  }, e.prototype.parseLiteral = function(t, i) {
@@ -2780,12 +2752,12 @@ var Ln = (
2780
2752
  }
2781
2753
  var h = T(r, this.clonePosition());
2782
2754
  return {
2783
- val: { type: O.literal, value: n, location: h },
2755
+ val: { type: I.literal, value: n, location: h },
2784
2756
  err: null
2785
2757
  };
2786
2758
  }, e.prototype.tryParseLeftAngleBracket = function() {
2787
2759
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2788
- !xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2760
+ !wn(this.peek() || 0)) ? (this.bump(), "<") : null;
2789
2761
  }, e.prototype.tryParseQuote = function(t) {
2790
2762
  if (this.isEOF() || this.char() !== 39)
2791
2763
  return null;
@@ -2840,7 +2812,7 @@ var Ln = (
2840
2812
  case 125:
2841
2813
  return this.bump(), {
2842
2814
  val: {
2843
- type: O.argument,
2815
+ type: I.argument,
2844
2816
  // value does not include the opening and closing braces.
2845
2817
  value: n,
2846
2818
  location: T(r, this.clonePosition())
@@ -2872,44 +2844,44 @@ var Ln = (
2872
2844
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2873
2845
  if (c.err)
2874
2846
  return c;
2875
- var f = En(c.val);
2876
- if (f.length === 0)
2847
+ var m = xn(c.val);
2848
+ if (m.length === 0)
2877
2849
  return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2878
- var m = T(u, this.clonePosition());
2879
- l = { style: f, styleLocation: m };
2850
+ var f = T(u, this.clonePosition());
2851
+ l = { style: m, styleLocation: f };
2880
2852
  }
2881
2853
  var p = this.tryParseArgumentClose(n);
2882
2854
  if (p.err)
2883
2855
  return p;
2884
2856
  var _ = T(n, this.clonePosition());
2885
- if (l && At(l?.style, "::", 0)) {
2886
- var R = _n(l.style.slice(2));
2857
+ if (l && Nt(l?.style, "::", 0)) {
2858
+ var R = Ln(l.style.slice(2));
2887
2859
  if (a === "number") {
2888
2860
  var c = this.parseNumberSkeletonFromString(R, l.styleLocation);
2889
2861
  return c.err ? c : {
2890
- val: { type: O.number, value: r, location: _, style: c.val },
2862
+ val: { type: I.number, value: r, location: _, style: c.val },
2891
2863
  err: null
2892
2864
  };
2893
2865
  } else {
2894
2866
  if (R.length === 0)
2895
2867
  return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
2896
- var P = R;
2897
- this.locale && (P = an(R, this.locale));
2898
- var f = {
2899
- type: ue.dateTime,
2900
- pattern: P,
2868
+ var S = R;
2869
+ this.locale && (S = ln(R, this.locale));
2870
+ var m = {
2871
+ type: ae.dateTime,
2872
+ pattern: S,
2901
2873
  location: l.styleLocation,
2902
- parsedOptions: this.shouldParseSkeletons ? Kr(P) : {}
2903
- }, L = a === "date" ? O.date : O.time;
2874
+ parsedOptions: this.shouldParseSkeletons ? tn(S) : {}
2875
+ }, L = a === "date" ? I.date : I.time;
2904
2876
  return {
2905
- val: { type: L, value: r, location: _, style: f },
2877
+ val: { type: L, value: r, location: _, style: m },
2906
2878
  err: null
2907
2879
  };
2908
2880
  }
2909
2881
  }
2910
2882
  return {
2911
2883
  val: {
2912
- type: a === "number" ? O.number : a === "date" ? O.date : O.time,
2884
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2913
2885
  value: r,
2914
2886
  location: _,
2915
2887
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -2922,39 +2894,39 @@ var Ln = (
2922
2894
  case "select": {
2923
2895
  var w = this.clonePosition();
2924
2896
  if (this.bumpSpace(), !this.bumpIf(","))
2925
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, S({}, w)));
2897
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, Ie({}, w)));
2926
2898
  this.bumpSpace();
2927
- var H = this.parseIdentifierIfPossible(), B = 0;
2928
- if (a !== "select" && H.value === "offset") {
2899
+ var O = this.parseIdentifierIfPossible(), A = 0;
2900
+ if (a !== "select" && O.value === "offset") {
2929
2901
  if (!this.bumpIf(":"))
2930
2902
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
2931
2903
  this.bumpSpace();
2932
2904
  var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2933
2905
  if (c.err)
2934
2906
  return c;
2935
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), B = c.val;
2907
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), A = c.val;
2936
2908
  }
2937
- var M = this.tryParsePluralOrSelectOptions(t, a, i, H);
2938
- if (M.err)
2939
- return M;
2909
+ var H = this.tryParsePluralOrSelectOptions(t, a, i, O);
2910
+ if (H.err)
2911
+ return H;
2940
2912
  var p = this.tryParseArgumentClose(n);
2941
2913
  if (p.err)
2942
2914
  return p;
2943
2915
  var D = T(n, this.clonePosition());
2944
2916
  return a === "select" ? {
2945
2917
  val: {
2946
- type: O.select,
2918
+ type: I.select,
2947
2919
  value: r,
2948
- options: Bt(M.val),
2920
+ options: Ot(H.val),
2949
2921
  location: D
2950
2922
  },
2951
2923
  err: null
2952
2924
  } : {
2953
2925
  val: {
2954
- type: O.plural,
2926
+ type: I.plural,
2955
2927
  value: r,
2956
- options: Bt(M.val),
2957
- offset: B,
2928
+ options: Ot(H.val),
2929
+ offset: A,
2958
2930
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2959
2931
  location: D
2960
2932
  },
@@ -3004,16 +2976,16 @@ var Ln = (
3004
2976
  }, e.prototype.parseNumberSkeletonFromString = function(t, i) {
3005
2977
  var r = [];
3006
2978
  try {
3007
- r = tn(t);
2979
+ r = nn(t);
3008
2980
  } catch {
3009
2981
  return this.error(x.INVALID_NUMBER_SKELETON, i);
3010
2982
  }
3011
2983
  return {
3012
2984
  val: {
3013
- type: ue.number,
2985
+ type: ae.number,
3014
2986
  tokens: r,
3015
2987
  location: i,
3016
- parsedOptions: this.shouldParseSkeletons ? sn(r) : {}
2988
+ parsedOptions: this.shouldParseSkeletons ? un(r) : {}
3017
2989
  },
3018
2990
  err: null
3019
2991
  };
@@ -3022,9 +2994,9 @@ var Ln = (
3022
2994
  if (l.length === 0) {
3023
2995
  var c = this.clonePosition();
3024
2996
  if (i !== "select" && this.bumpIf("=")) {
3025
- var f = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
3026
- if (f.err)
3027
- return f;
2997
+ var m = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR, x.INVALID_PLURAL_ARGUMENT_SELECTOR);
2998
+ if (m.err)
2999
+ return m;
3028
3000
  u = T(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3029
3001
  } else
3030
3002
  break;
@@ -3032,20 +3004,20 @@ var Ln = (
3032
3004
  if (h.has(l))
3033
3005
  return this.error(i === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3034
3006
  l === "other" && (s = !0), this.bumpSpace();
3035
- var m = this.clonePosition();
3007
+ var f = this.clonePosition();
3036
3008
  if (!this.bumpIf("{"))
3037
3009
  return this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3038
3010
  var p = this.parseMessage(t + 1, i, r);
3039
3011
  if (p.err)
3040
3012
  return p;
3041
- var _ = this.tryParseArgumentClose(m);
3013
+ var _ = this.tryParseArgumentClose(f);
3042
3014
  if (_.err)
3043
3015
  return _;
3044
3016
  a.push([
3045
3017
  l,
3046
3018
  {
3047
3019
  value: p.val,
3048
- location: T(m, this.clonePosition())
3020
+ location: T(f, this.clonePosition())
3049
3021
  }
3050
3022
  ]), h.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, u = o.location;
3051
3023
  }
@@ -3061,7 +3033,7 @@ var Ln = (
3061
3033
  break;
3062
3034
  }
3063
3035
  var h = T(n, this.clonePosition());
3064
- return o ? (s *= r, yn(s) ? { val: s, err: null } : this.error(i, h)) : this.error(t, h);
3036
+ return o ? (s *= r, _n(s) ? { val: s, err: null } : this.error(i, h)) : this.error(t, h);
3065
3037
  }, e.prototype.offset = function() {
3066
3038
  return this.position.offset;
3067
3039
  }, e.prototype.isEOF = function() {
@@ -3076,7 +3048,7 @@ var Ln = (
3076
3048
  var t = this.position.offset;
3077
3049
  if (t >= this.message.length)
3078
3050
  throw Error("out of bound");
3079
- var i = Li(this.message, t);
3051
+ var i = Ti(this.message, t);
3080
3052
  if (i === void 0)
3081
3053
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3082
3054
  return i;
@@ -3095,7 +3067,7 @@ var Ln = (
3095
3067
  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);
3096
3068
  }
3097
3069
  }, e.prototype.bumpIf = function(t) {
3098
- if (At(this.message, t, this.offset())) {
3070
+ if (Nt(this.message, t, this.offset())) {
3099
3071
  for (var i = 0; i < t.length; i++)
3100
3072
  this.bump();
3101
3073
  return !0;
@@ -3117,7 +3089,7 @@ var Ln = (
3117
3089
  break;
3118
3090
  }
3119
3091
  }, e.prototype.bumpSpace = function() {
3120
- for (; !this.isEOF() && Ti(this.char()); )
3092
+ for (; !this.isEOF() && Si(this.char()); )
3121
3093
  this.bump();
3122
3094
  }, e.prototype.peek = function() {
3123
3095
  if (this.isEOF())
@@ -3130,44 +3102,44 @@ var Ln = (
3130
3102
  function st(e) {
3131
3103
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3132
3104
  }
3133
- function xn(e) {
3105
+ function wn(e) {
3134
3106
  return st(e) || e === 47;
3135
3107
  }
3136
- function Tn(e) {
3108
+ function Sn(e) {
3137
3109
  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;
3138
3110
  }
3139
- function Ti(e) {
3111
+ function Si(e) {
3140
3112
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3141
3113
  }
3142
- function wn(e) {
3114
+ function Pn(e) {
3143
3115
  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;
3144
3116
  }
3145
3117
  function at(e) {
3146
3118
  e.forEach(function(t) {
3147
- if (delete t.location, pi(t) || di(t))
3119
+ if (delete t.location, bi(t) || gi(t))
3148
3120
  for (var i in t.options)
3149
3121
  delete t.options[i].location, at(t.options[i].value);
3150
3122
  else
3151
- hi(t) && gi(t.style) || (mi(t) || fi(t)) && it(t.style) ? delete t.style.location : bi(t) && at(t.children);
3123
+ mi(t) && vi(t.style) || (pi(t) || di(t)) && it(t.style) ? delete t.style.location : yi(t) && at(t.children);
3152
3124
  });
3153
3125
  }
3154
- function Sn(e, t) {
3155
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3156
- var i = new Ln(e, t).parse();
3126
+ function An(e, t) {
3127
+ t === void 0 && (t = {}), t = Ie({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3128
+ var i = new Tn(e, t).parse();
3157
3129
  if (i.err) {
3158
3130
  var r = SyntaxError(x[i.err.kind]);
3159
3131
  throw r.location = i.err.location, r.originalMessage = i.err.message, r;
3160
3132
  }
3161
3133
  return t?.captureLocation || at(i.val), i.val;
3162
3134
  }
3163
- var le;
3135
+ var ue;
3164
3136
  (function(e) {
3165
3137
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3166
- })(le || (le = {}));
3167
- var Ce = (
3138
+ })(ue || (ue = {}));
3139
+ var Re = (
3168
3140
  /** @class */
3169
3141
  function(e) {
3170
- q(t, e);
3142
+ De(t, e);
3171
3143
  function t(i, r, n) {
3172
3144
  var o = e.call(this, i) || this;
3173
3145
  return o.code = r, o.originalMessage = n, o;
@@ -3176,48 +3148,48 @@ var Ce = (
3176
3148
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3177
3149
  }, t;
3178
3150
  }(Error)
3179
- ), It = (
3151
+ ), Ht = (
3180
3152
  /** @class */
3181
3153
  function(e) {
3182
- q(t, e);
3154
+ De(t, e);
3183
3155
  function t(i, r, n, o) {
3184
- return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), le.INVALID_VALUE, o) || this;
3156
+ return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ue.INVALID_VALUE, o) || this;
3185
3157
  }
3186
3158
  return t;
3187
- }(Ce)
3188
- ), Pn = (
3159
+ }(Re)
3160
+ ), Bn = (
3189
3161
  /** @class */
3190
3162
  function(e) {
3191
- q(t, e);
3163
+ De(t, e);
3192
3164
  function t(i, r, n) {
3193
- return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r), le.INVALID_VALUE, n) || this;
3165
+ return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r), ue.INVALID_VALUE, n) || this;
3194
3166
  }
3195
3167
  return t;
3196
- }(Ce)
3197
- ), An = (
3168
+ }(Re)
3169
+ ), Nn = (
3198
3170
  /** @class */
3199
3171
  function(e) {
3200
- q(t, e);
3172
+ De(t, e);
3201
3173
  function t(i, r) {
3202
- return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'), le.MISSING_VALUE, r) || this;
3174
+ return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'), ue.MISSING_VALUE, r) || this;
3203
3175
  }
3204
3176
  return t;
3205
- }(Ce)
3177
+ }(Re)
3206
3178
  ), z;
3207
3179
  (function(e) {
3208
3180
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3209
3181
  })(z || (z = {}));
3210
- function Bn(e) {
3182
+ function On(e) {
3211
3183
  return e.length < 2 ? e : e.reduce(function(t, i) {
3212
3184
  var r = t[t.length - 1];
3213
3185
  return !r || r.type !== z.literal || i.type !== z.literal ? t.push(i) : r.value += i.value, t;
3214
3186
  }, []);
3215
3187
  }
3216
- function Nn(e) {
3188
+ function In(e) {
3217
3189
  return typeof e == "function";
3218
3190
  }
3219
3191
  function Pe(e, t, i, r, n, o, s) {
3220
- if (e.length === 1 && Tt(e[0]))
3192
+ if (e.length === 1 && St(e[0]))
3221
3193
  return [
3222
3194
  {
3223
3195
  type: z.literal,
@@ -3226,14 +3198,14 @@ function Pe(e, t, i, r, n, o, s) {
3226
3198
  ];
3227
3199
  for (var a = [], h = 0, l = e; h < l.length; h++) {
3228
3200
  var u = l[h];
3229
- if (Tt(u)) {
3201
+ if (St(u)) {
3230
3202
  a.push({
3231
3203
  type: z.literal,
3232
3204
  value: u.value
3233
3205
  });
3234
3206
  continue;
3235
3207
  }
3236
- if (Jr(u)) {
3208
+ if (Kr(u)) {
3237
3209
  typeof o == "number" && a.push({
3238
3210
  type: z.literal,
3239
3211
  value: i.getNumberFormat(t).format(o)
@@ -3242,89 +3214,89 @@ function Pe(e, t, i, r, n, o, s) {
3242
3214
  }
3243
3215
  var c = u.value;
3244
3216
  if (!(n && c in n))
3245
- throw new An(c, s);
3246
- var f = n[c];
3247
- if (qr(u)) {
3248
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3249
- type: typeof f == "string" ? z.literal : z.object,
3250
- value: f
3217
+ throw new Nn(c, s);
3218
+ var m = n[c];
3219
+ if (Qr(u)) {
3220
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3221
+ type: typeof m == "string" ? z.literal : z.object,
3222
+ value: m
3251
3223
  });
3252
3224
  continue;
3253
3225
  }
3254
- if (mi(u)) {
3255
- var m = typeof u.style == "string" ? r.date[u.style] : it(u.style) ? u.style.parsedOptions : void 0;
3226
+ if (pi(u)) {
3227
+ var f = typeof u.style == "string" ? r.date[u.style] : it(u.style) ? u.style.parsedOptions : void 0;
3256
3228
  a.push({
3257
3229
  type: z.literal,
3258
- value: i.getDateTimeFormat(t, m).format(f)
3230
+ value: i.getDateTimeFormat(t, f).format(m)
3259
3231
  });
3260
3232
  continue;
3261
3233
  }
3262
- if (fi(u)) {
3263
- var m = typeof u.style == "string" ? r.time[u.style] : it(u.style) ? u.style.parsedOptions : r.time.medium;
3234
+ if (di(u)) {
3235
+ var f = typeof u.style == "string" ? r.time[u.style] : it(u.style) ? u.style.parsedOptions : r.time.medium;
3264
3236
  a.push({
3265
3237
  type: z.literal,
3266
- value: i.getDateTimeFormat(t, m).format(f)
3238
+ value: i.getDateTimeFormat(t, f).format(m)
3267
3239
  });
3268
3240
  continue;
3269
3241
  }
3270
- if (hi(u)) {
3271
- var m = typeof u.style == "string" ? r.number[u.style] : gi(u.style) ? u.style.parsedOptions : void 0;
3272
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3242
+ if (mi(u)) {
3243
+ var f = typeof u.style == "string" ? r.number[u.style] : vi(u.style) ? u.style.parsedOptions : void 0;
3244
+ f && f.scale && (m = m * (f.scale || 1)), a.push({
3273
3245
  type: z.literal,
3274
- value: i.getNumberFormat(t, m).format(f)
3246
+ value: i.getNumberFormat(t, f).format(m)
3275
3247
  });
3276
3248
  continue;
3277
3249
  }
3278
- if (bi(u)) {
3250
+ if (yi(u)) {
3279
3251
  var p = u.children, _ = u.value, R = n[_];
3280
- if (!Nn(R))
3281
- throw new Pn(_, "function", s);
3282
- var P = Pe(p, t, i, r, n, o), L = R(P.map(function(B) {
3283
- return B.value;
3252
+ if (!In(R))
3253
+ throw new Bn(_, "function", s);
3254
+ var S = Pe(p, t, i, r, n, o), L = R(S.map(function(A) {
3255
+ return A.value;
3284
3256
  }));
3285
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(B) {
3257
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3286
3258
  return {
3287
- type: typeof B == "string" ? z.literal : z.object,
3288
- value: B
3259
+ type: typeof A == "string" ? z.literal : z.object,
3260
+ value: A
3289
3261
  };
3290
3262
  }));
3291
3263
  }
3292
- if (pi(u)) {
3293
- var w = u.options[f] || u.options.other;
3264
+ if (bi(u)) {
3265
+ var w = u.options[m] || u.options.other;
3294
3266
  if (!w)
3295
- throw new It(u.value, f, Object.keys(u.options), s);
3267
+ throw new Ht(u.value, m, Object.keys(u.options), s);
3296
3268
  a.push.apply(a, Pe(w.value, t, i, r, n));
3297
3269
  continue;
3298
3270
  }
3299
- if (di(u)) {
3300
- var w = u.options["=".concat(f)];
3271
+ if (gi(u)) {
3272
+ var w = u.options["=".concat(m)];
3301
3273
  if (!w) {
3302
3274
  if (!Intl.PluralRules)
3303
- throw new Ce(`Intl.PluralRules is not available in this environment.
3275
+ throw new Re(`Intl.PluralRules is not available in this environment.
3304
3276
  Try polyfilling it using "@formatjs/intl-pluralrules"
3305
- `, le.MISSING_INTL_API, s);
3306
- var H = i.getPluralRules(t, { type: u.pluralType }).select(f - (u.offset || 0));
3307
- w = u.options[H] || u.options.other;
3277
+ `, ue.MISSING_INTL_API, s);
3278
+ var O = i.getPluralRules(t, { type: u.pluralType }).select(m - (u.offset || 0));
3279
+ w = u.options[O] || u.options.other;
3308
3280
  }
3309
3281
  if (!w)
3310
- throw new It(u.value, f, Object.keys(u.options), s);
3311
- a.push.apply(a, Pe(w.value, t, i, r, n, f - (u.offset || 0)));
3282
+ throw new Ht(u.value, m, Object.keys(u.options), s);
3283
+ a.push.apply(a, Pe(w.value, t, i, r, n, m - (u.offset || 0)));
3312
3284
  continue;
3313
3285
  }
3314
3286
  }
3315
- return Bn(a);
3287
+ return On(a);
3316
3288
  }
3317
- function In(e, t) {
3318
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
3319
- return i[r] = S(S({}, e[r]), t[r] || {}), i;
3289
+ function Hn(e, t) {
3290
+ return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
3291
+ return i[r] = Z(Z({}, e[r]), t[r] || {}), i;
3320
3292
  }, {})) : e;
3321
3293
  }
3322
- function Hn(e, t) {
3294
+ function Mn(e, t) {
3323
3295
  return t ? Object.keys(e).reduce(function(i, r) {
3324
- return i[r] = In(e[r], t[r]), i;
3325
- }, S({}, e)) : e;
3296
+ return i[r] = Hn(e[r], t[r]), i;
3297
+ }, Z({}, e)) : e;
3326
3298
  }
3327
- function Ze(e) {
3299
+ function Je(e) {
3328
3300
  return {
3329
3301
  create: function() {
3330
3302
  return {
@@ -3338,39 +3310,39 @@ function Ze(e) {
3338
3310
  }
3339
3311
  };
3340
3312
  }
3341
- function On(e) {
3313
+ function kn(e) {
3342
3314
  return e === void 0 && (e = {
3343
3315
  number: {},
3344
3316
  dateTime: {},
3345
3317
  pluralRules: {}
3346
3318
  }), {
3347
- getNumberFormat: We(function() {
3319
+ getNumberFormat: Ze(function() {
3348
3320
  for (var t, i = [], r = 0; r < arguments.length; r++)
3349
3321
  i[r] = arguments[r];
3350
- return new ((t = Intl.NumberFormat).bind.apply(t, se([void 0], i, !1)))();
3322
+ return new ((t = Intl.NumberFormat).bind.apply(t, Xe([void 0], i, !1)))();
3351
3323
  }, {
3352
- cache: Ze(e.number),
3353
- strategy: Ve.variadic
3324
+ cache: Je(e.number),
3325
+ strategy: Ye.variadic
3354
3326
  }),
3355
- getDateTimeFormat: We(function() {
3327
+ getDateTimeFormat: Ze(function() {
3356
3328
  for (var t, i = [], r = 0; r < arguments.length; r++)
3357
3329
  i[r] = arguments[r];
3358
- return new ((t = Intl.DateTimeFormat).bind.apply(t, se([void 0], i, !1)))();
3330
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Xe([void 0], i, !1)))();
3359
3331
  }, {
3360
- cache: Ze(e.dateTime),
3361
- strategy: Ve.variadic
3332
+ cache: Je(e.dateTime),
3333
+ strategy: Ye.variadic
3362
3334
  }),
3363
- getPluralRules: We(function() {
3335
+ getPluralRules: Ze(function() {
3364
3336
  for (var t, i = [], r = 0; r < arguments.length; r++)
3365
3337
  i[r] = arguments[r];
3366
- return new ((t = Intl.PluralRules).bind.apply(t, se([void 0], i, !1)))();
3338
+ return new ((t = Intl.PluralRules).bind.apply(t, Xe([void 0], i, !1)))();
3367
3339
  }, {
3368
- cache: Ze(e.pluralRules),
3369
- strategy: Ve.variadic
3340
+ cache: Je(e.pluralRules),
3341
+ strategy: Ye.variadic
3370
3342
  })
3371
3343
  };
3372
3344
  }
3373
- var Mn = (
3345
+ var Cn = (
3374
3346
  /** @class */
3375
3347
  function() {
3376
3348
  function e(t, i, r, n) {
@@ -3384,8 +3356,8 @@ var Mn = (
3384
3356
  var l = o.formatToParts(h);
3385
3357
  if (l.length === 1)
3386
3358
  return l[0].value;
3387
- var u = l.reduce(function(c, f) {
3388
- return !c.length || f.type !== z.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3359
+ var u = l.reduce(function(c, m) {
3360
+ return !c.length || m.type !== z.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3389
3361
  }, []);
3390
3362
  return u.length <= 1 ? u[0] || "" : u;
3391
3363
  }, this.formatToParts = function(h) {
@@ -3402,13 +3374,13 @@ var Mn = (
3402
3374
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3403
3375
  var s = n || {};
3404
3376
  s.formatters;
3405
- var a = Gr(s, ["formatters"]);
3406
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3377
+ var a = zr(s, ["formatters"]);
3378
+ this.ast = e.__parse(t, Z(Z({}, a), { locale: this.resolvedLocale }));
3407
3379
  } else
3408
3380
  this.ast = t;
3409
3381
  if (!Array.isArray(this.ast))
3410
3382
  throw new TypeError("A message must be provided as a String or AST.");
3411
- this.formats = Hn(e.formats, r), this.formatters = n && n.formatters || On(this.formatterCache);
3383
+ this.formats = Mn(e.formats, r), this.formatters = n && n.formatters || kn(this.formatterCache);
3412
3384
  }
3413
3385
  return Object.defineProperty(e, "defaultLocale", {
3414
3386
  get: function() {
@@ -3421,7 +3393,7 @@ var Mn = (
3421
3393
  var i = Intl.NumberFormat.supportedLocalesOf(t);
3422
3394
  return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3423
3395
  }
3424
- }, e.__parse = Sn, e.formats = {
3396
+ }, e.__parse = An, e.formats = {
3425
3397
  number: {
3426
3398
  integer: {
3427
3399
  maximumFractionDigits: 0
@@ -3482,7 +3454,7 @@ var Mn = (
3482
3454
  }, e;
3483
3455
  }()
3484
3456
  );
3485
- function kn(e, t) {
3457
+ function Dn(e, t) {
3486
3458
  if (t == null)
3487
3459
  return;
3488
3460
  if (t in e)
@@ -3503,92 +3475,92 @@ function kn(e, t) {
3503
3475
  r = void 0;
3504
3476
  return r;
3505
3477
  }
3506
- const Q = {}, Cn = (e, t, i) => i && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = i), i), wi = (e, t) => {
3478
+ const Q = {}, Rn = (e, t, i) => i && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = i), i), Pi = (e, t) => {
3507
3479
  if (t == null)
3508
3480
  return;
3509
3481
  if (t in Q && e in Q[t])
3510
3482
  return Q[t][e];
3511
- const i = De(t);
3483
+ const i = je(t);
3512
3484
  for (let r = 0; r < i.length; r++) {
3513
- const n = i[r], o = Rn(n, e);
3485
+ const n = i[r], o = Un(n, e);
3514
3486
  if (o)
3515
- return Cn(e, t, o);
3487
+ return Rn(e, t, o);
3516
3488
  }
3517
3489
  };
3518
- let dt;
3519
- const Le = ke({});
3520
- function Dn(e) {
3521
- return dt[e] || null;
3490
+ let gt;
3491
+ const Ee = Ce({});
3492
+ function jn(e) {
3493
+ return gt[e] || null;
3522
3494
  }
3523
- function Si(e) {
3524
- return e in dt;
3495
+ function Ai(e) {
3496
+ return e in gt;
3525
3497
  }
3526
- function Rn(e, t) {
3527
- if (!Si(e))
3498
+ function Un(e, t) {
3499
+ if (!Ai(e))
3528
3500
  return null;
3529
- const i = Dn(e);
3530
- return kn(i, t);
3501
+ const i = jn(e);
3502
+ return Dn(i, t);
3531
3503
  }
3532
- function Un(e) {
3504
+ function $n(e) {
3533
3505
  if (e == null)
3534
3506
  return;
3535
- const t = De(e);
3507
+ const t = je(e);
3536
3508
  for (let i = 0; i < t.length; i++) {
3537
3509
  const r = t[i];
3538
- if (Si(r))
3510
+ if (Ai(r))
3539
3511
  return r;
3540
3512
  }
3541
3513
  }
3542
- function Pi(e, ...t) {
3543
- delete Q[e], Le.update((i) => (i[e] = $r.all([i[e] || {}, ...t]), i));
3514
+ function Bi(e, ...t) {
3515
+ delete Q[e], Ee.update((i) => (i[e] = Gr.all([i[e] || {}, ...t]), i));
3544
3516
  }
3545
- he(
3546
- [Le],
3517
+ ce(
3518
+ [Ee],
3547
3519
  ([e]) => Object.keys(e)
3548
3520
  );
3549
- Le.subscribe((e) => dt = e);
3521
+ Ee.subscribe((e) => gt = e);
3550
3522
  const Ae = {};
3551
- function jn(e, t) {
3523
+ function Fn(e, t) {
3552
3524
  Ae[e].delete(t), Ae[e].size === 0 && delete Ae[e];
3553
3525
  }
3554
- function Ai(e) {
3526
+ function Ni(e) {
3555
3527
  return Ae[e];
3556
3528
  }
3557
- function Fn(e) {
3558
- return De(e).map((t) => {
3559
- const i = Ai(t);
3529
+ function Gn(e) {
3530
+ return je(e).map((t) => {
3531
+ const i = Ni(t);
3560
3532
  return [t, i ? [...i] : []];
3561
3533
  }).filter(([, t]) => t.length > 0);
3562
3534
  }
3563
3535
  function ut(e) {
3564
- return e == null ? !1 : De(e).some(
3536
+ return e == null ? !1 : je(e).some(
3565
3537
  (t) => {
3566
3538
  var i;
3567
- return (i = Ai(t)) == null ? void 0 : i.size;
3539
+ return (i = Ni(t)) == null ? void 0 : i.size;
3568
3540
  }
3569
3541
  );
3570
3542
  }
3571
- function $n(e, t) {
3543
+ function zn(e, t) {
3572
3544
  return Promise.all(
3573
- t.map((r) => (jn(e, r), r().then((n) => n.default || n)))
3574
- ).then((r) => Pi(e, ...r));
3545
+ t.map((r) => (Fn(e, r), r().then((n) => n.default || n)))
3546
+ ).then((r) => Bi(e, ...r));
3575
3547
  }
3576
- const de = {};
3577
- function Bi(e) {
3548
+ const pe = {};
3549
+ function Oi(e) {
3578
3550
  if (!ut(e))
3579
- return e in de ? de[e] : Promise.resolve();
3580
- const t = Fn(e);
3581
- return de[e] = Promise.all(
3551
+ return e in pe ? pe[e] : Promise.resolve();
3552
+ const t = Gn(e);
3553
+ return pe[e] = Promise.all(
3582
3554
  t.map(
3583
- ([i, r]) => $n(i, r)
3555
+ ([i, r]) => zn(i, r)
3584
3556
  )
3585
3557
  ).then(() => {
3586
3558
  if (ut(e))
3587
- return Bi(e);
3588
- delete de[e];
3589
- }), de[e];
3559
+ return Oi(e);
3560
+ delete pe[e];
3561
+ }), pe[e];
3590
3562
  }
3591
- const Gn = {
3563
+ const Wn = {
3592
3564
  number: {
3593
3565
  scientific: { notation: "scientific" },
3594
3566
  engineering: { notation: "engineering" },
@@ -3617,34 +3589,34 @@ const Gn = {
3617
3589
  timeZoneName: "short"
3618
3590
  }
3619
3591
  }
3620
- }, zn = {
3592
+ }, Vn = {
3621
3593
  fallbackLocale: null,
3622
3594
  loadingDelay: 200,
3623
- formats: Gn,
3595
+ formats: Wn,
3624
3596
  warnOnMissingMessages: !0,
3625
3597
  handleMissingMessage: void 0,
3626
3598
  ignoreTag: !0
3627
- }, Wn = zn;
3628
- function ce() {
3629
- return Wn;
3599
+ }, Xn = Vn;
3600
+ function le() {
3601
+ return Xn;
3630
3602
  }
3631
- const Ye = ke(!1);
3632
- var Vn = Object.defineProperty, Xn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, Ot = (e, t, i) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Jn = (e, t) => {
3603
+ const Qe = Ce(!1);
3604
+ var Zn = Object.defineProperty, Yn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, kt = (e, t, i) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Kn = (e, t) => {
3633
3605
  for (var i in t || (t = {}))
3634
- Yn.call(t, i) && Ot(e, i, t[i]);
3635
- if (Ht)
3636
- for (var i of Ht(t))
3637
- qn.call(t, i) && Ot(e, i, t[i]);
3606
+ Jn.call(t, i) && kt(e, i, t[i]);
3607
+ if (Mt)
3608
+ for (var i of Mt(t))
3609
+ Qn.call(t, i) && kt(e, i, t[i]);
3638
3610
  return e;
3639
- }, Qn = (e, t) => Xn(e, Zn(t));
3611
+ }, eo = (e, t) => Yn(e, qn(t));
3640
3612
  let lt;
3641
- const He = ke(null);
3642
- function Mt(e) {
3613
+ const He = Ce(null);
3614
+ function Ct(e) {
3643
3615
  return e.split("-").map((t, i, r) => r.slice(0, i + 1).join("-")).reverse();
3644
3616
  }
3645
- function De(e, t = ce().fallbackLocale) {
3646
- const i = Mt(e);
3647
- return t ? [.../* @__PURE__ */ new Set([...i, ...Mt(t)])] : i;
3617
+ function je(e, t = le().fallbackLocale) {
3618
+ const i = Ct(e);
3619
+ return t ? [.../* @__PURE__ */ new Set([...i, ...Ct(t)])] : i;
3648
3620
  }
3649
3621
  function te() {
3650
3622
  return lt ?? void 0;
@@ -3652,100 +3624,100 @@ function te() {
3652
3624
  He.subscribe((e) => {
3653
3625
  lt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3654
3626
  });
3655
- const Kn = (e) => {
3656
- if (e && Un(e) && ut(e)) {
3657
- const { loadingDelay: t } = ce();
3627
+ const to = (e) => {
3628
+ if (e && $n(e) && ut(e)) {
3629
+ const { loadingDelay: t } = le();
3658
3630
  let i;
3659
3631
  return typeof window < "u" && te() != null && t ? i = window.setTimeout(
3660
- () => Ye.set(!0),
3632
+ () => Qe.set(!0),
3661
3633
  t
3662
- ) : Ye.set(!0), Bi(e).then(() => {
3634
+ ) : Qe.set(!0), Oi(e).then(() => {
3663
3635
  He.set(e);
3664
3636
  }).finally(() => {
3665
- clearTimeout(i), Ye.set(!1);
3637
+ clearTimeout(i), Qe.set(!1);
3666
3638
  });
3667
3639
  }
3668
3640
  return He.set(e);
3669
- }, me = Qn(Jn({}, He), {
3670
- set: Kn
3671
- }), Re = (e) => {
3641
+ }, he = eo(Kn({}, He), {
3642
+ set: to
3643
+ }), Ue = (e) => {
3672
3644
  const t = /* @__PURE__ */ Object.create(null);
3673
3645
  return (r) => {
3674
3646
  const n = JSON.stringify(r);
3675
3647
  return n in t ? t[n] : t[n] = e(r);
3676
3648
  };
3677
3649
  };
3678
- var eo = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Ni = Object.prototype.hasOwnProperty, Ii = Object.prototype.propertyIsEnumerable, kt = (e, t, i) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, bt = (e, t) => {
3650
+ var io = Object.defineProperty, Me = Object.getOwnPropertySymbols, Ii = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, Dt = (e, t, i) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, yt = (e, t) => {
3679
3651
  for (var i in t || (t = {}))
3680
- Ni.call(t, i) && kt(e, i, t[i]);
3681
- if (Oe)
3682
- for (var i of Oe(t))
3683
- Ii.call(t, i) && kt(e, i, t[i]);
3652
+ Ii.call(t, i) && Dt(e, i, t[i]);
3653
+ if (Me)
3654
+ for (var i of Me(t))
3655
+ Hi.call(t, i) && Dt(e, i, t[i]);
3684
3656
  return e;
3685
3657
  }, fe = (e, t) => {
3686
3658
  var i = {};
3687
3659
  for (var r in e)
3688
- Ni.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
3689
- if (e != null && Oe)
3690
- for (var r of Oe(e))
3691
- t.indexOf(r) < 0 && Ii.call(e, r) && (i[r] = e[r]);
3660
+ Ii.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
3661
+ if (e != null && Me)
3662
+ for (var r of Me(e))
3663
+ t.indexOf(r) < 0 && Hi.call(e, r) && (i[r] = e[r]);
3692
3664
  return i;
3693
3665
  };
3694
- const Ee = (e, t) => {
3695
- const { formats: i } = ce();
3666
+ const _e = (e, t) => {
3667
+ const { formats: i } = le();
3696
3668
  if (e in i && t in i[e])
3697
3669
  return i[e][t];
3698
3670
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3699
- }, to = Re(
3671
+ }, ro = Ue(
3700
3672
  (e) => {
3701
3673
  var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
3702
3674
  if (i == null)
3703
3675
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3704
- return r && (n = Ee("number", r)), new Intl.NumberFormat(i, n);
3676
+ return r && (n = _e("number", r)), new Intl.NumberFormat(i, n);
3705
3677
  }
3706
- ), io = Re(
3678
+ ), no = Ue(
3707
3679
  (e) => {
3708
3680
  var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
3709
3681
  if (i == null)
3710
3682
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3711
- return r ? n = Ee("date", r) : Object.keys(n).length === 0 && (n = Ee("date", "short")), new Intl.DateTimeFormat(i, n);
3683
+ return r ? n = _e("date", r) : Object.keys(n).length === 0 && (n = _e("date", "short")), new Intl.DateTimeFormat(i, n);
3712
3684
  }
3713
- ), ro = Re(
3685
+ ), oo = Ue(
3714
3686
  (e) => {
3715
3687
  var t = e, { locale: i, format: r } = t, n = fe(t, ["locale", "format"]);
3716
3688
  if (i == null)
3717
3689
  throw new Error(
3718
3690
  '[svelte-i18n] A "locale" must be set to format time values'
3719
3691
  );
3720
- return r ? n = Ee("time", r) : Object.keys(n).length === 0 && (n = Ee("time", "short")), new Intl.DateTimeFormat(i, n);
3692
+ return r ? n = _e("time", r) : Object.keys(n).length === 0 && (n = _e("time", "short")), new Intl.DateTimeFormat(i, n);
3721
3693
  }
3722
- ), no = (e = {}) => {
3694
+ ), so = (e = {}) => {
3723
3695
  var t = e, {
3724
3696
  locale: i = te()
3725
3697
  } = t, r = fe(t, [
3726
3698
  "locale"
3727
3699
  ]);
3728
- return to(bt({ locale: i }, r));
3729
- }, oo = (e = {}) => {
3700
+ return ro(yt({ locale: i }, r));
3701
+ }, ao = (e = {}) => {
3730
3702
  var t = e, {
3731
3703
  locale: i = te()
3732
3704
  } = t, r = fe(t, [
3733
3705
  "locale"
3734
3706
  ]);
3735
- return io(bt({ locale: i }, r));
3736
- }, so = (e = {}) => {
3707
+ return no(yt({ locale: i }, r));
3708
+ }, uo = (e = {}) => {
3737
3709
  var t = e, {
3738
3710
  locale: i = te()
3739
3711
  } = t, r = fe(t, [
3740
3712
  "locale"
3741
3713
  ]);
3742
- return ro(bt({ locale: i }, r));
3743
- }, ao = Re(
3714
+ return oo(yt({ locale: i }, r));
3715
+ }, lo = Ue(
3744
3716
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3745
- (e, t = te()) => new Mn(e, t, ce().formats, {
3746
- ignoreTag: ce().ignoreTag
3717
+ (e, t = te()) => new Cn(e, t, le().formats, {
3718
+ ignoreTag: le().ignoreTag
3747
3719
  })
3748
- ), uo = (e, t = {}) => {
3720
+ ), co = (e, t = {}) => {
3749
3721
  var i, r, n, o;
3750
3722
  let s = t;
3751
3723
  typeof e == "object" && (s = e, e = s.id);
@@ -3758,9 +3730,9 @@ const Ee = (e, t) => {
3758
3730
  throw new Error(
3759
3731
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3760
3732
  );
3761
- let u = wi(e, h);
3733
+ let u = Pi(e, h);
3762
3734
  if (!u)
3763
- u = (o = (n = (r = (i = ce()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: h, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3735
+ u = (o = (n = (r = (i = le()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: h, id: e, defaultValue: l })) != null ? n : l) != null ? o : e;
3764
3736
  else if (typeof u != "string")
3765
3737
  return console.warn(
3766
3738
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3769,26 +3741,26 @@ const Ee = (e, t) => {
3769
3741
  return u;
3770
3742
  let c = u;
3771
3743
  try {
3772
- c = ao(u, h).format(a);
3773
- } catch (f) {
3774
- f instanceof Error && console.warn(
3744
+ c = lo(u, h).format(a);
3745
+ } catch (m) {
3746
+ m instanceof Error && console.warn(
3775
3747
  `[svelte-i18n] Message "${e}" has syntax error:`,
3776
- f.message
3748
+ m.message
3777
3749
  );
3778
3750
  }
3779
3751
  return c;
3780
- }, lo = (e, t) => so(t).format(e), co = (e, t) => oo(t).format(e), ho = (e, t) => no(t).format(e), mo = (e, t = te()) => wi(e, t), fo = he([me, Le], () => uo);
3781
- he([me], () => lo);
3782
- he([me], () => co);
3783
- he([me], () => ho);
3784
- he([me, Le], () => mo);
3785
- function Ct(e, t) {
3786
- Pi(e, t);
3787
- }
3788
- function po(e) {
3789
- me.set(e);
3790
- }
3791
- const Dt = {
3752
+ }, ho = (e, t) => uo(t).format(e), fo = (e, t) => ao(t).format(e), mo = (e, t) => so(t).format(e), po = (e, t = te()) => Pi(e, t), bo = ce([he, Ee], () => co);
3753
+ ce([he], () => ho);
3754
+ ce([he], () => fo);
3755
+ ce([he], () => mo);
3756
+ ce([he, Ee], () => po);
3757
+ function Rt(e, t) {
3758
+ Bi(e, t);
3759
+ }
3760
+ function go(e) {
3761
+ he.set(e);
3762
+ }
3763
+ const jt = {
3792
3764
  en: {
3793
3765
  loadingText: "Loading, please wait...",
3794
3766
  Monthly: "per month",
@@ -4241,16 +4213,85 @@ const Dt = {
4241
4213
  closeButton: "CLOSE"
4242
4214
  }
4243
4215
  };
4244
- function Y(e) {
4216
+ /*! *****************************************************************************
4217
+ Copyright (c) Microsoft Corporation.
4218
+
4219
+ Permission to use, copy, modify, and/or distribute this software for any
4220
+ purpose with or without fee is hereby granted.
4221
+
4222
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
4223
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4224
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
4225
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4226
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4227
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4228
+ PERFORMANCE OF THIS SOFTWARE.
4229
+ ***************************************************************************** */
4230
+ var ct = function(e, t) {
4231
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
4232
+ i.__proto__ = r;
4233
+ } || function(i, r) {
4234
+ for (var n in r)
4235
+ Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
4236
+ }, ct(e, t);
4237
+ };
4238
+ function Le(e, t) {
4239
+ if (typeof t != "function" && t !== null)
4240
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4241
+ ct(e, t);
4242
+ function i() {
4243
+ this.constructor = e;
4244
+ }
4245
+ e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
4246
+ }
4247
+ function ht(e) {
4248
+ var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
4249
+ if (i)
4250
+ return i.call(e);
4251
+ if (e && typeof e.length == "number")
4252
+ return {
4253
+ next: function() {
4254
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
4255
+ }
4256
+ };
4257
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4258
+ }
4259
+ function ft(e, t) {
4260
+ var i = typeof Symbol == "function" && e[Symbol.iterator];
4261
+ if (!i)
4262
+ return e;
4263
+ var r = i.call(e), n, o = [], s;
4264
+ try {
4265
+ for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
4266
+ o.push(n.value);
4267
+ } catch (a) {
4268
+ s = { error: a };
4269
+ } finally {
4270
+ try {
4271
+ n && !n.done && (i = r.return) && i.call(r);
4272
+ } finally {
4273
+ if (s)
4274
+ throw s.error;
4275
+ }
4276
+ }
4277
+ return o;
4278
+ }
4279
+ function mt(e, t, i) {
4280
+ if (arguments.length === 2)
4281
+ for (var r = 0, n = t.length, o; r < n; r++)
4282
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
4283
+ return e.concat(o || t);
4284
+ }
4285
+ function q(e) {
4245
4286
  return typeof e == "function";
4246
4287
  }
4247
- function Hi(e) {
4288
+ function Mi(e) {
4248
4289
  var t = function(r) {
4249
4290
  Error.call(r), r.stack = new Error().stack;
4250
4291
  }, i = e(t);
4251
4292
  return i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i;
4252
4293
  }
4253
- var qe = Hi(function(e) {
4294
+ var Ke = Mi(function(e) {
4254
4295
  return function(i) {
4255
4296
  e(this), this.message = i ? i.length + ` errors occurred during unsubscription:
4256
4297
  ` + i.map(function(r, n) {
@@ -4259,13 +4300,13 @@ var qe = Hi(function(e) {
4259
4300
  `) : "", this.name = "UnsubscriptionError", this.errors = i;
4260
4301
  };
4261
4302
  });
4262
- function ct(e, t) {
4303
+ function pt(e, t) {
4263
4304
  if (e) {
4264
4305
  var i = e.indexOf(t);
4265
4306
  0 <= i && e.splice(i, 1);
4266
4307
  }
4267
4308
  }
4268
- var Ue = function() {
4309
+ var $e = function() {
4269
4310
  function e(t) {
4270
4311
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4271
4312
  }
@@ -4277,7 +4318,7 @@ var Ue = function() {
4277
4318
  if (s)
4278
4319
  if (this._parentage = null, Array.isArray(s))
4279
4320
  try {
4280
- for (var a = et(s), h = a.next(); !h.done; h = a.next()) {
4321
+ for (var a = ht(s), h = a.next(); !h.done; h = a.next()) {
4281
4322
  var l = h.value;
4282
4323
  l.remove(this);
4283
4324
  }
@@ -4294,29 +4335,29 @@ var Ue = function() {
4294
4335
  else
4295
4336
  s.remove(this);
4296
4337
  var u = this.initialTeardown;
4297
- if (Y(u))
4338
+ if (q(u))
4298
4339
  try {
4299
4340
  u();
4300
4341
  } catch (_) {
4301
- o = _ instanceof qe ? _.errors : [_];
4342
+ o = _ instanceof Ke ? _.errors : [_];
4302
4343
  }
4303
4344
  var c = this._finalizers;
4304
4345
  if (c) {
4305
4346
  this._finalizers = null;
4306
4347
  try {
4307
- for (var f = et(c), m = f.next(); !m.done; m = f.next()) {
4308
- var p = m.value;
4348
+ for (var m = ht(c), f = m.next(); !f.done; f = m.next()) {
4349
+ var p = f.value;
4309
4350
  try {
4310
- Rt(p);
4351
+ Ut(p);
4311
4352
  } catch (_) {
4312
- o = o ?? [], _ instanceof qe ? o = se(se([], tt(o)), tt(_.errors)) : o.push(_);
4353
+ o = o ?? [], _ instanceof Ke ? o = mt(mt([], ft(o)), ft(_.errors)) : o.push(_);
4313
4354
  }
4314
4355
  }
4315
4356
  } catch (_) {
4316
4357
  r = { error: _ };
4317
4358
  } finally {
4318
4359
  try {
4319
- m && !m.done && (n = f.return) && n.call(f);
4360
+ f && !f.done && (n = m.return) && n.call(m);
4320
4361
  } finally {
4321
4362
  if (r)
4322
4363
  throw r.error;
@@ -4324,13 +4365,13 @@ var Ue = function() {
4324
4365
  }
4325
4366
  }
4326
4367
  if (o)
4327
- throw new qe(o);
4368
+ throw new Ke(o);
4328
4369
  }
4329
4370
  }, e.prototype.add = function(t) {
4330
4371
  var i;
4331
4372
  if (t && t !== this)
4332
4373
  if (this.closed)
4333
- Rt(t);
4374
+ Ut(t);
4334
4375
  else {
4335
4376
  if (t instanceof e) {
4336
4377
  if (t.closed || t._hasParent(this))
@@ -4347,56 +4388,52 @@ var Ue = function() {
4347
4388
  this._parentage = Array.isArray(i) ? (i.push(t), i) : i ? [i, t] : t;
4348
4389
  }, e.prototype._removeParent = function(t) {
4349
4390
  var i = this._parentage;
4350
- i === t ? this._parentage = null : Array.isArray(i) && ct(i, t);
4391
+ i === t ? this._parentage = null : Array.isArray(i) && pt(i, t);
4351
4392
  }, e.prototype.remove = function(t) {
4352
4393
  var i = this._finalizers;
4353
- i && ct(i, t), t instanceof e && t._removeParent(this);
4394
+ i && pt(i, t), t instanceof e && t._removeParent(this);
4354
4395
  }, e.EMPTY = function() {
4355
4396
  var t = new e();
4356
4397
  return t.closed = !0, t;
4357
4398
  }(), e;
4358
- }(), Oi = Ue.EMPTY;
4359
- function Mi(e) {
4360
- return e instanceof Ue || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
4361
- }
4362
- function Rt(e) {
4363
- Y(e) ? e() : e.unsubscribe();
4364
- }
4365
- var ki = {
4366
- onUnhandledError: null,
4367
- onStoppedNotification: null,
4368
- Promise: void 0,
4369
- useDeprecatedSynchronousErrorHandling: !1,
4370
- useDeprecatedNextContext: !1
4371
- }, bo = {
4399
+ }(), ki = $e.EMPTY;
4400
+ function Ci(e) {
4401
+ return e instanceof $e || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
4402
+ }
4403
+ function Ut(e) {
4404
+ q(e) ? e() : e.unsubscribe();
4405
+ }
4406
+ var yo = {
4407
+ Promise: void 0
4408
+ }, vo = {
4372
4409
  setTimeout: function(e, t) {
4373
4410
  for (var i = [], r = 2; r < arguments.length; r++)
4374
4411
  i[r - 2] = arguments[r];
4375
- return setTimeout.apply(void 0, se([e, t], tt(i)));
4412
+ return setTimeout.apply(void 0, mt([e, t], ft(i)));
4376
4413
  },
4377
4414
  clearTimeout: function(e) {
4378
4415
  return clearTimeout(e);
4379
4416
  },
4380
4417
  delegate: void 0
4381
4418
  };
4382
- function go(e) {
4383
- bo.setTimeout(function() {
4419
+ function _o(e) {
4420
+ vo.setTimeout(function() {
4384
4421
  throw e;
4385
4422
  });
4386
4423
  }
4387
- function Ut() {
4424
+ function $t() {
4388
4425
  }
4389
4426
  function Be(e) {
4390
4427
  e();
4391
4428
  }
4392
- var Ci = function(e) {
4393
- q(t, e);
4429
+ var Di = function(e) {
4430
+ Le(t, e);
4394
4431
  function t(i) {
4395
4432
  var r = e.call(this) || this;
4396
- return r.isStopped = !1, i ? (r.destination = i, Mi(i) && i.add(r)) : r.destination = Eo, r;
4433
+ return r.isStopped = !1, i ? (r.destination = i, Ci(i) && i.add(r)) : r.destination = xo, r;
4397
4434
  }
4398
4435
  return t.create = function(i, r, n) {
4399
- return new ht(i, r, n);
4436
+ return new dt(i, r, n);
4400
4437
  }, t.prototype.next = function(i) {
4401
4438
  this.isStopped || this._next(i);
4402
4439
  }, t.prototype.error = function(i) {
@@ -4420,11 +4457,7 @@ var Ci = function(e) {
4420
4457
  this.unsubscribe();
4421
4458
  }
4422
4459
  }, t;
4423
- }(Ue), yo = Function.prototype.bind;
4424
- function Je(e, t) {
4425
- return yo.call(e, t);
4426
- }
4427
- var vo = function() {
4460
+ }($e), Eo = function() {
4428
4461
  function e(t) {
4429
4462
  this.partialObserver = t;
4430
4463
  }
@@ -4455,55 +4488,43 @@ var vo = function() {
4455
4488
  we(i);
4456
4489
  }
4457
4490
  }, e;
4458
- }(), ht = function(e) {
4459
- q(t, e);
4491
+ }(), dt = function(e) {
4492
+ Le(t, e);
4460
4493
  function t(i, r, n) {
4461
4494
  var o = e.call(this) || this, s;
4462
- if (Y(i) || !i)
4463
- s = {
4464
- next: i ?? void 0,
4465
- error: r ?? void 0,
4466
- complete: n ?? void 0
4467
- };
4468
- else {
4469
- var a;
4470
- o && ki.useDeprecatedNextContext ? (a = Object.create(i), a.unsubscribe = function() {
4471
- return o.unsubscribe();
4472
- }, s = {
4473
- next: i.next && Je(i.next, a),
4474
- error: i.error && Je(i.error, a),
4475
- complete: i.complete && Je(i.complete, a)
4476
- }) : s = i;
4477
- }
4478
- return o.destination = new vo(s), o;
4495
+ return q(i) || !i ? s = {
4496
+ next: i ?? void 0,
4497
+ error: r ?? void 0,
4498
+ complete: n ?? void 0
4499
+ } : s = i, o.destination = new Eo(s), o;
4479
4500
  }
4480
4501
  return t;
4481
- }(Ci);
4502
+ }(Di);
4482
4503
  function we(e) {
4483
- go(e);
4504
+ _o(e);
4484
4505
  }
4485
- function _o(e) {
4506
+ function Lo(e) {
4486
4507
  throw e;
4487
4508
  }
4488
- var Eo = {
4509
+ var xo = {
4489
4510
  closed: !0,
4490
- next: Ut,
4491
- error: _o,
4492
- complete: Ut
4493
- }, Lo = function() {
4511
+ next: $t,
4512
+ error: Lo,
4513
+ complete: $t
4514
+ }, To = function() {
4494
4515
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4495
4516
  }();
4496
- function xo(e) {
4517
+ function wo(e) {
4497
4518
  return e;
4498
4519
  }
4499
- function To(e) {
4500
- return e.length === 0 ? xo : e.length === 1 ? e[0] : function(i) {
4520
+ function So(e) {
4521
+ return e.length === 0 ? wo : e.length === 1 ? e[0] : function(i) {
4501
4522
  return e.reduce(function(r, n) {
4502
4523
  return n(r);
4503
4524
  }, i);
4504
4525
  };
4505
4526
  }
4506
- var jt = function() {
4527
+ var Ft = function() {
4507
4528
  function e(t) {
4508
4529
  t && (this._subscribe = t);
4509
4530
  }
@@ -4511,7 +4532,7 @@ var jt = function() {
4511
4532
  var i = new e();
4512
4533
  return i.source = this, i.operator = t, i;
4513
4534
  }, e.prototype.subscribe = function(t, i, r) {
4514
- var n = this, o = So(t) ? t : new ht(t, i, r);
4535
+ var n = this, o = Ao(t) ? t : new dt(t, i, r);
4515
4536
  return Be(function() {
4516
4537
  var s = n, a = s.operator, h = s.source;
4517
4538
  o.add(a ? a.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
@@ -4524,8 +4545,8 @@ var jt = function() {
4524
4545
  }
4525
4546
  }, e.prototype.forEach = function(t, i) {
4526
4547
  var r = this;
4527
- return i = Ft(i), new i(function(n, o) {
4528
- var s = new ht({
4548
+ return i = Gt(i), new i(function(n, o) {
4549
+ var s = new dt({
4529
4550
  next: function(a) {
4530
4551
  try {
4531
4552
  t(a);
@@ -4541,15 +4562,15 @@ var jt = function() {
4541
4562
  }, e.prototype._subscribe = function(t) {
4542
4563
  var i;
4543
4564
  return (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t);
4544
- }, e.prototype[Lo] = function() {
4565
+ }, e.prototype[To] = function() {
4545
4566
  return this;
4546
4567
  }, e.prototype.pipe = function() {
4547
4568
  for (var t = [], i = 0; i < arguments.length; i++)
4548
4569
  t[i] = arguments[i];
4549
- return To(t)(this);
4570
+ return So(t)(this);
4550
4571
  }, e.prototype.toPromise = function(t) {
4551
4572
  var i = this;
4552
- return t = Ft(t), new t(function(r, n) {
4573
+ return t = Gt(t), new t(function(r, n) {
4553
4574
  var o;
4554
4575
  i.subscribe(function(s) {
4555
4576
  return o = s;
@@ -4563,32 +4584,32 @@ var jt = function() {
4563
4584
  return new e(t);
4564
4585
  }, e;
4565
4586
  }();
4566
- function Ft(e) {
4587
+ function Gt(e) {
4567
4588
  var t;
4568
- return (t = e ?? ki.Promise) !== null && t !== void 0 ? t : Promise;
4589
+ return (t = e ?? yo.Promise) !== null && t !== void 0 ? t : Promise;
4569
4590
  }
4570
- function wo(e) {
4571
- return e && Y(e.next) && Y(e.error) && Y(e.complete);
4591
+ function Po(e) {
4592
+ return e && q(e.next) && q(e.error) && q(e.complete);
4572
4593
  }
4573
- function So(e) {
4574
- return e && e instanceof Ci || wo(e) && Mi(e);
4594
+ function Ao(e) {
4595
+ return e && e instanceof Di || Po(e) && Ci(e);
4575
4596
  }
4576
- var Po = Hi(function(e) {
4597
+ var Bo = Mi(function(e) {
4577
4598
  return function() {
4578
4599
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4579
4600
  };
4580
- }), Di = function(e) {
4581
- q(t, e);
4601
+ }), Ri = function(e) {
4602
+ Le(t, e);
4582
4603
  function t() {
4583
4604
  var i = e.call(this) || this;
4584
4605
  return i.closed = !1, i.currentObservers = null, i.observers = [], i.isStopped = !1, i.hasError = !1, i.thrownError = null, i;
4585
4606
  }
4586
4607
  return t.prototype.lift = function(i) {
4587
- var r = new $t(this, this);
4608
+ var r = new zt(this, this);
4588
4609
  return r.operator = i, r;
4589
4610
  }, t.prototype._throwIfClosed = function() {
4590
4611
  if (this.closed)
4591
- throw new Po();
4612
+ throw new Bo();
4592
4613
  }, t.prototype.next = function(i) {
4593
4614
  var r = this;
4594
4615
  Be(function() {
@@ -4596,7 +4617,7 @@ var Po = Hi(function(e) {
4596
4617
  if (r._throwIfClosed(), !r.isStopped) {
4597
4618
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
4598
4619
  try {
4599
- for (var s = et(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4620
+ for (var s = ht(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4600
4621
  var h = a.value;
4601
4622
  h.next(i);
4602
4623
  }
@@ -4645,20 +4666,20 @@ var Po = Hi(function(e) {
4645
4666
  return this._throwIfClosed(), this._checkFinalizedStatuses(i), this._innerSubscribe(i);
4646
4667
  }, t.prototype._innerSubscribe = function(i) {
4647
4668
  var r = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
4648
- return o || s ? Oi : (this.currentObservers = null, a.push(i), new Ue(function() {
4649
- r.currentObservers = null, ct(a, i);
4669
+ return o || s ? ki : (this.currentObservers = null, a.push(i), new $e(function() {
4670
+ r.currentObservers = null, pt(a, i);
4650
4671
  }));
4651
4672
  }, t.prototype._checkFinalizedStatuses = function(i) {
4652
4673
  var r = this, n = r.hasError, o = r.thrownError, s = r.isStopped;
4653
4674
  n ? i.error(o) : s && i.complete();
4654
4675
  }, t.prototype.asObservable = function() {
4655
- var i = new jt();
4676
+ var i = new Ft();
4656
4677
  return i.source = this, i;
4657
4678
  }, t.create = function(i, r) {
4658
- return new $t(i, r);
4679
+ return new zt(i, r);
4659
4680
  }, t;
4660
- }(jt), $t = function(e) {
4661
- q(t, e);
4681
+ }(Ft), zt = function(e) {
4682
+ Le(t, e);
4662
4683
  function t(i, r) {
4663
4684
  var n = e.call(this) || this;
4664
4685
  return n.destination = i, n.source = r, n;
@@ -4674,17 +4695,17 @@ var Po = Hi(function(e) {
4674
4695
  (r = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || r === void 0 || r.call(i);
4675
4696
  }, t.prototype._subscribe = function(i) {
4676
4697
  var r, n;
4677
- return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : Oi;
4698
+ return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : ki;
4678
4699
  }, t;
4679
- }(Di), Ri = {
4700
+ }(Ri), ji = {
4680
4701
  now: function() {
4681
- return (Ri.delegate || Date).now();
4702
+ return (ji.delegate || Date).now();
4682
4703
  },
4683
4704
  delegate: void 0
4684
- }, Ao = function(e) {
4685
- q(t, e);
4705
+ }, No = function(e) {
4706
+ Le(t, e);
4686
4707
  function t(i, r, n) {
4687
- i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = Ri);
4708
+ i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = ji);
4688
4709
  var o = e.call(this) || this;
4689
4710
  return o._bufferSize = i, o._windowTime = r, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, r), o;
4690
4711
  }
@@ -4704,24 +4725,24 @@ var Po = Hi(function(e) {
4704
4725
  l && o.splice(0, l + 1);
4705
4726
  }
4706
4727
  }, t;
4707
- }(Di);
4708
- const Gt = [], zt = {}, Bo = (e, t = 0) => {
4709
- if (Gt.indexOf(e) == -1) {
4710
- const i = new Ao(t);
4711
- zt[e] = i, Gt.push(e);
4728
+ }(Ri);
4729
+ const Wt = [], Vt = {}, Oo = (e, t = 0) => {
4730
+ if (Wt.indexOf(e) == -1) {
4731
+ const i = new No(t);
4732
+ Vt[e] = i, Wt.push(e);
4712
4733
  }
4713
- return zt[e];
4734
+ return Vt[e];
4714
4735
  };
4715
- window.emWidgets = { topic: Bo };
4716
- const No = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4736
+ window.emWidgets = { topic: Oo };
4737
+ const Io = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4717
4738
  String(Number.MAX_SAFE_INTEGER).length;
4718
- function Io(e, t) {
4739
+ function Ho(e, t) {
4719
4740
  if (e) {
4720
4741
  const i = document.createElement("style");
4721
4742
  i.innerHTML = t, e.appendChild(i);
4722
4743
  }
4723
4744
  }
4724
- function Ho(e, t) {
4745
+ function Mo(e, t) {
4725
4746
  if (!e || !t)
4726
4747
  return;
4727
4748
  const i = new URL(t);
@@ -4732,7 +4753,7 @@ function Ho(e, t) {
4732
4753
  console.error("There was an error while trying to load client styling from URL", r);
4733
4754
  });
4734
4755
  }
4735
- function Oo(e, t, i) {
4756
+ function ko(e, t, i) {
4736
4757
  if (window.emMessageBus) {
4737
4758
  const r = document.createElement("style");
4738
4759
  window.emMessageBus.subscribe(t, (n) => {
@@ -4740,31 +4761,31 @@ function Oo(e, t, i) {
4740
4761
  });
4741
4762
  }
4742
4763
  }
4743
- function Mo(e) {
4744
- or(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
4764
+ function Co(e) {
4765
+ sr(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
4745
4766
  }
4746
- function Wt(e, t, i) {
4767
+ function Xt(e, t, i) {
4747
4768
  const r = e.slice();
4748
4769
  return r[50] = t[i], r;
4749
4770
  }
4750
- function Vt(e, t, i) {
4771
+ function Zt(e, t, i) {
4751
4772
  const r = e.slice();
4752
4773
  return r[53] = t[i], r;
4753
4774
  }
4754
- function Xt(e, t, i) {
4775
+ function Yt(e, t, i) {
4755
4776
  const r = e.slice();
4756
4777
  return r[53] = t[i], r;
4757
4778
  }
4758
- function Zt(e, t, i) {
4779
+ function qt(e, t, i) {
4759
4780
  const r = e.slice();
4760
4781
  return r[58] = t[i], r;
4761
4782
  }
4762
- function Yt(e) {
4783
+ function Jt(e) {
4763
4784
  let t, i;
4764
4785
  function r(s, a) {
4765
4786
  return (
4766
4787
  /*popupReady*/
4767
- s[11] ? ko : Co
4788
+ s[11] ? Do : Ro
4768
4789
  );
4769
4790
  }
4770
4791
  let n = r(e), o = n(e);
@@ -4774,38 +4795,38 @@ function Yt(e) {
4774
4795
  (e[14] ? "Desktop" : "")), g(t, "class", "PopupOverlay");
4775
4796
  },
4776
4797
  m(s, a) {
4777
- I(s, t, a), d(t, i), o.m(i, null);
4798
+ N(s, t, a), d(t, i), o.m(i, null);
4778
4799
  },
4779
4800
  p(s, a) {
4780
4801
  n === (n = r(s)) && o ? o.p(s, a) : (o.d(1), o = n(s), o && (o.c(), o.m(i, null)));
4781
4802
  },
4782
4803
  d(s) {
4783
- s && N(t), o.d();
4804
+ s && B(t), o.d();
4784
4805
  }
4785
4806
  };
4786
4807
  }
4787
- function ko(e) {
4808
+ function Do(e) {
4788
4809
  let t, i, r = (
4789
4810
  /*$_*/
4790
4811
  e[13]("popupTitle") + ""
4791
- ), n, o, s, a, h, l, u, c, f, m, p, _, R, P = !/*limitError*/
4792
- e[9] && qt(e);
4812
+ ), n, o, s, a, h, l, u, c, m, f, p, _, R, S = !/*limitError*/
4813
+ e[9] && Qt(e);
4793
4814
  return {
4794
4815
  c() {
4795
- t = v("div"), i = v("span"), n = F(r), o = j(), s = v("button"), s.textContent = "X", a = j(), h = v("div"), l = v("div"), P && P.c(), u = j(), c = v("p"), f = F(
4816
+ t = v("div"), i = v("span"), n = $(r), o = U(), s = v("button"), s.textContent = "X", a = U(), h = v("div"), l = v("div"), S && S.c(), u = U(), c = v("p"), m = $(
4796
4817
  /*popupContent*/
4797
4818
  e[12]
4798
- ), m = j(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(l, "class", "ResultIconWrapper"), g(c, "class", "DescriptionParagraph"), g(h, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
4819
+ ), f = U(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(l, "class", "ResultIconWrapper"), g(c, "class", "DescriptionParagraph"), g(h, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
4799
4820
  },
4800
4821
  m(L, w) {
4801
- I(L, t, w), d(t, i), d(i, n), d(t, o), d(t, s), I(L, a, w), I(L, h, w), d(h, l), P && P.m(l, null), d(h, u), d(h, c), d(c, f), I(L, m, w), I(L, p, w), _ || (R = [
4802
- Z(
4822
+ N(L, t, w), d(t, i), d(i, n), d(t, o), d(t, s), N(L, a, w), N(L, h, w), d(h, l), S && S.m(l, null), d(h, u), d(h, c), d(c, m), N(L, f, w), N(L, p, w), _ || (R = [
4823
+ Y(
4803
4824
  s,
4804
4825
  "click",
4805
4826
  /*closePopup*/
4806
4827
  e[20]
4807
4828
  ),
4808
- Z(
4829
+ Y(
4809
4830
  p,
4810
4831
  "click",
4811
4832
  /*closePopup*/
@@ -4817,57 +4838,57 @@ function ko(e) {
4817
4838
  w[0] & /*$_*/
4818
4839
  8192 && r !== (r = /*$_*/
4819
4840
  L[13]("popupTitle") + "") && W(n, r), /*limitError*/
4820
- L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P = qt(L), P.c(), P.m(l, null)), w[0] & /*popupContent*/
4841
+ L[9] ? S && (S.d(1), S = null) : S ? S.p(L, w) : (S = Qt(L), S.c(), S.m(l, null)), w[0] & /*popupContent*/
4821
4842
  4096 && W(
4822
- f,
4843
+ m,
4823
4844
  /*popupContent*/
4824
4845
  L[12]
4825
4846
  );
4826
4847
  },
4827
4848
  d(L) {
4828
- L && (N(t), N(a), N(h), N(m), N(p)), P && P.d(), _ = !1, ee(R);
4849
+ L && (B(t), B(a), B(h), B(f), B(p)), S && S.d(), _ = !1, ee(R);
4829
4850
  }
4830
4851
  };
4831
4852
  }
4832
- function Co(e) {
4853
+ function Ro(e) {
4833
4854
  let t;
4834
4855
  return {
4835
4856
  c() {
4836
4857
  t = v("div"), g(t, "class", "LoadingIndicator");
4837
4858
  },
4838
4859
  m(i, r) {
4839
- I(i, t, r);
4860
+ N(i, t, r);
4840
4861
  },
4841
- p: U,
4862
+ p: j,
4842
4863
  d(i) {
4843
- i && N(t);
4864
+ i && B(t);
4844
4865
  }
4845
4866
  };
4846
4867
  }
4847
- function qt(e) {
4868
+ function Qt(e) {
4848
4869
  let t, i, r, n, o, s, a, h, l = (
4849
4870
  /*$_*/
4850
4871
  e[13]("popupSuccess") + ""
4851
4872
  ), u;
4852
4873
  return {
4853
4874
  c() {
4854
- t = pe("svg"), i = pe("defs"), r = pe("style"), n = F(`.fil0 {fill:black;fill-rule:nonzero}
4855
- `), o = pe("g"), s = pe("polygon"), a = j(), h = v("p"), u = F(l), g(r, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), Ge(t, "shape-rendering", "geometricPrecision"), Ge(t, "text-rendering", "geometricPrecision"), Ge(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
4875
+ t = me("svg"), i = me("defs"), r = me("style"), n = $(`.fil0 {fill:black;fill-rule:nonzero}
4876
+ `), o = me("g"), s = me("polygon"), a = U(), h = v("p"), u = $(l), g(r, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), We(t, "shape-rendering", "geometricPrecision"), We(t, "text-rendering", "geometricPrecision"), We(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
4856
4877
  },
4857
- m(c, f) {
4858
- I(c, t, f), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), I(c, a, f), I(c, h, f), d(h, u);
4878
+ m(c, m) {
4879
+ N(c, t, m), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), N(c, a, m), N(c, h, m), d(h, u);
4859
4880
  },
4860
- p(c, f) {
4861
- f[0] & /*$_*/
4881
+ p(c, m) {
4882
+ m[0] & /*$_*/
4862
4883
  8192 && l !== (l = /*$_*/
4863
4884
  c[13]("popupSuccess") + "") && W(u, l);
4864
4885
  },
4865
4886
  d(c) {
4866
- c && (N(t), N(a), N(h));
4887
+ c && (B(t), B(a), B(h));
4867
4888
  }
4868
4889
  };
4869
4890
  }
4870
- function Do(e) {
4891
+ function jo(e) {
4871
4892
  let t, i, r, n, o, s, a, h, l, u = (
4872
4893
  /*multiplePeriods*/
4873
4894
  e[6] ? `${/*$_*/
@@ -4876,59 +4897,59 @@ function Do(e) {
4876
4897
  e[13](`gamingLimits.${/*selectedPeriod*/
4877
4898
  e[2]}`)} ${/*$_*/
4878
4899
  e[13]("limit")}`
4879
- ), c, f, m, p, _, R = (
4900
+ ), c, m, f, p, _, R = (
4880
4901
  /*$_*/
4881
4902
  e[13]("setLimit") + ""
4882
- ), P, L, w, H = K(
4903
+ ), S, L, w, O = K(
4883
4904
  /*availableLimits*/
4884
4905
  e[15]
4885
- ), B = [];
4886
- for (let E = 0; E < H.length; E += 1)
4887
- B[E] = Qt(Xt(e, H, E));
4888
- let M = (
4906
+ ), A = [];
4907
+ for (let E = 0; E < O.length; E += 1)
4908
+ A[E] = ei(Yt(e, O, E));
4909
+ let H = (
4889
4910
  /*multipleLimits*/
4890
- e[5] && Kt(e)
4911
+ e[5] && ti(e)
4891
4912
  ), D = (
4892
4913
  /*multiplePeriods*/
4893
- e[6] && ti(e)
4914
+ e[6] && ri(e)
4894
4915
  );
4895
4916
  return {
4896
4917
  c() {
4897
4918
  t = v("div"), i = v("div"), r = v("div");
4898
- for (let E = 0; E < B.length; E += 1)
4899
- B[E].c();
4900
- n = j(), o = v("form"), M && M.c(), s = j(), D && D.c(), a = j(), h = v("label"), l = v("span"), c = F(u), f = j(), m = v("input"), p = j(), _ = v("button"), P = F(R), g(r, "class", "LimitsList " + /*isDesktop*/
4901
- (e[14] ? "Desktop" : "")), g(l, "class", "LimitInputText"), g(h, "class", "LimitAmountInputWrapper"), g(m, "type", "number"), g(m, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
4919
+ for (let E = 0; E < A.length; E += 1)
4920
+ A[E].c();
4921
+ n = U(), o = v("form"), H && H.c(), s = U(), D && D.c(), a = U(), h = v("label"), l = v("span"), c = $(u), m = U(), f = v("input"), p = U(), _ = v("button"), S = $(R), g(r, "class", "LimitsList " + /*isDesktop*/
4922
+ (e[14] ? "Desktop" : "")), g(l, "class", "LimitInputText"), g(h, "class", "LimitAmountInputWrapper"), g(f, "type", "number"), g(f, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
4902
4923
  (e[14] ? "Desktop" : "")), g(i, "class", "LimitsPageContainer"), g(t, "class", "player-account-gaming-limits-page-2-gmcore");
4903
4924
  },
4904
4925
  m(E, G) {
4905
- I(E, t, G), d(t, i), d(i, r);
4906
- for (let k = 0; k < B.length; k += 1)
4907
- B[k] && B[k].m(r, null);
4908
- d(i, n), d(i, o), M && M.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, h), d(h, l), d(l, c), d(o, f), d(o, m), ge(
4909
- m,
4926
+ N(E, t, G), d(t, i), d(i, r);
4927
+ for (let M = 0; M < A.length; M += 1)
4928
+ A[M] && A[M].m(r, null);
4929
+ d(i, n), d(i, o), H && H.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, h), d(h, l), d(l, c), d(o, m), d(o, f), be(
4930
+ f,
4910
4931
  /*inputAmount*/
4911
4932
  e[3]
4912
- ), d(o, p), d(o, _), d(_, P), e[35](_), L || (w = [
4913
- Z(
4914
- m,
4933
+ ), d(o, p), d(o, _), d(_, S), e[35](_), L || (w = [
4934
+ Y(
4935
+ f,
4915
4936
  "input",
4916
4937
  /*input_input_handler*/
4917
4938
  e[34]
4918
4939
  ),
4919
- Z(
4920
- m,
4940
+ Y(
4941
+ f,
4921
4942
  "keyup",
4922
4943
  /*updateInputValue*/
4923
4944
  e[18]
4924
4945
  ),
4925
- Z(
4946
+ Y(
4926
4947
  _,
4927
4948
  "click",
4928
4949
  /*updateLimits*/
4929
4950
  e[17]
4930
4951
  ),
4931
- Z(
4952
+ Y(
4932
4953
  o,
4933
4954
  "submit",
4934
4955
  /*updateLimits*/
@@ -4939,22 +4960,22 @@ function Do(e) {
4939
4960
  p(E, G) {
4940
4961
  if (G[0] & /*isDesktop, availableLimits, removeLimit, $_*/
4941
4962
  581632) {
4942
- H = K(
4963
+ O = K(
4943
4964
  /*availableLimits*/
4944
4965
  E[15]
4945
4966
  );
4946
- let k;
4947
- for (k = 0; k < H.length; k += 1) {
4948
- const J = Xt(E, H, k);
4949
- B[k] ? B[k].p(J, G) : (B[k] = Qt(J), B[k].c(), B[k].m(r, null));
4967
+ let M;
4968
+ for (M = 0; M < O.length; M += 1) {
4969
+ const J = Yt(E, O, M);
4970
+ A[M] ? A[M].p(J, G) : (A[M] = ei(J), A[M].c(), A[M].m(r, null));
4950
4971
  }
4951
- for (; k < B.length; k += 1)
4952
- B[k].d(1);
4953
- B.length = H.length;
4972
+ for (; M < A.length; M += 1)
4973
+ A[M].d(1);
4974
+ A.length = O.length;
4954
4975
  }
4955
4976
  /*multipleLimits*/
4956
- E[5] ? M ? M.p(E, G) : (M = Kt(E), M.c(), M.m(o, s)) : M && (M.d(1), M = null), /*multiplePeriods*/
4957
- E[6] ? D ? D.p(E, G) : (D = ti(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
4977
+ E[5] ? H ? H.p(E, G) : (H = ti(E), H.c(), H.m(o, s)) : H && (H.d(1), H = null), /*multiplePeriods*/
4978
+ E[6] ? D ? D.p(E, G) : (D = ri(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
4958
4979
  8260 && u !== (u = /*multiplePeriods*/
4959
4980
  E[6] ? `${/*$_*/
4960
4981
  E[13]("amount")}` : `${/*$_*/
@@ -4962,64 +4983,64 @@ function Do(e) {
4962
4983
  E[13](`gamingLimits.${/*selectedPeriod*/
4963
4984
  E[2]}`)} ${/*$_*/
4964
4985
  E[13]("limit")}`) && W(c, u), G[0] & /*inputAmount*/
4965
- 8 && si(m.value) !== /*inputAmount*/
4966
- E[3] && ge(
4967
- m,
4986
+ 8 && ui(f.value) !== /*inputAmount*/
4987
+ E[3] && be(
4988
+ f,
4968
4989
  /*inputAmount*/
4969
4990
  E[3]
4970
4991
  ), G[0] & /*$_*/
4971
4992
  8192 && R !== (R = /*$_*/
4972
- E[13]("setLimit") + "") && W(P, R);
4993
+ E[13]("setLimit") + "") && W(S, R);
4973
4994
  },
4974
4995
  d(E) {
4975
- E && N(t), Me(B, E), M && M.d(), D && D.d(), e[35](null), L = !1, ee(w);
4996
+ E && B(t), ke(A, E), H && H.d(), D && D.d(), e[35](null), L = !1, ee(w);
4976
4997
  }
4977
4998
  };
4978
4999
  }
4979
- function Ro(e) {
5000
+ function Uo(e) {
4980
5001
  let t;
4981
5002
  return {
4982
5003
  c() {
4983
5004
  t = v("p"), t.textContent = "500 Server error";
4984
5005
  },
4985
5006
  m(i, r) {
4986
- I(i, t, r);
5007
+ N(i, t, r);
4987
5008
  },
4988
- p: U,
5009
+ p: j,
4989
5010
  d(i) {
4990
- i && N(t);
5011
+ i && B(t);
4991
5012
  }
4992
5013
  };
4993
5014
  }
4994
- function Uo(e) {
4995
- return { c: U, m: U, p: U, d: U };
5015
+ function $o(e) {
5016
+ return { c: j, m: j, p: j, d: j };
4996
5017
  }
4997
- function jo(e) {
5018
+ function Fo(e) {
4998
5019
  let t;
4999
5020
  return {
5000
5021
  c() {
5001
5022
  t = v("div"), g(t, "class", "LoadingIndicator");
5002
5023
  },
5003
5024
  m(i, r) {
5004
- I(i, t, r);
5025
+ N(i, t, r);
5005
5026
  },
5006
- p: U,
5027
+ p: j,
5007
5028
  d(i) {
5008
- i && N(t);
5029
+ i && B(t);
5009
5030
  }
5010
5031
  };
5011
5032
  }
5012
- function Fo(e) {
5033
+ function Go(e) {
5013
5034
  let t, i, r, n = (
5014
5035
  /*$_*/
5015
5036
  e[13]("noLimitText") + ""
5016
5037
  ), o;
5017
5038
  return {
5018
5039
  c() {
5019
- t = v("div"), i = v("div"), r = v("div"), o = F(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
5040
+ t = v("div"), i = v("div"), r = v("div"), o = $(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
5020
5041
  },
5021
5042
  m(s, a) {
5022
- I(s, t, a), d(t, i), d(i, r), d(r, o);
5043
+ N(s, t, a), d(t, i), d(i, r), d(r, o);
5023
5044
  },
5024
5045
  p(s, a) {
5025
5046
  a[0] & /*$_*/
@@ -5027,27 +5048,27 @@ function Fo(e) {
5027
5048
  s[13]("noLimitText") + "") && W(o, n);
5028
5049
  },
5029
5050
  d(s) {
5030
- s && N(t);
5051
+ s && B(t);
5031
5052
  }
5032
5053
  };
5033
5054
  }
5034
- function $o(e) {
5055
+ function zo(e) {
5035
5056
  let t, i = K(
5036
5057
  /*limit*/
5037
5058
  e[53].currentLimits
5038
5059
  ), r = [];
5039
5060
  for (let n = 0; n < i.length; n += 1)
5040
- r[n] = Jt(Zt(e, i, n));
5061
+ r[n] = Kt(qt(e, i, n));
5041
5062
  return {
5042
5063
  c() {
5043
5064
  for (let n = 0; n < r.length; n += 1)
5044
5065
  r[n].c();
5045
- t = ur();
5066
+ t = lr();
5046
5067
  },
5047
5068
  m(n, o) {
5048
5069
  for (let s = 0; s < r.length; s += 1)
5049
5070
  r[s] && r[s].m(n, o);
5050
- I(n, t, o);
5071
+ N(n, t, o);
5051
5072
  },
5052
5073
  p(n, o) {
5053
5074
  if (o[0] & /*removeLimit, availableLimits, $_*/
@@ -5058,8 +5079,8 @@ function $o(e) {
5058
5079
  );
5059
5080
  let s;
5060
5081
  for (s = 0; s < i.length; s += 1) {
5061
- const a = Zt(n, i, s);
5062
- r[s] ? r[s].p(a, o) : (r[s] = Jt(a), r[s].c(), r[s].m(t.parentNode, t));
5082
+ const a = qt(n, i, s);
5083
+ r[s] ? r[s].p(a, o) : (r[s] = Kt(a), r[s].c(), r[s].m(t.parentNode, t));
5063
5084
  }
5064
5085
  for (; s < r.length; s += 1)
5065
5086
  r[s].d(1);
@@ -5067,20 +5088,20 @@ function $o(e) {
5067
5088
  }
5068
5089
  },
5069
5090
  d(n) {
5070
- n && N(t), Me(r, n);
5091
+ n && B(t), ke(r, n);
5071
5092
  }
5072
5093
  };
5073
5094
  }
5074
- function Go(e) {
5095
+ function Wo(e) {
5075
5096
  let t, i = `${/*$_*/
5076
5097
  e[13]("removedLimitText")} ${/*currentLimit*/
5077
5098
  e[58].expiryDate}`, r;
5078
5099
  return {
5079
5100
  c() {
5080
- t = v("div"), r = F(i), g(t, "class", "PendingLimit");
5101
+ t = v("div"), r = $(i), g(t, "class", "PendingLimit");
5081
5102
  },
5082
5103
  m(n, o) {
5083
- I(n, t, o), d(t, r);
5104
+ N(n, t, o), d(t, r);
5084
5105
  },
5085
5106
  p(n, o) {
5086
5107
  o[0] & /*$_*/
@@ -5089,11 +5110,11 @@ function Go(e) {
5089
5110
  n[58].expiryDate}`) && W(r, i);
5090
5111
  },
5091
5112
  d(n) {
5092
- n && N(t);
5113
+ n && B(t);
5093
5114
  }
5094
5115
  };
5095
5116
  }
5096
- function zo(e) {
5117
+ function Vo(e) {
5097
5118
  let t, i = `${/*currentLimit*/
5098
5119
  e[58].updateAmount}${/*currentLimit*/
5099
5120
  e[58].currency} ${/*$_*/
@@ -5103,10 +5124,10 @@ function zo(e) {
5103
5124
  e[58].expiryDate}`, r;
5104
5125
  return {
5105
5126
  c() {
5106
- t = v("div"), r = F(i), g(t, "class", "PendingLimit");
5127
+ t = v("div"), r = $(i), g(t, "class", "PendingLimit");
5107
5128
  },
5108
5129
  m(n, o) {
5109
- I(n, t, o), d(t, r);
5130
+ N(n, t, o), d(t, r);
5110
5131
  },
5111
5132
  p(n, o) {
5112
5133
  o[0] & /*$_*/
@@ -5119,11 +5140,11 @@ function zo(e) {
5119
5140
  n[58].expiryDate}`) && W(r, i);
5120
5141
  },
5121
5142
  d(n) {
5122
- n && N(t);
5143
+ n && B(t);
5123
5144
  }
5124
5145
  };
5125
5146
  }
5126
- function Wo(e) {
5147
+ function Xo(e) {
5127
5148
  let t, i = (
5128
5149
  /*$_*/
5129
5150
  e[13]("gamingLimits.removeLimit") + ""
@@ -5139,10 +5160,10 @@ function Wo(e) {
5139
5160
  }
5140
5161
  return {
5141
5162
  c() {
5142
- t = v("button"), r = F(i), g(t, "class", "RemoveLimitButton");
5163
+ t = v("button"), r = $(i), g(t, "class", "RemoveLimitButton");
5143
5164
  },
5144
5165
  m(a, h) {
5145
- I(a, t, h), d(t, r), n || (o = Z(t, "click", s), n = !0);
5166
+ N(a, t, h), d(t, r), n || (o = Y(t, "click", s), n = !0);
5146
5167
  },
5147
5168
  p(a, h) {
5148
5169
  e = a, h[0] & /*$_*/
@@ -5150,53 +5171,53 @@ function Wo(e) {
5150
5171
  e[13]("gamingLimits.removeLimit") + "") && W(r, i);
5151
5172
  },
5152
5173
  d(a) {
5153
- a && N(t), n = !1, o();
5174
+ a && B(t), n = !1, o();
5154
5175
  }
5155
5176
  };
5156
5177
  }
5157
- function Jt(e) {
5178
+ function Kt(e) {
5158
5179
  let t, i, r, n = `${/*currentLimit*/
5159
5180
  e[58].amount}${/*currentLimit*/
5160
5181
  e[58].currency} ${/*$_*/
5161
5182
  e[13](`gamingLimits.${/*currentLimit*/
5162
5183
  e[58].period}`)}`, o, s, a, h;
5163
- function l(m, p) {
5184
+ function l(f, p) {
5164
5185
  if (
5165
5186
  /*currentLimit*/
5166
- m[58].isModified && /*currentLimit*/
5167
- m[58].updateAmount != "-1"
5187
+ f[58].isModified && /*currentLimit*/
5188
+ f[58].updateAmount != "-1"
5168
5189
  )
5169
- return zo;
5190
+ return Vo;
5170
5191
  if (
5171
5192
  /*currentLimit*/
5172
- m[58].isModified
5193
+ f[58].isModified
5173
5194
  )
5174
- return Go;
5195
+ return Wo;
5175
5196
  }
5176
- let u = l(e), c = u && u(e), f = !/*currentLimit*/
5177
- e[58].isModified && Wo(e);
5197
+ let u = l(e), c = u && u(e), m = !/*currentLimit*/
5198
+ e[58].isModified && Xo(e);
5178
5199
  return {
5179
5200
  c() {
5180
- t = v("div"), i = v("div"), r = v("div"), o = F(n), s = j(), c && c.c(), a = j(), f && f.c(), h = j(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
5201
+ t = v("div"), i = v("div"), r = v("div"), o = $(n), s = U(), c && c.c(), a = U(), m && m.c(), h = U(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
5181
5202
  },
5182
- m(m, p) {
5183
- I(m, t, p), d(t, i), d(i, r), d(r, o), d(i, s), c && c.m(i, null), d(t, a), f && f.m(t, null), d(t, h);
5203
+ m(f, p) {
5204
+ N(f, t, p), d(t, i), d(i, r), d(r, o), d(i, s), c && c.m(i, null), d(t, a), m && m.m(t, null), d(t, h);
5184
5205
  },
5185
- p(m, p) {
5206
+ p(f, p) {
5186
5207
  p[0] & /*$_*/
5187
5208
  8192 && n !== (n = `${/*currentLimit*/
5188
- m[58].amount}${/*currentLimit*/
5189
- m[58].currency} ${/*$_*/
5190
- m[13](`gamingLimits.${/*currentLimit*/
5191
- m[58].period}`)}`) && W(o, n), c && c.p(m, p), /*currentLimit*/
5192
- m[58].isModified || f.p(m, p);
5209
+ f[58].amount}${/*currentLimit*/
5210
+ f[58].currency} ${/*$_*/
5211
+ f[13](`gamingLimits.${/*currentLimit*/
5212
+ f[58].period}`)}`) && W(o, n), c && c.p(f, p), /*currentLimit*/
5213
+ f[58].isModified || m.p(f, p);
5193
5214
  },
5194
- d(m) {
5195
- m && N(t), c && c.d(), f && f.d();
5215
+ d(f) {
5216
+ f && B(t), c && c.d(), m && m.d();
5196
5217
  }
5197
5218
  };
5198
5219
  }
5199
- function Qt(e) {
5220
+ function ei(e) {
5200
5221
  let t, i, r = (
5201
5222
  /*$_*/
5202
5223
  e[13](`gamingLimits.${/*limit*/
@@ -5205,17 +5226,17 @@ function Qt(e) {
5205
5226
  function a(u, c) {
5206
5227
  return (
5207
5228
  /*limit*/
5208
- u[53].currentLimits.length > 0 ? $o : Fo
5229
+ u[53].currentLimits.length > 0 ? zo : Go
5209
5230
  );
5210
5231
  }
5211
5232
  let l = a(e)(e);
5212
5233
  return {
5213
5234
  c() {
5214
- t = v("div"), i = v("p"), n = F(r), o = j(), l.c(), s = j(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
5235
+ t = v("div"), i = v("p"), n = $(r), o = U(), l.c(), s = U(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
5215
5236
  (e[14] ? "Desktop" : ""));
5216
5237
  },
5217
5238
  m(u, c) {
5218
- I(u, t, c), d(t, i), d(i, n), d(t, o), l.m(t, null), d(t, s);
5239
+ N(u, t, c), d(t, i), d(i, n), d(t, o), l.m(t, null), d(t, s);
5219
5240
  },
5220
5241
  p(u, c) {
5221
5242
  c[0] & /*$_*/
@@ -5224,11 +5245,11 @@ function Qt(e) {
5224
5245
  u[53].value}`) + "") && W(n, r), l.p(u, c);
5225
5246
  },
5226
5247
  d(u) {
5227
- u && N(t), l.d();
5248
+ u && B(t), l.d();
5228
5249
  }
5229
5250
  };
5230
5251
  }
5231
- function Kt(e) {
5252
+ function ti(e) {
5232
5253
  let t, i, r = (
5233
5254
  /*$_*/
5234
5255
  e[13]("limitType") + ""
@@ -5237,35 +5258,35 @@ function Kt(e) {
5237
5258
  e[15]
5238
5259
  ), u = [];
5239
5260
  for (let c = 0; c < l.length; c += 1)
5240
- u[c] = ei(Vt(e, l, c));
5261
+ u[c] = ii(Zt(e, l, c));
5241
5262
  return {
5242
5263
  c() {
5243
- t = v("label"), i = v("span"), n = F(r), o = j(), s = v("select");
5264
+ t = v("label"), i = v("span"), n = $(r), o = U(), s = v("select");
5244
5265
  for (let c = 0; c < u.length; c += 1)
5245
5266
  u[c].c();
5246
5267
  g(i, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedLimit*/
5247
- e[1] === void 0 && ve(() => (
5268
+ e[1] === void 0 && ye(() => (
5248
5269
  /*select_change_handler*/
5249
5270
  e[32].call(s)
5250
5271
  )), g(t, "class", "LimitTypeDropdownWrapper");
5251
5272
  },
5252
- m(c, f) {
5253
- I(c, t, f), d(t, i), d(i, n), d(t, o), d(t, s);
5254
- for (let m = 0; m < u.length; m += 1)
5255
- u[m] && u[m].m(s, null);
5273
+ m(c, m) {
5274
+ N(c, t, m), d(t, i), d(i, n), d(t, o), d(t, s);
5275
+ for (let f = 0; f < u.length; f += 1)
5276
+ u[f] && u[f].m(s, null);
5256
5277
  Ne(
5257
5278
  s,
5258
5279
  /*selectedLimit*/
5259
5280
  e[1],
5260
5281
  !0
5261
5282
  ), a || (h = [
5262
- Z(
5283
+ Y(
5263
5284
  s,
5264
5285
  "change",
5265
5286
  /*select_change_handler*/
5266
5287
  e[32]
5267
5288
  ),
5268
- Z(
5289
+ Y(
5269
5290
  s,
5270
5291
  "change",
5271
5292
  /*updateLimitSelection*/
@@ -5273,25 +5294,25 @@ function Kt(e) {
5273
5294
  )
5274
5295
  ], a = !0);
5275
5296
  },
5276
- p(c, f) {
5277
- if (f[0] & /*$_*/
5297
+ p(c, m) {
5298
+ if (m[0] & /*$_*/
5278
5299
  8192 && r !== (r = /*$_*/
5279
- c[13]("limitType") + "") && W(n, r), f[0] & /*availableLimits*/
5300
+ c[13]("limitType") + "") && W(n, r), m[0] & /*availableLimits*/
5280
5301
  32768) {
5281
5302
  l = K(
5282
5303
  /*availableLimits*/
5283
5304
  c[15]
5284
5305
  );
5285
- let m;
5286
- for (m = 0; m < l.length; m += 1) {
5287
- const p = Vt(c, l, m);
5288
- u[m] ? u[m].p(p, f) : (u[m] = ei(p), u[m].c(), u[m].m(s, null));
5306
+ let f;
5307
+ for (f = 0; f < l.length; f += 1) {
5308
+ const p = Zt(c, l, f);
5309
+ u[f] ? u[f].p(p, m) : (u[f] = ii(p), u[f].c(), u[f].m(s, null));
5289
5310
  }
5290
- for (; m < u.length; m += 1)
5291
- u[m].d(1);
5311
+ for (; f < u.length; f += 1)
5312
+ u[f].d(1);
5292
5313
  u.length = l.length;
5293
5314
  }
5294
- f[0] & /*selectedLimit, availableLimits*/
5315
+ m[0] & /*selectedLimit, availableLimits*/
5295
5316
  32770 && Ne(
5296
5317
  s,
5297
5318
  /*selectedLimit*/
@@ -5299,30 +5320,30 @@ function Kt(e) {
5299
5320
  );
5300
5321
  },
5301
5322
  d(c) {
5302
- c && N(t), Me(u, c), a = !1, ee(h);
5323
+ c && B(t), ke(u, c), a = !1, ee(h);
5303
5324
  }
5304
5325
  };
5305
5326
  }
5306
- function ei(e) {
5327
+ function ii(e) {
5307
5328
  let t, i = (
5308
5329
  /*limit*/
5309
5330
  e[53].title + ""
5310
5331
  ), r;
5311
5332
  return {
5312
5333
  c() {
5313
- t = v("option"), r = F(i), t.__value = /*limit*/
5314
- e[53].value, ge(t, t.__value);
5334
+ t = v("option"), r = $(i), t.__value = /*limit*/
5335
+ e[53].value, be(t, t.__value);
5315
5336
  },
5316
5337
  m(n, o) {
5317
- I(n, t, o), d(t, r);
5338
+ N(n, t, o), d(t, r);
5318
5339
  },
5319
- p: U,
5340
+ p: j,
5320
5341
  d(n) {
5321
- n && N(t);
5342
+ n && B(t);
5322
5343
  }
5323
5344
  };
5324
5345
  }
5325
- function ti(e) {
5346
+ function ri(e) {
5326
5347
  let t, i, r = (
5327
5348
  /*$_*/
5328
5349
  e[13]("period") + ""
@@ -5331,53 +5352,53 @@ function ti(e) {
5331
5352
  e[1]
5332
5353
  ].periods), u = [];
5333
5354
  for (let c = 0; c < l.length; c += 1)
5334
- u[c] = ii(Wt(e, l, c));
5355
+ u[c] = ni(Xt(e, l, c));
5335
5356
  return {
5336
5357
  c() {
5337
- t = v("label"), i = v("span"), n = F(r), o = j(), s = v("select");
5358
+ t = v("label"), i = v("span"), n = $(r), o = U(), s = v("select");
5338
5359
  for (let c = 0; c < u.length; c += 1)
5339
5360
  u[c].c();
5340
5361
  g(i, "class", "PeriodSelectText"), g(t, "class", "LimitPeriodDropdownWrapper"), g(s, "name", ""), g(s, "id", ""), /*selectedPeriod*/
5341
- e[2] === void 0 && ve(() => (
5362
+ e[2] === void 0 && ye(() => (
5342
5363
  /*select_change_handler_1*/
5343
5364
  e[33].call(s)
5344
5365
  ));
5345
5366
  },
5346
- m(c, f) {
5347
- I(c, t, f), d(t, i), d(i, n), I(c, o, f), I(c, s, f);
5348
- for (let m = 0; m < u.length; m += 1)
5349
- u[m] && u[m].m(s, null);
5367
+ m(c, m) {
5368
+ N(c, t, m), d(t, i), d(i, n), N(c, o, m), N(c, s, m);
5369
+ for (let f = 0; f < u.length; f += 1)
5370
+ u[f] && u[f].m(s, null);
5350
5371
  Ne(
5351
5372
  s,
5352
5373
  /*selectedPeriod*/
5353
5374
  e[2],
5354
5375
  !0
5355
- ), a || (h = Z(
5376
+ ), a || (h = Y(
5356
5377
  s,
5357
5378
  "change",
5358
5379
  /*select_change_handler_1*/
5359
5380
  e[33]
5360
5381
  ), a = !0);
5361
5382
  },
5362
- p(c, f) {
5363
- if (f[0] & /*$_*/
5383
+ p(c, m) {
5384
+ if (m[0] & /*$_*/
5364
5385
  8192 && r !== (r = /*$_*/
5365
- c[13]("period") + "") && W(n, r), f[0] & /*selectedLimit, $_*/
5386
+ c[13]("period") + "") && W(n, r), m[0] & /*selectedLimit, $_*/
5366
5387
  8194) {
5367
5388
  l = K(X[
5368
5389
  /*selectedLimit*/
5369
5390
  c[1]
5370
5391
  ].periods);
5371
- let m;
5372
- for (m = 0; m < l.length; m += 1) {
5373
- const p = Wt(c, l, m);
5374
- u[m] ? u[m].p(p, f) : (u[m] = ii(p), u[m].c(), u[m].m(s, null));
5392
+ let f;
5393
+ for (f = 0; f < l.length; f += 1) {
5394
+ const p = Xt(c, l, f);
5395
+ u[f] ? u[f].p(p, m) : (u[f] = ni(p), u[f].c(), u[f].m(s, null));
5375
5396
  }
5376
- for (; m < u.length; m += 1)
5377
- u[m].d(1);
5397
+ for (; f < u.length; f += 1)
5398
+ u[f].d(1);
5378
5399
  u.length = l.length;
5379
5400
  }
5380
- f[0] & /*selectedPeriod, selectedLimit*/
5401
+ m[0] & /*selectedPeriod, selectedLimit*/
5381
5402
  6 && Ne(
5382
5403
  s,
5383
5404
  /*selectedPeriod*/
@@ -5385,11 +5406,11 @@ function ti(e) {
5385
5406
  );
5386
5407
  },
5387
5408
  d(c) {
5388
- c && (N(t), N(o), N(s)), Me(u, c), a = !1, h();
5409
+ c && (B(t), B(o), B(s)), ke(u, c), a = !1, h();
5389
5410
  }
5390
5411
  };
5391
5412
  }
5392
- function ii(e) {
5413
+ function ni(e) {
5393
5414
  let t, i = (
5394
5415
  /*$_*/
5395
5416
  e[13](`gamingLimits.${/*period*/
@@ -5397,11 +5418,11 @@ function ii(e) {
5397
5418
  ), r, n;
5398
5419
  return {
5399
5420
  c() {
5400
- t = v("option"), r = F(i), t.__value = n = /*period*/
5401
- e[50], ge(t, t.__value), t.selected = !0;
5421
+ t = v("option"), r = $(i), t.__value = n = /*period*/
5422
+ e[50], be(t, t.__value), t.selected = !0;
5402
5423
  },
5403
5424
  m(o, s) {
5404
- I(o, t, s), d(t, r);
5425
+ N(o, t, s), d(t, r);
5405
5426
  },
5406
5427
  p(o, s) {
5407
5428
  s[0] & /*$_, selectedLimit*/
@@ -5409,27 +5430,27 @@ function ii(e) {
5409
5430
  o[13](`gamingLimits.${/*period*/
5410
5431
  o[50]}`) + "") && W(r, i), s[0] & /*selectedLimit, availableLimits*/
5411
5432
  32770 && n !== (n = /*period*/
5412
- o[50]) && (t.__value = n, ge(t, t.__value));
5433
+ o[50]) && (t.__value = n, be(t, t.__value));
5413
5434
  },
5414
5435
  d(o) {
5415
- o && N(t);
5436
+ o && B(t);
5416
5437
  }
5417
5438
  };
5418
5439
  }
5419
- function Vo(e) {
5440
+ function Zo(e) {
5420
5441
  let t, i, r = (
5421
5442
  /*popupVisible*/
5422
- e[10] && Yt(e)
5443
+ e[10] && Jt(e)
5423
5444
  );
5424
5445
  function n(a, h) {
5425
5446
  return (
5426
5447
  /*isLoading*/
5427
5448
  a[7] && !/*popupVisible*/
5428
- a[10] ? jo : (
5449
+ a[10] ? Fo : (
5429
5450
  /*isLoading*/
5430
- a[7] ? Uo : (
5451
+ a[7] ? $o : (
5431
5452
  /*fetchError*/
5432
- a[8] ? Ro : Do
5453
+ a[8] ? Uo : jo
5433
5454
  )
5434
5455
  )
5435
5456
  );
@@ -5437,48 +5458,48 @@ function Vo(e) {
5437
5458
  let o = n(e), s = o(e);
5438
5459
  return {
5439
5460
  c() {
5440
- t = v("div"), r && r.c(), i = j(), s.c();
5461
+ t = v("div"), r && r.c(), i = U(), s.c();
5441
5462
  },
5442
5463
  m(a, h) {
5443
- I(a, t, h), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
5464
+ N(a, t, h), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
5444
5465
  },
5445
5466
  p(a, h) {
5446
5467
  /*popupVisible*/
5447
- a[10] ? r ? r.p(a, h) : (r = Yt(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, h) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
5468
+ a[10] ? r ? r.p(a, h) : (r = Jt(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, h) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
5448
5469
  },
5449
- i: U,
5450
- o: U,
5470
+ i: j,
5471
+ o: j,
5451
5472
  d(a) {
5452
- a && N(t), r && r.d(), s.d(), e[36](null);
5473
+ a && B(t), r && r.d(), s.d(), e[36](null);
5453
5474
  }
5454
5475
  };
5455
5476
  }
5456
- function Xo(e, t, i) {
5477
+ function Yo(e, t, i) {
5457
5478
  let r;
5458
- nr(e, fo, (b) => i(13, r = b));
5459
- let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: h = "" } = t, { endpoint: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, p, _ = window.navigator.userAgent, R = !No(_), P = [], L = "", w = "", H, B, M = !1, D = !1, E = !0, G = !1, k = !1, J = !1, je = !1, Fe = "", xe;
5460
- const gt = { EUR: "€", RON: " lei" }, Ui = {
5479
+ or(e, bo, (b) => i(13, r = b));
5480
+ let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: h = "" } = t, { endpoint: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: m = "" } = t, { mbsource: f } = t, p, _ = window.navigator.userAgent, R = !Io(_), S = [], L = "", w = "", O, A, H = !1, D = !1, E = !0, G = !1, M = !1, J = !1, Fe = !1, Ge = "", xe;
5481
+ const vt = { EUR: "€", RON: " lei" }, Ui = {
5461
5482
  updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
5462
- }, ji = () => {
5463
- fetch(f).then((y) => y.json()).then((y) => {
5464
- Object.keys(y).forEach((C) => {
5465
- Ct(C, y[C]);
5483
+ }, $i = () => {
5484
+ fetch(m).then((y) => y.json()).then((y) => {
5485
+ Object.keys(y).forEach((k) => {
5486
+ Rt(k, y[k]);
5466
5487
  });
5467
5488
  }).catch((y) => {
5468
5489
  console.log(y);
5469
5490
  });
5470
5491
  };
5471
- Object.keys(Dt).forEach((b) => {
5472
- Ct(b, Dt[b]);
5492
+ Object.keys(jt).forEach((b) => {
5493
+ Rt(b, jt[b]);
5473
5494
  });
5474
5495
  const Fi = () => {
5475
5496
  s.split(" ").forEach((y) => {
5476
- X[y] ? P.push(X[y]) : console.error(`Unknown limit: ${y}`);
5477
- }), i(1, L = P[0].value), i(2, w = X[L].periods[0]), i(5, M = P.length > 1), i(6, D = X[L].periods.length > 1);
5478
- }, $i = () => {
5479
- i(2, w = X[L].periods[0]), i(6, D = X[L].periods.length > 1);
5497
+ X[y] ? S.push(X[y]) : console.error(`Unknown limit: ${y}`);
5498
+ }), i(1, L = S[0].value), i(2, w = X[L].periods[0]), i(5, H = S.length > 1), i(6, D = X[L].periods.length > 1);
5480
5499
  }, Gi = () => {
5481
- if (!(H > 0))
5500
+ i(2, w = X[L].periods[0]), i(6, D = X[L].periods.length > 1);
5501
+ }, zi = () => {
5502
+ if (!(O > 0))
5482
5503
  return;
5483
5504
  i(10, J = !0), i(7, E = !0);
5484
5505
  let b = new URL(`/v2/player/${h}/limits`, l);
@@ -5486,11 +5507,11 @@ function Xo(e, t, i) {
5486
5507
  y[X[L].callValue] = [
5487
5508
  {
5488
5509
  period: w,
5489
- amount: H,
5510
+ amount: O,
5490
5511
  currency: o
5491
5512
  }
5492
5513
  ];
5493
- let C = {
5514
+ let k = {
5494
5515
  method: "PUT",
5495
5516
  headers: {
5496
5517
  "X-SessionID": a,
@@ -5499,20 +5520,20 @@ function Xo(e, t, i) {
5499
5520
  },
5500
5521
  body: JSON.stringify(y)
5501
5522
  };
5502
- fetch(b.href, C).then((A) => (A.status >= 300 && i(9, k = !0), A.json())).then((A) => {
5503
- $e(), k && zi(A);
5504
- }).catch((A) => {
5505
- console.log(A), i(7, E = !1), i(8, G = !0);
5523
+ fetch(b.href, k).then((P) => (P.status >= 300 && i(9, M = !0), P.json())).then((P) => {
5524
+ ze(), M && Wi(P);
5525
+ }).catch((P) => {
5526
+ console.log(P), i(7, E = !1), i(8, G = !0);
5506
5527
  });
5507
- }, zi = (b) => {
5528
+ }, Wi = (b) => {
5508
5529
  const y = b.error.match(/errorCode:(.*)\)/)[1];
5509
5530
  console.error(`API response error: ${y}`);
5510
- let C;
5511
- for (const [A, $] of Object.entries(Ui))
5512
- $.includes(y) && (C = r(`gamingLimits.${A}`));
5513
- C = C ?? r("gamingLimits.genericError"), yt(y, C);
5514
- }, $e = () => {
5515
- let b = new URL(`/v2/player/${h}/limits`, l), y = !k, C = {
5531
+ let k;
5532
+ for (const [P, F] of Object.entries(Ui))
5533
+ F.includes(y) && (k = r(`gamingLimits.${P}`));
5534
+ k = k ?? r("gamingLimits.genericError"), _t(y, k);
5535
+ }, ze = () => {
5536
+ let b = new URL(`/v2/player/${h}/limits`, l), y = !M, k = {
5516
5537
  method: "GET",
5517
5538
  headers: {
5518
5539
  "X-SessionID": a,
@@ -5520,47 +5541,47 @@ function Xo(e, t, i) {
5520
5541
  Accept: "application/json"
5521
5542
  }
5522
5543
  };
5523
- fetch(b.href, C).then((A) => {
5524
- if (A.status >= 300)
5544
+ fetch(b.href, k).then((P) => {
5545
+ if (P.status >= 300)
5525
5546
  throw i(7, E = !1), i(8, G = !0), new Error("There was an error fetching the limits");
5526
- return A.json();
5527
- }).then((A) => {
5528
- xe = A, J && y && yt(), Wi(xe), i(7, E = !1), i(3, H = null);
5529
- }).catch((A) => {
5530
- console.log(A), i(7, E = !1), i(8, G = !0);
5531
- });
5532
- }, Wi = (b) => {
5533
- P.forEach((y) => {
5534
- y.currentLimits = [], b[X[y.value].callValue]?.forEach((C, A) => {
5535
- const $ = b[X[y.value].callValue][A];
5536
- y.currentLimits.push({}), y.currentLimits[A].limitType = y.value, y.currentLimits[A].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format($.amount), y.currentLimits[A].currency = gt[$.currency] ?? $.currency, y.currentLimits[A].period = $.period, y.currentLimits[A].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format($.updateAmount), y.currentLimits[A].isModified = $.isModified, y.currentLimits[A].expiryDate = `${new Date($.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
5537
- }), y.currentLimits = Vi(y.currentLimits);
5547
+ return P.json();
5548
+ }).then((P) => {
5549
+ xe = P, J && y && _t(), Vi(xe), i(7, E = !1), i(3, O = null);
5550
+ }).catch((P) => {
5551
+ console.log(P), i(7, E = !1), i(8, G = !0);
5538
5552
  });
5539
5553
  }, Vi = (b) => {
5554
+ S.forEach((y) => {
5555
+ y.currentLimits = [], b[X[y.value].callValue]?.forEach((k, P) => {
5556
+ const F = b[X[y.value].callValue][P];
5557
+ y.currentLimits.push({}), y.currentLimits[P].limitType = y.value, y.currentLimits[P].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(F.amount), y.currentLimits[P].currency = vt[F.currency] ?? F.currency, y.currentLimits[P].period = F.period, y.currentLimits[P].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(F.updateAmount), y.currentLimits[P].isModified = F.isModified, y.currentLimits[P].expiryDate = `${new Date(F.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
5558
+ }), y.currentLimits = Xi(y.currentLimits);
5559
+ });
5560
+ }, Xi = (b) => {
5540
5561
  const y = { Daily: 0, Weekly: 1, Monthly: 2 };
5541
- return b.sort((C, A) => y[C.period] - y[A.period]), b;
5542
- }, Xi = () => {
5543
- H > 999999999999999 && i(3, H = 999999999999999);
5544
- const y = H - Math.floor(H) === 0;
5545
- H > 0 && y ? B.removeAttribute("disabled") : B.setAttribute("disabled", "true");
5546
- }, yt = (b, y) => {
5562
+ return b.sort((k, P) => y[k.period] - y[P.period]), b;
5563
+ }, Zi = () => {
5564
+ O > 999999999999999 && i(3, O = 999999999999999);
5565
+ const y = O - Math.floor(O) === 0;
5566
+ O > 0 && y ? A.removeAttribute("disabled") : A.setAttribute("disabled", "true");
5567
+ }, _t = (b, y) => {
5547
5568
  if (b)
5548
- i(12, Fe = y);
5569
+ i(12, Ge = y);
5549
5570
  else if (xe) {
5550
- const C = xe[X[L].callValue].filter((ir) => ir.period === w)[0], A = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(C.amount);
5551
- let $ = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", A).replace("{currency}", gt[C.currency] || C.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
5552
- i(12, Fe = C.isModified ? `${r("popupPendingUpdate")} ${new Date(C.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : $);
5571
+ const k = xe[X[L].callValue].filter((rr) => rr.period === w)[0], P = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(k.amount);
5572
+ let F = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", P).replace("{currency}", vt[k.currency] || k.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
5573
+ i(12, Ge = k.isModified ? `${r("popupPendingUpdate")} ${new Date(k.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : F);
5553
5574
  } else
5554
5575
  console.error("Couldn't populate popupContent");
5555
- i(11, je = !0);
5556
- }, vt = (b) => {
5576
+ i(11, Fe = !0);
5577
+ }, Et = (b) => {
5557
5578
  const y = {
5558
5579
  wager: "wagering",
5559
5580
  loss: "loss",
5560
5581
  deposit: "deposit"
5561
5582
  };
5562
5583
  i(10, J = !0), i(7, E = !0);
5563
- let C = new URL(`/v2/player/${h}/limits/${y[b.limitType]}?periods=${b.period}`, l), A = {
5584
+ let k = new URL(`/v2/player/${h}/limits/${y[b.limitType]}?periods=${b.period}`, l), P = {
5564
5585
  method: "DELETE",
5565
5586
  headers: {
5566
5587
  "X-SessionID": a,
@@ -5568,71 +5589,71 @@ function Xo(e, t, i) {
5568
5589
  Accept: "application/json"
5569
5590
  }
5570
5591
  };
5571
- fetch(C.href, A).then(($) => $.json()).then(($) => {
5572
- $e();
5573
- }).catch(($) => {
5574
- console.log($), i(7, E = !1), i(8, G = !0);
5592
+ fetch(k.href, P).then((F) => F.json()).then((F) => {
5593
+ ze();
5594
+ }).catch((F) => {
5595
+ console.log(F), i(7, E = !1), i(8, G = !0);
5575
5596
  });
5576
- }, Zi = () => {
5577
- i(11, je = i(10, J = !1));
5578
5597
  }, Yi = () => {
5579
- po(n);
5598
+ i(11, Fe = i(10, J = !1));
5599
+ }, qi = () => {
5600
+ go(n);
5580
5601
  };
5581
5602
  mr(() => () => {
5582
5603
  });
5583
- const qi = (b) => vt(b);
5584
- function Ji() {
5585
- L = Et(this), i(1, L), i(15, P);
5586
- }
5604
+ const Ji = (b) => Et(b);
5587
5605
  function Qi() {
5588
- w = Et(this), i(2, w), i(1, L);
5606
+ L = xt(this), i(1, L), i(15, S);
5589
5607
  }
5590
5608
  function Ki() {
5591
- H = si(this.value), i(3, H);
5609
+ w = xt(this), i(2, w), i(1, L);
5592
5610
  }
5593
- function er(b) {
5594
- Ie[b ? "unshift" : "push"](() => {
5595
- B = b, i(4, B);
5596
- });
5611
+ function er() {
5612
+ O = ui(this.value), i(3, O);
5597
5613
  }
5598
5614
  function tr(b) {
5599
- Ie[b ? "unshift" : "push"](() => {
5615
+ Oe[b ? "unshift" : "push"](() => {
5616
+ A = b, i(4, A);
5617
+ });
5618
+ }
5619
+ function ir(b) {
5620
+ Oe[b ? "unshift" : "push"](() => {
5600
5621
  p = b, i(0, p);
5601
5622
  });
5602
5623
  }
5603
5624
  return e.$$set = (b) => {
5604
- "lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, h = b.userid), "endpoint" in b && i(26, l = b.endpoint), "clientstyling" in b && i(27, u = b.clientstyling), "clientstylingurl" in b && i(28, c = b.clientstylingurl), "translationurl" in b && i(29, f = b.translationurl), "mbsource" in b && i(30, m = b.mbsource);
5625
+ "lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, h = b.userid), "endpoint" in b && i(26, l = b.endpoint), "clientstyling" in b && i(27, u = b.clientstyling), "clientstylingurl" in b && i(28, c = b.clientstylingurl), "translationurl" in b && i(29, m = b.translationurl), "mbsource" in b && i(30, f = b.mbsource);
5605
5626
  }, e.$$.update = () => {
5606
5627
  e.$$.dirty[0] & /*limits*/
5607
5628
  8388608 && s && Fi(), e.$$.dirty[0] & /*lang*/
5608
- 2097152 && n && Yi(), e.$$.dirty[0] & /*userid, session, endpoint*/
5609
- 117440512 && h && a && l && $e(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5610
- 134217729 && u && p && Io(p, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5611
- 268435457 && c && p && Ho(p, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5612
- 1073741825 && m && p && Oo(p, `${m}.Style`), e.$$.dirty[0] & /*translationurl*/
5613
- 536870912 && f && ji();
5629
+ 2097152 && n && qi(), e.$$.dirty[0] & /*userid, session, endpoint*/
5630
+ 117440512 && h && a && l && ze(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5631
+ 134217729 && u && p && Ho(p, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5632
+ 268435457 && c && p && Mo(p, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5633
+ 1073741825 && f && p && ko(p, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5634
+ 536870912 && m && $i();
5614
5635
  }, [
5615
5636
  p,
5616
5637
  L,
5617
5638
  w,
5639
+ O,
5640
+ A,
5618
5641
  H,
5619
- B,
5620
- M,
5621
5642
  D,
5622
5643
  E,
5623
5644
  G,
5624
- k,
5645
+ M,
5625
5646
  J,
5626
- je,
5627
5647
  Fe,
5648
+ Ge,
5628
5649
  r,
5629
5650
  R,
5630
- P,
5631
- $i,
5651
+ S,
5632
5652
  Gi,
5633
- Xi,
5634
- vt,
5653
+ zi,
5635
5654
  Zi,
5655
+ Et,
5656
+ Yi,
5636
5657
  n,
5637
5658
  o,
5638
5659
  s,
@@ -5641,24 +5662,24 @@ function Xo(e, t, i) {
5641
5662
  l,
5642
5663
  u,
5643
5664
  c,
5644
- f,
5645
5665
  m,
5646
- qi,
5666
+ f,
5647
5667
  Ji,
5648
5668
  Qi,
5649
5669
  Ki,
5650
5670
  er,
5651
- tr
5671
+ tr,
5672
+ ir
5652
5673
  ];
5653
5674
  }
5654
- class Zo extends Tr {
5675
+ class qo extends wr {
5655
5676
  constructor(t) {
5656
- super(), Lr(
5677
+ super(), xr(
5657
5678
  this,
5658
5679
  t,
5659
- Xo,
5660
- Vo,
5661
- ni,
5680
+ Yo,
5681
+ Zo,
5682
+ si,
5662
5683
  {
5663
5684
  lang: 21,
5664
5685
  currency: 22,
@@ -5671,7 +5692,7 @@ class Zo extends Tr {
5671
5692
  translationurl: 29,
5672
5693
  mbsource: 30
5673
5694
  },
5674
- Mo,
5695
+ Co,
5675
5696
  [-1, -1]
5676
5697
  );
5677
5698
  }
@@ -5736,7 +5757,7 @@ class Zo extends Tr {
5736
5757
  this.$$set({ mbsource: t }), V();
5737
5758
  }
5738
5759
  }
5739
- xr(Zo, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5760
+ Tr(qo, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5740
5761
  export {
5741
- Zo as P
5762
+ qo as P
5742
5763
  };