@everymatrix/casino-tournaments-thumbnail-games 0.1.0 → 0.2.0

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