@everymatrix/casino-tournaments-thumbnail 1.77.20 → 1.77.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/components/{CasinoTournamentsThumbnail-C8X4hSIn.js → CasinoTournamentsThumbnail-B2wJHr6v.js} +688 -682
  2. package/components/{CasinoTournamentsThumbnail-DMR-gqJC.js → CasinoTournamentsThumbnail-aJGV3IbX.js} +672 -666
  3. package/components/CasinoTournamentsThumbnail-wcaFhkN9.cjs +5 -0
  4. package/es2015/casino-tournaments-thumbnail.cjs +1 -1
  5. package/es2015/casino-tournaments-thumbnail.js +1 -1
  6. package/esnext/casino-tournaments-thumbnail.js +1 -1
  7. package/package.json +1 -1
  8. package/stencil/{index-97d17652-D6HPqRtr.js → index-97d17652--F7PvMq9.js} +2 -2
  9. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  10. package/stencil/{index-97d17652-B0NIExnR.js → index-97d17652-CCFHkzJw.js} +2 -2
  11. package/stencil/{ui-image-BBrwf8a4.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
  12. package/stencil/{ui-image-B374V2Sk.js → ui-image-CXqPvnQ2.js} +1 -1
  13. package/stencil/{ui-image-CQSJVNNX.js → ui-image-DgbODkuX.js} +1 -1
  14. package/stencil/{ui-image-b7b48fe5-BXmf73Ou.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  15. package/stencil/{ui-image-b7b48fe5-c0NIgcTj.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  16. package/stencil/{ui-image-b7b48fe5-DaWM2RbJ.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  17. package/stencil/{ui-image_2-DbQ7SENq.js → ui-image_2-Bm97-wkj.js} +2 -2
  18. package/stencil/{ui-image_2-Cdo33umq.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  19. package/stencil/{ui-image_2-L-CYescb.js → ui-image_2-qO3reSlr.js} +2 -2
  20. package/components/CasinoTournamentsThumbnail-rEZ5JzT4.cjs +0 -18
  21. package/stencil/index-97d17652-DNpK20ur.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var hr = Object.defineProperty, cr = Object.defineProperties;
2
- var fr = Object.getOwnPropertyDescriptors;
3
- var lt = Object.getOwnPropertySymbols;
4
- var mr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
- var Fe = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
1
+ var fr = Object.defineProperty, mr = Object.defineProperties;
2
+ var dr = Object.getOwnPropertyDescriptors;
3
+ var ct = Object.getOwnPropertySymbols;
4
+ var br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- mr.call(t, r) && Fe(e, r, t[r]);
8
- if (lt)
9
- for (var r of lt(t))
10
- dr.call(t, r) && Fe(e, r, t[r]);
7
+ br.call(t, r) && $e(e, r, t[r]);
8
+ if (ct)
9
+ for (var r of ct(t))
10
+ gr.call(t, r) && $e(e, r, t[r]);
11
11
  return e;
12
- }, ct = (e, t) => cr(e, fr(t));
13
- var j = (e, t, r) => (Fe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ft = (e, t, r) => new Promise((n, i) => {
12
+ }, mt = (e, t) => mr(e, dr(t));
13
+ var j = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var dt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  o(r.next(l));
@@ -28,32 +28,32 @@ var ft = (e, t, r) => new Promise((n, i) => {
28
28
  o((r = r.apply(e, t)).next());
29
29
  });
30
30
  import "../stencil/ui-skeleton-D8L-WY77.js";
31
- import "../stencil/ui-image-CQSJVNNX.js";
31
+ import "../stencil/ui-image-DgbODkuX.js";
32
32
  function V() {
33
33
  }
34
- function Rt(e) {
34
+ function kt(e) {
35
35
  return e();
36
36
  }
37
- function mt() {
37
+ function bt() {
38
38
  return /* @__PURE__ */ Object.create(null);
39
39
  }
40
- function re(e) {
41
- e.forEach(Rt);
40
+ function ne(e) {
41
+ e.forEach(kt);
42
42
  }
43
- function Se(e) {
43
+ function Te(e) {
44
44
  return typeof e == "function";
45
45
  }
46
- function Dt(e, t) {
46
+ function Ut(e, t) {
47
47
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
48
48
  }
49
- let Ce;
50
- function Xe(e, t) {
51
- return e === t ? !0 : (Ce || (Ce = document.createElement("a")), Ce.href = t, e === Ce.href);
49
+ let Be;
50
+ function qe(e, t) {
51
+ return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
52
52
  }
53
- function br(e) {
53
+ function pr(e) {
54
54
  return Object.keys(e).length === 0;
55
55
  }
56
- function kt(e, ...t) {
56
+ function Ft(e, ...t) {
57
57
  if (e == null) {
58
58
  for (const n of t)
59
59
  n(void 0);
@@ -62,23 +62,23 @@ function kt(e, ...t) {
62
62
  const r = e.subscribe(...t);
63
63
  return r.unsubscribe ? () => r.unsubscribe() : r;
64
64
  }
65
- function gr(e, t, r) {
66
- e.$$.on_destroy.push(kt(t, r));
65
+ function yr(e, t, r) {
66
+ e.$$.on_destroy.push(Ft(t, r));
67
67
  }
68
- function Te(e) {
69
- return e && Se(e.destroy) ? e.destroy : V;
68
+ function Ae(e) {
69
+ return e && Te(e.destroy) ? e.destroy : V;
70
70
  }
71
- function x(e, t) {
71
+ function v(e, t) {
72
72
  e.appendChild(t);
73
73
  }
74
- function pr(e, t, r) {
75
- const n = yr(e);
74
+ function _r(e, t, r) {
75
+ const n = vr(e);
76
76
  if (!n.getElementById(t)) {
77
77
  const i = H("style");
78
- i.id = t, i.textContent = r, _r(n, i);
78
+ i.id = t, i.textContent = r, Er(n, i);
79
79
  }
80
80
  }
81
- function yr(e) {
81
+ function vr(e) {
82
82
  if (!e)
83
83
  return document;
84
84
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -88,8 +88,8 @@ function yr(e) {
88
88
  t
89
89
  ) : e.ownerDocument;
90
90
  }
91
- function _r(e, t) {
92
- return x(
91
+ function Er(e, t) {
92
+ return v(
93
93
  /** @type {Document} */
94
94
  e.head || e,
95
95
  t
@@ -98,7 +98,7 @@ function _r(e, t) {
98
98
  function k(e, t, r) {
99
99
  e.insertBefore(t, r || null);
100
100
  }
101
- function O(e) {
101
+ function P(e) {
102
102
  e.parentNode && e.parentNode.removeChild(e);
103
103
  }
104
104
  function H(e) {
@@ -110,27 +110,27 @@ function R(e) {
110
110
  function Z() {
111
111
  return R(" ");
112
112
  }
113
- function vr() {
113
+ function xr() {
114
114
  return R("");
115
115
  }
116
- function Me(e, t, r, n) {
116
+ function Pe(e, t, r, n) {
117
117
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
118
118
  }
119
119
  function d(e, t, r) {
120
120
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
121
121
  }
122
- function ue(e, t, r) {
122
+ function le(e, t, r) {
123
123
  const n = t.toLowerCase();
124
124
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : d(e, t, r);
125
125
  }
126
- function xr(e) {
126
+ function Sr(e) {
127
127
  return Array.from(e.childNodes);
128
128
  }
129
129
  function q(e, t) {
130
130
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
131
131
  t);
132
132
  }
133
- function Er(e) {
133
+ function Tr(e) {
134
134
  const t = {};
135
135
  return e.childNodes.forEach(
136
136
  /** @param {Element} node */
@@ -139,87 +139,87 @@ function Er(e) {
139
139
  }
140
140
  ), t;
141
141
  }
142
- let ve;
143
- function _e(e) {
144
- ve = e;
142
+ let Ee;
143
+ function ve(e) {
144
+ Ee = e;
145
145
  }
146
- function Sr() {
147
- if (!ve)
146
+ function Ar() {
147
+ if (!Ee)
148
148
  throw new Error("Function called outside component initialization");
149
- return ve;
149
+ return Ee;
150
150
  }
151
- function Tr(e) {
152
- Sr().$$.on_mount.push(e);
151
+ function Hr(e) {
152
+ Ar().$$.on_mount.push(e);
153
153
  }
154
- const oe = [], Ze = [];
155
- let le = [];
156
- const dt = [], Ar = /* @__PURE__ */ Promise.resolve();
157
- let qe = !1;
158
- function Hr() {
159
- qe || (qe = !0, Ar.then(A));
154
+ const ue = [], Qe = [];
155
+ let he = [];
156
+ const gt = [], Cr = /* @__PURE__ */ Promise.resolve();
157
+ let Ye = !1;
158
+ function Br() {
159
+ Ye || (Ye = !0, Cr.then(A));
160
160
  }
161
- function Qe(e) {
162
- le.push(e);
161
+ function Ke(e) {
162
+ he.push(e);
163
163
  }
164
- const Ge = /* @__PURE__ */ new Set();
165
- let se = 0;
164
+ const je = /* @__PURE__ */ new Set();
165
+ let ae = 0;
166
166
  function A() {
167
- if (se !== 0)
167
+ if (ae !== 0)
168
168
  return;
169
- const e = ve;
169
+ const e = Ee;
170
170
  do {
171
171
  try {
172
- for (; se < oe.length; ) {
173
- const t = oe[se];
174
- se++, _e(t), Cr(t.$$);
172
+ for (; ae < ue.length; ) {
173
+ const t = ue[ae];
174
+ ae++, ve(t), wr(t.$$);
175
175
  }
176
176
  } catch (t) {
177
- throw oe.length = 0, se = 0, t;
177
+ throw ue.length = 0, ae = 0, t;
178
178
  }
179
- for (_e(null), oe.length = 0, se = 0; Ze.length; )
180
- Ze.pop()();
181
- for (let t = 0; t < le.length; t += 1) {
182
- const r = le[t];
183
- Ge.has(r) || (Ge.add(r), r());
179
+ for (ve(null), ue.length = 0, ae = 0; Qe.length; )
180
+ Qe.pop()();
181
+ for (let t = 0; t < he.length; t += 1) {
182
+ const r = he[t];
183
+ je.has(r) || (je.add(r), r());
184
184
  }
185
- le.length = 0;
186
- } while (oe.length);
187
- for (; dt.length; )
188
- dt.pop()();
189
- qe = !1, Ge.clear(), _e(e);
185
+ he.length = 0;
186
+ } while (ue.length);
187
+ for (; gt.length; )
188
+ gt.pop()();
189
+ Ye = !1, je.clear(), ve(e);
190
190
  }
191
- function Cr(e) {
191
+ function wr(e) {
192
192
  if (e.fragment !== null) {
193
- e.update(), re(e.before_update);
193
+ e.update(), ne(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Qe);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ke);
196
196
  }
197
197
  }
198
- function Br(e) {
198
+ function Ir(e) {
199
199
  const t = [], r = [];
200
- le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
200
+ he.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), he = t;
201
201
  }
202
- const wr = /* @__PURE__ */ new Set();
203
- function Ir(e, t) {
204
- e && e.i && (wr.delete(e), e.i(t));
202
+ const Nr = /* @__PURE__ */ new Set();
203
+ function Or(e, t) {
204
+ e && e.i && (Nr.delete(e), e.i(t));
205
205
  }
206
- function Nr(e, t, r) {
206
+ function Pr(e, t, r) {
207
207
  const { fragment: n, after_update: i } = e.$$;
208
- n && n.m(t, r), Qe(() => {
209
- const s = e.$$.on_mount.map(Rt).filter(Se);
210
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
211
- }), i.forEach(Qe);
208
+ n && n.m(t, r), Ke(() => {
209
+ const s = e.$$.on_mount.map(kt).filter(Te);
210
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
211
+ }), i.forEach(Ke);
212
212
  }
213
213
  function Mr(e, t) {
214
214
  const r = e.$$;
215
- r.fragment !== null && (Br(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
215
+ r.fragment !== null && (Ir(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
216
216
  }
217
- function Or(e, t) {
218
- e.$$.dirty[0] === -1 && (oe.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
217
+ function Lr(e, t) {
218
+ e.$$.dirty[0] === -1 && (ue.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
219
  }
220
- function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
221
- const l = ve;
222
- _e(e);
220
+ function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
221
+ const l = Ee;
222
+ ve(e);
223
223
  const u = e.$$ = {
224
224
  fragment: null,
225
225
  ctx: [],
@@ -227,7 +227,7 @@ function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
227
227
  props: s,
228
228
  update: V,
229
229
  not_equal: i,
230
- bound: mt(),
230
+ bound: bt(),
231
231
  // lifecycle
232
232
  on_mount: [],
233
233
  on_destroy: [],
@@ -236,28 +236,28 @@ function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
236
236
  after_update: [],
237
237
  context: new Map(t.context || (l ? l.$$.context : [])),
238
238
  // everything else
239
- callbacks: mt(),
239
+ callbacks: bt(),
240
240
  dirty: o,
241
241
  skip_bound: !1,
242
242
  root: t.target || l.$$.root
243
243
  };
244
244
  a && a(u.root);
245
245
  let h = !1;
246
- if (u.ctx = r ? r(e, t.props || {}, (c, m, ...v) => {
247
- const y = v.length ? v[0] : m;
248
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Or(e, c)), m;
249
- }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
246
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ..._) => {
247
+ const y = _.length ? _[0] : m;
248
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Lr(e, c)), m;
249
+ }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
250
250
  if (t.hydrate) {
251
- const c = xr(t.target);
252
- u.fragment && u.fragment.l(c), c.forEach(O);
251
+ const c = Sr(t.target);
252
+ u.fragment && u.fragment.l(c), c.forEach(P);
253
253
  } else
254
254
  u.fragment && u.fragment.c();
255
- t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), A();
255
+ t.intro && Or(e.$$.fragment), Pr(e, t.target, t.anchor), A();
256
256
  }
257
- _e(l);
257
+ ve(l);
258
258
  }
259
- let Ut;
260
- typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
259
+ let Gt;
260
+ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
261
261
  constructor(t, r, n) {
262
262
  super();
263
263
  /** The Svelte component constructor */
@@ -294,7 +294,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
294
294
  }
295
295
  }
296
296
  connectedCallback() {
297
- return ft(this, null, function* () {
297
+ return dt(this, null, function* () {
298
298
  if (this.$$cn = !0, !this.$$c) {
299
299
  let t = function(s) {
300
300
  return () => {
@@ -311,25 +311,25 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
311
311
  k(u, a, h);
312
312
  },
313
313
  d: function(u) {
314
- u && O(a);
314
+ u && P(a);
315
315
  }
316
316
  };
317
317
  };
318
318
  };
319
319
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
320
320
  return;
321
- const r = {}, n = Er(this);
321
+ const r = {}, n = Tr(this);
322
322
  for (const s of this.$$s)
323
323
  s in n && (r[s] = [t(s)]);
324
324
  for (const s of this.attributes) {
325
325
  const a = this.$$g_p(s.name);
326
- a in this.$$d || (this.$$d[a] = we(a, s.value, this.$$p_d, "toProp"));
326
+ a in this.$$d || (this.$$d[a] = Ie(a, s.value, this.$$p_d, "toProp"));
327
327
  }
328
328
  for (const s in this.$$p_d)
329
329
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
330
330
  this.$$c = new this.$$ctor({
331
331
  target: this.shadowRoot || this,
332
- props: ct(ht({}, this.$$d), {
332
+ props: mt(ft({}, this.$$d), {
333
333
  $$slots: r,
334
334
  $$scope: {
335
335
  ctx: []
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
340
340
  this.$$r = !0;
341
341
  for (const s in this.$$p_d)
342
342
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
343
- const a = we(
343
+ const a = Ie(
344
344
  s,
345
345
  this.$$d[s],
346
346
  this.$$p_d,
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
364
364
  // and setting attributes through setAttribute etc, this is helpful
365
365
  attributeChangedCallback(t, r, n) {
366
366
  var i;
367
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
367
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
368
368
  }
369
369
  disconnectedCallback() {
370
370
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -377,7 +377,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
377
377
  ) || t;
378
378
  }
379
379
  });
380
- function we(e, t, r, n) {
380
+ function Ie(e, t, r, n) {
381
381
  var s;
382
382
  const i = (s = r[e]) == null ? void 0 : s.type;
383
383
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -407,8 +407,8 @@ function we(e, t, r, n) {
407
407
  return t;
408
408
  }
409
409
  }
410
- function Lr(e, t, r, n, i, s) {
411
- let a = class extends Ut {
410
+ function Dr(e, t, r, n, i, s) {
411
+ let a = class extends Gt {
412
412
  constructor() {
413
413
  super(e, r, i), this.$$p_d = t;
414
414
  }
@@ -425,7 +425,7 @@ function Lr(e, t, r, n, i, s) {
425
425
  },
426
426
  set(l) {
427
427
  var u;
428
- l = we(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
428
+ l = Ie(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
429
429
  }
430
430
  });
431
431
  }), n.forEach((o) => {
@@ -438,7 +438,7 @@ function Lr(e, t, r, n, i, s) {
438
438
  }), e.element = /** @type {any} */
439
439
  a, a;
440
440
  }
441
- class Rr {
441
+ class kr {
442
442
  constructor() {
443
443
  /**
444
444
  * ### PRIVATE API
@@ -468,7 +468,7 @@ class Rr {
468
468
  * @returns {() => void}
469
469
  */
470
470
  $on(t, r) {
471
- if (!Se(r))
471
+ if (!Te(r))
472
472
  return V;
473
473
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
474
474
  return n.push(r), () => {
@@ -481,29 +481,29 @@ class Rr {
481
481
  * @returns {void}
482
482
  */
483
483
  $set(t) {
484
- this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
485
485
  }
486
486
  }
487
- const Dr = "4";
488
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
489
- const ae = [];
490
- function kr(e, t) {
487
+ const Ur = "4";
488
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
489
+ const oe = [];
490
+ function Fr(e, t) {
491
491
  return {
492
- subscribe: Le(e, t).subscribe
492
+ subscribe: De(e, t).subscribe
493
493
  };
494
494
  }
495
- function Le(e, t = V) {
495
+ function De(e, t = V) {
496
496
  let r;
497
497
  const n = /* @__PURE__ */ new Set();
498
498
  function i(o) {
499
- if (Dt(e, o) && (e = o, r)) {
500
- const l = !ae.length;
499
+ if (Ut(e, o) && (e = o, r)) {
500
+ const l = !oe.length;
501
501
  for (const u of n)
502
- u[1](), ae.push(u, e);
502
+ u[1](), oe.push(u, e);
503
503
  if (l) {
504
- for (let u = 0; u < ae.length; u += 2)
505
- ae[u][0](ae[u + 1]);
506
- ae.length = 0;
504
+ for (let u = 0; u < oe.length; u += 2)
505
+ oe[u][0](oe[u + 1]);
506
+ oe.length = 0;
507
507
  }
508
508
  }
509
509
  }
@@ -518,12 +518,12 @@ function Le(e, t = V) {
518
518
  }
519
519
  return { set: i, update: s, subscribe: a };
520
520
  }
521
- function de(e, t, r) {
521
+ function be(e, t, r) {
522
522
  const n = !Array.isArray(e), i = n ? [e] : e;
523
523
  if (!i.every(Boolean))
524
524
  throw new Error("derived() expects stores as input, got a falsy value");
525
525
  const s = t.length < 2;
526
- return kr(r, (a, o) => {
526
+ return Fr(r, (a, o) => {
527
527
  let l = !1;
528
528
  const u = [];
529
529
  let h = 0, c = V;
@@ -532,9 +532,9 @@ function de(e, t, r) {
532
532
  return;
533
533
  c();
534
534
  const y = t(n ? u[0] : u, a, o);
535
- s ? a(y) : c = Se(y) ? y : V;
536
- }, v = i.map(
537
- (y, T) => kt(
535
+ s ? a(y) : c = Te(y) ? y : V;
536
+ }, _ = i.map(
537
+ (y, T) => Ft(
538
538
  y,
539
539
  (w) => {
540
540
  u[T] = w, h &= ~(1 << T), l && m();
@@ -545,126 +545,112 @@ function de(e, t, r) {
545
545
  )
546
546
  );
547
547
  return l = !0, m(), function() {
548
- re(v), c(), l = !1;
548
+ ne(_), c(), l = !1;
549
549
  };
550
550
  });
551
551
  }
552
- function Ur(e) {
552
+ function Gr(e) {
553
553
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
554
554
  }
555
- var Fr = function(t) {
556
- return Gr(t) && !$r(t);
555
+ var $r = function(t) {
556
+ return jr(t) && !Vr(t);
557
557
  };
558
- function Gr(e) {
558
+ function jr(e) {
559
559
  return !!e && typeof e == "object";
560
560
  }
561
- function $r(e) {
561
+ function Vr(e) {
562
562
  var t = Object.prototype.toString.call(e);
563
- return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
563
+ return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
564
564
  }
565
- var jr = typeof Symbol == "function" && Symbol.for, Vr = jr ? Symbol.for("react.element") : 60103;
566
- function Jr(e) {
567
- return e.$$typeof === Vr;
565
+ var Jr = typeof Symbol == "function" && Symbol.for, zr = Jr ? Symbol.for("react.element") : 60103;
566
+ function Wr(e) {
567
+ return e.$$typeof === zr;
568
568
  }
569
- function zr(e) {
569
+ function Xr(e) {
570
570
  return Array.isArray(e) ? [] : {};
571
571
  }
572
572
  function xe(e, t) {
573
- return t.clone !== !1 && t.isMergeableObject(e) ? he(zr(e), e, t) : e;
573
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Xr(e), e, t) : e;
574
574
  }
575
- function Wr(e, t, r) {
575
+ function Zr(e, t, r) {
576
576
  return e.concat(t).map(function(n) {
577
577
  return xe(n, r);
578
578
  });
579
579
  }
580
- function Xr(e, t) {
580
+ function qr(e, t) {
581
581
  if (!t.customMerge)
582
- return he;
582
+ return ce;
583
583
  var r = t.customMerge(e);
584
- return typeof r == "function" ? r : he;
584
+ return typeof r == "function" ? r : ce;
585
585
  }
586
- function Zr(e) {
586
+ function Qr(e) {
587
587
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
588
588
  return Object.propertyIsEnumerable.call(e, t);
589
589
  }) : [];
590
590
  }
591
- function bt(e) {
592
- return Object.keys(e).concat(Zr(e));
591
+ function pt(e) {
592
+ return Object.keys(e).concat(Qr(e));
593
593
  }
594
- function Ft(e, t) {
594
+ function $t(e, t) {
595
595
  try {
596
596
  return t in e;
597
597
  } catch (r) {
598
598
  return !1;
599
599
  }
600
600
  }
601
- function qr(e, t) {
602
- return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
601
+ function Yr(e, t) {
602
+ return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
603
603
  }
604
- function Qr(e, t, r) {
604
+ function Kr(e, t, r) {
605
605
  var n = {};
606
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
606
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
607
607
  n[i] = xe(e[i], r);
608
- }), bt(t).forEach(function(i) {
609
- qr(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xr(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
608
+ }), pt(t).forEach(function(i) {
609
+ Yr(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = qr(i, r)(e[i], t[i], r) : n[i] = xe(t[i], r));
610
610
  }), n;
611
611
  }
612
- function he(e, t, r) {
613
- r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = xe;
612
+ function ce(e, t, r) {
613
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = xe;
614
614
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
615
- return s ? n ? r.arrayMerge(e, t, r) : Qr(e, t, r) : xe(t, r);
615
+ return s ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : xe(t, r);
616
616
  }
617
- he.all = function(t, r) {
617
+ ce.all = function(t, r) {
618
618
  if (!Array.isArray(t))
619
619
  throw new Error("first argument should be an array");
620
620
  return t.reduce(function(n, i) {
621
- return he(n, i, r);
621
+ return ce(n, i, r);
622
622
  }, {});
623
623
  };
624
- var Yr = he, Kr = Yr;
625
- const en = /* @__PURE__ */ Ur(Kr);
626
- /*! *****************************************************************************
627
- Copyright (c) Microsoft Corporation.
628
-
629
- Permission to use, copy, modify, and/or distribute this software for any
630
- purpose with or without fee is hereby granted.
631
-
632
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
633
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
634
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
635
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
636
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
637
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
638
- PERFORMANCE OF THIS SOFTWARE.
639
- ***************************************************************************** */
640
- var Ye = function(e, t) {
641
- return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
624
+ var en = ce, tn = en;
625
+ const rn = /* @__PURE__ */ Gr(tn);
626
+ var et = function(e, t) {
627
+ return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
642
628
  r.__proto__ = n;
643
629
  } || function(r, n) {
644
630
  for (var i in n)
645
631
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
646
- }, Ye(e, t);
632
+ }, et(e, t);
647
633
  };
648
- function Re(e, t) {
634
+ function ke(e, t) {
649
635
  if (typeof t != "function" && t !== null)
650
636
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
651
- Ye(e, t);
637
+ et(e, t);
652
638
  function r() {
653
639
  this.constructor = e;
654
640
  }
655
641
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
656
642
  }
657
- var _ = function() {
658
- return _ = Object.assign || function(t) {
643
+ var Q = function() {
644
+ return Q = Object.assign || function(t) {
659
645
  for (var r, n = 1, i = arguments.length; n < i; n++) {
660
646
  r = arguments[n];
661
647
  for (var s in r)
662
648
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
663
649
  }
664
650
  return t;
665
- }, _.apply(this, arguments);
651
+ }, Q.apply(this, arguments);
666
652
  };
667
- function tn(e, t) {
653
+ function nn(e, t) {
668
654
  var r = {};
669
655
  for (var n in e)
670
656
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -673,43 +659,43 @@ function tn(e, t) {
673
659
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
674
660
  return r;
675
661
  }
676
- function $e(e, t, r) {
677
- if (arguments.length === 2)
662
+ function Ve(e, t, r) {
663
+ if (r || arguments.length === 2)
678
664
  for (var n = 0, i = t.length, s; n < i; n++)
679
665
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
680
- return e.concat(s || t);
666
+ return e.concat(s || Array.prototype.slice.call(t));
681
667
  }
682
- function je(e, t) {
683
- var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : on, i = t && t.strategy ? t.strategy : sn;
668
+ function Je(e, t) {
669
+ var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : ln, i = t && t.strategy ? t.strategy : on;
684
670
  return i(e, {
685
671
  cache: r,
686
672
  serializer: n
687
673
  });
688
674
  }
689
- function rn(e) {
675
+ function sn(e) {
690
676
  return e == null || typeof e == "number" || typeof e == "boolean";
691
677
  }
692
- function nn(e, t, r, n) {
693
- var i = rn(n) ? n : r(n), s = t.get(i);
678
+ function an(e, t, r, n) {
679
+ var i = sn(n) ? n : r(n), s = t.get(i);
694
680
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
695
681
  }
696
- function Gt(e, t, r) {
682
+ function jt(e, t, r) {
697
683
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
698
684
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
699
685
  }
700
- function $t(e, t, r, n, i) {
686
+ function Vt(e, t, r, n, i) {
701
687
  return r.bind(t, e, n, i);
702
688
  }
703
- function sn(e, t) {
704
- var r = e.length === 1 ? nn : Gt;
705
- return $t(e, this, r, t.cache.create(), t.serializer);
689
+ function on(e, t) {
690
+ var r = e.length === 1 ? an : jt;
691
+ return Vt(e, this, r, t.cache.create(), t.serializer);
706
692
  }
707
- function an(e, t) {
708
- return $t(e, this, Gt, t.cache.create(), t.serializer);
693
+ function un(e, t) {
694
+ return Vt(e, this, jt, t.cache.create(), t.serializer);
709
695
  }
710
- var on = function() {
696
+ var ln = function() {
711
697
  return JSON.stringify(arguments);
712
- }, un = (
698
+ }, hn = (
713
699
  /** @class */
714
700
  function() {
715
701
  function e() {
@@ -721,61 +707,71 @@ var on = function() {
721
707
  this.cache[t] = r;
722
708
  }, e;
723
709
  }()
724
- ), ln = {
710
+ ), cn = {
725
711
  create: function() {
726
- return new un();
712
+ return new hn();
727
713
  }
728
- }, Ve = {
729
- variadic: an
730
- }, g;
714
+ }, ze = {
715
+ variadic: un
716
+ }, Me = function() {
717
+ return Me = Object.assign || function(t) {
718
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
719
+ r = arguments[n];
720
+ for (var s in r)
721
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
722
+ }
723
+ return t;
724
+ }, Me.apply(this, arguments);
725
+ };
726
+ var g;
731
727
  (function(e) {
732
728
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
733
729
  })(g || (g = {}));
734
- var S;
730
+ var x;
735
731
  (function(e) {
736
732
  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";
737
- })(S || (S = {}));
738
- var ce;
733
+ })(x || (x = {}));
734
+ var fe;
739
735
  (function(e) {
740
736
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
741
- })(ce || (ce = {}));
742
- function gt(e) {
743
- return e.type === S.literal;
744
- }
745
- function hn(e) {
746
- return e.type === S.argument;
747
- }
748
- function jt(e) {
749
- return e.type === S.number;
737
+ })(fe || (fe = {}));
738
+ function yt(e) {
739
+ return e.type === x.literal;
750
740
  }
751
- function Vt(e) {
752
- return e.type === S.date;
741
+ function fn(e) {
742
+ return e.type === x.argument;
753
743
  }
754
744
  function Jt(e) {
755
- return e.type === S.time;
745
+ return e.type === x.number;
756
746
  }
757
747
  function zt(e) {
758
- return e.type === S.select;
748
+ return e.type === x.date;
759
749
  }
760
750
  function Wt(e) {
761
- return e.type === S.plural;
762
- }
763
- function cn(e) {
764
- return e.type === S.pound;
751
+ return e.type === x.time;
765
752
  }
766
753
  function Xt(e) {
767
- return e.type === S.tag;
754
+ return e.type === x.select;
768
755
  }
769
756
  function Zt(e) {
770
- return !!(e && typeof e == "object" && e.type === ce.number);
771
- }
772
- function Ke(e) {
773
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
757
+ return e.type === x.plural;
774
758
  }
775
- var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
776
759
  function mn(e) {
760
+ return e.type === x.pound;
761
+ }
762
+ function qt(e) {
763
+ return e.type === x.tag;
764
+ }
765
+ function Qt(e) {
766
+ return !!(e && typeof e == "object" && e.type === fe.number);
767
+ }
768
+ function tt(e) {
769
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
770
+ }
771
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
772
+ function bn(e) {
777
773
  var t = {};
778
- return e.replace(fn, function(r) {
774
+ return e.replace(dn, function(r) {
779
775
  var n = r.length;
780
776
  switch (r[0]) {
781
777
  case "G":
@@ -864,11 +860,21 @@ function mn(e) {
864
860
  return "";
865
861
  }), t;
866
862
  }
867
- var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
868
- function bn(e) {
863
+ var S = function() {
864
+ return S = Object.assign || function(t) {
865
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
866
+ r = arguments[n];
867
+ for (var s in r)
868
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
869
+ }
870
+ return t;
871
+ }, S.apply(this, arguments);
872
+ };
873
+ var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
874
+ function pn(e) {
869
875
  if (e.length === 0)
870
876
  throw new Error("Number skeleton cannot be empty");
871
- for (var t = e.split(dn).filter(function(m) {
877
+ for (var t = e.split(gn).filter(function(m) {
872
878
  return m.length > 0;
873
879
  }), r = [], n = 0, i = t; n < i.length; n++) {
874
880
  var s = i[n], a = s.split("/");
@@ -883,17 +889,17 @@ function bn(e) {
883
889
  }
884
890
  return r;
885
891
  }
886
- function gn(e) {
892
+ function yn(e) {
887
893
  return e.replace(/^(.*?)-/, "");
888
894
  }
889
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
890
- function yt(e) {
895
+ var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
896
+ function vt(e) {
891
897
  var t = {};
892
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
898
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
893
899
  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)), "";
894
900
  }), t;
895
901
  }
896
- function Kt(e) {
902
+ function tr(e) {
897
903
  switch (e) {
898
904
  case "sign-auto":
899
905
  return {
@@ -933,7 +939,7 @@ function Kt(e) {
933
939
  };
934
940
  }
935
941
  }
936
- function yn(e) {
942
+ function vn(e) {
937
943
  var t;
938
944
  if (e[0] === "E" && e[1] === "E" ? (t = {
939
945
  notation: "engineering"
@@ -941,17 +947,17 @@ function yn(e) {
941
947
  notation: "scientific"
942
948
  }, e = e.slice(1)), t) {
943
949
  var r = e.slice(0, 2);
944
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
950
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
945
951
  throw new Error("Malformed concise eng/scientific notation");
946
952
  t.minimumIntegerDigits = e.length;
947
953
  }
948
954
  return t;
949
955
  }
950
- function _t(e) {
951
- var t = {}, r = Kt(e);
956
+ function Et(e) {
957
+ var t = {}, r = tr(e);
952
958
  return r || t;
953
959
  }
954
- function _n(e) {
960
+ function En(e) {
955
961
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
956
962
  var i = n[r];
957
963
  switch (i.stem) {
@@ -975,7 +981,7 @@ function _n(e) {
975
981
  continue;
976
982
  case "measure-unit":
977
983
  case "unit":
978
- t.style = "unit", t.unit = gn(i.options[0]);
984
+ t.style = "unit", t.unit = yn(i.options[0]);
979
985
  continue;
980
986
  case "compact-short":
981
987
  case "K":
@@ -986,13 +992,13 @@ function _n(e) {
986
992
  t.notation = "compact", t.compactDisplay = "long";
987
993
  continue;
988
994
  case "scientific":
989
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
990
- return _(_({}, l), _t(u));
995
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
996
+ return S(S({}, l), Et(u));
991
997
  }, {}));
992
998
  continue;
993
999
  case "engineering":
994
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
995
- return _(_({}, l), _t(u));
1000
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1001
+ return S(S({}, l), Et(u));
996
1002
  }, {}));
997
1003
  continue;
998
1004
  case "notation-simple":
@@ -1037,45 +1043,45 @@ function _n(e) {
1037
1043
  case "integer-width":
1038
1044
  if (i.options.length > 1)
1039
1045
  throw new RangeError("integer-width stems only accept a single optional option");
1040
- i.options[0].replace(pn, function(l, u, h, c, m, v) {
1046
+ i.options[0].replace(_n, function(l, u, h, c, m, _) {
1041
1047
  if (u)
1042
1048
  t.minimumIntegerDigits = h.length;
1043
1049
  else {
1044
1050
  if (c && m)
1045
1051
  throw new Error("We currently do not support maximum integer digits");
1046
- if (v)
1052
+ if (_)
1047
1053
  throw new Error("We currently do not support exact integer digits");
1048
1054
  }
1049
1055
  return "";
1050
1056
  });
1051
1057
  continue;
1052
1058
  }
1053
- if (Yt.test(i.stem)) {
1059
+ if (er.test(i.stem)) {
1054
1060
  t.minimumIntegerDigits = i.stem.length;
1055
1061
  continue;
1056
1062
  }
1057
- if (pt.test(i.stem)) {
1063
+ if (_t.test(i.stem)) {
1058
1064
  if (i.options.length > 1)
1059
1065
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1060
- i.stem.replace(pt, function(l, u, h, c, m, v) {
1061
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && v ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + v.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1066
+ i.stem.replace(_t, function(l, u, h, c, m, _) {
1067
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1062
1068
  });
1063
1069
  var s = i.options[0];
1064
- s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), yt(s)));
1070
+ s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), vt(s)));
1065
1071
  continue;
1066
1072
  }
1067
- if (Qt.test(i.stem)) {
1068
- t = _(_({}, t), yt(i.stem));
1073
+ if (Kt.test(i.stem)) {
1074
+ t = S(S({}, t), vt(i.stem));
1069
1075
  continue;
1070
1076
  }
1071
- var a = Kt(i.stem);
1072
- a && (t = _(_({}, t), a));
1073
- var o = yn(i.stem);
1074
- o && (t = _(_({}, t), o));
1077
+ var a = tr(i.stem);
1078
+ a && (t = S(S({}, t), a));
1079
+ var o = vn(i.stem);
1080
+ o && (t = S(S({}, t), o));
1075
1081
  }
1076
1082
  return t;
1077
1083
  }
1078
- var Be = {
1084
+ var we = {
1079
1085
  "001": [
1080
1086
  "H",
1081
1087
  "h"
@@ -2490,13 +2496,13 @@ var Be = {
2490
2496
  "h"
2491
2497
  ]
2492
2498
  };
2493
- function vn(e, t) {
2499
+ function xn(e, t) {
2494
2500
  for (var r = "", n = 0; n < e.length; n++) {
2495
2501
  var i = e.charAt(n);
2496
2502
  if (i === "j") {
2497
2503
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2498
2504
  s++, n++;
2499
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = xn(t);
2505
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Sn(t);
2500
2506
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2501
2507
  r += l;
2502
2508
  for (; a-- > 0; )
@@ -2506,7 +2512,7 @@ function vn(e, t) {
2506
2512
  }
2507
2513
  return r;
2508
2514
  }
2509
- function xn(e) {
2515
+ function Sn(e) {
2510
2516
  var t = e.hourCycle;
2511
2517
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2512
2518
  e.hourCycles && // @ts-ignore
@@ -2525,23 +2531,23 @@ function xn(e) {
2525
2531
  }
2526
2532
  var r = e.language, n;
2527
2533
  r !== "root" && (n = e.maximize().region);
2528
- var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
2534
+ var i = we[n || ""] || we[r || ""] || we["".concat(r, "-001")] || we["001"];
2529
2535
  return i[0];
2530
2536
  }
2531
- var Je, En = new RegExp("^".concat(qt.source, "*")), Sn = new RegExp("".concat(qt.source, "*$"));
2537
+ var We, Tn = new RegExp("^".concat(Yt.source, "*")), An = new RegExp("".concat(Yt.source, "*$"));
2532
2538
  function p(e, t) {
2533
2539
  return { start: e, end: t };
2534
2540
  }
2535
- var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Hn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Bn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Nn = In ? Number.isSafeInteger : function(e) {
2541
+ var Hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Cn = !!String.fromCodePoint, Bn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, Pn = On ? Number.isSafeInteger : function(e) {
2536
2542
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2537
- }, et = !0;
2543
+ }, rt = !0;
2538
2544
  try {
2539
- var Mn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2540
- et = ((Je = Mn.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2545
+ var Mn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2546
+ rt = ((We = Mn.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
2541
2547
  } catch (e) {
2542
- et = !1;
2548
+ rt = !1;
2543
2549
  }
2544
- var vt = Tn ? (
2550
+ var xt = Hn ? (
2545
2551
  // Native
2546
2552
  function(t, r, n) {
2547
2553
  return t.startsWith(r, n);
@@ -2551,7 +2557,7 @@ var vt = Tn ? (
2551
2557
  function(t, r, n) {
2552
2558
  return t.slice(n, n + r.length) === r;
2553
2559
  }
2554
- ), tt = An ? String.fromCodePoint : (
2560
+ ), nt = Cn ? String.fromCodePoint : (
2555
2561
  // IE11
2556
2562
  function() {
2557
2563
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2563,9 +2569,9 @@ var vt = Tn ? (
2563
2569
  }
2564
2570
  return n;
2565
2571
  }
2566
- ), xt = (
2572
+ ), St = (
2567
2573
  // native
2568
- Hn ? Object.fromEntries : (
2574
+ Bn ? Object.fromEntries : (
2569
2575
  // Ponyfill
2570
2576
  function(t) {
2571
2577
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2575,7 +2581,7 @@ var vt = Tn ? (
2575
2581
  return r;
2576
2582
  }
2577
2583
  )
2578
- ), er = Cn ? (
2584
+ ), rr = wn ? (
2579
2585
  // Native
2580
2586
  function(t, r) {
2581
2587
  return t.codePointAt(r);
@@ -2589,7 +2595,7 @@ var vt = Tn ? (
2589
2595
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2590
2596
  }
2591
2597
  }
2592
- ), On = Bn ? (
2598
+ ), Ln = In ? (
2593
2599
  // Native
2594
2600
  function(t) {
2595
2601
  return t.trimStart();
@@ -2597,9 +2603,9 @@ var vt = Tn ? (
2597
2603
  ) : (
2598
2604
  // Ponyfill
2599
2605
  function(t) {
2600
- return t.replace(En, "");
2606
+ return t.replace(Tn, "");
2601
2607
  }
2602
- ), Pn = wn ? (
2608
+ ), Rn = Nn ? (
2603
2609
  // Native
2604
2610
  function(t) {
2605
2611
  return t.trimEnd();
@@ -2607,32 +2613,32 @@ var vt = Tn ? (
2607
2613
  ) : (
2608
2614
  // Ponyfill
2609
2615
  function(t) {
2610
- return t.replace(Sn, "");
2616
+ return t.replace(An, "");
2611
2617
  }
2612
2618
  );
2613
- function tr(e, t) {
2619
+ function nr(e, t) {
2614
2620
  return new RegExp(e, t);
2615
2621
  }
2616
- var rt;
2617
- if (et) {
2618
- var Et = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
- rt = function(t, r) {
2622
+ var it;
2623
+ if (rt) {
2624
+ var Tt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2625
+ it = function(t, r) {
2620
2626
  var n;
2621
- Et.lastIndex = r;
2622
- var i = Et.exec(t);
2627
+ Tt.lastIndex = r;
2628
+ var i = Tt.exec(t);
2623
2629
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2624
2630
  };
2625
2631
  } else
2626
- rt = function(t, r) {
2632
+ it = function(t, r) {
2627
2633
  for (var n = []; ; ) {
2628
- var i = er(t, r);
2629
- if (i === void 0 || rr(i) || kn(i))
2634
+ var i = rr(t, r);
2635
+ if (i === void 0 || ir(i) || Fn(i))
2630
2636
  break;
2631
2637
  n.push(i), r += i >= 65536 ? 2 : 1;
2632
2638
  }
2633
- return tt.apply(void 0, n);
2639
+ return nt.apply(void 0, n);
2634
2640
  };
2635
- var Ln = (
2641
+ var Dn = (
2636
2642
  /** @class */
2637
2643
  function() {
2638
2644
  function e(t, r) {
@@ -2656,14 +2662,14 @@ var Ln = (
2656
2662
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2657
2663
  var o = this.clonePosition();
2658
2664
  this.bump(), i.push({
2659
- type: S.pound,
2665
+ type: x.pound,
2660
2666
  location: p(o, this.clonePosition())
2661
2667
  });
2662
2668
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2663
2669
  if (n)
2664
2670
  break;
2665
2671
  return this.error(g.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2666
- } else if (s === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
2672
+ } else if (s === 60 && !this.ignoreTag && st(this.peek() || 0)) {
2667
2673
  var a = this.parseTag(t, r);
2668
2674
  if (a.err)
2669
2675
  return a;
@@ -2684,7 +2690,7 @@ var Ln = (
2684
2690
  if (this.bumpSpace(), this.bumpIf("/>"))
2685
2691
  return {
2686
2692
  val: {
2687
- type: S.literal,
2693
+ type: x.literal,
2688
2694
  value: "<".concat(i, "/>"),
2689
2695
  location: p(n, this.clonePosition())
2690
2696
  },
@@ -2696,12 +2702,12 @@ var Ln = (
2696
2702
  return s;
2697
2703
  var a = s.val, o = this.clonePosition();
2698
2704
  if (this.bumpIf("</")) {
2699
- if (this.isEOF() || !nt(this.char()))
2705
+ if (this.isEOF() || !st(this.char()))
2700
2706
  return this.error(g.INVALID_TAG, p(o, this.clonePosition()));
2701
2707
  var l = this.clonePosition(), u = this.parseTagName();
2702
2708
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2703
2709
  val: {
2704
- type: S.tag,
2710
+ type: x.tag,
2705
2711
  value: i,
2706
2712
  children: a,
2707
2713
  location: p(n, this.clonePosition())
@@ -2714,7 +2720,7 @@ var Ln = (
2714
2720
  return this.error(g.INVALID_TAG, p(n, this.clonePosition()));
2715
2721
  }, e.prototype.parseTagName = function() {
2716
2722
  var t = this.offset();
2717
- for (this.bump(); !this.isEOF() && Dn(this.char()); )
2723
+ for (this.bump(); !this.isEOF() && Un(this.char()); )
2718
2724
  this.bump();
2719
2725
  return this.message.slice(t, this.offset());
2720
2726
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2738,12 +2744,12 @@ var Ln = (
2738
2744
  }
2739
2745
  var l = p(n, this.clonePosition());
2740
2746
  return {
2741
- val: { type: S.literal, value: i, location: l },
2747
+ val: { type: x.literal, value: i, location: l },
2742
2748
  err: null
2743
2749
  };
2744
2750
  }, e.prototype.tryParseLeftAngleBracket = function() {
2745
2751
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2746
- !Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
2752
+ !kn(this.peek() || 0)) ? (this.bump(), "<") : null;
2747
2753
  }, e.prototype.tryParseQuote = function(t) {
2748
2754
  if (this.isEOF() || this.char() !== 39)
2749
2755
  return null;
@@ -2777,12 +2783,12 @@ var Ln = (
2777
2783
  r.push(n);
2778
2784
  this.bump();
2779
2785
  }
2780
- return tt.apply(void 0, r);
2786
+ return nt.apply(void 0, r);
2781
2787
  }, e.prototype.tryParseUnquoted = function(t, r) {
2782
2788
  if (this.isEOF())
2783
2789
  return null;
2784
2790
  var n = this.char();
2785
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
2791
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
2786
2792
  }, e.prototype.parseArgument = function(t, r) {
2787
2793
  var n = this.clonePosition();
2788
2794
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2798,7 +2804,7 @@ var Ln = (
2798
2804
  case 125:
2799
2805
  return this.bump(), {
2800
2806
  val: {
2801
- type: S.argument,
2807
+ type: x.argument,
2802
2808
  // value does not include the opening and closing braces.
2803
2809
  value: i,
2804
2810
  location: p(n, this.clonePosition())
@@ -2811,7 +2817,7 @@ var Ln = (
2811
2817
  return this.error(g.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
2812
2818
  }
2813
2819
  }, e.prototype.parseIdentifierIfPossible = function() {
2814
- var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
2820
+ var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
2815
2821
  this.bumpTo(i);
2816
2822
  var s = this.clonePosition(), a = p(t, s);
2817
2823
  return { value: n, location: a };
@@ -2830,44 +2836,44 @@ var Ln = (
2830
2836
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2831
2837
  if (c.err)
2832
2838
  return c;
2833
- var m = Pn(c.val);
2839
+ var m = Rn(c.val);
2834
2840
  if (m.length === 0)
2835
2841
  return this.error(g.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
2836
- var v = p(h, this.clonePosition());
2837
- u = { style: m, styleLocation: v };
2842
+ var _ = p(h, this.clonePosition());
2843
+ u = { style: m, styleLocation: _ };
2838
2844
  }
2839
2845
  var y = this.tryParseArgumentClose(i);
2840
2846
  if (y.err)
2841
2847
  return y;
2842
2848
  var T = p(i, this.clonePosition());
2843
- if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
2844
- var w = On(u.style.slice(2));
2849
+ if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
2850
+ var w = Ln(u.style.slice(2));
2845
2851
  if (o === "number") {
2846
2852
  var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
2847
2853
  return c.err ? c : {
2848
- val: { type: S.number, value: n, location: T, style: c.val },
2854
+ val: { type: x.number, value: n, location: T, style: c.val },
2849
2855
  err: null
2850
2856
  };
2851
2857
  } else {
2852
2858
  if (w.length === 0)
2853
2859
  return this.error(g.EXPECT_DATE_TIME_SKELETON, T);
2854
2860
  var F = w;
2855
- this.locale && (F = vn(w, this.locale));
2861
+ this.locale && (F = xn(w, this.locale));
2856
2862
  var m = {
2857
- type: ce.dateTime,
2863
+ type: fe.dateTime,
2858
2864
  pattern: F,
2859
2865
  location: u.styleLocation,
2860
- parsedOptions: this.shouldParseSkeletons ? mn(F) : {}
2861
- }, P = o === "date" ? S.date : S.time;
2866
+ parsedOptions: this.shouldParseSkeletons ? bn(F) : {}
2867
+ }, M = o === "date" ? x.date : x.time;
2862
2868
  return {
2863
- val: { type: P, value: n, location: T, style: m },
2869
+ val: { type: M, value: n, location: T, style: m },
2864
2870
  err: null
2865
2871
  };
2866
2872
  }
2867
2873
  }
2868
2874
  return {
2869
2875
  val: {
2870
- type: o === "number" ? S.number : o === "date" ? S.date : S.time,
2876
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2871
2877
  value: n,
2872
2878
  location: T,
2873
2879
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2880,7 +2886,7 @@ var Ln = (
2880
2886
  case "select": {
2881
2887
  var C = this.clonePosition();
2882
2888
  if (this.bumpSpace(), !this.bumpIf(","))
2883
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, p(C, _({}, C)));
2889
+ return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, p(C, Me({}, C)));
2884
2890
  this.bumpSpace();
2885
2891
  var U = this.parseIdentifierIfPossible(), L = 0;
2886
2892
  if (o !== "select" && U.value === "offset") {
@@ -2901,17 +2907,17 @@ var Ln = (
2901
2907
  var J = p(i, this.clonePosition());
2902
2908
  return o === "select" ? {
2903
2909
  val: {
2904
- type: S.select,
2910
+ type: x.select,
2905
2911
  value: n,
2906
- options: xt(I.val),
2912
+ options: St(I.val),
2907
2913
  location: J
2908
2914
  },
2909
2915
  err: null
2910
2916
  } : {
2911
2917
  val: {
2912
- type: S.plural,
2918
+ type: x.plural,
2913
2919
  value: n,
2914
- options: xt(I.val),
2920
+ options: St(I.val),
2915
2921
  offset: L,
2916
2922
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2917
2923
  location: J
@@ -2962,16 +2968,16 @@ var Ln = (
2962
2968
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2963
2969
  var n = [];
2964
2970
  try {
2965
- n = bn(t);
2971
+ n = pn(t);
2966
2972
  } catch (i) {
2967
2973
  return this.error(g.INVALID_NUMBER_SKELETON, r);
2968
2974
  }
2969
2975
  return {
2970
2976
  val: {
2971
- type: ce.number,
2977
+ type: fe.number,
2972
2978
  tokens: n,
2973
2979
  location: r,
2974
- parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
2980
+ parsedOptions: this.shouldParseSkeletons ? En(n) : {}
2975
2981
  },
2976
2982
  err: null
2977
2983
  };
@@ -2990,20 +2996,20 @@ var Ln = (
2990
2996
  if (l.has(u))
2991
2997
  return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2992
2998
  u === "other" && (a = !0), this.bumpSpace();
2993
- var v = this.clonePosition();
2999
+ var _ = this.clonePosition();
2994
3000
  if (!this.bumpIf("{"))
2995
3001
  return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
2996
3002
  var y = this.parseMessage(t + 1, r, n);
2997
3003
  if (y.err)
2998
3004
  return y;
2999
- var T = this.tryParseArgumentClose(v);
3005
+ var T = this.tryParseArgumentClose(_);
3000
3006
  if (T.err)
3001
3007
  return T;
3002
3008
  o.push([
3003
3009
  u,
3004
3010
  {
3005
3011
  value: y.val,
3006
- location: p(v, this.clonePosition())
3012
+ location: p(_, this.clonePosition())
3007
3013
  }
3008
3014
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3009
3015
  }
@@ -3019,7 +3025,7 @@ var Ln = (
3019
3025
  break;
3020
3026
  }
3021
3027
  var l = p(i, this.clonePosition());
3022
- return s ? (a *= n, Nn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3028
+ return s ? (a *= n, Pn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3023
3029
  }, e.prototype.offset = function() {
3024
3030
  return this.position.offset;
3025
3031
  }, e.prototype.isEOF = function() {
@@ -3034,7 +3040,7 @@ var Ln = (
3034
3040
  var t = this.position.offset;
3035
3041
  if (t >= this.message.length)
3036
3042
  throw Error("out of bound");
3037
- var r = er(this.message, t);
3043
+ var r = rr(this.message, t);
3038
3044
  if (r === void 0)
3039
3045
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3040
3046
  return r;
@@ -3053,7 +3059,7 @@ var Ln = (
3053
3059
  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);
3054
3060
  }
3055
3061
  }, e.prototype.bumpIf = function(t) {
3056
- if (vt(this.message, t, this.offset())) {
3062
+ if (xt(this.message, t, this.offset())) {
3057
3063
  for (var r = 0; r < t.length; r++)
3058
3064
  this.bump();
3059
3065
  return !0;
@@ -3075,7 +3081,7 @@ var Ln = (
3075
3081
  break;
3076
3082
  }
3077
3083
  }, e.prototype.bumpSpace = function() {
3078
- for (; !this.isEOF() && rr(this.char()); )
3084
+ for (; !this.isEOF() && ir(this.char()); )
3079
3085
  this.bump();
3080
3086
  }, e.prototype.peek = function() {
3081
3087
  if (this.isEOF())
@@ -3085,47 +3091,47 @@ var Ln = (
3085
3091
  }, e;
3086
3092
  }()
3087
3093
  );
3088
- function nt(e) {
3094
+ function st(e) {
3089
3095
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3090
3096
  }
3091
- function Rn(e) {
3092
- return nt(e) || e === 47;
3097
+ function kn(e) {
3098
+ return st(e) || e === 47;
3093
3099
  }
3094
- function Dn(e) {
3100
+ function Un(e) {
3095
3101
  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;
3096
3102
  }
3097
- function rr(e) {
3103
+ function ir(e) {
3098
3104
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3099
3105
  }
3100
- function kn(e) {
3106
+ function Fn(e) {
3101
3107
  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;
3102
3108
  }
3103
- function it(e) {
3109
+ function at(e) {
3104
3110
  e.forEach(function(t) {
3105
- if (delete t.location, zt(t) || Wt(t))
3111
+ if (delete t.location, Xt(t) || Zt(t))
3106
3112
  for (var r in t.options)
3107
- delete t.options[r].location, it(t.options[r].value);
3113
+ delete t.options[r].location, at(t.options[r].value);
3108
3114
  else
3109
- jt(t) && Zt(t.style) || (Vt(t) || Jt(t)) && Ke(t.style) ? delete t.style.location : Xt(t) && it(t.children);
3115
+ Jt(t) && Qt(t.style) || (zt(t) || Wt(t)) && tt(t.style) ? delete t.style.location : qt(t) && at(t.children);
3110
3116
  });
3111
3117
  }
3112
- function Un(e, t) {
3113
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3114
- var r = new Ln(e, t).parse();
3118
+ function Gn(e, t) {
3119
+ t === void 0 && (t = {}), t = Me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3120
+ var r = new Dn(e, t).parse();
3115
3121
  if (r.err) {
3116
3122
  var n = SyntaxError(g[r.err.kind]);
3117
3123
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3118
3124
  }
3119
- return t != null && t.captureLocation || it(r.val), r.val;
3125
+ return t != null && t.captureLocation || at(r.val), r.val;
3120
3126
  }
3121
- var fe;
3127
+ var me;
3122
3128
  (function(e) {
3123
3129
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3124
- })(fe || (fe = {}));
3125
- var De = (
3130
+ })(me || (me = {}));
3131
+ var Ue = (
3126
3132
  /** @class */
3127
3133
  function(e) {
3128
- Re(t, e);
3134
+ ke(t, e);
3129
3135
  function t(r, n, i) {
3130
3136
  var s = e.call(this, r) || this;
3131
3137
  return s.code = n, s.originalMessage = i, s;
@@ -3134,48 +3140,48 @@ var De = (
3134
3140
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3135
3141
  }, t;
3136
3142
  }(Error)
3137
- ), St = (
3143
+ ), At = (
3138
3144
  /** @class */
3139
3145
  function(e) {
3140
- Re(t, e);
3146
+ ke(t, e);
3141
3147
  function t(r, n, i, s) {
3142
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, s) || this;
3148
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), me.INVALID_VALUE, s) || this;
3143
3149
  }
3144
3150
  return t;
3145
- }(De)
3146
- ), Fn = (
3151
+ }(Ue)
3152
+ ), $n = (
3147
3153
  /** @class */
3148
3154
  function(e) {
3149
- Re(t, e);
3155
+ ke(t, e);
3150
3156
  function t(r, n, i) {
3151
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3157
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), me.INVALID_VALUE, i) || this;
3152
3158
  }
3153
3159
  return t;
3154
- }(De)
3155
- ), Gn = (
3160
+ }(Ue)
3161
+ ), jn = (
3156
3162
  /** @class */
3157
3163
  function(e) {
3158
- Re(t, e);
3164
+ ke(t, e);
3159
3165
  function t(r, n) {
3160
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3166
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), me.MISSING_VALUE, n) || this;
3161
3167
  }
3162
3168
  return t;
3163
- }(De)
3169
+ }(Ue)
3164
3170
  ), D;
3165
3171
  (function(e) {
3166
3172
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3167
3173
  })(D || (D = {}));
3168
- function $n(e) {
3174
+ function Vn(e) {
3169
3175
  return e.length < 2 ? e : e.reduce(function(t, r) {
3170
3176
  var n = t[t.length - 1];
3171
3177
  return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
3172
3178
  }, []);
3173
3179
  }
3174
- function jn(e) {
3180
+ function Jn(e) {
3175
3181
  return typeof e == "function";
3176
3182
  }
3177
- function Ie(e, t, r, n, i, s, a) {
3178
- if (e.length === 1 && gt(e[0]))
3183
+ function Ne(e, t, r, n, i, s, a) {
3184
+ if (e.length === 1 && yt(e[0]))
3179
3185
  return [
3180
3186
  {
3181
3187
  type: D.literal,
@@ -3184,14 +3190,14 @@ function Ie(e, t, r, n, i, s, a) {
3184
3190
  ];
3185
3191
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3186
3192
  var h = u[l];
3187
- if (gt(h)) {
3193
+ if (yt(h)) {
3188
3194
  o.push({
3189
3195
  type: D.literal,
3190
3196
  value: h.value
3191
3197
  });
3192
3198
  continue;
3193
3199
  }
3194
- if (cn(h)) {
3200
+ if (mn(h)) {
3195
3201
  typeof s == "number" && o.push({
3196
3202
  type: D.literal,
3197
3203
  value: r.getNumberFormat(t).format(s)
@@ -3200,89 +3206,89 @@ function Ie(e, t, r, n, i, s, a) {
3200
3206
  }
3201
3207
  var c = h.value;
3202
3208
  if (!(i && c in i))
3203
- throw new Gn(c, a);
3209
+ throw new jn(c, a);
3204
3210
  var m = i[c];
3205
- if (hn(h)) {
3211
+ if (fn(h)) {
3206
3212
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3207
3213
  type: typeof m == "string" ? D.literal : D.object,
3208
3214
  value: m
3209
3215
  });
3210
3216
  continue;
3211
3217
  }
3212
- if (Vt(h)) {
3213
- var v = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3218
+ if (zt(h)) {
3219
+ var _ = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
3214
3220
  o.push({
3215
3221
  type: D.literal,
3216
- value: r.getDateTimeFormat(t, v).format(m)
3222
+ value: r.getDateTimeFormat(t, _).format(m)
3217
3223
  });
3218
3224
  continue;
3219
3225
  }
3220
- if (Jt(h)) {
3221
- var v = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
3226
+ if (Wt(h)) {
3227
+ var _ = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
3222
3228
  o.push({
3223
3229
  type: D.literal,
3224
- value: r.getDateTimeFormat(t, v).format(m)
3230
+ value: r.getDateTimeFormat(t, _).format(m)
3225
3231
  });
3226
3232
  continue;
3227
3233
  }
3228
- if (jt(h)) {
3229
- var v = typeof h.style == "string" ? n.number[h.style] : Zt(h.style) ? h.style.parsedOptions : void 0;
3230
- v && v.scale && (m = m * (v.scale || 1)), o.push({
3234
+ if (Jt(h)) {
3235
+ var _ = typeof h.style == "string" ? n.number[h.style] : Qt(h.style) ? h.style.parsedOptions : void 0;
3236
+ _ && _.scale && (m = m * (_.scale || 1)), o.push({
3231
3237
  type: D.literal,
3232
- value: r.getNumberFormat(t, v).format(m)
3238
+ value: r.getNumberFormat(t, _).format(m)
3233
3239
  });
3234
3240
  continue;
3235
3241
  }
3236
- if (Xt(h)) {
3242
+ if (qt(h)) {
3237
3243
  var y = h.children, T = h.value, w = i[T];
3238
- if (!jn(w))
3239
- throw new Fn(T, "function", a);
3240
- var F = Ie(y, t, r, n, i, s), P = w(F.map(function(L) {
3244
+ if (!Jn(w))
3245
+ throw new $n(T, "function", a);
3246
+ var F = Ne(y, t, r, n, i, s), M = w(F.map(function(L) {
3241
3247
  return L.value;
3242
3248
  }));
3243
- Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(L) {
3249
+ Array.isArray(M) || (M = [M]), o.push.apply(o, M.map(function(L) {
3244
3250
  return {
3245
3251
  type: typeof L == "string" ? D.literal : D.object,
3246
3252
  value: L
3247
3253
  };
3248
3254
  }));
3249
3255
  }
3250
- if (zt(h)) {
3256
+ if (Xt(h)) {
3251
3257
  var C = h.options[m] || h.options.other;
3252
3258
  if (!C)
3253
- throw new St(h.value, m, Object.keys(h.options), a);
3254
- o.push.apply(o, Ie(C.value, t, r, n, i));
3259
+ throw new At(h.value, m, Object.keys(h.options), a);
3260
+ o.push.apply(o, Ne(C.value, t, r, n, i));
3255
3261
  continue;
3256
3262
  }
3257
- if (Wt(h)) {
3263
+ if (Zt(h)) {
3258
3264
  var C = h.options["=".concat(m)];
3259
3265
  if (!C) {
3260
3266
  if (!Intl.PluralRules)
3261
- throw new De(`Intl.PluralRules is not available in this environment.
3267
+ throw new Ue(`Intl.PluralRules is not available in this environment.
3262
3268
  Try polyfilling it using "@formatjs/intl-pluralrules"
3263
- `, fe.MISSING_INTL_API, a);
3269
+ `, me.MISSING_INTL_API, a);
3264
3270
  var U = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3265
3271
  C = h.options[U] || h.options.other;
3266
3272
  }
3267
3273
  if (!C)
3268
- throw new St(h.value, m, Object.keys(h.options), a);
3269
- o.push.apply(o, Ie(C.value, t, r, n, i, m - (h.offset || 0)));
3274
+ throw new At(h.value, m, Object.keys(h.options), a);
3275
+ o.push.apply(o, Ne(C.value, t, r, n, i, m - (h.offset || 0)));
3270
3276
  continue;
3271
3277
  }
3272
3278
  }
3273
- return $n(o);
3279
+ return Vn(o);
3274
3280
  }
3275
- function Vn(e, t) {
3276
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3277
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3281
+ function zn(e, t) {
3282
+ return t ? Q(Q(Q({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3283
+ return r[n] = Q(Q({}, e[n]), t[n] || {}), r;
3278
3284
  }, {})) : e;
3279
3285
  }
3280
- function Jn(e, t) {
3286
+ function Wn(e, t) {
3281
3287
  return t ? Object.keys(e).reduce(function(r, n) {
3282
- return r[n] = Vn(e[n], t[n]), r;
3283
- }, _({}, e)) : e;
3288
+ return r[n] = zn(e[n], t[n]), r;
3289
+ }, Q({}, e)) : e;
3284
3290
  }
3285
- function ze(e) {
3291
+ function Xe(e) {
3286
3292
  return {
3287
3293
  create: function() {
3288
3294
  return {
@@ -3296,39 +3302,39 @@ function ze(e) {
3296
3302
  }
3297
3303
  };
3298
3304
  }
3299
- function zn(e) {
3305
+ function Xn(e) {
3300
3306
  return e === void 0 && (e = {
3301
3307
  number: {},
3302
3308
  dateTime: {},
3303
3309
  pluralRules: {}
3304
3310
  }), {
3305
- getNumberFormat: je(function() {
3311
+ getNumberFormat: Je(function() {
3306
3312
  for (var t, r = [], n = 0; n < arguments.length; n++)
3307
3313
  r[n] = arguments[n];
3308
- return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
3314
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ve([void 0], r, !1)))();
3309
3315
  }, {
3310
- cache: ze(e.number),
3311
- strategy: Ve.variadic
3316
+ cache: Xe(e.number),
3317
+ strategy: ze.variadic
3312
3318
  }),
3313
- getDateTimeFormat: je(function() {
3319
+ getDateTimeFormat: Je(function() {
3314
3320
  for (var t, r = [], n = 0; n < arguments.length; n++)
3315
3321
  r[n] = arguments[n];
3316
- return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
3322
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ve([void 0], r, !1)))();
3317
3323
  }, {
3318
- cache: ze(e.dateTime),
3319
- strategy: Ve.variadic
3324
+ cache: Xe(e.dateTime),
3325
+ strategy: ze.variadic
3320
3326
  }),
3321
- getPluralRules: je(function() {
3327
+ getPluralRules: Je(function() {
3322
3328
  for (var t, r = [], n = 0; n < arguments.length; n++)
3323
3329
  r[n] = arguments[n];
3324
- return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
3330
+ return new ((t = Intl.PluralRules).bind.apply(t, Ve([void 0], r, !1)))();
3325
3331
  }, {
3326
- cache: ze(e.pluralRules),
3327
- strategy: Ve.variadic
3332
+ cache: Xe(e.pluralRules),
3333
+ strategy: ze.variadic
3328
3334
  })
3329
3335
  };
3330
3336
  }
3331
- var Wn = (
3337
+ var Zn = (
3332
3338
  /** @class */
3333
3339
  function() {
3334
3340
  function e(t, r, n, i) {
@@ -3347,7 +3353,7 @@ var Wn = (
3347
3353
  }, []);
3348
3354
  return h.length <= 1 ? h[0] || "" : h;
3349
3355
  }, this.formatToParts = function(l) {
3350
- return Ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3356
+ return Ne(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3351
3357
  }, this.resolvedOptions = function() {
3352
3358
  var l;
3353
3359
  return {
@@ -3360,13 +3366,13 @@ var Wn = (
3360
3366
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3361
3367
  var a = i || {};
3362
3368
  a.formatters;
3363
- var o = tn(a, ["formatters"]);
3364
- this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
3369
+ var o = nn(a, ["formatters"]);
3370
+ this.ast = e.__parse(t, Q(Q({}, o), { locale: this.resolvedLocale }));
3365
3371
  } else
3366
3372
  this.ast = t;
3367
3373
  if (!Array.isArray(this.ast))
3368
3374
  throw new TypeError("A message must be provided as a String or AST.");
3369
- this.formats = Jn(e.formats, n), this.formatters = i && i.formatters || zn(this.formatterCache);
3375
+ this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
3370
3376
  }
3371
3377
  return Object.defineProperty(e, "defaultLocale", {
3372
3378
  get: function() {
@@ -3379,7 +3385,7 @@ var Wn = (
3379
3385
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3380
3386
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3381
3387
  }
3382
- }, e.__parse = Un, e.formats = {
3388
+ }, e.__parse = Gn, e.formats = {
3383
3389
  number: {
3384
3390
  integer: {
3385
3391
  maximumFractionDigits: 0
@@ -3440,7 +3446,7 @@ var Wn = (
3440
3446
  }, e;
3441
3447
  }()
3442
3448
  );
3443
- function Xn(e, t) {
3449
+ function qn(e, t) {
3444
3450
  if (t == null)
3445
3451
  return;
3446
3452
  if (t in e)
@@ -3461,92 +3467,92 @@ function Xn(e, t) {
3461
3467
  n = void 0;
3462
3468
  return n;
3463
3469
  }
3464
- const ee = {}, Zn = (e, t, r) => r && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = r), r), nr = (e, t) => {
3470
+ const te = {}, Qn = (e, t, r) => r && (t in te || (te[t] = {}), e in te[t] || (te[t][e] = r), r), sr = (e, t) => {
3465
3471
  if (t == null)
3466
3472
  return;
3467
- if (t in ee && e in ee[t])
3468
- return ee[t][e];
3469
- const r = ke(t);
3473
+ if (t in te && e in te[t])
3474
+ return te[t][e];
3475
+ const r = Fe(t);
3470
3476
  for (let n = 0; n < r.length; n++) {
3471
- const i = r[n], s = Qn(i, e);
3477
+ const i = r[n], s = Kn(i, e);
3472
3478
  if (s)
3473
- return Zn(e, t, s);
3479
+ return Qn(e, t, s);
3474
3480
  }
3475
3481
  };
3476
- let ot;
3477
- const be = Le({});
3478
- function qn(e) {
3479
- return ot[e] || null;
3482
+ let lt;
3483
+ const ge = De({});
3484
+ function Yn(e) {
3485
+ return lt[e] || null;
3480
3486
  }
3481
- function ir(e) {
3482
- return e in ot;
3487
+ function ar(e) {
3488
+ return e in lt;
3483
3489
  }
3484
- function Qn(e, t) {
3485
- if (!ir(e))
3490
+ function Kn(e, t) {
3491
+ if (!ar(e))
3486
3492
  return null;
3487
- const r = qn(e);
3488
- return Xn(r, t);
3493
+ const r = Yn(e);
3494
+ return qn(r, t);
3489
3495
  }
3490
- function Yn(e) {
3496
+ function ei(e) {
3491
3497
  if (e == null)
3492
3498
  return;
3493
- const t = ke(e);
3499
+ const t = Fe(e);
3494
3500
  for (let r = 0; r < t.length; r++) {
3495
3501
  const n = t[r];
3496
- if (ir(n))
3502
+ if (ar(n))
3497
3503
  return n;
3498
3504
  }
3499
3505
  }
3500
- function sr(e, ...t) {
3501
- delete ee[e], be.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
3506
+ function or(e, ...t) {
3507
+ delete te[e], ge.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
3502
3508
  }
3503
- de(
3504
- [be],
3509
+ be(
3510
+ [ge],
3505
3511
  ([e]) => Object.keys(e)
3506
3512
  );
3507
- be.subscribe((e) => ot = e);
3508
- const Ne = {};
3509
- function Kn(e, t) {
3510
- Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
3513
+ ge.subscribe((e) => lt = e);
3514
+ const Oe = {};
3515
+ function ti(e, t) {
3516
+ Oe[e].delete(t), Oe[e].size === 0 && delete Oe[e];
3511
3517
  }
3512
- function ar(e) {
3513
- return Ne[e];
3518
+ function ur(e) {
3519
+ return Oe[e];
3514
3520
  }
3515
- function ei(e) {
3516
- return ke(e).map((t) => {
3517
- const r = ar(t);
3521
+ function ri(e) {
3522
+ return Fe(e).map((t) => {
3523
+ const r = ur(t);
3518
3524
  return [t, r ? [...r] : []];
3519
3525
  }).filter(([, t]) => t.length > 0);
3520
3526
  }
3521
- function st(e) {
3522
- return e == null ? !1 : ke(e).some(
3527
+ function ot(e) {
3528
+ return e == null ? !1 : Fe(e).some(
3523
3529
  (t) => {
3524
3530
  var r;
3525
- return (r = ar(t)) == null ? void 0 : r.size;
3531
+ return (r = ur(t)) == null ? void 0 : r.size;
3526
3532
  }
3527
3533
  );
3528
3534
  }
3529
- function ti(e, t) {
3535
+ function ni(e, t) {
3530
3536
  return Promise.all(
3531
- t.map((n) => (Kn(e, n), n().then((i) => i.default || i)))
3532
- ).then((n) => sr(e, ...n));
3533
- }
3534
- const ye = {};
3535
- function or(e) {
3536
- if (!st(e))
3537
- return e in ye ? ye[e] : Promise.resolve();
3538
- const t = ei(e);
3539
- return ye[e] = Promise.all(
3537
+ t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
3538
+ ).then((n) => or(e, ...n));
3539
+ }
3540
+ const _e = {};
3541
+ function lr(e) {
3542
+ if (!ot(e))
3543
+ return e in _e ? _e[e] : Promise.resolve();
3544
+ const t = ri(e);
3545
+ return _e[e] = Promise.all(
3540
3546
  t.map(
3541
- ([r, n]) => ti(r, n)
3547
+ ([r, n]) => ni(r, n)
3542
3548
  )
3543
3549
  ).then(() => {
3544
- if (st(e))
3545
- return or(e);
3546
- delete ye[e];
3547
- }), ye[e];
3550
+ if (ot(e))
3551
+ return lr(e);
3552
+ delete _e[e];
3553
+ }), _e[e];
3548
3554
  }
3549
- const ri = {
3555
+ const ii = {
3550
3556
  number: {
3551
3557
  scientific: { notation: "scientific" },
3552
3558
  engineering: { notation: "engineering" },
@@ -3575,150 +3581,150 @@ const ri = {
3575
3581
  timeZoneName: "short"
3576
3582
  }
3577
3583
  }
3578
- }, ni = {
3584
+ }, si = {
3579
3585
  fallbackLocale: null,
3580
3586
  loadingDelay: 200,
3581
- formats: ri,
3587
+ formats: ii,
3582
3588
  warnOnMissingMessages: !0,
3583
3589
  handleMissingMessage: void 0,
3584
3590
  ignoreTag: !0
3585
- }, ii = ni;
3586
- function me() {
3587
- return ii;
3591
+ }, ai = si;
3592
+ function de() {
3593
+ return ai;
3588
3594
  }
3589
- const We = Le(!1);
3590
- var si = Object.defineProperty, ai = Object.defineProperties, oi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3595
+ const Ze = De(!1);
3596
+ var oi = Object.defineProperty, ui = Object.defineProperties, li = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
3591
3597
  for (var r in t || (t = {}))
3592
- ui.call(t, r) && At(e, r, t[r]);
3593
- if (Tt)
3594
- for (var r of Tt(t))
3595
- li.call(t, r) && At(e, r, t[r]);
3598
+ hi.call(t, r) && Ct(e, r, t[r]);
3599
+ if (Ht)
3600
+ for (var r of Ht(t))
3601
+ ci.call(t, r) && Ct(e, r, t[r]);
3596
3602
  return e;
3597
- }, ci = (e, t) => ai(e, oi(t));
3598
- let at;
3599
- const Oe = Le(null);
3600
- function Ht(e) {
3603
+ }, mi = (e, t) => ui(e, li(t));
3604
+ let ut;
3605
+ const Le = De(null);
3606
+ function Bt(e) {
3601
3607
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3602
3608
  }
3603
- function ke(e, t = me().fallbackLocale) {
3604
- const r = Ht(e);
3605
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3609
+ function Fe(e, t = de().fallbackLocale) {
3610
+ const r = Bt(e);
3611
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
3606
3612
  }
3607
- function ie() {
3608
- return at != null ? at : void 0;
3613
+ function se() {
3614
+ return ut != null ? ut : void 0;
3609
3615
  }
3610
- Oe.subscribe((e) => {
3611
- at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3616
+ Le.subscribe((e) => {
3617
+ ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3612
3618
  });
3613
- const fi = (e) => {
3614
- if (e && Yn(e) && st(e)) {
3615
- const { loadingDelay: t } = me();
3619
+ const di = (e) => {
3620
+ if (e && ei(e) && ot(e)) {
3621
+ const { loadingDelay: t } = de();
3616
3622
  let r;
3617
- return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
3618
- () => We.set(!0),
3623
+ return typeof window != "undefined" && se() != null && t ? r = window.setTimeout(
3624
+ () => Ze.set(!0),
3619
3625
  t
3620
- ) : We.set(!0), or(e).then(() => {
3621
- Oe.set(e);
3626
+ ) : Ze.set(!0), lr(e).then(() => {
3627
+ Le.set(e);
3622
3628
  }).finally(() => {
3623
- clearTimeout(r), We.set(!1);
3629
+ clearTimeout(r), Ze.set(!1);
3624
3630
  });
3625
3631
  }
3626
- return Oe.set(e);
3627
- }, te = ci(hi({}, Oe), {
3628
- set: fi
3629
- }), Ue = (e) => {
3632
+ return Le.set(e);
3633
+ }, re = mi(fi({}, Le), {
3634
+ set: di
3635
+ }), Ge = (e) => {
3630
3636
  const t = /* @__PURE__ */ Object.create(null);
3631
3637
  return (n) => {
3632
3638
  const i = JSON.stringify(n);
3633
3639
  return i in t ? t[i] : t[i] = e(n);
3634
3640
  };
3635
3641
  };
3636
- var mi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
3642
+ var bi = Object.defineProperty, Re = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
3637
3643
  for (var r in t || (t = {}))
3638
- ur.call(t, r) && Ct(e, r, t[r]);
3639
- if (Pe)
3640
- for (var r of Pe(t))
3641
- lr.call(t, r) && Ct(e, r, t[r]);
3644
+ hr.call(t, r) && wt(e, r, t[r]);
3645
+ if (Re)
3646
+ for (var r of Re(t))
3647
+ cr.call(t, r) && wt(e, r, t[r]);
3642
3648
  return e;
3643
- }, ge = (e, t) => {
3649
+ }, pe = (e, t) => {
3644
3650
  var r = {};
3645
3651
  for (var n in e)
3646
- ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3647
- if (e != null && Pe)
3648
- for (var n of Pe(e))
3649
- t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
3652
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3653
+ if (e != null && Re)
3654
+ for (var n of Re(e))
3655
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
3650
3656
  return r;
3651
3657
  };
3652
- const Ee = (e, t) => {
3653
- const { formats: r } = me();
3658
+ const Se = (e, t) => {
3659
+ const { formats: r } = de();
3654
3660
  if (e in r && t in r[e])
3655
3661
  return r[e][t];
3656
3662
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3657
- }, di = Ue(
3663
+ }, gi = Ge(
3658
3664
  (e) => {
3659
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3665
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3660
3666
  if (r == null)
3661
3667
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3662
- return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
3668
+ return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
3663
3669
  }
3664
- ), bi = Ue(
3670
+ ), pi = Ge(
3665
3671
  (e) => {
3666
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3672
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3667
3673
  if (r == null)
3668
3674
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3669
- return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
3675
+ return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
3670
3676
  }
3671
- ), gi = Ue(
3677
+ ), yi = Ge(
3672
3678
  (e) => {
3673
- var t = e, { locale: r, format: n } = t, i = ge(t, ["locale", "format"]);
3679
+ var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3674
3680
  if (r == null)
3675
3681
  throw new Error(
3676
3682
  '[svelte-i18n] A "locale" must be set to format time values'
3677
3683
  );
3678
- return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
3684
+ return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
3679
3685
  }
3680
- ), pi = (e = {}) => {
3686
+ ), _i = (e = {}) => {
3681
3687
  var t = e, {
3682
- locale: r = ie()
3683
- } = t, n = ge(t, [
3688
+ locale: r = se()
3689
+ } = t, n = pe(t, [
3684
3690
  "locale"
3685
3691
  ]);
3686
- return di(ut({ locale: r }, n));
3687
- }, yi = (e = {}) => {
3692
+ return gi(ht({ locale: r }, n));
3693
+ }, vi = (e = {}) => {
3688
3694
  var t = e, {
3689
- locale: r = ie()
3690
- } = t, n = ge(t, [
3695
+ locale: r = se()
3696
+ } = t, n = pe(t, [
3691
3697
  "locale"
3692
3698
  ]);
3693
- return bi(ut({ locale: r }, n));
3694
- }, _i = (e = {}) => {
3699
+ return pi(ht({ locale: r }, n));
3700
+ }, Ei = (e = {}) => {
3695
3701
  var t = e, {
3696
- locale: r = ie()
3697
- } = t, n = ge(t, [
3702
+ locale: r = se()
3703
+ } = t, n = pe(t, [
3698
3704
  "locale"
3699
3705
  ]);
3700
- return gi(ut({ locale: r }, n));
3701
- }, vi = Ue(
3706
+ return yi(ht({ locale: r }, n));
3707
+ }, xi = Ge(
3702
3708
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3703
- (e, t = ie()) => new Wn(e, t, me().formats, {
3704
- ignoreTag: me().ignoreTag
3709
+ (e, t = se()) => new Zn(e, t, de().formats, {
3710
+ ignoreTag: de().ignoreTag
3705
3711
  })
3706
- ), xi = (e, t = {}) => {
3712
+ ), Si = (e, t = {}) => {
3707
3713
  var r, n, i, s;
3708
3714
  let a = t;
3709
3715
  typeof e == "object" && (a = e, e = a.id);
3710
3716
  const {
3711
3717
  values: o,
3712
- locale: l = ie(),
3718
+ locale: l = se(),
3713
3719
  default: u
3714
3720
  } = a;
3715
3721
  if (l == null)
3716
3722
  throw new Error(
3717
3723
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3718
3724
  );
3719
- let h = nr(e, l);
3725
+ let h = sr(e, l);
3720
3726
  if (!h)
3721
- h = (s = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3727
+ h = (s = (i = (n = (r = de()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3722
3728
  else if (typeof h != "string")
3723
3729
  return console.warn(
3724
3730
  `[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.`
@@ -3727,7 +3733,7 @@ const Ee = (e, t) => {
3727
3733
  return h;
3728
3734
  let c = h;
3729
3735
  try {
3730
- c = vi(h, l).format(o);
3736
+ c = xi(h, l).format(o);
3731
3737
  } catch (m) {
3732
3738
  m instanceof Error && console.warn(
3733
3739
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3735,23 +3741,23 @@ const Ee = (e, t) => {
3735
3741
  );
3736
3742
  }
3737
3743
  return c;
3738
- }, Ei = (e, t) => _i(t).format(e), Si = (e, t) => yi(t).format(e), Ti = (e, t) => pi(t).format(e), Ai = (e, t = ie()) => nr(e, t), Hi = de([te, be], () => xi);
3739
- de([te], () => Ei);
3740
- de([te], () => Si);
3741
- de([te], () => Ti);
3742
- de([te, be], () => Ai);
3743
- function Ci({ withLocale: e, translations: t }) {
3744
- te.subscribe((r) => {
3745
- r == null && (be.set(t), te.set(e));
3744
+ }, Ti = (e, t) => Ei(t).format(e), Ai = (e, t) => vi(t).format(e), Hi = (e, t) => _i(t).format(e), Ci = (e, t = se()) => sr(e, t), Bi = be([re, ge], () => Si);
3745
+ be([re], () => Ti);
3746
+ be([re], () => Ai);
3747
+ be([re], () => Hi);
3748
+ be([re, ge], () => Ci);
3749
+ function wi({ withLocale: e, translations: t }) {
3750
+ re.subscribe((r) => {
3751
+ r == null && (ge.set(t), re.set(e));
3746
3752
  });
3747
3753
  }
3748
- function Bt(e, t) {
3749
- sr(e, t);
3754
+ function It(e, t) {
3755
+ or(e, t);
3750
3756
  }
3751
- function Bi(e) {
3752
- te.set(e);
3757
+ function Ii(e) {
3758
+ re.set(e);
3753
3759
  }
3754
- const wt = {
3760
+ const Nt = {
3755
3761
  en: {
3756
3762
  enrolled: "Enrolled",
3757
3763
  scoreCriteria: "Score Criteria",
@@ -4083,13 +4089,13 @@ const wt = {
4083
4089
  December: "December"
4084
4090
  }
4085
4091
  };
4086
- function wi(e, t) {
4092
+ function Ni(e, t) {
4087
4093
  if (e) {
4088
4094
  const r = document.createElement("style");
4089
4095
  r.innerHTML = t, e.appendChild(r);
4090
4096
  }
4091
4097
  }
4092
- function Ii(e, t) {
4098
+ function Oi(e, t) {
4093
4099
  const r = new URL(t);
4094
4100
  fetch(r.href).then((n) => n.text()).then((n) => {
4095
4101
  const i = document.createElement("style");
@@ -4098,7 +4104,7 @@ function Ii(e, t) {
4098
4104
  console.error("There was an error while trying to load client styling from URL", n);
4099
4105
  });
4100
4106
  }
4101
- function Ni(e, t, r) {
4107
+ function Pi(e, t, r) {
4102
4108
  if (window.emMessageBus) {
4103
4109
  const n = document.createElement("style");
4104
4110
  window.emMessageBus.subscribe(t, (i) => {
@@ -4107,9 +4113,9 @@ function Ni(e, t, r) {
4107
4113
  }
4108
4114
  }
4109
4115
  function Mi(e) {
4110
- pr(e, "svelte-52u9sp", ':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"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.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(--emw--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(--emw--color-contrast, #07072A);color:var(--emw--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{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.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}');
4116
+ _r(e, "svelte-52u9sp", ':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"}ui-image.UIImage{height:100%;text-align:center}.UIImage img{width:100%;height:auto;max-height:100%}.Loading{margin:2px 0px}.Loading ui-skeleton .SkeletonContainer .Skeleton{margin:2px 0px}.Loading.Thumbnail .Details{padding:10px 20px 0;display:flex;flex-direction:column;gap:5px}a{color:var(--emw--color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{cursor:pointer;position:relative}.Thumbnail .Skeleton.CardImg{background:transparent}.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(--emw--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(--emw--color-contrast, #07072A);color:var(--emw--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{cursor:pointer;font-size:18px;padding-bottom:10px;background-color:transparent}.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}');
4111
4117
  }
4112
- function It(e) {
4118
+ function Ot(e) {
4113
4119
  let t, r, n;
4114
4120
  return {
4115
4121
  c() {
@@ -4119,91 +4125,91 @@ function It(e) {
4119
4125
  k(i, t, s), k(i, r, s), k(i, n, s);
4120
4126
  },
4121
4127
  d(i) {
4122
- i && (O(t), O(r), O(n));
4128
+ i && (P(t), P(r), P(n));
4123
4129
  }
4124
4130
  };
4125
4131
  }
4126
- function Nt(e) {
4132
+ function Pt(e) {
4127
4133
  let t, r, n, i, s, a, o, l, u, h, c = (
4128
4134
  /*$_*/
4129
4135
  e[14]("scoreCriteria") + ""
4130
- ), m, v, y, T, w, F = (
4136
+ ), m, _, y, T, w, F = (
4131
4137
  /*$_*/
4132
4138
  e[14]("minbet") + ""
4133
- ), P, C, U, L, I, J, z, X = (
4139
+ ), M, C, U, L, I, J, z, X = (
4134
4140
  /*$_*/
4135
4141
  e[14]("seegames") + ""
4136
- ), Q, Ae, G, Y = (
4142
+ ), Y, He, G, K = (
4137
4143
  /*$_*/
4138
4144
  e[14]("here") + ""
4139
- ), ne, K, pe, He, B = (
4145
+ ), ie, ee, ye, Ce, B = (
4140
4146
  /*status*/
4141
4147
  e[0] && Mt(e)
4142
4148
  ), N = (
4143
4149
  /*showenrolled*/
4144
- e[6] == "true" && Ot(e)
4150
+ e[6] == "true" && Lt(e)
4145
4151
  );
4146
4152
  function f(b, E) {
4147
4153
  return (
4148
4154
  /*thumbnail*/
4149
- b[3] ? Pi : Oi
4155
+ b[3] ? Ri : Li
4150
4156
  );
4151
4157
  }
4152
- let W = f(e), $ = W(e), M = (
4158
+ let W = f(e), $ = W(e), O = (
4153
4159
  /*startdate*/
4154
- e[2] && Lt(e)
4160
+ e[2] && Dt(e)
4155
4161
  );
4156
4162
  return {
4157
4163
  c() {
4158
4164
  B && B.c(), t = Z(), N && N.c(), r = Z(), $.c(), n = Z(), i = H("div"), s = H("div"), a = R(
4159
4165
  /*title*/
4160
4166
  e[1]
4161
- ), o = Z(), M && M.c(), l = Z(), u = H("div"), h = H("p"), m = R(c), v = R(`:
4167
+ ), o = Z(), O && O.c(), l = Z(), u = H("div"), h = H("p"), m = R(c), _ = R(`:
4162
4168
  `), y = H("span"), T = R(
4163
4169
  /*showScoreCriteria*/
4164
4170
  e[12]
4165
4171
  ), w = R(`
4166
- (`), P = R(F), C = Z(), U = R(
4172
+ (`), M = R(F), C = Z(), U = R(
4167
4173
  /*minbetcount*/
4168
4174
  e[5]
4169
- ), L = R(")"), I = Z(), J = H("div"), z = H("p"), Q = R(X), Ae = Z(), G = H("a"), ne = R(Y), d(s, "class", "Title"), d(s, "part", "Title"), d(y, "part", "ScoreCriteriaSpan"), d(h, "part", "ScoreCriteriaP"), d(u, "class", "ScoreCriteria"), d(u, "part", "ScoreCriteria"), d(G, "part", "GamesAnchor"), d(
4175
+ ), L = R(")"), I = Z(), J = H("div"), z = H("p"), Y = R(X), He = Z(), G = H("a"), ie = R(K), d(s, "class", "Title"), d(s, "part", "Title"), d(y, "part", "ScoreCriteriaSpan"), d(h, "part", "ScoreCriteriaP"), d(u, "class", "ScoreCriteria"), d(u, "part", "ScoreCriteria"), d(G, "part", "GamesAnchor"), d(
4170
4176
  G,
4171
4177
  "href",
4172
4178
  /*gameurl*/
4173
4179
  e[7]
4174
- ), d(G, "target", K = /*keepbrowsercontext*/
4180
+ ), d(G, "target", ee = /*keepbrowsercontext*/
4175
4181
  e[8] === "true" ? "_self" : "_blank"), d(z, "part", "GamesP"), d(J, "class", "Games"), d(J, "part", "Games"), d(i, "class", "Details"), d(i, "part", "Details");
4176
4182
  },
4177
4183
  m(b, E) {
4178
- B && B.m(b, E), k(b, t, E), N && N.m(b, E), k(b, r, E), $.m(b, E), k(b, n, E), k(b, i, E), x(i, s), x(s, a), x(i, o), M && M.m(i, null), x(i, l), x(i, u), x(u, h), x(h, m), x(h, v), x(h, y), x(y, T), x(h, w), x(h, P), x(h, C), x(h, U), x(h, L), x(i, I), x(i, J), x(J, z), x(z, Q), x(z, Ae), x(z, G), x(G, ne), pe || (He = [
4179
- Me(
4184
+ B && B.m(b, E), k(b, t, E), N && N.m(b, E), k(b, r, E), $.m(b, E), k(b, n, E), k(b, i, E), v(i, s), v(s, a), v(i, o), O && O.m(i, null), v(i, l), v(i, u), v(u, h), v(h, m), v(h, _), v(h, y), v(y, T), v(h, w), v(h, M), v(h, C), v(h, U), v(h, L), v(i, I), v(i, J), v(J, z), v(z, Y), v(z, He), v(z, G), v(G, ie), ye || (Ce = [
4185
+ Pe(
4180
4186
  s,
4181
4187
  "click",
4182
4188
  /*detailsAction*/
4183
4189
  e[19]
4184
4190
  ),
4185
- Te(
4191
+ Ae(
4186
4192
  /*matchScoreCriteria*/
4187
4193
  e[17].call(null, y)
4188
4194
  ),
4189
- Me(
4195
+ Pe(
4190
4196
  G,
4191
4197
  "click",
4192
4198
  /*tournamentGamesClicked*/
4193
4199
  e[18]
4194
4200
  )
4195
- ], pe = !0);
4201
+ ], ye = !0);
4196
4202
  },
4197
4203
  p(b, E) {
4198
4204
  /*status*/
4199
4205
  b[0] ? B ? B.p(b, E) : (B = Mt(b), B.c(), B.m(t.parentNode, t)) : B && (B.d(1), B = null), /*showenrolled*/
4200
- b[6] == "true" ? N ? N.p(b, E) : (N = Ot(b), N.c(), N.m(r.parentNode, r)) : N && (N.d(1), N = null), W === (W = f(b)) && $ ? $.p(b, E) : ($.d(1), $ = W(b), $ && ($.c(), $.m(n.parentNode, n))), E[0] & /*title*/
4206
+ b[6] == "true" ? N ? N.p(b, E) : (N = Lt(b), N.c(), N.m(r.parentNode, r)) : N && (N.d(1), N = null), W === (W = f(b)) && $ ? $.p(b, E) : ($.d(1), $ = W(b), $ && ($.c(), $.m(n.parentNode, n))), E[0] & /*title*/
4201
4207
  2 && q(
4202
4208
  a,
4203
4209
  /*title*/
4204
4210
  b[1]
4205
4211
  ), /*startdate*/
4206
- b[2] ? M ? M.p(b, E) : (M = Lt(b), M.c(), M.m(i, l)) : M && (M.d(1), M = null), E[0] & /*$_*/
4212
+ b[2] ? O ? O.p(b, E) : (O = Dt(b), O.c(), O.m(i, l)) : O && (O.d(1), O = null), E[0] & /*$_*/
4207
4213
  16384 && c !== (c = /*$_*/
4208
4214
  b[14]("scoreCriteria") + "") && q(m, c), E[0] & /*showScoreCriteria*/
4209
4215
  4096 && q(
@@ -4212,27 +4218,27 @@ function Nt(e) {
4212
4218
  b[12]
4213
4219
  ), E[0] & /*$_*/
4214
4220
  16384 && F !== (F = /*$_*/
4215
- b[14]("minbet") + "") && q(P, F), E[0] & /*minbetcount*/
4221
+ b[14]("minbet") + "") && q(M, F), E[0] & /*minbetcount*/
4216
4222
  32 && q(
4217
4223
  U,
4218
4224
  /*minbetcount*/
4219
4225
  b[5]
4220
4226
  ), E[0] & /*$_*/
4221
4227
  16384 && X !== (X = /*$_*/
4222
- b[14]("seegames") + "") && q(Q, X), E[0] & /*$_*/
4223
- 16384 && Y !== (Y = /*$_*/
4224
- b[14]("here") + "") && q(ne, Y), E[0] & /*gameurl*/
4228
+ b[14]("seegames") + "") && q(Y, X), E[0] & /*$_*/
4229
+ 16384 && K !== (K = /*$_*/
4230
+ b[14]("here") + "") && q(ie, K), E[0] & /*gameurl*/
4225
4231
  128 && d(
4226
4232
  G,
4227
4233
  "href",
4228
4234
  /*gameurl*/
4229
4235
  b[7]
4230
4236
  ), E[0] & /*keepbrowsercontext*/
4231
- 256 && K !== (K = /*keepbrowsercontext*/
4232
- b[8] === "true" ? "_self" : "_blank") && d(G, "target", K);
4237
+ 256 && ee !== (ee = /*keepbrowsercontext*/
4238
+ b[8] === "true" ? "_self" : "_blank") && d(G, "target", ee);
4233
4239
  },
4234
4240
  d(b) {
4235
- b && (O(t), O(r), O(n), O(i)), B && B.d(b), N && N.d(b), $.d(b), M && M.d(), pe = !1, re(He);
4241
+ b && (P(t), P(r), P(n), P(i)), B && B.d(b), N && N.d(b), $.d(b), O && O.d(), ye = !1, ne(Ce);
4236
4242
  }
4237
4243
  };
4238
4244
  }
@@ -4248,7 +4254,7 @@ function Mt(e) {
4248
4254
  e[13]);
4249
4255
  },
4250
4256
  m(o, l) {
4251
- k(o, t, l), x(t, r), s || (a = Te(
4257
+ k(o, t, l), v(t, r), s || (a = Ae(
4252
4258
  /*matchStatus*/
4253
4259
  e[16].call(null, t)
4254
4260
  ), s = !0);
@@ -4266,32 +4272,32 @@ function Mt(e) {
4266
4272
  o[13]) && d(t, "part", i);
4267
4273
  },
4268
4274
  d(o) {
4269
- o && O(t), s = !1, a();
4275
+ o && P(t), s = !1, a();
4270
4276
  }
4271
4277
  };
4272
4278
  }
4273
- function Ot(e) {
4279
+ function Lt(e) {
4274
4280
  let t, r = (
4275
4281
  /*userenrolled*/
4276
- e[4] && Pt(e)
4282
+ e[4] && Rt(e)
4277
4283
  );
4278
4284
  return {
4279
4285
  c() {
4280
- r && r.c(), t = vr();
4286
+ r && r.c(), t = xr();
4281
4287
  },
4282
4288
  m(n, i) {
4283
4289
  r && r.m(n, i), k(n, t, i);
4284
4290
  },
4285
4291
  p(n, i) {
4286
4292
  /*userenrolled*/
4287
- n[4] ? r ? r.p(n, i) : (r = Pt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4293
+ n[4] ? r ? r.p(n, i) : (r = Rt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4288
4294
  },
4289
4295
  d(n) {
4290
- n && O(t), r && r.d(n);
4296
+ n && P(t), r && r.d(n);
4291
4297
  }
4292
4298
  };
4293
4299
  }
4294
- function Pt(e) {
4300
+ function Rt(e) {
4295
4301
  let t, r = (
4296
4302
  /*$_*/
4297
4303
  e[14]("enrolled") + ""
@@ -4301,7 +4307,7 @@ function Pt(e) {
4301
4307
  t = H("div"), n = R(r), d(t, "class", "Enrolled"), d(t, "part", "Enrolled");
4302
4308
  },
4303
4309
  m(i, s) {
4304
- k(i, t, s), x(t, n);
4310
+ k(i, t, s), v(t, n);
4305
4311
  },
4306
4312
  p(i, s) {
4307
4313
  s[0] & /*$_*/
@@ -4309,27 +4315,27 @@ function Pt(e) {
4309
4315
  i[14]("enrolled") + "") && q(n, r);
4310
4316
  },
4311
4317
  d(i) {
4312
- i && O(t);
4318
+ i && P(t);
4313
4319
  }
4314
4320
  };
4315
4321
  }
4316
- function Oi(e) {
4322
+ function Li(e) {
4317
4323
  let t, r, n, i, s, a, o;
4318
4324
  return {
4319
4325
  c() {
4320
- t = H("div"), r = H("ui-image"), Xe(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || ue(r, "src", n), ue(r, "alt", "icon"), d(t, "class", i = "CardImg " + /*status*/
4326
+ t = H("div"), r = H("ui-image"), qe(r.src, n = "https://i.stack.imgur.com/y9DpT.jpg") || le(r, "src", n), le(r, "alt", "icon"), d(t, "class", i = "CardImg " + /*status*/
4321
4327
  (e[0] == "Closing" || /*status*/
4322
4328
  e[0] == "Closed" ? "CardImgFinished" : "")), d(t, "part", s = "CardImg " + /*status*/
4323
4329
  (e[0] == "Closing" || /*status*/
4324
4330
  e[0] == "Closed" ? "CardImgFinished" : ""));
4325
4331
  },
4326
4332
  m(l, u) {
4327
- k(l, t, u), x(t, r), a || (o = [
4328
- Te(
4333
+ k(l, t, u), v(t, r), a || (o = [
4334
+ Ae(
4329
4335
  /*matchStatus*/
4330
4336
  e[16].call(null, t)
4331
4337
  ),
4332
- Me(
4338
+ Pe(
4333
4339
  t,
4334
4340
  "click",
4335
4341
  /*detailsAction*/
@@ -4347,28 +4353,28 @@ function Oi(e) {
4347
4353
  l[0] == "Closed" ? "CardImgFinished" : "")) && d(t, "part", s);
4348
4354
  },
4349
4355
  d(l) {
4350
- l && O(t), a = !1, re(o);
4356
+ l && P(t), a = !1, ne(o);
4351
4357
  }
4352
4358
  };
4353
4359
  }
4354
- function Pi(e) {
4360
+ function Ri(e) {
4355
4361
  let t, r, n, i, s, a, o;
4356
4362
  return {
4357
4363
  c() {
4358
- t = H("div"), r = H("ui-image"), ue(r, "class", "UIImage"), Xe(r.src, n = /*thumbnail*/
4359
- e[3]) || ue(r, "src", n), ue(r, "alt", "icon"), d(t, "class", i = "CardImg " + /*status*/
4364
+ t = H("div"), r = H("ui-image"), le(r, "class", "UIImage"), qe(r.src, n = /*thumbnail*/
4365
+ e[3]) || le(r, "src", n), le(r, "alt", "icon"), d(t, "class", i = "CardImg " + /*status*/
4360
4366
  (e[0] == "Closing" || /*status*/
4361
4367
  e[0] == "Closed" ? "CardImgFinished" : "")), d(t, "part", s = "CardImg " + /*status*/
4362
4368
  (e[0] == "Closing" || /*status*/
4363
4369
  e[0] == "Closed" ? "CardImgFinished" : ""));
4364
4370
  },
4365
4371
  m(l, u) {
4366
- k(l, t, u), x(t, r), a || (o = [
4367
- Te(
4372
+ k(l, t, u), v(t, r), a || (o = [
4373
+ Ae(
4368
4374
  /*matchStatus*/
4369
4375
  e[16].call(null, t)
4370
4376
  ),
4371
- Me(
4377
+ Pe(
4372
4378
  t,
4373
4379
  "click",
4374
4380
  /*detailsAction*/
@@ -4378,8 +4384,8 @@ function Pi(e) {
4378
4384
  },
4379
4385
  p(l, u) {
4380
4386
  u[0] & /*thumbnail*/
4381
- 8 && !Xe(r.src, n = /*thumbnail*/
4382
- l[3]) && ue(r, "src", n), u[0] & /*status*/
4387
+ 8 && !qe(r.src, n = /*thumbnail*/
4388
+ l[3]) && le(r, "src", n), u[0] & /*status*/
4383
4389
  1 && i !== (i = "CardImg " + /*status*/
4384
4390
  (l[0] == "Closing" || /*status*/
4385
4391
  l[0] == "Closed" ? "CardImgFinished" : "")) && d(t, "class", i), u[0] & /*status*/
@@ -4388,11 +4394,11 @@ function Pi(e) {
4388
4394
  l[0] == "Closed" ? "CardImgFinished" : "")) && d(t, "part", s);
4389
4395
  },
4390
4396
  d(l) {
4391
- l && O(t), a = !1, re(o);
4397
+ l && P(t), a = !1, ne(o);
4392
4398
  }
4393
4399
  };
4394
4400
  }
4395
- function Lt(e) {
4401
+ function Dt(e) {
4396
4402
  let t, r, n, i, s;
4397
4403
  return {
4398
4404
  c() {
@@ -4402,7 +4408,7 @@ function Lt(e) {
4402
4408
  ), d(t, "class", "Date"), d(t, "part", "Date");
4403
4409
  },
4404
4410
  m(a, o) {
4405
- k(a, t, o), x(t, r), i || (s = Te(n = /*formatDate*/
4411
+ k(a, t, o), v(t, r), i || (s = Ae(n = /*formatDate*/
4406
4412
  e[15].call(
4407
4413
  null,
4408
4414
  t,
@@ -4416,7 +4422,7 @@ function Lt(e) {
4416
4422
  r,
4417
4423
  /*shownDate*/
4418
4424
  a[10]
4419
- ), n && Se(n.update) && o[0] & /*startdate*/
4425
+ ), n && Te(n.update) && o[0] & /*startdate*/
4420
4426
  4 && n.update.call(
4421
4427
  null,
4422
4428
  /*startdate*/
@@ -4424,17 +4430,17 @@ function Lt(e) {
4424
4430
  );
4425
4431
  },
4426
4432
  d(a) {
4427
- a && O(t), i = !1, s();
4433
+ a && P(t), i = !1, s();
4428
4434
  }
4429
4435
  };
4430
4436
  }
4431
- function Li(e) {
4437
+ function Di(e) {
4432
4438
  let t, r, n, i = (
4433
4439
  /*title*/
4434
- e[1] === "undefined" && It()
4440
+ e[1] === "undefined" && Ot()
4435
4441
  ), s = (
4436
4442
  /*title*/
4437
- e[1] !== "undefined" && Nt(e)
4443
+ e[1] !== "undefined" && Pt(e)
4438
4444
  );
4439
4445
  return {
4440
4446
  c() {
@@ -4442,57 +4448,57 @@ function Li(e) {
4442
4448
  e[1] === "undefined" ? "Loading" : ""}`), d(t, "part", "Thumbnail");
4443
4449
  },
4444
4450
  m(a, o) {
4445
- k(a, t, o), i && i.m(t, null), x(t, r), s && s.m(t, null), e[29](t);
4451
+ k(a, t, o), i && i.m(t, null), v(t, r), s && s.m(t, null), e[29](t);
4446
4452
  },
4447
4453
  p(a, o) {
4448
4454
  /*title*/
4449
- a[1] === "undefined" ? i || (i = It(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4450
- a[1] !== "undefined" ? s ? s.p(a, o) : (s = Nt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4455
+ a[1] === "undefined" ? i || (i = Ot(), i.c(), i.m(t, r)) : i && (i.d(1), i = null), /*title*/
4456
+ a[1] !== "undefined" ? s ? s.p(a, o) : (s = Pt(a), s.c(), s.m(t, null)) : s && (s.d(1), s = null), o[0] & /*title*/
4451
4457
  2 && n !== (n = `Thumbnail ${/*title*/
4452
4458
  a[1] === "undefined" ? "Loading" : ""}`) && d(t, "class", n);
4453
4459
  },
4454
4460
  i: V,
4455
4461
  o: V,
4456
4462
  d(a) {
4457
- a && O(t), i && i.d(), s && s.d(), e[29](null);
4463
+ a && P(t), i && i.d(), s && s.d(), e[29](null);
4458
4464
  }
4459
4465
  };
4460
4466
  }
4461
- function Ri(e, t, r) {
4467
+ function ki(e, t, r) {
4462
4468
  let n;
4463
- gr(e, Hi, (f) => r(14, n = f));
4464
- let { userid: i = "" } = t, { title: s = "" } = t, { startdate: a = "" } = t, { status: o = "" } = t, { tourid: l = "" } = t, { thumbnail: u = "" } = t, { userenrolled: h = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: m = "" } = t, { showenrolled: v = "false" } = t, { detailsevent: y = "" } = t, { gameurl: T = "" } = t, { lang: w = "en" } = t, { keepbrowsercontext: F = "false" } = t, { clientstyling: P = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: U = "" } = t, { mbsource: L } = t, I, J = "", z = "", X = "", Q = "";
4465
- Ci({ withLocale: "en", translations: {} });
4466
- const Ae = () => {
4469
+ yr(e, Bi, (f) => r(14, n = f));
4470
+ let { userid: i = "" } = t, { title: s = "" } = t, { startdate: a = "" } = t, { status: o = "" } = t, { tourid: l = "" } = t, { thumbnail: u = "" } = t, { userenrolled: h = "" } = t, { scorecriteria: c = "" } = t, { minbetcount: m = "" } = t, { showenrolled: _ = "false" } = t, { detailsevent: y = "" } = t, { gameurl: T = "" } = t, { lang: w = "en" } = t, { keepbrowsercontext: F = "false" } = t, { clientstyling: M = "" } = t, { clientstylingurl: C = "" } = t, { translationurl: U = "" } = t, { mbsource: L } = t, I, J = "", z = "", X = "", Y = "";
4471
+ wi({ withLocale: "en", translations: {} });
4472
+ const He = () => {
4467
4473
  fetch(U).then((f) => f.json()).then((f) => {
4468
4474
  Object.keys(f).forEach((W) => {
4469
- Bt(W, f[W]);
4475
+ It(W, f[W]);
4470
4476
  }), a && B();
4471
4477
  }).catch((f) => {
4472
4478
  console.log(f);
4473
4479
  });
4474
4480
  };
4475
- Object.keys(wt).forEach((f) => {
4476
- Bt(f, wt[f]);
4481
+ Object.keys(Nt).forEach((f) => {
4482
+ It(f, Nt[f]);
4477
4483
  });
4478
4484
  const G = (f) => {
4479
4485
  f.data && f.data.type == `TournamentStatus_${l}` && r(0, o = f.data.status);
4480
- }, Y = () => {
4486
+ }, K = () => {
4481
4487
  const f = { month: "long" };
4482
- let W = new Date(a), $ = new Intl.DateTimeFormat("en", f).format(W), M = W.getDate(), b = W.toLocaleString("en-GB", {
4488
+ let W = new Date(a), $ = new Intl.DateTimeFormat("en", f).format(W), O = W.getDate(), b = W.toLocaleString("en-GB", {
4483
4489
  hour: "numeric",
4484
4490
  minute: "numeric",
4485
4491
  hour12: !1
4486
4492
  });
4487
4493
  const E = () => n(o === "Running" ? "startedAt" : "startingAt");
4488
- r(10, J = `${M} ` + n(`${$}`) + ", " + E() + ` ${b}`);
4489
- }, ne = () => {
4490
- o == "Unstarted" && (r(11, z = n("scheduled")), r(13, Q = "StatusUnstarted")), o == "Running" && (r(11, z = n("ongoing")), r(13, Q = "StatusRunning")), (o == "Closed" || o == "Closing") && r(11, z = n("finished")), o == "Closed" && r(13, Q = "StatusClosed"), o == "Closing" && r(13, Q = "StatusClosing");
4491
- }, K = () => {
4494
+ r(10, J = `${O} ` + n(`${$}`) + ", " + E() + ` ${b}`);
4495
+ }, ie = () => {
4496
+ o == "Unstarted" && (r(11, z = n("scheduled")), r(13, Y = "StatusUnstarted")), o == "Running" && (r(11, z = n("ongoing")), r(13, Y = "StatusRunning")), (o == "Closed" || o == "Closing") && r(11, z = n("finished")), o == "Closed" && r(13, Y = "StatusClosed"), o == "Closing" && r(13, Y = "StatusClosing");
4497
+ }, ee = () => {
4492
4498
  c == "BetCount" && r(12, X = n("betCount")), c == "MaxWinStakeRatio" && r(12, X = n("maxWinStakeRatio")), c == "WinStakeRatio" && r(12, X = n("winStakeRatio")), c == "Stake" && r(12, X = n("stake"));
4493
- }, pe = () => {
4499
+ }, ye = () => {
4494
4500
  window.postMessage({ type: "tournamentGamesClicked", tourid: l }, window.location.href);
4495
- }, He = () => {
4501
+ }, Ce = () => {
4496
4502
  y && window.postMessage(
4497
4503
  {
4498
4504
  type: y,
@@ -4502,29 +4508,29 @@ function Ri(e, t, r) {
4502
4508
  window.location.href
4503
4509
  );
4504
4510
  };
4505
- Tr(() => (setTimeout(() => B(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", G, !1), () => {
4511
+ Hr(() => (setTimeout(() => B(), 1), window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", G, !1), () => {
4506
4512
  window.removeEventListener("message", G);
4507
4513
  }));
4508
4514
  const B = () => {
4509
- Bi(w), K(), ne(), a && Y();
4515
+ Ii(w), ee(), ie(), a && K();
4510
4516
  };
4511
4517
  function N(f) {
4512
- Ze[f ? "unshift" : "push"](() => {
4518
+ Qe[f ? "unshift" : "push"](() => {
4513
4519
  I = f, r(9, I);
4514
4520
  });
4515
4521
  }
4516
4522
  return e.$$set = (f) => {
4517
- "userid" in f && r(20, i = f.userid), "title" in f && r(1, s = f.title), "startdate" in f && r(2, a = f.startdate), "status" in f && r(0, o = f.status), "tourid" in f && r(21, l = f.tourid), "thumbnail" in f && r(3, u = f.thumbnail), "userenrolled" in f && r(4, h = f.userenrolled), "scorecriteria" in f && r(22, c = f.scorecriteria), "minbetcount" in f && r(5, m = f.minbetcount), "showenrolled" in f && r(6, v = f.showenrolled), "detailsevent" in f && r(23, y = f.detailsevent), "gameurl" in f && r(7, T = f.gameurl), "lang" in f && r(24, w = f.lang), "keepbrowsercontext" in f && r(8, F = f.keepbrowsercontext), "clientstyling" in f && r(25, P = f.clientstyling), "clientstylingurl" in f && r(26, C = f.clientstylingurl), "translationurl" in f && r(27, U = f.translationurl), "mbsource" in f && r(28, L = f.mbsource);
4523
+ "userid" in f && r(20, i = f.userid), "title" in f && r(1, s = f.title), "startdate" in f && r(2, a = f.startdate), "status" in f && r(0, o = f.status), "tourid" in f && r(21, l = f.tourid), "thumbnail" in f && r(3, u = f.thumbnail), "userenrolled" in f && r(4, h = f.userenrolled), "scorecriteria" in f && r(22, c = f.scorecriteria), "minbetcount" in f && r(5, m = f.minbetcount), "showenrolled" in f && r(6, _ = f.showenrolled), "detailsevent" in f && r(23, y = f.detailsevent), "gameurl" in f && r(7, T = f.gameurl), "lang" in f && r(24, w = f.lang), "keepbrowsercontext" in f && r(8, F = f.keepbrowsercontext), "clientstyling" in f && r(25, M = f.clientstyling), "clientstylingurl" in f && r(26, C = f.clientstylingurl), "translationurl" in f && r(27, U = f.translationurl), "mbsource" in f && r(28, L = f.mbsource);
4518
4524
  }, e.$$.update = () => {
4519
4525
  e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4520
- 33554944 && P && I && wi(I, P), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4521
- 67109376 && C && I && Ii(I, C), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4522
- 268435968 && L && I && Ni(I, `${L}.Style`), e.$$.dirty[0] & /*translationurl*/
4523
- 134217728 && U && Ae(), e.$$.dirty[0] & /*status*/
4524
- 1 && o && ne(), e.$$.dirty[0] & /*title, lang*/
4526
+ 33554944 && M && I && Ni(I, M), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4527
+ 67109376 && C && I && Oi(I, C), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4528
+ 268435968 && L && I && Pi(I, `${L}.Style`), e.$$.dirty[0] & /*translationurl*/
4529
+ 134217728 && U && He(), e.$$.dirty[0] & /*status*/
4530
+ 1 && o && ie(), e.$$.dirty[0] & /*title, lang*/
4525
4531
  16777218 && s && w && B(), e.$$.dirty[0] & /*startdate*/
4526
- 4 && a && Y(), e.$$.dirty[0] & /*scorecriteria*/
4527
- 4194304 && c && K();
4532
+ 4 && a && K(), e.$$.dirty[0] & /*scorecriteria*/
4533
+ 4194304 && c && ee();
4528
4534
  }, [
4529
4535
  o,
4530
4536
  s,
@@ -4532,40 +4538,40 @@ function Ri(e, t, r) {
4532
4538
  u,
4533
4539
  h,
4534
4540
  m,
4535
- v,
4541
+ _,
4536
4542
  T,
4537
4543
  F,
4538
4544
  I,
4539
4545
  J,
4540
4546
  z,
4541
4547
  X,
4542
- Q,
4543
- n,
4544
4548
  Y,
4545
- ne,
4549
+ n,
4546
4550
  K,
4547
- pe,
4548
- He,
4551
+ ie,
4552
+ ee,
4553
+ ye,
4554
+ Ce,
4549
4555
  i,
4550
4556
  l,
4551
4557
  c,
4552
4558
  y,
4553
4559
  w,
4554
- P,
4560
+ M,
4555
4561
  C,
4556
4562
  U,
4557
4563
  L,
4558
4564
  N
4559
4565
  ];
4560
4566
  }
4561
- class Di extends Rr {
4567
+ class Ui extends kr {
4562
4568
  constructor(t) {
4563
- super(), Pr(
4569
+ super(), Rr(
4564
4570
  this,
4565
4571
  t,
4566
- Ri,
4567
- Li,
4568
- Dt,
4572
+ ki,
4573
+ Di,
4574
+ Ut,
4569
4575
  {
4570
4576
  userid: 20,
4571
4577
  title: 1,
@@ -4699,7 +4705,7 @@ class Di extends Rr {
4699
4705
  this.$$set({ mbsource: t }), A();
4700
4706
  }
4701
4707
  }
4702
- Lr(Di, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4708
+ Dr(Ui, { userid: {}, title: {}, startdate: {}, status: {}, tourid: {}, thumbnail: {}, userenrolled: {}, scorecriteria: {}, minbetcount: {}, showenrolled: {}, detailsevent: {}, gameurl: {}, lang: {}, keepbrowsercontext: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4703
4709
  export {
4704
- Di as default
4710
+ Ui as default
4705
4711
  };