@everymatrix/casino-tournaments-thumbnail-rule 1.74.1 → 1.74.2

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.
@@ -2,15 +2,15 @@ var cr = Object.defineProperty, fr = Object.defineProperties;
2
2
  var mr = Object.getOwnPropertyDescriptors;
3
3
  var lt = Object.getOwnPropertySymbols;
4
4
  var dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var De = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
5
+ var Ie = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- dr.call(t, r) && De(e, r, t[r]);
7
+ dr.call(t, r) && Ie(e, r, t[r]);
8
8
  if (lt)
9
9
  for (var r of lt(t))
10
- pr.call(t, r) && De(e, r, t[r]);
10
+ pr.call(t, r) && Ie(e, r, t[r]);
11
11
  return e;
12
12
  }, ct = (e, t) => fr(e, mr(t));
13
- var M = (e, t, r) => (De(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var ft = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
@@ -35,10 +35,10 @@ function Ot(e) {
35
35
  function mt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function xe(e) {
38
+ function Ee(e) {
39
39
  e.forEach(Ot);
40
40
  }
41
- function ot(e) {
41
+ function nt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function It(e, t) {
@@ -65,7 +65,7 @@ function p(e, t) {
65
65
  function yr(e, t, r) {
66
66
  const n = vr(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = E("style");
68
+ const i = x("style");
69
69
  i.id = t, i.textContent = r, _r(n, i);
70
70
  }
71
71
  }
@@ -89,10 +89,10 @@ function _r(e, t) {
89
89
  function R(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function H(e) {
92
+ function S(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function E(e) {
95
+ function x(e) {
96
96
  return document.createElement(e);
97
97
  }
98
98
  function Er(e) {
@@ -104,7 +104,7 @@ function z(e) {
104
104
  function P() {
105
105
  return z(" ");
106
106
  }
107
- function Ne() {
107
+ function Re() {
108
108
  return z("");
109
109
  }
110
110
  function m(e, t, r) {
@@ -113,11 +113,11 @@ function m(e, t, r) {
113
113
  function xr(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
- function Y(e, t) {
116
+ function J(e, t) {
117
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
118
  t);
119
119
  }
120
- class Ae {
120
+ class ke {
121
121
  constructor(t = !1) {
122
122
  /**
123
123
  * @private
@@ -151,7 +151,7 @@ class Ae {
151
151
  this.e || (this.is_svg ? this.e = Er(
152
152
  /** @type {keyof SVGElementTagNameMap} */
153
153
  r.nodeName
154
- ) : this.e = E(
154
+ ) : this.e = x(
155
155
  /** @type {keyof HTMLElementTagNameMap} */
156
156
  r.nodeType === 11 ? "TEMPLATE" : r.nodeName
157
157
  ), this.t = r.tagName !== "TEMPLATE" ? r : (
@@ -184,7 +184,7 @@ class Ae {
184
184
  /**
185
185
  * @returns {void} */
186
186
  d() {
187
- this.n.forEach(H);
187
+ this.n.forEach(S);
188
188
  }
189
189
  }
190
190
  function Tr(e) {
@@ -196,65 +196,65 @@ function Tr(e) {
196
196
  }
197
197
  ), t;
198
198
  }
199
- let ve;
200
- function ye(e) {
201
- ve = e;
199
+ let ye;
200
+ function ge(e) {
201
+ ye = e;
202
202
  }
203
- function wr() {
204
- if (!ve)
203
+ function Br() {
204
+ if (!ye)
205
205
  throw new Error("Function called outside component initialization");
206
- return ve;
206
+ return ye;
207
207
  }
208
- function Br(e) {
209
- wr().$$.on_mount.push(e);
208
+ function wr(e) {
209
+ Br().$$.on_mount.push(e);
210
210
  }
211
- const ue = [], We = [];
212
- let le = [];
213
- const dt = [], Sr = /* @__PURE__ */ Promise.resolve();
214
- let Ze = !1;
215
- function Hr() {
216
- Ze || (Ze = !0, Sr.then(j));
211
+ const se = [], ze = [];
212
+ let ue = [];
213
+ const dt = [], Hr = /* @__PURE__ */ Promise.resolve();
214
+ let Xe = !1;
215
+ function Sr() {
216
+ Xe || (Xe = !0, Hr.then(j));
217
217
  }
218
- function Je(e) {
219
- le.push(e);
218
+ function We(e) {
219
+ ue.push(e);
220
220
  }
221
- const Ue = /* @__PURE__ */ new Set();
222
- let ae = 0;
221
+ const $e = /* @__PURE__ */ new Set();
222
+ let oe = 0;
223
223
  function j() {
224
- if (ae !== 0)
224
+ if (oe !== 0)
225
225
  return;
226
- const e = ve;
226
+ const e = ye;
227
227
  do {
228
228
  try {
229
- for (; ae < ue.length; ) {
230
- const t = ue[ae];
231
- ae++, ye(t), Cr(t.$$);
229
+ for (; oe < se.length; ) {
230
+ const t = se[oe];
231
+ oe++, ge(t), Cr(t.$$);
232
232
  }
233
233
  } catch (t) {
234
- throw ue.length = 0, ae = 0, t;
234
+ throw se.length = 0, oe = 0, t;
235
235
  }
236
- for (ye(null), ue.length = 0, ae = 0; We.length; )
237
- We.pop()();
238
- for (let t = 0; t < le.length; t += 1) {
239
- const r = le[t];
240
- Ue.has(r) || (Ue.add(r), r());
236
+ for (ge(null), se.length = 0, oe = 0; ze.length; )
237
+ ze.pop()();
238
+ for (let t = 0; t < ue.length; t += 1) {
239
+ const r = ue[t];
240
+ $e.has(r) || ($e.add(r), r());
241
241
  }
242
- le.length = 0;
243
- } while (ue.length);
242
+ ue.length = 0;
243
+ } while (se.length);
244
244
  for (; dt.length; )
245
245
  dt.pop()();
246
- Ze = !1, Ue.clear(), ye(e);
246
+ Xe = !1, $e.clear(), ge(e);
247
247
  }
248
248
  function Cr(e) {
249
249
  if (e.fragment !== null) {
250
- e.update(), xe(e.before_update);
250
+ e.update(), Ee(e.before_update);
251
251
  const t = e.dirty;
252
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
252
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
253
253
  }
254
254
  }
255
255
  function Mr(e) {
256
256
  const t = [], r = [];
257
- le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
257
+ ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
258
258
  }
259
259
  const Rr = /* @__PURE__ */ new Set();
260
260
  function kr(e, t) {
@@ -262,21 +262,21 @@ function kr(e, t) {
262
262
  }
263
263
  function Nr(e, t, r) {
264
264
  const { fragment: n, after_update: i } = e.$$;
265
- n && n.m(t, r), Je(() => {
266
- const o = e.$$.on_mount.map(Ot).filter(ot);
267
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : xe(o), e.$$.on_mount = [];
268
- }), i.forEach(Je);
265
+ n && n.m(t, r), We(() => {
266
+ const o = e.$$.on_mount.map(Ot).filter(nt);
267
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ee(o), e.$$.on_mount = [];
268
+ }), i.forEach(We);
269
269
  }
270
270
  function Ar(e, t) {
271
271
  const r = e.$$;
272
- r.fragment !== null && (Mr(r.after_update), xe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
272
+ r.fragment !== null && (Mr(r.after_update), Ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
273
273
  }
274
274
  function Lr(e, t) {
275
- e.$$.dirty[0] === -1 && (ue.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
275
+ e.$$.dirty[0] === -1 && (se.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
276
276
  }
277
277
  function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
278
- const l = ve;
279
- ye(e);
278
+ const l = ye;
279
+ ge(e);
280
280
  const u = e.$$ = {
281
281
  fragment: null,
282
282
  ctx: [],
@@ -301,17 +301,17 @@ function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
301
301
  a && a(u.root);
302
302
  let h = !1;
303
303
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
304
- const v = g.length ? g[0] : f;
305
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Lr(e, c)), f;
306
- }) : [], u.update(), h = !0, xe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
304
+ const _ = g.length ? g[0] : f;
305
+ return u.ctx && i(u.ctx[c], u.ctx[c] = _) && (!u.skip_bound && u.bound[c] && u.bound[c](_), h && Lr(e, c)), f;
306
+ }) : [], u.update(), h = !0, Ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
307
307
  if (t.hydrate) {
308
308
  const c = xr(t.target);
309
- u.fragment && u.fragment.l(c), c.forEach(H);
309
+ u.fragment && u.fragment.l(c), c.forEach(S);
310
310
  } else
311
311
  u.fragment && u.fragment.c();
312
312
  t.intro && kr(e.$$.fragment), Nr(e, t.target, t.anchor), j();
313
313
  }
314
- ye(l);
314
+ ge(l);
315
315
  }
316
316
  let Dt;
317
317
  typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
358
358
  let a;
359
359
  return {
360
360
  c: function() {
361
- a = E("slot"), o !== "default" && m(a, "name", o);
361
+ a = x("slot"), o !== "default" && m(a, "name", o);
362
362
  },
363
363
  /**
364
364
  * @param {HTMLElement} target
@@ -368,7 +368,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
368
368
  R(u, a, h);
369
369
  },
370
370
  d: function(u) {
371
- u && H(a);
371
+ u && S(a);
372
372
  }
373
373
  };
374
374
  };
@@ -380,7 +380,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
380
380
  o in n && (r[o] = [t(o)]);
381
381
  for (const o of this.attributes) {
382
382
  const a = this.$$g_p(o.name);
383
- a in this.$$d || (this.$$d[a] = Se(a, o.value, this.$$p_d, "toProp"));
383
+ a in this.$$d || (this.$$d[a] = we(a, o.value, this.$$p_d, "toProp"));
384
384
  }
385
385
  for (const o in this.$$p_d)
386
386
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
397
397
  this.$$r = !0;
398
398
  for (const o in this.$$p_d)
399
399
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
400
- const a = Se(
400
+ const a = we(
401
401
  o,
402
402
  this.$$d[o],
403
403
  this.$$p_d,
@@ -421,7 +421,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
421
421
  // and setting attributes through setAttribute etc, this is helpful
422
422
  attributeChangedCallback(t, r, n) {
423
423
  var i;
424
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
424
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
425
425
  }
426
426
  disconnectedCallback() {
427
427
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -434,7 +434,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
434
434
  ) || t;
435
435
  }
436
436
  });
437
- function Se(e, t, r, n) {
437
+ function we(e, t, r, n) {
438
438
  var o;
439
439
  const i = (o = r[e]) == null ? void 0 : o.type;
440
440
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -482,7 +482,7 @@ function Or(e, t, r, n, i, o) {
482
482
  },
483
483
  set(l) {
484
484
  var u;
485
- l = Se(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
485
+ l = we(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
486
486
  }
487
487
  });
488
488
  }), n.forEach((s) => {
@@ -525,7 +525,7 @@ class Ir {
525
525
  * @returns {() => void}
526
526
  */
527
527
  $on(t, r) {
528
- if (!ot(r))
528
+ if (!nt(r))
529
529
  return W;
530
530
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
531
531
  return n.push(r), () => {
@@ -543,24 +543,24 @@ class Ir {
543
543
  }
544
544
  const $r = "4";
545
545
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
546
- const se = [];
546
+ const ae = [];
547
547
  function Dr(e, t) {
548
548
  return {
549
- subscribe: Le(e, t).subscribe
549
+ subscribe: Ne(e, t).subscribe
550
550
  };
551
551
  }
552
- function Le(e, t = W) {
552
+ function Ne(e, t = W) {
553
553
  let r;
554
554
  const n = /* @__PURE__ */ new Set();
555
555
  function i(s) {
556
556
  if (It(e, s) && (e = s, r)) {
557
- const l = !se.length;
557
+ const l = !ae.length;
558
558
  for (const u of n)
559
- u[1](), se.push(u, e);
559
+ u[1](), ae.push(u, e);
560
560
  if (l) {
561
- for (let u = 0; u < se.length; u += 2)
562
- se[u][0](se[u + 1]);
563
- se.length = 0;
561
+ for (let u = 0; u < ae.length; u += 2)
562
+ ae[u][0](ae[u + 1]);
563
+ ae.length = 0;
564
564
  }
565
565
  }
566
566
  }
@@ -575,7 +575,7 @@ function Le(e, t = W) {
575
575
  }
576
576
  return { set: i, update: o, subscribe: a };
577
577
  }
578
- function de(e, t, r) {
578
+ function me(e, t, r) {
579
579
  const n = !Array.isArray(e), i = n ? [e] : e;
580
580
  if (!i.every(Boolean))
581
581
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -588,21 +588,21 @@ function de(e, t, r) {
588
588
  if (h)
589
589
  return;
590
590
  c();
591
- const v = t(n ? u[0] : u, a, s);
592
- o ? a(v) : c = ot(v) ? v : W;
591
+ const _ = t(n ? u[0] : u, a, s);
592
+ o ? a(_) : c = nt(_) ? _ : W;
593
593
  }, g = i.map(
594
- (v, x) => $t(
595
- v,
596
- (S) => {
597
- u[x] = S, h &= ~(1 << x), l && f();
594
+ (_, T) => $t(
595
+ _,
596
+ (H) => {
597
+ u[T] = H, h &= ~(1 << T), l && f();
598
598
  },
599
599
  () => {
600
- h |= 1 << x;
600
+ h |= 1 << T;
601
601
  }
602
602
  )
603
603
  );
604
604
  return l = !0, f(), function() {
605
- xe(g), c(), l = !1;
605
+ Ee(g), c(), l = !1;
606
606
  };
607
607
  });
608
608
  }
@@ -626,19 +626,19 @@ function Xr(e) {
626
626
  function Wr(e) {
627
627
  return Array.isArray(e) ? [] : {};
628
628
  }
629
- function _e(e, t) {
630
- return t.clone !== !1 && t.isMergeableObject(e) ? he(Wr(e), e, t) : e;
629
+ function ve(e, t) {
630
+ return t.clone !== !1 && t.isMergeableObject(e) ? le(Wr(e), e, t) : e;
631
631
  }
632
632
  function Zr(e, t, r) {
633
633
  return e.concat(t).map(function(n) {
634
- return _e(n, r);
634
+ return ve(n, r);
635
635
  });
636
636
  }
637
637
  function Jr(e, t) {
638
638
  if (!t.customMerge)
639
- return he;
639
+ return le;
640
640
  var r = t.customMerge(e);
641
- return typeof r == "function" ? r : he;
641
+ return typeof r == "function" ? r : le;
642
642
  }
643
643
  function Yr(e) {
644
644
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -661,51 +661,65 @@ function Kr(e, t) {
661
661
  function qr(e, t, r) {
662
662
  var n = {};
663
663
  return r.isMergeableObject(e) && pt(e).forEach(function(i) {
664
- n[i] = _e(e[i], r);
664
+ n[i] = ve(e[i], r);
665
665
  }), pt(t).forEach(function(i) {
666
- Kr(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
666
+ Kr(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
667
667
  }), n;
668
668
  }
669
- function he(e, t, r) {
670
- r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = _e;
669
+ function le(e, t, r) {
670
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = ve;
671
671
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
672
- return o ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : _e(t, r);
672
+ return o ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : ve(t, r);
673
673
  }
674
- he.all = function(t, r) {
674
+ le.all = function(t, r) {
675
675
  if (!Array.isArray(t))
676
676
  throw new Error("first argument should be an array");
677
677
  return t.reduce(function(n, i) {
678
- return he(n, i, r);
678
+ return le(n, i, r);
679
679
  }, {});
680
680
  };
681
- var Qr = he, en = Qr;
681
+ var Qr = le, en = Qr;
682
682
  const tn = /* @__PURE__ */ Ur(en);
683
- var Ye = function(e, t) {
684
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
683
+ /*! *****************************************************************************
684
+ Copyright (c) Microsoft Corporation.
685
+
686
+ Permission to use, copy, modify, and/or distribute this software for any
687
+ purpose with or without fee is hereby granted.
688
+
689
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
690
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
691
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
692
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
693
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
694
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
695
+ PERFORMANCE OF THIS SOFTWARE.
696
+ ***************************************************************************** */
697
+ var Ze = function(e, t) {
698
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
685
699
  r.__proto__ = n;
686
700
  } || function(r, n) {
687
701
  for (var i in n)
688
702
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
689
- }, Ye(e, t);
703
+ }, Ze(e, t);
690
704
  };
691
- function Pe(e, t) {
705
+ function Ae(e, t) {
692
706
  if (typeof t != "function" && t !== null)
693
707
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
694
- Ye(e, t);
708
+ Ze(e, t);
695
709
  function r() {
696
710
  this.constructor = e;
697
711
  }
698
712
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
699
713
  }
700
- var J = function() {
701
- return J = Object.assign || function(t) {
714
+ var v = function() {
715
+ return v = Object.assign || function(t) {
702
716
  for (var r, n = 1, i = arguments.length; n < i; n++) {
703
717
  r = arguments[n];
704
718
  for (var o in r)
705
719
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
706
720
  }
707
721
  return t;
708
- }, J.apply(this, arguments);
722
+ }, v.apply(this, arguments);
709
723
  };
710
724
  function rn(e, t) {
711
725
  var r = {};
@@ -716,14 +730,14 @@ function rn(e, t) {
716
730
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
717
731
  return r;
718
732
  }
719
- function Ge(e, t, r) {
720
- if (r || arguments.length === 2)
733
+ function De(e, t, r) {
734
+ if (arguments.length === 2)
721
735
  for (var n = 0, i = t.length, o; n < i; n++)
722
736
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
723
- return e.concat(o || Array.prototype.slice.call(t));
737
+ return e.concat(o || t);
724
738
  }
725
- function Fe(e, t) {
726
- var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : an;
739
+ function Ue(e, t) {
740
+ var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : on;
727
741
  return i(e, {
728
742
  cache: r,
729
743
  serializer: n
@@ -732,103 +746,95 @@ function Fe(e, t) {
732
746
  function nn(e) {
733
747
  return e == null || typeof e == "number" || typeof e == "boolean";
734
748
  }
735
- function on(e, t, r, n) {
749
+ function Gt(e, t, r, n) {
736
750
  var i = nn(n) ? n : r(n), o = t.get(i);
737
751
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
738
752
  }
739
- function Gt(e, t, r) {
753
+ function Ft(e, t, r) {
740
754
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
741
755
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
742
756
  }
743
- function Ft(e, t, r, n, i) {
757
+ function it(e, t, r, n, i) {
744
758
  return r.bind(t, e, n, i);
745
759
  }
760
+ function on(e, t) {
761
+ var r = e.length === 1 ? Gt : Ft;
762
+ return it(e, this, r, t.cache.create(), t.serializer);
763
+ }
746
764
  function an(e, t) {
747
- var r = e.length === 1 ? on : Gt;
748
- return Ft(e, this, r, t.cache.create(), t.serializer);
765
+ return it(e, this, Ft, t.cache.create(), t.serializer);
749
766
  }
750
767
  function sn(e, t) {
751
- return Ft(e, this, Gt, t.cache.create(), t.serializer);
768
+ return it(e, this, Gt, t.cache.create(), t.serializer);
752
769
  }
753
770
  var un = function() {
754
771
  return JSON.stringify(arguments);
755
- }, ln = (
756
- /** @class */
757
- function() {
758
- function e() {
759
- this.cache = /* @__PURE__ */ Object.create(null);
760
- }
761
- return e.prototype.get = function(t) {
762
- return this.cache[t];
763
- }, e.prototype.set = function(t, r) {
764
- this.cache[t] = r;
765
- }, e;
766
- }()
767
- ), hn = {
772
+ };
773
+ function ot() {
774
+ this.cache = /* @__PURE__ */ Object.create(null);
775
+ }
776
+ ot.prototype.get = function(e) {
777
+ return this.cache[e];
778
+ };
779
+ ot.prototype.set = function(e, t) {
780
+ this.cache[e] = t;
781
+ };
782
+ var ln = {
768
783
  create: function() {
769
- return new ln();
784
+ return new ot();
770
785
  }
771
- }, je = {
772
- variadic: sn
773
- }, Me = function() {
774
- return Me = Object.assign || function(t) {
775
- for (var r, n = 1, i = arguments.length; n < i; n++) {
776
- r = arguments[n];
777
- for (var o in r)
778
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
779
- }
780
- return t;
781
- }, Me.apply(this, arguments);
782
- };
783
- var b;
786
+ }, Ge = {
787
+ variadic: an,
788
+ monadic: sn
789
+ }, b;
784
790
  (function(e) {
785
791
  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";
786
792
  })(b || (b = {}));
787
- var T;
793
+ var B;
788
794
  (function(e) {
789
795
  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";
790
- })(T || (T = {}));
791
- var ce;
796
+ })(B || (B = {}));
797
+ var he;
792
798
  (function(e) {
793
799
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
794
- })(ce || (ce = {}));
800
+ })(he || (he = {}));
795
801
  function bt(e) {
796
- return e.type === T.literal;
802
+ return e.type === B.literal;
797
803
  }
798
- function cn(e) {
799
- return e.type === T.argument;
804
+ function hn(e) {
805
+ return e.type === B.argument;
800
806
  }
801
807
  function jt(e) {
802
- return e.type === T.number;
808
+ return e.type === B.number;
803
809
  }
804
810
  function Vt(e) {
805
- return e.type === T.date;
811
+ return e.type === B.date;
806
812
  }
807
813
  function zt(e) {
808
- return e.type === T.time;
814
+ return e.type === B.time;
809
815
  }
810
816
  function Xt(e) {
811
- return e.type === T.select;
817
+ return e.type === B.select;
812
818
  }
813
819
  function Wt(e) {
814
- return e.type === T.plural;
820
+ return e.type === B.plural;
815
821
  }
816
- function fn(e) {
817
- return e.type === T.pound;
822
+ function cn(e) {
823
+ return e.type === B.pound;
818
824
  }
819
825
  function Zt(e) {
820
- return e.type === T.tag;
826
+ return e.type === B.tag;
821
827
  }
822
828
  function Jt(e) {
823
- return !!(e && typeof e == "object" && e.type === ce.number);
829
+ return !!(e && typeof e == "object" && e.type === he.number);
824
830
  }
825
- function Ke(e) {
826
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
831
+ function Je(e) {
832
+ return !!(e && typeof e == "object" && e.type === he.dateTime);
827
833
  }
828
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
829
- function dn(e) {
834
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[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;
835
+ function mn(e) {
830
836
  var t = {};
831
- return e.replace(mn, function(r) {
837
+ return e.replace(fn, function(r) {
832
838
  var n = r.length;
833
839
  switch (r[0]) {
834
840
  case "G":
@@ -917,21 +923,11 @@ function dn(e) {
917
923
  return "";
918
924
  }), t;
919
925
  }
920
- var w = function() {
921
- return w = Object.assign || function(t) {
922
- for (var r, n = 1, i = arguments.length; n < i; n++) {
923
- r = arguments[n];
924
- for (var o in r)
925
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
926
- }
927
- return t;
928
- }, w.apply(this, arguments);
929
- };
930
- var pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
931
- function bn(e) {
926
+ var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
927
+ function pn(e) {
932
928
  if (e.length === 0)
933
929
  throw new Error("Number skeleton cannot be empty");
934
- for (var t = e.split(pn).filter(function(f) {
930
+ for (var t = e.split(dn).filter(function(f) {
935
931
  return f.length > 0;
936
932
  }), r = [], n = 0, i = t; n < i.length; n++) {
937
933
  var o = i[n], a = o.split("/");
@@ -946,10 +942,10 @@ function bn(e) {
946
942
  }
947
943
  return r;
948
944
  }
949
- function gn(e) {
945
+ function bn(e) {
950
946
  return e.replace(/^(.*?)-/, "");
951
947
  }
952
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
948
+ var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
953
949
  function yt(e) {
954
950
  var t = {};
955
951
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
@@ -996,7 +992,7 @@ function Qt(e) {
996
992
  };
997
993
  }
998
994
  }
999
- function vn(e) {
995
+ function yn(e) {
1000
996
  var t;
1001
997
  if (e[0] === "E" && e[1] === "E" ? (t = {
1002
998
  notation: "engineering"
@@ -1014,7 +1010,7 @@ function vt(e) {
1014
1010
  var t = {}, r = Qt(e);
1015
1011
  return r || t;
1016
1012
  }
1017
- function _n(e) {
1013
+ function vn(e) {
1018
1014
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1019
1015
  var i = n[r];
1020
1016
  switch (i.stem) {
@@ -1038,7 +1034,7 @@ function _n(e) {
1038
1034
  continue;
1039
1035
  case "measure-unit":
1040
1036
  case "unit":
1041
- t.style = "unit", t.unit = gn(i.options[0]);
1037
+ t.style = "unit", t.unit = bn(i.options[0]);
1042
1038
  continue;
1043
1039
  case "compact-short":
1044
1040
  case "K":
@@ -1049,13 +1045,13 @@ function _n(e) {
1049
1045
  t.notation = "compact", t.compactDisplay = "long";
1050
1046
  continue;
1051
1047
  case "scientific":
1052
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1053
- return w(w({}, l), vt(u));
1048
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1049
+ return v(v({}, l), vt(u));
1054
1050
  }, {}));
1055
1051
  continue;
1056
1052
  case "engineering":
1057
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1058
- return w(w({}, l), vt(u));
1053
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1054
+ return v(v({}, l), vt(u));
1059
1055
  }, {}));
1060
1056
  continue;
1061
1057
  case "notation-simple":
@@ -1100,7 +1096,7 @@ function _n(e) {
1100
1096
  case "integer-width":
1101
1097
  if (i.options.length > 1)
1102
1098
  throw new RangeError("integer-width stems only accept a single optional option");
1103
- i.options[0].replace(yn, function(l, u, h, c, f, g) {
1099
+ i.options[0].replace(gn, function(l, u, h, c, f, g) {
1104
1100
  if (u)
1105
1101
  t.minimumIntegerDigits = h.length;
1106
1102
  else {
@@ -1124,17 +1120,17 @@ function _n(e) {
1124
1120
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1125
1121
  });
1126
1122
  var o = i.options[0];
1127
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), yt(o)));
1123
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
1128
1124
  continue;
1129
1125
  }
1130
1126
  if (Kt.test(i.stem)) {
1131
- t = w(w({}, t), yt(i.stem));
1127
+ t = v(v({}, t), yt(i.stem));
1132
1128
  continue;
1133
1129
  }
1134
1130
  var a = Qt(i.stem);
1135
- a && (t = w(w({}, t), a));
1136
- var s = vn(i.stem);
1137
- s && (t = w(w({}, t), s));
1131
+ a && (t = v(v({}, t), a));
1132
+ var s = yn(i.stem);
1133
+ s && (t = v(v({}, t), s));
1138
1134
  }
1139
1135
  return t;
1140
1136
  }
@@ -2553,13 +2549,13 @@ var Be = {
2553
2549
  "h"
2554
2550
  ]
2555
2551
  };
2556
- function En(e, t) {
2552
+ function _n(e, t) {
2557
2553
  for (var r = "", n = 0; n < e.length; n++) {
2558
2554
  var i = e.charAt(n);
2559
2555
  if (i === "j") {
2560
2556
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2561
2557
  o++, n++;
2562
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = xn(t);
2558
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = En(t);
2563
2559
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2564
2560
  r += l;
2565
2561
  for (; a-- > 0; )
@@ -2569,7 +2565,7 @@ function En(e, t) {
2569
2565
  }
2570
2566
  return r;
2571
2567
  }
2572
- function xn(e) {
2568
+ function En(e) {
2573
2569
  var t = e.hourCycle;
2574
2570
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2575
2571
  e.hourCycles && // @ts-ignore
@@ -2591,18 +2587,18 @@ function xn(e) {
2591
2587
  var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
2592
2588
  return i[0];
2593
2589
  }
2594
- var Ve, Tn = new RegExp("^".concat(Yt.source, "*")), wn = new RegExp("".concat(Yt.source, "*$"));
2590
+ var Fe, xn = new RegExp("^".concat(Yt.source, "*")), Tn = new RegExp("".concat(Yt.source, "*$"));
2595
2591
  function y(e, t) {
2596
2592
  return { start: e, end: t };
2597
2593
  }
2598
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Nn = kn ? Number.isSafeInteger : function(e) {
2594
+ var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, kn = Rn ? Number.isSafeInteger : function(e) {
2599
2595
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2600
- }, qe = !0;
2596
+ }, Ye = !0;
2601
2597
  try {
2602
- var An = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2603
- qe = ((Ve = An.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
2598
+ var Nn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2599
+ Ye = ((Fe = Nn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2604
2600
  } catch (e) {
2605
- qe = !1;
2601
+ Ye = !1;
2606
2602
  }
2607
2603
  var _t = Bn ? (
2608
2604
  // Native
@@ -2614,7 +2610,7 @@ var _t = Bn ? (
2614
2610
  function(t, r, n) {
2615
2611
  return t.slice(n, n + r.length) === r;
2616
2612
  }
2617
- ), Qe = Sn ? String.fromCodePoint : (
2613
+ ), Ke = wn ? String.fromCodePoint : (
2618
2614
  // IE11
2619
2615
  function() {
2620
2616
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2638,7 +2634,7 @@ var _t = Bn ? (
2638
2634
  return r;
2639
2635
  }
2640
2636
  )
2641
- ), er = Cn ? (
2637
+ ), er = Sn ? (
2642
2638
  // Native
2643
2639
  function(t, r) {
2644
2640
  return t.codePointAt(r);
@@ -2652,7 +2648,7 @@ var _t = Bn ? (
2652
2648
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2653
2649
  }
2654
2650
  }
2655
- ), Ln = Mn ? (
2651
+ ), An = Cn ? (
2656
2652
  // Native
2657
2653
  function(t) {
2658
2654
  return t.trimStart();
@@ -2660,9 +2656,9 @@ var _t = Bn ? (
2660
2656
  ) : (
2661
2657
  // Ponyfill
2662
2658
  function(t) {
2663
- return t.replace(Tn, "");
2659
+ return t.replace(xn, "");
2664
2660
  }
2665
- ), Pn = Rn ? (
2661
+ ), Ln = Mn ? (
2666
2662
  // Native
2667
2663
  function(t) {
2668
2664
  return t.trimEnd();
@@ -2670,32 +2666,32 @@ var _t = Bn ? (
2670
2666
  ) : (
2671
2667
  // Ponyfill
2672
2668
  function(t) {
2673
- return t.replace(wn, "");
2669
+ return t.replace(Tn, "");
2674
2670
  }
2675
2671
  );
2676
2672
  function tr(e, t) {
2677
2673
  return new RegExp(e, t);
2678
2674
  }
2679
- var et;
2680
- if (qe) {
2675
+ var qe;
2676
+ if (Ye) {
2681
2677
  var xt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2682
- et = function(t, r) {
2678
+ qe = function(t, r) {
2683
2679
  var n;
2684
2680
  xt.lastIndex = r;
2685
2681
  var i = xt.exec(t);
2686
2682
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2687
2683
  };
2688
2684
  } else
2689
- et = function(t, r) {
2685
+ qe = function(t, r) {
2690
2686
  for (var n = []; ; ) {
2691
2687
  var i = er(t, r);
2692
- if (i === void 0 || rr(i) || Dn(i))
2688
+ if (i === void 0 || rr(i) || $n(i))
2693
2689
  break;
2694
2690
  n.push(i), r += i >= 65536 ? 2 : 1;
2695
2691
  }
2696
- return Qe.apply(void 0, n);
2692
+ return Ke.apply(void 0, n);
2697
2693
  };
2698
- var On = (
2694
+ var Pn = (
2699
2695
  /** @class */
2700
2696
  function() {
2701
2697
  function e(t, r) {
@@ -2719,14 +2715,14 @@ var On = (
2719
2715
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2720
2716
  var s = this.clonePosition();
2721
2717
  this.bump(), i.push({
2722
- type: T.pound,
2718
+ type: B.pound,
2723
2719
  location: y(s, this.clonePosition())
2724
2720
  });
2725
2721
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2726
2722
  if (n)
2727
2723
  break;
2728
2724
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2729
- } else if (o === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
2725
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2730
2726
  var a = this.parseTag(t, r);
2731
2727
  if (a.err)
2732
2728
  return a;
@@ -2747,7 +2743,7 @@ var On = (
2747
2743
  if (this.bumpSpace(), this.bumpIf("/>"))
2748
2744
  return {
2749
2745
  val: {
2750
- type: T.literal,
2746
+ type: B.literal,
2751
2747
  value: "<".concat(i, "/>"),
2752
2748
  location: y(n, this.clonePosition())
2753
2749
  },
@@ -2759,12 +2755,12 @@ var On = (
2759
2755
  return o;
2760
2756
  var a = o.val, s = this.clonePosition();
2761
2757
  if (this.bumpIf("</")) {
2762
- if (this.isEOF() || !tt(this.char()))
2758
+ if (this.isEOF() || !Qe(this.char()))
2763
2759
  return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
2764
2760
  var l = this.clonePosition(), u = this.parseTagName();
2765
2761
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2766
2762
  val: {
2767
- type: T.tag,
2763
+ type: B.tag,
2768
2764
  value: i,
2769
2765
  children: a,
2770
2766
  location: y(n, this.clonePosition())
@@ -2777,7 +2773,7 @@ var On = (
2777
2773
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2778
2774
  }, e.prototype.parseTagName = function() {
2779
2775
  var t = this.offset();
2780
- for (this.bump(); !this.isEOF() && $n(this.char()); )
2776
+ for (this.bump(); !this.isEOF() && In(this.char()); )
2781
2777
  this.bump();
2782
2778
  return this.message.slice(t, this.offset());
2783
2779
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2801,12 +2797,12 @@ var On = (
2801
2797
  }
2802
2798
  var l = y(n, this.clonePosition());
2803
2799
  return {
2804
- val: { type: T.literal, value: i, location: l },
2800
+ val: { type: B.literal, value: i, location: l },
2805
2801
  err: null
2806
2802
  };
2807
2803
  }, e.prototype.tryParseLeftAngleBracket = function() {
2808
2804
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2809
- !In(this.peek() || 0)) ? (this.bump(), "<") : null;
2805
+ !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2810
2806
  }, e.prototype.tryParseQuote = function(t) {
2811
2807
  if (this.isEOF() || this.char() !== 39)
2812
2808
  return null;
@@ -2840,12 +2836,12 @@ var On = (
2840
2836
  r.push(n);
2841
2837
  this.bump();
2842
2838
  }
2843
- return Qe.apply(void 0, r);
2839
+ return Ke.apply(void 0, r);
2844
2840
  }, e.prototype.tryParseUnquoted = function(t, r) {
2845
2841
  if (this.isEOF())
2846
2842
  return null;
2847
2843
  var n = this.char();
2848
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
2844
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
2849
2845
  }, e.prototype.parseArgument = function(t, r) {
2850
2846
  var n = this.clonePosition();
2851
2847
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2861,7 +2857,7 @@ var On = (
2861
2857
  case 125:
2862
2858
  return this.bump(), {
2863
2859
  val: {
2864
- type: T.argument,
2860
+ type: B.argument,
2865
2861
  // value does not include the opening and closing braces.
2866
2862
  value: i,
2867
2863
  location: y(n, this.clonePosition())
@@ -2874,7 +2870,7 @@ var On = (
2874
2870
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2875
2871
  }
2876
2872
  }, e.prototype.parseIdentifierIfPossible = function() {
2877
- var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
2873
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2878
2874
  this.bumpTo(i);
2879
2875
  var o = this.clonePosition(), a = y(t, o);
2880
2876
  return { value: n, location: a };
@@ -2893,46 +2889,46 @@ var On = (
2893
2889
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2894
2890
  if (c.err)
2895
2891
  return c;
2896
- var f = Pn(c.val);
2892
+ var f = Ln(c.val);
2897
2893
  if (f.length === 0)
2898
2894
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2899
2895
  var g = y(h, this.clonePosition());
2900
2896
  u = { style: f, styleLocation: g };
2901
2897
  }
2902
- var v = this.tryParseArgumentClose(i);
2903
- if (v.err)
2904
- return v;
2905
- var x = y(i, this.clonePosition());
2898
+ var _ = this.tryParseArgumentClose(i);
2899
+ if (_.err)
2900
+ return _;
2901
+ var T = y(i, this.clonePosition());
2906
2902
  if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
2907
- var S = Ln(u.style.slice(2));
2903
+ var H = An(u.style.slice(2));
2908
2904
  if (s === "number") {
2909
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
2905
+ var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2910
2906
  return c.err ? c : {
2911
- val: { type: T.number, value: n, location: x, style: c.val },
2907
+ val: { type: B.number, value: n, location: T, style: c.val },
2912
2908
  err: null
2913
2909
  };
2914
2910
  } else {
2915
- if (S.length === 0)
2916
- return this.error(b.EXPECT_DATE_TIME_SKELETON, x);
2917
- var B = S;
2918
- this.locale && (B = En(S, this.locale));
2911
+ if (H.length === 0)
2912
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, T);
2913
+ var w = H;
2914
+ this.locale && (w = _n(H, this.locale));
2919
2915
  var f = {
2920
- type: ce.dateTime,
2921
- pattern: B,
2916
+ type: he.dateTime,
2917
+ pattern: w,
2922
2918
  location: u.styleLocation,
2923
- parsedOptions: this.shouldParseSkeletons ? dn(B) : {}
2924
- }, k = s === "date" ? T.date : T.time;
2919
+ parsedOptions: this.shouldParseSkeletons ? mn(w) : {}
2920
+ }, k = s === "date" ? B.date : B.time;
2925
2921
  return {
2926
- val: { type: k, value: n, location: x, style: f },
2922
+ val: { type: k, value: n, location: T, style: f },
2927
2923
  err: null
2928
2924
  };
2929
2925
  }
2930
2926
  }
2931
2927
  return {
2932
2928
  val: {
2933
- type: s === "number" ? T.number : s === "date" ? T.date : T.time,
2929
+ type: s === "number" ? B.number : s === "date" ? B.date : B.time,
2934
2930
  value: n,
2935
- location: x,
2931
+ location: T,
2936
2932
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2937
2933
  },
2938
2934
  err: null
@@ -2943,7 +2939,7 @@ var On = (
2943
2939
  case "select": {
2944
2940
  var C = this.clonePosition();
2945
2941
  if (this.bumpSpace(), !this.bumpIf(","))
2946
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(C, Me({}, C)));
2942
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(C, v({}, C)));
2947
2943
  this.bumpSpace();
2948
2944
  var L = this.parseIdentifierIfPossible(), N = 0;
2949
2945
  if (s !== "select" && L.value === "offset") {
@@ -2958,26 +2954,26 @@ var On = (
2958
2954
  var X = this.tryParsePluralOrSelectOptions(t, s, r, L);
2959
2955
  if (X.err)
2960
2956
  return X;
2961
- var v = this.tryParseArgumentClose(i);
2962
- if (v.err)
2963
- return v;
2964
- var re = y(i, this.clonePosition());
2957
+ var _ = this.tryParseArgumentClose(i);
2958
+ if (_.err)
2959
+ return _;
2960
+ var te = y(i, this.clonePosition());
2965
2961
  return s === "select" ? {
2966
2962
  val: {
2967
- type: T.select,
2963
+ type: B.select,
2968
2964
  value: n,
2969
2965
  options: Et(X.val),
2970
- location: re
2966
+ location: te
2971
2967
  },
2972
2968
  err: null
2973
2969
  } : {
2974
2970
  val: {
2975
- type: T.plural,
2971
+ type: B.plural,
2976
2972
  value: n,
2977
2973
  options: Et(X.val),
2978
2974
  offset: N,
2979
2975
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2980
- location: re
2976
+ location: te
2981
2977
  },
2982
2978
  err: null
2983
2979
  };
@@ -3025,16 +3021,16 @@ var On = (
3025
3021
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3026
3022
  var n = [];
3027
3023
  try {
3028
- n = bn(t);
3024
+ n = pn(t);
3029
3025
  } catch (i) {
3030
3026
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3031
3027
  }
3032
3028
  return {
3033
3029
  val: {
3034
- type: ce.number,
3030
+ type: he.number,
3035
3031
  tokens: n,
3036
3032
  location: r,
3037
- parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
3033
+ parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
3038
3034
  },
3039
3035
  err: null
3040
3036
  };
@@ -3056,16 +3052,16 @@ var On = (
3056
3052
  var g = this.clonePosition();
3057
3053
  if (!this.bumpIf("{"))
3058
3054
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3059
- var v = this.parseMessage(t + 1, r, n);
3060
- if (v.err)
3061
- return v;
3062
- var x = this.tryParseArgumentClose(g);
3063
- if (x.err)
3064
- return x;
3055
+ var _ = this.parseMessage(t + 1, r, n);
3056
+ if (_.err)
3057
+ return _;
3058
+ var T = this.tryParseArgumentClose(g);
3059
+ if (T.err)
3060
+ return T;
3065
3061
  s.push([
3066
3062
  u,
3067
3063
  {
3068
- value: v.val,
3064
+ value: _.val,
3069
3065
  location: y(g, this.clonePosition())
3070
3066
  }
3071
3067
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3082,7 +3078,7 @@ var On = (
3082
3078
  break;
3083
3079
  }
3084
3080
  var l = y(i, this.clonePosition());
3085
- return o ? (a *= n, Nn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3081
+ return o ? (a *= n, kn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3086
3082
  }, e.prototype.offset = function() {
3087
3083
  return this.position.offset;
3088
3084
  }, e.prototype.isEOF = function() {
@@ -3148,47 +3144,47 @@ var On = (
3148
3144
  }, e;
3149
3145
  }()
3150
3146
  );
3151
- function tt(e) {
3147
+ function Qe(e) {
3152
3148
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3153
3149
  }
3154
- function In(e) {
3155
- return tt(e) || e === 47;
3150
+ function On(e) {
3151
+ return Qe(e) || e === 47;
3156
3152
  }
3157
- function $n(e) {
3153
+ function In(e) {
3158
3154
  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;
3159
3155
  }
3160
3156
  function rr(e) {
3161
3157
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3162
3158
  }
3163
- function Dn(e) {
3159
+ function $n(e) {
3164
3160
  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;
3165
3161
  }
3166
- function rt(e) {
3162
+ function et(e) {
3167
3163
  e.forEach(function(t) {
3168
3164
  if (delete t.location, Xt(t) || Wt(t))
3169
3165
  for (var r in t.options)
3170
- delete t.options[r].location, rt(t.options[r].value);
3166
+ delete t.options[r].location, et(t.options[r].value);
3171
3167
  else
3172
- jt(t) && Jt(t.style) || (Vt(t) || zt(t)) && Ke(t.style) ? delete t.style.location : Zt(t) && rt(t.children);
3168
+ jt(t) && Jt(t.style) || (Vt(t) || zt(t)) && Je(t.style) ? delete t.style.location : Zt(t) && et(t.children);
3173
3169
  });
3174
3170
  }
3175
- function Un(e, t) {
3176
- t === void 0 && (t = {}), t = Me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3177
- var r = new On(e, t).parse();
3171
+ function Dn(e, t) {
3172
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3173
+ var r = new Pn(e, t).parse();
3178
3174
  if (r.err) {
3179
3175
  var n = SyntaxError(b[r.err.kind]);
3180
3176
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3181
3177
  }
3182
- return t != null && t.captureLocation || rt(r.val), r.val;
3178
+ return t != null && t.captureLocation || et(r.val), r.val;
3183
3179
  }
3184
- var fe;
3180
+ var ce;
3185
3181
  (function(e) {
3186
3182
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3187
- })(fe || (fe = {}));
3188
- var Oe = (
3183
+ })(ce || (ce = {}));
3184
+ var Le = (
3189
3185
  /** @class */
3190
3186
  function(e) {
3191
- Pe(t, e);
3187
+ Ae(t, e);
3192
3188
  function t(r, n, i) {
3193
3189
  var o = e.call(this, r) || this;
3194
3190
  return o.code = n, o.originalMessage = i, o;
@@ -3200,41 +3196,41 @@ var Oe = (
3200
3196
  ), Tt = (
3201
3197
  /** @class */
3202
3198
  function(e) {
3203
- Pe(t, e);
3199
+ Ae(t, e);
3204
3200
  function t(r, n, i, o) {
3205
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3201
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3206
3202
  }
3207
3203
  return t;
3208
- }(Oe)
3209
- ), Gn = (
3204
+ }(Le)
3205
+ ), Un = (
3210
3206
  /** @class */
3211
3207
  function(e) {
3212
- Pe(t, e);
3208
+ Ae(t, e);
3213
3209
  function t(r, n, i) {
3214
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3210
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3215
3211
  }
3216
3212
  return t;
3217
- }(Oe)
3218
- ), Fn = (
3213
+ }(Le)
3214
+ ), Gn = (
3219
3215
  /** @class */
3220
3216
  function(e) {
3221
- Pe(t, e);
3217
+ Ae(t, e);
3222
3218
  function t(r, n) {
3223
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3219
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3224
3220
  }
3225
3221
  return t;
3226
- }(Oe)
3222
+ }(Le)
3227
3223
  ), O;
3228
3224
  (function(e) {
3229
3225
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3230
3226
  })(O || (O = {}));
3231
- function jn(e) {
3227
+ function Fn(e) {
3232
3228
  return e.length < 2 ? e : e.reduce(function(t, r) {
3233
3229
  var n = t[t.length - 1];
3234
3230
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3235
3231
  }, []);
3236
3232
  }
3237
- function Vn(e) {
3233
+ function jn(e) {
3238
3234
  return typeof e == "function";
3239
3235
  }
3240
3236
  function He(e, t, r, n, i, o, a) {
@@ -3254,7 +3250,7 @@ function He(e, t, r, n, i, o, a) {
3254
3250
  });
3255
3251
  continue;
3256
3252
  }
3257
- if (fn(h)) {
3253
+ if (cn(h)) {
3258
3254
  typeof o == "number" && s.push({
3259
3255
  type: O.literal,
3260
3256
  value: r.getNumberFormat(t).format(o)
@@ -3263,9 +3259,9 @@ function He(e, t, r, n, i, o, a) {
3263
3259
  }
3264
3260
  var c = h.value;
3265
3261
  if (!(i && c in i))
3266
- throw new Fn(c, a);
3262
+ throw new Gn(c, a);
3267
3263
  var f = i[c];
3268
- if (cn(h)) {
3264
+ if (hn(h)) {
3269
3265
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3270
3266
  type: typeof f == "string" ? O.literal : O.object,
3271
3267
  value: f
@@ -3273,7 +3269,7 @@ function He(e, t, r, n, i, o, a) {
3273
3269
  continue;
3274
3270
  }
3275
3271
  if (Vt(h)) {
3276
- var g = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3272
+ var g = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
3277
3273
  s.push({
3278
3274
  type: O.literal,
3279
3275
  value: r.getDateTimeFormat(t, g).format(f)
@@ -3281,7 +3277,7 @@ function He(e, t, r, n, i, o, a) {
3281
3277
  continue;
3282
3278
  }
3283
3279
  if (zt(h)) {
3284
- var g = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
3280
+ var g = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
3285
3281
  s.push({
3286
3282
  type: O.literal,
3287
3283
  value: r.getDateTimeFormat(t, g).format(f)
@@ -3297,10 +3293,10 @@ function He(e, t, r, n, i, o, a) {
3297
3293
  continue;
3298
3294
  }
3299
3295
  if (Zt(h)) {
3300
- var v = h.children, x = h.value, S = i[x];
3301
- if (!Vn(S))
3302
- throw new Gn(x, "function", a);
3303
- var B = He(v, t, r, n, i, o), k = S(B.map(function(N) {
3296
+ var _ = h.children, T = h.value, H = i[T];
3297
+ if (!jn(H))
3298
+ throw new Un(T, "function", a);
3299
+ var w = He(_, t, r, n, i, o), k = H(w.map(function(N) {
3304
3300
  return N.value;
3305
3301
  }));
3306
3302
  Array.isArray(k) || (k = [k]), s.push.apply(s, k.map(function(N) {
@@ -3321,9 +3317,9 @@ function He(e, t, r, n, i, o, a) {
3321
3317
  var C = h.options["=".concat(f)];
3322
3318
  if (!C) {
3323
3319
  if (!Intl.PluralRules)
3324
- throw new Oe(`Intl.PluralRules is not available in this environment.
3320
+ throw new Le(`Intl.PluralRules is not available in this environment.
3325
3321
  Try polyfilling it using "@formatjs/intl-pluralrules"
3326
- `, fe.MISSING_INTL_API, a);
3322
+ `, ce.MISSING_INTL_API, a);
3327
3323
  var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3328
3324
  C = h.options[L] || h.options.other;
3329
3325
  }
@@ -3333,19 +3329,19 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3333
3329
  continue;
3334
3330
  }
3335
3331
  }
3336
- return jn(s);
3332
+ return Fn(s);
3337
3333
  }
3338
- function zn(e, t) {
3339
- return t ? J(J(J({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3340
- return r[n] = J(J({}, e[n]), t[n] || {}), r;
3334
+ function Vn(e, t) {
3335
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3336
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3341
3337
  }, {})) : e;
3342
3338
  }
3343
- function Xn(e, t) {
3339
+ function zn(e, t) {
3344
3340
  return t ? Object.keys(e).reduce(function(r, n) {
3345
- return r[n] = zn(e[n], t[n]), r;
3346
- }, J({}, e)) : e;
3341
+ return r[n] = Vn(e[n], t[n]), r;
3342
+ }, v({}, e)) : e;
3347
3343
  }
3348
- function ze(e) {
3344
+ function je(e) {
3349
3345
  return {
3350
3346
  create: function() {
3351
3347
  return {
@@ -3359,39 +3355,39 @@ function ze(e) {
3359
3355
  }
3360
3356
  };
3361
3357
  }
3362
- function Wn(e) {
3358
+ function Xn(e) {
3363
3359
  return e === void 0 && (e = {
3364
3360
  number: {},
3365
3361
  dateTime: {},
3366
3362
  pluralRules: {}
3367
3363
  }), {
3368
- getNumberFormat: Fe(function() {
3364
+ getNumberFormat: Ue(function() {
3369
3365
  for (var t, r = [], n = 0; n < arguments.length; n++)
3370
3366
  r[n] = arguments[n];
3371
- return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
3367
+ return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3372
3368
  }, {
3373
- cache: ze(e.number),
3374
- strategy: je.variadic
3369
+ cache: je(e.number),
3370
+ strategy: Ge.variadic
3375
3371
  }),
3376
- getDateTimeFormat: Fe(function() {
3372
+ getDateTimeFormat: Ue(function() {
3377
3373
  for (var t, r = [], n = 0; n < arguments.length; n++)
3378
3374
  r[n] = arguments[n];
3379
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
3375
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3380
3376
  }, {
3381
- cache: ze(e.dateTime),
3382
- strategy: je.variadic
3377
+ cache: je(e.dateTime),
3378
+ strategy: Ge.variadic
3383
3379
  }),
3384
- getPluralRules: Fe(function() {
3380
+ getPluralRules: Ue(function() {
3385
3381
  for (var t, r = [], n = 0; n < arguments.length; n++)
3386
3382
  r[n] = arguments[n];
3387
- return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
3383
+ return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3388
3384
  }, {
3389
- cache: ze(e.pluralRules),
3390
- strategy: je.variadic
3385
+ cache: je(e.pluralRules),
3386
+ strategy: Ge.variadic
3391
3387
  })
3392
3388
  };
3393
3389
  }
3394
- var Zn = (
3390
+ var Wn = (
3395
3391
  /** @class */
3396
3392
  function() {
3397
3393
  function e(t, r, n, i) {
@@ -3424,12 +3420,12 @@ var Zn = (
3424
3420
  var a = i || {};
3425
3421
  a.formatters;
3426
3422
  var s = rn(a, ["formatters"]);
3427
- this.ast = e.__parse(t, J(J({}, s), { locale: this.resolvedLocale }));
3423
+ this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3428
3424
  } else
3429
3425
  this.ast = t;
3430
3426
  if (!Array.isArray(this.ast))
3431
3427
  throw new TypeError("A message must be provided as a String or AST.");
3432
- this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || Wn(this.formatterCache);
3428
+ this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
3433
3429
  }
3434
3430
  return Object.defineProperty(e, "defaultLocale", {
3435
3431
  get: function() {
@@ -3442,7 +3438,7 @@ var Zn = (
3442
3438
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3443
3439
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3444
3440
  }
3445
- }, e.__parse = Un, e.formats = {
3441
+ }, e.__parse = Dn, e.formats = {
3446
3442
  number: {
3447
3443
  integer: {
3448
3444
  maximumFractionDigits: 0
@@ -3503,7 +3499,7 @@ var Zn = (
3503
3499
  }, e;
3504
3500
  }()
3505
3501
  );
3506
- function Jn(e, t) {
3502
+ function Zn(e, t) {
3507
3503
  if (t == null)
3508
3504
  return;
3509
3505
  if (t in e)
@@ -3524,36 +3520,36 @@ function Jn(e, t) {
3524
3520
  n = void 0;
3525
3521
  return n;
3526
3522
  }
3527
- const ee = {}, Yn = (e, t, r) => r && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = r), r), nr = (e, t) => {
3523
+ const Q = {}, Jn = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), nr = (e, t) => {
3528
3524
  if (t == null)
3529
3525
  return;
3530
- if (t in ee && e in ee[t])
3531
- return ee[t][e];
3532
- const r = Ie(t);
3526
+ if (t in Q && e in Q[t])
3527
+ return Q[t][e];
3528
+ const r = Pe(t);
3533
3529
  for (let n = 0; n < r.length; n++) {
3534
- const i = r[n], o = qn(i, e);
3530
+ const i = r[n], o = Kn(i, e);
3535
3531
  if (o)
3536
- return Yn(e, t, o);
3532
+ return Jn(e, t, o);
3537
3533
  }
3538
3534
  };
3539
3535
  let at;
3540
- const pe = Le({});
3541
- function Kn(e) {
3536
+ const de = Ne({});
3537
+ function Yn(e) {
3542
3538
  return at[e] || null;
3543
3539
  }
3544
3540
  function ir(e) {
3545
3541
  return e in at;
3546
3542
  }
3547
- function qn(e, t) {
3543
+ function Kn(e, t) {
3548
3544
  if (!ir(e))
3549
3545
  return null;
3550
- const r = Kn(e);
3551
- return Jn(r, t);
3546
+ const r = Yn(e);
3547
+ return Zn(r, t);
3552
3548
  }
3553
- function Qn(e) {
3549
+ function qn(e) {
3554
3550
  if (e == null)
3555
3551
  return;
3556
- const t = Ie(e);
3552
+ const t = Pe(e);
3557
3553
  for (let r = 0; r < t.length; r++) {
3558
3554
  const n = t[r];
3559
3555
  if (ir(n))
@@ -3561,55 +3557,55 @@ function Qn(e) {
3561
3557
  }
3562
3558
  }
3563
3559
  function or(e, ...t) {
3564
- delete ee[e], pe.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
3560
+ delete Q[e], de.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
3565
3561
  }
3566
- de(
3567
- [pe],
3562
+ me(
3563
+ [de],
3568
3564
  ([e]) => Object.keys(e)
3569
3565
  );
3570
- pe.subscribe((e) => at = e);
3571
- const Ce = {};
3572
- function ei(e, t) {
3573
- Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
3566
+ de.subscribe((e) => at = e);
3567
+ const Se = {};
3568
+ function Qn(e, t) {
3569
+ Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3574
3570
  }
3575
3571
  function ar(e) {
3576
- return Ce[e];
3572
+ return Se[e];
3577
3573
  }
3578
- function ti(e) {
3579
- return Ie(e).map((t) => {
3574
+ function ei(e) {
3575
+ return Pe(e).map((t) => {
3580
3576
  const r = ar(t);
3581
3577
  return [t, r ? [...r] : []];
3582
3578
  }).filter(([, t]) => t.length > 0);
3583
3579
  }
3584
- function nt(e) {
3585
- return e == null ? !1 : Ie(e).some(
3580
+ function tt(e) {
3581
+ return e == null ? !1 : Pe(e).some(
3586
3582
  (t) => {
3587
3583
  var r;
3588
3584
  return (r = ar(t)) == null ? void 0 : r.size;
3589
3585
  }
3590
3586
  );
3591
3587
  }
3592
- function ri(e, t) {
3588
+ function ti(e, t) {
3593
3589
  return Promise.all(
3594
- t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3590
+ t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3595
3591
  ).then((n) => or(e, ...n));
3596
3592
  }
3597
- const ge = {};
3593
+ const be = {};
3598
3594
  function sr(e) {
3599
- if (!nt(e))
3600
- return e in ge ? ge[e] : Promise.resolve();
3601
- const t = ti(e);
3602
- return ge[e] = Promise.all(
3595
+ if (!tt(e))
3596
+ return e in be ? be[e] : Promise.resolve();
3597
+ const t = ei(e);
3598
+ return be[e] = Promise.all(
3603
3599
  t.map(
3604
- ([r, n]) => ri(r, n)
3600
+ ([r, n]) => ti(r, n)
3605
3601
  )
3606
3602
  ).then(() => {
3607
- if (nt(e))
3603
+ if (tt(e))
3608
3604
  return sr(e);
3609
- delete ge[e];
3610
- }), ge[e];
3605
+ delete be[e];
3606
+ }), be[e];
3611
3607
  }
3612
- const ni = {
3608
+ const ri = {
3613
3609
  number: {
3614
3610
  scientific: { notation: "scientific" },
3615
3611
  engineering: { notation: "engineering" },
@@ -3638,141 +3634,141 @@ const ni = {
3638
3634
  timeZoneName: "short"
3639
3635
  }
3640
3636
  }
3641
- }, ii = {
3637
+ }, ni = {
3642
3638
  fallbackLocale: null,
3643
3639
  loadingDelay: 200,
3644
- formats: ni,
3640
+ formats: ri,
3645
3641
  warnOnMissingMessages: !0,
3646
3642
  handleMissingMessage: void 0,
3647
3643
  ignoreTag: !0
3648
- }, oi = ii;
3649
- function me() {
3650
- return oi;
3644
+ }, ii = ni;
3645
+ function fe() {
3646
+ return ii;
3651
3647
  }
3652
- const Xe = Le(!1);
3653
- var ai = Object.defineProperty, si = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
3648
+ const Ve = Ne(!1);
3649
+ var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3654
3650
  for (var r in t || (t = {}))
3655
- li.call(t, r) && Bt(e, r, t[r]);
3656
- if (wt)
3657
- for (var r of wt(t))
3658
- hi.call(t, r) && Bt(e, r, t[r]);
3651
+ ui.call(t, r) && wt(e, r, t[r]);
3652
+ if (Bt)
3653
+ for (var r of Bt(t))
3654
+ li.call(t, r) && wt(e, r, t[r]);
3659
3655
  return e;
3660
- }, fi = (e, t) => si(e, ui(t));
3661
- let it;
3662
- const Re = Le(null);
3663
- function St(e) {
3656
+ }, ci = (e, t) => ai(e, si(t));
3657
+ let rt;
3658
+ const Ce = Ne(null);
3659
+ function Ht(e) {
3664
3660
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3665
3661
  }
3666
- function Ie(e, t = me().fallbackLocale) {
3667
- const r = St(e);
3668
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3662
+ function Pe(e, t = fe().fallbackLocale) {
3663
+ const r = Ht(e);
3664
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3669
3665
  }
3670
- function ie() {
3671
- return it != null ? it : void 0;
3666
+ function ne() {
3667
+ return rt != null ? rt : void 0;
3672
3668
  }
3673
- Re.subscribe((e) => {
3674
- it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3669
+ Ce.subscribe((e) => {
3670
+ rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3675
3671
  });
3676
- const mi = (e) => {
3677
- if (e && Qn(e) && nt(e)) {
3678
- const { loadingDelay: t } = me();
3672
+ const fi = (e) => {
3673
+ if (e && qn(e) && tt(e)) {
3674
+ const { loadingDelay: t } = fe();
3679
3675
  let r;
3680
- return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
3681
- () => Xe.set(!0),
3676
+ return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
3677
+ () => Ve.set(!0),
3682
3678
  t
3683
- ) : Xe.set(!0), sr(e).then(() => {
3684
- Re.set(e);
3679
+ ) : Ve.set(!0), sr(e).then(() => {
3680
+ Ce.set(e);
3685
3681
  }).finally(() => {
3686
- clearTimeout(r), Xe.set(!1);
3682
+ clearTimeout(r), Ve.set(!1);
3687
3683
  });
3688
3684
  }
3689
- return Re.set(e);
3690
- }, te = fi(ci({}, Re), {
3691
- set: mi
3692
- }), $e = (e) => {
3685
+ return Ce.set(e);
3686
+ }, ee = ci(hi({}, Ce), {
3687
+ set: fi
3688
+ }), Oe = (e) => {
3693
3689
  const t = /* @__PURE__ */ Object.create(null);
3694
3690
  return (n) => {
3695
3691
  const i = JSON.stringify(n);
3696
3692
  return i in t ? t[i] : t[i] = e(n);
3697
3693
  };
3698
3694
  };
3699
- var di = Object.defineProperty, ke = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3695
+ var mi = Object.defineProperty, Me = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3700
3696
  for (var r in t || (t = {}))
3701
- ur.call(t, r) && Ht(e, r, t[r]);
3702
- if (ke)
3703
- for (var r of ke(t))
3704
- lr.call(t, r) && Ht(e, r, t[r]);
3697
+ ur.call(t, r) && St(e, r, t[r]);
3698
+ if (Me)
3699
+ for (var r of Me(t))
3700
+ lr.call(t, r) && St(e, r, t[r]);
3705
3701
  return e;
3706
- }, be = (e, t) => {
3702
+ }, pe = (e, t) => {
3707
3703
  var r = {};
3708
3704
  for (var n in e)
3709
3705
  ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3710
- if (e != null && ke)
3711
- for (var n of ke(e))
3706
+ if (e != null && Me)
3707
+ for (var n of Me(e))
3712
3708
  t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
3713
3709
  return r;
3714
3710
  };
3715
- const Ee = (e, t) => {
3716
- const { formats: r } = me();
3711
+ const _e = (e, t) => {
3712
+ const { formats: r } = fe();
3717
3713
  if (e in r && t in r[e])
3718
3714
  return r[e][t];
3719
3715
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3720
- }, pi = $e(
3716
+ }, di = Oe(
3721
3717
  (e) => {
3722
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3718
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3723
3719
  if (r == null)
3724
3720
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3725
- return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
3721
+ return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3726
3722
  }
3727
- ), bi = $e(
3723
+ ), pi = Oe(
3728
3724
  (e) => {
3729
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3725
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3730
3726
  if (r == null)
3731
3727
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3732
- return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
3728
+ return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3733
3729
  }
3734
- ), gi = $e(
3730
+ ), bi = Oe(
3735
3731
  (e) => {
3736
- var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
3732
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3737
3733
  if (r == null)
3738
3734
  throw new Error(
3739
3735
  '[svelte-i18n] A "locale" must be set to format time values'
3740
3736
  );
3741
- return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
3737
+ return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3742
3738
  }
3743
- ), yi = (e = {}) => {
3739
+ ), gi = (e = {}) => {
3744
3740
  var t = e, {
3745
- locale: r = ie()
3746
- } = t, n = be(t, [
3741
+ locale: r = ne()
3742
+ } = t, n = pe(t, [
3747
3743
  "locale"
3748
3744
  ]);
3749
- return pi(st({ locale: r }, n));
3750
- }, vi = (e = {}) => {
3745
+ return di(st({ locale: r }, n));
3746
+ }, yi = (e = {}) => {
3751
3747
  var t = e, {
3752
- locale: r = ie()
3753
- } = t, n = be(t, [
3748
+ locale: r = ne()
3749
+ } = t, n = pe(t, [
3754
3750
  "locale"
3755
3751
  ]);
3756
- return bi(st({ locale: r }, n));
3757
- }, _i = (e = {}) => {
3752
+ return pi(st({ locale: r }, n));
3753
+ }, vi = (e = {}) => {
3758
3754
  var t = e, {
3759
- locale: r = ie()
3760
- } = t, n = be(t, [
3755
+ locale: r = ne()
3756
+ } = t, n = pe(t, [
3761
3757
  "locale"
3762
3758
  ]);
3763
- return gi(st({ locale: r }, n));
3764
- }, Ei = $e(
3759
+ return bi(st({ locale: r }, n));
3760
+ }, _i = Oe(
3765
3761
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3766
- (e, t = ie()) => new Zn(e, t, me().formats, {
3767
- ignoreTag: me().ignoreTag
3762
+ (e, t = ne()) => new Wn(e, t, fe().formats, {
3763
+ ignoreTag: fe().ignoreTag
3768
3764
  })
3769
- ), xi = (e, t = {}) => {
3765
+ ), Ei = (e, t = {}) => {
3770
3766
  var r, n, i, o;
3771
3767
  let a = t;
3772
3768
  typeof e == "object" && (a = e, e = a.id);
3773
3769
  const {
3774
3770
  values: s,
3775
- locale: l = ie(),
3771
+ locale: l = ne(),
3776
3772
  default: u
3777
3773
  } = a;
3778
3774
  if (l == null)
@@ -3781,7 +3777,7 @@ const Ee = (e, t) => {
3781
3777
  );
3782
3778
  let h = nr(e, l);
3783
3779
  if (!h)
3784
- h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3780
+ h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3785
3781
  else if (typeof h != "string")
3786
3782
  return console.warn(
3787
3783
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3790,7 +3786,7 @@ const Ee = (e, t) => {
3790
3786
  return h;
3791
3787
  let c = h;
3792
3788
  try {
3793
- c = Ei(h, l).format(s);
3789
+ c = _i(h, l).format(s);
3794
3790
  } catch (f) {
3795
3791
  f instanceof Error && console.warn(
3796
3792
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3798,21 +3794,21 @@ const Ee = (e, t) => {
3798
3794
  );
3799
3795
  }
3800
3796
  return c;
3801
- }, Ti = (e, t) => _i(t).format(e), wi = (e, t) => vi(t).format(e), Bi = (e, t) => yi(t).format(e), Si = (e, t = ie()) => nr(e, t), Hi = de([te, pe], () => xi);
3802
- de([te], () => Ti);
3803
- de([te], () => wi);
3804
- de([te], () => Bi);
3805
- de([te, pe], () => Si);
3806
- function Ci({ withLocale: e, translations: t }) {
3807
- te.subscribe((r) => {
3808
- r == null && (pe.set(t), te.set(e));
3797
+ }, xi = (e, t) => vi(t).format(e), Ti = (e, t) => yi(t).format(e), Bi = (e, t) => gi(t).format(e), wi = (e, t = ne()) => nr(e, t), Hi = me([ee, de], () => Ei);
3798
+ me([ee], () => xi);
3799
+ me([ee], () => Ti);
3800
+ me([ee], () => Bi);
3801
+ me([ee, de], () => wi);
3802
+ function Si({ withLocale: e, translations: t }) {
3803
+ ee.subscribe((r) => {
3804
+ r == null && (de.set(t), ee.set(e));
3809
3805
  });
3810
3806
  }
3811
3807
  function Ct(e, t) {
3812
3808
  or(e, t);
3813
3809
  }
3814
- function Mi(e) {
3815
- te.set(e);
3810
+ function Ci(e) {
3811
+ ee.set(e);
3816
3812
  }
3817
3813
  const Mt = {
3818
3814
  en: {
@@ -4062,13 +4058,13 @@ const Mt = {
4062
4058
  ZAR: "R",
4063
4059
  ZWD: "Z$"
4064
4060
  };
4065
- function Ri(e, t) {
4061
+ function Mi(e, t) {
4066
4062
  if (e) {
4067
4063
  const r = document.createElement("style");
4068
4064
  r.innerHTML = t, e.appendChild(r);
4069
4065
  }
4070
4066
  }
4071
- function ki(e, t) {
4067
+ function Ri(e, t) {
4072
4068
  const r = new URL(t);
4073
4069
  fetch(r.href).then((n) => n.text()).then((n) => {
4074
4070
  const i = document.createElement("style");
@@ -4077,7 +4073,7 @@ function ki(e, t) {
4077
4073
  console.error("There was an error while trying to load client styling from URL", n);
4078
4074
  });
4079
4075
  }
4080
- function Ni(e, t, r) {
4076
+ function ki(e, t, r) {
4081
4077
  if (window.emMessageBus) {
4082
4078
  const n = document.createElement("style");
4083
4079
  window.emMessageBus.subscribe(t, (i) => {
@@ -4085,8 +4081,8 @@ function Ni(e, t, r) {
4085
4081
  });
4086
4082
  }
4087
4083
  }
4088
- const Ai = "data:image/svg+xml,%3csvg%20width='35'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2591_521)'%3e%3cpath%20d='M22.3588%2020.1363C22.3601%2020.7949%2022.1782%2021.4408%2021.8334%2022.0019C21.6456%2022.3247%2021.4036%2022.6127%2021.1179%2022.8533C20.4473%2023.4391%2019.5846%2023.7574%2018.6942%2023.7474C17.8037%2023.7373%2016.9482%2023.3997%2016.2909%2022.7989C16.0353%2022.567%2015.8156%2022.2984%2015.6389%2022.0019C15.3424%2021.5116%2015.1664%2020.958%2015.1255%2020.3865C15.0845%2019.815%2015.1799%2019.2419%2015.4034%2018.7144C15.6399%2018.1566%2016.0124%2017.667%2016.487%2017.2905C16.9617%2016.9139%2017.5234%2016.6623%2018.1204%2016.5589C18.3103%2016.5455%2018.5009%2016.5455%2018.6908%2016.5589C19.6516%2016.5589%2020.573%2016.9406%2021.2524%2017.62C21.9318%2018.2994%2022.3135%2019.2208%2022.3135%2020.1816L22.3588%2020.1363Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.3242%2020.1371L18.2299%2021.0428L20.1591%2019.2314'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.278%206.46076C21.2037%204.5943%2019.6194%203.073%2017.711%202.0753C15.8025%201.0776%2013.6493%200.644982%2011.5036%200.828135C9.35785%201.01129%207.30885%201.8026%205.59709%203.10931C3.88533%204.41603%202.5817%206.1839%201.83935%208.20542C1.09701%2010.2269%200.9467%2012.4182%201.40598%2014.5222C1.86526%2016.6261%202.91505%2018.5555%204.43229%2020.0838C5.94953%2021.6121%207.87136%2022.6759%209.97194%2023.1504C12.0725%2023.6249%2014.2648%2023.4903%2016.2917%2022.7627C16.0361%2022.5307%2015.8163%2022.2621%2015.6396%2021.9657C15.3432%2021.4754%2015.1671%2020.9217%2015.1262%2020.3502C15.0853%2019.7788%2015.1806%2019.2057%2015.4041%2018.6781C14.4907%2019.0911%2013.4995%2019.3042%2012.497%2019.3031C11.2245%2019.3008%209.97506%2018.9635%208.87436%2018.325C7.77533%2017.6908%206.86538%2016.7747%206.23875%2015.6714V15.6714C5.33468%2014.0218%205.11294%2012.0836%205.62119%2010.2725C6.12945%208.46132%207.32717%206.92144%208.9575%205.98306C10.5878%205.04467%2012.521%204.78249%2014.3424%205.25274C16.1637%205.72298%2017.7284%206.88816%2018.7006%208.4985C18.7123%208.52746%2018.7275%208.55493%2018.746%208.58009C19.3629%209.66322%2019.6875%2010.8882%2019.6875%2012.1347C19.6875%2013.3813%2019.3629%2014.6064%2018.746%2015.6895C18.5748%2015.9855%2018.384%2016.2699%2018.1753%2016.5408C18.3652%2016.5273%2018.556%2016.5273%2018.746%2016.5408C19.3961%2016.5406%2020.0342%2016.7154%2020.5936%2017.0469C21.1529%2017.3783%2021.6128%2017.8543%2021.9249%2018.4246C23.1544%2016.5691%2023.8097%2014.3923%2023.8087%2012.1665C23.8164%2010.1621%2023.2878%208.19215%2022.278%206.46076V6.46076Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4785%200.819336V4.94915'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.1391%202.32227L16.0742%205.89962'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2866%206.46094L18.7002%208.52584'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.6875%2012.1035L23.7992%2012.1216'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2775%2017.7729L18.7363%2015.708'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4966%2019.3398L12.4785%2023.4153'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.883%2018.3613L6.82715%2021.8843'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.24745%2015.708L2.69727%2017.7276'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.30577%2012.0946L1.20312%2012.0674'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.30214%208.49903L2.75195%206.41602'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.90918%202.29492L8.94692%205.89039'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.7086%2010.4202H8.7206L7.74805%2011.0146V11.9254L8.61254%2011.4082H8.6357V14.3722H9.7086V10.4202Z'%20fill='white'/%3e%3cpath%20d='M11.7885%2014.4803C12.8633%2014.4822%2013.531%2013.7123%2013.5329%2012.4039C13.5348%2011.1033%2012.8633%2010.3662%2011.7885%2010.3662C10.7117%2010.3662%2010.0479%2011.0995%2010.044%2012.4039C10.0402%2013.7065%2010.7117%2014.4783%2011.7885%2014.4803ZM11.7885%2013.6081C11.418%2013.6081%2011.1517%2013.2356%2011.1555%2012.4039C11.1594%2011.5916%2011.418%2011.2307%2011.7885%2011.2307C12.159%2011.2307%2012.4195%2011.5916%2012.4214%2012.4039C12.4233%2013.2356%2012.159%2013.6081%2011.7885%2013.6081Z'%20fill='white'/%3e%3cpath%20d='M15.305%2014.4803C16.3798%2014.4822%2017.0475%2013.7123%2017.0494%2012.4039C17.0513%2011.1033%2016.3798%2010.3662%2015.305%2010.3662C14.2282%2010.3662%2013.5644%2011.0995%2013.5605%2012.4039C13.5567%2013.7065%2014.2282%2014.4783%2015.305%2014.4803ZM15.305%2013.6081C14.9345%2013.6081%2014.6682%2013.2356%2014.672%2012.4039C14.6759%2011.5916%2014.9345%2011.2307%2015.305%2011.2307C15.6755%2011.2307%2015.936%2011.5916%2015.9379%2012.4039C15.9398%2013.2356%2015.6755%2013.6081%2015.305%2013.6081Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_521'%3e%3crect%20width='24'%20height='24.2989'%20fill='white'%20transform='translate(0.478516%200.139648)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Li = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6712%2020.9658H5.22363V23.2166H19.6712V20.9658Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.9074%2014.8942C16.0065%2013.9267%2019.3847%2011.229%2019.3847%204.9113C19.3847%203.38619%2019.1879%202.20546%2018.7246%201.30762H6.03995C5.58078%202.20546%205.37988%203.38619%205.37988%204.9113C5.37988%2011.0978%208.76219%2013.8611%2010.8572%2014.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.41677%203.39453H0.841439C0.841439%203.39453%20-0.343394%209.90085%206.77789%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.499%203.39453H24.0743C24.0743%203.39453%2025.2592%209.90085%2018.1338%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3862%203.97656L13.2718%206.31343L15.7685%206.43642L13.8211%208.00253L14.4771%2010.4132L12.3862%209.04387L10.2953%2010.4132L10.9472%208.00253L9.00391%206.43642L11.4966%206.31343L12.3862%203.97656Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", hr = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.5%2013.7502C9.5%2014.7202%2010.25%2015.5002%2011.17%2015.5002H13.05C13.85%2015.5002%2014.5%2014.8202%2014.5%2013.9702C14.5%2013.0602%2014.1%2012.7302%2013.51%2012.5202L10.5%2011.4702C9.91%2011.2602%209.51001%2010.9402%209.51001%2010.0202C9.51001%209.18023%2010.16%208.49023%2010.96%208.49023H12.84C13.76%208.49023%2014.51%209.27023%2014.51%2010.2402'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%207.5V16.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%206V2H18'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17%207L22%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Pi = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202C17.52%202%2022%206.48%2022%2012Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.7099%2015.1798L12.6099%2013.3298C12.0699%2013.0098%2011.6299%2012.2398%2011.6299%2011.6098V7.50977'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Oi = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2019.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2012.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%205.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5L4%206.5L7%203.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2012.5L4%2013.5L7%2010.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2019.5L4%2020.5L7%2017.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
4089
- function Ii(e) {
4084
+ const Ni = "data:image/svg+xml,%3csvg%20width='35'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2591_521)'%3e%3cpath%20d='M22.3588%2020.1363C22.3601%2020.7949%2022.1782%2021.4408%2021.8334%2022.0019C21.6456%2022.3247%2021.4036%2022.6127%2021.1179%2022.8533C20.4473%2023.4391%2019.5846%2023.7574%2018.6942%2023.7474C17.8037%2023.7373%2016.9482%2023.3997%2016.2909%2022.7989C16.0353%2022.567%2015.8156%2022.2984%2015.6389%2022.0019C15.3424%2021.5116%2015.1664%2020.958%2015.1255%2020.3865C15.0845%2019.815%2015.1799%2019.2419%2015.4034%2018.7144C15.6399%2018.1566%2016.0124%2017.667%2016.487%2017.2905C16.9617%2016.9139%2017.5234%2016.6623%2018.1204%2016.5589C18.3103%2016.5455%2018.5009%2016.5455%2018.6908%2016.5589C19.6516%2016.5589%2020.573%2016.9406%2021.2524%2017.62C21.9318%2018.2994%2022.3135%2019.2208%2022.3135%2020.1816L22.3588%2020.1363Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.3242%2020.1371L18.2299%2021.0428L20.1591%2019.2314'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.278%206.46076C21.2037%204.5943%2019.6194%203.073%2017.711%202.0753C15.8025%201.0776%2013.6493%200.644982%2011.5036%200.828135C9.35785%201.01129%207.30885%201.8026%205.59709%203.10931C3.88533%204.41603%202.5817%206.1839%201.83935%208.20542C1.09701%2010.2269%200.9467%2012.4182%201.40598%2014.5222C1.86526%2016.6261%202.91505%2018.5555%204.43229%2020.0838C5.94953%2021.6121%207.87136%2022.6759%209.97194%2023.1504C12.0725%2023.6249%2014.2648%2023.4903%2016.2917%2022.7627C16.0361%2022.5307%2015.8163%2022.2621%2015.6396%2021.9657C15.3432%2021.4754%2015.1671%2020.9217%2015.1262%2020.3502C15.0853%2019.7788%2015.1806%2019.2057%2015.4041%2018.6781C14.4907%2019.0911%2013.4995%2019.3042%2012.497%2019.3031C11.2245%2019.3008%209.97506%2018.9635%208.87436%2018.325C7.77533%2017.6908%206.86538%2016.7747%206.23875%2015.6714V15.6714C5.33468%2014.0218%205.11294%2012.0836%205.62119%2010.2725C6.12945%208.46132%207.32717%206.92144%208.9575%205.98306C10.5878%205.04467%2012.521%204.78249%2014.3424%205.25274C16.1637%205.72298%2017.7284%206.88816%2018.7006%208.4985C18.7123%208.52746%2018.7275%208.55493%2018.746%208.58009C19.3629%209.66322%2019.6875%2010.8882%2019.6875%2012.1347C19.6875%2013.3813%2019.3629%2014.6064%2018.746%2015.6895C18.5748%2015.9855%2018.384%2016.2699%2018.1753%2016.5408C18.3652%2016.5273%2018.556%2016.5273%2018.746%2016.5408C19.3961%2016.5406%2020.0342%2016.7154%2020.5936%2017.0469C21.1529%2017.3783%2021.6128%2017.8543%2021.9249%2018.4246C23.1544%2016.5691%2023.8097%2014.3923%2023.8087%2012.1665C23.8164%2010.1621%2023.2878%208.19215%2022.278%206.46076V6.46076Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4785%200.819336V4.94915'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.1391%202.32227L16.0742%205.89962'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2866%206.46094L18.7002%208.52584'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.6875%2012.1035L23.7992%2012.1216'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2775%2017.7729L18.7363%2015.708'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4966%2019.3398L12.4785%2023.4153'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.883%2018.3613L6.82715%2021.8843'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.24745%2015.708L2.69727%2017.7276'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.30577%2012.0946L1.20312%2012.0674'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.30214%208.49903L2.75195%206.41602'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.90918%202.29492L8.94692%205.89039'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.7086%2010.4202H8.7206L7.74805%2011.0146V11.9254L8.61254%2011.4082H8.6357V14.3722H9.7086V10.4202Z'%20fill='white'/%3e%3cpath%20d='M11.7885%2014.4803C12.8633%2014.4822%2013.531%2013.7123%2013.5329%2012.4039C13.5348%2011.1033%2012.8633%2010.3662%2011.7885%2010.3662C10.7117%2010.3662%2010.0479%2011.0995%2010.044%2012.4039C10.0402%2013.7065%2010.7117%2014.4783%2011.7885%2014.4803ZM11.7885%2013.6081C11.418%2013.6081%2011.1517%2013.2356%2011.1555%2012.4039C11.1594%2011.5916%2011.418%2011.2307%2011.7885%2011.2307C12.159%2011.2307%2012.4195%2011.5916%2012.4214%2012.4039C12.4233%2013.2356%2012.159%2013.6081%2011.7885%2013.6081Z'%20fill='white'/%3e%3cpath%20d='M15.305%2014.4803C16.3798%2014.4822%2017.0475%2013.7123%2017.0494%2012.4039C17.0513%2011.1033%2016.3798%2010.3662%2015.305%2010.3662C14.2282%2010.3662%2013.5644%2011.0995%2013.5605%2012.4039C13.5567%2013.7065%2014.2282%2014.4783%2015.305%2014.4803ZM15.305%2013.6081C14.9345%2013.6081%2014.6682%2013.2356%2014.672%2012.4039C14.6759%2011.5916%2014.9345%2011.2307%2015.305%2011.2307C15.6755%2011.2307%2015.936%2011.5916%2015.9379%2012.4039C15.9398%2013.2356%2015.6755%2013.6081%2015.305%2013.6081Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_521'%3e%3crect%20width='24'%20height='24.2989'%20fill='white'%20transform='translate(0.478516%200.139648)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ai = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6712%2020.9658H5.22363V23.2166H19.6712V20.9658Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.9074%2014.8942C16.0065%2013.9267%2019.3847%2011.229%2019.3847%204.9113C19.3847%203.38619%2019.1879%202.20546%2018.7246%201.30762H6.03995C5.58078%202.20546%205.37988%203.38619%205.37988%204.9113C5.37988%2011.0978%208.76219%2013.8611%2010.8572%2014.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.41677%203.39453H0.841439C0.841439%203.39453%20-0.343394%209.90085%206.77789%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.499%203.39453H24.0743C24.0743%203.39453%2025.2592%209.90085%2018.1338%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3862%203.97656L13.2718%206.31343L15.7685%206.43642L13.8211%208.00253L14.4771%2010.4132L12.3862%209.04387L10.2953%2010.4132L10.9472%208.00253L9.00391%206.43642L11.4966%206.31343L12.3862%203.97656Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", hr = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.5%2013.7502C9.5%2014.7202%2010.25%2015.5002%2011.17%2015.5002H13.05C13.85%2015.5002%2014.5%2014.8202%2014.5%2013.9702C14.5%2013.0602%2014.1%2012.7302%2013.51%2012.5202L10.5%2011.4702C9.91%2011.2602%209.51001%2010.9402%209.51001%2010.0202C9.51001%209.18023%2010.16%208.49023%2010.96%208.49023H12.84C13.76%208.49023%2014.51%209.27023%2014.51%2010.2402'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%207.5V16.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%206V2H18'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17%207L22%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Li = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202C17.52%202%2022%206.48%2022%2012Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.7099%2015.1798L12.6099%2013.3298C12.0699%2013.0098%2011.6299%2012.2398%2011.6299%2011.6098V7.50977'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Pi = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2019.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2012.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%205.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5L4%206.5L7%203.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2012.5L4%2013.5L7%2010.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2019.5L4%2020.5L7%2017.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
4085
+ function Oi(e) {
4090
4086
  yr(e, "svelte-1aour49", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:#B5B5B5}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid #424242}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}");
4091
4087
  }
4092
4088
  function Rt(e) {
@@ -4096,7 +4092,7 @@ function Rt(e) {
4096
4092
  ), n;
4097
4093
  return {
4098
4094
  c() {
4099
- t = new Ae(!1), n = Ne(), t.a = n;
4095
+ t = new ke(!1), n = Re(), t.a = n;
4100
4096
  },
4101
4097
  m(i, o) {
4102
4098
  t.m(r, i, o), R(i, n, o);
@@ -4107,7 +4103,7 @@ function Rt(e) {
4107
4103
  i[13]("scoreCriteriaType.mostRounds") + "") && t.p(r);
4108
4104
  },
4109
4105
  d(i) {
4110
- i && (H(n), t.d());
4106
+ i && (S(n), t.d());
4111
4107
  }
4112
4108
  };
4113
4109
  }
@@ -4118,7 +4114,7 @@ function kt(e) {
4118
4114
  ), n;
4119
4115
  return {
4120
4116
  c() {
4121
- t = new Ae(!1), n = Ne(), t.a = n;
4117
+ t = new ke(!1), n = Re(), t.a = n;
4122
4118
  },
4123
4119
  m(i, o) {
4124
4120
  t.m(r, i, o), R(i, n, o);
@@ -4129,7 +4125,7 @@ function kt(e) {
4129
4125
  i[13]("scoreCriteriaType.winStateRatio") + "") && t.p(r);
4130
4126
  },
4131
4127
  d(i) {
4132
- i && (H(n), t.d());
4128
+ i && (S(n), t.d());
4133
4129
  }
4134
4130
  };
4135
4131
  }
@@ -4140,7 +4136,7 @@ function Nt(e) {
4140
4136
  ), n;
4141
4137
  return {
4142
4138
  c() {
4143
- t = new Ae(!1), n = Ne(), t.a = n;
4139
+ t = new ke(!1), n = Re(), t.a = n;
4144
4140
  },
4145
4141
  m(i, o) {
4146
4142
  t.m(r, i, o), R(i, n, o);
@@ -4151,7 +4147,7 @@ function Nt(e) {
4151
4147
  i[13]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(r);
4152
4148
  },
4153
4149
  d(i) {
4154
- i && (H(n), t.d());
4150
+ i && (S(n), t.d());
4155
4151
  }
4156
4152
  };
4157
4153
  }
@@ -4162,7 +4158,7 @@ function At(e) {
4162
4158
  ), n;
4163
4159
  return {
4164
4160
  c() {
4165
- t = new Ae(!1), n = Ne(), t.a = n;
4161
+ t = new ke(!1), n = Re(), t.a = n;
4166
4162
  },
4167
4163
  m(i, o) {
4168
4164
  t.m(r, i, o), R(i, n, o);
@@ -4173,7 +4169,7 @@ function At(e) {
4173
4169
  i[13]("scoreCriteriaType.stake") + "") && t.p(r);
4174
4170
  },
4175
4171
  d(i) {
4176
- i && (H(n), t.d());
4172
+ i && (S(n), t.d());
4177
4173
  }
4178
4174
  };
4179
4175
  }
@@ -4183,11 +4179,11 @@ function Lt(e) {
4183
4179
  return (
4184
4180
  /*noMinCasinoBet*/
4185
4181
  s[8] && /*noMaxCasinoBet*/
4186
- s[9] ? Gi : (
4182
+ s[9] ? Ui : (
4187
4183
  /*noMinCasinoBet*/
4188
- s[8] ? Ui : (
4184
+ s[8] ? Di : (
4189
4185
  /*noMaxCasinoBet*/
4190
- s[9] ? Di : $i
4186
+ s[9] ? $i : Ii
4191
4187
  )
4192
4188
  )
4193
4189
  );
@@ -4195,7 +4191,7 @@ function Lt(e) {
4195
4191
  let o = i(e), a = o(e);
4196
4192
  return {
4197
4193
  c() {
4198
- t = E("div"), r = E("div"), r.innerHTML = `<img src="${hr}"/>`, n = P(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
4194
+ t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"/>`, n = P(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
4199
4195
  },
4200
4196
  m(s, l) {
4201
4197
  R(s, t, l), p(t, r), p(t, n), a.m(t, null);
@@ -4204,11 +4200,11 @@ function Lt(e) {
4204
4200
  o === (o = i(s)) && a ? a.p(s, l) : (a.d(1), a = o(s), a && (a.c(), a.m(t, null)));
4205
4201
  },
4206
4202
  d(s) {
4207
- s && H(t), a.d();
4203
+ s && S(t), a.d();
4208
4204
  }
4209
4205
  };
4210
4206
  }
4211
- function $i(e) {
4207
+ function Ii(e) {
4212
4208
  let t, r = (
4213
4209
  /*$_*/
4214
4210
  e[13]("productMinMaxBet", {
@@ -4240,7 +4236,7 @@ function $i(e) {
4240
4236
  ), n;
4241
4237
  return {
4242
4238
  c() {
4243
- t = E("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4239
+ t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4244
4240
  },
4245
4241
  m(i, o) {
4246
4242
  R(i, t, o), p(t, n);
@@ -4273,14 +4269,14 @@ function $i(e) {
4273
4269
  ] : ""}${/*casino*/
4274
4270
  i[6].maxbet}`
4275
4271
  }
4276
- }) + "") && Y(n, r);
4272
+ }) + "") && J(n, r);
4277
4273
  },
4278
4274
  d(i) {
4279
- i && H(t);
4275
+ i && S(t);
4280
4276
  }
4281
4277
  };
4282
4278
  }
4283
- function Di(e) {
4279
+ function $i(e) {
4284
4280
  let t, r = (
4285
4281
  /*$_*/
4286
4282
  e[13]("productMinBet", {
@@ -4303,7 +4299,7 @@ function Di(e) {
4303
4299
  ), n;
4304
4300
  return {
4305
4301
  c() {
4306
- t = E("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4302
+ t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4307
4303
  },
4308
4304
  m(i, o) {
4309
4305
  R(i, t, o), p(t, n);
@@ -4327,14 +4323,14 @@ function Di(e) {
4327
4323
  ] : ""}${/*casino*/
4328
4324
  i[6].minbet}`
4329
4325
  }
4330
- }) + "") && Y(n, r);
4326
+ }) + "") && J(n, r);
4331
4327
  },
4332
4328
  d(i) {
4333
- i && H(t);
4329
+ i && S(t);
4334
4330
  }
4335
4331
  };
4336
4332
  }
4337
- function Ui(e) {
4333
+ function Di(e) {
4338
4334
  let t, r = (
4339
4335
  /*$_*/
4340
4336
  e[13]("productMaxBet", {
@@ -4357,7 +4353,7 @@ function Ui(e) {
4357
4353
  ), n;
4358
4354
  return {
4359
4355
  c() {
4360
- t = E("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4356
+ t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4361
4357
  },
4362
4358
  m(i, o) {
4363
4359
  R(i, t, o), p(t, n);
@@ -4381,14 +4377,14 @@ function Ui(e) {
4381
4377
  ] : ""}${/*casino*/
4382
4378
  i[6].maxbet}`
4383
4379
  }
4384
- }) + "") && Y(n, r);
4380
+ }) + "") && J(n, r);
4385
4381
  },
4386
4382
  d(i) {
4387
- i && H(t);
4383
+ i && S(t);
4388
4384
  }
4389
4385
  };
4390
4386
  }
4391
- function Gi(e) {
4387
+ function Ui(e) {
4392
4388
  let t, r = (
4393
4389
  /*$_*/
4394
4390
  e[13]("productNoLimitsBet", {
@@ -4400,7 +4396,7 @@ function Gi(e) {
4400
4396
  ), n;
4401
4397
  return {
4402
4398
  c() {
4403
- t = E("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4399
+ t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4404
4400
  },
4405
4401
  m(i, o) {
4406
4402
  R(i, t, o), p(t, n);
@@ -4413,10 +4409,10 @@ function Gi(e) {
4413
4409
  /*casino*/
4414
4410
  i[6].name
4415
4411
  ) }
4416
- }) + "") && Y(n, r);
4412
+ }) + "") && J(n, r);
4417
4413
  },
4418
4414
  d(i) {
4419
- i && H(t);
4415
+ i && S(t);
4420
4416
  }
4421
4417
  };
4422
4418
  }
@@ -4426,11 +4422,11 @@ function Pt(e) {
4426
4422
  return (
4427
4423
  /*noMinSportsBet*/
4428
4424
  s[10] && /*noMaxSportsBet*/
4429
- s[11] ? zi : (
4425
+ s[11] ? Vi : (
4430
4426
  /*noMinSportsBet*/
4431
- s[10] ? Vi : (
4427
+ s[10] ? ji : (
4432
4428
  /*noMaxSportsBet*/
4433
- s[11] ? ji : Fi
4429
+ s[11] ? Fi : Gi
4434
4430
  )
4435
4431
  )
4436
4432
  );
@@ -4438,7 +4434,7 @@ function Pt(e) {
4438
4434
  let o = i(e), a = o(e);
4439
4435
  return {
4440
4436
  c() {
4441
- t = E("div"), r = E("div"), r.innerHTML = `<img src="${hr}"/>`, n = P(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
4437
+ t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"/>`, n = P(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
4442
4438
  },
4443
4439
  m(s, l) {
4444
4440
  R(s, t, l), p(t, r), p(t, n), a.m(t, null);
@@ -4447,11 +4443,11 @@ function Pt(e) {
4447
4443
  o === (o = i(s)) && a ? a.p(s, l) : (a.d(1), a = o(s), a && (a.c(), a.m(t, null)));
4448
4444
  },
4449
4445
  d(s) {
4450
- s && H(t), a.d();
4446
+ s && S(t), a.d();
4451
4447
  }
4452
4448
  };
4453
4449
  }
4454
- function Fi(e) {
4450
+ function Gi(e) {
4455
4451
  let t, r = (
4456
4452
  /*$_*/
4457
4453
  e[13]("productMinMaxBet", {
@@ -4483,7 +4479,7 @@ function Fi(e) {
4483
4479
  ), n;
4484
4480
  return {
4485
4481
  c() {
4486
- t = E("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4482
+ t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4487
4483
  },
4488
4484
  m(i, o) {
4489
4485
  R(i, t, o), p(t, n);
@@ -4516,14 +4512,14 @@ function Fi(e) {
4516
4512
  ] : ""}${/*sports*/
4517
4513
  i[7].maxbet}`
4518
4514
  }
4519
- }) + "") && Y(n, r);
4515
+ }) + "") && J(n, r);
4520
4516
  },
4521
4517
  d(i) {
4522
- i && H(t);
4518
+ i && S(t);
4523
4519
  }
4524
4520
  };
4525
4521
  }
4526
- function ji(e) {
4522
+ function Fi(e) {
4527
4523
  let t, r = (
4528
4524
  /*$_*/
4529
4525
  e[13]("productMinBet", {
@@ -4546,7 +4542,7 @@ function ji(e) {
4546
4542
  ), n;
4547
4543
  return {
4548
4544
  c() {
4549
- t = E("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4545
+ t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4550
4546
  },
4551
4547
  m(i, o) {
4552
4548
  R(i, t, o), p(t, n);
@@ -4570,14 +4566,14 @@ function ji(e) {
4570
4566
  ] : ""}${/*sports*/
4571
4567
  i[7].minbet}`
4572
4568
  }
4573
- }) + "") && Y(n, r);
4569
+ }) + "") && J(n, r);
4574
4570
  },
4575
4571
  d(i) {
4576
- i && H(t);
4572
+ i && S(t);
4577
4573
  }
4578
4574
  };
4579
4575
  }
4580
- function Vi(e) {
4576
+ function ji(e) {
4581
4577
  let t, r = (
4582
4578
  /*$_*/
4583
4579
  e[13]("productMaxBet", {
@@ -4600,7 +4596,7 @@ function Vi(e) {
4600
4596
  ), n;
4601
4597
  return {
4602
4598
  c() {
4603
- t = E("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4599
+ t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4604
4600
  },
4605
4601
  m(i, o) {
4606
4602
  R(i, t, o), p(t, n);
@@ -4624,14 +4620,14 @@ function Vi(e) {
4624
4620
  ] : ""}${/*sports*/
4625
4621
  i[7].maxbet}`
4626
4622
  }
4627
- }) + "") && Y(n, r);
4623
+ }) + "") && J(n, r);
4628
4624
  },
4629
4625
  d(i) {
4630
- i && H(t);
4626
+ i && S(t);
4631
4627
  }
4632
4628
  };
4633
4629
  }
4634
- function zi(e) {
4630
+ function Vi(e) {
4635
4631
  let t, r = (
4636
4632
  /*$_*/
4637
4633
  e[13]("productNoLimitsBet", {
@@ -4643,7 +4639,7 @@ function zi(e) {
4643
4639
  ), n;
4644
4640
  return {
4645
4641
  c() {
4646
- t = E("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4642
+ t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4647
4643
  },
4648
4644
  m(i, o) {
4649
4645
  R(i, t, o), p(t, n);
@@ -4656,15 +4652,15 @@ function zi(e) {
4656
4652
  /*sports*/
4657
4653
  i[7].name
4658
4654
  ) }
4659
- }) + "") && Y(n, r);
4655
+ }) + "") && J(n, r);
4660
4656
  },
4661
4657
  d(i) {
4662
- i && H(t);
4658
+ i && S(t);
4663
4659
  }
4664
4660
  };
4665
4661
  }
4666
- function Xi(e) {
4667
- let t, r, n, i, o, a, s, l, u, h, c, f, g, v = (
4662
+ function zi(e) {
4663
+ let t, r, n, i, o, a, s, l, u, h, c, f, g, _ = (
4668
4664
  /*$_*/
4669
4665
  e[13]("miniBetCount", {
4670
4666
  values: { betCount: (
@@ -4672,7 +4668,7 @@ function Xi(e) {
4672
4668
  e[1]
4673
4669
  ) }
4674
4670
  }) + ""
4675
- ), x, S, B, k, C, L, N = (
4671
+ ), T, H, w, k, C, L, N = (
4676
4672
  /*$_*/
4677
4673
  e[13]("timePeriod", {
4678
4674
  values: {
@@ -4686,13 +4682,13 @@ function Xi(e) {
4686
4682
  )
4687
4683
  }
4688
4684
  }) + ""
4689
- ), X, re, K, ne, Te, q, oe = (
4685
+ ), X, te, Y, re, xe, K, ie = (
4690
4686
  /*$_*/
4691
4687
  e[13]("terms", { values: { tcUrl: (
4692
4688
  /*tcurl*/
4693
4689
  e[4]
4694
4690
  ) } }) + ""
4695
- ), d, Z, Q, we, ut, I = (
4691
+ ), d, Z, q, Te, ut, I = (
4696
4692
  /*scorecriterial*/
4697
4693
  e[0] == "BetCount" && Rt(e)
4698
4694
  ), $ = (
@@ -4713,68 +4709,68 @@ function Xi(e) {
4713
4709
  );
4714
4710
  return {
4715
4711
  c() {
4716
- t = E("div"), r = E("div"), n = E("div"), n.innerHTML = `<img src="${Li}"/>`, i = P(), o = E("div"), I && I.c(), a = P(), $ && $.c(), s = P(), D && D.c(), l = P(), U && U.c(), u = P(), h = E("div"), c = E("div"), c.innerHTML = `<img src="${Ai}"/>`, f = P(), g = E("div"), x = z(v), S = P(), B = E("div"), k = E("div"), k.innerHTML = `<img src="${Pi}"/>`, C = P(), L = E("div"), X = z(N), re = P(), K = E("div"), ne = E("div"), ne.innerHTML = `<img src="${Oi}"/>`, Te = P(), q = E("div"), d = P(), G && G.c(), Z = P(), Q = E("span"), ut = P(), F && F.c(), m(n, "class", "RuleIcon"), m(n, "part", "RuleIcon"), m(o, "class", "RuleTxt"), m(o, "part", "RuleTxt"), m(r, "class", "RulesRow"), m(r, "part", "rule"), m(c, "class", "RuleIcon"), m(c, "part", "RuleIcon"), m(g, "class", "RuleTxt"), m(g, "part", "RuleTxt"), m(h, "class", "RulesRow"), m(h, "part", "rule"), m(k, "class", "RuleIcon"), m(k, "part", "RuleIcon"), m(L, "class", "RuleTxt"), m(L, "part", "RuleTxt"), m(B, "class", "RulesRow"), m(B, "part", "rule"), m(ne, "class", "RuleIcon"), m(ne, "part", "RuleIcon"), m(q, "class", "RuleTxt"), m(q, "part", "RuleTxt"), m(K, "class", "RulesRow"), m(K, "part", "rule"), m(Q, "type", "hidden"), m(Q, "href", we = { tcurl: (
4712
+ t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${Ai}"/>`, i = P(), o = x("div"), I && I.c(), a = P(), $ && $.c(), s = P(), D && D.c(), l = P(), U && U.c(), u = P(), h = x("div"), c = x("div"), c.innerHTML = `<img src="${Ni}"/>`, f = P(), g = x("div"), T = z(_), H = P(), w = x("div"), k = x("div"), k.innerHTML = `<img src="${Li}"/>`, C = P(), L = x("div"), X = z(N), te = P(), Y = x("div"), re = x("div"), re.innerHTML = `<img src="${Pi}"/>`, xe = P(), K = x("div"), d = P(), G && G.c(), Z = P(), q = x("span"), ut = P(), F && F.c(), m(n, "class", "RuleIcon"), m(n, "part", "RuleIcon"), m(o, "class", "RuleTxt"), m(o, "part", "RuleTxt"), m(r, "class", "RulesRow"), m(r, "part", "rule"), m(c, "class", "RuleIcon"), m(c, "part", "RuleIcon"), m(g, "class", "RuleTxt"), m(g, "part", "RuleTxt"), m(h, "class", "RulesRow"), m(h, "part", "rule"), m(k, "class", "RuleIcon"), m(k, "part", "RuleIcon"), m(L, "class", "RuleTxt"), m(L, "part", "RuleTxt"), m(w, "class", "RulesRow"), m(w, "part", "rule"), m(re, "class", "RuleIcon"), m(re, "part", "RuleIcon"), m(K, "class", "RuleTxt"), m(K, "part", "RuleTxt"), m(Y, "class", "RulesRow"), m(Y, "part", "rule"), m(q, "type", "hidden"), m(q, "href", Te = { tcurl: (
4717
4713
  /*tcurl*/
4718
4714
  e[4]
4719
4715
  ) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
4720
4716
  },
4721
- m(_, V) {
4722
- R(_, t, V), p(t, r), p(r, n), p(r, i), p(r, o), I && I.m(o, null), p(o, a), $ && $.m(o, null), p(o, s), D && D.m(o, null), p(o, l), U && U.m(o, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, x), p(t, S), p(t, B), p(B, k), p(B, C), p(B, L), p(L, X), p(t, re), p(t, K), p(K, ne), p(K, Te), p(K, q), q.innerHTML = oe, p(t, d), G && G.m(t, null), p(t, Z), p(t, Q), p(t, ut), F && F.m(t, null), e[21](t);
4717
+ m(E, V) {
4718
+ R(E, t, V), p(t, r), p(r, n), p(r, i), p(r, o), I && I.m(o, null), p(o, a), $ && $.m(o, null), p(o, s), D && D.m(o, null), p(o, l), U && U.m(o, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, T), p(t, H), p(t, w), p(w, k), p(w, C), p(w, L), p(L, X), p(t, te), p(t, Y), p(Y, re), p(Y, xe), p(Y, K), K.innerHTML = ie, p(t, d), G && G.m(t, null), p(t, Z), p(t, q), p(t, ut), F && F.m(t, null), e[21](t);
4723
4719
  },
4724
- p(_, [V]) {
4720
+ p(E, [V]) {
4725
4721
  /*scorecriterial*/
4726
- _[0] == "BetCount" ? I ? I.p(_, V) : (I = Rt(_), I.c(), I.m(o, a)) : I && (I.d(1), I = null), /*scorecriterial*/
4727
- _[0] == "WinStakeRatio" ? $ ? $.p(_, V) : ($ = kt(_), $.c(), $.m(o, s)) : $ && ($.d(1), $ = null), /*scorecriterial*/
4728
- _[0] == "MaxWinStakeRatio" ? D ? D.p(_, V) : (D = Nt(_), D.c(), D.m(o, l)) : D && (D.d(1), D = null), /*scorecriterial*/
4729
- _[0] == "Stake" ? U ? U.p(_, V) : (U = At(_), U.c(), U.m(o, null)) : U && (U.d(1), U = null), V & /*$_, betcount*/
4730
- 8194 && v !== (v = /*$_*/
4731
- _[13]("miniBetCount", {
4722
+ E[0] == "BetCount" ? I ? I.p(E, V) : (I = Rt(E), I.c(), I.m(o, a)) : I && (I.d(1), I = null), /*scorecriterial*/
4723
+ E[0] == "WinStakeRatio" ? $ ? $.p(E, V) : ($ = kt(E), $.c(), $.m(o, s)) : $ && ($.d(1), $ = null), /*scorecriterial*/
4724
+ E[0] == "MaxWinStakeRatio" ? D ? D.p(E, V) : (D = Nt(E), D.c(), D.m(o, l)) : D && (D.d(1), D = null), /*scorecriterial*/
4725
+ E[0] == "Stake" ? U ? U.p(E, V) : (U = At(E), U.c(), U.m(o, null)) : U && (U.d(1), U = null), V & /*$_, betcount*/
4726
+ 8194 && _ !== (_ = /*$_*/
4727
+ E[13]("miniBetCount", {
4732
4728
  values: { betCount: (
4733
4729
  /*betcount*/
4734
- _[1]
4730
+ E[1]
4735
4731
  ) }
4736
- }) + "") && Y(x, v), V & /*$_, starttime, endtime*/
4732
+ }) + "") && J(T, _), V & /*$_, starttime, endtime*/
4737
4733
  8204 && N !== (N = /*$_*/
4738
- _[13]("timePeriod", {
4734
+ E[13]("timePeriod", {
4739
4735
  values: {
4740
4736
  startTime: (
4741
4737
  /*starttime*/
4742
- _[2]
4738
+ E[2]
4743
4739
  ),
4744
4740
  endTime: (
4745
4741
  /*endtime*/
4746
- _[3]
4742
+ E[3]
4747
4743
  )
4748
4744
  }
4749
- }) + "") && Y(X, N), V & /*$_, tcurl*/
4750
- 8208 && oe !== (oe = /*$_*/
4751
- _[13]("terms", { values: { tcUrl: (
4745
+ }) + "") && J(X, N), V & /*$_, tcurl*/
4746
+ 8208 && ie !== (ie = /*$_*/
4747
+ E[13]("terms", { values: { tcUrl: (
4752
4748
  /*tcurl*/
4753
- _[4]
4754
- ) } }) + "") && (q.innerHTML = oe), /*casino*/
4755
- _[6] ? G ? G.p(_, V) : (G = Lt(_), G.c(), G.m(t, Z)) : G && (G.d(1), G = null), V & /*tcurl*/
4756
- 16 && we !== (we = { tcurl: (
4749
+ E[4]
4750
+ ) } }) + "") && (K.innerHTML = ie), /*casino*/
4751
+ E[6] ? G ? G.p(E, V) : (G = Lt(E), G.c(), G.m(t, Z)) : G && (G.d(1), G = null), V & /*tcurl*/
4752
+ 16 && Te !== (Te = { tcurl: (
4757
4753
  /*tcurl*/
4758
- _[4]
4759
- ) }) && m(Q, "href", we), /*sports*/
4760
- _[7] ? F ? F.p(_, V) : (F = Pt(_), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
4754
+ E[4]
4755
+ ) }) && m(q, "href", Te), /*sports*/
4756
+ E[7] ? F ? F.p(E, V) : (F = Pt(E), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
4761
4757
  },
4762
4758
  i: W,
4763
4759
  o: W,
4764
- d(_) {
4765
- _ && H(t), I && I.d(), $ && $.d(), D && D.d(), U && U.d(), G && G.d(), F && F.d(), e[21](null);
4760
+ d(E) {
4761
+ E && S(t), I && I.d(), $ && $.d(), D && D.d(), U && U.d(), G && G.d(), F && F.d(), e[21](null);
4766
4762
  }
4767
4763
  };
4768
4764
  }
4769
- function Wi(e, t, r) {
4765
+ function Xi(e, t, r) {
4770
4766
  let n;
4771
4767
  gr(e, Hi, (d) => r(13, n = d));
4772
- let { lang: i = "tr" } = t, { scorecriterial: o = "BetCount" } = t, { betcount: a } = t, { starttime: s } = t, { endtime: l } = t, { tcurl: u } = t, { products: h = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { mbsource: v } = t, x, S, B, k = !1, C = !1, L = !1, N = !1, X = "EUR";
4773
- Ci({ withLocale: "en", translations: {} });
4774
- const re = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", K = () => {
4768
+ let { lang: i = "tr" } = t, { scorecriterial: o = "BetCount" } = t, { betcount: a } = t, { starttime: s } = t, { endtime: l } = t, { tcurl: u } = t, { products: h = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { mbsource: _ } = t, T, H, w, k = !1, C = !1, L = !1, N = !1, X = "EUR";
4769
+ Si({ withLocale: "en", translations: {} });
4770
+ const te = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", Y = () => {
4775
4771
  fetch(g).then((Z) => Z.json()).then((Z) => {
4776
- Object.keys(Z).forEach((Q) => {
4777
- Ct(Q, Z[Q]);
4772
+ Object.keys(Z).forEach((q) => {
4773
+ Ct(q, Z[q]);
4778
4774
  });
4779
4775
  }).catch((Z) => {
4780
4776
  console.log(Z);
@@ -4783,63 +4779,63 @@ function Wi(e, t, r) {
4783
4779
  Object.keys(Mt).forEach((d) => {
4784
4780
  Ct(d, Mt[d]);
4785
4781
  });
4786
- const ne = (d) => {
4787
- d && (r(12, X = d.currency), d.casino ? (r(6, S = d.casino), r(8, k = !(S.hasOwnProperty("minbet") && S.minbet != 0)), r(9, C = !(S.hasOwnProperty("maxbet") && S.maxbet != 0))) : (r(8, k = !0), r(9, C = !0)), d.sports ? (r(7, B = d.sports), r(10, L = !(B.hasOwnProperty("minbet") && B.minbet != 0)), r(11, N = !(B.hasOwnProperty("maxbet") && B.maxbet != 0))) : (r(10, L = !0), r(11, N = !0)));
4788
- }, Te = () => {
4789
- Mi(i);
4790
- }, q = (d) => {
4782
+ const re = (d) => {
4783
+ d && (r(12, X = d.currency), d.casino ? (r(6, H = d.casino), r(8, k = !(H.hasOwnProperty("minbet") && H.minbet != 0)), r(9, C = !(H.hasOwnProperty("maxbet") && H.maxbet != 0))) : (r(8, k = !0), r(9, C = !0)), d.sports ? (r(7, w = d.sports), r(10, L = !(w.hasOwnProperty("minbet") && w.minbet != 0)), r(11, N = !(w.hasOwnProperty("maxbet") && w.maxbet != 0))) : (r(10, L = !0), r(11, N = !0)));
4784
+ }, xe = () => {
4785
+ Ci(i);
4786
+ }, K = (d) => {
4791
4787
  d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, h = d.data.productInfo);
4792
4788
  };
4793
- Br(() => (window.addEventListener("message", q, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
4794
- window.removeEventListener("message", q);
4789
+ wr(() => (window.addEventListener("message", K, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
4790
+ window.removeEventListener("message", K);
4795
4791
  }));
4796
- function oe(d) {
4797
- We[d ? "unshift" : "push"](() => {
4798
- x = d, r(5, x);
4792
+ function ie(d) {
4793
+ ze[d ? "unshift" : "push"](() => {
4794
+ T = d, r(5, T);
4799
4795
  });
4800
4796
  }
4801
4797
  return e.$$set = (d) => {
4802
- "lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0, o = d.scorecriterial), "betcount" in d && r(1, a = d.betcount), "starttime" in d && r(2, s = d.starttime), "endtime" in d && r(3, l = d.endtime), "tcurl" in d && r(4, u = d.tcurl), "products" in d && r(15, h = d.products), "clientstyling" in d && r(17, c = d.clientstyling), "clientstylingurl" in d && r(18, f = d.clientstylingurl), "translationurl" in d && r(19, g = d.translationurl), "mbsource" in d && r(20, v = d.mbsource);
4798
+ "lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0, o = d.scorecriterial), "betcount" in d && r(1, a = d.betcount), "starttime" in d && r(2, s = d.starttime), "endtime" in d && r(3, l = d.endtime), "tcurl" in d && r(4, u = d.tcurl), "products" in d && r(15, h = d.products), "clientstyling" in d && r(17, c = d.clientstyling), "clientstylingurl" in d && r(18, f = d.clientstylingurl), "translationurl" in d && r(19, g = d.translationurl), "mbsource" in d && r(20, _ = d.mbsource);
4803
4799
  }, e.$$.update = () => {
4804
4800
  e.$$.dirty & /*lang*/
4805
- 65536 && i && Te(), e.$$.dirty & /*products*/
4806
- 32768 && h && ne(h), e.$$.dirty & /*clientstyling, customStylingContainer*/
4807
- 131104 && c && x && Ri(x, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4808
- 262176 && f && x && ki(x, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4809
- 1048608 && v && x && Ni(x, `${v}.Style`), e.$$.dirty & /*translationurl*/
4810
- 524288 && g && K();
4801
+ 65536 && i && xe(), e.$$.dirty & /*products*/
4802
+ 32768 && h && re(h), e.$$.dirty & /*clientstyling, customStylingContainer*/
4803
+ 131104 && c && T && Mi(T, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4804
+ 262176 && f && T && Ri(T, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4805
+ 1048608 && _ && T && ki(T, `${_}.Style`), e.$$.dirty & /*translationurl*/
4806
+ 524288 && g && Y();
4811
4807
  }, [
4812
4808
  o,
4813
4809
  a,
4814
4810
  s,
4815
4811
  l,
4816
4812
  u,
4817
- x,
4818
- S,
4819
- B,
4813
+ T,
4814
+ H,
4815
+ w,
4820
4816
  k,
4821
4817
  C,
4822
4818
  L,
4823
4819
  N,
4824
4820
  X,
4825
4821
  n,
4826
- re,
4822
+ te,
4827
4823
  h,
4828
4824
  i,
4829
4825
  c,
4830
4826
  f,
4831
4827
  g,
4832
- v,
4833
- oe
4828
+ _,
4829
+ ie
4834
4830
  ];
4835
4831
  }
4836
- class Zi extends Ir {
4832
+ class Wi extends Ir {
4837
4833
  constructor(t) {
4838
4834
  super(), Pr(
4839
4835
  this,
4840
4836
  t,
4841
- Wi,
4842
4837
  Xi,
4838
+ zi,
4843
4839
  It,
4844
4840
  {
4845
4841
  lang: 16,
@@ -4854,7 +4850,7 @@ class Zi extends Ir {
4854
4850
  translationurl: 19,
4855
4851
  mbsource: 20
4856
4852
  },
4857
- Ii
4853
+ Oi
4858
4854
  );
4859
4855
  }
4860
4856
  get lang() {
@@ -4924,7 +4920,7 @@ class Zi extends Ir {
4924
4920
  this.$$set({ mbsource: t }), j();
4925
4921
  }
4926
4922
  }
4927
- Or(Zi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4923
+ Or(Wi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4928
4924
  export {
4929
- Zi as default
4925
+ Wi as default
4930
4926
  };