@everymatrix/casino-tournaments-thumbnail-duration 1.76.0 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var zt = Object.defineProperty, Wt = Object.defineProperties;
2
- var Zt = Object.getOwnPropertyDescriptors;
3
- var We = Object.getOwnPropertySymbols;
4
- var Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? zt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
1
+ var Xt = Object.defineProperty, zt = Object.defineProperties;
2
+ var Wt = Object.getOwnPropertyDescriptors;
3
+ var ze = Object.getOwnPropertySymbols;
4
+ var Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? Xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Qt.call(t, r) && Be(e, r, t[r]);
8
- if (We)
9
- for (var r of We(t))
10
- Jt.call(t, r) && Be(e, r, t[r]);
7
+ Zt.call(t, r) && He(e, r, t[r]);
8
+ if (ze)
9
+ for (var r of ze(t))
10
+ Qt.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, Qe = (e, t) => Wt(e, Zt(t));
13
- var C = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Je = (e, t, r) => new Promise((n, i) => {
12
+ }, Ze = (e, t) => zt(e, Wt(t));
13
+ var C = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Qe = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var Je = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function I() {
31
31
  }
32
- function gt(e) {
32
+ function pt(e) {
33
33
  return e();
34
34
  }
35
- function qe() {
35
+ function Je() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ue(e) {
39
- e.forEach(gt);
38
+ function ae(e) {
39
+ e.forEach(pt);
40
40
  }
41
- function Ee(e) {
41
+ function be(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function bt(e, t) {
44
+ function gt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function qt(e) {
47
+ function Jt(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function yt(e, ...t) {
50
+ function bt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,23 +56,23 @@ function yt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Yt(e, t, r) {
60
- e.$$.on_destroy.push(yt(t, r));
59
+ function qt(e, t, r) {
60
+ e.$$.on_destroy.push(bt(t, r));
61
61
  }
62
- function Kt(e) {
63
- return e && Ee(e.destroy) ? e.destroy : I;
62
+ function Yt(e) {
63
+ return e && be(e.destroy) ? e.destroy : I;
64
64
  }
65
- function O(e, t) {
65
+ function N(e, t) {
66
66
  e.appendChild(t);
67
67
  }
68
- function er(e, t, r) {
69
- const n = tr(e);
68
+ function Kt(e, t, r) {
69
+ const n = er(e);
70
70
  if (!n.getElementById(t)) {
71
- const i = N("style");
72
- i.id = t, i.textContent = r, rr(n, i);
71
+ const i = w("style");
72
+ i.id = t, i.textContent = r, tr(n, i);
73
73
  }
74
74
  }
75
- function tr(e) {
75
+ function er(e) {
76
76
  if (!e)
77
77
  return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -82,8 +82,8 @@ function tr(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function rr(e, t) {
86
- return O(
85
+ function tr(e, t) {
86
+ return N(
87
87
  /** @type {Document} */
88
88
  e.head || e,
89
89
  t
@@ -95,29 +95,29 @@ function $(e, t, r) {
95
95
  function M(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function N(e) {
98
+ function w(e) {
99
99
  return document.createElement(e);
100
100
  }
101
- function j(e) {
101
+ function G(e) {
102
102
  return document.createTextNode(e);
103
103
  }
104
- function ne() {
105
- return j(" ");
104
+ function re() {
105
+ return G(" ");
106
106
  }
107
- function _(e, t, r) {
107
+ function x(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
- function nr(e) {
110
+ function rr(e) {
111
111
  return Array.from(e.childNodes);
112
112
  }
113
- function V(e, t) {
113
+ function k(e, t) {
114
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
115
115
  t);
116
116
  }
117
- function Ye(e, t, r, n) {
117
+ function qe(e, t, r, n) {
118
118
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
119
119
  }
120
- function ir(e) {
120
+ function nr(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -126,87 +126,87 @@ function ir(e) {
126
126
  }
127
127
  ), t;
128
128
  }
129
- let se;
130
- function ie(e) {
131
- se = e;
129
+ let ie;
130
+ function ne(e) {
131
+ ie = e;
132
132
  }
133
- function sr() {
134
- if (!se)
133
+ function ir() {
134
+ if (!ie)
135
135
  throw new Error("Function called outside component initialization");
136
- return se;
136
+ return ie;
137
137
  }
138
- function or(e) {
139
- sr().$$.on_mount.push(e);
138
+ function sr(e) {
139
+ ir().$$.on_mount.push(e);
140
140
  }
141
- const Z = [], Le = [];
142
- let Q = [];
143
- const Ke = [], ar = /* @__PURE__ */ Promise.resolve();
144
- let Ce = !1;
145
- function ur() {
146
- Ce || (Ce = !0, ar.then(D));
141
+ const W = [], we = [];
142
+ let Z = [];
143
+ const Ye = [], or = /* @__PURE__ */ Promise.resolve();
144
+ let Ie = !1;
145
+ function ar() {
146
+ Ie || (Ie = !0, or.then(D));
147
147
  }
148
- function Me(e) {
149
- Q.push(e);
148
+ function Le(e) {
149
+ Z.push(e);
150
150
  }
151
- const Se = /* @__PURE__ */ new Set();
152
- let z = 0;
151
+ const Te = /* @__PURE__ */ new Set();
152
+ let X = 0;
153
153
  function D() {
154
- if (z !== 0)
154
+ if (X !== 0)
155
155
  return;
156
- const e = se;
156
+ const e = ie;
157
157
  do {
158
158
  try {
159
- for (; z < Z.length; ) {
160
- const t = Z[z];
161
- z++, ie(t), hr(t.$$);
159
+ for (; X < W.length; ) {
160
+ const t = W[X];
161
+ X++, ne(t), ur(t.$$);
162
162
  }
163
163
  } catch (t) {
164
- throw Z.length = 0, z = 0, t;
164
+ throw W.length = 0, X = 0, t;
165
165
  }
166
- for (ie(null), Z.length = 0, z = 0; Le.length; )
167
- Le.pop()();
168
- for (let t = 0; t < Q.length; t += 1) {
169
- const r = Q[t];
170
- Se.has(r) || (Se.add(r), r());
166
+ for (ne(null), W.length = 0, X = 0; we.length; )
167
+ we.pop()();
168
+ for (let t = 0; t < Z.length; t += 1) {
169
+ const r = Z[t];
170
+ Te.has(r) || (Te.add(r), r());
171
171
  }
172
- Q.length = 0;
173
- } while (Z.length);
174
- for (; Ke.length; )
175
- Ke.pop()();
176
- Ce = !1, Se.clear(), ie(e);
172
+ Z.length = 0;
173
+ } while (W.length);
174
+ for (; Ye.length; )
175
+ Ye.pop()();
176
+ Ie = !1, Te.clear(), ne(e);
177
177
  }
178
- function hr(e) {
178
+ function ur(e) {
179
179
  if (e.fragment !== null) {
180
- e.update(), ue(e.before_update);
180
+ e.update(), ae(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
183
183
  }
184
184
  }
185
- function lr(e) {
185
+ function hr(e) {
186
186
  const t = [], r = [];
187
- Q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Q = t;
187
+ Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
188
188
  }
189
- const fr = /* @__PURE__ */ new Set();
190
- function cr(e, t) {
191
- e && e.i && (fr.delete(e), e.i(t));
189
+ const lr = /* @__PURE__ */ new Set();
190
+ function fr(e, t) {
191
+ e && e.i && (lr.delete(e), e.i(t));
192
192
  }
193
- function mr(e, t, r) {
193
+ function cr(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
- n && n.m(t, r), Me(() => {
196
- const s = e.$$.on_mount.map(gt).filter(Ee);
197
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
198
- }), i.forEach(Me);
195
+ n && n.m(t, r), Le(() => {
196
+ const s = e.$$.on_mount.map(pt).filter(be);
197
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ae(s), e.$$.on_mount = [];
198
+ }), i.forEach(Le);
199
199
  }
200
- function dr(e, t) {
200
+ function mr(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (lr(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (hr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function pr(e, t) {
205
- e.$$.dirty[0] === -1 && (Z.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function dr(e, t) {
205
+ e.$$.dirty[0] === -1 && (W.push(e), ar(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function gr(e, t, r, n, i, s, o = null, a = [-1]) {
208
- const h = se;
209
- ie(e);
207
+ function pr(e, t, r, n, i, s, o = null, a = [-1]) {
208
+ const h = ie;
209
+ ne(e);
210
210
  const u = e.$$ = {
211
211
  fragment: null,
212
212
  ctx: [],
@@ -214,7 +214,7 @@ function gr(e, t, r, n, i, s, o = null, a = [-1]) {
214
214
  props: s,
215
215
  update: I,
216
216
  not_equal: i,
217
- bound: qe(),
217
+ bound: Je(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,28 +223,28 @@ function gr(e, t, r, n, i, s, o = null, a = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: qe(),
226
+ callbacks: Je(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || h.$$.root
230
230
  };
231
231
  o && o(u.root);
232
232
  let l = !1;
233
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
233
+ if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
234
234
  const y = d.length ? d[0] : c;
235
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && pr(e, f)), c;
236
- }) : [], u.update(), l = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
235
+ return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && dr(e, f)), c;
236
+ }), u.update(), l = !0, ae(u.before_update), u.fragment = n(u.ctx), t.target) {
237
237
  if (t.hydrate) {
238
- const f = nr(t.target);
238
+ const f = rr(t.target);
239
239
  u.fragment && u.fragment.l(f), f.forEach(M);
240
240
  } else
241
241
  u.fragment && u.fragment.c();
242
- t.intro && cr(e.$$.fragment), mr(e, t.target, t.anchor), D();
242
+ t.intro && fr(e.$$.fragment), cr(e, t.target, t.anchor), D();
243
243
  }
244
- ie(h);
244
+ ne(h);
245
245
  }
246
- let Et;
247
- typeof HTMLElement == "function" && (Et = class extends HTMLElement {
246
+ let yt;
247
+ typeof HTMLElement == "function" && (yt = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -281,14 +281,14 @@ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return Je(this, null, function* () {
284
+ return Qe(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(s) {
287
287
  return () => {
288
288
  let o;
289
289
  return {
290
290
  c: function() {
291
- o = N("slot"), s !== "default" && _(o, "name", s);
291
+ o = w("slot"), s !== "default" && x(o, "name", s);
292
292
  },
293
293
  /**
294
294
  * @param {HTMLElement} target
@@ -305,18 +305,18 @@ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = ir(this);
308
+ const r = {}, n = nr(this);
309
309
  for (const s of this.$$s)
310
310
  s in n && (r[s] = [t(s)]);
311
311
  for (const s of this.attributes) {
312
312
  const o = this.$$g_p(s.name);
313
- o in this.$$d || (this.$$d[o] = me(o, s.value, this.$$p_d, "toProp"));
313
+ o in this.$$d || (this.$$d[o] = ce(o, s.value, this.$$p_d, "toProp"));
314
314
  }
315
315
  for (const s in this.$$p_d)
316
316
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: Qe(Ze({}, this.$$d), {
319
+ props: Ze(We({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
327
327
  this.$$r = !0;
328
328
  for (const s in this.$$p_d)
329
329
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
330
- const o = me(
330
+ const o = ce(
331
331
  s,
332
332
  this.$$d[s],
333
333
  this.$$p_d,
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
351
351
  // and setting attributes through setAttribute etc, this is helpful
352
352
  attributeChangedCallback(t, r, n) {
353
353
  var i;
354
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
354
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
355
355
  }
356
356
  disconnectedCallback() {
357
357
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
364
364
  ) || t;
365
365
  }
366
366
  });
367
- function me(e, t, r, n) {
367
+ function ce(e, t, r, n) {
368
368
  var s;
369
369
  const i = (s = r[e]) == null ? void 0 : s.type;
370
370
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -394,8 +394,8 @@ function me(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function br(e, t, r, n, i, s) {
398
- let o = class extends Et {
397
+ function gr(e, t, r, n, i, s) {
398
+ let o = class extends yt {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -412,7 +412,7 @@ function br(e, t, r, n, i, s) {
412
412
  },
413
413
  set(h) {
414
414
  var u;
415
- h = me(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
415
+ h = ce(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
416
416
  }
417
417
  });
418
418
  }), n.forEach((a) => {
@@ -425,7 +425,7 @@ function br(e, t, r, n, i, s) {
425
425
  }), e.element = /** @type {any} */
426
426
  o, o;
427
427
  }
428
- class yr {
428
+ class br {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class yr {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- dr(this, 1), this.$destroy = I;
449
+ mr(this, 1), this.$destroy = I;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +455,7 @@ class yr {
455
455
  * @returns {() => void}
456
456
  */
457
457
  $on(t, r) {
458
- if (!Ee(r))
458
+ if (!be(r))
459
459
  return I;
460
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
461
461
  return n.push(r), () => {
@@ -468,29 +468,29 @@ class yr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !Jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const Er = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
476
- const W = [];
477
- function _r(e, t) {
474
+ const yr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yr);
476
+ const z = [];
477
+ function Er(e, t) {
478
478
  return {
479
- subscribe: _e(e, t).subscribe
479
+ subscribe: ye(e, t).subscribe
480
480
  };
481
481
  }
482
- function _e(e, t = I) {
482
+ function ye(e, t = I) {
483
483
  let r;
484
484
  const n = /* @__PURE__ */ new Set();
485
485
  function i(a) {
486
- if (bt(e, a) && (e = a, r)) {
487
- const h = !W.length;
486
+ if (gt(e, a) && (e = a, r)) {
487
+ const h = !z.length;
488
488
  for (const u of n)
489
- u[1](), W.push(u, e);
489
+ u[1](), z.push(u, e);
490
490
  if (h) {
491
- for (let u = 0; u < W.length; u += 2)
492
- W[u][0](W[u + 1]);
493
- W.length = 0;
491
+ for (let u = 0; u < z.length; u += 2)
492
+ z[u][0](z[u + 1]);
493
+ z.length = 0;
494
494
  }
495
495
  }
496
496
  }
@@ -505,12 +505,12 @@ function _e(e, t = I) {
505
505
  }
506
506
  return { set: i, update: s, subscribe: o };
507
507
  }
508
- function ee(e, t, r) {
508
+ function K(e, t, r) {
509
509
  const n = !Array.isArray(e), i = n ? [e] : e;
510
510
  if (!i.every(Boolean))
511
511
  throw new Error("derived() expects stores as input, got a falsy value");
512
512
  const s = t.length < 2;
513
- return _r(r, (o, a) => {
513
+ return Er(r, (o, a) => {
514
514
  let h = !1;
515
515
  const u = [];
516
516
  let l = 0, f = I;
@@ -519,9 +519,9 @@ function ee(e, t, r) {
519
519
  return;
520
520
  f();
521
521
  const y = t(n ? u[0] : u, o, a);
522
- s ? o(y) : f = Ee(y) ? y : I;
522
+ s ? o(y) : f = be(y) ? y : I;
523
523
  }, d = i.map(
524
- (y, T) => yt(
524
+ (y, T) => bt(
525
525
  y,
526
526
  (A) => {
527
527
  u[T] = A, l &= ~(1 << T), h && c();
@@ -532,112 +532,126 @@ function ee(e, t, r) {
532
532
  )
533
533
  );
534
534
  return h = !0, c(), function() {
535
- ue(d), f(), h = !1;
535
+ ae(d), f(), h = !1;
536
536
  };
537
537
  });
538
538
  }
539
- function xr(e) {
540
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
539
+ function _r(e) {
540
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var vr = function(t) {
543
- return Hr(t) && !Tr(t);
542
+ var xr = function(t) {
543
+ return vr(t) && !Hr(t);
544
544
  };
545
- function Hr(e) {
545
+ function vr(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function Tr(e) {
548
+ function Hr(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
550
+ return t === "[object RegExp]" || t === "[object Date]" || Sr(e);
551
551
  }
552
- var Br = typeof Symbol == "function" && Symbol.for, Sr = Br ? Symbol.for("react.element") : 60103;
553
- function Ar(e) {
554
- return e.$$typeof === Sr;
552
+ var Tr = typeof Symbol == "function" && Symbol.for, Br = Tr ? Symbol.for("react.element") : 60103;
553
+ function Sr(e) {
554
+ return e.$$typeof === Br;
555
555
  }
556
- function Pr(e) {
556
+ function Ar(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
- function oe(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? J(Pr(e), e, t) : e;
559
+ function se(e, t) {
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? Q(Ar(e), e, t) : e;
561
561
  }
562
- function Or(e, t, r) {
562
+ function Pr(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
- return oe(n, r);
564
+ return se(n, r);
565
565
  });
566
566
  }
567
- function wr(e, t) {
567
+ function Nr(e, t) {
568
568
  if (!t.customMerge)
569
- return J;
569
+ return Q;
570
570
  var r = t.customMerge(e);
571
- return typeof r == "function" ? r : J;
571
+ return typeof r == "function" ? r : Q;
572
572
  }
573
- function Nr(e) {
573
+ function Or(e) {
574
574
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
575
575
  return Object.propertyIsEnumerable.call(e, t);
576
576
  }) : [];
577
577
  }
578
- function et(e) {
579
- return Object.keys(e).concat(Nr(e));
578
+ function Ke(e) {
579
+ return Object.keys(e).concat(Or(e));
580
580
  }
581
- function _t(e, t) {
581
+ function Et(e, t) {
582
582
  try {
583
583
  return t in e;
584
584
  } catch (r) {
585
585
  return !1;
586
586
  }
587
587
  }
588
- function Ir(e, t) {
589
- return _t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ function wr(e, t) {
589
+ return Et(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
- function Lr(e, t, r) {
591
+ function Ir(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && et(e).forEach(function(i) {
594
- n[i] = oe(e[i], r);
595
- }), et(t).forEach(function(i) {
596
- Ir(e, i) || (_t(e, i) && r.isMergeableObject(t[i]) ? n[i] = wr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
593
+ return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
594
+ n[i] = se(e[i], r);
595
+ }), Ke(t).forEach(function(i) {
596
+ wr(e, i) || (Et(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
597
597
  }), n;
598
598
  }
599
- function J(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || vr, r.cloneUnlessOtherwiseSpecified = oe;
599
+ function Q(e, t, r) {
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || xr, r.cloneUnlessOtherwiseSpecified = se;
601
601
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
602
- return s ? n ? r.arrayMerge(e, t, r) : Lr(e, t, r) : oe(t, r);
602
+ return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : se(t, r);
603
603
  }
604
- J.all = function(t, r) {
604
+ Q.all = function(t, r) {
605
605
  if (!Array.isArray(t))
606
606
  throw new Error("first argument should be an array");
607
607
  return t.reduce(function(n, i) {
608
- return J(n, i, r);
608
+ return Q(n, i, r);
609
609
  }, {});
610
610
  };
611
- var Cr = J, Mr = Cr;
612
- const $r = /* @__PURE__ */ xr(Mr);
613
- var $e = function(e, t) {
614
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
611
+ var Lr = Q, Cr = Lr;
612
+ const Mr = /* @__PURE__ */ _r(Cr);
613
+ /*! *****************************************************************************
614
+ Copyright (c) Microsoft Corporation.
615
+
616
+ Permission to use, copy, modify, and/or distribute this software for any
617
+ purpose with or without fee is hereby granted.
618
+
619
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
620
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
621
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
622
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
623
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
624
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
625
+ PERFORMANCE OF THIS SOFTWARE.
626
+ ***************************************************************************** */
627
+ var Ce = function(e, t) {
628
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
615
629
  r.__proto__ = n;
616
630
  } || function(r, n) {
617
631
  for (var i in n)
618
632
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
619
- }, $e(e, t);
633
+ }, Ce(e, t);
620
634
  };
621
- function xe(e, t) {
635
+ function Ee(e, t) {
622
636
  if (typeof t != "function" && t !== null)
623
637
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
624
- $e(e, t);
638
+ Ce(e, t);
625
639
  function r() {
626
640
  this.constructor = e;
627
641
  }
628
642
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
629
643
  }
630
- var U = function() {
631
- return U = Object.assign || function(t) {
644
+ var E = function() {
645
+ return E = Object.assign || function(t) {
632
646
  for (var r, n = 1, i = arguments.length; n < i; n++) {
633
647
  r = arguments[n];
634
648
  for (var s in r)
635
649
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
636
650
  }
637
651
  return t;
638
- }, U.apply(this, arguments);
652
+ }, E.apply(this, arguments);
639
653
  };
640
- function Rr(e, t) {
654
+ function $r(e, t) {
641
655
  var r = {};
642
656
  for (var n in e)
643
657
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -646,43 +660,46 @@ function Rr(e, t) {
646
660
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
647
661
  return r;
648
662
  }
649
- function Ae(e, t, r) {
650
- if (r || arguments.length === 2)
663
+ function Be(e, t, r) {
664
+ if (arguments.length === 2)
651
665
  for (var n = 0, i = t.length, s; n < i; n++)
652
666
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
653
- return e.concat(s || Array.prototype.slice.call(t));
667
+ return e.concat(s || t);
654
668
  }
655
- function Pe(e, t) {
656
- var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : jr, i = t && t.strategy ? t.strategy : Fr;
669
+ function Se(e, t) {
670
+ var r = t && t.cache ? t.cache : kr, n = t && t.serializer ? t.serializer : Gr, i = t && t.strategy ? t.strategy : Dr;
657
671
  return i(e, {
658
672
  cache: r,
659
673
  serializer: n
660
674
  });
661
675
  }
662
- function Dr(e) {
676
+ function Rr(e) {
663
677
  return e == null || typeof e == "number" || typeof e == "boolean";
664
678
  }
665
- function Ur(e, t, r, n) {
666
- var i = Dr(n) ? n : r(n), s = t.get(i);
679
+ function _t(e, t, r, n) {
680
+ var i = Rr(n) ? n : r(n), s = t.get(i);
667
681
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
668
682
  }
669
683
  function xt(e, t, r) {
670
684
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
671
685
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
672
686
  }
673
- function vt(e, t, r, n, i) {
687
+ function ke(e, t, r, n, i) {
674
688
  return r.bind(t, e, n, i);
675
689
  }
676
- function Fr(e, t) {
677
- var r = e.length === 1 ? Ur : xt;
678
- return vt(e, this, r, t.cache.create(), t.serializer);
690
+ function Dr(e, t) {
691
+ var r = e.length === 1 ? _t : xt;
692
+ return ke(e, this, r, t.cache.create(), t.serializer);
679
693
  }
680
- function Gr(e, t) {
681
- return vt(e, this, xt, t.cache.create(), t.serializer);
694
+ function Ur(e, t) {
695
+ return ke(e, this, xt, t.cache.create(), t.serializer);
696
+ }
697
+ function Fr(e, t) {
698
+ return ke(e, this, _t, t.cache.create(), t.serializer);
682
699
  }
683
- var jr = function() {
700
+ var Gr = function() {
684
701
  return JSON.stringify(arguments);
685
- }, kr = (
702
+ }, jr = (
686
703
  /** @class */
687
704
  function() {
688
705
  function e() {
@@ -694,71 +711,62 @@ var jr = function() {
694
711
  this.cache[t] = r;
695
712
  }, e;
696
713
  }()
697
- ), Vr = {
714
+ ), kr = {
698
715
  create: function() {
699
- return new kr();
716
+ return new jr();
700
717
  }
701
- }, Oe = {
702
- variadic: Gr
703
- }, ge = function() {
704
- return ge = Object.assign || function(t) {
705
- for (var r, n = 1, i = arguments.length; n < i; n++) {
706
- r = arguments[n];
707
- for (var s in r)
708
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
709
- }
710
- return t;
711
- }, ge.apply(this, arguments);
712
- };
713
- var g;
718
+ }, Ae = {
719
+ variadic: Ur,
720
+ monadic: Fr
721
+ }, g;
714
722
  (function(e) {
715
723
  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";
716
724
  })(g || (g = {}));
717
- var x;
725
+ var v;
718
726
  (function(e) {
719
727
  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";
720
- })(x || (x = {}));
721
- var q;
728
+ })(v || (v = {}));
729
+ var J;
722
730
  (function(e) {
723
731
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
724
- })(q || (q = {}));
725
- function tt(e) {
726
- return e.type === x.literal;
732
+ })(J || (J = {}));
733
+ function et(e) {
734
+ return e.type === v.literal;
727
735
  }
728
- function Xr(e) {
729
- return e.type === x.argument;
736
+ function Vr(e) {
737
+ return e.type === v.argument;
738
+ }
739
+ function vt(e) {
740
+ return e.type === v.number;
730
741
  }
731
742
  function Ht(e) {
732
- return e.type === x.number;
743
+ return e.type === v.date;
733
744
  }
734
745
  function Tt(e) {
735
- return e.type === x.date;
746
+ return e.type === v.time;
736
747
  }
737
748
  function Bt(e) {
738
- return e.type === x.time;
749
+ return e.type === v.select;
739
750
  }
740
751
  function St(e) {
741
- return e.type === x.select;
752
+ return e.type === v.plural;
742
753
  }
743
- function At(e) {
744
- return e.type === x.plural;
754
+ function Xr(e) {
755
+ return e.type === v.pound;
745
756
  }
746
- function zr(e) {
747
- return e.type === x.pound;
757
+ function At(e) {
758
+ return e.type === v.tag;
748
759
  }
749
760
  function Pt(e) {
750
- return e.type === x.tag;
751
- }
752
- function Ot(e) {
753
- return !!(e && typeof e == "object" && e.type === q.number);
761
+ return !!(e && typeof e == "object" && e.type === J.number);
754
762
  }
755
- function Re(e) {
756
- return !!(e && typeof e == "object" && e.type === q.dateTime);
763
+ function Me(e) {
764
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
757
765
  }
758
- var wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wr = /(?:[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;
759
- function Zr(e) {
766
+ var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zr = /(?:[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;
767
+ function Wr(e) {
760
768
  var t = {};
761
- return e.replace(Wr, function(r) {
769
+ return e.replace(zr, function(r) {
762
770
  var n = r.length;
763
771
  switch (r[0]) {
764
772
  case "G":
@@ -847,21 +855,11 @@ function Zr(e) {
847
855
  return "";
848
856
  }), t;
849
857
  }
850
- var v = function() {
851
- return v = Object.assign || function(t) {
852
- for (var r, n = 1, i = arguments.length; n < i; n++) {
853
- r = arguments[n];
854
- for (var s in r)
855
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
856
- }
857
- return t;
858
- }, v.apply(this, arguments);
859
- };
860
- var Qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
861
- function Jr(e) {
858
+ var Zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
859
+ function Qr(e) {
862
860
  if (e.length === 0)
863
861
  throw new Error("Number skeleton cannot be empty");
864
- for (var t = e.split(Qr).filter(function(c) {
862
+ for (var t = e.split(Zr).filter(function(c) {
865
863
  return c.length > 0;
866
864
  }), r = [], n = 0, i = t; n < i.length; n++) {
867
865
  var s = i[n], o = s.split("/");
@@ -876,17 +874,17 @@ function Jr(e) {
876
874
  }
877
875
  return r;
878
876
  }
879
- function qr(e) {
877
+ function Jr(e) {
880
878
  return e.replace(/^(.*?)-/, "");
881
879
  }
882
- var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, It = /^(0+)$/;
883
- function nt(e) {
880
+ var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ot = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, wt = /^(0+)$/;
881
+ function rt(e) {
884
882
  var t = {};
885
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
883
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ot, function(r, n, i) {
886
884
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
887
885
  }), t;
888
886
  }
889
- function Lt(e) {
887
+ function It(e) {
890
888
  switch (e) {
891
889
  case "sign-auto":
892
890
  return {
@@ -926,7 +924,7 @@ function Lt(e) {
926
924
  };
927
925
  }
928
926
  }
929
- function Kr(e) {
927
+ function Yr(e) {
930
928
  var t;
931
929
  if (e[0] === "E" && e[1] === "E" ? (t = {
932
930
  notation: "engineering"
@@ -934,17 +932,17 @@ function Kr(e) {
934
932
  notation: "scientific"
935
933
  }, e = e.slice(1)), t) {
936
934
  var r = e.slice(0, 2);
937
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !It.test(e))
935
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wt.test(e))
938
936
  throw new Error("Malformed concise eng/scientific notation");
939
937
  t.minimumIntegerDigits = e.length;
940
938
  }
941
939
  return t;
942
940
  }
943
- function it(e) {
944
- var t = {}, r = Lt(e);
941
+ function nt(e) {
942
+ var t = {}, r = It(e);
945
943
  return r || t;
946
944
  }
947
- function en(e) {
945
+ function Kr(e) {
948
946
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
949
947
  var i = n[r];
950
948
  switch (i.stem) {
@@ -968,7 +966,7 @@ function en(e) {
968
966
  continue;
969
967
  case "measure-unit":
970
968
  case "unit":
971
- t.style = "unit", t.unit = qr(i.options[0]);
969
+ t.style = "unit", t.unit = Jr(i.options[0]);
972
970
  continue;
973
971
  case "compact-short":
974
972
  case "K":
@@ -979,13 +977,13 @@ function en(e) {
979
977
  t.notation = "compact", t.compactDisplay = "long";
980
978
  continue;
981
979
  case "scientific":
982
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
983
- return v(v({}, h), it(u));
980
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
981
+ return E(E({}, h), nt(u));
984
982
  }, {}));
985
983
  continue;
986
984
  case "engineering":
987
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
988
- return v(v({}, h), it(u));
985
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
986
+ return E(E({}, h), nt(u));
989
987
  }, {}));
990
988
  continue;
991
989
  case "notation-simple":
@@ -1030,7 +1028,7 @@ function en(e) {
1030
1028
  case "integer-width":
1031
1029
  if (i.options.length > 1)
1032
1030
  throw new RangeError("integer-width stems only accept a single optional option");
1033
- i.options[0].replace(Yr, function(h, u, l, f, c, d) {
1031
+ i.options[0].replace(qr, function(h, u, l, f, c, d) {
1034
1032
  if (u)
1035
1033
  t.minimumIntegerDigits = l.length;
1036
1034
  else {
@@ -1043,32 +1041,32 @@ function en(e) {
1043
1041
  });
1044
1042
  continue;
1045
1043
  }
1046
- if (It.test(i.stem)) {
1044
+ if (wt.test(i.stem)) {
1047
1045
  t.minimumIntegerDigits = i.stem.length;
1048
1046
  continue;
1049
1047
  }
1050
- if (rt.test(i.stem)) {
1048
+ if (tt.test(i.stem)) {
1051
1049
  if (i.options.length > 1)
1052
1050
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1053
- i.stem.replace(rt, function(h, u, l, f, c, d) {
1051
+ i.stem.replace(tt, function(h, u, l, f, c, d) {
1054
1052
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1055
1053
  });
1056
1054
  var s = i.options[0];
1057
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), nt(s)));
1055
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), rt(s)));
1058
1056
  continue;
1059
1057
  }
1060
- if (Nt.test(i.stem)) {
1061
- t = v(v({}, t), nt(i.stem));
1058
+ if (Ot.test(i.stem)) {
1059
+ t = E(E({}, t), rt(i.stem));
1062
1060
  continue;
1063
1061
  }
1064
- var o = Lt(i.stem);
1065
- o && (t = v(v({}, t), o));
1066
- var a = Kr(i.stem);
1067
- a && (t = v(v({}, t), a));
1062
+ var o = It(i.stem);
1063
+ o && (t = E(E({}, t), o));
1064
+ var a = Yr(i.stem);
1065
+ a && (t = E(E({}, t), a));
1068
1066
  }
1069
1067
  return t;
1070
1068
  }
1071
- var ce = {
1069
+ var fe = {
1072
1070
  "001": [
1073
1071
  "H",
1074
1072
  "h"
@@ -2483,13 +2481,13 @@ var ce = {
2483
2481
  "h"
2484
2482
  ]
2485
2483
  };
2486
- function tn(e, t) {
2484
+ function en(e, t) {
2487
2485
  for (var r = "", n = 0; n < e.length; n++) {
2488
2486
  var i = e.charAt(n);
2489
2487
  if (i === "j") {
2490
2488
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2491
2489
  s++, n++;
2492
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = rn(t);
2490
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = tn(t);
2493
2491
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2494
2492
  r += h;
2495
2493
  for (; o-- > 0; )
@@ -2499,7 +2497,7 @@ function tn(e, t) {
2499
2497
  }
2500
2498
  return r;
2501
2499
  }
2502
- function rn(e) {
2500
+ function tn(e) {
2503
2501
  var t = e.hourCycle;
2504
2502
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2505
2503
  e.hourCycles && // @ts-ignore
@@ -2518,23 +2516,23 @@ function rn(e) {
2518
2516
  }
2519
2517
  var r = e.language, n;
2520
2518
  r !== "root" && (n = e.maximize().region);
2521
- var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2519
+ var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
2522
2520
  return i[0];
2523
2521
  }
2524
- var we, nn = new RegExp("^".concat(wt.source, "*")), sn = new RegExp("".concat(wt.source, "*$"));
2522
+ var Pe, rn = new RegExp("^".concat(Nt.source, "*")), nn = new RegExp("".concat(Nt.source, "*$"));
2525
2523
  function b(e, t) {
2526
2524
  return { start: e, end: t };
2527
2525
  }
2528
- var on = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, un = !!Object.fromEntries, hn = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, mn = cn ? Number.isSafeInteger : function(e) {
2526
+ var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, an = !!Object.fromEntries, un = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, cn = fn ? Number.isSafeInteger : function(e) {
2529
2527
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2530
- }, De = !0;
2528
+ }, $e = !0;
2531
2529
  try {
2532
- var dn = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2533
- De = ((we = dn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2530
+ var mn = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2531
+ $e = ((Pe = mn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2534
2532
  } catch (e) {
2535
- De = !1;
2533
+ $e = !1;
2536
2534
  }
2537
- var st = on ? (
2535
+ var it = sn ? (
2538
2536
  // Native
2539
2537
  function(t, r, n) {
2540
2538
  return t.startsWith(r, n);
@@ -2544,7 +2542,7 @@ var st = on ? (
2544
2542
  function(t, r, n) {
2545
2543
  return t.slice(n, n + r.length) === r;
2546
2544
  }
2547
- ), Ue = an ? String.fromCodePoint : (
2545
+ ), Re = on ? String.fromCodePoint : (
2548
2546
  // IE11
2549
2547
  function() {
2550
2548
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2556,9 +2554,9 @@ var st = on ? (
2556
2554
  }
2557
2555
  return n;
2558
2556
  }
2559
- ), ot = (
2557
+ ), st = (
2560
2558
  // native
2561
- un ? Object.fromEntries : (
2559
+ an ? Object.fromEntries : (
2562
2560
  // Ponyfill
2563
2561
  function(t) {
2564
2562
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2568,7 +2566,7 @@ var st = on ? (
2568
2566
  return r;
2569
2567
  }
2570
2568
  )
2571
- ), Ct = hn ? (
2569
+ ), Lt = un ? (
2572
2570
  // Native
2573
2571
  function(t, r) {
2574
2572
  return t.codePointAt(r);
@@ -2582,7 +2580,7 @@ var st = on ? (
2582
2580
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2583
2581
  }
2584
2582
  }
2585
- ), pn = ln ? (
2583
+ ), dn = hn ? (
2586
2584
  // Native
2587
2585
  function(t) {
2588
2586
  return t.trimStart();
@@ -2590,9 +2588,9 @@ var st = on ? (
2590
2588
  ) : (
2591
2589
  // Ponyfill
2592
2590
  function(t) {
2593
- return t.replace(nn, "");
2591
+ return t.replace(rn, "");
2594
2592
  }
2595
- ), gn = fn ? (
2593
+ ), pn = ln ? (
2596
2594
  // Native
2597
2595
  function(t) {
2598
2596
  return t.trimEnd();
@@ -2600,32 +2598,32 @@ var st = on ? (
2600
2598
  ) : (
2601
2599
  // Ponyfill
2602
2600
  function(t) {
2603
- return t.replace(sn, "");
2601
+ return t.replace(nn, "");
2604
2602
  }
2605
2603
  );
2606
- function Mt(e, t) {
2604
+ function Ct(e, t) {
2607
2605
  return new RegExp(e, t);
2608
2606
  }
2609
- var Fe;
2610
- if (De) {
2611
- var at = Mt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2612
- Fe = function(t, r) {
2607
+ var De;
2608
+ if ($e) {
2609
+ var ot = Ct("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2610
+ De = function(t, r) {
2613
2611
  var n;
2614
- at.lastIndex = r;
2615
- var i = at.exec(t);
2612
+ ot.lastIndex = r;
2613
+ var i = ot.exec(t);
2616
2614
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2617
2615
  };
2618
2616
  } else
2619
- Fe = function(t, r) {
2617
+ De = function(t, r) {
2620
2618
  for (var n = []; ; ) {
2621
- var i = Ct(t, r);
2622
- if (i === void 0 || $t(i) || _n(i))
2619
+ var i = Lt(t, r);
2620
+ if (i === void 0 || Mt(i) || En(i))
2623
2621
  break;
2624
2622
  n.push(i), r += i >= 65536 ? 2 : 1;
2625
2623
  }
2626
- return Ue.apply(void 0, n);
2624
+ return Re.apply(void 0, n);
2627
2625
  };
2628
- var bn = (
2626
+ var gn = (
2629
2627
  /** @class */
2630
2628
  function() {
2631
2629
  function e(t, r) {
@@ -2649,14 +2647,14 @@ var bn = (
2649
2647
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2650
2648
  var a = this.clonePosition();
2651
2649
  this.bump(), i.push({
2652
- type: x.pound,
2650
+ type: v.pound,
2653
2651
  location: b(a, this.clonePosition())
2654
2652
  });
2655
2653
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2656
2654
  if (n)
2657
2655
  break;
2658
2656
  return this.error(g.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2659
- } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2657
+ } else if (s === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
2660
2658
  var o = this.parseTag(t, r);
2661
2659
  if (o.err)
2662
2660
  return o;
@@ -2677,7 +2675,7 @@ var bn = (
2677
2675
  if (this.bumpSpace(), this.bumpIf("/>"))
2678
2676
  return {
2679
2677
  val: {
2680
- type: x.literal,
2678
+ type: v.literal,
2681
2679
  value: "<".concat(i, "/>"),
2682
2680
  location: b(n, this.clonePosition())
2683
2681
  },
@@ -2689,12 +2687,12 @@ var bn = (
2689
2687
  return s;
2690
2688
  var o = s.val, a = this.clonePosition();
2691
2689
  if (this.bumpIf("</")) {
2692
- if (this.isEOF() || !Ge(this.char()))
2690
+ if (this.isEOF() || !Ue(this.char()))
2693
2691
  return this.error(g.INVALID_TAG, b(a, this.clonePosition()));
2694
2692
  var h = this.clonePosition(), u = this.parseTagName();
2695
2693
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2696
2694
  val: {
2697
- type: x.tag,
2695
+ type: v.tag,
2698
2696
  value: i,
2699
2697
  children: o,
2700
2698
  location: b(n, this.clonePosition())
@@ -2707,7 +2705,7 @@ var bn = (
2707
2705
  return this.error(g.INVALID_TAG, b(n, this.clonePosition()));
2708
2706
  }, e.prototype.parseTagName = function() {
2709
2707
  var t = this.offset();
2710
- for (this.bump(); !this.isEOF() && En(this.char()); )
2708
+ for (this.bump(); !this.isEOF() && yn(this.char()); )
2711
2709
  this.bump();
2712
2710
  return this.message.slice(t, this.offset());
2713
2711
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2731,12 +2729,12 @@ var bn = (
2731
2729
  }
2732
2730
  var h = b(n, this.clonePosition());
2733
2731
  return {
2734
- val: { type: x.literal, value: i, location: h },
2732
+ val: { type: v.literal, value: i, location: h },
2735
2733
  err: null
2736
2734
  };
2737
2735
  }, e.prototype.tryParseLeftAngleBracket = function() {
2738
2736
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2739
- !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2737
+ !bn(this.peek() || 0)) ? (this.bump(), "<") : null;
2740
2738
  }, e.prototype.tryParseQuote = function(t) {
2741
2739
  if (this.isEOF() || this.char() !== 39)
2742
2740
  return null;
@@ -2770,12 +2768,12 @@ var bn = (
2770
2768
  r.push(n);
2771
2769
  this.bump();
2772
2770
  }
2773
- return Ue.apply(void 0, r);
2771
+ return Re.apply(void 0, r);
2774
2772
  }, e.prototype.tryParseUnquoted = function(t, r) {
2775
2773
  if (this.isEOF())
2776
2774
  return null;
2777
2775
  var n = this.char();
2778
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
2776
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
2779
2777
  }, e.prototype.parseArgument = function(t, r) {
2780
2778
  var n = this.clonePosition();
2781
2779
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2791,7 +2789,7 @@ var bn = (
2791
2789
  case 125:
2792
2790
  return this.bump(), {
2793
2791
  val: {
2794
- type: x.argument,
2792
+ type: v.argument,
2795
2793
  // value does not include the opening and closing braces.
2796
2794
  value: i,
2797
2795
  location: b(n, this.clonePosition())
@@ -2804,7 +2802,7 @@ var bn = (
2804
2802
  return this.error(g.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2805
2803
  }
2806
2804
  }, e.prototype.parseIdentifierIfPossible = function() {
2807
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2805
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2808
2806
  this.bumpTo(i);
2809
2807
  var s = this.clonePosition(), o = b(t, s);
2810
2808
  return { value: n, location: o };
@@ -2823,7 +2821,7 @@ var bn = (
2823
2821
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2824
2822
  if (f.err)
2825
2823
  return f;
2826
- var c = gn(f.val);
2824
+ var c = pn(f.val);
2827
2825
  if (c.length === 0)
2828
2826
  return this.error(g.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2829
2827
  var d = b(l, this.clonePosition());
@@ -2833,25 +2831,25 @@ var bn = (
2833
2831
  if (y.err)
2834
2832
  return y;
2835
2833
  var T = b(i, this.clonePosition());
2836
- if (u && st(u == null ? void 0 : u.style, "::", 0)) {
2837
- var A = pn(u.style.slice(2));
2834
+ if (u && it(u == null ? void 0 : u.style, "::", 0)) {
2835
+ var A = dn(u.style.slice(2));
2838
2836
  if (a === "number") {
2839
2837
  var f = this.parseNumberSkeletonFromString(A, u.styleLocation);
2840
2838
  return f.err ? f : {
2841
- val: { type: x.number, value: n, location: T, style: f.val },
2839
+ val: { type: v.number, value: n, location: T, style: f.val },
2842
2840
  err: null
2843
2841
  };
2844
2842
  } else {
2845
2843
  if (A.length === 0)
2846
2844
  return this.error(g.EXPECT_DATE_TIME_SKELETON, T);
2847
2845
  var S = A;
2848
- this.locale && (S = tn(A, this.locale));
2846
+ this.locale && (S = en(A, this.locale));
2849
2847
  var c = {
2850
- type: q.dateTime,
2848
+ type: J.dateTime,
2851
2849
  pattern: S,
2852
2850
  location: u.styleLocation,
2853
- parsedOptions: this.shouldParseSkeletons ? Zr(S) : {}
2854
- }, L = a === "date" ? x.date : x.time;
2851
+ parsedOptions: this.shouldParseSkeletons ? Wr(S) : {}
2852
+ }, L = a === "date" ? v.date : v.time;
2855
2853
  return {
2856
2854
  val: { type: L, value: n, location: T, style: c },
2857
2855
  err: null
@@ -2860,7 +2858,7 @@ var bn = (
2860
2858
  }
2861
2859
  return {
2862
2860
  val: {
2863
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2861
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
2864
2862
  value: n,
2865
2863
  location: T,
2866
2864
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2873,41 +2871,41 @@ var bn = (
2873
2871
  case "select": {
2874
2872
  var H = this.clonePosition();
2875
2873
  if (this.bumpSpace(), !this.bumpIf(","))
2876
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, ge({}, H)));
2874
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, E({}, H)));
2877
2875
  this.bumpSpace();
2878
- var E = this.parseIdentifierIfPossible(), p = 0;
2879
- if (a !== "select" && E.value === "offset") {
2876
+ var _ = this.parseIdentifierIfPossible(), p = 0;
2877
+ if (a !== "select" && _.value === "offset") {
2880
2878
  if (!this.bumpIf(":"))
2881
2879
  return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2882
2880
  this.bumpSpace();
2883
2881
  var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2884
2882
  if (f.err)
2885
2883
  return f;
2886
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), p = f.val;
2884
+ this.bumpSpace(), _ = this.parseIdentifierIfPossible(), p = f.val;
2887
2885
  }
2888
- var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
2886
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, _);
2889
2887
  if (B.err)
2890
2888
  return B;
2891
2889
  var y = this.tryParseArgumentClose(i);
2892
2890
  if (y.err)
2893
2891
  return y;
2894
- var fe = b(i, this.clonePosition());
2892
+ var le = b(i, this.clonePosition());
2895
2893
  return a === "select" ? {
2896
2894
  val: {
2897
- type: x.select,
2895
+ type: v.select,
2898
2896
  value: n,
2899
- options: ot(B.val),
2900
- location: fe
2897
+ options: st(B.val),
2898
+ location: le
2901
2899
  },
2902
2900
  err: null
2903
2901
  } : {
2904
2902
  val: {
2905
- type: x.plural,
2903
+ type: v.plural,
2906
2904
  value: n,
2907
- options: ot(B.val),
2905
+ options: st(B.val),
2908
2906
  offset: p,
2909
2907
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2910
- location: fe
2908
+ location: le
2911
2909
  },
2912
2910
  err: null
2913
2911
  };
@@ -2955,16 +2953,16 @@ var bn = (
2955
2953
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2956
2954
  var n = [];
2957
2955
  try {
2958
- n = Jr(t);
2956
+ n = Qr(t);
2959
2957
  } catch (i) {
2960
2958
  return this.error(g.INVALID_NUMBER_SKELETON, r);
2961
2959
  }
2962
2960
  return {
2963
2961
  val: {
2964
- type: q.number,
2962
+ type: J.number,
2965
2963
  tokens: n,
2966
2964
  location: r,
2967
- parsedOptions: this.shouldParseSkeletons ? en(n) : {}
2965
+ parsedOptions: this.shouldParseSkeletons ? Kr(n) : {}
2968
2966
  },
2969
2967
  err: null
2970
2968
  };
@@ -3012,7 +3010,7 @@ var bn = (
3012
3010
  break;
3013
3011
  }
3014
3012
  var h = b(i, this.clonePosition());
3015
- return s ? (o *= n, mn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3013
+ return s ? (o *= n, cn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3016
3014
  }, e.prototype.offset = function() {
3017
3015
  return this.position.offset;
3018
3016
  }, e.prototype.isEOF = function() {
@@ -3027,7 +3025,7 @@ var bn = (
3027
3025
  var t = this.position.offset;
3028
3026
  if (t >= this.message.length)
3029
3027
  throw Error("out of bound");
3030
- var r = Ct(this.message, t);
3028
+ var r = Lt(this.message, t);
3031
3029
  if (r === void 0)
3032
3030
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3033
3031
  return r;
@@ -3046,7 +3044,7 @@ var bn = (
3046
3044
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3047
3045
  }
3048
3046
  }, e.prototype.bumpIf = function(t) {
3049
- if (st(this.message, t, this.offset())) {
3047
+ if (it(this.message, t, this.offset())) {
3050
3048
  for (var r = 0; r < t.length; r++)
3051
3049
  this.bump();
3052
3050
  return !0;
@@ -3068,7 +3066,7 @@ var bn = (
3068
3066
  break;
3069
3067
  }
3070
3068
  }, e.prototype.bumpSpace = function() {
3071
- for (; !this.isEOF() && $t(this.char()); )
3069
+ for (; !this.isEOF() && Mt(this.char()); )
3072
3070
  this.bump();
3073
3071
  }, e.prototype.peek = function() {
3074
3072
  if (this.isEOF())
@@ -3078,47 +3076,47 @@ var bn = (
3078
3076
  }, e;
3079
3077
  }()
3080
3078
  );
3081
- function Ge(e) {
3079
+ function Ue(e) {
3082
3080
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3083
3081
  }
3084
- function yn(e) {
3085
- return Ge(e) || e === 47;
3082
+ function bn(e) {
3083
+ return Ue(e) || e === 47;
3086
3084
  }
3087
- function En(e) {
3085
+ function yn(e) {
3088
3086
  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;
3089
3087
  }
3090
- function $t(e) {
3088
+ function Mt(e) {
3091
3089
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3092
3090
  }
3093
- function _n(e) {
3091
+ function En(e) {
3094
3092
  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;
3095
3093
  }
3096
- function je(e) {
3094
+ function Fe(e) {
3097
3095
  e.forEach(function(t) {
3098
- if (delete t.location, St(t) || At(t))
3096
+ if (delete t.location, Bt(t) || St(t))
3099
3097
  for (var r in t.options)
3100
- delete t.options[r].location, je(t.options[r].value);
3098
+ delete t.options[r].location, Fe(t.options[r].value);
3101
3099
  else
3102
- Ht(t) && Ot(t.style) || (Tt(t) || Bt(t)) && Re(t.style) ? delete t.style.location : Pt(t) && je(t.children);
3100
+ vt(t) && Pt(t.style) || (Ht(t) || Tt(t)) && Me(t.style) ? delete t.style.location : At(t) && Fe(t.children);
3103
3101
  });
3104
3102
  }
3105
- function xn(e, t) {
3106
- t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3107
- var r = new bn(e, t).parse();
3103
+ function _n(e, t) {
3104
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3105
+ var r = new gn(e, t).parse();
3108
3106
  if (r.err) {
3109
3107
  var n = SyntaxError(g[r.err.kind]);
3110
3108
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3111
3109
  }
3112
- return t != null && t.captureLocation || je(r.val), r.val;
3110
+ return t != null && t.captureLocation || Fe(r.val), r.val;
3113
3111
  }
3114
- var Y;
3112
+ var q;
3115
3113
  (function(e) {
3116
3114
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3117
- })(Y || (Y = {}));
3118
- var ve = (
3115
+ })(q || (q = {}));
3116
+ var _e = (
3119
3117
  /** @class */
3120
3118
  function(e) {
3121
- xe(t, e);
3119
+ Ee(t, e);
3122
3120
  function t(r, n, i) {
3123
3121
  var s = e.call(this, r) || this;
3124
3122
  return s.code = n, s.originalMessage = i, s;
@@ -3127,48 +3125,48 @@ var ve = (
3127
3125
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3128
3126
  }, t;
3129
3127
  }(Error)
3130
- ), ut = (
3128
+ ), at = (
3131
3129
  /** @class */
3132
3130
  function(e) {
3133
- xe(t, e);
3131
+ Ee(t, e);
3134
3132
  function t(r, n, i, s) {
3135
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, s) || this;
3133
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3136
3134
  }
3137
3135
  return t;
3138
- }(ve)
3139
- ), vn = (
3136
+ }(_e)
3137
+ ), xn = (
3140
3138
  /** @class */
3141
3139
  function(e) {
3142
- xe(t, e);
3140
+ Ee(t, e);
3143
3141
  function t(r, n, i) {
3144
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3142
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3145
3143
  }
3146
3144
  return t;
3147
- }(ve)
3148
- ), Hn = (
3145
+ }(_e)
3146
+ ), vn = (
3149
3147
  /** @class */
3150
3148
  function(e) {
3151
- xe(t, e);
3149
+ Ee(t, e);
3152
3150
  function t(r, n) {
3153
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3151
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3154
3152
  }
3155
3153
  return t;
3156
- }(ve)
3154
+ }(_e)
3157
3155
  ), P;
3158
3156
  (function(e) {
3159
3157
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3160
3158
  })(P || (P = {}));
3161
- function Tn(e) {
3159
+ function Hn(e) {
3162
3160
  return e.length < 2 ? e : e.reduce(function(t, r) {
3163
3161
  var n = t[t.length - 1];
3164
3162
  return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3165
3163
  }, []);
3166
3164
  }
3167
- function Bn(e) {
3165
+ function Tn(e) {
3168
3166
  return typeof e == "function";
3169
3167
  }
3170
- function de(e, t, r, n, i, s, o) {
3171
- if (e.length === 1 && tt(e[0]))
3168
+ function me(e, t, r, n, i, s, o) {
3169
+ if (e.length === 1 && et(e[0]))
3172
3170
  return [
3173
3171
  {
3174
3172
  type: P.literal,
@@ -3177,14 +3175,14 @@ function de(e, t, r, n, i, s, o) {
3177
3175
  ];
3178
3176
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3179
3177
  var l = u[h];
3180
- if (tt(l)) {
3178
+ if (et(l)) {
3181
3179
  a.push({
3182
3180
  type: P.literal,
3183
3181
  value: l.value
3184
3182
  });
3185
3183
  continue;
3186
3184
  }
3187
- if (zr(l)) {
3185
+ if (Xr(l)) {
3188
3186
  typeof s == "number" && a.push({
3189
3187
  type: P.literal,
3190
3188
  value: r.getNumberFormat(t).format(s)
@@ -3193,44 +3191,44 @@ function de(e, t, r, n, i, s, o) {
3193
3191
  }
3194
3192
  var f = l.value;
3195
3193
  if (!(i && f in i))
3196
- throw new Hn(f, o);
3194
+ throw new vn(f, o);
3197
3195
  var c = i[f];
3198
- if (Xr(l)) {
3196
+ if (Vr(l)) {
3199
3197
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3200
3198
  type: typeof c == "string" ? P.literal : P.object,
3201
3199
  value: c
3202
3200
  });
3203
3201
  continue;
3204
3202
  }
3205
- if (Tt(l)) {
3206
- var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3203
+ if (Ht(l)) {
3204
+ var d = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3207
3205
  a.push({
3208
3206
  type: P.literal,
3209
3207
  value: r.getDateTimeFormat(t, d).format(c)
3210
3208
  });
3211
3209
  continue;
3212
3210
  }
3213
- if (Bt(l)) {
3214
- var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3211
+ if (Tt(l)) {
3212
+ var d = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3215
3213
  a.push({
3216
3214
  type: P.literal,
3217
3215
  value: r.getDateTimeFormat(t, d).format(c)
3218
3216
  });
3219
3217
  continue;
3220
3218
  }
3221
- if (Ht(l)) {
3222
- var d = typeof l.style == "string" ? n.number[l.style] : Ot(l.style) ? l.style.parsedOptions : void 0;
3219
+ if (vt(l)) {
3220
+ var d = typeof l.style == "string" ? n.number[l.style] : Pt(l.style) ? l.style.parsedOptions : void 0;
3223
3221
  d && d.scale && (c = c * (d.scale || 1)), a.push({
3224
3222
  type: P.literal,
3225
3223
  value: r.getNumberFormat(t, d).format(c)
3226
3224
  });
3227
3225
  continue;
3228
3226
  }
3229
- if (Pt(l)) {
3227
+ if (At(l)) {
3230
3228
  var y = l.children, T = l.value, A = i[T];
3231
- if (!Bn(A))
3232
- throw new vn(T, "function", o);
3233
- var S = de(y, t, r, n, i, s), L = A(S.map(function(p) {
3229
+ if (!Tn(A))
3230
+ throw new xn(T, "function", o);
3231
+ var S = me(y, t, r, n, i, s), L = A(S.map(function(p) {
3234
3232
  return p.value;
3235
3233
  }));
3236
3234
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(p) {
@@ -3240,40 +3238,40 @@ function de(e, t, r, n, i, s, o) {
3240
3238
  };
3241
3239
  }));
3242
3240
  }
3243
- if (St(l)) {
3241
+ if (Bt(l)) {
3244
3242
  var H = l.options[c] || l.options.other;
3245
3243
  if (!H)
3246
- throw new ut(l.value, c, Object.keys(l.options), o);
3247
- a.push.apply(a, de(H.value, t, r, n, i));
3244
+ throw new at(l.value, c, Object.keys(l.options), o);
3245
+ a.push.apply(a, me(H.value, t, r, n, i));
3248
3246
  continue;
3249
3247
  }
3250
- if (At(l)) {
3248
+ if (St(l)) {
3251
3249
  var H = l.options["=".concat(c)];
3252
3250
  if (!H) {
3253
3251
  if (!Intl.PluralRules)
3254
- throw new ve(`Intl.PluralRules is not available in this environment.
3252
+ throw new _e(`Intl.PluralRules is not available in this environment.
3255
3253
  Try polyfilling it using "@formatjs/intl-pluralrules"
3256
- `, Y.MISSING_INTL_API, o);
3257
- var E = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3258
- H = l.options[E] || l.options.other;
3254
+ `, q.MISSING_INTL_API, o);
3255
+ var _ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3256
+ H = l.options[_] || l.options.other;
3259
3257
  }
3260
3258
  if (!H)
3261
- throw new ut(l.value, c, Object.keys(l.options), o);
3262
- a.push.apply(a, de(H.value, t, r, n, i, c - (l.offset || 0)));
3259
+ throw new at(l.value, c, Object.keys(l.options), o);
3260
+ a.push.apply(a, me(H.value, t, r, n, i, c - (l.offset || 0)));
3263
3261
  continue;
3264
3262
  }
3265
3263
  }
3266
- return Tn(a);
3264
+ return Hn(a);
3267
3265
  }
3268
- function Sn(e, t) {
3269
- return t ? U(U(U({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3270
- return r[n] = U(U({}, e[n]), t[n] || {}), r;
3266
+ function Bn(e, t) {
3267
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3268
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3271
3269
  }, {})) : e;
3272
3270
  }
3273
- function An(e, t) {
3271
+ function Sn(e, t) {
3274
3272
  return t ? Object.keys(e).reduce(function(r, n) {
3275
- return r[n] = Sn(e[n], t[n]), r;
3276
- }, U({}, e)) : e;
3273
+ return r[n] = Bn(e[n], t[n]), r;
3274
+ }, E({}, e)) : e;
3277
3275
  }
3278
3276
  function Ne(e) {
3279
3277
  return {
@@ -3289,39 +3287,39 @@ function Ne(e) {
3289
3287
  }
3290
3288
  };
3291
3289
  }
3292
- function Pn(e) {
3290
+ function An(e) {
3293
3291
  return e === void 0 && (e = {
3294
3292
  number: {},
3295
3293
  dateTime: {},
3296
3294
  pluralRules: {}
3297
3295
  }), {
3298
- getNumberFormat: Pe(function() {
3296
+ getNumberFormat: Se(function() {
3299
3297
  for (var t, r = [], n = 0; n < arguments.length; n++)
3300
3298
  r[n] = arguments[n];
3301
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3299
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3302
3300
  }, {
3303
3301
  cache: Ne(e.number),
3304
- strategy: Oe.variadic
3302
+ strategy: Ae.variadic
3305
3303
  }),
3306
- getDateTimeFormat: Pe(function() {
3304
+ getDateTimeFormat: Se(function() {
3307
3305
  for (var t, r = [], n = 0; n < arguments.length; n++)
3308
3306
  r[n] = arguments[n];
3309
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3307
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3310
3308
  }, {
3311
3309
  cache: Ne(e.dateTime),
3312
- strategy: Oe.variadic
3310
+ strategy: Ae.variadic
3313
3311
  }),
3314
- getPluralRules: Pe(function() {
3312
+ getPluralRules: Se(function() {
3315
3313
  for (var t, r = [], n = 0; n < arguments.length; n++)
3316
3314
  r[n] = arguments[n];
3317
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3315
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3318
3316
  }, {
3319
3317
  cache: Ne(e.pluralRules),
3320
- strategy: Oe.variadic
3318
+ strategy: Ae.variadic
3321
3319
  })
3322
3320
  };
3323
3321
  }
3324
- var On = (
3322
+ var Pn = (
3325
3323
  /** @class */
3326
3324
  function() {
3327
3325
  function e(t, r, n, i) {
@@ -3340,7 +3338,7 @@ var On = (
3340
3338
  }, []);
3341
3339
  return l.length <= 1 ? l[0] || "" : l;
3342
3340
  }, this.formatToParts = function(h) {
3343
- return de(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3341
+ return me(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3344
3342
  }, this.resolvedOptions = function() {
3345
3343
  var h;
3346
3344
  return {
@@ -3353,13 +3351,13 @@ var On = (
3353
3351
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3354
3352
  var o = i || {};
3355
3353
  o.formatters;
3356
- var a = Rr(o, ["formatters"]);
3357
- this.ast = e.__parse(t, U(U({}, a), { locale: this.resolvedLocale }));
3354
+ var a = $r(o, ["formatters"]);
3355
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3358
3356
  } else
3359
3357
  this.ast = t;
3360
3358
  if (!Array.isArray(this.ast))
3361
3359
  throw new TypeError("A message must be provided as a String or AST.");
3362
- this.formats = An(e.formats, n), this.formatters = i && i.formatters || Pn(this.formatterCache);
3360
+ this.formats = Sn(e.formats, n), this.formatters = i && i.formatters || An(this.formatterCache);
3363
3361
  }
3364
3362
  return Object.defineProperty(e, "defaultLocale", {
3365
3363
  get: function() {
@@ -3372,7 +3370,7 @@ var On = (
3372
3370
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3373
3371
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3374
3372
  }
3375
- }, e.__parse = xn, e.formats = {
3373
+ }, e.__parse = _n, e.formats = {
3376
3374
  number: {
3377
3375
  integer: {
3378
3376
  maximumFractionDigits: 0
@@ -3433,7 +3431,7 @@ var On = (
3433
3431
  }, e;
3434
3432
  }()
3435
3433
  );
3436
- function wn(e, t) {
3434
+ function Nn(e, t) {
3437
3435
  if (t == null)
3438
3436
  return;
3439
3437
  if (t in e)
@@ -3454,92 +3452,92 @@ function wn(e, t) {
3454
3452
  n = void 0;
3455
3453
  return n;
3456
3454
  }
3457
- const G = {}, Nn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Rt = (e, t) => {
3455
+ const F = {}, On = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), $t = (e, t) => {
3458
3456
  if (t == null)
3459
3457
  return;
3460
- if (t in G && e in G[t])
3461
- return G[t][e];
3462
- const r = He(t);
3458
+ if (t in F && e in F[t])
3459
+ return F[t][e];
3460
+ const r = xe(t);
3463
3461
  for (let n = 0; n < r.length; n++) {
3464
- const i = r[n], s = Ln(i, e);
3462
+ const i = r[n], s = In(i, e);
3465
3463
  if (s)
3466
- return Nn(e, t, s);
3464
+ return On(e, t, s);
3467
3465
  }
3468
3466
  };
3469
- let Xe;
3470
- const he = _e({});
3471
- function In(e) {
3472
- return Xe[e] || null;
3467
+ let Ve;
3468
+ const ue = ye({});
3469
+ function wn(e) {
3470
+ return Ve[e] || null;
3473
3471
  }
3474
- function Dt(e) {
3475
- return e in Xe;
3472
+ function Rt(e) {
3473
+ return e in Ve;
3476
3474
  }
3477
- function Ln(e, t) {
3478
- if (!Dt(e))
3475
+ function In(e, t) {
3476
+ if (!Rt(e))
3479
3477
  return null;
3480
- const r = In(e);
3481
- return wn(r, t);
3478
+ const r = wn(e);
3479
+ return Nn(r, t);
3482
3480
  }
3483
- function Cn(e) {
3481
+ function Ln(e) {
3484
3482
  if (e == null)
3485
3483
  return;
3486
- const t = He(e);
3484
+ const t = xe(e);
3487
3485
  for (let r = 0; r < t.length; r++) {
3488
3486
  const n = t[r];
3489
- if (Dt(n))
3487
+ if (Rt(n))
3490
3488
  return n;
3491
3489
  }
3492
3490
  }
3493
- function Ut(e, ...t) {
3494
- delete G[e], he.update((r) => (r[e] = $r.all([r[e] || {}, ...t]), r));
3491
+ function Dt(e, ...t) {
3492
+ delete F[e], ue.update((r) => (r[e] = Mr.all([r[e] || {}, ...t]), r));
3495
3493
  }
3496
- ee(
3497
- [he],
3494
+ K(
3495
+ [ue],
3498
3496
  ([e]) => Object.keys(e)
3499
3497
  );
3500
- he.subscribe((e) => Xe = e);
3501
- const pe = {};
3502
- function Mn(e, t) {
3503
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3498
+ ue.subscribe((e) => Ve = e);
3499
+ const de = {};
3500
+ function Cn(e, t) {
3501
+ de[e].delete(t), de[e].size === 0 && delete de[e];
3504
3502
  }
3505
- function Ft(e) {
3506
- return pe[e];
3503
+ function Ut(e) {
3504
+ return de[e];
3507
3505
  }
3508
- function $n(e) {
3509
- return He(e).map((t) => {
3510
- const r = Ft(t);
3506
+ function Mn(e) {
3507
+ return xe(e).map((t) => {
3508
+ const r = Ut(t);
3511
3509
  return [t, r ? [...r] : []];
3512
3510
  }).filter(([, t]) => t.length > 0);
3513
3511
  }
3514
- function ke(e) {
3515
- return e == null ? !1 : He(e).some(
3512
+ function Ge(e) {
3513
+ return e == null ? !1 : xe(e).some(
3516
3514
  (t) => {
3517
3515
  var r;
3518
- return (r = Ft(t)) == null ? void 0 : r.size;
3516
+ return (r = Ut(t)) == null ? void 0 : r.size;
3519
3517
  }
3520
3518
  );
3521
3519
  }
3522
- function Rn(e, t) {
3520
+ function $n(e, t) {
3523
3521
  return Promise.all(
3524
- t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3525
- ).then((n) => Ut(e, ...n));
3526
- }
3527
- const re = {};
3528
- function Gt(e) {
3529
- if (!ke(e))
3530
- return e in re ? re[e] : Promise.resolve();
3531
- const t = $n(e);
3532
- return re[e] = Promise.all(
3522
+ t.map((n) => (Cn(e, n), n().then((i) => i.default || i)))
3523
+ ).then((n) => Dt(e, ...n));
3524
+ }
3525
+ const te = {};
3526
+ function Ft(e) {
3527
+ if (!Ge(e))
3528
+ return e in te ? te[e] : Promise.resolve();
3529
+ const t = Mn(e);
3530
+ return te[e] = Promise.all(
3533
3531
  t.map(
3534
- ([r, n]) => Rn(r, n)
3532
+ ([r, n]) => $n(r, n)
3535
3533
  )
3536
3534
  ).then(() => {
3537
- if (ke(e))
3538
- return Gt(e);
3539
- delete re[e];
3540
- }), re[e];
3535
+ if (Ge(e))
3536
+ return Ft(e);
3537
+ delete te[e];
3538
+ }), te[e];
3541
3539
  }
3542
- const Dn = {
3540
+ const Rn = {
3543
3541
  number: {
3544
3542
  scientific: { notation: "scientific" },
3545
3543
  engineering: { notation: "engineering" },
@@ -3568,150 +3566,150 @@ const Dn = {
3568
3566
  timeZoneName: "short"
3569
3567
  }
3570
3568
  }
3571
- }, Un = {
3569
+ }, Dn = {
3572
3570
  fallbackLocale: null,
3573
3571
  loadingDelay: 200,
3574
- formats: Dn,
3572
+ formats: Rn,
3575
3573
  warnOnMissingMessages: !0,
3576
3574
  handleMissingMessage: void 0,
3577
3575
  ignoreTag: !0
3578
- }, Fn = Un;
3579
- function K() {
3580
- return Fn;
3581
- }
3582
- const Ie = _e(!1);
3583
- var Gn = Object.defineProperty, jn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, Vn = Object.prototype.hasOwnProperty, Xn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zn = (e, t) => {
3584
- for (var r in t || (t = {}))
3585
- Vn.call(t, r) && lt(e, r, t[r]);
3586
- if (ht)
3587
- for (var r of ht(t))
3588
- Xn.call(t, r) && lt(e, r, t[r]);
3576
+ }, Un = Dn;
3577
+ function Y() {
3578
+ return Un;
3579
+ }
3580
+ const Oe = ye(!1);
3581
+ var Fn = Object.defineProperty, Gn = Object.defineProperties, jn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
3582
+ for (var r in t)
3583
+ kn.call(t, r) && ht(e, r, t[r]);
3584
+ if (ut)
3585
+ for (var r of ut(t))
3586
+ Vn.call(t, r) && ht(e, r, t[r]);
3589
3587
  return e;
3590
- }, Wn = (e, t) => jn(e, kn(t));
3591
- let Ve;
3592
- const be = _e(null);
3593
- function ft(e) {
3588
+ }, zn = (e, t) => Gn(e, jn(t));
3589
+ let je;
3590
+ const pe = ye(null);
3591
+ function lt(e) {
3594
3592
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3595
3593
  }
3596
- function He(e, t = K().fallbackLocale) {
3597
- const r = ft(e);
3598
- return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3594
+ function xe(e, t = Y().fallbackLocale) {
3595
+ const r = lt(e);
3596
+ return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3599
3597
  }
3600
- function X() {
3601
- return Ve != null ? Ve : void 0;
3598
+ function V() {
3599
+ return je != null ? je : void 0;
3602
3600
  }
3603
- be.subscribe((e) => {
3604
- Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3601
+ pe.subscribe((e) => {
3602
+ je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3605
3603
  });
3606
- const Zn = (e) => {
3607
- if (e && Cn(e) && ke(e)) {
3608
- const { loadingDelay: t } = K();
3604
+ const Wn = (e) => {
3605
+ if (e && Ln(e) && Ge(e)) {
3606
+ const { loadingDelay: t } = Y();
3609
3607
  let r;
3610
- return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3611
- () => Ie.set(!0),
3608
+ return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
3609
+ () => Oe.set(!0),
3612
3610
  t
3613
- ) : Ie.set(!0), Gt(e).then(() => {
3614
- be.set(e);
3611
+ ) : Oe.set(!0), Ft(e).then(() => {
3612
+ pe.set(e);
3615
3613
  }).finally(() => {
3616
- clearTimeout(r), Ie.set(!1);
3614
+ clearTimeout(r), Oe.set(!1);
3617
3615
  });
3618
3616
  }
3619
- return be.set(e);
3620
- }, le = Wn(zn({}, be), {
3621
- set: Zn
3622
- }), Te = (e) => {
3617
+ return pe.set(e);
3618
+ }, he = zn(Xn({}, pe), {
3619
+ set: Wn
3620
+ }), ve = (e) => {
3623
3621
  const t = /* @__PURE__ */ Object.create(null);
3624
3622
  return (n) => {
3625
3623
  const i = JSON.stringify(n);
3626
3624
  return i in t ? t[i] : t[i] = e(n);
3627
3625
  };
3628
3626
  };
3629
- var Qn = Object.defineProperty, ye = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3627
+ var Zn = Object.defineProperty, ge = Object.getOwnPropertySymbols, Gt = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
3630
3628
  for (var r in t || (t = {}))
3631
- jt.call(t, r) && ct(e, r, t[r]);
3632
- if (ye)
3633
- for (var r of ye(t))
3634
- kt.call(t, r) && ct(e, r, t[r]);
3629
+ Gt.call(t, r) && ft(e, r, t[r]);
3630
+ if (ge)
3631
+ for (var r of ge(t))
3632
+ jt.call(t, r) && ft(e, r, t[r]);
3635
3633
  return e;
3636
- }, te = (e, t) => {
3634
+ }, ee = (e, t) => {
3637
3635
  var r = {};
3638
3636
  for (var n in e)
3639
- jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3640
- if (e != null && ye)
3641
- for (var n of ye(e))
3642
- t.indexOf(n) < 0 && kt.call(e, n) && (r[n] = e[n]);
3637
+ Gt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3638
+ if (e != null && ge)
3639
+ for (var n of ge(e))
3640
+ t.indexOf(n) < 0 && jt.call(e, n) && (r[n] = e[n]);
3643
3641
  return r;
3644
3642
  };
3645
- const ae = (e, t) => {
3646
- const { formats: r } = K();
3643
+ const oe = (e, t) => {
3644
+ const { formats: r } = Y();
3647
3645
  if (e in r && t in r[e])
3648
3646
  return r[e][t];
3649
3647
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3650
- }, Jn = Te(
3648
+ }, Qn = ve(
3651
3649
  (e) => {
3652
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3650
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3653
3651
  if (r == null)
3654
3652
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3655
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
3653
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3656
3654
  }
3657
- ), qn = Te(
3655
+ ), Jn = ve(
3658
3656
  (e) => {
3659
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3657
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3660
3658
  if (r == null)
3661
3659
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3662
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
3660
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3663
3661
  }
3664
- ), Yn = Te(
3662
+ ), qn = ve(
3665
3663
  (e) => {
3666
- var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
3664
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3667
3665
  if (r == null)
3668
3666
  throw new Error(
3669
3667
  '[svelte-i18n] A "locale" must be set to format time values'
3670
3668
  );
3671
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
3669
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3672
3670
  }
3673
- ), Kn = (e = {}) => {
3671
+ ), Yn = (e = {}) => {
3674
3672
  var t = e, {
3675
- locale: r = X()
3676
- } = t, n = te(t, [
3673
+ locale: r = V()
3674
+ } = t, n = ee(t, [
3677
3675
  "locale"
3678
3676
  ]);
3679
- return Jn(ze({ locale: r }, n));
3680
- }, ei = (e = {}) => {
3677
+ return Qn(Xe({ locale: r }, n));
3678
+ }, Kn = (e = {}) => {
3681
3679
  var t = e, {
3682
- locale: r = X()
3683
- } = t, n = te(t, [
3680
+ locale: r = V()
3681
+ } = t, n = ee(t, [
3684
3682
  "locale"
3685
3683
  ]);
3686
- return qn(ze({ locale: r }, n));
3687
- }, ti = (e = {}) => {
3684
+ return Jn(Xe({ locale: r }, n));
3685
+ }, ei = (e = {}) => {
3688
3686
  var t = e, {
3689
- locale: r = X()
3690
- } = t, n = te(t, [
3687
+ locale: r = V()
3688
+ } = t, n = ee(t, [
3691
3689
  "locale"
3692
3690
  ]);
3693
- return Yn(ze({ locale: r }, n));
3694
- }, ri = Te(
3691
+ return qn(Xe({ locale: r }, n));
3692
+ }, ti = ve(
3695
3693
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3696
- (e, t = X()) => new On(e, t, K().formats, {
3697
- ignoreTag: K().ignoreTag
3694
+ (e, t = V()) => new Pn(e, t, Y().formats, {
3695
+ ignoreTag: Y().ignoreTag
3698
3696
  })
3699
- ), ni = (e, t = {}) => {
3697
+ ), ri = (e, t = {}) => {
3700
3698
  var r, n, i, s;
3701
3699
  let o = t;
3702
3700
  typeof e == "object" && (o = e, e = o.id);
3703
3701
  const {
3704
3702
  values: a,
3705
- locale: h = X(),
3703
+ locale: h = V(),
3706
3704
  default: u
3707
3705
  } = o;
3708
3706
  if (h == null)
3709
3707
  throw new Error(
3710
3708
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3711
3709
  );
3712
- let l = Rt(e, h);
3710
+ let l = $t(e, h);
3713
3711
  if (!l)
3714
- l = (s = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3712
+ l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3715
3713
  else if (typeof l != "string")
3716
3714
  return console.warn(
3717
3715
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3720,7 +3718,7 @@ const ae = (e, t) => {
3720
3718
  return l;
3721
3719
  let f = l;
3722
3720
  try {
3723
- f = ri(l, h).format(a);
3721
+ f = ti(l, h).format(a);
3724
3722
  } catch (c) {
3725
3723
  c instanceof Error && console.warn(
3726
3724
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3728,15 +3726,15 @@ const ae = (e, t) => {
3728
3726
  );
3729
3727
  }
3730
3728
  return f;
3731
- }, ii = (e, t) => ti(t).format(e), si = (e, t) => ei(t).format(e), oi = (e, t) => Kn(t).format(e), ai = (e, t = X()) => Rt(e, t), ui = ee([le, he], () => ni);
3732
- ee([le], () => ii);
3733
- ee([le], () => si);
3734
- ee([le], () => oi);
3735
- ee([le, he], () => ai);
3736
- function mt(e, t) {
3737
- Ut(e, t);
3738
- }
3739
- const dt = {
3729
+ }, ni = (e, t) => ei(t).format(e), ii = (e, t) => Kn(t).format(e), si = (e, t) => Yn(t).format(e), oi = (e, t = V()) => $t(e, t), ai = K([he, ue], () => ri);
3730
+ K([he], () => ni);
3731
+ K([he], () => ii);
3732
+ K([he], () => si);
3733
+ K([he, ue], () => oi);
3734
+ function ct(e, t) {
3735
+ Dt(e, t);
3736
+ }
3737
+ const mt = {
3740
3738
  en: {
3741
3739
  finished: "Finished",
3742
3740
  starting: "Starting in ",
@@ -3826,13 +3824,13 @@ const dt = {
3826
3824
  days: "days"
3827
3825
  }
3828
3826
  };
3829
- function hi(e, t) {
3827
+ function ui(e, t) {
3830
3828
  if (e) {
3831
3829
  const r = document.createElement("style");
3832
3830
  r.innerHTML = t, e.appendChild(r);
3833
3831
  }
3834
3832
  }
3835
- function li(e, t) {
3833
+ function hi(e, t) {
3836
3834
  const r = new URL(t);
3837
3835
  fetch(r.href).then((n) => n.text()).then((n) => {
3838
3836
  const i = document.createElement("style");
@@ -3841,7 +3839,7 @@ function li(e, t) {
3841
3839
  console.error("There was an error while trying to load client styling from URL", n);
3842
3840
  });
3843
3841
  }
3844
- function fi(e, t, r) {
3842
+ function li(e, t, r) {
3845
3843
  if (window.emMessageBus) {
3846
3844
  const n = document.createElement("style");
3847
3845
  window.emMessageBus.subscribe(t, (i) => {
@@ -3849,10 +3847,10 @@ function fi(e, t, r) {
3849
3847
  });
3850
3848
  }
3851
3849
  }
3852
- function ci(e) {
3853
- er(e, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
3850
+ function fi(e) {
3851
+ Kt(e, "svelte-6h4bfy", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentDates{margin-left:20px;margin-right:20px;display:flex;justify-content:space-between}.StartDate{font-size:11px;color:var(--emw--color-gray-300, #58586B)}.EndDate{font-size:11px;align-content:flex-end;color:var(--emw--color-gray-300, #58586B)}.ProgressBar{margin:5px 20px;height:8px;background:var(--emw--color-white, #FFFFFF)}.ProgressBarInactive{margin:5px 20px 10px 20px;height:8px;background:var(--emw--color-gray-100, #E6E6E6)}.ProgressBarFill{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillEnd{background-color:var(--emw--color-green, #48952a);height:8px}.ProgressBarFillStarting{background-color:var(--emw--color-gray-300, #58586B);height:8px}.Remaining,.Finished{font-size:10px;padding-top:5px;text-align:right;text-transform:uppercase}.Finished{color:var(--emw--color-green, #48952a)}");
3854
3852
  }
3855
- function pt(e) {
3853
+ function dt(e) {
3856
3854
  let t, r, n = (
3857
3855
  /*formatDate*/
3858
3856
  e[10](
@@ -3871,9 +3869,9 @@ function pt(e) {
3871
3869
  /*status*/
3872
3870
  p[2] == "Finished" || /*status*/
3873
3871
  p[2] == "Closing" || /*status*/
3874
- p[2] == "Closed" ? pi : (
3872
+ p[2] == "Closed" ? di : (
3875
3873
  /*tournamentUntilStartDays*/
3876
- p[5] > 0 ? di : mi
3874
+ p[5] > 0 ? mi : ci
3877
3875
  )
3878
3876
  );
3879
3877
  }
@@ -3885,25 +3883,25 @@ function pt(e) {
3885
3883
  p[2] == "Closing" || /*status*/
3886
3884
  p[2] == "Closed"
3887
3885
  )
3888
- return yi;
3886
+ return bi;
3889
3887
  if (
3890
3888
  /*tournamentUntilStartDays*/
3891
3889
  p[5] > 0
3892
3890
  )
3893
- return bi;
3891
+ return gi;
3894
3892
  if (
3895
3893
  /*tournamentLeftDays*/
3896
3894
  p[4] > 0
3897
3895
  )
3898
- return gi;
3896
+ return pi;
3899
3897
  }
3900
- let H = L(e), E = H && H(e);
3898
+ let H = L(e), _ = H && H(e);
3901
3899
  return {
3902
3900
  c() {
3903
- t = N("div"), r = N("div"), i = j(n), s = ne(), o = N("div"), h = j(a), u = ne(), l = N("div"), f = N("div"), S.c(), c = ne(), E && E.c(), _(r, "class", "StartDate"), _(r, "part", "StartDate"), _(o, "class", "EndDate"), _(o, "part", "EndDate"), _(t, "class", "TournamentDates"), _(t, "part", "TournamentDates"), _(f, "class", "ProgressBar"), _(f, "part", "ProgressBar"), _(l, "class", "ProgressBarWrapper"), _(l, "part", "ProgressBarWrapper");
3901
+ t = w("div"), r = w("div"), i = G(n), s = re(), o = w("div"), h = G(a), u = re(), l = w("div"), f = w("div"), S.c(), c = re(), _ && _.c(), x(r, "class", "StartDate"), x(r, "part", "StartDate"), x(o, "class", "EndDate"), x(o, "part", "EndDate"), x(t, "class", "TournamentDates"), x(t, "part", "TournamentDates"), x(f, "class", "ProgressBar"), x(f, "part", "ProgressBar"), x(l, "class", "ProgressBarWrapper"), x(l, "part", "ProgressBarWrapper");
3904
3902
  },
3905
3903
  m(p, B) {
3906
- $(p, t, B), O(t, r), O(r, i), O(t, s), O(t, o), O(o, h), $(p, u, B), $(p, l, B), O(l, f), S.m(f, null), O(f, c), E && E.m(f, null), d || (y = Kt(
3904
+ $(p, t, B), N(t, r), N(r, i), N(t, s), N(t, o), N(o, h), $(p, u, B), $(p, l, B), N(l, f), S.m(f, null), N(f, c), _ && _.m(f, null), d || (y = Yt(
3907
3905
  /*getDuration*/
3908
3906
  e[9].call(null, l)
3909
3907
  ), d = !0);
@@ -3914,23 +3912,23 @@ function pt(e) {
3914
3912
  p[10](
3915
3913
  /*startdate*/
3916
3914
  p[0]
3917
- ) + "") && V(i, n), B & /*enddate*/
3915
+ ) + "") && k(i, n), B & /*enddate*/
3918
3916
  2 && a !== (a = /*formatDate*/
3919
3917
  p[10](
3920
3918
  /*enddate*/
3921
3919
  p[1]
3922
- ) + "") && V(h, a), A === (A = T(p)) && S ? S.p(p, B) : (S.d(1), S = A(p), S && (S.c(), S.m(f, c))), H === (H = L(p)) && E ? E.p(p, B) : (E && E.d(1), E = H && H(p), E && (E.c(), E.m(f, null)));
3920
+ ) + "") && k(h, a), A === (A = T(p)) && S ? S.p(p, B) : (S.d(1), S = A(p), S && (S.c(), S.m(f, c))), H === (H = L(p)) && _ ? _.p(p, B) : (_ && _.d(1), _ = H && H(p), _ && (_.c(), _.m(f, null)));
3923
3921
  },
3924
3922
  d(p) {
3925
- p && (M(t), M(u), M(l)), S.d(), E && E.d(), d = !1, y();
3923
+ p && (M(t), M(u), M(l)), S.d(), _ && _.d(), d = !1, y();
3926
3924
  }
3927
3925
  };
3928
3926
  }
3929
- function mi(e) {
3927
+ function ci(e) {
3930
3928
  let t;
3931
3929
  return {
3932
3930
  c() {
3933
- t = N("div"), _(t, "class", "ProgressBarFill"), _(t, "part", "ProgressBarFill"), Ye(
3931
+ t = w("div"), x(t, "class", "ProgressBarFill"), x(t, "part", "ProgressBarFill"), qe(
3934
3932
  t,
3935
3933
  "width",
3936
3934
  /*getProgress*/
@@ -3942,7 +3940,7 @@ function mi(e) {
3942
3940
  },
3943
3941
  p(r, n) {
3944
3942
  n & /*getProgress*/
3945
- 128 && Ye(
3943
+ 128 && qe(
3946
3944
  t,
3947
3945
  "width",
3948
3946
  /*getProgress*/
@@ -3954,11 +3952,11 @@ function mi(e) {
3954
3952
  }
3955
3953
  };
3956
3954
  }
3957
- function di(e) {
3955
+ function mi(e) {
3958
3956
  let t;
3959
3957
  return {
3960
3958
  c() {
3961
- t = N("div"), _(t, "class", "ProgressBarFillStarting"), _(t, "part", "ProgressBarFillStarting");
3959
+ t = w("div"), x(t, "class", "ProgressBarFillStarting"), x(t, "part", "ProgressBarFillStarting");
3962
3960
  },
3963
3961
  m(r, n) {
3964
3962
  $(r, t, n);
@@ -3969,11 +3967,11 @@ function di(e) {
3969
3967
  }
3970
3968
  };
3971
3969
  }
3972
- function pi(e) {
3970
+ function di(e) {
3973
3971
  let t;
3974
3972
  return {
3975
3973
  c() {
3976
- t = N("div"), _(t, "class", "ProgressBarFillEnd"), _(t, "part", "ProgressBarFillEnd");
3974
+ t = w("div"), x(t, "class", "ProgressBarFillEnd"), x(t, "part", "ProgressBarFillEnd");
3977
3975
  },
3978
3976
  m(r, n) {
3979
3977
  $(r, t, n);
@@ -3984,37 +3982,37 @@ function pi(e) {
3984
3982
  }
3985
3983
  };
3986
3984
  }
3987
- function gi(e) {
3985
+ function pi(e) {
3988
3986
  let t, r, n, i = (
3989
3987
  /*$_*/
3990
3988
  e[8]("left") + ""
3991
3989
  ), s;
3992
3990
  return {
3993
3991
  c() {
3994
- t = N("div"), r = j(
3992
+ t = w("div"), r = G(
3995
3993
  /*showRemain*/
3996
3994
  e[6]
3997
- ), n = ne(), s = j(i), _(t, "class", "Remaining"), _(t, "part", "Remaining");
3995
+ ), n = re(), s = G(i), x(t, "class", "Remaining"), x(t, "part", "Remaining");
3998
3996
  },
3999
3997
  m(o, a) {
4000
- $(o, t, a), O(t, r), O(t, n), O(t, s);
3998
+ $(o, t, a), N(t, r), N(t, n), N(t, s);
4001
3999
  },
4002
4000
  p(o, a) {
4003
4001
  a & /*showRemain*/
4004
- 64 && V(
4002
+ 64 && k(
4005
4003
  r,
4006
4004
  /*showRemain*/
4007
4005
  o[6]
4008
4006
  ), a & /*$_*/
4009
4007
  256 && i !== (i = /*$_*/
4010
- o[8]("left") + "") && V(s, i);
4008
+ o[8]("left") + "") && k(s, i);
4011
4009
  },
4012
4010
  d(o) {
4013
4011
  o && M(t);
4014
4012
  }
4015
4013
  };
4016
4014
  }
4017
- function bi(e) {
4015
+ function gi(e) {
4018
4016
  let t, r = (
4019
4017
  /*$_*/
4020
4018
  e[8]("starting") + ""
@@ -4027,57 +4025,57 @@ function bi(e) {
4027
4025
  ), o;
4028
4026
  return {
4029
4027
  c() {
4030
- t = N("div"), n = j(r), i = ne(), o = j(s), _(t, "class", "Remaining"), _(t, "part", "Remaining");
4028
+ t = w("div"), n = G(r), i = re(), o = G(s), x(t, "class", "Remaining"), x(t, "part", "Remaining");
4031
4029
  },
4032
4030
  m(a, h) {
4033
- $(a, t, h), O(t, n), O(t, i), O(t, o);
4031
+ $(a, t, h), N(t, n), N(t, i), N(t, o);
4034
4032
  },
4035
4033
  p(a, h) {
4036
4034
  h & /*$_*/
4037
4035
  256 && r !== (r = /*$_*/
4038
- a[8]("starting") + "") && V(n, r), h & /*tournamentUntilStartDays*/
4036
+ a[8]("starting") + "") && k(n, r), h & /*tournamentUntilStartDays*/
4039
4037
  32 && s !== (s = /*getTextByDiff*/
4040
4038
  a[11](
4041
4039
  /*tournamentUntilStartDays*/
4042
4040
  a[5]
4043
- ) + "") && V(o, s);
4041
+ ) + "") && k(o, s);
4044
4042
  },
4045
4043
  d(a) {
4046
4044
  a && M(t);
4047
4045
  }
4048
4046
  };
4049
4047
  }
4050
- function yi(e) {
4048
+ function bi(e) {
4051
4049
  let t, r = (
4052
4050
  /*$_*/
4053
4051
  e[8]("finished") + ""
4054
4052
  ), n;
4055
4053
  return {
4056
4054
  c() {
4057
- t = N("div"), n = j(r), _(t, "class", "Finished"), _(t, "part", "Finished");
4055
+ t = w("div"), n = G(r), x(t, "class", "Finished"), x(t, "part", "Finished");
4058
4056
  },
4059
4057
  m(i, s) {
4060
- $(i, t, s), O(t, n);
4058
+ $(i, t, s), N(t, n);
4061
4059
  },
4062
4060
  p(i, s) {
4063
4061
  s & /*$_*/
4064
4062
  256 && r !== (r = /*$_*/
4065
- i[8]("finished") + "") && V(n, r);
4063
+ i[8]("finished") + "") && k(n, r);
4066
4064
  },
4067
4065
  d(i) {
4068
4066
  i && M(t);
4069
4067
  }
4070
4068
  };
4071
4069
  }
4072
- function Ei(e) {
4070
+ function yi(e) {
4073
4071
  let t, r = (
4074
4072
  /*startdate*/
4075
4073
  e[0] && /*enddate*/
4076
- e[1] && pt(e)
4074
+ e[1] && dt(e)
4077
4075
  );
4078
4076
  return {
4079
4077
  c() {
4080
- t = N("div"), r && r.c(), _(t, "class", "TournamentDuration"), _(t, "part", "TournamentDuration");
4078
+ t = w("div"), r && r.c(), x(t, "class", "TournamentDuration"), x(t, "part", "TournamentDuration");
4081
4079
  },
4082
4080
  m(n, i) {
4083
4081
  $(n, t, i), r && r.m(t, null), e[17](t);
@@ -4085,7 +4083,7 @@ function Ei(e) {
4085
4083
  p(n, [i]) {
4086
4084
  /*startdate*/
4087
4085
  n[0] && /*enddate*/
4088
- n[1] ? r ? r.p(n, i) : (r = pt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4086
+ n[1] ? r ? r.p(n, i) : (r = dt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4089
4087
  },
4090
4088
  i: I,
4091
4089
  o: I,
@@ -4094,45 +4092,45 @@ function Ei(e) {
4094
4092
  }
4095
4093
  };
4096
4094
  }
4097
- function _i(e, t, r) {
4095
+ function Ei(e, t, r) {
4098
4096
  let n, i;
4099
- Yt(e, ui, (m) => r(8, i = m));
4097
+ qt(e, ai, (m) => r(8, i = m));
4100
4098
  let { startdate: s = "" } = t, { enddate: o = "" } = t, { status: a = "" } = t, { lang: h = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c } = t, d, y = "", T = "", A = "";
4101
4099
  const S = () => {
4102
- fetch(f).then((w) => w.json()).then((w) => {
4103
- Object.keys(w).forEach((F) => {
4104
- mt(F, w[F]);
4100
+ fetch(f).then((O) => O.json()).then((O) => {
4101
+ Object.keys(O).forEach((U) => {
4102
+ ct(U, O[U]);
4105
4103
  });
4106
- }).catch((w) => {
4107
- console.log(w);
4104
+ }).catch((O) => {
4105
+ console.log(O);
4108
4106
  });
4109
4107
  };
4110
- Object.keys(dt).forEach((m) => {
4111
- mt(m, dt[m]);
4108
+ Object.keys(mt).forEach((m) => {
4109
+ ct(m, mt[m]);
4112
4110
  });
4113
- const L = (m) => new Date(m).getTime(), H = (m, w) => (L(w) - L(m)) / (1e3 * 60), E = () => {
4111
+ const L = (m) => new Date(m).getTime(), H = (m, O) => (L(O) - L(m)) / (1e3 * 60), _ = () => {
4114
4112
  const m = /* @__PURE__ */ new Date();
4115
4113
  r(4, y = H(m, o)), r(5, T = H(m, s)), r(6, A = B(y));
4116
4114
  }, p = (m) => {
4117
- const w = { month: "long" };
4118
- let F = new Date(m), k = new Intl.DateTimeFormat(h, w).format(F);
4119
- return `${F.getDate()} ${k}, ${F.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${F.getUTCFullYear()}`;
4115
+ const O = { month: "long" };
4116
+ let U = new Date(m), j = new Intl.DateTimeFormat(h, O).format(U);
4117
+ return `${U.getDate()} ${j}, ${U.toLocaleString("en-GB", { hour: "numeric", minute: "numeric" })}, ${U.getUTCFullYear()}`;
4120
4118
  }, B = (m) => {
4121
- const w = (k, R) => k + " " + i(R), F = (k) => {
4122
- const R = Math.floor(k);
4119
+ const O = (j, R) => j + " " + i(R), U = (j) => {
4120
+ const R = Math.floor(j);
4123
4121
  return R < 10 ? `0${R}` : `${R}`;
4124
4122
  };
4125
4123
  if (m < 1440) {
4126
- const k = m / 60, R = m % 60, Vt = (R - Math.floor(R)) * 60;
4127
- return [k, R, Vt].map((Xt) => F(Xt)).join(":");
4124
+ const j = m / 60, R = m % 60, kt = (R - Math.floor(R)) * 60;
4125
+ return [j, R, kt].map((Vt) => U(Vt)).join(":");
4128
4126
  }
4129
- return w(Math.ceil(m / (60 * 24)), "days");
4127
+ return O(Math.ceil(m / (60 * 24)), "days");
4130
4128
  };
4131
- or(() => {
4129
+ sr(() => {
4132
4130
  window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href);
4133
4131
  const m = setInterval(
4134
4132
  () => {
4135
- s && o && E();
4133
+ s && o && _();
4136
4134
  },
4137
4135
  1e3
4138
4136
  );
@@ -4140,8 +4138,8 @@ function _i(e, t, r) {
4140
4138
  clearInterval(m);
4141
4139
  };
4142
4140
  });
4143
- function fe(m) {
4144
- Le[m ? "unshift" : "push"](() => {
4141
+ function le(m) {
4142
+ we[m ? "unshift" : "push"](() => {
4145
4143
  d = m, r(3, d);
4146
4144
  });
4147
4145
  }
@@ -4152,16 +4150,16 @@ function _i(e, t, r) {
4152
4150
  19 && r(7, n = () => {
4153
4151
  if (y <= 0)
4154
4152
  return 100;
4155
- const m = H(s, o), w = 100 / m;
4156
- return Math.floor((m - y) * w);
4153
+ const m = H(s, o), O = 100 / m;
4154
+ return Math.floor((m - y) * O);
4157
4155
  }), e.$$.dirty & /*startdate, enddate, tournamentLeftDays*/
4158
- 19 && s && o && E() && B(y), e.$$.dirty & /*lang*/
4159
- 4096 && h && E(), e.$$.dirty & /*lang, tournamentLeftDays*/
4156
+ 19 && s && o && _() && B(y), e.$$.dirty & /*lang*/
4157
+ 4096 && h && _(), e.$$.dirty & /*lang, tournamentLeftDays*/
4160
4158
  4112 && h && B(y), e.$$.dirty & /*translationurl*/
4161
4159
  32768 && f && S(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4162
- 8200 && u && d && hi(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4163
- 16392 && l && d && li(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4164
- 65544 && c && d && fi(d, `${c}.Style`);
4160
+ 8200 && u && d && ui(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4161
+ 16392 && l && d && hi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4162
+ 65544 && c && d && li(d, `${c}.Style`);
4165
4163
  }, [
4166
4164
  s,
4167
4165
  o,
@@ -4172,7 +4170,7 @@ function _i(e, t, r) {
4172
4170
  A,
4173
4171
  n,
4174
4172
  i,
4175
- E,
4173
+ _,
4176
4174
  p,
4177
4175
  B,
4178
4176
  h,
@@ -4180,17 +4178,17 @@ function _i(e, t, r) {
4180
4178
  l,
4181
4179
  f,
4182
4180
  c,
4183
- fe
4181
+ le
4184
4182
  ];
4185
4183
  }
4186
- class xi extends yr {
4184
+ class _i extends br {
4187
4185
  constructor(t) {
4188
- super(), gr(
4186
+ super(), pr(
4189
4187
  this,
4190
4188
  t,
4191
- _i,
4192
4189
  Ei,
4193
- bt,
4190
+ yi,
4191
+ gt,
4194
4192
  {
4195
4193
  startdate: 0,
4196
4194
  enddate: 1,
@@ -4201,7 +4199,7 @@ class xi extends yr {
4201
4199
  translationurl: 15,
4202
4200
  mbsource: 16
4203
4201
  },
4204
- ci
4202
+ fi
4205
4203
  );
4206
4204
  }
4207
4205
  get startdate() {
@@ -4253,7 +4251,7 @@ class xi extends yr {
4253
4251
  this.$$set({ mbsource: t }), D();
4254
4252
  }
4255
4253
  }
4256
- br(xi, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4254
+ gr(_i, { startdate: {}, enddate: {}, status: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4257
4255
  export {
4258
- xi as default
4256
+ _i as default
4259
4257
  };