@everymatrix/casino-tournaments-thumbnail-games 0.0.5 → 0.0.7

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-LxO5LKBn.js → CasinoTournamentsThumbnailGames-C3rwWvE4.js} +869 -883
  2. package/components/CasinoTournamentsThumbnailGames-CTgxFFRo.cjs +18 -0
  3. package/components/{CasinoTournamentsThumbnailGames-BOE6ogwO.js → CasinoTournamentsThumbnailGames-qERu7xEo.js} +840 -854
  4. package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail-games.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail-games.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  9. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  10. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  11. package/stencil/{ui-image-BW8AeEVd.js → ui-image-CYuYAlOX.js} +1 -1
  12. package/stencil/{ui-image-CX3MBBZL.js → ui-image-D3_FGUyo.js} +1 -1
  13. package/stencil/{ui-image-BMiZteNE.cjs → ui-image-DJWD4G-S.cjs} +1 -1
  14. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  15. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  17. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-CzFe50WB.js} +2 -2
  18. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  19. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-z5LhXZY2.js} +2 -2
  20. package/components/CasinoTournamentsThumbnailGames-DSdwZGDn.cjs +0 -18
  21. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
@@ -1,58 +1,58 @@
1
- var Er = Object.defineProperty, xr = Object.defineProperties;
2
- var Tr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
4
- var Sr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
1
+ var yr = Object.defineProperty, vr = Object.defineProperties;
2
+ var _r = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var Er = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Sr.call(t, r) && He(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- wr.call(t, r) && He(e, r, t[r]);
7
+ Er.call(t, r) && He(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ xr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => xr(e, Tr(t));
12
+ }, st = (e, t) => vr(e, _r(t));
13
13
  var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
15
- var o = (u) => {
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
+ var s = (u) => {
16
16
  try {
17
17
  a(r.next(u));
18
18
  } catch (h) {
19
19
  i(h);
20
20
  }
21
- }, s = (u) => {
21
+ }, o = (u) => {
22
22
  try {
23
23
  a(r.throw(u));
24
24
  } catch (h) {
25
25
  i(h);
26
26
  }
27
- }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-CX3MBBZL.js";
30
+ import "../stencil/ui-image-D3_FGUyo.js";
31
31
  function C() {
32
32
  }
33
- function Dt(e) {
33
+ function Gt(e) {
34
34
  return e();
35
35
  }
36
- function ht() {
36
+ function at() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function se(e) {
40
- e.forEach(Dt);
39
+ function oe(e) {
40
+ e.forEach(Gt);
41
41
  }
42
42
  function _e(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Ft(e, t) {
45
+ function Ut(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
48
  let he;
49
- function lt(e, t) {
49
+ function ut(e, t) {
50
50
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
51
51
  }
52
- function Hr(e) {
52
+ function Tr(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function jt(e, ...t) {
55
+ function Dt(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const n of t)
58
58
  n(void 0);
@@ -61,20 +61,20 @@ function jt(e, ...t) {
61
61
  const r = e.subscribe(...t);
62
62
  return r.unsubscribe ? () => r.unsubscribe() : r;
63
63
  }
64
- function Br(e, t, r) {
65
- e.$$.on_destroy.push(jt(t, r));
64
+ function Sr(e, t, r) {
65
+ e.$$.on_destroy.push(Dt(t, r));
66
66
  }
67
67
  function H(e, t) {
68
68
  e.appendChild(t);
69
69
  }
70
- function Ar(e, t, r) {
71
- const n = Pr(e);
70
+ function wr(e, t, r) {
71
+ const n = Hr(e);
72
72
  if (!n.getElementById(t)) {
73
73
  const i = O("style");
74
- i.id = t, i.textContent = r, Or(n, i);
74
+ i.id = t, i.textContent = r, Br(n, i);
75
75
  }
76
76
  }
77
- function Pr(e) {
77
+ function Hr(e) {
78
78
  if (!e)
79
79
  return document;
80
80
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -84,7 +84,7 @@ function Pr(e) {
84
84
  t
85
85
  ) : e.ownerDocument;
86
86
  }
87
- function Or(e, t) {
87
+ function Br(e, t) {
88
88
  return H(
89
89
  /** @type {Document} */
90
90
  e.head || e,
@@ -97,7 +97,7 @@ function ae(e, t, r) {
97
97
  function J(e) {
98
98
  e.parentNode && e.parentNode.removeChild(e);
99
99
  }
100
- function ct(e, t) {
100
+ function ht(e, t) {
101
101
  for (let r = 0; r < e.length; r += 1)
102
102
  e[r] && e[r].d(t);
103
103
  }
@@ -110,7 +110,7 @@ function ge(e) {
110
110
  function re() {
111
111
  return ge(" ");
112
112
  }
113
- function Ir(e, t, r, n) {
113
+ function Ar(e, t, r, n) {
114
114
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
115
115
  }
116
116
  function w(e, t, r) {
@@ -120,14 +120,14 @@ function S(e, t, r) {
120
120
  const n = t.toLowerCase();
121
121
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : w(e, t, r);
122
122
  }
123
- function Nr(e) {
123
+ function Pr(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
- function Me(e, t) {
126
+ function Ce(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function Lr(e) {
130
+ function Or(e) {
131
131
  const t = {};
132
132
  return e.childNodes.forEach(
133
133
  /** @param {Element} node */
@@ -140,22 +140,22 @@ let ne;
140
140
  function te(e) {
141
141
  ne = e;
142
142
  }
143
- function Cr() {
143
+ function Ir() {
144
144
  if (!ne)
145
145
  throw new Error("Function called outside component initialization");
146
146
  return ne;
147
147
  }
148
- function Mr(e) {
149
- Cr().$$.on_mount.push(e);
148
+ function Nr(e) {
149
+ Ir().$$.on_mount.push(e);
150
150
  }
151
- const k = [], $e = [];
151
+ const k = [], Me = [];
152
152
  let V = [];
153
- const ft = [], $r = /* @__PURE__ */ Promise.resolve();
154
- let Re = !1;
155
- function Rr() {
156
- Re || (Re = !0, $r.then(U));
153
+ const lt = [], Lr = /* @__PURE__ */ Promise.resolve();
154
+ let $e = !1;
155
+ function Cr() {
156
+ $e || ($e = !0, Lr.then(U));
157
157
  }
158
- function Ge(e) {
158
+ function Re(e) {
159
159
  V.push(e);
160
160
  }
161
161
  const Be = /* @__PURE__ */ new Set();
@@ -168,66 +168,66 @@ function U() {
168
168
  try {
169
169
  for (; F < k.length; ) {
170
170
  const t = k[F];
171
- F++, te(t), Gr(t.$$);
171
+ F++, te(t), Mr(t.$$);
172
172
  }
173
173
  } catch (t) {
174
174
  throw k.length = 0, F = 0, t;
175
175
  }
176
- for (te(null), k.length = 0, F = 0; $e.length; )
177
- $e.pop()();
176
+ for (te(null), k.length = 0, F = 0; Me.length; )
177
+ Me.pop()();
178
178
  for (let t = 0; t < V.length; t += 1) {
179
179
  const r = V[t];
180
180
  Be.has(r) || (Be.add(r), r());
181
181
  }
182
182
  V.length = 0;
183
183
  } while (k.length);
184
- for (; ft.length; )
185
- ft.pop()();
186
- Re = !1, Be.clear(), te(e);
184
+ for (; lt.length; )
185
+ lt.pop()();
186
+ $e = !1, Be.clear(), te(e);
187
187
  }
188
- function Gr(e) {
188
+ function Mr(e) {
189
189
  if (e.fragment !== null) {
190
- e.update(), se(e.before_update);
190
+ e.update(), oe(e.before_update);
191
191
  const t = e.dirty;
192
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
193
193
  }
194
194
  }
195
- function Ur(e) {
195
+ function $r(e) {
196
196
  const t = [], r = [];
197
197
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
198
198
  }
199
- const Dr = /* @__PURE__ */ new Set();
200
- function Fr(e, t) {
201
- e && e.i && (Dr.delete(e), e.i(t));
199
+ const Rr = /* @__PURE__ */ new Set();
200
+ function Gr(e, t) {
201
+ e && e.i && (Rr.delete(e), e.i(t));
202
202
  }
203
203
  function le(e) {
204
204
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
205
205
  }
206
- function jr(e, t, r) {
206
+ function Ur(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), Ge(() => {
209
- const o = e.$$.on_mount.map(Dt).filter(_e);
210
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : se(o), e.$$.on_mount = [];
211
- }), i.forEach(Ge);
208
+ n && n.m(t, r), Re(() => {
209
+ const s = e.$$.on_mount.map(Gt).filter(_e);
210
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
211
+ }), i.forEach(Re);
212
212
  }
213
- function kr(e, t) {
213
+ function Dr(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (Ur(r.after_update), se(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && ($r(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
216
  }
217
- function Vr(e, t) {
218
- e.$$.dirty[0] === -1 && (k.push(e), Rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
+ function Fr(e, t) {
218
+ e.$$.dirty[0] === -1 && (k.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
220
+ function jr(e, t, r, n, i, s, o = null, a = [-1]) {
221
221
  const u = ne;
222
222
  te(e);
223
223
  const h = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
226
226
  // state
227
- props: o,
227
+ props: s,
228
228
  update: C,
229
229
  not_equal: i,
230
- bound: ht(),
230
+ bound: at(),
231
231
  // lifecycle
232
232
  on_mount: [],
233
233
  on_destroy: [],
@@ -236,28 +236,28 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
236
236
  after_update: [],
237
237
  context: new Map(t.context || (u ? u.$$.context : [])),
238
238
  // everything else
239
- callbacks: ht(),
239
+ callbacks: at(),
240
240
  dirty: a,
241
241
  skip_bound: !1,
242
242
  root: t.target || u.$$.root
243
243
  };
244
- s && s(h.root);
244
+ o && o(h.root);
245
245
  let l = !1;
246
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
247
- const d = m.length ? m[0] : f;
248
- return h.ctx && i(h.ctx[c], h.ctx[c] = d) && (!h.skip_bound && h.bound[c] && h.bound[c](d), l && Vr(e, c)), f;
249
- }) : [], h.update(), l = !0, se(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
246
+ if (h.ctx = r(e, t.props || {}, (f, c, ...d) => {
247
+ const m = d.length ? d[0] : c;
248
+ return h.ctx && i(h.ctx[f], h.ctx[f] = m) && (!h.skip_bound && h.bound[f] && h.bound[f](m), l && Fr(e, f)), c;
249
+ }), h.update(), l = !0, oe(h.before_update), h.fragment = n(h.ctx), t.target) {
250
250
  if (t.hydrate) {
251
- const c = Nr(t.target);
252
- h.fragment && h.fragment.l(c), c.forEach(J);
251
+ const f = Pr(t.target);
252
+ h.fragment && h.fragment.l(f), f.forEach(J);
253
253
  } else
254
254
  h.fragment && h.fragment.c();
255
- t.intro && Fr(e.$$.fragment), jr(e, t.target, t.anchor), U();
255
+ t.intro && Gr(e.$$.fragment), Ur(e, t.target, t.anchor), U();
256
256
  }
257
257
  te(u);
258
258
  }
259
- let kt;
260
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
259
+ let Ft;
260
+ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
261
261
  constructor(t, r, n) {
262
262
  super();
263
263
  /** The Svelte component constructor */
@@ -294,42 +294,42 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
294
294
  }
295
295
  }
296
296
  connectedCallback() {
297
- return ut(this, null, function* () {
297
+ return ot(this, null, function* () {
298
298
  if (this.$$cn = !0, !this.$$c) {
299
- let t = function(o) {
299
+ let t = function(s) {
300
300
  return () => {
301
- let s;
301
+ let o;
302
302
  return {
303
303
  c: function() {
304
- s = O("slot"), o !== "default" && w(s, "name", o);
304
+ o = O("slot"), s !== "default" && w(o, "name", s);
305
305
  },
306
306
  /**
307
307
  * @param {HTMLElement} target
308
308
  * @param {HTMLElement} [anchor]
309
309
  */
310
310
  m: function(h, l) {
311
- ae(h, s, l);
311
+ ae(h, o, l);
312
312
  },
313
313
  d: function(h) {
314
- h && J(s);
314
+ h && J(o);
315
315
  }
316
316
  };
317
317
  };
318
318
  };
319
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
320
320
  return;
321
- const r = {}, n = Lr(this);
322
- for (const o of this.$$s)
323
- o in n && (r[o] = [t(o)]);
324
- for (const o of this.attributes) {
325
- const s = this.$$g_p(o.name);
326
- s in this.$$d || (this.$$d[s] = pe(s, o.value, this.$$p_d, "toProp"));
321
+ const r = {}, n = Or(this);
322
+ for (const s of this.$$s)
323
+ s in n && (r[s] = [t(s)]);
324
+ for (const s of this.attributes) {
325
+ const o = this.$$g_p(s.name);
326
+ o in this.$$d || (this.$$d[o] = pe(o, s.value, this.$$p_d, "toProp"));
327
327
  }
328
- for (const o in this.$$p_d)
329
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
328
+ for (const s in this.$$p_d)
329
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
330
330
  this.$$c = new this.$$ctor({
331
331
  target: this.shadowRoot || this,
332
- props: at(st({}, this.$$d), {
332
+ props: st(it({}, this.$$d), {
333
333
  $$slots: r,
334
334
  $$scope: {
335
335
  ctx: []
@@ -338,23 +338,23 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
338
338
  });
339
339
  const i = () => {
340
340
  this.$$r = !0;
341
- for (const o in this.$$p_d)
342
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
343
- const s = pe(
344
- o,
345
- this.$$d[o],
341
+ for (const s in this.$$p_d)
342
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
343
+ const o = pe(
344
+ s,
345
+ this.$$d[s],
346
346
  this.$$p_d,
347
347
  "toAttribute"
348
348
  );
349
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
349
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
350
350
  }
351
351
  this.$$r = !1;
352
352
  };
353
353
  this.$$c.$$.after_update.push(i), i();
354
- for (const o in this.$$l)
355
- for (const s of this.$$l[o]) {
356
- const a = this.$$c.$on(o, s);
357
- this.$$l_u.set(s, a);
354
+ for (const s in this.$$l)
355
+ for (const o of this.$$l[s]) {
356
+ const a = this.$$c.$on(s, o);
357
+ this.$$l_u.set(o, a);
358
358
  }
359
359
  this.$$l = {};
360
360
  }
@@ -378,8 +378,8 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
378
378
  }
379
379
  });
380
380
  function pe(e, t, r, n) {
381
- var o;
382
- const i = (o = r[e]) == null ? void 0 : o.type;
381
+ var s;
382
+ const i = (s = r[e]) == null ? void 0 : s.type;
383
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
384
384
  return t;
385
385
  if (n === "toAttribute")
@@ -407,8 +407,8 @@ function pe(e, t, r, n) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function Wr(e, t, r, n, i, o) {
411
- let s = class extends kt {
410
+ function kr(e, t, r, n, i, s) {
411
+ let o = class extends Ft {
412
412
  constructor() {
413
413
  super(e, r, i), this.$$p_d = t;
414
414
  }
@@ -419,7 +419,7 @@ function Wr(e, t, r, n, i, o) {
419
419
  }
420
420
  };
421
421
  return Object.keys(t).forEach((a) => {
422
- Object.defineProperty(s.prototype, a, {
422
+ Object.defineProperty(o.prototype, a, {
423
423
  get() {
424
424
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
425
425
  },
@@ -429,16 +429,16 @@ function Wr(e, t, r, n, i, o) {
429
429
  }
430
430
  });
431
431
  }), n.forEach((a) => {
432
- Object.defineProperty(s.prototype, a, {
432
+ Object.defineProperty(o.prototype, a, {
433
433
  get() {
434
434
  var u;
435
435
  return (u = this.$$c) == null ? void 0 : u[a];
436
436
  }
437
437
  });
438
438
  }), e.element = /** @type {any} */
439
- s, s;
439
+ o, o;
440
440
  }
441
- class zr {
441
+ class Vr {
442
442
  constructor() {
443
443
  /**
444
444
  * ### PRIVATE API
@@ -459,7 +459,7 @@ class zr {
459
459
  }
460
460
  /** @returns {void} */
461
461
  $destroy() {
462
- kr(this, 1), this.$destroy = C;
462
+ Dr(this, 1), this.$destroy = C;
463
463
  }
464
464
  /**
465
465
  * @template {Extract<keyof Events, string>} K
@@ -481,18 +481,18 @@ class zr {
481
481
  * @returns {void}
482
482
  */
483
483
  $set(t) {
484
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
485
  }
486
486
  }
487
- const Zr = "4";
488
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
489
- function Qr(e, t) {
487
+ const Xr = "4";
488
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Xr);
489
+ function Wr(e, t) {
490
490
  if (e) {
491
491
  const r = document.createElement("style");
492
492
  r.innerHTML = t, e.appendChild(r);
493
493
  }
494
494
  }
495
- function Jr(e, t) {
495
+ function zr(e, t) {
496
496
  const r = new URL(t);
497
497
  fetch(r.href).then((n) => n.text()).then((n) => {
498
498
  const i = document.createElement("style");
@@ -501,7 +501,7 @@ function Jr(e, t) {
501
501
  console.error("There was an error while trying to load client styling from URL", n);
502
502
  });
503
503
  }
504
- function qr(e, t, r) {
504
+ function Zr(e, t, r) {
505
505
  if (window.emMessageBus) {
506
506
  const n = document.createElement("style");
507
507
  window.emMessageBus.subscribe(t, (i) => {
@@ -523,18 +523,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
523
523
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
524
524
  PERFORMANCE OF THIS SOFTWARE.
525
525
  ***************************************************************************** */
526
- var Ue = function(e, t) {
527
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
526
+ var Ge = function(e, t) {
527
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
528
528
  r.__proto__ = n;
529
529
  } || function(r, n) {
530
530
  for (var i in n)
531
531
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
532
- }, Ue(e, t);
532
+ }, Ge(e, t);
533
533
  };
534
534
  function $(e, t) {
535
535
  if (typeof t != "function" && t !== null)
536
536
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
537
- Ue(e, t);
537
+ Ge(e, t);
538
538
  function r() {
539
539
  this.constructor = e;
540
540
  }
@@ -544,13 +544,13 @@ var _ = function() {
544
544
  return _ = Object.assign || function(t) {
545
545
  for (var r, n = 1, i = arguments.length; n < i; n++) {
546
546
  r = arguments[n];
547
- for (var o in r)
548
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
547
+ for (var s in r)
548
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
549
549
  }
550
550
  return t;
551
551
  }, _.apply(this, arguments);
552
552
  };
553
- function Yr(e, t) {
553
+ function Qr(e, t) {
554
554
  var r = {};
555
555
  for (var n in e)
556
556
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -559,7 +559,7 @@ function Yr(e, t) {
559
559
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
560
560
  return r;
561
561
  }
562
- function De(e) {
562
+ function Ue(e) {
563
563
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
564
564
  if (r)
565
565
  return r.call(e);
@@ -571,42 +571,42 @@ function De(e) {
571
571
  };
572
572
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
573
573
  }
574
- function Fe(e, t) {
574
+ function De(e, t) {
575
575
  var r = typeof Symbol == "function" && e[Symbol.iterator];
576
576
  if (!r)
577
577
  return e;
578
- var n = r.call(e), i, o = [], s;
578
+ var n = r.call(e), i, s = [], o;
579
579
  try {
580
580
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
581
- o.push(i.value);
581
+ s.push(i.value);
582
582
  } catch (a) {
583
- s = { error: a };
583
+ o = { error: a };
584
584
  } finally {
585
585
  try {
586
586
  i && !i.done && (r = n.return) && r.call(n);
587
587
  } finally {
588
- if (s)
589
- throw s.error;
588
+ if (o)
589
+ throw o.error;
590
590
  }
591
591
  }
592
- return o;
592
+ return s;
593
593
  }
594
594
  function X(e, t, r) {
595
595
  if (r || arguments.length === 2)
596
- for (var n = 0, i = t.length, o; n < i; n++)
597
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
598
- return e.concat(o || t);
596
+ for (var n = 0, i = t.length, s; n < i; n++)
597
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
598
+ return e.concat(s || t);
599
599
  }
600
600
  function M(e) {
601
601
  return typeof e == "function";
602
602
  }
603
- function Vt(e) {
603
+ function jt(e) {
604
604
  var t = function(n) {
605
605
  Error.call(n), n.stack = new Error().stack;
606
606
  }, r = e(t);
607
607
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
608
608
  }
609
- var Ae = Vt(function(e) {
609
+ var Ae = jt(function(e) {
610
610
  return function(r) {
611
611
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
612
612
  ` + r.map(function(n, i) {
@@ -615,7 +615,7 @@ var Ae = Vt(function(e) {
615
615
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
616
616
  };
617
617
  });
618
- function je(e, t) {
618
+ function Fe(e, t) {
619
619
  if (e) {
620
620
  var r = e.indexOf(t);
621
621
  0 <= r && e.splice(r, 1);
@@ -626,14 +626,14 @@ var Ee = function() {
626
626
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
627
627
  }
628
628
  return e.prototype.unsubscribe = function() {
629
- var t, r, n, i, o;
629
+ var t, r, n, i, s;
630
630
  if (!this.closed) {
631
631
  this.closed = !0;
632
- var s = this._parentage;
633
- if (s)
634
- if (this._parentage = null, Array.isArray(s))
632
+ var o = this._parentage;
633
+ if (o)
634
+ if (this._parentage = null, Array.isArray(o))
635
635
  try {
636
- for (var a = De(s), u = a.next(); !u.done; u = a.next()) {
636
+ for (var a = Ue(o), u = a.next(); !u.done; u = a.next()) {
637
637
  var h = u.value;
638
638
  h.remove(this);
639
639
  }
@@ -648,45 +648,45 @@ var Ee = function() {
648
648
  }
649
649
  }
650
650
  else
651
- s.remove(this);
651
+ o.remove(this);
652
652
  var l = this.initialTeardown;
653
653
  if (M(l))
654
654
  try {
655
655
  l();
656
656
  } catch (b) {
657
- o = b instanceof Ae ? b.errors : [b];
657
+ s = b instanceof Ae ? b.errors : [b];
658
658
  }
659
- var c = this._finalizers;
660
- if (c) {
659
+ var f = this._finalizers;
660
+ if (f) {
661
661
  this._finalizers = null;
662
662
  try {
663
- for (var f = De(c), m = f.next(); !m.done; m = f.next()) {
664
- var d = m.value;
663
+ for (var c = Ue(f), d = c.next(); !d.done; d = c.next()) {
664
+ var m = d.value;
665
665
  try {
666
- pt(d);
666
+ ft(m);
667
667
  } catch (b) {
668
- o = o != null ? o : [], b instanceof Ae ? o = X(X([], Fe(o)), Fe(b.errors)) : o.push(b);
668
+ s = s != null ? s : [], b instanceof Ae ? s = X(X([], De(s)), De(b.errors)) : s.push(b);
669
669
  }
670
670
  }
671
671
  } catch (b) {
672
672
  n = { error: b };
673
673
  } finally {
674
674
  try {
675
- m && !m.done && (i = f.return) && i.call(f);
675
+ d && !d.done && (i = c.return) && i.call(c);
676
676
  } finally {
677
677
  if (n)
678
678
  throw n.error;
679
679
  }
680
680
  }
681
681
  }
682
- if (o)
683
- throw new Ae(o);
682
+ if (s)
683
+ throw new Ae(s);
684
684
  }
685
685
  }, e.prototype.add = function(t) {
686
686
  var r;
687
687
  if (t && t !== this)
688
688
  if (this.closed)
689
- pt(t);
689
+ ft(t);
690
690
  else {
691
691
  if (t instanceof e) {
692
692
  if (t.closed || t._hasParent(this))
@@ -703,56 +703,56 @@ var Ee = function() {
703
703
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
704
704
  }, e.prototype._removeParent = function(t) {
705
705
  var r = this._parentage;
706
- r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
706
+ r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
707
707
  }, e.prototype.remove = function(t) {
708
708
  var r = this._finalizers;
709
- r && je(r, t), t instanceof e && t._removeParent(this);
709
+ r && Fe(r, t), t instanceof e && t._removeParent(this);
710
710
  }, e.EMPTY = function() {
711
711
  var t = new e();
712
712
  return t.closed = !0, t;
713
713
  }(), e;
714
- }(), Xt = Ee.EMPTY;
715
- function Wt(e) {
714
+ }(), kt = Ee.EMPTY;
715
+ function Vt(e) {
716
716
  return e instanceof Ee || e && "closed" in e && M(e.remove) && M(e.add) && M(e.unsubscribe);
717
717
  }
718
- function pt(e) {
718
+ function ft(e) {
719
719
  M(e) ? e() : e.unsubscribe();
720
720
  }
721
- var zt = {
721
+ var Jr = {
722
722
  onUnhandledError: null,
723
723
  onStoppedNotification: null,
724
724
  Promise: void 0,
725
725
  useDeprecatedSynchronousErrorHandling: !1,
726
726
  useDeprecatedNextContext: !1
727
- }, Kr = {
727
+ }, qr = {
728
728
  setTimeout: function(e, t) {
729
729
  for (var r = [], n = 2; n < arguments.length; n++)
730
730
  r[n - 2] = arguments[n];
731
- return setTimeout.apply(void 0, X([e, t], Fe(r)));
731
+ return setTimeout.apply(void 0, X([e, t], De(r)));
732
732
  },
733
733
  clearTimeout: function(e) {
734
734
  return clearTimeout(e);
735
735
  },
736
736
  delegate: void 0
737
737
  };
738
- function en(e) {
739
- Kr.setTimeout(function() {
738
+ function Yr(e) {
739
+ qr.setTimeout(function() {
740
740
  throw e;
741
741
  });
742
742
  }
743
- function mt() {
743
+ function ct() {
744
744
  }
745
- function me(e) {
745
+ function de(e) {
746
746
  e();
747
747
  }
748
- var Zt = function(e) {
748
+ var Xt = function(e) {
749
749
  $(t, e);
750
750
  function t(r) {
751
751
  var n = e.call(this) || this;
752
- return n.isStopped = !1, r ? (n.destination = r, Wt(r) && r.add(n)) : n.destination = on, n;
752
+ return n.isStopped = !1, r ? (n.destination = r, Vt(r) && r.add(n)) : n.destination = tn, n;
753
753
  }
754
754
  return t.create = function(r, n, i) {
755
- return new ke(r, n, i);
755
+ return new je(r, n, i);
756
756
  }, t.prototype.next = function(r) {
757
757
  this.isStopped || this._next(r);
758
758
  }, t.prototype.error = function(r) {
@@ -776,11 +776,7 @@ var Zt = function(e) {
776
776
  this.unsubscribe();
777
777
  }
778
778
  }, t;
779
- }(Ee), tn = Function.prototype.bind;
780
- function Pe(e, t) {
781
- return tn.call(e, t);
782
- }
783
- var rn = function() {
779
+ }(Ee), Kr = function() {
784
780
  function e(t) {
785
781
  this.partialObserver = t;
786
782
  }
@@ -790,7 +786,7 @@ var rn = function() {
790
786
  try {
791
787
  r.next(t);
792
788
  } catch (n) {
793
- ce(n);
789
+ fe(n);
794
790
  }
795
791
  }, e.prototype.error = function(t) {
796
792
  var r = this.partialObserver;
@@ -798,68 +794,56 @@ var rn = function() {
798
794
  try {
799
795
  r.error(t);
800
796
  } catch (n) {
801
- ce(n);
797
+ fe(n);
802
798
  }
803
799
  else
804
- ce(t);
800
+ fe(t);
805
801
  }, e.prototype.complete = function() {
806
802
  var t = this.partialObserver;
807
803
  if (t.complete)
808
804
  try {
809
805
  t.complete();
810
806
  } catch (r) {
811
- ce(r);
807
+ fe(r);
812
808
  }
813
809
  }, e;
814
- }(), ke = function(e) {
810
+ }(), je = function(e) {
815
811
  $(t, e);
816
812
  function t(r, n, i) {
817
- var o = e.call(this) || this, s;
818
- if (M(r) || !r)
819
- s = {
820
- next: r != null ? r : void 0,
821
- error: n != null ? n : void 0,
822
- complete: i != null ? i : void 0
823
- };
824
- else {
825
- var a;
826
- o && zt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
827
- return o.unsubscribe();
828
- }, s = {
829
- next: r.next && Pe(r.next, a),
830
- error: r.error && Pe(r.error, a),
831
- complete: r.complete && Pe(r.complete, a)
832
- }) : s = r;
833
- }
834
- return o.destination = new rn(s), o;
813
+ var s = e.call(this) || this, o;
814
+ return M(r) || !r ? o = {
815
+ next: r != null ? r : void 0,
816
+ error: n != null ? n : void 0,
817
+ complete: i != null ? i : void 0
818
+ } : o = r, s.destination = new Kr(o), s;
835
819
  }
836
820
  return t;
837
- }(Zt);
838
- function ce(e) {
839
- en(e);
821
+ }(Xt);
822
+ function fe(e) {
823
+ Yr(e);
840
824
  }
841
- function nn(e) {
825
+ function en(e) {
842
826
  throw e;
843
827
  }
844
- var on = {
828
+ var tn = {
845
829
  closed: !0,
846
- next: mt,
847
- error: nn,
848
- complete: mt
849
- }, sn = function() {
830
+ next: ct,
831
+ error: en,
832
+ complete: ct
833
+ }, rn = function() {
850
834
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
851
835
  }();
852
- function an(e) {
836
+ function nn(e) {
853
837
  return e;
854
838
  }
855
- function un(e) {
856
- return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
839
+ function sn(e) {
840
+ return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
857
841
  return e.reduce(function(n, i) {
858
842
  return i(n);
859
843
  }, r);
860
844
  };
861
845
  }
862
- var dt = function() {
846
+ var pt = function() {
863
847
  function e(t) {
864
848
  t && (this._subscribe = t);
865
849
  }
@@ -867,11 +851,11 @@ var dt = function() {
867
851
  var r = new e();
868
852
  return r.source = this, r.operator = t, r;
869
853
  }, e.prototype.subscribe = function(t, r, n) {
870
- var i = this, o = ln(t) ? t : new ke(t, r, n);
871
- return me(function() {
872
- var s = i, a = s.operator, u = s.source;
873
- o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
874
- }), o;
854
+ var i = this, s = an(t) ? t : new je(t, r, n);
855
+ return de(function() {
856
+ var o = i, a = o.operator, u = o.source;
857
+ s.add(a ? a.call(s, u) : u ? i._subscribe(s) : i._trySubscribe(s));
858
+ }), s;
875
859
  }, e.prototype._trySubscribe = function(t) {
876
860
  try {
877
861
  return this._subscribe(t);
@@ -880,79 +864,79 @@ var dt = function() {
880
864
  }
881
865
  }, e.prototype.forEach = function(t, r) {
882
866
  var n = this;
883
- return r = bt(r), new r(function(i, o) {
884
- var s = new ke({
867
+ return r = dt(r), new r(function(i, s) {
868
+ var o = new je({
885
869
  next: function(a) {
886
870
  try {
887
871
  t(a);
888
872
  } catch (u) {
889
- o(u), s.unsubscribe();
873
+ s(u), o.unsubscribe();
890
874
  }
891
875
  },
892
- error: o,
876
+ error: s,
893
877
  complete: i
894
878
  });
895
- n.subscribe(s);
879
+ n.subscribe(o);
896
880
  });
897
881
  }, e.prototype._subscribe = function(t) {
898
882
  var r;
899
883
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
900
- }, e.prototype[sn] = function() {
884
+ }, e.prototype[rn] = function() {
901
885
  return this;
902
886
  }, e.prototype.pipe = function() {
903
887
  for (var t = [], r = 0; r < arguments.length; r++)
904
888
  t[r] = arguments[r];
905
- return un(t)(this);
889
+ return sn(t)(this);
906
890
  }, e.prototype.toPromise = function(t) {
907
891
  var r = this;
908
- return t = bt(t), new t(function(n, i) {
909
- var o;
910
- r.subscribe(function(s) {
911
- return o = s;
912
- }, function(s) {
913
- return i(s);
892
+ return t = dt(t), new t(function(n, i) {
893
+ var s;
894
+ r.subscribe(function(o) {
895
+ return s = o;
896
+ }, function(o) {
897
+ return i(o);
914
898
  }, function() {
915
- return n(o);
899
+ return n(s);
916
900
  });
917
901
  });
918
902
  }, e.create = function(t) {
919
903
  return new e(t);
920
904
  }, e;
921
905
  }();
922
- function bt(e) {
906
+ function dt(e) {
923
907
  var t;
924
- return (t = e != null ? e : zt.Promise) !== null && t !== void 0 ? t : Promise;
908
+ return (t = e != null ? e : Jr.Promise) !== null && t !== void 0 ? t : Promise;
925
909
  }
926
- function hn(e) {
910
+ function on(e) {
927
911
  return e && M(e.next) && M(e.error) && M(e.complete);
928
912
  }
929
- function ln(e) {
930
- return e && e instanceof Zt || hn(e) && Wt(e);
913
+ function an(e) {
914
+ return e && e instanceof Xt || on(e) && Vt(e);
931
915
  }
932
- var cn = Vt(function(e) {
916
+ var un = jt(function(e) {
933
917
  return function() {
934
918
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
935
919
  };
936
- }), Qt = function(e) {
920
+ }), Wt = function(e) {
937
921
  $(t, e);
938
922
  function t() {
939
923
  var r = e.call(this) || this;
940
924
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
941
925
  }
942
926
  return t.prototype.lift = function(r) {
943
- var n = new gt(this, this);
927
+ var n = new mt(this, this);
944
928
  return n.operator = r, n;
945
929
  }, t.prototype._throwIfClosed = function() {
946
930
  if (this.closed)
947
- throw new cn();
931
+ throw new un();
948
932
  }, t.prototype.next = function(r) {
949
933
  var n = this;
950
- me(function() {
951
- var i, o;
934
+ de(function() {
935
+ var i, s;
952
936
  if (n._throwIfClosed(), !n.isStopped) {
953
937
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
954
938
  try {
955
- for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
939
+ for (var o = Ue(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
956
940
  var u = a.value;
957
941
  u.next(r);
958
942
  }
@@ -960,7 +944,7 @@ var cn = Vt(function(e) {
960
944
  i = { error: h };
961
945
  } finally {
962
946
  try {
963
- a && !a.done && (o = s.return) && o.call(s);
947
+ a && !a.done && (s = o.return) && s.call(o);
964
948
  } finally {
965
949
  if (i)
966
950
  throw i.error;
@@ -970,7 +954,7 @@ var cn = Vt(function(e) {
970
954
  });
971
955
  }, t.prototype.error = function(r) {
972
956
  var n = this;
973
- me(function() {
957
+ de(function() {
974
958
  if (n._throwIfClosed(), !n.isStopped) {
975
959
  n.hasError = n.isStopped = !0, n.thrownError = r;
976
960
  for (var i = n.observers; i.length; )
@@ -979,7 +963,7 @@ var cn = Vt(function(e) {
979
963
  });
980
964
  }, t.prototype.complete = function() {
981
965
  var r = this;
982
- me(function() {
966
+ de(function() {
983
967
  if (r._throwIfClosed(), !r.isStopped) {
984
968
  r.isStopped = !0;
985
969
  for (var n = r.observers; n.length; )
@@ -1000,20 +984,20 @@ var cn = Vt(function(e) {
1000
984
  }, t.prototype._subscribe = function(r) {
1001
985
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1002
986
  }, t.prototype._innerSubscribe = function(r) {
1003
- var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1004
- return o || s ? Xt : (this.currentObservers = null, a.push(r), new Ee(function() {
1005
- n.currentObservers = null, je(a, r);
987
+ var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
988
+ return s || o ? kt : (this.currentObservers = null, a.push(r), new Ee(function() {
989
+ n.currentObservers = null, Fe(a, r);
1006
990
  }));
1007
991
  }, t.prototype._checkFinalizedStatuses = function(r) {
1008
- var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1009
- i ? r.error(o) : s && r.complete();
992
+ var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
993
+ i ? r.error(s) : o && r.complete();
1010
994
  }, t.prototype.asObservable = function() {
1011
- var r = new dt();
995
+ var r = new pt();
1012
996
  return r.source = this, r;
1013
997
  }, t.create = function(r, n) {
1014
- return new gt(r, n);
998
+ return new mt(r, n);
1015
999
  }, t;
1016
- }(dt), gt = function(e) {
1000
+ }(pt), mt = function(e) {
1017
1001
  $(t, e);
1018
1002
  function t(r, n) {
1019
1003
  var i = e.call(this) || this;
@@ -1030,45 +1014,45 @@ var cn = Vt(function(e) {
1030
1014
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1031
1015
  }, t.prototype._subscribe = function(r) {
1032
1016
  var n, i;
1033
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Xt;
1017
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : kt;
1034
1018
  }, t;
1035
- }(Qt), Jt = {
1019
+ }(Wt), zt = {
1036
1020
  now: function() {
1037
- return (Jt.delegate || Date).now();
1021
+ return (zt.delegate || Date).now();
1038
1022
  },
1039
1023
  delegate: void 0
1040
- }, fn = function(e) {
1024
+ }, hn = function(e) {
1041
1025
  $(t, e);
1042
1026
  function t(r, n, i) {
1043
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Jt);
1044
- var o = e.call(this) || this;
1045
- 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;
1027
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
1028
+ var s = e.call(this) || this;
1029
+ return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
1046
1030
  }
1047
1031
  return t.prototype.next = function(r) {
1048
- var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1049
- i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1032
+ var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1033
+ i || (s.push(r), !o && s.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1050
1034
  }, t.prototype._subscribe = function(r) {
1051
1035
  this._throwIfClosed(), this._trimBuffer();
1052
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1036
+ for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), u = 0; u < a.length && !r.closed; u += s ? 1 : 2)
1053
1037
  r.next(a[u]);
1054
1038
  return this._checkFinalizedStatuses(r), n;
1055
1039
  }, t.prototype._trimBuffer = function() {
1056
- var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1057
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1058
- for (var u = i.now(), h = 0, l = 1; l < o.length && o[l] <= u; l += 2)
1040
+ var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
1041
+ if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
1042
+ for (var u = i.now(), h = 0, l = 1; l < s.length && s[l] <= u; l += 2)
1059
1043
  h = l;
1060
- h && o.splice(0, h + 1);
1044
+ h && s.splice(0, h + 1);
1061
1045
  }
1062
1046
  }, t;
1063
- }(Qt);
1064
- const vt = [], yt = {}, pn = (e, t = 0) => {
1065
- if (vt.indexOf(e) == -1) {
1066
- const r = new fn(t);
1067
- yt[e] = r, vt.push(e);
1047
+ }(Wt);
1048
+ const bt = [], gt = {}, ln = (e, t = 0) => {
1049
+ if (bt.indexOf(e) == -1) {
1050
+ const r = new hn(t);
1051
+ gt[e] = r, bt.push(e);
1068
1052
  }
1069
- return yt[e];
1053
+ return gt[e];
1070
1054
  }, j = [];
1071
- function mn(e, t) {
1055
+ function fn(e, t) {
1072
1056
  return {
1073
1057
  subscribe: xe(e, t).subscribe
1074
1058
  };
@@ -1077,7 +1061,7 @@ function xe(e, t = C) {
1077
1061
  let r;
1078
1062
  const n = /* @__PURE__ */ new Set();
1079
1063
  function i(a) {
1080
- if (Ft(e, a) && (e = a, r)) {
1064
+ if (Ut(e, a) && (e = a, r)) {
1081
1065
  const u = !j.length;
1082
1066
  for (const h of n)
1083
1067
  h[1](), j.push(h, e);
@@ -1088,112 +1072,112 @@ function xe(e, t = C) {
1088
1072
  }
1089
1073
  }
1090
1074
  }
1091
- function o(a) {
1075
+ function s(a) {
1092
1076
  i(a(e));
1093
1077
  }
1094
- function s(a, u = C) {
1078
+ function o(a, u = C) {
1095
1079
  const h = [a, u];
1096
- return n.add(h), n.size === 1 && (r = t(i, o) || C), a(e), () => {
1080
+ return n.add(h), n.size === 1 && (r = t(i, s) || C), a(e), () => {
1097
1081
  n.delete(h), n.size === 0 && r && (r(), r = null);
1098
1082
  };
1099
1083
  }
1100
- return { set: i, update: o, subscribe: s };
1084
+ return { set: i, update: s, subscribe: o };
1101
1085
  }
1102
1086
  function q(e, t, r) {
1103
1087
  const n = !Array.isArray(e), i = n ? [e] : e;
1104
1088
  if (!i.every(Boolean))
1105
1089
  throw new Error("derived() expects stores as input, got a falsy value");
1106
- const o = t.length < 2;
1107
- return mn(r, (s, a) => {
1090
+ const s = t.length < 2;
1091
+ return fn(r, (o, a) => {
1108
1092
  let u = !1;
1109
1093
  const h = [];
1110
- let l = 0, c = C;
1111
- const f = () => {
1094
+ let l = 0, f = C;
1095
+ const c = () => {
1112
1096
  if (l)
1113
1097
  return;
1114
- c();
1115
- const d = t(n ? h[0] : h, s, a);
1116
- o ? s(d) : c = _e(d) ? d : C;
1117
- }, m = i.map(
1118
- (d, b) => jt(
1119
- d,
1098
+ f();
1099
+ const m = t(n ? h[0] : h, o, a);
1100
+ s ? o(m) : f = _e(m) ? m : C;
1101
+ }, d = i.map(
1102
+ (m, b) => Dt(
1103
+ m,
1120
1104
  (P) => {
1121
- h[b] = P, l &= ~(1 << b), u && f();
1105
+ h[b] = P, l &= ~(1 << b), u && c();
1122
1106
  },
1123
1107
  () => {
1124
1108
  l |= 1 << b;
1125
1109
  }
1126
1110
  )
1127
1111
  );
1128
- return u = !0, f(), function() {
1129
- se(m), c(), u = !1;
1112
+ return u = !0, c(), function() {
1113
+ oe(d), f(), u = !1;
1130
1114
  };
1131
1115
  });
1132
1116
  }
1133
- function dn(e) {
1134
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1117
+ function cn(e) {
1118
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1135
1119
  }
1136
- var bn = function(t) {
1137
- return gn(t) && !vn(t);
1120
+ var pn = function(t) {
1121
+ return dn(t) && !mn(t);
1138
1122
  };
1139
- function gn(e) {
1123
+ function dn(e) {
1140
1124
  return !!e && typeof e == "object";
1141
1125
  }
1142
- function vn(e) {
1126
+ function mn(e) {
1143
1127
  var t = Object.prototype.toString.call(e);
1144
- return t === "[object RegExp]" || t === "[object Date]" || En(e);
1128
+ return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1145
1129
  }
1146
- var yn = typeof Symbol == "function" && Symbol.for, _n = yn ? Symbol.for("react.element") : 60103;
1147
- function En(e) {
1148
- return e.$$typeof === _n;
1130
+ var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
1131
+ function yn(e) {
1132
+ return e.$$typeof === gn;
1149
1133
  }
1150
- function xn(e) {
1134
+ function vn(e) {
1151
1135
  return Array.isArray(e) ? [] : {};
1152
1136
  }
1153
1137
  function ie(e, t) {
1154
- return t.clone !== !1 && t.isMergeableObject(e) ? W(xn(e), e, t) : e;
1138
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(vn(e), e, t) : e;
1155
1139
  }
1156
- function Tn(e, t, r) {
1140
+ function _n(e, t, r) {
1157
1141
  return e.concat(t).map(function(n) {
1158
1142
  return ie(n, r);
1159
1143
  });
1160
1144
  }
1161
- function Sn(e, t) {
1145
+ function En(e, t) {
1162
1146
  if (!t.customMerge)
1163
1147
  return W;
1164
1148
  var r = t.customMerge(e);
1165
1149
  return typeof r == "function" ? r : W;
1166
1150
  }
1167
- function wn(e) {
1151
+ function xn(e) {
1168
1152
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1169
1153
  return Object.propertyIsEnumerable.call(e, t);
1170
1154
  }) : [];
1171
1155
  }
1172
- function _t(e) {
1173
- return Object.keys(e).concat(wn(e));
1156
+ function yt(e) {
1157
+ return Object.keys(e).concat(xn(e));
1174
1158
  }
1175
- function qt(e, t) {
1159
+ function Zt(e, t) {
1176
1160
  try {
1177
1161
  return t in e;
1178
1162
  } catch (r) {
1179
1163
  return !1;
1180
1164
  }
1181
1165
  }
1182
- function Hn(e, t) {
1183
- return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1166
+ function Tn(e, t) {
1167
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1184
1168
  }
1185
- function Bn(e, t, r) {
1169
+ function Sn(e, t, r) {
1186
1170
  var n = {};
1187
- return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1171
+ return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1188
1172
  n[i] = ie(e[i], r);
1189
- }), _t(t).forEach(function(i) {
1190
- Hn(e, i) || (qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1173
+ }), yt(t).forEach(function(i) {
1174
+ Tn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1191
1175
  }), n;
1192
1176
  }
1193
1177
  function W(e, t, r) {
1194
- r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = ie;
1195
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1196
- return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : ie(t, r);
1178
+ r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = ie;
1179
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
1180
+ return s ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : ie(t, r);
1197
1181
  }
1198
1182
  W.all = function(t, r) {
1199
1183
  if (!Array.isArray(t))
@@ -1202,62 +1186,64 @@ W.all = function(t, r) {
1202
1186
  return W(n, i, r);
1203
1187
  }, {});
1204
1188
  };
1205
- var An = W, Pn = An;
1206
- const On = /* @__PURE__ */ dn(Pn);
1207
- function Oe(e, t) {
1208
- var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Mn, i = t && t.strategy ? t.strategy : Nn;
1189
+ var wn = W, Hn = wn;
1190
+ const Bn = /* @__PURE__ */ cn(Hn);
1191
+ function Pe(e, t) {
1192
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Pn;
1209
1193
  return i(e, {
1210
1194
  cache: r,
1211
1195
  serializer: n
1212
1196
  });
1213
1197
  }
1214
- function In(e) {
1198
+ function An(e) {
1215
1199
  return e == null || typeof e == "number" || typeof e == "boolean";
1216
1200
  }
1217
- function Yt(e, t, r, n) {
1218
- var i = In(n) ? n : r(n), o = t.get(i);
1219
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1201
+ function Qt(e, t, r, n) {
1202
+ var i = An(n) ? n : r(n), s = t.get(i);
1203
+ return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
1220
1204
  }
1221
- function Kt(e, t, r) {
1222
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1223
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1205
+ function Jt(e, t, r) {
1206
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
1207
+ return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
1224
1208
  }
1225
- function Ke(e, t, r, n, i) {
1209
+ function Ye(e, t, r, n, i) {
1226
1210
  return r.bind(t, e, n, i);
1227
1211
  }
1228
- function Nn(e, t) {
1229
- var r = e.length === 1 ? Yt : Kt;
1230
- return Ke(e, this, r, t.cache.create(), t.serializer);
1212
+ function Pn(e, t) {
1213
+ var r = e.length === 1 ? Qt : Jt;
1214
+ return Ye(e, this, r, t.cache.create(), t.serializer);
1231
1215
  }
1232
- function Ln(e, t) {
1233
- return Ke(e, this, Kt, t.cache.create(), t.serializer);
1216
+ function On(e, t) {
1217
+ return Ye(e, this, Jt, t.cache.create(), t.serializer);
1234
1218
  }
1235
- function Cn(e, t) {
1236
- return Ke(e, this, Yt, t.cache.create(), t.serializer);
1219
+ function In(e, t) {
1220
+ return Ye(e, this, Qt, t.cache.create(), t.serializer);
1237
1221
  }
1238
- var Mn = function() {
1222
+ var Nn = function() {
1239
1223
  return JSON.stringify(arguments);
1240
- };
1241
- function et() {
1242
- this.cache = /* @__PURE__ */ Object.create(null);
1243
- }
1244
- et.prototype.get = function(e) {
1245
- return this.cache[e];
1246
- };
1247
- et.prototype.set = function(e, t) {
1248
- this.cache[e] = t;
1249
- };
1250
- var $n = {
1224
+ }, Ln = (
1225
+ /** @class */
1226
+ function() {
1227
+ function e() {
1228
+ this.cache = /* @__PURE__ */ Object.create(null);
1229
+ }
1230
+ return e.prototype.get = function(t) {
1231
+ return this.cache[t];
1232
+ }, e.prototype.set = function(t, r) {
1233
+ this.cache[t] = r;
1234
+ }, e;
1235
+ }()
1236
+ ), Cn = {
1251
1237
  create: function() {
1252
- return new et();
1238
+ return new Ln();
1253
1239
  }
1254
- }, Ie = {
1255
- variadic: Ln,
1256
- monadic: Cn
1257
- }, v;
1240
+ }, Oe = {
1241
+ variadic: On,
1242
+ monadic: In
1243
+ }, y;
1258
1244
  (function(e) {
1259
1245
  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";
1260
- })(v || (v = {}));
1246
+ })(y || (y = {}));
1261
1247
  var E;
1262
1248
  (function(e) {
1263
1249
  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";
@@ -1266,43 +1252,43 @@ var z;
1266
1252
  (function(e) {
1267
1253
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1268
1254
  })(z || (z = {}));
1269
- function Et(e) {
1255
+ function vt(e) {
1270
1256
  return e.type === E.literal;
1271
1257
  }
1272
- function Rn(e) {
1258
+ function Mn(e) {
1273
1259
  return e.type === E.argument;
1274
1260
  }
1275
- function er(e) {
1261
+ function qt(e) {
1276
1262
  return e.type === E.number;
1277
1263
  }
1278
- function tr(e) {
1264
+ function Yt(e) {
1279
1265
  return e.type === E.date;
1280
1266
  }
1281
- function rr(e) {
1267
+ function Kt(e) {
1282
1268
  return e.type === E.time;
1283
1269
  }
1284
- function nr(e) {
1270
+ function er(e) {
1285
1271
  return e.type === E.select;
1286
1272
  }
1287
- function ir(e) {
1273
+ function tr(e) {
1288
1274
  return e.type === E.plural;
1289
1275
  }
1290
- function Gn(e) {
1276
+ function $n(e) {
1291
1277
  return e.type === E.pound;
1292
1278
  }
1293
- function or(e) {
1279
+ function rr(e) {
1294
1280
  return e.type === E.tag;
1295
1281
  }
1296
- function sr(e) {
1282
+ function nr(e) {
1297
1283
  return !!(e && typeof e == "object" && e.type === z.number);
1298
1284
  }
1299
- function Ve(e) {
1285
+ function ke(e) {
1300
1286
  return !!(e && typeof e == "object" && e.type === z.dateTime);
1301
1287
  }
1302
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
1303
- function Dn(e) {
1288
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1289
+ function Gn(e) {
1304
1290
  var t = {};
1305
- return e.replace(Un, function(r) {
1291
+ return e.replace(Rn, function(r) {
1306
1292
  var n = r.length;
1307
1293
  switch (r[0]) {
1308
1294
  case "G":
@@ -1391,36 +1377,36 @@ function Dn(e) {
1391
1377
  return "";
1392
1378
  }), t;
1393
1379
  }
1394
- var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1395
- function jn(e) {
1380
+ var Un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1381
+ function Dn(e) {
1396
1382
  if (e.length === 0)
1397
1383
  throw new Error("Number skeleton cannot be empty");
1398
- for (var t = e.split(Fn).filter(function(f) {
1399
- return f.length > 0;
1384
+ for (var t = e.split(Un).filter(function(c) {
1385
+ return c.length > 0;
1400
1386
  }), r = [], n = 0, i = t; n < i.length; n++) {
1401
- var o = i[n], s = o.split("/");
1402
- if (s.length === 0)
1387
+ var s = i[n], o = s.split("/");
1388
+ if (o.length === 0)
1403
1389
  throw new Error("Invalid number skeleton");
1404
- for (var a = s[0], u = s.slice(1), h = 0, l = u; h < l.length; h++) {
1405
- var c = l[h];
1406
- if (c.length === 0)
1390
+ for (var a = o[0], u = o.slice(1), h = 0, l = u; h < l.length; h++) {
1391
+ var f = l[h];
1392
+ if (f.length === 0)
1407
1393
  throw new Error("Invalid number skeleton");
1408
1394
  }
1409
1395
  r.push({ stem: a, options: u });
1410
1396
  }
1411
1397
  return r;
1412
1398
  }
1413
- function kn(e) {
1399
+ function Fn(e) {
1414
1400
  return e.replace(/^(.*?)-/, "");
1415
1401
  }
1416
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Vn = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1417
- function Tt(e) {
1402
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, jn = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
1403
+ function Et(e) {
1418
1404
  var t = {};
1419
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, n, i) {
1405
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1420
1406
  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)), "";
1421
1407
  }), t;
1422
1408
  }
1423
- function lr(e) {
1409
+ function ar(e) {
1424
1410
  switch (e) {
1425
1411
  case "sign-auto":
1426
1412
  return {
@@ -1460,7 +1446,7 @@ function lr(e) {
1460
1446
  };
1461
1447
  }
1462
1448
  }
1463
- function Xn(e) {
1449
+ function kn(e) {
1464
1450
  var t;
1465
1451
  if (e[0] === "E" && e[1] === "E" ? (t = {
1466
1452
  notation: "engineering"
@@ -1468,17 +1454,17 @@ function Xn(e) {
1468
1454
  notation: "scientific"
1469
1455
  }, e = e.slice(1)), t) {
1470
1456
  var r = e.slice(0, 2);
1471
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1457
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
1472
1458
  throw new Error("Malformed concise eng/scientific notation");
1473
1459
  t.minimumIntegerDigits = e.length;
1474
1460
  }
1475
1461
  return t;
1476
1462
  }
1477
- function St(e) {
1478
- var t = {}, r = lr(e);
1463
+ function xt(e) {
1464
+ var t = {}, r = ar(e);
1479
1465
  return r || t;
1480
1466
  }
1481
- function Wn(e) {
1467
+ function Vn(e) {
1482
1468
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1483
1469
  var i = n[r];
1484
1470
  switch (i.stem) {
@@ -1502,7 +1488,7 @@ function Wn(e) {
1502
1488
  continue;
1503
1489
  case "measure-unit":
1504
1490
  case "unit":
1505
- t.style = "unit", t.unit = kn(i.options[0]);
1491
+ t.style = "unit", t.unit = Fn(i.options[0]);
1506
1492
  continue;
1507
1493
  case "compact-short":
1508
1494
  case "K":
@@ -1514,12 +1500,12 @@ function Wn(e) {
1514
1500
  continue;
1515
1501
  case "scientific":
1516
1502
  t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1517
- return _(_({}, u), St(h));
1503
+ return _(_({}, u), xt(h));
1518
1504
  }, {}));
1519
1505
  continue;
1520
1506
  case "engineering":
1521
1507
  t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1522
- return _(_({}, u), St(h));
1508
+ return _(_({}, u), xt(h));
1523
1509
  }, {}));
1524
1510
  continue;
1525
1511
  case "notation-simple":
@@ -1564,45 +1550,45 @@ function Wn(e) {
1564
1550
  case "integer-width":
1565
1551
  if (i.options.length > 1)
1566
1552
  throw new RangeError("integer-width stems only accept a single optional option");
1567
- i.options[0].replace(Vn, function(u, h, l, c, f, m) {
1553
+ i.options[0].replace(jn, function(u, h, l, f, c, d) {
1568
1554
  if (h)
1569
1555
  t.minimumIntegerDigits = l.length;
1570
1556
  else {
1571
- if (c && f)
1557
+ if (f && c)
1572
1558
  throw new Error("We currently do not support maximum integer digits");
1573
- if (m)
1559
+ if (d)
1574
1560
  throw new Error("We currently do not support exact integer digits");
1575
1561
  }
1576
1562
  return "";
1577
1563
  });
1578
1564
  continue;
1579
1565
  }
1580
- if (hr.test(i.stem)) {
1566
+ if (or.test(i.stem)) {
1581
1567
  t.minimumIntegerDigits = i.stem.length;
1582
1568
  continue;
1583
1569
  }
1584
- if (xt.test(i.stem)) {
1570
+ if (_t.test(i.stem)) {
1585
1571
  if (i.options.length > 1)
1586
1572
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1587
- i.stem.replace(xt, function(u, h, l, c, f, m) {
1588
- return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1573
+ i.stem.replace(_t, function(u, h, l, f, c, d) {
1574
+ return l === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1589
1575
  });
1590
- var o = i.options[0];
1591
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Tt(o)));
1576
+ var s = i.options[0];
1577
+ s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), Et(s)));
1592
1578
  continue;
1593
1579
  }
1594
- if (ur.test(i.stem)) {
1595
- t = _(_({}, t), Tt(i.stem));
1580
+ if (sr.test(i.stem)) {
1581
+ t = _(_({}, t), Et(i.stem));
1596
1582
  continue;
1597
1583
  }
1598
- var s = lr(i.stem);
1599
- s && (t = _(_({}, t), s));
1600
- var a = Xn(i.stem);
1584
+ var o = ar(i.stem);
1585
+ o && (t = _(_({}, t), o));
1586
+ var a = kn(i.stem);
1601
1587
  a && (t = _(_({}, t), a));
1602
1588
  }
1603
1589
  return t;
1604
1590
  }
1605
- var fe = {
1591
+ var ce = {
1606
1592
  "001": [
1607
1593
  "H",
1608
1594
  "h"
@@ -3017,23 +3003,23 @@ var fe = {
3017
3003
  "h"
3018
3004
  ]
3019
3005
  };
3020
- function zn(e, t) {
3006
+ function Xn(e, t) {
3021
3007
  for (var r = "", n = 0; n < e.length; n++) {
3022
3008
  var i = e.charAt(n);
3023
3009
  if (i === "j") {
3024
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3025
- o++, n++;
3026
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Zn(t);
3010
+ for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3011
+ s++, n++;
3012
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), u = "a", h = Wn(t);
3027
3013
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3028
3014
  r += u;
3029
- for (; s-- > 0; )
3015
+ for (; o-- > 0; )
3030
3016
  r = h + r;
3031
3017
  } else
3032
3018
  i === "J" ? r += "H" : r += i;
3033
3019
  }
3034
3020
  return r;
3035
3021
  }
3036
- function Zn(e) {
3022
+ function Wn(e) {
3037
3023
  var t = e.hourCycle;
3038
3024
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3039
3025
  e.hourCycles && // @ts-ignore
@@ -3052,23 +3038,23 @@ function Zn(e) {
3052
3038
  }
3053
3039
  var r = e.language, n;
3054
3040
  r !== "root" && (n = e.maximize().region);
3055
- var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
3041
+ var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3056
3042
  return i[0];
3057
3043
  }
3058
- var Ne, Qn = new RegExp("^".concat(ar.source, "*")), Jn = new RegExp("".concat(ar.source, "*$"));
3059
- function y(e, t) {
3044
+ var Ie, zn = new RegExp("^".concat(ir.source, "*")), Zn = new RegExp("".concat(ir.source, "*$"));
3045
+ function v(e, t) {
3060
3046
  return { start: e, end: t };
3061
3047
  }
3062
- var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yn = !!String.fromCodePoint, Kn = !!Object.fromEntries, ei = !!String.prototype.codePointAt, ti = !!String.prototype.trimStart, ri = !!String.prototype.trimEnd, ni = !!Number.isSafeInteger, ii = ni ? Number.isSafeInteger : function(e) {
3048
+ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, qn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Kn = !!String.prototype.trimStart, ei = !!String.prototype.trimEnd, ti = !!Number.isSafeInteger, ri = ti ? Number.isSafeInteger : function(e) {
3063
3049
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3064
- }, Xe = !0;
3050
+ }, Ve = !0;
3065
3051
  try {
3066
- var oi = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3067
- Xe = ((Ne = oi.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
3052
+ var ni = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3053
+ Ve = ((Ie = ni.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3068
3054
  } catch (e) {
3069
- Xe = !1;
3055
+ Ve = !1;
3070
3056
  }
3071
- var wt = qn ? (
3057
+ var Tt = Qn ? (
3072
3058
  // Native
3073
3059
  function(t, r, n) {
3074
3060
  return t.startsWith(r, n);
@@ -3078,31 +3064,31 @@ var wt = qn ? (
3078
3064
  function(t, r, n) {
3079
3065
  return t.slice(n, n + r.length) === r;
3080
3066
  }
3081
- ), We = Yn ? String.fromCodePoint : (
3067
+ ), Xe = Jn ? String.fromCodePoint : (
3082
3068
  // IE11
3083
3069
  function() {
3084
3070
  for (var t = [], r = 0; r < arguments.length; r++)
3085
3071
  t[r] = arguments[r];
3086
- for (var n = "", i = t.length, o = 0, s; i > o; ) {
3087
- if (s = t[o++], s > 1114111)
3088
- throw RangeError(s + " is not a valid code point");
3089
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3072
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
3073
+ if (o = t[s++], o > 1114111)
3074
+ throw RangeError(o + " is not a valid code point");
3075
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
3090
3076
  }
3091
3077
  return n;
3092
3078
  }
3093
- ), Ht = (
3079
+ ), St = (
3094
3080
  // native
3095
- Kn ? Object.fromEntries : (
3081
+ qn ? Object.fromEntries : (
3096
3082
  // Ponyfill
3097
3083
  function(t) {
3098
3084
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
3099
- var o = i[n], s = o[0], a = o[1];
3100
- r[s] = a;
3085
+ var s = i[n], o = s[0], a = s[1];
3086
+ r[o] = a;
3101
3087
  }
3102
3088
  return r;
3103
3089
  }
3104
3090
  )
3105
- ), cr = ei ? (
3091
+ ), ur = Yn ? (
3106
3092
  // Native
3107
3093
  function(t, r) {
3108
3094
  return t.codePointAt(r);
@@ -3112,11 +3098,11 @@ var wt = qn ? (
3112
3098
  function(t, r) {
3113
3099
  var n = t.length;
3114
3100
  if (!(r < 0 || r >= n)) {
3115
- var i = t.charCodeAt(r), o;
3116
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3101
+ var i = t.charCodeAt(r), s;
3102
+ return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
3117
3103
  }
3118
3104
  }
3119
- ), si = ti ? (
3105
+ ), ii = Kn ? (
3120
3106
  // Native
3121
3107
  function(t) {
3122
3108
  return t.trimStart();
@@ -3124,9 +3110,9 @@ var wt = qn ? (
3124
3110
  ) : (
3125
3111
  // Ponyfill
3126
3112
  function(t) {
3127
- return t.replace(Qn, "");
3113
+ return t.replace(zn, "");
3128
3114
  }
3129
- ), ai = ri ? (
3115
+ ), si = ei ? (
3130
3116
  // Native
3131
3117
  function(t) {
3132
3118
  return t.trimEnd();
@@ -3134,32 +3120,32 @@ var wt = qn ? (
3134
3120
  ) : (
3135
3121
  // Ponyfill
3136
3122
  function(t) {
3137
- return t.replace(Jn, "");
3123
+ return t.replace(Zn, "");
3138
3124
  }
3139
3125
  );
3140
- function fr(e, t) {
3126
+ function hr(e, t) {
3141
3127
  return new RegExp(e, t);
3142
3128
  }
3143
- var ze;
3144
- if (Xe) {
3145
- var Bt = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3146
- ze = function(t, r) {
3129
+ var We;
3130
+ if (Ve) {
3131
+ var wt = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3132
+ We = function(t, r) {
3147
3133
  var n;
3148
- Bt.lastIndex = r;
3149
- var i = Bt.exec(t);
3134
+ wt.lastIndex = r;
3135
+ var i = wt.exec(t);
3150
3136
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3151
3137
  };
3152
3138
  } else
3153
- ze = function(t, r) {
3139
+ We = function(t, r) {
3154
3140
  for (var n = []; ; ) {
3155
- var i = cr(t, r);
3156
- if (i === void 0 || pr(i) || ci(i))
3141
+ var i = ur(t, r);
3142
+ if (i === void 0 || lr(i) || hi(i))
3157
3143
  break;
3158
3144
  n.push(i), r += i >= 65536 ? 2 : 1;
3159
3145
  }
3160
- return We.apply(void 0, n);
3146
+ return Xe.apply(void 0, n);
3161
3147
  };
3162
- var ui = (
3148
+ var oi = (
3163
3149
  /** @class */
3164
3150
  function() {
3165
3151
  function e(t, r) {
@@ -3171,35 +3157,35 @@ var ui = (
3171
3157
  return this.parseMessage(0, "", !1);
3172
3158
  }, e.prototype.parseMessage = function(t, r, n) {
3173
3159
  for (var i = []; !this.isEOF(); ) {
3174
- var o = this.char();
3175
- if (o === 123) {
3176
- var s = this.parseArgument(t, n);
3177
- if (s.err)
3178
- return s;
3179
- i.push(s.val);
3160
+ var s = this.char();
3161
+ if (s === 123) {
3162
+ var o = this.parseArgument(t, n);
3163
+ if (o.err)
3164
+ return o;
3165
+ i.push(o.val);
3180
3166
  } else {
3181
- if (o === 125 && t > 0)
3167
+ if (s === 125 && t > 0)
3182
3168
  break;
3183
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
3169
+ if (s === 35 && (r === "plural" || r === "selectordinal")) {
3184
3170
  var a = this.clonePosition();
3185
3171
  this.bump(), i.push({
3186
3172
  type: E.pound,
3187
- location: y(a, this.clonePosition())
3173
+ location: v(a, this.clonePosition())
3188
3174
  });
3189
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3175
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
3190
3176
  if (n)
3191
3177
  break;
3192
- return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3193
- } else if (o === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
3194
- var s = this.parseTag(t, r);
3195
- if (s.err)
3196
- return s;
3197
- i.push(s.val);
3178
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3179
+ } else if (s === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3180
+ var o = this.parseTag(t, r);
3181
+ if (o.err)
3182
+ return o;
3183
+ i.push(o.val);
3198
3184
  } else {
3199
- var s = this.parseLiteral(t, r);
3200
- if (s.err)
3201
- return s;
3202
- i.push(s.val);
3185
+ var o = this.parseLiteral(t, r);
3186
+ if (o.err)
3187
+ return o;
3188
+ i.push(o.val);
3203
3189
  }
3204
3190
  }
3205
3191
  }
@@ -3213,49 +3199,49 @@ var ui = (
3213
3199
  val: {
3214
3200
  type: E.literal,
3215
3201
  value: "<".concat(i, "/>"),
3216
- location: y(n, this.clonePosition())
3202
+ location: v(n, this.clonePosition())
3217
3203
  },
3218
3204
  err: null
3219
3205
  };
3220
3206
  if (this.bumpIf(">")) {
3221
- var o = this.parseMessage(t + 1, r, !0);
3222
- if (o.err)
3223
- return o;
3224
- var s = o.val, a = this.clonePosition();
3207
+ var s = this.parseMessage(t + 1, r, !0);
3208
+ if (s.err)
3209
+ return s;
3210
+ var o = s.val, a = this.clonePosition();
3225
3211
  if (this.bumpIf("</")) {
3226
- if (this.isEOF() || !Ze(this.char()))
3227
- return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
3212
+ if (this.isEOF() || !ze(this.char()))
3213
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3228
3214
  var u = this.clonePosition(), h = this.parseTagName();
3229
- return i !== h ? this.error(v.UNMATCHED_CLOSING_TAG, y(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3215
+ return i !== h ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3230
3216
  val: {
3231
3217
  type: E.tag,
3232
3218
  value: i,
3233
- children: s,
3234
- location: y(n, this.clonePosition())
3219
+ children: o,
3220
+ location: v(n, this.clonePosition())
3235
3221
  },
3236
3222
  err: null
3237
- } : this.error(v.INVALID_TAG, y(a, this.clonePosition())));
3223
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3238
3224
  } else
3239
- return this.error(v.UNCLOSED_TAG, y(n, this.clonePosition()));
3225
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3240
3226
  } else
3241
- return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
3227
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3242
3228
  }, e.prototype.parseTagName = function() {
3243
3229
  var t = this.offset();
3244
- for (this.bump(); !this.isEOF() && li(this.char()); )
3230
+ for (this.bump(); !this.isEOF() && ui(this.char()); )
3245
3231
  this.bump();
3246
3232
  return this.message.slice(t, this.offset());
3247
3233
  }, e.prototype.parseLiteral = function(t, r) {
3248
3234
  for (var n = this.clonePosition(), i = ""; ; ) {
3249
- var o = this.tryParseQuote(r);
3250
- if (o) {
3251
- i += o;
3252
- continue;
3253
- }
3254
- var s = this.tryParseUnquoted(t, r);
3235
+ var s = this.tryParseQuote(r);
3255
3236
  if (s) {
3256
3237
  i += s;
3257
3238
  continue;
3258
3239
  }
3240
+ var o = this.tryParseUnquoted(t, r);
3241
+ if (o) {
3242
+ i += o;
3243
+ continue;
3244
+ }
3259
3245
  var a = this.tryParseLeftAngleBracket();
3260
3246
  if (a) {
3261
3247
  i += a;
@@ -3263,14 +3249,14 @@ var ui = (
3263
3249
  }
3264
3250
  break;
3265
3251
  }
3266
- var u = y(n, this.clonePosition());
3252
+ var u = v(n, this.clonePosition());
3267
3253
  return {
3268
3254
  val: { type: E.literal, value: i, location: u },
3269
3255
  err: null
3270
3256
  };
3271
3257
  }, e.prototype.tryParseLeftAngleBracket = function() {
3272
3258
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3273
- !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3259
+ !ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3274
3260
  }, e.prototype.tryParseQuote = function(t) {
3275
3261
  if (this.isEOF() || this.char() !== 39)
3276
3262
  return null;
@@ -3304,23 +3290,23 @@ var ui = (
3304
3290
  r.push(n);
3305
3291
  this.bump();
3306
3292
  }
3307
- return We.apply(void 0, r);
3293
+ return Xe.apply(void 0, r);
3308
3294
  }, e.prototype.tryParseUnquoted = function(t, r) {
3309
3295
  if (this.isEOF())
3310
3296
  return null;
3311
3297
  var n = this.char();
3312
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3298
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3313
3299
  }, e.prototype.parseArgument = function(t, r) {
3314
3300
  var n = this.clonePosition();
3315
3301
  if (this.bump(), this.bumpSpace(), this.isEOF())
3316
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3302
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3317
3303
  if (this.char() === 125)
3318
- return this.bump(), this.error(v.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3304
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3319
3305
  var i = this.parseIdentifierIfPossible().value;
3320
3306
  if (!i)
3321
- return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3307
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3322
3308
  if (this.bumpSpace(), this.isEOF())
3323
- return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3309
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3324
3310
  switch (this.char()) {
3325
3311
  case 125:
3326
3312
  return this.bump(), {
@@ -3328,25 +3314,25 @@ var ui = (
3328
3314
  type: E.argument,
3329
3315
  // value does not include the opening and closing braces.
3330
3316
  value: i,
3331
- location: y(n, this.clonePosition())
3317
+ location: v(n, this.clonePosition())
3332
3318
  },
3333
3319
  err: null
3334
3320
  };
3335
3321
  case 44:
3336
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3322
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3337
3323
  default:
3338
- return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3324
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3339
3325
  }
3340
3326
  }, e.prototype.parseIdentifierIfPossible = function() {
3341
- var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
3327
+ var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3342
3328
  this.bumpTo(i);
3343
- var o = this.clonePosition(), s = y(t, o);
3344
- return { value: n, location: s };
3329
+ var s = this.clonePosition(), o = v(t, s);
3330
+ return { value: n, location: o };
3345
3331
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3346
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3332
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3347
3333
  switch (a) {
3348
3334
  case "":
3349
- return this.error(v.EXPECT_ARGUMENT_TYPE, y(s, u));
3335
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(o, u));
3350
3336
  case "number":
3351
3337
  case "date":
3352
3338
  case "time": {
@@ -3354,40 +3340,40 @@ var ui = (
3354
3340
  var h = null;
3355
3341
  if (this.bumpIf(",")) {
3356
3342
  this.bumpSpace();
3357
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3358
- if (c.err)
3359
- return c;
3360
- var f = ai(c.val);
3361
- if (f.length === 0)
3362
- return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3363
- var m = y(l, this.clonePosition());
3364
- h = { style: f, styleLocation: m };
3343
+ var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3344
+ if (f.err)
3345
+ return f;
3346
+ var c = si(f.val);
3347
+ if (c.length === 0)
3348
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3349
+ var d = v(l, this.clonePosition());
3350
+ h = { style: c, styleLocation: d };
3365
3351
  }
3366
- var d = this.tryParseArgumentClose(i);
3367
- if (d.err)
3368
- return d;
3369
- var b = y(i, this.clonePosition());
3370
- if (h && wt(h == null ? void 0 : h.style, "::", 0)) {
3371
- var P = si(h.style.slice(2));
3352
+ var m = this.tryParseArgumentClose(i);
3353
+ if (m.err)
3354
+ return m;
3355
+ var b = v(i, this.clonePosition());
3356
+ if (h && Tt(h == null ? void 0 : h.style, "::", 0)) {
3357
+ var P = ii(h.style.slice(2));
3372
3358
  if (a === "number") {
3373
- var c = this.parseNumberSkeletonFromString(P, h.styleLocation);
3374
- return c.err ? c : {
3375
- val: { type: E.number, value: n, location: b, style: c.val },
3359
+ var f = this.parseNumberSkeletonFromString(P, h.styleLocation);
3360
+ return f.err ? f : {
3361
+ val: { type: E.number, value: n, location: b, style: f.val },
3376
3362
  err: null
3377
3363
  };
3378
3364
  } else {
3379
3365
  if (P.length === 0)
3380
- return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
3366
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
3381
3367
  var L = P;
3382
- this.locale && (L = zn(P, this.locale));
3383
- var f = {
3368
+ this.locale && (L = Xn(P, this.locale));
3369
+ var c = {
3384
3370
  type: z.dateTime,
3385
3371
  pattern: L,
3386
3372
  location: h.styleLocation,
3387
- parsedOptions: this.shouldParseSkeletons ? Dn(L) : {}
3373
+ parsedOptions: this.shouldParseSkeletons ? Gn(L) : {}
3388
3374
  }, g = a === "date" ? E.date : E.time;
3389
3375
  return {
3390
- val: { type: g, value: n, location: b, style: f },
3376
+ val: { type: g, value: n, location: b, style: c },
3391
3377
  err: null
3392
3378
  };
3393
3379
  }
@@ -3397,7 +3383,7 @@ var ui = (
3397
3383
  type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3398
3384
  value: n,
3399
3385
  location: b,
3400
- style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
3386
+ style: (s = h == null ? void 0 : h.style) !== null && s !== void 0 ? s : null
3401
3387
  },
3402
3388
  err: null
3403
3389
  };
@@ -3407,30 +3393,30 @@ var ui = (
3407
3393
  case "select": {
3408
3394
  var x = this.clonePosition();
3409
3395
  if (this.bumpSpace(), !this.bumpIf(","))
3410
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, y(x, _({}, x)));
3396
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(x, _({}, x)));
3411
3397
  this.bumpSpace();
3412
3398
  var T = this.parseIdentifierIfPossible(), I = 0;
3413
3399
  if (a !== "select" && T.value === "offset") {
3414
3400
  if (!this.bumpIf(":"))
3415
- return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3401
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3416
3402
  this.bumpSpace();
3417
- var c = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3418
- if (c.err)
3419
- return c;
3420
- this.bumpSpace(), T = this.parseIdentifierIfPossible(), I = c.val;
3403
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3404
+ if (f.err)
3405
+ return f;
3406
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), I = f.val;
3421
3407
  }
3422
3408
  var p = this.tryParsePluralOrSelectOptions(t, a, r, T);
3423
3409
  if (p.err)
3424
3410
  return p;
3425
- var d = this.tryParseArgumentClose(i);
3426
- if (d.err)
3427
- return d;
3428
- var B = y(i, this.clonePosition());
3411
+ var m = this.tryParseArgumentClose(i);
3412
+ if (m.err)
3413
+ return m;
3414
+ var B = v(i, this.clonePosition());
3429
3415
  return a === "select" ? {
3430
3416
  val: {
3431
3417
  type: E.select,
3432
3418
  value: n,
3433
- options: Ht(p.val),
3419
+ options: St(p.val),
3434
3420
  location: B
3435
3421
  },
3436
3422
  err: null
@@ -3438,7 +3424,7 @@ var ui = (
3438
3424
  val: {
3439
3425
  type: E.plural,
3440
3426
  value: n,
3441
- options: Ht(p.val),
3427
+ options: St(p.val),
3442
3428
  offset: I,
3443
3429
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3444
3430
  location: B
@@ -3447,10 +3433,10 @@ var ui = (
3447
3433
  };
3448
3434
  }
3449
3435
  default:
3450
- return this.error(v.INVALID_ARGUMENT_TYPE, y(s, u));
3436
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(o, u));
3451
3437
  }
3452
3438
  }, e.prototype.tryParseArgumentClose = function(t) {
3453
- return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3439
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3454
3440
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3455
3441
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3456
3442
  var n = this.char();
@@ -3459,7 +3445,7 @@ var ui = (
3459
3445
  this.bump();
3460
3446
  var i = this.clonePosition();
3461
3447
  if (!this.bumpUntil("'"))
3462
- return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3448
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3463
3449
  this.bump();
3464
3450
  break;
3465
3451
  }
@@ -3489,64 +3475,64 @@ var ui = (
3489
3475
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3490
3476
  var n = [];
3491
3477
  try {
3492
- n = jn(t);
3478
+ n = Dn(t);
3493
3479
  } catch (i) {
3494
- return this.error(v.INVALID_NUMBER_SKELETON, r);
3480
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3495
3481
  }
3496
3482
  return {
3497
3483
  val: {
3498
3484
  type: z.number,
3499
3485
  tokens: n,
3500
3486
  location: r,
3501
- parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3487
+ parsedOptions: this.shouldParseSkeletons ? Vn(n) : {}
3502
3488
  },
3503
3489
  err: null
3504
3490
  };
3505
3491
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3506
- for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
3492
+ for (var s, o = !1, a = [], u = /* @__PURE__ */ new Set(), h = i.value, l = i.location; ; ) {
3507
3493
  if (h.length === 0) {
3508
- var c = this.clonePosition();
3494
+ var f = this.clonePosition();
3509
3495
  if (r !== "select" && this.bumpIf("=")) {
3510
- var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
3511
- if (f.err)
3512
- return f;
3513
- l = y(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3496
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3497
+ if (c.err)
3498
+ return c;
3499
+ l = v(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
3514
3500
  } else
3515
3501
  break;
3516
3502
  }
3517
3503
  if (u.has(h))
3518
- return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3519
- h === "other" && (s = !0), this.bumpSpace();
3520
- var m = this.clonePosition();
3504
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3505
+ h === "other" && (o = !0), this.bumpSpace();
3506
+ var d = this.clonePosition();
3521
3507
  if (!this.bumpIf("{"))
3522
- return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3523
- var d = this.parseMessage(t + 1, r, n);
3524
- if (d.err)
3525
- return d;
3526
- var b = this.tryParseArgumentClose(m);
3508
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3509
+ var m = this.parseMessage(t + 1, r, n);
3510
+ if (m.err)
3511
+ return m;
3512
+ var b = this.tryParseArgumentClose(d);
3527
3513
  if (b.err)
3528
3514
  return b;
3529
3515
  a.push([
3530
3516
  h,
3531
3517
  {
3532
- value: d.val,
3533
- location: y(m, this.clonePosition())
3518
+ value: m.val,
3519
+ location: v(d, this.clonePosition())
3534
3520
  }
3535
- ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3521
+ ]), u.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, l = s.location;
3536
3522
  }
3537
- return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3523
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3538
3524
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3539
3525
  var n = 1, i = this.clonePosition();
3540
3526
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3541
- for (var o = !1, s = 0; !this.isEOF(); ) {
3527
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3542
3528
  var a = this.char();
3543
3529
  if (a >= 48 && a <= 57)
3544
- o = !0, s = s * 10 + (a - 48), this.bump();
3530
+ s = !0, o = o * 10 + (a - 48), this.bump();
3545
3531
  else
3546
3532
  break;
3547
3533
  }
3548
- var u = y(i, this.clonePosition());
3549
- return o ? (s *= n, ii(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3534
+ var u = v(i, this.clonePosition());
3535
+ return s ? (o *= n, ri(o) ? { val: o, err: null } : this.error(r, u)) : this.error(t, u);
3550
3536
  }, e.prototype.offset = function() {
3551
3537
  return this.position.offset;
3552
3538
  }, e.prototype.isEOF = function() {
@@ -3561,7 +3547,7 @@ var ui = (
3561
3547
  var t = this.position.offset;
3562
3548
  if (t >= this.message.length)
3563
3549
  throw Error("out of bound");
3564
- var r = cr(this.message, t);
3550
+ var r = ur(this.message, t);
3565
3551
  if (r === void 0)
3566
3552
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3567
3553
  return r;
@@ -3580,7 +3566,7 @@ var ui = (
3580
3566
  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);
3581
3567
  }
3582
3568
  }, e.prototype.bumpIf = function(t) {
3583
- if (wt(this.message, t, this.offset())) {
3569
+ if (Tt(this.message, t, this.offset())) {
3584
3570
  for (var r = 0; r < t.length; r++)
3585
3571
  this.bump();
3586
3572
  return !0;
@@ -3602,7 +3588,7 @@ var ui = (
3602
3588
  break;
3603
3589
  }
3604
3590
  }, e.prototype.bumpSpace = function() {
3605
- for (; !this.isEOF() && pr(this.char()); )
3591
+ for (; !this.isEOF() && lr(this.char()); )
3606
3592
  this.bump();
3607
3593
  }, e.prototype.peek = function() {
3608
3594
  if (this.isEOF())
@@ -3612,38 +3598,38 @@ var ui = (
3612
3598
  }, e;
3613
3599
  }()
3614
3600
  );
3615
- function Ze(e) {
3601
+ function ze(e) {
3616
3602
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3617
3603
  }
3618
- function hi(e) {
3619
- return Ze(e) || e === 47;
3604
+ function ai(e) {
3605
+ return ze(e) || e === 47;
3620
3606
  }
3621
- function li(e) {
3607
+ function ui(e) {
3622
3608
  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;
3623
3609
  }
3624
- function pr(e) {
3610
+ function lr(e) {
3625
3611
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3626
3612
  }
3627
- function ci(e) {
3613
+ function hi(e) {
3628
3614
  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;
3629
3615
  }
3630
- function Qe(e) {
3616
+ function Ze(e) {
3631
3617
  e.forEach(function(t) {
3632
- if (delete t.location, nr(t) || ir(t))
3618
+ if (delete t.location, er(t) || tr(t))
3633
3619
  for (var r in t.options)
3634
- delete t.options[r].location, Qe(t.options[r].value);
3620
+ delete t.options[r].location, Ze(t.options[r].value);
3635
3621
  else
3636
- er(t) && sr(t.style) || (tr(t) || rr(t)) && Ve(t.style) ? delete t.style.location : or(t) && Qe(t.children);
3622
+ qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && ke(t.style) ? delete t.style.location : rr(t) && Ze(t.children);
3637
3623
  });
3638
3624
  }
3639
- function fi(e, t) {
3625
+ function li(e, t) {
3640
3626
  t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3641
- var r = new ui(e, t).parse();
3627
+ var r = new oi(e, t).parse();
3642
3628
  if (r.err) {
3643
- var n = SyntaxError(v[r.err.kind]);
3629
+ var n = SyntaxError(y[r.err.kind]);
3644
3630
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3645
3631
  }
3646
- return t != null && t.captureLocation || Qe(r.val), r.val;
3632
+ return t != null && t.captureLocation || Ze(r.val), r.val;
3647
3633
  }
3648
3634
  var Z;
3649
3635
  (function(e) {
@@ -3654,23 +3640,23 @@ var Te = (
3654
3640
  function(e) {
3655
3641
  $(t, e);
3656
3642
  function t(r, n, i) {
3657
- var o = e.call(this, r) || this;
3658
- return o.code = n, o.originalMessage = i, o;
3643
+ var s = e.call(this, r) || this;
3644
+ return s.code = n, s.originalMessage = i, s;
3659
3645
  }
3660
3646
  return t.prototype.toString = function() {
3661
3647
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3662
3648
  }, t;
3663
3649
  }(Error)
3664
- ), At = (
3650
+ ), Ht = (
3665
3651
  /** @class */
3666
3652
  function(e) {
3667
3653
  $(t, e);
3668
- function t(r, n, i, o) {
3669
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3654
+ function t(r, n, i, s) {
3655
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, s) || this;
3670
3656
  }
3671
3657
  return t;
3672
3658
  }(Te)
3673
- ), pi = (
3659
+ ), fi = (
3674
3660
  /** @class */
3675
3661
  function(e) {
3676
3662
  $(t, e);
@@ -3679,7 +3665,7 @@ var Te = (
3679
3665
  }
3680
3666
  return t;
3681
3667
  }(Te)
3682
- ), mi = (
3668
+ ), ci = (
3683
3669
  /** @class */
3684
3670
  function(e) {
3685
3671
  $(t, e);
@@ -3692,17 +3678,17 @@ var Te = (
3692
3678
  (function(e) {
3693
3679
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3694
3680
  })(A || (A = {}));
3695
- function di(e) {
3681
+ function pi(e) {
3696
3682
  return e.length < 2 ? e : e.reduce(function(t, r) {
3697
3683
  var n = t[t.length - 1];
3698
3684
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3699
3685
  }, []);
3700
3686
  }
3701
- function bi(e) {
3687
+ function di(e) {
3702
3688
  return typeof e == "function";
3703
3689
  }
3704
- function de(e, t, r, n, i, o, s) {
3705
- if (e.length === 1 && Et(e[0]))
3690
+ function me(e, t, r, n, i, s, o) {
3691
+ if (e.length === 1 && vt(e[0]))
3706
3692
  return [
3707
3693
  {
3708
3694
  type: A.literal,
@@ -3711,60 +3697,60 @@ function de(e, t, r, n, i, o, s) {
3711
3697
  ];
3712
3698
  for (var a = [], u = 0, h = e; u < h.length; u++) {
3713
3699
  var l = h[u];
3714
- if (Et(l)) {
3700
+ if (vt(l)) {
3715
3701
  a.push({
3716
3702
  type: A.literal,
3717
3703
  value: l.value
3718
3704
  });
3719
3705
  continue;
3720
3706
  }
3721
- if (Gn(l)) {
3722
- typeof o == "number" && a.push({
3707
+ if ($n(l)) {
3708
+ typeof s == "number" && a.push({
3723
3709
  type: A.literal,
3724
- value: r.getNumberFormat(t).format(o)
3710
+ value: r.getNumberFormat(t).format(s)
3725
3711
  });
3726
3712
  continue;
3727
3713
  }
3728
- var c = l.value;
3729
- if (!(i && c in i))
3730
- throw new mi(c, s);
3731
- var f = i[c];
3732
- if (Rn(l)) {
3733
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3734
- type: typeof f == "string" ? A.literal : A.object,
3735
- value: f
3714
+ var f = l.value;
3715
+ if (!(i && f in i))
3716
+ throw new ci(f, o);
3717
+ var c = i[f];
3718
+ if (Mn(l)) {
3719
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3720
+ type: typeof c == "string" ? A.literal : A.object,
3721
+ value: c
3736
3722
  });
3737
3723
  continue;
3738
3724
  }
3739
- if (tr(l)) {
3740
- var m = typeof l.style == "string" ? n.date[l.style] : Ve(l.style) ? l.style.parsedOptions : void 0;
3725
+ if (Yt(l)) {
3726
+ var d = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3741
3727
  a.push({
3742
3728
  type: A.literal,
3743
- value: r.getDateTimeFormat(t, m).format(f)
3729
+ value: r.getDateTimeFormat(t, d).format(c)
3744
3730
  });
3745
3731
  continue;
3746
3732
  }
3747
- if (rr(l)) {
3748
- var m = typeof l.style == "string" ? n.time[l.style] : Ve(l.style) ? l.style.parsedOptions : n.time.medium;
3733
+ if (Kt(l)) {
3734
+ var d = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3749
3735
  a.push({
3750
3736
  type: A.literal,
3751
- value: r.getDateTimeFormat(t, m).format(f)
3737
+ value: r.getDateTimeFormat(t, d).format(c)
3752
3738
  });
3753
3739
  continue;
3754
3740
  }
3755
- if (er(l)) {
3756
- var m = typeof l.style == "string" ? n.number[l.style] : sr(l.style) ? l.style.parsedOptions : void 0;
3757
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3741
+ if (qt(l)) {
3742
+ var d = typeof l.style == "string" ? n.number[l.style] : nr(l.style) ? l.style.parsedOptions : void 0;
3743
+ d && d.scale && (c = c * (d.scale || 1)), a.push({
3758
3744
  type: A.literal,
3759
- value: r.getNumberFormat(t, m).format(f)
3745
+ value: r.getNumberFormat(t, d).format(c)
3760
3746
  });
3761
3747
  continue;
3762
3748
  }
3763
- if (or(l)) {
3764
- var d = l.children, b = l.value, P = i[b];
3765
- if (!bi(P))
3766
- throw new pi(b, "function", s);
3767
- var L = de(d, t, r, n, i, o), g = P(L.map(function(I) {
3749
+ if (rr(l)) {
3750
+ var m = l.children, b = l.value, P = i[b];
3751
+ if (!di(P))
3752
+ throw new fi(b, "function", o);
3753
+ var L = me(m, t, r, n, i, s), g = P(L.map(function(I) {
3768
3754
  return I.value;
3769
3755
  }));
3770
3756
  Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(I) {
@@ -3774,42 +3760,42 @@ function de(e, t, r, n, i, o, s) {
3774
3760
  };
3775
3761
  }));
3776
3762
  }
3777
- if (nr(l)) {
3778
- var x = l.options[f] || l.options.other;
3763
+ if (er(l)) {
3764
+ var x = l.options[c] || l.options.other;
3779
3765
  if (!x)
3780
- throw new At(l.value, f, Object.keys(l.options), s);
3781
- a.push.apply(a, de(x.value, t, r, n, i));
3766
+ throw new Ht(l.value, c, Object.keys(l.options), o);
3767
+ a.push.apply(a, me(x.value, t, r, n, i));
3782
3768
  continue;
3783
3769
  }
3784
- if (ir(l)) {
3785
- var x = l.options["=".concat(f)];
3770
+ if (tr(l)) {
3771
+ var x = l.options["=".concat(c)];
3786
3772
  if (!x) {
3787
3773
  if (!Intl.PluralRules)
3788
3774
  throw new Te(`Intl.PluralRules is not available in this environment.
3789
3775
  Try polyfilling it using "@formatjs/intl-pluralrules"
3790
- `, Z.MISSING_INTL_API, s);
3791
- var T = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3776
+ `, Z.MISSING_INTL_API, o);
3777
+ var T = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3792
3778
  x = l.options[T] || l.options.other;
3793
3779
  }
3794
3780
  if (!x)
3795
- throw new At(l.value, f, Object.keys(l.options), s);
3796
- a.push.apply(a, de(x.value, t, r, n, i, f - (l.offset || 0)));
3781
+ throw new Ht(l.value, c, Object.keys(l.options), o);
3782
+ a.push.apply(a, me(x.value, t, r, n, i, c - (l.offset || 0)));
3797
3783
  continue;
3798
3784
  }
3799
3785
  }
3800
- return di(a);
3786
+ return pi(a);
3801
3787
  }
3802
- function gi(e, t) {
3788
+ function mi(e, t) {
3803
3789
  return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3804
3790
  return r[n] = _(_({}, e[n]), t[n] || {}), r;
3805
3791
  }, {})) : e;
3806
3792
  }
3807
- function vi(e, t) {
3793
+ function bi(e, t) {
3808
3794
  return t ? Object.keys(e).reduce(function(r, n) {
3809
- return r[n] = gi(e[n], t[n]), r;
3795
+ return r[n] = mi(e[n], t[n]), r;
3810
3796
  }, _({}, e)) : e;
3811
3797
  }
3812
- function Le(e) {
3798
+ function Ne(e) {
3813
3799
  return {
3814
3800
  create: function() {
3815
3801
  return {
@@ -3823,77 +3809,77 @@ function Le(e) {
3823
3809
  }
3824
3810
  };
3825
3811
  }
3826
- function yi(e) {
3812
+ function gi(e) {
3827
3813
  return e === void 0 && (e = {
3828
3814
  number: {},
3829
3815
  dateTime: {},
3830
3816
  pluralRules: {}
3831
3817
  }), {
3832
- getNumberFormat: Oe(function() {
3818
+ getNumberFormat: Pe(function() {
3833
3819
  for (var t, r = [], n = 0; n < arguments.length; n++)
3834
3820
  r[n] = arguments[n];
3835
3821
  return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3836
3822
  }, {
3837
- cache: Le(e.number),
3838
- strategy: Ie.variadic
3823
+ cache: Ne(e.number),
3824
+ strategy: Oe.variadic
3839
3825
  }),
3840
- getDateTimeFormat: Oe(function() {
3826
+ getDateTimeFormat: Pe(function() {
3841
3827
  for (var t, r = [], n = 0; n < arguments.length; n++)
3842
3828
  r[n] = arguments[n];
3843
3829
  return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3844
3830
  }, {
3845
- cache: Le(e.dateTime),
3846
- strategy: Ie.variadic
3831
+ cache: Ne(e.dateTime),
3832
+ strategy: Oe.variadic
3847
3833
  }),
3848
- getPluralRules: Oe(function() {
3834
+ getPluralRules: Pe(function() {
3849
3835
  for (var t, r = [], n = 0; n < arguments.length; n++)
3850
3836
  r[n] = arguments[n];
3851
3837
  return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3852
3838
  }, {
3853
- cache: Le(e.pluralRules),
3854
- strategy: Ie.variadic
3839
+ cache: Ne(e.pluralRules),
3840
+ strategy: Oe.variadic
3855
3841
  })
3856
3842
  };
3857
3843
  }
3858
- var _i = (
3844
+ var yi = (
3859
3845
  /** @class */
3860
3846
  function() {
3861
3847
  function e(t, r, n, i) {
3862
3848
  r === void 0 && (r = e.defaultLocale);
3863
- var o = this;
3849
+ var s = this;
3864
3850
  if (this.formatterCache = {
3865
3851
  number: {},
3866
3852
  dateTime: {},
3867
3853
  pluralRules: {}
3868
3854
  }, this.format = function(u) {
3869
- var h = o.formatToParts(u);
3855
+ var h = s.formatToParts(u);
3870
3856
  if (h.length === 1)
3871
3857
  return h[0].value;
3872
- var l = h.reduce(function(c, f) {
3873
- return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3858
+ var l = h.reduce(function(f, c) {
3859
+ return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3874
3860
  }, []);
3875
3861
  return l.length <= 1 ? l[0] || "" : l;
3876
3862
  }, this.formatToParts = function(u) {
3877
- return de(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3863
+ return me(s.ast, s.locales, s.formatters, s.formats, u, void 0, s.message);
3878
3864
  }, this.resolvedOptions = function() {
3879
3865
  var u;
3880
3866
  return {
3881
- locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3867
+ locale: ((u = s.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3882
3868
  };
3883
3869
  }, this.getAst = function() {
3884
- return o.ast;
3870
+ return s.ast;
3885
3871
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3886
3872
  if (this.message = t, !e.__parse)
3887
3873
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3888
- var s = i || {};
3889
- s.formatters;
3890
- var a = Yr(s, ["formatters"]);
3874
+ var o = i || {};
3875
+ o.formatters;
3876
+ var a = Qr(o, ["formatters"]);
3891
3877
  this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
3892
3878
  } else
3893
3879
  this.ast = t;
3894
3880
  if (!Array.isArray(this.ast))
3895
3881
  throw new TypeError("A message must be provided as a String or AST.");
3896
- this.formats = vi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3882
+ this.formats = bi(e.formats, n), this.formatters = i && i.formatters || gi(this.formatterCache);
3897
3883
  }
3898
3884
  return Object.defineProperty(e, "defaultLocale", {
3899
3885
  get: function() {
@@ -3906,7 +3892,7 @@ var _i = (
3906
3892
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3907
3893
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3908
3894
  }
3909
- }, e.__parse = fi, e.formats = {
3895
+ }, e.__parse = li, e.formats = {
3910
3896
  number: {
3911
3897
  integer: {
3912
3898
  maximumFractionDigits: 0
@@ -3967,7 +3953,7 @@ var _i = (
3967
3953
  }, e;
3968
3954
  }()
3969
3955
  );
3970
- function Ei(e, t) {
3956
+ function vi(e, t) {
3971
3957
  if (t == null)
3972
3958
  return;
3973
3959
  if (t in e)
@@ -3977,9 +3963,9 @@ function Ei(e, t) {
3977
3963
  for (let i = 0; i < r.length; i++)
3978
3964
  if (typeof n == "object") {
3979
3965
  if (i > 0) {
3980
- const o = r.slice(i, r.length).join(".");
3981
- if (o in n) {
3982
- n = n[o];
3966
+ const s = r.slice(i, r.length).join(".");
3967
+ if (s in n) {
3968
+ n = n[s];
3983
3969
  break;
3984
3970
  }
3985
3971
  }
@@ -3988,92 +3974,92 @@ function Ei(e, t) {
3988
3974
  n = void 0;
3989
3975
  return n;
3990
3976
  }
3991
- const R = {}, xi = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), mr = (e, t) => {
3977
+ const R = {}, _i = (e, t, r) => r && (t in R || (R[t] = {}), e in R[t] || (R[t][e] = r), r), fr = (e, t) => {
3992
3978
  if (t == null)
3993
3979
  return;
3994
3980
  if (t in R && e in R[t])
3995
3981
  return R[t][e];
3996
3982
  const r = Se(t);
3997
3983
  for (let n = 0; n < r.length; n++) {
3998
- const i = r[n], o = Si(i, e);
3999
- if (o)
4000
- return xi(e, t, o);
3984
+ const i = r[n], s = xi(i, e);
3985
+ if (s)
3986
+ return _i(e, t, s);
4001
3987
  }
4002
3988
  };
4003
- let tt;
3989
+ let Ke;
4004
3990
  const Y = xe({});
4005
- function Ti(e) {
4006
- return tt[e] || null;
3991
+ function Ei(e) {
3992
+ return Ke[e] || null;
4007
3993
  }
4008
- function dr(e) {
4009
- return e in tt;
3994
+ function cr(e) {
3995
+ return e in Ke;
4010
3996
  }
4011
- function Si(e, t) {
4012
- if (!dr(e))
3997
+ function xi(e, t) {
3998
+ if (!cr(e))
4013
3999
  return null;
4014
- const r = Ti(e);
4015
- return Ei(r, t);
4000
+ const r = Ei(e);
4001
+ return vi(r, t);
4016
4002
  }
4017
- function wi(e) {
4003
+ function Ti(e) {
4018
4004
  if (e == null)
4019
4005
  return;
4020
4006
  const t = Se(e);
4021
4007
  for (let r = 0; r < t.length; r++) {
4022
4008
  const n = t[r];
4023
- if (dr(n))
4009
+ if (cr(n))
4024
4010
  return n;
4025
4011
  }
4026
4012
  }
4027
- function br(e, ...t) {
4028
- delete R[e], Y.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4013
+ function pr(e, ...t) {
4014
+ delete R[e], Y.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
4029
4015
  }
4030
4016
  q(
4031
4017
  [Y],
4032
4018
  ([e]) => Object.keys(e)
4033
4019
  );
4034
- Y.subscribe((e) => tt = e);
4020
+ Y.subscribe((e) => Ke = e);
4035
4021
  const be = {};
4036
- function Hi(e, t) {
4022
+ function Si(e, t) {
4037
4023
  be[e].delete(t), be[e].size === 0 && delete be[e];
4038
4024
  }
4039
- function gr(e) {
4025
+ function dr(e) {
4040
4026
  return be[e];
4041
4027
  }
4042
- function Bi(e) {
4028
+ function wi(e) {
4043
4029
  return Se(e).map((t) => {
4044
- const r = gr(t);
4030
+ const r = dr(t);
4045
4031
  return [t, r ? [...r] : []];
4046
4032
  }).filter(([, t]) => t.length > 0);
4047
4033
  }
4048
- function Je(e) {
4034
+ function Qe(e) {
4049
4035
  return e == null ? !1 : Se(e).some(
4050
4036
  (t) => {
4051
4037
  var r;
4052
- return (r = gr(t)) == null ? void 0 : r.size;
4038
+ return (r = dr(t)) == null ? void 0 : r.size;
4053
4039
  }
4054
4040
  );
4055
4041
  }
4056
- function Ai(e, t) {
4042
+ function Hi(e, t) {
4057
4043
  return Promise.all(
4058
- t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
4059
- ).then((n) => br(e, ...n));
4044
+ t.map((n) => (Si(e, n), n().then((i) => i.default || i)))
4045
+ ).then((n) => pr(e, ...n));
4060
4046
  }
4061
4047
  const ee = {};
4062
- function vr(e) {
4063
- if (!Je(e))
4048
+ function mr(e) {
4049
+ if (!Qe(e))
4064
4050
  return e in ee ? ee[e] : Promise.resolve();
4065
- const t = Bi(e);
4051
+ const t = wi(e);
4066
4052
  return ee[e] = Promise.all(
4067
4053
  t.map(
4068
- ([r, n]) => Ai(r, n)
4054
+ ([r, n]) => Hi(r, n)
4069
4055
  )
4070
4056
  ).then(() => {
4071
- if (Je(e))
4072
- return vr(e);
4057
+ if (Qe(e))
4058
+ return mr(e);
4073
4059
  delete ee[e];
4074
4060
  }), ee[e];
4075
4061
  }
4076
- const Pi = {
4062
+ const Bi = {
4077
4063
  number: {
4078
4064
  scientific: { notation: "scientific" },
4079
4065
  engineering: { notation: "engineering" },
@@ -4102,57 +4088,57 @@ const Pi = {
4102
4088
  timeZoneName: "short"
4103
4089
  }
4104
4090
  }
4105
- }, Oi = {
4091
+ }, Ai = {
4106
4092
  fallbackLocale: null,
4107
4093
  loadingDelay: 200,
4108
- formats: Pi,
4094
+ formats: Bi,
4109
4095
  warnOnMissingMessages: !0,
4110
4096
  handleMissingMessage: void 0,
4111
4097
  ignoreTag: !0
4112
- }, Ii = Oi;
4098
+ }, Pi = Ai;
4113
4099
  function Q() {
4114
- return Ii;
4115
- }
4116
- const Ce = xe(!1);
4117
- var Ni = Object.defineProperty, Li = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Mi = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ri = (e, t) => {
4118
- for (var r in t || (t = {}))
4119
- Mi.call(t, r) && Ot(e, r, t[r]);
4120
- if (Pt)
4121
- for (var r of Pt(t))
4122
- $i.call(t, r) && Ot(e, r, t[r]);
4100
+ return Pi;
4101
+ }
4102
+ const Le = xe(!1);
4103
+ var Oi = Object.defineProperty, Ii = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Li = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mi = (e, t) => {
4104
+ for (var r in t)
4105
+ Li.call(t, r) && At(e, r, t[r]);
4106
+ if (Bt)
4107
+ for (var r of Bt(t))
4108
+ Ci.call(t, r) && At(e, r, t[r]);
4123
4109
  return e;
4124
- }, Gi = (e, t) => Li(e, Ci(t));
4125
- let qe;
4126
- const ve = xe(null);
4127
- function It(e) {
4110
+ }, $i = (e, t) => Ii(e, Ni(t));
4111
+ let Je;
4112
+ const ye = xe(null);
4113
+ function Pt(e) {
4128
4114
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4129
4115
  }
4130
4116
  function Se(e, t = Q().fallbackLocale) {
4131
- const r = It(e);
4132
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4117
+ const r = Pt(e);
4118
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4133
4119
  }
4134
4120
  function D() {
4135
- return qe != null ? qe : void 0;
4121
+ return Je != null ? Je : void 0;
4136
4122
  }
4137
- ve.subscribe((e) => {
4138
- qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4123
+ ye.subscribe((e) => {
4124
+ Je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4139
4125
  });
4140
- const Ui = (e) => {
4141
- if (e && wi(e) && Je(e)) {
4126
+ const Ri = (e) => {
4127
+ if (e && Ti(e) && Qe(e)) {
4142
4128
  const { loadingDelay: t } = Q();
4143
4129
  let r;
4144
4130
  return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4145
- () => Ce.set(!0),
4131
+ () => Le.set(!0),
4146
4132
  t
4147
- ) : Ce.set(!0), vr(e).then(() => {
4148
- ve.set(e);
4133
+ ) : Le.set(!0), mr(e).then(() => {
4134
+ ye.set(e);
4149
4135
  }).finally(() => {
4150
- clearTimeout(r), Ce.set(!1);
4136
+ clearTimeout(r), Le.set(!1);
4151
4137
  });
4152
4138
  }
4153
- return ve.set(e);
4154
- }, G = Gi(Ri({}, ve), {
4155
- set: Ui
4139
+ return ye.set(e);
4140
+ }, G = $i(Mi({}, ye), {
4141
+ set: Ri
4156
4142
  }), we = (e) => {
4157
4143
  const t = /* @__PURE__ */ Object.create(null);
4158
4144
  return (n) => {
@@ -4160,127 +4146,127 @@ const Ui = (e) => {
4160
4146
  return i in t ? t[i] : t[i] = e(n);
4161
4147
  };
4162
4148
  };
4163
- var Di = Object.defineProperty, ye = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4149
+ var Gi = Object.defineProperty, ve = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4164
4150
  for (var r in t || (t = {}))
4165
- yr.call(t, r) && Nt(e, r, t[r]);
4166
- if (ye)
4167
- for (var r of ye(t))
4168
- _r.call(t, r) && Nt(e, r, t[r]);
4151
+ br.call(t, r) && Ot(e, r, t[r]);
4152
+ if (ve)
4153
+ for (var r of ve(t))
4154
+ gr.call(t, r) && Ot(e, r, t[r]);
4169
4155
  return e;
4170
4156
  }, K = (e, t) => {
4171
4157
  var r = {};
4172
4158
  for (var n in e)
4173
- yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4174
- if (e != null && ye)
4175
- for (var n of ye(e))
4176
- t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
4159
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4160
+ if (e != null && ve)
4161
+ for (var n of ve(e))
4162
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4177
4163
  return r;
4178
4164
  };
4179
- const oe = (e, t) => {
4165
+ const se = (e, t) => {
4180
4166
  const { formats: r } = Q();
4181
4167
  if (e in r && t in r[e])
4182
4168
  return r[e][t];
4183
4169
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4184
- }, Fi = we(
4170
+ }, Ui = we(
4185
4171
  (e) => {
4186
4172
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4187
4173
  if (r == null)
4188
4174
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4189
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4175
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4190
4176
  }
4191
- ), ji = we(
4177
+ ), Di = we(
4192
4178
  (e) => {
4193
4179
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4194
4180
  if (r == null)
4195
4181
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4196
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4182
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4197
4183
  }
4198
- ), ki = we(
4184
+ ), Fi = we(
4199
4185
  (e) => {
4200
4186
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4201
4187
  if (r == null)
4202
4188
  throw new Error(
4203
4189
  '[svelte-i18n] A "locale" must be set to format time values'
4204
4190
  );
4205
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4191
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4206
4192
  }
4207
- ), Vi = (e = {}) => {
4193
+ ), ji = (e = {}) => {
4208
4194
  var t = e, {
4209
4195
  locale: r = D()
4210
4196
  } = t, n = K(t, [
4211
4197
  "locale"
4212
4198
  ]);
4213
- return Fi(rt({ locale: r }, n));
4214
- }, Xi = (e = {}) => {
4199
+ return Ui(et({ locale: r }, n));
4200
+ }, ki = (e = {}) => {
4215
4201
  var t = e, {
4216
4202
  locale: r = D()
4217
4203
  } = t, n = K(t, [
4218
4204
  "locale"
4219
4205
  ]);
4220
- return ji(rt({ locale: r }, n));
4221
- }, Wi = (e = {}) => {
4206
+ return Di(et({ locale: r }, n));
4207
+ }, Vi = (e = {}) => {
4222
4208
  var t = e, {
4223
4209
  locale: r = D()
4224
4210
  } = t, n = K(t, [
4225
4211
  "locale"
4226
4212
  ]);
4227
- return ki(rt({ locale: r }, n));
4228
- }, zi = we(
4213
+ return Fi(et({ locale: r }, n));
4214
+ }, Xi = we(
4229
4215
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4230
- (e, t = D()) => new _i(e, t, Q().formats, {
4216
+ (e, t = D()) => new yi(e, t, Q().formats, {
4231
4217
  ignoreTag: Q().ignoreTag
4232
4218
  })
4233
- ), Zi = (e, t = {}) => {
4234
- var r, n, i, o;
4235
- let s = t;
4236
- typeof e == "object" && (s = e, e = s.id);
4219
+ ), Wi = (e, t = {}) => {
4220
+ var r, n, i, s;
4221
+ let o = t;
4222
+ typeof e == "object" && (o = e, e = o.id);
4237
4223
  const {
4238
4224
  values: a,
4239
4225
  locale: u = D(),
4240
4226
  default: h
4241
- } = s;
4227
+ } = o;
4242
4228
  if (u == null)
4243
4229
  throw new Error(
4244
4230
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4245
4231
  );
4246
- let l = mr(e, u);
4232
+ let l = fr(e, u);
4247
4233
  if (!l)
4248
- l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4234
+ l = (s = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
4249
4235
  else if (typeof l != "string")
4250
4236
  return console.warn(
4251
4237
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4252
4238
  ), l;
4253
4239
  if (!a)
4254
4240
  return l;
4255
- let c = l;
4241
+ let f = l;
4256
4242
  try {
4257
- c = zi(l, u).format(a);
4258
- } catch (f) {
4259
- f instanceof Error && console.warn(
4243
+ f = Xi(l, u).format(a);
4244
+ } catch (c) {
4245
+ c instanceof Error && console.warn(
4260
4246
  `[svelte-i18n] Message "${e}" has syntax error:`,
4261
- f.message
4247
+ c.message
4262
4248
  );
4263
4249
  }
4264
- return c;
4265
- }, Qi = (e, t) => Wi(t).format(e), Ji = (e, t) => Xi(t).format(e), qi = (e, t) => Vi(t).format(e), Yi = (e, t = D()) => mr(e, t), Ki = q([G, Y], () => Zi);
4250
+ return f;
4251
+ }, zi = (e, t) => Vi(t).format(e), Zi = (e, t) => ki(t).format(e), Qi = (e, t) => ji(t).format(e), Ji = (e, t = D()) => fr(e, t), qi = q([G, Y], () => Wi);
4252
+ q([G], () => zi);
4253
+ q([G], () => Zi);
4266
4254
  q([G], () => Qi);
4267
- q([G], () => Ji);
4268
- q([G], () => qi);
4269
- q([G, Y], () => Yi);
4270
- window.emWidgets = { topic: pn };
4271
- const eo = (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));
4272
- function to({ withLocale: e, translations: t }) {
4255
+ q([G, Y], () => Ji);
4256
+ window.emWidgets = { topic: ln };
4257
+ const Yi = (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));
4258
+ function Ki({ withLocale: e, translations: t }) {
4273
4259
  G.subscribe((r) => {
4274
4260
  r == null && (Y.set(t), G.set(e));
4275
4261
  });
4276
4262
  }
4277
- function Lt(e, t) {
4278
- br(e, t);
4263
+ function It(e, t) {
4264
+ pr(e, t);
4279
4265
  }
4280
- function ro(e) {
4266
+ function es(e) {
4281
4267
  G.set(e);
4282
4268
  }
4283
- const Ct = {
4269
+ const Nt = {
4284
4270
  en: {
4285
4271
  loading: "Loading, please wait ...",
4286
4272
  playNow: "Play Now",
@@ -4289,22 +4275,22 @@ const Ct = {
4289
4275
  contribution: "Contribution"
4290
4276
  }
4291
4277
  };
4292
- function no(e) {
4293
- Ar(e, "svelte-1wi4vit", "*,*::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 .SportsPage{padding:30px 30px;color:var(--emw--color-gray-100, #B5B5B5)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4278
+ function ts(e) {
4279
+ wr(e, "svelte-1wi4vit", "*,*::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 .SportsPage{padding:30px 30px;color:var(--emw--color-gray-100, #B5B5B5)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
4294
4280
  }
4295
- function Mt(e, t, r) {
4281
+ function Lt(e, t, r) {
4296
4282
  const n = e.slice();
4297
4283
  return n[20] = t[r], n;
4298
4284
  }
4299
- function $t(e, t, r) {
4285
+ function Ct(e, t, r) {
4300
4286
  const n = e.slice();
4301
4287
  return n[20] = t[r], n;
4302
4288
  }
4303
- function Rt(e) {
4289
+ function Mt(e) {
4304
4290
  let t, r;
4305
4291
  return {
4306
4292
  c() {
4307
- t = O("div"), r = O("casino-tournaments-tab"), S(r, "part", "TournamentGames"), S(r, "tabs", "casino,sports"), S(r, "tab", "casino"), S(r, "tid", Ye), S(
4293
+ t = O("div"), r = O("casino-tournaments-tab"), S(r, "part", "TournamentGames"), S(r, "tabs", "casino,sports"), S(r, "tab", "casino"), S(r, "tid", qe), S(
4308
4294
  r,
4309
4295
  "clientstyling",
4310
4296
  /*clientstyling*/
@@ -4350,20 +4336,20 @@ function Rt(e) {
4350
4336
  }
4351
4337
  };
4352
4338
  }
4353
- function Gt(e) {
4339
+ function $t(e) {
4354
4340
  let t, r, n = (
4355
4341
  /*$_*/
4356
4342
  e[8]("playNow") + ""
4357
- ), i, o, s, a, u, h, l, c, f;
4343
+ ), i, s, o, a, u, h, l, f, c;
4358
4344
  return {
4359
4345
  c() {
4360
- t = O("div"), r = O("span"), i = ge(n), o = re(), s = O("ui-image"), l = re(), w(r, "class", "PlayNowButton"), lt(s.src, a = /*item*/
4361
- e[20].thumbnail) || S(s, "src", a), S(s, "width", "132px"), S(s, "height", "100px"), S(s, "alt", u = /*item*/
4362
- e[20].name), S(s, "title", h = /*item*/
4346
+ t = O("div"), r = O("span"), i = ge(n), s = re(), o = O("ui-image"), l = re(), w(r, "class", "PlayNowButton"), ut(o.src, a = /*item*/
4347
+ e[20].thumbnail) || S(o, "src", a), S(o, "width", "132px"), S(o, "height", "100px"), S(o, "alt", u = /*item*/
4348
+ e[20].name), S(o, "title", h = /*item*/
4363
4349
  e[20].name), w(t, "class", "item"), w(t, "role", "button"), w(t, "tabindex", "0");
4364
4350
  },
4365
- m(m, d) {
4366
- ae(m, t, d), H(t, r), H(r, i), H(t, o), H(t, s), H(t, l), c || (f = Ir(t, "click", function() {
4351
+ m(d, m) {
4352
+ ae(d, t, m), H(t, r), H(r, i), H(t, s), H(t, o), H(t, l), f || (c = Ar(t, "click", function() {
4367
4353
  _e(
4368
4354
  /*gameClicked*/
4369
4355
  e[10](
@@ -4374,89 +4360,89 @@ function Gt(e) {
4374
4360
  /*item*/
4375
4361
  e[20]
4376
4362
  ).apply(this, arguments);
4377
- }), c = !0);
4363
+ }), f = !0);
4378
4364
  },
4379
- p(m, d) {
4380
- e = m, d & /*$_*/
4365
+ p(d, m) {
4366
+ e = d, m & /*$_*/
4381
4367
  256 && n !== (n = /*$_*/
4382
- e[8]("playNow") + "") && Me(i, n), d & /*casinoGames*/
4383
- 128 && !lt(s.src, a = /*item*/
4384
- e[20].thumbnail) && S(s, "src", a), d & /*casinoGames*/
4368
+ e[8]("playNow") + "") && Ce(i, n), m & /*casinoGames*/
4369
+ 128 && !ut(o.src, a = /*item*/
4370
+ e[20].thumbnail) && S(o, "src", a), m & /*casinoGames*/
4385
4371
  128 && u !== (u = /*item*/
4386
- e[20].name) && S(s, "alt", u), d & /*casinoGames*/
4372
+ e[20].name) && S(o, "alt", u), m & /*casinoGames*/
4387
4373
  128 && h !== (h = /*item*/
4388
- e[20].name) && S(s, "title", h);
4374
+ e[20].name) && S(o, "title", h);
4389
4375
  },
4390
- d(m) {
4391
- m && J(t), c = !1, f();
4376
+ d(d) {
4377
+ d && J(t), f = !1, c();
4392
4378
  }
4393
4379
  };
4394
4380
  }
4395
- function Ut(e) {
4381
+ function Rt(e) {
4396
4382
  let t, r = (
4397
4383
  /*item*/
4398
4384
  e[20].rule + ""
4399
- ), n, i, o = (
4385
+ ), n, i, s = (
4400
4386
  /*$_*/
4401
4387
  e[8]("contribution") + ""
4402
- ), s;
4388
+ ), o;
4403
4389
  return {
4404
4390
  c() {
4405
- t = O("li"), n = ge(r), i = re(), s = ge(o), w(t, "part", "li"), w(t, "class", "Market");
4391
+ t = O("li"), n = ge(r), i = re(), o = ge(s), w(t, "part", "li"), w(t, "class", "Market");
4406
4392
  },
4407
4393
  m(a, u) {
4408
- ae(a, t, u), H(t, n), H(t, i), H(t, s);
4394
+ ae(a, t, u), H(t, n), H(t, i), H(t, o);
4409
4395
  },
4410
4396
  p(a, u) {
4411
4397
  u & /*sportsRules*/
4412
4398
  64 && r !== (r = /*item*/
4413
- a[20].rule + "") && Me(n, r), u & /*$_*/
4414
- 256 && o !== (o = /*$_*/
4415
- a[8]("contribution") + "") && Me(s, o);
4399
+ a[20].rule + "") && Ce(n, r), u & /*$_*/
4400
+ 256 && s !== (s = /*$_*/
4401
+ a[8]("contribution") + "") && Ce(o, s);
4416
4402
  },
4417
4403
  d(a) {
4418
4404
  a && J(t);
4419
4405
  }
4420
4406
  };
4421
4407
  }
4422
- function io(e) {
4408
+ function rs(e) {
4423
4409
  var P, L;
4424
- let t, r, n, i, o, s, a, u, h, l, c = (
4410
+ let t, r, n, i, s, o, a, u, h, l, f = (
4425
4411
  /*tournamentdetails*/
4426
4412
  e[3] && /*tournamentdetails*/
4427
4413
  ((P = e[3].wallet) == null ? void 0 : P.sports) && /*tournamentdetails*/
4428
- ((L = e[3].wallet) == null ? void 0 : L.casino) && Rt(e)
4429
- ), f = le(
4414
+ ((L = e[3].wallet) == null ? void 0 : L.casino) && Mt(e)
4415
+ ), c = le(
4430
4416
  /*casinoGames*/
4431
4417
  e[7]
4432
- ), m = [];
4433
- for (let g = 0; g < f.length; g += 1)
4434
- m[g] = Gt($t(e, f, g));
4435
- let d = le(
4418
+ ), d = [];
4419
+ for (let g = 0; g < c.length; g += 1)
4420
+ d[g] = $t(Ct(e, c, g));
4421
+ let m = le(
4436
4422
  /*sportsRules*/
4437
4423
  e[6]
4438
4424
  ), b = [];
4439
- for (let g = 0; g < d.length; g += 1)
4440
- b[g] = Ut(Mt(e, d, g));
4425
+ for (let g = 0; g < m.length; g += 1)
4426
+ b[g] = Rt(Lt(e, m, g));
4441
4427
  return {
4442
4428
  c() {
4443
- t = O("div"), c && c.c(), r = re(), n = O("div"), i = O("div"), o = O("div");
4444
- for (let g = 0; g < m.length; g += 1)
4445
- m[g].c();
4429
+ t = O("div"), f && f.c(), r = re(), n = O("div"), i = O("div"), s = O("div");
4430
+ for (let g = 0; g < d.length; g += 1)
4431
+ d[g].c();
4446
4432
  a = re(), u = O("div"), h = O("ul");
4447
4433
  for (let g = 0; g < b.length; g += 1)
4448
4434
  b[g].c();
4449
- w(o, "class", "GameList items"), w(i, "class", s = "TabContent GamesContent " + /*activeTab*/
4435
+ w(s, "class", "GameList items"), w(i, "class", o = "TabContent GamesContent " + /*activeTab*/
4450
4436
  (e[5] != "casino" ? "hidden" : "")), w(h, "class", "SportsPage"), w(u, "class", l = "TabContent GamesContent " + /*activeTab*/
4451
- (e[5] != "sports" ? "hidden" : "")), w(n, "class", "GamesWrapper"), w(t, "class", eo(
4437
+ (e[5] != "sports" ? "hidden" : "")), w(n, "class", "GamesWrapper"), w(t, "class", Yi(
4452
4438
  /*userAgent*/
4453
4439
  e[9]
4454
4440
  ) ? "MobileClass" : "");
4455
4441
  },
4456
4442
  m(g, x) {
4457
- ae(g, t, x), c && c.m(t, null), H(t, r), H(t, n), H(n, i), H(i, o);
4458
- for (let T = 0; T < m.length; T += 1)
4459
- m[T] && m[T].m(o, null);
4443
+ ae(g, t, x), f && f.m(t, null), H(t, r), H(t, n), H(n, i), H(i, s);
4444
+ for (let T = 0; T < d.length; T += 1)
4445
+ d[T] && d[T].m(s, null);
4460
4446
  H(n, a), H(n, u), H(u, h);
4461
4447
  for (let T = 0; T < b.length; T += 1)
4462
4448
  b[T] && b[T].m(h, null);
@@ -4467,37 +4453,37 @@ function io(e) {
4467
4453
  if (/*tournamentdetails*/
4468
4454
  g[3] && /*tournamentdetails*/
4469
4455
  ((T = g[3].wallet) != null && T.sports) && /*tournamentdetails*/
4470
- ((I = g[3].wallet) != null && I.casino) ? c ? c.p(g, x) : (c = Rt(g), c.c(), c.m(t, r)) : c && (c.d(1), c = null), x & /*gameClicked, casinoGames, $_*/
4456
+ ((I = g[3].wallet) != null && I.casino) ? f ? f.p(g, x) : (f = Mt(g), f.c(), f.m(t, r)) : f && (f.d(1), f = null), x & /*gameClicked, casinoGames, $_*/
4471
4457
  1408) {
4472
- f = le(
4458
+ c = le(
4473
4459
  /*casinoGames*/
4474
4460
  g[7]
4475
4461
  );
4476
4462
  let p;
4477
- for (p = 0; p < f.length; p += 1) {
4478
- const B = $t(g, f, p);
4479
- m[p] ? m[p].p(B, x) : (m[p] = Gt(B), m[p].c(), m[p].m(o, null));
4463
+ for (p = 0; p < c.length; p += 1) {
4464
+ const B = Ct(g, c, p);
4465
+ d[p] ? d[p].p(B, x) : (d[p] = $t(B), d[p].c(), d[p].m(s, null));
4480
4466
  }
4481
- for (; p < m.length; p += 1)
4482
- m[p].d(1);
4483
- m.length = f.length;
4467
+ for (; p < d.length; p += 1)
4468
+ d[p].d(1);
4469
+ d.length = c.length;
4484
4470
  }
4485
4471
  if (x & /*activeTab*/
4486
- 32 && s !== (s = "TabContent GamesContent " + /*activeTab*/
4487
- (g[5] != "casino" ? "hidden" : "")) && w(i, "class", s), x & /*$_, sportsRules*/
4472
+ 32 && o !== (o = "TabContent GamesContent " + /*activeTab*/
4473
+ (g[5] != "casino" ? "hidden" : "")) && w(i, "class", o), x & /*$_, sportsRules*/
4488
4474
  320) {
4489
- d = le(
4475
+ m = le(
4490
4476
  /*sportsRules*/
4491
4477
  g[6]
4492
4478
  );
4493
4479
  let p;
4494
- for (p = 0; p < d.length; p += 1) {
4495
- const B = Mt(g, d, p);
4496
- b[p] ? b[p].p(B, x) : (b[p] = Ut(B), b[p].c(), b[p].m(h, null));
4480
+ for (p = 0; p < m.length; p += 1) {
4481
+ const B = Lt(g, m, p);
4482
+ b[p] ? b[p].p(B, x) : (b[p] = Rt(B), b[p].c(), b[p].m(h, null));
4497
4483
  }
4498
4484
  for (; p < b.length; p += 1)
4499
4485
  b[p].d(1);
4500
- b.length = d.length;
4486
+ b.length = m.length;
4501
4487
  }
4502
4488
  x & /*activeTab*/
4503
4489
  32 && l !== (l = "TabContent GamesContent " + /*activeTab*/
@@ -4506,30 +4492,30 @@ function io(e) {
4506
4492
  i: C,
4507
4493
  o: C,
4508
4494
  d(g) {
4509
- g && J(t), c && c.d(), ct(m, g), ct(b, g), e[13](null);
4495
+ g && J(t), f && f.d(), ht(d, g), ht(b, g), e[13](null);
4510
4496
  }
4511
4497
  };
4512
4498
  }
4513
- let Ye = "gameTab";
4514
- function oo(e, t, r) {
4499
+ let qe = "gameTab";
4500
+ function ns(e, t, r) {
4515
4501
  let n;
4516
- Br(e, Ki, (p) => r(8, n = p));
4517
- let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: u = "en" } = t, h = "casino", l = [], c = [], f, m = window.navigator.userAgent, d;
4518
- to({ withLocale: "en", translations: {} });
4502
+ Sr(e, qi, (p) => r(8, n = p));
4503
+ let { clientstyling: i = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: o } = t, { translationurl: a } = t, { lang: u = "en" } = t, h = "casino", l = [], f = [], c, d = window.navigator.userAgent, m;
4504
+ Ki({ withLocale: "en", translations: {} });
4519
4505
  const b = () => {
4520
4506
  fetch(a).then((p) => p.json()).then((p) => {
4521
4507
  Object.keys(p).forEach((B) => {
4522
- Lt(B, p[B]);
4508
+ It(B, p[B]);
4523
4509
  });
4524
4510
  }).catch((p) => {
4525
4511
  console.log(p);
4526
4512
  });
4527
4513
  };
4528
- Object.keys(Ct).forEach((p) => {
4529
- Lt(p, Ct[p]);
4514
+ Object.keys(Nt).forEach((p) => {
4515
+ It(p, Nt[p]);
4530
4516
  });
4531
4517
  const P = () => {
4532
- ro(u), setTimeout(
4518
+ es(u), setTimeout(
4533
4519
  () => {
4534
4520
  L();
4535
4521
  },
@@ -4557,11 +4543,11 @@ function oo(e, t, r) {
4557
4543
  window.location.href
4558
4544
  );
4559
4545
  }, x = () => {
4560
- var B, nt, it;
4561
- r(7, c = ((B = f.games) == null ? void 0 : B.items) || []);
4562
- const p = (it = (nt = f.metadata) == null ? void 0 : nt.sports) == null ? void 0 : it.rules;
4546
+ var B, tt, rt;
4547
+ r(7, f = ((B = c.games) == null ? void 0 : B.items) || []);
4548
+ const p = (rt = (tt = c.metadata) == null ? void 0 : tt.sports) == null ? void 0 : rt.rules;
4563
4549
  if (p) {
4564
- r(5, h = f.wallet.casino ? "casino" : "sports");
4550
+ r(5, h = c.wallet.casino ? "casino" : "sports");
4565
4551
  try {
4566
4552
  const ue = JSON.parse(p);
4567
4553
  r(6, l = ue[u] || ue["*"]);
@@ -4575,68 +4561,68 @@ function oo(e, t, r) {
4575
4561
  const B = p.data.tid || "";
4576
4562
  switch (p.data.type) {
4577
4563
  case "TournamentsTabSwitch":
4578
- B === Ye && r(5, h = p.data.tab);
4564
+ B === qe && r(5, h = p.data.tab);
4579
4565
  break;
4580
4566
  case "TournamentsTabListenerLoaded":
4581
4567
  L();
4582
4568
  break;
4583
4569
  case "TournamentsGamesUpdate":
4584
- r(3, f = p.data.details), x();
4570
+ r(3, c = p.data.details), x();
4585
4571
  break;
4586
4572
  default:
4587
4573
  console.warn(`Unhandled message type: ${p.data.type}`);
4588
4574
  break;
4589
4575
  }
4590
4576
  };
4591
- Mr(() => (window.postMessage(
4577
+ Nr(() => (window.postMessage(
4592
4578
  {
4593
4579
  type: "TournamentsGamesListenerLoaded",
4594
- gamesTabTid: Ye
4580
+ gamesTabTid: qe
4595
4581
  },
4596
4582
  window.location.href
4597
4583
  ), window.addEventListener("message", T, !1), () => {
4598
4584
  window.removeEventListener("message", T);
4599
4585
  }));
4600
4586
  function I(p) {
4601
- $e[p ? "unshift" : "push"](() => {
4602
- d = p, r(4, d);
4587
+ Me[p ? "unshift" : "push"](() => {
4588
+ m = p, r(4, m);
4603
4589
  });
4604
4590
  }
4605
4591
  return e.$$set = (p) => {
4606
- "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(11, a = p.translationurl), "lang" in p && r(12, u = p.lang);
4592
+ "clientstyling" in p && r(0, i = p.clientstyling), "clientstylingurl" in p && r(1, s = p.clientstylingurl), "mbsource" in p && r(2, o = p.mbsource), "translationurl" in p && r(11, a = p.translationurl), "lang" in p && r(12, u = p.lang);
4607
4593
  }, e.$$.update = () => {
4608
4594
  e.$$.dirty & /*tournamentdetails*/
4609
- 8 && f && x(), e.$$.dirty & /*lang*/
4595
+ 8 && c && x(), e.$$.dirty & /*lang*/
4610
4596
  4096 && u && P(), e.$$.dirty & /*translationurl*/
4611
4597
  2048 && a && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4612
- 17 && i && d && Qr(d, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4613
- 18 && o && d && Jr(d, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4614
- 20 && s && d && qr(d, `${s}.Style`);
4598
+ 17 && i && m && Wr(m, i), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4599
+ 18 && s && m && zr(m, s), e.$$.dirty & /*mbsource, customStylingContainer*/
4600
+ 20 && o && m && Zr(m, `${o}.Style`);
4615
4601
  }, [
4616
4602
  i,
4617
- o,
4618
4603
  s,
4619
- f,
4620
- d,
4604
+ o,
4605
+ c,
4606
+ m,
4621
4607
  h,
4622
4608
  l,
4623
- c,
4609
+ f,
4624
4610
  n,
4625
- m,
4611
+ d,
4626
4612
  g,
4627
4613
  a,
4628
4614
  u,
4629
4615
  I
4630
4616
  ];
4631
4617
  }
4632
- class so extends zr {
4618
+ class is extends Vr {
4633
4619
  constructor(t) {
4634
- super(), Xr(
4620
+ super(), jr(
4635
4621
  this,
4636
4622
  t,
4637
- oo,
4638
- io,
4639
- Ft,
4623
+ ns,
4624
+ rs,
4625
+ Ut,
4640
4626
  {
4641
4627
  clientstyling: 0,
4642
4628
  clientstylingurl: 1,
@@ -4644,7 +4630,7 @@ class so extends zr {
4644
4630
  translationurl: 11,
4645
4631
  lang: 12
4646
4632
  },
4647
- no
4633
+ ts
4648
4634
  );
4649
4635
  }
4650
4636
  get clientstyling() {
@@ -4678,7 +4664,7 @@ class so extends zr {
4678
4664
  this.$$set({ lang: t }), U();
4679
4665
  }
4680
4666
  }
4681
- Wr(so, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4667
+ kr(is, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
4682
4668
  export {
4683
- so as default
4669
+ is as default
4684
4670
  };