@everymatrix/casino-tournaments-thumbnail-games 1.77.26 → 1.77.28

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/{CasinoTournamentsThumbnailGames-DBsz9ve0.js → CasinoTournamentsThumbnailGames-D0pYbVi1.js} +824 -803
  2. package/components/{CasinoTournamentsThumbnailGames-C7DsRwAo.js → CasinoTournamentsThumbnailGames-DVwtSIOX.js} +772 -751
  3. package/components/CasinoTournamentsThumbnailGames-DbrFRheL.cjs +18 -0
  4. package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail-games.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail-games.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/CasinoTournamentsThumbnailGames-JC9us6Fn.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,17 +1,17 @@
1
- var $r = Object.defineProperty, Ur = Object.defineProperties;
2
- var Dr = Object.getOwnPropertyDescriptors;
3
- var vt = Object.getOwnPropertySymbols;
4
- var Fr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
- var Re = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
1
+ var Ur = Object.defineProperty, Dr = Object.defineProperties;
2
+ var Fr = Object.getOwnPropertyDescriptors;
3
+ var _t = Object.getOwnPropertySymbols;
4
+ var jr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Fr.call(t, r) && Re(e, r, t[r]);
8
- if (vt)
9
- for (var r of vt(t))
10
- jr.call(t, r) && Re(e, r, t[r]);
7
+ jr.call(t, r) && $e(e, r, t[r]);
8
+ if (_t)
9
+ for (var r of _t(t))
10
+ kr.call(t, r) && $e(e, r, t[r]);
11
11
  return e;
