@everymatrix/casino-tournaments-thumbnail 1.47.0 → 1.47.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var hr = Object.defineProperty, fr = Object.defineProperties;
2
- var cr = Object.getOwnPropertyDescriptors;
3
- var tt = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
- var Be = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
1
+ var fr = Object.defineProperty, cr = Object.defineProperties;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var dr = Object.prototype.hasOwnProperty, br = Object.prototype.propertyIsEnumerable;
5
+ var Pe = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- mr.call(t, r) && Be(e, r, t[r]);
8
- if (tt)
9
- for (var r of tt(t))
10
- dr.call(t, r) && Be(e, r, t[r]);
7
+ dr.call(t, r) && Pe(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ br.call(t, r) && Pe(e, r, t[r]);
11
11
  return e;
12
- }, nt = (e, t) => fr(e, cr(t));
13
- var L = (e, t, r) => Be(e, typeof t != "symbol" ? t + "" : t, r);
14
- var it = (e, t, r) => new Promise((n, i) => {
12
+ }, st = (e, t) => cr(e, mr(t));
13
+ var D = (e, t, r) => Pe(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var at = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  o(r.next(l));
@@ -27,52 +27,52 @@ var it = (e, t, r) => new Promise((n, i) => {
27
27
  }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
28
  o((r = r.apply(e, t)).next());
29
29
  });
30
- function D() {
30
+ function k() {
31
31
  }
32
- function Ct(e) {
32
+ function Pt(e) {
33
33
  return e();
34
34
  }
35
- function st() {
35
+ function ot() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function re(e) {
39
- e.forEach(Ct);
38
+ function ne(e) {
39
+ e.forEach(Pt);
40
40
  }
41
- function fe(e) {
41
+ function ce(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Bt(e, t) {
44
+ function Nt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function br(e) {
47
+ function gr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Pt(e, ...t) {
50
+ function It(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return D;
54
+ return k;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function gr(e, t, r) {
60
- e.$$.on_destroy.push(Pt(t, r));
59
+ function pr(e, t, r) {
60
+ e.$$.on_destroy.push(It(t, r));
61
61
  }
62
- function ce(e) {
63
- return e && fe(e.destroy) ? e.destroy : D;
62
+ function me(e) {
63
+ return e && ce(e.destroy) ? e.destroy : k;
64
64
  }
65
65
  function S(e, t) {
66
66
  e.appendChild(t);
67
67
  }
68
- function pr(e, t, r) {
69
- const n = yr(e);
68
+ function yr(e, t, r) {
69
+ const n = Er(e);
70
70
  if (!n.getElementById(t)) {
71
- const i = N("style");
72
- i.id = t, i.textContent = r, Er(n, i);
71
+ const i = I("style");
72
+ i.id = t, i.textContent = r, _r(n, i);
73
73
  }
74
74
  }
75
- function yr(e) {
75
+ function Er(e) {
76
76
  if (!e) return document;
77
77
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
78
78
  return t && /** @type {ShadowRoot} */
@@ -81,48 +81,48 @@ function yr(e) {
81
81
  t
82
82
  ) : e.ownerDocument;
83
83
  }
84
- function Er(e, t) {
84
+ function _r(e, t) {
85
85
  return S(
86
86
  /** @type {Document} */
87
87
  e.head || e,
88
88
  t
89
89
  ), t.sheet;
90
90
  }
91
- function G(e, t, r) {
91
+ function F(e, t, r) {
92
92
  e.insertBefore(t, r || null);
93
93
  }
94
94
  function U(e) {
95
95
  e.parentNode && e.parentNode.removeChild(e);
96
96
  }
97
- function N(e) {
97
+ function I(e) {
98
98
  return document.createElement(e);
99
99
  }
100
100
  function M(e) {
101
101
  return document.createTextNode(e);
102
102
  }
103
- function V() {
103
+ function J() {
104
104
  return M(" ");
105
105
  }
106
- function _r() {
106
+ function vr() {
107
107
  return M("");
108
108
  }
109
- function vr(e, t, r, n) {
109
+ function xr(e, t, r, n) {
110
110
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
111
111
  }
112
- function x(e, t, r) {
112
+ function E(e, t, r) {
113
113
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
114
114
  }
115
- function xr(e) {
115
+ function Sr(e) {
116
116
  return Array.from(e.childNodes);
117
117
  }
118
118
  function $(e, t) {
119
119
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
120
120
  t);
121
121
  }
122
- function Le(e, t, r, n) {
122
+ function De(e, t, r, n) {
123
123
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
124
124
  }
125
- function Sr(e) {
125
+ function Tr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -131,93 +131,93 @@ function Sr(e) {
131
131
  }
132
132
  ), t;
133
133
  }
134
- let ue;
135
- function oe(e) {
136
- ue = e;
134
+ let le;
135
+ function ue(e) {
136
+ le = e;
137
137
  }
138
- function Tr() {
139
- if (!ue) throw new Error("Function called outside component initialization");
140
- return ue;
138
+ function Ar() {
139
+ if (!le) throw new Error("Function called outside component initialization");
140
+ return le;
141
141
  }
142
- function Ar(e) {
143
- Tr().$$.on_mount.push(e);
142
+ function Hr(e) {
143
+ Ar().$$.on_mount.push(e);
144
144
  }
145
- const Q = [], De = [];
146
- let q = [];
147
- const at = [], Hr = /* @__PURE__ */ Promise.resolve();
145
+ const q = [], ke = [];
146
+ let Y = [];
147
+ const ut = [], Cr = /* @__PURE__ */ Promise.resolve();
148
148
  let Ue = !1;
149
- function Cr() {
150
- Ue || (Ue = !0, Hr.then(C));
149
+ function Br() {
150
+ Ue || (Ue = !0, Cr.then(P));
151
151
  }
152
- function ke(e) {
153
- q.push(e);
152
+ function Ge(e) {
153
+ Y.push(e);
154
154
  }
155
- const Pe = /* @__PURE__ */ new Set();
156
- let W = 0;
157
- function C() {
158
- if (W !== 0)
155
+ const Ne = /* @__PURE__ */ new Set();
156
+ let Z = 0;
157
+ function P() {
158
+ if (Z !== 0)
159
159
  return;
160
- const e = ue;
160
+ const e = le;
161
161
  do {
162
162
  try {
163
- for (; W < Q.length; ) {
164
- const t = Q[W];
165
- W++, oe(t), Br(t.$$);
163
+ for (; Z < q.length; ) {
164
+ const t = q[Z];
165
+ Z++, ue(t), Pr(t.$$);
166
166
  }
167
167
  } catch (t) {
168
- throw Q.length = 0, W = 0, t;
168
+ throw q.length = 0, Z = 0, t;
169
169
  }
170
- for (oe(null), Q.length = 0, W = 0; De.length; ) De.pop()();
171
- for (let t = 0; t < q.length; t += 1) {
172
- const r = q[t];
173
- Pe.has(r) || (Pe.add(r), r());
170
+ for (ue(null), q.length = 0, Z = 0; ke.length; ) ke.pop()();
171
+ for (let t = 0; t < Y.length; t += 1) {
172
+ const r = Y[t];
173
+ Ne.has(r) || (Ne.add(r), r());
174
174
  }
175
- q.length = 0;
176
- } while (Q.length);
177
- for (; at.length; )
178
- at.pop()();
179
- Ue = !1, Pe.clear(), oe(e);
175
+ Y.length = 0;
176
+ } while (q.length);
177
+ for (; ut.length; )
178
+ ut.pop()();
179
+ Ue = !1, Ne.clear(), ue(e);
180
180
  }
181
- function Br(e) {
181
+ function Pr(e) {
182
182
  if (e.fragment !== null) {
183
- e.update(), re(e.before_update);
183
+ e.update(), ne(e.before_update);
184
184
  const t = e.dirty;
185
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
185
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
186
186
  }
187
187
  }
188
- function Pr(e) {
188
+ function Nr(e) {
189
189
  const t = [], r = [];
190
- q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
190
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
191
191
  }
192
192
  const Ir = /* @__PURE__ */ new Set();
193
- function Nr(e, t) {
193
+ function wr(e, t) {
194
194
  e && e.i && (Ir.delete(e), e.i(t));
195
195
  }
196
- function wr(e, t, r) {
196
+ function Or(e, t, r) {
197
197
  const { fragment: n, after_update: i } = e.$$;
198
- n && n.m(t, r), ke(() => {
199
- const s = e.$$.on_mount.map(Ct).filter(fe);
200
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
201
- }), i.forEach(ke);
198
+ n && n.m(t, r), Ge(() => {
199
+ const s = e.$$.on_mount.map(Pt).filter(ce);
200
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
201
+ }), i.forEach(Ge);
202
202
  }
203
- function Or(e, t) {
203
+ function Mr(e, t) {
204
204
  const r = e.$$;
205
- r.fragment !== null && (Pr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
205
+ r.fragment !== null && (Nr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
206
206
  }
207
- function Mr(e, t) {
208
- e.$$.dirty[0] === -1 && (Q.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
+ function Rr(e, t) {
208
+ e.$$.dirty[0] === -1 && (q.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
209
209
  }
210
- function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
211
- const l = ue;
212
- oe(e);
210
+ function Lr(e, t, r, n, i, s, a = null, o = [-1]) {
211
+ const l = le;
212
+ ue(e);
213
213
  const u = e.$$ = {
214
214
  fragment: null,
215
215
  ctx: [],
216
216
  // state
217
217
  props: s,
218
- update: D,
218
+ update: k,
219
219
  not_equal: i,
220
- bound: st(),
220
+ bound: ot(),
221
221
  // lifecycle
222
222
  on_mount: [],
223
223
  on_destroy: [],
@@ -226,48 +226,48 @@ function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
226
226
  after_update: [],
227
227
  context: new Map(t.context || (l ? l.$$.context : [])),
228
228
  // everything else
229
- callbacks: st(),
229
+ callbacks: ot(),
230
230
  dirty: o,
231
231
  skip_bound: !1,
232
232
  root: t.target || l.$$.root
233
233
  };
234
234
  a && a(u.root);
235
235
  let h = !1;
236
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...E) => {
237
- const d = E.length ? E[0] : c;
238
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Mr(e, f)), c;
239
- }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
236
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ..._) => {
237
+ const d = _.length ? _[0] : c;
238
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && Rr(e, f)), c;
239
+ }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
240
  if (t.hydrate) {
241
- const f = xr(t.target);
241
+ const f = Sr(t.target);
242
242
  u.fragment && u.fragment.l(f), f.forEach(U);
243
243
  } else
244
244
  u.fragment && u.fragment.c();
245
- t.intro && Nr(e.$$.fragment), wr(e, t.target, t.anchor), C();
245
+ t.intro && wr(e.$$.fragment), Or(e, t.target, t.anchor), P();
246
246
  }
247
- oe(l);
247
+ ue(l);
248
248
  }
249
- let It;
250
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
249
+ let wt;
250
+ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
251
251
  constructor(t, r, n) {
252
252
  super();
253
253
  /** The Svelte component constructor */
254
- L(this, "$$ctor");
254
+ D(this, "$$ctor");
255
255
  /** Slots */
256
- L(this, "$$s");
256
+ D(this, "$$s");
257
257
  /** The Svelte component instance */
258
- L(this, "$$c");
258
+ D(this, "$$c");
259
259
  /** Whether or not the custom element is connected */
260
- L(this, "$$cn", !1);
260
+ D(this, "$$cn", !1);
261
261
  /** Component props data */
262
- L(this, "$$d", {});
262
+ D(this, "$$d", {});
263
263
  /** `true` if currently in the process of reflecting component props back to attributes */
264
- L(this, "$$r", !1);
264
+ D(this, "$$r", !1);
265
265
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
266
- L(this, "$$p_d", {});
266
+ D(this, "$$p_d", {});
267
267
  /** @type {Record<string, Function[]>} Event listeners */
268
- L(this, "$$l", {});
268
+ D(this, "$$l", {});
269
269
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
270
- L(this, "$$l_u", /* @__PURE__ */ new Map());
270
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
271
271
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
272
272
  }
273
273
  addEventListener(t, r, n) {
@@ -284,21 +284,21 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
284
284
  }
285
285
  }
286
286
  connectedCallback() {
287
- return it(this, null, function* () {
287
+ return at(this, null, function* () {
288
288
  if (this.$$cn = !0, !this.$$c) {
289
289
  let t = function(s) {
290
290
  return () => {
291
291
  let a;
292
292
  return {
293
293
  c: function() {
294
- a = N("slot"), s !== "default" && x(a, "name", s);
294
+ a = I("slot"), s !== "default" && E(a, "name", s);
295
295
  },
296
296
  /**
297
297
  * @param {HTMLElement} target
298
298
  * @param {HTMLElement} [anchor]
299
299
  */
300
300
  m: function(u, h) {
301
- G(u, a, h);
301
+ F(u, a, h);
302
302
  },
303
303
  d: function(u) {
304
304
  u && U(a);
@@ -308,18 +308,18 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
308
308
  };
309
309
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
310
310
  return;
311
- const r = {}, n = Sr(this);
311
+ const r = {}, n = Tr(this);
312
312
  for (const s of this.$$s)
313
313
  s in n && (r[s] = [t(s)]);
314
314
  for (const s of this.attributes) {
315
315
  const a = this.$$g_p(s.name);
316
- a in this.$$d || (this.$$d[a] = be(a, s.value, this.$$p_d, "toProp"));
316
+ a in this.$$d || (this.$$d[a] = ge(a, s.value, this.$$p_d, "toProp"));
317
317
  }
318
318
  for (const s in this.$$p_d)
319
319
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
320
320
  this.$$c = new this.$$ctor({
321
321
  target: this.shadowRoot || this,
322
- props: nt(rt({}, this.$$d), {
322
+ props: st(it({}, this.$$d), {
323
323
  $$slots: r,
324
324
  $$scope: {
325
325
  ctx: []
@@ -330,7 +330,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
330
330
  this.$$r = !0;
331
331
  for (const s in this.$$p_d)
332
332
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
333
- const a = be(
333
+ const a = ge(
334
334
  s,
335
335
  this.$$d[s],
336
336
  this.$$p_d,
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
354
354
  // and setting attributes through setAttribute etc, this is helpful
355
355
  attributeChangedCallback(t, r, n) {
356
356
  var i;
357
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
357
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ge(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
358
358
  }
359
359
  disconnectedCallback() {
360
360
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
367
367
  ) || t;
368
368
  }
369
369
  });
370
- function be(e, t, r, n) {
370
+ function ge(e, t, r, n) {
371
371
  var s;
372
372
  const i = (s = r[e]) == null ? void 0 : s.type;
373
373
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -397,8 +397,8 @@ function be(e, t, r, n) {
397
397
  return t;
398
398
  }
399
399
  }
400
- function Lr(e, t, r, n, i, s) {
401
- let a = class extends It {
400
+ function Dr(e, t, r, n, i, s) {
401
+ let a = class extends wt {
402
402
  constructor() {
403
403
  super(e, r, i), this.$$p_d = t;
404
404
  }
@@ -415,7 +415,7 @@ function Lr(e, t, r, n, i, s) {
415
415
  },
416
416
  set(l) {
417
417
  var u;
418
- l = be(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
418
+ l = ge(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
419
419
  }
420
420
  });
421
421
  }), n.forEach((o) => {
@@ -428,7 +428,7 @@ function Lr(e, t, r, n, i, s) {
428
428
  }), e.element = /** @type {any} */
429
429
  a, a;
430
430
  }
431
- class Dr {
431
+ class kr {
432
432
  constructor() {
433
433
  /**
434
434
  * ### PRIVATE API
@@ -437,7 +437,7 @@ class Dr {
437
437
  *
438
438
  * @type {any}
439
439
  */
440
- L(this, "$$");
440
+ D(this, "$$");
441
441
  /**
442
442
  * ### PRIVATE API
443
443
  *
@@ -445,11 +445,11 @@ class Dr {
445
445
  *
446
446
  * @type {any}
447
447
  */
448
- L(this, "$$set");
448
+ D(this, "$$set");
449
449
  }
450
450
  /** @returns {void} */
451
451
  $destroy() {
452
- Or(this, 1), this.$destroy = D;
452
+ Mr(this, 1), this.$destroy = k;
453
453
  }
454
454
  /**
455
455
  * @template {Extract<keyof Events, string>} K
@@ -458,8 +458,8 @@ class Dr {
458
458
  * @returns {() => void}
459
459
  */
460
460
  $on(t, r) {
461
- if (!fe(r))
462
- return D;
461
+ if (!ce(r))
462
+ return k;
463
463
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
464
464
  return n.push(r), () => {
465
465
  const i = n.indexOf(r);
@@ -471,60 +471,60 @@ class Dr {
471
471
  * @returns {void}
472
472
  */
473
473
  $set(t) {
474
- this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
474
+ this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
475
475
  }
476
476
  }
477
477
  const Ur = "4";
478
478
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
479
- const Z = [];
480
- function kr(e, t) {
479
+ const Q = [];
480
+ function Gr(e, t) {
481
481
  return {
482
- subscribe: _e(e, t).subscribe
482
+ subscribe: ve(e, t).subscribe
483
483
  };
484
484
  }
485
- function _e(e, t = D) {
485
+ function ve(e, t = k) {
486
486
  let r;
487
487
  const n = /* @__PURE__ */ new Set();
488
488
  function i(o) {
489
- if (Bt(e, o) && (e = o, r)) {
490
- const l = !Z.length;
489
+ if (Nt(e, o) && (e = o, r)) {
490
+ const l = !Q.length;
491
491
  for (const u of n)
492
- u[1](), Z.push(u, e);
492
+ u[1](), Q.push(u, e);
493
493
  if (l) {
494
- for (let u = 0; u < Z.length; u += 2)
495
- Z[u][0](Z[u + 1]);
496
- Z.length = 0;
494
+ for (let u = 0; u < Q.length; u += 2)
495
+ Q[u][0](Q[u + 1]);
496
+ Q.length = 0;
497
497
  }
498
498
  }
499
499
  }
500
500
  function s(o) {
501
501
  i(o(e));
502
502
  }
503
- function a(o, l = D) {
503
+ function a(o, l = k) {
504
504
  const u = [o, l];
505
- return n.add(u), n.size === 1 && (r = t(i, s) || D), o(e), () => {
505
+ return n.add(u), n.size === 1 && (r = t(i, s) || k), o(e), () => {
506
506
  n.delete(u), n.size === 0 && r && (r(), r = null);
507
507
  };
508
508
  }
509
509
  return { set: i, update: s, subscribe: a };
510
510
  }
511
- function ne(e, t, r) {
511
+ function ie(e, t, r) {
512
512
  const n = !Array.isArray(e), i = n ? [e] : e;
513
513
  if (!i.every(Boolean))
514
514
  throw new Error("derived() expects stores as input, got a falsy value");
515
515
  const s = t.length < 2;
516
- return kr(r, (a, o) => {
516
+ return Gr(r, (a, o) => {
517
517
  let l = !1;
518
518
  const u = [];
519
- let h = 0, f = D;
519
+ let h = 0, f = k;
520
520
  const c = () => {
521
521
  if (h)
522
522
  return;
523
523
  f();
524
524
  const d = t(n ? u[0] : u, a, o);
525
- s ? a(d) : f = fe(d) ? d : D;
526
- }, E = i.map(
527
- (d, b) => Pt(
525
+ s ? a(d) : f = ce(d) ? d : k;
526
+ }, _ = i.map(
527
+ (d, b) => It(
528
528
  d,
529
529
  (g) => {
530
530
  u[b] = g, h &= ~(1 << b), l && c();
@@ -535,84 +535,84 @@ function ne(e, t, r) {
535
535
  )
536
536
  );
537
537
  return l = !0, c(), function() {
538
- re(E), f(), l = !1;
538
+ ne(_), f(), l = !1;
539
539
  };
540
540
  });
541
541
  }
542
542
  function Fr(e) {
543
543
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
544
544
  }
545
- var Gr = function(t) {
546
- return $r(t) && !jr(t);
545
+ var $r = function(t) {
546
+ return jr(t) && !Vr(t);
547
547
  };
548
- function $r(e) {
548
+ function jr(e) {
549
549
  return !!e && typeof e == "object";
550
550
  }
551
- function jr(e) {
551
+ function Vr(e) {
552
552
  var t = Object.prototype.toString.call(e);
553
- return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
554
- }
555
- var Vr = typeof Symbol == "function" && Symbol.for, zr = Vr ? Symbol.for("react.element") : 60103;
556
- function Jr(e) {
557
- return e.$$typeof === zr;
553
+ return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
558
554
  }
555
+ var zr = typeof Symbol == "function" && Symbol.for, Jr = zr ? Symbol.for("react.element") : 60103;
559
556
  function Xr(e) {
557
+ return e.$$typeof === Jr;
558
+ }
559
+ function Wr(e) {
560
560
  return Array.isArray(e) ? [] : {};
561
561
  }
562
- function le(e, t) {
563
- return t.clone !== !1 && t.isMergeableObject(e) ? Y(Xr(e), e, t) : e;
562
+ function he(e, t) {
563
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Wr(e), e, t) : e;
564
564
  }
565
- function Wr(e, t, r) {
565
+ function Zr(e, t, r) {
566
566
  return e.concat(t).map(function(n) {
567
- return le(n, r);
567
+ return he(n, r);
568
568
  });
569
569
  }
570
- function Zr(e, t) {
570
+ function Qr(e, t) {
571
571
  if (!t.customMerge)
572
- return Y;
572
+ return K;
573
573
  var r = t.customMerge(e);
574
- return typeof r == "function" ? r : Y;
574
+ return typeof r == "function" ? r : K;
575
575
  }
576
- function Qr(e) {
576
+ function qr(e) {
577
577
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
578
578
  return Object.propertyIsEnumerable.call(e, t);
579
579
  }) : [];
580
580
  }
581
- function ot(e) {
582
- return Object.keys(e).concat(Qr(e));
581
+ function lt(e) {
582
+ return Object.keys(e).concat(qr(e));
583
583
  }
584
- function Nt(e, t) {
584
+ function Ot(e, t) {
585
585
  try {
586
586
  return t in e;
587
587
  } catch (r) {
588
588
  return !1;
589
589
  }
590
590
  }
591
- function qr(e, t) {
592
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
591
+ function Yr(e, t) {
592
+ return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
593
593
  }
594
- function Yr(e, t, r) {
594
+ function Kr(e, t, r) {
595
595
  var n = {};
596
- return r.isMergeableObject(e) && ot(e).forEach(function(i) {
597
- n[i] = le(e[i], r);
598
- }), ot(t).forEach(function(i) {
599
- qr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
596
+ return r.isMergeableObject(e) && lt(e).forEach(function(i) {
597
+ n[i] = he(e[i], r);
598
+ }), lt(t).forEach(function(i) {
599
+ Yr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
600
600
  }), n;
601
601
  }
602
- function Y(e, t, r) {
603
- r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = le;
602
+ function K(e, t, r) {
603
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = he;
604
604
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
605
- return s ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : le(t, r);
605
+ return s ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : he(t, r);
606
606
  }
607
- Y.all = function(t, r) {
607
+ K.all = function(t, r) {
608
608
  if (!Array.isArray(t))
609
609
  throw new Error("first argument should be an array");
610
610
  return t.reduce(function(n, i) {
611
- return Y(n, i, r);
611
+ return K(n, i, r);
612
612
  }, {});
613
613
  };
614
- var Kr = Y, en = Kr;
615
- const tn = /* @__PURE__ */ Fr(en);
614
+ var en = K, tn = en;
615
+ const rn = /* @__PURE__ */ Fr(tn);
616
616
  var Fe = function(e, t) {
617
617
  return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
618
618
  r.__proto__ = n;
@@ -620,7 +620,7 @@ var Fe = function(e, t) {
620
620
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
621
621
  }, Fe(e, t);
622
622
  };
623
- function ve(e, t) {
623
+ function xe(e, t) {
624
624
  if (typeof t != "function" && t !== null)
625
625
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
626
626
  Fe(e, t);
@@ -629,16 +629,16 @@ function ve(e, t) {
629
629
  }
630
630
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
631
631
  }
632
- var v = function() {
633
- return v = Object.assign || function(t) {
632
+ var x = function() {
633
+ return x = Object.assign || function(t) {
634
634
  for (var r, n = 1, i = arguments.length; n < i; n++) {
635
635
  r = arguments[n];
636
636
  for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
637
637
  }
638
638
  return t;
639
- }, v.apply(this, arguments);
639
+ }, x.apply(this, arguments);
640
640
  };
641
- function rn(e, t) {
641
+ function nn(e, t) {
642
642
  var r = {};
643
643
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
644
644
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -659,47 +659,47 @@ var A;
659
659
  (function(e) {
660
660
  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";
661
661
  })(A || (A = {}));
662
- var K;
662
+ var ee;
663
663
  (function(e) {
664
664
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
665
- })(K || (K = {}));
666
- function ut(e) {
665
+ })(ee || (ee = {}));
666
+ function ht(e) {
667
667
  return e.type === A.literal;
668
668
  }
669
- function nn(e) {
669
+ function sn(e) {
670
670
  return e.type === A.argument;
671
671
  }
672
- function wt(e) {
672
+ function Mt(e) {
673
673
  return e.type === A.number;
674
674
  }
675
- function Ot(e) {
675
+ function Rt(e) {
676
676
  return e.type === A.date;
677
677
  }
678
- function Mt(e) {
678
+ function Lt(e) {
679
679
  return e.type === A.time;
680
680
  }
681
- function Rt(e) {
681
+ function Dt(e) {
682
682
  return e.type === A.select;
683
683
  }
684
- function Lt(e) {
684
+ function kt(e) {
685
685
  return e.type === A.plural;
686
686
  }
687
- function sn(e) {
687
+ function an(e) {
688
688
  return e.type === A.pound;
689
689
  }
690
- function Dt(e) {
690
+ function Ut(e) {
691
691
  return e.type === A.tag;
692
692
  }
693
- function Ut(e) {
694
- return !!(e && typeof e == "object" && e.type === K.number);
693
+ function Gt(e) {
694
+ return !!(e && typeof e == "object" && e.type === ee.number);
695
695
  }
696
- function Ge(e) {
697
- return !!(e && typeof e == "object" && e.type === K.dateTime);
696
+ function $e(e) {
697
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
698
698
  }
699
- var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
700
- function on(e) {
699
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
700
+ function un(e) {
701
701
  var t = {};
702
- return e.replace(an, function(r) {
702
+ return e.replace(on, function(r) {
703
703
  var n = r.length;
704
704
  switch (r[0]) {
705
705
  case "G":
@@ -788,11 +788,11 @@ function on(e) {
788
788
  return "";
789
789
  }), t;
790
790
  }
791
- var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
792
- function ln(e) {
791
+ var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
792
+ function hn(e) {
793
793
  if (e.length === 0)
794
794
  throw new Error("Number skeleton cannot be empty");
795
- for (var t = e.split(un).filter(function(c) {
795
+ for (var t = e.split(ln).filter(function(c) {
796
796
  return c.length > 0;
797
797
  }), r = [], n = 0, i = t; n < i.length; n++) {
798
798
  var s = i[n], a = s.split("/");
@@ -807,17 +807,17 @@ function ln(e) {
807
807
  }
808
808
  return r;
809
809
  }
810
- function hn(e) {
810
+ function fn(e) {
811
811
  return e.replace(/^(.*?)-/, "");
812
812
  }
813
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, Gt = /^(0+)$/;
814
- function ht(e) {
813
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
814
+ function ct(e) {
815
815
  var t = {};
816
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
816
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
817
817
  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)), "";
818
818
  }), t;
819
819
  }
820
- function $t(e) {
820
+ function Vt(e) {
821
821
  switch (e) {
822
822
  case "sign-auto":
823
823
  return {
@@ -857,7 +857,7 @@ function $t(e) {
857
857
  };
858
858
  }
859
859
  }
860
- function cn(e) {
860
+ function mn(e) {
861
861
  var t;
862
862
  if (e[0] === "E" && e[1] === "E" ? (t = {
863
863
  notation: "engineering"
@@ -865,17 +865,17 @@ function cn(e) {
865
865
  notation: "scientific"
866
866
  }, e = e.slice(1)), t) {
867
867
  var r = e.slice(0, 2);
868
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gt.test(e))
868
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
869
869
  throw new Error("Malformed concise eng/scientific notation");
870
870
  t.minimumIntegerDigits = e.length;
871
871
  }
872
872
  return t;
873
873
  }
874
- function ft(e) {
875
- var t = {}, r = $t(e);
874
+ function mt(e) {
875
+ var t = {}, r = Vt(e);
876
876
  return r || t;
877
877
  }
878
- function mn(e) {
878
+ function dn(e) {
879
879
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
880
880
  var i = n[r];
881
881
  switch (i.stem) {
@@ -899,7 +899,7 @@ function mn(e) {
899
899
  continue;
900
900
  case "measure-unit":
901
901
  case "unit":
902
- t.style = "unit", t.unit = hn(i.options[0]);
902
+ t.style = "unit", t.unit = fn(i.options[0]);
903
903
  continue;
904
904
  case "compact-short":
905
905
  case "K":
@@ -910,13 +910,13 @@ function mn(e) {
910
910
  t.notation = "compact", t.compactDisplay = "long";
911
911
  continue;
912
912
  case "scientific":
913
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
914
- return v(v({}, l), ft(u));
913
+ t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
914
+ return x(x({}, l), mt(u));
915
915
  }, {}));
916
916
  continue;
917
917
  case "engineering":
918
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
919
- return v(v({}, l), ft(u));
918
+ t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
919
+ return x(x({}, l), mt(u));
920
920
  }, {}));
921
921
  continue;
922
922
  case "notation-simple":
@@ -961,45 +961,45 @@ function mn(e) {
961
961
  case "integer-width":
962
962
  if (i.options.length > 1)
963
963
  throw new RangeError("integer-width stems only accept a single optional option");
964
- i.options[0].replace(fn, function(l, u, h, f, c, E) {
964
+ i.options[0].replace(cn, function(l, u, h, f, c, _) {
965
965
  if (u)
966
966
  t.minimumIntegerDigits = h.length;
967
967
  else {
968
968
  if (f && c)
969
969
  throw new Error("We currently do not support maximum integer digits");
970
- if (E)
970
+ if (_)
971
971
  throw new Error("We currently do not support exact integer digits");
972
972
  }
973
973
  return "";
974
974
  });
975
975
  continue;
976
976
  }
977
- if (Gt.test(i.stem)) {
977
+ if (jt.test(i.stem)) {
978
978
  t.minimumIntegerDigits = i.stem.length;
979
979
  continue;
980
980
  }
981
- if (lt.test(i.stem)) {
981
+ if (ft.test(i.stem)) {
982
982
  if (i.options.length > 1)
983
983
  throw new RangeError("Fraction-precision stems only accept a single optional option");
984
- i.stem.replace(lt, function(l, u, h, f, c, E) {
985
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && E ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
984
+ i.stem.replace(ft, function(l, u, h, f, c, _) {
985
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && _ ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
986
986
  });
987
987
  var s = i.options[0];
988
- s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), ht(s)));
988
+ s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ct(s)));
989
989
  continue;
990
990
  }
991
- if (Ft.test(i.stem)) {
992
- t = v(v({}, t), ht(i.stem));
991
+ if ($t.test(i.stem)) {
992
+ t = x(x({}, t), ct(i.stem));
993
993
  continue;
994
994
  }
995
- var a = $t(i.stem);
996
- a && (t = v(v({}, t), a));
997
- var o = cn(i.stem);
998
- o && (t = v(v({}, t), o));
995
+ var a = Vt(i.stem);
996
+ a && (t = x(x({}, t), a));
997
+ var o = mn(i.stem);
998
+ o && (t = x(x({}, t), o));
999
999
  }
1000
1000
  return t;
1001
1001
  }
1002
- var de = {
1002
+ var be = {
1003
1003
  "001": [
1004
1004
  "H",
1005
1005
  "h"
@@ -2408,13 +2408,13 @@ var de = {
2408
2408
  "h"
2409
2409
  ]
2410
2410
  };
2411
- function dn(e, t) {
2411
+ function bn(e, t) {
2412
2412
  for (var r = "", n = 0; n < e.length; n++) {
2413
2413
  var i = e.charAt(n);
2414
2414
  if (i === "j") {
2415
2415
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2416
2416
  s++, n++;
2417
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bn(t);
2417
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = gn(t);
2418
2418
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2419
2419
  r += l;
2420
2420
  for (; a-- > 0; )
@@ -2423,7 +2423,7 @@ function dn(e, t) {
2423
2423
  }
2424
2424
  return r;
2425
2425
  }
2426
- function bn(e) {
2426
+ function gn(e) {
2427
2427
  var t = e.hourCycle;
2428
2428
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2429
2429
  e.hourCycles && // @ts-ignore
@@ -2442,23 +2442,23 @@ function bn(e) {
2442
2442
  }
2443
2443
  var r = e.language, n;
2444
2444
  r !== "root" && (n = e.maximize().region);
2445
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2445
+ var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2446
2446
  return i[0];
2447
2447
  }
2448
- var Ne, gn = new RegExp("^".concat(kt.source, "*")), pn = new RegExp("".concat(kt.source, "*$"));
2449
- function _(e, t) {
2448
+ var we, pn = new RegExp("^".concat(Ft.source, "*")), yn = new RegExp("".concat(Ft.source, "*$"));
2449
+ function v(e, t) {
2450
2450
  return { start: e, end: t };
2451
2451
  }
2452
- var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, _n = !!Object.fromEntries, vn = !!String.prototype.codePointAt, xn = !!String.prototype.trimStart, Sn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, An = Tn ? Number.isSafeInteger : function(e) {
2452
+ var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, vn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Hn = An ? Number.isSafeInteger : function(e) {
2453
2453
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2454
- }, $e = !0;
2454
+ }, je = !0;
2455
2455
  try {
2456
- var Hn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2457
- $e = ((Ne = Hn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2456
+ var Cn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2457
+ je = ((we = Cn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2458
2458
  } catch (e) {
2459
- $e = !1;
2459
+ je = !1;
2460
2460
  }
2461
- var ct = yn ? (
2461
+ var dt = En ? (
2462
2462
  // Native
2463
2463
  function(t, r, n) {
2464
2464
  return t.startsWith(r, n);
@@ -2468,7 +2468,7 @@ var ct = yn ? (
2468
2468
  function(t, r, n) {
2469
2469
  return t.slice(n, n + r.length) === r;
2470
2470
  }
2471
- ), je = En ? String.fromCodePoint : (
2471
+ ), Ve = _n ? String.fromCodePoint : (
2472
2472
  // IE11
2473
2473
  function() {
2474
2474
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2480,9 +2480,9 @@ var ct = yn ? (
2480
2480
  }
2481
2481
  return n;
2482
2482
  }
2483
- ), mt = (
2483
+ ), bt = (
2484
2484
  // native
2485
- _n ? Object.fromEntries : (
2485
+ vn ? Object.fromEntries : (
2486
2486
  // Ponyfill
2487
2487
  function(t) {
2488
2488
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2492,7 +2492,7 @@ var ct = yn ? (
2492
2492
  return r;
2493
2493
  }
2494
2494
  )
2495
- ), jt = vn ? (
2495
+ ), zt = xn ? (
2496
2496
  // Native
2497
2497
  function(t, r) {
2498
2498
  return t.codePointAt(r);
@@ -2506,7 +2506,7 @@ var ct = yn ? (
2506
2506
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2507
2507
  }
2508
2508
  }
2509
- ), Cn = xn ? (
2509
+ ), Bn = Sn ? (
2510
2510
  // Native
2511
2511
  function(t) {
2512
2512
  return t.trimStart();
@@ -2514,9 +2514,9 @@ var ct = yn ? (
2514
2514
  ) : (
2515
2515
  // Ponyfill
2516
2516
  function(t) {
2517
- return t.replace(gn, "");
2517
+ return t.replace(pn, "");
2518
2518
  }
2519
- ), Bn = Sn ? (
2519
+ ), Pn = Tn ? (
2520
2520
  // Native
2521
2521
  function(t) {
2522
2522
  return t.trimEnd();
@@ -2524,32 +2524,32 @@ var ct = yn ? (
2524
2524
  ) : (
2525
2525
  // Ponyfill
2526
2526
  function(t) {
2527
- return t.replace(pn, "");
2527
+ return t.replace(yn, "");
2528
2528
  }
2529
2529
  );
2530
- function Vt(e, t) {
2530
+ function Jt(e, t) {
2531
2531
  return new RegExp(e, t);
2532
2532
  }
2533
- var Ve;
2534
- if ($e) {
2535
- var dt = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2536
- Ve = function(t, r) {
2533
+ var ze;
2534
+ if (je) {
2535
+ var gt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2536
+ ze = function(t, r) {
2537
2537
  var n;
2538
- dt.lastIndex = r;
2539
- var i = dt.exec(t);
2538
+ gt.lastIndex = r;
2539
+ var i = gt.exec(t);
2540
2540
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2541
2541
  };
2542
2542
  } else
2543
- Ve = function(t, r) {
2543
+ ze = function(t, r) {
2544
2544
  for (var n = []; ; ) {
2545
- var i = jt(t, r);
2546
- if (i === void 0 || zt(i) || wn(i))
2545
+ var i = zt(t, r);
2546
+ if (i === void 0 || Xt(i) || On(i))
2547
2547
  break;
2548
2548
  n.push(i), r += i >= 65536 ? 2 : 1;
2549
2549
  }
2550
- return je.apply(void 0, n);
2550
+ return Ve.apply(void 0, n);
2551
2551
  };
2552
- var Pn = (
2552
+ var Nn = (
2553
2553
  /** @class */
2554
2554
  function() {
2555
2555
  function e(t, r) {
@@ -2574,13 +2574,13 @@ var Pn = (
2574
2574
  var o = this.clonePosition();
2575
2575
  this.bump(), i.push({
2576
2576
  type: A.pound,
2577
- location: _(o, this.clonePosition())
2577
+ location: v(o, this.clonePosition())
2578
2578
  });
2579
2579
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2580
2580
  if (n)
2581
2581
  break;
2582
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2583
- } else if (s === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
2582
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2583
+ } else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
2584
2584
  var a = this.parseTag(t, r);
2585
2585
  if (a.err)
2586
2586
  return a;
@@ -2603,7 +2603,7 @@ var Pn = (
2603
2603
  val: {
2604
2604
  type: A.literal,
2605
2605
  value: "<".concat(i, "/>"),
2606
- location: _(n, this.clonePosition())
2606
+ location: v(n, this.clonePosition())
2607
2607
  },
2608
2608
  err: null
2609
2609
  };
@@ -2613,25 +2613,25 @@ var Pn = (
2613
2613
  return s;
2614
2614
  var a = s.val, o = this.clonePosition();
2615
2615
  if (this.bumpIf("</")) {
2616
- if (this.isEOF() || !ze(this.char()))
2617
- return this.error(y.INVALID_TAG, _(o, this.clonePosition()));
2616
+ if (this.isEOF() || !Je(this.char()))
2617
+ return this.error(y.INVALID_TAG, v(o, this.clonePosition()));
2618
2618
  var l = this.clonePosition(), u = this.parseTagName();
2619
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2619
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2620
2620
  val: {
2621
2621
  type: A.tag,
2622
2622
  value: i,
2623
2623
  children: a,
2624
- location: _(n, this.clonePosition())
2624
+ location: v(n, this.clonePosition())
2625
2625
  },
2626
2626
  err: null
2627
- } : this.error(y.INVALID_TAG, _(o, this.clonePosition())));
2627
+ } : this.error(y.INVALID_TAG, v(o, this.clonePosition())));
2628
2628
  } else
2629
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2629
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
2630
2630
  } else
2631
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2631
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
2632
2632
  }, e.prototype.parseTagName = function() {
2633
2633
  var t = this.offset();
2634
- for (this.bump(); !this.isEOF() && Nn(this.char()); )
2634
+ for (this.bump(); !this.isEOF() && wn(this.char()); )
2635
2635
  this.bump();
2636
2636
  return this.message.slice(t, this.offset());
2637
2637
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2653,7 +2653,7 @@ var Pn = (
2653
2653
  }
2654
2654
  break;
2655
2655
  }
2656
- var l = _(n, this.clonePosition());
2656
+ var l = v(n, this.clonePosition());
2657
2657
  return {
2658
2658
  val: { type: A.literal, value: i, location: l },
2659
2659
  err: null
@@ -2694,23 +2694,23 @@ var Pn = (
2694
2694
  r.push(n);
2695
2695
  this.bump();
2696
2696
  }
2697
- return je.apply(void 0, r);
2697
+ return Ve.apply(void 0, r);
2698
2698
  }, e.prototype.tryParseUnquoted = function(t, r) {
2699
2699
  if (this.isEOF())
2700
2700
  return null;
2701
2701
  var n = this.char();
2702
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
2702
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
2703
2703
  }, e.prototype.parseArgument = function(t, r) {
2704
2704
  var n = this.clonePosition();
2705
2705
  if (this.bump(), this.bumpSpace(), this.isEOF())
2706
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2706
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2707
2707
  if (this.char() === 125)
2708
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
2708
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
2709
2709
  var i = this.parseIdentifierIfPossible().value;
2710
2710
  if (!i)
2711
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2711
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2712
2712
  if (this.bumpSpace(), this.isEOF())
2713
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
2713
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
2714
2714
  switch (this.char()) {
2715
2715
  case 125:
2716
2716
  return this.bump(), {
@@ -2718,25 +2718,25 @@ var Pn = (
2718
2718
  type: A.argument,
2719
2719
  // value does not include the opening and closing braces.
2720
2720
  value: i,
2721
- location: _(n, this.clonePosition())
2721
+ location: v(n, this.clonePosition())
2722
2722
  },
2723
2723
  err: null
2724
2724
  };
2725
2725
  case 44:
2726
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2726
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2727
2727
  default:
2728
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
2728
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
2729
2729
  }
2730
2730
  }, e.prototype.parseIdentifierIfPossible = function() {
2731
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
2731
+ var t = this.clonePosition(), r = this.offset(), n = ze(this.message, r), i = r + n.length;
2732
2732
  this.bumpTo(i);
2733
- var s = this.clonePosition(), a = _(t, s);
2733
+ var s = this.clonePosition(), a = v(t, s);
2734
2734
  return { value: n, location: a };
2735
2735
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2736
2736
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2737
2737
  switch (o) {
2738
2738
  case "":
2739
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(a, l));
2739
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(a, l));
2740
2740
  case "number":
2741
2741
  case "date":
2742
2742
  case "time": {
@@ -2747,18 +2747,18 @@ var Pn = (
2747
2747
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2748
2748
  if (f.err)
2749
2749
  return f;
2750
- var c = Bn(f.val);
2750
+ var c = Pn(f.val);
2751
2751
  if (c.length === 0)
2752
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2753
- var E = _(h, this.clonePosition());
2754
- u = { style: c, styleLocation: E };
2752
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
2753
+ var _ = v(h, this.clonePosition());
2754
+ u = { style: c, styleLocation: _ };
2755
2755
  }
2756
2756
  var d = this.tryParseArgumentClose(i);
2757
2757
  if (d.err)
2758
2758
  return d;
2759
- var b = _(i, this.clonePosition());
2760
- if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
2761
- var g = Cn(u.style.slice(2));
2759
+ var b = v(i, this.clonePosition());
2760
+ if (u && dt(u == null ? void 0 : u.style, "::", 0)) {
2761
+ var g = Bn(u.style.slice(2));
2762
2762
  if (o === "number") {
2763
2763
  var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
2764
2764
  return f.err ? f : {
@@ -2769,12 +2769,12 @@ var Pn = (
2769
2769
  if (g.length === 0)
2770
2770
  return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
2771
2771
  var p = g;
2772
- this.locale && (p = dn(g, this.locale));
2772
+ this.locale && (p = bn(g, this.locale));
2773
2773
  var c = {
2774
- type: K.dateTime,
2774
+ type: ee.dateTime,
2775
2775
  pattern: p,
2776
2776
  location: u.styleLocation,
2777
- parsedOptions: this.shouldParseSkeletons ? on(p) : {}
2777
+ parsedOptions: this.shouldParseSkeletons ? un(p) : {}
2778
2778
  }, T = o === "date" ? A.date : A.time;
2779
2779
  return {
2780
2780
  val: { type: T, value: n, location: b, style: c },
@@ -2795,52 +2795,52 @@ var Pn = (
2795
2795
  case "plural":
2796
2796
  case "selectordinal":
2797
2797
  case "select": {
2798
- var B = this.clonePosition();
2798
+ var N = this.clonePosition();
2799
2799
  if (this.bumpSpace(), !this.bumpIf(","))
2800
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(B, v({}, B)));
2800
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(N, x({}, N)));
2801
2801
  this.bumpSpace();
2802
- var w = this.parseIdentifierIfPossible(), H = 0;
2803
- if (o !== "select" && w.value === "offset") {
2802
+ var H = this.parseIdentifierIfPossible(), C = 0;
2803
+ if (o !== "select" && H.value === "offset") {
2804
2804
  if (!this.bumpIf(":"))
2805
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2805
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
2806
2806
  this.bumpSpace();
2807
2807
  var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2808
2808
  if (f.err)
2809
2809
  return f;
2810
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), H = f.val;
2810
+ this.bumpSpace(), H = this.parseIdentifierIfPossible(), C = f.val;
2811
2811
  }
2812
- var k = this.tryParsePluralOrSelectOptions(t, o, r, w);
2813
- if (k.err)
2814
- return k;
2812
+ var G = this.tryParsePluralOrSelectOptions(t, o, r, H);
2813
+ if (G.err)
2814
+ return G;
2815
2815
  var d = this.tryParseArgumentClose(i);
2816
2816
  if (d.err)
2817
2817
  return d;
2818
- var F = _(i, this.clonePosition());
2818
+ var L = v(i, this.clonePosition());
2819
2819
  return o === "select" ? {
2820
2820
  val: {
2821
2821
  type: A.select,
2822
2822
  value: n,
2823
- options: mt(k.val),
2824
- location: F
2823
+ options: bt(G.val),
2824
+ location: L
2825
2825
  },
2826
2826
  err: null
2827
2827
  } : {
2828
2828
  val: {
2829
2829
  type: A.plural,
2830
2830
  value: n,
2831
- options: mt(k.val),
2832
- offset: H,
2831
+ options: bt(G.val),
2832
+ offset: C,
2833
2833
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2834
- location: F
2834
+ location: L
2835
2835
  },
2836
2836
  err: null
2837
2837
  };
2838
2838
  }
2839
2839
  default:
2840
- return this.error(y.INVALID_ARGUMENT_TYPE, _(a, l));
2840
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(a, l));
2841
2841
  }
2842
2842
  }, e.prototype.tryParseArgumentClose = function(t) {
2843
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2843
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2844
2844
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2845
2845
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2846
2846
  var n = this.char();
@@ -2849,7 +2849,7 @@ var Pn = (
2849
2849
  this.bump();
2850
2850
  var i = this.clonePosition();
2851
2851
  if (!this.bumpUntil("'"))
2852
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
2852
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
2853
2853
  this.bump();
2854
2854
  break;
2855
2855
  }
@@ -2879,16 +2879,16 @@ var Pn = (
2879
2879
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2880
2880
  var n = [];
2881
2881
  try {
2882
- n = ln(t);
2882
+ n = hn(t);
2883
2883
  } catch (i) {
2884
2884
  return this.error(y.INVALID_NUMBER_SKELETON, r);
2885
2885
  }
2886
2886
  return {
2887
2887
  val: {
2888
- type: K.number,
2888
+ type: ee.number,
2889
2889
  tokens: n,
2890
2890
  location: r,
2891
- parsedOptions: this.shouldParseSkeletons ? mn(n) : {}
2891
+ parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
2892
2892
  },
2893
2893
  err: null
2894
2894
  };
@@ -2900,31 +2900,31 @@ var Pn = (
2900
2900
  var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
2901
2901
  if (c.err)
2902
2902
  return c;
2903
- h = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2903
+ h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2904
2904
  } else
2905
2905
  break;
2906
2906
  }
2907
2907
  if (l.has(u))
2908
2908
  return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2909
2909
  u === "other" && (a = !0), this.bumpSpace();
2910
- var E = this.clonePosition();
2910
+ var _ = this.clonePosition();
2911
2911
  if (!this.bumpIf("{"))
2912
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
2912
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
2913
2913
  var d = this.parseMessage(t + 1, r, n);
2914
2914
  if (d.err)
2915
2915
  return d;
2916
- var b = this.tryParseArgumentClose(E);
2916
+ var b = this.tryParseArgumentClose(_);
2917
2917
  if (b.err)
2918
2918
  return b;
2919
2919
  o.push([
2920
2920
  u,
2921
2921
  {
2922
2922
  value: d.val,
2923
- location: _(E, this.clonePosition())
2923
+ location: v(_, this.clonePosition())
2924
2924
  }
2925
2925
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2926
2926
  }
2927
- return o.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2927
+ return o.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2928
2928
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2929
2929
  var n = 1, i = this.clonePosition();
2930
2930
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -2935,8 +2935,8 @@ var Pn = (
2935
2935
  else
2936
2936
  break;
2937
2937
  }
2938
- var l = _(i, this.clonePosition());
2939
- return s ? (a *= n, An(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2938
+ var l = v(i, this.clonePosition());
2939
+ return s ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2940
2940
  }, e.prototype.offset = function() {
2941
2941
  return this.position.offset;
2942
2942
  }, e.prototype.isEOF = function() {
@@ -2951,7 +2951,7 @@ var Pn = (
2951
2951
  var t = this.position.offset;
2952
2952
  if (t >= this.message.length)
2953
2953
  throw Error("out of bound");
2954
- var r = jt(this.message, t);
2954
+ var r = zt(this.message, t);
2955
2955
  if (r === void 0)
2956
2956
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2957
2957
  return r;
@@ -2970,7 +2970,7 @@ var Pn = (
2970
2970
  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);
2971
2971
  }
2972
2972
  }, e.prototype.bumpIf = function(t) {
2973
- if (ct(this.message, t, this.offset())) {
2973
+ if (dt(this.message, t, this.offset())) {
2974
2974
  for (var r = 0; r < t.length; r++)
2975
2975
  this.bump();
2976
2976
  return !0;
@@ -2992,7 +2992,7 @@ var Pn = (
2992
2992
  break;
2993
2993
  }
2994
2994
  }, e.prototype.bumpSpace = function() {
2995
- for (; !this.isEOF() && zt(this.char()); )
2995
+ for (; !this.isEOF() && Xt(this.char()); )
2996
2996
  this.bump();
2997
2997
  }, e.prototype.peek = function() {
2998
2998
  if (this.isEOF())
@@ -3002,96 +3002,96 @@ var Pn = (
3002
3002
  }, e;
3003
3003
  }()
3004
3004
  );
3005
- function ze(e) {
3005
+ function Je(e) {
3006
3006
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3007
3007
  }
3008
3008
  function In(e) {
3009
- return ze(e) || e === 47;
3009
+ return Je(e) || e === 47;
3010
3010
  }
3011
- function Nn(e) {
3011
+ function wn(e) {
3012
3012
  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;
3013
3013
  }
3014
- function zt(e) {
3014
+ function Xt(e) {
3015
3015
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3016
3016
  }
3017
- function wn(e) {
3017
+ function On(e) {
3018
3018
  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;
3019
3019
  }
3020
- function Je(e) {
3020
+ function Xe(e) {
3021
3021
  e.forEach(function(t) {
3022
- if (delete t.location, Rt(t) || Lt(t))
3022
+ if (delete t.location, Dt(t) || kt(t))
3023
3023
  for (var r in t.options)
3024
- delete t.options[r].location, Je(t.options[r].value);
3025
- else wt(t) && Ut(t.style) || (Ot(t) || Mt(t)) && Ge(t.style) ? delete t.style.location : Dt(t) && Je(t.children);
3024
+ delete t.options[r].location, Xe(t.options[r].value);
3025
+ else Mt(t) && Gt(t.style) || (Rt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : Ut(t) && Xe(t.children);
3026
3026
  });
3027
3027
  }
3028
- function On(e, t) {
3029
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3030
- var r = new Pn(e, t).parse();
3028
+ function Mn(e, t) {
3029
+ t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3030
+ var r = new Nn(e, t).parse();
3031
3031
  if (r.err) {
3032
3032
  var n = SyntaxError(y[r.err.kind]);
3033
3033
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3034
3034
  }
3035
- return t != null && t.captureLocation || Je(r.val), r.val;
3035
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3036
3036
  }
3037
- function we(e, t) {
3038
- var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Rn;
3037
+ function Oe(e, t) {
3038
+ var r = t && t.cache ? t.cache : Gn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Ln;
3039
3039
  return i(e, {
3040
3040
  cache: r,
3041
3041
  serializer: n
3042
3042
  });
3043
3043
  }
3044
- function Mn(e) {
3044
+ function Rn(e) {
3045
3045
  return e == null || typeof e == "number" || typeof e == "boolean";
3046
3046
  }
3047
- function Jt(e, t, r, n) {
3048
- var i = Mn(n) ? n : r(n), s = t.get(i);
3047
+ function Wt(e, t, r, n) {
3048
+ var i = Rn(n) ? n : r(n), s = t.get(i);
3049
3049
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
3050
3050
  }
3051
- function Xt(e, t, r) {
3051
+ function Zt(e, t, r) {
3052
3052
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
3053
3053
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
3054
3054
  }
3055
- function Ze(e, t, r, n, i) {
3055
+ function Qe(e, t, r, n, i) {
3056
3056
  return r.bind(t, e, n, i);
3057
3057
  }
3058
- function Rn(e, t) {
3059
- var r = e.length === 1 ? Jt : Xt;
3060
- return Ze(e, this, r, t.cache.create(), t.serializer);
3061
- }
3062
3058
  function Ln(e, t) {
3063
- return Ze(e, this, Xt, t.cache.create(), t.serializer);
3059
+ var r = e.length === 1 ? Wt : Zt;
3060
+ return Qe(e, this, r, t.cache.create(), t.serializer);
3064
3061
  }
3065
3062
  function Dn(e, t) {
3066
- return Ze(e, this, Jt, t.cache.create(), t.serializer);
3063
+ return Qe(e, this, Zt, t.cache.create(), t.serializer);
3064
+ }
3065
+ function kn(e, t) {
3066
+ return Qe(e, this, Wt, t.cache.create(), t.serializer);
3067
3067
  }
3068
3068
  var Un = function() {
3069
3069
  return JSON.stringify(arguments);
3070
3070
  };
3071
- function Qe() {
3071
+ function qe() {
3072
3072
  this.cache = /* @__PURE__ */ Object.create(null);
3073
3073
  }
3074
- Qe.prototype.get = function(e) {
3074
+ qe.prototype.get = function(e) {
3075
3075
  return this.cache[e];
3076
3076
  };
3077
- Qe.prototype.set = function(e, t) {
3077
+ qe.prototype.set = function(e, t) {
3078
3078
  this.cache[e] = t;
3079
3079
  };
3080
- var kn = {
3080
+ var Gn = {
3081
3081
  create: function() {
3082
- return new Qe();
3082
+ return new qe();
3083
3083
  }
3084
- }, Oe = {
3085
- variadic: Ln,
3086
- monadic: Dn
3087
- }, ee;
3084
+ }, Me = {
3085
+ variadic: Dn,
3086
+ monadic: kn
3087
+ }, te;
3088
3088
  (function(e) {
3089
3089
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3090
- })(ee || (ee = {}));
3091
- var xe = (
3090
+ })(te || (te = {}));
3091
+ var Se = (
3092
3092
  /** @class */
3093
3093
  function(e) {
3094
- ve(t, e);
3094
+ xe(t, e);
3095
3095
  function t(r, n, i) {
3096
3096
  var s = e.call(this, r) || this;
3097
3097
  return s.code = n, s.originalMessage = i, s;
@@ -3100,48 +3100,48 @@ var xe = (
3100
3100
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3101
3101
  }, t;
3102
3102
  }(Error)
3103
- ), bt = (
3103
+ ), pt = (
3104
3104
  /** @class */
3105
3105
  function(e) {
3106
- ve(t, e);
3106
+ xe(t, e);
3107
3107
  function t(r, n, i, s) {
3108
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
3108
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
3109
3109
  }
3110
3110
  return t;
3111
- }(xe)
3111
+ }(Se)
3112
3112
  ), Fn = (
3113
3113
  /** @class */
3114
3114
  function(e) {
3115
- ve(t, e);
3115
+ xe(t, e);
3116
3116
  function t(r, n, i) {
3117
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
3117
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3118
3118
  }
3119
3119
  return t;
3120
- }(xe)
3121
- ), Gn = (
3120
+ }(Se)
3121
+ ), $n = (
3122
3122
  /** @class */
3123
3123
  function(e) {
3124
- ve(t, e);
3124
+ xe(t, e);
3125
3125
  function t(r, n) {
3126
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
3126
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3127
3127
  }
3128
3128
  return t;
3129
- }(xe)
3129
+ }(Se)
3130
3130
  ), O;
3131
3131
  (function(e) {
3132
3132
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3133
3133
  })(O || (O = {}));
3134
- function $n(e) {
3134
+ function jn(e) {
3135
3135
  return e.length < 2 ? e : e.reduce(function(t, r) {
3136
3136
  var n = t[t.length - 1];
3137
3137
  return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3138
3138
  }, []);
3139
3139
  }
3140
- function jn(e) {
3140
+ function Vn(e) {
3141
3141
  return typeof e == "function";
3142
3142
  }
3143
- function ge(e, t, r, n, i, s, a) {
3144
- if (e.length === 1 && ut(e[0]))
3143
+ function pe(e, t, r, n, i, s, a) {
3144
+ if (e.length === 1 && ht(e[0]))
3145
3145
  return [
3146
3146
  {
3147
3147
  type: O.literal,
@@ -3150,14 +3150,14 @@ function ge(e, t, r, n, i, s, a) {
3150
3150
  ];
3151
3151
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3152
3152
  var h = u[l];
3153
- if (ut(h)) {
3153
+ if (ht(h)) {
3154
3154
  o.push({
3155
3155
  type: O.literal,
3156
3156
  value: h.value
3157
3157
  });
3158
3158
  continue;
3159
3159
  }
3160
- if (sn(h)) {
3160
+ if (an(h)) {
3161
3161
  typeof s == "number" && o.push({
3162
3162
  type: O.literal,
3163
3163
  value: r.getNumberFormat(t).format(s)
@@ -3166,89 +3166,89 @@ function ge(e, t, r, n, i, s, a) {
3166
3166
  }
3167
3167
  var f = h.value;
3168
3168
  if (!(i && f in i))
3169
- throw new Gn(f, a);
3169
+ throw new $n(f, a);
3170
3170
  var c = i[f];
3171
- if (nn(h)) {
3171
+ if (sn(h)) {
3172
3172
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3173
3173
  type: typeof c == "string" ? O.literal : O.object,
3174
3174
  value: c
3175
3175
  });
3176
3176
  continue;
3177
3177
  }
3178
- if (Ot(h)) {
3179
- var E = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3178
+ if (Rt(h)) {
3179
+ var _ = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3180
3180
  o.push({
3181
3181
  type: O.literal,
3182
- value: r.getDateTimeFormat(t, E).format(c)
3182
+ value: r.getDateTimeFormat(t, _).format(c)
3183
3183
  });
3184
3184
  continue;
3185
3185
  }
3186
- if (Mt(h)) {
3187
- var E = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3186
+ if (Lt(h)) {
3187
+ var _ = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3188
3188
  o.push({
3189
3189
  type: O.literal,
3190
- value: r.getDateTimeFormat(t, E).format(c)
3190
+ value: r.getDateTimeFormat(t, _).format(c)
3191
3191
  });
3192
3192
  continue;
3193
3193
  }
3194
- if (wt(h)) {
3195
- var E = typeof h.style == "string" ? n.number[h.style] : Ut(h.style) ? h.style.parsedOptions : void 0;
3196
- E && E.scale && (c = c * (E.scale || 1)), o.push({
3194
+ if (Mt(h)) {
3195
+ var _ = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3196
+ _ && _.scale && (c = c * (_.scale || 1)), o.push({
3197
3197
  type: O.literal,
3198
- value: r.getNumberFormat(t, E).format(c)
3198
+ value: r.getNumberFormat(t, _).format(c)
3199
3199
  });
3200
3200
  continue;
3201
3201
  }
3202
- if (Dt(h)) {
3202
+ if (Ut(h)) {
3203
3203
  var d = h.children, b = h.value, g = i[b];
3204
- if (!jn(g))
3204
+ if (!Vn(g))
3205
3205
  throw new Fn(b, "function", a);
3206
- var p = ge(d, t, r, n, i, s), T = g(p.map(function(H) {
3207
- return H.value;
3206
+ var p = pe(d, t, r, n, i, s), T = g(p.map(function(C) {
3207
+ return C.value;
3208
3208
  }));
3209
- Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(H) {
3209
+ Array.isArray(T) || (T = [T]), o.push.apply(o, T.map(function(C) {
3210
3210
  return {
3211
- type: typeof H == "string" ? O.literal : O.object,
3212
- value: H
3211
+ type: typeof C == "string" ? O.literal : O.object,
3212
+ value: C
3213
3213
  };
3214
3214
  }));
3215
3215
  }
3216
- if (Rt(h)) {
3217
- var B = h.options[c] || h.options.other;
3218
- if (!B)
3219
- throw new bt(h.value, c, Object.keys(h.options), a);
3220
- o.push.apply(o, ge(B.value, t, r, n, i));
3216
+ if (Dt(h)) {
3217
+ var N = h.options[c] || h.options.other;
3218
+ if (!N)
3219
+ throw new pt(h.value, c, Object.keys(h.options), a);
3220
+ o.push.apply(o, pe(N.value, t, r, n, i));
3221
3221
  continue;
3222
3222
  }
3223
- if (Lt(h)) {
3224
- var B = h.options["=".concat(c)];
3225
- if (!B) {
3223
+ if (kt(h)) {
3224
+ var N = h.options["=".concat(c)];
3225
+ if (!N) {
3226
3226
  if (!Intl.PluralRules)
3227
- throw new xe(`Intl.PluralRules is not available in this environment.
3227
+ throw new Se(`Intl.PluralRules is not available in this environment.
3228
3228
  Try polyfilling it using "@formatjs/intl-pluralrules"
3229
- `, ee.MISSING_INTL_API, a);
3230
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3231
- B = h.options[w] || h.options.other;
3229
+ `, te.MISSING_INTL_API, a);
3230
+ var H = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3231
+ N = h.options[H] || h.options.other;
3232
3232
  }
3233
- if (!B)
3234
- throw new bt(h.value, c, Object.keys(h.options), a);
3235
- o.push.apply(o, ge(B.value, t, r, n, i, c - (h.offset || 0)));
3233
+ if (!N)
3234
+ throw new pt(h.value, c, Object.keys(h.options), a);
3235
+ o.push.apply(o, pe(N.value, t, r, n, i, c - (h.offset || 0)));
3236
3236
  continue;
3237
3237
  }
3238
3238
  }
3239
- return $n(o);
3239
+ return jn(o);
3240
3240
  }
3241
- function Vn(e, t) {
3242
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3243
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3241
+ function zn(e, t) {
3242
+ return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3243
+ return r[n] = x(x({}, e[n]), t[n] || {}), r;
3244
3244
  }, {})) : e;
3245
3245
  }
3246
- function zn(e, t) {
3246
+ function Jn(e, t) {
3247
3247
  return t ? Object.keys(e).reduce(function(r, n) {
3248
- return r[n] = Vn(e[n], t[n]), r;
3249
- }, v({}, e)) : e;
3248
+ return r[n] = zn(e[n], t[n]), r;
3249
+ }, x({}, e)) : e;
3250
3250
  }
3251
- function Me(e) {
3251
+ function Re(e) {
3252
3252
  return {
3253
3253
  create: function() {
3254
3254
  return {
@@ -3262,39 +3262,39 @@ function Me(e) {
3262
3262
  }
3263
3263
  };
3264
3264
  }
3265
- function Jn(e) {
3265
+ function Xn(e) {
3266
3266
  return e === void 0 && (e = {
3267
3267
  number: {},
3268
3268
  dateTime: {},
3269
3269
  pluralRules: {}
3270
3270
  }), {
3271
- getNumberFormat: we(function() {
3271
+ getNumberFormat: Oe(function() {
3272
3272
  for (var t, r = [], n = 0; n < arguments.length; n++)
3273
3273
  r[n] = arguments[n];
3274
3274
  return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3275
3275
  }, {
3276
- cache: Me(e.number),
3277
- strategy: Oe.variadic
3276
+ cache: Re(e.number),
3277
+ strategy: Me.variadic
3278
3278
  }),
3279
- getDateTimeFormat: we(function() {
3279
+ getDateTimeFormat: Oe(function() {
3280
3280
  for (var t, r = [], n = 0; n < arguments.length; n++)
3281
3281
  r[n] = arguments[n];
3282
3282
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3283
3283
  }, {
3284
- cache: Me(e.dateTime),
3285
- strategy: Oe.variadic
3284
+ cache: Re(e.dateTime),
3285
+ strategy: Me.variadic
3286
3286
  }),
3287
- getPluralRules: we(function() {
3287
+ getPluralRules: Oe(function() {
3288
3288
  for (var t, r = [], n = 0; n < arguments.length; n++)
3289
3289
  r[n] = arguments[n];
3290
3290
  return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3291
3291
  }, {
3292
- cache: Me(e.pluralRules),
3293
- strategy: Oe.variadic
3292
+ cache: Re(e.pluralRules),
3293
+ strategy: Me.variadic
3294
3294
  })
3295
3295
  };
3296
3296
  }
3297
- var Xn = (
3297
+ var Wn = (
3298
3298
  /** @class */
3299
3299
  function() {
3300
3300
  function e(t, r, n, i) {
@@ -3312,7 +3312,7 @@ var Xn = (
3312
3312
  }, []);
3313
3313
  return h.length <= 1 ? h[0] || "" : h;
3314
3314
  }, this.formatToParts = function(l) {
3315
- return ge(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3315
+ return pe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3316
3316
  }, this.resolvedOptions = function() {
3317
3317
  var l;
3318
3318
  return {
@@ -3325,13 +3325,13 @@ var Xn = (
3325
3325
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3326
3326
  var a = i || {};
3327
3327
  a.formatters;
3328
- var o = rn(a, ["formatters"]);
3329
- this.ast = e.__parse(t, v(v({}, o), { locale: this.resolvedLocale }));
3328
+ var o = nn(a, ["formatters"]);
3329
+ this.ast = e.__parse(t, x(x({}, o), { locale: this.resolvedLocale }));
3330
3330
  } else
3331
3331
  this.ast = t;
3332
3332
  if (!Array.isArray(this.ast))
3333
3333
  throw new TypeError("A message must be provided as a String or AST.");
3334
- this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3334
+ this.formats = Jn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
3335
3335
  }
3336
3336
  return Object.defineProperty(e, "defaultLocale", {
3337
3337
  get: function() {
@@ -3344,7 +3344,7 @@ var Xn = (
3344
3344
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3345
3345
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3346
3346
  }
3347
- }, e.__parse = On, e.formats = {
3347
+ }, e.__parse = Mn, e.formats = {
3348
3348
  number: {
3349
3349
  integer: {
3350
3350
  maximumFractionDigits: 0
@@ -3405,7 +3405,7 @@ var Xn = (
3405
3405
  }, e;
3406
3406
  }()
3407
3407
  );
3408
- function Wn(e, t) {
3408
+ function Zn(e, t) {
3409
3409
  if (t == null)
3410
3410
  return;
3411
3411
  if (t in e)
@@ -3426,92 +3426,92 @@ function Wn(e, t) {
3426
3426
  n = void 0;
3427
3427
  return n;
3428
3428
  }
3429
- const z = {}, Zn = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Wt = (e, t) => {
3429
+ const X = {}, Qn = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), Qt = (e, t) => {
3430
3430
  if (t == null)
3431
3431
  return;
3432
- if (t in z && e in z[t])
3433
- return z[t][e];
3434
- const r = Se(t);
3432
+ if (t in X && e in X[t])
3433
+ return X[t][e];
3434
+ const r = Te(t);
3435
3435
  for (let n = 0; n < r.length; n++) {
3436
- const i = r[n], s = qn(i, e);
3436
+ const i = r[n], s = Yn(i, e);
3437
3437
  if (s)
3438
- return Zn(e, t, s);
3438
+ return Qn(e, t, s);
3439
3439
  }
3440
3440
  };
3441
- let qe;
3442
- const me = _e({});
3443
- function Qn(e) {
3444
- return qe[e] || null;
3441
+ let Ye;
3442
+ const de = ve({});
3443
+ function qn(e) {
3444
+ return Ye[e] || null;
3445
3445
  }
3446
- function Zt(e) {
3447
- return e in qe;
3446
+ function qt(e) {
3447
+ return e in Ye;
3448
3448
  }
3449
- function qn(e, t) {
3450
- if (!Zt(e))
3449
+ function Yn(e, t) {
3450
+ if (!qt(e))
3451
3451
  return null;
3452
- const r = Qn(e);
3453
- return Wn(r, t);
3452
+ const r = qn(e);
3453
+ return Zn(r, t);
3454
3454
  }
3455
- function Yn(e) {
3455
+ function Kn(e) {
3456
3456
  if (e == null)
3457
3457
  return;
3458
- const t = Se(e);
3458
+ const t = Te(e);
3459
3459
  for (let r = 0; r < t.length; r++) {
3460
3460
  const n = t[r];
3461
- if (Zt(n))
3461
+ if (qt(n))
3462
3462
  return n;
3463
3463
  }
3464
3464
  }
3465
- function Qt(e, ...t) {
3466
- delete z[e], me.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
3465
+ function Yt(e, ...t) {
3466
+ delete X[e], de.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
3467
3467
  }
3468
- ne(
3469
- [me],
3468
+ ie(
3469
+ [de],
3470
3470
  ([e]) => Object.keys(e)
3471
3471
  );
3472
- me.subscribe((e) => qe = e);
3473
- const pe = {};
3474
- function Kn(e, t) {
3475
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3472
+ de.subscribe((e) => Ye = e);
3473
+ const ye = {};
3474
+ function ei(e, t) {
3475
+ ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3476
3476
  }
3477
- function qt(e) {
3478
- return pe[e];
3477
+ function Kt(e) {
3478
+ return ye[e];
3479
3479
  }
3480
- function ei(e) {
3481
- return Se(e).map((t) => {
3482
- const r = qt(t);
3480
+ function ti(e) {
3481
+ return Te(e).map((t) => {
3482
+ const r = Kt(t);
3483
3483
  return [t, r ? [...r] : []];
3484
3484
  }).filter(([, t]) => t.length > 0);
3485
3485
  }
3486
- function Xe(e) {
3487
- return e == null ? !1 : Se(e).some(
3486
+ function We(e) {
3487
+ return e == null ? !1 : Te(e).some(
3488
3488
  (t) => {
3489
3489
  var r;
3490
- return (r = qt(t)) == null ? void 0 : r.size;
3490
+ return (r = Kt(t)) == null ? void 0 : r.size;
3491
3491
  }
3492
3492
  );
3493
3493
  }
3494
- function ti(e, t) {
3494
+ function ri(e, t) {
3495
3495
  return Promise.all(
3496
- t.map((n) => (Kn(e, n), n().then((i) => i.default || i)))
3497
- ).then((n) => Qt(e, ...n));
3498
- }
3499
- const ae = {};
3500
- function Yt(e) {
3501
- if (!Xe(e))
3502
- return e in ae ? ae[e] : Promise.resolve();
3503
- const t = ei(e);
3504
- return ae[e] = Promise.all(
3496
+ t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3497
+ ).then((n) => Yt(e, ...n));
3498
+ }
3499
+ const oe = {};
3500
+ function er(e) {
3501
+ if (!We(e))
3502
+ return e in oe ? oe[e] : Promise.resolve();
3503
+ const t = ti(e);
3504
+ return oe[e] = Promise.all(
3505
3505
  t.map(
3506
- ([r, n]) => ti(r, n)
3506
+ ([r, n]) => ri(r, n)
3507
3507
  )
3508
3508
  ).then(() => {
3509
- if (Xe(e))
3510
- return Yt(e);
3511
- delete ae[e];
3512
- }), ae[e];
3509
+ if (We(e))
3510
+ return er(e);
3511
+ delete oe[e];
3512
+ }), oe[e];
3513
3513
  }
3514
- const ri = {
3514
+ const ni = {
3515
3515
  number: {
3516
3516
  scientific: { notation: "scientific" },
3517
3517
  engineering: { notation: "engineering" },
@@ -3540,150 +3540,150 @@ const ri = {
3540
3540
  timeZoneName: "short"
3541
3541
  }
3542
3542
  }
3543
- }, ni = {
3543
+ }, ii = {
3544
3544
  fallbackLocale: null,
3545
3545
  loadingDelay: 200,
3546
- formats: ri,
3546
+ formats: ni,
3547
3547
  warnOnMissingMessages: !0,
3548
3548
  handleMissingMessage: void 0,
3549
3549
  ignoreTag: !0
3550
- }, ii = ni;
3551
- function te() {
3552
- return ii;
3550
+ }, si = ii;
3551
+ function re() {
3552
+ return si;
3553
3553
  }
3554
- const Re = _e(!1);
3555
- var si = Object.defineProperty, ai = Object.defineProperties, oi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3554
+ const Le = ve(!1);
3555
+ var ai = Object.defineProperty, oi = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
3556
3556
  for (var r in t || (t = {}))
3557
- ui.call(t, r) && pt(e, r, t[r]);
3558
- if (gt)
3559
- for (var r of gt(t))
3560
- li.call(t, r) && pt(e, r, t[r]);
3557
+ li.call(t, r) && Et(e, r, t[r]);
3558
+ if (yt)
3559
+ for (var r of yt(t))
3560
+ hi.call(t, r) && Et(e, r, t[r]);
3561
3561
  return e;
3562
- }, fi = (e, t) => ai(e, oi(t));
3563
- let We;
3564
- const ye = _e(null);
3565
- function yt(e) {
3562
+ }, ci = (e, t) => oi(e, ui(t));
3563
+ let Ze;
3564
+ const Ee = ve(null);
3565
+ function _t(e) {
3566
3566
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3567
3567
  }
3568
- function Se(e, t = te().fallbackLocale) {
3569
- const r = yt(e);
3570
- return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
3568
+ function Te(e, t = re().fallbackLocale) {
3569
+ const r = _t(e);
3570
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
3571
3571
  }
3572
- function X() {
3573
- return We != null ? We : void 0;
3572
+ function W() {
3573
+ return Ze != null ? Ze : void 0;
3574
3574
  }
3575
- ye.subscribe((e) => {
3576
- We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3575
+ Ee.subscribe((e) => {
3576
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3577
3577
  });
3578
- const ci = (e) => {
3579
- if (e && Yn(e) && Xe(e)) {
3580
- const { loadingDelay: t } = te();
3578
+ const mi = (e) => {
3579
+ if (e && Kn(e) && We(e)) {
3580
+ const { loadingDelay: t } = re();
3581
3581
  let r;
3582
- return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3583
- () => Re.set(!0),
3582
+ return typeof window != "undefined" && W() != null && t ? r = window.setTimeout(
3583
+ () => Le.set(!0),
3584
3584
  t
3585
- ) : Re.set(!0), Yt(e).then(() => {
3586
- ye.set(e);
3585
+ ) : Le.set(!0), er(e).then(() => {
3586
+ Ee.set(e);
3587
3587
  }).finally(() => {
3588
- clearTimeout(r), Re.set(!1);
3588
+ clearTimeout(r), Le.set(!1);
3589
3589
  });
3590
3590
  }
3591
- return ye.set(e);
3592
- }, ie = fi(hi({}, ye), {
3593
- set: ci
3594
- }), Te = (e) => {
3591
+ return Ee.set(e);
3592
+ }, se = ci(fi({}, Ee), {
3593
+ set: mi
3594
+ }), Ae = (e) => {
3595
3595
  const t = /* @__PURE__ */ Object.create(null);
3596
3596
  return (n) => {
3597
3597
  const i = JSON.stringify(n);
3598
3598
  return i in t ? t[i] : t[i] = e(n);
3599
3599
  };
3600
3600
  };
3601
- var mi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
3601
+ var di = Object.defineProperty, _e = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
3602
3602
  for (var r in t || (t = {}))
3603
- Kt.call(t, r) && Et(e, r, t[r]);
3604
- if (Ee)
3605
- for (var r of Ee(t))
3606
- er.call(t, r) && Et(e, r, t[r]);
3603
+ tr.call(t, r) && vt(e, r, t[r]);
3604
+ if (_e)
3605
+ for (var r of _e(t))
3606
+ rr.call(t, r) && vt(e, r, t[r]);
3607
3607
  return e;
3608
- }, se = (e, t) => {
3608
+ }, ae = (e, t) => {
3609
3609
  var r = {};
3610
3610
  for (var n in e)
3611
- Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3612
- if (e != null && Ee)
3613
- for (var n of Ee(e))
3614
- t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3611
+ tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3612
+ if (e != null && _e)
3613
+ for (var n of _e(e))
3614
+ t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
3615
3615
  return r;
3616
3616
  };
3617
- const he = (e, t) => {
3618
- const { formats: r } = te();
3617
+ const fe = (e, t) => {
3618
+ const { formats: r } = re();
3619
3619
  if (e in r && t in r[e])
3620
3620
  return r[e][t];
3621
3621
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3622
- }, di = Te(
3622
+ }, bi = Ae(
3623
3623
  (e) => {
3624
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3624
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3625
3625
  if (r == null)
3626
3626
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3627
- return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
3627
+ return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
3628
3628
  }
3629
- ), bi = Te(
3629
+ ), gi = Ae(
3630
3630
  (e) => {
3631
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3631
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3632
3632
  if (r == null)
3633
3633
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3634
- return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
3634
+ return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
3635
3635
  }
3636
- ), gi = Te(
3636
+ ), pi = Ae(
3637
3637
  (e) => {
3638
- var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3638
+ var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3639
3639
  if (r == null)
3640
3640
  throw new Error(
3641
3641
  '[svelte-i18n] A "locale" must be set to format time values'
3642
3642
  );
3643
- return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
3643
+ return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
3644
3644
  }
3645
- ), pi = (e = {}) => {
3645
+ ), yi = (e = {}) => {
3646
3646
  var t = e, {
3647
- locale: r = X()
3648
- } = t, n = se(t, [
3647
+ locale: r = W()
3648
+ } = t, n = ae(t, [
3649
3649
  "locale"
3650
3650
  ]);
3651
- return di(Ye({ locale: r }, n));
3652
- }, yi = (e = {}) => {
3651
+ return bi(Ke({ locale: r }, n));
3652
+ }, Ei = (e = {}) => {
3653
3653
  var t = e, {
3654
- locale: r = X()
3655
- } = t, n = se(t, [
3654
+ locale: r = W()
3655
+ } = t, n = ae(t, [
3656
3656
  "locale"
3657
3657
  ]);
3658
- return bi(Ye({ locale: r }, n));
3659
- }, Ei = (e = {}) => {
3658
+ return gi(Ke({ locale: r }, n));
3659
+ }, _i = (e = {}) => {
3660
3660
  var t = e, {
3661
- locale: r = X()
3662
- } = t, n = se(t, [
3661
+ locale: r = W()
3662
+ } = t, n = ae(t, [
3663
3663
  "locale"
3664
3664
  ]);
3665
- return gi(Ye({ locale: r }, n));
3666
- }, _i = Te(
3665
+ return pi(Ke({ locale: r }, n));
3666
+ }, vi = Ae(
3667
3667
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3668
- (e, t = X()) => new Xn(e, t, te().formats, {
3669
- ignoreTag: te().ignoreTag
3668
+ (e, t = W()) => new Wn(e, t, re().formats, {
3669
+ ignoreTag: re().ignoreTag
3670
3670
  })
3671
- ), vi = (e, t = {}) => {
3671
+ ), xi = (e, t = {}) => {
3672
3672
  var r, n, i, s;
3673
3673
  let a = t;
3674
3674
  typeof e == "object" && (a = e, e = a.id);
3675
3675
  const {
3676
3676
  values: o,
3677
- locale: l = X(),
3677
+ locale: l = W(),
3678
3678
  default: u
3679
3679
  } = a;
3680
3680
  if (l == null)
3681
3681
  throw new Error(
3682
3682
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3683
3683
  );
3684
- let h = Wt(e, l);
3684
+ let h = Qt(e, l);
3685
3685
  if (!h)
3686
- h = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3686
+ h = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3687
3687
  else if (typeof h != "string")
3688
3688
  return console.warn(
3689
3689
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3692,7 +3692,7 @@ const he = (e, t) => {
3692
3692
  return h;
3693
3693
  let f = h;
3694
3694
  try {
3695
- f = _i(h, l).format(o);
3695
+ f = vi(h, l).format(o);
3696
3696
  } catch (c) {
3697
3697
  c instanceof Error && console.warn(
3698
3698
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3700,18 +3700,18 @@ const he = (e, t) => {
3700
3700
  );
3701
3701
  }
3702
3702
  return f;
3703
- }, xi = (e, t) => Ei(t).format(e), Si = (e, t) => yi(t).format(e), Ti = (e, t) => pi(t).format(e), Ai = (e, t = X()) => Wt(e, t), Hi = ne([ie, me], () => vi);
3704
- ne([ie], () => xi);
3705
- ne([ie], () => Si);
3706
- ne([ie], () => Ti);
3707
- ne([ie, me], () => Ai);
3708
- function _t(e, t) {
3709
- Qt(e, t);
3710
- }
3711
- function Ci(e) {
3712
- ie.set(e);
3713
- }
3714
- const vt = {
3703
+ }, Si = (e, t) => _i(t).format(e), Ti = (e, t) => Ei(t).format(e), Ai = (e, t) => yi(t).format(e), Hi = (e, t = W()) => Qt(e, t), Ci = ie([se, de], () => xi);
3704
+ ie([se], () => Si);
3705
+ ie([se], () => Ti);
3706
+ ie([se], () => Ai);
3707
+ ie([se, de], () => Hi);
3708
+ function xt(e, t) {
3709
+ Yt(e, t);
3710
+ }
3711
+ function Bi(e) {
3712
+ se.set(e);
3713
+ }
3714
+ const St = {
3715
3715
  en: {
3716
3716
  enrolled: "Enrolled",
3717
3717
  scoreCriteria: "Score Criteria",
@@ -4012,110 +4012,110 @@ const vt = {
4012
4012
  December: "December"
4013
4013
  }
4014
4014
  };
4015
- function Bi(e) {
4016
- pr(e, "svelte-u7ryj4", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}a{color:var(--emfe-w-color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emfe-w-color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4015
+ function Pi(e) {
4016
+ yr(e, "svelte-u7ryj4", ':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Roboto"}a{color:var(--emfe-w-color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .CardImg{height:300px;width:100%;background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emfe-w-color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}');
4017
4017
  }
4018
- function xt(e) {
4018
+ function Tt(e) {
4019
4019
  let t, r, n, i, s, a;
4020
4020
  return {
4021
4021
  c() {
4022
- t = N("div"), r = M(
4022
+ t = I("div"), r = M(
4023
4023
  /*shownStatus*/
4024
- e[10]
4025
- ), x(t, "class", n = "Status " + /*statusClass*/
4026
- e[12]), x(t, "part", i = "Status " + /*statusClass*/
4027
- e[12]);
4024
+ e[13]
4025
+ ), E(t, "class", n = "Status " + /*statusClass*/
4026
+ e[15]), E(t, "part", i = "Status " + /*statusClass*/
4027
+ e[15]);
4028
4028
  },
4029
4029
  m(o, l) {
4030
- G(o, t, l), S(t, r), s || (a = ce(
4030
+ F(o, t, l), S(t, r), s || (a = me(
4031
4031
  /*matchStatus*/
4032
- e[15].call(null, t)
4032
+ e[18].call(null, t)
4033
4033
  ), s = !0);
4034
4034
  },
4035
4035
  p(o, l) {
4036
4036
  l[0] & /*shownStatus*/
4037
- 1024 && $(
4037
+ 8192 && $(
4038
4038
  r,
4039
4039
  /*shownStatus*/
4040
- o[10]
4040
+ o[13]
4041
4041
  ), l[0] & /*statusClass*/
4042
- 4096 && n !== (n = "Status " + /*statusClass*/
4043
- o[12]) && x(t, "class", n), l[0] & /*statusClass*/
4044
- 4096 && i !== (i = "Status " + /*statusClass*/
4045
- o[12]) && x(t, "part", i);
4042
+ 32768 && n !== (n = "Status " + /*statusClass*/
4043
+ o[15]) && E(t, "class", n), l[0] & /*statusClass*/
4044
+ 32768 && i !== (i = "Status " + /*statusClass*/
4045
+ o[15]) && E(t, "part", i);
4046
4046
  },
4047
4047
  d(o) {
4048
4048
  o && U(t), s = !1, a();
4049
4049
  }
4050
4050
  };
4051
4051
  }
4052
- function St(e) {
4052
+ function At(e) {
4053
4053
  let t, r = (
4054
4054
  /*userenrolled*/
4055
- e[4] && Tt(e)
4055
+ e[5] && Ht(e)
4056
4056
  );
4057
4057
  return {
4058
4058
  c() {
4059
- r && r.c(), t = _r();
4059
+ r && r.c(), t = vr();
4060
4060
  },
4061
4061
  m(n, i) {
4062
- r && r.m(n, i), G(n, t, i);
4062
+ r && r.m(n, i), F(n, t, i);
4063
4063
  },
4064
4064
  p(n, i) {
4065
4065
  /*userenrolled*/
4066
- n[4] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4066
+ n[5] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4067
4067
  },
4068
4068
  d(n) {
4069
4069
  n && U(t), r && r.d(n);
4070
4070
  }
4071
4071
  };
4072
4072
  }
4073
- function Tt(e) {
4073
+ function Ht(e) {
4074
4074
  let t, r = (
4075
4075
  /*$_*/
4076
- e[13]("enrolled") + ""
4076
+ e[16]("enrolled") + ""
4077
4077
  ), n;
4078
4078
  return {
4079
4079
  c() {
4080
- t = N("div"), n = M(r), x(t, "class", "Enrolled"), x(t, "part", "Enrolled");
4080
+ t = I("div"), n = M(r), E(t, "class", "Enrolled"), E(t, "part", "Enrolled");
4081
4081
  },
4082
4082
  m(i, s) {
4083
- G(i, t, s), S(t, n);
4083
+ F(i, t, s), S(t, n);
4084
4084
  },
4085
4085
  p(i, s) {
4086
4086
  s[0] & /*$_*/
4087
- 8192 && r !== (r = /*$_*/
4088
- i[13]("enrolled") + "") && $(n, r);
4087
+ 65536 && r !== (r = /*$_*/
4088
+ i[16]("enrolled") + "") && $(n, r);
4089
4089
  },
4090
4090
  d(i) {
4091
4091
  i && U(t);
4092
4092
  }
4093
4093
  };
4094
4094
  }
4095
- function Pi(e) {
4095
+ function Ni(e) {
4096
4096
  let t, r, n, i, s;
4097
4097
  return {
4098
4098
  c() {
4099
- t = N("div"), x(t, "class", r = "CardImg " + /*status*/
4099
+ t = I("div"), E(t, "class", r = "CardImg " + /*status*/
4100
4100
  (e[0] == "Closing" || /*status*/
4101
- e[0] == "Closed" ? "CardImgFinished" : "")), x(t, "part", n = "CardImg " + /*status*/
4101
+ e[0] == "Closed" ? "CardImgFinished" : "")), E(t, "part", n = "CardImg " + /*status*/
4102
4102
  (e[0] == "Closing" || /*status*/
4103
- e[0] == "Closed" ? "CardImgFinished" : "")), Le(t, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
4103
+ e[0] == "Closed" ? "CardImgFinished" : "")), De(t, "background-image", "url('https://i.stack.imgur.com/y9DpT.jpg')");
4104
4104
  },
4105
4105
  m(a, o) {
4106
- G(a, t, o), i || (s = ce(
4106
+ F(a, t, o), i || (s = me(
4107
4107
  /*matchStatus*/
4108
- e[15].call(null, t)
4108
+ e[18].call(null, t)
4109
4109
  ), i = !0);
4110
4110
  },
4111
4111
  p(a, o) {
4112
4112
  o[0] & /*status*/
4113
4113
  1 && r !== (r = "CardImg " + /*status*/
4114
4114
  (a[0] == "Closing" || /*status*/
4115
- a[0] == "Closed" ? "CardImgFinished" : "")) && x(t, "class", r), o[0] & /*status*/
4115
+ a[0] == "Closed" ? "CardImgFinished" : "")) && E(t, "class", r), o[0] & /*status*/
4116
4116
  1 && n !== (n = "CardImg " + /*status*/
4117
4117
  (a[0] == "Closing" || /*status*/
4118
- a[0] == "Closed" ? "CardImgFinished" : "")) && x(t, "part", n);
4118
+ a[0] == "Closed" ? "CardImgFinished" : "")) && E(t, "part", n);
4119
4119
  },
4120
4120
  d(a) {
4121
4121
  a && U(t), i = !1, s();
@@ -4126,47 +4126,47 @@ function Ii(e) {
4126
4126
  let t, r, n, i, s;
4127
4127
  return {
4128
4128
  c() {
4129
- t = N("div"), x(t, "class", r = "CardImg " + /*status*/
4129
+ t = I("div"), E(t, "class", r = "CardImg " + /*status*/
4130
4130
  (e[0] == "Closing" || /*status*/
4131
- e[0] == "Closed" ? "CardImgFinished" : "")), x(t, "part", n = "CardImg " + /*status*/
4131
+ e[0] == "Closed" ? "CardImgFinished" : "")), E(t, "part", n = "CardImg " + /*status*/
4132
4132
  (e[0] == "Closing" || /*status*/
4133
- e[0] == "Closed" ? "CardImgFinished" : "")), Le(t, "background-image", "url('" + /*thumbnail*/
4134
- e[3] + "')");
4133
+ e[0] == "Closed" ? "CardImgFinished" : "")), De(t, "background-image", "url('" + /*thumbnail*/
4134
+ e[4] + "')");
4135
4135
  },
4136
4136
  m(a, o) {
4137
- G(a, t, o), i || (s = ce(
4137
+ F(a, t, o), i || (s = me(
4138
4138
  /*matchStatus*/
4139
- e[15].call(null, t)
4139
+ e[18].call(null, t)
4140
4140
  ), i = !0);
4141
4141
  },
4142
4142
  p(a, o) {
4143
4143
  o[0] & /*status*/
4144
4144
  1 && r !== (r = "CardImg " + /*status*/
4145
4145
  (a[0] == "Closing" || /*status*/
4146
- a[0] == "Closed" ? "CardImgFinished" : "")) && x(t, "class", r), o[0] & /*status*/
4146
+ a[0] == "Closed" ? "CardImgFinished" : "")) && E(t, "class", r), o[0] & /*status*/
4147
4147
  1 && n !== (n = "CardImg " + /*status*/
4148
4148
  (a[0] == "Closing" || /*status*/
4149
- a[0] == "Closed" ? "CardImgFinished" : "")) && x(t, "part", n), o[0] & /*thumbnail*/
4150
- 8 && Le(t, "background-image", "url('" + /*thumbnail*/
4151
- a[3] + "')");
4149
+ a[0] == "Closed" ? "CardImgFinished" : "")) && E(t, "part", n), o[0] & /*thumbnail*/
4150
+ 16 && De(t, "background-image", "url('" + /*thumbnail*/
4151
+ a[4] + "')");
4152
4152
  },
4153
4153
  d(a) {
4154
4154
  a && U(t), i = !1, s();
4155
4155
  }
4156
4156
  };
4157
4157
  }
4158
- function At(e) {
4158
+ function Ct(e) {
4159
4159
  let t, r, n, i, s;
4160
4160
  return {
4161
4161
  c() {
4162
- t = N("div"), r = M(
4162
+ t = I("div"), r = M(
4163
4163
  /*shownDate*/
4164
- e[8]
4165
- ), x(t, "class", "Date"), x(t, "part", "Date");
4164
+ e[11]
4165
+ ), E(t, "class", "Date"), E(t, "part", "Date");
4166
4166
  },
4167
4167
  m(a, o) {
4168
- G(a, t, o), S(t, r), i || (s = ce(n = /*formatDate*/
4169
- e[14].call(
4168
+ F(a, t, o), S(t, r), i || (s = me(n = /*formatDate*/
4169
+ e[17].call(
4170
4170
  null,
4171
4171
  t,
4172
4172
  /*startdate*/
@@ -4175,11 +4175,11 @@ function At(e) {
4175
4175
  },
4176
4176
  p(a, o) {
4177
4177
  o[0] & /*shownDate*/
4178
- 256 && $(
4178
+ 2048 && $(
4179
4179
  r,
4180
4180
  /*shownDate*/
4181
- a[8]
4182
- ), n && fe(n.update) && o[0] & /*startdate*/
4181
+ a[11]
4182
+ ), n && ce(n.update) && o[0] & /*startdate*/
4183
4183
  4 && n.update.call(
4184
4184
  null,
4185
4185
  /*startdate*/
@@ -4191,174 +4191,181 @@ function At(e) {
4191
4191
  }
4192
4192
  };
4193
4193
  }
4194
- function Ht(e) {
4194
+ function Bt(e) {
4195
4195
  let t, r, n = (
4196
4196
  /*$_*/
4197
- e[13]("scoreCriteria") + ""
4197
+ e[16]("scoreCriteria") + ""
4198
4198
  ), i, s, a, o, l, u = (
4199
4199
  /*$_*/
4200
- e[13]("minbet") + ""
4201
- ), h, f, c, E, d, b, g, p = (
4200
+ e[16]("minbet") + ""
4201
+ ), h, f, c, _, d, b, g, p = (
4202
4202
  /*$_*/
4203
- e[13]("seegames") + ""
4204
- ), T, B, w, H = (
4203
+ e[16]("seegames") + ""
4204
+ ), T, N, H, C = (
4205
4205
  /*$_*/
4206
- e[13]("here") + ""
4207
- ), k, F, J;
4206
+ e[16]("here") + ""
4207
+ ), G, L, j, V;
4208
4208
  return {
4209
4209
  c() {
4210
- t = N("div"), r = N("p"), i = M(n), s = M(`:
4211
-
4212
- `), a = N("span"), o = M(
4210
+ t = I("div"), r = I("p"), i = M(n), s = M(`:
4211
+
4212
+ `), a = I("span"), o = M(
4213
4213
  /*showScoreCriteria*/
4214
- e[11]
4214
+ e[14]
4215
4215
  ), l = M(`
4216
- (`), h = M(u), f = V(), c = M(
4216
+ (`), h = M(u), f = J(), c = M(
4217
4217
  /*minbetcount*/
4218
- e[5]
4219
- ), E = M(")"), d = V(), b = N("div"), g = N("p"), T = M(p), B = V(), w = N("span"), k = M(H), x(a, "part", "ScoreCriteriaSpan"), x(r, "part", "ScoreCriteriaP"), x(t, "class", "ScoreCriteria"), x(t, "part", "ScoreCriteria"), x(g, "part", "GamesP"), x(b, "class", "Games"), x(b, "part", "Games");
4218
+ e[6]
4219
+ ), _ = M(")"), d = J(), b = I("div"), g = I("p"), T = M(p), N = J(), H = I("a"), G = M(C), E(a, "part", "ScoreCriteriaSpan"), E(r, "part", "ScoreCriteriaP"), E(t, "class", "ScoreCriteria"), E(t, "part", "ScoreCriteria"), E(H, "part", "GamesAnchor"), E(
4220
+ H,
4221
+ "href",
4222
+ /*gameurl*/
4223
+ e[8]
4224
+ ), E(H, "target", L = /*keepbrowsercontext*/
4225
+ e[9] === "true" ? "_self" : "_blank"), E(g, "part", "GamesP"), E(b, "class", "Games"), E(b, "part", "Games");
4220
4226
  },
4221
- m(P, I) {
4222
- G(P, t, I), S(t, r), S(r, i), S(r, s), S(r, a), S(a, o), S(r, l), S(r, h), S(r, f), S(r, c), S(r, E), G(P, d, I), G(P, b, I), S(b, g), S(g, T), S(g, B), S(g, w), S(w, k), F || (J = [
4223
- ce(
4227
+ m(B, R) {
4228
+ F(B, t, R), S(t, r), S(r, i), S(r, s), S(r, a), S(a, o), S(r, l), S(r, h), S(r, f), S(r, c), S(r, _), F(B, d, R), F(B, b, R), S(b, g), S(g, T), S(g, N), S(g, H), S(H, G), j || (V = [
4229
+ me(
4224
4230
  /*matchScoreCriteria*/
4225
- e[16].call(null, a)
4231
+ e[19].call(null, a)
4226
4232
  ),
4227
- vr(
4228
- w,
4233
+ xr(
4234
+ H,
4229
4235
  "click",
4230
- /*tournamentGamesClicked*/
4231
- e[17]
4236
+ /*click_handler*/
4237
+ e[28]
4232
4238
  )
4233
- ], F = !0);
4239
+ ], j = !0);
4234
4240
  },
4235
- p(P, I) {
4236
- I[0] & /*$_*/
4237
- 8192 && n !== (n = /*$_*/
4238
- P[13]("scoreCriteria") + "") && $(i, n), I[0] & /*showScoreCriteria*/
4239
- 2048 && $(
4241
+ p(B, R) {
4242
+ R[0] & /*$_*/
4243
+ 65536 && n !== (n = /*$_*/
4244
+ B[16]("scoreCriteria") + "") && $(i, n), R[0] & /*showScoreCriteria*/
4245
+ 16384 && $(
4240
4246
  o,
4241
4247
  /*showScoreCriteria*/
4242
- P[11]
4243
- ), I[0] & /*$_*/
4244
- 8192 && u !== (u = /*$_*/
4245
- P[13]("minbet") + "") && $(h, u), I[0] & /*minbetcount*/
4246
- 32 && $(
4248
+ B[14]
4249
+ ), R[0] & /*$_*/
4250
+ 65536 && u !== (u = /*$_*/
4251
+ B[16]("minbet") + "") && $(h, u), R[0] & /*minbetcount*/
4252
+ 64 && $(
4247
4253
  c,
4248
4254
  /*minbetcount*/
4249
- P[5]
4250
- ), I[0] & /*$_*/
4251
- 8192 && p !== (p = /*$_*/
4252
- P[13]("seegames") + "") && $(T, p), I[0] & /*$_*/
4253
- 8192 && H !== (H = /*$_*/
4254
- P[13]("here") + "") && $(k, H);
4255
+ B[6]
4256
+ ), R[0] & /*$_*/
4257
+ 65536 && p !== (p = /*$_*/
4258
+ B[16]("seegames") + "") && $(T, p), R[0] & /*$_*/
4259
+ 65536 && C !== (C = /*$_*/
4260
+ B[16]("here") + "") && $(G, C), R[0] & /*gameurl*/
4261
+ 256 && E(
4262
+ H,
4263
+ "href",
4264
+ /*gameurl*/
4265
+ B[8]
4266
+ ), R[0] & /*keepbrowsercontext*/
4267
+ 512 && L !== (L = /*keepbrowsercontext*/
4268
+ B[9] === "true" ? "_self" : "_blank") && E(H, "target", L);
4255
4269
  },
4256
- d(P) {
4257
- P && (U(t), U(d), U(b)), F = !1, re(J);
4270
+ d(B) {
4271
+ B && (U(t), U(d), U(b)), j = !1, ne(V);
4258
4272
  }
4259
4273
  };
4260
4274
  }
4261
- function Ni(e) {
4275
+ function wi(e) {
4262
4276
  let t, r, n, i, s, a, o, l, u, h = (
4263
4277
  /*status*/
4264
- e[0] && xt(e)
4278
+ e[0] && Tt(e)
4265
4279
  ), f = (
4266
4280
  /*showenrolled*/
4267
- e[6] == "true" && St(e)
4281
+ e[7] == "true" && At(e)
4268
4282
  );
4269
4283
  function c(p, T) {
4270
4284
  return (
4271
4285
  /*thumbnail*/
4272
- p[3] ? Ii : Pi
4286
+ p[4] ? Ii : Ni
4273
4287
  );
4274
4288
  }
4275
- let E = c(e), d = E(e), b = (
4289
+ let _ = c(e), d = _(e), b = (
4276
4290
  /*startdate*/
4277
- e[2] && At(e)
4291
+ e[2] && Ct(e)
4278
4292
  ), g = (
4279
4293
  /*isLoggedIn*/
4280
- e[9] && Ht(e)
4294
+ e[12] && Bt(e)
4281
4295
  );
4282
4296
  return {
4283
4297
  c() {
4284
- t = N("div"), h && h.c(), r = V(), f && f.c(), n = V(), d.c(), i = V(), s = N("div"), a = N("div"), o = M(
4298
+ t = I("div"), h && h.c(), r = J(), f && f.c(), n = J(), d.c(), i = J(), s = I("div"), a = I("div"), o = M(
4285
4299
  /*title*/
4286
4300
  e[1]
4287
- ), l = V(), b && b.c(), u = V(), g && g.c(), x(a, "class", "Title"), x(a, "part", "Title"), x(s, "class", "Details"), x(s, "part", "Details"), x(t, "class", "Thumbnail"), x(t, "part", "Thumbnail");
4301
+ ), l = J(), b && b.c(), u = J(), g && g.c(), E(a, "class", "Title"), E(a, "part", "Title"), E(s, "class", "Details"), E(s, "part", "Details"), E(t, "class", "Thumbnail"), E(t, "part", "Thumbnail");
4288
4302
  },
4289
4303
  m(p, T) {
4290
- G(p, t, T), h && h.m(t, null), S(t, r), f && f.m(t, null), S(t, n), d.m(t, null), S(t, i), S(t, s), S(s, a), S(a, o), S(s, l), b && b.m(s, null), S(s, u), g && g.m(s, null), e[28](t);
4304
+ F(p, t, T), h && h.m(t, null), S(t, r), f && f.m(t, null), S(t, n), d.m(t, null), S(t, i), S(t, s), S(s, a), S(a, o), S(s, l), b && b.m(s, null), S(s, u), g && g.m(s, null), e[29](t);
4291
4305
  },
4292
4306
  p(p, T) {
4293
4307
  /*status*/
4294
- p[0] ? h ? h.p(p, T) : (h = xt(p), h.c(), h.m(t, r)) : h && (h.d(1), h = null), /*showenrolled*/
4295
- p[6] == "true" ? f ? f.p(p, T) : (f = St(p), f.c(), f.m(t, n)) : f && (f.d(1), f = null), E === (E = c(p)) && d ? d.p(p, T) : (d.d(1), d = E(p), d && (d.c(), d.m(t, i))), T[0] & /*title*/
4308
+ p[0] ? h ? h.p(p, T) : (h = Tt(p), h.c(), h.m(t, r)) : h && (h.d(1), h = null), /*showenrolled*/
4309
+ p[7] == "true" ? f ? f.p(p, T) : (f = At(p), f.c(), f.m(t, n)) : f && (f.d(1), f = null), _ === (_ = c(p)) && d ? d.p(p, T) : (d.d(1), d = _(p), d && (d.c(), d.m(t, i))), T[0] & /*title*/
4296
4310
  2 && $(
4297
4311
  o,
4298
4312
  /*title*/
4299
4313
  p[1]
4300
4314
  ), /*startdate*/
4301
- p[2] ? b ? b.p(p, T) : (b = At(p), b.c(), b.m(s, u)) : b && (b.d(1), b = null), /*isLoggedIn*/
4302
- p[9] ? g ? g.p(p, T) : (g = Ht(p), g.c(), g.m(s, null)) : g && (g.d(1), g = null);
4315
+ p[2] ? b ? b.p(p, T) : (b = Ct(p), b.c(), b.m(s, u)) : b && (b.d(1), b = null), /*isLoggedIn*/
4316
+ p[12] ? g ? g.p(p, T) : (g = Bt(p), g.c(), g.m(s, null)) : g && (g.d(1), g = null);
4303
4317
  },
4304
- i: D,
4305
- o: D,
4318
+ i: k,
4319
+ o: k,
4306
4320
  d(p) {
4307
- p && U(t), h && h.d(), f && f.d(), d.d(), b && b.d(), g && g.d(), e[28](null);
4321
+ p && U(t), h && h.d(), f && f.d(), d.d(), b && b.d(), g && g.d(), e[29](null);
4308
4322
  }
4309
4323
  };
4310
4324
  }
4311
- function wi(e, t, r) {
4325
+ function Oi(e, t, r) {
4312
4326
  let n;
4313
- gr(e, Hi, (m) => r(13, n = m));
4314
- let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: E = "" } = t, { showenrolled: d = "false" } = t, { gameurl: b = "" } = t, { lang: g = "en" } = t, { keepbrowsercontext: p = "false" } = t, { clientstyling: T = "" } = t, { clientstylingurl: B = "" } = t, { translationurl: w = "" } = t, H, k = "", F = !1, J = "", P = "", I = "";
4315
- const tr = () => {
4316
- fetch(w).then((R) => R.json()).then((R) => {
4317
- Object.keys(R).forEach((j) => {
4318
- _t(j, R[j]);
4327
+ pr(e, Ci, (m) => r(16, n = m));
4328
+ let { session: i = "" } = t, { userid: s = "" } = t, { title: a = "" } = t, { startdate: o = "" } = t, { status: l = "" } = t, { tourid: u = "" } = t, { thumbnail: h = "" } = t, { userenrolled: f = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: _ = "" } = t, { showenrolled: d = "false" } = t, { gameurl: b = "" } = t, { lang: g = "en" } = t, { keepbrowsercontext: p = "false" } = t, { clientstyling: T = "" } = t, { clientstylingurl: N = "" } = t, { translationurl: H = "" } = t, C, G = "", L = !1, j = "", V = "", B = "";
4329
+ const R = () => {
4330
+ fetch(H).then((w) => w.json()).then((w) => {
4331
+ Object.keys(w).forEach((z) => {
4332
+ xt(z, w[z]);
4319
4333
  });
4320
- }).catch((R) => {
4321
- console.log(R);
4334
+ }).catch((w) => {
4335
+ console.log(w);
4322
4336
  });
4323
4337
  };
4324
- Object.keys(vt).forEach((m) => {
4325
- _t(m, vt[m]);
4338
+ Object.keys(St).forEach((m) => {
4339
+ xt(m, St[m]);
4326
4340
  });
4327
- const Ke = (m) => {
4328
- m.data && (m.data && m.data.type == "SessionID" && r(9, F = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4329
- }, Ae = () => {
4341
+ const et = (m) => {
4342
+ m.data && (m.data && m.data.type == "SessionID" && r(12, L = !0), m.data.type == `TournamentStatus_${u}` && r(0, l = m.data.status));
4343
+ }, He = () => {
4330
4344
  const m = { month: "long" };
4331
- let R = new Date(o), j = new Intl.DateTimeFormat("en", m).format(R), or = R.getDate(), ur = R.toLocaleString("en-GB", {
4345
+ let w = new Date(o), z = new Intl.DateTimeFormat("en", m).format(w), ur = w.getDate(), lr = w.toLocaleString("en-GB", {
4332
4346
  hour: "numeric",
4333
4347
  minute: "numeric",
4334
4348
  hour12: !1
4335
4349
  });
4336
- const lr = () => n(l === "Running" ? "startedAt" : "startingAt");
4337
- r(8, k = `${or} ` + n(`${j}`) + ", " + lr() + ` ${ur}`);
4338
- }, He = () => {
4339
- l == "Unstarted" && (r(10, J = n("scheduled")), r(12, I = "StatusUnstarted")), l == "Running" && (r(10, J = n("ongoing")), r(12, I = "StatusRunning")), (l == "Closed" || l == "Closing") && r(10, J = n("finished")), l == "Closed" && r(12, I = "StatusClosed"), l == "Closing" && r(12, I = "StatusClosing");
4350
+ const hr = () => n(l === "Running" ? "startedAt" : "startingAt");
4351
+ r(11, G = `${ur} ` + n(`${z}`) + ", " + hr() + ` ${lr}`);
4340
4352
  }, Ce = () => {
4341
- c == "BetCount" && r(11, P = n("betCount")), c == "MaxWinStakeRatio" && r(11, P = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(11, P = n("winStakeRatio")), c == "Stake" && r(11, P = n("stake"));
4342
- }, rr = () => {
4343
- window.postMessage(
4344
- {
4345
- type: "TournamentDetailsClicked",
4346
- tournamentId: u,
4347
- showLeaderboard: !0
4348
- },
4349
- window.location.href
4350
- );
4353
+ l == "Unstarted" && (r(13, j = n("scheduled")), r(15, B = "StatusUnstarted")), l == "Running" && (r(13, j = n("ongoing")), r(15, B = "StatusRunning")), (l == "Closed" || l == "Closing") && r(13, j = n("finished")), l == "Closed" && r(15, B = "StatusClosed"), l == "Closing" && r(15, B = "StatusClosing");
4354
+ }, Be = () => {
4355
+ c == "BetCount" && r(14, V = n("betCount")), c == "MaxWinStakeRatio" && r(14, V = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(14, V = n("winStakeRatio")), c == "Stake" && r(14, V = n("stake"));
4356
+ }, tt = (m, w) => {
4357
+ window.postMessage({ type: "tournamentGamesClicked", tourId: w }, window.location.href);
4351
4358
  }, nr = () => {
4352
- i.length > 0 && i != "false" ? r(9, F = !0) : r(9, F = !1);
4359
+ i.length > 0 && i != "false" ? r(12, L = !0) : r(12, L = !1);
4353
4360
  }, ir = () => {
4354
4361
  let m = document.createElement("style");
4355
- m.innerHTML = T, H.appendChild(m);
4362
+ m.innerHTML = T, C.appendChild(m);
4356
4363
  }, sr = () => {
4357
- let m = new URL(B), R = document.createElement("style");
4358
- fetch(m.href).then((j) => j.text()).then((j) => {
4359
- R.innerHTML = j, setTimeout(
4364
+ let m = new URL(N), w = document.createElement("style");
4365
+ fetch(m.href).then((z) => z.text()).then((z) => {
4366
+ w.innerHTML = z, setTimeout(
4360
4367
  () => {
4361
- H.appendChild(R);
4368
+ C.appendChild(w);
4362
4369
  },
4363
4370
  1
4364
4371
  ), setTimeout(
@@ -4368,196 +4375,197 @@ function wi(e, t, r) {
4368
4375
  );
4369
4376
  });
4370
4377
  };
4371
- Ar(() => (setTimeout(() => et(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", Ke, !1), () => {
4372
- window.removeEventListener("message", Ke);
4378
+ Hr(() => (setTimeout(() => rt(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", et, !1), () => {
4379
+ window.removeEventListener("message", et);
4373
4380
  }));
4374
- const et = () => {
4375
- Ci(g), Ce(), He(), o && Ae();
4376
- };
4377
- function ar(m) {
4378
- De[m ? "unshift" : "push"](() => {
4379
- H = m, r(7, H);
4381
+ const rt = () => {
4382
+ Bi(g), Be(), Ce(), o && He();
4383
+ }, ar = () => tt();
4384
+ function or(m) {
4385
+ ke[m ? "unshift" : "push"](() => {
4386
+ C = m, r(10, C);
4380
4387
  });
4381
4388
  }
4382
4389
  return e.$$set = (m) => {
4383
- "session" in m && r(18, i = m.session), "userid" in m && r(19, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(20, u = m.tourid), "thumbnail" in m && r(3, h = m.thumbnail), "userenrolled" in m && r(4, f = m.userenrolled), "scorecriteria" in m && r(21, c = m.scorecriteria), "minbetcount" in m && r(5, E = m.minbetcount), "showenrolled" in m && r(6, d = m.showenrolled), "gameurl" in m && r(22, b = m.gameurl), "lang" in m && r(23, g = m.lang), "keepbrowsercontext" in m && r(24, p = m.keepbrowsercontext), "clientstyling" in m && r(25, T = m.clientstyling), "clientstylingurl" in m && r(26, B = m.clientstylingurl), "translationurl" in m && r(27, w = m.translationurl);
4390
+ "session" in m && r(21, i = m.session), "userid" in m && r(22, s = m.userid), "title" in m && r(1, a = m.title), "startdate" in m && r(2, o = m.startdate), "status" in m && r(0, l = m.status), "tourid" in m && r(3, u = m.tourid), "thumbnail" in m && r(4, h = m.thumbnail), "userenrolled" in m && r(5, f = m.userenrolled), "scorecriteria" in m && r(23, c = m.scorecriteria), "minbetcount" in m && r(6, _ = m.minbetcount), "showenrolled" in m && r(7, d = m.showenrolled), "gameurl" in m && r(8, b = m.gameurl), "lang" in m && r(24, g = m.lang), "keepbrowsercontext" in m && r(9, p = m.keepbrowsercontext), "clientstyling" in m && r(25, T = m.clientstyling), "clientstylingurl" in m && r(26, N = m.clientstylingurl), "translationurl" in m && r(27, H = m.translationurl);
4384
4391
  }, e.$$.update = () => {
4385
4392
  e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
4386
- 33554560 && H && T && ir(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4387
- 67108992 && H && B && sr(), e.$$.dirty[0] & /*translationurl*/
4388
- 134217728 && w && tr(), e.$$.dirty[0] & /*session*/
4389
- 262144 && i && nr(), e.$$.dirty[0] & /*status*/
4390
- 1 && l && He(), e.$$.dirty[0] & /*title, lang*/
4391
- 8388610 && a && g && et(), e.$$.dirty[0] & /*startdate*/
4392
- 4 && o && Ae(), e.$$.dirty[0] & /*scorecriteria*/
4393
- 2097152 && c && Ce();
4393
+ 33555456 && C && T && ir(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
4394
+ 67109888 && C && N && sr(), e.$$.dirty[0] & /*translationurl*/
4395
+ 134217728 && H && R(), e.$$.dirty[0] & /*session*/
4396
+ 2097152 && i && nr(), e.$$.dirty[0] & /*status*/
4397
+ 1 && l && Ce(), e.$$.dirty[0] & /*title, lang*/
4398
+ 16777218 && a && g && rt(), e.$$.dirty[0] & /*startdate*/
4399
+ 4 && o && He(), e.$$.dirty[0] & /*scorecriteria*/
4400
+ 8388608 && c && Be();
4394
4401
  }, [
4395
4402
  l,
4396
4403
  a,
4397
4404
  o,
4405
+ u,
4398
4406
  h,
4399
4407
  f,
4400
- E,
4408
+ _,
4401
4409
  d,
4402
- H,
4403
- k,
4404
- F,
4405
- J,
4406
- P,
4407
- I,
4410
+ b,
4411
+ p,
4412
+ C,
4413
+ G,
4414
+ L,
4415
+ j,
4416
+ V,
4417
+ B,
4408
4418
  n,
4409
- Ae,
4410
4419
  He,
4411
4420
  Ce,
4412
- rr,
4421
+ Be,
4422
+ tt,
4413
4423
  i,
4414
4424
  s,
4415
- u,
4416
4425
  c,
4417
- b,
4418
4426
  g,
4419
- p,
4420
4427
  T,
4421
- B,
4422
- w,
4423
- ar
4428
+ N,
4429
+ H,
4430
+ ar,
4431
+ or
4424
4432
  ];
4425
4433
  }
4426
- class Oi extends Dr {
4434
+ class Mi extends kr {
4427
4435
  constructor(t) {
4428
- super(), Rr(
4436
+ super(), Lr(
4429
4437
  this,
4430
4438
  t,
4439
+ Oi,
4431
4440
  wi,
4432
- Ni,
4433
- Bt,
4441
+ Nt,
4434
4442
  {
4435
- session: 18,
4436
- userid: 19,
4443
+ session: 21,
4444
+ userid: 22,
4437
4445
  title: 1,
4438
4446
  startdate: 2,
4439
4447
  status: 0,
4440
- tourid: 20,
4441
- thumbnail: 3,
4442
- userenrolled: 4,
4443
- scorecriteria: 21,
4444
- minbetcount: 5,
4445
- showenrolled: 6,
4446
- gameurl: 22,
4447
- lang: 23,
4448
- keepbrowsercontext: 24,
4448
+ tourid: 3,
4449
+ thumbnail: 4,
4450
+ userenrolled: 5,
4451
+ scorecriteria: 23,
4452
+ minbetcount: 6,
4453
+ showenrolled: 7,
4454
+ gameurl: 8,
4455
+ lang: 24,
4456
+ keepbrowsercontext: 9,
4449
4457
  clientstyling: 25,
4450
4458
  clientstylingurl: 26,
4451
4459
  translationurl: 27
4452
4460
  },
4453
- Bi,
4461
+ Pi,
4454
4462
  [-1, -1]
4455
4463
  );
4456
4464
  }
4457
4465
  get session() {
4458
- return this.$$.ctx[18];
4466
+ return this.$$.ctx[21];
4459
4467
  }
4460
4468
  set session(t) {
4461
- this.$$set({ session: t }), C();
4469
+ this.$$set({ session: t }), P();
4462
4470
  }
4463
4471
  get userid() {
4464
- return this.$$.ctx[19];
4472
+ return this.$$.ctx[22];
4465
4473
  }
4466
4474
  set userid(t) {
4467
- this.$$set({ userid: t }), C();
4475
+ this.$$set({ userid: t }), P();
4468
4476
  }
4469
4477
  get title() {
4470
4478
  return this.$$.ctx[1];
4471
4479
  }
4472
4480
  set title(t) {
4473
- this.$$set({ title: t }), C();
4481
+ this.$$set({ title: t }), P();
4474
4482
  }
4475
4483
  get startdate() {
4476
4484
  return this.$$.ctx[2];
4477
4485
  }
4478
4486
  set startdate(t) {
4479
- this.$$set({ startdate: t }), C();
4487
+ this.$$set({ startdate: t }), P();
4480
4488
  }
4481
4489
  get status() {
4482
4490
  return this.$$.ctx[0];
4483
4491
  }
4484
4492
  set status(t) {
4485
- this.$$set({ status: t }), C();
4493
+ this.$$set({ status: t }), P();
4486
4494
  }
4487
4495
  get tourid() {
4488
- return this.$$.ctx[20];
4496
+ return this.$$.ctx[3];
4489
4497
  }
4490
4498
  set tourid(t) {
4491
- this.$$set({ tourid: t }), C();
4499
+ this.$$set({ tourid: t }), P();
4492
4500
  }
4493
4501
  get thumbnail() {
4494
- return this.$$.ctx[3];
4502
+ return this.$$.ctx[4];
4495
4503
  }
4496
4504
  set thumbnail(t) {
4497
- this.$$set({ thumbnail: t }), C();
4505
+ this.$$set({ thumbnail: t }), P();
4498
4506
  }
4499
4507
  get userenrolled() {
4500
- return this.$$.ctx[4];
4508
+ return this.$$.ctx[5];
4501
4509
  }
4502
4510
  set userenrolled(t) {
4503
- this.$$set({ userenrolled: t }), C();
4511
+ this.$$set({ userenrolled: t }), P();
4504
4512
  }
4505
4513
  get scorecriteria() {
4506
- return this.$$.ctx[21];
4514
+ return this.$$.ctx[23];
4507
4515
  }
4508
4516
  set scorecriteria(t) {
4509
- this.$$set({ scorecriteria: t }), C();
4517
+ this.$$set({ scorecriteria: t }), P();
4510
4518
  }
4511
4519
  get minbetcount() {
4512
- return this.$$.ctx[5];
4520
+ return this.$$.ctx[6];
4513
4521
  }
4514
4522
  set minbetcount(t) {
4515
- this.$$set({ minbetcount: t }), C();
4523
+ this.$$set({ minbetcount: t }), P();
4516
4524
  }
4517
4525
  get showenrolled() {
4518
- return this.$$.ctx[6];
4526
+ return this.$$.ctx[7];
4519
4527
  }
4520
4528
  set showenrolled(t) {
4521
- this.$$set({ showenrolled: t }), C();
4529
+ this.$$set({ showenrolled: t }), P();
4522
4530
  }
4523
4531
  get gameurl() {
4524
- return this.$$.ctx[22];
4532
+ return this.$$.ctx[8];
4525
4533
  }
4526
4534
  set gameurl(t) {
4527
- this.$$set({ gameurl: t }), C();
4535
+ this.$$set({ gameurl: t }), P();
4528
4536
  }
4529
4537
  get lang() {
4530
- return this.$$.ctx[23];
4538
+ return this.$$.ctx[24];
4531
4539
  }
4532
4540
  set lang(t) {
4533
- this.$$set({ lang: t }), C();
4541
+ this.$$set({ lang: t }), P();
4534
4542
  }
4535
4543
  get keepbrowsercontext() {
4536
- return this.$$.ctx[24];
4544
+ return this.$$.ctx[9];
4537
4545
  }
4538
4546
  set keepbrowsercontext(t) {
4539
- this.$$set({ keepbrowsercontext: t }), C();
4547
+ this.$$set({ keepbrowsercontext: t }), P();
4540
4548
  }
4541
4549
  get clientstyling() {
4542
4550
  return this.$$.ctx[25];
4543
4551
  }
4544
4552
  set clientstyling(t) {
4545
- this.$$set({ clientstyling: t }), C();
4553
+ this.$$set({ clientstyling: t }), P();
4546
4554
  }
4547
4555
  get clientstylingurl() {
4548
4556
  return this.$$.ctx[26];
4549
4557
  }
4550
4558
  set clientstylingurl(t) {
4551
- this.$$set({ clientstylingurl: t }), C();
4559
+ this.$$set({ clientstylingurl: t }), P();
4552
4560
  }
4553
4561
  get translationurl() {
4554
4562
  return this.$$.ctx[27];
4555
4563
  }
4556
4564
  set translationurl(t) {
4557
- this.$$set({ translationurl: t }), C();
4565
+ this.$$set({ translationurl: t }), P();
4558
4566
  }
4559
4567
  }
4560
- Lr(Oi, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4568
+ Dr(Mi, { session: {}, userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4561
4569
  export {
4562
- Oi as default
4570
+ Mi as default
4563
4571
  };