@everymatrix/casino-jackpot-banner 1.77.26 → 1.77.27

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.
Files changed (23) hide show
  1. package/components/CasinoJackpotBanner-B4RmJHSE.cjs +18 -0
  2. package/components/{CasinoJackpotBanner-D4H3-LNg.js → CasinoJackpotBanner-C06wch9B.js} +767 -746
  3. package/components/{CasinoJackpotBanner-xFnu8LcC.js → CasinoJackpotBanner-CBsjExI3.js} +793 -772
  4. package/es2015/casino-jackpot-banner.cjs +1 -1
  5. package/es2015/casino-jackpot-banner.js +1 -1
  6. package/esnext/casino-jackpot-banner.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  9. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  10. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  11. package/stencil/{ui-image-BMiZteNE.cjs → ui-image-BaHsVAxH.cjs} +1 -1
  12. package/stencil/{ui-image-CX3MBBZL.js → ui-image-C7s6Uvn5.js} +1 -1
  13. package/stencil/{ui-image-BW8AeEVd.js → ui-image-CHeV8e9p.js} +1 -1
  14. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  15. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  17. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
  18. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  19. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
  20. package/components/CasinoJackpotBanner-CECrloSF.cjs +0 -18
  21. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  22. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  23. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,29 +1,29 @@
1
- import "../stencil/ui-image-BW8AeEVd.js";
1
+ import "../stencil/ui-image-CHeV8e9p.js";
2
2
  function Z() {
3
3
  }