12
- }, _t = (e, t) => Ur(e, Dr(t));
13
- var R = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Et = (e, t, r) => new Promise((n, i) => {
12
+ }, xt = (e, t) => Dr(e, Fr(t));
13
+ var R = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var wt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,32 +27,32 @@ var Et = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-CX3MBBZL.js";
30
+ import "../stencil/ui-image-C7s6Uvn5.js";
31
31
  function G() {
32
32
  }
33
- function Yt(e) {
33
+ function er(e) {
34
34
  return e();
35
35
  }
36
- function xt() {
36
+ function Tt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function ue(e) {
40
- e.forEach(Yt);
39
+ function ae(e) {
40
+ e.forEach(er);
41
41
  }
42
- function Oe(e) {
42
+ function Ne(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Kt(e, t) {
45
+ function tr(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
48
  let ve;
49
- function wt(e, t) {
49
+ function St(e, t) {
50
50
  return e === t ? !0 : (ve || (ve = document.createElement("a")), ve.href = t, e === ve.href);
51
51
  }
52
- function kr(e) {
52
+ function Vr(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function er(e, ...t) {
55
+ function rr(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const n of t)
58
58
  n(void 0);
@@ -61,20 +61,20 @@ function er(e, ...t) {
61
61
  const r = e.subscribe(...t);
62
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
63
  }
64
- function Vr(e, t, r) {
65
- e.$$.on_destroy.push(er(t, r));
64
+ function Xr(e, t, r) {
65
+ e.$$.on_destroy.push(rr(t, r));
66
66
  }
67
67
  function x(e, t) {
68
68
  e.appendChild(t);
69
69
  }
70
- function Xr(e, t, r) {
71
- const n = Wr(e);
70
+ function Wr(e, t, r) {
71
+ const n = zr(e);
72
72
  if (!n.getElementById(t)) {
73
73
  const i = O("style");
74
- i.id = t, i.textContent = r, zr(n, i);
74
+ i.id = t, i.textContent = r, Zr(n, i);
75
75
  }
76
76
  }
77
- function Wr(e) {
77
+ function zr(e) {
78
78
  if (!e)
79
79
  return document;
80
80
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,20 +84,20 @@ function Wr(e) {
84
84
  t
85
85
  ) : e.ownerDocument;
86
86
  }
87
- function zr(e, t) {
87
+ function Zr(e, t) {
88
88
  return x(
89
89
  /** @type {Document} */
90
90
  e.head || e,
91
91
  t
92
92
  ), t.sheet;
93
93
  }
94
- function F(e, t, r) {
94
+ function j(e, t, r) {
95
95
  e.insertBefore(t, r || null);
96
96
  }
97
97
  function $(e) {
98
98
  e.parentNode && e.parentNode.removeChild(e);
99
99
  }
100
- function tr(e, t) {
100
+ function nr(e, t) {
101
101
  for (let r = 0; r < e.length; r += 1)
102
102
  e[r] && e[r].d(t);
103
103
  }
@@ -107,16 +107,16 @@ function O(e) {
107
107
  function ye(e) {
108
108
  return document.createElementNS("http://www.w3.org/2000/svg", e);
109
109
  }
110
- function D(e) {
110
+ function F(e) {
111
111
  return document.createTextNode(e);
112
112
  }
113
- function k() {
114
- return D(" ");
113
+ function V() {
114
+ return F(" ");
115
115
  }
116
- function Zr() {
117
- return D("");
116
+ function Qr() {
117
+ return F("");
118
118
  }
119
- function Xe(e, t, r, n) {
119
+ function ze(e, t, r, n) {
120
120
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
121
121
  }
122
122
  function v(e, t, r) {
@@ -126,14 +126,14 @@ function C(e, t, r) {
126
126
  const n = t.toLowerCase();
127
127
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : v(e, t, r);
128
128
  }
129
- function Qr(e) {
129
+ function Jr(e) {
130
130
  return Array.from(e.childNodes);
131
131
  }
132
132
  function z(e, t) {
133
133
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
134
134
  t);
135
135
  }
136
- function Jr(e) {
136
+ function qr(e) {
137
137
  const t = {};
138
138
  return e.childNodes.forEach(
139
139
  /** @param {Element} node */
@@ -143,31 +143,31 @@ function Jr(e) {
143
143
  ), t;
144
144
  }
145
145
  let pe;
146
- function me(e) {
146
+ function fe(e) {
147
147
  pe = e;
148
148
  }
149
- function rr() {
149
+ function ir() {
150
150
  if (!pe)
151
151
  throw new Error("Function called outside component initialization");
152
152
  return pe;
153
153
  }
154
- function qr(e) {
155
- rr().$$.on_mount.push(e);
156
- }
157
154
  function Yr(e) {
158
- rr().$$.on_destroy.push(e);
155
+ ir().$$.on_mount.push(e);
156
+ }
157
+ function Kr(e) {
158
+ ir().$$.on_destroy.push(e);
159
159
  }
160
160
  const te = [], He = [];
161
161
  let re = [];
162
- const Tt = [], Kr = /* @__PURE__ */ Promise.resolve();
163
- let We = !1;
164
- function en() {
165
- We || (We = !0, Kr.then(q));
162
+ const Ht = [], en = /* @__PURE__ */ Promise.resolve();
163
+ let Ze = !1;
164
+ function tn() {
165
+ Ze || (Ze = !0, en.then(q));
166
166
  }
167
- function ze(e) {
167
+ function Qe(e) {
168
168
  re.push(e);
169
169
  }
170
- const Ge = /* @__PURE__ */ new Set();
170
+ const Ue = /* @__PURE__ */ new Set();
171
171
  let K = 0;
172
172
  function q() {
173
173
  if (K !== 0)
@@ -177,58 +177,58 @@ function q() {
177
177
  try {
178
178
  for (; K < te.length; ) {
179
179
  const t = te[K];
180
- K++, me(t), tn(t.$$);
180
+ K++, fe(t), rn(t.$$);
181
181
  }
182
182
  } catch (t) {
183
183
  throw te.length = 0, K = 0, t;
184
184
  }
185
- for (me(null), te.length = 0, K = 0; He.length; )
185
+ for (fe(null), te.length = 0, K = 0; He.length; )
186
186
  He.pop()();
187
187
  for (let t = 0; t < re.length; t += 1) {
188
188
  const r = re[t];
189
- Ge.has(r) || (Ge.add(r), r());
189
+ Ue.has(r) || (Ue.add(r), r());
190
190
  }
191
191
  re.length = 0;
192
192
  } while (te.length);
193
- for (; Tt.length; )
194
- Tt.pop()();
195
- We = !1, Ge.clear(), me(e);
193
+ for (; Ht.length; )
194
+ Ht.pop()();
195
+ Ze = !1, Ue.clear(), fe(e);
196
196
  }
197
- function tn(e) {
197
+ function rn(e) {
198
198
  if (e.fragment !== null) {
199
- e.update(), ue(e.before_update);
199
+ e.update(), ae(e.before_update);
200
200
  const t = e.dirty;
201
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
201
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
202
202
  }
203
203
  }
204
- function rn(e) {
204
+ function nn(e) {
205
205
  const t = [], r = [];
206
206
  re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
207
207
  }
208
- const nn = /* @__PURE__ */ new Set();
209
- function on(e, t) {
210
- e && e.i && (nn.delete(e), e.i(t));
208
+ const on = /* @__PURE__ */ new Set();
209
+ function sn(e, t) {
210
+ e && e.i && (on.delete(e), e.i(t));
211
211
  }
212
212
  function Be(e) {
213
213
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
214
214
  }
215
- function sn(e, t, r) {
215
+ function an(e, t, r) {
216
216
  const { fragment: n, after_update: i } = e.$$;
217
- n && n.m(t, r), ze(() => {
218
- const o = e.$$.on_mount.map(Yt).filter(Oe);
219
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
220
- }), i.forEach(ze);
217
+ n && n.m(t, r), Qe(() => {
218
+ const o = e.$$.on_mount.map(er).filter(Ne);
219
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
220
+ }), i.forEach(Qe);
221
221
  }
222
- function an(e, t) {
222
+ function un(e, t) {
223
223
  const r = e.$$;
224
- r.fragment !== null && (rn(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
224
+ r.fragment !== null && (nn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
225
225
  }
226
- function un(e, t) {
227
- e.$$.dirty[0] === -1 && (te.push(e), en(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
226
+ function ln(e, t) {
227
+ e.$$.dirty[0] === -1 && (te.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
228
228
  }
229
- function ln(e, t, r, n, i, o, s = null, a = [-1]) {
229
+ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
230
230
  const l = pe;
231
- me(e);
231
+ fe(e);
232
232
  const u = e.$$ = {
233
233
  fragment: null,
234
234
  ctx: [],
@@ -236,7 +236,7 @@ function ln(e, t, r, n, i, o, s = null, a = [-1]) {
236
236
  props: o,
237
237
  update: G,
238
238
  not_equal: i,
239
- bound: xt(),
239
+ bound: Tt(),
240
240
  // lifecycle
241
241
  on_mount: [],
242
242
  on_destroy: [],
@@ -245,28 +245,28 @@ function ln(e, t, r, n, i, o, s = null, a = [-1]) {
245
245
  after_update: [],
246
246
  context: new Map(t.context || (l ? l.$$.context : [])),
247
247
  // everything else
248
- callbacks: xt(),
248
+ callbacks: Tt(),
249
249
  dirty: a,
250
250
  skip_bound: !1,
251
251
  root: t.target || l.$$.root
252
252
  };
253
253
  s && s(u.root);
254
254
  let h = !1;
255
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
256
- const d = p.length ? p[0] : c;
257
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && un(e, f)), c;
258
- }) : [], u.update(), h = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
255
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
256
+ const d = m.length ? m[0] : c;
257
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && ln(e, f)), c;
258
+ }) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
259
259
  if (t.hydrate) {
260
- const f = Qr(t.target);
260
+ const f = Jr(t.target);
261
261
  u.fragment && u.fragment.l(f), f.forEach($);
262
262
  } else
263
263
  u.fragment && u.fragment.c();
264
- t.intro && on(e.$$.fragment), sn(e, t.target, t.anchor), q();
264
+ t.intro && sn(e.$$.fragment), an(e, t.target, t.anchor), q();
265
265
  }
266
- me(l);
266
+ fe(l);
267
267
  }
268
- let nr;
269
- typeof HTMLElement == "function" && (nr = class extends HTMLElement {
268
+ let or;
269
+ typeof HTMLElement == "function" && (or = class extends HTMLElement {
270
270
  constructor(t, r, n) {
271
271
  super();
272
272
  /** The Svelte component constructor */
@@ -303,7 +303,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
303
303
  }
304
304
  }
305
305
  connectedCallback() {
306
- return Et(this, null, function* () {
306
+ return wt(this, null, function* () {
307
307
  if (this.$$cn = !0, !this.$$c) {
308
308
  let t = function(o) {
309
309
  return () => {
@@ -317,7 +317,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
317
317
  * @param {HTMLElement} [anchor]
318
318
  */
319
319
  m: function(u, h) {
320
- F(u, s, h);
320
+ j(u, s, h);
321
321
  },
322
322
  d: function(u) {
323
323
  u && $(s);
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
327
327
  };
328
328
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
329
329
  return;
330
- const r = {}, n = Jr(this);
330
+ const r = {}, n = qr(this);
331
331
  for (const o of this.$$s)
332
332
  o in n && (r[o] = [t(o)]);
333
333
  for (const o of this.attributes) {
@@ -338,7 +338,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
338
338
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
339
339
  this.$$c = new this.$$ctor({
340
340
  target: this.shadowRoot || this,
341
- props: _t(yt({}, this.$$d), {
341
+ props: xt(Et({}, this.$$d), {
342
342
  $$slots: r,
343
343
  $$scope: {
344
344
  ctx: []
@@ -416,8 +416,8 @@ function xe(e, t, r, n) {
416
416
  return t;
417
417
  }
418
418
  }
419
- function hn(e, t, r, n, i, o) {
420
- let s = class extends nr {
419
+ function cn(e, t, r, n, i, o) {
420
+ let s = class extends or {
421
421
  constructor() {
422
422
  super(e, r, i), this.$$p_d = t;
423
423
  }
@@ -447,7 +447,7 @@ function hn(e, t, r, n, i, o) {
447
447
  }), e.element = /** @type {any} */
448
448
  s, s;
449
449
  }
450
- class cn {
450
+ class fn {
451
451
  constructor() {
452
452
  /**
453
453
  * ### PRIVATE API
@@ -468,7 +468,7 @@ class cn {
468
468
  }
469
469
  /** @returns {void} */
470
470
  $destroy() {
471
- an(this, 1), this.$destroy = G;
471
+ un(this, 1), this.$destroy = G;
472
472
  }
473
473
  /**
474
474
  * @template {Extract<keyof Events, string>} K
@@ -477,7 +477,7 @@ class cn {
477
477
  * @returns {() => void}
478
478
  */
479
479
  $on(t, r) {
480
- if (!Oe(r))
480
+ if (!Ne(r))
481
481
  return G;
482
482
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
483
483
  return n.push(r), () => {
@@ -490,18 +490,18 @@ class cn {
490
490
  * @returns {void}
491
491
  */
492
492
  $set(t) {
493
- this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
+ this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
494
494
  }
495
495
  }
496
- const fn = "4";
497
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
496
+ const pn = "4";
497
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
498
498
  function mn(e, t) {
499
499
  if (e) {
500
500
  const r = document.createElement("style");
501
501
  r.innerHTML = t, e.appendChild(r);
502
502
  }
503
503
  }
504
- function pn(e, t) {
504
+ function dn(e, t) {
505
505
  const r = new URL(t);
506
506
  fetch(r.href).then((n) => n.text()).then((n) => {
507
507
  const i = document.createElement("style");
@@ -510,7 +510,7 @@ function pn(e, t) {
510
510
  console.error("There was an error while trying to load client styling from URL", n);
511
511
  });
512
512
  }
513
- function dn(e, t, r) {
513
+ function bn(e, t, r) {
514
514
  if (window.emMessageBus) {
515
515
  const n = document.createElement("style");
516
516
  window.emMessageBus.subscribe(t, (i) => {
@@ -532,43 +532,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
532
532
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
533
533
  PERFORMANCE OF THIS SOFTWARE.
534
534
  ***************************************************************************** */
535
- var Ze = function(e, t) {
536
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
535
+ var Je = function(e, t) {
536
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
537
537
  r.__proto__ = n;
538
538
  } || function(r, n) {
539
539
  for (var i in n)
540
540
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
541
- }, Ze(e, t);
541
+ }, Je(e, t);
542
542
  };
543
- function X(e, t) {
543
+ function be(e, t) {
544
544
  if (typeof t != "function" && t !== null)
545
545
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
546
- Ze(e, t);
546
+ Je(e, t);
547
547
  function r() {
548
548
  this.constructor = e;
549
549
  }
550
550
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
551
551
  }
552
- var w = function() {
553
- return w = Object.assign || function(t) {
554
- for (var r, n = 1, i = arguments.length; n < i; n++) {
555
- r = arguments[n];
556
- for (var o in r)
557
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
558
- }
559
- return t;
560
- }, w.apply(this, arguments);
561
- };
562
- function bn(e, t) {
563
- var r = {};
564
- for (var n in e)
565
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
566
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
567
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
568
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
569
- return r;
570
- }
571
- function Qe(e) {
552
+ function qe(e) {
572
553
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
573
554
  if (r)
574
555
  return r.call(e);
@@ -580,7 +561,7 @@ function Qe(e) {
580
561
  };
581
562
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
582
563
  }
583
- function Je(e, t) {
564
+ function Ye(e, t) {
584
565
  var r = typeof Symbol == "function" && e[Symbol.iterator];
585
566
  if (!r)
586
567
  return e;
@@ -600,22 +581,22 @@ function Je(e, t) {
600
581
  }
601
582
  return o;
602
583
  }
603
- function ne(e, t, r) {
604
- if (r || arguments.length === 2)
584
+ function Ke(e, t, r) {
585
+ if (arguments.length === 2)
605
586
  for (var n = 0, i = t.length, o; n < i; n++)
606
587
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
607
588
  return e.concat(o || t);
608
589
  }
609
- function V(e) {
590
+ function X(e) {
610
591
  return typeof e == "function";
611
592
  }
612
- function ir(e) {
593
+ function sr(e) {
613
594
  var t = function(n) {
614
595
  Error.call(n), n.stack = new Error().stack;
615
596
  }, r = e(t);
616
597
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
617
598
  }
618
- var $e = ir(function(e) {
599
+ var De = sr(function(e) {
619
600
  return function(r) {
620
601
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
621
602
  ` + r.map(function(n, i) {
@@ -624,13 +605,13 @@ var $e = ir(function(e) {
624
605
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
625
606
  };
626
607
  });
627
- function qe(e, t) {
608
+ function et(e, t) {
628
609
  if (e) {
629
610
  var r = e.indexOf(t);
630
611
  0 <= r && e.splice(r, 1);
631
612
  }
632
613
  }
633
- var Ne = function() {
614
+ var Ce = function() {
634
615
  function e(t) {
635
616
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
636
617
  }
@@ -642,7 +623,7 @@ var Ne = function() {
642
623
  if (s)
643
624
  if (this._parentage = null, Array.isArray(s))
644
625
  try {
645
- for (var a = Qe(s), l = a.next(); !l.done; l = a.next()) {
626
+ for (var a = qe(s), l = a.next(); !l.done; l = a.next()) {
646
627
  var u = l.value;
647
628
  u.remove(this);
648
629
  }
@@ -659,29 +640,29 @@ var Ne = function() {
659
640
  else
660
641
  s.remove(this);
661
642
  var h = this.initialTeardown;
662
- if (V(h))
643
+ if (X(h))
663
644
  try {
664
645
  h();
665
646
  } catch (b) {
666
- o = b instanceof $e ? b.errors : [b];
647
+ o = b instanceof De ? b.errors : [b];
667
648
  }
668
649
  var f = this._finalizers;
669
650
  if (f) {
670
651
  this._finalizers = null;
671
652
  try {
672
- for (var c = Qe(f), p = c.next(); !p.done; p = c.next()) {
673
- var d = p.value;
653
+ for (var c = qe(f), m = c.next(); !m.done; m = c.next()) {
654
+ var d = m.value;
674
655
  try {
675
- St(d);
656
+ Bt(d);
676
657
  } catch (b) {
677
- o = o != null ? o : [], b instanceof $e ? o = ne(ne([], Je(o)), Je(b.errors)) : o.push(b);
658
+ o = o != null ? o : [], b instanceof De ? o = Ke(Ke([], Ye(o)), Ye(b.errors)) : o.push(b);
678
659
  }
679
660
  }
680
661
  } catch (b) {
681
662
  n = { error: b };
682
663
  } finally {
683
664
  try {
684
- p && !p.done && (i = c.return) && i.call(c);
665
+ m && !m.done && (i = c.return) && i.call(c);
685
666
  } finally {
686
667
  if (n)
687
668
  throw n.error;
@@ -689,13 +670,13 @@ var Ne = function() {
689
670
  }
690
671
  }
691
672
  if (o)
692
- throw new $e(o);
673
+ throw new De(o);
693
674
  }
694
675
  }, e.prototype.add = function(t) {
695
676
  var r;
696
677
  if (t && t !== this)
697
678
  if (this.closed)
698
- St(t);
679
+ Bt(t);
699
680
  else {
700
681
  if (t instanceof e) {
701
682
  if (t.closed || t._hasParent(this))
@@ -712,56 +693,52 @@ var Ne = function() {
712
693
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
713
694
  }, e.prototype._removeParent = function(t) {
714
695
  var r = this._parentage;
715
- r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
696
+ r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
716
697
  }, e.prototype.remove = function(t) {
717
698
  var r = this._finalizers;
718
- r && qe(r, t), t instanceof e && t._removeParent(this);
699
+ r && et(r, t), t instanceof e && t._removeParent(this);
719
700
  }, e.EMPTY = function() {
720
701
  var t = new e();
721
702
  return t.closed = !0, t;
722
703
  }(), e;
723
- }(), or = Ne.EMPTY;
724
- function sr(e) {
725
- return e instanceof Ne || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
726
- }
727
- function St(e) {
728
- V(e) ? e() : e.unsubscribe();
729
- }
730
- var ar = {
731
- onUnhandledError: null,
732
- onStoppedNotification: null,
733
- Promise: void 0,
734
- useDeprecatedSynchronousErrorHandling: !1,
735
- useDeprecatedNextContext: !1
736
- }, gn = {
704
+ }(), ar = Ce.EMPTY;
705
+ function ur(e) {
706
+ return e instanceof Ce || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
707
+ }
708
+ function Bt(e) {
709
+ X(e) ? e() : e.unsubscribe();
710
+ }
711
+ var gn = {
712
+ Promise: void 0
713
+ }, vn = {
737
714
  setTimeout: function(e, t) {
738
715
  for (var r = [], n = 2; n < arguments.length; n++)
739
716
  r[n - 2] = arguments[n];
740
- return setTimeout.apply(void 0, ne([e, t], Je(r)));
717
+ return setTimeout.apply(void 0, Ke([e, t], Ye(r)));
741
718
  },
742
719
  clearTimeout: function(e) {
743
720
  return clearTimeout(e);
744
721
  },
745
722
  delegate: void 0
746
723
  };
747
- function vn(e) {
748
- gn.setTimeout(function() {
724
+ function yn(e) {
725
+ vn.setTimeout(function() {
749
726
  throw e;
750
727
  });
751
728
  }
752
- function Ht() {
729
+ function Pt() {
753
730
  }
754
731
  function we(e) {
755
732
  e();
756
733
  }
757
- var ur = function(e) {
758
- X(t, e);
734
+ var lr = function(e) {
735
+ be(t, e);
759
736
  function t(r) {
760
737
  var n = e.call(this) || this;
761
- return n.isStopped = !1, r ? (n.destination = r, sr(r) && r.add(n)) : n.destination = xn, n;
738
+ return n.isStopped = !1, r ? (n.destination = r, ur(r) && r.add(n)) : n.destination = xn, n;
762
739
  }
763
740
  return t.create = function(r, n, i) {
764
- return new Ye(r, n, i);
741
+ return new tt(r, n, i);
765
742
  }, t.prototype.next = function(r) {
766
743
  this.isStopped || this._next(r);
767
744
  }, t.prototype.error = function(r) {
@@ -785,11 +762,7 @@ var ur = function(e) {
785
762
  this.unsubscribe();
786
763
  }
787
764
  }, t;
788
- }(Ne), yn = Function.prototype.bind;
789
- function Ue(e, t) {
790
- return yn.call(e, t);
791
- }
792
- var _n = function() {
765
+ }(Ce), _n = function() {
793
766
  function e(t) {
794
767
  this.partialObserver = t;
795
768
  }
@@ -820,41 +793,29 @@ var _n = function() {
820
793
  _e(r);
821
794
  }
822
795
  }, e;
823
- }(), Ye = function(e) {
824
- X(t, e);
796
+ }(), tt = function(e) {
797
+ be(t, e);
825
798
  function t(r, n, i) {
826
799
  var o = e.call(this) || this, s;
827
- if (V(r) || !r)
828
- s = {
829
- next: r != null ? r : void 0,
830
- error: n != null ? n : void 0,
831
- complete: i != null ? i : void 0
832
- };
833
- else {
834
- var a;
835
- o && ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
836
- return o.unsubscribe();
837
- }, s = {
838
- next: r.next && Ue(r.next, a),
839
- error: r.error && Ue(r.error, a),
840
- complete: r.complete && Ue(r.complete, a)
841
- }) : s = r;
842
- }
843
- return o.destination = new _n(s), o;
800
+ return X(r) || !r ? s = {
801
+ next: r != null ? r : void 0,
802
+ error: n != null ? n : void 0,
803
+ complete: i != null ? i : void 0
804
+ } : s = r, o.destination = new _n(s), o;
844
805
  }
845
806
  return t;
846
- }(ur);
807
+ }(lr);
847
808
  function _e(e) {
848
- vn(e);
809
+ yn(e);
849
810
  }
850
811
  function En(e) {
851
812
  throw e;
852
813
  }
853
814
  var xn = {
854
815
  closed: !0,
855
- next: Ht,
816
+ next: Pt,
856
817
  error: En,
857
- complete: Ht
818
+ complete: Pt
858
819
  }, wn = function() {
859
820
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
860
821
  }();
@@ -868,7 +829,7 @@ function Sn(e) {
868
829
  }, r);
869
830
  };
870
831
  }
871
- var Bt = function() {
832
+ var At = function() {
872
833
  function e(t) {
873
834
  t && (this._subscribe = t);
874
835
  }
@@ -876,7 +837,7 @@ var Bt = function() {
876
837
  var r = new e();
877
838
  return r.source = this, r.operator = t, r;
878
839
  }, e.prototype.subscribe = function(t, r, n) {
879
- var i = this, o = Bn(t) ? t : new Ye(t, r, n);
840
+ var i = this, o = Bn(t) ? t : new tt(t, r, n);
880
841
  return we(function() {
881
842
  var s = i, a = s.operator, l = s.source;
882
843
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -889,8 +850,8 @@ var Bt = function() {
889
850
  }
890
851
  }, e.prototype.forEach = function(t, r) {
891
852
  var n = this;
892
- return r = Pt(r), new r(function(i, o) {
893
- var s = new Ye({
853
+ return r = Ot(r), new r(function(i, o) {
854
+ var s = new tt({
894
855
  next: function(a) {
895
856
  try {
896
857
  t(a);
@@ -914,7 +875,7 @@ var Bt = function() {
914
875
  return Sn(t)(this);
915
876
  }, e.prototype.toPromise = function(t) {
916
877
  var r = this;
917
- return t = Pt(t), new t(function(n, i) {
878
+ return t = Ot(t), new t(function(n, i) {
918
879
  var o;
919
880
  r.subscribe(function(s) {
920
881
  return o = s;
@@ -928,28 +889,28 @@ var Bt = function() {
928
889
  return new e(t);
929
890
  }, e;
930
891
  }();
931
- function Pt(e) {
892
+ function Ot(e) {
932
893
  var t;
933
- return (t = e != null ? e : ar.Promise) !== null && t !== void 0 ? t : Promise;
894
+ return (t = e != null ? e : gn.Promise) !== null && t !== void 0 ? t : Promise;
934
895
  }
935
896
  function Hn(e) {
936
- return e && V(e.next) && V(e.error) && V(e.complete);
897
+ return e && X(e.next) && X(e.error) && X(e.complete);
937
898
  }
938
899
  function Bn(e) {
939
- return e && e instanceof ur || Hn(e) && sr(e);
900
+ return e && e instanceof lr || Hn(e) && ur(e);
940
901
  }
941
- var Pn = ir(function(e) {
902
+ var Pn = sr(function(e) {
942
903
  return function() {
943
904
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
944
905
  };
945
- }), lr = function(e) {
946
- X(t, e);
906
+ }), hr = function(e) {
907
+ be(t, e);
947
908
  function t() {
948
909
  var r = e.call(this) || this;
949
910
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
950
911
  }
951
912
  return t.prototype.lift = function(r) {
952
- var n = new At(this, this);
913
+ var n = new Nt(this, this);
953
914
  return n.operator = r, n;
954
915
  }, t.prototype._throwIfClosed = function() {
955
916
  if (this.closed)
@@ -961,7 +922,7 @@ var Pn = ir(function(e) {
961
922
  if (n._throwIfClosed(), !n.isStopped) {
962
923
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
963
924
  try {
964
- for (var s = Qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
925
+ for (var s = qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
965
926
  var l = a.value;
966
927
  l.next(r);
967
928
  }
@@ -1010,20 +971,20 @@ var Pn = ir(function(e) {
1010
971
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1011
972
  }, t.prototype._innerSubscribe = function(r) {
1012
973
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1013
- return o || s ? or : (this.currentObservers = null, a.push(r), new Ne(function() {
1014
- n.currentObservers = null, qe(a, r);
974
+ return o || s ? ar : (this.currentObservers = null, a.push(r), new Ce(function() {
975
+ n.currentObservers = null, et(a, r);
1015
976
  }));
1016
977
  }, t.prototype._checkFinalizedStatuses = function(r) {
1017
978
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1018
979
  i ? r.error(o) : s && r.complete();
1019
980
  }, t.prototype.asObservable = function() {
1020
- var r = new Bt();
981
+ var r = new At();
1021
982
  return r.source = this, r;
1022
983
  }, t.create = function(r, n) {
1023
- return new At(r, n);
984
+ return new Nt(r, n);
1024
985
  }, t;
1025
- }(Bt), At = function(e) {
1026
- X(t, e);
986
+ }(At), Nt = function(e) {
987
+ be(t, e);
1027
988
  function t(r, n) {
1028
989
  var i = e.call(this) || this;
1029
990
  return i.destination = r, i.source = n, i;
@@ -1039,17 +1000,17 @@ var Pn = ir(function(e) {
1039
1000
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1040
1001
  }, t.prototype._subscribe = function(r) {
1041
1002
  var n, i;
1042
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : or;
1003
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ar;
1043
1004
  }, t;
1044
- }(lr), hr = {
1005
+ }(hr), cr = {
1045
1006
  now: function() {
1046
- return (hr.delegate || Date).now();
1007
+ return (cr.delegate || Date).now();
1047
1008
  },
1048
1009
  delegate: void 0
1049
1010
  }, An = function(e) {
1050
- X(t, e);
1011
+ be(t, e);
1051
1012
  function t(r, n, i) {
1052
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
1013
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = cr);
1053
1014
  var o = e.call(this) || this;
1054
1015
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1055
1016
  }
@@ -1069,24 +1030,24 @@ var Pn = ir(function(e) {
1069
1030
  u && o.splice(0, u + 1);
1070
1031
  }
1071
1032
  }, t;
1072
- }(lr);
1073
- const Ot = [], Nt = {}, On = (e, t = 0) => {
1074
- if (Ot.indexOf(e) == -1) {
1033
+ }(hr);
1034
+ const Ct = [], It = {}, On = (e, t = 0) => {
1035
+ if (Ct.indexOf(e) == -1) {
1075
1036
  const r = new An(t);
1076
- Nt[e] = r, Ot.push(e);
1037
+ It[e] = r, Ct.push(e);
1077
1038
  }
1078
- return Nt[e];
1039
+ return It[e];
1079
1040
  }, ee = [];
1080
1041
  function Nn(e, t) {
1081
1042
  return {
1082
- subscribe: Ce(e, t).subscribe
1043
+ subscribe: Ie(e, t).subscribe
1083
1044
  };
1084
1045
  }
1085
- function Ce(e, t = G) {
1046
+ function Ie(e, t = G) {
1086
1047
  let r;
1087
1048
  const n = /* @__PURE__ */ new Set();
1088
1049
  function i(a) {
1089
- if (Kt(e, a) && (e = a, r)) {
1050
+ if (tr(e, a) && (e = a, r)) {
1090
1051
  const l = !ee.length;
1091
1052
  for (const u of n)
1092
1053
  u[1](), ee.push(u, e);
@@ -1108,7 +1069,7 @@ function Ce(e, t = G) {
1108
1069
  }
1109
1070
  return { set: i, update: o, subscribe: s };
1110
1071
  }
1111
- function le(e, t, r) {
1072
+ function ue(e, t, r) {
1112
1073
  const n = !Array.isArray(e), i = n ? [e] : e;
1113
1074
  if (!i.every(Boolean))
1114
1075
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1122,12 +1083,12 @@ function le(e, t, r) {
1122
1083
  return;
1123
1084
  f();
1124
1085
  const d = t(n ? u[0] : u, s, a);
1125
- o ? s(d) : f = Oe(d) ? d : G;
1126
- }, p = i.map(
1127
- (d, b) => er(
1086
+ o ? s(d) : f = Ne(d) ? d : G;
1087
+ }, m = i.map(
1088
+ (d, b) => rr(
1128
1089
  d,
1129
- (T) => {
1130
- u[b] = T, h &= ~(1 << b), l && c();
1090
+ (w) => {
1091
+ u[b] = w, h &= ~(1 << b), l && c();
1131
1092
  },
1132
1093
  () => {
1133
1094
  h |= 1 << b;
@@ -1135,7 +1096,7 @@ function le(e, t, r) {
1135
1096
  )
1136
1097
  );
1137
1098
  return l = !0, c(), function() {
1138
- ue(p), f(), l = !1;
1099
+ ae(m), f(), l = !1;
1139
1100
  };
1140
1101
  });
1141
1102
  }
@@ -1159,29 +1120,29 @@ function $n(e) {
1159
1120
  function Un(e) {
1160
1121
  return Array.isArray(e) ? [] : {};
1161
1122
  }
1162
- function de(e, t) {
1163
- return t.clone !== !1 && t.isMergeableObject(e) ? ie(Un(e), e, t) : e;
1123
+ function me(e, t) {
1124
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(Un(e), e, t) : e;
1164
1125
  }
1165
1126
  function Dn(e, t, r) {
1166
1127
  return e.concat(t).map(function(n) {
1167
- return de(n, r);
1128
+ return me(n, r);
1168
1129
  });
1169
1130
  }
1170
1131
  function Fn(e, t) {
1171
1132
  if (!t.customMerge)
1172
- return ie;
1133
+ return ne;
1173
1134
  var r = t.customMerge(e);
1174
- return typeof r == "function" ? r : ie;
1135
+ return typeof r == "function" ? r : ne;
1175
1136
  }
1176
1137
  function jn(e) {
1177
1138
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1178
1139
  return Object.propertyIsEnumerable.call(e, t);
1179
1140
  }) : [];
1180
1141
  }
1181
- function Ct(e) {
1142
+ function Lt(e) {
1182
1143
  return Object.keys(e).concat(jn(e));
1183
1144
  }
1184
- function cr(e, t) {
1145
+ function fr(e, t) {
1185
1146
  try {
1186
1147
  return t in e;
1187
1148
  } catch (r) {
@@ -1189,129 +1150,179 @@ function cr(e, t) {
1189
1150
  }
1190
1151
  }
1191
1152
  function kn(e, t) {
1192
- return cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1153
+ return fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1193
1154
  }
1194
1155
  function Vn(e, t, r) {
1195
1156
  var n = {};
1196
- return r.isMergeableObject(e) && Ct(e).forEach(function(i) {
1197
- n[i] = de(e[i], r);
1198
- }), Ct(t).forEach(function(i) {
1199
- kn(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1157
+ return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
1158
+ n[i] = me(e[i], r);
1159
+ }), Lt(t).forEach(function(i) {
1160
+ kn(e, i) || (fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1200
1161
  }), n;
1201
1162
  }
1202
- function ie(e, t, r) {
1203
- r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || In, r.cloneUnlessOtherwiseSpecified = de;
1163
+ function ne(e, t, r) {
1164
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || In, r.cloneUnlessOtherwiseSpecified = me;
1204
1165
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1205
- return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : de(t, r);
1166
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : me(t, r);
1206
1167
  }
1207
- ie.all = function(t, r) {
1168
+ ne.all = function(t, r) {
1208
1169
  if (!Array.isArray(t))
1209
1170
  throw new Error("first argument should be an array");
1210
1171
  return t.reduce(function(n, i) {
1211
- return ie(n, i, r);
1172
+ return ne(n, i, r);
1212
1173
  }, {});
1213
1174
  };
1214
- var Xn = ie, Wn = Xn;
1175
+ var Xn = ne, Wn = Xn;
1215
1176
  const zn = /* @__PURE__ */ Cn(Wn);
1216
- function De(e, t) {
1217
- var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Qn;
1177
+ var rt = function(e, t) {
1178
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1179
+ r.__proto__ = n;
1180
+ } || function(r, n) {
1181
+ for (var i in n)
1182
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1183
+ }, rt(e, t);
1184
+ };
1185
+ function Le(e, t) {
1186
+ if (typeof t != "function" && t !== null)
1187
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1188
+ rt(e, t);
1189
+ function r() {
1190
+ this.constructor = e;
1191
+ }
1192
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1193
+ }
1194
+ var D = function() {
1195
+ return D = Object.assign || function(t) {
1196
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1197
+ r = arguments[n];
1198
+ for (var o in r)
1199
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1200
+ }
1201
+ return t;
1202
+ }, D.apply(this, arguments);
1203
+ };
1204
+ function Zn(e, t) {
1205
+ var r = {};
1206
+ for (var n in e)
1207
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1208
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1209
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1210
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1211
+ return r;
1212
+ }
1213
+ function Fe(e, t, r) {
1214
+ if (r || arguments.length === 2)
1215
+ for (var n = 0, i = t.length, o; n < i; n++)
1216
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1217
+ return e.concat(o || Array.prototype.slice.call(t));
1218
+ }
1219
+ function je(e, t) {
1220
+ var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : qn;
1218
1221
  return i(e, {
1219
1222
  cache: r,
1220
1223
  serializer: n
1221
1224
  });
1222
1225
  }
1223
- function Zn(e) {
1226
+ function Qn(e) {
1224
1227
  return e == null || typeof e == "number" || typeof e == "boolean";
1225
1228
  }
1226
- function fr(e, t, r, n) {
1227
- var i = Zn(n) ? n : r(n), o = t.get(i);
1229
+ function Jn(e, t, r, n) {
1230
+ var i = Qn(n) ? n : r(n), o = t.get(i);
1228
1231
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1229
1232
  }
1230
- function mr(e, t, r) {
1233
+ function pr(e, t, r) {
1231
1234
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1232
1235
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1233
1236
  }
1234
- function ut(e, t, r, n, i) {
1237
+ function mr(e, t, r, n, i) {
1235
1238
  return r.bind(t, e, n, i);
1236
1239
  }
1237
- function Qn(e, t) {
1238
- var r = e.length === 1 ? fr : mr;
1239
- return ut(e, this, r, t.cache.create(), t.serializer);
1240
- }
1241
- function Jn(e, t) {
1242
- return ut(e, this, mr, t.cache.create(), t.serializer);
1243
- }
1244
1240
  function qn(e, t) {
1245
- return ut(e, this, fr, t.cache.create(), t.serializer);
1241
+ var r = e.length === 1 ? Jn : pr;
1242
+ return mr(e, this, r, t.cache.create(), t.serializer);
1246
1243
  }
1247
- var Yn = function() {
1248
- return JSON.stringify(arguments);
1249
- };
1250
- function lt() {
1251
- this.cache = /* @__PURE__ */ Object.create(null);
1244
+ function Yn(e, t) {
1245
+ return mr(e, this, pr, t.cache.create(), t.serializer);
1252
1246
  }
1253
- lt.prototype.get = function(e) {
1254
- return this.cache[e];
1255
- };
1256
- lt.prototype.set = function(e, t) {
1257
- this.cache[e] = t;
1258
- };
1259
- var Kn = {
1247
+ var Kn = function() {
1248
+ return JSON.stringify(arguments);
1249
+ }, ei = (
1250
+ /** @class */
1251
+ function() {
1252
+ function e() {
1253
+ this.cache = /* @__PURE__ */ Object.create(null);
1254
+ }
1255
+ return e.prototype.get = function(t) {
1256
+ return this.cache[t];
1257
+ }, e.prototype.set = function(t, r) {
1258
+ this.cache[t] = r;
1259
+ }, e;
1260
+ }()
1261
+ ), ti = {
1260
1262
  create: function() {
1261
- return new lt();
1263
+ return new ei();
1262
1264
  }
1263
- }, Fe = {
1264
- variadic: Jn,
1265
- monadic: qn
1266
- }, y;
1265
+ }, ke = {
1266
+ variadic: Yn
1267
+ }, Pe = function() {
1268
+ return Pe = Object.assign || function(t) {
1269
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1270
+ r = arguments[n];
1271
+ for (var o in r)
1272
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1273
+ }
1274
+ return t;
1275
+ }, Pe.apply(this, arguments);
1276
+ };
1277
+ var y;
1267
1278
  (function(e) {
1268
1279
  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";
1269
1280
  })(y || (y = {}));
1270
- var H;
1281
+ var S;
1271
1282
  (function(e) {
1272
1283
  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";
1273
- })(H || (H = {}));
1274
- var oe;
1284
+ })(S || (S = {}));
1285
+ var ie;
1275
1286
  (function(e) {
1276
1287
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1277
- })(oe || (oe = {}));
1278
- function It(e) {
1279
- return e.type === H.literal;
1280
- }
1281
- function ei(e) {
1282
- return e.type === H.argument;
1288
+ })(ie || (ie = {}));
1289
+ function Mt(e) {
1290
+ return e.type === S.literal;
1283
1291
  }
1284
- function pr(e) {
1285
- return e.type === H.number;
1292
+ function ri(e) {
1293
+ return e.type === S.argument;
1286
1294
  }
1287
1295
  function dr(e) {
1288
- return e.type === H.date;
1296
+ return e.type === S.number;
1289
1297
  }
1290
1298
  function br(e) {
1291
- return e.type === H.time;
1299
+ return e.type === S.date;
1292
1300
  }
1293
1301
  function gr(e) {
1294
- return e.type === H.select;
1302
+ return e.type === S.time;
1295
1303
  }
1296
1304
  function vr(e) {
1297
- return e.type === H.plural;
1298
- }
1299
- function ti(e) {
1300
- return e.type === H.pound;
1305
+ return e.type === S.select;
1301
1306
  }
1302
1307
  function yr(e) {
1303
- return e.type === H.tag;
1308
+ return e.type === S.plural;
1309
+ }
1310
+ function ni(e) {
1311
+ return e.type === S.pound;
1304
1312
  }
1305
1313
  function _r(e) {
1306
- return !!(e && typeof e == "object" && e.type === oe.number);
1314
+ return e.type === S.tag;
1307
1315
  }
1308
- function Ke(e) {
1309
- return !!(e && typeof e == "object" && e.type === oe.dateTime);
1316
+ function Er(e) {
1317
+ return !!(e && typeof e == "object" && e.type === ie.number);
1310
1318
  }
1311
- var Er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ri = /(?:[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;
1312
- function ni(e) {
1319
+ function nt(e) {
1320
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
1321
+ }
1322
+ var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
1323
+ function oi(e) {
1313
1324
  var t = {};
1314
- return e.replace(ri, function(r) {
1325
+ return e.replace(ii, function(r) {
1315
1326
  var n = r.length;
1316
1327
  switch (r[0]) {
1317
1328
  case "G":
@@ -1400,11 +1411,21 @@ function ni(e) {
1400
1411
  return "";
1401
1412
  }), t;
1402
1413
  }
1403
- var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1404
- function oi(e) {
1414
+ var A = function() {
1415
+ return A = Object.assign || function(t) {
1416
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1417
+ r = arguments[n];
1418
+ for (var o in r)
1419
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1420
+ }
1421
+ return t;
1422
+ }, A.apply(this, arguments);
1423
+ };
1424
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1425
+ function ai(e) {
1405
1426
  if (e.length === 0)
1406
1427
  throw new Error("Number skeleton cannot be empty");
1407
- for (var t = e.split(ii).filter(function(c) {
1428
+ for (var t = e.split(si).filter(function(c) {
1408
1429
  return c.length > 0;
1409
1430
  }), r = [], n = 0, i = t; n < i.length; n++) {
1410
1431
  var o = i[n], s = o.split("/");
@@ -1419,17 +1440,17 @@ function oi(e) {
1419
1440
  }
1420
1441
  return r;
1421
1442
  }
1422
- function si(e) {
1443
+ function ui(e) {
1423
1444
  return e.replace(/^(.*?)-/, "");
1424
1445
  }
1425
- var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xr = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
1426
- function Mt(e) {
1446
+ var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wr = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, Tr = /^(0+)$/;
1447
+ function Gt(e) {
1427
1448
  var t = {};
1428
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xr, function(r, n, i) {
1449
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wr, function(r, n, i) {
1429
1450
  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)), "";
1430
1451
  }), t;
1431
1452
  }
1432
- function Tr(e) {
1453
+ function Sr(e) {
1433
1454
  switch (e) {
1434
1455
  case "sign-auto":
1435
1456
  return {
@@ -1469,7 +1490,7 @@ function Tr(e) {
1469
1490
  };
1470
1491
  }
1471
1492
  }
1472
- function ui(e) {
1493
+ function hi(e) {
1473
1494
  var t;
1474
1495
  if (e[0] === "E" && e[1] === "E" ? (t = {
1475
1496
  notation: "engineering"
@@ -1477,17 +1498,17 @@ function ui(e) {
1477
1498
  notation: "scientific"
1478
1499
  }, e = e.slice(1)), t) {
1479
1500
  var r = e.slice(0, 2);
1480
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wr.test(e))
1501
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tr.test(e))
1481
1502
  throw new Error("Malformed concise eng/scientific notation");
1482
1503
  t.minimumIntegerDigits = e.length;
1483
1504
  }
1484
1505
  return t;
1485
1506
  }
1486
- function Rt(e) {
1487
- var t = {}, r = Tr(e);
1507
+ function $t(e) {
1508
+ var t = {}, r = Sr(e);
1488
1509
  return r || t;
1489
1510
  }
1490
- function li(e) {
1511
+ function ci(e) {
1491
1512
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1492
1513
  var i = n[r];
1493
1514
  switch (i.stem) {
@@ -1511,7 +1532,7 @@ function li(e) {
1511
1532
  continue;
1512
1533
  case "measure-unit":
1513
1534
  case "unit":
1514
- t.style = "unit", t.unit = si(i.options[0]);
1535
+ t.style = "unit", t.unit = ui(i.options[0]);
1515
1536
  continue;
1516
1537
  case "compact-short":
1517
1538
  case "K":
@@ -1522,13 +1543,13 @@ function li(e) {
1522
1543
  t.notation = "compact", t.compactDisplay = "long";
1523
1544
  continue;
1524
1545
  case "scientific":
1525
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1526
- return w(w({}, l), Rt(u));
1546
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1547
+ return A(A({}, l), $t(u));
1527
1548
  }, {}));
1528
1549
  continue;
1529
1550
  case "engineering":
1530
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1531
- return w(w({}, l), Rt(u));
1551
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1552
+ return A(A({}, l), $t(u));
1532
1553
  }, {}));
1533
1554
  continue;
1534
1555
  case "notation-simple":
@@ -1573,41 +1594,41 @@ function li(e) {
1573
1594
  case "integer-width":
1574
1595
  if (i.options.length > 1)
1575
1596
  throw new RangeError("integer-width stems only accept a single optional option");
1576
- i.options[0].replace(ai, function(l, u, h, f, c, p) {
1597
+ i.options[0].replace(li, function(l, u, h, f, c, m) {
1577
1598
  if (u)
1578
1599
  t.minimumIntegerDigits = h.length;
1579
1600
  else {
1580
1601
  if (f && c)
1581
1602
  throw new Error("We currently do not support maximum integer digits");
1582
- if (p)
1603
+ if (m)
1583
1604
  throw new Error("We currently do not support exact integer digits");
1584
1605
  }
1585
1606
  return "";
1586
1607
  });
1587
1608
  continue;
1588
1609
  }
1589
- if (wr.test(i.stem)) {
1610
+ if (Tr.test(i.stem)) {
1590
1611
  t.minimumIntegerDigits = i.stem.length;
1591
1612
  continue;
1592
1613
  }
1593
- if (Lt.test(i.stem)) {
1614
+ if (Rt.test(i.stem)) {
1594
1615
  if (i.options.length > 1)
1595
1616
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1596
- i.stem.replace(Lt, function(l, u, h, f, c, p) {
1597
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1617
+ i.stem.replace(Rt, function(l, u, h, f, c, m) {
1618
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1598
1619
  });
1599
1620
  var o = i.options[0];
1600
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Mt(o)));
1621
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Gt(o)));
1601
1622
  continue;
1602
1623
  }
1603
- if (xr.test(i.stem)) {
1604
- t = w(w({}, t), Mt(i.stem));
1624
+ if (wr.test(i.stem)) {
1625
+ t = A(A({}, t), Gt(i.stem));
1605
1626
  continue;
1606
1627
  }
1607
- var s = Tr(i.stem);
1608
- s && (t = w(w({}, t), s));
1609
- var a = ui(i.stem);
1610
- a && (t = w(w({}, t), a));
1628
+ var s = Sr(i.stem);
1629
+ s && (t = A(A({}, t), s));
1630
+ var a = hi(i.stem);
1631
+ a && (t = A(A({}, t), a));
1611
1632
  }
1612
1633
  return t;
1613
1634
  }
@@ -3026,13 +3047,13 @@ var Ee = {
3026
3047
  "h"
3027
3048
  ]
3028
3049
  };
3029
- function hi(e, t) {
3050
+ function fi(e, t) {
3030
3051
  for (var r = "", n = 0; n < e.length; n++) {
3031
3052
  var i = e.charAt(n);
3032
3053
  if (i === "j") {
3033
3054
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3034
3055
  o++, n++;
3035
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ci(t);
3056
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pi(t);
3036
3057
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3037
3058
  r += l;
3038
3059
  for (; s-- > 0; )
@@ -3042,7 +3063,7 @@ function hi(e, t) {
3042
3063
  }
3043
3064
  return r;
3044
3065
  }
3045
- function ci(e) {
3066
+ function pi(e) {
3046
3067
  var t = e.hourCycle;
3047
3068
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3048
3069
  e.hourCycles && // @ts-ignore
@@ -3064,20 +3085,20 @@ function ci(e) {
3064
3085
  var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3065
3086
  return i[0];
3066
3087
  }
3067
- var je, fi = new RegExp("^".concat(Er.source, "*")), mi = new RegExp("".concat(Er.source, "*$"));
3088
+ var Ve, mi = new RegExp("^".concat(xr.source, "*")), di = new RegExp("".concat(xr.source, "*$"));
3068
3089
  function E(e, t) {
3069
3090
  return { start: e, end: t };
3070
3091
  }
3071
- var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, Ei = _i ? Number.isSafeInteger : function(e) {
3092
+ var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, vi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, wi = xi ? Number.isSafeInteger : function(e) {
3072
3093
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3073
- }, et = !0;
3094
+ }, it = !0;
3074
3095
  try {
3075
- var xi = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
- et = ((je = xi.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
3096
+ var Ti = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3097
+ it = ((Ve = Ti.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3077
3098
  } catch (e) {
3078
- et = !1;
3099
+ it = !1;
3079
3100
  }
3080
- var Gt = pi ? (
3101
+ var Ut = bi ? (
3081
3102
  // Native
3082
3103
  function(t, r, n) {
3083
3104
  return t.startsWith(r, n);
@@ -3087,7 +3108,7 @@ var Gt = pi ? (
3087
3108
  function(t, r, n) {
3088
3109
  return t.slice(n, n + r.length) === r;
3089
3110
  }
3090
- ), tt = di ? String.fromCodePoint : (
3111
+ ), ot = gi ? String.fromCodePoint : (
3091
3112
  // IE11
3092
3113
  function() {
3093
3114
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3099,9 +3120,9 @@ var Gt = pi ? (
3099
3120
  }
3100
3121
  return n;
3101
3122
  }
3102
- ), $t = (
3123
+ ), Dt = (
3103
3124
  // native
3104
- bi ? Object.fromEntries : (
3125
+ vi ? Object.fromEntries : (
3105
3126
  // Ponyfill
3106
3127
  function(t) {
3107
3128
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3111,7 +3132,7 @@ var Gt = pi ? (
3111
3132
  return r;
3112
3133
  }
3113
3134
  )
3114
- ), Sr = gi ? (
3135
+ ), Hr = yi ? (
3115
3136
  // Native
3116
3137
  function(t, r) {
3117
3138
  return t.codePointAt(r);
@@ -3125,7 +3146,7 @@ var Gt = pi ? (
3125
3146
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3126
3147
  }
3127
3148
  }
3128
- ), wi = vi ? (
3149
+ ), Si = _i ? (
3129
3150
  // Native
3130
3151
  function(t) {
3131
3152
  return t.trimStart();
@@ -3133,9 +3154,9 @@ var Gt = pi ? (
3133
3154
  ) : (
3134
3155
  // Ponyfill
3135
3156
  function(t) {
3136
- return t.replace(fi, "");
3157
+ return t.replace(mi, "");
3137
3158
  }
3138
- ), Ti = yi ? (
3159
+ ), Hi = Ei ? (
3139
3160
  // Native
3140
3161
  function(t) {
3141
3162
  return t.trimEnd();
@@ -3143,32 +3164,32 @@ var Gt = pi ? (
3143
3164
  ) : (
3144
3165
  // Ponyfill
3145
3166
  function(t) {
3146
- return t.replace(mi, "");
3167
+ return t.replace(di, "");
3147
3168
  }
3148
3169
  );
3149
- function Hr(e, t) {
3170
+ function Br(e, t) {
3150
3171
  return new RegExp(e, t);
3151
3172
  }
3152
- var rt;
3153
- if (et) {
3154
- var Ut = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3155
- rt = function(t, r) {
3173
+ var st;
3174
+ if (it) {
3175
+ var Ft = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3176
+ st = function(t, r) {
3156
3177
  var n;
3157
- Ut.lastIndex = r;
3158
- var i = Ut.exec(t);
3178
+ Ft.lastIndex = r;
3179
+ var i = Ft.exec(t);
3159
3180
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3160
3181
  };
3161
3182
  } else
3162
- rt = function(t, r) {
3183
+ st = function(t, r) {
3163
3184
  for (var n = []; ; ) {
3164
- var i = Sr(t, r);
3165
- if (i === void 0 || Br(i) || Pi(i))
3185
+ var i = Hr(t, r);
3186
+ if (i === void 0 || Pr(i) || Oi(i))
3166
3187
  break;
3167
3188
  n.push(i), r += i >= 65536 ? 2 : 1;
3168
3189
  }
3169
- return tt.apply(void 0, n);
3190
+ return ot.apply(void 0, n);
3170
3191
  };
3171
- var Si = (
3192
+ var Bi = (
3172
3193
  /** @class */
3173
3194
  function() {
3174
3195
  function e(t, r) {
@@ -3192,14 +3213,14 @@ var Si = (
3192
3213
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3193
3214
  var a = this.clonePosition();
3194
3215
  this.bump(), i.push({
3195
- type: H.pound,
3216
+ type: S.pound,
3196
3217
  location: E(a, this.clonePosition())
3197
3218
  });
3198
3219
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3199
3220
  if (n)
3200
3221
  break;
3201
3222
  return this.error(y.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3202
- } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3223
+ } else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
3203
3224
  var s = this.parseTag(t, r);
3204
3225
  if (s.err)
3205
3226
  return s;
@@ -3220,7 +3241,7 @@ var Si = (
3220
3241
  if (this.bumpSpace(), this.bumpIf("/>"))
3221
3242
  return {
3222
3243
  val: {
3223
- type: H.literal,
3244
+ type: S.literal,
3224
3245
  value: "<".concat(i, "/>"),
3225
3246
  location: E(n, this.clonePosition())
3226
3247
  },
@@ -3232,12 +3253,12 @@ var Si = (
3232
3253
  return o;
3233
3254
  var s = o.val, a = this.clonePosition();
3234
3255
  if (this.bumpIf("</")) {
3235
- if (this.isEOF() || !nt(this.char()))
3256
+ if (this.isEOF() || !at(this.char()))
3236
3257
  return this.error(y.INVALID_TAG, E(a, this.clonePosition()));
3237
3258
  var l = this.clonePosition(), u = this.parseTagName();
3238
3259
  return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3239
3260
  val: {
3240
- type: H.tag,
3261
+ type: S.tag,
3241
3262
  value: i,
3242
3263
  children: s,
3243
3264
  location: E(n, this.clonePosition())
@@ -3250,7 +3271,7 @@ var Si = (
3250
3271
  return this.error(y.INVALID_TAG, E(n, this.clonePosition()));
3251
3272
  }, e.prototype.parseTagName = function() {
3252
3273
  var t = this.offset();
3253
- for (this.bump(); !this.isEOF() && Bi(this.char()); )
3274
+ for (this.bump(); !this.isEOF() && Ai(this.char()); )
3254
3275
  this.bump();
3255
3276
  return this.message.slice(t, this.offset());
3256
3277
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3274,12 +3295,12 @@ var Si = (
3274
3295
  }
3275
3296
  var l = E(n, this.clonePosition());
3276
3297
  return {
3277
- val: { type: H.literal, value: i, location: l },
3298
+ val: { type: S.literal, value: i, location: l },
3278
3299
  err: null
3279
3300
  };
3280
3301
  }, e.prototype.tryParseLeftAngleBracket = function() {
3281
3302
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3282
- !Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3303
+ !Pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3283
3304
  }, e.prototype.tryParseQuote = function(t) {
3284
3305
  if (this.isEOF() || this.char() !== 39)
3285
3306
  return null;
@@ -3313,12 +3334,12 @@ var Si = (
3313
3334
  r.push(n);
3314
3335
  this.bump();
3315
3336
  }
3316
- return tt.apply(void 0, r);
3337
+ return ot.apply(void 0, r);
3317
3338
  }, e.prototype.tryParseUnquoted = function(t, r) {
3318
3339
  if (this.isEOF())
3319
3340
  return null;
3320
3341
  var n = this.char();
3321
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
3342
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ot(n));
3322
3343
  }, e.prototype.parseArgument = function(t, r) {
3323
3344
  var n = this.clonePosition();
3324
3345
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3334,7 +3355,7 @@ var Si = (
3334
3355
  case 125:
3335
3356
  return this.bump(), {
3336
3357
  val: {
3337
- type: H.argument,
3358
+ type: S.argument,
3338
3359
  // value does not include the opening and closing braces.
3339
3360
  value: i,
3340
3361
  location: E(n, this.clonePosition())
@@ -3347,7 +3368,7 @@ var Si = (
3347
3368
  return this.error(y.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3348
3369
  }
3349
3370
  }, e.prototype.parseIdentifierIfPossible = function() {
3350
- var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
3371
+ var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
3351
3372
  this.bumpTo(i);
3352
3373
  var o = this.clonePosition(), s = E(t, o);
3353
3374
  return { value: n, location: s };
@@ -3366,35 +3387,35 @@ var Si = (
3366
3387
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3367
3388
  if (f.err)
3368
3389
  return f;
3369
- var c = Ti(f.val);
3390
+ var c = Hi(f.val);
3370
3391
  if (c.length === 0)
3371
3392
  return this.error(y.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3372
- var p = E(h, this.clonePosition());
3373
- u = { style: c, styleLocation: p };
3393
+ var m = E(h, this.clonePosition());
3394
+ u = { style: c, styleLocation: m };
3374
3395
  }
3375
3396
  var d = this.tryParseArgumentClose(i);
3376
3397
  if (d.err)
3377
3398
  return d;
3378
3399
  var b = E(i, this.clonePosition());
3379
- if (u && Gt(u == null ? void 0 : u.style, "::", 0)) {
3380
- var T = wi(u.style.slice(2));
3400
+ if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
3401
+ var w = Si(u.style.slice(2));
3381
3402
  if (a === "number") {
3382
- var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
3403
+ var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3383
3404
  return f.err ? f : {
3384
- val: { type: H.number, value: n, location: b, style: f.val },
3405
+ val: { type: S.number, value: n, location: b, style: f.val },
3385
3406
  err: null
3386
3407
  };
3387
3408
  } else {
3388
- if (T.length === 0)
3409
+ if (w.length === 0)
3389
3410
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3390
- var N = T;
3391
- this.locale && (N = hi(T, this.locale));
3411
+ var N = w;
3412
+ this.locale && (N = fi(w, this.locale));
3392
3413
  var c = {
3393
- type: oe.dateTime,
3414
+ type: ie.dateTime,
3394
3415
  pattern: N,
3395
3416
  location: u.styleLocation,
3396
- parsedOptions: this.shouldParseSkeletons ? ni(N) : {}
3397
- }, _ = a === "date" ? H.date : H.time;
3417
+ parsedOptions: this.shouldParseSkeletons ? oi(N) : {}
3418
+ }, _ = a === "date" ? S.date : S.time;
3398
3419
  return {
3399
3420
  val: { type: _, value: n, location: b, style: c },
3400
3421
  err: null
@@ -3403,7 +3424,7 @@ var Si = (
3403
3424
  }
3404
3425
  return {
3405
3426
  val: {
3406
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
3427
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3407
3428
  value: n,
3408
3429
  location: b,
3409
3430
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3414,9 +3435,9 @@ var Si = (
3414
3435
  case "plural":
3415
3436
  case "selectordinal":
3416
3437
  case "select": {
3417
- var B = this.clonePosition();
3438
+ var H = this.clonePosition();
3418
3439
  if (this.bumpSpace(), !this.bumpIf(","))
3419
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, E(B, w({}, B)));
3440
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, E(H, Pe({}, H)));
3420
3441
  this.bumpSpace();
3421
3442
  var I = this.parseIdentifierIfPossible(), g = 0;
3422
3443
  if (a !== "select" && I.value === "offset") {
@@ -3428,29 +3449,29 @@ var Si = (
3428
3449
  return f;
3429
3450
  this.bumpSpace(), I = this.parseIdentifierIfPossible(), g = f.val;
3430
3451
  }
3431
- var P = this.tryParsePluralOrSelectOptions(t, a, r, I);
3432
- if (P.err)
3433
- return P;
3452
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, I);
3453
+ if (B.err)
3454
+ return B;
3434
3455
  var d = this.tryParseArgumentClose(i);
3435
3456
  if (d.err)
3436
3457
  return d;
3437
- var A = E(i, this.clonePosition());
3458
+ var P = E(i, this.clonePosition());
3438
3459
  return a === "select" ? {
3439
3460
  val: {
3440
- type: H.select,
3461
+ type: S.select,
3441
3462
  value: n,
3442
- options: $t(P.val),
3443
- location: A
3463
+ options: Dt(B.val),
3464
+ location: P
3444
3465
  },
3445
3466
  err: null
3446
3467
  } : {
3447
3468
  val: {
3448
- type: H.plural,
3469
+ type: S.plural,
3449
3470
  value: n,
3450
- options: $t(P.val),
3471
+ options: Dt(B.val),
3451
3472
  offset: g,
3452
3473
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3453
- location: A
3474
+ location: P
3454
3475
  },
3455
3476
  err: null
3456
3477
  };
@@ -3498,16 +3519,16 @@ var Si = (
3498
3519
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3499
3520
  var n = [];
3500
3521
  try {
3501
- n = oi(t);
3522
+ n = ai(t);
3502
3523
  } catch (i) {
3503
3524
  return this.error(y.INVALID_NUMBER_SKELETON, r);
3504
3525
  }
3505
3526
  return {
3506
3527
  val: {
3507
- type: oe.number,
3528
+ type: ie.number,
3508
3529
  tokens: n,
3509
3530
  location: r,
3510
- parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3531
+ parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
3511
3532
  },
3512
3533
  err: null
3513
3534
  };
@@ -3526,20 +3547,20 @@ var Si = (
3526
3547
  if (l.has(u))
3527
3548
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3528
3549
  u === "other" && (s = !0), this.bumpSpace();
3529
- var p = this.clonePosition();
3550
+ var m = this.clonePosition();
3530
3551
  if (!this.bumpIf("{"))
3531
3552
  return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3532
3553
  var d = this.parseMessage(t + 1, r, n);
3533
3554
  if (d.err)
3534
3555
  return d;
3535
- var b = this.tryParseArgumentClose(p);
3556
+ var b = this.tryParseArgumentClose(m);
3536
3557
  if (b.err)
3537
3558
  return b;
3538
3559
  a.push([
3539
3560
  u,
3540
3561
  {
3541
3562
  value: d.val,
3542
- location: E(p, this.clonePosition())
3563
+ location: E(m, this.clonePosition())
3543
3564
  }
3544
3565
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3545
3566
  }
@@ -3555,7 +3576,7 @@ var Si = (
3555
3576
  break;
3556
3577
  }
3557
3578
  var l = E(i, this.clonePosition());
3558
- return o ? (s *= n, Ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3579
+ return o ? (s *= n, wi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3559
3580
  }, e.prototype.offset = function() {
3560
3581
  return this.position.offset;
3561
3582
  }, e.prototype.isEOF = function() {
@@ -3570,7 +3591,7 @@ var Si = (
3570
3591
  var t = this.position.offset;
3571
3592
  if (t >= this.message.length)
3572
3593
  throw Error("out of bound");
3573
- var r = Sr(this.message, t);
3594
+ var r = Hr(this.message, t);
3574
3595
  if (r === void 0)
3575
3596
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3576
3597
  return r;
@@ -3589,7 +3610,7 @@ var Si = (
3589
3610
  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);
3590
3611
  }
3591
3612
  }, e.prototype.bumpIf = function(t) {
3592
- if (Gt(this.message, t, this.offset())) {
3613
+ if (Ut(this.message, t, this.offset())) {
3593
3614
  for (var r = 0; r < t.length; r++)
3594
3615
  this.bump();
3595
3616
  return !0;
@@ -3611,7 +3632,7 @@ var Si = (
3611
3632
  break;
3612
3633
  }
3613
3634
  }, e.prototype.bumpSpace = function() {
3614
- for (; !this.isEOF() && Br(this.char()); )
3635
+ for (; !this.isEOF() && Pr(this.char()); )
3615
3636
  this.bump();
3616
3637
  }, e.prototype.peek = function() {
3617
3638
  if (this.isEOF())
@@ -3621,47 +3642,47 @@ var Si = (
3621
3642
  }, e;
3622
3643
  }()
3623
3644
  );
3624
- function nt(e) {
3645
+ function at(e) {
3625
3646
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3626
3647
  }
3627
- function Hi(e) {
3628
- return nt(e) || e === 47;
3648
+ function Pi(e) {
3649
+ return at(e) || e === 47;
3629
3650
  }
3630
- function Bi(e) {
3651
+ function Ai(e) {
3631
3652
  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;
3632
3653
  }
3633
- function Br(e) {
3654
+ function Pr(e) {
3634
3655
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3635
3656
  }
3636
- function Pi(e) {
3657
+ function Oi(e) {
3637
3658
  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;
3638
3659
  }
3639
- function it(e) {
3660
+ function ut(e) {
3640
3661
  e.forEach(function(t) {
3641
- if (delete t.location, gr(t) || vr(t))
3662
+ if (delete t.location, vr(t) || yr(t))
3642
3663
  for (var r in t.options)
3643
- delete t.options[r].location, it(t.options[r].value);
3664
+ delete t.options[r].location, ut(t.options[r].value);
3644
3665
  else
3645
- pr(t) && _r(t.style) || (dr(t) || br(t)) && Ke(t.style) ? delete t.style.location : yr(t) && it(t.children);
3666
+ dr(t) && Er(t.style) || (br(t) || gr(t)) && nt(t.style) ? delete t.style.location : _r(t) && ut(t.children);
3646
3667
  });
3647
3668
  }
3648
- function Ai(e, t) {
3649
- t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3650
- var r = new Si(e, t).parse();
3669
+ function Ni(e, t) {
3670
+ t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3671
+ var r = new Bi(e, t).parse();
3651
3672
  if (r.err) {
3652
3673
  var n = SyntaxError(y[r.err.kind]);
3653
3674
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3654
3675
  }
3655
- return t != null && t.captureLocation || it(r.val), r.val;
3676
+ return t != null && t.captureLocation || ut(r.val), r.val;
3656
3677
  }
3657
- var se;
3678
+ var oe;
3658
3679
  (function(e) {
3659
3680
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3660
- })(se || (se = {}));
3661
- var Ie = (
3681
+ })(oe || (oe = {}));
3682
+ var Me = (
3662
3683
  /** @class */
3663
3684
  function(e) {
3664
- X(t, e);
3685
+ Le(t, e);
3665
3686
  function t(r, n, i) {
3666
3687
  var o = e.call(this, r) || this;
3667
3688
  return o.code = n, o.originalMessage = i, o;
@@ -3670,48 +3691,48 @@ var Ie = (
3670
3691
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3671
3692
  }, t;
3672
3693
  }(Error)
3673
- ), Dt = (
3694
+ ), jt = (
3674
3695
  /** @class */
3675
3696
  function(e) {
3676
- X(t, e);
3697
+ Le(t, e);
3677
3698
  function t(r, n, i, o) {
3678
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3699
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3679
3700
  }
3680
3701
  return t;
3681
- }(Ie)
3682
- ), Oi = (
3702
+ }(Me)
3703
+ ), Ci = (
3683
3704
  /** @class */
3684
3705
  function(e) {
3685
- X(t, e);
3706
+ Le(t, e);
3686
3707
  function t(r, n, i) {
3687
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3708
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3688
3709
  }
3689
3710
  return t;
3690
- }(Ie)
3691
- ), Ni = (
3711
+ }(Me)
3712
+ ), Ii = (
3692
3713
  /** @class */
3693
3714
  function(e) {
3694
- X(t, e);
3715
+ Le(t, e);
3695
3716
  function t(r, n) {
3696
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3717
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3697
3718
  }
3698
3719
  return t;
3699
- }(Ie)
3720
+ }(Me)
3700
3721
  ), M;
3701
3722
  (function(e) {
3702
3723
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3703
3724
  })(M || (M = {}));
3704
- function Ci(e) {
3725
+ function Li(e) {
3705
3726
  return e.length < 2 ? e : e.reduce(function(t, r) {
3706
3727
  var n = t[t.length - 1];
3707
3728
  return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3708
3729
  }, []);
3709
3730
  }
3710
- function Ii(e) {
3731
+ function Mi(e) {
3711
3732
  return typeof e == "function";
3712
3733
  }
3713
3734
  function Te(e, t, r, n, i, o, s) {
3714
- if (e.length === 1 && It(e[0]))
3735
+ if (e.length === 1 && Mt(e[0]))
3715
3736
  return [
3716
3737
  {
3717
3738
  type: M.literal,
@@ -3720,14 +3741,14 @@ function Te(e, t, r, n, i, o, s) {
3720
3741
  ];
3721
3742
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3722
3743
  var h = u[l];
3723
- if (It(h)) {
3744
+ if (Mt(h)) {
3724
3745
  a.push({
3725
3746
  type: M.literal,
3726
3747
  value: h.value
3727
3748
  });
3728
3749
  continue;
3729
3750
  }
3730
- if (ti(h)) {
3751
+ if (ni(h)) {
3731
3752
  typeof o == "number" && a.push({
3732
3753
  type: M.literal,
3733
3754
  value: r.getNumberFormat(t).format(o)
@@ -3736,44 +3757,44 @@ function Te(e, t, r, n, i, o, s) {
3736
3757
  }
3737
3758
  var f = h.value;
3738
3759
  if (!(i && f in i))
3739
- throw new Ni(f, s);
3760
+ throw new Ii(f, s);
3740
3761
  var c = i[f];
3741
- if (ei(h)) {
3762
+ if (ri(h)) {
3742
3763
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3743
3764
  type: typeof c == "string" ? M.literal : M.object,
3744
3765
  value: c
3745
3766
  });
3746
3767
  continue;
3747
3768
  }
3748
- if (dr(h)) {
3749
- var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3769
+ if (br(h)) {
3770
+ var m = typeof h.style == "string" ? n.date[h.style] : nt(h.style) ? h.style.parsedOptions : void 0;
3750
3771
  a.push({
3751
3772
  type: M.literal,
3752
- value: r.getDateTimeFormat(t, p).format(c)
3773
+ value: r.getDateTimeFormat(t, m).format(c)
3753
3774
  });
3754
3775
  continue;
3755
3776
  }
3756
- if (br(h)) {
3757
- var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
3777
+ if (gr(h)) {
3778
+ var m = typeof h.style == "string" ? n.time[h.style] : nt(h.style) ? h.style.parsedOptions : n.time.medium;
3758
3779
  a.push({
3759
3780
  type: M.literal,
3760
- value: r.getDateTimeFormat(t, p).format(c)
3781
+ value: r.getDateTimeFormat(t, m).format(c)
3761
3782
  });
3762
3783
  continue;
3763
3784
  }
3764
- if (pr(h)) {
3765
- var p = typeof h.style == "string" ? n.number[h.style] : _r(h.style) ? h.style.parsedOptions : void 0;
3766
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3785
+ if (dr(h)) {
3786
+ var m = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
3787
+ m && m.scale && (c = c * (m.scale || 1)), a.push({
3767
3788
  type: M.literal,
3768
- value: r.getNumberFormat(t, p).format(c)
3789
+ value: r.getNumberFormat(t, m).format(c)
3769
3790
  });
3770
3791
  continue;
3771
3792
  }
3772
- if (yr(h)) {
3773
- var d = h.children, b = h.value, T = i[b];
3774
- if (!Ii(T))
3775
- throw new Oi(b, "function", s);
3776
- var N = Te(d, t, r, n, i, o), _ = T(N.map(function(g) {
3793
+ if (_r(h)) {
3794
+ var d = h.children, b = h.value, w = i[b];
3795
+ if (!Mi(w))
3796
+ throw new Ci(b, "function", s);
3797
+ var N = Te(d, t, r, n, i, o), _ = w(N.map(function(g) {
3777
3798
  return g.value;
3778
3799
  }));
3779
3800
  Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(g) {
@@ -3783,42 +3804,42 @@ function Te(e, t, r, n, i, o, s) {
3783
3804
  };
3784
3805
  }));
3785
3806
  }
3786
- if (gr(h)) {
3787
- var B = h.options[c] || h.options.other;
3788
- if (!B)
3789
- throw new Dt(h.value, c, Object.keys(h.options), s);
3790
- a.push.apply(a, Te(B.value, t, r, n, i));
3807
+ if (vr(h)) {
3808
+ var H = h.options[c] || h.options.other;
3809
+ if (!H)
3810
+ throw new jt(h.value, c, Object.keys(h.options), s);
3811
+ a.push.apply(a, Te(H.value, t, r, n, i));
3791
3812
  continue;
3792
3813
  }
3793
- if (vr(h)) {
3794
- var B = h.options["=".concat(c)];
3795
- if (!B) {
3814
+ if (yr(h)) {
3815
+ var H = h.options["=".concat(c)];
3816
+ if (!H) {
3796
3817
  if (!Intl.PluralRules)
3797
- throw new Ie(`Intl.PluralRules is not available in this environment.
3818
+ throw new Me(`Intl.PluralRules is not available in this environment.
3798
3819
  Try polyfilling it using "@formatjs/intl-pluralrules"
3799
- `, se.MISSING_INTL_API, s);
3820
+ `, oe.MISSING_INTL_API, s);
3800
3821
  var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3801
- B = h.options[I] || h.options.other;
3822
+ H = h.options[I] || h.options.other;
3802
3823
  }
3803
- if (!B)
3804
- throw new Dt(h.value, c, Object.keys(h.options), s);
3805
- a.push.apply(a, Te(B.value, t, r, n, i, c - (h.offset || 0)));
3824
+ if (!H)
3825
+ throw new jt(h.value, c, Object.keys(h.options), s);
3826
+ a.push.apply(a, Te(H.value, t, r, n, i, c - (h.offset || 0)));
3806
3827
  continue;
3807
3828
  }
3808
3829
  }
3809
- return Ci(a);
3830
+ return Li(a);
3810
3831
  }
3811
- function Li(e, t) {
3812
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3813
- return r[n] = w(w({}, e[n]), t[n] || {}), r;
3832
+ function Ri(e, t) {
3833
+ return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3834
+ return r[n] = D(D({}, e[n]), t[n] || {}), r;
3814
3835
  }, {})) : e;
3815
3836
  }
3816
- function Mi(e, t) {
3837
+ function Gi(e, t) {
3817
3838
  return t ? Object.keys(e).reduce(function(r, n) {
3818
- return r[n] = Li(e[n], t[n]), r;
3819
- }, w({}, e)) : e;
3839
+ return r[n] = Ri(e[n], t[n]), r;
3840
+ }, D({}, e)) : e;
3820
3841
  }
3821
- function ke(e) {
3842
+ function Xe(e) {
3822
3843
  return {
3823
3844
  create: function() {
3824
3845
  return {
@@ -3832,39 +3853,39 @@ function ke(e) {
3832
3853
  }
3833
3854
  };
3834
3855
  }
3835
- function Ri(e) {
3856
+ function $i(e) {
3836
3857
  return e === void 0 && (e = {
3837
3858
  number: {},
3838
3859
  dateTime: {},
3839
3860
  pluralRules: {}
3840
3861
  }), {
3841
- getNumberFormat: De(function() {
3862
+ getNumberFormat: je(function() {
3842
3863
  for (var t, r = [], n = 0; n < arguments.length; n++)
3843
3864
  r[n] = arguments[n];
3844
- return new ((t = Intl.NumberFormat).bind.apply(t, ne([void 0], r, !1)))();
3865
+ return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
3845
3866
  }, {
3846
- cache: ke(e.number),
3847
- strategy: Fe.variadic
3867
+ cache: Xe(e.number),
3868
+ strategy: ke.variadic
3848
3869
  }),
3849
- getDateTimeFormat: De(function() {
3870
+ getDateTimeFormat: je(function() {
3850
3871
  for (var t, r = [], n = 0; n < arguments.length; n++)
3851
3872
  r[n] = arguments[n];
3852
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ne([void 0], r, !1)))();
3873
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
3853
3874
  }, {
3854
- cache: ke(e.dateTime),
3855
- strategy: Fe.variadic
3875
+ cache: Xe(e.dateTime),
3876
+ strategy: ke.variadic
3856
3877
  }),
3857
- getPluralRules: De(function() {
3878
+ getPluralRules: je(function() {
3858
3879
  for (var t, r = [], n = 0; n < arguments.length; n++)
3859
3880
  r[n] = arguments[n];
3860
- return new ((t = Intl.PluralRules).bind.apply(t, ne([void 0], r, !1)))();
3881
+ return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
3861
3882
  }, {
3862
- cache: ke(e.pluralRules),
3863
- strategy: Fe.variadic
3883
+ cache: Xe(e.pluralRules),
3884
+ strategy: ke.variadic
3864
3885
  })
3865
3886
  };
3866
3887
  }
3867
- var Gi = (
3888
+ var Ui = (
3868
3889
  /** @class */
3869
3890
  function() {
3870
3891
  function e(t, r, n, i) {
@@ -3896,13 +3917,13 @@ var Gi = (
3896
3917
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3897
3918
  var s = i || {};
3898
3919
  s.formatters;
3899
- var a = bn(s, ["formatters"]);
3900
- this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3920
+ var a = Zn(s, ["formatters"]);
3921
+ this.ast = e.__parse(t, D(D({}, a), { locale: this.resolvedLocale }));
3901
3922
  } else
3902
3923
  this.ast = t;
3903
3924
  if (!Array.isArray(this.ast))
3904
3925
  throw new TypeError("A message must be provided as a String or AST.");
3905
- this.formats = Mi(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
3926
+ this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
3906
3927
  }
3907
3928
  return Object.defineProperty(e, "defaultLocale", {
3908
3929
  get: function() {
@@ -3915,7 +3936,7 @@ var Gi = (
3915
3936
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3916
3937
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3917
3938
  }
3918
- }, e.__parse = Ai, e.formats = {
3939
+ }, e.__parse = Ni, e.formats = {
3919
3940
  number: {
3920
3941
  integer: {
3921
3942
  maximumFractionDigits: 0
@@ -3976,7 +3997,7 @@ var Gi = (
3976
3997
  }, e;
3977
3998
  }()
3978
3999
  );
3979
- function $i(e, t) {
4000
+ function Di(e, t) {
3980
4001
  if (t == null)
3981
4002
  return;
3982
4003
  if (t in e)
@@ -3997,92 +4018,92 @@ function $i(e, t) {
3997
4018
  n = void 0;
3998
4019
  return n;
3999
4020
  }
4000
- const W = {}, Ui = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Pr = (e, t) => {
4021
+ const W = {}, Fi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Ar = (e, t) => {
4001
4022
  if (t == null)
4002
4023
  return;
4003
4024
  if (t in W && e in W[t])
4004
4025
  return W[t][e];
4005
- const r = Le(t);
4026
+ const r = Re(t);
4006
4027
  for (let n = 0; n < r.length; n++) {
4007
- const i = r[n], o = Fi(i, e);
4028
+ const i = r[n], o = ki(i, e);
4008
4029
  if (o)
4009
- return Ui(e, t, o);
4030
+ return Fi(e, t, o);
4010
4031
  }
4011
4032
  };
4012
- let ht;
4013
- const he = Ce({});
4014
- function Di(e) {
4015
- return ht[e] || null;
4033
+ let ft;
4034
+ const le = Ie({});
4035
+ function ji(e) {
4036
+ return ft[e] || null;
4016
4037
  }
4017
- function Ar(e) {
4018
- return e in ht;
4038
+ function Or(e) {
4039
+ return e in ft;
4019
4040
  }
4020
- function Fi(e, t) {
4021
- if (!Ar(e))
4041
+ function ki(e, t) {
4042
+ if (!Or(e))
4022
4043
  return null;
4023
- const r = Di(e);
4024
- return $i(r, t);
4044
+ const r = ji(e);
4045
+ return Di(r, t);
4025
4046
  }
4026
- function ji(e) {
4047
+ function Vi(e) {
4027
4048
  if (e == null)
4028
4049
  return;
4029
- const t = Le(e);
4050
+ const t = Re(e);
4030
4051
  for (let r = 0; r < t.length; r++) {
4031
4052
  const n = t[r];
4032
- if (Ar(n))
4053
+ if (Or(n))
4033
4054
  return n;
4034
4055
  }
4035
4056
  }
4036
- function Or(e, ...t) {
4037
- delete W[e], he.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
4057
+ function Nr(e, ...t) {
4058
+ delete W[e], le.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
4038
4059
  }
4039
- le(
4040
- [he],
4060
+ ue(
4061
+ [le],
4041
4062
  ([e]) => Object.keys(e)
4042
4063
  );
4043
- he.subscribe((e) => ht = e);
4064
+ le.subscribe((e) => ft = e);
4044
4065
  const Se = {};
4045
- function ki(e, t) {
4066
+ function Xi(e, t) {
4046
4067
  Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4047
4068
  }
4048
- function Nr(e) {
4069
+ function Cr(e) {
4049
4070
  return Se[e];
4050
4071
  }
4051
- function Vi(e) {
4052
- return Le(e).map((t) => {
4053
- const r = Nr(t);
4072
+ function Wi(e) {
4073
+ return Re(e).map((t) => {
4074
+ const r = Cr(t);
4054
4075
  return [t, r ? [...r] : []];
4055
4076
  }).filter(([, t]) => t.length > 0);
4056
4077
  }
4057
- function ot(e) {
4058
- return e == null ? !1 : Le(e).some(
4078
+ function lt(e) {
4079
+ return e == null ? !1 : Re(e).some(
4059
4080
  (t) => {
4060
4081
  var r;
4061
- return (r = Nr(t)) == null ? void 0 : r.size;
4082
+ return (r = Cr(t)) == null ? void 0 : r.size;
4062
4083
  }
4063
4084
  );
4064
4085
  }
4065
- function Xi(e, t) {
4086
+ function zi(e, t) {
4066
4087
  return Promise.all(
4067
- t.map((n) => (ki(e, n), n().then((i) => i.default || i)))
4068
- ).then((n) => Or(e, ...n));
4069
- }
4070
- const fe = {};
4071
- function Cr(e) {
4072
- if (!ot(e))
4073
- return e in fe ? fe[e] : Promise.resolve();
4074
- const t = Vi(e);
4075
- return fe[e] = Promise.all(
4088
+ t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
4089
+ ).then((n) => Nr(e, ...n));
4090
+ }
4091
+ const ce = {};
4092
+ function Ir(e) {
4093
+ if (!lt(e))
4094
+ return e in ce ? ce[e] : Promise.resolve();
4095
+ const t = Wi(e);
4096
+ return ce[e] = Promise.all(
4076
4097
  t.map(
4077
- ([r, n]) => Xi(r, n)
4098
+ ([r, n]) => zi(r, n)
4078
4099
  )
4079
4100
  ).then(() => {
4080
- if (ot(e))
4081
- return Cr(e);
4082
- delete fe[e];
4083
- }), fe[e];
4101
+ if (lt(e))
4102
+ return Ir(e);
4103
+ delete ce[e];
4104
+ }), ce[e];
4084
4105
  }
4085
- const Wi = {
4106
+ const Zi = {
4086
4107
  number: {
4087
4108
  scientific: { notation: "scientific" },
4088
4109
  engineering: { notation: "engineering" },
@@ -4111,135 +4132,135 @@ const Wi = {
4111
4132
  timeZoneName: "short"
4112
4133
  }
4113
4134
  }
4114
- }, zi = {
4135
+ }, Qi = {
4115
4136
  fallbackLocale: null,
4116
4137
  loadingDelay: 200,
4117
- formats: Wi,
4138
+ formats: Zi,
4118
4139
  warnOnMissingMessages: !0,
4119
4140
  handleMissingMessage: void 0,
4120
4141
  ignoreTag: !0
4121
- }, Zi = zi;
4122
- function ae() {
4123
- return Zi;
4142
+ }, Ji = Qi;
4143
+ function se() {
4144
+ return Ji;
4124
4145
  }
4125
- const Ve = Ce(!1);
4126
- var Qi = Object.defineProperty, Ji = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
4146
+ const We = Ie(!1);
4147
+ var qi = Object.defineProperty, Yi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
4127
4148
  for (var r in t || (t = {}))
4128
- Yi.call(t, r) && jt(e, r, t[r]);
4129
- if (Ft)
4130
- for (var r of Ft(t))
4131
- Ki.call(t, r) && jt(e, r, t[r]);
4149
+ eo.call(t, r) && Vt(e, r, t[r]);
4150
+ if (kt)
4151
+ for (var r of kt(t))
4152
+ to.call(t, r) && Vt(e, r, t[r]);
4132
4153
  return e;
4133
- }, to = (e, t) => Ji(e, qi(t));
4134
- let st;
4135
- const Pe = Ce(null);
4136
- function kt(e) {
4154
+ }, no = (e, t) => Yi(e, Ki(t));
4155
+ let ht;
4156
+ const Ae = Ie(null);
4157
+ function Xt(e) {
4137
4158
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4138
4159
  }
4139
- function Le(e, t = ae().fallbackLocale) {
4140
- const r = kt(e);
4141
- return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
4160
+ function Re(e, t = se().fallbackLocale) {
4161
+ const r = Xt(e);
4162
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
4142
4163
  }
4143
4164
  function Y() {
4144
- return st != null ? st : void 0;
4165
+ return ht != null ? ht : void 0;
4145
4166
  }
4146
- Pe.subscribe((e) => {
4147
- st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4167
+ Ae.subscribe((e) => {
4168
+ ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4148
4169
  });
4149
- const ro = (e) => {
4150
- if (e && ji(e) && ot(e)) {
4151
- const { loadingDelay: t } = ae();
4170
+ const io = (e) => {
4171
+ if (e && Vi(e) && lt(e)) {
4172
+ const { loadingDelay: t } = se();
4152
4173
  let r;
4153
4174
  return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
4154
- () => Ve.set(!0),
4175
+ () => We.set(!0),
4155
4176
  t
4156
- ) : Ve.set(!0), Cr(e).then(() => {
4157
- Pe.set(e);
4177
+ ) : We.set(!0), Ir(e).then(() => {
4178
+ Ae.set(e);
4158
4179
  }).finally(() => {
4159
- clearTimeout(r), Ve.set(!1);
4180
+ clearTimeout(r), We.set(!1);
4160
4181
  });
4161
4182
  }
4162
- return Pe.set(e);
4163
- }, Z = to(eo({}, Pe), {
4164
- set: ro
4165
- }), Me = (e) => {
4183
+ return Ae.set(e);
4184
+ }, Z = no(ro({}, Ae), {
4185
+ set: io
4186
+ }), Ge = (e) => {
4166
4187
  const t = /* @__PURE__ */ Object.create(null);
4167
4188
  return (n) => {
4168
4189
  const i = JSON.stringify(n);
4169
4190
  return i in t ? t[i] : t[i] = e(n);
4170
4191
  };
4171
4192
  };
4172
- var no = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Ir = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4193
+ var oo = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Lr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4173
4194
  for (var r in t || (t = {}))
4174
- Ir.call(t, r) && Vt(e, r, t[r]);
4175
- if (Ae)
4176
- for (var r of Ae(t))
4177
- Lr.call(t, r) && Vt(e, r, t[r]);
4195
+ Lr.call(t, r) && Wt(e, r, t[r]);
4196
+ if (Oe)
4197
+ for (var r of Oe(t))
4198
+ Mr.call(t, r) && Wt(e, r, t[r]);
4178
4199
  return e;
4179
- }, ce = (e, t) => {
4200
+ }, he = (e, t) => {
4180
4201
  var r = {};
4181
4202
  for (var n in e)
4182
- Ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4183
- if (e != null && Ae)
4184
- for (var n of Ae(e))
4185
- t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
4203
+ Lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4204
+ if (e != null && Oe)
4205
+ for (var n of Oe(e))
4206
+ t.indexOf(n) < 0 && Mr.call(e, n) && (r[n] = e[n]);
4186
4207
  return r;
4187
4208
  };
4188
- const be = (e, t) => {
4189
- const { formats: r } = ae();
4209
+ const de = (e, t) => {
4210
+ const { formats: r } = se();
4190
4211
  if (e in r && t in r[e])
4191
4212
  return r[e][t];
4192
4213
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4193
- }, io = Me(
4214
+ }, so = Ge(
4194
4215
  (e) => {
4195
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
4216
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4196
4217
  if (r == null)
4197
4218
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4198
- return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
4219
+ return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4199
4220
  }
4200
- ), oo = Me(
4221
+ ), ao = Ge(
4201
4222
  (e) => {
4202
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
4223
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4203
4224
  if (r == null)
4204
4225
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4205
- return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
4226
+ return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4206
4227
  }
4207
- ), so = Me(
4228
+ ), uo = Ge(
4208
4229
  (e) => {
4209
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
4230
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4210
4231
  if (r == null)
4211
4232
  throw new Error(
4212
4233
  '[svelte-i18n] A "locale" must be set to format time values'
4213
4234
  );
4214
- return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
4235
+ return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4215
4236
  }
4216
- ), ao = (e = {}) => {
4237
+ ), lo = (e = {}) => {
4217
4238
  var t = e, {
4218
4239
  locale: r = Y()
4219
- } = t, n = ce(t, [
4240
+ } = t, n = he(t, [
4220
4241
  "locale"
4221
4242
  ]);
4222
- return io(ct({ locale: r }, n));
4223
- }, uo = (e = {}) => {
4243
+ return so(pt({ locale: r }, n));
4244
+ }, ho = (e = {}) => {
4224
4245
  var t = e, {
4225
4246
  locale: r = Y()
4226
- } = t, n = ce(t, [
4247
+ } = t, n = he(t, [
4227
4248
  "locale"
4228
4249
  ]);
4229
- return oo(ct({ locale: r }, n));
4230
- }, lo = (e = {}) => {
4250
+ return ao(pt({ locale: r }, n));
4251
+ }, co = (e = {}) => {
4231
4252
  var t = e, {
4232
4253
  locale: r = Y()
4233
- } = t, n = ce(t, [
4254
+ } = t, n = he(t, [
4234
4255
  "locale"
4235
4256
  ]);
4236
- return so(ct({ locale: r }, n));
4237
- }, ho = Me(
4257
+ return uo(pt({ locale: r }, n));
4258
+ }, fo = Ge(
4238
4259
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4239
- (e, t = Y()) => new Gi(e, t, ae().formats, {
4240
- ignoreTag: ae().ignoreTag
4260
+ (e, t = Y()) => new Ui(e, t, se().formats, {
4261
+ ignoreTag: se().ignoreTag
4241
4262
  })
4242
- ), co = (e, t = {}) => {
4263
+ ), po = (e, t = {}) => {
4243
4264
  var r, n, i, o;
4244
4265
  let s = t;
4245
4266
  typeof e == "object" && (s = e, e = s.id);
@@ -4252,9 +4273,9 @@ const be = (e, t) => {
4252
4273
  throw new Error(
4253
4274
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4254
4275
  );
4255
- let h = Pr(e, l);
4276
+ let h = Ar(e, l);
4256
4277
  if (!h)
4257
- h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4278
+ h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4258
4279
  else if (typeof h != "string")
4259
4280
  return console.warn(
4260
4281
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4263,7 +4284,7 @@ const be = (e, t) => {
4263
4284
  return h;
4264
4285
  let f = h;
4265
4286
  try {
4266
- f = ho(h, l).format(a);
4287
+ f = fo(h, l).format(a);
4267
4288
  } catch (c) {
4268
4289
  c instanceof Error && console.warn(
4269
4290
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4271,25 +4292,25 @@ const be = (e, t) => {
4271
4292
  );
4272
4293
  }
4273
4294
  return f;
4274
- }, fo = (e, t) => lo(t).format(e), mo = (e, t) => uo(t).format(e), po = (e, t) => ao(t).format(e), bo = (e, t = Y()) => Pr(e, t), go = le([Z, he], () => co);
4275
- le([Z], () => fo);
4276
- le([Z], () => mo);
4277
- le([Z], () => po);
4278
- le([Z, he], () => bo);
4295
+ }, mo = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => lo(t).format(e), vo = (e, t = Y()) => Ar(e, t), yo = ue([Z, le], () => po);
4296
+ ue([Z], () => mo);
4297
+ ue([Z], () => bo);
4298
+ ue([Z], () => go);
4299
+ ue([Z, le], () => vo);
4279
4300
  window.emWidgets = { topic: On };
4280
- const vo = (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));
4281
- function yo({ withLocale: e, translations: t }) {
4301
+ const _o = (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));
4302
+ function Eo({ withLocale: e, translations: t }) {
4282
4303
  Z.subscribe((r) => {
4283
- r == null && (he.set(t), Z.set(e));
4304
+ r == null && (le.set(t), Z.set(e));
4284
4305
  });
4285
4306
  }
4286
- function Xt(e, t) {
4287
- Or(e, t);
4307
+ function zt(e, t) {
4308
+ Nr(e, t);
4288
4309
  }
4289
- function _o(e) {
4310
+ function xo(e) {
4290
4311
  Z.set(e);
4291
4312
  }
4292
- const Wt = {
4313
+ const Zt = {
4293
4314
  en: {
4294
4315
  loading: "Loading, please wait ...",
4295
4316
  playNow: "Play Now",
@@ -4300,22 +4321,22 @@ const Wt = {
4300
4321
  noMoreGames: "No more games"
4301
4322
  }
4302
4323
  };
4303
- function Eo(e) {
4304
- Xr(e, "svelte-xv9pd7", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
4324
+ function wo(e) {
4325
+ Wr(e, "svelte-xv9pd7", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
4305
4326
  }
4306
- function zt(e, t, r) {
4327
+ function Qt(e, t, r) {
4307
4328
  const n = e.slice();
4308
4329
  return n[32] = t[r], n;
4309
4330
  }
4310
- function Zt(e, t, r) {
4331
+ function Jt(e, t, r) {
4311
4332
  const n = e.slice();
4312
4333
  return n[32] = t[r], n[36] = r, n;
4313
4334
  }
4314
- function Qt(e) {
4335
+ function qt(e) {
4315
4336
  let t, r;
4316
4337
  return {
4317
4338
  c() {
4318
- t = O("div"), r = O("casino-tournaments-tab"), C(r, "part", "TournamentGames"), C(r, "tabs", "casino,sports"), C(r, "tab", "casino"), C(r, "tid", at), C(
4339
+ t = O("div"), r = O("casino-tournaments-tab"), C(r, "part", "TournamentGames"), C(r, "tabs", "casino,sports"), C(r, "tab", "casino"), C(r, "tid", ct), C(
4319
4340
  r,
4320
4341
  "clientstyling",
4321
4342
  /*clientstyling*/
@@ -4333,7 +4354,7 @@ function Qt(e) {
4333
4354
  ), v(t, "class", "GamesTabNav");
4334
4355
  },
4335
4356
  m(n, i) {
4336
- F(n, t, i), x(t, r);
4357
+ j(n, t, i), x(t, r);
4337
4358
  },
4338
4359
  p(n, i) {
4339
4360
  i[0] & /*clientstyling*/
@@ -4361,17 +4382,17 @@ function Qt(e) {
4361
4382
  }
4362
4383
  };
4363
4384
  }
4364
- function xo(e) {
4385
+ function To(e) {
4365
4386
  let t, r = (
4366
4387
  /*$_*/
4367
4388
  e[13]("noGamesAvailable") + ""
4368
4389
  ), n;
4369
4390
  return {
4370
4391
  c() {
4371
- t = O("div"), n = D(r), v(t, "class", "NoGames");
4392
+ t = O("div"), n = F(r), v(t, "class", "NoGames");
4372
4393
  },
4373
4394
  m(i, o) {
4374
- F(i, t, o), x(t, n);
4395
+ j(i, t, o), x(t, n);
4375
4396
  },
4376
4397
  p(i, o) {
4377
4398
  o[0] & /*$_*/
@@ -4383,17 +4404,17 @@ function xo(e) {
4383
4404
  }
4384
4405
  };
4385
4406
  }
4386
- function wo(e) {
4407
+ function So(e) {
4387
4408
  let t, r = (
4388
4409
  /*$_*/
4389
4410
  e[13]("noMoreGames") + ""
4390
4411
  ), n;
4391
4412
  return {
4392
4413
  c() {
4393
- t = O("div"), n = D(r), v(t, "class", "NoGames");
4414
+ t = O("div"), n = F(r), v(t, "class", "NoGames");
4394
4415
  },
4395
4416
  m(i, o) {
4396
- F(i, t, o), x(t, n);
4417
+ j(i, t, o), x(t, n);
4397
4418
  },
4398
4419
  p(i, o) {
4399
4420
  o[0] & /*$_*/
@@ -4405,17 +4426,17 @@ function wo(e) {
4405
4426
  }
4406
4427
  };
4407
4428
  }
4408
- function To(e) {
4429
+ function Ho(e) {
4409
4430
  let t, r = (
4410
4431
  /*$_*/
4411
4432
  e[13]("loading") + ""
4412
4433
  ), n;
4413
4434
  return {
4414
4435
  c() {
4415
- t = O("div"), n = D(r), v(t, "class", "LoadingGames");
4436
+ t = O("div"), n = F(r), v(t, "class", "LoadingGames");
4416
4437
  },
4417
4438
  m(i, o) {
4418
- F(i, t, o), x(t, n);
4439
+ j(i, t, o), x(t, n);
4419
4440
  },
4420
4441
  p(i, o) {
4421
4442
  o[0] & /*$_*/
@@ -4427,23 +4448,23 @@ function To(e) {
4427
4448
  }
4428
4449
  };
4429
4450
  }
4430
- function So(e) {
4451
+ function Bo(e) {
4431
4452
  let t, r = Be(
4432
4453
  /*casinoGames*/
4433
4454
  e[8]
4434
4455
  ), n = [];
4435
4456
  for (let i = 0; i < r.length; i += 1)
4436
- n[i] = Jt(Zt(e, r, i));
4457
+ n[i] = Yt(Jt(e, r, i));
4437
4458
  return {
4438
4459
  c() {
4439
4460
  for (let i = 0; i < n.length; i += 1)
4440
4461
  n[i].c();
4441
- t = Zr();
4462
+ t = Qr();
4442
4463
  },
4443
4464
  m(i, o) {
4444
4465
  for (let s = 0; s < n.length; s += 1)
4445
4466
  n[s] && n[s].m(i, o);
4446
- F(i, t, o);
4467
+ j(i, t, o);
4447
4468
  },
4448
4469
  p(i, o) {
4449
4470
  if (o[0] & /*gameClicked, casinoGames, $_*/
@@ -4454,8 +4475,8 @@ function So(e) {
4454
4475
  );
4455
4476
  let s;
4456
4477
  for (s = 0; s < r.length; s += 1) {
4457
- const a = Zt(i, r, s);
4458
- n[s] ? n[s].p(a, o) : (n[s] = Jt(a), n[s].c(), n[s].m(t.parentNode, t));
4478
+ const a = Jt(i, r, s);
4479
+ n[s] ? n[s].p(a, o) : (n[s] = Yt(a), n[s].c(), n[s].m(t.parentNode, t));
4459
4480
  }
4460
4481
  for (; s < n.length; s += 1)
4461
4482
  n[s].d(1);
@@ -4463,26 +4484,26 @@ function So(e) {
4463
4484
  }
4464
4485
  },
4465
4486
  d(i) {
4466
- i && $(t), tr(n, i);
4487
+ i && $(t), nr(n, i);
4467
4488
  }
4468
4489
  };
4469
4490
  }
4470
- function Jt(e) {
4491
+ function Yt(e) {
4471
4492
  let t, r, n = (
4472
4493
  /*$_*/
4473
4494
  e[13]("playNow") + ""
4474
4495
  ), i, o, s, a, l, u, h, f, c;
4475
4496
  return {
4476
4497
  c() {
4477
- t = O("div"), r = O("span"), i = D(n), o = k(), s = O("ui-image"), h = k(), v(r, "class", "PlayNowButton"), wt(s.src, a = /*item*/
4498
+ t = O("div"), r = O("span"), i = F(n), o = V(), s = O("ui-image"), h = V(), v(r, "class", "PlayNowButton"), St(s.src, a = /*item*/
4478
4499
  e[32].thumbnail) || C(s, "src", a), C(s, "width", "132px"), C(s, "height", "100px"), C(s, "alt", l = /*item*/
4479
4500
  e[32].name), C(s, "title", u = /*item*/
4480
4501
  e[32].name), v(t, "class", "item"), v(t, "id", "g_" + /*idx*/
4481
4502
  e[36]), v(t, "role", "button"), v(t, "tabindex", "0");
4482
4503
  },
4483
- m(p, d) {
4484
- F(p, t, d), x(t, r), x(r, i), x(t, o), x(t, s), x(t, h), f || (c = Xe(t, "click", function() {
4485
- Oe(
4504
+ m(m, d) {
4505
+ j(m, t, d), x(t, r), x(r, i), x(t, o), x(t, s), x(t, h), f || (c = ze(t, "click", function() {
4506
+ Ne(
4486
4507
  /*gameClicked*/
4487
4508
  e[15](
4488
4509
  /*item*/
@@ -4494,81 +4515,81 @@ function Jt(e) {
4494
4515
  ).apply(this, arguments);
4495
4516
  }), f = !0);
4496
4517
  },
4497
- p(p, d) {
4498
- e = p, d[0] & /*$_*/
4518
+ p(m, d) {
4519
+ e = m, d[0] & /*$_*/
4499
4520
  8192 && n !== (n = /*$_*/
4500
4521
  e[13]("playNow") + "") && z(i, n), d[0] & /*casinoGames*/
4501
- 256 && !wt(s.src, a = /*item*/
4522
+ 256 && !St(s.src, a = /*item*/
4502
4523
  e[32].thumbnail) && C(s, "src", a), d[0] & /*casinoGames*/
4503
4524
  256 && l !== (l = /*item*/
4504
4525
  e[32].name) && C(s, "alt", l), d[0] & /*casinoGames*/
4505
4526
  256 && u !== (u = /*item*/
4506
4527
  e[32].name) && C(s, "title", u);
4507
4528
  },
4508
- d(p) {
4509
- p && $(t), f = !1, c();
4529
+ d(m) {
4530
+ m && $(t), f = !1, c();
4510
4531
  }
4511
4532
  };
4512
4533
  }
4513
- function Ho(e) {
4534
+ function Po(e) {
4514
4535
  let t, r, n, i, o, s, a, l = (
4515
4536
  /*$_*/
4516
4537
  e[13]("previous") + ""
4517
- ), u, h, f, c, p, d, b = (
4538
+ ), u, h, f, c, m, d, b = (
4518
4539
  /*$_*/
4519
4540
  e[13]("next") + ""
4520
- ), T, N, _, B, I, g, P, A, U;
4541
+ ), w, N, _, H, I, g, B, P, U;
4521
4542
  return {
4522
4543
  c() {
4523
- t = O("div"), r = O("button"), n = ye("svg"), i = ye("path"), s = k(), a = O("span"), u = D(l), c = k(), p = O("button"), d = O("span"), T = D(b), N = k(), _ = ye("svg"), B = ye("path"), v(i, "fill", o = /*hasPreviousPage*/
4544
+ t = O("div"), r = O("button"), n = ye("svg"), i = ye("path"), s = V(), a = O("span"), u = F(l), c = V(), m = O("button"), d = O("span"), w = F(b), N = V(), _ = ye("svg"), H = ye("path"), v(i, "fill", o = /*hasPreviousPage*/
4524
4545
  e[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), v(i, "class", "a"), v(i, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), v(i, "transform", "translate(19.246 -6.188) rotate(90)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "8"), v(n, "height", "13.992"), v(n, "viewBox", "0 0 8 13.992"), v(a, "class", "TournamentsPaginationControlsText"), v(r, "class", h = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
4525
4546
  e[10] ? "" : "Disabled")), r.disabled = f = /*hasPreviousPage*/
4526
- !e[10], v(d, "class", "TournamentsPaginationControlsText"), v(B, "fill", I = /*hasNextPage*/
4527
- e[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), v(B, "class", "a"), v(B, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), v(B, "transform", "translate(-11.246 20.179) rotate(-90)"), v(_, "xmlns", "http://www.w3.org/2000/svg"), v(_, "width", "8"), v(_, "height", "13.992"), v(_, "viewBox", "0 0 8 13.992"), v(p, "class", g = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
4528
- e[11] ? "" : "Disabled")), p.disabled = P = /*hasNextPage*/
4547
+ !e[10], v(d, "class", "TournamentsPaginationControlsText"), v(H, "fill", I = /*hasNextPage*/
4548
+ e[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), v(H, "class", "a"), v(H, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), v(H, "transform", "translate(-11.246 20.179) rotate(-90)"), v(_, "xmlns", "http://www.w3.org/2000/svg"), v(_, "width", "8"), v(_, "height", "13.992"), v(_, "viewBox", "0 0 8 13.992"), v(m, "class", g = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
4549
+ e[11] ? "" : "Disabled")), m.disabled = B = /*hasNextPage*/
4529
4550
  !e[11], v(t, "class", "TournamentsPaginationControlsArea");
4530
4551
  },
4531
- m(S, L) {
4532
- F(S, t, L), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, u), x(t, c), x(t, p), x(p, d), x(d, T), x(p, N), x(p, _), x(_, B), A || (U = [
4533
- Xe(
4552
+ m(T, L) {
4553
+ j(T, t, L), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, u), x(t, c), x(t, m), x(m, d), x(d, w), x(m, N), x(m, _), x(_, H), P || (U = [
4554
+ ze(
4534
4555
  r,
4535
4556
  "click",
4536
4557
  /*gotoPage*/
4537
4558
  e[16].bind(this, -1)
4538
4559
  ),
4539
- Xe(
4540
- p,
4560
+ ze(
4561
+ m,
4541
4562
  "click",
4542
4563
  /*gotoPage*/
4543
4564
  e[16].bind(this, 1)
4544
4565
  )
4545
- ], A = !0);
4566
+ ], P = !0);
4546
4567
  },
4547
- p(S, L) {
4568
+ p(T, L) {
4548
4569
  L[0] & /*hasPreviousPage*/
4549
4570
  1024 && o !== (o = /*hasPreviousPage*/
4550
- S[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && v(i, "fill", o), L[0] & /*$_*/
4571
+ T[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && v(i, "fill", o), L[0] & /*$_*/
4551
4572
  8192 && l !== (l = /*$_*/
4552
- S[13]("previous") + "") && z(u, l), L[0] & /*hasPreviousPage*/
4573
+ T[13]("previous") + "") && z(u, l), L[0] & /*hasPreviousPage*/
4553
4574
  1024 && h !== (h = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
4554
- S[10] ? "" : "Disabled")) && v(r, "class", h), L[0] & /*hasPreviousPage*/
4575
+ T[10] ? "" : "Disabled")) && v(r, "class", h), L[0] & /*hasPreviousPage*/
4555
4576
  1024 && f !== (f = /*hasPreviousPage*/
4556
- !S[10]) && (r.disabled = f), L[0] & /*$_*/
4577
+ !T[10]) && (r.disabled = f), L[0] & /*$_*/
4557
4578
  8192 && b !== (b = /*$_*/
4558
- S[13]("next") + "") && z(T, b), L[0] & /*hasNextPage*/
4579
+ T[13]("next") + "") && z(w, b), L[0] & /*hasNextPage*/
4559
4580
  2048 && I !== (I = /*hasNextPage*/
4560
- S[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && v(B, "fill", I), L[0] & /*hasNextPage*/
4581
+ T[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && v(H, "fill", I), L[0] & /*hasNextPage*/
4561
4582
  2048 && g !== (g = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
4562
- S[11] ? "" : "Disabled")) && v(p, "class", g), L[0] & /*hasNextPage*/
4563
- 2048 && P !== (P = /*hasNextPage*/
4564
- !S[11]) && (p.disabled = P);
4583
+ T[11] ? "" : "Disabled")) && v(m, "class", g), L[0] & /*hasNextPage*/
4584
+ 2048 && B !== (B = /*hasNextPage*/
4585
+ !T[11]) && (m.disabled = B);
4565
4586
  },
4566
- d(S) {
4567
- S && $(t), A = !1, ue(U);
4587
+ d(T) {
4588
+ T && $(t), P = !1, ae(U);
4568
4589
  }
4569
4590
  };
4570
4591
  }
4571
- function qt(e) {
4592
+ function Kt(e) {
4572
4593
  let t, r = (
4573
4594
  /*item*/
4574
4595
  e[32].rule + ""
@@ -4578,10 +4599,10 @@ function qt(e) {
4578
4599
  ), s;
4579
4600
  return {
4580
4601
  c() {
4581
- t = O("li"), n = D(r), i = k(), s = D(o), v(t, "part", "li"), v(t, "class", "Market");
4602
+ t = O("li"), n = F(r), i = V(), s = F(o), v(t, "part", "li"), v(t, "class", "Market");
4582
4603
  },
4583
4604
  m(a, l) {
4584
- F(a, t, l), x(t, n), x(t, i), x(t, s);
4605
+ j(a, t, l), x(t, n), x(t, i), x(t, s);
4585
4606
  },
4586
4607
  p(a, l) {
4587
4608
  l[0] & /*sportsRules*/
@@ -4595,37 +4616,37 @@ function qt(e) {
4595
4616
  }
4596
4617
  };
4597
4618
  }
4598
- function Bo(e) {
4599
- var B, I;
4619
+ function Ao(e) {
4620
+ var H, I;
4600
4621
  let t, r, n, i, o, s, a, l, u, h, f, c = (
4601
4622
  /*tournamentdetails*/
4602
4623
  e[3] && /*tournamentdetails*/
4603
- ((B = e[3].wallet) == null ? void 0 : B.sports) && /*tournamentdetails*/
4604
- ((I = e[3].wallet) == null ? void 0 : I.casino) && Qt(e)
4624
+ ((H = e[3].wallet) == null ? void 0 : H.sports) && /*tournamentdetails*/
4625
+ ((I = e[3].wallet) == null ? void 0 : I.casino) && qt(e)
4605
4626
  );
4606
- function p(g, P) {
4607
- var A;
4627
+ function m(g, B) {
4628
+ var P;
4608
4629
  return (
4609
4630
  /*casinoGames*/
4610
- (A = g[8]) != null && A.length ? So : (
4631
+ (P = g[8]) != null && P.length ? Bo : (
4611
4632
  /*isLoadingGames*/
4612
- g[12] ? To : (
4633
+ g[12] ? Ho : (
4613
4634
  /*noMoreGamesWhenPagination*/
4614
- g[9] ? wo : xo
4635
+ g[9] ? So : To
4615
4636
  )
4616
4637
  )
4617
4638
  );
4618
4639
  }
4619
- let d = p(e), b = d(e), T = !/*isMobileDevice*/
4620
- e[14] && Ho(e), N = Be(
4640
+ let d = m(e), b = d(e), w = !/*isMobileDevice*/
4641
+ e[14] && Po(e), N = Be(
4621
4642
  /*sportsRules*/
4622
4643
  e[7]
4623
4644
  ), _ = [];
4624
4645
  for (let g = 0; g < N.length; g += 1)
4625
- _[g] = qt(zt(e, N, g));
4646
+ _[g] = Kt(Qt(e, N, g));
4626
4647
  return {
4627
4648
  c() {
4628
- t = O("div"), c && c.c(), r = k(), n = O("div"), i = O("div"), o = O("div"), b.c(), s = k(), T && T.c(), l = k(), u = O("div"), h = O("ul");
4649
+ t = O("div"), c && c.c(), r = V(), n = O("div"), i = O("div"), o = O("div"), b.c(), s = V(), w && w.c(), l = V(), u = O("div"), h = O("ul");
4629
4650
  for (let g = 0; g < _.length; g += 1)
4630
4651
  _[g].c();
4631
4652
  v(o, "class", "GameList items"), v(i, "class", a = "TabContent GamesContent " + /*activeTab*/
@@ -4637,66 +4658,66 @@ function Bo(e) {
4637
4658
  e[14] ? "MobileClass" : ""
4638
4659
  );
4639
4660
  },
4640
- m(g, P) {
4641
- F(g, t, P), c && c.m(t, null), x(t, r), x(t, n), x(n, i), x(i, o), b.m(o, null), e[19](o), x(i, s), T && T.m(i, null), x(n, l), x(n, u), x(u, h);
4642
- for (let A = 0; A < _.length; A += 1)
4643
- _[A] && _[A].m(h, null);
4661
+ m(g, B) {
4662
+ j(g, t, B), c && c.m(t, null), x(t, r), x(t, n), x(n, i), x(i, o), b.m(o, null), e[19](o), x(i, s), w && w.m(i, null), x(n, l), x(n, u), x(u, h);
4663
+ for (let P = 0; P < _.length; P += 1)
4664
+ _[P] && _[P].m(h, null);
4644
4665
  e[20](t);
4645
4666
  },
4646
- p(g, P) {
4647
- var A, U;
4667
+ p(g, B) {
4668
+ var P, U;
4648
4669
  if (/*tournamentdetails*/
4649
4670
  g[3] && /*tournamentdetails*/
4650
- ((A = g[3].wallet) != null && A.sports) && /*tournamentdetails*/
4651
- ((U = g[3].wallet) != null && U.casino) ? c ? c.p(g, P) : (c = Qt(g), c.c(), c.m(t, r)) : c && (c.d(1), c = null), d === (d = p(g)) && b ? b.p(g, P) : (b.d(1), b = d(g), b && (b.c(), b.m(o, null))), /*isMobileDevice*/
4652
- g[14] || T.p(g, P), P[0] & /*activeTab*/
4671
+ ((P = g[3].wallet) != null && P.sports) && /*tournamentdetails*/
4672
+ ((U = g[3].wallet) != null && U.casino) ? c ? c.p(g, B) : (c = qt(g), c.c(), c.m(t, r)) : c && (c.d(1), c = null), d === (d = m(g)) && b ? b.p(g, B) : (b.d(1), b = d(g), b && (b.c(), b.m(o, null))), /*isMobileDevice*/
4673
+ g[14] || w.p(g, B), B[0] & /*activeTab*/
4653
4674
  64 && a !== (a = "TabContent GamesContent " + /*activeTab*/
4654
- (g[6] != "casino" ? "hidden" : "")) && v(i, "class", a), P[0] & /*$_, sportsRules*/
4675
+ (g[6] != "casino" ? "hidden" : "")) && v(i, "class", a), B[0] & /*$_, sportsRules*/
4655
4676
  8320) {
4656
4677
  N = Be(
4657
4678
  /*sportsRules*/
4658
4679
  g[7]
4659
4680
  );
4660
- let S;
4661
- for (S = 0; S < N.length; S += 1) {
4662
- const L = zt(g, N, S);
4663
- _[S] ? _[S].p(L, P) : (_[S] = qt(L), _[S].c(), _[S].m(h, null));
4681
+ let T;
4682
+ for (T = 0; T < N.length; T += 1) {
4683
+ const L = Qt(g, N, T);
4684
+ _[T] ? _[T].p(L, B) : (_[T] = Kt(L), _[T].c(), _[T].m(h, null));
4664
4685
  }
4665
- for (; S < _.length; S += 1)
4666
- _[S].d(1);
4686
+ for (; T < _.length; T += 1)
4687
+ _[T].d(1);
4667
4688
  _.length = N.length;
4668
4689
  }
4669
- P[0] & /*activeTab*/
4690
+ B[0] & /*activeTab*/
4670
4691
  64 && f !== (f = "TabContent GamesContent " + /*activeTab*/
4671
4692
  (g[6] != "sports" ? "hidden" : "")) && v(u, "class", f);
4672
4693
  },
4673
4694
  i: G,
4674
4695
  o: G,
4675
4696
  d(g) {
4676
- g && $(t), c && c.d(), b.d(), e[19](null), T && T.d(), tr(_, g), e[20](null);
4697
+ g && $(t), c && c.d(), b.d(), e[19](null), w && w.d(), nr(_, g), e[20](null);
4677
4698
  }
4678
4699
  };
4679
4700
  }
4680
- let at = "gameTab";
4681
- function Po(e, t, r) {
4701
+ let ct = "gameTab";
4702
+ function Oo(e, t, r) {
4682
4703
  let n;
4683
- Vr(e, go, (m) => r(13, n = m));
4684
- let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: l = "en" } = t, u = "casino", h = [], f = [], c, p = window.navigator.userAgent, d, b, T, N = vo(p), _ = !1;
4685
- yo({ withLocale: "en", translations: {} });
4686
- const B = () => {
4687
- fetch(a).then((m) => m.json()).then((m) => {
4688
- Object.keys(m).forEach((j) => {
4689
- Xt(j, m[j]);
4704
+ Xr(e, yo, (p) => r(13, n = p));
4705
+ let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: l = "en" } = t, u = "casino", h = [], f = [], c, m = window.navigator.userAgent, d, b, w, N = _o(m), _ = !1;
4706
+ Eo({ withLocale: "en", translations: {} });
4707
+ const H = () => {
4708
+ fetch(a).then((p) => p.json()).then((p) => {
4709
+ Object.keys(p).forEach((k) => {
4710
+ zt(k, p[k]);
4690
4711
  });
4691
- }).catch((m) => {
4692
- console.log(m);
4712
+ }).catch((p) => {
4713
+ console.log(p);
4693
4714
  });
4694
4715
  };
4695
- Object.keys(Wt).forEach((m) => {
4696
- Xt(m, Wt[m]);
4716
+ Object.keys(Zt).forEach((p) => {
4717
+ zt(p, Zt[p]);
4697
4718
  });
4698
4719
  const I = () => {
4699
- _o(l), setTimeout(
4720
+ xo(l), setTimeout(
4700
4721
  () => {
4701
4722
  g();
4702
4723
  },
@@ -4713,68 +4734,68 @@ function Po(e, t, r) {
4713
4734
  },
4714
4735
  window.location.href
4715
4736
  );
4716
- }, P = (m) => {
4737
+ }, B = (p) => {
4717
4738
  window.postMessage(
4718
4739
  {
4719
4740
  type: "TournamentGameAction",
4720
- gameId: m.id,
4721
- name: m.name,
4722
- launchUrl: m.launchUrl
4741
+ gameId: p.id,
4742
+ name: p.name,
4743
+ launchUrl: p.launchUrl
4723
4744
  },
4724
4745
  window.location.href
4725
4746
  );
4726
4747
  };
4727
- let A = !1, U = !1, S = !1;
4728
- const L = (m) => {
4729
- !A && m === -1 || !U && m === 1 || (r(12, S = !0), r(8, f = []), window.postMessage(
4748
+ let P = !1, U = !1, T = !1;
4749
+ const L = (p) => {
4750
+ !P && p === -1 || !U && p === 1 || (r(12, T = !0), r(8, f = []), window.postMessage(
4730
4751
  {
4731
4752
  type: "TournamentsLoadMoreGames",
4732
4753
  id: c.id,
4733
- isNext: m > 0
4754
+ isNext: p > 0
4734
4755
  },
4735
4756
  window.location.href
4736
4757
  ));
4737
- }, ft = () => {
4738
- var j, J, dt, bt, gt;
4739
- r(8, f = ((j = c.games) == null ? void 0 : j.items) || []), r(9, _ = !1), r(10, A = !1), r(11, U = ((J = c.games) == null ? void 0 : J.total) > ((dt = c.games) == null ? void 0 : dt.items.length)), pt();
4740
- const m = (gt = (bt = c.metadata) == null ? void 0 : bt.sports) == null ? void 0 : gt.rules;
4741
- if (m) {
4758
+ }, mt = () => {
4759
+ var k, J, gt, vt, yt;
4760
+ r(8, f = ((k = c.games) == null ? void 0 : k.items) || []), r(9, _ = !1), r(10, P = !1), r(11, U = ((J = c.games) == null ? void 0 : J.total) > ((gt = c.games) == null ? void 0 : gt.items.length)), bt();
4761
+ const p = (yt = (vt = c.metadata) == null ? void 0 : vt.sports) == null ? void 0 : yt.rules;
4762
+ if (p) {
4742
4763
  r(6, u = c.wallet.casino ? "casino" : "sports");
4743
4764
  try {
4744
- const ge = JSON.parse(m);
4765
+ const ge = JSON.parse(p);
4745
4766
  r(7, h = ge[l] || ge["*"]);
4746
4767
  } catch (ge) {
4747
4768
  console.error("Error parsing tournament rules", ge);
4748
4769
  }
4749
4770
  }
4750
- }, mt = (m) => {
4771
+ }, dt = (p) => {
4751
4772
  var J;
4752
- if (!m.data || !m.data.type)
4773
+ if (!p.data || !p.data.type)
4753
4774
  return;
4754
- const j = m.data.tid || "";
4755
- switch (m.data.type) {
4775
+ const k = p.data.tid || "";
4776
+ switch (p.data.type) {
4756
4777
  case "TournamentsTabSwitch":
4757
- j === at && r(6, u = m.data.tab);
4778
+ k === ct && r(6, u = p.data.tab);
4758
4779
  break;
4759
4780
  case "TournamentsTabListenerLoaded":
4760
4781
  g();
4761
4782
  break;
4762
4783
  case "TournamentsGamesUpdate":
4763
- r(3, c = m.data.details), ft();
4784
+ r(3, c = p.data.details), mt();
4764
4785
  break;
4765
4786
  case "TournamentsLoadedMoreGames":
4766
- N ? (J = m.data.games) != null && J.items.length && (r(8, f = [...f, ...m.data.games.items]), pt()) : (r(12, S = !1), r(8, f = [...m.data.games.items]), r(11, U = m.data.hasNextPage), r(10, A = m.data.hasPreviousPage), r(9, _ = !f.length));
4787
+ N ? (J = p.data.games) != null && J.items.length && (r(8, f = [...f, ...p.data.games.items]), bt()) : (r(12, T = !1), r(8, f = [...p.data.games.items]), r(11, U = p.data.hasNextPage), r(10, P = p.data.hasPreviousPage), r(9, _ = !f.length));
4767
4788
  break;
4768
4789
  default:
4769
- console.warn(`Unhandled message type: ${m.data.type}`);
4790
+ console.warn(`Unhandled message type: ${p.data.type}`);
4770
4791
  break;
4771
4792
  }
4772
4793
  };
4773
4794
  let Q;
4774
- const Mr = (m) => {
4775
- Q = m == null ? void 0 : m.lastElementChild, !(!N || T || !m || !Q) && (T = new IntersectionObserver((j) => {
4776
- j.forEach((J) => {
4777
- J.isIntersecting && (T.unobserve(Q), window.postMessage(
4795
+ const Rr = (p) => {
4796
+ Q = p == null ? void 0 : p.lastElementChild, !(!N || w || !p || !Q) && (w = new IntersectionObserver((k) => {
4797
+ k.forEach((J) => {
4798
+ J.isIntersecting && (w.unobserve(Q), window.postMessage(
4778
4799
  {
4779
4800
  type: "TournamentsLoadMoreGames",
4780
4801
  id: c.id,
@@ -4784,39 +4805,39 @@ function Po(e, t, r) {
4784
4805
  ));
4785
4806
  });
4786
4807
  }));
4787
- }, pt = () => {
4788
- !N || !Q || !T || !f.length || (T.unobserve(Q), Q = b.lastElementChild, T.observe(Q));
4808
+ }, bt = () => {
4809
+ !N || !Q || !w || !f.length || (w.unobserve(Q), Q = b.lastElementChild, w.observe(Q));
4789
4810
  };
4790
- Yr(() => N && T && T.disconnect()), qr(() => (window.postMessage(
4811
+ Kr(() => N && w && w.disconnect()), Yr(() => (window.postMessage(
4791
4812
  {
4792
4813
  type: "TournamentsGamesListenerLoaded",
4793
- gamesTabTid: at
4814
+ gamesTabTid: ct
4794
4815
  },
4795
4816
  window.location.href
4796
- ), window.addEventListener("message", mt, !1), () => {
4797
- window.removeEventListener("message", mt);
4817
+ ), window.addEventListener("message", dt, !1), () => {
4818
+ window.removeEventListener("message", dt);
4798
4819
  }));
4799
- function Rr(m) {
4800
- He[m ? "unshift" : "push"](() => {
4801
- b = m, r(5, b);
4820
+ function Gr(p) {
4821
+ He[p ? "unshift" : "push"](() => {
4822
+ b = p, r(5, b);
4802
4823
  });
4803
4824
  }
4804
- function Gr(m) {
4805
- He[m ? "unshift" : "push"](() => {
4806
- d = m, r(4, d);
4825
+ function $r(p) {
4826
+ He[p ? "unshift" : "push"](() => {
4827
+ d = p, r(4, d);
4807
4828
  });
4808
4829
  }
4809
- return e.$$set = (m) => {
4810
- "clientstyling" in m && r(0, i = m.clientstyling), "clientstylingurl" in m && r(1, o = m.clientstylingurl), "mbsource" in m && r(2, s = m.mbsource), "translationurl" in m && r(17, a = m.translationurl), "lang" in m && r(18, l = m.lang);
4830
+ return e.$$set = (p) => {
4831
+ "clientstyling" in p && r(0, i = p.clientstyling), "clientstylingurl" in p && r(1, o = p.clientstylingurl), "mbsource" in p && r(2, s = p.mbsource), "translationurl" in p && r(17, a = p.translationurl), "lang" in p && r(18, l = p.lang);
4811
4832
  }, e.$$.update = () => {
4812
4833
  e.$$.dirty[0] & /*tournamentdetails*/
4813
- 8 && c && ft(), e.$$.dirty[0] & /*lang*/
4834
+ 8 && c && mt(), e.$$.dirty[0] & /*lang*/
4814
4835
  262144 && l && I(), e.$$.dirty[0] & /*translationurl*/
4815
- 131072 && a && B(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4836
+ 131072 && a && H(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4816
4837
  17 && i && d && mn(d, i), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4817
- 18 && o && d && pn(d, o), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4818
- 20 && s && d && dn(d, `${s}.Style`), e.$$.dirty[0] & /*gameListEle*/
4819
- 32 && b && Mr(b);
4838
+ 18 && o && d && dn(d, o), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4839
+ 20 && s && d && bn(d, `${s}.Style`), e.$$.dirty[0] & /*gameListEle*/
4840
+ 32 && b && Rr(b);
4820
4841
  }, [
4821
4842
  i,
4822
4843
  o,
@@ -4828,27 +4849,27 @@ function Po(e, t, r) {
4828
4849
  h,
4829
4850
  f,
4830
4851
  _,
4831
- A,
4852
+ P,
4832
4853
  U,
4833
- S,
4854
+ T,
4834
4855
  n,
4835
4856
  N,
4836
- P,
4857
+ B,
4837
4858
  L,
4838
4859
  a,
4839
4860
  l,
4840
- Rr,
4841
- Gr
4861
+ Gr,
4862
+ $r
4842
4863
  ];
4843
4864
  }
4844
- class Ao extends cn {
4865
+ class No extends fn {
4845
4866
  constructor(t) {
4846
- super(), ln(
4867
+ super(), hn(
4847
4868
  this,
4848
4869
  t,
4849
- Po,
4850
- Bo,
4851
- Kt,
4870
+ Oo,
4871
+ Ao,
4872
+ tr,
4852
4873
  {
4853
4874
  clientstyling: 0,
4854
4875
  clientstylingurl: 1,
@@ -4856,7 +4877,7 @@ class Ao extends cn {
4856
4877
  translationurl: 17,
4857
4878
  lang: 18
4858
4879
  },
4859
- Eo,
4880
+ wo,
4860
4881
  [-1, -1]
4861
4882
  );
4862
4883
  }
@@ -4891,7 +4912,7 @@ class Ao extends cn {
4891
4912
  this.$$set({ lang: t }), q();
4892
4913
  }
4893
4914
  }
4894
- hn(Ao, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4915
+ cn(No, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4895
4916
  export {
4896
- Ao as default
4917
+ No as default
4897
4918
  };