@everymatrix/casino-tournaments-thumbnail-games 1.77.10 → 1.77.12

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 (21) hide show
  1. package/components/{CasinoTournamentsThumbnailGames-Bvd6_cYP.js → CasinoTournamentsThumbnailGames-Be3FUWZF.js} +988 -965
  2. package/components/{CasinoTournamentsThumbnailGames-Cqhg4sz0.js → CasinoTournamentsThumbnailGames-Di3O11qw.js} +424 -401
  3. package/components/CasinoTournamentsThumbnailGames-MUezI0Fw.cjs +18 -0
  4. package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail-games.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail-games.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/{index-256b7d4e-CSg5Fmgt.js → index-256b7d4e-B27ydHcs.js} +1 -1
  9. package/stencil/{index-256b7d4e-7jcaQ7rC.js → index-256b7d4e-DrOXnq3q.js} +1 -1
  10. package/stencil/{index-256b7d4e-BnoVkrXr.cjs → index-256b7d4e-yFNBIexD.cjs} +1 -1
  11. package/stencil/{ui-image-Bn9a7Spu.js → ui-image-Buu9LDKy.js} +1 -1
  12. package/stencil/{ui-image-CfDP8dmz.js → ui-image-BvxFHaEs.js} +1 -1
  13. package/stencil/{ui-image-8975d115-DxO6YS6C.js → ui-image-ae115205-Bmmit6PH.js} +18 -8
  14. package/stencil/{ui-image-8975d115-C8pJTCfZ.js → ui-image-ae115205-C9w0DS-q.js} +18 -8
  15. package/stencil/ui-image-ae115205-CcwMMc09.cjs +1 -0
  16. package/stencil/{ui-image-DB-cMaV6.cjs → ui-image-j5OhrDS4.cjs} +1 -1
  17. package/stencil/{ui-image_2-CXGY1IY3.cjs → ui-image_2-C-3C7pxb.cjs} +1 -1
  18. package/stencil/{ui-image_2-DwuycSdC.js → ui-image_2-D4c_LX5r.js} +2 -2
  19. package/stencil/{ui-image_2-rhY_9uoo.js → ui-image_2-hEBXfomA.js} +2 -2
  20. package/components/CasinoTournamentsThumbnailGames-ERW4wb3k.cjs +0 -18
  21. package/stencil/ui-image-8975d115-BIwRmPA-.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var $r = Object.defineProperty, Gr = Object.defineProperties;
2
- var Ur = Object.getOwnPropertyDescriptors;
3
- var gt = Object.getOwnPropertySymbols;
4
- var Dr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
- var Ue = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
1
+ var Ur = Object.defineProperty, Dr = Object.defineProperties;
2
+ var Fr = Object.getOwnPropertyDescriptors;
3
+ var _t = Object.getOwnPropertySymbols;
4
+ var jr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Dr.call(t, r) && Ue(e, r, t[r]);
8
- if (gt)
9
- for (var r of gt(t))
10
- Fr.call(t, r) && Ue(e, r, t[r]);
7
+ jr.call(t, r) && $e(e, r, t[r]);
8
+ if (_t)
9
+ for (var r of _t(t))
10
+ kr.call(t, r) && $e(e, r, t[r]);
11
11
  return e;
