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

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