@everymatrix/casino-tournaments-thumbnail-duration 1.77.20 → 1.77.21

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