12
- }, yt = (e, t) => Gr(e, Ur(t));
13
- var G = (e, t, r) => (Ue(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var _t = (e, t, r) => new Promise((n, i) => {
12
+ }, xt = (e, t) => Dr(e, Fr(t));
13
+ var R = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var wt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,54 +27,54 @@ var _t = (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-CfDP8dmz.js";
31
- function U() {
30
+ import "../stencil/ui-image-BvxFHaEs.js";
31
+ function G() {
32
32
  }
33
- function Yt(e) {
33
+ function er(e) {
34
34
  return e();
35
35
  }
36
- function Et() {
36
+ function Tt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function ue(e) {
40
- e.forEach(Yt);
39
+ function ae(e) {
40
+ e.forEach(er);
41
41
  }
42
- function Ce(e) {
42
+ function Ne(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Kt(e, t) {
45
+ function tr(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- let ye;
49
- function xt(e, t) {
50
- return e === t ? !0 : (ye || (ye = document.createElement("a")), ye.href = t, e === ye.href);
48
+ let ve;
49
+ function St(e, t) {
50
+ return e === t ? !0 : (ve || (ve = document.createElement("a")), ve.href = t, e === ve.href);
51
51
  }
52
- function jr(e) {
52
+ function Vr(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function er(e, ...t) {
55
+ function rr(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const n of t)
58
58
  n(void 0);
59
- return U;
59
+ return G;
60
60
  }
61
61
  const r = e.subscribe(...t);
62
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
63
  }
64
- function kr(e, t, r) {
65
- e.$$.on_destroy.push(er(t, r));
64
+ function Xr(e, t, r) {
65
+ e.$$.on_destroy.push(rr(t, r));
66
66
  }
67
67
  function x(e, t) {
68
68
  e.appendChild(t);
69
69
  }
70
- function Vr(e, t, r) {
71
- const n = Xr(e);
70
+ function Wr(e, t, r) {
71
+ const n = zr(e);
72
72
  if (!n.getElementById(t)) {
73
- const i = A("style");
74
- i.id = t, i.textContent = r, Wr(n, i);
73
+ const i = O("style");
74
+ i.id = t, i.textContent = r, Zr(n, i);
75
75
  }
76
76
  }
77
- function Xr(e) {
77
+ function zr(e) {
78
78
  if (!e)
79
79
  return document;
80
80
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,56 +84,56 @@ function Xr(e) {
84
84
  t
85
85
  ) : e.ownerDocument;
86
86
  }
87
- function Wr(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 z(e, t, r) {
94
+ function j(e, t, r) {
95
95
  e.insertBefore(t, r || null);
96
96
  }
97
- function j(e) {
97
+ function $(e) {
98
98
  e.parentNode && e.parentNode.removeChild(e);
99
99
  }
100
- function tr(e, t) {
100
+ function nr(e, t) {
101
101
  for (let r = 0; r < e.length; r += 1)
102
102
  e[r] && e[r].d(t);
103
103
  }
104
- function A(e) {
104
+ function O(e) {
105
105
  return document.createElement(e);
106
106
  }
107
- function _e(e) {
107
+ function ye(e) {
108
108
  return document.createElementNS("http://www.w3.org/2000/svg", e);
109
109
  }
110
- function W(e) {
110
+ function F(e) {
111
111
  return document.createTextNode(e);
112
112
  }
113
113
  function V() {
114
- return W(" ");
114
+ return F(" ");
115
115
  }
116
- function zr() {
117
- return W("");
116
+ function Qr() {
117
+ return F("");
118
118
  }
119
- function Ze(e, t, r, n) {
119
+ function ze(e, t, r, n) {
120
120
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
121
121
  }
122
122
  function v(e, t, r) {
123
123
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
124
124
  }
125
- function O(e, t, r) {
125
+ function C(e, t, r) {
126
126
  const n = t.toLowerCase();
127
127
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : v(e, t, r);
128
128
  }
129
- function Zr(e) {
129
+ function Jr(e) {
130
130
  return Array.from(e.childNodes);
131
131
  }
132
- function Y(e, t) {
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 qr(e) {
137
137
  const t = {};
138
138
  return e.childNodes.forEach(
139
139
  /** @param {Element} node */
@@ -142,101 +142,101 @@ function Qr(e) {
142
142
  }
143
143
  ), t;
144
144
  }
145
- let me;
146
- function pe(e) {
147
- me = e;
145
+ let pe;
146
+ function fe(e) {
147
+ pe = e;
148
148
  }
149
- function rr() {
150
- if (!me)
149
+ function ir() {
150
+ if (!pe)
151
151
  throw new Error("Function called outside component initialization");
152
- return me;
152
+ return pe;
153
153
  }
154
- function Jr(e) {
155
- rr().$$.on_mount.push(e);
154
+ function Yr(e) {
155
+ ir().$$.on_mount.push(e);
156
156
  }
157
- function qr(e) {
158
- rr().$$.on_destroy.push(e);
157
+ function Kr(e) {
158
+ ir().$$.on_destroy.push(e);
159
159
  }
160
- const re = [], Be = [];
161
- let ne = [];
162
- const wt = [], Yr = /* @__PURE__ */ Promise.resolve();
163
- let Qe = !1;
164
- function Kr() {
165
- Qe || (Qe = !0, Yr.then(q));
160
+ const te = [], He = [];
161
+ let re = [];
162
+ const Ht = [], en = /* @__PURE__ */ Promise.resolve();
163
+ let Ze = !1;
164
+ function tn() {
165
+ Ze || (Ze = !0, en.then(q));
166
166
  }
167
- function Je(e) {
168
- ne.push(e);
167
+ function Qe(e) {
168
+ re.push(e);
169
169
  }
170
- const De = /* @__PURE__ */ new Set();
171
- let ee = 0;
170
+ const Ue = /* @__PURE__ */ new Set();
171
+ let K = 0;
172
172
  function q() {
173
- if (ee !== 0)
173
+ if (K !== 0)
174
174
  return;
175
- const e = me;
175
+ const e = pe;
176
176
  do {
177
177
  try {
178
- for (; ee < re.length; ) {
179
- const t = re[ee];
180
- ee++, pe(t), en(t.$$);
178
+ for (; K < te.length; ) {
179
+ const t = te[K];
180
+ K++, fe(t), rn(t.$$);
181
181
  }
182
182
  } catch (t) {
183
- throw re.length = 0, ee = 0, t;
183
+ throw te.length = 0, K = 0, t;
184
184
  }
185
- for (pe(null), re.length = 0, ee = 0; Be.length; )
186
- Be.pop()();
187
- for (let t = 0; t < ne.length; t += 1) {
188
- const r = ne[t];
189
- De.has(r) || (De.add(r), r());
185
+ for (fe(null), te.length = 0, K = 0; He.length; )
186
+ He.pop()();
187
+ for (let t = 0; t < re.length; t += 1) {
188
+ const r = re[t];
189
+ Ue.has(r) || (Ue.add(r), r());
190
190
  }
191
- ne.length = 0;
192
- } while (re.length);
193
- for (; wt.length; )
194
- wt.pop()();
195
- Qe = !1, De.clear(), pe(e);
191
+ re.length = 0;
192
+ } while (te.length);
193
+ for (; Ht.length; )
194
+ Ht.pop()();
195
+ Ze = !1, Ue.clear(), fe(e);
196
196
  }
197
- function en(e) {
197
+ function rn(e) {
198
198
  if (e.fragment !== null) {
199
- e.update(), ue(e.before_update);
199
+ e.update(), ae(e.before_update);
200
200
  const t = e.dirty;
201
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
201
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
202
202
  }
203
203
  }
204
- function tn(e) {
204
+ function nn(e) {
205
205
  const t = [], r = [];
206
- ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
206
+ re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
207
207
  }
208
- const rn = /* @__PURE__ */ new Set();
209
- function nn(e, t) {
210
- e && e.i && (rn.delete(e), e.i(t));
208
+ const on = /* @__PURE__ */ new Set();
209
+ function sn(e, t) {
210
+ e && e.i && (on.delete(e), e.i(t));
211
211
  }
212
- function Pe(e) {
212
+ function Be(e) {
213
213
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
214
214
  }
215
- function on(e, t, r) {
215
+ function an(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(Yt).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), Qe(() => {
218
+ const o = e.$$.on_mount.map(er).filter(Ne);
219
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
220
+ }), i.forEach(Qe);
221
221
  }
222
- function sn(e, t) {
222
+ function un(e, t) {
223
223
  const r = e.$$;
224
- r.fragment !== null && (tn(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
224
+ r.fragment !== null && (nn(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
225
225
  }
226
- function an(e, t) {
227
- e.$$.dirty[0] === -1 && (re.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
226
+ function ln(e, t) {
227
+ e.$$.dirty[0] === -1 && (te.push(e), tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
228
228
  }
229
- function un(e, t, r, n, i, o, s = null, a = [-1]) {
230
- const l = me;
231
- pe(e);
229
+ function hn(e, t, r, n, i, o, s = null, a = [-1]) {
230
+ const l = pe;
231
+ fe(e);
232
232
  const u = e.$$ = {
233
233
  fragment: null,
234
234
  ctx: [],
235
235
  // state
236
236
  props: o,
237
- update: U,
237
+ update: G,
238
238
  not_equal: i,
239
- bound: Et(),
239
+ bound: Tt(),
240
240
  // lifecycle
241
241
  on_mount: [],
242
242
  on_destroy: [],
@@ -245,7 +245,7 @@ function un(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: Et(),
248
+ callbacks: Tt(),
249
249
  dirty: a,
250
250
  skip_bound: !1,
251
251
  root: t.target || l.$$.root
@@ -254,39 +254,39 @@ function un(e, t, r, n, i, o, s = null, a = [-1]) {
254
254
  let h = !1;
255
255
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
256
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 && an(e, f)), c;
258
- }) : [], u.update(), h = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
257
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && ln(e, f)), c;
258
+ }) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
259
259
  if (t.hydrate) {
260
- const f = Zr(t.target);
261
- u.fragment && u.fragment.l(f), f.forEach(j);
260
+ const f = Jr(t.target);
261
+ u.fragment && u.fragment.l(f), f.forEach($);
262
262
  } else
263
263
  u.fragment && u.fragment.c();
264
- t.intro && nn(e.$$.fragment), on(e, t.target, t.anchor), q();
264
+ t.intro && sn(e.$$.fragment), an(e, t.target, t.anchor), q();
265
265
  }
266
- pe(l);
266
+ fe(l);
267
267
  }
268
- let nr;
269
- typeof HTMLElement == "function" && (nr = class extends HTMLElement {
268
+ let or;
269
+ typeof HTMLElement == "function" && (or = class extends HTMLElement {
270
270
  constructor(t, r, n) {
271
271
  super();
272
272
  /** The Svelte component constructor */
273
- G(this, "$$ctor");
273
+ R(this, "$$ctor");
274
274
  /** Slots */
275
- G(this, "$$s");
275
+ R(this, "$$s");
276
276
  /** The Svelte component instance */
277
- G(this, "$$c");
277
+ R(this, "$$c");
278
278
  /** Whether or not the custom element is connected */
279
- G(this, "$$cn", !1);
279
+ R(this, "$$cn", !1);
280
280
  /** Component props data */
281
- G(this, "$$d", {});
281
+ R(this, "$$d", {});
282
282
  /** `true` if currently in the process of reflecting component props back to attributes */
283
- G(this, "$$r", !1);
283
+ R(this, "$$r", !1);
284
284
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
285
- G(this, "$$p_d", {});
285
+ R(this, "$$p_d", {});
286
286
  /** @type {Record<string, Function[]>} Event listeners */
287
- G(this, "$$l", {});
287
+ R(this, "$$l", {});
288
288
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
289
- G(this, "$$l_u", /* @__PURE__ */ new Map());
289
+ R(this, "$$l_u", /* @__PURE__ */ new Map());
290
290
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
291
291
  }
292
292
  addEventListener(t, r, n) {
@@ -303,42 +303,42 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
303
303
  }
304
304
  }
305
305
  connectedCallback() {
306
- return _t(this, null, function* () {
306
+ return wt(this, null, function* () {
307
307
  if (this.$$cn = !0, !this.$$c) {
308
308
  let t = function(o) {
309
309
  return () => {
310
310
  let s;
311
311
  return {
312
312
  c: function() {
313
- s = A("slot"), o !== "default" && v(s, "name", o);
313
+ s = O("slot"), o !== "default" && v(s, "name", o);
314
314
  },
315
315
  /**
316
316
  * @param {HTMLElement} target
317
317
  * @param {HTMLElement} [anchor]
318
318
  */
319
319
  m: function(u, h) {
320
- z(u, s, h);
320
+ j(u, s, h);
321
321
  },
322
322
  d: function(u) {
323
- u && j(s);
323
+ u && $(s);
324
324
  }
325
325
  };
326
326
  };
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 = qr(this);
331
331
  for (const o of this.$$s)
332
332
  o in n && (r[o] = [t(o)]);
333
333
  for (const o of this.attributes) {
334
334
  const s = this.$$g_p(o.name);
335
- s in this.$$d || (this.$$d[s] = we(s, o.value, this.$$p_d, "toProp"));
335
+ s in this.$$d || (this.$$d[s] = xe(s, o.value, this.$$p_d, "toProp"));
336
336
  }
337
337
  for (const o in this.$$p_d)
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: yt(vt({}, this.$$d), {
341
+ props: xt(Et({}, this.$$d), {
342
342
  $$slots: r,
343
343
  $$scope: {
344
344
  ctx: []
@@ -349,7 +349,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
349
349
  this.$$r = !0;
350
350
  for (const o in this.$$p_d)
351
351
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
352
- const s = we(
352
+ const s = xe(
353
353
  o,
354
354
  this.$$d[o],
355
355
  this.$$p_d,
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
373
373
  // and setting attributes through setAttribute etc, this is helpful
374
374
  attributeChangedCallback(t, r, n) {
375
375
  var i;
376
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
376
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = xe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
377
377
  }
378
378
  disconnectedCallback() {
379
379
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -386,7 +386,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
386
386
  ) || t;
387
387
  }
388
388
  });
389
- function we(e, t, r, n) {
389
+ function xe(e, t, r, n) {
390
390
  var o;
391
391
  const i = (o = r[e]) == null ? void 0 : o.type;
392
392
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -416,8 +416,8 @@ function we(e, t, r, n) {
416
416
  return t;
417
417
  }
418
418
  }
419
- function ln(e, t, r, n, i, o) {
420
- let s = class extends nr {
419
+ function cn(e, t, r, n, i, o) {
420
+ let s = class extends or {
421
421
  constructor() {
422
422
  super(e, r, i), this.$$p_d = t;
423
423
  }
@@ -434,7 +434,7 @@ function ln(e, t, r, n, i, o) {
434
434
  },
435
435
  set(l) {
436
436
  var u;
437
- l = we(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
437
+ l = xe(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
438
438
  }
439
439
  });
440
440
  }), n.forEach((a) => {
@@ -447,7 +447,7 @@ function ln(e, t, r, n, i, o) {
447
447
  }), e.element = /** @type {any} */
448
448
  s, s;
449
449
  }
450
- class hn {
450
+ class fn {
451
451
  constructor() {
452
452
  /**
453
453
  * ### PRIVATE API
@@ -456,7 +456,7 @@ class hn {
456
456
  *
457
457
  * @type {any}
458
458
  */
459
- G(this, "$$");
459
+ R(this, "$$");
460
460
  /**
461
461
  * ### PRIVATE API
462
462
  *
@@ -464,11 +464,11 @@ class hn {
464
464
  *
465
465
  * @type {any}
466
466
  */
467
- G(this, "$$set");
467
+ R(this, "$$set");
468
468
  }
469
469
  /** @returns {void} */
470
470
  $destroy() {
471
- sn(this, 1), this.$destroy = U;
471
+ un(this, 1), this.$destroy = G;
472
472
  }
473
473
  /**
474
474
  * @template {Extract<keyof Events, string>} K
@@ -477,8 +477,8 @@ class hn {
477
477
  * @returns {() => void}
478
478
  */
479
479
  $on(t, r) {
480
- if (!Ce(r))
481
- return U;
480
+ if (!Ne(r))
481
+ return G;
482
482
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
483
483
  return n.push(r), () => {
484
484
  const i = n.indexOf(r);
@@ -490,18 +490,18 @@ class hn {
490
490
  * @returns {void}
491
491
  */
492
492
  $set(t) {
493
- this.$$set && !jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
493
+ this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
494
494
  }
495
495
  }
496
- const cn = "4";
497
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
498
- function fn(e, t) {
496
+ const pn = "4";
497
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pn);
498
+ function mn(e, t) {
499
499
  if (e) {
500
500
  const r = document.createElement("style");
501
501
  r.innerHTML = t, e.appendChild(r);
502
502
  }
503
503
  }
504
- function pn(e, t) {
504
+ function dn(e, t) {
505
505
  const r = new URL(t);
506
506
  fetch(r.href).then((n) => n.text()).then((n) => {
507
507
  const i = document.createElement("style");
@@ -510,7 +510,7 @@ function pn(e, t) {
510
510
  console.error("There was an error while trying to load client styling from URL", n);
511
511
  });
512
512
  }
513
- function mn(e, t, r) {
513
+ function bn(e, t, r) {
514
514
  if (window.emMessageBus) {
515
515
  const n = document.createElement("style");
516
516
  window.emMessageBus.subscribe(t, (i) => {
@@ -532,24 +532,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
532
532
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
533
533
  PERFORMANCE OF THIS SOFTWARE.
534
534
  ***************************************************************************** */
535
- var qe = function(e, t) {
536
- return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
535
+ var Je = function(e, t) {
536
+ return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
537
537
  r.__proto__ = n;
538
538
  } || function(r, n) {
539
539
  for (var i in n)
540
540
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
541
- }, qe(e, t);
541
+ }, Je(e, t);
542
542
  };
543
- function ge(e, t) {
543
+ function be(e, t) {
544
544
  if (typeof t != "function" && t !== null)
545
545
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
546
- qe(e, t);
546
+ Je(e, t);
547
547
  function r() {
548
548
  this.constructor = e;
549
549
  }
550
550
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
551
551
  }
552
- function Ye(e) {
552
+ function qe(e) {
553
553
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
554
554
  if (r)
555
555
  return r.call(e);
@@ -561,7 +561,7 @@ function Ye(e) {
561
561
  };
562
562
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
563
563
  }
564
- function Ke(e, t) {
564
+ function Ye(e, t) {
565
565
  var r = typeof Symbol == "function" && e[Symbol.iterator];
566
566
  if (!r)
567
567
  return e;
@@ -581,7 +581,7 @@ function Ke(e, t) {
581
581
  }
582
582
  return o;
583
583
  }
584
- function et(e, t, r) {
584
+ function Ke(e, t, r) {
585
585
  if (arguments.length === 2)
586
586
  for (var n = 0, i = t.length, o; n < i; n++)
587
587
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -590,13 +590,13 @@ function et(e, t, r) {
590
590
  function X(e) {
591
591
  return typeof e == "function";
592
592
  }
593
- function ir(e) {
593
+ function sr(e) {
594
594
  var t = function(n) {
595
595
  Error.call(n), n.stack = new Error().stack;
596
596
  }, r = e(t);
597
597
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
598
598
  }
599
- var Fe = ir(function(e) {
599
+ var De = sr(function(e) {
600
600
  return function(r) {
601
601
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
602
602
  ` + r.map(function(n, i) {
@@ -605,13 +605,13 @@ var Fe = ir(function(e) {
605
605
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
606
606
  };
607
607
  });
608
- function tt(e, t) {
608
+ function et(e, t) {
609
609
  if (e) {
610
610
  var r = e.indexOf(t);
611
611
  0 <= r && e.splice(r, 1);
612
612
  }
613
613
  }
614
- var Ie = function() {
614
+ var Ce = function() {
615
615
  function e(t) {
616
616
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
617
617
  }
@@ -623,7 +623,7 @@ var Ie = function() {
623
623
  if (s)
624
624
  if (this._parentage = null, Array.isArray(s))
625
625
  try {
626
- for (var a = Ye(s), l = a.next(); !l.done; l = a.next()) {
626
+ for (var a = qe(s), l = a.next(); !l.done; l = a.next()) {
627
627
  var u = l.value;
628
628
  u.remove(this);
629
629
  }
@@ -644,18 +644,18 @@ var Ie = function() {
644
644
  try {
645
645
  h();
646
646
  } catch (b) {
647
- o = b instanceof Fe ? b.errors : [b];
647
+ o = b instanceof De ? b.errors : [b];
648
648
  }
649
649
  var f = this._finalizers;
650
650
  if (f) {
651
651
  this._finalizers = null;
652
652
  try {
653
- for (var c = Ye(f), m = c.next(); !m.done; m = c.next()) {
653
+ for (var c = qe(f), m = c.next(); !m.done; m = c.next()) {
654
654
  var d = m.value;
655
655
  try {
656
- Tt(d);
656
+ Bt(d);
657
657
  } catch (b) {
658
- o = o != null ? o : [], b instanceof Fe ? o = et(et([], Ke(o)), Ke(b.errors)) : o.push(b);
658
+ o = o != null ? o : [], b instanceof De ? o = Ke(Ke([], Ye(o)), Ye(b.errors)) : o.push(b);
659
659
  }
660
660
  }
661
661
  } catch (b) {
@@ -670,13 +670,13 @@ var Ie = function() {
670
670
  }
671
671
  }
672
672
  if (o)
673
- throw new Fe(o);
673
+ throw new De(o);
674
674
  }
675
675
  }, e.prototype.add = function(t) {
676
676
  var r;
677
677
  if (t && t !== this)
678
678
  if (this.closed)
679
- Tt(t);
679
+ Bt(t);
680
680
  else {
681
681
  if (t instanceof e) {
682
682
  if (t.closed || t._hasParent(this))
@@ -693,52 +693,52 @@ var Ie = function() {
693
693
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
694
694
  }, e.prototype._removeParent = function(t) {
695
695
  var r = this._parentage;
696
- r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
696
+ r === t ? this._parentage = null : Array.isArray(r) && et(r, t);
697
697
  }, e.prototype.remove = function(t) {
698
698
  var r = this._finalizers;
699
- r && tt(r, t), t instanceof e && t._removeParent(this);
699
+ r && et(r, t), t instanceof e && t._removeParent(this);
700
700
  }, e.EMPTY = function() {
701
701
  var t = new e();
702
702
  return t.closed = !0, t;
703
703
  }(), e;
704
- }(), or = Ie.EMPTY;
705
- function sr(e) {
706
- return e instanceof Ie || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
704
+ }(), ar = Ce.EMPTY;
705
+ function ur(e) {
706
+ return e instanceof Ce || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
707
707
  }
708
- function Tt(e) {
708
+ function Bt(e) {
709
709
  X(e) ? e() : e.unsubscribe();
710
710
  }
711
- var dn = {
711
+ var gn = {
712
712
  Promise: void 0
713
- }, bn = {
713
+ }, vn = {
714
714
  setTimeout: function(e, t) {
715
715
  for (var r = [], n = 2; n < arguments.length; n++)
716
716
  r[n - 2] = arguments[n];
717
- return setTimeout.apply(void 0, et([e, t], Ke(r)));
717
+ return setTimeout.apply(void 0, Ke([e, t], Ye(r)));
718
718
  },
719
719
  clearTimeout: function(e) {
720
720
  return clearTimeout(e);
721
721
  },
722
722
  delegate: void 0
723
723
  };
724
- function gn(e) {
725
- bn.setTimeout(function() {
724
+ function yn(e) {
725
+ vn.setTimeout(function() {
726
726
  throw e;
727
727
  });
728
728
  }
729
- function St() {
729
+ function Pt() {
730
730
  }
731
- function Te(e) {
731
+ function we(e) {
732
732
  e();
733
733
  }
734
- var ar = function(e) {
735
- ge(t, e);
734
+ var lr = function(e) {
735
+ be(t, e);
736
736
  function t(r) {
737
737
  var n = e.call(this) || this;
738
- return n.isStopped = !1, r ? (n.destination = r, sr(r) && r.add(n)) : n.destination = _n, n;
738
+ return n.isStopped = !1, r ? (n.destination = r, ur(r) && r.add(n)) : n.destination = xn, n;
739
739
  }
740
740
  return t.create = function(r, n, i) {
741
- return new rt(r, n, i);
741
+ return new tt(r, n, i);
742
742
  }, t.prototype.next = function(r) {
743
743
  this.isStopped || this._next(r);
744
744
  }, t.prototype.error = function(r) {
@@ -762,7 +762,7 @@ var ar = function(e) {
762
762
  this.unsubscribe();
763
763
  }
764
764
  }, t;
765
- }(Ie), vn = function() {
765
+ }(Ce), _n = function() {
766
766
  function e(t) {
767
767
  this.partialObserver = t;
768
768
  }
@@ -772,7 +772,7 @@ var ar = function(e) {
772
772
  try {
773
773
  r.next(t);
774
774
  } catch (n) {
775
- Ee(n);
775
+ _e(n);
776
776
  }
777
777
  }, e.prototype.error = function(t) {
778
778
  var r = this.partialObserver;
@@ -780,56 +780,56 @@ var ar = function(e) {
780
780
  try {
781
781
  r.error(t);
782
782
  } catch (n) {
783
- Ee(n);
783
+ _e(n);
784
784
  }
785
785
  else
786
- Ee(t);
786
+ _e(t);
787
787
  }, e.prototype.complete = function() {
788
788
  var t = this.partialObserver;
789
789
  if (t.complete)
790
790
  try {
791
791
  t.complete();
792
792
  } catch (r) {
793
- Ee(r);
793
+ _e(r);
794
794
  }
795
795
  }, e;
796
- }(), rt = function(e) {
797
- ge(t, e);
796
+ }(), tt = function(e) {
797
+ be(t, e);
798
798
  function t(r, n, i) {
799
799
  var o = e.call(this) || this, s;
800
800
  return X(r) || !r ? s = {
801
801
  next: r != null ? r : void 0,
802
802
  error: n != null ? n : void 0,
803
803
  complete: i != null ? i : void 0
804
- } : s = r, o.destination = new vn(s), o;
804
+ } : s = r, o.destination = new _n(s), o;
805
805
  }
806
806
  return t;
807
- }(ar);
808
- function Ee(e) {
809
- gn(e);
807
+ }(lr);
808
+ function _e(e) {
809
+ yn(e);
810
810
  }
811
- function yn(e) {
811
+ function En(e) {
812
812
  throw e;
813
813
  }
814
- var _n = {
814
+ var xn = {
815
815
  closed: !0,
816
- next: St,
817
- error: yn,
818
- complete: St
819
- }, En = function() {
816
+ next: Pt,
817
+ error: En,
818
+ complete: Pt
819
+ }, wn = function() {
820
820
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
821
821
  }();
822
- function xn(e) {
822
+ function Tn(e) {
823
823
  return e;
824
824
  }
825
- function wn(e) {
826
- return e.length === 0 ? xn : e.length === 1 ? e[0] : function(r) {
825
+ function Sn(e) {
826
+ return e.length === 0 ? Tn : e.length === 1 ? e[0] : function(r) {
827
827
  return e.reduce(function(n, i) {
828
828
  return i(n);
829
829
  }, r);
830
830
  };
831
831
  }
832
- var Ht = function() {
832
+ var At = function() {
833
833
  function e(t) {
834
834
  t && (this._subscribe = t);
835
835
  }
@@ -837,8 +837,8 @@ var Ht = function() {
837
837
  var r = new e();
838
838
  return r.source = this, r.operator = t, r;
839
839
  }, e.prototype.subscribe = function(t, r, n) {
840
- var i = this, o = Sn(t) ? t : new rt(t, r, n);
841
- return Te(function() {
840
+ var i = this, o = Bn(t) ? t : new tt(t, r, n);
841
+ return we(function() {
842
842
  var s = i, a = s.operator, l = s.source;
843
843
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
844
844
  }), o;
@@ -850,8 +850,8 @@ var Ht = function() {
850
850
  }
851
851
  }, e.prototype.forEach = function(t, r) {
852
852
  var n = this;
853
- return r = Bt(r), new r(function(i, o) {
854
- var s = new rt({
853
+ return r = Ot(r), new r(function(i, o) {
854
+ var s = new tt({
855
855
  next: function(a) {
856
856
  try {
857
857
  t(a);
@@ -867,15 +867,15 @@ var Ht = function() {
867
867
  }, e.prototype._subscribe = function(t) {
868
868
  var r;
869
869
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
870
- }, e.prototype[En] = function() {
870
+ }, e.prototype[wn] = function() {
871
871
  return this;
872
872
  }, e.prototype.pipe = function() {
873
873
  for (var t = [], r = 0; r < arguments.length; r++)
874
874
  t[r] = arguments[r];
875
- return wn(t)(this);
875
+ return Sn(t)(this);
876
876
  }, e.prototype.toPromise = function(t) {
877
877
  var r = this;
878
- return t = Bt(t), new t(function(n, i) {
878
+ return t = Ot(t), new t(function(n, i) {
879
879
  var o;
880
880
  r.subscribe(function(s) {
881
881
  return o = s;
@@ -889,40 +889,40 @@ var Ht = function() {
889
889
  return new e(t);
890
890
  }, e;
891
891
  }();
892
- function Bt(e) {
892
+ function Ot(e) {
893
893
  var t;
894
- return (t = e != null ? e : dn.Promise) !== null && t !== void 0 ? t : Promise;
894
+ return (t = e != null ? e : gn.Promise) !== null && t !== void 0 ? t : Promise;
895
895
  }
896
- function Tn(e) {
896
+ function Hn(e) {
897
897
  return e && X(e.next) && X(e.error) && X(e.complete);
898
898
  }
899
- function Sn(e) {
900
- return e && e instanceof ar || Tn(e) && sr(e);
899
+ function Bn(e) {
900
+ return e && e instanceof lr || Hn(e) && ur(e);
901
901
  }
902
- var Hn = ir(function(e) {
902
+ var Pn = sr(function(e) {
903
903
  return function() {
904
904
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
905
905
  };
906
- }), ur = function(e) {
907
- ge(t, e);
906
+ }), hr = function(e) {
907
+ be(t, e);
908
908
  function t() {
909
909
  var r = e.call(this) || this;
910
910
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
911
911
  }
912
912
  return t.prototype.lift = function(r) {
913
- var n = new Pt(this, this);
913
+ var n = new Nt(this, this);
914
914
  return n.operator = r, n;
915
915
  }, t.prototype._throwIfClosed = function() {
916
916
  if (this.closed)
917
- throw new Hn();
917
+ throw new Pn();
918
918
  }, t.prototype.next = function(r) {
919
919
  var n = this;
920
- Te(function() {
920
+ we(function() {
921
921
  var i, o;
922
922
  if (n._throwIfClosed(), !n.isStopped) {
923
923
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
924
924
  try {
925
- for (var s = Ye(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
925
+ for (var s = qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
926
926
  var l = a.value;
927
927
  l.next(r);
928
928
  }
@@ -940,7 +940,7 @@ var Hn = ir(function(e) {
940
940
  });
941
941
  }, t.prototype.error = function(r) {
942
942
  var n = this;
943
- Te(function() {
943
+ we(function() {
944
944
  if (n._throwIfClosed(), !n.isStopped) {
945
945
  n.hasError = n.isStopped = !0, n.thrownError = r;
946
946
  for (var i = n.observers; i.length; )
@@ -949,7 +949,7 @@ var Hn = ir(function(e) {
949
949
  });
950
950
  }, t.prototype.complete = function() {
951
951
  var r = this;
952
- Te(function() {
952
+ we(function() {
953
953
  if (r._throwIfClosed(), !r.isStopped) {
954
954
  r.isStopped = !0;
955
955
  for (var n = r.observers; n.length; )
@@ -971,20 +971,20 @@ var Hn = ir(function(e) {
971
971
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
972
972
  }, t.prototype._innerSubscribe = function(r) {
973
973
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
974
- return o || s ? or : (this.currentObservers = null, a.push(r), new Ie(function() {
975
- n.currentObservers = null, tt(a, r);
974
+ return o || s ? ar : (this.currentObservers = null, a.push(r), new Ce(function() {
975
+ n.currentObservers = null, et(a, r);
976
976
  }));
977
977
  }, t.prototype._checkFinalizedStatuses = function(r) {
978
978
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
979
979
  i ? r.error(o) : s && r.complete();
980
980
  }, t.prototype.asObservable = function() {
981
- var r = new Ht();
981
+ var r = new At();
982
982
  return r.source = this, r;
983
983
  }, t.create = function(r, n) {
984
- return new Pt(r, n);
984
+ return new Nt(r, n);
985
985
  }, t;
986
- }(Ht), Pt = function(e) {
987
- ge(t, e);
986
+ }(At), Nt = function(e) {
987
+ be(t, e);
988
988
  function t(r, n) {
989
989
  var i = e.call(this) || this;
990
990
  return i.destination = r, i.source = n, i;
@@ -1000,17 +1000,17 @@ var Hn = ir(function(e) {
1000
1000
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1001
1001
  }, t.prototype._subscribe = function(r) {
1002
1002
  var n, i;
1003
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : or;
1003
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ar;
1004
1004
  }, t;
1005
- }(ur), lr = {
1005
+ }(hr), cr = {
1006
1006
  now: function() {
1007
- return (lr.delegate || Date).now();
1007
+ return (cr.delegate || Date).now();
1008
1008
  },
1009
1009
  delegate: void 0
1010
- }, Bn = function(e) {
1011
- ge(t, e);
1010
+ }, An = function(e) {
1011
+ be(t, e);
1012
1012
  function t(r, n, i) {
1013
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = lr);
1013
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = cr);
1014
1014
  var o = e.call(this) || this;
1015
1015
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1016
1016
  }
@@ -1030,65 +1030,65 @@ var Hn = ir(function(e) {
1030
1030
  u && o.splice(0, u + 1);
1031
1031
  }
1032
1032
  }, t;
1033
- }(ur);
1034
- const At = [], Ot = {}, Pn = (e, t = 0) => {
1035
- if (At.indexOf(e) == -1) {
1036
- const r = new Bn(t);
1037
- Ot[e] = r, At.push(e);
1033
+ }(hr);
1034
+ const Ct = [], It = {}, On = (e, t = 0) => {
1035
+ if (Ct.indexOf(e) == -1) {
1036
+ const r = new An(t);
1037
+ It[e] = r, Ct.push(e);
1038
1038
  }
1039
- return Ot[e];
1040
- }, te = [];
1041
- function An(e, t) {
1039
+ return It[e];
1040
+ }, ee = [];
1041
+ function Nn(e, t) {
1042
1042
  return {
1043
- subscribe: Le(e, t).subscribe
1043
+ subscribe: Ie(e, t).subscribe
1044
1044
  };
1045
1045
  }
1046
- function Le(e, t = U) {
1046
+ function Ie(e, t = G) {
1047
1047
  let r;
1048
1048
  const n = /* @__PURE__ */ new Set();
1049
1049
  function i(a) {
1050
- if (Kt(e, a) && (e = a, r)) {
1051
- const l = !te.length;
1050
+ if (tr(e, a) && (e = a, r)) {
1051
+ const l = !ee.length;
1052
1052
  for (const u of n)
1053
- u[1](), te.push(u, e);
1053
+ u[1](), ee.push(u, e);
1054
1054
  if (l) {
1055
- for (let u = 0; u < te.length; u += 2)
1056
- te[u][0](te[u + 1]);
1057
- te.length = 0;
1055
+ for (let u = 0; u < ee.length; u += 2)
1056
+ ee[u][0](ee[u + 1]);
1057
+ ee.length = 0;
1058
1058
  }
1059
1059
  }
1060
1060
  }
1061
1061
  function o(a) {
1062
1062
  i(a(e));
1063
1063
  }
1064
- function s(a, l = U) {
1064
+ function s(a, l = G) {
1065
1065
  const u = [a, l];
1066
- return n.add(u), n.size === 1 && (r = t(i, o) || U), a(e), () => {
1066
+ return n.add(u), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1067
1067
  n.delete(u), n.size === 0 && r && (r(), r = null);
1068
1068
  };
1069
1069
  }
1070
1070
  return { set: i, update: o, subscribe: s };
1071
1071
  }
1072
- function le(e, t, r) {
1072
+ function ue(e, t, r) {
1073
1073
  const n = !Array.isArray(e), i = n ? [e] : e;
1074
1074
  if (!i.every(Boolean))
1075
1075
  throw new Error("derived() expects stores as input, got a falsy value");
1076
1076
  const o = t.length < 2;
1077
- return An(r, (s, a) => {
1077
+ return Nn(r, (s, a) => {
1078
1078
  let l = !1;
1079
1079
  const u = [];
1080
- let h = 0, f = U;
1080
+ let h = 0, f = G;
1081
1081
  const c = () => {
1082
1082
  if (h)
1083
1083
  return;
1084
1084
  f();
1085
1085
  const d = t(n ? u[0] : u, s, a);
1086
- o ? s(d) : f = Ce(d) ? d : U;
1086
+ o ? s(d) : f = Ne(d) ? d : G;
1087
1087
  }, m = i.map(
1088
- (d, b) => er(
1088
+ (d, b) => rr(
1089
1089
  d,
1090
- (y) => {
1091
- u[b] = y, h &= ~(1 << b), l && c();
1090
+ (w) => {
1091
+ u[b] = w, h &= ~(1 << b), l && c();
1092
1092
  },
1093
1093
  () => {
1094
1094
  h |= 1 << b;
@@ -1096,112 +1096,112 @@ function le(e, t, r) {
1096
1096
  )
1097
1097
  );
1098
1098
  return l = !0, c(), function() {
1099
- ue(m), f(), l = !1;
1099
+ ae(m), f(), l = !1;
1100
1100
  };
1101
1101
  });
1102
1102
  }
1103
- function On(e) {
1103
+ function Cn(e) {
1104
1104
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1105
1105
  }
1106
- var Nn = function(t) {
1107
- return Cn(t) && !In(t);
1106
+ var In = function(t) {
1107
+ return Ln(t) && !Mn(t);
1108
1108
  };
1109
- function Cn(e) {
1109
+ function Ln(e) {
1110
1110
  return !!e && typeof e == "object";
1111
1111
  }
1112
- function In(e) {
1112
+ function Mn(e) {
1113
1113
  var t = Object.prototype.toString.call(e);
1114
- return t === "[object RegExp]" || t === "[object Date]" || Rn(e);
1115
- }
1116
- var Ln = typeof Symbol == "function" && Symbol.for, Mn = Ln ? Symbol.for("react.element") : 60103;
1117
- function Rn(e) {
1118
- return e.$$typeof === Mn;
1114
+ return t === "[object RegExp]" || t === "[object Date]" || $n(e);
1119
1115
  }
1116
+ var Rn = typeof Symbol == "function" && Symbol.for, Gn = Rn ? Symbol.for("react.element") : 60103;
1120
1117
  function $n(e) {
1118
+ return e.$$typeof === Gn;
1119
+ }
1120
+ function Un(e) {
1121
1121
  return Array.isArray(e) ? [] : {};
1122
1122
  }
1123
- function de(e, t) {
1124
- return t.clone !== !1 && t.isMergeableObject(e) ? ie($n(e), e, t) : e;
1123
+ function me(e, t) {
1124
+ return t.clone !== !1 && t.isMergeableObject(e) ? ne(Un(e), e, t) : e;
1125
1125
  }
1126
- function Gn(e, t, r) {
1126
+ function Dn(e, t, r) {
1127
1127
  return e.concat(t).map(function(n) {
1128
- return de(n, r);
1128
+ return me(n, r);
1129
1129
  });
1130
1130
  }
1131
- function Un(e, t) {
1131
+ function Fn(e, t) {
1132
1132
  if (!t.customMerge)
1133
- return ie;
1133
+ return ne;
1134
1134
  var r = t.customMerge(e);
1135
- return typeof r == "function" ? r : ie;
1135
+ return typeof r == "function" ? r : ne;
1136
1136
  }
1137
- function Dn(e) {
1137
+ function jn(e) {
1138
1138
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1139
1139
  return Object.propertyIsEnumerable.call(e, t);
1140
1140
  }) : [];
1141
1141
  }
1142
- function Nt(e) {
1143
- return Object.keys(e).concat(Dn(e));
1142
+ function Lt(e) {
1143
+ return Object.keys(e).concat(jn(e));
1144
1144
  }
1145
- function hr(e, t) {
1145
+ function fr(e, t) {
1146
1146
  try {
1147
1147
  return t in e;
1148
1148
  } catch (r) {
1149
1149
  return !1;
1150
1150
  }
1151
1151
  }
1152
- function Fn(e, t) {
1153
- return hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1152
+ function kn(e, t) {
1153
+ return fr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1154
1154
  }
1155
- function jn(e, t, r) {
1155
+ function Vn(e, t, r) {
1156
1156
  var n = {};
1157
- return r.isMergeableObject(e) && Nt(e).forEach(function(i) {
1158
- n[i] = de(e[i], r);
1159
- }), Nt(t).forEach(function(i) {
1160
- Fn(e, i) || (hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
1157
+ return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
1158
+ n[i] = me(e[i], r);
1159
+ }), Lt(t).forEach(function(i) {
1160
+ kn(e, i) || (fr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
1161
1161
  }), n;
1162
1162
  }
1163
- function ie(e, t, r) {
1164
- r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Nn, r.cloneUnlessOtherwiseSpecified = de;
1163
+ function ne(e, t, r) {
1164
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || In, r.cloneUnlessOtherwiseSpecified = me;
1165
1165
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1166
- return o ? n ? r.arrayMerge(e, t, r) : jn(e, t, r) : de(t, r);
1166
+ return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : me(t, r);
1167
1167
  }
1168
- ie.all = function(t, r) {
1168
+ ne.all = function(t, r) {
1169
1169
  if (!Array.isArray(t))
1170
1170
  throw new Error("first argument should be an array");
1171
1171
  return t.reduce(function(n, i) {
1172
- return ie(n, i, r);
1172
+ return ne(n, i, r);
1173
1173
  }, {});
1174
1174
  };
1175
- var kn = ie, Vn = kn;
1176
- const Xn = /* @__PURE__ */ On(Vn);
1177
- var nt = function(e, t) {
1178
- return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1175
+ var Xn = ne, Wn = Xn;
1176
+ const zn = /* @__PURE__ */ Cn(Wn);
1177
+ var rt = function(e, t) {
1178
+ return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1179
1179
  r.__proto__ = n;
1180
1180
  } || function(r, n) {
1181
1181
  for (var i in n)
1182
1182
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1183
- }, nt(e, t);
1183
+ }, rt(e, t);
1184
1184
  };
1185
- function Me(e, t) {
1185
+ function Le(e, t) {
1186
1186
  if (typeof t != "function" && t !== null)
1187
1187
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1188
- nt(e, t);
1188
+ rt(e, t);
1189
1189
  function r() {
1190
1190
  this.constructor = e;
1191
1191
  }
1192
1192
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1193
1193
  }
1194
- var F = function() {
1195
- return F = Object.assign || function(t) {
1194
+ var D = function() {
1195
+ return D = Object.assign || function(t) {
1196
1196
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1197
1197
  r = arguments[n];
1198
1198
  for (var o in r)
1199
1199
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1200
1200
  }
1201
1201
  return t;
1202
- }, F.apply(this, arguments);
1202
+ }, D.apply(this, arguments);
1203
1203
  };
1204
- function Wn(e, t) {
1204
+ function Zn(e, t) {
1205
1205
  var r = {};
1206
1206
  for (var n in e)
1207
1207
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1210,43 +1210,43 @@ function Wn(e, t) {
1210
1210
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1211
1211
  return r;
1212
1212
  }
1213
- function je(e, t, r) {
1213
+ function Fe(e, t, r) {
1214
1214
  if (r || arguments.length === 2)
1215
1215
  for (var n = 0, i = t.length, o; n < i; n++)
1216
1216
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1217
1217
  return e.concat(o || Array.prototype.slice.call(t));
1218
1218
  }
1219
- function ke(e, t) {
1220
- var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Qn;
1219
+ function je(e, t) {
1220
+ var r = t && t.cache ? t.cache : ti, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : qn;
1221
1221
  return i(e, {
1222
1222
  cache: r,
1223
1223
  serializer: n
1224
1224
  });
1225
1225
  }
1226
- function zn(e) {
1226
+ function Qn(e) {
1227
1227
  return e == null || typeof e == "number" || typeof e == "boolean";
1228
1228
  }
1229
- function Zn(e, t, r, n) {
1230
- var i = zn(n) ? n : r(n), o = t.get(i);
1229
+ function Jn(e, t, r, n) {
1230
+ var i = Qn(n) ? n : r(n), o = t.get(i);
1231
1231
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1232
1232
  }
1233
- function cr(e, t, r) {
1233
+ function pr(e, t, r) {
1234
1234
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1235
1235
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1236
1236
  }
1237
- function fr(e, t, r, n, i) {
1237
+ function mr(e, t, r, n, i) {
1238
1238
  return r.bind(t, e, n, i);
1239
1239
  }
1240
- function Qn(e, t) {
1241
- var r = e.length === 1 ? Zn : cr;
1242
- return fr(e, this, r, t.cache.create(), t.serializer);
1240
+ function qn(e, t) {
1241
+ var r = e.length === 1 ? Jn : pr;
1242
+ return mr(e, this, r, t.cache.create(), t.serializer);
1243
1243
  }
1244
- function Jn(e, t) {
1245
- return fr(e, this, cr, t.cache.create(), t.serializer);
1244
+ function Yn(e, t) {
1245
+ return mr(e, this, pr, t.cache.create(), t.serializer);
1246
1246
  }
1247
- var qn = function() {
1247
+ var Kn = function() {
1248
1248
  return JSON.stringify(arguments);
1249
- }, Yn = (
1249
+ }, ei = (
1250
1250
  /** @class */
1251
1251
  function() {
1252
1252
  function e() {
@@ -1258,71 +1258,71 @@ var qn = function() {
1258
1258
  this.cache[t] = r;
1259
1259
  }, e;
1260
1260
  }()
1261
- ), Kn = {
1261
+ ), ti = {
1262
1262
  create: function() {
1263
- return new Yn();
1263
+ return new ei();
1264
1264
  }
1265
- }, Ve = {
1266
- variadic: Jn
1267
- }, Ae = function() {
1268
- return Ae = Object.assign || function(t) {
1265
+ }, ke = {
1266
+ variadic: Yn
1267
+ }, Pe = function() {
1268
+ return Pe = Object.assign || function(t) {
1269
1269
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1270
1270
  r = arguments[n];
1271
1271
  for (var o in r)
1272
1272
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1273
1273
  }
1274
1274
  return t;
1275
- }, Ae.apply(this, arguments);
1275
+ }, Pe.apply(this, arguments);
1276
1276
  };
1277
- var _;
1277
+ var y;
1278
1278
  (function(e) {
1279
1279
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1280
- })(_ || (_ = {}));
1281
- var T;
1280
+ })(y || (y = {}));
1281
+ var S;
1282
1282
  (function(e) {
1283
1283
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1284
- })(T || (T = {}));
1285
- var oe;
1284
+ })(S || (S = {}));
1285
+ var ie;
1286
1286
  (function(e) {
1287
1287
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1288
- })(oe || (oe = {}));
1289
- function Ct(e) {
1290
- return e.type === T.literal;
1291
- }
1292
- function ei(e) {
1293
- return e.type === T.argument;
1294
- }
1295
- function pr(e) {
1296
- return e.type === T.number;
1288
+ })(ie || (ie = {}));
1289
+ function Mt(e) {
1290
+ return e.type === S.literal;
1297
1291
  }
1298
- function mr(e) {
1299
- return e.type === T.date;
1292
+ function ri(e) {
1293
+ return e.type === S.argument;
1300
1294
  }
1301
1295
  function dr(e) {
1302
- return e.type === T.time;
1296
+ return e.type === S.number;
1303
1297
  }
1304
1298
  function br(e) {
1305
- return e.type === T.select;
1299
+ return e.type === S.date;
1306
1300
  }
1307
1301
  function gr(e) {
1308
- return e.type === T.plural;
1309
- }
1310
- function ti(e) {
1311
- return e.type === T.pound;
1302
+ return e.type === S.time;
1312
1303
  }
1313
1304
  function vr(e) {
1314
- return e.type === T.tag;
1305
+ return e.type === S.select;
1315
1306
  }
1316
1307
  function yr(e) {
1317
- return !!(e && typeof e == "object" && e.type === oe.number);
1318
- }
1319
- function it(e) {
1320
- return !!(e && typeof e == "object" && e.type === oe.dateTime);
1308
+ return e.type === S.plural;
1321
1309
  }
1322
- var _r = /[ \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;
1323
1310
  function ni(e) {
1311
+ return e.type === S.pound;
1312
+ }
1313
+ function _r(e) {
1314
+ return e.type === S.tag;
1315
+ }
1316
+ function Er(e) {
1317
+ return !!(e && typeof e == "object" && e.type === ie.number);
1318
+ }
1319
+ function nt(e) {
1320
+ return !!(e && typeof e == "object" && e.type === ie.dateTime);
1321
+ }
1322
+ var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1323
+ function oi(e) {
1324
1324
  var t = {};
1325
- return e.replace(ri, function(r) {
1325
+ return e.replace(ii, function(r) {
1326
1326
  var n = r.length;
1327
1327
  switch (r[0]) {
1328
1328
  case "G":
@@ -1411,21 +1411,21 @@ function ni(e) {
1411
1411
  return "";
1412
1412
  }), t;
1413
1413
  }
1414
- var H = function() {
1415
- return H = Object.assign || function(t) {
1414
+ var A = function() {
1415
+ return A = Object.assign || function(t) {
1416
1416
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1417
1417
  r = arguments[n];
1418
1418
  for (var o in r)
1419
1419
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1420
1420
  }
1421
1421
  return t;
1422
- }, H.apply(this, arguments);
1422
+ }, A.apply(this, arguments);
1423
1423
  };
1424
- var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1425
- function oi(e) {
1424
+ var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1425
+ function ai(e) {
1426
1426
  if (e.length === 0)
1427
1427
  throw new Error("Number skeleton cannot be empty");
1428
- for (var t = e.split(ii).filter(function(c) {
1428
+ for (var t = e.split(si).filter(function(c) {
1429
1429
  return c.length > 0;
1430
1430
  }), r = [], n = 0, i = t; n < i.length; n++) {
1431
1431
  var o = i[n], s = o.split("/");
@@ -1440,17 +1440,17 @@ function oi(e) {
1440
1440
  }
1441
1441
  return r;
1442
1442
  }
1443
- function si(e) {
1443
+ function ui(e) {
1444
1444
  return e.replace(/^(.*?)-/, "");
1445
1445
  }
1446
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, xr = /^(0+)$/;
1447
- function Lt(e) {
1446
+ var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wr = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, Tr = /^(0+)$/;
1447
+ function Gt(e) {
1448
1448
  var t = {};
1449
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
1449
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wr, function(r, n, i) {
1450
1450
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1451
1451
  }), t;
1452
1452
  }
1453
- function wr(e) {
1453
+ function Sr(e) {
1454
1454
  switch (e) {
1455
1455
  case "sign-auto":
1456
1456
  return {
@@ -1490,7 +1490,7 @@ function wr(e) {
1490
1490
  };
1491
1491
  }
1492
1492
  }
1493
- function ui(e) {
1493
+ function hi(e) {
1494
1494
  var t;
1495
1495
  if (e[0] === "E" && e[1] === "E" ? (t = {
1496
1496
  notation: "engineering"
@@ -1498,17 +1498,17 @@ function ui(e) {
1498
1498
  notation: "scientific"
1499
1499
  }, e = e.slice(1)), t) {
1500
1500
  var r = e.slice(0, 2);
1501
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !xr.test(e))
1501
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tr.test(e))
1502
1502
  throw new Error("Malformed concise eng/scientific notation");
1503
1503
  t.minimumIntegerDigits = e.length;
1504
1504
  }
1505
1505
  return t;
1506
1506
  }
1507
- function Mt(e) {
1508
- var t = {}, r = wr(e);
1507
+ function $t(e) {
1508
+ var t = {}, r = Sr(e);
1509
1509
  return r || t;
1510
1510
  }
1511
- function li(e) {
1511
+ function ci(e) {
1512
1512
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1513
1513
  var i = n[r];
1514
1514
  switch (i.stem) {
@@ -1532,7 +1532,7 @@ function li(e) {
1532
1532
  continue;
1533
1533
  case "measure-unit":
1534
1534
  case "unit":
1535
- t.style = "unit", t.unit = si(i.options[0]);
1535
+ t.style = "unit", t.unit = ui(i.options[0]);
1536
1536
  continue;
1537
1537
  case "compact-short":
1538
1538
  case "K":
@@ -1543,13 +1543,13 @@ function li(e) {
1543
1543
  t.notation = "compact", t.compactDisplay = "long";
1544
1544
  continue;
1545
1545
  case "scientific":
1546
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1547
- return H(H({}, l), Mt(u));
1546
+ t = A(A(A({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1547
+ return A(A({}, l), $t(u));
1548
1548
  }, {}));
1549
1549
  continue;
1550
1550
  case "engineering":
1551
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1552
- return H(H({}, l), Mt(u));
1551
+ t = A(A(A({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1552
+ return A(A({}, l), $t(u));
1553
1553
  }, {}));
1554
1554
  continue;
1555
1555
  case "notation-simple":
@@ -1594,7 +1594,7 @@ function li(e) {
1594
1594
  case "integer-width":
1595
1595
  if (i.options.length > 1)
1596
1596
  throw new RangeError("integer-width stems only accept a single optional option");
1597
- i.options[0].replace(ai, function(l, u, h, f, c, m) {
1597
+ i.options[0].replace(li, function(l, u, h, f, c, m) {
1598
1598
  if (u)
1599
1599
  t.minimumIntegerDigits = h.length;
1600
1600
  else {
@@ -1607,32 +1607,32 @@ function li(e) {
1607
1607
  });
1608
1608
  continue;
1609
1609
  }
1610
- if (xr.test(i.stem)) {
1610
+ if (Tr.test(i.stem)) {
1611
1611
  t.minimumIntegerDigits = i.stem.length;
1612
1612
  continue;
1613
1613
  }
1614
- if (It.test(i.stem)) {
1614
+ if (Rt.test(i.stem)) {
1615
1615
  if (i.options.length > 1)
1616
1616
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1617
- i.stem.replace(It, function(l, u, h, f, c, m) {
1617
+ i.stem.replace(Rt, function(l, u, h, f, c, m) {
1618
1618
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1619
1619
  });
1620
1620
  var o = i.options[0];
1621
- o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Lt(o)));
1621
+ o === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = A(A({}, t), Gt(o)));
1622
1622
  continue;
1623
1623
  }
1624
- if (Er.test(i.stem)) {
1625
- t = H(H({}, t), Lt(i.stem));
1624
+ if (wr.test(i.stem)) {
1625
+ t = A(A({}, t), Gt(i.stem));
1626
1626
  continue;
1627
1627
  }
1628
- var s = wr(i.stem);
1629
- s && (t = H(H({}, t), s));
1630
- var a = ui(i.stem);
1631
- a && (t = H(H({}, t), a));
1628
+ var s = Sr(i.stem);
1629
+ s && (t = A(A({}, t), s));
1630
+ var a = hi(i.stem);
1631
+ a && (t = A(A({}, t), a));
1632
1632
  }
1633
1633
  return t;
1634
1634
  }
1635
- var xe = {
1635
+ var Ee = {
1636
1636
  "001": [
1637
1637
  "H",
1638
1638
  "h"
@@ -3047,13 +3047,13 @@ var xe = {
3047
3047
  "h"
3048
3048
  ]
3049
3049
  };
3050
- function hi(e, t) {
3050
+ function fi(e, t) {
3051
3051
  for (var r = "", n = 0; n < e.length; n++) {
3052
3052
  var i = e.charAt(n);
3053
3053
  if (i === "j") {
3054
3054
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3055
3055
  o++, n++;
3056
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ci(t);
3056
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pi(t);
3057
3057
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3058
3058
  r += l;
3059
3059
  for (; s-- > 0; )
@@ -3063,7 +3063,7 @@ function hi(e, t) {
3063
3063
  }
3064
3064
  return r;
3065
3065
  }
3066
- function ci(e) {
3066
+ function pi(e) {
3067
3067
  var t = e.hourCycle;
3068
3068
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3069
3069
  e.hourCycles && // @ts-ignore
@@ -3082,23 +3082,23 @@ function ci(e) {
3082
3082
  }
3083
3083
  var r = e.language, n;
3084
3084
  r !== "root" && (n = e.maximize().region);
3085
- var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
3085
+ var i = Ee[n || ""] || Ee[r || ""] || Ee["".concat(r, "-001")] || Ee["001"];
3086
3086
  return i[0];
3087
3087
  }
3088
- var Xe, fi = new RegExp("^".concat(_r.source, "*")), pi = new RegExp("".concat(_r.source, "*$"));
3088
+ var Ve, mi = new RegExp("^".concat(xr.source, "*")), di = new RegExp("".concat(xr.source, "*$"));
3089
3089
  function E(e, t) {
3090
3090
  return { start: e, end: t };
3091
3091
  }
3092
- var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, vi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, Ei = _i ? Number.isSafeInteger : function(e) {
3092
+ var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, vi = !!Object.fromEntries, yi = !!String.prototype.codePointAt, _i = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, wi = xi ? Number.isSafeInteger : function(e) {
3093
3093
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3094
- }, ot = !0;
3094
+ }, it = !0;
3095
3095
  try {
3096
- var xi = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3097
- ot = ((Xe = xi.exec("a")) === null || Xe === void 0 ? void 0 : Xe[0]) === "a";
3096
+ var Ti = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3097
+ it = ((Ve = Ti.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
3098
3098
  } catch (e) {
3099
- ot = !1;
3099
+ it = !1;
3100
3100
  }
3101
- var Rt = mi ? (
3101
+ var Ut = bi ? (
3102
3102
  // Native
3103
3103
  function(t, r, n) {
3104
3104
  return t.startsWith(r, n);
@@ -3108,7 +3108,7 @@ var Rt = mi ? (
3108
3108
  function(t, r, n) {
3109
3109
  return t.slice(n, n + r.length) === r;
3110
3110
  }
3111
- ), st = di ? String.fromCodePoint : (
3111
+ ), ot = gi ? String.fromCodePoint : (
3112
3112
  // IE11
3113
3113
  function() {
3114
3114
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3120,9 +3120,9 @@ var Rt = mi ? (
3120
3120
  }
3121
3121
  return n;
3122
3122
  }
3123
- ), $t = (
3123
+ ), Dt = (
3124
3124
  // native
3125
- bi ? Object.fromEntries : (
3125
+ vi ? Object.fromEntries : (
3126
3126
  // Ponyfill
3127
3127
  function(t) {
3128
3128
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3132,7 +3132,7 @@ var Rt = mi ? (
3132
3132
  return r;
3133
3133
  }
3134
3134
  )
3135
- ), Tr = gi ? (
3135
+ ), Hr = yi ? (
3136
3136
  // Native
3137
3137
  function(t, r) {
3138
3138
  return t.codePointAt(r);
@@ -3146,7 +3146,7 @@ var Rt = mi ? (
3146
3146
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3147
3147
  }
3148
3148
  }
3149
- ), wi = vi ? (
3149
+ ), Si = _i ? (
3150
3150
  // Native
3151
3151
  function(t) {
3152
3152
  return t.trimStart();
@@ -3154,9 +3154,9 @@ var Rt = mi ? (
3154
3154
  ) : (
3155
3155
  // Ponyfill
3156
3156
  function(t) {
3157
- return t.replace(fi, "");
3157
+ return t.replace(mi, "");
3158
3158
  }
3159
- ), Ti = yi ? (
3159
+ ), Hi = Ei ? (
3160
3160
  // Native
3161
3161
  function(t) {
3162
3162
  return t.trimEnd();
@@ -3164,32 +3164,32 @@ var Rt = mi ? (
3164
3164
  ) : (
3165
3165
  // Ponyfill
3166
3166
  function(t) {
3167
- return t.replace(pi, "");
3167
+ return t.replace(di, "");
3168
3168
  }
3169
3169
  );
3170
- function Sr(e, t) {
3170
+ function Br(e, t) {
3171
3171
  return new RegExp(e, t);
3172
3172
  }
3173
- var at;
3174
- if (ot) {
3175
- var Gt = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3176
- at = function(t, r) {
3173
+ var st;
3174
+ if (it) {
3175
+ var Ft = Br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3176
+ st = function(t, r) {
3177
3177
  var n;
3178
- Gt.lastIndex = r;
3179
- var i = Gt.exec(t);
3178
+ Ft.lastIndex = r;
3179
+ var i = Ft.exec(t);
3180
3180
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3181
3181
  };
3182
3182
  } else
3183
- at = function(t, r) {
3183
+ st = function(t, r) {
3184
3184
  for (var n = []; ; ) {
3185
- var i = Tr(t, r);
3186
- if (i === void 0 || Hr(i) || Pi(i))
3185
+ var i = Hr(t, r);
3186
+ if (i === void 0 || Pr(i) || Oi(i))
3187
3187
  break;
3188
3188
  n.push(i), r += i >= 65536 ? 2 : 1;
3189
3189
  }
3190
- return st.apply(void 0, n);
3190
+ return ot.apply(void 0, n);
3191
3191
  };
3192
- var Si = (
3192
+ var Bi = (
3193
3193
  /** @class */
3194
3194
  function() {
3195
3195
  function e(t, r) {
@@ -3213,14 +3213,14 @@ var Si = (
3213
3213
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3214
3214
  var a = this.clonePosition();
3215
3215
  this.bump(), i.push({
3216
- type: T.pound,
3216
+ type: S.pound,
3217
3217
  location: E(a, this.clonePosition())
3218
3218
  });
3219
3219
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3220
3220
  if (n)
3221
3221
  break;
3222
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3223
- } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
3222
+ return this.error(y.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3223
+ } else if (o === 60 && !this.ignoreTag && at(this.peek() || 0)) {
3224
3224
  var s = this.parseTag(t, r);
3225
3225
  if (s.err)
3226
3226
  return s;
@@ -3241,7 +3241,7 @@ var Si = (
3241
3241
  if (this.bumpSpace(), this.bumpIf("/>"))
3242
3242
  return {
3243
3243
  val: {
3244
- type: T.literal,
3244
+ type: S.literal,
3245
3245
  value: "<".concat(i, "/>"),
3246
3246
  location: E(n, this.clonePosition())
3247
3247
  },
@@ -3253,25 +3253,25 @@ var Si = (
3253
3253
  return o;
3254
3254
  var s = o.val, a = this.clonePosition();
3255
3255
  if (this.bumpIf("</")) {
3256
- if (this.isEOF() || !ut(this.char()))
3257
- return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3256
+ if (this.isEOF() || !at(this.char()))
3257
+ return this.error(y.INVALID_TAG, E(a, this.clonePosition()));
3258
3258
  var l = this.clonePosition(), u = this.parseTagName();
3259
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3259
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3260
3260
  val: {
3261
- type: T.tag,
3261
+ type: S.tag,
3262
3262
  value: i,
3263
3263
  children: s,
3264
3264
  location: E(n, this.clonePosition())
3265
3265
  },
3266
3266
  err: null
3267
- } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
3267
+ } : this.error(y.INVALID_TAG, E(a, this.clonePosition())));
3268
3268
  } else
3269
- return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
3269
+ return this.error(y.UNCLOSED_TAG, E(n, this.clonePosition()));
3270
3270
  } else
3271
- return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3271
+ return this.error(y.INVALID_TAG, E(n, this.clonePosition()));
3272
3272
  }, e.prototype.parseTagName = function() {
3273
3273
  var t = this.offset();
3274
- for (this.bump(); !this.isEOF() && Bi(this.char()); )
3274
+ for (this.bump(); !this.isEOF() && Ai(this.char()); )
3275
3275
  this.bump();
3276
3276
  return this.message.slice(t, this.offset());
3277
3277
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3295,12 +3295,12 @@ var Si = (
3295
3295
  }
3296
3296
  var l = E(n, this.clonePosition());
3297
3297
  return {
3298
- val: { type: T.literal, value: i, location: l },
3298
+ val: { type: S.literal, value: i, location: l },
3299
3299
  err: null
3300
3300
  };
3301
3301
  }, e.prototype.tryParseLeftAngleBracket = function() {
3302
3302
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3303
- !Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3303
+ !Pi(this.peek() || 0)) ? (this.bump(), "<") : null;
3304
3304
  }, e.prototype.tryParseQuote = function(t) {
3305
3305
  if (this.isEOF() || this.char() !== 39)
3306
3306
  return null;
@@ -3334,28 +3334,28 @@ var Si = (
3334
3334
  r.push(n);
3335
3335
  this.bump();
3336
3336
  }
3337
- return st.apply(void 0, r);
3337
+ return ot.apply(void 0, r);
3338
3338
  }, e.prototype.tryParseUnquoted = function(t, r) {
3339
3339
  if (this.isEOF())
3340
3340
  return null;
3341
3341
  var n = this.char();
3342
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
3342
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ot(n));
3343
3343
  }, e.prototype.parseArgument = function(t, r) {
3344
3344
  var n = this.clonePosition();
3345
3345
  if (this.bump(), this.bumpSpace(), this.isEOF())
3346
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3346
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3347
3347
  if (this.char() === 125)
3348
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3348
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3349
3349
  var i = this.parseIdentifierIfPossible().value;
3350
3350
  if (!i)
3351
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3351
+ return this.error(y.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3352
3352
  if (this.bumpSpace(), this.isEOF())
3353
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3353
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3354
3354
  switch (this.char()) {
3355
3355
  case 125:
3356
3356
  return this.bump(), {
3357
3357
  val: {
3358
- type: T.argument,
3358
+ type: S.argument,
3359
3359
  // value does not include the opening and closing braces.
3360
3360
  value: i,
3361
3361
  location: E(n, this.clonePosition())
@@ -3363,12 +3363,12 @@ var Si = (
3363
3363
  err: null
3364
3364
  };
3365
3365
  case 44:
3366
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3366
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3367
3367
  default:
3368
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3368
+ return this.error(y.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3369
3369
  }
3370
3370
  }, e.prototype.parseIdentifierIfPossible = function() {
3371
- var t = this.clonePosition(), r = this.offset(), n = at(this.message, r), i = r + n.length;
3371
+ var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
3372
3372
  this.bumpTo(i);
3373
3373
  var o = this.clonePosition(), s = E(t, o);
3374
3374
  return { value: n, location: s };
@@ -3376,7 +3376,7 @@ var Si = (
3376
3376
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3377
3377
  switch (a) {
3378
3378
  case "":
3379
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, l));
3379
+ return this.error(y.EXPECT_ARGUMENT_TYPE, E(s, l));
3380
3380
  case "number":
3381
3381
  case "date":
3382
3382
  case "time": {
@@ -3387,9 +3387,9 @@ var Si = (
3387
3387
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3388
3388
  if (f.err)
3389
3389
  return f;
3390
- var c = Ti(f.val);
3390
+ var c = Hi(f.val);
3391
3391
  if (c.length === 0)
3392
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3392
+ return this.error(y.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3393
3393
  var m = E(h, this.clonePosition());
3394
3394
  u = { style: c, styleLocation: m };
3395
3395
  }
@@ -3397,34 +3397,34 @@ var Si = (
3397
3397
  if (d.err)
3398
3398
  return d;
3399
3399
  var b = E(i, this.clonePosition());
3400
- if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
3401
- var y = wi(u.style.slice(2));
3400
+ if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
3401
+ var w = Si(u.style.slice(2));
3402
3402
  if (a === "number") {
3403
- var f = this.parseNumberSkeletonFromString(y, u.styleLocation);
3403
+ var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3404
3404
  return f.err ? f : {
3405
- val: { type: T.number, value: n, location: b, style: f.val },
3405
+ val: { type: S.number, value: n, location: b, style: f.val },
3406
3406
  err: null
3407
3407
  };
3408
3408
  } else {
3409
- if (y.length === 0)
3410
- return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3411
- var B = y;
3412
- this.locale && (B = hi(y, this.locale));
3409
+ if (w.length === 0)
3410
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3411
+ var N = w;
3412
+ this.locale && (N = fi(w, this.locale));
3413
3413
  var c = {
3414
- type: oe.dateTime,
3415
- pattern: B,
3414
+ type: ie.dateTime,
3415
+ pattern: N,
3416
3416
  location: u.styleLocation,
3417
- parsedOptions: this.shouldParseSkeletons ? ni(B) : {}
3418
- }, w = a === "date" ? T.date : T.time;
3417
+ parsedOptions: this.shouldParseSkeletons ? oi(N) : {}
3418
+ }, _ = a === "date" ? S.date : S.time;
3419
3419
  return {
3420
- val: { type: w, value: n, location: b, style: c },
3420
+ val: { type: _, value: n, location: b, style: c },
3421
3421
  err: null
3422
3422
  };
3423
3423
  }
3424
3424
  }
3425
3425
  return {
3426
3426
  val: {
3427
- type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3427
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3428
3428
  value: n,
3429
3429
  location: b,
3430
3430
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3435,41 +3435,41 @@ var Si = (
3435
3435
  case "plural":
3436
3436
  case "selectordinal":
3437
3437
  case "select": {
3438
- var S = this.clonePosition();
3438
+ var H = this.clonePosition();
3439
3439
  if (this.bumpSpace(), !this.bumpIf(","))
3440
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(S, Ae({}, S)));
3440
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, E(H, Pe({}, H)));
3441
3441
  this.bumpSpace();
3442
- var L = this.parseIdentifierIfPossible(), N = 0;
3443
- if (a !== "select" && L.value === "offset") {
3442
+ var I = this.parseIdentifierIfPossible(), g = 0;
3443
+ if (a !== "select" && I.value === "offset") {
3444
3444
  if (!this.bumpIf(":"))
3445
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3445
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3446
3446
  this.bumpSpace();
3447
- var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3447
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3448
3448
  if (f.err)
3449
3449
  return f;
3450
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = f.val;
3450
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), g = f.val;
3451
3451
  }
3452
- var g = this.tryParsePluralOrSelectOptions(t, a, r, L);
3453
- if (g.err)
3454
- return g;
3452
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, I);
3453
+ if (B.err)
3454
+ return B;
3455
3455
  var d = this.tryParseArgumentClose(i);
3456
3456
  if (d.err)
3457
3457
  return d;
3458
3458
  var P = E(i, this.clonePosition());
3459
3459
  return a === "select" ? {
3460
3460
  val: {
3461
- type: T.select,
3461
+ type: S.select,
3462
3462
  value: n,
3463
- options: $t(g.val),
3463
+ options: Dt(B.val),
3464
3464
  location: P
3465
3465
  },
3466
3466
  err: null
3467
3467
  } : {
3468
3468
  val: {
3469
- type: T.plural,
3469
+ type: S.plural,
3470
3470
  value: n,
3471
- options: $t(g.val),
3472
- offset: N,
3471
+ options: Dt(B.val),
3472
+ offset: g,
3473
3473
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3474
3474
  location: P
3475
3475
  },
@@ -3477,10 +3477,10 @@ var Si = (
3477
3477
  };
3478
3478
  }
3479
3479
  default:
3480
- return this.error(_.INVALID_ARGUMENT_TYPE, E(s, l));
3480
+ return this.error(y.INVALID_ARGUMENT_TYPE, E(s, l));
3481
3481
  }
3482
3482
  }, e.prototype.tryParseArgumentClose = function(t) {
3483
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3483
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3484
3484
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3485
3485
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3486
3486
  var n = this.char();
@@ -3489,7 +3489,7 @@ var Si = (
3489
3489
  this.bump();
3490
3490
  var i = this.clonePosition();
3491
3491
  if (!this.bumpUntil("'"))
3492
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3492
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3493
3493
  this.bump();
3494
3494
  break;
3495
3495
  }
@@ -3519,16 +3519,16 @@ var Si = (
3519
3519
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3520
3520
  var n = [];
3521
3521
  try {
3522
- n = oi(t);
3522
+ n = ai(t);
3523
3523
  } catch (i) {
3524
- return this.error(_.INVALID_NUMBER_SKELETON, r);
3524
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3525
3525
  }
3526
3526
  return {
3527
3527
  val: {
3528
- type: oe.number,
3528
+ type: ie.number,
3529
3529
  tokens: n,
3530
3530
  location: r,
3531
- parsedOptions: this.shouldParseSkeletons ? li(n) : {}
3531
+ parsedOptions: this.shouldParseSkeletons ? ci(n) : {}
3532
3532
  },
3533
3533
  err: null
3534
3534
  };
@@ -3537,7 +3537,7 @@ var Si = (
3537
3537
  if (u.length === 0) {
3538
3538
  var f = this.clonePosition();
3539
3539
  if (r !== "select" && this.bumpIf("=")) {
3540
- var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3540
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3541
3541
  if (c.err)
3542
3542
  return c;
3543
3543
  h = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
@@ -3545,11 +3545,11 @@ var Si = (
3545
3545
  break;
3546
3546
  }
3547
3547
  if (l.has(u))
3548
- return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3548
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3549
3549
  u === "other" && (s = !0), this.bumpSpace();
3550
3550
  var m = this.clonePosition();
3551
3551
  if (!this.bumpIf("{"))
3552
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3552
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3553
3553
  var d = this.parseMessage(t + 1, r, n);
3554
3554
  if (d.err)
3555
3555
  return d;
@@ -3564,7 +3564,7 @@ var Si = (
3564
3564
  }
3565
3565
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3566
3566
  }
3567
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3567
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3568
3568
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3569
3569
  var n = 1, i = this.clonePosition();
3570
3570
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3576,7 +3576,7 @@ var Si = (
3576
3576
  break;
3577
3577
  }
3578
3578
  var l = E(i, this.clonePosition());
3579
- return o ? (s *= n, Ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3579
+ return o ? (s *= n, wi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3580
3580
  }, e.prototype.offset = function() {
3581
3581
  return this.position.offset;
3582
3582
  }, e.prototype.isEOF = function() {
@@ -3591,7 +3591,7 @@ var Si = (
3591
3591
  var t = this.position.offset;
3592
3592
  if (t >= this.message.length)
3593
3593
  throw Error("out of bound");
3594
- var r = Tr(this.message, t);
3594
+ var r = Hr(this.message, t);
3595
3595
  if (r === void 0)
3596
3596
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3597
3597
  return r;
@@ -3610,7 +3610,7 @@ var Si = (
3610
3610
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3611
3611
  }
3612
3612
  }, e.prototype.bumpIf = function(t) {
3613
- if (Rt(this.message, t, this.offset())) {
3613
+ if (Ut(this.message, t, this.offset())) {
3614
3614
  for (var r = 0; r < t.length; r++)
3615
3615
  this.bump();
3616
3616
  return !0;
@@ -3632,7 +3632,7 @@ var Si = (
3632
3632
  break;
3633
3633
  }
3634
3634
  }, e.prototype.bumpSpace = function() {
3635
- for (; !this.isEOF() && Hr(this.char()); )
3635
+ for (; !this.isEOF() && Pr(this.char()); )
3636
3636
  this.bump();
3637
3637
  }, e.prototype.peek = function() {
3638
3638
  if (this.isEOF())
@@ -3642,47 +3642,47 @@ var Si = (
3642
3642
  }, e;
3643
3643
  }()
3644
3644
  );
3645
- function ut(e) {
3645
+ function at(e) {
3646
3646
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3647
3647
  }
3648
- function Hi(e) {
3649
- return ut(e) || e === 47;
3648
+ function Pi(e) {
3649
+ return at(e) || e === 47;
3650
3650
  }
3651
- function Bi(e) {
3651
+ function Ai(e) {
3652
3652
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3653
3653
  }
3654
- function Hr(e) {
3654
+ function Pr(e) {
3655
3655
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3656
3656
  }
3657
- function Pi(e) {
3657
+ function Oi(e) {
3658
3658
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3659
3659
  }
3660
- function lt(e) {
3660
+ function ut(e) {
3661
3661
  e.forEach(function(t) {
3662
- if (delete t.location, br(t) || gr(t))
3662
+ if (delete t.location, vr(t) || yr(t))
3663
3663
  for (var r in t.options)
3664
- delete t.options[r].location, lt(t.options[r].value);
3664
+ delete t.options[r].location, ut(t.options[r].value);
3665
3665
  else
3666
- pr(t) && yr(t.style) || (mr(t) || dr(t)) && it(t.style) ? delete t.style.location : vr(t) && lt(t.children);
3666
+ dr(t) && Er(t.style) || (br(t) || gr(t)) && nt(t.style) ? delete t.style.location : _r(t) && ut(t.children);
3667
3667
  });
3668
3668
  }
3669
- function Ai(e, t) {
3670
- t === void 0 && (t = {}), t = Ae({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3671
- var r = new Si(e, t).parse();
3669
+ function Ni(e, t) {
3670
+ t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3671
+ var r = new Bi(e, t).parse();
3672
3672
  if (r.err) {
3673
- var n = SyntaxError(_[r.err.kind]);
3673
+ var n = SyntaxError(y[r.err.kind]);
3674
3674
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3675
3675
  }
3676
- return t != null && t.captureLocation || lt(r.val), r.val;
3676
+ return t != null && t.captureLocation || ut(r.val), r.val;
3677
3677
  }
3678
- var se;
3678
+ var oe;
3679
3679
  (function(e) {
3680
3680
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3681
- })(se || (se = {}));
3682
- var Re = (
3681
+ })(oe || (oe = {}));
3682
+ var Me = (
3683
3683
  /** @class */
3684
3684
  function(e) {
3685
- Me(t, e);
3685
+ Le(t, e);
3686
3686
  function t(r, n, i) {
3687
3687
  var o = e.call(this, r) || this;
3688
3688
  return o.code = n, o.originalMessage = i, o;
@@ -3691,155 +3691,155 @@ var Re = (
3691
3691
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3692
3692
  }, t;
3693
3693
  }(Error)
3694
- ), Ut = (
3694
+ ), jt = (
3695
3695
  /** @class */
3696
3696
  function(e) {
3697
- Me(t, e);
3697
+ Le(t, e);
3698
3698
  function t(r, n, i, o) {
3699
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3699
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
3700
3700
  }
3701
3701
  return t;
3702
- }(Re)
3703
- ), Oi = (
3702
+ }(Me)
3703
+ ), Ci = (
3704
3704
  /** @class */
3705
3705
  function(e) {
3706
- Me(t, e);
3706
+ Le(t, e);
3707
3707
  function t(r, n, i) {
3708
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3708
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
3709
3709
  }
3710
3710
  return t;
3711
- }(Re)
3712
- ), Ni = (
3711
+ }(Me)
3712
+ ), Ii = (
3713
3713
  /** @class */
3714
3714
  function(e) {
3715
- Me(t, e);
3715
+ Le(t, e);
3716
3716
  function t(r, n) {
3717
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3717
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
3718
3718
  }
3719
3719
  return t;
3720
- }(Re)
3721
- ), $;
3720
+ }(Me)
3721
+ ), M;
3722
3722
  (function(e) {
3723
3723
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3724
- })($ || ($ = {}));
3725
- function Ci(e) {
3724
+ })(M || (M = {}));
3725
+ function Li(e) {
3726
3726
  return e.length < 2 ? e : e.reduce(function(t, r) {
3727
3727
  var n = t[t.length - 1];
3728
- return !n || n.type !== $.literal || r.type !== $.literal ? t.push(r) : n.value += r.value, t;
3728
+ return !n || n.type !== M.literal || r.type !== M.literal ? t.push(r) : n.value += r.value, t;
3729
3729
  }, []);
3730
3730
  }
3731
- function Ii(e) {
3731
+ function Mi(e) {
3732
3732
  return typeof e == "function";
3733
3733
  }
3734
- function Se(e, t, r, n, i, o, s) {
3735
- if (e.length === 1 && Ct(e[0]))
3734
+ function Te(e, t, r, n, i, o, s) {
3735
+ if (e.length === 1 && Mt(e[0]))
3736
3736
  return [
3737
3737
  {
3738
- type: $.literal,
3738
+ type: M.literal,
3739
3739
  value: e[0].value
3740
3740
  }
3741
3741
  ];
3742
3742
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3743
3743
  var h = u[l];
3744
- if (Ct(h)) {
3744
+ if (Mt(h)) {
3745
3745
  a.push({
3746
- type: $.literal,
3746
+ type: M.literal,
3747
3747
  value: h.value
3748
3748
  });
3749
3749
  continue;
3750
3750
  }
3751
- if (ti(h)) {
3751
+ if (ni(h)) {
3752
3752
  typeof o == "number" && a.push({
3753
- type: $.literal,
3753
+ type: M.literal,
3754
3754
  value: r.getNumberFormat(t).format(o)
3755
3755
  });
3756
3756
  continue;
3757
3757
  }
3758
3758
  var f = h.value;
3759
3759
  if (!(i && f in i))
3760
- throw new Ni(f, s);
3760
+ throw new Ii(f, s);
3761
3761
  var c = i[f];
3762
- if (ei(h)) {
3762
+ if (ri(h)) {
3763
3763
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3764
- type: typeof c == "string" ? $.literal : $.object,
3764
+ type: typeof c == "string" ? M.literal : M.object,
3765
3765
  value: c
3766
3766
  });
3767
3767
  continue;
3768
3768
  }
3769
- if (mr(h)) {
3770
- var m = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
3769
+ if (br(h)) {
3770
+ var m = typeof h.style == "string" ? n.date[h.style] : nt(h.style) ? h.style.parsedOptions : void 0;
3771
3771
  a.push({
3772
- type: $.literal,
3772
+ type: M.literal,
3773
3773
  value: r.getDateTimeFormat(t, m).format(c)
3774
3774
  });
3775
3775
  continue;
3776
3776
  }
3777
- if (dr(h)) {
3778
- var m = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
3777
+ if (gr(h)) {
3778
+ var m = typeof h.style == "string" ? n.time[h.style] : nt(h.style) ? h.style.parsedOptions : n.time.medium;
3779
3779
  a.push({
3780
- type: $.literal,
3780
+ type: M.literal,
3781
3781
  value: r.getDateTimeFormat(t, m).format(c)
3782
3782
  });
3783
3783
  continue;
3784
3784
  }
3785
- if (pr(h)) {
3786
- var m = typeof h.style == "string" ? n.number[h.style] : yr(h.style) ? h.style.parsedOptions : void 0;
3785
+ if (dr(h)) {
3786
+ var m = typeof h.style == "string" ? n.number[h.style] : Er(h.style) ? h.style.parsedOptions : void 0;
3787
3787
  m && m.scale && (c = c * (m.scale || 1)), a.push({
3788
- type: $.literal,
3788
+ type: M.literal,
3789
3789
  value: r.getNumberFormat(t, m).format(c)
3790
3790
  });
3791
3791
  continue;
3792
3792
  }
3793
- if (vr(h)) {
3794
- var d = h.children, b = h.value, y = i[b];
3795
- if (!Ii(y))
3796
- throw new Oi(b, "function", s);
3797
- var B = Se(d, t, r, n, i, o), w = y(B.map(function(N) {
3798
- return N.value;
3793
+ if (_r(h)) {
3794
+ var d = h.children, b = h.value, w = i[b];
3795
+ if (!Mi(w))
3796
+ throw new Ci(b, "function", s);
3797
+ var N = Te(d, t, r, n, i, o), _ = w(N.map(function(g) {
3798
+ return g.value;
3799
3799
  }));
3800
- Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(N) {
3800
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(g) {
3801
3801
  return {
3802
- type: typeof N == "string" ? $.literal : $.object,
3803
- value: N
3802
+ type: typeof g == "string" ? M.literal : M.object,
3803
+ value: g
3804
3804
  };
3805
3805
  }));
3806
3806
  }
3807
- if (br(h)) {
3808
- var S = h.options[c] || h.options.other;
3809
- if (!S)
3810
- throw new Ut(h.value, c, Object.keys(h.options), s);
3811
- a.push.apply(a, Se(S.value, t, r, n, i));
3807
+ if (vr(h)) {
3808
+ var H = h.options[c] || h.options.other;
3809
+ if (!H)
3810
+ throw new jt(h.value, c, Object.keys(h.options), s);
3811
+ a.push.apply(a, Te(H.value, t, r, n, i));
3812
3812
  continue;
3813
3813
  }
3814
- if (gr(h)) {
3815
- var S = h.options["=".concat(c)];
3816
- if (!S) {
3814
+ if (yr(h)) {
3815
+ var H = h.options["=".concat(c)];
3816
+ if (!H) {
3817
3817
  if (!Intl.PluralRules)
3818
- throw new Re(`Intl.PluralRules is not available in this environment.
3818
+ throw new Me(`Intl.PluralRules is not available in this environment.
3819
3819
  Try polyfilling it using "@formatjs/intl-pluralrules"
3820
- `, se.MISSING_INTL_API, s);
3821
- var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3822
- S = h.options[L] || h.options.other;
3820
+ `, oe.MISSING_INTL_API, s);
3821
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3822
+ H = h.options[I] || h.options.other;
3823
3823
  }
3824
- if (!S)
3825
- throw new Ut(h.value, c, Object.keys(h.options), s);
3826
- a.push.apply(a, Se(S.value, t, r, n, i, c - (h.offset || 0)));
3824
+ if (!H)
3825
+ throw new jt(h.value, c, Object.keys(h.options), s);
3826
+ a.push.apply(a, Te(H.value, t, r, n, i, c - (h.offset || 0)));
3827
3827
  continue;
3828
3828
  }
3829
3829
  }
3830
- return Ci(a);
3830
+ return Li(a);
3831
3831
  }
3832
- function Li(e, t) {
3833
- return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3834
- return r[n] = F(F({}, e[n]), t[n] || {}), r;
3832
+ function Ri(e, t) {
3833
+ return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3834
+ return r[n] = D(D({}, e[n]), t[n] || {}), r;
3835
3835
  }, {})) : e;
3836
3836
  }
3837
- function Mi(e, t) {
3837
+ function Gi(e, t) {
3838
3838
  return t ? Object.keys(e).reduce(function(r, n) {
3839
- return r[n] = Li(e[n], t[n]), r;
3840
- }, F({}, e)) : e;
3839
+ return r[n] = Ri(e[n], t[n]), r;
3840
+ }, D({}, e)) : e;
3841
3841
  }
3842
- function We(e) {
3842
+ function Xe(e) {
3843
3843
  return {
3844
3844
  create: function() {
3845
3845
  return {
@@ -3853,39 +3853,39 @@ function We(e) {
3853
3853
  }
3854
3854
  };
3855
3855
  }
3856
- function Ri(e) {
3856
+ function $i(e) {
3857
3857
  return e === void 0 && (e = {
3858
3858
  number: {},
3859
3859
  dateTime: {},
3860
3860
  pluralRules: {}
3861
3861
  }), {
3862
- getNumberFormat: ke(function() {
3862
+ getNumberFormat: je(function() {
3863
3863
  for (var t, r = [], n = 0; n < arguments.length; n++)
3864
3864
  r[n] = arguments[n];
3865
- return new ((t = Intl.NumberFormat).bind.apply(t, je([void 0], r, !1)))();
3865
+ return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
3866
3866
  }, {
3867
- cache: We(e.number),
3868
- strategy: Ve.variadic
3867
+ cache: Xe(e.number),
3868
+ strategy: ke.variadic
3869
3869
  }),
3870
- getDateTimeFormat: ke(function() {
3870
+ getDateTimeFormat: je(function() {
3871
3871
  for (var t, r = [], n = 0; n < arguments.length; n++)
3872
3872
  r[n] = arguments[n];
3873
- return new ((t = Intl.DateTimeFormat).bind.apply(t, je([void 0], r, !1)))();
3873
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
3874
3874
  }, {
3875
- cache: We(e.dateTime),
3876
- strategy: Ve.variadic
3875
+ cache: Xe(e.dateTime),
3876
+ strategy: ke.variadic
3877
3877
  }),
3878
- getPluralRules: ke(function() {
3878
+ getPluralRules: je(function() {
3879
3879
  for (var t, r = [], n = 0; n < arguments.length; n++)
3880
3880
  r[n] = arguments[n];
3881
- return new ((t = Intl.PluralRules).bind.apply(t, je([void 0], r, !1)))();
3881
+ return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
3882
3882
  }, {
3883
- cache: We(e.pluralRules),
3884
- strategy: Ve.variadic
3883
+ cache: Xe(e.pluralRules),
3884
+ strategy: ke.variadic
3885
3885
  })
3886
3886
  };
3887
3887
  }
3888
- var $i = (
3888
+ var Ui = (
3889
3889
  /** @class */
3890
3890
  function() {
3891
3891
  function e(t, r, n, i) {
@@ -3900,11 +3900,11 @@ var $i = (
3900
3900
  if (u.length === 1)
3901
3901
  return u[0].value;
3902
3902
  var h = u.reduce(function(f, c) {
3903
- return !f.length || c.type !== $.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3903
+ return !f.length || c.type !== M.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3904
3904
  }, []);
3905
3905
  return h.length <= 1 ? h[0] || "" : h;
3906
3906
  }, this.formatToParts = function(l) {
3907
- return Se(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3907
+ return Te(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3908
3908
  }, this.resolvedOptions = function() {
3909
3909
  var l;
3910
3910
  return {
@@ -3917,13 +3917,13 @@ var $i = (
3917
3917
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3918
3918
  var s = i || {};
3919
3919
  s.formatters;
3920
- var a = Wn(s, ["formatters"]);
3921
- this.ast = e.__parse(t, F(F({}, a), { locale: this.resolvedLocale }));
3920
+ var a = Zn(s, ["formatters"]);
3921
+ this.ast = e.__parse(t, D(D({}, a), { locale: this.resolvedLocale }));
3922
3922
  } else
3923
3923
  this.ast = t;
3924
3924
  if (!Array.isArray(this.ast))
3925
3925
  throw new TypeError("A message must be provided as a String or AST.");
3926
- this.formats = Mi(e.formats, n), this.formatters = i && i.formatters || Ri(this.formatterCache);
3926
+ this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || $i(this.formatterCache);
3927
3927
  }
3928
3928
  return Object.defineProperty(e, "defaultLocale", {
3929
3929
  get: function() {
@@ -3936,7 +3936,7 @@ var $i = (
3936
3936
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3937
3937
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3938
3938
  }
3939
- }, e.__parse = Ai, e.formats = {
3939
+ }, e.__parse = Ni, e.formats = {
3940
3940
  number: {
3941
3941
  integer: {
3942
3942
  maximumFractionDigits: 0
@@ -3997,7 +3997,7 @@ var $i = (
3997
3997
  }, e;
3998
3998
  }()
3999
3999
  );
4000
- function Gi(e, t) {
4000
+ function Di(e, t) {
4001
4001
  if (t == null)
4002
4002
  return;
4003
4003
  if (t in e)
@@ -4018,92 +4018,92 @@ function Gi(e, t) {
4018
4018
  n = void 0;
4019
4019
  return n;
4020
4020
  }
4021
- const Z = {}, Ui = (e, t, r) => r && (t in Z || (Z[t] = {}), e in Z[t] || (Z[t][e] = r), r), Br = (e, t) => {
4021
+ const W = {}, Fi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Ar = (e, t) => {
4022
4022
  if (t == null)
4023
4023
  return;
4024
- if (t in Z && e in Z[t])
4025
- return Z[t][e];
4026
- const r = $e(t);
4024
+ if (t in W && e in W[t])
4025
+ return W[t][e];
4026
+ const r = Re(t);
4027
4027
  for (let n = 0; n < r.length; n++) {
4028
- const i = r[n], o = Fi(i, e);
4028
+ const i = r[n], o = ki(i, e);
4029
4029
  if (o)
4030
- return Ui(e, t, o);
4030
+ return Fi(e, t, o);
4031
4031
  }
4032
4032
  };
4033
- let pt;
4034
- const he = Le({});
4035
- function Di(e) {
4036
- return pt[e] || null;
4033
+ let ft;
4034
+ const le = Ie({});
4035
+ function ji(e) {
4036
+ return ft[e] || null;
4037
4037
  }
4038
- function Pr(e) {
4039
- return e in pt;
4038
+ function Or(e) {
4039
+ return e in ft;
4040
4040
  }
4041
- function Fi(e, t) {
4042
- if (!Pr(e))
4041
+ function ki(e, t) {
4042
+ if (!Or(e))
4043
4043
  return null;
4044
- const r = Di(e);
4045
- return Gi(r, t);
4044
+ const r = ji(e);
4045
+ return Di(r, t);
4046
4046
  }
4047
- function ji(e) {
4047
+ function Vi(e) {
4048
4048
  if (e == null)
4049
4049
  return;
4050
- const t = $e(e);
4050
+ const t = Re(e);
4051
4051
  for (let r = 0; r < t.length; r++) {
4052
4052
  const n = t[r];
4053
- if (Pr(n))
4053
+ if (Or(n))
4054
4054
  return n;
4055
4055
  }
4056
4056
  }
4057
- function Ar(e, ...t) {
4058
- delete Z[e], he.update((r) => (r[e] = Xn.all([r[e] || {}, ...t]), r));
4057
+ function Nr(e, ...t) {
4058
+ delete W[e], le.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
4059
4059
  }
4060
- le(
4061
- [he],
4060
+ ue(
4061
+ [le],
4062
4062
  ([e]) => Object.keys(e)
4063
4063
  );
4064
- he.subscribe((e) => pt = e);
4065
- const He = {};
4066
- function ki(e, t) {
4067
- He[e].delete(t), He[e].size === 0 && delete He[e];
4064
+ le.subscribe((e) => ft = e);
4065
+ const Se = {};
4066
+ function Xi(e, t) {
4067
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
4068
4068
  }
4069
- function Or(e) {
4070
- return He[e];
4069
+ function Cr(e) {
4070
+ return Se[e];
4071
4071
  }
4072
- function Vi(e) {
4073
- return $e(e).map((t) => {
4074
- const r = Or(t);
4072
+ function Wi(e) {
4073
+ return Re(e).map((t) => {
4074
+ const r = Cr(t);
4075
4075
  return [t, r ? [...r] : []];
4076
4076
  }).filter(([, t]) => t.length > 0);
4077
4077
  }
4078
- function ht(e) {
4079
- return e == null ? !1 : $e(e).some(
4078
+ function lt(e) {
4079
+ return e == null ? !1 : Re(e).some(
4080
4080
  (t) => {
4081
4081
  var r;
4082
- return (r = Or(t)) == null ? void 0 : r.size;
4082
+ return (r = Cr(t)) == null ? void 0 : r.size;
4083
4083
  }
4084
4084
  );
4085
4085
  }
4086
- function Xi(e, t) {
4086
+ function zi(e, t) {
4087
4087
  return Promise.all(
4088
- t.map((n) => (ki(e, n), n().then((i) => i.default || i)))
4089
- ).then((n) => Ar(e, ...n));
4090
- }
4091
- const fe = {};
4092
- function Nr(e) {
4093
- if (!ht(e))
4094
- return e in fe ? fe[e] : Promise.resolve();
4095
- const t = Vi(e);
4096
- return fe[e] = Promise.all(
4088
+ t.map((n) => (Xi(e, n), n().then((i) => i.default || i)))
4089
+ ).then((n) => Nr(e, ...n));
4090
+ }
4091
+ const ce = {};
4092
+ function Ir(e) {
4093
+ if (!lt(e))
4094
+ return e in ce ? ce[e] : Promise.resolve();
4095
+ const t = Wi(e);
4096
+ return ce[e] = Promise.all(
4097
4097
  t.map(
4098
- ([r, n]) => Xi(r, n)
4098
+ ([r, n]) => zi(r, n)
4099
4099
  )
4100
4100
  ).then(() => {
4101
- if (ht(e))
4102
- return Nr(e);
4103
- delete fe[e];
4104
- }), fe[e];
4101
+ if (lt(e))
4102
+ return Ir(e);
4103
+ delete ce[e];
4104
+ }), ce[e];
4105
4105
  }
4106
- const Wi = {
4106
+ const Zi = {
4107
4107
  number: {
4108
4108
  scientific: { notation: "scientific" },
4109
4109
  engineering: { notation: "engineering" },
@@ -4132,57 +4132,57 @@ const Wi = {
4132
4132
  timeZoneName: "short"
4133
4133
  }
4134
4134
  }
4135
- }, zi = {
4135
+ }, Qi = {
4136
4136
  fallbackLocale: null,
4137
4137
  loadingDelay: 200,
4138
- formats: Wi,
4138
+ formats: Zi,
4139
4139
  warnOnMissingMessages: !0,
4140
4140
  handleMissingMessage: void 0,
4141
4141
  ignoreTag: !0
4142
- }, Zi = zi;
4143
- function ae() {
4144
- return Zi;
4142
+ }, Ji = Qi;
4143
+ function se() {
4144
+ return Ji;
4145
4145
  }
4146
- const ze = Le(!1);
4147
- var Qi = Object.defineProperty, Ji = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
4146
+ const We = Ie(!1);
4147
+ var qi = Object.defineProperty, Yi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
4148
4148
  for (var r in t || (t = {}))
4149
- Yi.call(t, r) && Ft(e, r, t[r]);
4150
- if (Dt)
4151
- for (var r of Dt(t))
4152
- Ki.call(t, r) && Ft(e, r, t[r]);
4149
+ eo.call(t, r) && Vt(e, r, t[r]);
4150
+ if (kt)
4151
+ for (var r of kt(t))
4152
+ to.call(t, r) && Vt(e, r, t[r]);
4153
4153
  return e;
4154
- }, to = (e, t) => Ji(e, qi(t));
4155
- let ct;
4156
- const Oe = Le(null);
4157
- function jt(e) {
4154
+ }, no = (e, t) => Yi(e, Ki(t));
4155
+ let ht;
4156
+ const Ae = Ie(null);
4157
+ function Xt(e) {
4158
4158
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4159
4159
  }
4160
- function $e(e, t = ae().fallbackLocale) {
4161
- const r = jt(e);
4162
- return t ? [.../* @__PURE__ */ new Set([...r, ...jt(t)])] : r;
4160
+ function Re(e, t = se().fallbackLocale) {
4161
+ const r = Xt(e);
4162
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Xt(t)])] : r;
4163
4163
  }
4164
- function K() {
4165
- return ct != null ? ct : void 0;
4164
+ function Y() {
4165
+ return ht != null ? ht : void 0;
4166
4166
  }
4167
- Oe.subscribe((e) => {
4168
- ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4167
+ Ae.subscribe((e) => {
4168
+ ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4169
4169
  });
4170
- const ro = (e) => {
4171
- if (e && ji(e) && ht(e)) {
4172
- const { loadingDelay: t } = ae();
4170
+ const io = (e) => {
4171
+ if (e && Vi(e) && lt(e)) {
4172
+ const { loadingDelay: t } = se();
4173
4173
  let r;
4174
- return typeof window != "undefined" && K() != null && t ? r = window.setTimeout(
4175
- () => ze.set(!0),
4174
+ return typeof window != "undefined" && Y() != null && t ? r = window.setTimeout(
4175
+ () => We.set(!0),
4176
4176
  t
4177
- ) : ze.set(!0), Nr(e).then(() => {
4178
- Oe.set(e);
4177
+ ) : We.set(!0), Ir(e).then(() => {
4178
+ Ae.set(e);
4179
4179
  }).finally(() => {
4180
- clearTimeout(r), ze.set(!1);
4180
+ clearTimeout(r), We.set(!1);
4181
4181
  });
4182
4182
  }
4183
- return Oe.set(e);
4184
- }, Q = to(eo({}, Oe), {
4185
- set: ro
4183
+ return Ae.set(e);
4184
+ }, Z = no(ro({}, Ae), {
4185
+ set: io
4186
4186
  }), Ge = (e) => {
4187
4187
  const t = /* @__PURE__ */ Object.create(null);
4188
4188
  return (n) => {
@@ -4190,92 +4190,92 @@ const ro = (e) => {
4190
4190
  return i in t ? t[i] : t[i] = e(n);
4191
4191
  };
4192
4192
  };
4193
- var no = Object.defineProperty, Ne = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mt = (e, t) => {
4193
+ var oo = Object.defineProperty, Oe = Object.getOwnPropertySymbols, Lr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
4194
4194
  for (var r in t || (t = {}))
4195
- Cr.call(t, r) && kt(e, r, t[r]);
4196
- if (Ne)
4197
- for (var r of Ne(t))
4198
- Ir.call(t, r) && kt(e, r, t[r]);
4195
+ Lr.call(t, r) && Wt(e, r, t[r]);
4196
+ if (Oe)
4197
+ for (var r of Oe(t))
4198
+ Mr.call(t, r) && Wt(e, r, t[r]);
4199
4199
  return e;
4200
- }, ce = (e, t) => {
4200
+ }, he = (e, t) => {
4201
4201
  var r = {};
4202
4202
  for (var n in e)
4203
- Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4204
- if (e != null && Ne)
4205
- for (var n of Ne(e))
4206
- t.indexOf(n) < 0 && Ir.call(e, n) && (r[n] = e[n]);
4203
+ Lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4204
+ if (e != null && Oe)
4205
+ for (var n of Oe(e))
4206
+ t.indexOf(n) < 0 && Mr.call(e, n) && (r[n] = e[n]);
4207
4207
  return r;
4208
4208
  };
4209
- const be = (e, t) => {
4210
- const { formats: r } = ae();
4209
+ const de = (e, t) => {
4210
+ const { formats: r } = se();
4211
4211
  if (e in r && t in r[e])
4212
4212
  return r[e][t];
4213
4213
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4214
- }, io = Ge(
4214
+ }, so = Ge(
4215
4215
  (e) => {
4216
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
4216
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4217
4217
  if (r == null)
4218
4218
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4219
- return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
4219
+ return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
4220
4220
  }
4221
- ), oo = Ge(
4221
+ ), ao = Ge(
4222
4222
  (e) => {
4223
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
4223
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4224
4224
  if (r == null)
4225
4225
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4226
- return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
4226
+ return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
4227
4227
  }
4228
- ), so = Ge(
4228
+ ), uo = Ge(
4229
4229
  (e) => {
4230
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
4230
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
4231
4231
  if (r == null)
4232
4232
  throw new Error(
4233
4233
  '[svelte-i18n] A "locale" must be set to format time values'
4234
4234
  );
4235
- return n ? i = be("time", n) : Object.keys(i).length === 0 && (i = be("time", "short")), new Intl.DateTimeFormat(r, i);
4235
+ return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
4236
4236
  }
4237
- ), ao = (e = {}) => {
4237
+ ), lo = (e = {}) => {
4238
4238
  var t = e, {
4239
- locale: r = K()
4240
- } = t, n = ce(t, [
4239
+ locale: r = Y()
4240
+ } = t, n = he(t, [
4241
4241
  "locale"
4242
4242
  ]);
4243
- return io(mt({ locale: r }, n));
4244
- }, uo = (e = {}) => {
4243
+ return so(pt({ locale: r }, n));
4244
+ }, ho = (e = {}) => {
4245
4245
  var t = e, {
4246
- locale: r = K()
4247
- } = t, n = ce(t, [
4246
+ locale: r = Y()
4247
+ } = t, n = he(t, [
4248
4248
  "locale"
4249
4249
  ]);
4250
- return oo(mt({ locale: r }, n));
4251
- }, lo = (e = {}) => {
4250
+ return ao(pt({ locale: r }, n));
4251
+ }, co = (e = {}) => {
4252
4252
  var t = e, {
4253
- locale: r = K()
4254
- } = t, n = ce(t, [
4253
+ locale: r = Y()
4254
+ } = t, n = he(t, [
4255
4255
  "locale"
4256
4256
  ]);
4257
- return so(mt({ locale: r }, n));
4258
- }, ho = Ge(
4257
+ return uo(pt({ locale: r }, n));
4258
+ }, fo = Ge(
4259
4259
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4260
- (e, t = K()) => new $i(e, t, ae().formats, {
4261
- ignoreTag: ae().ignoreTag
4260
+ (e, t = Y()) => new Ui(e, t, se().formats, {
4261
+ ignoreTag: se().ignoreTag
4262
4262
  })
4263
- ), co = (e, t = {}) => {
4263
+ ), po = (e, t = {}) => {
4264
4264
  var r, n, i, o;
4265
4265
  let s = t;
4266
4266
  typeof e == "object" && (s = e, e = s.id);
4267
4267
  const {
4268
4268
  values: a,
4269
- locale: l = K(),
4269
+ locale: l = Y(),
4270
4270
  default: u
4271
4271
  } = s;
4272
4272
  if (l == null)
4273
4273
  throw new Error(
4274
4274
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4275
4275
  );
4276
- let h = Br(e, l);
4276
+ let h = Ar(e, l);
4277
4277
  if (!h)
4278
- h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4278
+ h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4279
4279
  else if (typeof h != "string")
4280
4280
  return console.warn(
4281
4281
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4284,7 +4284,7 @@ const be = (e, t) => {
4284
4284
  return h;
4285
4285
  let f = h;
4286
4286
  try {
4287
- f = ho(h, l).format(a);
4287
+ f = fo(h, l).format(a);
4288
4288
  } catch (c) {
4289
4289
  c instanceof Error && console.warn(
4290
4290
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4292,60 +4292,61 @@ const be = (e, t) => {
4292
4292
  );
4293
4293
  }
4294
4294
  return f;
4295
- }, fo = (e, t) => lo(t).format(e), po = (e, t) => uo(t).format(e), mo = (e, t) => ao(t).format(e), bo = (e, t = K()) => Br(e, t), go = le([Q, he], () => co);
4296
- le([Q], () => fo);
4297
- le([Q], () => po);
4298
- le([Q], () => mo);
4299
- le([Q, he], () => bo);
4300
- window.emWidgets = { topic: Pn };
4301
- 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));
4302
- function yo({ withLocale: e, translations: t }) {
4303
- Q.subscribe((r) => {
4304
- r == null && (he.set(t), Q.set(e));
4295
+ }, mo = (e, t) => co(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => lo(t).format(e), vo = (e, t = Y()) => Ar(e, t), yo = ue([Z, le], () => po);
4296
+ ue([Z], () => mo);
4297
+ ue([Z], () => bo);
4298
+ ue([Z], () => go);
4299
+ ue([Z, le], () => vo);
4300
+ window.emWidgets = { topic: On };
4301
+ const _o = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4302
+ function Eo({ withLocale: e, translations: t }) {
4303
+ Z.subscribe((r) => {
4304
+ r == null && (le.set(t), Z.set(e));
4305
4305
  });
4306
4306
  }
4307
- function Vt(e, t) {
4308
- Ar(e, t);
4307
+ function zt(e, t) {
4308
+ Nr(e, t);
4309
4309
  }
4310
- function _o(e) {
4311
- Q.set(e);
4310
+ function xo(e) {
4311
+ Z.set(e);
4312
4312
  }
4313
- const Xt = {
4313
+ const Zt = {
4314
4314
  en: {
4315
4315
  loading: "Loading, please wait ...",
4316
4316
  playNow: "Play Now",
4317
4317
  casino: "CASINO",
4318
4318
  sports: "SPORTSBOOK",
4319
4319
  contribution: "Contribution",
4320
- noGamesAvailable: "No games have been configured yet!"
4320
+ noGamesAvailable: "No games have been configured yet!",
4321
+ noMoreGames: "No more games"
4321
4322
  }
4322
4323
  };
4323
- function Eo(e) {
4324
- Vr(e, "svelte-xv9pd7", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
4324
+ function wo(e) {
4325
+ Wr(e, "svelte-xv9pd7", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
4325
4326
  }
4326
- function Wt(e, t, r) {
4327
+ function Qt(e, t, r) {
4327
4328
  const n = e.slice();
4328
- return n[31] = t[r], n;
4329
+ return n[32] = t[r], n;
4329
4330
  }
4330
- function zt(e, t, r) {
4331
+ function Jt(e, t, r) {
4331
4332
  const n = e.slice();
4332
- return n[31] = t[r], n[35] = r, n;
4333
+ return n[32] = t[r], n[36] = r, n;
4333
4334
  }
4334
- function Zt(e) {
4335
+ function qt(e) {
4335
4336
  let t, r;
4336
4337
  return {
4337
4338
  c() {
4338
- t = A("div"), r = A("casino-tournaments-tab"), O(r, "part", "TournamentGames"), O(r, "tabs", "casino,sports"), O(r, "tab", "casino"), O(r, "tid", ft), O(
4339
+ t = O("div"), r = O("casino-tournaments-tab"), C(r, "part", "TournamentGames"), C(r, "tabs", "casino,sports"), C(r, "tab", "casino"), C(r, "tid", ct), C(
4339
4340
  r,
4340
4341
  "clientstyling",
4341
4342
  /*clientstyling*/
4342
4343
  e[0]
4343
- ), O(
4344
+ ), C(
4344
4345
  r,
4345
4346
  "clientstylingurl",
4346
4347
  /*clientstylingurl*/
4347
4348
  e[1]
4348
- ), O(
4349
+ ), C(
4349
4350
  r,
4350
4351
  "mbsource",
4351
4352
  /*mbsource*/
@@ -4353,23 +4354,23 @@ function Zt(e) {
4353
4354
  ), v(t, "class", "GamesTabNav");
4354
4355
  },
4355
4356
  m(n, i) {
4356
- z(n, t, i), x(t, r);
4357
+ j(n, t, i), x(t, r);
4357
4358
  },
4358
4359
  p(n, i) {
4359
4360
  i[0] & /*clientstyling*/
4360
- 1 && O(
4361
+ 1 && C(
4361
4362
  r,
4362
4363
  "clientstyling",
4363
4364
  /*clientstyling*/
4364
4365
  n[0]
4365
4366
  ), i[0] & /*clientstylingurl*/
4366
- 2 && O(
4367
+ 2 && C(
4367
4368
  r,
4368
4369
  "clientstylingurl",
4369
4370
  /*clientstylingurl*/
4370
4371
  n[1]
4371
4372
  ), i[0] & /*mbsource*/
4372
- 4 && O(
4373
+ 4 && C(
4373
4374
  r,
4374
4375
  "mbsource",
4375
4376
  /*mbsource*/
@@ -4377,83 +4378,105 @@ function Zt(e) {
4377
4378
  );
4378
4379
  },
4379
4380
  d(n) {
4380
- n && j(t);
4381
+ n && $(t);
4381
4382
  }
4382
4383
  };
4383
4384
  }
4384
- function xo(e) {
4385
+ function To(e) {
4385
4386
  let t, r = (
4386
4387
  /*$_*/
4387
- e[12]("noGamesAvailable") + ""
4388
+ e[13]("noGamesAvailable") + ""
4388
4389
  ), n;
4389
4390
  return {
4390
4391
  c() {
4391
- t = A("div"), n = W(r), v(t, "class", "NoGames");
4392
+ t = O("div"), n = F(r), v(t, "class", "NoGames");
4392
4393
  },
4393
4394
  m(i, o) {
4394
- z(i, t, o), x(t, n);
4395
+ j(i, t, o), x(t, n);
4395
4396
  },
4396
4397
  p(i, o) {
4397
4398
  o[0] & /*$_*/
4398
- 4096 && r !== (r = /*$_*/
4399
- i[12]("noGamesAvailable") + "") && Y(n, r);
4399
+ 8192 && r !== (r = /*$_*/
4400
+ i[13]("noGamesAvailable") + "") && z(n, r);
4400
4401
  },
4401
4402
  d(i) {
4402
- i && j(t);
4403
+ i && $(t);
4403
4404
  }
4404
4405
  };
4405
4406
  }
4406
- function wo(e) {
4407
+ function So(e) {
4407
4408
  let t, r = (
4408
4409
  /*$_*/
4409
- e[12]("loading") + ""
4410
+ e[13]("noMoreGames") + ""
4410
4411
  ), n;
4411
4412
  return {
4412
4413
  c() {
4413
- t = A("div"), n = W(r), v(t, "class", "LoadingGames");
4414
+ t = O("div"), n = F(r), v(t, "class", "NoGames");
4414
4415
  },
4415
4416
  m(i, o) {
4416
- z(i, t, o), x(t, n);
4417
+ j(i, t, o), x(t, n);
4417
4418
  },
4418
4419
  p(i, o) {
4419
4420
  o[0] & /*$_*/
4420
- 4096 && r !== (r = /*$_*/
4421
- i[12]("loading") + "") && Y(n, r);
4421
+ 8192 && r !== (r = /*$_*/
4422
+ i[13]("noMoreGames") + "") && z(n, r);
4422
4423
  },
4423
4424
  d(i) {
4424
- i && j(t);
4425
+ i && $(t);
4425
4426
  }
4426
4427
  };
4427
4428
  }
4428
- function To(e) {
4429
- let t, r = Pe(
4429
+ function Ho(e) {
4430
+ let t, r = (
4431
+ /*$_*/
4432
+ e[13]("loading") + ""
4433
+ ), n;
4434
+ return {
4435
+ c() {
4436
+ t = O("div"), n = F(r), v(t, "class", "LoadingGames");
4437
+ },
4438
+ m(i, o) {
4439
+ j(i, t, o), x(t, n);
4440
+ },
4441
+ p(i, o) {
4442
+ o[0] & /*$_*/
4443
+ 8192 && r !== (r = /*$_*/
4444
+ i[13]("loading") + "") && z(n, r);
4445
+ },
4446
+ d(i) {
4447
+ i && $(t);
4448
+ }
4449
+ };
4450
+ }
4451
+ function Bo(e) {
4452
+ let t, r = Be(
4430
4453
  /*casinoGames*/
4431
4454
  e[8]
4432
4455
  ), n = [];
4433
4456
  for (let i = 0; i < r.length; i += 1)
4434
- n[i] = Qt(zt(e, r, i));
4457
+ n[i] = Yt(Jt(e, r, i));
4435
4458
  return {
4436
4459
  c() {
4437
4460
  for (let i = 0; i < n.length; i += 1)
4438
4461
  n[i].c();
4439
- t = zr();
4462
+ t = Qr();
4440
4463
  },
4441
4464
  m(i, o) {
4442
4465
  for (let s = 0; s < n.length; s += 1)
4443
4466
  n[s] && n[s].m(i, o);
4444
- z(i, t, o);
4467
+ j(i, t, o);
4445
4468
  },
4446
4469
  p(i, o) {
4447
4470
  if (o[0] & /*gameClicked, casinoGames, $_*/
4448
- 20736) {
4449
- r = Pe(
4471
+ 41216) {
4472
+ r = Be(
4450
4473
  /*casinoGames*/
4451
4474
  i[8]
4452
4475
  );
4453
4476
  let s;
4454
4477
  for (s = 0; s < r.length; s += 1) {
4455
- const a = zt(i, r, s);
4456
- n[s] ? n[s].p(a, o) : (n[s] = Qt(a), n[s].c(), n[s].m(t.parentNode, t));
4478
+ const a = Jt(i, r, s);
4479
+ n[s] ? n[s].p(a, o) : (n[s] = Yt(a), n[s].c(), n[s].m(t.parentNode, t));
4457
4480
  }
4458
4481
  for (; s < n.length; s += 1)
4459
4482
  n[s].d(1);
@@ -4461,247 +4484,246 @@ function To(e) {
4461
4484
  }
4462
4485
  },
4463
4486
  d(i) {
4464
- i && j(t), tr(n, i);
4487
+ i && $(t), nr(n, i);
4465
4488
  }
4466
4489
  };
4467
4490
  }
4468
- function Qt(e) {
4491
+ function Yt(e) {
4469
4492
  let t, r, n = (
4470
4493
  /*$_*/
4471
- e[12]("playNow") + ""
4494
+ e[13]("playNow") + ""
4472
4495
  ), i, o, s, a, l, u, h, f, c;
4473
4496
  return {
4474
4497
  c() {
4475
- t = A("div"), r = A("span"), i = W(n), o = V(), s = A("ui-image"), h = V(), v(r, "class", "PlayNowButton"), xt(s.src, a = /*item*/
4476
- e[31].thumbnail) || O(s, "src", a), O(s, "width", "132px"), O(s, "height", "100px"), O(s, "alt", l = /*item*/
4477
- e[31].name), O(s, "title", u = /*item*/
4478
- e[31].name), v(t, "class", "item"), v(t, "id", "g_" + /*idx*/
4479
- e[35]), v(t, "role", "button"), v(t, "tabindex", "0");
4498
+ t = O("div"), r = O("span"), i = F(n), o = V(), s = O("ui-image"), h = V(), v(r, "class", "PlayNowButton"), St(s.src, a = /*item*/
4499
+ e[32].thumbnail) || C(s, "src", a), C(s, "width", "132px"), C(s, "height", "100px"), C(s, "alt", l = /*item*/
4500
+ e[32].name), C(s, "title", u = /*item*/
4501
+ e[32].name), v(t, "class", "item"), v(t, "id", "g_" + /*idx*/
4502
+ e[36]), v(t, "role", "button"), v(t, "tabindex", "0");
4480
4503
  },
4481
4504
  m(m, d) {
4482
- z(m, t, d), x(t, r), x(r, i), x(t, o), x(t, s), x(t, h), f || (c = Ze(t, "click", function() {
4483
- Ce(
4505
+ j(m, t, d), x(t, r), x(r, i), x(t, o), x(t, s), x(t, h), f || (c = ze(t, "click", function() {
4506
+ Ne(
4484
4507
  /*gameClicked*/
4485
- e[14](
4508
+ e[15](
4486
4509
  /*item*/
4487
- e[31]
4510
+ e[32]
4488
4511
  )
4489
- ) && e[14](
4512
+ ) && e[15](
4490
4513
  /*item*/
4491
- e[31]
4514
+ e[32]
4492
4515
  ).apply(this, arguments);
4493
4516
  }), f = !0);
4494
4517
  },
4495
4518
  p(m, d) {
4496
4519
  e = m, d[0] & /*$_*/
4497
- 4096 && n !== (n = /*$_*/
4498
- e[12]("playNow") + "") && Y(i, n), d[0] & /*casinoGames*/
4499
- 256 && !xt(s.src, a = /*item*/
4500
- e[31].thumbnail) && O(s, "src", a), d[0] & /*casinoGames*/
4520
+ 8192 && n !== (n = /*$_*/
4521
+ e[13]("playNow") + "") && z(i, n), d[0] & /*casinoGames*/
4522
+ 256 && !St(s.src, a = /*item*/
4523
+ e[32].thumbnail) && C(s, "src", a), d[0] & /*casinoGames*/
4501
4524
  256 && l !== (l = /*item*/
4502
- e[31].name) && O(s, "alt", l), d[0] & /*casinoGames*/
4525
+ e[32].name) && C(s, "alt", l), d[0] & /*casinoGames*/
4503
4526
  256 && u !== (u = /*item*/
4504
- e[31].name) && O(s, "title", u);
4527
+ e[32].name) && C(s, "title", u);
4505
4528
  },
4506
4529
  d(m) {
4507
- m && j(t), f = !1, c();
4530
+ m && $(t), f = !1, c();
4508
4531
  }
4509
4532
  };
4510
4533
  }
4511
- function Jt(e) {
4534
+ function Po(e) {
4512
4535
  let t, r, n, i, o, s, a, l = (
4513
4536
  /*$_*/
4514
- e[12]("previous") + ""
4537
+ e[13]("previous") + ""
4515
4538
  ), u, h, f, c, m, d, b = (
4516
4539
  /*$_*/
4517
- e[12]("next") + ""
4518
- ), y, B, w, S, L, N, g, P, C;
4540
+ e[13]("next") + ""
4541
+ ), w, N, _, H, I, g, B, P, U;
4519
4542
  return {
4520
4543
  c() {
4521
- t = A("div"), r = A("button"), n = _e("svg"), i = _e("path"), s = V(), a = A("span"), u = W(l), c = V(), m = A("button"), d = A("span"), y = W(b), B = V(), w = _e("svg"), S = _e("path"), v(i, "fill", o = /*hasPreviousPage*/
4522
- e[9] ? "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*/
4523
- e[9] ? "" : "Disabled")), r.disabled = f = /*hasPreviousPage*/
4524
- !e[9], v(d, "class", "TournamentsPaginationControlsText"), v(S, "fill", L = /*hasNextPage*/
4525
- e[10] ? "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(w, "xmlns", "http://www.w3.org/2000/svg"), v(w, "width", "8"), v(w, "height", "13.992"), v(w, "viewBox", "0 0 8 13.992"), v(m, "class", N = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
4526
- e[10] ? "" : "Disabled")), m.disabled = g = /*hasNextPage*/
4527
- !e[10], v(t, "class", "TournamentsPaginationControlsArea");
4544
+ t = O("div"), r = O("button"), n = ye("svg"), i = ye("path"), s = V(), a = O("span"), u = F(l), c = V(), m = O("button"), d = O("span"), w = F(b), N = V(), _ = ye("svg"), H = ye("path"), v(i, "fill", o = /*hasPreviousPage*/
4545
+ e[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), v(i, "class", "a"), v(i, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), v(i, "transform", "translate(19.246 -6.188) rotate(90)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "8"), v(n, "height", "13.992"), v(n, "viewBox", "0 0 8 13.992"), v(a, "class", "TournamentsPaginationControlsText"), v(r, "class", h = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
4546
+ e[10] ? "" : "Disabled")), r.disabled = f = /*hasPreviousPage*/
4547
+ !e[10], v(d, "class", "TournamentsPaginationControlsText"), v(H, "fill", I = /*hasNextPage*/
4548
+ e[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), v(H, "class", "a"), v(H, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), v(H, "transform", "translate(-11.246 20.179) rotate(-90)"), v(_, "xmlns", "http://www.w3.org/2000/svg"), v(_, "width", "8"), v(_, "height", "13.992"), v(_, "viewBox", "0 0 8 13.992"), v(m, "class", g = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
4549
+ e[11] ? "" : "Disabled")), m.disabled = B = /*hasNextPage*/
4550
+ !e[11], v(t, "class", "TournamentsPaginationControlsArea");
4528
4551
  },
4529
- m(I, M) {
4530
- z(I, t, M), 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, y), x(m, B), x(m, w), x(w, S), P || (C = [
4531
- Ze(
4552
+ m(T, L) {
4553
+ j(T, t, L), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, u), x(t, c), x(t, m), x(m, d), x(d, w), x(m, N), x(m, _), x(_, H), P || (U = [
4554
+ ze(
4532
4555
  r,
4533
4556
  "click",
4534
4557
  /*gotoPage*/
4535
- e[15].bind(this, -1)
4558
+ e[16].bind(this, -1)
4536
4559
  ),
4537
- Ze(
4560
+ ze(
4538
4561
  m,
4539
4562
  "click",
4540
4563
  /*gotoPage*/
4541
- e[15].bind(this, 1)
4564
+ e[16].bind(this, 1)
4542
4565
  )
4543
4566
  ], P = !0);
4544
4567
  },
4545
- p(I, M) {
4546
- M[0] & /*hasPreviousPage*/
4547
- 512 && o !== (o = /*hasPreviousPage*/
4548
- I[9] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && v(i, "fill", o), M[0] & /*$_*/
4549
- 4096 && l !== (l = /*$_*/
4550
- I[12]("previous") + "") && Y(u, l), M[0] & /*hasPreviousPage*/
4551
- 512 && h !== (h = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
4552
- I[9] ? "" : "Disabled")) && v(r, "class", h), M[0] & /*hasPreviousPage*/
4553
- 512 && f !== (f = /*hasPreviousPage*/
4554
- !I[9]) && (r.disabled = f), M[0] & /*$_*/
4555
- 4096 && b !== (b = /*$_*/
4556
- I[12]("next") + "") && Y(y, b), M[0] & /*hasNextPage*/
4557
- 1024 && L !== (L = /*hasNextPage*/
4558
- I[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && v(S, "fill", L), M[0] & /*hasNextPage*/
4559
- 1024 && N !== (N = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
4560
- I[10] ? "" : "Disabled")) && v(m, "class", N), M[0] & /*hasNextPage*/
4561
- 1024 && g !== (g = /*hasNextPage*/
4562
- !I[10]) && (m.disabled = g);
4568
+ p(T, L) {
4569
+ L[0] & /*hasPreviousPage*/
4570
+ 1024 && o !== (o = /*hasPreviousPage*/
4571
+ T[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && v(i, "fill", o), L[0] & /*$_*/
4572
+ 8192 && l !== (l = /*$_*/
4573
+ T[13]("previous") + "") && z(u, l), L[0] & /*hasPreviousPage*/
4574
+ 1024 && h !== (h = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
4575
+ T[10] ? "" : "Disabled")) && v(r, "class", h), L[0] & /*hasPreviousPage*/
4576
+ 1024 && f !== (f = /*hasPreviousPage*/
4577
+ !T[10]) && (r.disabled = f), L[0] & /*$_*/
4578
+ 8192 && b !== (b = /*$_*/
4579
+ T[13]("next") + "") && z(w, b), L[0] & /*hasNextPage*/
4580
+ 2048 && I !== (I = /*hasNextPage*/
4581
+ T[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && v(H, "fill", I), L[0] & /*hasNextPage*/
4582
+ 2048 && g !== (g = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
4583
+ T[11] ? "" : "Disabled")) && v(m, "class", g), L[0] & /*hasNextPage*/
4584
+ 2048 && B !== (B = /*hasNextPage*/
4585
+ !T[11]) && (m.disabled = B);
4563
4586
  },
4564
- d(I) {
4565
- I && j(t), P = !1, ue(C);
4587
+ d(T) {
4588
+ T && $(t), P = !1, ae(U);
4566
4589
  }
4567
4590
  };
4568
4591
  }
4569
- function qt(e) {
4592
+ function Kt(e) {
4570
4593
  let t, r = (
4571
4594
  /*item*/
4572
- e[31].rule + ""
4595
+ e[32].rule + ""
4573
4596
  ), n, i, o = (
4574
4597
  /*$_*/
4575
- e[12]("contribution") + ""
4598
+ e[13]("contribution") + ""
4576
4599
  ), s;
4577
4600
  return {
4578
4601
  c() {
4579
- t = A("li"), n = W(r), i = V(), s = W(o), v(t, "part", "li"), v(t, "class", "Market");
4602
+ t = O("li"), n = F(r), i = V(), s = F(o), v(t, "part", "li"), v(t, "class", "Market");
4580
4603
  },
4581
4604
  m(a, l) {
4582
- z(a, t, l), x(t, n), x(t, i), x(t, s);
4605
+ j(a, t, l), x(t, n), x(t, i), x(t, s);
4583
4606
  },
4584
4607
  p(a, l) {
4585
4608
  l[0] & /*sportsRules*/
4586
4609
  128 && r !== (r = /*item*/
4587
- a[31].rule + "") && Y(n, r), l[0] & /*$_*/
4588
- 4096 && o !== (o = /*$_*/
4589
- a[12]("contribution") + "") && Y(s, o);
4610
+ a[32].rule + "") && z(n, r), l[0] & /*$_*/
4611
+ 8192 && o !== (o = /*$_*/
4612
+ a[13]("contribution") + "") && z(s, o);
4590
4613
  },
4591
4614
  d(a) {
4592
- a && j(t);
4615
+ a && $(t);
4593
4616
  }
4594
4617
  };
4595
4618
  }
4596
- function So(e) {
4597
- var S, L, N;
4619
+ function Ao(e) {
4620
+ var H, I;
4598
4621
  let t, r, n, i, o, s, a, l, u, h, f, c = (
4599
4622
  /*tournamentdetails*/
4600
4623
  e[3] && /*tournamentdetails*/
4601
- ((S = e[3].wallet) == null ? void 0 : S.sports) && /*tournamentdetails*/
4602
- ((L = e[3].wallet) == null ? void 0 : L.casino) && Zt(e)
4624
+ ((H = e[3].wallet) == null ? void 0 : H.sports) && /*tournamentdetails*/
4625
+ ((I = e[3].wallet) == null ? void 0 : I.casino) && qt(e)
4603
4626
  );
4604
- function m(g, P) {
4605
- var C;
4627
+ function m(g, B) {
4628
+ var P;
4606
4629
  return (
4607
4630
  /*casinoGames*/
4608
- (C = g[8]) != null && C.length ? To : (
4631
+ (P = g[8]) != null && P.length ? Bo : (
4609
4632
  /*isLoadingGames*/
4610
- g[11] ? wo : xo
4633
+ g[12] ? Ho : (
4634
+ /*noMoreGamesWhenPagination*/
4635
+ g[9] ? So : To
4636
+ )
4611
4637
  )
4612
4638
  );
4613
4639
  }
4614
- let d = m(e), b = d(e), y = (
4615
- /*casinoGames*/
4616
- ((N = e[8]) == null ? void 0 : N.length) && !/*isMobileDevice*/
4617
- e[13] && Jt(e)
4618
- ), B = Pe(
4640
+ let d = m(e), b = d(e), w = !/*isMobileDevice*/
4641
+ e[14] && Po(e), N = Be(
4619
4642
  /*sportsRules*/
4620
4643
  e[7]
4621
- ), w = [];
4622
- for (let g = 0; g < B.length; g += 1)
4623
- w[g] = qt(Wt(e, B, g));
4644
+ ), _ = [];
4645
+ for (let g = 0; g < N.length; g += 1)
4646
+ _[g] = Kt(Qt(e, N, g));
4624
4647
  return {
4625
4648
  c() {
4626
- t = A("div"), c && c.c(), r = V(), n = A("div"), i = A("div"), o = A("div"), b.c(), s = V(), y && y.c(), l = V(), u = A("div"), h = A("ul");
4627
- for (let g = 0; g < w.length; g += 1)
4628
- w[g].c();
4649
+ t = O("div"), c && c.c(), r = V(), n = O("div"), i = O("div"), o = O("div"), b.c(), s = V(), w && w.c(), l = V(), u = O("div"), h = O("ul");
4650
+ for (let g = 0; g < _.length; g += 1)
4651
+ _[g].c();
4629
4652
  v(o, "class", "GameList items"), v(i, "class", a = "TabContent GamesContent " + /*activeTab*/
4630
4653
  (e[6] != "casino" ? "hidden" : "")), v(h, "class", "SportsPage"), v(u, "class", f = "TabContent GamesContent " + /*activeTab*/
4631
4654
  (e[6] != "sports" ? "hidden" : "")), v(n, "class", "GamesWrapper"), v(
4632
4655
  t,
4633
4656
  "class",
4634
4657
  /*isMobileDevice*/
4635
- e[13] ? "MobileClass" : ""
4658
+ e[14] ? "MobileClass" : ""
4636
4659
  );
4637
4660
  },
4638
- m(g, P) {
4639
- z(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[18](o), x(i, s), y && y.m(i, null), x(n, l), x(n, u), x(u, h);
4640
- for (let C = 0; C < w.length; C += 1)
4641
- w[C] && w[C].m(h, null);
4642
- e[19](t);
4661
+ m(g, B) {
4662
+ j(g, t, B), c && c.m(t, null), x(t, r), x(t, n), x(n, i), x(i, o), b.m(o, null), e[19](o), x(i, s), w && w.m(i, null), x(n, l), x(n, u), x(u, h);
4663
+ for (let P = 0; P < _.length; P += 1)
4664
+ _[P] && _[P].m(h, null);
4665
+ e[20](t);
4643
4666
  },
4644
- p(g, P) {
4645
- var C, I, M;
4667
+ p(g, B) {
4668
+ var P, U;
4646
4669
  if (/*tournamentdetails*/
4647
4670
  g[3] && /*tournamentdetails*/
4648
- ((C = g[3].wallet) != null && C.sports) && /*tournamentdetails*/
4649
- ((I = g[3].wallet) != null && I.casino) ? c ? c.p(g, P) : (c = Zt(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))), /*casinoGames*/
4650
- (M = g[8]) != null && M.length && !/*isMobileDevice*/
4651
- g[13] ? y ? y.p(g, P) : (y = Jt(g), y.c(), y.m(i, null)) : y && (y.d(1), y = null), P[0] & /*activeTab*/
4671
+ ((P = g[3].wallet) != null && P.sports) && /*tournamentdetails*/
4672
+ ((U = g[3].wallet) != null && U.casino) ? c ? c.p(g, B) : (c = qt(g), c.c(), c.m(t, r)) : c && (c.d(1), c = null), d === (d = m(g)) && b ? b.p(g, B) : (b.d(1), b = d(g), b && (b.c(), b.m(o, null))), /*isMobileDevice*/
4673
+ g[14] || w.p(g, B), B[0] & /*activeTab*/
4652
4674
  64 && a !== (a = "TabContent GamesContent " + /*activeTab*/
4653
- (g[6] != "casino" ? "hidden" : "")) && v(i, "class", a), P[0] & /*$_, sportsRules*/
4654
- 4224) {
4655
- B = Pe(
4675
+ (g[6] != "casino" ? "hidden" : "")) && v(i, "class", a), B[0] & /*$_, sportsRules*/
4676
+ 8320) {
4677
+ N = Be(
4656
4678
  /*sportsRules*/
4657
4679
  g[7]
4658
4680
  );
4659
- let R;
4660
- for (R = 0; R < B.length; R += 1) {
4661
- const D = Wt(g, B, R);
4662
- w[R] ? w[R].p(D, P) : (w[R] = qt(D), w[R].c(), w[R].m(h, null));
4681
+ let T;
4682
+ for (T = 0; T < N.length; T += 1) {
4683
+ const L = Qt(g, N, T);
4684
+ _[T] ? _[T].p(L, B) : (_[T] = Kt(L), _[T].c(), _[T].m(h, null));
4663
4685
  }
4664
- for (; R < w.length; R += 1)
4665
- w[R].d(1);
4666
- w.length = B.length;
4686
+ for (; T < _.length; T += 1)
4687
+ _[T].d(1);
4688
+ _.length = N.length;
4667
4689
  }
4668
- P[0] & /*activeTab*/
4690
+ B[0] & /*activeTab*/
4669
4691
  64 && f !== (f = "TabContent GamesContent " + /*activeTab*/
4670
4692
  (g[6] != "sports" ? "hidden" : "")) && v(u, "class", f);
4671
4693
  },
4672
- i: U,
4673
- o: U,
4694
+ i: G,
4695
+ o: G,
4674
4696
  d(g) {
4675
- g && j(t), c && c.d(), b.d(), e[18](null), y && y.d(), tr(w, g), e[19](null);
4697
+ g && $(t), c && c.d(), b.d(), e[19](null), w && w.d(), nr(_, g), e[20](null);
4676
4698
  }
4677
4699
  };
4678
4700
  }
4679
- let ft = "gameTab";
4680
- function Ho(e, t, r) {
4701
+ let ct = "gameTab";
4702
+ function Oo(e, t, r) {
4681
4703
  let n;
4682
- kr(e, go, (p) => r(12, n = p));
4683
- 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, y, B = vo(m);
4684
- yo({ withLocale: "en", translations: {} });
4685
- const w = () => {
4704
+ Xr(e, yo, (p) => r(13, n = p));
4705
+ let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: l = "en" } = t, u = "casino", h = [], f = [], c, m = window.navigator.userAgent, d, b, w, N = _o(m), _ = !1;
4706
+ Eo({ withLocale: "en", translations: {} });
4707
+ const H = () => {
4686
4708
  fetch(a).then((p) => p.json()).then((p) => {
4687
4709
  Object.keys(p).forEach((k) => {
4688
- Vt(k, p[k]);
4710
+ zt(k, p[k]);
4689
4711
  });
4690
4712
  }).catch((p) => {
4691
4713
  console.log(p);
4692
4714
  });
4693
4715
  };
4694
- Object.keys(Xt).forEach((p) => {
4695
- Vt(p, Xt[p]);
4716
+ Object.keys(Zt).forEach((p) => {
4717
+ zt(p, Zt[p]);
4696
4718
  });
4697
- const S = () => {
4698
- _o(l), setTimeout(
4719
+ const I = () => {
4720
+ xo(l), setTimeout(
4699
4721
  () => {
4700
- L();
4722
+ g();
4701
4723
  },
4702
4724
  10
4703
4725
  );
4704
- }, L = () => {
4726
+ }, g = () => {
4705
4727
  window.postMessage(
4706
4728
  {
4707
4729
  type: "TournamentsTabsLocalize",
@@ -4712,7 +4734,7 @@ function Ho(e, t, r) {
4712
4734
  },
4713
4735
  window.location.href
4714
4736
  );
4715
- }, N = (p) => {
4737
+ }, B = (p) => {
4716
4738
  window.postMessage(
4717
4739
  {
4718
4740
  type: "TournamentGameAction",
@@ -4723,9 +4745,9 @@ function Ho(e, t, r) {
4723
4745
  window.location.href
4724
4746
  );
4725
4747
  };
4726
- let g = !1, P = !0, C = !1;
4727
- const I = (p) => {
4728
- !g && p === -1 || !P && p === 1 || (r(11, C = !0), r(8, f = []), window.postMessage(
4748
+ let P = !1, U = !1, T = !1;
4749
+ const L = (p) => {
4750
+ !P && p === -1 || !U && p === 1 || (r(12, T = !0), r(8, f = []), window.postMessage(
4729
4751
  {
4730
4752
  type: "TournamentsLoadMoreGames",
4731
4753
  id: c.id,
@@ -4733,47 +4755,47 @@ function Ho(e, t, r) {
4733
4755
  },
4734
4756
  window.location.href
4735
4757
  ));
4736
- }, M = () => {
4737
- var k, J, bt;
4738
- r(8, f = ((k = c.games) == null ? void 0 : k.items) || []), dt();
4739
- const p = (bt = (J = c.metadata) == null ? void 0 : J.sports) == null ? void 0 : bt.rules;
4758
+ }, mt = () => {
4759
+ var k, J, gt, vt, yt;
4760
+ r(8, f = ((k = c.games) == null ? void 0 : k.items) || []), r(9, _ = !1), r(10, P = !1), r(11, U = ((J = c.games) == null ? void 0 : J.total) > ((gt = c.games) == null ? void 0 : gt.items.length)), bt();
4761
+ const p = (yt = (vt = c.metadata) == null ? void 0 : vt.sports) == null ? void 0 : yt.rules;
4740
4762
  if (p) {
4741
4763
  r(6, u = c.wallet.casino ? "casino" : "sports");
4742
4764
  try {
4743
- const ve = JSON.parse(p);
4744
- r(7, h = ve[l] || ve["*"]);
4745
- } catch (ve) {
4746
- console.error("Error parsing tournament rules", ve);
4765
+ const ge = JSON.parse(p);
4766
+ r(7, h = ge[l] || ge["*"]);
4767
+ } catch (ge) {
4768
+ console.error("Error parsing tournament rules", ge);
4747
4769
  }
4748
4770
  }
4749
- }, R = (p) => {
4771
+ }, dt = (p) => {
4750
4772
  var J;
4751
4773
  if (!p.data || !p.data.type)
4752
4774
  return;
4753
4775
  const k = p.data.tid || "";
4754
4776
  switch (p.data.type) {
4755
4777
  case "TournamentsTabSwitch":
4756
- k === ft && r(6, u = p.data.tab);
4778
+ k === ct && r(6, u = p.data.tab);
4757
4779
  break;
4758
4780
  case "TournamentsTabListenerLoaded":
4759
- L();
4781
+ g();
4760
4782
  break;
4761
4783
  case "TournamentsGamesUpdate":
4762
- r(3, c = p.data.details), M();
4784
+ r(3, c = p.data.details), mt();
4763
4785
  break;
4764
4786
  case "TournamentsLoadedMoreGames":
4765
- B ? (J = p.data.games) != null && J.items.length && (r(8, f = [...f, ...p.data.games.items]), dt()) : (r(11, C = !1), r(8, f = [...p.data.games.items]), r(10, P = p.data.hasNextPage), r(9, g = p.data.hasPreviousPage));
4787
+ N ? (J = p.data.games) != null && J.items.length && (r(8, f = [...f, ...p.data.games.items]), bt()) : (r(12, T = !1), r(8, f = [...p.data.games.items]), r(11, U = p.data.hasNextPage), r(10, P = p.data.hasPreviousPage), r(9, _ = !f.length));
4766
4788
  break;
4767
4789
  default:
4768
4790
  console.warn(`Unhandled message type: ${p.data.type}`);
4769
4791
  break;
4770
4792
  }
4771
4793
  };
4772
- let D;
4773
- const Lr = (p) => {
4774
- D = p == null ? void 0 : p.lastElementChild, !(!B || y || !p || !D) && (y = new IntersectionObserver((k) => {
4794
+ let Q;
4795
+ const Rr = (p) => {
4796
+ Q = p == null ? void 0 : p.lastElementChild, !(!N || w || !p || !Q) && (w = new IntersectionObserver((k) => {
4775
4797
  k.forEach((J) => {
4776
- J.isIntersecting && (y.unobserve(D), window.postMessage(
4798
+ J.isIntersecting && (w.unobserve(Q), window.postMessage(
4777
4799
  {
4778
4800
  type: "TournamentsLoadMoreGames",
4779
4801
  id: c.id,
@@ -4783,39 +4805,39 @@ function Ho(e, t, r) {
4783
4805
  ));
4784
4806
  });
4785
4807
  }));
4786
- }, dt = () => {
4787
- !B || !D || !y || !f.length || (y.unobserve(D), D = b.lastElementChild, y.observe(D));
4808
+ }, bt = () => {
4809
+ !N || !Q || !w || !f.length || (w.unobserve(Q), Q = b.lastElementChild, w.observe(Q));
4788
4810
  };
4789
- qr(() => B && y && y.disconnect()), Jr(() => (window.postMessage(
4811
+ Kr(() => N && w && w.disconnect()), Yr(() => (window.postMessage(
4790
4812
  {
4791
4813
  type: "TournamentsGamesListenerLoaded",
4792
- gamesTabTid: ft
4814
+ gamesTabTid: ct
4793
4815
  },
4794
4816
  window.location.href
4795
- ), window.addEventListener("message", R, !1), () => {
4796
- window.removeEventListener("message", R);
4817
+ ), window.addEventListener("message", dt, !1), () => {
4818
+ window.removeEventListener("message", dt);
4797
4819
  }));
4798
- function Mr(p) {
4799
- Be[p ? "unshift" : "push"](() => {
4820
+ function Gr(p) {
4821
+ He[p ? "unshift" : "push"](() => {
4800
4822
  b = p, r(5, b);
4801
4823
  });
4802
4824
  }
4803
- function Rr(p) {
4804
- Be[p ? "unshift" : "push"](() => {
4825
+ function $r(p) {
4826
+ He[p ? "unshift" : "push"](() => {
4805
4827
  d = p, r(4, d);
4806
4828
  });
4807
4829
  }
4808
4830
  return e.$$set = (p) => {
4809
- "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(16, a = p.translationurl), "lang" in p && r(17, l = p.lang);
4831
+ "clientstyling" in p && r(0, i = p.clientstyling), "clientstylingurl" in p && r(1, o = p.clientstylingurl), "mbsource" in p && r(2, s = p.mbsource), "translationurl" in p && r(17, a = p.translationurl), "lang" in p && r(18, l = p.lang);
4810
4832
  }, e.$$.update = () => {
4811
4833
  e.$$.dirty[0] & /*tournamentdetails*/
4812
- 8 && c && M(), e.$$.dirty[0] & /*lang*/
4813
- 131072 && l && S(), e.$$.dirty[0] & /*translationurl*/
4814
- 65536 && a && w(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4815
- 17 && i && d && fn(d, i), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4816
- 18 && o && d && pn(d, o), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4817
- 20 && s && d && mn(d, `${s}.Style`), e.$$.dirty[0] & /*gameListEle*/
4818
- 32 && b && Lr(b);
4834
+ 8 && c && mt(), e.$$.dirty[0] & /*lang*/
4835
+ 262144 && l && I(), e.$$.dirty[0] & /*translationurl*/
4836
+ 131072 && a && H(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4837
+ 17 && i && d && mn(d, i), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4838
+ 18 && o && d && dn(d, o), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4839
+ 20 && s && d && bn(d, `${s}.Style`), e.$$.dirty[0] & /*gameListEle*/
4840
+ 32 && b && Rr(b);
4819
4841
  }, [
4820
4842
  i,
4821
4843
  o,
@@ -4826,35 +4848,36 @@ function Ho(e, t, r) {
4826
4848
  u,
4827
4849
  h,
4828
4850
  f,
4829
- g,
4851
+ _,
4830
4852
  P,
4831
- C,
4853
+ U,
4854
+ T,
4832
4855
  n,
4833
- B,
4834
4856
  N,
4835
- I,
4857
+ B,
4858
+ L,
4836
4859
  a,
4837
4860
  l,
4838
- Mr,
4839
- Rr
4861
+ Gr,
4862
+ $r
4840
4863
  ];
4841
4864
  }
4842
- class Bo extends hn {
4865
+ class No extends fn {
4843
4866
  constructor(t) {
4844
- super(), un(
4867
+ super(), hn(
4845
4868
  this,
4846
4869
  t,
4847
- Ho,
4848
- So,
4849
- Kt,
4870
+ Oo,
4871
+ Ao,
4872
+ tr,
4850
4873
  {
4851
4874
  clientstyling: 0,
4852
4875
  clientstylingurl: 1,
4853
4876
  mbsource: 2,
4854
- translationurl: 16,
4855
- lang: 17
4877
+ translationurl: 17,
4878
+ lang: 18
4856
4879
  },
4857
- Eo,
4880
+ wo,
4858
4881
  [-1, -1]
4859
4882
  );
4860
4883
  }
@@ -4877,19 +4900,19 @@ class Bo extends hn {
4877
4900
  this.$$set({ mbsource: t }), q();
4878
4901
  }
4879
4902
  get translationurl() {
4880
- return this.$$.ctx[16];
4903
+ return this.$$.ctx[17];
4881
4904
  }
4882
4905
  set translationurl(t) {
4883
4906
  this.$$set({ translationurl: t }), q();
4884
4907
  }
4885
4908
  get lang() {
4886
- return this.$$.ctx[17];
4909
+ return this.$$.ctx[18];
4887
4910
  }
4888
4911
  set lang(t) {
4889
4912
  this.$$set({ lang: t }), q();
4890
4913
  }
4891
4914
  }
4892
- ln(Bo, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4915
+ cn(No, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4893
4916
  export {
4894
- Bo as default
4917
+ No as default
4895
4918
  };