@everymatrix/casino-tournaments-thumbnail-games 1.86.1 → 1.86.3

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