@everymatrix/player-active-bonuses 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function q() {
2
2
  }
3
- function Qt(e) {
3
+ function Kt(e) {
4
4
  return e();
5
5
  }
6
- function gt() {
6
+ function Bt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ie(e) {
10
- e.forEach(Qt);
10
+ e.forEach(Kt);
11
11
  }
12
- function dt(e) {
12
+ function pt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Jt(e, t) {
15
+ function en(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Pe;
19
- function Ho(e, t) {
19
+ function No(e, t) {
20
20
  return e === t ? !0 : (Pe || (Pe = document.createElement("a")), Pe.href = t, e === Pe.href);
21
21
  }
22
- function Wn(e) {
22
+ function Zn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Yt(e, ...t) {
25
+ function tn(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const r of t)
28
28
  r(void 0);
@@ -31,21 +31,22 @@ function Yt(e, ...t) {
31
31
  const n = e.subscribe(...t);
32
32
  return n.unsubscribe ? () => n.unsubscribe() : n;
33
33
  }
34
- function Vn(e, t, n) {
35
- e.$$.on_destroy.push(Yt(t, n));
34
+ function qn(e, t, n) {
35
+ e.$$.on_destroy.push(tn(t, n));
36
36
  }
37
37
  function v(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function zn(e, t, n) {
41
- const r = Xn(e);
40
+ function Qn(e, t, n) {
41
+ const r = Jn(e);
42
42
  if (!r.getElementById(t)) {
43
43
  const i = P("style");
44
- i.id = t, i.textContent = n, Zn(r, i);
44
+ i.id = t, i.textContent = n, Yn(r, i);
45
45
  }
46
46
  }
47
- function Xn(e) {
48
- if (!e) return document;
47
+ function Jn(e) {
48
+ if (!e)
49
+ return document;
49
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
50
51
  return t && /** @type {ShadowRoot} */
51
52
  t.host ? (
@@ -53,7 +54,7 @@ function Xn(e) {
53
54
  t
54
55
  ) : e.ownerDocument;
55
56
  }
56
- function Zn(e, t) {
57
+ function Yn(e, t) {
57
58
  return v(
58
59
  /** @type {Document} */
59
60
  e.head || e,
@@ -66,7 +67,7 @@ function W(e, t, n) {
66
67
  function U(e) {
67
68
  e.parentNode && e.parentNode.removeChild(e);
68
69
  }
69
- function Kt(e, t) {
70
+ function nn(e, t) {
70
71
  for (let n = 0; n < e.length; n += 1)
71
72
  e[n] && e[n].d(t);
72
73
  }
@@ -82,7 +83,7 @@ function D(e) {
82
83
  function j() {
83
84
  return D(" ");
84
85
  }
85
- function pt() {
86
+ function mt() {
86
87
  return D("");
87
88
  }
88
89
  function Z(e, t, n, r) {
@@ -95,17 +96,17 @@ function m(e, t, n) {
95
96
  const r = t.toLowerCase();
96
97
  r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : B(e, t, n);
97
98
  }
98
- function qn(e) {
99
+ function Kn(e) {
99
100
  return Array.from(e.childNodes);
100
101
  }
101
102
  function K(e, t) {
102
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
103
104
  t);
104
105
  }
105
- function yt(e, t) {
106
+ function Et(e, t) {
106
107
  e.value = t ?? "";
107
108
  }
108
- function Qn(e) {
109
+ function er(e) {
109
110
  const t = {};
110
111
  return e.childNodes.forEach(
111
112
  /** @param {Element} node */
@@ -118,21 +119,22 @@ let Ee;
118
119
  function Be(e) {
119
120
  Ee = e;
120
121
  }
121
- function Jn() {
122
- if (!Ee) throw new Error("Function called outside component initialization");
122
+ function tr() {
123
+ if (!Ee)
124
+ throw new Error("Function called outside component initialization");
123
125
  return Ee;
124
126
  }
125
- function Yn(e) {
126
- Jn().$$.on_mount.push(e);
127
+ function nr(e) {
128
+ tr().$$.on_mount.push(e);
127
129
  }
128
- const ce = [], Je = [];
130
+ const ce = [], Ye = [];
129
131
  let he = [];
130
- const _t = [], Kn = /* @__PURE__ */ Promise.resolve();
131
- let Ye = !1;
132
- function er() {
133
- Ye || (Ye = !0, Kn.then(X));
132
+ const xt = [], rr = /* @__PURE__ */ Promise.resolve();
133
+ let Ke = !1;
134
+ function ir() {
135
+ Ke || (Ke = !0, rr.then(X));
134
136
  }
135
- function Ke(e) {
137
+ function et(e) {
136
138
  he.push(e);
137
139
  }
138
140
  const We = /* @__PURE__ */ new Set();
@@ -145,55 +147,56 @@ function X() {
145
147
  try {
146
148
  for (; ue < ce.length; ) {
147
149
  const t = ce[ue];
148
- ue++, Be(t), tr(t.$$);
150
+ ue++, Be(t), or(t.$$);
149
151
  }
150
152
  } catch (t) {
151
153
  throw ce.length = 0, ue = 0, t;
152
154
  }
153
- for (Be(null), ce.length = 0, ue = 0; Je.length; ) Je.pop()();
155
+ for (Be(null), ce.length = 0, ue = 0; Ye.length; )
156
+ Ye.pop()();
154
157
  for (let t = 0; t < he.length; t += 1) {
155
158
  const n = he[t];
156
159
  We.has(n) || (We.add(n), n());
157
160
  }
158
161
  he.length = 0;
159
162
  } while (ce.length);
160
- for (; _t.length; )
161
- _t.pop()();
162
- Ye = !1, We.clear(), Be(e);
163
+ for (; xt.length; )
164
+ xt.pop()();
165
+ Ke = !1, We.clear(), Be(e);
163
166
  }
164
- function tr(e) {
167
+ function or(e) {
165
168
  if (e.fragment !== null) {
166
169
  e.update(), ie(e.before_update);
167
170
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
169
172
  }
170
173
  }
171
- function nr(e) {
174
+ function sr(e) {
172
175
  const t = [], n = [];
173
176
  he.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), he = t;
174
177
  }
175
- const rr = /* @__PURE__ */ new Set();
176
- function ir(e, t) {
177
- e && e.i && (rr.delete(e), e.i(t));
178
+ const ar = /* @__PURE__ */ new Set();
179
+ function ur(e, t) {
180
+ e && e.i && (ar.delete(e), e.i(t));
178
181
  }
179
182
  function Re(e) {
180
183
  return e?.length !== void 0 ? e : Array.from(e);
181
184
  }
182
- function or(e, t, n) {
185
+ function lr(e, t, n) {
183
186
  const { fragment: r, after_update: i } = e.$$;
184
- r && r.m(t, n), Ke(() => {
185
- const o = e.$$.on_mount.map(Qt).filter(dt);
187
+ r && r.m(t, n), et(() => {
188
+ const o = e.$$.on_mount.map(Kt).filter(pt);
186
189
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
187
- }), i.forEach(Ke);
190
+ }), i.forEach(et);
188
191
  }
189
- function sr(e, t) {
192
+ function cr(e, t) {
190
193
  const n = e.$$;
191
- n.fragment !== null && (nr(n.after_update), ie(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
194
+ n.fragment !== null && (sr(n.after_update), ie(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
192
195
  }
193
- function ar(e, t) {
194
- e.$$.dirty[0] === -1 && (ce.push(e), er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function hr(e, t) {
197
+ e.$$.dirty[0] === -1 && (ce.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
198
  }
196
- function ur(e, t, n, r, i, o, s = null, a = [-1]) {
199
+ function fr(e, t, n, r, i, o, s = null, a = [-1]) {
197
200
  const l = Ee;
198
201
  Be(e);
199
202
  const u = e.$$ = {
@@ -203,7 +206,7 @@ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
203
206
  props: o,
204
207
  update: q,
205
208
  not_equal: i,
206
- bound: gt(),
209
+ bound: Bt(),
207
210
  // lifecycle
208
211
  on_mount: [],
209
212
  on_destroy: [],
@@ -212,7 +215,7 @@ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
212
215
  after_update: [],
213
216
  context: new Map(t.context || (l ? l.$$.context : [])),
214
217
  // everything else
215
- callbacks: gt(),
218
+ callbacks: Bt(),
216
219
  dirty: a,
217
220
  skip_bound: !1,
218
221
  root: t.target || l.$$.root
@@ -221,19 +224,19 @@ function ur(e, t, n, r, i, o, s = null, a = [-1]) {
221
224
  let c = !1;
222
225
  if (u.ctx = n ? n(e, t.props || {}, (h, f, ...p) => {
223
226
  const b = p.length ? p[0] : f;
224
- return u.ctx && i(u.ctx[h], u.ctx[h] = b) && (!u.skip_bound && u.bound[h] && u.bound[h](b), c && ar(e, h)), f;
227
+ return u.ctx && i(u.ctx[h], u.ctx[h] = b) && (!u.skip_bound && u.bound[h] && u.bound[h](b), c && hr(e, h)), f;
225
228
  }) : [], u.update(), c = !0, ie(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
226
229
  if (t.hydrate) {
227
- const h = qn(t.target);
230
+ const h = Kn(t.target);
228
231
  u.fragment && u.fragment.l(h), h.forEach(U);
229
232
  } else
230
233
  u.fragment && u.fragment.c();
231
- t.intro && ir(e.$$.fragment), or(e, t.target, t.anchor), X();
234
+ t.intro && ur(e.$$.fragment), lr(e, t.target, t.anchor), X();
232
235
  }
233
236
  Be(l);
234
237
  }
235
- let en;
236
- typeof HTMLElement == "function" && (en = class extends HTMLElement {
238
+ let rn;
239
+ typeof HTMLElement == "function" && (rn = class extends HTMLElement {
237
240
  /** The Svelte component constructor */
238
241
  $$ctor;
239
242
  /** Slots */
@@ -292,7 +295,7 @@ typeof HTMLElement == "function" && (en = class extends HTMLElement {
292
295
  };
293
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
297
  return;
295
- const t = {}, n = Qn(this);
298
+ const t = {}, n = er(this);
296
299
  for (const i of this.$$s)
297
300
  i in n && (t[i] = [e(i)]);
298
301
  for (const i of this.attributes) {
@@ -379,8 +382,8 @@ function Ie(e, t, n, r) {
379
382
  return t;
380
383
  }
381
384
  }
382
- function lr(e, t, n, r, i, o) {
383
- let s = class extends en {
385
+ function dr(e, t, n, r, i, o) {
386
+ let s = class extends rn {
384
387
  constructor() {
385
388
  super(e, n, i), this.$$p_d = t;
386
389
  }
@@ -408,7 +411,7 @@ function lr(e, t, n, r, i, o) {
408
411
  }), e.element = /** @type {any} */
409
412
  s, s;
410
413
  }
411
- class cr {
414
+ class pr {
412
415
  /**
413
416
  * ### PRIVATE API
414
417
  *
@@ -427,7 +430,7 @@ class cr {
427
430
  $$set = void 0;
428
431
  /** @returns {void} */
429
432
  $destroy() {
430
- sr(this, 1), this.$destroy = q;
433
+ cr(this, 1), this.$destroy = q;
431
434
  }
432
435
  /**
433
436
  * @template {Extract<keyof Events, string>} K
@@ -436,7 +439,7 @@ class cr {
436
439
  * @returns {() => void}
437
440
  */
438
441
  $on(t, n) {
439
- if (!dt(n))
442
+ if (!pt(n))
440
443
  return q;
441
444
  const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
442
445
  return r.push(n), () => {
@@ -449,22 +452,37 @@ class cr {
449
452
  * @returns {void}
450
453
  */
451
454
  $set(t) {
452
- this.$$set && !Wn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Zn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
456
  }
454
457
  }
455
- const hr = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(hr);
457
- var et = function(e, t) {
458
- return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
458
+ const mr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mr);
460
+ /*! *****************************************************************************
461
+ Copyright (c) Microsoft Corporation.
462
+
463
+ Permission to use, copy, modify, and/or distribute this software for any
464
+ purpose with or without fee is hereby granted.
465
+
466
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
467
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
468
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
469
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
470
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
471
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
472
+ PERFORMANCE OF THIS SOFTWARE.
473
+ ***************************************************************************** */
474
+ var tt = function(e, t) {
475
+ return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
459
476
  n.__proto__ = r;
460
477
  } || function(n, r) {
461
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
462
- }, et(e, t);
478
+ for (var i in r)
479
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
480
+ }, tt(e, t);
463
481
  };
464
482
  function te(e, t) {
465
483
  if (typeof t != "function" && t !== null)
466
484
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
467
- et(e, t);
485
+ tt(e, t);
468
486
  function n() {
469
487
  this.constructor = e;
470
488
  }
@@ -474,61 +492,69 @@ var A = function() {
474
492
  return A = Object.assign || function(t) {
475
493
  for (var n, r = 1, i = arguments.length; r < i; r++) {
476
494
  n = arguments[r];
477
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
495
+ for (var o in n)
496
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
478
497
  }
479
498
  return t;
480
499
  }, A.apply(this, arguments);
481
500
  };
482
- function fr(e, t) {
501
+ function br(e, t) {
483
502
  var n = {};
484
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
503
+ for (var r in e)
504
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
485
505
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
486
506
  for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
487
507
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
488
508
  return n;
489
509
  }
490
- function tt(e) {
510
+ function nt(e) {
491
511
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
492
- if (n) return n.call(e);
493
- if (e && typeof e.length == "number") return {
494
- next: function() {
495
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
496
- }
497
- };
512
+ if (n)
513
+ return n.call(e);
514
+ if (e && typeof e.length == "number")
515
+ return {
516
+ next: function() {
517
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
518
+ }
519
+ };
498
520
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
499
521
  }
500
- function nt(e, t) {
522
+ function rt(e, t) {
501
523
  var n = typeof Symbol == "function" && e[Symbol.iterator];
502
- if (!n) return e;
524
+ if (!n)
525
+ return e;
503
526
  var r = n.call(e), i, o = [], s;
504
527
  try {
505
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; ) o.push(i.value);
528
+ for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
529
+ o.push(i.value);
506
530
  } catch (a) {
507
531
  s = { error: a };
508
532
  } finally {
509
533
  try {
510
534
  i && !i.done && (n = r.return) && n.call(r);
511
535
  } finally {
512
- if (s) throw s.error;
536
+ if (s)
537
+ throw s.error;
513
538
  }
514
539
  }
515
540
  return o;
516
541
  }
517
542
  function fe(e, t, n) {
518
- if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
519
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
520
- return e.concat(o || Array.prototype.slice.call(t));
543
+ if (n || arguments.length === 2)
544
+ for (var r = 0, i = t.length, o; r < i; r++)
545
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
546
+ return e.concat(o || t);
521
547
  }
522
548
  function ee(e) {
523
549
  return typeof e == "function";
524
550
  }
525
- function tn(e) {
551
+ function on(e) {
526
552
  var t = function(r) {
527
553
  Error.call(r), r.stack = new Error().stack;
528
554
  }, n = e(t);
529
555
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
530
556
  }
531
- var Ve = tn(function(e) {
557
+ var Ve = on(function(e) {
532
558
  return function(n) {
533
559
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
534
560
  ` + n.map(function(r, i) {
@@ -537,7 +563,7 @@ var Ve = tn(function(e) {
537
563
  `) : "", this.name = "UnsubscriptionError", this.errors = n;
538
564
  };
539
565
  });
540
- function rt(e, t) {
566
+ function it(e, t) {
541
567
  if (e) {
542
568
  var n = e.indexOf(t);
543
569
  0 <= n && e.splice(n, 1);
@@ -555,7 +581,7 @@ var Fe = function() {
555
581
  if (s)
556
582
  if (this._parentage = null, Array.isArray(s))
557
583
  try {
558
- for (var a = tt(s), l = a.next(); !l.done; l = a.next()) {
584
+ for (var a = nt(s), l = a.next(); !l.done; l = a.next()) {
559
585
  var u = l.value;
560
586
  u.remove(this);
561
587
  }
@@ -565,7 +591,8 @@ var Fe = function() {
565
591
  try {
566
592
  l && !l.done && (n = a.return) && n.call(a);
567
593
  } finally {
568
- if (t) throw t.error;
594
+ if (t)
595
+ throw t.error;
569
596
  }
570
597
  }
571
598
  else
@@ -581,12 +608,12 @@ var Fe = function() {
581
608
  if (h) {
582
609
  this._finalizers = null;
583
610
  try {
584
- for (var f = tt(h), p = f.next(); !p.done; p = f.next()) {
611
+ for (var f = nt(h), p = f.next(); !p.done; p = f.next()) {
585
612
  var b = p.value;
586
613
  try {
587
- Bt(b);
614
+ wt(b);
588
615
  } catch (d) {
589
- o = o ?? [], d instanceof Ve ? o = fe(fe([], nt(o)), nt(d.errors)) : o.push(d);
616
+ o = o ?? [], d instanceof Ve ? o = fe(fe([], rt(o)), rt(d.errors)) : o.push(d);
590
617
  }
591
618
  }
592
619
  } catch (d) {
@@ -595,7 +622,8 @@ var Fe = function() {
595
622
  try {
596
623
  p && !p.done && (i = f.return) && i.call(f);
597
624
  } finally {
598
- if (r) throw r.error;
625
+ if (r)
626
+ throw r.error;
599
627
  }
600
628
  }
601
629
  }
@@ -606,7 +634,7 @@ var Fe = function() {
606
634
  var n;
607
635
  if (t && t !== this)
608
636
  if (this.closed)
609
- Bt(t);
637
+ wt(t);
610
638
  else {
611
639
  if (t instanceof e) {
612
640
  if (t.closed || t._hasParent(this))
@@ -623,52 +651,56 @@ var Fe = function() {
623
651
  this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
624
652
  }, e.prototype._removeParent = function(t) {
625
653
  var n = this._parentage;
626
- n === t ? this._parentage = null : Array.isArray(n) && rt(n, t);
654
+ n === t ? this._parentage = null : Array.isArray(n) && it(n, t);
627
655
  }, e.prototype.remove = function(t) {
628
656
  var n = this._finalizers;
629
- n && rt(n, t), t instanceof e && t._removeParent(this);
657
+ n && it(n, t), t instanceof e && t._removeParent(this);
630
658
  }, e.EMPTY = function() {
631
659
  var t = new e();
632
660
  return t.closed = !0, t;
633
661
  }(), e;
634
- }(), nn = Fe.EMPTY;
635
- function rn(e) {
662
+ }(), sn = Fe.EMPTY;
663
+ function an(e) {
636
664
  return e instanceof Fe || e && "closed" in e && ee(e.remove) && ee(e.add) && ee(e.unsubscribe);
637
665
  }
638
- function Bt(e) {
666
+ function wt(e) {
639
667
  ee(e) ? e() : e.unsubscribe();
640
668
  }
641
- var dr = {
642
- Promise: void 0
643
- }, pr = {
669
+ var un = {
670
+ onUnhandledError: null,
671
+ onStoppedNotification: null,
672
+ Promise: void 0,
673
+ useDeprecatedSynchronousErrorHandling: !1,
674
+ useDeprecatedNextContext: !1
675
+ }, vr = {
644
676
  setTimeout: function(e, t) {
645
677
  for (var n = [], r = 2; r < arguments.length; r++)
646
678
  n[r - 2] = arguments[r];
647
- return setTimeout.apply(void 0, fe([e, t], nt(n)));
679
+ return setTimeout.apply(void 0, fe([e, t], rt(n)));
648
680
  },
649
681
  clearTimeout: function(e) {
650
682
  return clearTimeout(e);
651
683
  },
652
684
  delegate: void 0
653
685
  };
654
- function mr(e) {
655
- pr.setTimeout(function() {
686
+ function gr(e) {
687
+ vr.setTimeout(function() {
656
688
  throw e;
657
689
  });
658
690
  }
659
- function Et() {
691
+ function Ct() {
660
692
  }
661
693
  function Oe(e) {
662
694
  e();
663
695
  }
664
- var on = function(e) {
696
+ var ln = function(e) {
665
697
  te(t, e);
666
698
  function t(n) {
667
699
  var r = e.call(this) || this;
668
- return r.isStopped = !1, n ? (r.destination = n, rn(n) && n.add(r)) : r.destination = gr, r;
700
+ return r.isStopped = !1, n ? (r.destination = n, an(n) && n.add(r)) : r.destination = Er, r;
669
701
  }
670
702
  return t.create = function(n, r, i) {
671
- return new it(n, r, i);
703
+ return new ot(n, r, i);
672
704
  }, t.prototype.next = function(n) {
673
705
  this.isStopped || this._next(n);
674
706
  }, t.prototype.error = function(n) {
@@ -692,7 +724,11 @@ var on = function(e) {
692
724
  this.unsubscribe();
693
725
  }
694
726
  }, t;
695
- }(Fe), br = function() {
727
+ }(Fe), yr = Function.prototype.bind;
728
+ function ze(e, t) {
729
+ return yr.call(e, t);
730
+ }
731
+ var _r = function() {
696
732
  function e(t) {
697
733
  this.partialObserver = t;
698
734
  }
@@ -723,43 +759,55 @@ var on = function(e) {
723
759
  Me(n);
724
760
  }
725
761
  }, e;
726
- }(), it = function(e) {
762
+ }(), ot = function(e) {
727
763
  te(t, e);
728
764
  function t(n, r, i) {
729
765
  var o = e.call(this) || this, s;
730
- return ee(n) || !n ? s = {
731
- next: n ?? void 0,
732
- error: r ?? void 0,
733
- complete: i ?? void 0
734
- } : s = n, o.destination = new br(s), o;
766
+ if (ee(n) || !n)
767
+ s = {
768
+ next: n ?? void 0,
769
+ error: r ?? void 0,
770
+ complete: i ?? void 0
771
+ };
772
+ else {
773
+ var a;
774
+ o && un.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
775
+ return o.unsubscribe();
776
+ }, s = {
777
+ next: n.next && ze(n.next, a),
778
+ error: n.error && ze(n.error, a),
779
+ complete: n.complete && ze(n.complete, a)
780
+ }) : s = n;
781
+ }
782
+ return o.destination = new _r(s), o;
735
783
  }
736
784
  return t;
737
- }(on);
785
+ }(ln);
738
786
  function Me(e) {
739
- mr(e);
787
+ gr(e);
740
788
  }
741
- function vr(e) {
789
+ function Br(e) {
742
790
  throw e;
743
791
  }
744
- var gr = {
792
+ var Er = {
745
793
  closed: !0,
746
- next: Et,
747
- error: vr,
748
- complete: Et
749
- }, yr = function() {
794
+ next: Ct,
795
+ error: Br,
796
+ complete: Ct
797
+ }, xr = function() {
750
798
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
751
799
  }();
752
- function _r(e) {
800
+ function wr(e) {
753
801
  return e;
754
802
  }
755
- function Br(e) {
756
- return e.length === 0 ? _r : e.length === 1 ? e[0] : function(n) {
803
+ function Cr(e) {
804
+ return e.length === 0 ? wr : e.length === 1 ? e[0] : function(n) {
757
805
  return e.reduce(function(r, i) {
758
806
  return i(r);
759
807
  }, n);
760
808
  };
761
809
  }
762
- var xt = function() {
810
+ var St = function() {
763
811
  function e(t) {
764
812
  t && (this._subscribe = t);
765
813
  }
@@ -767,7 +815,7 @@ var xt = function() {
767
815
  var n = new e();
768
816
  return n.source = this, n.operator = t, n;
769
817
  }, e.prototype.subscribe = function(t, n, r) {
770
- var i = this, o = xr(t) ? t : new it(t, n, r);
818
+ var i = this, o = Ar(t) ? t : new ot(t, n, r);
771
819
  return Oe(function() {
772
820
  var s = i, a = s.operator, l = s.source;
773
821
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -780,8 +828,8 @@ var xt = function() {
780
828
  }
781
829
  }, e.prototype.forEach = function(t, n) {
782
830
  var r = this;
783
- return n = wt(n), new n(function(i, o) {
784
- var s = new it({
831
+ return n = At(n), new n(function(i, o) {
832
+ var s = new ot({
785
833
  next: function(a) {
786
834
  try {
787
835
  t(a);
@@ -797,15 +845,15 @@ var xt = function() {
797
845
  }, e.prototype._subscribe = function(t) {
798
846
  var n;
799
847
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
800
- }, e.prototype[yr] = function() {
848
+ }, e.prototype[xr] = function() {
801
849
  return this;
802
850
  }, e.prototype.pipe = function() {
803
851
  for (var t = [], n = 0; n < arguments.length; n++)
804
852
  t[n] = arguments[n];
805
- return Br(t)(this);
853
+ return Cr(t)(this);
806
854
  }, e.prototype.toPromise = function(t) {
807
855
  var n = this;
808
- return t = wt(t), new t(function(r, i) {
856
+ return t = At(t), new t(function(r, i) {
809
857
  var o;
810
858
  n.subscribe(function(s) {
811
859
  return o = s;
@@ -819,32 +867,32 @@ var xt = function() {
819
867
  return new e(t);
820
868
  }, e;
821
869
  }();
822
- function wt(e) {
870
+ function At(e) {
823
871
  var t;
824
- return (t = e ?? dr.Promise) !== null && t !== void 0 ? t : Promise;
872
+ return (t = e ?? un.Promise) !== null && t !== void 0 ? t : Promise;
825
873
  }
826
- function Er(e) {
874
+ function Sr(e) {
827
875
  return e && ee(e.next) && ee(e.error) && ee(e.complete);
828
876
  }
829
- function xr(e) {
830
- return e && e instanceof on || Er(e) && rn(e);
877
+ function Ar(e) {
878
+ return e && e instanceof ln || Sr(e) && an(e);
831
879
  }
832
- var wr = tn(function(e) {
880
+ var Tr = on(function(e) {
833
881
  return function() {
834
882
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
835
883
  };
836
- }), sn = function(e) {
884
+ }), cn = function(e) {
837
885
  te(t, e);
838
886
  function t() {
839
887
  var n = e.call(this) || this;
840
888
  return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
841
889
  }
842
890
  return t.prototype.lift = function(n) {
843
- var r = new Ct(this, this);
891
+ var r = new Tt(this, this);
844
892
  return r.operator = n, r;
845
893
  }, t.prototype._throwIfClosed = function() {
846
894
  if (this.closed)
847
- throw new wr();
895
+ throw new Tr();
848
896
  }, t.prototype.next = function(n) {
849
897
  var r = this;
850
898
  Oe(function() {
@@ -852,7 +900,7 @@ var wr = tn(function(e) {
852
900
  if (r._throwIfClosed(), !r.isStopped) {
853
901
  r.currentObservers || (r.currentObservers = Array.from(r.observers));
854
902
  try {
855
- for (var s = tt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
903
+ for (var s = nt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
856
904
  var l = a.value;
857
905
  l.next(n);
858
906
  }
@@ -862,7 +910,8 @@ var wr = tn(function(e) {
862
910
  try {
863
911
  a && !a.done && (o = s.return) && o.call(s);
864
912
  } finally {
865
- if (i) throw i.error;
913
+ if (i)
914
+ throw i.error;
866
915
  }
867
916
  }
868
917
  }
@@ -900,19 +949,19 @@ var wr = tn(function(e) {
900
949
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
901
950
  }, t.prototype._innerSubscribe = function(n) {
902
951
  var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
903
- return o || s ? nn : (this.currentObservers = null, a.push(n), new Fe(function() {
904
- r.currentObservers = null, rt(a, n);
952
+ return o || s ? sn : (this.currentObservers = null, a.push(n), new Fe(function() {
953
+ r.currentObservers = null, it(a, n);
905
954
  }));
906
955
  }, t.prototype._checkFinalizedStatuses = function(n) {
907
956
  var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
908
957
  i ? n.error(o) : s && n.complete();
909
958
  }, t.prototype.asObservable = function() {
910
- var n = new xt();
959
+ var n = new St();
911
960
  return n.source = this, n;
912
961
  }, t.create = function(n, r) {
913
- return new Ct(n, r);
962
+ return new Tt(n, r);
914
963
  }, t;
915
- }(xt), Ct = function(e) {
964
+ }(St), Tt = function(e) {
916
965
  te(t, e);
917
966
  function t(n, r) {
918
967
  var i = e.call(this) || this;
@@ -929,17 +978,17 @@ var wr = tn(function(e) {
929
978
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
930
979
  }, t.prototype._subscribe = function(n) {
931
980
  var r, i;
932
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : nn;
981
+ return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : sn;
933
982
  }, t;
934
- }(sn), an = {
983
+ }(cn), hn = {
935
984
  now: function() {
936
- return (an.delegate || Date).now();
985
+ return (hn.delegate || Date).now();
937
986
  },
938
987
  delegate: void 0
939
- }, Cr = function(e) {
988
+ }, Pr = function(e) {
940
989
  te(t, e);
941
990
  function t(n, r, i) {
942
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = an);
991
+ n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = hn);
943
992
  var o = e.call(this) || this;
944
993
  return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
945
994
  }
@@ -959,15 +1008,15 @@ var wr = tn(function(e) {
959
1008
  u && o.splice(0, u + 1);
960
1009
  }
961
1010
  }, t;
962
- }(sn);
963
- const St = [], At = {}, Sr = (e, t = 0) => {
964
- if (St.indexOf(e) == -1) {
965
- const n = new Cr(t);
966
- At[e] = n, St.push(e);
1011
+ }(cn);
1012
+ const Pt = [], Mt = {}, Mr = (e, t = 0) => {
1013
+ if (Pt.indexOf(e) == -1) {
1014
+ const n = new Pr(t);
1015
+ Mt[e] = n, Pt.push(e);
967
1016
  }
968
- return At[e];
1017
+ return Mt[e];
969
1018
  }, le = [];
970
- function Ar(e, t) {
1019
+ function Hr(e, t) {
971
1020
  return {
972
1021
  subscribe: Ue(e, t).subscribe
973
1022
  };
@@ -976,7 +1025,7 @@ function Ue(e, t = q) {
976
1025
  let n;
977
1026
  const r = /* @__PURE__ */ new Set();
978
1027
  function i(a) {
979
- if (Jt(e, a) && (e = a, n)) {
1028
+ if (en(e, a) && (e = a, n)) {
980
1029
  const l = !le.length;
981
1030
  for (const u of r)
982
1031
  u[1](), le.push(u, e);
@@ -1003,7 +1052,7 @@ function ve(e, t, n) {
1003
1052
  if (!i.every(Boolean))
1004
1053
  throw new Error("derived() expects stores as input, got a falsy value");
1005
1054
  const o = t.length < 2;
1006
- return Ar(n, (s, a) => {
1055
+ return Hr(n, (s, a) => {
1007
1056
  let l = !1;
1008
1057
  const u = [];
1009
1058
  let c = 0, h = q;
@@ -1012,9 +1061,9 @@ function ve(e, t, n) {
1012
1061
  return;
1013
1062
  h();
1014
1063
  const b = t(r ? u[0] : u, s, a);
1015
- o ? s(b) : h = dt(b) ? b : q;
1064
+ o ? s(b) : h = pt(b) ? b : q;
1016
1065
  }, p = i.map(
1017
- (b, d) => Yt(
1066
+ (b, d) => tn(
1018
1067
  b,
1019
1068
  (C) => {
1020
1069
  u[d] = C, c &= ~(1 << d), l && f();
@@ -1029,70 +1078,70 @@ function ve(e, t, n) {
1029
1078
  };
1030
1079
  });
1031
1080
  }
1032
- function Tr(e) {
1081
+ function Ir(e) {
1033
1082
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1034
1083
  }
1035
- var Pr = function(t) {
1036
- return Mr(t) && !Hr(t);
1084
+ var Or = function(t) {
1085
+ return Nr(t) && !Lr(t);
1037
1086
  };
1038
- function Mr(e) {
1087
+ function Nr(e) {
1039
1088
  return !!e && typeof e == "object";
1040
1089
  }
1041
- function Hr(e) {
1090
+ function Lr(e) {
1042
1091
  var t = Object.prototype.toString.call(e);
1043
- return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
1092
+ return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
1044
1093
  }
1045
- var Ir = typeof Symbol == "function" && Symbol.for, Or = Ir ? Symbol.for("react.element") : 60103;
1046
- function Nr(e) {
1047
- return e.$$typeof === Or;
1094
+ var Rr = typeof Symbol == "function" && Symbol.for, $r = Rr ? Symbol.for("react.element") : 60103;
1095
+ function Dr(e) {
1096
+ return e.$$typeof === $r;
1048
1097
  }
1049
- function Lr(e) {
1098
+ function Fr(e) {
1050
1099
  return Array.isArray(e) ? [] : {};
1051
1100
  }
1052
1101
  function xe(e, t) {
1053
- return t.clone !== !1 && t.isMergeableObject(e) ? de(Lr(e), e, t) : e;
1102
+ return t.clone !== !1 && t.isMergeableObject(e) ? de(Fr(e), e, t) : e;
1054
1103
  }
1055
- function Rr(e, t, n) {
1104
+ function Ur(e, t, n) {
1056
1105
  return e.concat(t).map(function(r) {
1057
1106
  return xe(r, n);
1058
1107
  });
1059
1108
  }
1060
- function $r(e, t) {
1109
+ function Gr(e, t) {
1061
1110
  if (!t.customMerge)
1062
1111
  return de;
1063
1112
  var n = t.customMerge(e);
1064
1113
  return typeof n == "function" ? n : de;
1065
1114
  }
1066
- function Dr(e) {
1115
+ function kr(e) {
1067
1116
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1068
1117
  return Object.propertyIsEnumerable.call(e, t);
1069
1118
  }) : [];
1070
1119
  }
1071
- function Tt(e) {
1072
- return Object.keys(e).concat(Dr(e));
1120
+ function Ht(e) {
1121
+ return Object.keys(e).concat(kr(e));
1073
1122
  }
1074
- function un(e, t) {
1123
+ function fn(e, t) {
1075
1124
  try {
1076
1125
  return t in e;
1077
1126
  } catch {
1078
1127
  return !1;
1079
1128
  }
1080
1129
  }
1081
- function Fr(e, t) {
1082
- return un(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
+ function jr(e, t) {
1131
+ return fn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1083
1132
  }
1084
- function Ur(e, t, n) {
1133
+ function Wr(e, t, n) {
1085
1134
  var r = {};
1086
- return n.isMergeableObject(e) && Tt(e).forEach(function(i) {
1135
+ return n.isMergeableObject(e) && Ht(e).forEach(function(i) {
1087
1136
  r[i] = xe(e[i], n);
1088
- }), Tt(t).forEach(function(i) {
1089
- Fr(e, i) || (un(e, i) && n.isMergeableObject(t[i]) ? r[i] = $r(i, n)(e[i], t[i], n) : r[i] = xe(t[i], n));
1137
+ }), Ht(t).forEach(function(i) {
1138
+ jr(e, i) || (fn(e, i) && n.isMergeableObject(t[i]) ? r[i] = Gr(i, n)(e[i], t[i], n) : r[i] = xe(t[i], n));
1090
1139
  }), r;
1091
1140
  }
1092
1141
  function de(e, t, n) {
1093
- n = n || {}, n.arrayMerge = n.arrayMerge || Rr, n.isMergeableObject = n.isMergeableObject || Pr, n.cloneUnlessOtherwiseSpecified = xe;
1142
+ n = n || {}, n.arrayMerge = n.arrayMerge || Ur, n.isMergeableObject = n.isMergeableObject || Or, n.cloneUnlessOtherwiseSpecified = xe;
1094
1143
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1095
- return o ? r ? n.arrayMerge(e, t, n) : Ur(e, t, n) : xe(t, n);
1144
+ return o ? r ? n.arrayMerge(e, t, n) : Wr(e, t, n) : xe(t, n);
1096
1145
  }
1097
1146
  de.all = function(t, n) {
1098
1147
  if (!Array.isArray(t))
@@ -1101,56 +1150,58 @@ de.all = function(t, n) {
1101
1150
  return de(r, i, n);
1102
1151
  }, {});
1103
1152
  };
1104
- var Gr = de, kr = Gr;
1105
- const jr = /* @__PURE__ */ Tr(kr);
1106
- function ze(e, t) {
1107
- var n = t && t.cache ? t.cache : Qr, r = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : zr;
1153
+ var Vr = de, zr = Vr;
1154
+ const Xr = /* @__PURE__ */ Ir(zr);
1155
+ function Xe(e, t) {
1156
+ var n = t && t.cache ? t.cache : Kr, r = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : qr;
1108
1157
  return i(e, {
1109
1158
  cache: n,
1110
1159
  serializer: r
1111
1160
  });
1112
1161
  }
1113
- function Wr(e) {
1162
+ function Zr(e) {
1114
1163
  return e == null || typeof e == "number" || typeof e == "boolean";
1115
1164
  }
1116
- function Vr(e, t, n, r) {
1117
- var i = Wr(r) ? r : n(r), o = t.get(i);
1165
+ function dn(e, t, n, r) {
1166
+ var i = Zr(r) ? r : n(r), o = t.get(i);
1118
1167
  return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
1119
1168
  }
1120
- function ln(e, t, n) {
1169
+ function pn(e, t, n) {
1121
1170
  var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1122
1171
  return typeof o > "u" && (o = e.apply(this, r), t.set(i, o)), o;
1123
1172
  }
1124
- function cn(e, t, n, r, i) {
1173
+ function bt(e, t, n, r, i) {
1125
1174
  return n.bind(t, e, r, i);
1126
1175
  }
1127
- function zr(e, t) {
1128
- var n = e.length === 1 ? Vr : ln;
1129
- return cn(e, this, n, t.cache.create(), t.serializer);
1176
+ function qr(e, t) {
1177
+ var n = e.length === 1 ? dn : pn;
1178
+ return bt(e, this, n, t.cache.create(), t.serializer);
1179
+ }
1180
+ function Qr(e, t) {
1181
+ return bt(e, this, pn, t.cache.create(), t.serializer);
1130
1182
  }
1131
- function Xr(e, t) {
1132
- return cn(e, this, ln, t.cache.create(), t.serializer);
1183
+ function Jr(e, t) {
1184
+ return bt(e, this, dn, t.cache.create(), t.serializer);
1133
1185
  }
1134
- var Zr = function() {
1186
+ var Yr = function() {
1135
1187
  return JSON.stringify(arguments);
1136
- }, qr = (
1137
- /** @class */
1138
- function() {
1139
- function e() {
1140
- this.cache = /* @__PURE__ */ Object.create(null);
1141
- }
1142
- return e.prototype.get = function(t) {
1143
- return this.cache[t];
1144
- }, e.prototype.set = function(t, n) {
1145
- this.cache[t] = n;
1146
- }, e;
1147
- }()
1148
- ), Qr = {
1188
+ };
1189
+ function vt() {
1190
+ this.cache = /* @__PURE__ */ Object.create(null);
1191
+ }
1192
+ vt.prototype.get = function(e) {
1193
+ return this.cache[e];
1194
+ };
1195
+ vt.prototype.set = function(e, t) {
1196
+ this.cache[e] = t;
1197
+ };
1198
+ var Kr = {
1149
1199
  create: function() {
1150
- return new qr();
1200
+ return new vt();
1151
1201
  }
1152
- }, Xe = {
1153
- variadic: Xr
1202
+ }, Ze = {
1203
+ variadic: Qr,
1204
+ monadic: Jr
1154
1205
  }, x;
1155
1206
  (function(e) {
1156
1207
  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";
@@ -1163,43 +1214,43 @@ var pe;
1163
1214
  (function(e) {
1164
1215
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1165
1216
  })(pe || (pe = {}));
1166
- function Pt(e) {
1217
+ function It(e) {
1167
1218
  return e.type === O.literal;
1168
1219
  }
1169
- function Jr(e) {
1220
+ function ei(e) {
1170
1221
  return e.type === O.argument;
1171
1222
  }
1172
- function hn(e) {
1223
+ function mn(e) {
1173
1224
  return e.type === O.number;
1174
1225
  }
1175
- function fn(e) {
1226
+ function bn(e) {
1176
1227
  return e.type === O.date;
1177
1228
  }
1178
- function dn(e) {
1229
+ function vn(e) {
1179
1230
  return e.type === O.time;
1180
1231
  }
1181
- function pn(e) {
1232
+ function gn(e) {
1182
1233
  return e.type === O.select;
1183
1234
  }
1184
- function mn(e) {
1235
+ function yn(e) {
1185
1236
  return e.type === O.plural;
1186
1237
  }
1187
- function Yr(e) {
1238
+ function ti(e) {
1188
1239
  return e.type === O.pound;
1189
1240
  }
1190
- function bn(e) {
1241
+ function _n(e) {
1191
1242
  return e.type === O.tag;
1192
1243
  }
1193
- function vn(e) {
1244
+ function Bn(e) {
1194
1245
  return !!(e && typeof e == "object" && e.type === pe.number);
1195
1246
  }
1196
- function ot(e) {
1247
+ function st(e) {
1197
1248
  return !!(e && typeof e == "object" && e.type === pe.dateTime);
1198
1249
  }
1199
- var gn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
1200
- function ei(e) {
1250
+ var En = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
1251
+ function ri(e) {
1201
1252
  var t = {};
1202
- return e.replace(Kr, function(n) {
1253
+ return e.replace(ni, function(n) {
1203
1254
  var r = n.length;
1204
1255
  switch (n[0]) {
1205
1256
  case "G":
@@ -1288,11 +1339,11 @@ function ei(e) {
1288
1339
  return "";
1289
1340
  }), t;
1290
1341
  }
1291
- var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1292
- function ni(e) {
1342
+ var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1343
+ function oi(e) {
1293
1344
  if (e.length === 0)
1294
1345
  throw new Error("Number skeleton cannot be empty");
1295
- for (var t = e.split(ti).filter(function(f) {
1346
+ for (var t = e.split(ii).filter(function(f) {
1296
1347
  return f.length > 0;
1297
1348
  }), n = [], r = 0, i = t; r < i.length; r++) {
1298
1349
  var o = i[r], s = o.split("/");
@@ -1307,17 +1358,17 @@ function ni(e) {
1307
1358
  }
1308
1359
  return n;
1309
1360
  }
1310
- function ri(e) {
1361
+ function si(e) {
1311
1362
  return e.replace(/^(.*?)-/, "");
1312
1363
  }
1313
- var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yn = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, _n = /^(0+)$/;
1314
- function Ht(e) {
1364
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xn = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, wn = /^(0+)$/;
1365
+ function Nt(e) {
1315
1366
  var t = {};
1316
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yn, function(n, r, i) {
1367
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xn, function(n, r, i) {
1317
1368
  return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1318
1369
  }), t;
1319
1370
  }
1320
- function Bn(e) {
1371
+ function Cn(e) {
1321
1372
  switch (e) {
1322
1373
  case "sign-auto":
1323
1374
  return {
@@ -1357,7 +1408,7 @@ function Bn(e) {
1357
1408
  };
1358
1409
  }
1359
1410
  }
1360
- function oi(e) {
1411
+ function ui(e) {
1361
1412
  var t;
1362
1413
  if (e[0] === "E" && e[1] === "E" ? (t = {
1363
1414
  notation: "engineering"
@@ -1365,17 +1416,17 @@ function oi(e) {
1365
1416
  notation: "scientific"
1366
1417
  }, e = e.slice(1)), t) {
1367
1418
  var n = e.slice(0, 2);
1368
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_n.test(e))
1419
+ if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wn.test(e))
1369
1420
  throw new Error("Malformed concise eng/scientific notation");
1370
1421
  t.minimumIntegerDigits = e.length;
1371
1422
  }
1372
1423
  return t;
1373
1424
  }
1374
- function It(e) {
1375
- var t = {}, n = Bn(e);
1425
+ function Lt(e) {
1426
+ var t = {}, n = Cn(e);
1376
1427
  return n || t;
1377
1428
  }
1378
- function si(e) {
1429
+ function li(e) {
1379
1430
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
1380
1431
  var i = r[n];
1381
1432
  switch (i.stem) {
@@ -1399,7 +1450,7 @@ function si(e) {
1399
1450
  continue;
1400
1451
  case "measure-unit":
1401
1452
  case "unit":
1402
- t.style = "unit", t.unit = ri(i.options[0]);
1453
+ t.style = "unit", t.unit = si(i.options[0]);
1403
1454
  continue;
1404
1455
  case "compact-short":
1405
1456
  case "K":
@@ -1411,12 +1462,12 @@ function si(e) {
1411
1462
  continue;
1412
1463
  case "scientific":
1413
1464
  t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1414
- return A(A({}, l), It(u));
1465
+ return A(A({}, l), Lt(u));
1415
1466
  }, {}));
1416
1467
  continue;
1417
1468
  case "engineering":
1418
1469
  t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1419
- return A(A({}, l), It(u));
1470
+ return A(A({}, l), Lt(u));
1420
1471
  }, {}));
1421
1472
  continue;
1422
1473
  case "notation-simple":
@@ -1461,7 +1512,7 @@ function si(e) {
1461
1512
  case "integer-width":
1462
1513
  if (i.options.length > 1)
1463
1514
  throw new RangeError("integer-width stems only accept a single optional option");
1464
- i.options[0].replace(ii, function(l, u, c, h, f, p) {
1515
+ i.options[0].replace(ai, function(l, u, c, h, f, p) {
1465
1516
  if (u)
1466
1517
  t.minimumIntegerDigits = c.length;
1467
1518
  else {
@@ -1474,27 +1525,27 @@ function si(e) {
1474
1525
  });
1475
1526
  continue;
1476
1527
  }
1477
- if (_n.test(i.stem)) {
1528
+ if (wn.test(i.stem)) {
1478
1529
  t.minimumIntegerDigits = i.stem.length;
1479
1530
  continue;
1480
1531
  }
1481
- if (Mt.test(i.stem)) {
1532
+ if (Ot.test(i.stem)) {
1482
1533
  if (i.options.length > 1)
1483
1534
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1484
- i.stem.replace(Mt, function(l, u, c, h, f, p) {
1535
+ i.stem.replace(Ot, function(l, u, c, h, f, p) {
1485
1536
  return c === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1486
1537
  });
1487
1538
  var o = i.options[0];
1488
- o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Ht(o)));
1539
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Nt(o)));
1489
1540
  continue;
1490
1541
  }
1491
- if (yn.test(i.stem)) {
1492
- t = A(A({}, t), Ht(i.stem));
1542
+ if (xn.test(i.stem)) {
1543
+ t = A(A({}, t), Nt(i.stem));
1493
1544
  continue;
1494
1545
  }
1495
- var s = Bn(i.stem);
1546
+ var s = Cn(i.stem);
1496
1547
  s && (t = A(A({}, t), s));
1497
- var a = oi(i.stem);
1548
+ var a = ui(i.stem);
1498
1549
  a && (t = A(A({}, t), a));
1499
1550
  }
1500
1551
  return t;
@@ -2914,22 +2965,23 @@ var He = {
2914
2965
  "h"
2915
2966
  ]
2916
2967
  };
2917
- function ai(e, t) {
2968
+ function ci(e, t) {
2918
2969
  for (var n = "", r = 0; r < e.length; r++) {
2919
2970
  var i = e.charAt(r);
2920
2971
  if (i === "j") {
2921
2972
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
2922
2973
  o++, r++;
2923
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ui(t);
2974
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = hi(t);
2924
2975
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2925
2976
  n += l;
2926
2977
  for (; s-- > 0; )
2927
2978
  n = u + n;
2928
- } else i === "J" ? n += "H" : n += i;
2979
+ } else
2980
+ i === "J" ? n += "H" : n += i;
2929
2981
  }
2930
2982
  return n;
2931
2983
  }
2932
- function ui(e) {
2984
+ function hi(e) {
2933
2985
  var t = e.hourCycle;
2934
2986
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2935
2987
  e.hourCycles && // @ts-ignore
@@ -2951,20 +3003,20 @@ function ui(e) {
2951
3003
  var i = He[r || ""] || He[n || ""] || He["".concat(n, "-001")] || He["001"];
2952
3004
  return i[0];
2953
3005
  }
2954
- var Ze, li = new RegExp("^".concat(gn.source, "*")), ci = new RegExp("".concat(gn.source, "*$"));
3006
+ var qe, fi = new RegExp("^".concat(En.source, "*")), di = new RegExp("".concat(En.source, "*$"));
2955
3007
  function w(e, t) {
2956
3008
  return { start: e, end: t };
2957
3009
  }
2958
- var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, di = !!Object.fromEntries, pi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, gi = vi ? Number.isSafeInteger : function(e) {
3010
+ var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, bi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, Bi = _i ? Number.isSafeInteger : function(e) {
2959
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2960
- }, st = !0;
3012
+ }, at = !0;
2961
3013
  try {
2962
- var yi = xn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2963
- st = ((Ze = yi.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
3014
+ var Ei = An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3015
+ at = ((qe = Ei.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
2964
3016
  } catch {
2965
- st = !1;
3017
+ at = !1;
2966
3018
  }
2967
- var Ot = hi ? (
3019
+ var Rt = pi ? (
2968
3020
  // Native
2969
3021
  function(t, n, r) {
2970
3022
  return t.startsWith(n, r);
@@ -2974,7 +3026,7 @@ var Ot = hi ? (
2974
3026
  function(t, n, r) {
2975
3027
  return t.slice(r, r + n.length) === n;
2976
3028
  }
2977
- ), at = fi ? String.fromCodePoint : (
3029
+ ), ut = mi ? String.fromCodePoint : (
2978
3030
  // IE11
2979
3031
  function() {
2980
3032
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -2986,9 +3038,9 @@ var Ot = hi ? (
2986
3038
  }
2987
3039
  return r;
2988
3040
  }
2989
- ), Nt = (
3041
+ ), $t = (
2990
3042
  // native
2991
- di ? Object.fromEntries : (
3043
+ bi ? Object.fromEntries : (
2992
3044
  // Ponyfill
2993
3045
  function(t) {
2994
3046
  for (var n = {}, r = 0, i = t; r < i.length; r++) {
@@ -2998,7 +3050,7 @@ var Ot = hi ? (
2998
3050
  return n;
2999
3051
  }
3000
3052
  )
3001
- ), En = pi ? (
3053
+ ), Sn = vi ? (
3002
3054
  // Native
3003
3055
  function(t, n) {
3004
3056
  return t.codePointAt(n);
@@ -3012,7 +3064,7 @@ var Ot = hi ? (
3012
3064
  return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3013
3065
  }
3014
3066
  }
3015
- ), _i = mi ? (
3067
+ ), xi = gi ? (
3016
3068
  // Native
3017
3069
  function(t) {
3018
3070
  return t.trimStart();
@@ -3020,9 +3072,9 @@ var Ot = hi ? (
3020
3072
  ) : (
3021
3073
  // Ponyfill
3022
3074
  function(t) {
3023
- return t.replace(li, "");
3075
+ return t.replace(fi, "");
3024
3076
  }
3025
- ), Bi = bi ? (
3077
+ ), wi = yi ? (
3026
3078
  // Native
3027
3079
  function(t) {
3028
3080
  return t.trimEnd();
@@ -3030,32 +3082,32 @@ var Ot = hi ? (
3030
3082
  ) : (
3031
3083
  // Ponyfill
3032
3084
  function(t) {
3033
- return t.replace(ci, "");
3085
+ return t.replace(di, "");
3034
3086
  }
3035
3087
  );
3036
- function xn(e, t) {
3088
+ function An(e, t) {
3037
3089
  return new RegExp(e, t);
3038
3090
  }
3039
- var ut;
3040
- if (st) {
3041
- var Lt = xn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3042
- ut = function(t, n) {
3091
+ var lt;
3092
+ if (at) {
3093
+ var Dt = An("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3094
+ lt = function(t, n) {
3043
3095
  var r;
3044
- Lt.lastIndex = n;
3045
- var i = Lt.exec(t);
3096
+ Dt.lastIndex = n;
3097
+ var i = Dt.exec(t);
3046
3098
  return (r = i[1]) !== null && r !== void 0 ? r : "";
3047
3099
  };
3048
3100
  } else
3049
- ut = function(t, n) {
3101
+ lt = function(t, n) {
3050
3102
  for (var r = []; ; ) {
3051
- var i = En(t, n);
3052
- if (i === void 0 || wn(i) || Ci(i))
3103
+ var i = Sn(t, n);
3104
+ if (i === void 0 || Tn(i) || Ti(i))
3053
3105
  break;
3054
3106
  r.push(i), n += i >= 65536 ? 2 : 1;
3055
3107
  }
3056
- return at.apply(void 0, r);
3108
+ return ut.apply(void 0, r);
3057
3109
  };
3058
- var Ei = (
3110
+ var Ci = (
3059
3111
  /** @class */
3060
3112
  function() {
3061
3113
  function e(t, n) {
@@ -3086,7 +3138,7 @@ var Ei = (
3086
3138
  if (r)
3087
3139
  break;
3088
3140
  return this.error(x.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3089
- } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
3141
+ } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3090
3142
  var s = this.parseTag(t, n);
3091
3143
  if (s.err)
3092
3144
  return s;
@@ -3119,7 +3171,7 @@ var Ei = (
3119
3171
  return o;
3120
3172
  var s = o.val, a = this.clonePosition();
3121
3173
  if (this.bumpIf("</")) {
3122
- if (this.isEOF() || !lt(this.char()))
3174
+ if (this.isEOF() || !ct(this.char()))
3123
3175
  return this.error(x.INVALID_TAG, w(a, this.clonePosition()));
3124
3176
  var l = this.clonePosition(), u = this.parseTagName();
3125
3177
  return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3137,7 +3189,7 @@ var Ei = (
3137
3189
  return this.error(x.INVALID_TAG, w(r, this.clonePosition()));
3138
3190
  }, e.prototype.parseTagName = function() {
3139
3191
  var t = this.offset();
3140
- for (this.bump(); !this.isEOF() && wi(this.char()); )
3192
+ for (this.bump(); !this.isEOF() && Ai(this.char()); )
3141
3193
  this.bump();
3142
3194
  return this.message.slice(t, this.offset());
3143
3195
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3166,7 +3218,7 @@ var Ei = (
3166
3218
  };
3167
3219
  }, e.prototype.tryParseLeftAngleBracket = function() {
3168
3220
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3169
- !xi(this.peek() || 0)) ? (this.bump(), "<") : null;
3221
+ !Si(this.peek() || 0)) ? (this.bump(), "<") : null;
3170
3222
  }, e.prototype.tryParseQuote = function(t) {
3171
3223
  if (this.isEOF() || this.char() !== 39)
3172
3224
  return null;
@@ -3200,12 +3252,12 @@ var Ei = (
3200
3252
  n.push(r);
3201
3253
  this.bump();
3202
3254
  }
3203
- return at.apply(void 0, n);
3255
+ return ut.apply(void 0, n);
3204
3256
  }, e.prototype.tryParseUnquoted = function(t, n) {
3205
3257
  if (this.isEOF())
3206
3258
  return null;
3207
3259
  var r = this.char();
3208
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), at(r));
3260
+ return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), ut(r));
3209
3261
  }, e.prototype.parseArgument = function(t, n) {
3210
3262
  var r = this.clonePosition();
3211
3263
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3234,7 +3286,7 @@ var Ei = (
3234
3286
  return this.error(x.MALFORMED_ARGUMENT, w(r, this.clonePosition()));
3235
3287
  }
3236
3288
  }, e.prototype.parseIdentifierIfPossible = function() {
3237
- var t = this.clonePosition(), n = this.offset(), r = ut(this.message, n), i = n + r.length;
3289
+ var t = this.clonePosition(), n = this.offset(), r = lt(this.message, n), i = n + r.length;
3238
3290
  this.bumpTo(i);
3239
3291
  var o = this.clonePosition(), s = w(t, o);
3240
3292
  return { value: r, location: s };
@@ -3253,7 +3305,7 @@ var Ei = (
3253
3305
  var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
3254
3306
  if (h.err)
3255
3307
  return h;
3256
- var f = Bi(h.val);
3308
+ var f = wi(h.val);
3257
3309
  if (f.length === 0)
3258
3310
  return this.error(x.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3259
3311
  var p = w(c, this.clonePosition());
@@ -3263,8 +3315,8 @@ var Ei = (
3263
3315
  if (b.err)
3264
3316
  return b;
3265
3317
  var d = w(i, this.clonePosition());
3266
- if (u && Ot(u?.style, "::", 0)) {
3267
- var C = _i(u.style.slice(2));
3318
+ if (u && Rt(u?.style, "::", 0)) {
3319
+ var C = xi(u.style.slice(2));
3268
3320
  if (a === "number") {
3269
3321
  var h = this.parseNumberSkeletonFromString(C, u.styleLocation);
3270
3322
  return h.err ? h : {
@@ -3275,12 +3327,12 @@ var Ei = (
3275
3327
  if (C.length === 0)
3276
3328
  return this.error(x.EXPECT_DATE_TIME_SKELETON, d);
3277
3329
  var _ = C;
3278
- this.locale && (_ = ai(C, this.locale));
3330
+ this.locale && (_ = ci(C, this.locale));
3279
3331
  var f = {
3280
3332
  type: pe.dateTime,
3281
3333
  pattern: _,
3282
3334
  location: u.styleLocation,
3283
- parsedOptions: this.shouldParseSkeletons ? ei(_) : {}
3335
+ parsedOptions: this.shouldParseSkeletons ? ri(_) : {}
3284
3336
  }, g = a === "date" ? O.date : O.time;
3285
3337
  return {
3286
3338
  val: { type: g, value: r, location: d, style: f },
@@ -3326,7 +3378,7 @@ var Ei = (
3326
3378
  val: {
3327
3379
  type: O.select,
3328
3380
  value: r,
3329
- options: Nt(E.val),
3381
+ options: $t(E.val),
3330
3382
  location: L
3331
3383
  },
3332
3384
  err: null
@@ -3334,7 +3386,7 @@ var Ei = (
3334
3386
  val: {
3335
3387
  type: O.plural,
3336
3388
  value: r,
3337
- options: Nt(E.val),
3389
+ options: $t(E.val),
3338
3390
  offset: T,
3339
3391
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3340
3392
  location: L
@@ -3385,7 +3437,7 @@ var Ei = (
3385
3437
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3386
3438
  var r = [];
3387
3439
  try {
3388
- r = ni(t);
3440
+ r = oi(t);
3389
3441
  } catch {
3390
3442
  return this.error(x.INVALID_NUMBER_SKELETON, n);
3391
3443
  }
@@ -3394,7 +3446,7 @@ var Ei = (
3394
3446
  type: pe.number,
3395
3447
  tokens: r,
3396
3448
  location: n,
3397
- parsedOptions: this.shouldParseSkeletons ? si(r) : {}
3449
+ parsedOptions: this.shouldParseSkeletons ? li(r) : {}
3398
3450
  },
3399
3451
  err: null
3400
3452
  };
@@ -3442,7 +3494,7 @@ var Ei = (
3442
3494
  break;
3443
3495
  }
3444
3496
  var l = w(i, this.clonePosition());
3445
- return o ? (s *= r, gi(s) ? { val: s, err: null } : this.error(n, l)) : this.error(t, l);
3497
+ return o ? (s *= r, Bi(s) ? { val: s, err: null } : this.error(n, l)) : this.error(t, l);
3446
3498
  }, e.prototype.offset = function() {
3447
3499
  return this.position.offset;
3448
3500
  }, e.prototype.isEOF = function() {
@@ -3457,7 +3509,7 @@ var Ei = (
3457
3509
  var t = this.position.offset;
3458
3510
  if (t >= this.message.length)
3459
3511
  throw Error("out of bound");
3460
- var n = En(this.message, t);
3512
+ var n = Sn(this.message, t);
3461
3513
  if (n === void 0)
3462
3514
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3463
3515
  return n;
@@ -3476,7 +3528,7 @@ var Ei = (
3476
3528
  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);
3477
3529
  }
3478
3530
  }, e.prototype.bumpIf = function(t) {
3479
- if (Ot(this.message, t, this.offset())) {
3531
+ if (Rt(this.message, t, this.offset())) {
3480
3532
  for (var n = 0; n < t.length; n++)
3481
3533
  this.bump();
3482
3534
  return !0;
@@ -3498,7 +3550,7 @@ var Ei = (
3498
3550
  break;
3499
3551
  }
3500
3552
  }, e.prototype.bumpSpace = function() {
3501
- for (; !this.isEOF() && wn(this.char()); )
3553
+ for (; !this.isEOF() && Tn(this.char()); )
3502
3554
  this.bump();
3503
3555
  }, e.prototype.peek = function() {
3504
3556
  if (this.isEOF())
@@ -3508,37 +3560,38 @@ var Ei = (
3508
3560
  }, e;
3509
3561
  }()
3510
3562
  );
3511
- function lt(e) {
3563
+ function ct(e) {
3512
3564
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3513
3565
  }
3514
- function xi(e) {
3515
- return lt(e) || e === 47;
3566
+ function Si(e) {
3567
+ return ct(e) || e === 47;
3516
3568
  }
3517
- function wi(e) {
3569
+ function Ai(e) {
3518
3570
  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;
3519
3571
  }
3520
- function wn(e) {
3572
+ function Tn(e) {
3521
3573
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3522
3574
  }
3523
- function Ci(e) {
3575
+ function Ti(e) {
3524
3576
  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;
3525
3577
  }
3526
- function ct(e) {
3578
+ function ht(e) {
3527
3579
  e.forEach(function(t) {
3528
- if (delete t.location, pn(t) || mn(t))
3580
+ if (delete t.location, gn(t) || yn(t))
3529
3581
  for (var n in t.options)
3530
- delete t.options[n].location, ct(t.options[n].value);
3531
- else hn(t) && vn(t.style) || (fn(t) || dn(t)) && ot(t.style) ? delete t.style.location : bn(t) && ct(t.children);
3582
+ delete t.options[n].location, ht(t.options[n].value);
3583
+ else
3584
+ mn(t) && Bn(t.style) || (bn(t) || vn(t)) && st(t.style) ? delete t.style.location : _n(t) && ht(t.children);
3532
3585
  });
3533
3586
  }
3534
- function Si(e, t) {
3587
+ function Pi(e, t) {
3535
3588
  t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3536
- var n = new Ei(e, t).parse();
3589
+ var n = new Ci(e, t).parse();
3537
3590
  if (n.err) {
3538
3591
  var r = SyntaxError(x[n.err.kind]);
3539
3592
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3540
3593
  }
3541
- return t?.captureLocation || ct(n.val), n.val;
3594
+ return t?.captureLocation || ht(n.val), n.val;
3542
3595
  }
3543
3596
  var me;
3544
3597
  (function(e) {
@@ -3556,7 +3609,7 @@ var Ge = (
3556
3609
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3557
3610
  }, t;
3558
3611
  }(Error)
3559
- ), Rt = (
3612
+ ), Ft = (
3560
3613
  /** @class */
3561
3614
  function(e) {
3562
3615
  te(t, e);
@@ -3565,7 +3618,7 @@ var Ge = (
3565
3618
  }
3566
3619
  return t;
3567
3620
  }(Ge)
3568
- ), Ai = (
3621
+ ), Mi = (
3569
3622
  /** @class */
3570
3623
  function(e) {
3571
3624
  te(t, e);
@@ -3574,7 +3627,7 @@ var Ge = (
3574
3627
  }
3575
3628
  return t;
3576
3629
  }(Ge)
3577
- ), Ti = (
3630
+ ), Hi = (
3578
3631
  /** @class */
3579
3632
  function(e) {
3580
3633
  te(t, e);
@@ -3587,17 +3640,17 @@ var Ge = (
3587
3640
  (function(e) {
3588
3641
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3589
3642
  })(k || (k = {}));
3590
- function Pi(e) {
3643
+ function Ii(e) {
3591
3644
  return e.length < 2 ? e : e.reduce(function(t, n) {
3592
3645
  var r = t[t.length - 1];
3593
3646
  return !r || r.type !== k.literal || n.type !== k.literal ? t.push(n) : r.value += n.value, t;
3594
3647
  }, []);
3595
3648
  }
3596
- function Mi(e) {
3649
+ function Oi(e) {
3597
3650
  return typeof e == "function";
3598
3651
  }
3599
3652
  function Ne(e, t, n, r, i, o, s) {
3600
- if (e.length === 1 && Pt(e[0]))
3653
+ if (e.length === 1 && It(e[0]))
3601
3654
  return [
3602
3655
  {
3603
3656
  type: k.literal,
@@ -3606,14 +3659,14 @@ function Ne(e, t, n, r, i, o, s) {
3606
3659
  ];
3607
3660
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3608
3661
  var c = u[l];
3609
- if (Pt(c)) {
3662
+ if (It(c)) {
3610
3663
  a.push({
3611
3664
  type: k.literal,
3612
3665
  value: c.value
3613
3666
  });
3614
3667
  continue;
3615
3668
  }
3616
- if (Yr(c)) {
3669
+ if (ti(c)) {
3617
3670
  typeof o == "number" && a.push({
3618
3671
  type: k.literal,
3619
3672
  value: n.getNumberFormat(t).format(o)
@@ -3622,43 +3675,43 @@ function Ne(e, t, n, r, i, o, s) {
3622
3675
  }
3623
3676
  var h = c.value;
3624
3677
  if (!(i && h in i))
3625
- throw new Ti(h, s);
3678
+ throw new Hi(h, s);
3626
3679
  var f = i[h];
3627
- if (Jr(c)) {
3680
+ if (ei(c)) {
3628
3681
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3629
3682
  type: typeof f == "string" ? k.literal : k.object,
3630
3683
  value: f
3631
3684
  });
3632
3685
  continue;
3633
3686
  }
3634
- if (fn(c)) {
3635
- var p = typeof c.style == "string" ? r.date[c.style] : ot(c.style) ? c.style.parsedOptions : void 0;
3687
+ if (bn(c)) {
3688
+ var p = typeof c.style == "string" ? r.date[c.style] : st(c.style) ? c.style.parsedOptions : void 0;
3636
3689
  a.push({
3637
3690
  type: k.literal,
3638
3691
  value: n.getDateTimeFormat(t, p).format(f)
3639
3692
  });
3640
3693
  continue;
3641
3694
  }
3642
- if (dn(c)) {
3643
- var p = typeof c.style == "string" ? r.time[c.style] : ot(c.style) ? c.style.parsedOptions : r.time.medium;
3695
+ if (vn(c)) {
3696
+ var p = typeof c.style == "string" ? r.time[c.style] : st(c.style) ? c.style.parsedOptions : r.time.medium;
3644
3697
  a.push({
3645
3698
  type: k.literal,
3646
3699
  value: n.getDateTimeFormat(t, p).format(f)
3647
3700
  });
3648
3701
  continue;
3649
3702
  }
3650
- if (hn(c)) {
3651
- var p = typeof c.style == "string" ? r.number[c.style] : vn(c.style) ? c.style.parsedOptions : void 0;
3703
+ if (mn(c)) {
3704
+ var p = typeof c.style == "string" ? r.number[c.style] : Bn(c.style) ? c.style.parsedOptions : void 0;
3652
3705
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3653
3706
  type: k.literal,
3654
3707
  value: n.getNumberFormat(t, p).format(f)
3655
3708
  });
3656
3709
  continue;
3657
3710
  }
3658
- if (bn(c)) {
3711
+ if (_n(c)) {
3659
3712
  var b = c.children, d = c.value, C = i[d];
3660
- if (!Mi(C))
3661
- throw new Ai(d, "function", s);
3713
+ if (!Oi(C))
3714
+ throw new Mi(d, "function", s);
3662
3715
  var _ = Ne(b, t, n, r, i, o), g = C(_.map(function(T) {
3663
3716
  return T.value;
3664
3717
  }));
@@ -3669,14 +3722,14 @@ function Ne(e, t, n, r, i, o, s) {
3669
3722
  };
3670
3723
  }));
3671
3724
  }
3672
- if (pn(c)) {
3725
+ if (gn(c)) {
3673
3726
  var M = c.options[f] || c.options.other;
3674
3727
  if (!M)
3675
- throw new Rt(c.value, f, Object.keys(c.options), s);
3728
+ throw new Ft(c.value, f, Object.keys(c.options), s);
3676
3729
  a.push.apply(a, Ne(M.value, t, n, r, i));
3677
3730
  continue;
3678
3731
  }
3679
- if (mn(c)) {
3732
+ if (yn(c)) {
3680
3733
  var M = c.options["=".concat(f)];
3681
3734
  if (!M) {
3682
3735
  if (!Intl.PluralRules)
@@ -3687,24 +3740,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3687
3740
  M = c.options[N] || c.options.other;
3688
3741
  }
3689
3742
  if (!M)
3690
- throw new Rt(c.value, f, Object.keys(c.options), s);
3743
+ throw new Ft(c.value, f, Object.keys(c.options), s);
3691
3744
  a.push.apply(a, Ne(M.value, t, n, r, i, f - (c.offset || 0)));
3692
3745
  continue;
3693
3746
  }
3694
3747
  }
3695
- return Pi(a);
3748
+ return Ii(a);
3696
3749
  }
3697
- function Hi(e, t) {
3750
+ function Ni(e, t) {
3698
3751
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3699
3752
  return n[r] = A(A({}, e[r]), t[r] || {}), n;
3700
3753
  }, {})) : e;
3701
3754
  }
3702
- function Ii(e, t) {
3755
+ function Li(e, t) {
3703
3756
  return t ? Object.keys(e).reduce(function(n, r) {
3704
- return n[r] = Hi(e[r], t[r]), n;
3757
+ return n[r] = Ni(e[r], t[r]), n;
3705
3758
  }, A({}, e)) : e;
3706
3759
  }
3707
- function qe(e) {
3760
+ function Qe(e) {
3708
3761
  return {
3709
3762
  create: function() {
3710
3763
  return {
@@ -3718,39 +3771,39 @@ function qe(e) {
3718
3771
  }
3719
3772
  };
3720
3773
  }
3721
- function Oi(e) {
3774
+ function Ri(e) {
3722
3775
  return e === void 0 && (e = {
3723
3776
  number: {},
3724
3777
  dateTime: {},
3725
3778
  pluralRules: {}
3726
3779
  }), {
3727
- getNumberFormat: ze(function() {
3780
+ getNumberFormat: Xe(function() {
3728
3781
  for (var t, n = [], r = 0; r < arguments.length; r++)
3729
3782
  n[r] = arguments[r];
3730
3783
  return new ((t = Intl.NumberFormat).bind.apply(t, fe([void 0], n, !1)))();
3731
3784
  }, {
3732
- cache: qe(e.number),
3733
- strategy: Xe.variadic
3785
+ cache: Qe(e.number),
3786
+ strategy: Ze.variadic
3734
3787
  }),
3735
- getDateTimeFormat: ze(function() {
3788
+ getDateTimeFormat: Xe(function() {
3736
3789
  for (var t, n = [], r = 0; r < arguments.length; r++)
3737
3790
  n[r] = arguments[r];
3738
3791
  return new ((t = Intl.DateTimeFormat).bind.apply(t, fe([void 0], n, !1)))();
3739
3792
  }, {
3740
- cache: qe(e.dateTime),
3741
- strategy: Xe.variadic
3793
+ cache: Qe(e.dateTime),
3794
+ strategy: Ze.variadic
3742
3795
  }),
3743
- getPluralRules: ze(function() {
3796
+ getPluralRules: Xe(function() {
3744
3797
  for (var t, n = [], r = 0; r < arguments.length; r++)
3745
3798
  n[r] = arguments[r];
3746
3799
  return new ((t = Intl.PluralRules).bind.apply(t, fe([void 0], n, !1)))();
3747
3800
  }, {
3748
- cache: qe(e.pluralRules),
3749
- strategy: Xe.variadic
3801
+ cache: Qe(e.pluralRules),
3802
+ strategy: Ze.variadic
3750
3803
  })
3751
3804
  };
3752
3805
  }
3753
- var Ni = (
3806
+ var $i = (
3754
3807
  /** @class */
3755
3808
  function() {
3756
3809
  function e(t, n, r, i) {
@@ -3782,13 +3835,13 @@ var Ni = (
3782
3835
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3783
3836
  var s = i || {};
3784
3837
  s.formatters;
3785
- var a = fr(s, ["formatters"]);
3838
+ var a = br(s, ["formatters"]);
3786
3839
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3787
3840
  } else
3788
3841
  this.ast = t;
3789
3842
  if (!Array.isArray(this.ast))
3790
3843
  throw new TypeError("A message must be provided as a String or AST.");
3791
- this.formats = Ii(e.formats, r), this.formatters = i && i.formatters || Oi(this.formatterCache);
3844
+ this.formats = Li(e.formats, r), this.formatters = i && i.formatters || Ri(this.formatterCache);
3792
3845
  }
3793
3846
  return Object.defineProperty(e, "defaultLocale", {
3794
3847
  get: function() {
@@ -3801,7 +3854,7 @@ var Ni = (
3801
3854
  var n = Intl.NumberFormat.supportedLocalesOf(t);
3802
3855
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3803
3856
  }
3804
- }, e.__parse = Si, e.formats = {
3857
+ }, e.__parse = Pi, e.formats = {
3805
3858
  number: {
3806
3859
  integer: {
3807
3860
  maximumFractionDigits: 0
@@ -3862,7 +3915,7 @@ var Ni = (
3862
3915
  }, e;
3863
3916
  }()
3864
3917
  );
3865
- function Li(e, t) {
3918
+ function Di(e, t) {
3866
3919
  if (t == null)
3867
3920
  return;
3868
3921
  if (t in e)
@@ -3883,92 +3936,92 @@ function Li(e, t) {
3883
3936
  r = void 0;
3884
3937
  return r;
3885
3938
  }
3886
- const re = {}, Ri = (e, t, n) => n && (t in re || (re[t] = {}), e in re[t] || (re[t][e] = n), n), Cn = (e, t) => {
3939
+ const re = {}, Fi = (e, t, n) => n && (t in re || (re[t] = {}), e in re[t] || (re[t][e] = n), n), Pn = (e, t) => {
3887
3940
  if (t == null)
3888
3941
  return;
3889
3942
  if (t in re && e in re[t])
3890
3943
  return re[t][e];
3891
3944
  const n = ke(t);
3892
3945
  for (let r = 0; r < n.length; r++) {
3893
- const i = n[r], o = Di(i, e);
3946
+ const i = n[r], o = Gi(i, e);
3894
3947
  if (o)
3895
- return Ri(e, t, o);
3948
+ return Fi(e, t, o);
3896
3949
  }
3897
3950
  };
3898
- let mt;
3951
+ let gt;
3899
3952
  const Ce = Ue({});
3900
- function $i(e) {
3901
- return mt[e] || null;
3953
+ function Ui(e) {
3954
+ return gt[e] || null;
3902
3955
  }
3903
- function Sn(e) {
3904
- return e in mt;
3956
+ function Mn(e) {
3957
+ return e in gt;
3905
3958
  }
3906
- function Di(e, t) {
3907
- if (!Sn(e))
3959
+ function Gi(e, t) {
3960
+ if (!Mn(e))
3908
3961
  return null;
3909
- const n = $i(e);
3910
- return Li(n, t);
3962
+ const n = Ui(e);
3963
+ return Di(n, t);
3911
3964
  }
3912
- function Fi(e) {
3965
+ function ki(e) {
3913
3966
  if (e == null)
3914
3967
  return;
3915
3968
  const t = ke(e);
3916
3969
  for (let n = 0; n < t.length; n++) {
3917
3970
  const r = t[n];
3918
- if (Sn(r))
3971
+ if (Mn(r))
3919
3972
  return r;
3920
3973
  }
3921
3974
  }
3922
- function An(e, ...t) {
3923
- delete re[e], Ce.update((n) => (n[e] = jr.all([n[e] || {}, ...t]), n));
3975
+ function Hn(e, ...t) {
3976
+ delete re[e], Ce.update((n) => (n[e] = Xr.all([n[e] || {}, ...t]), n));
3924
3977
  }
3925
3978
  ve(
3926
3979
  [Ce],
3927
3980
  ([e]) => Object.keys(e)
3928
3981
  );
3929
- Ce.subscribe((e) => mt = e);
3982
+ Ce.subscribe((e) => gt = e);
3930
3983
  const Le = {};
3931
- function Ui(e, t) {
3984
+ function ji(e, t) {
3932
3985
  Le[e].delete(t), Le[e].size === 0 && delete Le[e];
3933
3986
  }
3934
- function Tn(e) {
3987
+ function In(e) {
3935
3988
  return Le[e];
3936
3989
  }
3937
- function Gi(e) {
3990
+ function Wi(e) {
3938
3991
  return ke(e).map((t) => {
3939
- const n = Tn(t);
3992
+ const n = In(t);
3940
3993
  return [t, n ? [...n] : []];
3941
3994
  }).filter(([, t]) => t.length > 0);
3942
3995
  }
3943
- function ht(e) {
3996
+ function ft(e) {
3944
3997
  return e == null ? !1 : ke(e).some(
3945
3998
  (t) => {
3946
3999
  var n;
3947
- return (n = Tn(t)) == null ? void 0 : n.size;
4000
+ return (n = In(t)) == null ? void 0 : n.size;
3948
4001
  }
3949
4002
  );
3950
4003
  }
3951
- function ki(e, t) {
4004
+ function Vi(e, t) {
3952
4005
  return Promise.all(
3953
- t.map((r) => (Ui(e, r), r().then((i) => i.default || i)))
3954
- ).then((r) => An(e, ...r));
4006
+ t.map((r) => (ji(e, r), r().then((i) => i.default || i)))
4007
+ ).then((r) => Hn(e, ...r));
3955
4008
  }
3956
4009
  const _e = {};
3957
- function Pn(e) {
3958
- if (!ht(e))
4010
+ function On(e) {
4011
+ if (!ft(e))
3959
4012
  return e in _e ? _e[e] : Promise.resolve();
3960
- const t = Gi(e);
4013
+ const t = Wi(e);
3961
4014
  return _e[e] = Promise.all(
3962
4015
  t.map(
3963
- ([n, r]) => ki(n, r)
4016
+ ([n, r]) => Vi(n, r)
3964
4017
  )
3965
4018
  ).then(() => {
3966
- if (ht(e))
3967
- return Pn(e);
4019
+ if (ft(e))
4020
+ return On(e);
3968
4021
  delete _e[e];
3969
4022
  }), _e[e];
3970
4023
  }
3971
- const ji = {
4024
+ const zi = {
3972
4025
  number: {
3973
4026
  scientific: { notation: "scientific" },
3974
4027
  engineering: { notation: "engineering" },
@@ -3997,57 +4050,57 @@ const ji = {
3997
4050
  timeZoneName: "short"
3998
4051
  }
3999
4052
  }
4000
- }, Wi = {
4053
+ }, Xi = {
4001
4054
  fallbackLocale: null,
4002
4055
  loadingDelay: 200,
4003
- formats: ji,
4056
+ formats: zi,
4004
4057
  warnOnMissingMessages: !0,
4005
4058
  handleMissingMessage: void 0,
4006
4059
  ignoreTag: !0
4007
- }, Vi = Wi;
4060
+ }, Zi = Xi;
4008
4061
  function be() {
4009
- return Vi;
4062
+ return Zi;
4010
4063
  }
4011
- const Qe = Ue(!1);
4012
- var zi = Object.defineProperty, Xi = Object.defineProperties, Zi = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Qi = Object.prototype.propertyIsEnumerable, Dt = (e, t, n) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ji = (e, t) => {
4064
+ const Je = Ue(!1);
4065
+ var qi = Object.defineProperty, Qi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, Gt = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, eo = (e, t) => {
4013
4066
  for (var n in t || (t = {}))
4014
- qi.call(t, n) && Dt(e, n, t[n]);
4015
- if ($t)
4016
- for (var n of $t(t))
4017
- Qi.call(t, n) && Dt(e, n, t[n]);
4067
+ Yi.call(t, n) && Gt(e, n, t[n]);
4068
+ if (Ut)
4069
+ for (var n of Ut(t))
4070
+ Ki.call(t, n) && Gt(e, n, t[n]);
4018
4071
  return e;
4019
- }, Yi = (e, t) => Xi(e, Zi(t));
4020
- let ft;
4072
+ }, to = (e, t) => Qi(e, Ji(t));
4073
+ let dt;
4021
4074
  const $e = Ue(null);
4022
- function Ft(e) {
4075
+ function kt(e) {
4023
4076
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4024
4077
  }
4025
4078
  function ke(e, t = be().fallbackLocale) {
4026
- const n = Ft(e);
4027
- return t ? [.../* @__PURE__ */ new Set([...n, ...Ft(t)])] : n;
4079
+ const n = kt(e);
4080
+ return t ? [.../* @__PURE__ */ new Set([...n, ...kt(t)])] : n;
4028
4081
  }
4029
4082
  function se() {
4030
- return ft ?? void 0;
4083
+ return dt ?? void 0;
4031
4084
  }
4032
4085
  $e.subscribe((e) => {
4033
- ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4086
+ dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4034
4087
  });
4035
- const Ki = (e) => {
4036
- if (e && Fi(e) && ht(e)) {
4088
+ const no = (e) => {
4089
+ if (e && ki(e) && ft(e)) {
4037
4090
  const { loadingDelay: t } = be();
4038
4091
  let n;
4039
4092
  return typeof window < "u" && se() != null && t ? n = window.setTimeout(
4040
- () => Qe.set(!0),
4093
+ () => Je.set(!0),
4041
4094
  t
4042
- ) : Qe.set(!0), Pn(e).then(() => {
4095
+ ) : Je.set(!0), On(e).then(() => {
4043
4096
  $e.set(e);
4044
4097
  }).finally(() => {
4045
- clearTimeout(n), Qe.set(!1);
4098
+ clearTimeout(n), Je.set(!1);
4046
4099
  });
4047
4100
  }
4048
4101
  return $e.set(e);
4049
- }, ge = Yi(Ji({}, $e), {
4050
- set: Ki
4102
+ }, ge = to(eo({}, $e), {
4103
+ set: no
4051
4104
  }), je = (e) => {
4052
4105
  const t = /* @__PURE__ */ Object.create(null);
4053
4106
  return (r) => {
@@ -4055,20 +4108,20 @@ const Ki = (e) => {
4055
4108
  return i in t ? t[i] : t[i] = e(r);
4056
4109
  };
4057
4110
  };
4058
- var eo = Object.defineProperty, De = Object.getOwnPropertySymbols, Mn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Ut = (e, t, n) => t in e ? eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, bt = (e, t) => {
4111
+ var ro = Object.defineProperty, De = Object.getOwnPropertySymbols, Nn = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable, jt = (e, t, n) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, yt = (e, t) => {
4059
4112
  for (var n in t || (t = {}))
4060
- Mn.call(t, n) && Ut(e, n, t[n]);
4113
+ Nn.call(t, n) && jt(e, n, t[n]);
4061
4114
  if (De)
4062
4115
  for (var n of De(t))
4063
- Hn.call(t, n) && Ut(e, n, t[n]);
4116
+ Ln.call(t, n) && jt(e, n, t[n]);
4064
4117
  return e;
4065
4118
  }, ye = (e, t) => {
4066
4119
  var n = {};
4067
4120
  for (var r in e)
4068
- Mn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4121
+ Nn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4069
4122
  if (e != null && De)
4070
4123
  for (var r of De(e))
4071
- t.indexOf(r) < 0 && Hn.call(e, r) && (n[r] = e[r]);
4124
+ t.indexOf(r) < 0 && Ln.call(e, r) && (n[r] = e[r]);
4072
4125
  return n;
4073
4126
  };
4074
4127
  const we = (e, t) => {
@@ -4076,21 +4129,21 @@ const we = (e, t) => {
4076
4129
  if (e in n && t in n[e])
4077
4130
  return n[e][t];
4078
4131
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4079
- }, to = je(
4132
+ }, io = je(
4080
4133
  (e) => {
4081
4134
  var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4082
4135
  if (n == null)
4083
4136
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4084
4137
  return r && (i = we("number", r)), new Intl.NumberFormat(n, i);
4085
4138
  }
4086
- ), no = je(
4139
+ ), oo = je(
4087
4140
  (e) => {
4088
4141
  var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4089
4142
  if (n == null)
4090
4143
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4091
4144
  return r ? i = we("date", r) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(n, i);
4092
4145
  }
4093
- ), ro = je(
4146
+ ), so = je(
4094
4147
  (e) => {
4095
4148
  var t = e, { locale: n, format: r } = t, i = ye(t, ["locale", "format"]);
4096
4149
  if (n == null)
@@ -4099,33 +4152,33 @@ const we = (e, t) => {
4099
4152
  );
4100
4153
  return r ? i = we("time", r) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(n, i);
4101
4154
  }
4102
- ), io = (e = {}) => {
4155
+ ), ao = (e = {}) => {
4103
4156
  var t = e, {
4104
4157
  locale: n = se()
4105
4158
  } = t, r = ye(t, [
4106
4159
  "locale"
4107
4160
  ]);
4108
- return to(bt({ locale: n }, r));
4109
- }, oo = (e = {}) => {
4161
+ return io(yt({ locale: n }, r));
4162
+ }, uo = (e = {}) => {
4110
4163
  var t = e, {
4111
4164
  locale: n = se()
4112
4165
  } = t, r = ye(t, [
4113
4166
  "locale"
4114
4167
  ]);
4115
- return no(bt({ locale: n }, r));
4116
- }, so = (e = {}) => {
4168
+ return oo(yt({ locale: n }, r));
4169
+ }, lo = (e = {}) => {
4117
4170
  var t = e, {
4118
4171
  locale: n = se()
4119
4172
  } = t, r = ye(t, [
4120
4173
  "locale"
4121
4174
  ]);
4122
- return ro(bt({ locale: n }, r));
4123
- }, ao = je(
4175
+ return so(yt({ locale: n }, r));
4176
+ }, co = je(
4124
4177
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4125
- (e, t = se()) => new Ni(e, t, be().formats, {
4178
+ (e, t = se()) => new $i(e, t, be().formats, {
4126
4179
  ignoreTag: be().ignoreTag
4127
4180
  })
4128
- ), uo = (e, t = {}) => {
4181
+ ), ho = (e, t = {}) => {
4129
4182
  var n, r, i, o;
4130
4183
  let s = t;
4131
4184
  typeof e == "object" && (s = e, e = s.id);
@@ -4138,7 +4191,7 @@ const we = (e, t) => {
4138
4191
  throw new Error(
4139
4192
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4140
4193
  );
4141
- let c = Cn(e, l);
4194
+ let c = Pn(e, l);
4142
4195
  if (!c)
4143
4196
  c = (o = (i = (r = (n = be()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4144
4197
  else if (typeof c != "string")
@@ -4149,7 +4202,7 @@ const we = (e, t) => {
4149
4202
  return c;
4150
4203
  let h = c;
4151
4204
  try {
4152
- h = ao(c, l).format(a);
4205
+ h = co(c, l).format(a);
4153
4206
  } catch (f) {
4154
4207
  f instanceof Error && console.warn(
4155
4208
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4157,20 +4210,20 @@ const we = (e, t) => {
4157
4210
  );
4158
4211
  }
4159
4212
  return h;
4160
- }, lo = (e, t) => so(t).format(e), co = (e, t) => oo(t).format(e), ho = (e, t) => io(t).format(e), fo = (e, t = se()) => Cn(e, t), po = ve([ge, Ce], () => uo);
4161
- ve([ge], () => lo);
4162
- ve([ge], () => co);
4163
- ve([ge], () => ho);
4164
- ve([ge, Ce], () => fo);
4165
- window.emWidgets = { topic: Sr };
4166
- const mo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4167
- function Gt(e, t) {
4168
- An(e, t);
4169
- }
4170
- function bo(e) {
4213
+ }, fo = (e, t) => lo(t).format(e), po = (e, t) => uo(t).format(e), mo = (e, t) => ao(t).format(e), bo = (e, t = se()) => Pn(e, t), vo = ve([ge, Ce], () => ho);
4214
+ ve([ge], () => fo);
4215
+ ve([ge], () => po);
4216
+ ve([ge], () => mo);
4217
+ ve([ge, Ce], () => bo);
4218
+ window.emWidgets = { topic: Mr };
4219
+ const go = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4220
+ function Wt(e, t) {
4221
+ Hn(e, t);
4222
+ }
4223
+ function yo(e) {
4171
4224
  ge.set(e);
4172
4225
  }
4173
- const kt = {
4226
+ const Vt = {
4174
4227
  en: {
4175
4228
  titleBonuses: "Active Bonuses",
4176
4229
  bonusCode: "Do you have a bonus code?",
@@ -4304,13 +4357,13 @@ const kt = {
4304
4357
  errorMessage: "Invalid bonus"
4305
4358
  }
4306
4359
  };
4307
- function vo(e, t) {
4360
+ function _o(e, t) {
4308
4361
  if (e) {
4309
4362
  const n = document.createElement("style");
4310
4363
  n.innerHTML = t, e.appendChild(n);
4311
4364
  }
4312
4365
  }
4313
- function go(e, t) {
4366
+ function Bo(e, t) {
4314
4367
  const n = new URL(t);
4315
4368
  fetch(n.href).then((r) => r.text()).then((r) => {
4316
4369
  const i = document.createElement("style");
@@ -4319,7 +4372,7 @@ function go(e, t) {
4319
4372
  console.error("There was an error while trying to load client styling from URL", r);
4320
4373
  });
4321
4374
  }
4322
- function yo(e, t, n) {
4375
+ function Eo(e, t, n) {
4323
4376
  if (window.emMessageBus) {
4324
4377
  const r = document.createElement("style");
4325
4378
  window.emMessageBus.subscribe(t, (i) => {
@@ -4339,68 +4392,68 @@ if (typeof window < "u") {
4339
4392
  }
4340
4393
  };
4341
4394
  };
4342
- customElements.define = e(customElements.define), import("./PlayerBonusCard-DAM8mWiL.js").then(({ default: t }) => {
4395
+ customElements.define = e(customElements.define), import("./PlayerBonusCard-amCuso8e.js").then(({ default: t }) => {
4343
4396
  !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
4344
4397
  });
4345
4398
  }
4346
- function _o(e) {
4347
- zn(e, "svelte-1uw0g7j", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
4399
+ function xo(e) {
4400
+ Qn(e, "svelte-1uw0g7j", ".ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}");
4348
4401
  }
4349
- function jt(e, t, n) {
4402
+ function zt(e, t, n) {
4350
4403
  const r = e.slice();
4351
4404
  return r[46] = t[n], r[48] = n, r;
4352
4405
  }
4353
- function Wt(e, t, n) {
4406
+ function Xt(e, t, n) {
4354
4407
  const r = e.slice();
4355
4408
  return r[49] = t[n], r;
4356
4409
  }
4357
- function Bo(e) {
4410
+ function wo(e) {
4358
4411
  let t, n, r, i = (
4359
4412
  /*$_*/
4360
- e[15]("titleBonuses") + ""
4413
+ e[16]("titleBonuses") + ""
4361
4414
  ), o, s, a, l, u = (
4362
4415
  /*$_*/
4363
- e[15]("bonusCode") + ""
4416
+ e[16]("bonusCode") + ""
4364
4417
  ), c, h, f, p, b, d, C = (
4365
4418
  /*$_*/
4366
- e[15]("getBonus") + ""
4419
+ e[16]("getBonus") + ""
4367
4420
  ), _, g, M, N, T, E, L, I, ne, Q = (
4368
4421
  /*isMobile*/
4369
- e[16] && Eo(e)
4422
+ e[17] && Co(e)
4370
4423
  ), R = (
4371
4424
  /*invalidBonusCode*/
4372
- e[6] && Vt(e)
4425
+ e[7] && Zt(e)
4373
4426
  );
4374
4427
  function Se(S, H) {
4375
4428
  return (
4376
4429
  /*activeBonusesList*/
4377
- S[13].length === 0 ? wo : xo
4430
+ S[14].length === 0 ? Ao : So
4378
4431
  );
4379
4432
  }
4380
4433
  let oe = Se(e), V = oe(e), $ = (
4381
4434
  /*activeBonusesList*/
4382
- e[13].length !== 0 && Xt(e)
4435
+ e[14].length !== 0 && Qt(e)
4383
4436
  ), F = (
4384
4437
  /*bonusModal*/
4385
- e[14] && qt(e)
4438
+ e[15] && Yt(e)
4386
4439
  );
4387
4440
  return {
4388
4441
  c() {
4389
- t = P("div"), Q && Q.c(), n = j(), r = P("h2"), o = D(i), s = j(), a = P("div"), l = P("label"), c = D(u), h = j(), f = P("div"), p = P("input"), b = j(), d = P("button"), _ = D(C), g = j(), R && R.c(), M = j(), N = P("div"), V.c(), T = j(), $ && $.c(), E = j(), F && F.c(), L = pt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4390
- (e[16] ? "ActiveBonusesTitleNone" : "")), B(l, "for", "BonusCode"), B(p, "class", "BonusCodeInput " + /*isMobile*/
4391
- (e[16] ? "BonusCodeInputMobile" : "")), B(p, "type", "text"), B(p, "id", "BonusCode"), B(d, "class", "SubmitBonusCode " + /*isMobile*/
4392
- (e[16] ? "SubmitBonusCodeMobile" : "")), d.disabled = /*invalidBonusField*/
4393
- e[5], B(f, "class", "BonusCodeWrapper " + /*isMobile*/
4394
- (e[16] ? "BonusCodeWrapperMobile" : "")), B(a, "class", "BonusCodeContainer " + /*isMobile*/
4395
- (e[16] ? "BonusCodeContainerMobile" : "")), B(N, "class", "ActiveBonusesGrid " + /*isMobile*/
4396
- (e[16] ? "ActiveBonusesGridMobile" : "")), B(t, "class", "ActiveBonusesWrapper " + /*isMobile*/
4397
- (e[16] ? "ActiveBonusesWrapperMobile" : ""));
4442
+ t = P("div"), Q && Q.c(), n = j(), r = P("h2"), o = D(i), s = j(), a = P("div"), l = P("label"), c = D(u), h = j(), f = P("div"), p = P("input"), b = j(), d = P("button"), _ = D(C), g = j(), R && R.c(), M = j(), N = P("div"), V.c(), T = j(), $ && $.c(), E = j(), F && F.c(), L = mt(), B(r, "class", "ActiveBonusesTitle " + /*isMobile*/
4443
+ (e[17] ? "ActiveBonusesTitleNone" : "")), B(l, "for", "BonusCode"), B(p, "class", "BonusCodeInput " + /*isMobile*/
4444
+ (e[17] ? "BonusCodeInputMobile" : "")), B(p, "type", "text"), B(p, "id", "BonusCode"), B(d, "class", "SubmitBonusCode " + /*isMobile*/
4445
+ (e[17] ? "SubmitBonusCodeMobile" : "")), d.disabled = /*invalidBonusField*/
4446
+ e[6], B(f, "class", "BonusCodeWrapper " + /*isMobile*/
4447
+ (e[17] ? "BonusCodeWrapperMobile" : "")), B(a, "class", "BonusCodeContainer " + /*isMobile*/
4448
+ (e[17] ? "BonusCodeContainerMobile" : "")), B(N, "class", "ActiveBonusesGrid " + /*isMobile*/
4449
+ (e[17] ? "ActiveBonusesGridMobile" : "")), B(t, "class", "ActiveBonusesWrapper " + /*isMobile*/
4450
+ (e[17] ? "ActiveBonusesWrapperMobile" : ""));
4398
4451
  },
4399
4452
  m(S, H) {
4400
- W(S, t, H), Q && Q.m(t, null), v(t, n), v(t, r), v(r, o), v(t, s), v(t, a), v(a, l), v(l, c), v(a, h), v(a, f), v(f, p), yt(
4453
+ W(S, t, H), Q && Q.m(t, null), v(t, n), v(t, r), v(r, o), v(t, s), v(t, a), v(a, l), v(l, c), v(a, h), v(a, f), v(f, p), Et(
4401
4454
  p,
4402
4455
  /*bonusCode*/
4403
- e[7]
4456
+ e[8]
4404
4457
  ), v(f, b), v(f, d), v(d, _), v(a, g), R && R.m(a, null), v(t, M), v(t, N), V.m(N, null), v(t, T), $ && $.m(t, null), W(S, E, H), F && F.m(S, H), W(S, L, H), I || (ne = [
4405
4458
  Z(
4406
4459
  p,
@@ -4412,49 +4465,49 @@ function Bo(e) {
4412
4465
  p,
4413
4466
  "keyup",
4414
4467
  /*validateBonusCode*/
4415
- e[18]
4468
+ e[19]
4416
4469
  ),
4417
4470
  Z(
4418
4471
  d,
4419
4472
  "click",
4420
4473
  /*debouncedFunction*/
4421
- e[23](
4474
+ e[24](
4422
4475
  /*claimBonus*/
4423
- e[20]
4476
+ e[21]
4424
4477
  )
4425
4478
  )
4426
4479
  ], I = !0);
4427
4480
  },
4428
4481
  p(S, H) {
4429
4482
  /*isMobile*/
4430
- S[16] && Q.p(S, H), H[0] & /*$_*/
4431
- 32768 && i !== (i = /*$_*/
4432
- S[15]("titleBonuses") + "") && K(o, i), H[0] & /*$_*/
4433
- 32768 && u !== (u = /*$_*/
4434
- S[15]("bonusCode") + "") && K(c, u), H[0] & /*bonusCode*/
4435
- 128 && p.value !== /*bonusCode*/
4436
- S[7] && yt(
4483
+ S[17] && Q.p(S, H), H[0] & /*$_*/
4484
+ 65536 && i !== (i = /*$_*/
4485
+ S[16]("titleBonuses") + "") && K(o, i), H[0] & /*$_*/
4486
+ 65536 && u !== (u = /*$_*/
4487
+ S[16]("bonusCode") + "") && K(c, u), H[0] & /*bonusCode*/
4488
+ 256 && p.value !== /*bonusCode*/
4489
+ S[8] && Et(
4437
4490
  p,
4438
4491
  /*bonusCode*/
4439
- S[7]
4492
+ S[8]
4440
4493
  ), H[0] & /*$_*/
4441
- 32768 && C !== (C = /*$_*/
4442
- S[15]("getBonus") + "") && K(_, C), H[0] & /*invalidBonusField*/
4443
- 32 && (d.disabled = /*invalidBonusField*/
4444
- S[5]), /*invalidBonusCode*/
4445
- S[6] ? R ? R.p(S, H) : (R = Vt(S), R.c(), R.m(a, null)) : R && (R.d(1), R = null), oe === (oe = Se(S)) && V ? V.p(S, H) : (V.d(1), V = oe(S), V && (V.c(), V.m(N, null))), /*activeBonusesList*/
4446
- S[13].length !== 0 ? $ ? $.p(S, H) : ($ = Xt(S), $.c(), $.m(t, null)) : $ && ($.d(1), $ = null), /*bonusModal*/
4447
- S[14] ? F ? F.p(S, H) : (F = qt(S), F.c(), F.m(L.parentNode, L)) : F && (F.d(1), F = null);
4494
+ 65536 && C !== (C = /*$_*/
4495
+ S[16]("getBonus") + "") && K(_, C), H[0] & /*invalidBonusField*/
4496
+ 64 && (d.disabled = /*invalidBonusField*/
4497
+ S[6]), /*invalidBonusCode*/
4498
+ S[7] ? R ? R.p(S, H) : (R = Zt(S), R.c(), R.m(a, null)) : R && (R.d(1), R = null), oe === (oe = Se(S)) && V ? V.p(S, H) : (V.d(1), V = oe(S), V && (V.c(), V.m(N, null))), /*activeBonusesList*/
4499
+ S[14].length !== 0 ? $ ? $.p(S, H) : ($ = Qt(S), $.c(), $.m(t, null)) : $ && ($.d(1), $ = null), /*bonusModal*/
4500
+ S[15] ? F ? F.p(S, H) : (F = Yt(S), F.c(), F.m(L.parentNode, L)) : F && (F.d(1), F = null);
4448
4501
  },
4449
4502
  d(S) {
4450
4503
  S && (U(t), U(E), U(L)), Q && Q.d(), R && R.d(), V.d(), $ && $.d(), F && F.d(S), I = !1, ie(ne);
4451
4504
  }
4452
4505
  };
4453
4506
  }
4454
- function Eo(e) {
4507
+ function Co(e) {
4455
4508
  let t, n, r, i, o, s, a, l, u, c, h = (
4456
4509
  /*$_*/
4457
- e[15]("titleBonuses") + ""
4510
+ e[16]("titleBonuses") + ""
4458
4511
  ), f, p, b;
4459
4512
  return {
4460
4513
  c() {
@@ -4470,18 +4523,18 @@ function Eo(e) {
4470
4523
  },
4471
4524
  p(d, C) {
4472
4525
  C[0] & /*$_*/
4473
- 32768 && h !== (h = /*$_*/
4474
- d[15]("titleBonuses") + "") && K(f, h);
4526
+ 65536 && h !== (h = /*$_*/
4527
+ d[16]("titleBonuses") + "") && K(f, h);
4475
4528
  },
4476
4529
  d(d) {
4477
4530
  d && U(t), p = !1, b();
4478
4531
  }
4479
4532
  };
4480
4533
  }
4481
- function Vt(e) {
4534
+ function Zt(e) {
4482
4535
  let t, n = (
4483
4536
  /*$_*/
4484
- e[15]("invalidBonusCode") + ""
4537
+ e[16]("invalidBonusCode") + ""
4485
4538
  ), r;
4486
4539
  return {
4487
4540
  c() {
@@ -4492,26 +4545,26 @@ function Vt(e) {
4492
4545
  },
4493
4546
  p(i, o) {
4494
4547
  o[0] & /*$_*/
4495
- 32768 && n !== (n = /*$_*/
4496
- i[15]("invalidBonusCode") + "") && K(r, n);
4548
+ 65536 && n !== (n = /*$_*/
4549
+ i[16]("invalidBonusCode") + "") && K(r, n);
4497
4550
  },
4498
4551
  d(i) {
4499
4552
  i && U(t);
4500
4553
  }
4501
4554
  };
4502
4555
  }
4503
- function xo(e) {
4556
+ function So(e) {
4504
4557
  let t, n = Re(
4505
4558
  /*activeBonusesList*/
4506
- e[13]
4559
+ e[14]
4507
4560
  ), r = [];
4508
4561
  for (let i = 0; i < n.length; i += 1)
4509
- r[i] = zt(Wt(e, n, i));
4562
+ r[i] = qt(Xt(e, n, i));
4510
4563
  return {
4511
4564
  c() {
4512
4565
  for (let i = 0; i < r.length; i += 1)
4513
4566
  r[i].c();
4514
- t = pt();
4567
+ t = mt();
4515
4568
  },
4516
4569
  m(i, o) {
4517
4570
  for (let s = 0; s < r.length; s += 1)
@@ -4519,16 +4572,16 @@ function xo(e) {
4519
4572
  W(i, t, o);
4520
4573
  },
4521
4574
  p(i, o) {
4522
- if (o[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl, mbsource*/
4523
- 8207) {
4575
+ if (o[0] & /*activeBonusesList, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
4576
+ 16415) {
4524
4577
  n = Re(
4525
4578
  /*activeBonusesList*/
4526
- i[13]
4579
+ i[14]
4527
4580
  );
4528
4581
  let s;
4529
4582
  for (s = 0; s < n.length; s += 1) {
4530
- const a = Wt(i, n, s);
4531
- r[s] ? r[s].p(a, o) : (r[s] = zt(a), r[s].c(), r[s].m(t.parentNode, t));
4583
+ const a = Xt(i, n, s);
4584
+ r[s] ? r[s].p(a, o) : (r[s] = qt(a), r[s].c(), r[s].m(t.parentNode, t));
4532
4585
  }
4533
4586
  for (; s < r.length; s += 1)
4534
4587
  r[s].d(1);
@@ -4536,14 +4589,14 @@ function xo(e) {
4536
4589
  }
4537
4590
  },
4538
4591
  d(i) {
4539
- i && U(t), Kt(r, i);
4592
+ i && U(t), nn(r, i);
4540
4593
  }
4541
4594
  };
4542
4595
  }
4543
- function wo(e) {
4596
+ function Ao(e) {
4544
4597
  let t, n = (
4545
4598
  /*$_*/
4546
- e[15]("noActiveBonuses") + ""
4599
+ e[16]("noActiveBonuses") + ""
4547
4600
  ), r;
4548
4601
  return {
4549
4602
  c() {
@@ -4554,15 +4607,15 @@ function wo(e) {
4554
4607
  },
4555
4608
  p(i, o) {
4556
4609
  o[0] & /*$_*/
4557
- 32768 && n !== (n = /*$_*/
4558
- i[15]("noActiveBonuses") + "") && K(r, n);
4610
+ 65536 && n !== (n = /*$_*/
4611
+ i[16]("noActiveBonuses") + "") && K(r, n);
4559
4612
  },
4560
4613
  d(i) {
4561
4614
  i && U(t);
4562
4615
  }
4563
4616
  };
4564
4617
  }
4565
- function Co(e) {
4618
+ function To(e) {
4566
4619
  let t, n, r, i, o, s, a, l, u, c, h, f, p, b, d, C;
4567
4620
  return {
4568
4621
  c() {
@@ -4602,6 +4655,11 @@ function Co(e) {
4602
4655
  "mbsource",
4603
4656
  /*mbsource*/
4604
4657
  e[3]
4658
+ ), m(
4659
+ t,
4660
+ "translationurl",
4661
+ /*translationurl*/
4662
+ e[4]
4605
4663
  );
4606
4664
  },
4607
4665
  m(_, g) {
@@ -4609,36 +4667,36 @@ function Co(e) {
4609
4667
  },
4610
4668
  p(_, g) {
4611
4669
  g[0] & /*activeBonusesList*/
4612
- 8192 && n !== (n = /*activeBonus*/
4670
+ 16384 && n !== (n = /*activeBonus*/
4613
4671
  _[49].termsandconditionsdescription) && m(t, "termsandconditionsdescription", n), g[0] & /*activeBonusesList*/
4614
- 8192 && r !== (r = /*activeBonus*/
4672
+ 16384 && r !== (r = /*activeBonus*/
4615
4673
  _[49].termsandconditionsurl) && m(t, "termsandconditionsurl", r), g[0] & /*activeBonusesList*/
4616
- 8192 && i !== (i = /*activeBonus*/
4674
+ 16384 && i !== (i = /*activeBonus*/
4617
4675
  _[49].termsandconditionsasset) && m(t, "termsandconditionsasset", i), g[0] & /*activeBonusesList*/
4618
- 8192 && o !== (o = /*activeBonus*/
4676
+ 16384 && o !== (o = /*activeBonus*/
4619
4677
  _[49].endpoint) && m(t, "endpoint", o), g[0] & /*activeBonusesList*/
4620
- 8192 && s !== (s = /*activeBonus*/
4678
+ 16384 && s !== (s = /*activeBonus*/
4621
4679
  _[49].playerid) && m(t, "playerid", s), g[0] & /*activeBonusesList*/
4622
- 8192 && a !== (a = /*activeBonus*/
4680
+ 16384 && a !== (a = /*activeBonus*/
4623
4681
  _[49].session) && m(t, "session", a), g[0] & /*activeBonusesList*/
4624
- 8192 && l !== (l = /*activeBonus*/
4682
+ 16384 && l !== (l = /*activeBonus*/
4625
4683
  _[49].walletId) && m(t, "bonuswalletid", l), g[0] & /*activeBonusesList*/
4626
- 8192 && u !== (u = /*activeBonus*/
4684
+ 16384 && u !== (u = /*activeBonus*/
4627
4685
  _[49].granted) && m(t, "bonusdate", u), g[0] & /*activeBonusesList*/
4628
- 8192 && c !== (c = /*activeBonus*/
4686
+ 16384 && c !== (c = /*activeBonus*/
4629
4687
  _[49].status) && m(t, "bonusstatus", c), g[0] & /*activeBonusesList*/
4630
- 8192 && h !== (h = /*activeBonus*/
4688
+ 16384 && h !== (h = /*activeBonus*/
4631
4689
  _[49].name) && m(t, "bonusname", h), g[0] & /*activeBonusesList*/
4632
- 8192 && f !== (f = /*activeBonus*/
4690
+ 16384 && f !== (f = /*activeBonus*/
4633
4691
  _[49].type) && m(t, "bonustype", f), g[0] & /*activeBonusesList*/
4634
- 8192 && p !== (p = /*activeBonus*/
4692
+ 16384 && p !== (p = /*activeBonus*/
4635
4693
  _[49].extension.grantedPlayerCurrencyAmount) && m(t, "bonusamount", p), g[0] & /*activeBonusesList*/
4636
- 8192 && b !== (b = `${/*activeBonus*/
4694
+ 16384 && b !== (b = `${/*activeBonus*/
4637
4695
  _[49].fulfilledWR} / ${/*activeBonus*/
4638
4696
  _[49].originalWageringRequirement}`) && m(t, "bonuswageringamount", b), g[0] & /*activeBonusesList*/
4639
- 8192 && d !== (d = /*activeBonus*/
4697
+ 16384 && d !== (d = /*activeBonus*/
4640
4698
  _[49].currentAmount) && m(t, "bonusremainingamount", d), g[0] & /*activeBonusesList*/
4641
- 8192 && C !== (C = /*activeBonus*/
4699
+ 16384 && C !== (C = /*activeBonus*/
4642
4700
  _[49].currency) && m(t, "bonuscurrency", C), g[0] & /*lang*/
4643
4701
  1 && m(
4644
4702
  t,
@@ -4663,6 +4721,12 @@ function Co(e) {
4663
4721
  "mbsource",
4664
4722
  /*mbsource*/
4665
4723
  _[3]
4724
+ ), g[0] & /*translationurl*/
4725
+ 16 && m(
4726
+ t,
4727
+ "translationurl",
4728
+ /*translationurl*/
4729
+ _[4]
4666
4730
  );
4667
4731
  },
4668
4732
  d(_) {
@@ -4670,7 +4734,7 @@ function Co(e) {
4670
4734
  }
4671
4735
  };
4672
4736
  }
4673
- function So(e) {
4737
+ function Po(e) {
4674
4738
  let t, n, r, i, o, s, a, l, u, c, h, f, p;
4675
4739
  return {
4676
4740
  c() {
@@ -4706,6 +4770,11 @@ function So(e) {
4706
4770
  "mbsource",
4707
4771
  /*mbsource*/
4708
4772
  e[3]
4773
+ ), m(
4774
+ t,
4775
+ "translationurl",
4776
+ /*translationurl*/
4777
+ e[4]
4709
4778
  );
4710
4779
  },
4711
4780
  m(b, d) {
@@ -4713,29 +4782,29 @@ function So(e) {
4713
4782
  },
4714
4783
  p(b, d) {
4715
4784
  d[0] & /*activeBonusesList*/
4716
- 8192 && n !== (n = /*activeBonus*/
4785
+ 16384 && n !== (n = /*activeBonus*/
4717
4786
  b[49].termsandconditionsdescription) && m(t, "termsandconditionsdescription", n), d[0] & /*activeBonusesList*/
4718
- 8192 && r !== (r = /*activeBonus*/
4787
+ 16384 && r !== (r = /*activeBonus*/
4719
4788
  b[49].termsandconditionsurl) && m(t, "termsandconditionsurl", r), d[0] & /*activeBonusesList*/
4720
- 8192 && i !== (i = /*activeBonus*/
4789
+ 16384 && i !== (i = /*activeBonus*/
4721
4790
  b[49].termsandconditionsasset) && m(t, "termsandconditionsasset", i), d[0] & /*activeBonusesList*/
4722
- 8192 && o !== (o = /*activeBonus*/
4791
+ 16384 && o !== (o = /*activeBonus*/
4723
4792
  b[49].endpoint) && m(t, "endpoint", o), d[0] & /*activeBonusesList*/
4724
- 8192 && s !== (s = /*activeBonus*/
4793
+ 16384 && s !== (s = /*activeBonus*/
4725
4794
  b[49].playerid) && m(t, "playerid", s), d[0] & /*activeBonusesList*/
4726
- 8192 && a !== (a = /*activeBonus*/
4795
+ 16384 && a !== (a = /*activeBonus*/
4727
4796
  b[49].session) && m(t, "session", a), d[0] & /*activeBonusesList*/
4728
- 8192 && l !== (l = /*activeBonus*/
4797
+ 16384 && l !== (l = /*activeBonus*/
4729
4798
  b[49].walletId) && m(t, "bonuswalletid", l), d[0] & /*activeBonusesList*/
4730
- 8192 && u !== (u = /*activeBonus*/
4799
+ 16384 && u !== (u = /*activeBonus*/
4731
4800
  b[49].granted) && m(t, "bonusdate", u), d[0] & /*activeBonusesList*/
4732
- 8192 && c !== (c = /*activeBonus*/
4801
+ 16384 && c !== (c = /*activeBonus*/
4733
4802
  b[49].status) && m(t, "bonusstatus", c), d[0] & /*activeBonusesList*/
4734
- 8192 && h !== (h = /*activeBonus*/
4803
+ 16384 && h !== (h = /*activeBonus*/
4735
4804
  b[49].name) && m(t, "bonusname", h), d[0] & /*activeBonusesList*/
4736
- 8192 && f !== (f = /*activeBonus*/
4805
+ 16384 && f !== (f = /*activeBonus*/
4737
4806
  b[49].type) && m(t, "bonustype", f), d[0] & /*activeBonusesList*/
4738
- 8192 && p !== (p = /*activeBonus*/
4807
+ 16384 && p !== (p = /*activeBonus*/
4739
4808
  b[49].currency) && m(t, "bonuscurrency", p), d[0] & /*lang*/
4740
4809
  1 && m(
4741
4810
  t,
@@ -4760,6 +4829,12 @@ function So(e) {
4760
4829
  "mbsource",
4761
4830
  /*mbsource*/
4762
4831
  b[3]
4832
+ ), d[0] & /*translationurl*/
4833
+ 16 && m(
4834
+ t,
4835
+ "translationurl",
4836
+ /*translationurl*/
4837
+ b[4]
4763
4838
  );
4764
4839
  },
4765
4840
  d(b) {
@@ -4767,18 +4842,18 @@ function So(e) {
4767
4842
  }
4768
4843
  };
4769
4844
  }
4770
- function zt(e) {
4845
+ function qt(e) {
4771
4846
  let t;
4772
4847
  function n(o, s) {
4773
4848
  return (
4774
4849
  /*activeBonus*/
4775
- o[49].type === "freeRound" ? So : Co
4850
+ o[49].type === "freeRound" ? Po : To
4776
4851
  );
4777
4852
  }
4778
4853
  let r = n(e), i = r(e);
4779
4854
  return {
4780
4855
  c() {
4781
- i.c(), t = pt();
4856
+ i.c(), t = mt();
4782
4857
  },
4783
4858
  m(o, s) {
4784
4859
  i.m(o, s), W(o, t, s);
@@ -4791,26 +4866,26 @@ function zt(e) {
4791
4866
  }
4792
4867
  };
4793
4868
  }
4794
- function Xt(e) {
4869
+ function Qt(e) {
4795
4870
  let t, n, r, i, o, s, a, l, u, c, h, f, p, b, d, C, _, g, M, N = Re(Array(
4796
4871
  /*numberOfPages*/
4797
- e[11]
4872
+ e[12]
4798
4873
  )), T = [];
4799
4874
  for (let E = 0; E < N.length; E += 1)
4800
- T[E] = Zt(jt(e, N, E));
4875
+ T[E] = Jt(zt(e, N, E));
4801
4876
  return {
4802
4877
  c() {
4803
4878
  t = P("div"), n = P("span"), r = D("|<"), o = j(), s = P("span"), a = D("<"), u = j();
4804
4879
  for (let E = 0; E < T.length; E += 1)
4805
4880
  T[E].c();
4806
4881
  c = j(), h = P("span"), f = D(">"), b = j(), d = P("span"), C = D(">|"), B(n, "class", i = "BonusesFirst " + /*currentPage*/
4807
- (e[12] === 0 ? "Inactive" : "")), B(s, "class", l = "BonusesPrev " + /*currentPage*/
4808
- (e[12] === 0 ? "Inactive" : "")), B(h, "class", p = "BonusesNext " + /*currentPage*/
4809
- (e[12] === /*numberOfPages*/
4810
- e[11] - 1 ? "Inactive" : "")), B(d, "class", _ = "BonusesLast " + /*currentPage*/
4811
- (e[12] === /*numberOfPages*/
4812
- e[11] - 1 ? "Inactive" : "")), B(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4813
- (e[16] ? "BonusesPaginationWrapperMobile" : ""));
4882
+ (e[13] === 0 ? "Inactive" : "")), B(s, "class", l = "BonusesPrev " + /*currentPage*/
4883
+ (e[13] === 0 ? "Inactive" : "")), B(h, "class", p = "BonusesNext " + /*currentPage*/
4884
+ (e[13] === /*numberOfPages*/
4885
+ e[12] - 1 ? "Inactive" : "")), B(d, "class", _ = "BonusesLast " + /*currentPage*/
4886
+ (e[13] === /*numberOfPages*/
4887
+ e[12] - 1 ? "Inactive" : "")), B(t, "class", "BonusesPaginationWrapper " + /*isMobile*/
4888
+ (e[17] ? "BonusesPaginationWrapperMobile" : ""));
4814
4889
  },
4815
4890
  m(E, L) {
4816
4891
  W(E, t, L), v(t, n), v(n, r), v(t, o), v(t, s), v(s, a), v(t, u);
@@ -4845,38 +4920,38 @@ function Xt(e) {
4845
4920
  },
4846
4921
  p(E, L) {
4847
4922
  if (L[0] & /*currentPage*/
4848
- 4096 && i !== (i = "BonusesFirst " + /*currentPage*/
4849
- (E[12] === 0 ? "Inactive" : "")) && B(n, "class", i), L[0] & /*currentPage*/
4850
- 4096 && l !== (l = "BonusesPrev " + /*currentPage*/
4851
- (E[12] === 0 ? "Inactive" : "")) && B(s, "class", l), L[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4852
- 530432) {
4923
+ 8192 && i !== (i = "BonusesFirst " + /*currentPage*/
4924
+ (E[13] === 0 ? "Inactive" : "")) && B(n, "class", i), L[0] & /*currentPage*/
4925
+ 8192 && l !== (l = "BonusesPrev " + /*currentPage*/
4926
+ (E[13] === 0 ? "Inactive" : "")) && B(s, "class", l), L[0] & /*currentPage, getActiveBonuses, numberOfPages*/
4927
+ 1060864) {
4853
4928
  N = Re(Array(
4854
4929
  /*numberOfPages*/
4855
- E[11]
4930
+ E[12]
4856
4931
  ));
4857
4932
  let I;
4858
4933
  for (I = 0; I < N.length; I += 1) {
4859
- const ne = jt(E, N, I);
4860
- T[I] ? T[I].p(ne, L) : (T[I] = Zt(ne), T[I].c(), T[I].m(t, c));
4934
+ const ne = zt(E, N, I);
4935
+ T[I] ? T[I].p(ne, L) : (T[I] = Jt(ne), T[I].c(), T[I].m(t, c));
4861
4936
  }
4862
4937
  for (; I < T.length; I += 1)
4863
4938
  T[I].d(1);
4864
4939
  T.length = N.length;
4865
4940
  }
4866
4941
  L[0] & /*currentPage, numberOfPages*/
4867
- 6144 && p !== (p = "BonusesNext " + /*currentPage*/
4868
- (E[12] === /*numberOfPages*/
4869
- E[11] - 1 ? "Inactive" : "")) && B(h, "class", p), L[0] & /*currentPage, numberOfPages*/
4870
- 6144 && _ !== (_ = "BonusesLast " + /*currentPage*/
4871
- (E[12] === /*numberOfPages*/
4872
- E[11] - 1 ? "Inactive" : "")) && B(d, "class", _);
4942
+ 12288 && p !== (p = "BonusesNext " + /*currentPage*/
4943
+ (E[13] === /*numberOfPages*/
4944
+ E[12] - 1 ? "Inactive" : "")) && B(h, "class", p), L[0] & /*currentPage, numberOfPages*/
4945
+ 12288 && _ !== (_ = "BonusesLast " + /*currentPage*/
4946
+ (E[13] === /*numberOfPages*/
4947
+ E[12] - 1 ? "Inactive" : "")) && B(d, "class", _);
4873
4948
  },
4874
4949
  d(E) {
4875
- E && U(t), Kt(T, E), g = !1, ie(M);
4950
+ E && U(t), nn(T, E), g = !1, ie(M);
4876
4951
  }
4877
4952
  };
4878
4953
  }
4879
- function Zt(e) {
4954
+ function Jt(e) {
4880
4955
  let t, n = (
4881
4956
  /*i*/
4882
4957
  e[48] + 1 + ""
@@ -4894,37 +4969,37 @@ function Zt(e) {
4894
4969
  c() {
4895
4970
  t = P("span"), r = D(n), B(t, "class", i = "BonusesPage " + /*i*/
4896
4971
  (e[48] === /*currentPage*/
4897
- e[12] ? "BonusPageActive" : ""));
4972
+ e[13] ? "BonusPageActive" : ""));
4898
4973
  },
4899
4974
  m(l, u) {
4900
4975
  W(l, t, u), v(t, r), o || (s = Z(t, "click", a), o = !0);
4901
4976
  },
4902
4977
  p(l, u) {
4903
4978
  e = l, u[0] & /*currentPage*/
4904
- 4096 && i !== (i = "BonusesPage " + /*i*/
4979
+ 8192 && i !== (i = "BonusesPage " + /*i*/
4905
4980
  (e[48] === /*currentPage*/
4906
- e[12] ? "BonusPageActive" : "")) && B(t, "class", i);
4981
+ e[13] ? "BonusPageActive" : "")) && B(t, "class", i);
4907
4982
  },
4908
4983
  d(l) {
4909
4984
  l && U(t), o = !1, s();
4910
4985
  }
4911
4986
  };
4912
4987
  }
4913
- function qt(e) {
4988
+ function Yt(e) {
4914
4989
  let t, n, r, i, o = (
4915
4990
  /*$_*/
4916
- e[15]("forfeitBonus") + ""
4991
+ e[16]("forfeitBonus") + ""
4917
4992
  ), s, a, l, u, c = (
4918
4993
  /*$_*/
4919
- e[15]("forfeitBonusCancel") + ""
4994
+ e[16]("forfeitBonusCancel") + ""
4920
4995
  ), h, f, p, b = (
4921
4996
  /*$_*/
4922
- e[15]("forfeitBonusConfirm") + ""
4997
+ e[16]("forfeitBonusConfirm") + ""
4923
4998
  ), d, C, _;
4924
4999
  return {
4925
5000
  c() {
4926
5001
  t = P("div"), n = P("div"), r = P("div"), i = P("p"), s = D(o), a = j(), l = P("div"), u = P("button"), h = D(c), f = j(), p = P("button"), d = D(b), B(i, "class", "ModalText"), B(u, "class", "ModalCancel"), B(p, "class", "ModalConfirm"), B(l, "class", "ModalButtons"), B(r, "class", "ModalBody"), B(n, "class", "ModalContent"), B(t, "class", "ModalWrapper " + /*isMobile*/
4927
- (e[16] ? "ModalWrapperMobile" : ""));
5002
+ (e[17] ? "ModalWrapperMobile" : ""));
4928
5003
  },
4929
5004
  m(g, M) {
4930
5005
  W(g, t, M), v(t, n), v(n, r), v(r, i), v(i, s), v(r, a), v(r, l), v(l, u), v(u, h), v(l, f), v(l, p), v(p, d), C || (_ = [
@@ -4932,37 +5007,37 @@ function qt(e) {
4932
5007
  u,
4933
5008
  "click",
4934
5009
  /*closeBonusModal*/
4935
- e[21]
5010
+ e[22]
4936
5011
  ),
4937
5012
  Z(
4938
5013
  p,
4939
5014
  "click",
4940
5015
  /*debouncedFunction*/
4941
- e[23](
5016
+ e[24](
4942
5017
  /*deleteBonus*/
4943
- e[22]
5018
+ e[23]
4944
5019
  )
4945
5020
  )
4946
5021
  ], C = !0);
4947
5022
  },
4948
5023
  p(g, M) {
4949
5024
  M[0] & /*$_*/
4950
- 32768 && o !== (o = /*$_*/
4951
- g[15]("forfeitBonus") + "") && K(s, o), M[0] & /*$_*/
4952
- 32768 && c !== (c = /*$_*/
4953
- g[15]("forfeitBonusCancel") + "") && K(h, c), M[0] & /*$_*/
4954
- 32768 && b !== (b = /*$_*/
4955
- g[15]("forfeitBonusConfirm") + "") && K(d, b);
5025
+ 65536 && o !== (o = /*$_*/
5026
+ g[16]("forfeitBonus") + "") && K(s, o), M[0] & /*$_*/
5027
+ 65536 && c !== (c = /*$_*/
5028
+ g[16]("forfeitBonusCancel") + "") && K(h, c), M[0] & /*$_*/
5029
+ 65536 && b !== (b = /*$_*/
5030
+ g[16]("forfeitBonusConfirm") + "") && K(d, b);
4956
5031
  },
4957
5032
  d(g) {
4958
5033
  g && U(t), C = !1, ie(_);
4959
5034
  }
4960
5035
  };
4961
5036
  }
4962
- function Ao(e) {
5037
+ function Mo(e) {
4963
5038
  let t;
4964
5039
  function n(o, s) {
4965
- return Bo;
5040
+ return wo;
4966
5041
  }
4967
5042
  let i = n()(e);
4968
5043
  return {
@@ -4982,28 +5057,28 @@ function Ao(e) {
4982
5057
  }
4983
5058
  };
4984
5059
  }
4985
- let To = "status=active", Y = 6;
4986
- function Po(e, t, n) {
5060
+ let Ho = "status=active", Y = 6;
5061
+ function Io(e, t, n) {
4987
5062
  let r;
4988
- Vn(e, po, (y) => n(15, r = y));
4989
- let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { playercurrency: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h } = t, { translationurl: f = "" } = t, p, b = window.navigator.userAgent, d = mo(b) !== "PC", C = !0, _ = !1, g = "", M = 0, N = 0, T = 0, E = 0, L = 0, I = [], ne, Q = "", R = !1;
5063
+ qn(e, vo, (y) => n(16, r = y));
5064
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { playerid: s = "" } = t, { lang: a = "en" } = t, { playercurrency: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: c = "" } = t, { mbsource: h } = t, { translationurl: f = "" } = t, p, b = window.navigator.userAgent, d = go(b) !== "PC", C = !0, _ = !1, g = "", M = 0, N = 0, T = 0, E = 0, L = 0, I = [], ne, Q = "", R = !1;
4990
5065
  const Se = () => {
4991
5066
  fetch(f).then((G) => G.json()).then((G) => {
4992
5067
  Object.keys(G).forEach((z) => {
4993
- Gt(z, G[z]);
5068
+ Wt(z, G[z]);
4994
5069
  });
4995
5070
  }).catch((G) => {
4996
5071
  console.log(G);
4997
5072
  });
4998
5073
  };
4999
- Object.keys(kt).forEach((y) => {
5000
- Gt(y, kt[y]);
5074
+ Object.keys(Vt).forEach((y) => {
5075
+ Wt(y, Vt[y]);
5001
5076
  });
5002
5077
  const oe = (y) => {
5003
5078
  if (y.data)
5004
5079
  switch (y.data.type) {
5005
5080
  case "DeleteActiveBonus":
5006
- Q = y.data.bonuswalletid, n(14, R = !0);
5081
+ Q = y.data.bonuswalletid, n(15, R = !0);
5007
5082
  break;
5008
5083
  }
5009
5084
  };
@@ -5026,24 +5101,24 @@ function Po(e, t, n) {
5026
5101
  window.location.href
5027
5102
  );
5028
5103
  }, F = () => !!g, S = () => {
5029
- n(5, C = !F());
5104
+ n(6, C = !F());
5030
5105
  }, H = (y) => {
5031
5106
  let G = {
5032
5107
  method: "GET",
5033
5108
  headers: { "X-SessionId": o }
5034
5109
  }, z = new URL(`${i}/v1/player/${s}/bonusWallet`);
5035
- z.searchParams.append("filter", To), z.searchParams.append("pagination", `offset=${y},limit=${Y}`), fetch(z, G).then((J) => J.json()).then(
5110
+ z.searchParams.append("filter", Ho), z.searchParams.append("pagination", `offset=${y},limit=${Y}`), fetch(z, G).then((J) => J.json()).then(
5036
5111
  (J) => {
5037
5112
  Array.isArray(J.items) && J.items.forEach((Ae) => {
5038
5113
  const Te = Ae?.extension?.bonus?.presentation;
5039
5114
  Te && (Ae.termsandconditionsurl = Te.url, Ae.termsandconditionsdescription = Te.description, Ae.termsandconditionsasset = Te.assets);
5040
- }), n(11, E = Math.ceil(J.total / Y)), y - Y >= 0 && n(8, M = y - Y), y + Y < J.total && n(9, N = y + Y), n(10, T = (E - 1) * Y), n(12, L = y / Y), n(13, I = J?.items || []), window.scrollTo({ top: 0, behavior: "smooth" });
5115
+ }), n(12, E = Math.ceil(J.total / Y)), y - Y >= 0 && n(9, M = y - Y), y + Y < J.total && n(10, N = y + Y), n(11, T = (E - 1) * Y), n(13, L = y / Y), n(14, I = J?.items || []), window.scrollTo({ top: 0, behavior: "smooth" });
5041
5116
  },
5042
5117
  (J) => {
5043
5118
  console.error(J);
5044
5119
  }
5045
5120
  );
5046
- }, In = () => {
5121
+ }, Rn = () => {
5047
5122
  let y = new URL(`${i}/v1/player/${s}/claimbonus`), G = {
5048
5123
  method: "POST",
5049
5124
  headers: {
@@ -5052,7 +5127,7 @@ function Po(e, t, n) {
5052
5127
  }
5053
5128
  };
5054
5129
  y.searchParams.append("currency", l), y.searchParams.append("bonusCode", g), fetch(y.href, G).then((z) => {
5055
- z.status == 200 ? (n(6, _ = !1), H(0), window.postMessage(
5130
+ z.status == 200 ? (n(7, _ = !1), H(0), window.postMessage(
5056
5131
  {
5057
5132
  type: "WidgetNotification",
5058
5133
  data: {
@@ -5065,7 +5140,7 @@ function Po(e, t, n) {
5065
5140
  context: "PlayerActiveBonuses",
5066
5141
  userId: `${s || "Not logged in"}`,
5067
5142
  bonusCode: `${g}`
5068
- })) : (n(6, _ = !0), window.postMessage(
5143
+ })) : (n(7, _ = !0), window.postMessage(
5069
5144
  {
5070
5145
  type: "WidgetNotification",
5071
5146
  data: {
@@ -5076,9 +5151,9 @@ function Po(e, t, n) {
5076
5151
  window.location.href
5077
5152
  ));
5078
5153
  });
5079
- }, vt = () => {
5080
- window.postMessage({ type: "EnableScroll" }, window.location.href), n(14, R = !1);
5081
- }, On = () => {
5154
+ }, _t = () => {
5155
+ window.postMessage({ type: "EnableScroll" }, window.location.href), n(15, R = !1);
5156
+ }, $n = () => {
5082
5157
  let y = {
5083
5158
  method: "DELETE",
5084
5159
  headers: {
@@ -5088,42 +5163,43 @@ function Po(e, t, n) {
5088
5163
  }
5089
5164
  }, G = new URL(`${i}/v1/player/${s}/bonusWallet`);
5090
5165
  G.searchParams.append("bonusWalletID", Q), fetch(G, y).then((z) => {
5091
- z.status == 200 && (H(0), vt());
5166
+ z.status == 200 && (H(0), _t());
5092
5167
  });
5093
- }, Nn = () => {
5094
- bo(a);
5168
+ }, Dn = () => {
5169
+ yo(a);
5095
5170
  };
5096
- function Ln(y) {
5171
+ function Fn(y) {
5097
5172
  return V(y, 1e3);
5098
5173
  }
5099
- Yn(() => (window.addEventListener("message", oe, !1), () => {
5174
+ nr(() => (window.addEventListener("message", oe, !1), () => {
5100
5175
  window.removeEventListener("message", oe);
5101
5176
  }));
5102
- const Rn = () => $();
5103
- function $n() {
5104
- g = this.value, n(7, g);
5177
+ const Un = () => $();
5178
+ function Gn() {
5179
+ g = this.value, n(8, g);
5105
5180
  }
5106
- const Dn = () => H(0), Fn = () => H(M), Un = (y) => H(y * Y), Gn = () => H(N), kn = () => H(T);
5107
- function jn(y) {
5108
- Je[y ? "unshift" : "push"](() => {
5109
- p = y, n(4, p);
5181
+ const kn = () => H(0), jn = () => H(M), Wn = (y) => H(y * Y), Vn = () => H(N), zn = () => H(T);
5182
+ function Xn(y) {
5183
+ Ye[y ? "unshift" : "push"](() => {
5184
+ p = y, n(5, p);
5110
5185
  });
5111
5186
  }
5112
5187
  return e.$$set = (y) => {
5113
- "endpoint" in y && n(24, i = y.endpoint), "session" in y && n(25, o = y.session), "playerid" in y && n(26, s = y.playerid), "lang" in y && n(0, a = y.lang), "playercurrency" in y && n(27, l = y.playercurrency), "clientstyling" in y && n(1, u = y.clientstyling), "clientstylingurl" in y && n(2, c = y.clientstylingurl), "mbsource" in y && n(3, h = y.mbsource), "translationurl" in y && n(28, f = y.translationurl);
5188
+ "endpoint" in y && n(25, i = y.endpoint), "session" in y && n(26, o = y.session), "playerid" in y && n(27, s = y.playerid), "lang" in y && n(0, a = y.lang), "playercurrency" in y && n(28, l = y.playercurrency), "clientstyling" in y && n(1, u = y.clientstyling), "clientstylingurl" in y && n(2, c = y.clientstylingurl), "mbsource" in y && n(3, h = y.mbsource), "translationurl" in y && n(4, f = y.translationurl);
5114
5189
  }, e.$$.update = () => {
5115
5190
  e.$$.dirty[0] & /*lang*/
5116
- 1 && a && Nn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5117
- 117440512 && o && s && i && H(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5118
- 18 && u && p && vo(p, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5119
- 20 && c && p && go(p, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5120
- 24 && h && p && yo(p, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5121
- 268435456 && f && Se();
5191
+ 1 && a && Dn(), e.$$.dirty[0] & /*session, playerid, endpoint*/
5192
+ 234881024 && o && s && i && H(0), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5193
+ 34 && u && p && _o(p, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5194
+ 36 && c && p && Bo(p, c), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5195
+ 40 && h && p && Eo(p, `${h}.Style`), e.$$.dirty[0] & /*translationurl*/
5196
+ 16 && f && Se();
5122
5197
  }, [
5123
5198
  a,
5124
5199
  u,
5125
5200
  c,
5126
5201
  h,
5202
+ f,
5127
5203
  p,
5128
5204
  C,
5129
5205
  _,
@@ -5140,62 +5216,61 @@ function Po(e, t, n) {
5140
5216
  $,
5141
5217
  S,
5142
5218
  H,
5143
- In,
5144
- vt,
5145
- On,
5146
- Ln,
5219
+ Rn,
5220
+ _t,
5221
+ $n,
5222
+ Fn,
5147
5223
  i,
5148
5224
  o,
5149
5225
  s,
5150
5226
  l,
5151
- f,
5152
- Rn,
5153
- $n,
5154
- Dn,
5155
- Fn,
5156
5227
  Un,
5157
5228
  Gn,
5158
5229
  kn,
5159
- jn
5230
+ jn,
5231
+ Wn,
5232
+ Vn,
5233
+ zn,
5234
+ Xn
5160
5235
  ];
5161
5236
  }
5162
- class Mo extends cr {
5237
+ class Oo extends pr {
5163
5238
  constructor(t) {
5164
- super(), ur(
5239
+ super(), fr(
5165
5240
  this,
5166
5241
  t,
5167
- Po,
5168
- Ao,
5169
- Jt,
5242
+ Io,
5243
+ Mo,
5244
+ en,
5170
5245
  {
5171
- endpoint: 24,
5172
- session: 25,
5173
- playerid: 26,
5246
+ endpoint: 25,
5247
+ session: 26,
5248
+ playerid: 27,
5174
5249
  lang: 0,
5175
- playercurrency: 27,
5250
+ playercurrency: 28,
5176
5251
  clientstyling: 1,
5177
5252
  clientstylingurl: 2,
5178
5253
  mbsource: 3,
5179
- translationurl: 28
5254
+ translationurl: 4
5180
5255
  },
5181
- _o,
5256
+ xo,
5182
5257
  [-1, -1]
5183
5258
  );
5184
5259
  }
5185
5260
  get endpoint() {
5186
- return this.$$.ctx[24];
5261
+ return this.$$.ctx[25];
5187
5262
  }
5188
5263
  set endpoint(t) {
5189
5264
  this.$$set({ endpoint: t }), X();
5190
5265
  }
5191
5266
  get session() {
5192
- return this.$$.ctx[25];
5267
+ return this.$$.ctx[26];
5193
5268
  }
5194
5269
  set session(t) {
5195
5270
  this.$$set({ session: t }), X();
5196
5271
  }
5197
5272
  get playerid() {
5198
- return this.$$.ctx[26];
5273
+ return this.$$.ctx[27];
5199
5274
  }
5200
5275
  set playerid(t) {
5201
5276
  this.$$set({ playerid: t }), X();
@@ -5207,7 +5282,7 @@ class Mo extends cr {
5207
5282
  this.$$set({ lang: t }), X();
5208
5283
  }
5209
5284
  get playercurrency() {
5210
- return this.$$.ctx[27];
5285
+ return this.$$.ctx[28];
5211
5286
  }
5212
5287
  set playercurrency(t) {
5213
5288
  this.$$set({ playercurrency: t }), X();
@@ -5231,40 +5306,40 @@ class Mo extends cr {
5231
5306
  this.$$set({ mbsource: t }), X();
5232
5307
  }
5233
5308
  get translationurl() {
5234
- return this.$$.ctx[28];
5309
+ return this.$$.ctx[4];
5235
5310
  }
5236
5311
  set translationurl(t) {
5237
5312
  this.$$set({ translationurl: t }), X();
5238
5313
  }
5239
5314
  }
5240
- lr(Mo, { endpoint: {}, session: {}, playerid: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5315
+ dr(Oo, { endpoint: {}, session: {}, playerid: {}, lang: {}, playercurrency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5241
5316
  export {
5242
5317
  ge as $,
5243
- Mo as P,
5244
- cr as S,
5245
- An as a,
5246
- zn as b,
5247
- lr as c,
5248
- U as d,
5249
- K as e,
5318
+ Oo as P,
5319
+ pr as S,
5320
+ Hn as a,
5321
+ Qn as b,
5322
+ dr as c,
5323
+ j as d,
5324
+ P as e,
5250
5325
  X as f,
5251
5326
  B as g,
5252
5327
  W as h,
5253
- ur as i,
5328
+ fr as i,
5254
5329
  v as j,
5255
- P as k,
5256
- j as l,
5257
- Vn as m,
5330
+ K as k,
5331
+ U as l,
5332
+ qn as m,
5258
5333
  q as n,
5259
- mo as o,
5260
- Yn as p,
5261
- Ho as q,
5262
- Z as r,
5263
- Jt as s,
5334
+ go as o,
5335
+ nr as p,
5336
+ Bo as q,
5337
+ Eo as r,
5338
+ en as s,
5264
5339
  D as t,
5265
- Je as u,
5266
- po as v,
5267
- vo as w,
5268
- go as x,
5269
- yo as y
5340
+ No as u,
5341
+ Z as v,
5342
+ Ye as w,
5343
+ _o as x,
5344
+ vo as y
5270
5345
  };