4
- function xr(e) {
4
+ function Tr(e) {
5
5
  return e();
6
6
  }
7
- function Vt() {
7
+ function Xt() {
8
8
  return /* @__PURE__ */ Object.create(null);
9
9
  }
10
- function ze(e) {
11
- e.forEach(xr);
10
+ function Xe(e) {
11
+ e.forEach(Tr);
12
12
  }
13
- function Dt(e) {
13
+ function $t(e) {
14
14
  return typeof e == "function";
15
15
  }
16
- function Sr(e, t) {
16
+ function wr(e, t) {
17
17
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
18
18
  }
19
19
  let Ke;
20
20
  function Q(e, t) {
21
21
  return e === t ? !0 : (Ke || (Ke = document.createElement("a")), Ke.href = t, e === Ke.href);
22
22
  }
23
- function nn(e) {
23
+ function on(e) {
24
24
  return Object.keys(e).length === 0;
25
25
  }
26
- function on(e, ...t) {
26
+ function sn(e, ...t) {
27
27
  if (e == null) {
28
28
  for (const n of t)
29
29
  n(void 0);
@@ -35,14 +35,14 @@ function on(e, ...t) {
35
35
  function d(e, t) {
36
36
  e.appendChild(t);
37
37
  }
38
- function sn(e, t, r) {
39
- const n = an(e);
38
+ function an(e, t, r) {
39
+ const n = un(e);
40
40
  if (!n.getElementById(t)) {
41
41
  const i = b("style");
42
- i.id = t, i.textContent = r, un(n, i);
42
+ i.id = t, i.textContent = r, ln(n, i);
43
43
  }
44
44
  }
45
- function an(e) {
45
+ function un(e) {
46
46
  if (!e)
47
47
  return document;
48
48
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -52,20 +52,20 @@ function an(e) {
52
52
  t
53
53
  ) : e.ownerDocument;
54
54
  }
55
- function un(e, t) {
55
+ function ln(e, t) {
56
56
  return d(
57
57
  /** @type {Document} */
58
58
  e.head || e,
59
59
  t
60
60
  ), t.sheet;
61
61
  }
62
- function F(e, t, r) {
62
+ function $(e, t, r) {
63
63
  e.insertBefore(t, r || null);
64
64
  }
65
65
  function D(e) {
66
66
  e.parentNode && e.parentNode.removeChild(e);
67
67
  }
68
- function ln(e, t) {
68
+ function cn(e, t) {
69
69
  for (let r = 0; r < e.length; r += 1)
70
70
  e[r] && e[r].d(t);
71
71
  }
@@ -75,33 +75,33 @@ function b(e) {
75
75
  function R(e) {
76
76
  return document.createTextNode(e);
77
77
  }
78
- function I() {
78
+ function C() {
79
79
  return R(" ");
80
80
  }
81
- function cn() {
81
+ function hn() {
82
82
  return R("");
83
83
  }
84
- function hn(e, t, r, n) {
84
+ function fn(e, t, r, n) {
85
85
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
86
86
  }
87
87
  function _(e, t, r) {
88
88
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
89
89
  }
90
- function L(e, t, r) {
90
+ function P(e, t, r) {
91
91
  const n = t.toLowerCase();
92
92
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
93
93
  }
94
- function fn(e) {
94
+ function pn(e) {
95
95
  return Array.from(e.childNodes);
96
96
  }
97
- function j(e, t) {
97
+ function G(e, t) {
98
98
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
99
99
  t);
100
100
  }
101
101
  function et(e, t, r, n) {
102
102
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
103
103
  }
104
- function pn(e) {
104
+ function dn(e) {
105
105
  const t = {};
106
106
  return e.childNodes.forEach(
107
107
  /** @param {Element} node */
@@ -110,92 +110,92 @@ function pn(e) {
110
110
  }
111
111
  ), t;
112
112
  }
113
- let Ve;
113
+ let Fe;
114
114
  function $e(e) {
115
- Ve = e;
115
+ Fe = e;
116
116
  }
117
- function Tr() {
118
- if (!Ve)
117
+ function Hr() {
118
+ if (!Fe)
119
119
  throw new Error("Function called outside component initialization");
120
- return Ve;
121
- }
122
- function dn(e) {
123
- Tr().$$.on_mount.push(e);
120
+ return Fe;
124
121
  }
125
122
  function mn(e) {
126
- Tr().$$.on_destroy.push(e);
123
+ Hr().$$.on_mount.push(e);
124
+ }
125
+ function bn(e) {
126
+ Hr().$$.on_destroy.push(e);
127
127
  }
128
- const Ae = [], xt = [];
128
+ const Ae = [], Tt = [];
129
129
  let Be = [];
130
- const Wt = [], bn = /* @__PURE__ */ Promise.resolve();
131
- let St = !1;
132
- function gn() {
133
- St || (St = !0, bn.then(C));
130
+ const zt = [], gn = /* @__PURE__ */ Promise.resolve();
131
+ let wt = !1;
132
+ function yn() {
133
+ wt || (wt = !0, gn.then(O));
134
134
  }
135
- function Tt(e) {
135
+ function Ht(e) {
136
136
  Be.push(e);
137
137
  }
138
- const dt = /* @__PURE__ */ new Set();
138
+ const bt = /* @__PURE__ */ new Set();
139
139
  let we = 0;
140
- function C() {
140
+ function O() {
141
141
  if (we !== 0)
142
142
  return;
143
- const e = Ve;
143
+ const e = Fe;
144
144
  do {
145
145
  try {
146
146
  for (; we < Ae.length; ) {
147
147
  const t = Ae[we];
148
- we++, $e(t), yn(t.$$);
148
+ we++, $e(t), vn(t.$$);
149
149
  }
150
150
  } catch (t) {
151
151
  throw Ae.length = 0, we = 0, t;
152
152
  }
153
- for ($e(null), Ae.length = 0, we = 0; xt.length; )
154
- xt.pop()();
153
+ for ($e(null), Ae.length = 0, we = 0; Tt.length; )
154
+ Tt.pop()();
155
155
  for (let t = 0; t < Be.length; t += 1) {
156
156
  const r = Be[t];
157
- dt.has(r) || (dt.add(r), r());
157
+ bt.has(r) || (bt.add(r), r());
158
158
  }
159
159
  Be.length = 0;
160
160
  } while (Ae.length);
161
- for (; Wt.length; )
162
- Wt.pop()();
163
- St = !1, dt.clear(), $e(e);
161
+ for (; zt.length; )
162
+ zt.pop()();
163
+ wt = !1, bt.clear(), $e(e);
164
164
  }
165
- function yn(e) {
165
+ function vn(e) {
166
166
  if (e.fragment !== null) {
167
- e.update(), ze(e.before_update);
167
+ e.update(), Xe(e.before_update);
168
168
  const t = e.dirty;
169
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Tt);
169
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
170
170
  }
171
171
  }
172
- function vn(e) {
172
+ function _n(e) {
173
173
  const t = [], r = [];
174
174
  Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
175
175
  }
176
- const _n = /* @__PURE__ */ new Set();
177
- function En(e, t) {
178
- e && e.i && (_n.delete(e), e.i(t));
176
+ const En = /* @__PURE__ */ new Set();
177
+ function xn(e, t) {
178
+ e && e.i && (En.delete(e), e.i(t));
179
179
  }
180
- function Xt(e) {
180
+ function Jt(e) {
181
181
  return e?.length !== void 0 ? e : Array.from(e);
182
182
  }
183
- function xn(e, t, r) {
183
+ function Sn(e, t, r) {
184
184
  const { fragment: n, after_update: i } = e.$$;
185
- n && n.m(t, r), Tt(() => {
186
- const o = e.$$.on_mount.map(xr).filter(Dt);
187
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ze(o), e.$$.on_mount = [];
188
- }), i.forEach(Tt);
185
+ n && n.m(t, r), Ht(() => {
186
+ const o = e.$$.on_mount.map(Tr).filter($t);
187
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Xe(o), e.$$.on_mount = [];
188
+ }), i.forEach(Ht);
189
189
  }
190
- function Sn(e, t) {
190
+ function Tn(e, t) {
191
191
  const r = e.$$;
192
- r.fragment !== null && (vn(r.after_update), ze(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
+ r.fragment !== null && (_n(r.after_update), Xe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
193
193
  }
194
- function Tn(e, t) {
195
- e.$$.dirty[0] === -1 && (Ae.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
194
+ function wn(e, t) {
195
+ e.$$.dirty[0] === -1 && (Ae.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
196
  }
197
- function wn(e, t, r, n, i, o, s = null, a = [-1]) {
198
- const l = Ve;
197
+ function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
198
+ const l = Fe;
199
199
  $e(e);
200
200
  const u = e.$$ = {
201
201
  fragment: null,
@@ -204,7 +204,7 @@ function wn(e, t, r, n, i, o, s = null, a = [-1]) {
204
204
  props: o,
205
205
  update: Z,
206
206
  not_equal: i,
207
- bound: Vt(),
207
+ bound: Xt(),
208
208
  // lifecycle
209
209
  on_mount: [],
210
210
  on_destroy: [],
@@ -213,7 +213,7 @@ function wn(e, t, r, n, i, o, s = null, a = [-1]) {
213
213
  after_update: [],
214
214
  context: new Map(t.context || (l ? l.$$.context : [])),
215
215
  // everything else
216
- callbacks: Vt(),
216
+ callbacks: Xt(),
217
217
  dirty: a,
218
218
  skip_bound: !1,
219
219
  root: t.target || l.$$.root
@@ -222,19 +222,19 @@ function wn(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  let c = !1;
223
223
  if (u.ctx = r ? r(e, t.props || {}, (p, h, ...g) => {
224
224
  const x = g.length ? g[0] : h;
225
- return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c && Tn(e, p)), h;
226
- }) : [], u.update(), c = !0, ze(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
225
+ return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c && wn(e, p)), h;
226
+ }) : [], u.update(), c = !0, Xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
227
227
  if (t.hydrate) {
228
- const p = fn(t.target);
228
+ const p = pn(t.target);
229
229
  u.fragment && u.fragment.l(p), p.forEach(D);
230
230
  } else
231
231
  u.fragment && u.fragment.c();
232
- t.intro && En(e.$$.fragment), xn(e, t.target, t.anchor), C();
232
+ t.intro && xn(e.$$.fragment), Sn(e, t.target, t.anchor), O();
233
233
  }
234
234
  $e(l);
235
235
  }
236
- let wr;
237
- typeof HTMLElement == "function" && (wr = class extends HTMLElement {
236
+ let Ar;
237
+ typeof HTMLElement == "function" && (Ar = class extends HTMLElement {
238
238
  /** The Svelte component constructor */
239
239
  $$ctor;
240
240
  /** Slots */
@@ -283,7 +283,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
283
283
  * @param {HTMLElement} [anchor]
284
284
  */
285
285
  m: function(l, u) {
286
- F(l, o, u);
286
+ $(l, o, u);
287
287
  },
288
288
  d: function(l) {
289
289
  l && D(o);
@@ -293,7 +293,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
293
293
  };
294
294
  if (await Promise.resolve(), !this.$$cn || this.$$c)
295
295
  return;
296
- const t = {}, r = pn(this);
296
+ const t = {}, r = dn(this);
297
297
  for (const i of this.$$s)
298
298
  i in r && (t[i] = [e(i)]);
299
299
  for (const i of this.attributes) {
@@ -380,8 +380,8 @@ function nt(e, t, r, n) {
380
380
  return t;
381
381
  }
382
382
  }
383
- function Hn(e, t, r, n, i, o) {
384
- let s = class extends wr {
383
+ function An(e, t, r, n, i, o) {
384
+ let s = class extends Ar {
385
385
  constructor() {
386
386
  super(e, r, i), this.$$p_d = t;
387
387
  }
@@ -409,7 +409,7 @@ function Hn(e, t, r, n, i, o) {
409
409
  }), e.element = /** @type {any} */
410
410
  s, s;
411
411
  }
412
- class An {
412
+ class Bn {
413
413
  /**
414
414
  * ### PRIVATE API
415
415
  *
@@ -428,7 +428,7 @@ class An {
428
428
  $$set = void 0;
429
429
  /** @returns {void} */
430
430
  $destroy() {
431
- Sn(this, 1), this.$destroy = Z;
431
+ Tn(this, 1), this.$destroy = Z;
432
432
  }
433
433
  /**
434
434
  * @template {Extract<keyof Events, string>} K
@@ -437,7 +437,7 @@ class An {
437
437
  * @returns {() => void}
438
438
  */
439
439
  $on(t, r) {
440
- if (!Dt(r))
440
+ if (!$t(r))
441
441
  return Z;
442
442
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
443
443
  return n.push(r), () => {
@@ -450,11 +450,11 @@ class An {
450
450
  * @returns {void}
451
451
  */
452
452
  $set(t) {
453
- this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
+ this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
454
454
  }
455
455
  }
456
- const Bn = "4";
457
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
456
+ const Pn = "4";
457
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
458
458
  /*! *****************************************************************************
459
459
  Copyright (c) Microsoft Corporation.
460
460
 
@@ -469,43 +469,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
469
469
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
470
470
  PERFORMANCE OF THIS SOFTWARE.
471
471
  ***************************************************************************** */
472
- var wt = function(e, t) {
473
- return wt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
472
+ var At = function(e, t) {
473
+ return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
474
474
  r.__proto__ = n;
475
475
  } || function(r, n) {
476
476
  for (var i in n)
477
477
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
- }, wt(e, t);
478
+ }, At(e, t);
479
479
  };
480
- function ce(e, t) {
480
+ function ze(e, t) {
481
481
  if (typeof t != "function" && t !== null)
482
482
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
- wt(e, t);
483
+ At(e, t);
484
484
  function r() {
485
485
  this.constructor = e;
486
486
  }
487
487
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
488
488
  }
489
- var H = function() {
490
- return H = Object.assign || function(t) {
491
- for (var r, n = 1, i = arguments.length; n < i; n++) {
492
- r = arguments[n];
493
- for (var o in r)
494
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
495
- }
496
- return t;
497
- }, H.apply(this, arguments);
498
- };
499
- function Pn(e, t) {
500
- var r = {};
501
- for (var n in e)
502
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
503
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
504
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
505
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
506
- return r;
507
- }
508
- function Ht(e) {
489
+ function Bt(e) {
509
490
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
510
491
  if (r)
511
492
  return r.call(e);
@@ -517,7 +498,7 @@ function Ht(e) {
517
498
  };
518
499
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
519
500
  }
520
- function At(e, t) {
501
+ function Pt(e, t) {
521
502
  var r = typeof Symbol == "function" && e[Symbol.iterator];
522
503
  if (!r)
523
504
  return e;
@@ -537,22 +518,22 @@ function At(e, t) {
537
518
  }
538
519
  return o;
539
520
  }
540
- function Pe(e, t, r) {
541
- if (r || arguments.length === 2)
521
+ function Ot(e, t, r) {
522
+ if (arguments.length === 2)
542
523
  for (var n = 0, i = t.length, o; n < i; n++)
543
524
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
544
525
  return e.concat(o || t);
545
526
  }
546
- function le(e) {
527
+ function ce(e) {
547
528
  return typeof e == "function";
548
529
  }
549
- function Hr(e) {
530
+ function Br(e) {
550
531
  var t = function(n) {
551
532
  Error.call(n), n.stack = new Error().stack;
552
533
  }, r = e(t);
553
534
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
554
535
  }
555
- var mt = Hr(function(e) {
536
+ var gt = Br(function(e) {
556
537
  return function(r) {
557
538
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
558
539
  ` + r.map(function(n, i) {
@@ -561,13 +542,13 @@ var mt = Hr(function(e) {
561
542
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
562
543
  };
563
544
  });
564
- function Bt(e, t) {
545
+ function Lt(e, t) {
565
546
  if (e) {
566
547
  var r = e.indexOf(t);
567
548
  0 <= r && e.splice(r, 1);
568
549
  }
569
550
  }
570
- var lt = function() {
551
+ var ct = function() {
571
552
  function e(t) {
572
553
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
573
554
  }
@@ -579,7 +560,7 @@ var lt = function() {
579
560
  if (s)
580
561
  if (this._parentage = null, Array.isArray(s))
581
562
  try {
582
- for (var a = Ht(s), l = a.next(); !l.done; l = a.next()) {
563
+ for (var a = Bt(s), l = a.next(); !l.done; l = a.next()) {
583
564
  var u = l.value;
584
565
  u.remove(this);
585
566
  }
@@ -596,22 +577,22 @@ var lt = function() {
596
577
  else
597
578
  s.remove(this);
598
579
  var c = this.initialTeardown;
599
- if (le(c))
580
+ if (ce(c))
600
581
  try {
601
582
  c();
602
583
  } catch (y) {
603
- o = y instanceof mt ? y.errors : [y];
584
+ o = y instanceof gt ? y.errors : [y];
604
585
  }
605
586
  var p = this._finalizers;
606
587
  if (p) {
607
588
  this._finalizers = null;
608
589
  try {
609
- for (var h = Ht(p), g = h.next(); !g.done; g = h.next()) {
590
+ for (var h = Bt(p), g = h.next(); !g.done; g = h.next()) {
610
591
  var x = g.value;
611
592
  try {
612
- zt(x);
593
+ Zt(x);
613
594
  } catch (y) {
614
- o = o ?? [], y instanceof mt ? o = Pe(Pe([], At(o)), At(y.errors)) : o.push(y);
595
+ o = o ?? [], y instanceof gt ? o = Ot(Ot([], Pt(o)), Pt(y.errors)) : o.push(y);
615
596
  }
616
597
  }
617
598
  } catch (y) {
@@ -626,13 +607,13 @@ var lt = function() {
626
607
  }
627
608
  }
628
609
  if (o)
629
- throw new mt(o);
610
+ throw new gt(o);
630
611
  }
631
612
  }, e.prototype.add = function(t) {
632
613
  var r;
633
614
  if (t && t !== this)
634
615
  if (this.closed)
635
- zt(t);
616
+ Zt(t);
636
617
  else {
637
618
  if (t instanceof e) {
638
619
  if (t.closed || t._hasParent(this))
@@ -649,32 +630,28 @@ var lt = function() {
649
630
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
650
631
  }, e.prototype._removeParent = function(t) {
651
632
  var r = this._parentage;
652
- r === t ? this._parentage = null : Array.isArray(r) && Bt(r, t);
633
+ r === t ? this._parentage = null : Array.isArray(r) && Lt(r, t);
653
634
  }, e.prototype.remove = function(t) {
654
635
  var r = this._finalizers;
655
- r && Bt(r, t), t instanceof e && t._removeParent(this);
636
+ r && Lt(r, t), t instanceof e && t._removeParent(this);
656
637
  }, e.EMPTY = function() {
657
638
  var t = new e();
658
639
  return t.closed = !0, t;
659
640
  }(), e;
660
- }(), Ar = lt.EMPTY;
661
- function Br(e) {
662
- return e instanceof lt || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
641
+ }(), Pr = ct.EMPTY;
642
+ function Or(e) {
643
+ return e instanceof ct || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
663
644
  }
664
- function zt(e) {
665
- le(e) ? e() : e.unsubscribe();
645
+ function Zt(e) {
646
+ ce(e) ? e() : e.unsubscribe();
666
647
  }
667
- var Pr = {
668
- onUnhandledError: null,
669
- onStoppedNotification: null,
670
- Promise: void 0,
671
- useDeprecatedSynchronousErrorHandling: !1,
672
- useDeprecatedNextContext: !1
648
+ var On = {
649
+ Promise: void 0
673
650
  }, Ln = {
674
651
  setTimeout: function(e, t) {
675
652
  for (var r = [], n = 2; n < arguments.length; n++)
676
653
  r[n - 2] = arguments[n];
677
- return setTimeout.apply(void 0, Pe([e, t], At(r)));
654
+ return setTimeout.apply(void 0, Ot([e, t], Pt(r)));
678
655
  },
679
656
  clearTimeout: function(e) {
680
657
  return clearTimeout(e);
@@ -686,19 +663,19 @@ function Cn(e) {
686
663
  throw e;
687
664
  });
688
665
  }
689
- function Jt() {
666
+ function Qt() {
690
667
  }
691
668
  function it(e) {
692
669
  e();
693
670
  }
694
671
  var Lr = function(e) {
695
- ce(t, e);
672
+ ze(t, e);
696
673
  function t(r) {
697
674
  var n = e.call(this) || this;
698
- return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Mn, n;
675
+ return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = Mn, n;
699
676
  }
700
677
  return t.create = function(r, n, i) {
701
- return new Pt(r, n, i);
678
+ return new Ct(r, n, i);
702
679
  }, t.prototype.next = function(r) {
703
680
  this.isStopped || this._next(r);
704
681
  }, t.prototype.error = function(r) {
@@ -722,11 +699,7 @@ var Lr = function(e) {
722
699
  this.unsubscribe();
723
700
  }
724
701
  }, t;
725
- }(lt), In = Function.prototype.bind;
726
- function bt(e, t) {
727
- return In.call(e, t);
728
- }
729
- var On = function() {
702
+ }(ct), In = function() {
730
703
  function e(t) {
731
704
  this.partialObserver = t;
732
705
  }
@@ -757,27 +730,15 @@ var On = function() {
757
730
  tt(r);
758
731
  }
759
732
  }, e;
760
- }(), Pt = function(e) {
761
- ce(t, e);
733
+ }(), Ct = function(e) {
734
+ ze(t, e);
762
735
  function t(r, n, i) {
763
736
  var o = e.call(this) || this, s;
764
- if (le(r) || !r)
765
- s = {
766
- next: r ?? void 0,
767
- error: n ?? void 0,
768
- complete: i ?? void 0
769
- };
770
- else {
771
- var a;
772
- o && Pr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
773
- return o.unsubscribe();
774
- }, s = {
775
- next: r.next && bt(r.next, a),
776
- error: r.error && bt(r.error, a),
777
- complete: r.complete && bt(r.complete, a)
778
- }) : s = r;
779
- }
780
- return o.destination = new On(s), o;
737
+ return ce(r) || !r ? s = {
738
+ next: r ?? void 0,
739
+ error: n ?? void 0,
740
+ complete: i ?? void 0
741
+ } : s = r, o.destination = new In(s), o;
781
742
  }
782
743
  return t;
783
744
  }(Lr);
@@ -789,9 +750,9 @@ function Nn(e) {
789
750
  }
790
751
  var Mn = {
791
752
  closed: !0,
792
- next: Jt,
753
+ next: Qt,
793
754
  error: Nn,
794
- complete: Jt
755
+ complete: Qt
795
756
  }, Rn = function() {
796
757
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
797
758
  }();
@@ -805,7 +766,7 @@ function Dn(e) {
805
766
  }, r);
806
767
  };
807
768
  }
808
- var Zt = function() {
769
+ var Yt = function() {
809
770
  function e(t) {
810
771
  t && (this._subscribe = t);
811
772
  }
@@ -813,7 +774,7 @@ var Zt = function() {
813
774
  var r = new e();
814
775
  return r.source = this, r.operator = t, r;
815
776
  }, e.prototype.subscribe = function(t, r, n) {
816
- var i = this, o = Gn(t) ? t : new Pt(t, r, n);
777
+ var i = this, o = jn(t) ? t : new Ct(t, r, n);
817
778
  return it(function() {
818
779
  var s = i, a = s.operator, l = s.source;
819
780
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -826,8 +787,8 @@ var Zt = function() {
826
787
  }
827
788
  }, e.prototype.forEach = function(t, r) {
828
789
  var n = this;
829
- return r = Qt(r), new r(function(i, o) {
830
- var s = new Pt({
790
+ return r = qt(r), new r(function(i, o) {
791
+ var s = new Ct({
831
792
  next: function(a) {
832
793
  try {
833
794
  t(a);
@@ -851,7 +812,7 @@ var Zt = function() {
851
812
  return Dn(t)(this);
852
813
  }, e.prototype.toPromise = function(t) {
853
814
  var r = this;
854
- return t = Qt(t), new t(function(n, i) {
815
+ return t = qt(t), new t(function(n, i) {
855
816
  var o;
856
817
  r.subscribe(function(s) {
857
818
  return o = s;
@@ -865,32 +826,32 @@ var Zt = function() {
865
826
  return new e(t);
866
827
  }, e;
867
828
  }();
868
- function Qt(e) {
829
+ function qt(e) {
869
830
  var t;
870
- return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
831
+ return (t = e ?? On.Promise) !== null && t !== void 0 ? t : Promise;
871
832
  }
872
833
  function kn(e) {
873
- return e && le(e.next) && le(e.error) && le(e.complete);
834
+ return e && ce(e.next) && ce(e.error) && ce(e.complete);
874
835
  }
875
- function Gn(e) {
876
- return e && e instanceof Lr || kn(e) && Br(e);
836
+ function jn(e) {
837
+ return e && e instanceof Lr || kn(e) && Or(e);
877
838
  }
878
- var jn = Hr(function(e) {
839
+ var Gn = Br(function(e) {
879
840
  return function() {
880
841
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
881
842
  };
882
843
  }), Cr = function(e) {
883
- ce(t, e);
844
+ ze(t, e);
884
845
  function t() {
885
846
  var r = e.call(this) || this;
886
847
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
887
848
  }
888
849
  return t.prototype.lift = function(r) {
889
- var n = new Yt(this, this);
850
+ var n = new Kt(this, this);
890
851
  return n.operator = r, n;
891
852
  }, t.prototype._throwIfClosed = function() {
892
853
  if (this.closed)
893
- throw new jn();
854
+ throw new Gn();
894
855
  }, t.prototype.next = function(r) {
895
856
  var n = this;
896
857
  it(function() {
@@ -898,7 +859,7 @@ var jn = Hr(function(e) {
898
859
  if (n._throwIfClosed(), !n.isStopped) {
899
860
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
900
861
  try {
901
- for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
862
+ for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
902
863
  var l = a.value;
903
864
  l.next(r);
904
865
  }
@@ -947,20 +908,20 @@ var jn = Hr(function(e) {
947
908
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
948
909
  }, t.prototype._innerSubscribe = function(r) {
949
910
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
950
- return o || s ? Ar : (this.currentObservers = null, a.push(r), new lt(function() {
951
- n.currentObservers = null, Bt(a, r);
911
+ return o || s ? Pr : (this.currentObservers = null, a.push(r), new ct(function() {
912
+ n.currentObservers = null, Lt(a, r);
952
913
  }));
953
914
  }, t.prototype._checkFinalizedStatuses = function(r) {
954
915
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
955
916
  i ? r.error(o) : s && r.complete();
956
917
  }, t.prototype.asObservable = function() {
957
- var r = new Zt();
918
+ var r = new Yt();
958
919
  return r.source = this, r;
959
920
  }, t.create = function(r, n) {
960
- return new Yt(r, n);
921
+ return new Kt(r, n);
961
922
  }, t;
962
- }(Zt), Yt = function(e) {
963
- ce(t, e);
923
+ }(Yt), Kt = function(e) {
924
+ ze(t, e);
964
925
  function t(r, n) {
965
926
  var i = e.call(this) || this;
966
927
  return i.destination = r, i.source = n, i;
@@ -976,15 +937,15 @@ var jn = Hr(function(e) {
976
937
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
977
938
  }, t.prototype._subscribe = function(r) {
978
939
  var n, i;
979
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ar;
940
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
980
941
  }, t;
981
942
  }(Cr), Ir = {
982
943
  now: function() {
983
944
  return (Ir.delegate || Date).now();
984
945
  },
985
946
  delegate: void 0
986
- }, Fn = function(e) {
987
- ce(t, e);
947
+ }, $n = function(e) {
948
+ ze(t, e);
988
949
  function t(r, n, i) {
989
950
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
990
951
  var o = e.call(this) || this;
@@ -1007,23 +968,23 @@ var jn = Hr(function(e) {
1007
968
  }
1008
969
  }, t;
1009
970
  }(Cr);
1010
- const qt = [], Kt = {}, $n = (e, t = 0) => {
1011
- if (qt.indexOf(e) == -1) {
1012
- const r = new Fn(t);
1013
- Kt[e] = r, qt.push(e);
971
+ const er = [], tr = {}, Fn = (e, t = 0) => {
972
+ if (er.indexOf(e) == -1) {
973
+ const r = new $n(t);
974
+ tr[e] = r, er.push(e);
1014
975
  }
1015
- return Kt[e];
976
+ return tr[e];
1016
977
  }, He = [];
1017
978
  function Vn(e, t) {
1018
979
  return {
1019
- subscribe: ct(e, t).subscribe
980
+ subscribe: ht(e, t).subscribe
1020
981
  };
1021
982
  }
1022
- function ct(e, t = Z) {
983
+ function ht(e, t = Z) {
1023
984
  let r;
1024
985
  const n = /* @__PURE__ */ new Set();
1025
986
  function i(a) {
1026
- if (Sr(e, a) && (e = a, r)) {
987
+ if (wr(e, a) && (e = a, r)) {
1027
988
  const l = !He.length;
1028
989
  for (const u of n)
1029
990
  u[1](), He.push(u, e);
@@ -1045,7 +1006,7 @@ function ct(e, t = Z) {
1045
1006
  }
1046
1007
  return { set: i, update: o, subscribe: s };
1047
1008
  }
1048
- function Ne(e, t, r) {
1009
+ function Ie(e, t, r) {
1049
1010
  const n = !Array.isArray(e), i = n ? [e] : e;
1050
1011
  if (!i.every(Boolean))
1051
1012
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1059,9 +1020,9 @@ function Ne(e, t, r) {
1059
1020
  return;
1060
1021
  p();
1061
1022
  const x = t(n ? u[0] : u, s, a);
1062
- o ? s(x) : p = Dt(x) ? x : Z;
1023
+ o ? s(x) : p = $t(x) ? x : Z;
1063
1024
  }, g = i.map(
1064
- (x, y) => on(
1025
+ (x, y) => sn(
1065
1026
  x,
1066
1027
  (v) => {
1067
1028
  u[y] = v, c &= ~(1 << y), l && h();
@@ -1072,7 +1033,7 @@ function Ne(e, t, r) {
1072
1033
  )
1073
1034
  );
1074
1035
  return l = !0, h(), function() {
1075
- ze(g), p(), l = !1;
1036
+ Xe(g), p(), l = !1;
1076
1037
  };
1077
1038
  });
1078
1039
  }
@@ -1096,29 +1057,29 @@ function Yn(e) {
1096
1057
  function qn(e) {
1097
1058
  return Array.isArray(e) ? [] : {};
1098
1059
  }
1099
- function We(e, t) {
1100
- return t.clone !== !1 && t.isMergeableObject(e) ? Le(qn(e), e, t) : e;
1060
+ function Ve(e, t) {
1061
+ return t.clone !== !1 && t.isMergeableObject(e) ? Pe(qn(e), e, t) : e;
1101
1062
  }
1102
1063
  function Kn(e, t, r) {
1103
1064
  return e.concat(t).map(function(n) {
1104
- return We(n, r);
1065
+ return Ve(n, r);
1105
1066
  });
1106
1067
  }
1107
1068
  function ei(e, t) {
1108
1069
  if (!t.customMerge)
1109
- return Le;
1070
+ return Pe;
1110
1071
  var r = t.customMerge(e);
1111
- return typeof r == "function" ? r : Le;
1072
+ return typeof r == "function" ? r : Pe;
1112
1073
  }
1113
1074
  function ti(e) {
1114
1075
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1115
1076
  return Object.propertyIsEnumerable.call(e, t);
1116
1077
  }) : [];
1117
1078
  }
1118
- function er(e) {
1079
+ function rr(e) {
1119
1080
  return Object.keys(e).concat(ti(e));
1120
1081
  }
1121
- function Or(e, t) {
1082
+ function Nr(e, t) {
1122
1083
  try {
1123
1084
  return t in e;
1124
1085
  } catch {
@@ -1126,129 +1087,179 @@ function Or(e, t) {
1126
1087
  }
1127
1088
  }
1128
1089
  function ri(e, t) {
1129
- return Or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1090
+ return Nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1130
1091
  }
1131
1092
  function ni(e, t, r) {
1132
1093
  var n = {};
1133
- return r.isMergeableObject(e) && er(e).forEach(function(i) {
1134
- n[i] = We(e[i], r);
1135
- }), er(t).forEach(function(i) {
1136
- ri(e, i) || (Or(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1094
+ return r.isMergeableObject(e) && rr(e).forEach(function(i) {
1095
+ n[i] = Ve(e[i], r);
1096
+ }), rr(t).forEach(function(i) {
1097
+ ri(e, i) || (Nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Ve(t[i], r));
1137
1098
  }), n;
1138
1099
  }
1139
- function Le(e, t, r) {
1140
- r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = We;
1100
+ function Pe(e, t, r) {
1101
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Ve;
1141
1102
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1142
- return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : We(t, r);
1103
+ return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Ve(t, r);
1143
1104
  }
1144
- Le.all = function(t, r) {
1105
+ Pe.all = function(t, r) {
1145
1106
  if (!Array.isArray(t))
1146
1107
  throw new Error("first argument should be an array");
1147
1108
  return t.reduce(function(n, i) {
1148
- return Le(n, i, r);
1109
+ return Pe(n, i, r);
1149
1110
  }, {});
1150
1111
  };
1151
- var ii = Le, oi = ii;
1112
+ var ii = Pe, oi = ii;
1152
1113
  const si = /* @__PURE__ */ Wn(oi);
1153
- function gt(e, t) {
1154
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
1114
+ var It = function(e, t) {
1115
+ return It = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1116
+ r.__proto__ = n;
1117
+ } || function(r, n) {
1118
+ for (var i in n)
1119
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1120
+ }, It(e, t);
1121
+ };
1122
+ function ft(e, t) {
1123
+ if (typeof t != "function" && t !== null)
1124
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1125
+ It(e, t);
1126
+ function r() {
1127
+ this.constructor = e;
1128
+ }
1129
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1130
+ }
1131
+ var re = function() {
1132
+ return re = Object.assign || function(t) {
1133
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1134
+ r = arguments[n];
1135
+ for (var o in r)
1136
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1137
+ }
1138
+ return t;
1139
+ }, re.apply(this, arguments);
1140
+ };
1141
+ function ai(e, t) {
1142
+ var r = {};
1143
+ for (var n in e)
1144
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1145
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1146
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1147
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1148
+ return r;
1149
+ }
1150
+ function yt(e, t, r) {
1151
+ if (r || arguments.length === 2)
1152
+ for (var n = 0, i = t.length, o; n < i; n++)
1153
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1154
+ return e.concat(o || Array.prototype.slice.call(t));
1155
+ }
1156
+ function vt(e, t) {
1157
+ var r = t && t.cache ? t.cache : di, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : ci;
1155
1158
  return i(e, {
1156
1159
  cache: r,
1157
1160
  serializer: n
1158
1161
  });
1159
1162
  }
1160
- function ai(e) {
1163
+ function ui(e) {
1161
1164
  return e == null || typeof e == "number" || typeof e == "boolean";
1162
1165
  }
1163
- function Nr(e, t, r, n) {
1164
- var i = ai(n) ? n : r(n), o = t.get(i);
1166
+ function li(e, t, r, n) {
1167
+ var i = ui(n) ? n : r(n), o = t.get(i);
1165
1168
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1166
1169
  }
1167
1170
  function Mr(e, t, r) {
1168
1171
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1169
1172
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1170
1173
  }
1171
- function kt(e, t, r, n, i) {
1174
+ function Rr(e, t, r, n, i) {
1172
1175
  return r.bind(t, e, n, i);
1173
1176
  }
1174
- function ui(e, t) {
1175
- var r = e.length === 1 ? Nr : Mr;
1176
- return kt(e, this, r, t.cache.create(), t.serializer);
1177
- }
1178
- function li(e, t) {
1179
- return kt(e, this, Mr, t.cache.create(), t.serializer);
1180
- }
1181
1177
  function ci(e, t) {
1182
- return kt(e, this, Nr, t.cache.create(), t.serializer);
1178
+ var r = e.length === 1 ? li : Mr;
1179
+ return Rr(e, this, r, t.cache.create(), t.serializer);
1183
1180
  }
1184
- var hi = function() {
1185
- return JSON.stringify(arguments);
1186
- };
1187
- function Gt() {
1188
- this.cache = /* @__PURE__ */ Object.create(null);
1181
+ function hi(e, t) {
1182
+ return Rr(e, this, Mr, t.cache.create(), t.serializer);
1189
1183
  }
1190
- Gt.prototype.get = function(e) {
1191
- return this.cache[e];
1192
- };
1193
- Gt.prototype.set = function(e, t) {
1194
- this.cache[e] = t;
1195
- };
1196
- var fi = {
1184
+ var fi = function() {
1185
+ return JSON.stringify(arguments);
1186
+ }, pi = (
1187
+ /** @class */
1188
+ function() {
1189
+ function e() {
1190
+ this.cache = /* @__PURE__ */ Object.create(null);
1191
+ }
1192
+ return e.prototype.get = function(t) {
1193
+ return this.cache[t];
1194
+ }, e.prototype.set = function(t, r) {
1195
+ this.cache[t] = r;
1196
+ }, e;
1197
+ }()
1198
+ ), di = {
1197
1199
  create: function() {
1198
- return new Gt();
1200
+ return new pi();
1199
1201
  }
1200
- }, yt = {
1201
- variadic: li,
1202
- monadic: ci
1203
- }, S;
1202
+ }, _t = {
1203
+ variadic: hi
1204
+ }, at = function() {
1205
+ return at = Object.assign || function(t) {
1206
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1207
+ r = arguments[n];
1208
+ for (var o in r)
1209
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1210
+ }
1211
+ return t;
1212
+ }, at.apply(this, arguments);
1213
+ };
1214
+ var S;
1204
1215
  (function(e) {
1205
1216
  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";
1206
1217
  })(S || (S = {}));
1207
- var P;
1218
+ var B;
1208
1219
  (function(e) {
1209
1220
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1210
- })(P || (P = {}));
1211
- var Ce;
1221
+ })(B || (B = {}));
1222
+ var Oe;
1212
1223
  (function(e) {
1213
1224
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1214
- })(Ce || (Ce = {}));
1215
- function tr(e) {
1216
- return e.type === P.literal;
1217
- }
1218
- function pi(e) {
1219
- return e.type === P.argument;
1225
+ })(Oe || (Oe = {}));
1226
+ function nr(e) {
1227
+ return e.type === B.literal;
1220
1228
  }
1221
- function Rr(e) {
1222
- return e.type === P.number;
1229
+ function mi(e) {
1230
+ return e.type === B.argument;
1223
1231
  }
1224
1232
  function Ur(e) {
1225
- return e.type === P.date;
1233
+ return e.type === B.number;
1226
1234
  }
1227
1235
  function Dr(e) {
1228
- return e.type === P.time;
1236
+ return e.type === B.date;
1229
1237
  }
1230
1238
  function kr(e) {
1231
- return e.type === P.select;
1239
+ return e.type === B.time;
1240
+ }
1241
+ function jr(e) {
1242
+ return e.type === B.select;
1232
1243
  }
1233
1244
  function Gr(e) {
1234
- return e.type === P.plural;
1245
+ return e.type === B.plural;
1235
1246
  }
1236
- function di(e) {
1237
- return e.type === P.pound;
1247
+ function bi(e) {
1248
+ return e.type === B.pound;
1238
1249
  }
1239
- function jr(e) {
1240
- return e.type === P.tag;
1250
+ function $r(e) {
1251
+ return e.type === B.tag;
1241
1252
  }
1242
1253
  function Fr(e) {
1243
- return !!(e && typeof e == "object" && e.type === Ce.number);
1254
+ return !!(e && typeof e == "object" && e.type === Oe.number);
1244
1255
  }
1245
- function Lt(e) {
1246
- return !!(e && typeof e == "object" && e.type === Ce.dateTime);
1256
+ function Nt(e) {
1257
+ return !!(e && typeof e == "object" && e.type === Oe.dateTime);
1247
1258
  }
1248
- var $r = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mi = /(?:[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;
1249
- function bi(e) {
1259
+ var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gi = /(?:[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;
1260
+ function yi(e) {
1250
1261
  var t = {};
1251
- return e.replace(mi, function(r) {
1262
+ return e.replace(gi, function(r) {
1252
1263
  var n = r.length;
1253
1264
  switch (r[0]) {
1254
1265
  case "G":
@@ -1337,11 +1348,21 @@ function bi(e) {
1337
1348
  return "";
1338
1349
  }), t;
1339
1350
  }
1340
- var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1341
- function yi(e) {
1351
+ var L = function() {
1352
+ return L = Object.assign || function(t) {
1353
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1354
+ r = arguments[n];
1355
+ for (var o in r)
1356
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1357
+ }
1358
+ return t;
1359
+ }, L.apply(this, arguments);
1360
+ };
1361
+ var vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1362
+ function _i(e) {
1342
1363
  if (e.length === 0)
1343
1364
  throw new Error("Number skeleton cannot be empty");
1344
- for (var t = e.split(gi).filter(function(h) {
1365
+ for (var t = e.split(vi).filter(function(h) {
1345
1366
  return h.length > 0;
1346
1367
  }), r = [], n = 0, i = t; n < i.length; n++) {
1347
1368
  var o = i[n], s = o.split("/");
@@ -1356,17 +1377,17 @@ function yi(e) {
1356
1377
  }
1357
1378
  return r;
1358
1379
  }
1359
- function vi(e) {
1380
+ function Ei(e) {
1360
1381
  return e.replace(/^(.*?)-/, "");
1361
1382
  }
1362
- var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Wr = /^(0+)$/;
1363
- function nr(e) {
1383
+ var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
1384
+ function or(e) {
1364
1385
  var t = {};
1365
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vr, function(r, n, i) {
1386
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wr, function(r, n, i) {
1366
1387
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1367
1388
  }), t;
1368
1389
  }
1369
- function Xr(e) {
1390
+ function zr(e) {
1370
1391
  switch (e) {
1371
1392
  case "sign-auto":
1372
1393
  return {
@@ -1406,7 +1427,7 @@ function Xr(e) {
1406
1427
  };
1407
1428
  }
1408
1429
  }
1409
- function Ei(e) {
1430
+ function Si(e) {
1410
1431
  var t;
1411
1432
  if (e[0] === "E" && e[1] === "E" ? (t = {
1412
1433
  notation: "engineering"
@@ -1414,17 +1435,17 @@ function Ei(e) {
1414
1435
  notation: "scientific"
1415
1436
  }, e = e.slice(1)), t) {
1416
1437
  var r = e.slice(0, 2);
1417
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wr.test(e))
1438
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
1418
1439
  throw new Error("Malformed concise eng/scientific notation");
1419
1440
  t.minimumIntegerDigits = e.length;
1420
1441
  }
1421
1442
  return t;
1422
1443
  }
1423
- function ir(e) {
1424
- var t = {}, r = Xr(e);
1444
+ function sr(e) {
1445
+ var t = {}, r = zr(e);
1425
1446
  return r || t;
1426
1447
  }
1427
- function xi(e) {
1448
+ function Ti(e) {
1428
1449
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1429
1450
  var i = n[r];
1430
1451
  switch (i.stem) {
@@ -1448,7 +1469,7 @@ function xi(e) {
1448
1469
  continue;
1449
1470
  case "measure-unit":
1450
1471
  case "unit":
1451
- t.style = "unit", t.unit = vi(i.options[0]);
1472
+ t.style = "unit", t.unit = Ei(i.options[0]);
1452
1473
  continue;
1453
1474
  case "compact-short":
1454
1475
  case "K":
@@ -1459,13 +1480,13 @@ function xi(e) {
1459
1480
  t.notation = "compact", t.compactDisplay = "long";
1460
1481
  continue;
1461
1482
  case "scientific":
1462
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1463
- return H(H({}, l), ir(u));
1483
+ t = L(L(L({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1484
+ return L(L({}, l), sr(u));
1464
1485
  }, {}));
1465
1486
  continue;
1466
1487
  case "engineering":
1467
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1468
- return H(H({}, l), ir(u));
1488
+ t = L(L(L({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1489
+ return L(L({}, l), sr(u));
1469
1490
  }, {}));
1470
1491
  continue;
1471
1492
  case "notation-simple":
@@ -1510,7 +1531,7 @@ function xi(e) {
1510
1531
  case "integer-width":
1511
1532
  if (i.options.length > 1)
1512
1533
  throw new RangeError("integer-width stems only accept a single optional option");
1513
- i.options[0].replace(_i, function(l, u, c, p, h, g) {
1534
+ i.options[0].replace(xi, function(l, u, c, p, h, g) {
1514
1535
  if (u)
1515
1536
  t.minimumIntegerDigits = c.length;
1516
1537
  else {
@@ -1523,28 +1544,28 @@ function xi(e) {
1523
1544
  });
1524
1545
  continue;
1525
1546
  }
1526
- if (Wr.test(i.stem)) {
1547
+ if (Xr.test(i.stem)) {
1527
1548
  t.minimumIntegerDigits = i.stem.length;
1528
1549
  continue;
1529
1550
  }
1530
- if (rr.test(i.stem)) {
1551
+ if (ir.test(i.stem)) {
1531
1552
  if (i.options.length > 1)
1532
1553
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1533
- i.stem.replace(rr, function(l, u, c, p, h, g) {
1554
+ i.stem.replace(ir, function(l, u, c, p, h, g) {
1534
1555
  return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1535
1556
  });
1536
1557
  var o = i.options[0];
1537
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), nr(o)));
1558
+ o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), or(o)));
1538
1559
  continue;
1539
1560
  }
1540
- if (Vr.test(i.stem)) {
1541
- t = H(H({}, t), nr(i.stem));
1561
+ if (Wr.test(i.stem)) {
1562
+ t = L(L({}, t), or(i.stem));
1542
1563
  continue;
1543
1564
  }
1544
- var s = Xr(i.stem);
1545
- s && (t = H(H({}, t), s));
1546
- var a = Ei(i.stem);
1547
- a && (t = H(H({}, t), a));
1565
+ var s = zr(i.stem);
1566
+ s && (t = L(L({}, t), s));
1567
+ var a = Si(i.stem);
1568
+ a && (t = L(L({}, t), a));
1548
1569
  }
1549
1570
  return t;
1550
1571
  }
@@ -2963,13 +2984,13 @@ var rt = {
2963
2984
  "h"
2964
2985
  ]
2965
2986
  };
2966
- function Si(e, t) {
2987
+ function wi(e, t) {
2967
2988
  for (var r = "", n = 0; n < e.length; n++) {
2968
2989
  var i = e.charAt(n);
2969
2990
  if (i === "j") {
2970
2991
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2971
2992
  o++, n++;
2972
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ti(t);
2993
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Hi(t);
2973
2994
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2974
2995
  r += l;
2975
2996
  for (; s-- > 0; )
@@ -2979,7 +3000,7 @@ function Si(e, t) {
2979
3000
  }
2980
3001
  return r;
2981
3002
  }
2982
- function Ti(e) {
3003
+ function Hi(e) {
2983
3004
  var t = e.hourCycle;
2984
3005
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2985
3006
  e.hourCycles && // @ts-ignore
@@ -3001,20 +3022,20 @@ function Ti(e) {
3001
3022
  var i = rt[n || ""] || rt[r || ""] || rt["".concat(r, "-001")] || rt["001"];
3002
3023
  return i[0];
3003
3024
  }
3004
- var vt, wi = new RegExp("^".concat($r.source, "*")), Hi = new RegExp("".concat($r.source, "*$"));
3025
+ var Et, Ai = new RegExp("^".concat(Vr.source, "*")), Bi = new RegExp("".concat(Vr.source, "*$"));
3005
3026
  function w(e, t) {
3006
3027
  return { start: e, end: t };
3007
3028
  }
3008
- var Ai = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Pi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Oi = !!Number.isSafeInteger, Ni = Oi ? Number.isSafeInteger : function(e) {
3029
+ var Pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Oi = !!String.fromCodePoint, Li = !!Object.fromEntries, Ci = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Mi = !!Number.isSafeInteger, Ri = Mi ? Number.isSafeInteger : function(e) {
3009
3030
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3010
- }, Ct = !0;
3031
+ }, Mt = !0;
3011
3032
  try {
3012
- var Mi = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3013
- Ct = ((vt = Mi.exec("a")) === null || vt === void 0 ? void 0 : vt[0]) === "a";
3033
+ var Ui = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
+ Mt = ((Et = Ui.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
3014
3035
  } catch {
3015
- Ct = !1;
3036
+ Mt = !1;
3016
3037
  }
3017
- var or = Ai ? (
3038
+ var ar = Pi ? (
3018
3039
  // Native
3019
3040
  function(t, r, n) {
3020
3041
  return t.startsWith(r, n);
@@ -3024,7 +3045,7 @@ var or = Ai ? (
3024
3045
  function(t, r, n) {
3025
3046
  return t.slice(n, n + r.length) === r;
3026
3047
  }
3027
- ), It = Bi ? String.fromCodePoint : (
3048
+ ), Rt = Oi ? String.fromCodePoint : (
3028
3049
  // IE11
3029
3050
  function() {
3030
3051
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3036,9 +3057,9 @@ var or = Ai ? (
3036
3057
  }
3037
3058
  return n;
3038
3059
  }
3039
- ), sr = (
3060
+ ), ur = (
3040
3061
  // native
3041
- Pi ? Object.fromEntries : (
3062
+ Li ? Object.fromEntries : (
3042
3063
  // Ponyfill
3043
3064
  function(t) {
3044
3065
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3048,7 +3069,7 @@ var or = Ai ? (
3048
3069
  return r;
3049
3070
  }
3050
3071
  )
3051
- ), zr = Li ? (
3072
+ ), Jr = Ci ? (
3052
3073
  // Native
3053
3074
  function(t, r) {
3054
3075
  return t.codePointAt(r);
@@ -3062,7 +3083,7 @@ var or = Ai ? (
3062
3083
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3063
3084
  }
3064
3085
  }
3065
- ), Ri = Ci ? (
3086
+ ), Di = Ii ? (
3066
3087
  // Native
3067
3088
  function(t) {
3068
3089
  return t.trimStart();
@@ -3070,9 +3091,9 @@ var or = Ai ? (
3070
3091
  ) : (
3071
3092
  // Ponyfill
3072
3093
  function(t) {
3073
- return t.replace(wi, "");
3094
+ return t.replace(Ai, "");
3074
3095
  }
3075
- ), Ui = Ii ? (
3096
+ ), ki = Ni ? (
3076
3097
  // Native
3077
3098
  function(t) {
3078
3099
  return t.trimEnd();
@@ -3080,32 +3101,32 @@ var or = Ai ? (
3080
3101
  ) : (
3081
3102
  // Ponyfill
3082
3103
  function(t) {
3083
- return t.replace(Hi, "");
3104
+ return t.replace(Bi, "");
3084
3105
  }
3085
3106
  );
3086
- function Jr(e, t) {
3107
+ function Zr(e, t) {
3087
3108
  return new RegExp(e, t);
3088
3109
  }
3089
- var Ot;
3090
- if (Ct) {
3091
- var ar = Jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3092
- Ot = function(t, r) {
3110
+ var Ut;
3111
+ if (Mt) {
3112
+ var lr = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
+ Ut = function(t, r) {
3093
3114
  var n;
3094
- ar.lastIndex = r;
3095
- var i = ar.exec(t);
3115
+ lr.lastIndex = r;
3116
+ var i = lr.exec(t);
3096
3117
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3097
3118
  };
3098
3119
  } else
3099
- Ot = function(t, r) {
3120
+ Ut = function(t, r) {
3100
3121
  for (var n = []; ; ) {
3101
- var i = zr(t, r);
3102
- if (i === void 0 || Zr(i) || ji(i))
3122
+ var i = Jr(t, r);
3123
+ if (i === void 0 || Qr(i) || Fi(i))
3103
3124
  break;
3104
3125
  n.push(i), r += i >= 65536 ? 2 : 1;
3105
3126
  }
3106
- return It.apply(void 0, n);
3127
+ return Rt.apply(void 0, n);
3107
3128
  };
3108
- var Di = (
3129
+ var ji = (
3109
3130
  /** @class */
3110
3131
  function() {
3111
3132
  function e(t, r) {
@@ -3129,14 +3150,14 @@ var Di = (
3129
3150
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3130
3151
  var a = this.clonePosition();
3131
3152
  this.bump(), i.push({
3132
- type: P.pound,
3153
+ type: B.pound,
3133
3154
  location: w(a, this.clonePosition())
3134
3155
  });
3135
3156
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3136
3157
  if (n)
3137
3158
  break;
3138
3159
  return this.error(S.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3139
- } else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
3160
+ } else if (o === 60 && !this.ignoreTag && Dt(this.peek() || 0)) {
3140
3161
  var s = this.parseTag(t, r);
3141
3162
  if (s.err)
3142
3163
  return s;
@@ -3157,7 +3178,7 @@ var Di = (
3157
3178
  if (this.bumpSpace(), this.bumpIf("/>"))
3158
3179
  return {
3159
3180
  val: {
3160
- type: P.literal,
3181
+ type: B.literal,
3161
3182
  value: "<".concat(i, "/>"),
3162
3183
  location: w(n, this.clonePosition())
3163
3184
  },
@@ -3169,12 +3190,12 @@ var Di = (
3169
3190
  return o;
3170
3191
  var s = o.val, a = this.clonePosition();
3171
3192
  if (this.bumpIf("</")) {
3172
- if (this.isEOF() || !Nt(this.char()))
3193
+ if (this.isEOF() || !Dt(this.char()))
3173
3194
  return this.error(S.INVALID_TAG, w(a, this.clonePosition()));
3174
3195
  var l = this.clonePosition(), u = this.parseTagName();
3175
3196
  return i !== u ? this.error(S.UNMATCHED_CLOSING_TAG, w(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3176
3197
  val: {
3177
- type: P.tag,
3198
+ type: B.tag,
3178
3199
  value: i,
3179
3200
  children: s,
3180
3201
  location: w(n, this.clonePosition())
@@ -3187,7 +3208,7 @@ var Di = (
3187
3208
  return this.error(S.INVALID_TAG, w(n, this.clonePosition()));
3188
3209
  }, e.prototype.parseTagName = function() {
3189
3210
  var t = this.offset();
3190
- for (this.bump(); !this.isEOF() && Gi(this.char()); )
3211
+ for (this.bump(); !this.isEOF() && $i(this.char()); )
3191
3212
  this.bump();
3192
3213
  return this.message.slice(t, this.offset());
3193
3214
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3211,12 +3232,12 @@ var Di = (
3211
3232
  }
3212
3233
  var l = w(n, this.clonePosition());
3213
3234
  return {
3214
- val: { type: P.literal, value: i, location: l },
3235
+ val: { type: B.literal, value: i, location: l },
3215
3236
  err: null
3216
3237
  };
3217
3238
  }, e.prototype.tryParseLeftAngleBracket = function() {
3218
3239
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3219
- !ki(this.peek() || 0)) ? (this.bump(), "<") : null;
3240
+ !Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3220
3241
  }, e.prototype.tryParseQuote = function(t) {
3221
3242
  if (this.isEOF() || this.char() !== 39)
3222
3243
  return null;
@@ -3250,12 +3271,12 @@ var Di = (
3250
3271
  r.push(n);
3251
3272
  this.bump();
3252
3273
  }
3253
- return It.apply(void 0, r);
3274
+ return Rt.apply(void 0, r);
3254
3275
  }, e.prototype.tryParseUnquoted = function(t, r) {
3255
3276
  if (this.isEOF())
3256
3277
  return null;
3257
3278
  var n = this.char();
3258
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), It(n));
3279
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
3259
3280
  }, e.prototype.parseArgument = function(t, r) {
3260
3281
  var n = this.clonePosition();
3261
3282
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3271,7 +3292,7 @@ var Di = (
3271
3292
  case 125:
3272
3293
  return this.bump(), {
3273
3294
  val: {
3274
- type: P.argument,
3295
+ type: B.argument,
3275
3296
  // value does not include the opening and closing braces.
3276
3297
  value: i,
3277
3298
  location: w(n, this.clonePosition())
@@ -3284,7 +3305,7 @@ var Di = (
3284
3305
  return this.error(S.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3285
3306
  }
3286
3307
  }, e.prototype.parseIdentifierIfPossible = function() {
3287
- var t = this.clonePosition(), r = this.offset(), n = Ot(this.message, r), i = r + n.length;
3308
+ var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
3288
3309
  this.bumpTo(i);
3289
3310
  var o = this.clonePosition(), s = w(t, o);
3290
3311
  return { value: n, location: s };
@@ -3303,7 +3324,7 @@ var Di = (
3303
3324
  var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
3304
3325
  if (p.err)
3305
3326
  return p;
3306
- var h = Ui(p.val);
3327
+ var h = ki(p.val);
3307
3328
  if (h.length === 0)
3308
3329
  return this.error(S.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3309
3330
  var g = w(c, this.clonePosition());
@@ -3313,25 +3334,25 @@ var Di = (
3313
3334
  if (x.err)
3314
3335
  return x;
3315
3336
  var y = w(i, this.clonePosition());
3316
- if (u && or(u?.style, "::", 0)) {
3317
- var v = Ri(u.style.slice(2));
3337
+ if (u && ar(u?.style, "::", 0)) {
3338
+ var v = Di(u.style.slice(2));
3318
3339
  if (a === "number") {
3319
3340
  var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
3320
3341
  return p.err ? p : {
3321
- val: { type: P.number, value: n, location: y, style: p.val },
3342
+ val: { type: B.number, value: n, location: y, style: p.val },
3322
3343
  err: null
3323
3344
  };
3324
3345
  } else {
3325
3346
  if (v.length === 0)
3326
3347
  return this.error(S.EXPECT_DATE_TIME_SKELETON, y);
3327
3348
  var m = v;
3328
- this.locale && (m = Si(v, this.locale));
3349
+ this.locale && (m = wi(v, this.locale));
3329
3350
  var h = {
3330
- type: Ce.dateTime,
3351
+ type: Oe.dateTime,
3331
3352
  pattern: m,
3332
3353
  location: u.styleLocation,
3333
- parsedOptions: this.shouldParseSkeletons ? bi(m) : {}
3334
- }, T = a === "date" ? P.date : P.time;
3354
+ parsedOptions: this.shouldParseSkeletons ? yi(m) : {}
3355
+ }, T = a === "date" ? B.date : B.time;
3335
3356
  return {
3336
3357
  val: { type: T, value: n, location: y, style: h },
3337
3358
  err: null
@@ -3340,7 +3361,7 @@ var Di = (
3340
3361
  }
3341
3362
  return {
3342
3363
  val: {
3343
- type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3364
+ type: a === "number" ? B.number : a === "date" ? B.date : B.time,
3344
3365
  value: n,
3345
3366
  location: y,
3346
3367
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3351,9 +3372,9 @@ var Di = (
3351
3372
  case "plural":
3352
3373
  case "selectordinal":
3353
3374
  case "select": {
3354
- var B = this.clonePosition();
3375
+ var A = this.clonePosition();
3355
3376
  if (this.bumpSpace(), !this.bumpIf(","))
3356
- return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(B, H({}, B)));
3377
+ return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS, w(A, at({}, A)));
3357
3378
  this.bumpSpace();
3358
3379
  var M = this.parseIdentifierIfPossible(), k = 0;
3359
3380
  if (a !== "select" && M.value === "offset") {
@@ -3365,26 +3386,26 @@ var Di = (
3365
3386
  return p;
3366
3387
  this.bumpSpace(), M = this.parseIdentifierIfPossible(), k = p.val;
3367
3388
  }
3368
- var $ = this.tryParsePluralOrSelectOptions(t, a, r, M);
3369
- if ($.err)
3370
- return $;
3389
+ var F = this.tryParsePluralOrSelectOptions(t, a, r, M);
3390
+ if (F.err)
3391
+ return F;
3371
3392
  var x = this.tryParseArgumentClose(i);
3372
3393
  if (x.err)
3373
3394
  return x;
3374
3395
  var J = w(i, this.clonePosition());
3375
3396
  return a === "select" ? {
3376
3397
  val: {
3377
- type: P.select,
3398
+ type: B.select,
3378
3399
  value: n,
3379
- options: sr($.val),
3400
+ options: ur(F.val),
3380
3401
  location: J
3381
3402
  },
3382
3403
  err: null
3383
3404
  } : {
3384
3405
  val: {
3385
- type: P.plural,
3406
+ type: B.plural,
3386
3407
  value: n,
3387
- options: sr($.val),
3408
+ options: ur(F.val),
3388
3409
  offset: k,
3389
3410
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3390
3411
  location: J
@@ -3435,16 +3456,16 @@ var Di = (
3435
3456
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3436
3457
  var n = [];
3437
3458
  try {
3438
- n = yi(t);
3459
+ n = _i(t);
3439
3460
  } catch {
3440
3461
  return this.error(S.INVALID_NUMBER_SKELETON, r);
3441
3462
  }
3442
3463
  return {
3443
3464
  val: {
3444
- type: Ce.number,
3465
+ type: Oe.number,
3445
3466
  tokens: n,
3446
3467
  location: r,
3447
- parsedOptions: this.shouldParseSkeletons ? xi(n) : {}
3468
+ parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
3448
3469
  },
3449
3470
  err: null
3450
3471
  };
@@ -3492,7 +3513,7 @@ var Di = (
3492
3513
  break;
3493
3514
  }
3494
3515
  var l = w(i, this.clonePosition());
3495
- return o ? (s *= n, Ni(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3516
+ return o ? (s *= n, Ri(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3496
3517
  }, e.prototype.offset = function() {
3497
3518
  return this.position.offset;
3498
3519
  }, e.prototype.isEOF = function() {
@@ -3507,7 +3528,7 @@ var Di = (
3507
3528
  var t = this.position.offset;
3508
3529
  if (t >= this.message.length)
3509
3530
  throw Error("out of bound");
3510
- var r = zr(this.message, t);
3531
+ var r = Jr(this.message, t);
3511
3532
  if (r === void 0)
3512
3533
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3513
3534
  return r;
@@ -3526,7 +3547,7 @@ var Di = (
3526
3547
  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);
3527
3548
  }
3528
3549
  }, e.prototype.bumpIf = function(t) {
3529
- if (or(this.message, t, this.offset())) {
3550
+ if (ar(this.message, t, this.offset())) {
3530
3551
  for (var r = 0; r < t.length; r++)
3531
3552
  this.bump();
3532
3553
  return !0;
@@ -3548,7 +3569,7 @@ var Di = (
3548
3569
  break;
3549
3570
  }
3550
3571
  }, e.prototype.bumpSpace = function() {
3551
- for (; !this.isEOF() && Zr(this.char()); )
3572
+ for (; !this.isEOF() && Qr(this.char()); )
3552
3573
  this.bump();
3553
3574
  }, e.prototype.peek = function() {
3554
3575
  if (this.isEOF())
@@ -3558,47 +3579,47 @@ var Di = (
3558
3579
  }, e;
3559
3580
  }()
3560
3581
  );
3561
- function Nt(e) {
3582
+ function Dt(e) {
3562
3583
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3563
3584
  }
3564
- function ki(e) {
3565
- return Nt(e) || e === 47;
3566
- }
3567
3585
  function Gi(e) {
3586
+ return Dt(e) || e === 47;
3587
+ }
3588
+ function $i(e) {
3568
3589
  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;
3569
3590
  }
3570
- function Zr(e) {
3591
+ function Qr(e) {
3571
3592
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3572
3593
  }
3573
- function ji(e) {
3594
+ function Fi(e) {
3574
3595
  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;
3575
3596
  }
3576
- function Mt(e) {
3597
+ function kt(e) {
3577
3598
  e.forEach(function(t) {
3578
- if (delete t.location, kr(t) || Gr(t))
3599
+ if (delete t.location, jr(t) || Gr(t))
3579
3600
  for (var r in t.options)
3580
- delete t.options[r].location, Mt(t.options[r].value);
3601
+ delete t.options[r].location, kt(t.options[r].value);
3581
3602
  else
3582
- Rr(t) && Fr(t.style) || (Ur(t) || Dr(t)) && Lt(t.style) ? delete t.style.location : jr(t) && Mt(t.children);
3603
+ Ur(t) && Fr(t.style) || (Dr(t) || kr(t)) && Nt(t.style) ? delete t.style.location : $r(t) && kt(t.children);
3583
3604
  });
3584
3605
  }
3585
- function Fi(e, t) {
3586
- t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3587
- var r = new Di(e, t).parse();
3606
+ function Vi(e, t) {
3607
+ t === void 0 && (t = {}), t = at({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3608
+ var r = new ji(e, t).parse();
3588
3609
  if (r.err) {
3589
3610
  var n = SyntaxError(S[r.err.kind]);
3590
3611
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3591
3612
  }
3592
- return t?.captureLocation || Mt(r.val), r.val;
3613
+ return t?.captureLocation || kt(r.val), r.val;
3593
3614
  }
3594
- var Ie;
3615
+ var Le;
3595
3616
  (function(e) {
3596
3617
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3597
- })(Ie || (Ie = {}));
3598
- var ht = (
3618
+ })(Le || (Le = {}));
3619
+ var pt = (
3599
3620
  /** @class */
3600
3621
  function(e) {
3601
- ce(t, e);
3622
+ ft(t, e);
3602
3623
  function t(r, n, i) {
3603
3624
  var o = e.call(this, r) || this;
3604
3625
  return o.code = n, o.originalMessage = i, o;
@@ -3607,155 +3628,155 @@ var ht = (
3607
3628
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3608
3629
  }, t;
3609
3630
  }(Error)
3610
- ), ur = (
3631
+ ), cr = (
3611
3632
  /** @class */
3612
3633
  function(e) {
3613
- ce(t, e);
3634
+ ft(t, e);
3614
3635
  function t(r, n, i, o) {
3615
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ie.INVALID_VALUE, o) || this;
3636
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Le.INVALID_VALUE, o) || this;
3616
3637
  }
3617
3638
  return t;
3618
- }(ht)
3619
- ), $i = (
3639
+ }(pt)
3640
+ ), Wi = (
3620
3641
  /** @class */
3621
3642
  function(e) {
3622
- ce(t, e);
3643
+ ft(t, e);
3623
3644
  function t(r, n, i) {
3624
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ie.INVALID_VALUE, i) || this;
3645
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Le.INVALID_VALUE, i) || this;
3625
3646
  }
3626
3647
  return t;
3627
- }(ht)
3628
- ), Vi = (
3648
+ }(pt)
3649
+ ), Xi = (
3629
3650
  /** @class */
3630
3651
  function(e) {
3631
- ce(t, e);
3652
+ ft(t, e);
3632
3653
  function t(r, n) {
3633
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ie.MISSING_VALUE, n) || this;
3654
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Le.MISSING_VALUE, n) || this;
3634
3655
  }
3635
3656
  return t;
3636
- }(ht)
3637
- ), G;
3657
+ }(pt)
3658
+ ), j;
3638
3659
  (function(e) {
3639
3660
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3640
- })(G || (G = {}));
3641
- function Wi(e) {
3661
+ })(j || (j = {}));
3662
+ function zi(e) {
3642
3663
  return e.length < 2 ? e : e.reduce(function(t, r) {
3643
3664
  var n = t[t.length - 1];
3644
- return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
3665
+ return !n || n.type !== j.literal || r.type !== j.literal ? t.push(r) : n.value += r.value, t;
3645
3666
  }, []);
3646
3667
  }
3647
- function Xi(e) {
3668
+ function Ji(e) {
3648
3669
  return typeof e == "function";
3649
3670
  }
3650
3671
  function ot(e, t, r, n, i, o, s) {
3651
- if (e.length === 1 && tr(e[0]))
3672
+ if (e.length === 1 && nr(e[0]))
3652
3673
  return [
3653
3674
  {
3654
- type: G.literal,
3675
+ type: j.literal,
3655
3676
  value: e[0].value
3656
3677
  }
3657
3678
  ];
3658
3679
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3659
3680
  var c = u[l];
3660
- if (tr(c)) {
3681
+ if (nr(c)) {
3661
3682
  a.push({
3662
- type: G.literal,
3683
+ type: j.literal,
3663
3684
  value: c.value
3664
3685
  });
3665
3686
  continue;
3666
3687
  }
3667
- if (di(c)) {
3688
+ if (bi(c)) {
3668
3689
  typeof o == "number" && a.push({
3669
- type: G.literal,
3690
+ type: j.literal,
3670
3691
  value: r.getNumberFormat(t).format(o)
3671
3692
  });
3672
3693
  continue;
3673
3694
  }
3674
3695
  var p = c.value;
3675
3696
  if (!(i && p in i))
3676
- throw new Vi(p, s);
3697
+ throw new Xi(p, s);
3677
3698
  var h = i[p];
3678
- if (pi(c)) {
3699
+ if (mi(c)) {
3679
3700
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3680
- type: typeof h == "string" ? G.literal : G.object,
3701
+ type: typeof h == "string" ? j.literal : j.object,
3681
3702
  value: h
3682
3703
  });
3683
3704
  continue;
3684
3705
  }
3685
- if (Ur(c)) {
3686
- var g = typeof c.style == "string" ? n.date[c.style] : Lt(c.style) ? c.style.parsedOptions : void 0;
3706
+ if (Dr(c)) {
3707
+ var g = typeof c.style == "string" ? n.date[c.style] : Nt(c.style) ? c.style.parsedOptions : void 0;
3687
3708
  a.push({
3688
- type: G.literal,
3709
+ type: j.literal,
3689
3710
  value: r.getDateTimeFormat(t, g).format(h)
3690
3711
  });
3691
3712
  continue;
3692
3713
  }
3693
- if (Dr(c)) {
3694
- var g = typeof c.style == "string" ? n.time[c.style] : Lt(c.style) ? c.style.parsedOptions : n.time.medium;
3714
+ if (kr(c)) {
3715
+ var g = typeof c.style == "string" ? n.time[c.style] : Nt(c.style) ? c.style.parsedOptions : n.time.medium;
3695
3716
  a.push({
3696
- type: G.literal,
3717
+ type: j.literal,
3697
3718
  value: r.getDateTimeFormat(t, g).format(h)
3698
3719
  });
3699
3720
  continue;
3700
3721
  }
3701
- if (Rr(c)) {
3722
+ if (Ur(c)) {
3702
3723
  var g = typeof c.style == "string" ? n.number[c.style] : Fr(c.style) ? c.style.parsedOptions : void 0;
3703
3724
  g && g.scale && (h = h * (g.scale || 1)), a.push({
3704
- type: G.literal,
3725
+ type: j.literal,
3705
3726
  value: r.getNumberFormat(t, g).format(h)
3706
3727
  });
3707
3728
  continue;
3708
3729
  }
3709
- if (jr(c)) {
3730
+ if ($r(c)) {
3710
3731
  var x = c.children, y = c.value, v = i[y];
3711
- if (!Xi(v))
3712
- throw new $i(y, "function", s);
3732
+ if (!Ji(v))
3733
+ throw new Wi(y, "function", s);
3713
3734
  var m = ot(x, t, r, n, i, o), T = v(m.map(function(k) {
3714
3735
  return k.value;
3715
3736
  }));
3716
3737
  Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(k) {
3717
3738
  return {
3718
- type: typeof k == "string" ? G.literal : G.object,
3739
+ type: typeof k == "string" ? j.literal : j.object,
3719
3740
  value: k
3720
3741
  };
3721
3742
  }));
3722
3743
  }
3723
- if (kr(c)) {
3724
- var B = c.options[h] || c.options.other;
3725
- if (!B)
3726
- throw new ur(c.value, h, Object.keys(c.options), s);
3727
- a.push.apply(a, ot(B.value, t, r, n, i));
3744
+ if (jr(c)) {
3745
+ var A = c.options[h] || c.options.other;
3746
+ if (!A)
3747
+ throw new cr(c.value, h, Object.keys(c.options), s);
3748
+ a.push.apply(a, ot(A.value, t, r, n, i));
3728
3749
  continue;
3729
3750
  }
3730
3751
  if (Gr(c)) {
3731
- var B = c.options["=".concat(h)];
3732
- if (!B) {
3752
+ var A = c.options["=".concat(h)];
3753
+ if (!A) {
3733
3754
  if (!Intl.PluralRules)
3734
- throw new ht(`Intl.PluralRules is not available in this environment.
3755
+ throw new pt(`Intl.PluralRules is not available in this environment.
3735
3756
  Try polyfilling it using "@formatjs/intl-pluralrules"
3736
- `, Ie.MISSING_INTL_API, s);
3757
+ `, Le.MISSING_INTL_API, s);
3737
3758
  var M = r.getPluralRules(t, { type: c.pluralType }).select(h - (c.offset || 0));
3738
- B = c.options[M] || c.options.other;
3759
+ A = c.options[M] || c.options.other;
3739
3760
  }
3740
- if (!B)
3741
- throw new ur(c.value, h, Object.keys(c.options), s);
3742
- a.push.apply(a, ot(B.value, t, r, n, i, h - (c.offset || 0)));
3761
+ if (!A)
3762
+ throw new cr(c.value, h, Object.keys(c.options), s);
3763
+ a.push.apply(a, ot(A.value, t, r, n, i, h - (c.offset || 0)));
3743
3764
  continue;
3744
3765
  }
3745
3766
  }
3746
- return Wi(a);
3767
+ return zi(a);
3747
3768
  }
3748
- function zi(e, t) {
3749
- return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3750
- return r[n] = H(H({}, e[n]), t[n] || {}), r;
3769
+ function Zi(e, t) {
3770
+ return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
+ return r[n] = re(re({}, e[n]), t[n] || {}), r;
3751
3772
  }, {})) : e;
3752
3773
  }
3753
- function Ji(e, t) {
3774
+ function Qi(e, t) {
3754
3775
  return t ? Object.keys(e).reduce(function(r, n) {
3755
- return r[n] = zi(e[n], t[n]), r;
3756
- }, H({}, e)) : e;
3776
+ return r[n] = Zi(e[n], t[n]), r;
3777
+ }, re({}, e)) : e;
3757
3778
  }
3758
- function _t(e) {
3779
+ function xt(e) {
3759
3780
  return {
3760
3781
  create: function() {
3761
3782
  return {
@@ -3769,39 +3790,39 @@ function _t(e) {
3769
3790
  }
3770
3791
  };
3771
3792
  }
3772
- function Zi(e) {
3793
+ function Yi(e) {
3773
3794
  return e === void 0 && (e = {
3774
3795
  number: {},
3775
3796
  dateTime: {},
3776
3797
  pluralRules: {}
3777
3798
  }), {
3778
- getNumberFormat: gt(function() {
3799
+ getNumberFormat: vt(function() {
3779
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3780
3801
  r[n] = arguments[n];
3781
- return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3802
+ return new ((t = Intl.NumberFormat).bind.apply(t, yt([void 0], r, !1)))();
3782
3803
  }, {
3783
- cache: _t(e.number),
3784
- strategy: yt.variadic
3804
+ cache: xt(e.number),
3805
+ strategy: _t.variadic
3785
3806
  }),
3786
- getDateTimeFormat: gt(function() {
3807
+ getDateTimeFormat: vt(function() {
3787
3808
  for (var t, r = [], n = 0; n < arguments.length; n++)
3788
3809
  r[n] = arguments[n];
3789
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3810
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, yt([void 0], r, !1)))();
3790
3811
  }, {
3791
- cache: _t(e.dateTime),
3792
- strategy: yt.variadic
3812
+ cache: xt(e.dateTime),
3813
+ strategy: _t.variadic
3793
3814
  }),
3794
- getPluralRules: gt(function() {
3815
+ getPluralRules: vt(function() {
3795
3816
  for (var t, r = [], n = 0; n < arguments.length; n++)
3796
3817
  r[n] = arguments[n];
3797
- return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3818
+ return new ((t = Intl.PluralRules).bind.apply(t, yt([void 0], r, !1)))();
3798
3819
  }, {
3799
- cache: _t(e.pluralRules),
3800
- strategy: yt.variadic
3820
+ cache: xt(e.pluralRules),
3821
+ strategy: _t.variadic
3801
3822
  })
3802
3823
  };
3803
3824
  }
3804
- var Qi = (
3825
+ var qi = (
3805
3826
  /** @class */
3806
3827
  function() {
3807
3828
  function e(t, r, n, i) {
@@ -3816,7 +3837,7 @@ var Qi = (
3816
3837
  if (u.length === 1)
3817
3838
  return u[0].value;
3818
3839
  var c = u.reduce(function(p, h) {
3819
- return !p.length || h.type !== G.literal || typeof p[p.length - 1] != "string" ? p.push(h.value) : p[p.length - 1] += h.value, p;
3840
+ return !p.length || h.type !== j.literal || typeof p[p.length - 1] != "string" ? p.push(h.value) : p[p.length - 1] += h.value, p;
3820
3841
  }, []);
3821
3842
  return c.length <= 1 ? c[0] || "" : c;
3822
3843
  }, this.formatToParts = function(l) {
@@ -3833,13 +3854,13 @@ var Qi = (
3833
3854
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3834
3855
  var s = i || {};
3835
3856
  s.formatters;
3836
- var a = Pn(s, ["formatters"]);
3837
- this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
3857
+ var a = ai(s, ["formatters"]);
3858
+ this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
3838
3859
  } else
3839
3860
  this.ast = t;
3840
3861
  if (!Array.isArray(this.ast))
3841
3862
  throw new TypeError("A message must be provided as a String or AST.");
3842
- this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Zi(this.formatterCache);
3863
+ this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Yi(this.formatterCache);
3843
3864
  }
3844
3865
  return Object.defineProperty(e, "defaultLocale", {
3845
3866
  get: function() {
@@ -3852,7 +3873,7 @@ var Qi = (
3852
3873
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3853
3874
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3854
3875
  }
3855
- }, e.__parse = Fi, e.formats = {
3876
+ }, e.__parse = Vi, e.formats = {
3856
3877
  number: {
3857
3878
  integer: {
3858
3879
  maximumFractionDigits: 0
@@ -3913,7 +3934,7 @@ var Qi = (
3913
3934
  }, e;
3914
3935
  }()
3915
3936
  );
3916
- function Yi(e, t) {
3937
+ function Ki(e, t) {
3917
3938
  if (t == null)
3918
3939
  return;
3919
3940
  if (t in e)
@@ -3934,92 +3955,92 @@ function Yi(e, t) {
3934
3955
  n = void 0;
3935
3956
  return n;
3936
3957
  }
3937
- const de = {}, qi = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Qr = (e, t) => {
3958
+ const de = {}, eo = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Yr = (e, t) => {
3938
3959
  if (t == null)
3939
3960
  return;
3940
3961
  if (t in de && e in de[t])
3941
3962
  return de[t][e];
3942
- const r = ft(t);
3963
+ const r = dt(t);
3943
3964
  for (let n = 0; n < r.length; n++) {
3944
- const i = r[n], o = eo(i, e);
3965
+ const i = r[n], o = ro(i, e);
3945
3966
  if (o)
3946
- return qi(e, t, o);
3967
+ return eo(e, t, o);
3947
3968
  }
3948
3969
  };
3949
- let jt;
3950
- const Je = ct({});
3951
- function Ki(e) {
3952
- return jt[e] || null;
3970
+ let Ft;
3971
+ const Je = ht({});
3972
+ function to(e) {
3973
+ return Ft[e] || null;
3953
3974
  }
3954
- function Yr(e) {
3955
- return e in jt;
3975
+ function qr(e) {
3976
+ return e in Ft;
3956
3977
  }
3957
- function eo(e, t) {
3958
- if (!Yr(e))
3978
+ function ro(e, t) {
3979
+ if (!qr(e))
3959
3980
  return null;
3960
- const r = Ki(e);
3961
- return Yi(r, t);
3981
+ const r = to(e);
3982
+ return Ki(r, t);
3962
3983
  }
3963
- function to(e) {
3984
+ function no(e) {
3964
3985
  if (e == null)
3965
3986
  return;
3966
- const t = ft(e);
3987
+ const t = dt(e);
3967
3988
  for (let r = 0; r < t.length; r++) {
3968
3989
  const n = t[r];
3969
- if (Yr(n))
3990
+ if (qr(n))
3970
3991
  return n;
3971
3992
  }
3972
3993
  }
3973
- function qr(e, ...t) {
3994
+ function Kr(e, ...t) {
3974
3995
  delete de[e], Je.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3975
3996
  }
3976
- Ne(
3997
+ Ie(
3977
3998
  [Je],
3978
3999
  ([e]) => Object.keys(e)
3979
4000
  );
3980
- Je.subscribe((e) => jt = e);
4001
+ Je.subscribe((e) => Ft = e);
3981
4002
  const st = {};
3982
- function ro(e, t) {
4003
+ function io(e, t) {
3983
4004
  st[e].delete(t), st[e].size === 0 && delete st[e];
3984
4005
  }
3985
- function Kr(e) {
4006
+ function en(e) {
3986
4007
  return st[e];
3987
4008
  }
3988
- function no(e) {
3989
- return ft(e).map((t) => {
3990
- const r = Kr(t);
4009
+ function oo(e) {
4010
+ return dt(e).map((t) => {
4011
+ const r = en(t);
3991
4012
  return [t, r ? [...r] : []];
3992
4013
  }).filter(([, t]) => t.length > 0);
3993
4014
  }
3994
- function Rt(e) {
3995
- return e == null ? !1 : ft(e).some(
4015
+ function jt(e) {
4016
+ return e == null ? !1 : dt(e).some(
3996
4017
  (t) => {
3997
4018
  var r;
3998
- return (r = Kr(t)) == null ? void 0 : r.size;
4019
+ return (r = en(t)) == null ? void 0 : r.size;
3999
4020
  }
4000
4021
  );
4001
4022
  }
4002
- function io(e, t) {
4023
+ function so(e, t) {
4003
4024
  return Promise.all(
4004
- t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4005
- ).then((n) => qr(e, ...n));
4006
- }
4007
- const Fe = {};
4008
- function en(e) {
4009
- if (!Rt(e))
4010
- return e in Fe ? Fe[e] : Promise.resolve();
4011
- const t = no(e);
4012
- return Fe[e] = Promise.all(
4025
+ t.map((n) => (io(e, n), n().then((i) => i.default || i)))
4026
+ ).then((n) => Kr(e, ...n));
4027
+ }
4028
+ const Ge = {};
4029
+ function tn(e) {
4030
+ if (!jt(e))
4031
+ return e in Ge ? Ge[e] : Promise.resolve();
4032
+ const t = oo(e);
4033
+ return Ge[e] = Promise.all(
4013
4034
  t.map(
4014
- ([r, n]) => io(r, n)
4035
+ ([r, n]) => so(r, n)
4015
4036
  )
4016
4037
  ).then(() => {
4017
- if (Rt(e))
4018
- return en(e);
4019
- delete Fe[e];
4020
- }), Fe[e];
4038
+ if (jt(e))
4039
+ return tn(e);
4040
+ delete Ge[e];
4041
+ }), Ge[e];
4021
4042
  }
4022
- const oo = {
4043
+ const ao = {
4023
4044
  number: {
4024
4045
  scientific: { notation: "scientific" },
4025
4046
  engineering: { notation: "engineering" },
@@ -4048,135 +4069,135 @@ const oo = {
4048
4069
  timeZoneName: "short"
4049
4070
  }
4050
4071
  }
4051
- }, so = {
4072
+ }, uo = {
4052
4073
  fallbackLocale: null,
4053
4074
  loadingDelay: 200,
4054
- formats: oo,
4075
+ formats: ao,
4055
4076
  warnOnMissingMessages: !0,
4056
4077
  handleMissingMessage: void 0,
4057
4078
  ignoreTag: !0
4058
- }, ao = so;
4059
- function Oe() {
4060
- return ao;
4079
+ }, lo = uo;
4080
+ function Ce() {
4081
+ return lo;
4061
4082
  }
4062
- const Et = ct(!1);
4063
- var uo = Object.defineProperty, lo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, po = (e, t) => {
4083
+ const St = ht(!1);
4084
+ var co = Object.defineProperty, ho = Object.defineProperties, fo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, mo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
4064
4085
  for (var r in t || (t = {}))
4065
- ho.call(t, r) && cr(e, r, t[r]);
4066
- if (lr)
4067
- for (var r of lr(t))
4068
- fo.call(t, r) && cr(e, r, t[r]);
4086
+ po.call(t, r) && fr(e, r, t[r]);
4087
+ if (hr)
4088
+ for (var r of hr(t))
4089
+ mo.call(t, r) && fr(e, r, t[r]);
4069
4090
  return e;
4070
- }, mo = (e, t) => lo(e, co(t));
4071
- let Ut;
4072
- const at = ct(null);
4073
- function hr(e) {
4091
+ }, go = (e, t) => ho(e, fo(t));
4092
+ let Gt;
4093
+ const ut = ht(null);
4094
+ function pr(e) {
4074
4095
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4075
4096
  }
4076
- function ft(e, t = Oe().fallbackLocale) {
4077
- const r = hr(e);
4078
- return t ? [.../* @__PURE__ */ new Set([...r, ...hr(t)])] : r;
4097
+ function dt(e, t = Ce().fallbackLocale) {
4098
+ const r = pr(e);
4099
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pr(t)])] : r;
4079
4100
  }
4080
4101
  function ge() {
4081
- return Ut ?? void 0;
4102
+ return Gt ?? void 0;
4082
4103
  }
4083
- at.subscribe((e) => {
4084
- Ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4104
+ ut.subscribe((e) => {
4105
+ Gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4085
4106
  });
4086
- const bo = (e) => {
4087
- if (e && to(e) && Rt(e)) {
4088
- const { loadingDelay: t } = Oe();
4107
+ const yo = (e) => {
4108
+ if (e && no(e) && jt(e)) {
4109
+ const { loadingDelay: t } = Ce();
4089
4110
  let r;
4090
4111
  return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
4091
- () => Et.set(!0),
4112
+ () => St.set(!0),
4092
4113
  t
4093
- ) : Et.set(!0), en(e).then(() => {
4094
- at.set(e);
4114
+ ) : St.set(!0), tn(e).then(() => {
4115
+ ut.set(e);
4095
4116
  }).finally(() => {
4096
- clearTimeout(r), Et.set(!1);
4117
+ clearTimeout(r), St.set(!1);
4097
4118
  });
4098
4119
  }
4099
- return at.set(e);
4100
- }, Me = mo(po({}, at), {
4101
- set: bo
4102
- }), pt = (e) => {
4120
+ return ut.set(e);
4121
+ }, Ne = go(bo({}, ut), {
4122
+ set: yo
4123
+ }), mt = (e) => {
4103
4124
  const t = /* @__PURE__ */ Object.create(null);
4104
4125
  return (n) => {
4105
4126
  const i = JSON.stringify(n);
4106
4127
  return i in t ? t[i] : t[i] = e(n);
4107
4128
  };
4108
4129
  };
4109
- var go = Object.defineProperty, ut = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
4130
+ var vo = Object.defineProperty, lt = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, dr = (e, t, r) => t in e ? vo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4110
4131
  for (var r in t || (t = {}))
4111
- tn.call(t, r) && fr(e, r, t[r]);
4112
- if (ut)
4113
- for (var r of ut(t))
4114
- rn.call(t, r) && fr(e, r, t[r]);
4132
+ rn.call(t, r) && dr(e, r, t[r]);
4133
+ if (lt)
4134
+ for (var r of lt(t))
4135
+ nn.call(t, r) && dr(e, r, t[r]);
4115
4136
  return e;
4116
- }, Re = (e, t) => {
4137
+ }, Me = (e, t) => {
4117
4138
  var r = {};
4118
4139
  for (var n in e)
4119
- tn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4120
- if (e != null && ut)
4121
- for (var n of ut(e))
4122
- t.indexOf(n) < 0 && rn.call(e, n) && (r[n] = e[n]);
4140
+ rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
+ if (e != null && lt)
4142
+ for (var n of lt(e))
4143
+ t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
4123
4144
  return r;
4124
4145
  };
4125
- const Xe = (e, t) => {
4126
- const { formats: r } = Oe();
4146
+ const We = (e, t) => {
4147
+ const { formats: r } = Ce();
4127
4148
  if (e in r && t in r[e])
4128
4149
  return r[e][t];
4129
4150
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4130
- }, yo = pt(
4151
+ }, _o = mt(
4131
4152
  (e) => {
4132
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4153
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4133
4154
  if (r == null)
4134
4155
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4135
- return n && (i = Xe("number", n)), new Intl.NumberFormat(r, i);
4156
+ return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
4136
4157
  }
4137
- ), vo = pt(
4158
+ ), Eo = mt(
4138
4159
  (e) => {
4139
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4160
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4140
4161
  if (r == null)
4141
4162
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4142
- return n ? i = Xe("date", n) : Object.keys(i).length === 0 && (i = Xe("date", "short")), new Intl.DateTimeFormat(r, i);
4163
+ return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
4143
4164
  }
4144
- ), _o = pt(
4165
+ ), xo = mt(
4145
4166
  (e) => {
4146
- var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4167
+ var t = e, { locale: r, format: n } = t, i = Me(t, ["locale", "format"]);
4147
4168
  if (r == null)
4148
4169
  throw new Error(
4149
4170
  '[svelte-i18n] A "locale" must be set to format time values'
4150
4171
  );
4151
- return n ? i = Xe("time", n) : Object.keys(i).length === 0 && (i = Xe("time", "short")), new Intl.DateTimeFormat(r, i);
4172
+ return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
4152
4173
  }
4153
- ), Eo = (e = {}) => {
4174
+ ), So = (e = {}) => {
4154
4175
  var t = e, {
4155
4176
  locale: r = ge()
4156
- } = t, n = Re(t, [
4177
+ } = t, n = Me(t, [
4157
4178
  "locale"
4158
4179
  ]);
4159
- return yo(Ft({ locale: r }, n));
4160
- }, xo = (e = {}) => {
4180
+ return _o(Vt({ locale: r }, n));
4181
+ }, To = (e = {}) => {
4161
4182
  var t = e, {
4162
4183
  locale: r = ge()
4163
- } = t, n = Re(t, [
4184
+ } = t, n = Me(t, [
4164
4185
  "locale"
4165
4186
  ]);
4166
- return vo(Ft({ locale: r }, n));
4167
- }, So = (e = {}) => {
4187
+ return Eo(Vt({ locale: r }, n));
4188
+ }, wo = (e = {}) => {
4168
4189
  var t = e, {
4169
4190
  locale: r = ge()
4170
- } = t, n = Re(t, [
4191
+ } = t, n = Me(t, [
4171
4192
  "locale"
4172
4193
  ]);
4173
- return _o(Ft({ locale: r }, n));
4174
- }, To = pt(
4194
+ return xo(Vt({ locale: r }, n));
4195
+ }, Ho = mt(
4175
4196
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4176
- (e, t = ge()) => new Qi(e, t, Oe().formats, {
4177
- ignoreTag: Oe().ignoreTag
4197
+ (e, t = ge()) => new qi(e, t, Ce().formats, {
4198
+ ignoreTag: Ce().ignoreTag
4178
4199
  })
4179
- ), wo = (e, t = {}) => {
4200
+ ), Ao = (e, t = {}) => {
4180
4201
  var r, n, i, o;
4181
4202
  let s = t;
4182
4203
  typeof e == "object" && (s = e, e = s.id);
@@ -4189,9 +4210,9 @@ const Xe = (e, t) => {
4189
4210
  throw new Error(
4190
4211
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4191
4212
  );
4192
- let c = Qr(e, l);
4213
+ let c = Yr(e, l);
4193
4214
  if (!c)
4194
- c = (o = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4215
+ c = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4195
4216
  else if (typeof c != "string")
4196
4217
  return console.warn(
4197
4218
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4200,7 +4221,7 @@ const Xe = (e, t) => {
4200
4221
  return c;
4201
4222
  let p = c;
4202
4223
  try {
4203
- p = To(c, l).format(a);
4224
+ p = Ho(c, l).format(a);
4204
4225
  } catch (h) {
4205
4226
  h instanceof Error && console.warn(
4206
4227
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4208,21 +4229,21 @@ const Xe = (e, t) => {
4208
4229
  );
4209
4230
  }
4210
4231
  return p;
4211
- }, Ho = (e, t) => So(t).format(e), Ao = (e, t) => xo(t).format(e), Bo = (e, t) => Eo(t).format(e), Po = (e, t = ge()) => Qr(e, t);
4212
- Ne([Me, Je], () => wo);
4213
- Ne([Me], () => Ho);
4214
- Ne([Me], () => Ao);
4215
- Ne([Me], () => Bo);
4216
- Ne([Me, Je], () => Po);
4217
- window.emWidgets = { topic: $n };
4218
- const Lo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4219
- function Co(e, t) {
4232
+ }, Bo = (e, t) => wo(t).format(e), Po = (e, t) => To(t).format(e), Oo = (e, t) => So(t).format(e), Lo = (e, t = ge()) => Yr(e, t);
4233
+ Ie([Ne, Je], () => Ao);
4234
+ Ie([Ne], () => Bo);
4235
+ Ie([Ne], () => Po);
4236
+ Ie([Ne], () => Oo);
4237
+ Ie([Ne, Je], () => Lo);
4238
+ window.emWidgets = { topic: Fn };
4239
+ const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4240
+ function Io(e, t) {
4220
4241
  if (e) {
4221
4242
  const r = document.createElement("style");
4222
4243
  r.innerHTML = t, e.appendChild(r);
4223
4244
  }
4224
4245
  }
4225
- function Io(e, t) {
4246
+ function No(e, t) {
4226
4247
  const r = new URL(t);
4227
4248
  fetch(r.href).then((n) => n.text()).then((n) => {
4228
4249
  const i = document.createElement("style");
@@ -4231,7 +4252,7 @@ function Io(e, t) {
4231
4252
  console.error("There was an error while trying to load client styling from URL", n);
4232
4253
  });
4233
4254
  }
4234
- function Oo(e, t, r) {
4255
+ function Mo(e, t, r) {
4235
4256
  if (window.emMessageBus) {
4236
4257
  const n = document.createElement("style");
4237
4258
  window.emMessageBus.subscribe(t, (i) => {
@@ -4239,13 +4260,13 @@ function Oo(e, t, r) {
4239
4260
  });
4240
4261
  }
4241
4262
  }
4242
- function pr(e, t) {
4243
- qr(e, t);
4263
+ function mr(e, t) {
4264
+ Kr(e, t);
4244
4265
  }
4245
- function No(e) {
4246
- Me.set(e);
4266
+ function Ro(e) {
4267
+ Ne.set(e);
4247
4268
  }
4248
- const dr = {
4269
+ const br = {
4249
4270
  en: {
4250
4271
  loadingText: "Loading, please wait..."
4251
4272
  },
@@ -4283,27 +4304,27 @@ const dr = {
4283
4304
  loadingText: "Loading, please wait..."
4284
4305
  }
4285
4306
  };
4286
- function Mo(e) {
4287
- sn(e, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4307
+ function Uo(e) {
4308
+ an(e, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4288
4309
  }
4289
- function mr(e, t, r) {
4310
+ function gr(e, t, r) {
4290
4311
  const n = e.slice();
4291
4312
  return n[56] = t[r], n[58] = r, n;
4292
4313
  }
4293
- function Ro(e) {
4314
+ function Do(e) {
4294
4315
  let t, r, n, i, o, s, a, l, u, c, p, h, g;
4295
4316
  function x(m, T) {
4296
4317
  return (
4297
4318
  /*tabletView*/
4298
- m[8] ? ko : Go
4319
+ m[8] ? Go : $o
4299
4320
  );
4300
4321
  }
4301
4322
  let y = x(e), v = y(e);
4302
4323
  return {
4303
4324
  c() {
4304
- t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = I(), s = b("div"), v.c(), a = I(), l = b("div"), u = b("ui-image"), _(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
4325
+ t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = C(), s = b("div"), v.c(), a = C(), l = b("div"), u = b("ui-image"), _(i, "class", "vendorLogo"), et(i, "background-image", "url(" + /*vendorIcon*/
4305
4326
  e[9] + ")"), _(s, "class", "displayContainer"), Q(u.src, c = /*titleLogoImg*/
4306
- e[14]) || L(u, "src", c), L(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
4327
+ e[14]) || P(u, "src", c), P(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
4307
4328
  e[0] + " " + /*mobileView*/
4308
4329
  (e[7] && !/*tabletView*/
4309
4330
  e[8] ? "mobile" : (
@@ -4313,7 +4334,7 @@ function Ro(e) {
4313
4334
  e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
4314
4335
  },
4315
4336
  m(m, T) {
4316
- F(m, t, T), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), h || (g = hn(
4337
+ $(m, t, T), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), h || (g = fn(
4317
4338
  r,
4318
4339
  "click",
4319
4340
  /*click_handler*/
@@ -4325,7 +4346,7 @@ function Ro(e) {
4325
4346
  512 && et(i, "background-image", "url(" + /*vendorIcon*/
4326
4347
  m[9] + ")"), y === (y = x(m)) && v ? v.p(m, T) : (v.d(1), v = y(m), v && (v.c(), v.m(s, null))), T[0] & /*titleLogoImg*/
4327
4348
  16384 && !Q(u.src, c = /*titleLogoImg*/
4328
- m[14]) && L(u, "src", c), T[0] & /*visualstructure, mobileView, tabletView*/
4349
+ m[14]) && P(u, "src", c), T[0] & /*visualstructure, mobileView, tabletView*/
4329
4350
  385 && p !== (p = "mainWrapper " + /*visualstructure*/
4330
4351
  m[0] + " " + /*mobileView*/
4331
4352
  (m[7] && !/*tabletView*/
@@ -4341,14 +4362,14 @@ function Ro(e) {
4341
4362
  }
4342
4363
  };
4343
4364
  }
4344
- function Uo(e) {
4365
+ function ko(e) {
4345
4366
  let t;
4346
4367
  return {
4347
4368
  c() {
4348
4369
  t = b("div"), _(t, "class", "LoadingSpinner");
4349
4370
  },
4350
4371
  m(r, n) {
4351
- F(r, t, n);
4372
+ $(r, t, n);
4352
4373
  },
4353
4374
  p: Z,
4354
4375
  d(r) {
@@ -4356,14 +4377,14 @@ function Uo(e) {
4356
4377
  }
4357
4378
  };
4358
4379
  }
4359
- function Do(e) {
4380
+ function jo(e) {
4360
4381
  let t;
4361
4382
  return {
4362
4383
  c() {
4363
4384
  t = b("p"), t.textContent = "500 Server error";
4364
4385
  },
4365
4386
  m(r, n) {
4366
- F(r, t, n);
4387
+ $(r, t, n);
4367
4388
  },
4368
4389
  p: Z,
4369
4390
  d(r) {
@@ -4371,7 +4392,7 @@ function Do(e) {
4371
4392
  }
4372
4393
  };
4373
4394
  }
4374
- function ko(e) {
4395
+ function Go(e) {
4375
4396
  let t, r, n, i, o, s, a, l = (
4376
4397
  /*formattedLabels*/
4377
4398
  e[11][0] + ""
@@ -4384,10 +4405,10 @@ function ko(e) {
4384
4405
  /*formattedJackpotValues*/
4385
4406
  e[10][0]
4386
4407
  )) + ""
4387
- ), x, y, v, m, T, B, M, k, $, J = (
4408
+ ), x, y, v, m, T, A, M, k, F, J = (
4388
4409
  /*formattedLabels*/
4389
4410
  e[11][1] + ""
4390
- ), Ue, ye, Y, me, he = (
4411
+ ), Re, ye, Y, me, he = (
4391
4412
  /*realtimeupdate*/
4392
4413
  (e[2] === "true" ? (
4393
4414
  /*reversedJackpotValues*/
@@ -4396,10 +4417,10 @@ function ko(e) {
4396
4417
  /*formattedJackpotValues*/
4397
4418
  e[10][1]
4398
4419
  )) + ""
4399
- ), fe, ve, _e, ee, re, ne, N, ie, De, pe, q = (
4420
+ ), fe, ve, _e, ee, ne, ie, N, oe, Ue, pe, q = (
4400
4421
  /*formattedLabels*/
4401
4422
  e[11][2] + ""
4402
- ), oe, Ze, K, Ee, xe = (
4423
+ ), se, Ze, K, Ee, xe = (
4403
4424
  /*realtimeupdate*/
4404
4425
  (e[2] === "true" ? (
4405
4426
  /*updatedJackpotValues*/
@@ -4408,10 +4429,10 @@ function ko(e) {
4408
4429
  /*formattedJackpotValues*/
4409
4430
  e[10][2]
4410
4431
  )) + ""
4411
- ), ke, Qe, Ye, se, ae, te, Se, Ge, Te, be = (
4432
+ ), De, Qe, Ye, ae, ue, te, Se, ke, Te, be = (
4412
4433
  /*formattedLabels*/
4413
4434
  e[11][3] + ""
4414
- ), je, qe, ue, f, A = (
4435
+ ), je, qe, le, f, H = (
4415
4436
  /*realtimeupdate*/
4416
4437
  (e[2] === "true" ? (
4417
4438
  /*updatedJackpotValues*/
@@ -4420,28 +4441,28 @@ function ko(e) {
4420
4441
  /*formattedJackpotValues*/
4421
4442
  e[10][3]
4422
4443
  )) + ""
4423
- ), U, $t, V = !/*currencylocale*/
4424
- e[3] && br(e), W = !/*currencylocale*/
4425
- e[3] && gr(e), X = !/*currencylocale*/
4426
- e[3] && yr(e), z = !/*currencylocale*/
4427
- e[3] && vr(e);
4444
+ ), U, Wt, V = !/*currencylocale*/
4445
+ e[3] && yr(e), W = !/*currencylocale*/
4446
+ e[3] && vr(e), X = !/*currencylocale*/
4447
+ e[3] && _r(e), z = !/*currencylocale*/
4448
+ e[3] && Er(e);
4428
4449
  return {
4429
4450
  c() {
4430
- t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = I(), a = b("span"), u = R(l), c = I(), p = b("span"), h = b("span"), x = R(g), y = I(), V && V.c(), v = I(), m = b("div"), T = b("div"), B = b("ui-image"), k = I(), $ = b("span"), Ue = R(J), ye = I(), Y = b("span"), me = b("span"), fe = R(he), ve = I(), W && W.c(), _e = I(), ee = b("div"), re = b("div"), ne = b("div"), N = b("ui-image"), De = I(), pe = b("span"), oe = R(q), Ze = I(), K = b("span"), Ee = b("span"), ke = R(xe), Qe = I(), X && X.c(), Ye = I(), se = b("div"), ae = b("div"), te = b("ui-image"), Ge = I(), Te = b("span"), je = R(be), qe = I(), ue = b("span"), f = b("span"), U = R(A), $t = I(), z && z.c(), L(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
4431
- e[12][0]) || L(i, "src", o), L(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), L(B, "class", "displayCardIcon"), Q(B.src, M = /*caticons*/
4432
- e[12][1]) || L(B, "src", M), L(B, "alt", ""), _($, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(me, "class", "jackpotValue"), _(Y, "class", "cardTextWrapper"), _(m, "class", "displayCard"), _(t, "class", "pairWrapper"), L(N, "class", "displayCardIcon"), Q(N.src, ie = /*caticons*/
4433
- e[12][2]) || L(N, "src", ie), L(N, "alt", ""), _(pe, "class", "cardLabel"), _(ne, "class", "iconWrapper"), _(Ee, "class", "jackpotValue"), _(K, "class", "cardTextWrapper"), _(re, "class", "displayCard"), L(te, "class", "displayCardIcon"), Q(te.src, Se = /*caticons*/
4434
- e[12][3]) || L(te, "src", Se), L(te, "alt", ""), _(Te, "class", "cardLabel"), _(ae, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(ue, "class", "cardTextWrapper"), _(se, "class", "displayCard"), _(ee, "class", "pairWrapper");
4451
+ t = b("div"), r = b("div"), n = b("div"), i = b("ui-image"), s = C(), a = b("span"), u = R(l), c = C(), p = b("span"), h = b("span"), x = R(g), y = C(), V && V.c(), v = C(), m = b("div"), T = b("div"), A = b("ui-image"), k = C(), F = b("span"), Re = R(J), ye = C(), Y = b("span"), me = b("span"), fe = R(he), ve = C(), W && W.c(), _e = C(), ee = b("div"), ne = b("div"), ie = b("div"), N = b("ui-image"), Ue = C(), pe = b("span"), se = R(q), Ze = C(), K = b("span"), Ee = b("span"), De = R(xe), Qe = C(), X && X.c(), Ye = C(), ae = b("div"), ue = b("div"), te = b("ui-image"), ke = C(), Te = b("span"), je = R(be), qe = C(), le = b("span"), f = b("span"), U = R(H), Wt = C(), z && z.c(), P(i, "class", "displayCardIcon"), Q(i.src, o = /*caticons*/
4452
+ e[12][0]) || P(i, "src", o), P(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), P(A, "class", "displayCardIcon"), Q(A.src, M = /*caticons*/
4453
+ e[12][1]) || P(A, "src", M), P(A, "alt", ""), _(F, "class", "cardLabel"), _(T, "class", "iconWrapper"), _(me, "class", "jackpotValue"), _(Y, "class", "cardTextWrapper"), _(m, "class", "displayCard"), _(t, "class", "pairWrapper"), P(N, "class", "displayCardIcon"), Q(N.src, oe = /*caticons*/
4454
+ e[12][2]) || P(N, "src", oe), P(N, "alt", ""), _(pe, "class", "cardLabel"), _(ie, "class", "iconWrapper"), _(Ee, "class", "jackpotValue"), _(K, "class", "cardTextWrapper"), _(ne, "class", "displayCard"), P(te, "class", "displayCardIcon"), Q(te.src, Se = /*caticons*/
4455
+ e[12][3]) || P(te, "src", Se), P(te, "alt", ""), _(Te, "class", "cardLabel"), _(ue, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(le, "class", "cardTextWrapper"), _(ae, "class", "displayCard"), _(ee, "class", "pairWrapper");
4435
4456
  },
4436
- m(E, O) {
4437
- F(E, t, O), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, p), d(p, h), d(h, x), d(p, y), V && V.m(p, null), d(t, v), d(t, m), d(m, T), d(T, B), d(T, k), d(T, $), d($, Ue), d(m, ye), d(m, Y), d(Y, me), d(me, fe), d(Y, ve), W && W.m(Y, null), F(E, _e, O), F(E, ee, O), d(ee, re), d(re, ne), d(ne, N), d(ne, De), d(ne, pe), d(pe, oe), d(re, Ze), d(re, K), d(K, Ee), d(Ee, ke), d(K, Qe), X && X.m(K, null), d(ee, Ye), d(ee, se), d(se, ae), d(ae, te), d(ae, Ge), d(ae, Te), d(Te, je), d(se, qe), d(se, ue), d(ue, f), d(f, U), d(ue, $t), z && z.m(ue, null);
4457
+ m(E, I) {
4458
+ $(E, t, I), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, p), d(p, h), d(h, x), d(p, y), V && V.m(p, null), d(t, v), d(t, m), d(m, T), d(T, A), d(T, k), d(T, F), d(F, Re), d(m, ye), d(m, Y), d(Y, me), d(me, fe), d(Y, ve), W && W.m(Y, null), $(E, _e, I), $(E, ee, I), d(ee, ne), d(ne, ie), d(ie, N), d(ie, Ue), d(ie, pe), d(pe, se), d(ne, Ze), d(ne, K), d(K, Ee), d(Ee, De), d(K, Qe), X && X.m(K, null), d(ee, Ye), d(ee, ae), d(ae, ue), d(ue, te), d(ue, ke), d(ue, Te), d(Te, je), d(ae, qe), d(ae, le), d(le, f), d(f, U), d(le, Wt), z && z.m(le, null);
4438
4459
  },
4439
- p(E, O) {
4440
- O[0] & /*caticons*/
4460
+ p(E, I) {
4461
+ I[0] & /*caticons*/
4441
4462
  4096 && !Q(i.src, o = /*caticons*/
4442
- E[12][0]) && L(i, "src", o), O[0] & /*formattedLabels*/
4463
+ E[12][0]) && P(i, "src", o), I[0] & /*formattedLabels*/
4443
4464
  2048 && l !== (l = /*formattedLabels*/
4444
- E[11][0] + "") && j(u, l), O[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4465
+ E[11][0] + "") && G(u, l), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4445
4466
  66564 && g !== (g = /*realtimeupdate*/
4446
4467
  (E[2] === "true" ? (
4447
4468
  /*reversedJackpotValues*/
@@ -4449,12 +4470,12 @@ function ko(e) {
4449
4470
  ) : (
4450
4471
  /*formattedJackpotValues*/
4451
4472
  E[10][0]
4452
- )) + "") && j(x, g), /*currencylocale*/
4453
- E[3] ? V && (V.d(1), V = null) : V ? V.p(E, O) : (V = br(E), V.c(), V.m(p, null)), O[0] & /*caticons*/
4454
- 4096 && !Q(B.src, M = /*caticons*/
4455
- E[12][1]) && L(B, "src", M), O[0] & /*formattedLabels*/
4473
+ )) + "") && G(x, g), /*currencylocale*/
4474
+ E[3] ? V && (V.d(1), V = null) : V ? V.p(E, I) : (V = yr(E), V.c(), V.m(p, null)), I[0] & /*caticons*/
4475
+ 4096 && !Q(A.src, M = /*caticons*/
4476
+ E[12][1]) && P(A, "src", M), I[0] & /*formattedLabels*/
4456
4477
  2048 && J !== (J = /*formattedLabels*/
4457
- E[11][1] + "") && j(Ue, J), O[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4478
+ E[11][1] + "") && G(Re, J), I[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4458
4479
  66564 && he !== (he = /*realtimeupdate*/
4459
4480
  (E[2] === "true" ? (
4460
4481
  /*reversedJackpotValues*/
@@ -4462,12 +4483,12 @@ function ko(e) {
4462
4483
  ) : (
4463
4484
  /*formattedJackpotValues*/
4464
4485
  E[10][1]
4465
- )) + "") && j(fe, he), /*currencylocale*/
4466
- E[3] ? W && (W.d(1), W = null) : W ? W.p(E, O) : (W = gr(E), W.c(), W.m(Y, null)), O[0] & /*caticons*/
4467
- 4096 && !Q(N.src, ie = /*caticons*/
4468
- E[12][2]) && L(N, "src", ie), O[0] & /*formattedLabels*/
4486
+ )) + "") && G(fe, he), /*currencylocale*/
4487
+ E[3] ? W && (W.d(1), W = null) : W ? W.p(E, I) : (W = vr(E), W.c(), W.m(Y, null)), I[0] & /*caticons*/
4488
+ 4096 && !Q(N.src, oe = /*caticons*/
4489
+ E[12][2]) && P(N, "src", oe), I[0] & /*formattedLabels*/
4469
4490
  2048 && q !== (q = /*formattedLabels*/
4470
- E[11][2] + "") && j(oe, q), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
4491
+ E[11][2] + "") && G(se, q), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
4471
4492
  1092 && xe !== (xe = /*realtimeupdate*/
4472
4493
  (E[2] === "true" ? (
4473
4494
  /*updatedJackpotValues*/
@@ -4475,50 +4496,50 @@ function ko(e) {
4475
4496
  ) : (
4476
4497
  /*formattedJackpotValues*/
4477
4498
  E[10][2]
4478
- )) + "") && j(ke, xe), /*currencylocale*/
4479
- E[3] ? X && (X.d(1), X = null) : X ? X.p(E, O) : (X = yr(E), X.c(), X.m(K, null)), O[0] & /*caticons*/
4499
+ )) + "") && G(De, xe), /*currencylocale*/
4500
+ E[3] ? X && (X.d(1), X = null) : X ? X.p(E, I) : (X = _r(E), X.c(), X.m(K, null)), I[0] & /*caticons*/
4480
4501
  4096 && !Q(te.src, Se = /*caticons*/
4481
- E[12][3]) && L(te, "src", Se), O[0] & /*formattedLabels*/
4502
+ E[12][3]) && P(te, "src", Se), I[0] & /*formattedLabels*/
4482
4503
  2048 && be !== (be = /*formattedLabels*/
4483
- E[11][3] + "") && j(je, be), O[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
4484
- 1092 && A !== (A = /*realtimeupdate*/
4504
+ E[11][3] + "") && G(je, be), I[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
4505
+ 1092 && H !== (H = /*realtimeupdate*/
4485
4506
  (E[2] === "true" ? (
4486
4507
  /*updatedJackpotValues*/
4487
4508
  E[6][3]
4488
4509
  ) : (
4489
4510
  /*formattedJackpotValues*/
4490
4511
  E[10][3]
4491
- )) + "") && j(U, A), /*currencylocale*/
4492
- E[3] ? z && (z.d(1), z = null) : z ? z.p(E, O) : (z = vr(E), z.c(), z.m(ue, null));
4512
+ )) + "") && G(U, H), /*currencylocale*/
4513
+ E[3] ? z && (z.d(1), z = null) : z ? z.p(E, I) : (z = Er(E), z.c(), z.m(le, null));
4493
4514
  },
4494
4515
  d(E) {
4495
4516
  E && (D(t), D(_e), D(ee)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
4496
4517
  }
4497
4518
  };
4498
4519
  }
4499
- function Go(e) {
4500
- let t, r = Xt(Array(4)), n = [];
4520
+ function $o(e) {
4521
+ let t, r = Jt(Array(4)), n = [];
4501
4522
  for (let i = 0; i < r.length; i += 1)
4502
- n[i] = Er(mr(e, r, i));
4523
+ n[i] = Sr(gr(e, r, i));
4503
4524
  return {
4504
4525
  c() {
4505
4526
  for (let i = 0; i < n.length; i += 1)
4506
4527
  n[i].c();
4507
- t = cn();
4528
+ t = hn();
4508
4529
  },
4509
4530
  m(i, o) {
4510
4531
  for (let s = 0; s < n.length; s += 1)
4511
4532
  n[s] && n[s].m(i, o);
4512
- F(i, t, o);
4533
+ $(i, t, o);
4513
4534
  },
4514
4535
  p(i, o) {
4515
4536
  if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
4516
4537
  72718) {
4517
- r = Xt(Array(4));
4538
+ r = Jt(Array(4));
4518
4539
  let s;
4519
4540
  for (s = 0; s < r.length; s += 1) {
4520
- const a = mr(i, r, s);
4521
- n[s] ? n[s].p(a, o) : (n[s] = Er(a), n[s].c(), n[s].m(t.parentNode, t));
4541
+ const a = gr(i, r, s);
4542
+ n[s] ? n[s].p(a, o) : (n[s] = Sr(a), n[s].c(), n[s].m(t.parentNode, t));
4522
4543
  }
4523
4544
  for (; s < n.length; s += 1)
4524
4545
  n[s].d(1);
@@ -4526,11 +4547,11 @@ function Go(e) {
4526
4547
  }
4527
4548
  },
4528
4549
  d(i) {
4529
- i && D(t), ln(n, i);
4550
+ i && D(t), cn(n, i);
4530
4551
  }
4531
4552
  };
4532
4553
  }
4533
- function br(e) {
4554
+ function yr(e) {
4534
4555
  let t, r;
4535
4556
  return {
4536
4557
  c() {
@@ -4540,11 +4561,11 @@ function br(e) {
4540
4561
  ), _(t, "class", "jackpot-currency");
4541
4562
  },
4542
4563
  m(n, i) {
4543
- F(n, t, i), d(t, r);
4564
+ $(n, t, i), d(t, r);
4544
4565
  },
4545
4566
  p(n, i) {
4546
4567
  i[0] & /*currency*/
4547
- 2 && j(
4568
+ 2 && G(
4548
4569
  r,
4549
4570
  /*currency*/
4550
4571
  n[1]
@@ -4555,7 +4576,7 @@ function br(e) {
4555
4576
  }
4556
4577
  };
4557
4578
  }
4558
- function gr(e) {
4579
+ function vr(e) {
4559
4580
  let t, r;
4560
4581
  return {
4561
4582
  c() {
@@ -4565,11 +4586,11 @@ function gr(e) {
4565
4586
  ), _(t, "class", "jackpot-currency");
4566
4587
  },
4567
4588
  m(n, i) {
4568
- F(n, t, i), d(t, r);
4589
+ $(n, t, i), d(t, r);
4569
4590
  },
4570
4591
  p(n, i) {
4571
4592
  i[0] & /*currency*/
4572
- 2 && j(
4593
+ 2 && G(
4573
4594
  r,
4574
4595
  /*currency*/
4575
4596
  n[1]
@@ -4580,7 +4601,7 @@ function gr(e) {
4580
4601
  }
4581
4602
  };
4582
4603
  }
4583
- function yr(e) {
4604
+ function _r(e) {
4584
4605
  let t, r;
4585
4606
  return {
4586
4607
  c() {
@@ -4590,11 +4611,11 @@ function yr(e) {
4590
4611
  ), _(t, "class", "jackpot-currency");
4591
4612
  },
4592
4613
  m(n, i) {
4593
- F(n, t, i), d(t, r);
4614
+ $(n, t, i), d(t, r);
4594
4615
  },
4595
4616
  p(n, i) {
4596
4617
  i[0] & /*currency*/
4597
- 2 && j(
4618
+ 2 && G(
4598
4619
  r,
4599
4620
  /*currency*/
4600
4621
  n[1]
@@ -4605,7 +4626,7 @@ function yr(e) {
4605
4626
  }
4606
4627
  };
4607
4628
  }
4608
- function vr(e) {
4629
+ function Er(e) {
4609
4630
  let t, r;
4610
4631
  return {
4611
4632
  c() {
@@ -4615,11 +4636,11 @@ function vr(e) {
4615
4636
  ), _(t, "class", "jackpot-currency");
4616
4637
  },
4617
4638
  m(n, i) {
4618
- F(n, t, i), d(t, r);
4639
+ $(n, t, i), d(t, r);
4619
4640
  },
4620
4641
  p(n, i) {
4621
4642
  i[0] & /*currency*/
4622
- 2 && j(
4643
+ 2 && G(
4623
4644
  r,
4624
4645
  /*currency*/
4625
4646
  n[1]
@@ -4630,7 +4651,7 @@ function vr(e) {
4630
4651
  }
4631
4652
  };
4632
4653
  }
4633
- function _r(e) {
4654
+ function xr(e) {
4634
4655
  let t, r;
4635
4656
  return {
4636
4657
  c() {
@@ -4640,11 +4661,11 @@ function _r(e) {
4640
4661
  ), _(t, "class", "jackpot-currency");
4641
4662
  },
4642
4663
  m(n, i) {
4643
- F(n, t, i), d(t, r);
4664
+ $(n, t, i), d(t, r);
4644
4665
  },
4645
4666
  p(n, i) {
4646
4667
  i[0] & /*currency*/
4647
- 2 && j(
4668
+ 2 && G(
4648
4669
  r,
4649
4670
  /*currency*/
4650
4671
  n[1]
@@ -4655,7 +4676,7 @@ function _r(e) {
4655
4676
  }
4656
4677
  };
4657
4678
  }
4658
- function Er(e) {
4679
+ function Sr(e) {
4659
4680
  let t, r, n, i, o, s, a = (
4660
4681
  /*formattedLabels*/
4661
4682
  e[11][
@@ -4678,17 +4699,17 @@ function Er(e) {
4678
4699
  ] ?? ""
4679
4700
  )) + ""
4680
4701
  ), g, x, y, v = !/*currencylocale*/
4681
- e[3] && _r(e);
4702
+ e[3] && xr(e);
4682
4703
  return {
4683
4704
  c() {
4684
- t = b("div"), r = b("div"), n = b("ui-image"), o = I(), s = b("span"), l = R(a), u = I(), c = b("span"), p = b("span"), g = R(h), x = I(), v && v.c(), y = I(), L(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
4705
+ t = b("div"), r = b("div"), n = b("ui-image"), o = C(), s = b("span"), l = R(a), u = C(), c = b("span"), p = b("span"), g = R(h), x = C(), v && v.c(), y = C(), P(n, "class", "displayCardIcon"), Q(n.src, i = /*caticons*/
4685
4706
  e[12][
4686
4707
  /*i*/
4687
4708
  e[58]
4688
- ]) || L(n, "src", i), L(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
4709
+ ]) || P(n, "src", i), P(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
4689
4710
  },
4690
4711
  m(m, T) {
4691
- F(m, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, p), d(p, g), d(c, x), v && v.m(c, null), d(t, y);
4712
+ $(m, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, p), d(p, g), d(c, x), v && v.m(c, null), d(t, y);
4692
4713
  },
4693
4714
  p(m, T) {
4694
4715
  T[0] & /*caticons*/
@@ -4696,12 +4717,12 @@ function Er(e) {
4696
4717
  m[12][
4697
4718
  /*i*/
4698
4719
  m[58]
4699
- ]) && L(n, "src", i), T[0] & /*formattedLabels*/
4720
+ ]) && P(n, "src", i), T[0] & /*formattedLabels*/
4700
4721
  2048 && a !== (a = /*formattedLabels*/
4701
4722
  m[11][
4702
4723
  /*i*/
4703
4724
  m[58]
4704
- ] + "") && j(l, a), T[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4725
+ ] + "") && G(l, a), T[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
4705
4726
  66564 && h !== (h = /*realtimeupdate*/
4706
4727
  (m[2] === "true" ? (
4707
4728
  /*reversedJackpotValues*/
@@ -4715,22 +4736,22 @@ function Er(e) {
4715
4736
  /*i*/
4716
4737
  m[58]
4717
4738
  ] ?? ""
4718
- )) + "") && j(g, h), /*currencylocale*/
4719
- m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v = _r(m), v.c(), v.m(c, null));
4739
+ )) + "") && G(g, h), /*currencylocale*/
4740
+ m[3] ? v && (v.d(1), v = null) : v ? v.p(m, T) : (v = xr(m), v.c(), v.m(c, null));
4720
4741
  },
4721
4742
  d(m) {
4722
4743
  m && D(t), v && v.d();
4723
4744
  }
4724
4745
  };
4725
4746
  }
4726
- function jo(e) {
4747
+ function Fo(e) {
4727
4748
  let t;
4728
4749
  function r(o, s) {
4729
4750
  return (
4730
4751
  /*hasErrors*/
4731
- o[15] ? Do : (
4752
+ o[15] ? jo : (
4732
4753
  /*isLoading*/
4733
- o[5] ? Uo : Ro
4754
+ o[5] ? ko : Do
4734
4755
  )
4735
4756
  );
4736
4757
  }
@@ -4740,7 +4761,7 @@ function jo(e) {
4740
4761
  t = b("div"), i.c();
4741
4762
  },
4742
4763
  m(o, s) {
4743
- F(o, t, s), i.m(t, null), e[36](t);
4764
+ $(o, t, s), i.m(t, null), e[36](t);
4744
4765
  },
4745
4766
  p(o, s) {
4746
4767
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4752,32 +4773,32 @@ function jo(e) {
4752
4773
  }
4753
4774
  };
4754
4775
  }
4755
- function Fo(e, t, r) {
4756
- let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint: B = "" } = t, { gameid: M = "" } = t, { mbsource: k } = t, { realtimeupdate: $ = "false" } = t, { currencylocale: J = "" } = t, Ue = window.navigator.userAgent, ye = !1, Y = !1, me = "", he = [], fe = [], ve = [], _e = [], ee = [], re = "", ne = "", N, ie = !0, De = !1, pe, q = null, oe = [];
4776
+ function Vo(e, t, r) {
4777
+ let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: h = "" } = t, { backgroundsrcmobile: g = "" } = t, { titlelogopath: x = "" } = t, { lang: y = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: T = "" } = t, { endpoint: A = "" } = t, { gameid: M = "" } = t, { mbsource: k } = t, { realtimeupdate: F = "false" } = t, { currencylocale: J = "" } = t, Re = window.navigator.userAgent, ye = !1, Y = !1, me = "", he = [], fe = [], ve = [], _e = [], ee = [], ne = "", ie = "", N, oe = !0, Ue = !1, pe, q = null, se = [];
4757
4778
  const Ze = () => {
4758
- fetch(T).then((A) => A.json()).then((A) => {
4759
- Object.keys(A).forEach((U) => {
4760
- pr(U, A[U]);
4779
+ fetch(T).then((H) => H.json()).then((H) => {
4780
+ Object.keys(H).forEach((U) => {
4781
+ mr(U, H[U]);
4761
4782
  });
4762
- }).catch((A) => {
4763
- console.log(A);
4783
+ }).catch((H) => {
4784
+ console.log(H);
4764
4785
  });
4765
4786
  };
4766
- Object.keys(dr).forEach((f) => {
4767
- pr(f, dr[f]);
4787
+ Object.keys(br).forEach((f) => {
4788
+ mr(f, br[f]);
4768
4789
  });
4769
4790
  const K = ["typeSpread", "typeLeft"], Ee = (f) => {
4770
- const A = f?.items[0]?.additionalData;
4771
- A && Object.values(A).forEach((U) => he.push(+U));
4791
+ const H = f?.items[0]?.additionalData;
4792
+ H && Object.values(H).forEach((U) => he.push(+U));
4772
4793
  }, xe = (f) => {
4773
4794
  r(9, me = f?.items[0]?.vendorLogo || "");
4774
- }, ke = () => {
4775
- if (B && y && h) {
4776
- let f = new URL(`${B}/v1/casino/jackpots`);
4777
- f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((A) => A.json().then((U) => {
4778
- r(5, ie = !1), pe = U, fe.includes(M) && (Ee(pe), xe(pe));
4795
+ }, De = () => {
4796
+ if (A && y && h) {
4797
+ let f = new URL(`${A}/v1/casino/jackpots`);
4798
+ f.searchParams.append("filter", `id=${M}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", h), fetch(f.href).then((H) => H.json().then((U) => {
4799
+ r(5, oe = !1), pe = U, fe.includes(M) && (Ee(pe), xe(pe));
4779
4800
  }).catch((U) => {
4780
- r(15, De = !0), r(5, ie = !1), console.error(U);
4801
+ r(15, Ue = !0), r(5, oe = !1), console.error(U);
4781
4802
  }).finally(() => {
4782
4803
  Qe();
4783
4804
  }));
@@ -4786,85 +4807,85 @@ function Fo(e, t, r) {
4786
4807
  const f = N.getRootNode().host;
4787
4808
  f.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: f } }));
4788
4809
  }, Ye = () => {
4789
- let f = new URL(`${B}/v1/casino/jackpots/config`);
4790
- fetch(f.href).then((A) => A.json()).then((A) => {
4791
- r(34, fe = A.egtJackpotIds.map((U) => U));
4810
+ let f = new URL(`${A}/v1/casino/jackpots/config`);
4811
+ fetch(f.href).then((H) => H.json()).then((H) => {
4812
+ r(34, fe = H.egtJackpotIds.map((U) => U));
4792
4813
  });
4793
- }, se = () => {
4794
- r(7, ye = Lo(Ue) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), he.length !== 0 && (r(10, ve = te(he)), ve.reverse()), r(11, _e = c ? c.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), K.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${K[0]}"`), r(0, i = K[0])), r(13, re = g && ye && !Y ? g : p), r(14, ne = x), r(12, ee = [s, a, l, u]);
4795
- }, ae = (f) => Intl.NumberFormat(J, {
4814
+ }, ae = () => {
4815
+ r(7, ye = Co(Re) && window.innerHeight / window.innerWidth > 1), r(8, Y = Se()), he.length !== 0 && (r(10, ve = te(he)), ve.reverse()), r(11, _e = c ? c.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), K.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${K[0]}"`), r(0, i = K[0])), r(13, ne = g && ye && !Y ? g : p), r(14, ie = x), r(12, ee = [s, a, l, u]);
4816
+ }, ue = (f) => Intl.NumberFormat(J, {
4796
4817
  minimumFractionDigits: 2,
4797
4818
  maximumFractionDigits: 2,
4798
4819
  style: "currency",
4799
4820
  currency: h
4800
- }).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((A) => ae(A)) : f.map((A) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(A)), Se = () => {
4821
+ }).format(f).replace(/\s/g, ""), te = (f) => J ? f.map((H) => ue(H)) : f.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), Se = () => {
4801
4822
  const f = window.innerHeight / window.innerWidth;
4802
4823
  return 0.75 < f && f < 1.6;
4803
- }, Ge = () => {
4824
+ }, ke = () => {
4804
4825
  window.postMessage({ type: "JackpotBannerClicked", gameid: M }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
4805
4826
  context: "JackpotBanner",
4806
4827
  gameId: `${M}`
4807
4828
  });
4808
4829
  }, Te = () => {
4809
- No(y);
4830
+ Ro(y);
4810
4831
  }, be = (f) => {
4811
- const A = JSON.parse(f.data);
4812
- if (A.success && A.data.messageType === "UpdateEgtJackpotBalance" && A.data.jackpotAlias.split("_")[0] === M) {
4813
- const U = Number(A.data.jackpotAlias.split("_")[1]) - 1;
4832
+ const H = JSON.parse(f.data);
4833
+ if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === M) {
4834
+ const U = Number(H.data.jackpotAlias.split("_")[1]) - 1;
4814
4835
  r(
4815
4836
  6,
4816
- oe[U] = J ? ae(A.data.data[`${h}`].balance) : A.data.data[`${h}`].balance.toString(),
4817
- oe
4837
+ se[U] = J ? ue(H.data.data[`${h}`].balance) : H.data.data[`${h}`].balance.toString(),
4838
+ se
4818
4839
  );
4819
4840
  }
4820
4841
  }, je = () => {
4821
- $ === "true" && (se(), r(6, oe = ["", "", "", ""]), q = new EventSource(`${B}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
4842
+ F === "true" && (ae(), r(6, se = ["", "", "", ""]), q = new EventSource(`${A}/v1/encoder/jackpot/*/update`), q.addEventListener("message", be));
4822
4843
  };
4823
- dn(() => () => {
4824
- }), mn(() => {
4844
+ mn(() => () => {
4845
+ }), bn(() => {
4825
4846
  q && (q.removeEventListener("message", be), q.close(), q = null);
4826
4847
  });
4827
- const qe = () => Ge();
4828
- function ue(f) {
4829
- xt[f ? "unshift" : "push"](() => {
4848
+ const qe = () => ke();
4849
+ function le(f) {
4850
+ Tt[f ? "unshift" : "push"](() => {
4830
4851
  N = f, r(4, N);
4831
4852
  });
4832
4853
  }
4833
4854
  return e.$$set = (f) => {
4834
- "visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, o = f.title), "caticon0" in f && r(19, s = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, v = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31, B = f.endpoint), "gameid" in f && r(32, M = f.gameid), "mbsource" in f && r(33, k = f.mbsource), "realtimeupdate" in f && r(2, $ = f.realtimeupdate), "currencylocale" in f && r(3, J = f.currencylocale);
4855
+ "visualstructure" in f && r(0, i = f.visualstructure), "title" in f && r(18, o = f.title), "caticon0" in f && r(19, s = f.caticon0), "caticon1" in f && r(20, a = f.caticon1), "caticon2" in f && r(21, l = f.caticon2), "caticon3" in f && r(22, u = f.caticon3), "iconlabels" in f && r(23, c = f.iconlabels), "backgroundsrc" in f && r(24, p = f.backgroundsrc), "currency" in f && r(1, h = f.currency), "backgroundsrcmobile" in f && r(25, g = f.backgroundsrcmobile), "titlelogopath" in f && r(26, x = f.titlelogopath), "lang" in f && r(27, y = f.lang), "clientstyling" in f && r(28, v = f.clientstyling), "clientstylingurl" in f && r(29, m = f.clientstylingurl), "translationurl" in f && r(30, T = f.translationurl), "endpoint" in f && r(31, A = f.endpoint), "gameid" in f && r(32, M = f.gameid), "mbsource" in f && r(33, k = f.mbsource), "realtimeupdate" in f && r(2, F = f.realtimeupdate), "currencylocale" in f && r(3, J = f.currencylocale);
4835
4856
  }, e.$$.update = () => {
4836
4857
  e.$$.dirty[1] & /*endpoint*/
4837
- 1 && B && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4838
- 268435472 && v && N && Co(N, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4839
- 536870928 && m && N && Io(N, m), e.$$.dirty[0] & /*customStylingContainer*/
4858
+ 1 && A && Ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4859
+ 268435472 && v && N && Io(N, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4860
+ 536870928 && m && N && No(N, m), e.$$.dirty[0] & /*customStylingContainer*/
4840
4861
  16 | e.$$.dirty[1] & /*mbsource*/
4841
- 4 && k && N && Oo(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
4862
+ 4 && k && N && Mo(N, `${k}.Style`), e.$$.dirty[0] & /*lang, currency*/
4842
4863
  134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
4843
- 9 && B && y && h && fe.length > 0 && ke(), e.$$.dirty[0] & /*currency, lang, isLoading*/
4844
- 134217762 && h && y && !ie && se(), e.$$.dirty[0] & /*lang*/
4864
+ 9 && A && y && h && fe.length > 0 && De(), e.$$.dirty[0] & /*currency, lang, isLoading*/
4865
+ 134217762 && h && y && !oe && ae(), e.$$.dirty[0] & /*lang*/
4845
4866
  134217728 && y && Te(), e.$$.dirty[0] & /*translationurl*/
4846
4867
  1073741824 && T && Ze(), e.$$.dirty[0] & /*realtimeupdate*/
4847
- 4 && $ && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
4848
- 64 && r(16, n = [...oe].reverse());
4868
+ 4 && F && je(), e.$$.dirty[0] & /*updatedJackpotValues*/
4869
+ 64 && r(16, n = [...se].reverse());
4849
4870
  }, [
4850
4871
  i,
4851
4872
  h,
4852
- $,
4873
+ F,
4853
4874
  J,
4854
4875
  N,
4855
- ie,
4856
4876
  oe,
4877
+ se,
4857
4878
  ye,
4858
4879
  Y,
4859
4880
  me,
4860
4881
  ve,
4861
4882
  _e,
4862
4883
  ee,
4863
- re,
4864
4884
  ne,
4865
- De,
4885
+ ie,
4886
+ Ue,
4866
4887
  n,
4867
- Ge,
4888
+ ke,
4868
4889
  o,
4869
4890
  s,
4870
4891
  a,
@@ -4878,22 +4899,22 @@ function Fo(e, t, r) {
4878
4899
  v,
4879
4900
  m,
4880
4901
  T,
4881
- B,
4902
+ A,
4882
4903
  M,
4883
4904
  k,
4884
4905
  fe,
4885
4906
  qe,
4886
- ue
4907
+ le
4887
4908
  ];
4888
4909
  }
4889
- class $o extends An {
4910
+ class Wo extends Bn {
4890
4911
  constructor(t) {
4891
- super(), wn(
4912
+ super(), Hn(
4892
4913
  this,
4893
4914
  t,
4915
+ Vo,
4894
4916
  Fo,
4895
- jo,
4896
- Sr,
4917
+ wr,
4897
4918
  {
4898
4919
  visualstructure: 0,
4899
4920
  title: 18,
@@ -4916,7 +4937,7 @@ class $o extends An {
4916
4937
  realtimeupdate: 2,
4917
4938
  currencylocale: 3
4918
4939
  },
4919
- Mo,
4940
+ Uo,
4920
4941
  [-1, -1]
4921
4942
  );
4922
4943
  }
@@ -4924,124 +4945,124 @@ class $o extends An {
4924
4945
  return this.$$.ctx[0];
4925
4946
  }
4926
4947
  set visualstructure(t) {
4927
- this.$$set({ visualstructure: t }), C();
4948
+ this.$$set({ visualstructure: t }), O();
4928
4949
  }
4929
4950
  get title() {
4930
4951
  return this.$$.ctx[18];
4931
4952
  }
4932
4953
  set title(t) {
4933
- this.$$set({ title: t }), C();
4954
+ this.$$set({ title: t }), O();
4934
4955
  }
4935
4956
  get caticon0() {
4936
4957
  return this.$$.ctx[19];
4937
4958
  }
4938
4959
  set caticon0(t) {
4939
- this.$$set({ caticon0: t }), C();
4960
+ this.$$set({ caticon0: t }), O();
4940
4961
  }
4941
4962
  get caticon1() {
4942
4963
  return this.$$.ctx[20];
4943
4964
  }
4944
4965
  set caticon1(t) {
4945
- this.$$set({ caticon1: t }), C();
4966
+ this.$$set({ caticon1: t }), O();
4946
4967
  }
4947
4968
  get caticon2() {
4948
4969
  return this.$$.ctx[21];
4949
4970
  }
4950
4971
  set caticon2(t) {
4951
- this.$$set({ caticon2: t }), C();
4972
+ this.$$set({ caticon2: t }), O();
4952
4973
  }
4953
4974
  get caticon3() {
4954
4975
  return this.$$.ctx[22];
4955
4976
  }
4956
4977
  set caticon3(t) {
4957
- this.$$set({ caticon3: t }), C();
4978
+ this.$$set({ caticon3: t }), O();
4958
4979
  }
4959
4980
  get iconlabels() {
4960
4981
  return this.$$.ctx[23];
4961
4982
  }
4962
4983
  set iconlabels(t) {
4963
- this.$$set({ iconlabels: t }), C();
4984
+ this.$$set({ iconlabels: t }), O();
4964
4985
  }
4965
4986
  get backgroundsrc() {
4966
4987
  return this.$$.ctx[24];
4967
4988
  }
4968
4989
  set backgroundsrc(t) {
4969
- this.$$set({ backgroundsrc: t }), C();
4990
+ this.$$set({ backgroundsrc: t }), O();
4970
4991
  }
4971
4992
  get currency() {
4972
4993
  return this.$$.ctx[1];
4973
4994
  }
4974
4995
  set currency(t) {
4975
- this.$$set({ currency: t }), C();
4996
+ this.$$set({ currency: t }), O();
4976
4997
  }
4977
4998
  get backgroundsrcmobile() {
4978
4999
  return this.$$.ctx[25];
4979
5000
  }
4980
5001
  set backgroundsrcmobile(t) {
4981
- this.$$set({ backgroundsrcmobile: t }), C();
5002
+ this.$$set({ backgroundsrcmobile: t }), O();
4982
5003
  }
4983
5004
  get titlelogopath() {
4984
5005
  return this.$$.ctx[26];
4985
5006
  }
4986
5007
  set titlelogopath(t) {
4987
- this.$$set({ titlelogopath: t }), C();
5008
+ this.$$set({ titlelogopath: t }), O();
4988
5009
  }
4989
5010
  get lang() {
4990
5011
  return this.$$.ctx[27];
4991
5012
  }
4992
5013
  set lang(t) {
4993
- this.$$set({ lang: t }), C();
5014
+ this.$$set({ lang: t }), O();
4994
5015
  }
4995
5016
  get clientstyling() {
4996
5017
  return this.$$.ctx[28];
4997
5018
  }
4998
5019
  set clientstyling(t) {
4999
- this.$$set({ clientstyling: t }), C();
5020
+ this.$$set({ clientstyling: t }), O();
5000
5021
  }
5001
5022
  get clientstylingurl() {
5002
5023
  return this.$$.ctx[29];
5003
5024
  }
5004
5025
  set clientstylingurl(t) {
5005
- this.$$set({ clientstylingurl: t }), C();
5026
+ this.$$set({ clientstylingurl: t }), O();
5006
5027
  }
5007
5028
  get translationurl() {
5008
5029
  return this.$$.ctx[30];
5009
5030
  }
5010
5031
  set translationurl(t) {
5011
- this.$$set({ translationurl: t }), C();
5032
+ this.$$set({ translationurl: t }), O();
5012
5033
  }
5013
5034
  get endpoint() {
5014
5035
  return this.$$.ctx[31];
5015
5036
  }
5016
5037
  set endpoint(t) {
5017
- this.$$set({ endpoint: t }), C();
5038
+ this.$$set({ endpoint: t }), O();
5018
5039
  }
5019
5040
  get gameid() {
5020
5041
  return this.$$.ctx[32];
5021
5042
  }
5022
5043
  set gameid(t) {
5023
- this.$$set({ gameid: t }), C();
5044
+ this.$$set({ gameid: t }), O();
5024
5045
  }
5025
5046
  get mbsource() {
5026
5047
  return this.$$.ctx[33];
5027
5048
  }
5028
5049
  set mbsource(t) {
5029
- this.$$set({ mbsource: t }), C();
5050
+ this.$$set({ mbsource: t }), O();
5030
5051
  }
5031
5052
  get realtimeupdate() {
5032
5053
  return this.$$.ctx[2];
5033
5054
  }
5034
5055
  set realtimeupdate(t) {
5035
- this.$$set({ realtimeupdate: t }), C();
5056
+ this.$$set({ realtimeupdate: t }), O();
5036
5057
  }
5037
5058
  get currencylocale() {
5038
5059
  return this.$$.ctx[3];
5039
5060
  }
5040
5061
  set currencylocale(t) {
5041
- this.$$set({ currencylocale: t }), C();
5062
+ this.$$set({ currencylocale: t }), O();
5042
5063
  }
5043
5064
  }
5044
- Hn($o, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
5065
+ An(Wo, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
5045
5066
  export {
5046
- $o as C
5067
+ Wo as C
5047
5068
  };